[2025-03-20 00:00:01] Production.INFO: ==30598== Lock acquired, processing the job... [2025-03-20 00:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:00:01] Production.INFO: neon service started [2025-03-20 00:00:01] Production.INFO: neon service started [2025-03-20 00:00:01] Production.INFO: ==30598== Releasing lock... [2025-03-20 00:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:00:02] Production.INFO: ==30602== Lock acquired, processing the job... [2025-03-20 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:00:02] Production.INFO: ==30602== Releasing lock... [2025-03-20 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:00:02] Production.INFO: ==30600== Lock acquired, processing the job... [2025-03-19 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:00:02] Production.INFO: ==30600== Releasing lock... [2025-03-19 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:00:03] Production.INFO: ==30615== Lock acquired, processing the job... [2025-03-19 20:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:00:04] Production.INFO: ==30613== Lock acquired, processing the job... [2025-03-19 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:00:04] Production.INFO: ==30619== Lock acquired, processing the job... [2025-03-19 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 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-03-19 20:00:04] Production.INFO: Account Balance Start. [2025-03-19 20:00:04] Production.INFO: CreateAllLog Start [2025-03-19 20:00:04] Production.INFO: count ==12 [2025-03-19 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-03-19 20:00:04] Production.INFO: count ==23 [2025-03-19 20:00:04] Production.INFO: 117 [2025-03-19 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717796') start [2025-03-19 20:00:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:00:04] Production.INFO: ==30607== Lock acquired, processing the job... [2025-03-19 20:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:04] Production.INFO: ==30605== Lock acquired, processing the job... [2025-03-19 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717796') end [2025-03-19 20:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:00:04] Production.INFO: 1 [2025-03-19 20:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:00:04] Production.INFO: ==30609== Lock acquired, processing the job... [2025-03-19 20:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:00:04] Production.INFO: ==30611== Lock acquired, processing the job... [2025-03-19 20:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:00:04] Production.INFO: ==30619== Releasing lock... [2025-03-19 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:00:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 20:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 20:00:04] Production.ERROR: CronJob PID - 30607 [2025-03-19 20:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-19 20:00:04] Production.ERROR: CronJob ID - 5 [2025-03-19 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-19 20:00:00 [2025-03-19 20:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 20:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 20:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 20:00:04] Production.ERROR: CronJob PID - 30613 [2025-03-19 20:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-19 20:00:04] Production.ERROR: CronJob ID - 12 [2025-03-19 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-19 20:00:00 [2025-03-19 20:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 20:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 20:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 20:00:04] Production.ERROR: CronJob PID - 30615 [2025-03-19 20:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-19 20:00:04] Production.ERROR: CronJob ID - 16 [2025-03-19 20:00:04] Production.ERROR: CronJob Last Run Time 2025-03-19 20:00:00 [2025-03-19 20:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 20:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 20:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:00:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:04] Production.INFO: ==30617== Lock acquired, processing the job... [2025-03-19 20:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 20:00:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 20:00:04] Production.INFO: ==30605== Releasing lock... [2025-03-19 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 20:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 20:00:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:00:04] Production.ERROR: done [2025-03-19 20:00:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:00:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:00:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:04] Production.ERROR: done [2025-03-19 20:00:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:05] Production.INFO: Date 2025-03-18 [2025-03-19 20:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:05] Production.ERROR: done [2025-03-19 20:00:05] Production.INFO: ==30609== Releasing lock... [2025-03-19 20:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 20:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14717800', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 20:00:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:00:05] Production.INFO: Total Charge 0 [2025-03-19 20:00:05] Production.INFO: CreateAllLog End [2025-03-19 20:00:05] Production.INFO: Account Balance End. [2025-03-19 20:00:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:00:05] Production.INFO: ==30613== Releasing lock... [2025-03-19 20:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:00:06 [end_date_ymd] => 2025-03-19 20:00:06 [RateCDR] => 1 ) [2025-03-19 20:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:00:06' and `end` < '2025-03-19 20:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14717800', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 20:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 20:00:09] Production.INFO: ProcessCDR(1,14717800,1,1,2) [2025-03-19 20:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14717800,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14717800,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:00:09] Production.INFO: ==30617== Releasing lock... [2025-03-19 20:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 20:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 20:00:15] Production.ERROR: CronJobId end10 [2025-03-19 20:00:15] Production.INFO: ==30611== Releasing lock... [2025-03-19 20:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:00:18] Production.INFO: call_cost start [2025-03-19 20:00:18] Production.INFO: call_cost end [2025-03-19 20:00:18] Production.INFO: count ==2996 [2025-03-19 20:00:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:00:19] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:00:19] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:00:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:00:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:00:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:00:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:00:19] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:00:19] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:00:19] Production.INFO: ==30607== Releasing lock... [2025-03-19 20:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:00:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:00:20] Production.ERROR: pbx CDR StartTime 2025-03-19 17:00:06 - End Time 2025-03-19 20:00:06 [2025-03-19 20:00:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717799', 'tblTempUsageDetail_20' ) start [2025-03-19 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717799', 'tblTempUsageDetail_20' ) end [2025-03-19 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717799', 'tblTempVendorCDR_20' ) start [2025-03-19 20:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717799', 'tblTempVendorCDR_20' ) end [2025-03-19 20:00:20] Production.INFO: ProcessCDR(1,14717799,1,1,2) [2025-03-19 20:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717799', 'tblTempUsageDetail_20' ) start [2025-03-19 20:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717799', 'tblTempUsageDetail_20' ) end [2025-03-19 20:00:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:00:25] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:00:25] Production.INFO: ==30615== Releasing lock... [2025-03-19 20:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:00:25] Production.INFO: 50.25 MB #Memory Used# [2025-03-20 00:01:02] Production.INFO: ==30734== Lock acquired, processing the job... [2025-03-20 00:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:01:02] Production.INFO: neon service started [2025-03-20 00:01:02] Production.INFO: neon service started [2025-03-20 00:01:02] Production.INFO: ==30734== Releasing lock... [2025-03-20 00:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:01:02] Production.INFO: ==30747== Lock acquired, processing the job... [2025-03-19 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:01:02] Production.INFO: ==30749== Lock acquired, processing the job... [2025-03-20 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:01:02] Production.INFO: ==30749== Releasing lock... [2025-03-20 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:01:03] Production.INFO: ==30747== Releasing lock... [2025-03-19 20:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:01:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:01:03] Production.INFO: ==30754== Lock acquired, processing the job... [2025-03-19 20:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:01:04] Production.INFO: ==30758== Lock acquired, processing the job... [2025-03-19 20:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:01:04] Production.INFO: ==30762== Lock acquired, processing the job... [2025-03-19 20:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:01:04] Production.INFO: ==30756== Lock acquired, processing the job... [2025-03-19 20:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:01:04] Production.INFO: ==30760== Lock acquired, processing the job... [2025-03-19 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:01:04] Production.INFO: ==30764== Lock acquired, processing the job... [2025-03-19 20:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:01:04] Production.ERROR: done [2025-03-19 20:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:01:04] Production.INFO: Account Balance Start. [2025-03-19 20:01:04] Production.INFO: CreateAllLog Start [2025-03-19 20:01:04] Production.INFO: 117 [2025-03-19 20:01:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:01:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:04] Production.INFO: ==30756== Releasing lock... [2025-03-19 20:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:01:04] Production.INFO: count ==12 [2025-03-19 20:01:04] Production.ERROR: done [2025-03-19 20:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:01:04] Production.INFO: count ==23 [2025-03-19 20:01:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717804') start [2025-03-19 20:01:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:05] Production.INFO: Date 2025-03-14 [2025-03-19 20:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14717804') end [2025-03-19 20:01:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:01:05] Production.INFO: 1 [2025-03-19 20:01:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:01:05] Production.INFO: ==30764== Releasing lock... [2025-03-19 20:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:01:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:01:05] Production.INFO: Date 2025-03-15 [2025-03-19 20:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:05] Production.INFO: Date 2025-03-16 [2025-03-19 20:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:05] Production.INFO: Date 2025-03-17 [2025-03-19 20:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:05] Production.INFO: Date 2025-03-18 [2025-03-19 20:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:01:05] Production.INFO: Total Charge 0 [2025-03-19 20:01:05] Production.INFO: CreateAllLog End [2025-03-19 20:01:05] Production.INFO: Account Balance End. [2025-03-19 20:01:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:01:05] Production.INFO: ==30760== Releasing lock... [2025-03-19 20:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:01:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:01:06 [end_date_ymd] => 2025-03-19 20:01:06 [RateCDR] => 1 ) [2025-03-19 20: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-03-19 17:01:06' and `end` < '2025-03-19 20: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-03-19 20:01:14] Production.ERROR: CronJobId end10 [2025-03-19 20:01:14] Production.INFO: ==30758== Releasing lock... [2025-03-19 20:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:01:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:01:16] Production.INFO: call_cost start [2025-03-19 20:01:16] Production.INFO: call_cost end [2025-03-19 20:01:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:01:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:01:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:01:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:01:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:01:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:01:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:01:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:01:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:01:17] Production.INFO: ==30754== Releasing lock... [2025-03-19 20:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:01:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:01:18] Production.INFO: count ==2912 [2025-03-19 20:01:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:01:06 - End Time 2025-03-19 20:01:06 [2025-03-19 20:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717805', 'tblTempUsageDetail_20' ) start [2025-03-19 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717805', 'tblTempUsageDetail_20' ) end [2025-03-19 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717805', 'tblTempVendorCDR_20' ) start [2025-03-19 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717805', 'tblTempVendorCDR_20' ) end [2025-03-19 20:01:19] Production.INFO: ProcessCDR(1,14717805,1,1,2) [2025-03-19 20:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717805', 'tblTempUsageDetail_20' ) start [2025-03-19 20:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717805', 'tblTempUsageDetail_20' ) end [2025-03-19 20:01:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:01:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:01:24] Production.INFO: ==30762== Releasing lock... [2025-03-19 20:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:01:24] Production.INFO: 50.25 MB #Memory Used# [2025-03-20 00:02:01] Production.INFO: ==30833== Lock acquired, processing the job... [2025-03-20 00:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:02:01] Production.INFO: neon service started [2025-03-20 00:02:01] Production.INFO: neon service started [2025-03-20 00:02:01] Production.INFO: ==30833== Releasing lock... [2025-03-20 00:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:02:02] Production.INFO: ==30837== Lock acquired, processing the job... [2025-03-20 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:02:02] Production.INFO: ==30837== Releasing lock... [2025-03-20 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:02:02] Production.INFO: ==30835== Lock acquired, processing the job... [2025-03-19 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:02:02] Production.INFO: ==30835== Releasing lock... [2025-03-19 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:02:03] Production.INFO: ==30843== Lock acquired, processing the job... [2025-03-19 20:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:02:03] Production.INFO: ==30850== Lock acquired, processing the job... [2025-03-19 20:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:02:03] Production.INFO: ==30839== Lock acquired, processing the job... [2025-03-19 20:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:02:03] Production.INFO: count ==12 [2025-03-19 20:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:02:03] Production.INFO: count ==23 [2025-03-19 20:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717806') start [2025-03-19 20:02:03] Production.INFO: ==30841== Lock acquired, processing the job... [2025-03-19 20:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:02:03] Production.INFO: ==30845== Lock acquired, processing the job... [2025-03-19 20:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:02:03] Production.INFO: ==30847== Lock acquired, processing the job... [2025-03-19 20:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717806') end [2025-03-19 20:02:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:02:03] Production.INFO: 1 [2025-03-19 20:02:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:02:03] Production.INFO: ==30850== Releasing lock... [2025-03-19 20:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:02:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:02:03] Production.INFO: Account Balance Start. [2025-03-19 20:02:03] Production.INFO: CreateAllLog Start [2025-03-19 20:02:03] Production.INFO: 117 [2025-03-19 20:02:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:04] Production.INFO: ==30841== Releasing lock... [2025-03-19 20:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:02:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:04] Production.ERROR: done [2025-03-19 20:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:02:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:02:04] Production.INFO: Total Charge 0 [2025-03-19 20:02:04] Production.INFO: CreateAllLog End [2025-03-19 20:02:04] Production.ERROR: done [2025-03-19 20:02:04] Production.INFO: Account Balance End. [2025-03-19 20:02:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:02:04] Production.INFO: ==30845== Releasing lock... [2025-03-19 20:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:02:05 [end_date_ymd] => 2025-03-19 20:02:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:02:05' and `end` < '2025-03-19 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-03-19 20:02:13] Production.ERROR: CronJobId end10 [2025-03-19 20:02:13] Production.INFO: ==30843== Releasing lock... [2025-03-19 20:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:02:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:02:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:02:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:02:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:02:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:02:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:02:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:02:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:02:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:02:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:02:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:02:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:02:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:02:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:02:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:02:15] Production.INFO: call_cost start [2025-03-19 20:02:15] Production.INFO: call_cost end [2025-03-19 20:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:02:16] Production.INFO: ==30839== Releasing lock... [2025-03-19 20:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:02:18] Production.INFO: count ==2888 [2025-03-19 20:02:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:02:05 - End Time 2025-03-19 20:02:05 [2025-03-19 20:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717810', 'tblTempUsageDetail_20' ) start [2025-03-19 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717810', 'tblTempUsageDetail_20' ) end [2025-03-19 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717810', 'tblTempVendorCDR_20' ) start [2025-03-19 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717810', 'tblTempVendorCDR_20' ) end [2025-03-19 20:02:19] Production.INFO: ProcessCDR(1,14717810,1,1,2) [2025-03-19 20:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717810', 'tblTempUsageDetail_20' ) start [2025-03-19 20:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717810', 'tblTempUsageDetail_20' ) end [2025-03-19 20:02:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:02:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:02:24] Production.INFO: ==30847== Releasing lock... [2025-03-19 20:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:02:24] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 00:03:02] Production.INFO: ==30957== Lock acquired, processing the job... [2025-03-20 00:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:03:02] Production.INFO: neon service started [2025-03-20 00:03:02] Production.INFO: neon service started [2025-03-20 00:03:02] Production.INFO: ==30957== Releasing lock... [2025-03-20 00:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:03:02] Production.INFO: ==30960== Lock acquired, processing the job... [2025-03-19 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:03:02] Production.INFO: ==30962== Lock acquired, processing the job... [2025-03-20 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 20:03:02] Production.INFO: ==30960== Releasing lock... [2025-03-19 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:03:03] Production.INFO: ==30962== Releasing lock... [2025-03-20 00:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:03:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:03:03] Production.INFO: ==30973== Lock acquired, processing the job... [2025-03-19 20:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:03:04] Production.INFO: ==30965== Lock acquired, processing the job... [2025-03-19 20:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:03:04] Production.INFO: ==30975== Lock acquired, processing the job... [2025-03-19 20:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:03:04] Production.INFO: ==30967== Lock acquired, processing the job... [2025-03-19 20:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:03:04] Production.INFO: ==30969== Lock acquired, processing the job... [2025-03-19 20:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:03:04] Production.INFO: ==30971== Lock acquired, processing the job... [2025-03-19 20:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:03:04] Production.INFO: count ==12 [2025-03-19 20:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:03:04] Production.INFO: count ==23 [2025-03-19 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717811') start [2025-03-19 20:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717811') end [2025-03-19 20:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:03:04] Production.INFO: 1 [2025-03-19 20:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:03:04] Production.INFO: Account Balance Start. [2025-03-19 20:03:04] Production.INFO: CreateAllLog Start [2025-03-19 20:03:04] Production.INFO: 117 [2025-03-19 20:03:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:04] Production.INFO: ==30975== Releasing lock... [2025-03-19 20:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:03:04] Production.ERROR: done [2025-03-19 20:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:03:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:04] Production.ERROR: done [2025-03-19 20:03:04] Production.INFO: ==30967== Releasing lock... [2025-03-19 20:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:03:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:05] Production.INFO: Date 2025-03-17 [2025-03-19 20:03:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:05] Production.INFO: Date 2025-03-18 [2025-03-19 20:03:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:03:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:03:05] Production.INFO: Total Charge 0 [2025-03-19 20:03:05] Production.INFO: CreateAllLog End [2025-03-19 20:03:05] Production.INFO: Account Balance End. [2025-03-19 20:03:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:03:05] Production.INFO: ==30971== Releasing lock... [2025-03-19 20:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:03:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:03:06 [end_date_ymd] => 2025-03-19 20:03:06 [RateCDR] => 1 ) [2025-03-19 20:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:03:06' and `end` < '2025-03-19 20:03:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:03:14] Production.ERROR: CronJobId end10 [2025-03-19 20:03:14] Production.INFO: ==30969== Releasing lock... [2025-03-19 20:03:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:03:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:03:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:03:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:03:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:03:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:03:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:03:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:03:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:03:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:03:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:03:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:03:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:03:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:03:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:03:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:03:15] Production.INFO: call_cost start [2025-03-19 20:03:15] Production.INFO: call_cost end [2025-03-19 20:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:03:16] Production.INFO: ==30965== Releasing lock... [2025-03-19 20:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:03:18] Production.INFO: count ==2872 [2025-03-19 20:03:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:03:06 - End Time 2025-03-19 20:03:06 [2025-03-19 20:03:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717815', 'tblTempUsageDetail_20' ) start [2025-03-19 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717815', 'tblTempUsageDetail_20' ) end [2025-03-19 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717815', 'tblTempVendorCDR_20' ) start [2025-03-19 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717815', 'tblTempVendorCDR_20' ) end [2025-03-19 20:03:19] Production.INFO: ProcessCDR(1,14717815,1,1,2) [2025-03-19 20:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717815', 'tblTempUsageDetail_20' ) start [2025-03-19 20:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717815', 'tblTempUsageDetail_20' ) end [2025-03-19 20:03:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:03:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:03:24] Production.INFO: ==30973== Releasing lock... [2025-03-19 20:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:03:24] Production.INFO: 49.75 MB #Memory Used# [2025-03-20 00:04:01] Production.INFO: ==31051== Lock acquired, processing the job... [2025-03-20 00:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:04:01] Production.INFO: neon service started [2025-03-20 00:04:01] Production.INFO: neon service started [2025-03-20 00:04:01] Production.INFO: ==31051== Releasing lock... [2025-03-20 00:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:04:02] Production.INFO: ==31057== Lock acquired, processing the job... [2025-03-20 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:04:02] Production.INFO: ==31057== Releasing lock... [2025-03-20 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:04:02] Production.INFO: ==31055== Lock acquired, processing the job... [2025-03-19 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:04:02] Production.INFO: ==31055== Releasing lock... [2025-03-19 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:04:03] Production.INFO: ==31060== Lock acquired, processing the job... [2025-03-19 20:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:04:03] Production.INFO: ==31064== Lock acquired, processing the job... [2025-03-19 20:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:04:03] Production.INFO: ==31066== Lock acquired, processing the job... [2025-03-19 20:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:04:03] Production.INFO: ==31062== Lock acquired, processing the job... [2025-03-19 20:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:04:04] Production.INFO: Account Balance Start. [2025-03-19 20:04:04] Production.INFO: CreateAllLog Start [2025-03-19 20:04:04] Production.INFO: 117 [2025-03-19 20:04:04] Production.INFO: ==31068== Lock acquired, processing the job... [2025-03-19 20:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:04:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:04:04] Production.INFO: ==31070== Lock acquired, processing the job... [2025-03-19 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:04:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.INFO: ==31062== Releasing lock... [2025-03-19 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:04:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.INFO: count ==12 [2025-03-19 20:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:04:04] Production.INFO: count ==23 [2025-03-19 20:04:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717819') start [2025-03-19 20:04:04] Production.ERROR: done [2025-03-19 20:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:04:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717819') end [2025-03-19 20:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:04:04] Production.INFO: 1 [2025-03-19 20:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:04:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:04:04] Production.INFO: Total Charge 0 [2025-03-19 20:04:04] Production.INFO: CreateAllLog End [2025-03-19 20:04:04] Production.INFO: ==31070== Releasing lock... [2025-03-19 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:04:04] Production.ERROR: done [2025-03-19 20:04:05] Production.INFO: Account Balance End. [2025-03-19 20:04:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:04:05] Production.INFO: ==31066== Releasing lock... [2025-03-19 20:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:04:05 [end_date_ymd] => 2025-03-19 20:04:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:04:05' and `end` < '2025-03-19 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-03-19 20:04:13] Production.ERROR: CronJobId end10 [2025-03-19 20:04:13] Production.INFO: ==31064== Releasing lock... [2025-03-19 20:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:04:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:04:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:04:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:04:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:04:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:04:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:04:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:04:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:04:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:04:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:04:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:04:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:04:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:04:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:04:15] Production.INFO: call_cost start [2025-03-19 20:04:15] Production.INFO: call_cost end [2025-03-19 20:04:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:04:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:04:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:04:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:04:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:04:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:04:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:04:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:04:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:04:16] Production.INFO: ==31060== Releasing lock... [2025-03-19 20:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:04:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:04:18] Production.INFO: count ==2860 [2025-03-19 20:04:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:04:05 - End Time 2025-03-19 20:04:05 [2025-03-19 20:04:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717820', 'tblTempUsageDetail_20' ) start [2025-03-19 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717820', 'tblTempUsageDetail_20' ) end [2025-03-19 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717820', 'tblTempVendorCDR_20' ) start [2025-03-19 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717820', 'tblTempVendorCDR_20' ) end [2025-03-19 20:04:19] Production.INFO: ProcessCDR(1,14717820,1,1,2) [2025-03-19 20:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717820', 'tblTempUsageDetail_20' ) start [2025-03-19 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717820', 'tblTempUsageDetail_20' ) end [2025-03-19 20:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:04:22] Production.INFO: ==31068== Releasing lock... [2025-03-19 20:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:04:22] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 00:05:02] Production.INFO: ==31143== Lock acquired, processing the job... [2025-03-20 00:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:05:02] Production.INFO: neon service started [2025-03-20 00:05:02] Production.INFO: neon service started [2025-03-20 00:05:02] Production.INFO: ==31143== Releasing lock... [2025-03-20 00:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:05:02] Production.INFO: ==31145== Lock acquired, processing the job... [2025-03-19 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:05:02] Production.INFO: ==31145== Releasing lock... [2025-03-19 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:05:03] Production.INFO: ==31147== Lock acquired, processing the job... [2025-03-20 00:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:05:03] Production.INFO: ==31147== Releasing lock... [2025-03-20 00:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:05:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:05:03] Production.INFO: ==31149== Lock acquired, processing the job... [2025-03-19 20:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:05:03] Production.INFO: ==31156== Lock acquired, processing the job... [2025-03-19 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:05:03] Production.INFO: ==31151== Lock acquired, processing the job... [2025-03-19 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:05:03] Production.INFO: Account Balance Start. [2025-03-19 20:05:03] Production.INFO: CreateAllLog Start [2025-03-19 20:05:03] Production.INFO: 117 [2025-03-19 20:05:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:05:04] Production.INFO: ==31153== Lock acquired, processing the job... [2025-03-19 20:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:05:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.INFO: ==31158== Lock acquired, processing the job... [2025-03-19 20:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:05:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:05:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.INFO: ==31151== Releasing lock... [2025-03-19 20:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:05:04] Production.INFO: ==31160== Lock acquired, processing the job... [2025-03-19 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:05:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:05:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.INFO: count ==12 [2025-03-19 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-03-19 20:05:04] Production.INFO: count ==23 [2025-03-19 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717824') start [2025-03-19 20:05:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.ERROR: done [2025-03-19 20:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:05:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:05:04] Production.INFO: Total Charge 0 [2025-03-19 20:05:04] Production.INFO: CreateAllLog End [2025-03-19 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717824') end [2025-03-19 20:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:05:04] Production.INFO: 1 [2025-03-19 20:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:05:04] Production.INFO: ==31160== Releasing lock... [2025-03-19 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:05:04] Production.ERROR: done [2025-03-19 20:05:04] Production.INFO: Account Balance End. [2025-03-19 20:05:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:05:05] Production.INFO: ==31156== Releasing lock... [2025-03-19 20:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:05:05 [end_date_ymd] => 2025-03-19 20:05:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:05:05' and `end` < '2025-03-19 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-03-19 20:05:14] Production.ERROR: CronJobId end10 [2025-03-19 20:05:14] Production.INFO: ==31153== Releasing lock... [2025-03-19 20:05:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:05:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:05:15] Production.INFO: call_cost start [2025-03-19 20:05:15] Production.INFO: call_cost end [2025-03-19 20:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:05:16] Production.INFO: ==31149== Releasing lock... [2025-03-19 20:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:05:18] Production.INFO: count ==2849 [2025-03-19 20:05:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:05:05 - End Time 2025-03-19 20:05:05 [2025-03-19 20:05:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717825', 'tblTempUsageDetail_20' ) start [2025-03-19 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717825', 'tblTempUsageDetail_20' ) end [2025-03-19 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717825', 'tblTempVendorCDR_20' ) start [2025-03-19 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717825', 'tblTempVendorCDR_20' ) end [2025-03-19 20:05:19] Production.INFO: ProcessCDR(1,14717825,1,1,2) [2025-03-19 20:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717825', 'tblTempUsageDetail_20' ) start [2025-03-19 20:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717825', 'tblTempUsageDetail_20' ) end [2025-03-19 20:05:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:05:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:05:22] Production.INFO: ==31158== Releasing lock... [2025-03-19 20:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:05:22] Production.INFO: 49.25 MB #Memory Used# [2025-03-20 00:06:01] Production.INFO: ==31226== Lock acquired, processing the job... [2025-03-20 00:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:06:01] Production.INFO: neon service started [2025-03-20 00:06:01] Production.INFO: neon service started [2025-03-20 00:06:01] Production.INFO: ==31226== Releasing lock... [2025-03-20 00:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:06:02] Production.INFO: ==31228== Lock acquired, processing the job... [2025-03-19 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:06:02] Production.INFO: ==31230== Lock acquired, processing the job... [2025-03-20 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:06:02] Production.INFO: ==31230== Releasing lock... [2025-03-20 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:06:02] Production.INFO: ==31228== Releasing lock... [2025-03-19 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:06:03] Production.INFO: ==31233== Lock acquired, processing the job... [2025-03-19 20:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:06:03] Production.INFO: ==31237== Lock acquired, processing the job... [2025-03-19 20:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:06:03] Production.INFO: ==31239== Lock acquired, processing the job... [2025-03-19 20:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:06:03] Production.INFO: Account Balance Start. [2025-03-19 20:06:03] Production.INFO: CreateAllLog Start [2025-03-19 20:06:03] Production.INFO: 117 [2025-03-19 20:06:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:06:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:03] Production.INFO: Date 2025-03-15 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:03] Production.INFO: ==31235== Lock acquired, processing the job... [2025-03-19 20:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:06:03] Production.INFO: Date 2025-03-16 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:03] Production.INFO: Date 2025-03-17 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:03] Production.INFO: Date 2025-03-18 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:03] Production.INFO: ==31241== Lock acquired, processing the job... [2025-03-19 20:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:06:03] Production.INFO: Date 2025-03-19 [2025-03-19 20:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:06:04] Production.INFO: Total Charge 0 [2025-03-19 20:06:04] Production.INFO: CreateAllLog End [2025-03-19 20:06:04] Production.INFO: ==31243== Lock acquired, processing the job... [2025-03-19 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:06:04] Production.INFO: ==31235== Releasing lock... [2025-03-19 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:06:04] Production.ERROR: done [2025-03-19 20:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:06:04] Production.INFO: Account Balance End. [2025-03-19 20:06:04] Production.INFO: count ==12 [2025-03-19 20:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:06:04] Production.INFO: count ==23 [2025-03-19 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717829') start [2025-03-19 20:06:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:06:04] Production.INFO: ==31239== Releasing lock... [2025-03-19 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:06:04] Production.ERROR: done [2025-03-19 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717829') end [2025-03-19 20:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:06:04] Production.INFO: 1 [2025-03-19 20:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:06:04] Production.INFO: ==31243== Releasing lock... [2025-03-19 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:06:05 [end_date_ymd] => 2025-03-19 20:06:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:06:05' and `end` < '2025-03-19 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-03-19 20:06:13] Production.ERROR: CronJobId end10 [2025-03-19 20:06:13] Production.INFO: ==31237== Releasing lock... [2025-03-19 20:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:06:14] Production.INFO: call_cost start [2025-03-19 20:06:14] Production.INFO: call_cost end [2025-03-19 20:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:06:15] Production.INFO: ==31233== Releasing lock... [2025-03-19 20:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:06:18] Production.INFO: count ==2854 [2025-03-19 20:06:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:06:05 - End Time 2025-03-19 20:06:05 [2025-03-19 20:06:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717830', 'tblTempUsageDetail_20' ) start [2025-03-19 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717830', 'tblTempUsageDetail_20' ) end [2025-03-19 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717830', 'tblTempVendorCDR_20' ) start [2025-03-19 20:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717830', 'tblTempVendorCDR_20' ) end [2025-03-19 20:06:19] Production.INFO: ProcessCDR(1,14717830,1,1,2) [2025-03-19 20:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717830', 'tblTempUsageDetail_20' ) start [2025-03-19 20:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717830', 'tblTempUsageDetail_20' ) end [2025-03-19 20:06:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:06:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:06:22] Production.INFO: ==31241== Releasing lock... [2025-03-19 20:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:06:22] Production.INFO: 49.25 MB #Memory Used# [2025-03-20 00:07:02] Production.INFO: ==31311== Lock acquired, processing the job... [2025-03-20 00:07:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:07:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:07:02] Production.INFO: neon service started [2025-03-20 00:07:02] Production.INFO: neon service started [2025-03-20 00:07:02] Production.INFO: ==31311== Releasing lock... [2025-03-20 00:07:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:07:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:07:02] Production.INFO: ==31313== Lock acquired, processing the job... [2025-03-19 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:07:02] Production.INFO: ==31315== Lock acquired, processing the job... [2025-03-20 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 20:07:02] Production.INFO: ==31313== Releasing lock... [2025-03-19 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:07:02] Production.INFO: ==31315== Releasing lock... [2025-03-20 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:07:03] Production.INFO: ==31322== Lock acquired, processing the job... [2025-03-19 20:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:07:03] Production.INFO: ==31324== Lock acquired, processing the job... [2025-03-19 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:07:03] Production.INFO: Account Balance Start. [2025-03-19 20:07:03] Production.INFO: CreateAllLog Start [2025-03-19 20:07:03] Production.INFO: 117 [2025-03-19 20:07:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:07:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:07:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:07:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:07:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:07:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:07:03] Production.INFO: ==31318== Lock acquired, processing the job... [2025-03-19 20:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:07:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:07:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:07:03] Production.INFO: ==31320== Lock acquired, processing the job... [2025-03-19 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:07:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:07:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:07:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:07:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:07:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:07:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:07:04] Production.INFO: ==31326== Lock acquired, processing the job... [2025-03-19 20:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:07:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:07:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:07:04] Production.INFO: ==31328== Lock acquired, processing the job... [2025-03-19 20:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:07:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:07:04] Production.INFO: ==31320== Releasing lock... [2025-03-19 20:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:07:04] Production.INFO: count ==12 [2025-03-19 20:07:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:07:04] Production.INFO: count ==23 [2025-03-19 20:07:04] Production.ERROR: done [2025-03-19 20:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717834') start [2025-03-19 20:07:04] Production.INFO: Total Charge 0 [2025-03-19 20:07:04] Production.INFO: CreateAllLog End [2025-03-19 20:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717834') end [2025-03-19 20:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:07:04] Production.INFO: 1 [2025-03-19 20:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:07:04] Production.INFO: ==31328== Releasing lock... [2025-03-19 20:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:07:04] Production.ERROR: done [2025-03-19 20:07:04] Production.INFO: Account Balance End. [2025-03-19 20:07:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:07:04] Production.INFO: ==31324== Releasing lock... [2025-03-19 20:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:07:05 [end_date_ymd] => 2025-03-19 20:07:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:07:05' and `end` < '2025-03-19 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-03-19 20:07:14] Production.ERROR: CronJobId end10 [2025-03-19 20:07:14] Production.INFO: ==31322== Releasing lock... [2025-03-19 20:07:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:07:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:07:15] Production.INFO: call_cost start [2025-03-19 20:07:15] Production.INFO: call_cost end [2025-03-19 20:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:07:16] Production.INFO: ==31318== Releasing lock... [2025-03-19 20:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:07:18] Production.INFO: count ==2849 [2025-03-19 20:07:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:07:05 - End Time 2025-03-19 20:07:05 [2025-03-19 20:07:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717835', 'tblTempUsageDetail_20' ) start [2025-03-19 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717835', 'tblTempUsageDetail_20' ) end [2025-03-19 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717835', 'tblTempVendorCDR_20' ) start [2025-03-19 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717835', 'tblTempVendorCDR_20' ) end [2025-03-19 20:07:19] Production.INFO: ProcessCDR(1,14717835,1,1,2) [2025-03-19 20:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717835', 'tblTempUsageDetail_20' ) start [2025-03-19 20:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717835', 'tblTempUsageDetail_20' ) end [2025-03-19 20:07:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:07:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:07:22] Production.INFO: ==31326== Releasing lock... [2025-03-19 20:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:07:22] Production.INFO: 49.25 MB #Memory Used# [2025-03-20 00:08:01] Production.INFO: ==31399== Lock acquired, processing the job... [2025-03-20 00:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:08:01] Production.INFO: neon service started [2025-03-20 00:08:01] Production.INFO: neon service started [2025-03-20 00:08:01] Production.INFO: ==31399== Releasing lock... [2025-03-20 00:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:08:01] Production.INFO: ==31403== Lock acquired, processing the job... [2025-03-20 00:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:08:02] Production.INFO: ==31403== Releasing lock... [2025-03-20 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:08:02] Production.INFO: ==31401== Lock acquired, processing the job... [2025-03-19 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:08:02] Production.INFO: ==31401== Releasing lock... [2025-03-19 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:08:03] Production.INFO: ==31412== Lock acquired, processing the job... [2025-03-19 20:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:08:03] Production.INFO: ==31418== Lock acquired, processing the job... [2025-03-19 20:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:08:03] Production.INFO: ==31407== Lock acquired, processing the job... [2025-03-19 20:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:08:03] Production.INFO: ==31410== Lock acquired, processing the job... [2025-03-19 20:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 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-03-19 20:08:03] Production.INFO: count ==12 [2025-03-19 20:08:03] Production.INFO: ==31414== Lock acquired, processing the job... [2025-03-19 20:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 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-03-19 20:08:03] Production.INFO: count ==23 [2025-03-19 20:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717836') start [2025-03-19 20:08:03] Production.INFO: ==31416== Lock acquired, processing the job... [2025-03-19 20:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717836') end [2025-03-19 20:08:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:08:03] Production.INFO: 1 [2025-03-19 20:08:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:08:03] Production.INFO: Account Balance Start. [2025-03-19 20:08:03] Production.INFO: CreateAllLog Start [2025-03-19 20:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:08:03] Production.INFO: 117 [2025-03-19 20:08:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.INFO: ==31418== Releasing lock... [2025-03-19 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:08:04] Production.INFO: ==31410== Releasing lock... [2025-03-19 20:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:08:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.ERROR: done [2025-03-19 20:08:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:08:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.ERROR: done [2025-03-19 20:08:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:08:04] Production.INFO: Total Charge 0 [2025-03-19 20:08:04] Production.INFO: CreateAllLog End [2025-03-19 20:08:04] Production.INFO: Account Balance End. [2025-03-19 20:08:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:08:04] Production.INFO: ==31414== Releasing lock... [2025-03-19 20:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:08:05 [end_date_ymd] => 2025-03-19 20:08:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:08:05' and `end` < '2025-03-19 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-03-19 20:08:14] Production.ERROR: CronJobId end10 [2025-03-19 20:08:14] Production.INFO: ==31412== Releasing lock... [2025-03-19 20:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:08:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:08:15] Production.INFO: call_cost start [2025-03-19 20:08:15] Production.INFO: call_cost end [2025-03-19 20:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:08:16] Production.INFO: ==31407== Releasing lock... [2025-03-19 20:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:08:18] Production.INFO: count ==2852 [2025-03-19 20:08:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:08:05 - End Time 2025-03-19 20:08:05 [2025-03-19 20:08:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717840', 'tblTempUsageDetail_20' ) start [2025-03-19 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717840', 'tblTempUsageDetail_20' ) end [2025-03-19 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717840', 'tblTempVendorCDR_20' ) start [2025-03-19 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717840', 'tblTempVendorCDR_20' ) end [2025-03-19 20:08:19] Production.INFO: ProcessCDR(1,14717840,1,1,2) [2025-03-19 20:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717840', 'tblTempUsageDetail_20' ) start [2025-03-19 20:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717840', 'tblTempUsageDetail_20' ) end [2025-03-19 20:08:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:08:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:08:24] Production.INFO: ==31416== Releasing lock... [2025-03-19 20:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:08:24] Production.INFO: 49.25 MB #Memory Used# [2025-03-20 00:09:02] Production.INFO: ==31489== Lock acquired, processing the job... [2025-03-20 00:09:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:09:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:09:02] Production.INFO: neon service started [2025-03-20 00:09:02] Production.INFO: neon service started [2025-03-20 00:09:02] Production.INFO: ==31489== Releasing lock... [2025-03-20 00:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:09:02] Production.INFO: ==31491== Lock acquired, processing the job... [2025-03-19 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:09:02] Production.INFO: ==31491== Releasing lock... [2025-03-19 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:09:02] Production.INFO: ==31493== Lock acquired, processing the job... [2025-03-20 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:09:02] Production.INFO: ==31493== Releasing lock... [2025-03-20 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:09:03] Production.INFO: ==31503== Lock acquired, processing the job... [2025-03-19 20:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:09:03] Production.INFO: ==31495== Lock acquired, processing the job... [2025-03-19 20:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:09:03] Production.INFO: ==31505== Lock acquired, processing the job... [2025-03-19 20:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:09:03] Production.INFO: ==31499== Lock acquired, processing the job... [2025-03-19 20:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:09:03] Production.INFO: count ==12 [2025-03-19 20:09:03] Production.INFO: ==31497== Lock acquired, processing the job... [2025-03-19 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:09:03] Production.INFO: ==31501== Lock acquired, processing the job... [2025-03-19 20:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:09:03] Production.INFO: count ==23 [2025-03-19 20:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717841') start [2025-03-19 20:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717841') end [2025-03-19 20:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:09:04] Production.INFO: 1 [2025-03-19 20:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:09:04] Production.INFO: Account Balance Start. [2025-03-19 20:09:04] Production.INFO: CreateAllLog Start [2025-03-19 20:09:04] Production.INFO: ==31505== Releasing lock... [2025-03-19 20:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:09:04] Production.INFO: 117 [2025-03-19 20:09:04] Production.ERROR: done [2025-03-19 20:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:09:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.ERROR: done [2025-03-19 20:09:04] Production.INFO: ==31497== Releasing lock... [2025-03-19 20:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:09:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:09:04] Production.INFO: Total Charge 0 [2025-03-19 20:09:04] Production.INFO: CreateAllLog End [2025-03-19 20:09:04] Production.INFO: Account Balance End. [2025-03-19 20:09:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:09:04] Production.INFO: ==31501== Releasing lock... [2025-03-19 20:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:09:05 [end_date_ymd] => 2025-03-19 20:09:05 [RateCDR] => 1 ) [2025-03-19 20:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:09:05' and `end` < '2025-03-19 20:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:09:14] Production.ERROR: CronJobId end10 [2025-03-19 20:09:14] Production.INFO: ==31499== Releasing lock... [2025-03-19 20:09:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:09:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:09:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:09:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:09:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:09:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:09:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:09:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:09:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:09:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:09:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:09:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:09:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:09:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:09:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:09:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:09:15] Production.INFO: call_cost start [2025-03-19 20:09:15] Production.INFO: call_cost end [2025-03-19 20:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:09:16] Production.INFO: ==31495== Releasing lock... [2025-03-19 20:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:09:17] Production.INFO: count ==2844 [2025-03-19 20:09:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:09:05 - End Time 2025-03-19 20:09:05 [2025-03-19 20:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717845', 'tblTempUsageDetail_20' ) start [2025-03-19 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717845', 'tblTempUsageDetail_20' ) end [2025-03-19 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717845', 'tblTempVendorCDR_20' ) start [2025-03-19 20:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717845', 'tblTempVendorCDR_20' ) end [2025-03-19 20:09:18] Production.INFO: ProcessCDR(1,14717845,1,1,2) [2025-03-19 20:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717845', 'tblTempUsageDetail_20' ) start [2025-03-19 20:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717845', 'tblTempUsageDetail_20' ) end [2025-03-19 20:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:09:22] Production.INFO: ==31503== Releasing lock... [2025-03-19 20:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:09:22] Production.INFO: 49.25 MB #Memory Used# [2025-03-20 00:10:01] Production.INFO: ==31572== Lock acquired, processing the job... [2025-03-20 00:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:10:01] Production.INFO: neon service started [2025-03-20 00:10:01] Production.INFO: neon service started [2025-03-20 00:10:01] Production.INFO: ==31572== Releasing lock... [2025-03-20 00:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:10:01] Production.INFO: ==31574== Lock acquired, processing the job... [2025-03-19 20:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:10:02] Production.INFO: ==31576== Lock acquired, processing the job... [2025-03-20 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 20:10:02] Production.INFO: ==31574== Releasing lock... [2025-03-19 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:10:02] Production.INFO: ==31576== Releasing lock... [2025-03-20 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:10:03] Production.INFO: ==31580== Lock acquired, processing the job... [2025-03-19 20:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:10:03] Production.INFO: ==31578== Lock acquired, processing the job... [2025-03-19 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 20:10:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:10:03] Production.INFO: ==31586== Lock acquired, processing the job... [2025-03-19 20:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 20:10:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 20:10:03] Production.ERROR: CronJob PID - 31580 [2025-03-19 20:10:03] Production.ERROR: CronJob Title - System Alerts [2025-03-19 20:10:03] Production.ERROR: CronJob ID - 5 [2025-03-19 20:10:03] Production.ERROR: CronJob Last Run Time 2025-03-19 20:10:00 [2025-03-19 20:10:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 20:10:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 20:10:03] Production.INFO: ==31588== Lock acquired, processing the job... [2025-03-19 20:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:10:03] Production.INFO: ==31582== Lock acquired, processing the job... [2025-03-19 20:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 20:10:03] Production.INFO: ==31578== Releasing lock... [2025-03-19 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 20:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 20:10:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:10:03] Production.INFO: Account Balance Start. [2025-03-19 20:10:03] Production.INFO: CreateAllLog Start [2025-03-19 20:10:03] Production.INFO: 117 [2025-03-19 20:10:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:10:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:03] Production.INFO: ==31584== Lock acquired, processing the job... [2025-03-19 20:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:10:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:10:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:10:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:03] Production.INFO: ==31590== Lock acquired, processing the job... [2025-03-19 20:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 20:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:10:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:10:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:10:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:03] Production.INFO: ==31593== Lock acquired, processing the job... [2025-03-19 20:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:10:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:10:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:04] Production.ERROR: done [2025-03-19 20:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:10:04] Production.INFO: ==31582== Releasing lock... [2025-03-19 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:10:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:10:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:04] Production.INFO: count ==12 [2025-03-19 20:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:10:04] Production.INFO: count ==23 [2025-03-19 20:10:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717849') start [2025-03-19 20:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:04] Production.ERROR: done [2025-03-19 20:10:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717849') end [2025-03-19 20:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:10:04] Production.INFO: 1 [2025-03-19 20:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:10:04] Production.INFO: ==31593== Releasing lock... [2025-03-19 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:10:04] Production.INFO: Total Charge 0 [2025-03-19 20:10:04] Production.INFO: CreateAllLog End [2025-03-19 20:10:04] Production.ERROR: done [2025-03-19 20:10:04] Production.INFO: Account Balance End. [2025-03-19 20:10:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:10:04] Production.INFO: ==31586== Releasing lock... [2025-03-19 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 20:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14717851', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 20:10:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:10:05 [end_date_ymd] => 2025-03-19 20:10:05 [RateCDR] => 1 ) [2025-03-19 20:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:10:05' and `end` < '2025-03-19 20:10:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14717851', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 20:10:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 20:10:08] Production.INFO: ProcessCDR(1,14717851,1,1,2) [2025-03-19 20:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14717851,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14717851,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:10:09] Production.INFO: ==31590== Releasing lock... [2025-03-19 20:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 20:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 20:10:15] Production.ERROR: CronJobId end10 [2025-03-19 20:10:15] Production.INFO: ==31584== Releasing lock... [2025-03-19 20:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:10:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:10:17] Production.INFO: call_cost start [2025-03-19 20:10:17] Production.INFO: call_cost end [2025-03-19 20:10:18] Production.INFO: count ==2832 [2025-03-19 20:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:10:18] Production.INFO: ==31580== Releasing lock... [2025-03-19 20:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:10:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:10:05 - End Time 2025-03-19 20:10:05 [2025-03-19 20:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717850', 'tblTempUsageDetail_20' ) start [2025-03-19 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717850', 'tblTempUsageDetail_20' ) end [2025-03-19 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717850', 'tblTempVendorCDR_20' ) start [2025-03-19 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717850', 'tblTempVendorCDR_20' ) end [2025-03-19 20:10:19] Production.INFO: ProcessCDR(1,14717850,1,1,2) [2025-03-19 20:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717850', 'tblTempUsageDetail_20' ) start [2025-03-19 20:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717850', 'tblTempUsageDetail_20' ) end [2025-03-19 20:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:10:22] Production.INFO: ==31588== Releasing lock... [2025-03-19 20:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:10:22] Production.INFO: 49.75 MB #Memory Used# [2025-03-20 00:11:01] Production.INFO: ==31664== Lock acquired, processing the job... [2025-03-20 00:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:11:02] Production.INFO: neon service started [2025-03-20 00:11:02] Production.INFO: neon service started [2025-03-20 00:11:02] Production.INFO: ==31664== Releasing lock... [2025-03-20 00:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:11:02] Production.INFO: ==31668== Lock acquired, processing the job... [2025-03-20 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:11:02] Production.INFO: ==31668== Releasing lock... [2025-03-20 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:11:02] Production.INFO: ==31666== Lock acquired, processing the job... [2025-03-19 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:11:02] Production.INFO: ==31666== Releasing lock... [2025-03-19 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:11:03] Production.INFO: ==31672== Lock acquired, processing the job... [2025-03-19 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:11:03] Production.INFO: ==31676== Lock acquired, processing the job... [2025-03-19 20:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:11:03] Production.INFO: Account Balance Start. [2025-03-19 20:11:03] Production.INFO: CreateAllLog Start [2025-03-19 20:11:03] Production.INFO: 117 [2025-03-19 20:11:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:03] Production.INFO: ==31679== Lock acquired, processing the job... [2025-03-19 20:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:11:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:03] Production.INFO: ==31674== Lock acquired, processing the job... [2025-03-19 20:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:11:04] Production.INFO: ==31672== Releasing lock... [2025-03-19 20:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:11:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:11:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:04] Production.INFO: ==31670== Lock acquired, processing the job... [2025-03-19 20:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:11:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:04] Production.INFO: ==31681== Lock acquired, processing the job... [2025-03-19 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:11:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:11:04] Production.ERROR: done [2025-03-19 20:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:11:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:11:04] Production.INFO: count ==12 [2025-03-19 20:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:11:04] Production.INFO: count ==23 [2025-03-19 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717855') start [2025-03-19 20:11:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:04] Production.ERROR: done [2025-03-19 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717855') end [2025-03-19 20:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:11:04] Production.INFO: 1 [2025-03-19 20:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:11:04] Production.INFO: ==31681== Releasing lock... [2025-03-19 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:11:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:11:04] Production.INFO: Total Charge 0 [2025-03-19 20:11:04] Production.INFO: CreateAllLog End [2025-03-19 20:11:04] Production.INFO: Account Balance End. [2025-03-19 20:11:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:11:04] Production.INFO: ==31676== Releasing lock... [2025-03-19 20:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:11:05 [end_date_ymd] => 2025-03-19 20:11:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:11:05' and `end` < '2025-03-19 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-03-19 20:11:13] Production.ERROR: CronJobId end10 [2025-03-19 20:11:13] Production.INFO: ==31674== Releasing lock... [2025-03-19 20:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:11:15] Production.INFO: call_cost start [2025-03-19 20:11:15] Production.INFO: call_cost end [2025-03-19 20:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:11:16] Production.INFO: ==31670== Releasing lock... [2025-03-19 20:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:11:17] Production.INFO: count ==2793 [2025-03-19 20:11:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:11:05 - End Time 2025-03-19 20:11:05 [2025-03-19 20:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717856', 'tblTempUsageDetail_20' ) start [2025-03-19 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717856', 'tblTempUsageDetail_20' ) end [2025-03-19 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717856', 'tblTempVendorCDR_20' ) start [2025-03-19 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717856', 'tblTempVendorCDR_20' ) end [2025-03-19 20:11:18] Production.INFO: ProcessCDR(1,14717856,1,1,2) [2025-03-19 20:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717856', 'tblTempUsageDetail_20' ) start [2025-03-19 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717856', 'tblTempUsageDetail_20' ) end [2025-03-19 20:11:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:11:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:11:22] Production.INFO: ==31679== Releasing lock... [2025-03-19 20:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:11:22] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 00:12:01] Production.INFO: ==31751== Lock acquired, processing the job... [2025-03-20 00:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:12:01] Production.INFO: neon service started [2025-03-20 00:12:01] Production.INFO: neon service started [2025-03-20 00:12:01] Production.INFO: ==31751== Releasing lock... [2025-03-20 00:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:12:01] Production.INFO: ==31755== Lock acquired, processing the job... [2025-03-20 00:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:12:01] Production.INFO: ==31755== Releasing lock... [2025-03-20 00:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:12:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:12:01] Production.INFO: ==31753== Lock acquired, processing the job... [2025-03-19 20:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:12:02] Production.INFO: ==31753== Releasing lock... [2025-03-19 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:12:03] Production.INFO: ==31764== Lock acquired, processing the job... [2025-03-19 20:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:12:03] Production.INFO: ==31768== Lock acquired, processing the job... [2025-03-19 20:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:12:03] Production.INFO: Account Balance Start. [2025-03-19 20:12:03] Production.INFO: CreateAllLog Start [2025-03-19 20:12:03] Production.INFO: 117 [2025-03-19 20:12:03] Production.INFO: ==31758== Lock acquired, processing the job... [2025-03-19 20:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:12:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:12:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:12:03] Production.INFO: count ==12 [2025-03-19 20:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:12:03] Production.INFO: count ==23 [2025-03-19 20:12:03] Production.INFO: ==31760== Lock acquired, processing the job... [2025-03-19 20:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:12:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717858') start [2025-03-19 20:12:03] Production.INFO: ==31762== Lock acquired, processing the job... [2025-03-19 20:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:12:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:12:03] Production.INFO: ==31766== Lock acquired, processing the job... [2025-03-19 20:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:12:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:12:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717858') end [2025-03-19 20:12:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:12:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:12:03] Production.INFO: 1 [2025-03-19 20:12:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:12:03] Production.INFO: Date 2025-03-15 [2025-03-19 20:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:12:03] Production.INFO: Date 2025-03-16 [2025-03-19 20:12:03] Production.INFO: ==31768== Releasing lock... [2025-03-19 20:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:12:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:12:03] Production.INFO: Date 2025-03-17 [2025-03-19 20:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:12:03] Production.INFO: Date 2025-03-18 [2025-03-19 20:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:12:03] Production.ERROR: done [2025-03-19 20:12:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:12:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:12:04] Production.INFO: ==31760== Releasing lock... [2025-03-19 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:12:04] Production.ERROR: done [2025-03-19 20:12:04] Production.INFO: Total Charge 0 [2025-03-19 20:12:04] Production.INFO: CreateAllLog End [2025-03-19 20:12:04] Production.INFO: Account Balance End. [2025-03-19 20:12:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:12:04] Production.INFO: ==31764== Releasing lock... [2025-03-19 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:12:05 [end_date_ymd] => 2025-03-19 20:12:05 [RateCDR] => 1 ) [2025-03-19 20:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:12:05' and `end` < '2025-03-19 20:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:12:12] Production.ERROR: CronJobId end10 [2025-03-19 20:12:12] Production.INFO: ==31762== Releasing lock... [2025-03-19 20:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:12:15] Production.INFO: call_cost start [2025-03-19 20:12:15] Production.INFO: call_cost end [2025-03-19 20:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:12:16] Production.INFO: ==31758== Releasing lock... [2025-03-19 20:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:12:17] Production.INFO: count ==2795 [2025-03-19 20:12:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:12:05 - End Time 2025-03-19 20:12:05 [2025-03-19 20:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717861', 'tblTempUsageDetail_20' ) start [2025-03-19 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717861', 'tblTempUsageDetail_20' ) end [2025-03-19 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717861', 'tblTempVendorCDR_20' ) start [2025-03-19 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717861', 'tblTempVendorCDR_20' ) end [2025-03-19 20:12:18] Production.INFO: ProcessCDR(1,14717861,1,1,2) [2025-03-19 20:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717861', 'tblTempUsageDetail_20' ) start [2025-03-19 20:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717861', 'tblTempUsageDetail_20' ) end [2025-03-19 20:12:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:12:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:12:22] Production.INFO: ==31766== Releasing lock... [2025-03-19 20:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:12:22] Production.INFO: 49.25 MB #Memory Used# [2025-03-20 00:13:01] Production.INFO: ==31827== Lock acquired, processing the job... [2025-03-20 00:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:13:01] Production.INFO: neon service started [2025-03-20 00:13:01] Production.INFO: neon service started [2025-03-20 00:13:01] Production.INFO: ==31827== Releasing lock... [2025-03-20 00:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:13:02] Production.INFO: ==31829== Lock acquired, processing the job... [2025-03-19 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:13:02] Production.INFO: ==31829== Releasing lock... [2025-03-19 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:13:02] Production.INFO: ==31831== Lock acquired, processing the job... [2025-03-20 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:13:02] Production.INFO: ==31831== Releasing lock... [2025-03-20 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:13:03] Production.INFO: ==31838== Lock acquired, processing the job... [2025-03-19 20:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:13:03] Production.INFO: ==31834== Lock acquired, processing the job... [2025-03-19 20:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:13:03] Production.INFO: ==31844== Lock acquired, processing the job... [2025-03-19 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:13:03] Production.INFO: ==31836== Lock acquired, processing the job... [2025-03-19 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:13:03] Production.INFO: ==31840== Lock acquired, processing the job... [2025-03-19 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 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-03-19 20:13:03] Production.INFO: ==31842== Lock acquired, processing the job... [2025-03-19 20:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:13:03] Production.INFO: count ==12 [2025-03-19 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-03-19 20:13:03] Production.INFO: count ==23 [2025-03-19 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717864') start [2025-03-19 20:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:13:03] Production.INFO: Account Balance Start. [2025-03-19 20:13:03] Production.INFO: CreateAllLog Start [2025-03-19 20:13:03] Production.INFO: 117 [2025-03-19 20:13:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:13:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717864') end [2025-03-19 20:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:13:04] Production.INFO: 1 [2025-03-19 20:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:13:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.INFO: ==31836== Releasing lock... [2025-03-19 20:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:13:04] Production.INFO: ==31844== Releasing lock... [2025-03-19 20:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:13:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.ERROR: done [2025-03-19 20:13:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:13:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:13:04] Production.ERROR: done [2025-03-19 20:13:04] Production.INFO: Total Charge 0 [2025-03-19 20:13:04] Production.INFO: CreateAllLog End [2025-03-19 20:13:04] Production.INFO: Account Balance End. [2025-03-19 20:13:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:13:04] Production.INFO: ==31840== Releasing lock... [2025-03-19 20:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:13:05 [end_date_ymd] => 2025-03-19 20:13:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:13:05' and `end` < '2025-03-19 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-03-19 20:13:13] Production.ERROR: CronJobId end10 [2025-03-19 20:13:13] Production.INFO: ==31838== Releasing lock... [2025-03-19 20:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:13:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:13:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:13:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:13:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:13:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:13:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:13:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:13:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:13:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:13:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:13:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:13:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:13:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:13:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:13:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:13:15] Production.INFO: call_cost start [2025-03-19 20:13:15] Production.INFO: call_cost end [2025-03-19 20:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:13:16] Production.INFO: ==31834== Releasing lock... [2025-03-19 20:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:13:18] Production.INFO: count ==2768 [2025-03-19 20:13:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:13:05 - End Time 2025-03-19 20:13:05 [2025-03-19 20:13:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717866', 'tblTempUsageDetail_20' ) start [2025-03-19 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717866', 'tblTempUsageDetail_20' ) end [2025-03-19 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717866', 'tblTempVendorCDR_20' ) start [2025-03-19 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717866', 'tblTempVendorCDR_20' ) end [2025-03-19 20:13:19] Production.INFO: ProcessCDR(1,14717866,1,1,2) [2025-03-19 20:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717866', 'tblTempUsageDetail_20' ) start [2025-03-19 20:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717866', 'tblTempUsageDetail_20' ) end [2025-03-19 20:13:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:13:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:13:24] Production.INFO: ==31842== Releasing lock... [2025-03-19 20:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:13:24] Production.INFO: 48.75 MB #Memory Used# [2025-03-20 00:14:02] Production.INFO: ==31917== Lock acquired, processing the job... [2025-03-20 00:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:14:02] Production.INFO: neon service started [2025-03-20 00:14:02] Production.INFO: neon service started [2025-03-20 00:14:02] Production.INFO: ==31917== Releasing lock... [2025-03-20 00:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:14:02] Production.INFO: ==31921== Lock acquired, processing the job... [2025-03-20 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:14:02] Production.INFO: ==31921== Releasing lock... [2025-03-20 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:14:02] Production.INFO: ==31919== Lock acquired, processing the job... [2025-03-19 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:14:03] Production.INFO: ==31919== Releasing lock... [2025-03-19 20:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:14:03] Production.INFO: ==31929== Lock acquired, processing the job... [2025-03-19 20:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:14:03] Production.INFO: ==31927== Lock acquired, processing the job... [2025-03-19 20:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:14:03] Production.INFO: Account Balance Start. [2025-03-19 20:14:03] Production.INFO: CreateAllLog Start [2025-03-19 20:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:14:03] Production.INFO: 117 [2025-03-19 20:14:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:14:04] Production.INFO: ==31931== Lock acquired, processing the job... [2025-03-19 20:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:14:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: ==31923== Lock acquired, processing the job... [2025-03-19 20:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:14:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: ==31925== Lock acquired, processing the job... [2025-03-19 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:14:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:14:04] Production.INFO: Total Charge 0 [2025-03-19 20:14:04] Production.INFO: CreateAllLog End [2025-03-19 20:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:14:04] Production.INFO: ==31934== Lock acquired, processing the job... [2025-03-19 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:14:04] Production.ERROR: done [2025-03-19 20:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:14:04] Production.INFO: Account Balance End. [2025-03-19 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-03-19 20:14:04] Production.INFO: count ==12 [2025-03-19 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-03-19 20:14:04] Production.INFO: count ==23 [2025-03-19 20:14:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:14:04] Production.INFO: ==31929== Releasing lock... [2025-03-19 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717870') start [2025-03-19 20:14:04] Production.ERROR: done [2025-03-19 20:14:04] Production.INFO: ==31925== Releasing lock... [2025-03-19 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717870') end [2025-03-19 20:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:14:04] Production.INFO: 1 [2025-03-19 20:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:14:04] Production.INFO: ==31934== Releasing lock... [2025-03-19 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:14:05 [end_date_ymd] => 2025-03-19 20:14:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:14:05' and `end` < '2025-03-19 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-03-19 20:14:13] Production.ERROR: CronJobId end10 [2025-03-19 20:14:13] Production.INFO: ==31927== Releasing lock... [2025-03-19 20:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:14:15] Production.INFO: call_cost start [2025-03-19 20:14:15] Production.INFO: call_cost end [2025-03-19 20:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:14:16] Production.INFO: ==31923== Releasing lock... [2025-03-19 20:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:14:18] Production.INFO: count ==2754 [2025-03-19 20:14:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:14:05 - End Time 2025-03-19 20:14:05 [2025-03-19 20:14:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717871', 'tblTempUsageDetail_20' ) start [2025-03-19 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717871', 'tblTempUsageDetail_20' ) end [2025-03-19 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717871', 'tblTempVendorCDR_20' ) start [2025-03-19 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717871', 'tblTempVendorCDR_20' ) end [2025-03-19 20:14:19] Production.INFO: ProcessCDR(1,14717871,1,1,2) [2025-03-19 20:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717871', 'tblTempUsageDetail_20' ) start [2025-03-19 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717871', 'tblTempUsageDetail_20' ) end [2025-03-19 20:14:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:14:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:14:22] Production.INFO: ==31931== Releasing lock... [2025-03-19 20:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:14:22] Production.INFO: 48.75 MB #Memory Used# [2025-03-20 00:15:01] Production.INFO: ==32000== Lock acquired, processing the job... [2025-03-20 00:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:15:01] Production.INFO: neon service started [2025-03-20 00:15:01] Production.INFO: neon service started [2025-03-20 00:15:01] Production.INFO: ==32000== Releasing lock... [2025-03-20 00:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:15:02] Production.INFO: ==32002== Lock acquired, processing the job... [2025-03-19 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:15:02] Production.INFO: ==32002== Releasing lock... [2025-03-19 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:15:02] Production.INFO: ==32004== Lock acquired, processing the job... [2025-03-20 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:15:02] Production.INFO: ==32004== Releasing lock... [2025-03-20 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:15:03] Production.INFO: ==32010== Lock acquired, processing the job... [2025-03-19 20:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:15:03] Production.INFO: ==32012== Lock acquired, processing the job... [2025-03-19 20:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:15:03] Production.INFO: ==32006== Lock acquired, processing the job... [2025-03-19 20:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:15:03] Production.INFO: Account Balance Start. [2025-03-19 20:15:03] Production.INFO: CreateAllLog Start [2025-03-19 20:15:03] Production.INFO: 117 [2025-03-19 20:15:03] Production.INFO: ==32008== Lock acquired, processing the job... [2025-03-19 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:15:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:15:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:03] Production.INFO: ==32014== Lock acquired, processing the job... [2025-03-19 20:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:15:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:03] Production.INFO: ==32016== Lock acquired, processing the job... [2025-03-19 20:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:15:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:15:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:03] Production.INFO: Date 2025-03-15 [2025-03-19 20:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:03] Production.INFO: Date 2025-03-16 [2025-03-19 20:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:04] Production.INFO: ==32008== Releasing lock... [2025-03-19 20:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:15:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:15:04] Production.INFO: count ==12 [2025-03-19 20:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:15:04] Production.INFO: count ==23 [2025-03-19 20:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717875') start [2025-03-19 20:15:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:15:04] Production.ERROR: done [2025-03-19 20:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:15:04] Production.INFO: Total Charge 0 [2025-03-19 20:15:04] Production.INFO: CreateAllLog End [2025-03-19 20:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717875') end [2025-03-19 20:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:15:04] Production.INFO: 1 [2025-03-19 20:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:15:04] Production.INFO: ==32016== Releasing lock... [2025-03-19 20:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:15:04] Production.ERROR: done [2025-03-19 20:15:04] Production.INFO: Account Balance End. [2025-03-19 20:15:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:15:04] Production.INFO: ==32012== Releasing lock... [2025-03-19 20:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:15:05 [end_date_ymd] => 2025-03-19 20:15:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:15:05' and `end` < '2025-03-19 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-03-19 20:15:13] Production.ERROR: CronJobId end10 [2025-03-19 20:15:13] Production.INFO: ==32010== Releasing lock... [2025-03-19 20:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:15:15] Production.INFO: call_cost start [2025-03-19 20:15:15] Production.INFO: call_cost end [2025-03-19 20:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:15:16] Production.INFO: ==32006== Releasing lock... [2025-03-19 20:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:15:17] Production.INFO: count ==2754 [2025-03-19 20:15:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:15:05 - End Time 2025-03-19 20:15:05 [2025-03-19 20:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717876', 'tblTempUsageDetail_20' ) start [2025-03-19 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717876', 'tblTempUsageDetail_20' ) end [2025-03-19 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717876', 'tblTempVendorCDR_20' ) start [2025-03-19 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717876', 'tblTempVendorCDR_20' ) end [2025-03-19 20:15:19] Production.INFO: ProcessCDR(1,14717876,1,1,2) [2025-03-19 20:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717876', 'tblTempUsageDetail_20' ) start [2025-03-19 20:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717876', 'tblTempUsageDetail_20' ) end [2025-03-19 20:15:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:15:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:15:24] Production.INFO: ==32014== Releasing lock... [2025-03-19 20:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:15:24] Production.INFO: 48.75 MB #Memory Used# [2025-03-20 00:16:02] Production.INFO: ==32080== Lock acquired, processing the job... [2025-03-20 00:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:16:02] Production.INFO: neon service started [2025-03-20 00:16:02] Production.INFO: neon service started [2025-03-20 00:16:02] Production.INFO: ==32080== Releasing lock... [2025-03-20 00:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:16:02] Production.INFO: ==32084== Lock acquired, processing the job... [2025-03-20 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:16:02] Production.INFO: ==32084== Releasing lock... [2025-03-20 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:16:02] Production.INFO: ==32082== Lock acquired, processing the job... [2025-03-19 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:16:03] Production.INFO: ==32082== Releasing lock... [2025-03-19 20:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:16:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:16:03] Production.INFO: ==32087== Lock acquired, processing the job... [2025-03-19 20:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:16:03] Production.INFO: ==32095== Lock acquired, processing the job... [2025-03-19 20:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:16:04] Production.INFO: ==32089== Lock acquired, processing the job... [2025-03-19 20:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:16:04] Production.INFO: ==32091== Lock acquired, processing the job... [2025-03-19 20:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:16:04] Production.INFO: ==32093== Lock acquired, processing the job... [2025-03-19 20:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:16:04] Production.INFO: ==32097== Lock acquired, processing the job... [2025-03-19 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:16:04] Production.INFO: Account Balance Start. [2025-03-19 20:16:04] Production.INFO: CreateAllLog Start [2025-03-19 20:16:04] Production.INFO: 117 [2025-03-19 20:16:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:16:04] Production.ERROR: done [2025-03-19 20:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:16:04] Production.INFO: ==32089== Releasing lock... [2025-03-19 20:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:16:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:16:04] Production.INFO: count ==12 [2025-03-19 20:16:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:16:04] Production.INFO: count ==23 [2025-03-19 20:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717880') start [2025-03-19 20:16:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.ERROR: done [2025-03-19 20:16:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717880') end [2025-03-19 20:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:16:04] Production.INFO: 1 [2025-03-19 20:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:16:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:16:04] Production.INFO: ==32097== Releasing lock... [2025-03-19 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:16:04] Production.INFO: Total Charge 0 [2025-03-19 20:16:05] Production.INFO: CreateAllLog End [2025-03-19 20:16:05] Production.INFO: Account Balance End. [2025-03-19 20:16:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:16:05] Production.INFO: ==32093== Releasing lock... [2025-03-19 20:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:16:05 [end_date_ymd] => 2025-03-19 20:16:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:16:05' and `end` < '2025-03-19 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-03-19 20:16:14] Production.ERROR: CronJobId end10 [2025-03-19 20:16:14] Production.INFO: ==32091== Releasing lock... [2025-03-19 20:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:16:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:16:16] Production.INFO: call_cost start [2025-03-19 20:16:16] Production.INFO: call_cost end [2025-03-19 20:16:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:16:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:16:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:16:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:16:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:16:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:16:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:16:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:16:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:16:17] Production.INFO: ==32087== Releasing lock... [2025-03-19 20:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:16:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:16:18] Production.INFO: count ==2730 [2025-03-19 20:16:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:16:05 - End Time 2025-03-19 20:16:05 [2025-03-19 20:16:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717881', 'tblTempUsageDetail_20' ) start [2025-03-19 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717881', 'tblTempUsageDetail_20' ) end [2025-03-19 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717881', 'tblTempVendorCDR_20' ) start [2025-03-19 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717881', 'tblTempVendorCDR_20' ) end [2025-03-19 20:16:19] Production.INFO: ProcessCDR(1,14717881,1,1,2) [2025-03-19 20:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717881', 'tblTempUsageDetail_20' ) start [2025-03-19 20:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717881', 'tblTempUsageDetail_20' ) end [2025-03-19 20:16:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:16:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:16:24] Production.INFO: ==32095== Releasing lock... [2025-03-19 20:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:16:24] Production.INFO: 48.5 MB #Memory Used# [2025-03-20 00:17:01] Production.INFO: ==32163== Lock acquired, processing the job... [2025-03-20 00:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:17:01] Production.INFO: neon service started [2025-03-20 00:17:01] Production.INFO: neon service started [2025-03-20 00:17:01] Production.INFO: ==32163== Releasing lock... [2025-03-20 00:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:17:02] Production.INFO: ==32167== Lock acquired, processing the job... [2025-03-20 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:17:02] Production.INFO: ==32167== Releasing lock... [2025-03-20 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:17:02] Production.INFO: 26 MB #Memory Used# [2025-03-19 20:17:02] Production.INFO: ==32165== Lock acquired, processing the job... [2025-03-19 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:17:02] Production.INFO: ==32165== Releasing lock... [2025-03-19 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:17:03] Production.INFO: ==32171== Lock acquired, processing the job... [2025-03-19 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:17:03] Production.INFO: ==32169== Lock acquired, processing the job... [2025-03-19 20:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:17:03] Production.INFO: ==32173== Lock acquired, processing the job... [2025-03-19 20:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:17:03] Production.INFO: ==32175== Lock acquired, processing the job... [2025-03-19 20:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:17:03] Production.INFO: ==32171== Releasing lock... [2025-03-19 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:17:03] Production.INFO: ==32177== Lock acquired, processing the job... [2025-03-19 20:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:17:03] Production.INFO: Account Balance Start. [2025-03-19 20:17:03] Production.INFO: CreateAllLog Start [2025-03-19 20:17:03] Production.INFO: ==32179== Lock acquired, processing the job... [2025-03-19 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:17:03] Production.INFO: 117 [2025-03-19 20:17:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:17:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:17:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:17:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:17:03] Production.INFO: count ==12 [2025-03-19 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-03-19 20:17:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:17:03] Production.INFO: count ==23 [2025-03-19 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717885') start [2025-03-19 20:17:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:17:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:17:04] Production.ERROR: done [2025-03-19 20:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717885') end [2025-03-19 20:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:17:04] Production.INFO: 1 [2025-03-19 20:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:17:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:17:04] Production.INFO: ==32179== Releasing lock... [2025-03-19 20:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:17:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:17:04] Production.ERROR: done [2025-03-19 20:17:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:17:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:17:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:17:04] Production.INFO: Total Charge 0 [2025-03-19 20:17:04] Production.INFO: CreateAllLog End [2025-03-19 20:17:04] Production.INFO: Account Balance End. [2025-03-19 20:17:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:17:04] Production.INFO: ==32175== Releasing lock... [2025-03-19 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:17:05 [end_date_ymd] => 2025-03-19 20:17:05 [RateCDR] => 1 ) [2025-03-19 20:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:17:05' and `end` < '2025-03-19 20:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:17:13] Production.ERROR: CronJobId end10 [2025-03-19 20:17:13] Production.INFO: ==32173== Releasing lock... [2025-03-19 20:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:17:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:17:14] Production.INFO: call_cost start [2025-03-19 20:17:14] Production.INFO: call_cost end [2025-03-19 20:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:17:15] Production.INFO: ==32169== Releasing lock... [2025-03-19 20:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:17:17] Production.INFO: count ==2728 [2025-03-19 20:17:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:17:05 - End Time 2025-03-19 20:17:05 [2025-03-19 20:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717886', 'tblTempUsageDetail_20' ) start [2025-03-19 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717886', 'tblTempUsageDetail_20' ) end [2025-03-19 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717886', 'tblTempVendorCDR_20' ) start [2025-03-19 20:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717886', 'tblTempVendorCDR_20' ) end [2025-03-19 20:17:19] Production.INFO: ProcessCDR(1,14717886,1,1,2) [2025-03-19 20:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717886', 'tblTempUsageDetail_20' ) start [2025-03-19 20:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717886', 'tblTempUsageDetail_20' ) end [2025-03-19 20:17:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:17:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:17:24] Production.INFO: ==32177== Releasing lock... [2025-03-19 20:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:17:24] Production.INFO: 48.5 MB #Memory Used# [2025-03-20 00:18:02] Production.INFO: ==32248== Lock acquired, processing the job... [2025-03-20 00:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:18:02] Production.INFO: neon service started [2025-03-20 00:18:02] Production.INFO: neon service started [2025-03-20 00:18:02] Production.INFO: ==32248== Releasing lock... [2025-03-20 00:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:18:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:18:02] Production.INFO: ==32252== Lock acquired, processing the job... [2025-03-20 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:18:02] Production.INFO: ==32252== Releasing lock... [2025-03-20 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:18:02] Production.INFO: ==32250== Lock acquired, processing the job... [2025-03-19 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:18:02] Production.INFO: ==32250== Releasing lock... [2025-03-19 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:18:03] Production.INFO: ==32257== Lock acquired, processing the job... [2025-03-19 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:18:03] Production.INFO: ==32255== Lock acquired, processing the job... [2025-03-19 20:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:18:03] Production.INFO: ==32265== Lock acquired, processing the job... [2025-03-19 20:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:18:04] Production.INFO: ==32259== Lock acquired, processing the job... [2025-03-19 20:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:18:04] Production.INFO: ==32261== Lock acquired, processing the job... [2025-03-19 20:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 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-03-19 20:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:18:04] Production.INFO: count ==12 [2025-03-19 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-03-19 20:18:04] Production.INFO: count ==23 [2025-03-19 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717888') start [2025-03-19 20:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:18:04] Production.INFO: ==32263== Lock acquired, processing the job... [2025-03-19 20:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:18:04] Production.INFO: Account Balance Start. [2025-03-19 20:18:04] Production.INFO: CreateAllLog Start [2025-03-19 20:18:04] Production.INFO: 117 [2025-03-19 20:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:18:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:18:04] Production.INFO: ==32257== Releasing lock... [2025-03-19 20:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717888') end [2025-03-19 20:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:18:04] Production.INFO: 1 [2025-03-19 20:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:18:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.INFO: ==32265== Releasing lock... [2025-03-19 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:18:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.ERROR: done [2025-03-19 20:18:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:18:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.ERROR: done [2025-03-19 20:18:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:18:04] Production.INFO: Total Charge 0 [2025-03-19 20:18:04] Production.INFO: CreateAllLog End [2025-03-19 20:18:05] Production.INFO: Account Balance End. [2025-03-19 20:18:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:18:05] Production.INFO: ==32261== Releasing lock... [2025-03-19 20:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:18:05 [end_date_ymd] => 2025-03-19 20:18:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:18:05' and `end` < '2025-03-19 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-03-19 20:18:13] Production.ERROR: CronJobId end10 [2025-03-19 20:18:13] Production.INFO: ==32259== Releasing lock... [2025-03-19 20:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:18:15] Production.INFO: call_cost start [2025-03-19 20:18:15] Production.INFO: call_cost end [2025-03-19 20:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:18:16] Production.INFO: ==32255== Releasing lock... [2025-03-19 20:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:18:18] Production.INFO: count ==2721 [2025-03-19 20:18:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:18:05 - End Time 2025-03-19 20:18:05 [2025-03-19 20:18:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717891', 'tblTempUsageDetail_20' ) start [2025-03-19 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717891', 'tblTempUsageDetail_20' ) end [2025-03-19 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717891', 'tblTempVendorCDR_20' ) start [2025-03-19 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717891', 'tblTempVendorCDR_20' ) end [2025-03-19 20:18:19] Production.INFO: ProcessCDR(1,14717891,1,1,2) [2025-03-19 20:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717891', 'tblTempUsageDetail_20' ) start [2025-03-19 20:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717891', 'tblTempUsageDetail_20' ) end [2025-03-19 20:18:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:18:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:18:22] Production.INFO: ==32263== Releasing lock... [2025-03-19 20:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:18:22] Production.INFO: 48.5 MB #Memory Used# [2025-03-20 00:19:01] Production.INFO: ==32366== Lock acquired, processing the job... [2025-03-20 00:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:19:01] Production.INFO: neon service started [2025-03-20 00:19:01] Production.INFO: neon service started [2025-03-20 00:19:01] Production.INFO: ==32366== Releasing lock... [2025-03-20 00:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:19:01] Production.INFO: ==32370== Lock acquired, processing the job... [2025-03-20 00:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:19:01] Production.INFO: ==32370== Releasing lock... [2025-03-20 00:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:19:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:19:02] Production.INFO: ==32368== Lock acquired, processing the job... [2025-03-19 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:19:02] Production.INFO: ==32368== Releasing lock... [2025-03-19 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:19:03] Production.INFO: ==32372== Lock acquired, processing the job... [2025-03-19 20:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:19:03] Production.INFO: ==32377== Lock acquired, processing the job... [2025-03-19 20:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:19:03] Production.INFO: ==32374== Lock acquired, processing the job... [2025-03-19 20:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:19:03] Production.INFO: ==32383== Lock acquired, processing the job... [2025-03-19 20:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:19:03] Production.INFO: ==32381== Lock acquired, processing the job... [2025-03-19 20:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:19:03] Production.INFO: ==32379== Lock acquired, processing the job... [2025-03-19 20:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:19:03] Production.INFO: count ==12 [2025-03-19 20:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:19:03] Production.INFO: count ==23 [2025-03-19 20:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717894') start [2025-03-19 20:19:03] Production.INFO: Account Balance Start. [2025-03-19 20:19:03] Production.INFO: CreateAllLog Start [2025-03-19 20:19:03] Production.INFO: 117 [2025-03-19 20:19:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717894') end [2025-03-19 20:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:19:04] Production.INFO: 1 [2025-03-19 20:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:19:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:04] Production.INFO: ==32383== Releasing lock... [2025-03-19 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:19:04] Production.INFO: ==32374== Releasing lock... [2025-03-19 20:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:19:04] Production.ERROR: done [2025-03-19 20:19:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:19:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:19:04] Production.ERROR: done [2025-03-19 20:19:04] Production.INFO: Total Charge 0 [2025-03-19 20:19:04] Production.INFO: CreateAllLog End [2025-03-19 20:19:04] Production.INFO: Account Balance End. [2025-03-19 20:19:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:19:04] Production.INFO: ==32379== Releasing lock... [2025-03-19 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:19:05 [end_date_ymd] => 2025-03-19 20:19:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:19:05' and `end` < '2025-03-19 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-03-19 20:19:12] Production.ERROR: CronJobId end10 [2025-03-19 20:19:12] Production.INFO: ==32377== Releasing lock... [2025-03-19 20:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:19:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:19:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:19:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:19:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:19:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:19:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:19:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:19:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:19:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:19:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:19:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:19:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:19:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:19:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:19:14] Production.INFO: call_cost start [2025-03-19 20:19:14] Production.INFO: call_cost end [2025-03-19 20:19:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:19:14] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:19:14] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:19:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:19:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:19:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:19:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:19:14] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:19:14] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:19:14] Production.INFO: ==32372== Releasing lock... [2025-03-19 20:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:19:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:19:18] Production.INFO: count ==2713 [2025-03-19 20:19:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:19:05 - End Time 2025-03-19 20:19:05 [2025-03-19 20:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717896', 'tblTempUsageDetail_20' ) start [2025-03-19 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717896', 'tblTempUsageDetail_20' ) end [2025-03-19 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717896', 'tblTempVendorCDR_20' ) start [2025-03-19 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717896', 'tblTempVendorCDR_20' ) end [2025-03-19 20:19:19] Production.INFO: ProcessCDR(1,14717896,1,1,2) [2025-03-19 20:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717896', 'tblTempUsageDetail_20' ) start [2025-03-19 20:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717896', 'tblTempUsageDetail_20' ) end [2025-03-19 20:19:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:19:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:19:23] Production.INFO: ==32381== Releasing lock... [2025-03-19 20:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:19:23] Production.INFO: 48.5 MB #Memory Used# [2025-03-20 00:20:01] Production.INFO: ==32448== Lock acquired, processing the job... [2025-03-20 00:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:20:02] Production.INFO: neon service started [2025-03-20 00:20:02] Production.INFO: neon service started [2025-03-20 00:20:02] Production.INFO: ==32448== Releasing lock... [2025-03-20 00:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:20:02] Production.INFO: ==32452== Lock acquired, processing the job... [2025-03-20 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:20:02] Production.INFO: ==32452== Releasing lock... [2025-03-20 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:20:02] Production.INFO: ==32450== Lock acquired, processing the job... [2025-03-19 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:20:02] Production.INFO: ==32450== Releasing lock... [2025-03-19 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:20:03] Production.INFO: ==32456== Lock acquired, processing the job... [2025-03-19 20:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:20:03] Production.INFO: ==32454== Lock acquired, processing the job... [2025-03-19 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 20:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:20:04] Production.INFO: ==32460== Lock acquired, processing the job... [2025-03-19 20:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:20:04] Production.INFO: ==32464== Lock acquired, processing the job... [2025-03-19 20:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 20:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 20:20:04] Production.ERROR: CronJob PID - 32456 [2025-03-19 20:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-19 20:20:04] Production.ERROR: CronJob ID - 5 [2025-03-19 20:20:04] Production.ERROR: CronJob Last Run Time 2025-03-19 20:20:00 [2025-03-19 20:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 20:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 20:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 20:20:04] Production.ERROR: CronJob PID - 32460 [2025-03-19 20:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-19 20:20:04] Production.ERROR: CronJob ID - 10 [2025-03-19 20:20:04] Production.ERROR: CronJob Last Run Time 2025-03-19 20:20:00 [2025-03-19 20:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 20:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 20:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 20:20:04] Production.INFO: ==32454== Releasing lock... [2025-03-19 20:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 20:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 20:20:04] Production.INFO: ==32458== Lock acquired, processing the job... [2025-03-19 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:20:04] Production.INFO: ==32462== Lock acquired, processing the job... [2025-03-19 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:20:04] Production.INFO: ==32467== Lock acquired, processing the job... [2025-03-19 20:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 20:20:04] Production.INFO: Account Balance Start. [2025-03-19 20:20:04] Production.INFO: CreateAllLog Start [2025-03-19 20:20:04] Production.INFO: 117 [2025-03-19 20:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:20:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:20:04] Production.INFO: ==32469== Lock acquired, processing the job... [2025-03-19 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:20:04] Production.ERROR: done [2025-03-19 20:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:20:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:20:04] Production.INFO: ==32458== Releasing lock... [2025-03-19 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:20:04] Production.ERROR: done [2025-03-19 20:20:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:20:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:20:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:20:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:20:04] Production.INFO: count ==12 [2025-03-19 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-03-19 20:20:04] Production.INFO: count ==23 [2025-03-19 20:20:05] Production.INFO: Date 2025-03-14 [2025-03-19 20:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14717900') start [2025-03-19 20:20:05] Production.INFO: Date 2025-03-15 [2025-03-19 20:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14717900') end [2025-03-19 20:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:20:05] Production.INFO: 1 [2025-03-19 20:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:20:05] Production.INFO: Date 2025-03-16 [2025-03-19 20:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:20:05] Production.ERROR: done [2025-03-19 20:20:05] Production.INFO: Date 2025-03-17 [2025-03-19 20:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:20:05] Production.INFO: ==32469== Releasing lock... [2025-03-19 20:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 20:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14717902', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 20:20:05] Production.INFO: Date 2025-03-18 [2025-03-19 20:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:20:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:20:05] Production.INFO: Total Charge 0 [2025-03-19 20:20:05] Production.INFO: CreateAllLog End [2025-03-19 20:20:05] Production.INFO: Account Balance End. [2025-03-19 20:20:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:20:05] Production.INFO: ==32462== Releasing lock... [2025-03-19 20:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:20:06 [end_date_ymd] => 2025-03-19 20:20:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:20:06' and `end` < '2025-03-19 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-03-19 20:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14717902', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 20:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 20:20:09] Production.INFO: ProcessCDR(1,14717902,1,1,2) [2025-03-19 20:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14717902,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14717902,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:20:09] Production.INFO: ==32467== Releasing lock... [2025-03-19 20:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 20:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 20:20:14] Production.ERROR: CronJobId end10 [2025-03-19 20:20:14] Production.INFO: ==32460== Releasing lock... [2025-03-19 20:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:20:16] Production.INFO: call_cost start [2025-03-19 20:20:16] Production.INFO: call_cost end [2025-03-19 20:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:20:17] Production.INFO: ==32456== Releasing lock... [2025-03-19 20:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:20:18] Production.INFO: count ==2696 [2025-03-19 20:20:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:20:06 - End Time 2025-03-19 20:20:06 [2025-03-19 20:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717901', 'tblTempUsageDetail_20' ) start [2025-03-19 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717901', 'tblTempUsageDetail_20' ) end [2025-03-19 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717901', 'tblTempVendorCDR_20' ) start [2025-03-19 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717901', 'tblTempVendorCDR_20' ) end [2025-03-19 20:20:19] Production.INFO: ProcessCDR(1,14717901,1,1,2) [2025-03-19 20:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717901', 'tblTempUsageDetail_20' ) start [2025-03-19 20:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717901', 'tblTempUsageDetail_20' ) end [2025-03-19 20:20:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:20:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:20:24] Production.INFO: ==32464== Releasing lock... [2025-03-19 20:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:20:24] Production.INFO: 48.25 MB #Memory Used# [2025-03-20 00:21:01] Production.INFO: ==32534== Lock acquired, processing the job... [2025-03-20 00:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:21:01] Production.INFO: neon service started [2025-03-20 00:21:01] Production.INFO: neon service started [2025-03-20 00:21:01] Production.INFO: ==32534== Releasing lock... [2025-03-20 00:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:21:02] Production.INFO: ==32536== Lock acquired, processing the job... [2025-03-19 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:21:02] Production.INFO: ==32538== Lock acquired, processing the job... [2025-03-20 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:21:02] Production.INFO: ==32538== Releasing lock... [2025-03-20 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:21:02] Production.INFO: ==32536== Releasing lock... [2025-03-19 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:21:03] Production.INFO: ==32543== Lock acquired, processing the job... [2025-03-19 20:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:21:03] Production.INFO: ==32551== Lock acquired, processing the job... [2025-03-19 20:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20: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-03-19 20:21:03] Production.INFO: count ==12 [2025-03-19 20: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-03-19 20:21:03] Production.INFO: ==32541== Lock acquired, processing the job... [2025-03-19 20:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:21:03] Production.INFO: count ==23 [2025-03-19 20:21:03] Production.INFO: ==32543== Releasing lock... [2025-03-19 20:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717904') start [2025-03-19 20:21:03] Production.INFO: ==32545== Lock acquired, processing the job... [2025-03-19 20:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717904') end [2025-03-19 20:21:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:21:03] Production.INFO: 1 [2025-03-19 20:21:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:21:03] Production.INFO: ==32547== Lock acquired, processing the job... [2025-03-19 20:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:21:03] Production.INFO: ==32549== Lock acquired, processing the job... [2025-03-19 20:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:21:03] Production.INFO: ==32551== Releasing lock... [2025-03-19 20:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:21:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:21:03] Production.INFO: Account Balance Start. [2025-03-19 20:21:03] Production.INFO: CreateAllLog Start [2025-03-19 20:21:03] Production.INFO: 117 [2025-03-19 20:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:21:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:04] Production.ERROR: done [2025-03-19 20:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:21:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:04] Production.ERROR: done [2025-03-19 20:21:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:21:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:21:05] Production.INFO: Total Charge 0 [2025-03-19 20:21:05] Production.INFO: CreateAllLog End [2025-03-19 20:21:05] Production.INFO: Account Balance End. [2025-03-19 20:21:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:21:05] Production.INFO: ==32547== Releasing lock... [2025-03-19 20:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:21:05 [end_date_ymd] => 2025-03-19 20:21:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:21:05' and `end` < '2025-03-19 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-03-19 20:21:13] Production.ERROR: CronJobId end10 [2025-03-19 20:21:13] Production.INFO: ==32545== Releasing lock... [2025-03-19 20:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:21:14] Production.INFO: call_cost start [2025-03-19 20:21:14] Production.INFO: call_cost end [2025-03-19 20:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:21:15] Production.INFO: ==32541== Releasing lock... [2025-03-19 20:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:21:18] Production.INFO: count ==2642 [2025-03-19 20:21:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:21:05 - End Time 2025-03-19 20:21:05 [2025-03-19 20:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717907', 'tblTempUsageDetail_20' ) start [2025-03-19 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717907', 'tblTempUsageDetail_20' ) end [2025-03-19 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717907', 'tblTempVendorCDR_20' ) start [2025-03-19 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717907', 'tblTempVendorCDR_20' ) end [2025-03-19 20:21:19] Production.INFO: ProcessCDR(1,14717907,1,1,2) [2025-03-19 20:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717907', 'tblTempUsageDetail_20' ) start [2025-03-19 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717907', 'tblTempUsageDetail_20' ) end [2025-03-19 20:21:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:21:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:21:22] Production.INFO: ==32549== Releasing lock... [2025-03-19 20:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:21:22] Production.INFO: 47.75 MB #Memory Used# [2025-03-20 00:22:01] Production.INFO: ==32614== Lock acquired, processing the job... [2025-03-20 00:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:22:01] Production.INFO: neon service started [2025-03-20 00:22:01] Production.INFO: neon service started [2025-03-20 00:22:01] Production.INFO: ==32614== Releasing lock... [2025-03-20 00:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:22:02] Production.INFO: ==32616== Lock acquired, processing the job... [2025-03-19 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:22:02] Production.INFO: ==32618== Lock acquired, processing the job... [2025-03-20 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 20:22:02] Production.INFO: ==32616== Releasing lock... [2025-03-19 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:22:02] Production.INFO: ==32618== Releasing lock... [2025-03-20 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:22:03] Production.INFO: ==32626== Lock acquired, processing the job... [2025-03-19 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:22:03] Production.INFO: ==32630== Lock acquired, processing the job... [2025-03-19 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:22:03] Production.INFO: ==32620== Lock acquired, processing the job... [2025-03-19 20:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 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-03-19 20:22:03] Production.INFO: Account Balance Start. [2025-03-19 20:22:03] Production.INFO: CreateAllLog Start [2025-03-19 20:22:03] Production.INFO: 117 [2025-03-19 20:22:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:22:03] Production.INFO: ==32622== Lock acquired, processing the job... [2025-03-19 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:22:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:03] Production.INFO: count ==12 [2025-03-19 20:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 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-03-19 20:22:03] Production.INFO: count ==23 [2025-03-19 20:22:03] Production.INFO: ==32624== Lock acquired, processing the job... [2025-03-19 20:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717909') start [2025-03-19 20:22:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:22:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:04] Production.INFO: ==32628== Lock acquired, processing the job... [2025-03-19 20:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:22:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717909') end [2025-03-19 20:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:22:04] Production.INFO: 1 [2025-03-19 20:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:22:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:22:04] Production.INFO: ==32630== Releasing lock... [2025-03-19 20:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:22:04] Production.INFO: ==32622== Releasing lock... [2025-03-19 20:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:22:04] Production.INFO: Total Charge 0 [2025-03-19 20:22:04] Production.INFO: CreateAllLog End [2025-03-19 20:22:04] Production.ERROR: done [2025-03-19 20:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:22:04] Production.ERROR: done [2025-03-19 20:22:04] Production.INFO: Account Balance End. [2025-03-19 20:22:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:22:04] Production.INFO: ==32626== Releasing lock... [2025-03-19 20:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:22:05 [end_date_ymd] => 2025-03-19 20:22:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:22:05' and `end` < '2025-03-19 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-03-19 20:22:13] Production.ERROR: CronJobId end10 [2025-03-19 20:22:13] Production.INFO: ==32624== Releasing lock... [2025-03-19 20:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:22:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:22:14] Production.INFO: call_cost start [2025-03-19 20:22:14] Production.INFO: call_cost end [2025-03-19 20:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:22:15] Production.INFO: ==32620== Releasing lock... [2025-03-19 20:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:22:18] Production.INFO: count ==2638 [2025-03-19 20:22:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:22:05 - End Time 2025-03-19 20:22:05 [2025-03-19 20:22:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717912', 'tblTempUsageDetail_20' ) start [2025-03-19 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717912', 'tblTempUsageDetail_20' ) end [2025-03-19 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717912', 'tblTempVendorCDR_20' ) start [2025-03-19 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717912', 'tblTempVendorCDR_20' ) end [2025-03-19 20:22:19] Production.INFO: ProcessCDR(1,14717912,1,1,2) [2025-03-19 20:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717912', 'tblTempUsageDetail_20' ) start [2025-03-19 20:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717912', 'tblTempUsageDetail_20' ) end [2025-03-19 20:22:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:22:22] Production.INFO: ==32628== Releasing lock... [2025-03-19 20:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:22:22] Production.INFO: 47.75 MB #Memory Used# [2025-03-20 00:23:01] Production.INFO: ==32694== Lock acquired, processing the job... [2025-03-20 00:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:23:01] Production.INFO: neon service started [2025-03-20 00:23:01] Production.INFO: neon service started [2025-03-20 00:23:01] Production.INFO: ==32694== Releasing lock... [2025-03-20 00:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:23:01] Production.INFO: ==32696== Lock acquired, processing the job... [2025-03-19 20:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:23:02] Production.INFO: ==32696== Releasing lock... [2025-03-19 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:23:02] Production.INFO: ==32698== Lock acquired, processing the job... [2025-03-20 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:23:02] Production.INFO: ==32698== Releasing lock... [2025-03-20 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:23:03] Production.INFO: ==32707== Lock acquired, processing the job... [2025-03-19 20:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:23:03] Production.INFO: ==32701== Lock acquired, processing the job... [2025-03-19 20:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:23:03] Production.INFO: ==32711== Lock acquired, processing the job... [2025-03-19 20:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:23:03] Production.INFO: Account Balance Start. [2025-03-19 20:23:03] Production.INFO: CreateAllLog Start [2025-03-19 20:23:03] Production.INFO: 117 [2025-03-19 20:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:23:03] Production.INFO: Date 2025-03-08 [2025-03-19 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-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:03] Production.INFO: ==32703== Lock acquired, processing the job... [2025-03-19 20:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:23:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:03] Production.INFO: ==32705== Lock acquired, processing the job... [2025-03-19 20:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:23:03] Production.INFO: count ==12 [2025-03-19 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-03-19 20:23:03] Production.INFO: count ==23 [2025-03-19 20:23:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717915') start [2025-03-19 20:23:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:03] Production.INFO: ==32709== Lock acquired, processing the job... [2025-03-19 20:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:23:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717915') end [2025-03-19 20:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:23:03] Production.INFO: 1 [2025-03-19 20:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:23:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:23:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:03] Production.INFO: Date 2025-03-15 [2025-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:03] Production.INFO: ==32711== Releasing lock... [2025-03-19 20:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:23:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:23:03] Production.INFO: ==32703== Releasing lock... [2025-03-19 20:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:23:03] Production.INFO: Date 2025-03-16 [2025-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:03] Production.INFO: Date 2025-03-17 [2025-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:03] Production.INFO: Date 2025-03-18 [2025-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:03] Production.INFO: Date 2025-03-19 [2025-03-19 20:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:23:04] Production.INFO: Total Charge 0 [2025-03-19 20:23:04] Production.INFO: CreateAllLog End [2025-03-19 20:23:04] Production.ERROR: done [2025-03-19 20:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:23:04] Production.ERROR: done [2025-03-19 20:23:04] Production.INFO: Account Balance End. [2025-03-19 20:23:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:23:04] Production.INFO: ==32707== Releasing lock... [2025-03-19 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:23:05 [end_date_ymd] => 2025-03-19 20:23:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:23:05' and `end` < '2025-03-19 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-03-19 20:23:14] Production.ERROR: CronJobId end10 [2025-03-19 20:23:14] Production.INFO: ==32705== Releasing lock... [2025-03-19 20:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:23:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:23:14] Production.INFO: call_cost start [2025-03-19 20:23:14] Production.INFO: call_cost end [2025-03-19 20:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:23:15] Production.INFO: ==32701== Releasing lock... [2025-03-19 20:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:23:18] Production.INFO: count ==2636 [2025-03-19 20:23:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:23:05 - End Time 2025-03-19 20:23:05 [2025-03-19 20:23:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717917', 'tblTempUsageDetail_20' ) start [2025-03-19 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717917', 'tblTempUsageDetail_20' ) end [2025-03-19 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717917', 'tblTempVendorCDR_20' ) start [2025-03-19 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717917', 'tblTempVendorCDR_20' ) end [2025-03-19 20:23:19] Production.INFO: ProcessCDR(1,14717917,1,1,2) [2025-03-19 20:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717917', 'tblTempUsageDetail_20' ) start [2025-03-19 20:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717917', 'tblTempUsageDetail_20' ) end [2025-03-19 20:23:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:23:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:23:24] Production.INFO: ==32709== Releasing lock... [2025-03-19 20:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:23:24] Production.INFO: 47.75 MB #Memory Used# [2025-03-20 00:24:01] Production.INFO: ==304== Lock acquired, processing the job... [2025-03-20 00:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:24:01] Production.INFO: neon service started [2025-03-20 00:24:01] Production.INFO: neon service started [2025-03-20 00:24:01] Production.INFO: ==304== Releasing lock... [2025-03-20 00:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:24:02] Production.INFO: ==316== Lock acquired, processing the job... [2025-03-20 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:24:02] Production.INFO: ==316== Releasing lock... [2025-03-20 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:24:02] Production.INFO: ==307== Lock acquired, processing the job... [2025-03-19 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:24:02] Production.INFO: ==307== Releasing lock... [2025-03-19 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:24:03] Production.INFO: ==319== Lock acquired, processing the job... [2025-03-19 20:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:24:03] Production.INFO: ==323== Lock acquired, processing the job... [2025-03-19 20:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:24:03] Production.INFO: ==329== Lock acquired, processing the job... [2025-03-19 20:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:24:03] Production.INFO: ==321== Lock acquired, processing the job... [2025-03-19 20:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:24:03] Production.INFO: count ==12 [2025-03-19 20:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:24:03] Production.INFO: count ==23 [2025-03-19 20:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717919') start [2025-03-19 20:24:03] Production.INFO: ==327== Lock acquired, processing the job... [2025-03-19 20:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:24:03] Production.INFO: ==325== Lock acquired, processing the job... [2025-03-19 20:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717919') end [2025-03-19 20:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:24:04] Production.INFO: 1 [2025-03-19 20:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:24:04] Production.INFO: Account Balance Start. [2025-03-19 20:24:04] Production.INFO: CreateAllLog Start [2025-03-19 20:24:04] Production.INFO: 117 [2025-03-19 20:24:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.INFO: ==329== Releasing lock... [2025-03-19 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:24:04] Production.INFO: ==321== Releasing lock... [2025-03-19 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:24:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.ERROR: done [2025-03-19 20:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:24:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.ERROR: done [2025-03-19 20:24:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:24:04] Production.INFO: Total Charge 0 [2025-03-19 20:24:04] Production.INFO: CreateAllLog End [2025-03-19 20:24:05] Production.INFO: Account Balance End. [2025-03-19 20:24:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:24:05] Production.INFO: ==325== Releasing lock... [2025-03-19 20:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:24:05 [end_date_ymd] => 2025-03-19 20:24:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:24:05' and `end` < '2025-03-19 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-03-19 20:24:13] Production.ERROR: CronJobId end10 [2025-03-19 20:24:13] Production.INFO: ==323== Releasing lock... [2025-03-19 20:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:24:14] Production.INFO: call_cost start [2025-03-19 20:24:14] Production.INFO: call_cost end [2025-03-19 20:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:24:15] Production.INFO: ==319== Releasing lock... [2025-03-19 20:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:24:18] Production.INFO: count ==2638 [2025-03-19 20:24:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:24:05 - End Time 2025-03-19 20:24:05 [2025-03-19 20:24:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717922', 'tblTempUsageDetail_20' ) start [2025-03-19 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717922', 'tblTempUsageDetail_20' ) end [2025-03-19 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717922', 'tblTempVendorCDR_20' ) start [2025-03-19 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717922', 'tblTempVendorCDR_20' ) end [2025-03-19 20:24:19] Production.INFO: ProcessCDR(1,14717922,1,1,2) [2025-03-19 20:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717922', 'tblTempUsageDetail_20' ) start [2025-03-19 20:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717922', 'tblTempUsageDetail_20' ) end [2025-03-19 20:24:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:24:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:24:24] Production.INFO: ==327== Releasing lock... [2025-03-19 20:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:24:24] Production.INFO: 47.75 MB #Memory Used# [2025-03-20 00:25:02] Production.INFO: ==404== Lock acquired, processing the job... [2025-03-20 00:25:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:25:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:25:02] Production.INFO: neon service started [2025-03-20 00:25:02] Production.INFO: neon service started [2025-03-20 00:25:02] Production.INFO: ==404== Releasing lock... [2025-03-20 00:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:25:02] Production.INFO: ==408== Lock acquired, processing the job... [2025-03-20 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:25:02] Production.INFO: ==408== Releasing lock... [2025-03-20 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:25:02] Production.INFO: ==406== Lock acquired, processing the job... [2025-03-19 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:25:03] Production.INFO: ==406== Releasing lock... [2025-03-19 20:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:25:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:25:03] Production.INFO: ==415== Lock acquired, processing the job... [2025-03-19 20:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:25:04] Production.INFO: ==421== Lock acquired, processing the job... [2025-03-19 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:25:04] Production.INFO: ==411== Lock acquired, processing the job... [2025-03-19 20:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:25:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:25:04] Production.INFO: count ==12 [2025-03-19 20:25:04] Production.INFO: ==413== Lock acquired, processing the job... [2025-03-19 20:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:25:04] Production.INFO: count ==23 [2025-03-19 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717923') start [2025-03-19 20:25:04] Production.INFO: ==417== Lock acquired, processing the job... [2025-03-19 20:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:25:04] Production.INFO: ==419== Lock acquired, processing the job... [2025-03-19 20:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717923') end [2025-03-19 20:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:25:04] Production.INFO: 1 [2025-03-19 20:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:25:04] Production.INFO: ==421== Releasing lock... [2025-03-19 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:25:04] Production.INFO: Account Balance Start. [2025-03-19 20:25:04] Production.INFO: CreateAllLog Start [2025-03-19 20:25:04] Production.INFO: 117 [2025-03-19 20:25:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:25:04] Production.INFO: ==413== Releasing lock... [2025-03-19 20:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:05] Production.ERROR: done [2025-03-19 20:25:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:25:05] Production.INFO: Date 2025-03-15 [2025-03-19 20:25:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:05] Production.INFO: Date 2025-03-16 [2025-03-19 20:25:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:05] Production.INFO: Date 2025-03-17 [2025-03-19 20:25:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:05] Production.ERROR: done [2025-03-19 20:25:05] Production.INFO: Date 2025-03-18 [2025-03-19 20:25:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:25:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:25:05] Production.INFO: Total Charge 0 [2025-03-19 20:25:05] Production.INFO: CreateAllLog End [2025-03-19 20:25:05] Production.INFO: Account Balance End. [2025-03-19 20:25:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:25:05] Production.INFO: ==417== Releasing lock... [2025-03-19 20:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:25:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:25:06 [end_date_ymd] => 2025-03-19 20:25:06 [RateCDR] => 1 ) [2025-03-19 20:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:25:06' and `end` < '2025-03-19 20: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-03-19 20:25:13] Production.ERROR: CronJobId end10 [2025-03-19 20:25:13] Production.INFO: ==415== Releasing lock... [2025-03-19 20:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:25:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:25:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:25:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:25:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:25:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:25:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:25:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:25:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:25:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:25:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:25:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:25:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:25:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:25:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:25:15] Production.INFO: call_cost start [2025-03-19 20:25:15] Production.INFO: call_cost end [2025-03-19 20:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:25:16] Production.INFO: ==411== Releasing lock... [2025-03-19 20:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:25:18] Production.INFO: count ==2637 [2025-03-19 20:25:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:25:06 - End Time 2025-03-19 20:25:06 [2025-03-19 20:25:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717927', 'tblTempUsageDetail_20' ) start [2025-03-19 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717927', 'tblTempUsageDetail_20' ) end [2025-03-19 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717927', 'tblTempVendorCDR_20' ) start [2025-03-19 20:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717927', 'tblTempVendorCDR_20' ) end [2025-03-19 20:25:19] Production.INFO: ProcessCDR(1,14717927,1,1,2) [2025-03-19 20:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717927', 'tblTempUsageDetail_20' ) start [2025-03-19 20:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717927', 'tblTempUsageDetail_20' ) end [2025-03-19 20:25:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:25:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:25:23] Production.INFO: ==419== Releasing lock... [2025-03-19 20:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:25:23] Production.INFO: 47.5 MB #Memory Used# [2025-03-20 00:26:01] Production.INFO: ==482== Lock acquired, processing the job... [2025-03-20 00:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:26:01] Production.INFO: neon service started [2025-03-20 00:26:01] Production.INFO: neon service started [2025-03-20 00:26:01] Production.INFO: ==482== Releasing lock... [2025-03-20 00:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:26:02] Production.INFO: ==486== Lock acquired, processing the job... [2025-03-19 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:26:02] Production.INFO: ==488== Lock acquired, processing the job... [2025-03-20 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 20:26:02] Production.INFO: ==486== Releasing lock... [2025-03-19 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:26:02] Production.INFO: ==488== Releasing lock... [2025-03-20 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:26:03] Production.INFO: ==503== Lock acquired, processing the job... [2025-03-19 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:26:03] Production.INFO: ==491== Lock acquired, processing the job... [2025-03-19 20:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:26:03] Production.INFO: ==494== Lock acquired, processing the job... [2025-03-19 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:26:03] Production.INFO: ==496== Lock acquired, processing the job... [2025-03-19 20:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:26:03] Production.INFO: ==498== Lock acquired, processing the job... [2025-03-19 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:26:03] Production.INFO: count ==12 [2025-03-19 20:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:26:03] Production.INFO: count ==23 [2025-03-19 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717929') start [2025-03-19 20:26:03] Production.INFO: Account Balance Start. [2025-03-19 20:26:03] Production.INFO: CreateAllLog Start [2025-03-19 20:26:03] Production.INFO: 117 [2025-03-19 20:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:26:03] Production.INFO: ==500== Lock acquired, processing the job... [2025-03-19 20:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:26:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:26:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717929') end [2025-03-19 20:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:26:03] Production.INFO: 1 [2025-03-19 20:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:26:03] Production.INFO: ==494== Releasing lock... [2025-03-19 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:26:03] Production.INFO: ==503== Releasing lock... [2025-03-19 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:26:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:26:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:26:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:04] Production.ERROR: done [2025-03-19 20:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:26:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:04] Production.ERROR: done [2025-03-19 20:26:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:26:04] Production.INFO: Total Charge 0 [2025-03-19 20:26:04] Production.INFO: CreateAllLog End [2025-03-19 20:26:04] Production.INFO: Account Balance End. [2025-03-19 20:26:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:26:04] Production.INFO: ==498== Releasing lock... [2025-03-19 20:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:26:05 [end_date_ymd] => 2025-03-19 20:26:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:26:05' and `end` < '2025-03-19 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-03-19 20:26:13] Production.ERROR: CronJobId end10 [2025-03-19 20:26:13] Production.INFO: ==496== Releasing lock... [2025-03-19 20:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:26:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:26:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:26:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:26:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:26:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:26:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:26:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:26:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:26:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:26:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:26:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:26:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:26:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:26:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:26:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:26:15] Production.INFO: call_cost start [2025-03-19 20:26:15] Production.INFO: call_cost end [2025-03-19 20:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:26:16] Production.INFO: ==491== Releasing lock... [2025-03-19 20:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:26:17] Production.INFO: count ==2637 [2025-03-19 20:26:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:26:05 - End Time 2025-03-19 20:26:05 [2025-03-19 20:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717932', 'tblTempUsageDetail_20' ) start [2025-03-19 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717932', 'tblTempUsageDetail_20' ) end [2025-03-19 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717932', 'tblTempVendorCDR_20' ) start [2025-03-19 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717932', 'tblTempVendorCDR_20' ) end [2025-03-19 20:26:19] Production.INFO: ProcessCDR(1,14717932,1,1,2) [2025-03-19 20:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717932', 'tblTempUsageDetail_20' ) start [2025-03-19 20:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717932', 'tblTempUsageDetail_20' ) end [2025-03-19 20:26:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:26:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:26:22] Production.INFO: ==500== Releasing lock... [2025-03-19 20:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:26:22] Production.INFO: 47.75 MB #Memory Used# [2025-03-20 00:27:02] Production.INFO: ==569== Lock acquired, processing the job... [2025-03-20 00:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:27:02] Production.INFO: neon service started [2025-03-20 00:27:02] Production.INFO: neon service started [2025-03-20 00:27:02] Production.INFO: ==569== Releasing lock... [2025-03-20 00:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:27:02] Production.INFO: ==573== Lock acquired, processing the job... [2025-03-20 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:27:02] Production.INFO: ==573== Releasing lock... [2025-03-20 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:27:02] Production.INFO: ==571== Lock acquired, processing the job... [2025-03-19 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:27:03] Production.INFO: ==571== Releasing lock... [2025-03-19 20:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:27:03] Production.INFO: ==579== Lock acquired, processing the job... [2025-03-19 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:27:03] Production.INFO: ==581== Lock acquired, processing the job... [2025-03-19 20:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:27:03] Production.INFO: ==585== Lock acquired, processing the job... [2025-03-19 20:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:27:04] Production.INFO: ==576== Lock acquired, processing the job... [2025-03-19 20:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:27:04] Production.INFO: ==579== Releasing lock... [2025-03-19 20:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:27:04] Production.INFO: ==583== Lock acquired, processing the job... [2025-03-19 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:27:04] Production.INFO: ==587== Lock acquired, processing the job... [2025-03-19 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:27:04] Production.ERROR: done [2025-03-19 20:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:27:04] Production.INFO: Account Balance Start. [2025-03-19 20:27:04] Production.INFO: CreateAllLog Start [2025-03-19 20:27:04] Production.INFO: 117 [2025-03-19 20:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:27:04] Production.ERROR: done [2025-03-19 20:27:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:27:04] Production.INFO: count ==12 [2025-03-19 20:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:27:04] Production.INFO: count ==23 [2025-03-19 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717936') start [2025-03-19 20:27:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717936') end [2025-03-19 20:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:27:04] Production.INFO: 1 [2025-03-19 20:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:27:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:04] Production.INFO: ==587== Releasing lock... [2025-03-19 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:27:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:27:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:27:05] Production.INFO: Total Charge 0 [2025-03-19 20:27:05] Production.INFO: CreateAllLog End [2025-03-19 20:27:05] Production.INFO: Account Balance End. [2025-03-19 20:27:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:27:05] Production.INFO: ==583== Releasing lock... [2025-03-19 20:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:27:05 [end_date_ymd] => 2025-03-19 20:27:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:27:05' and `end` < '2025-03-19 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-03-19 20:27:13] Production.ERROR: CronJobId end10 [2025-03-19 20:27:13] Production.INFO: ==581== Releasing lock... [2025-03-19 20:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:27:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:27:15] Production.INFO: call_cost start [2025-03-19 20:27:15] Production.INFO: call_cost end [2025-03-19 20:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:27:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:27:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:27:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:27:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:27:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:27:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:27:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:27:16] Production.INFO: ==576== Releasing lock... [2025-03-19 20:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:27:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:27:18] Production.INFO: count ==2628 [2025-03-19 20:27:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:27:05 - End Time 2025-03-19 20:27:05 [2025-03-19 20:27:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717937', 'tblTempUsageDetail_20' ) start [2025-03-19 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717937', 'tblTempUsageDetail_20' ) end [2025-03-19 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717937', 'tblTempVendorCDR_20' ) start [2025-03-19 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717937', 'tblTempVendorCDR_20' ) end [2025-03-19 20:27:19] Production.INFO: ProcessCDR(1,14717937,1,1,2) [2025-03-19 20:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717937', 'tblTempUsageDetail_20' ) start [2025-03-19 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717937', 'tblTempUsageDetail_20' ) end [2025-03-19 20:27:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:27:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:27:22] Production.INFO: ==585== Releasing lock... [2025-03-19 20:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:27:22] Production.INFO: 47.75 MB #Memory Used# [2025-03-20 00:28:01] Production.INFO: ==650== Lock acquired, processing the job... [2025-03-20 00:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:28:01] Production.INFO: neon service started [2025-03-20 00:28:01] Production.INFO: neon service started [2025-03-20 00:28:01] Production.INFO: ==650== Releasing lock... [2025-03-20 00:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:28:01] Production.INFO: ==654== Lock acquired, processing the job... [2025-03-20 00:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:28:01] Production.INFO: ==654== Releasing lock... [2025-03-20 00:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:28:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:28:02] Production.INFO: ==652== Lock acquired, processing the job... [2025-03-19 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:28:02] Production.INFO: ==652== Releasing lock... [2025-03-19 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:28:03] Production.INFO: ==662== Lock acquired, processing the job... [2025-03-19 20:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:28:03] Production.INFO: ==673== Lock acquired, processing the job... [2025-03-19 20:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:28:03] Production.INFO: ==664== Lock acquired, processing the job... [2025-03-19 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:28:03] Production.INFO: ==668== Lock acquired, processing the job... [2025-03-19 20:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:28:03] Production.INFO: Account Balance Start. [2025-03-19 20:28:03] Production.INFO: CreateAllLog Start [2025-03-19 20:28:03] Production.INFO: 117 [2025-03-19 20:28:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:28:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:03] Production.INFO: ==676== Lock acquired, processing the job... [2025-03-19 20:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:28:03] Production.INFO: ==679== Lock acquired, processing the job... [2025-03-19 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:28:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:03] Production.INFO: ==664== Releasing lock... [2025-03-19 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:28:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:28:04] Production.INFO: count ==12 [2025-03-19 20:28:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:28:04] Production.INFO: count ==23 [2025-03-19 20:28:04] Production.ERROR: done [2025-03-19 20:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:28:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717941') start [2025-03-19 20:28:04] Production.ERROR: done [2025-03-19 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717941') end [2025-03-19 20:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:28:04] Production.INFO: 1 [2025-03-19 20:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:28:04] Production.INFO: ==679== Releasing lock... [2025-03-19 20:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:28:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:28:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:28:05] Production.INFO: Total Charge 0 [2025-03-19 20:28:05] Production.INFO: CreateAllLog End [2025-03-19 20:28:05] Production.INFO: Account Balance End. [2025-03-19 20:28:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:28:05] Production.INFO: ==673== Releasing lock... [2025-03-19 20:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:28:05 [end_date_ymd] => 2025-03-19 20:28:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:28:05' and `end` < '2025-03-19 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-03-19 20:28:13] Production.ERROR: CronJobId end10 [2025-03-19 20:28:13] Production.INFO: ==668== Releasing lock... [2025-03-19 20:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:28:14] Production.INFO: call_cost start [2025-03-19 20:28:14] Production.INFO: call_cost end [2025-03-19 20:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:28:15] Production.INFO: ==662== Releasing lock... [2025-03-19 20:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:28:18] Production.INFO: count ==2630 [2025-03-19 20:28:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:28:05 - End Time 2025-03-19 20:28:05 [2025-03-19 20:28:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717942', 'tblTempUsageDetail_20' ) start [2025-03-19 20:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717942', 'tblTempUsageDetail_20' ) end [2025-03-19 20:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717942', 'tblTempVendorCDR_20' ) start [2025-03-19 20:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717942', 'tblTempVendorCDR_20' ) end [2025-03-19 20:28:19] Production.INFO: ProcessCDR(1,14717942,1,1,2) [2025-03-19 20:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717942', 'tblTempUsageDetail_20' ) start [2025-03-19 20:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717942', 'tblTempUsageDetail_20' ) end [2025-03-19 20:28:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:28:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:28:23] Production.INFO: ==676== Releasing lock... [2025-03-19 20:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:28:23] Production.INFO: 47.75 MB #Memory Used# [2025-03-20 00:29:01] Production.INFO: ==753== Lock acquired, processing the job... [2025-03-20 00:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:29:01] Production.INFO: neon service started [2025-03-20 00:29:02] Production.INFO: neon service started [2025-03-20 00:29:02] Production.INFO: ==753== Releasing lock... [2025-03-20 00:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:29:02] Production.INFO: ==755== Lock acquired, processing the job... [2025-03-19 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:29:02] Production.INFO: ==755== Releasing lock... [2025-03-19 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:29:02] Production.INFO: ==757== Lock acquired, processing the job... [2025-03-20 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:29:02] Production.INFO: ==757== Releasing lock... [2025-03-20 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:29:03] Production.INFO: ==763== Lock acquired, processing the job... [2025-03-19 20:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:29:03] Production.INFO: ==765== Lock acquired, processing the job... [2025-03-19 20:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:29:03] Production.INFO: Account Balance Start. [2025-03-19 20:29:03] Production.INFO: CreateAllLog Start [2025-03-19 20:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:29:03] Production.INFO: 117 [2025-03-19 20:29:03] Production.INFO: ==769== Lock acquired, processing the job... [2025-03-19 20:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:29:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:29:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:29:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:29:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:29:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:29:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:29:03] Production.INFO: ==761== Lock acquired, processing the job... [2025-03-19 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:29:03] Production.INFO: ==759== Lock acquired, processing the job... [2025-03-19 20:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:29:03] Production.INFO: count ==12 [2025-03-19 20:29:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:29:03] Production.INFO: count ==23 [2025-03-19 20:29:03] Production.INFO: Date 2025-03-15 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:29:03] Production.INFO: ==767== Lock acquired, processing the job... [2025-03-19 20:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717944') start [2025-03-19 20:29:03] Production.INFO: Date 2025-03-16 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:29:03] Production.INFO: Date 2025-03-17 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:29:03] Production.INFO: Date 2025-03-18 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:29:03] Production.INFO: Date 2025-03-19 [2025-03-19 20:29:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:29:03] Production.INFO: Total Charge 0 [2025-03-19 20:29:03] Production.INFO: CreateAllLog End [2025-03-19 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717944') end [2025-03-19 20:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:29:04] Production.INFO: 1 [2025-03-19 20:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:29:04] Production.INFO: ==769== Releasing lock... [2025-03-19 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:29:04] Production.INFO: ==761== Releasing lock... [2025-03-19 20:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:29:04] Production.INFO: Account Balance End. [2025-03-19 20:29:04] Production.ERROR: done [2025-03-19 20:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:29:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:29:04] Production.INFO: ==765== Releasing lock... [2025-03-19 20:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:29:04] Production.ERROR: done [2025-03-19 20:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:29:05 [end_date_ymd] => 2025-03-19 20:29:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:29:05' and `end` < '2025-03-19 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-03-19 20:29:13] Production.ERROR: CronJobId end10 [2025-03-19 20:29:13] Production.INFO: ==763== Releasing lock... [2025-03-19 20:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:29:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:29:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:29:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:29:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:29:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:29:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:29:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:29:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:29:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:29:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:29:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:29:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:29:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:29:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:29:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:29:14] Production.INFO: call_cost start [2025-03-19 20:29:14] Production.INFO: call_cost end [2025-03-19 20:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:29:15] Production.INFO: ==759== Releasing lock... [2025-03-19 20:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:29:17] Production.INFO: count ==2620 [2025-03-19 20:29:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:29:05 - End Time 2025-03-19 20:29:05 [2025-03-19 20:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717947', 'tblTempUsageDetail_20' ) start [2025-03-19 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717947', 'tblTempUsageDetail_20' ) end [2025-03-19 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717947', 'tblTempVendorCDR_20' ) start [2025-03-19 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717947', 'tblTempVendorCDR_20' ) end [2025-03-19 20:29:18] Production.INFO: ProcessCDR(1,14717947,1,1,2) [2025-03-19 20:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717947', 'tblTempUsageDetail_20' ) start [2025-03-19 20:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717947', 'tblTempUsageDetail_20' ) end [2025-03-19 20:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:29:21] Production.INFO: ==767== Releasing lock... [2025-03-19 20:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:29:21] Production.INFO: 47.75 MB #Memory Used# [2025-03-20 00:30:01] Production.INFO: ==833== Lock acquired, processing the job... [2025-03-20 00:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:30:01] Production.INFO: neon service started [2025-03-20 00:30:01] Production.INFO: neon service started [2025-03-20 00:30:01] Production.INFO: ==833== Releasing lock... [2025-03-20 00:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:30:01] Production.INFO: ==835== Lock acquired, processing the job... [2025-03-19 20:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:30:02] Production.INFO: ==837== Lock acquired, processing the job... [2025-03-20 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 20:30:02] Production.INFO: ==835== Releasing lock... [2025-03-19 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:30:02] Production.INFO: ==837== Releasing lock... [2025-03-20 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:30:03] Production.INFO: ==850== Lock acquired, processing the job... [2025-03-19 20:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:30:03] Production.INFO: ==848== Lock acquired, processing the job... [2025-03-19 20:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:30:03] Production.INFO: Account Balance Start. [2025-03-19 20:30:03] Production.INFO: CreateAllLog Start [2025-03-19 20:30:03] Production.INFO: 117 [2025-03-19 20:30:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:30:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:30:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:30:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:03] Production.INFO: ==839== Lock acquired, processing the job... [2025-03-19 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 20:30:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:30:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:03] Production.ERROR: done [2025-03-19 20:30:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:30:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:30:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 20:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 20:30:03] Production.ERROR: CronJob PID - 848 [2025-03-19 20:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-19 20:30:03] Production.ERROR: CronJob ID - 12 [2025-03-19 20:30:03] Production.ERROR: CronJob Last Run Time 2025-03-19 20:30:00 [2025-03-19 20:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 20:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 20:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 20:30:03] Production.ERROR: CronJob PID - 850 [2025-03-19 20:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-19 20:30:03] Production.ERROR: CronJob ID - 16 [2025-03-19 20:30:03] Production.ERROR: CronJob Last Run Time 2025-03-19 20:30:00 [2025-03-19 20:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 20:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 20:30:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:30:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:03] Production.INFO: ==841== Lock acquired, processing the job... [2025-03-19 20:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:30:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:30:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:03] Production.INFO: Date 2025-03-15 [2025-03-19 20:30:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:03] Production.INFO: ==844== Lock acquired, processing the job... [2025-03-19 20:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 20:30:03] Production.INFO: ==839== Releasing lock... [2025-03-19 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 20:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 20:30:03] Production.INFO: ==846== Lock acquired, processing the job... [2025-03-19 20:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:30:04] Production.ERROR: done [2025-03-19 20:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:30:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:04] Production.INFO: ==852== Lock acquired, processing the job... [2025-03-19 20:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 20:30:04] Production.INFO: ==854== Lock acquired, processing the job... [2025-03-19 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:30:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:30:04] Production.INFO: Total Charge 0 [2025-03-19 20:30:04] Production.INFO: CreateAllLog End [2025-03-19 20:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 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-03-19 20:30:04] Production.INFO: count ==12 [2025-03-19 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-03-19 20:30:04] Production.INFO: count ==23 [2025-03-19 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717952') start [2025-03-19 20:30:04] Production.INFO: ==844== Releasing lock... [2025-03-19 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717952') end [2025-03-19 20:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:30:04] Production.INFO: 1 [2025-03-19 20:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:30:04] Production.INFO: ==854== Releasing lock... [2025-03-19 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:30:04] Production.ERROR: done [2025-03-19 20:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 20:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14717953', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 20:30:04] Production.INFO: Account Balance End. [2025-03-19 20:30:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:30:04] Production.INFO: ==848== Releasing lock... [2025-03-19 20:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:30:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:30:04 [end_date_ymd] => 2025-03-19 20:30:04 [RateCDR] => 1 ) [2025-03-19 20:30:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:30:04' and `end` < '2025-03-19 20:30:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14717953', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 20:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 20:30:09] Production.INFO: ProcessCDR(1,14717953,1,1,2) [2025-03-19 20:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14717953,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14717953,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:30:09] Production.INFO: ==852== Releasing lock... [2025-03-19 20:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 20:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 20:30:14] Production.ERROR: CronJobId end10 [2025-03-19 20:30:14] Production.INFO: ==846== Releasing lock... [2025-03-19 20:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:30:16] Production.INFO: call_cost start [2025-03-19 20:30:16] Production.INFO: call_cost end [2025-03-19 20:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:30:17] Production.INFO: ==841== Releasing lock... [2025-03-19 20:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:30:17] Production.INFO: count ==2611 [2025-03-19 20:30:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:30:04 - End Time 2025-03-19 20:30:04 [2025-03-19 20:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717951', 'tblTempUsageDetail_20' ) start [2025-03-19 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717951', 'tblTempUsageDetail_20' ) end [2025-03-19 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717951', 'tblTempVendorCDR_20' ) start [2025-03-19 20:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717951', 'tblTempVendorCDR_20' ) end [2025-03-19 20:30:18] Production.INFO: ProcessCDR(1,14717951,1,1,2) [2025-03-19 20:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717951', 'tblTempUsageDetail_20' ) start [2025-03-19 20:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717951', 'tblTempUsageDetail_20' ) end [2025-03-19 20:30:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:30:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:30:22] Production.INFO: ==850== Releasing lock... [2025-03-19 20:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:30:22] Production.INFO: 47.75 MB #Memory Used# [2025-03-20 00:31:01] Production.INFO: ==915== Lock acquired, processing the job... [2025-03-20 00:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:31:01] Production.INFO: neon service started [2025-03-20 00:31:01] Production.INFO: neon service started [2025-03-20 00:31:01] Production.INFO: ==915== Releasing lock... [2025-03-20 00:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:31:02] Production.INFO: ==918== Lock acquired, processing the job... [2025-03-19 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:31:02] Production.INFO: ==918== Releasing lock... [2025-03-19 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:31:02] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:31:02] Production.INFO: ==920== Lock acquired, processing the job... [2025-03-20 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:31:02] Production.INFO: ==920== Releasing lock... [2025-03-20 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:31:03] Production.INFO: ==926== Lock acquired, processing the job... [2025-03-19 20:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:31:03] Production.INFO: ==922== Lock acquired, processing the job... [2025-03-19 20:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:31:03] Production.INFO: ==924== Lock acquired, processing the job... [2025-03-19 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:31:03] Production.INFO: ==928== Lock acquired, processing the job... [2025-03-19 20:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:31:03] Production.INFO: ==930== Lock acquired, processing the job... [2025-03-19 20:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:31:03] Production.INFO: ==932== Lock acquired, processing the job... [2025-03-19 20:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:31:03] Production.INFO: Account Balance Start. [2025-03-19 20:31:03] Production.INFO: CreateAllLog Start [2025-03-19 20:31:03] Production.INFO: 117 [2025-03-19 20:31:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:31:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:31:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:31:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:31:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:04] Production.INFO: count ==12 [2025-03-19 20:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:31:04] Production.INFO: count ==23 [2025-03-19 20:31:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717957') start [2025-03-19 20:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:04] Production.INFO: ==924== Releasing lock... [2025-03-19 20:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:31:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717957') end [2025-03-19 20:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:31:04] Production.INFO: 1 [2025-03-19 20:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:31:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:04] Production.INFO: ==932== Releasing lock... [2025-03-19 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:31:04] Production.ERROR: done [2025-03-19 20:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:31:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:31:04] Production.ERROR: done [2025-03-19 20:31:04] Production.INFO: Total Charge 0 [2025-03-19 20:31:04] Production.INFO: CreateAllLog End [2025-03-19 20:31:04] Production.INFO: Account Balance End. [2025-03-19 20:31:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:31:04] Production.INFO: ==928== Releasing lock... [2025-03-19 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:31:05 [end_date_ymd] => 2025-03-19 20:31:05 [RateCDR] => 1 ) [2025-03-19 20:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:31:05' and `end` < '2025-03-19 20:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:31:12] Production.ERROR: CronJobId end10 [2025-03-19 20:31:12] Production.INFO: ==926== Releasing lock... [2025-03-19 20:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:31:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:31:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:31:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:31:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:31:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:31:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:31:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:31:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:31:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:31:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:31:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:31:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:31:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:31:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:31:15] Production.INFO: call_cost start [2025-03-19 20:31:15] Production.INFO: call_cost end [2025-03-19 20:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:31:16] Production.INFO: ==922== Releasing lock... [2025-03-19 20:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:31:18] Production.INFO: count ==2550 [2025-03-19 20:31:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:31:05 - End Time 2025-03-19 20:31:05 [2025-03-19 20:31:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717958', 'tblTempUsageDetail_20' ) start [2025-03-19 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717958', 'tblTempUsageDetail_20' ) end [2025-03-19 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717958', 'tblTempVendorCDR_20' ) start [2025-03-19 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717958', 'tblTempVendorCDR_20' ) end [2025-03-19 20:31:19] Production.INFO: ProcessCDR(1,14717958,1,1,2) [2025-03-19 20:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717958', 'tblTempUsageDetail_20' ) start [2025-03-19 20:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717958', 'tblTempUsageDetail_20' ) end [2025-03-19 20:31:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:31:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:31:22] Production.INFO: ==930== Releasing lock... [2025-03-19 20:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:31:22] Production.INFO: 47.25 MB #Memory Used# [2025-03-20 00:32:02] Production.INFO: ==995== Lock acquired, processing the job... [2025-03-20 00:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:32:02] Production.INFO: neon service started [2025-03-20 00:32:02] Production.INFO: neon service started [2025-03-20 00:32:02] Production.INFO: ==995== Releasing lock... [2025-03-20 00:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:32:02] Production.INFO: ==997== Lock acquired, processing the job... [2025-03-19 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:32:02] Production.INFO: ==997== Releasing lock... [2025-03-19 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:32:03] Production.INFO: ==999== Lock acquired, processing the job... [2025-03-20 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:32:03] Production.INFO: ==999== Releasing lock... [2025-03-20 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:32:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:32:03] Production.INFO: ==1004== Lock acquired, processing the job... [2025-03-19 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:32:03] Production.INFO: ==1012== Lock acquired, processing the job... [2025-03-19 20:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:32:03] Production.INFO: ==1002== Lock acquired, processing the job... [2025-03-19 20:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:32:04] Production.INFO: ==1006== Lock acquired, processing the job... [2025-03-19 20:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:32:04] Production.INFO: ==1008== Lock acquired, processing the job... [2025-03-19 20:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:32:04] Production.INFO: count ==12 [2025-03-19 20:32:04] Production.INFO: ==1010== Lock acquired, processing the job... [2025-03-19 20:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:32:04] Production.INFO: count ==23 [2025-03-19 20:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717960') start [2025-03-19 20:32:04] Production.INFO: Account Balance Start. [2025-03-19 20:32:04] Production.INFO: CreateAllLog Start [2025-03-19 20:32:04] Production.INFO: 117 [2025-03-19 20:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:32:04] Production.INFO: ==1004== Releasing lock... [2025-03-19 20:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:32:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717960') end [2025-03-19 20:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:32:04] Production.INFO: 1 [2025-03-19 20:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:32:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.INFO: ==1012== Releasing lock... [2025-03-19 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:32:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.ERROR: done [2025-03-19 20:32:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:32:04] Production.INFO: Total Charge 0 [2025-03-19 20:32:04] Production.INFO: CreateAllLog End [2025-03-19 20:32:05] Production.ERROR: done [2025-03-19 20:32:05] Production.INFO: Account Balance End. [2025-03-19 20:32:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:32:05] Production.INFO: ==1008== Releasing lock... [2025-03-19 20:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:32:06 [end_date_ymd] => 2025-03-19 20:32:06 [RateCDR] => 1 ) [2025-03-19 20:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:32:06' and `end` < '2025-03-19 20:32:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:32:13] Production.ERROR: CronJobId end10 [2025-03-19 20:32:13] Production.INFO: ==1006== Releasing lock... [2025-03-19 20:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:32:15] Production.INFO: call_cost start [2025-03-19 20:32:15] Production.INFO: call_cost end [2025-03-19 20:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:32:16] Production.INFO: ==1002== Releasing lock... [2025-03-19 20:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:32:18] Production.INFO: count ==2551 [2025-03-19 20:32:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:32:06 - End Time 2025-03-19 20:32:06 [2025-03-19 20:32:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717963', 'tblTempUsageDetail_20' ) start [2025-03-19 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717963', 'tblTempUsageDetail_20' ) end [2025-03-19 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717963', 'tblTempVendorCDR_20' ) start [2025-03-19 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717963', 'tblTempVendorCDR_20' ) end [2025-03-19 20:32:19] Production.INFO: ProcessCDR(1,14717963,1,1,2) [2025-03-19 20:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717963', 'tblTempUsageDetail_20' ) start [2025-03-19 20:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717963', 'tblTempUsageDetail_20' ) end [2025-03-19 20:32:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:32:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:32:22] Production.INFO: ==1010== Releasing lock... [2025-03-19 20:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:32:22] Production.INFO: 47.25 MB #Memory Used# [2025-03-20 00:33:01] Production.INFO: ==1077== Lock acquired, processing the job... [2025-03-20 00:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:33:01] Production.INFO: neon service started [2025-03-20 00:33:01] Production.INFO: neon service started [2025-03-20 00:33:01] Production.INFO: ==1077== Releasing lock... [2025-03-20 00:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:33:01] Production.INFO: ==1079== Lock acquired, processing the job... [2025-03-19 20:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:33:02] Production.INFO: ==1079== Releasing lock... [2025-03-19 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:33:02] Production.INFO: ==1081== Lock acquired, processing the job... [2025-03-20 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:33:02] Production.INFO: ==1081== Releasing lock... [2025-03-20 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:33:03] Production.INFO: ==1084== Lock acquired, processing the job... [2025-03-19 20:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:33:03] Production.INFO: ==1086== Lock acquired, processing the job... [2025-03-19 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:33:03] Production.INFO: ==1092== Lock acquired, processing the job... [2025-03-19 20:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:33:03] Production.INFO: ==1094== Lock acquired, processing the job... [2025-03-19 20:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:33:03] Production.INFO: ==1088== Lock acquired, processing the job... [2025-03-19 20:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:33:03] Production.INFO: ==1090== Lock acquired, processing the job... [2025-03-19 20:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 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-03-19 20:33:03] Production.INFO: count ==12 [2025-03-19 20:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 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-03-19 20:33:03] Production.INFO: count ==23 [2025-03-19 20:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717966') start [2025-03-19 20:33:03] Production.INFO: Account Balance Start. [2025-03-19 20:33:03] Production.INFO: CreateAllLog Start [2025-03-19 20:33:03] Production.INFO: 117 [2025-03-19 20:33:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:03] Production.INFO: ==1086== Releasing lock... [2025-03-19 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:33:03] Production.ERROR: done [2025-03-19 20:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717966') end [2025-03-19 20:33:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:33:03] Production.INFO: 1 [2025-03-19 20:33:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:33:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:03] Production.INFO: ==1094== Releasing lock... [2025-03-19 20:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:33:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:33:04] Production.ERROR: done [2025-03-19 20:33:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:33:04] Production.INFO: Total Charge 0 [2025-03-19 20:33:04] Production.INFO: CreateAllLog End [2025-03-19 20:33:04] Production.INFO: Account Balance End. [2025-03-19 20:33:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:33:04] Production.INFO: ==1090== Releasing lock... [2025-03-19 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:33:05 [end_date_ymd] => 2025-03-19 20:33:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:33:05' and `end` < '2025-03-19 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-03-19 20:33: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-03-19 20:33:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:33:11] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:33:11] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:33:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:33:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:33:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:33:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:33:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:33:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:33:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:33:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:33:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:33:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:33:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:33:12] Production.INFO: call_cost start [2025-03-19 20:33:12] Production.INFO: call_cost end [2025-03-19 20:33:13] Production.ERROR: CronJobId end10 [2025-03-19 20:33:13] Production.INFO: ==1088== Releasing lock... [2025-03-19 20:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:33:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:33:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:33:13] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:33:13] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:33:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:33:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:33:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:33:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:33:13] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:33:13] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:33:13] Production.INFO: ==1084== Releasing lock... [2025-03-19 20:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:33:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:33:17] Production.INFO: count ==2548 [2025-03-19 20:33:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:33:05 - End Time 2025-03-19 20:33:05 [2025-03-19 20:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717968', 'tblTempUsageDetail_20' ) start [2025-03-19 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717968', 'tblTempUsageDetail_20' ) end [2025-03-19 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717968', 'tblTempVendorCDR_20' ) start [2025-03-19 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717968', 'tblTempVendorCDR_20' ) end [2025-03-19 20:33:18] Production.INFO: ProcessCDR(1,14717968,1,1,2) [2025-03-19 20:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717968', 'tblTempUsageDetail_20' ) start [2025-03-19 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717968', 'tblTempUsageDetail_20' ) end [2025-03-19 20:33:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:33:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:33:22] Production.INFO: ==1092== Releasing lock... [2025-03-19 20:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:33:22] Production.INFO: 47.25 MB #Memory Used# [2025-03-20 00:34:02] Production.INFO: ==1204== Lock acquired, processing the job... [2025-03-20 00:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:34:02] Production.INFO: neon service started [2025-03-20 00:34:02] Production.INFO: neon service started [2025-03-20 00:34:02] Production.INFO: ==1204== Releasing lock... [2025-03-20 00:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:34:02] Production.INFO: ==1206== Lock acquired, processing the job... [2025-03-19 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:34:02] Production.INFO: ==1208== Lock acquired, processing the job... [2025-03-20 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:34:02] Production.INFO: ==1208== Releasing lock... [2025-03-20 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:34:03] Production.INFO: ==1206== Releasing lock... [2025-03-19 20:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:34:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:34:04] Production.INFO: ==1219== Lock acquired, processing the job... [2025-03-19 20:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:34:04] Production.INFO: ==1221== Lock acquired, processing the job... [2025-03-19 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:34:04] Production.INFO: ==1211== Lock acquired, processing the job... [2025-03-19 20:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:34:04] Production.INFO: count ==12 [2025-03-19 20:34:04] Production.INFO: ==1213== Lock acquired, processing the job... [2025-03-19 20:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:34:04] Production.INFO: count ==23 [2025-03-19 20:34:04] Production.INFO: ==1215== Lock acquired, processing the job... [2025-03-19 20:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717969') start [2025-03-19 20:34:04] Production.INFO: ==1217== Lock acquired, processing the job... [2025-03-19 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:34:04] Production.ERROR: done [2025-03-19 20:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717969') end [2025-03-19 20:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:34:04] Production.INFO: 1 [2025-03-19 20:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:34:04] Production.INFO: Account Balance Start. [2025-03-19 20:34:04] Production.INFO: CreateAllLog Start [2025-03-19 20:34:04] Production.INFO: 117 [2025-03-19 20:34:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:34:04] Production.INFO: ==1221== Releasing lock... [2025-03-19 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:34:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:34:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:04] Production.ERROR: done [2025-03-19 20:34:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:04] Production.INFO: ==1213== Releasing lock... [2025-03-19 20:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:34:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:05] Production.INFO: Date 2025-03-18 [2025-03-19 20:34:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:34:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:34:05] Production.INFO: Total Charge 0 [2025-03-19 20:34:05] Production.INFO: CreateAllLog End [2025-03-19 20:34:05] Production.INFO: Account Balance End. [2025-03-19 20:34:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:34:05] Production.INFO: ==1217== Releasing lock... [2025-03-19 20:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:34:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:34:06 [end_date_ymd] => 2025-03-19 20:34:06 [RateCDR] => 1 ) [2025-03-19 20: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-03-19 17:34:06' and `end` < '2025-03-19 20: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-03-19 20:34:14] Production.ERROR: CronJobId end10 [2025-03-19 20:34:14] Production.INFO: ==1215== Releasing lock... [2025-03-19 20:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:34:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:34:15] Production.INFO: call_cost start [2025-03-19 20:34:15] Production.INFO: call_cost end [2025-03-19 20:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:34:16] Production.INFO: ==1211== Releasing lock... [2025-03-19 20:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:34:18] Production.INFO: count ==2542 [2025-03-19 20:34:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:34:06 - End Time 2025-03-19 20:34:06 [2025-03-19 20:34:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717973', 'tblTempUsageDetail_20' ) start [2025-03-19 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717973', 'tblTempUsageDetail_20' ) end [2025-03-19 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717973', 'tblTempVendorCDR_20' ) start [2025-03-19 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717973', 'tblTempVendorCDR_20' ) end [2025-03-19 20:34:19] Production.INFO: ProcessCDR(1,14717973,1,1,2) [2025-03-19 20:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717973', 'tblTempUsageDetail_20' ) start [2025-03-19 20:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717973', 'tblTempUsageDetail_20' ) end [2025-03-19 20:34:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:34:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:34:22] Production.INFO: ==1219== Releasing lock... [2025-03-19 20:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:34:22] Production.INFO: 47 MB #Memory Used# [2025-03-20 00:35:01] Production.INFO: ==1292== Lock acquired, processing the job... [2025-03-20 00:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:35:01] Production.INFO: neon service started [2025-03-20 00:35:01] Production.INFO: neon service started [2025-03-20 00:35:01] Production.INFO: ==1292== Releasing lock... [2025-03-20 00:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:35:02] Production.INFO: ==1295== Lock acquired, processing the job... [2025-03-19 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:35:02] Production.INFO: ==1295== Releasing lock... [2025-03-19 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:35:02] Production.INFO: ==1297== Lock acquired, processing the job... [2025-03-20 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:35:02] Production.INFO: ==1297== Releasing lock... [2025-03-20 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:35:03] Production.INFO: ==1305== Lock acquired, processing the job... [2025-03-19 20:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:35:03] Production.INFO: Account Balance Start. [2025-03-19 20:35:03] Production.INFO: CreateAllLog Start [2025-03-19 20:35:03] Production.INFO: 117 [2025-03-19 20:35:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: Date 2025-03-15 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: Date 2025-03-16 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: Date 2025-03-17 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: ==1309== Lock acquired, processing the job... [2025-03-19 20:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:35:03] Production.INFO: ==1299== Lock acquired, processing the job... [2025-03-19 20:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:35:03] Production.INFO: ==1301== Lock acquired, processing the job... [2025-03-19 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:35:03] Production.INFO: Date 2025-03-18 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: Date 2025-03-19 [2025-03-19 20:35:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:35:03] Production.INFO: Total Charge 0 [2025-03-19 20:35:03] Production.INFO: ==1303== Lock acquired, processing the job... [2025-03-19 20:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:35:03] Production.INFO: CreateAllLog End [2025-03-19 20:35:03] Production.INFO: count ==12 [2025-03-19 20:35:03] Production.INFO: ==1307== Lock acquired, processing the job... [2025-03-19 20:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:35:03] Production.INFO: count ==23 [2025-03-19 20:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717975') start [2025-03-19 20:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717975') end [2025-03-19 20:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:35:03] Production.INFO: 1 [2025-03-19 20:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:35:03] Production.INFO: ==1309== Releasing lock... [2025-03-19 20:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:35:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:35:04] Production.INFO: ==1301== Releasing lock... [2025-03-19 20:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:35:04] Production.INFO: Account Balance End. [2025-03-19 20:35:04] Production.ERROR: done [2025-03-19 20:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:35:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:35:04] Production.INFO: ==1305== Releasing lock... [2025-03-19 20:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:35:04] Production.ERROR: done [2025-03-19 20:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:35:05 [end_date_ymd] => 2025-03-19 20:35:05 [RateCDR] => 1 ) [2025-03-19 20:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:35:05' and `end` < '2025-03-19 20:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:35:13] Production.ERROR: CronJobId end10 [2025-03-19 20:35:13] Production.INFO: ==1303== Releasing lock... [2025-03-19 20:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:35:14] Production.INFO: call_cost start [2025-03-19 20:35:14] Production.INFO: call_cost end [2025-03-19 20:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:35:15] Production.INFO: ==1299== Releasing lock... [2025-03-19 20:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:35:17] Production.INFO: count ==2548 [2025-03-19 20:35:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:35:05 - End Time 2025-03-19 20:35:05 [2025-03-19 20:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717978', 'tblTempUsageDetail_20' ) start [2025-03-19 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717978', 'tblTempUsageDetail_20' ) end [2025-03-19 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717978', 'tblTempVendorCDR_20' ) start [2025-03-19 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717978', 'tblTempVendorCDR_20' ) end [2025-03-19 20:35:18] Production.INFO: ProcessCDR(1,14717978,1,1,2) [2025-03-19 20:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717978', 'tblTempUsageDetail_20' ) start [2025-03-19 20:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717978', 'tblTempUsageDetail_20' ) end [2025-03-19 20:35:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:35:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:35:23] Production.INFO: ==1307== Releasing lock... [2025-03-19 20:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:35:23] Production.INFO: 47.25 MB #Memory Used# [2025-03-20 00:36:02] Production.INFO: ==1370== Lock acquired, processing the job... [2025-03-20 00:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:36:02] Production.INFO: neon service started [2025-03-20 00:36:02] Production.INFO: neon service started [2025-03-20 00:36:02] Production.INFO: ==1370== Releasing lock... [2025-03-20 00:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:36:02] Production.INFO: ==1372== Lock acquired, processing the job... [2025-03-19 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:36:02] Production.INFO: ==1374== Lock acquired, processing the job... [2025-03-20 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:36:03] Production.INFO: ==1374== Releasing lock... [2025-03-20 00:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:36:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:36:03] Production.INFO: ==1372== Releasing lock... [2025-03-19 20:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:36:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:36:03] Production.INFO: ==1382== Lock acquired, processing the job... [2025-03-19 20:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:36:03] Production.INFO: ==1387== Lock acquired, processing the job... [2025-03-19 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:36:04] Production.INFO: Account Balance Start. [2025-03-19 20:36:04] Production.INFO: CreateAllLog Start [2025-03-19 20:36:04] Production.INFO: 117 [2025-03-19 20:36:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.INFO: ==1376== Lock acquired, processing the job... [2025-03-19 20:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20: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-03-19 20:36:04] Production.INFO: count ==12 [2025-03-19 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-03-19 20:36:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:36:04] Production.INFO: count ==23 [2025-03-19 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717980') start [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.INFO: ==1378== Lock acquired, processing the job... [2025-03-19 20:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:36:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.INFO: ==1380== Lock acquired, processing the job... [2025-03-19 20:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:36:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717980') end [2025-03-19 20:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:36:04] Production.INFO: 1 [2025-03-19 20:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:36:04] Production.INFO: ==1384== Lock acquired, processing the job... [2025-03-19 20:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:36:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.INFO: ==1387== Releasing lock... [2025-03-19 20:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:36:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:36:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:36:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:36:04] Production.INFO: Total Charge 0 [2025-03-19 20:36:04] Production.INFO: CreateAllLog End [2025-03-19 20:36:04] Production.INFO: ==1378== Releasing lock... [2025-03-19 20:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:36:04] Production.ERROR: done [2025-03-19 20:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:36:05] Production.ERROR: done [2025-03-19 20:36:05] Production.INFO: Account Balance End. [2025-03-19 20:36:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:36:05] Production.INFO: ==1382== Releasing lock... [2025-03-19 20:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:36:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:36:06 [end_date_ymd] => 2025-03-19 20:36:06 [RateCDR] => 1 ) [2025-03-19 20:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:36:06' and `end` < '2025-03-19 20:36:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:36:13] Production.ERROR: CronJobId end10 [2025-03-19 20:36:13] Production.INFO: ==1380== Releasing lock... [2025-03-19 20:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:36:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:36:15] Production.INFO: call_cost start [2025-03-19 20:36:15] Production.INFO: call_cost end [2025-03-19 20:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:36:16] Production.INFO: ==1376== Releasing lock... [2025-03-19 20:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:36:19] Production.INFO: count ==2545 [2025-03-19 20:36:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:36:06 - End Time 2025-03-19 20:36:06 [2025-03-19 20:36:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717983', 'tblTempUsageDetail_20' ) start [2025-03-19 20:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717983', 'tblTempUsageDetail_20' ) end [2025-03-19 20:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717983', 'tblTempVendorCDR_20' ) start [2025-03-19 20:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717983', 'tblTempVendorCDR_20' ) end [2025-03-19 20:36:20] Production.INFO: ProcessCDR(1,14717983,1,1,2) [2025-03-19 20:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717983', 'tblTempUsageDetail_20' ) start [2025-03-19 20:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717983', 'tblTempUsageDetail_20' ) end [2025-03-19 20:36:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:36:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:36:23] Production.INFO: ==1384== Releasing lock... [2025-03-19 20:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:36:23] Production.INFO: 47.25 MB #Memory Used# [2025-03-20 00:37:01] Production.INFO: ==1445== Lock acquired, processing the job... [2025-03-20 00:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:37:01] Production.INFO: neon service started [2025-03-20 00:37:01] Production.INFO: neon service started [2025-03-20 00:37:01] Production.INFO: ==1445== Releasing lock... [2025-03-20 00:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:37:02] Production.INFO: ==1447== Lock acquired, processing the job... [2025-03-19 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:37:02] Production.INFO: ==1449== Lock acquired, processing the job... [2025-03-20 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:37:02] Production.INFO: ==1449== Releasing lock... [2025-03-20 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:37:02] Production.INFO: ==1447== Releasing lock... [2025-03-19 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:37:03] Production.INFO: ==1458== Lock acquired, processing the job... [2025-03-19 20:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:37:03] Production.INFO: ==1462== Lock acquired, processing the job... [2025-03-19 20:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:37:03] Production.INFO: Account Balance Start. [2025-03-19 20:37:03] Production.INFO: CreateAllLog Start [2025-03-19 20:37:03] Production.INFO: 117 [2025-03-19 20:37:03] Production.INFO: ==1452== Lock acquired, processing the job... [2025-03-19 20:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:37:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:37:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:37:03] Production.INFO: ==1454== Lock acquired, processing the job... [2025-03-19 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:37:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:37:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:37:03] Production.INFO: count ==12 [2025-03-19 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-03-19 20:37:03] Production.INFO: count ==23 [2025-03-19 20:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717985') start [2025-03-19 20:37:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:37:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:37:03] Production.INFO: ==1456== Lock acquired, processing the job... [2025-03-19 20:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:37:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:37:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:37:03] Production.INFO: ==1460== Lock acquired, processing the job... [2025-03-19 20:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14717985') end [2025-03-19 20:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:37:03] Production.INFO: 1 [2025-03-19 20:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:37:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:37:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:37:03] Production.INFO: ==1462== Releasing lock... [2025-03-19 20:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:37:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:37:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:37:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:37:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:37:04] Production.INFO: ==1454== Releasing lock... [2025-03-19 20:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:37:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:37:04] Production.ERROR: done [2025-03-19 20:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:37:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:37:04] Production.ERROR: done [2025-03-19 20:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:37:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:37:04] Production.INFO: Total Charge 0 [2025-03-19 20:37:04] Production.INFO: CreateAllLog End [2025-03-19 20:37:04] Production.INFO: Account Balance End. [2025-03-19 20:37:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:37:05] Production.INFO: ==1458== Releasing lock... [2025-03-19 20:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:37:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:37:05 [end_date_ymd] => 2025-03-19 20:37:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:37:05' and `end` < '2025-03-19 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-03-19 20:37:13] Production.ERROR: CronJobId end10 [2025-03-19 20:37:13] Production.INFO: ==1456== Releasing lock... [2025-03-19 20:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:37:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:37:14] Production.INFO: call_cost start [2025-03-19 20:37:14] Production.INFO: call_cost end [2025-03-19 20:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:37:15] Production.INFO: ==1452== Releasing lock... [2025-03-19 20:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:37:18] Production.INFO: count ==2540 [2025-03-19 20:37:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:37:05 - End Time 2025-03-19 20:37:05 [2025-03-19 20:37:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717988', 'tblTempUsageDetail_20' ) start [2025-03-19 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717988', 'tblTempUsageDetail_20' ) end [2025-03-19 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717988', 'tblTempVendorCDR_20' ) start [2025-03-19 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717988', 'tblTempVendorCDR_20' ) end [2025-03-19 20:37:19] Production.INFO: ProcessCDR(1,14717988,1,1,2) [2025-03-19 20:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717988', 'tblTempUsageDetail_20' ) start [2025-03-19 20:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717988', 'tblTempUsageDetail_20' ) end [2025-03-19 20:37:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:37:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:37:23] Production.INFO: ==1460== Releasing lock... [2025-03-19 20:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:37:23] Production.INFO: 47 MB #Memory Used# [2025-03-20 00:38:02] Production.INFO: ==1558== Lock acquired, processing the job... [2025-03-20 00:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:38:02] Production.INFO: neon service started [2025-03-20 00:38:02] Production.INFO: neon service started [2025-03-20 00:38:02] Production.INFO: ==1558== Releasing lock... [2025-03-20 00:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:38:02] Production.INFO: ==1562== Lock acquired, processing the job... [2025-03-20 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:38:02] Production.INFO: ==1562== Releasing lock... [2025-03-20 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:38:02] Production.INFO: ==1560== Lock acquired, processing the job... [2025-03-19 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:38:02] Production.INFO: ==1560== Releasing lock... [2025-03-19 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:38:03] Production.INFO: ==1564== Lock acquired, processing the job... [2025-03-19 20:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:38:03] Production.INFO: ==1566== Lock acquired, processing the job... [2025-03-19 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:38:03] Production.INFO: ==1576== Lock acquired, processing the job... [2025-03-19 20:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:38:04] Production.INFO: ==1572== Lock acquired, processing the job... [2025-03-19 20:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:38:04] Production.INFO: ==1574== Lock acquired, processing the job... [2025-03-19 20:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:38:04] Production.INFO: ==1566== Releasing lock... [2025-03-19 20:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:38:04] Production.INFO: ==1578== Lock acquired, processing the job... [2025-03-19 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:38:04] Production.INFO: Account Balance Start. [2025-03-19 20:38:04] Production.INFO: CreateAllLog Start [2025-03-19 20:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:38:04] Production.INFO: 117 [2025-03-19 20:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:38:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:04] Production.ERROR: done [2025-03-19 20:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:38:04] Production.INFO: count ==12 [2025-03-19 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-03-19 20:38:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:04] Production.INFO: count ==23 [2025-03-19 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717992') start [2025-03-19 20:38:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717992') end [2025-03-19 20:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:38:04] Production.INFO: 1 [2025-03-19 20:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:38:04] Production.ERROR: done [2025-03-19 20:38:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:04] Production.INFO: ==1578== Releasing lock... [2025-03-19 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:38:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:05] Production.INFO: Date 2025-03-18 [2025-03-19 20:38:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:38:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:38:05] Production.INFO: Total Charge 0 [2025-03-19 20:38:05] Production.INFO: CreateAllLog End [2025-03-19 20:38:05] Production.INFO: Account Balance End. [2025-03-19 20:38:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:38:05] Production.INFO: ==1574== Releasing lock... [2025-03-19 20:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:38:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:38:05 [end_date_ymd] => 2025-03-19 20:38:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:38:05' and `end` < '2025-03-19 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-03-19 20:38:13] Production.ERROR: CronJobId end10 [2025-03-19 20:38:13] Production.INFO: ==1572== Releasing lock... [2025-03-19 20:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:38:15] Production.INFO: call_cost start [2025-03-19 20:38:15] Production.INFO: call_cost end [2025-03-19 20:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:38:16] Production.INFO: ==1564== Releasing lock... [2025-03-19 20:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:38:18] Production.INFO: count ==2535 [2025-03-19 20:38:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:38:05 - End Time 2025-03-19 20:38:05 [2025-03-19 20:38:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717993', 'tblTempUsageDetail_20' ) start [2025-03-19 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717993', 'tblTempUsageDetail_20' ) end [2025-03-19 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717993', 'tblTempVendorCDR_20' ) start [2025-03-19 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717993', 'tblTempVendorCDR_20' ) end [2025-03-19 20:38:19] Production.INFO: ProcessCDR(1,14717993,1,1,2) [2025-03-19 20:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717993', 'tblTempUsageDetail_20' ) start [2025-03-19 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717993', 'tblTempUsageDetail_20' ) end [2025-03-19 20:38:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:38:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:38:22] Production.INFO: ==1576== Releasing lock... [2025-03-19 20:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:38:22] Production.INFO: 47 MB #Memory Used# [2025-03-20 00:39:01] Production.INFO: ==1642== Lock acquired, processing the job... [2025-03-20 00:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:39:01] Production.INFO: neon service started [2025-03-20 00:39:01] Production.INFO: neon service started [2025-03-20 00:39:01] Production.INFO: ==1642== Releasing lock... [2025-03-20 00:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:39:01] Production.INFO: ==1646== Lock acquired, processing the job... [2025-03-20 00:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:39:01] Production.INFO: ==1646== Releasing lock... [2025-03-20 00:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:39:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:39:02] Production.INFO: ==1644== Lock acquired, processing the job... [2025-03-19 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:39:02] Production.INFO: ==1644== Releasing lock... [2025-03-19 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:39:03] Production.INFO: ==1649== Lock acquired, processing the job... [2025-03-19 20:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:39:03] Production.INFO: ==1651== Lock acquired, processing the job... [2025-03-19 20:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:39:03] Production.INFO: ==1655== Lock acquired, processing the job... [2025-03-19 20:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:39:03] Production.INFO: Account Balance Start. [2025-03-19 20:39:03] Production.INFO: CreateAllLog Start [2025-03-19 20:39:03] Production.INFO: 117 [2025-03-19 20:39:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:03] Production.INFO: ==1653== Lock acquired, processing the job... [2025-03-19 20:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:39:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:03] Production.INFO: ==1657== Lock acquired, processing the job... [2025-03-19 20:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:39:03] Production.INFO: ==1651== Releasing lock... [2025-03-19 20:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:39:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:03] Production.INFO: ==1659== Lock acquired, processing the job... [2025-03-19 20:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:39:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:39:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:39:03] Production.INFO: Date 2025-03-15 [2025-03-19 20:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:03] Production.INFO: count ==12 [2025-03-19 20:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:39:04] Production.INFO: count ==23 [2025-03-19 20:39:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717997') start [2025-03-19 20:39:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:04] Production.ERROR: done [2025-03-19 20:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:39:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:39:04] Production.INFO: Total Charge 0 [2025-03-19 20:39:04] Production.INFO: CreateAllLog End [2025-03-19 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14717997') end [2025-03-19 20:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:39:04] Production.INFO: 1 [2025-03-19 20:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:39:04] Production.ERROR: done [2025-03-19 20:39:04] Production.INFO: ==1659== Releasing lock... [2025-03-19 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:39:04] Production.INFO: Account Balance End. [2025-03-19 20:39:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:39:04] Production.INFO: ==1655== Releasing lock... [2025-03-19 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:39:05 [end_date_ymd] => 2025-03-19 20:39:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:39:05' and `end` < '2025-03-19 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-03-19 20:39:13] Production.ERROR: CronJobId end10 [2025-03-19 20:39:13] Production.INFO: ==1653== Releasing lock... [2025-03-19 20:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:39:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:39:15] Production.INFO: call_cost start [2025-03-19 20:39:15] Production.INFO: call_cost end [2025-03-19 20:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:39:16] Production.INFO: ==1649== Releasing lock... [2025-03-19 20:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:39:18] Production.INFO: count ==2517 [2025-03-19 20:39:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:39:05 - End Time 2025-03-19 20:39:05 [2025-03-19 20:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717998', 'tblTempUsageDetail_20' ) start [2025-03-19 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14717998', 'tblTempUsageDetail_20' ) end [2025-03-19 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717998', 'tblTempVendorCDR_20' ) start [2025-03-19 20:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14717998', 'tblTempVendorCDR_20' ) end [2025-03-19 20:39:19] Production.INFO: ProcessCDR(1,14717998,1,1,2) [2025-03-19 20:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14717998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14717998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14717998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14717998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717998', 'tblTempUsageDetail_20' ) start [2025-03-19 20:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14717998', 'tblTempUsageDetail_20' ) end [2025-03-19 20:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:39:22] Production.INFO: ==1657== Releasing lock... [2025-03-19 20:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:39:22] Production.INFO: 47.25 MB #Memory Used# [2025-03-20 00:40:02] Production.INFO: ==1719== Lock acquired, processing the job... [2025-03-20 00:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:40:02] Production.INFO: neon service started [2025-03-20 00:40:02] Production.INFO: neon service started [2025-03-20 00:40:02] Production.INFO: ==1719== Releasing lock... [2025-03-20 00:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:40:02] Production.INFO: ==1723== Lock acquired, processing the job... [2025-03-20 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:40:02] Production.INFO: ==1723== Releasing lock... [2025-03-20 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:40:02] Production.INFO: ==1721== Lock acquired, processing the job... [2025-03-19 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:40:03] Production.INFO: ==1721== Releasing lock... [2025-03-19 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:40:04] Production.INFO: ==1730== Lock acquired, processing the job... [2025-03-19 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:40:04] Production.INFO: ==1726== Lock acquired, processing the job... [2025-03-19 20:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 20:40:04] Production.INFO: ==1734== Lock acquired, processing the job... [2025-03-19 20:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:40:04] Production.INFO: ==1728== Lock acquired, processing the job... [2025-03-19 20:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:40:04] Production.INFO: ==1736== Lock acquired, processing the job... [2025-03-19 20:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 20:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 20:40:04] Production.ERROR: CronJob PID - 1730 [2025-03-19 20:40:04] Production.ERROR: CronJob Title - Account Block [2025-03-19 20:40:04] Production.ERROR: CronJob ID - 7 [2025-03-19 20:40:04] Production.ERROR: CronJob Last Run Time 2025-03-19 20:40:00 [2025-03-19 20:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 20:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 20:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 20:40:04] Production.INFO: ==1726== Releasing lock... [2025-03-19 20:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 20:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 20:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:40:04] Production.INFO: ==1732== Lock acquired, processing the job... [2025-03-19 20:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:40:04] Production.INFO: Account Balance Start. [2025-03-19 20:40:04] Production.INFO: CreateAllLog Start [2025-03-19 20:40:04] Production.INFO: 117 [2025-03-19 20:40:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:04] Production.INFO: ==1730== Releasing lock... [2025-03-19 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:40:04] Production.INFO: ==1738== Lock acquired, processing the job... [2025-03-19 20:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 20:40:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:04] Production.INFO: ==1740== Lock acquired, processing the job... [2025-03-19 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:40:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:40:05] Production.ERROR: done [2025-03-19 20:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20: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-03-19 20:40:05] Production.INFO: count ==12 [2025-03-19 20: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-03-19 20:40:05] Production.INFO: count ==23 [2025-03-19 20:40:05] Production.INFO: Date 2025-03-11 [2025-03-19 20:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718002') start [2025-03-19 20:40:05] Production.INFO: Date 2025-03-12 [2025-03-19 20:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:05] Production.ERROR: done [2025-03-19 20:40:05] Production.INFO: Date 2025-03-13 [2025-03-19 20:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718002') end [2025-03-19 20:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:40:05] Production.INFO: 1 [2025-03-19 20:40:05] Production.ERROR: done [2025-03-19 20:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:40:05] Production.INFO: Date 2025-03-14 [2025-03-19 20:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 20:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718004', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 20:40:05] Production.INFO: ==1740== Releasing lock... [2025-03-19 20:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:40:05] Production.INFO: Date 2025-03-15 [2025-03-19 20:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:05] Production.INFO: Date 2025-03-16 [2025-03-19 20:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:05] Production.INFO: Date 2025-03-17 [2025-03-19 20:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:05] Production.INFO: Date 2025-03-18 [2025-03-19 20:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:40:05] Production.INFO: Total Charge 0 [2025-03-19 20:40:05] Production.INFO: CreateAllLog End [2025-03-19 20:40:05] Production.INFO: Account Balance End. [2025-03-19 20:40:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:40:05] Production.INFO: ==1734== Releasing lock... [2025-03-19 20:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:40:06 [end_date_ymd] => 2025-03-19 20:40:06 [RateCDR] => 1 ) [2025-03-19 20:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:40:06' and `end` < '2025-03-19 20:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718004', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 20:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 20:40:09] Production.INFO: ProcessCDR(1,14718004,1,1,2) [2025-03-19 20:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718004,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718004,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:40:09] Production.INFO: ==1738== Releasing lock... [2025-03-19 20:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 20:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 20:40:16] Production.ERROR: CronJobId end10 [2025-03-19 20:40:16] Production.INFO: ==1732== Releasing lock... [2025-03-19 20:40:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:40:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:40:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:40:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:40:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:40:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:40:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:40:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:40:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:40:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:40:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:40:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:40:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:40:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:40:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:40:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:40:18] Production.INFO: call_cost start [2025-03-19 20:40:18] Production.INFO: call_cost end [2025-03-19 20:40:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:40:19] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:40:19] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:40:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:40:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:40:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:40:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:40:19] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:40:19] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:40:19] Production.INFO: ==1728== Releasing lock... [2025-03-19 20:40:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:40:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:40:19] Production.INFO: count ==2511 [2025-03-19 20:40:20] Production.ERROR: pbx CDR StartTime 2025-03-19 17:40:06 - End Time 2025-03-19 20:40:06 [2025-03-19 20:40:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718003', 'tblTempUsageDetail_20' ) start [2025-03-19 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718003', 'tblTempUsageDetail_20' ) end [2025-03-19 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718003', 'tblTempVendorCDR_20' ) start [2025-03-19 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718003', 'tblTempVendorCDR_20' ) end [2025-03-19 20:40:20] Production.INFO: ProcessCDR(1,14718003,1,1,2) [2025-03-19 20:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718003', 'tblTempUsageDetail_20' ) start [2025-03-19 20:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718003', 'tblTempUsageDetail_20' ) end [2025-03-19 20:40:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:40:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:40:23] Production.INFO: ==1736== Releasing lock... [2025-03-19 20:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:40:23] Production.INFO: 47 MB #Memory Used# [2025-03-20 00:41:01] Production.INFO: ==1800== Lock acquired, processing the job... [2025-03-20 00:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:41:01] Production.INFO: neon service started [2025-03-20 00:41:01] Production.INFO: neon service started [2025-03-20 00:41:01] Production.INFO: ==1800== Releasing lock... [2025-03-20 00:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:41:01] Production.INFO: ==1804== Lock acquired, processing the job... [2025-03-20 00:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:41:02] Production.INFO: ==1804== Releasing lock... [2025-03-20 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:41:02] Production.INFO: ==1802== Lock acquired, processing the job... [2025-03-19 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:41:02] Production.INFO: ==1802== Releasing lock... [2025-03-19 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:41:03] Production.INFO: ==1813== Lock acquired, processing the job... [2025-03-19 20:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:41:03] Production.INFO: ==1807== Lock acquired, processing the job... [2025-03-19 20:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:41:03] Production.INFO: ==1818== Lock acquired, processing the job... [2025-03-19 20:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:41:03] Production.INFO: ==1809== Lock acquired, processing the job... [2025-03-19 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:41:03] Production.INFO: Account Balance Start. [2025-03-19 20:41:03] Production.INFO: CreateAllLog Start [2025-03-19 20:41:03] Production.INFO: 117 [2025-03-19 20:41:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:41:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:41:03] Production.INFO: count ==12 [2025-03-19 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-03-19 20:41:03] Production.INFO: ==1811== Lock acquired, processing the job... [2025-03-19 20:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:41:03] Production.INFO: count ==23 [2025-03-19 20:41:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:41:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718006') start [2025-03-19 20:41:03] Production.INFO: ==1815== Lock acquired, processing the job... [2025-03-19 20:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:41:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:41:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:41:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:41:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718006') end [2025-03-19 20:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:41:03] Production.INFO: 1 [2025-03-19 20:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:41:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:41:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:41:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:41:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:41:04] Production.INFO: ==1818== Releasing lock... [2025-03-19 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:41:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:41:04] Production.INFO: ==1809== Releasing lock... [2025-03-19 20:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:41:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:41:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:41:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:41:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:41:04] Production.ERROR: done [2025-03-19 20:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:41:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:41:04] Production.INFO: Total Charge 0 [2025-03-19 20:41:04] Production.INFO: CreateAllLog End [2025-03-19 20:41:04] Production.ERROR: done [2025-03-19 20:41:04] Production.INFO: Account Balance End. [2025-03-19 20:41:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:41:04] Production.INFO: ==1813== Releasing lock... [2025-03-19 20:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:41:05 [end_date_ymd] => 2025-03-19 20:41:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:41:05' and `end` < '2025-03-19 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-03-19 20:41:13] Production.ERROR: CronJobId end10 [2025-03-19 20:41:13] Production.INFO: ==1811== Releasing lock... [2025-03-19 20:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:41:15] Production.INFO: call_cost start [2025-03-19 20:41:15] Production.INFO: call_cost end [2025-03-19 20:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:41:16] Production.INFO: ==1807== Releasing lock... [2025-03-19 20:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:41:17] Production.INFO: count ==2443 [2025-03-19 20:41:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:41:05 - End Time 2025-03-19 20:41:05 [2025-03-19 20:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718009', 'tblTempUsageDetail_20' ) start [2025-03-19 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718009', 'tblTempUsageDetail_20' ) end [2025-03-19 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718009', 'tblTempVendorCDR_20' ) start [2025-03-19 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718009', 'tblTempVendorCDR_20' ) end [2025-03-19 20:41:18] Production.INFO: ProcessCDR(1,14718009,1,1,2) [2025-03-19 20:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718009', 'tblTempUsageDetail_20' ) start [2025-03-19 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718009', 'tblTempUsageDetail_20' ) end [2025-03-19 20:41:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:41:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:41:22] Production.INFO: ==1815== Releasing lock... [2025-03-19 20:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:41:22] Production.INFO: 46.5 MB #Memory Used# [2025-03-20 00:42:02] Production.INFO: ==1878== Lock acquired, processing the job... [2025-03-20 00:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:42:02] Production.INFO: neon service started [2025-03-20 00:42:02] Production.INFO: neon service started [2025-03-20 00:42:02] Production.INFO: ==1878== Releasing lock... [2025-03-20 00:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:42:02] Production.INFO: ==1883== Lock acquired, processing the job... [2025-03-19 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:42:02] Production.INFO: ==1883== Releasing lock... [2025-03-19 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:42:02] Production.INFO: ==1885== Lock acquired, processing the job... [2025-03-20 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:42:02] Production.INFO: ==1885== Releasing lock... [2025-03-20 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:42:03] Production.INFO: ==1895== Lock acquired, processing the job... [2025-03-19 20:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:42:03] Production.INFO: ==1893== Lock acquired, processing the job... [2025-03-19 20:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:42:03] Production.INFO: Account Balance Start. [2025-03-19 20:42:03] Production.INFO: CreateAllLog Start [2025-03-19 20:42:03] Production.INFO: 117 [2025-03-19 20:42:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:03] Production.ERROR: done [2025-03-19 20:42:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:42:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:04] Production.INFO: ==1889== Lock acquired, processing the job... [2025-03-19 20:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:42:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:04] Production.INFO: ==1887== Lock acquired, processing the job... [2025-03-19 20:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:42:04] Production.INFO: ==1891== Lock acquired, processing the job... [2025-03-19 20:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:42:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:04] Production.INFO: ==1897== Lock acquired, processing the job... [2025-03-19 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:42:04] Production.ERROR: done [2025-03-19 20:42:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:42:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:42:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:04] Production.INFO: count ==12 [2025-03-19 20:42:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:42:04] Production.INFO: count ==23 [2025-03-19 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718014') start [2025-03-19 20:42:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718014') end [2025-03-19 20:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:42:04] Production.INFO: 1 [2025-03-19 20:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:42:04] Production.INFO: ==1889== Releasing lock... [2025-03-19 20:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:42:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:42:04] Production.INFO: ==1897== Releasing lock... [2025-03-19 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:42:04] Production.INFO: Total Charge 0 [2025-03-19 20:42:04] Production.INFO: CreateAllLog End [2025-03-19 20:42:04] Production.INFO: Account Balance End. [2025-03-19 20:42:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:42:04] Production.INFO: ==1893== Releasing lock... [2025-03-19 20:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:42:05 [end_date_ymd] => 2025-03-19 20:42:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:42:05' and `end` < '2025-03-19 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-03-19 20:42:14] Production.ERROR: CronJobId end10 [2025-03-19 20:42:14] Production.INFO: ==1891== Releasing lock... [2025-03-19 20:42:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:42:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:42:15] Production.INFO: call_cost start [2025-03-19 20:42:15] Production.INFO: call_cost end [2025-03-19 20:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:42:16] Production.INFO: ==1887== Releasing lock... [2025-03-19 20:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:42:17] Production.INFO: count ==2441 [2025-03-19 20:42:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:42:05 - End Time 2025-03-19 20:42:05 [2025-03-19 20:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718011', 'tblTempUsageDetail_20' ) start [2025-03-19 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718011', 'tblTempUsageDetail_20' ) end [2025-03-19 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718011', 'tblTempVendorCDR_20' ) start [2025-03-19 20:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718011', 'tblTempVendorCDR_20' ) end [2025-03-19 20:42:18] Production.INFO: ProcessCDR(1,14718011,1,1,2) [2025-03-19 20:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718011', 'tblTempUsageDetail_20' ) start [2025-03-19 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718011', 'tblTempUsageDetail_20' ) end [2025-03-19 20:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:42:22] Production.INFO: ==1895== Releasing lock... [2025-03-19 20:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:42:22] Production.INFO: 46.25 MB #Memory Used# [2025-03-20 00:43:01] Production.INFO: ==1958== Lock acquired, processing the job... [2025-03-20 00:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:43:01] Production.INFO: neon service started [2025-03-20 00:43:01] Production.INFO: neon service started [2025-03-20 00:43:01] Production.INFO: ==1958== Releasing lock... [2025-03-20 00:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:43:02] Production.INFO: ==1960== Lock acquired, processing the job... [2025-03-19 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:43:02] Production.INFO: ==1960== Releasing lock... [2025-03-19 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:43:02] Production.INFO: ==1962== Lock acquired, processing the job... [2025-03-20 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:43:02] Production.INFO: ==1962== Releasing lock... [2025-03-20 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:43:03] Production.INFO: ==1965== Lock acquired, processing the job... [2025-03-19 20:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:43:03] Production.INFO: ==1969== Lock acquired, processing the job... [2025-03-19 20:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:43:03] Production.INFO: ==1967== Lock acquired, processing the job... [2025-03-19 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:43:03] Production.INFO: ==1975== Lock acquired, processing the job... [2025-03-19 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:43:03] Production.INFO: ==1971== Lock acquired, processing the job... [2025-03-19 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:43:03] Production.INFO: ==1973== Lock acquired, processing the job... [2025-03-19 20:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:43:03] Production.INFO: count ==12 [2025-03-19 20:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:43:03] Production.INFO: count ==23 [2025-03-19 20:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718017') start [2025-03-19 20:43:03] Production.INFO: Account Balance Start. [2025-03-19 20:43:03] Production.INFO: CreateAllLog Start [2025-03-19 20:43:03] Production.INFO: 117 [2025-03-19 20:43:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718017') end [2025-03-19 20:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:43:03] Production.INFO: 1 [2025-03-19 20:43:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:43:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:03] Production.INFO: ==1975== Releasing lock... [2025-03-19 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:43:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:43:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:04] Production.INFO: ==1967== Releasing lock... [2025-03-19 20:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:43:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:04] Production.ERROR: done [2025-03-19 20:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:43:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:43:04] Production.INFO: Total Charge 0 [2025-03-19 20:43:04] Production.INFO: CreateAllLog End [2025-03-19 20:43:04] Production.ERROR: done [2025-03-19 20:43:04] Production.INFO: Account Balance End. [2025-03-19 20:43:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:43:04] Production.INFO: ==1971== Releasing lock... [2025-03-19 20:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:43:05 [end_date_ymd] => 2025-03-19 20:43:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:43:05' and `end` < '2025-03-19 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-03-19 20:43:12] Production.ERROR: CronJobId end10 [2025-03-19 20:43:12] Production.INFO: ==1969== Releasing lock... [2025-03-19 20:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:43:14] Production.INFO: call_cost start [2025-03-19 20:43:14] Production.INFO: call_cost end [2025-03-19 20:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:43:15] Production.INFO: ==1965== Releasing lock... [2025-03-19 20:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:43:18] Production.INFO: count ==2444 [2025-03-19 20:43:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:43:05 - End Time 2025-03-19 20:43:05 [2025-03-19 20:43:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718019', 'tblTempUsageDetail_20' ) start [2025-03-19 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718019', 'tblTempUsageDetail_20' ) end [2025-03-19 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718019', 'tblTempVendorCDR_20' ) start [2025-03-19 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718019', 'tblTempVendorCDR_20' ) end [2025-03-19 20:43:19] Production.INFO: ProcessCDR(1,14718019,1,1,2) [2025-03-19 20:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718019', 'tblTempUsageDetail_20' ) start [2025-03-19 20:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718019', 'tblTempUsageDetail_20' ) end [2025-03-19 20:43:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:43:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:43:24] Production.INFO: ==1973== Releasing lock... [2025-03-19 20:43:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:43:24] Production.INFO: 46.5 MB #Memory Used# [2025-03-20 00:44:02] Production.INFO: ==2034== Lock acquired, processing the job... [2025-03-20 00:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:44:02] Production.INFO: neon service started [2025-03-20 00:44:02] Production.INFO: neon service started [2025-03-20 00:44:02] Production.INFO: ==2034== Releasing lock... [2025-03-20 00:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:44:02] Production.INFO: ==2036== Lock acquired, processing the job... [2025-03-19 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:44:02] Production.INFO: ==2038== Lock acquired, processing the job... [2025-03-20 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:44:02] Production.INFO: ==2038== Releasing lock... [2025-03-20 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:44:02] Production.INFO: ==2036== Releasing lock... [2025-03-19 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:44:03] Production.INFO: ==2042== Lock acquired, processing the job... [2025-03-19 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:44:03] Production.INFO: ==2050== Lock acquired, processing the job... [2025-03-19 20:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:44:03] Production.INFO: ==2048== Lock acquired, processing the job... [2025-03-19 20:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:44:03] Production.INFO: ==2040== Lock acquired, processing the job... [2025-03-19 20:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 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-03-19 20:44:03] Production.INFO: count ==12 [2025-03-19 20:44:03] Production.INFO: ==2046== Lock acquired, processing the job... [2025-03-19 20:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 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-03-19 20:44:03] Production.INFO: ==2044== Lock acquired, processing the job... [2025-03-19 20:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:44:03] Production.INFO: count ==23 [2025-03-19 20:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718021') start [2025-03-19 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718021') end [2025-03-19 20:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:44:04] Production.INFO: 1 [2025-03-19 20:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:44:04] Production.INFO: Account Balance Start. [2025-03-19 20:44:04] Production.INFO: CreateAllLog Start [2025-03-19 20:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:44:04] Production.INFO: 117 [2025-03-19 20:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:44:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.INFO: ==2050== Releasing lock... [2025-03-19 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:44:04] Production.ERROR: done [2025-03-19 20:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:44:04] Production.INFO: ==2042== Releasing lock... [2025-03-19 20:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:44:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.ERROR: done [2025-03-19 20:44:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:44:04] Production.INFO: Total Charge 0 [2025-03-19 20:44:04] Production.INFO: CreateAllLog End [2025-03-19 20:44:04] Production.INFO: Account Balance End. [2025-03-19 20:44:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:44:04] Production.INFO: ==2046== Releasing lock... [2025-03-19 20:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:44:05 [end_date_ymd] => 2025-03-19 20:44:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:44:05' and `end` < '2025-03-19 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-03-19 20:44:12] Production.ERROR: CronJobId end10 [2025-03-19 20:44:12] Production.INFO: ==2044== Releasing lock... [2025-03-19 20:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:44:15] Production.INFO: call_cost start [2025-03-19 20:44:15] Production.INFO: call_cost end [2025-03-19 20:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:44:16] Production.INFO: ==2040== Releasing lock... [2025-03-19 20:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:44:18] Production.INFO: count ==2441 [2025-03-19 20:44:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:44:05 - End Time 2025-03-19 20:44:05 [2025-03-19 20:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718024', 'tblTempUsageDetail_20' ) start [2025-03-19 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718024', 'tblTempUsageDetail_20' ) end [2025-03-19 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718024', 'tblTempVendorCDR_20' ) start [2025-03-19 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718024', 'tblTempVendorCDR_20' ) end [2025-03-19 20:44:19] Production.INFO: ProcessCDR(1,14718024,1,1,2) [2025-03-19 20:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718024', 'tblTempUsageDetail_20' ) start [2025-03-19 20:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718024', 'tblTempUsageDetail_20' ) end [2025-03-19 20:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:44:22] Production.INFO: ==2048== Releasing lock... [2025-03-19 20:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:44:22] Production.INFO: 46.25 MB #Memory Used# [2025-03-20 00:45:01] Production.INFO: ==2111== Lock acquired, processing the job... [2025-03-20 00:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:45:01] Production.INFO: neon service started [2025-03-20 00:45:01] Production.INFO: neon service started [2025-03-20 00:45:01] Production.INFO: ==2111== Releasing lock... [2025-03-20 00:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:45:01] Production.INFO: ==2115== Lock acquired, processing the job... [2025-03-19 20:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:45:02] Production.INFO: ==2115== Releasing lock... [2025-03-19 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:45:02] Production.INFO: ==2117== Lock acquired, processing the job... [2025-03-20 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:45:02] Production.INFO: ==2117== Releasing lock... [2025-03-20 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:45:03] Production.INFO: ==2121== Lock acquired, processing the job... [2025-03-19 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:45:03] Production.INFO: ==2119== Lock acquired, processing the job... [2025-03-19 20:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:45:03] Production.INFO: ==2127== Lock acquired, processing the job... [2025-03-19 20:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:45:03] Production.INFO: ==2129== Lock acquired, processing the job... [2025-03-19 20:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:45:03] Production.INFO: ==2123== Lock acquired, processing the job... [2025-03-19 20:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:45:03] Production.INFO: ==2125== Lock acquired, processing the job... [2025-03-19 20:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:45:03] Production.INFO: count ==12 [2025-03-19 20:45:03] Production.INFO: Account Balance Start. [2025-03-19 20:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:45:03] Production.INFO: CreateAllLog Start [2025-03-19 20:45:03] Production.INFO: count ==23 [2025-03-19 20:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718027') start [2025-03-19 20:45:03] Production.INFO: 117 [2025-03-19 20:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:45:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:45:03] Production.INFO: ==2121== Releasing lock... [2025-03-19 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:45:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718027') end [2025-03-19 20:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:45:03] Production.INFO: 1 [2025-03-19 20:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:45:03] Production.ERROR: done [2025-03-19 20:45:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:45:03] Production.INFO: ==2129== Releasing lock... [2025-03-19 20:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:45:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:45:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:03] Production.ERROR: done [2025-03-19 20:45:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:45:04] Production.INFO: Total Charge 0 [2025-03-19 20:45:04] Production.INFO: CreateAllLog End [2025-03-19 20:45:04] Production.INFO: Account Balance End. [2025-03-19 20:45:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:45:04] Production.INFO: ==2125== Releasing lock... [2025-03-19 20:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:45:05 [end_date_ymd] => 2025-03-19 20:45:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:45:05' and `end` < '2025-03-19 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-03-19 20:45:13] Production.ERROR: CronJobId end10 [2025-03-19 20:45:13] Production.INFO: ==2123== Releasing lock... [2025-03-19 20:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:45:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:45:15] Production.INFO: call_cost start [2025-03-19 20:45:15] Production.INFO: call_cost end [2025-03-19 20:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:45:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:45:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:45:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:45:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:45:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:45:16] Production.INFO: ==2119== Releasing lock... [2025-03-19 20:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:45:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:45:17] Production.INFO: count ==2430 [2025-03-19 20:45:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:45:05 - End Time 2025-03-19 20:45:05 [2025-03-19 20:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718029', 'tblTempUsageDetail_20' ) start [2025-03-19 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718029', 'tblTempUsageDetail_20' ) end [2025-03-19 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718029', 'tblTempVendorCDR_20' ) start [2025-03-19 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718029', 'tblTempVendorCDR_20' ) end [2025-03-19 20:45:18] Production.INFO: ProcessCDR(1,14718029,1,1,2) [2025-03-19 20:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718029', 'tblTempUsageDetail_20' ) start [2025-03-19 20:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718029', 'tblTempUsageDetail_20' ) end [2025-03-19 20:45:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:45:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:45:23] Production.INFO: ==2127== Releasing lock... [2025-03-19 20:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:45:23] Production.INFO: 46.25 MB #Memory Used# [2025-03-20 00:46:01] Production.INFO: ==2185== Lock acquired, processing the job... [2025-03-20 00:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:46:01] Production.INFO: neon service started [2025-03-20 00:46:02] Production.INFO: neon service started [2025-03-20 00:46:02] Production.INFO: ==2185== Releasing lock... [2025-03-20 00:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:46:02] Production.INFO: ==2187== Lock acquired, processing the job... [2025-03-19 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:46:02] Production.INFO: ==2187== Releasing lock... [2025-03-19 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:46:02] Production.INFO: ==2189== Lock acquired, processing the job... [2025-03-20 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:46:02] Production.INFO: ==2189== Releasing lock... [2025-03-20 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:46:03] Production.INFO: ==2191== Lock acquired, processing the job... [2025-03-19 20:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:46:03] Production.INFO: ==2201== Lock acquired, processing the job... [2025-03-19 20:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:46:03] Production.INFO: ==2193== Lock acquired, processing the job... [2025-03-19 20:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:46:03] Production.INFO: ==2198== Lock acquired, processing the job... [2025-03-19 20:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:46:03] Production.INFO: ==2196== Lock acquired, processing the job... [2025-03-19 20:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:46:04] Production.INFO: ==2203== Lock acquired, processing the job... [2025-03-19 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:46:04] Production.INFO: Account Balance Start. [2025-03-19 20:46:04] Production.INFO: CreateAllLog Start [2025-03-19 20:46:04] Production.INFO: 117 [2025-03-19 20:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:46:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:46:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.ERROR: done [2025-03-19 20:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:46:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.INFO: ==2193== Releasing lock... [2025-03-19 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:46:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:46:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.INFO: count ==12 [2025-03-19 20:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:46:04] Production.INFO: count ==23 [2025-03-19 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718033') start [2025-03-19 20:46:04] Production.ERROR: done [2025-03-19 20:46:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718033') end [2025-03-19 20:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:46:04] Production.INFO: 1 [2025-03-19 20:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:46:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.INFO: ==2203== Releasing lock... [2025-03-19 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:46:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:46:04] Production.INFO: Total Charge 0 [2025-03-19 20:46:04] Production.INFO: CreateAllLog End [2025-03-19 20:46:05] Production.INFO: Account Balance End. [2025-03-19 20:46:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:46:05] Production.INFO: ==2198== Releasing lock... [2025-03-19 20:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:46:05 [end_date_ymd] => 2025-03-19 20:46:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:46:05' and `end` < '2025-03-19 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-03-19 20:46:14] Production.ERROR: CronJobId end10 [2025-03-19 20:46:14] Production.INFO: ==2196== Releasing lock... [2025-03-19 20:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:46:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:46:16] Production.INFO: call_cost start [2025-03-19 20:46:16] Production.INFO: call_cost end [2025-03-19 20:46:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:46:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:46:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:46:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:46:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:46:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:46:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:46:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:46:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:46:17] Production.INFO: ==2191== Releasing lock... [2025-03-19 20:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:46:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:46:17] Production.INFO: count ==2425 [2025-03-19 20:46:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:46:05 - End Time 2025-03-19 20:46:05 [2025-03-19 20:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718034', 'tblTempUsageDetail_20' ) start [2025-03-19 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718034', 'tblTempUsageDetail_20' ) end [2025-03-19 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718034', 'tblTempVendorCDR_20' ) start [2025-03-19 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718034', 'tblTempVendorCDR_20' ) end [2025-03-19 20:46:18] Production.INFO: ProcessCDR(1,14718034,1,1,2) [2025-03-19 20:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718034', 'tblTempUsageDetail_20' ) start [2025-03-19 20:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718034', 'tblTempUsageDetail_20' ) end [2025-03-19 20:46:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:46:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:46:22] Production.INFO: ==2201== Releasing lock... [2025-03-19 20:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:46:22] Production.INFO: 46.75 MB #Memory Used# [2025-03-20 00:47:01] Production.INFO: ==2260== Lock acquired, processing the job... [2025-03-20 00:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:47:01] Production.INFO: neon service started [2025-03-20 00:47:01] Production.INFO: neon service started [2025-03-20 00:47:01] Production.INFO: ==2260== Releasing lock... [2025-03-20 00:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:47:02] Production.INFO: ==2262== Lock acquired, processing the job... [2025-03-19 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:47:02] Production.INFO: ==2264== Lock acquired, processing the job... [2025-03-20 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:47:02] Production.INFO: ==2264== Releasing lock... [2025-03-20 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:47:02] Production.INFO: ==2262== Releasing lock... [2025-03-19 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:47:03] Production.INFO: ==2271== Lock acquired, processing the job... [2025-03-19 20:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:47:03] Production.INFO: ==2273== Lock acquired, processing the job... [2025-03-19 20:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:47:03] Production.INFO: Account Balance Start. [2025-03-19 20:47:03] Production.INFO: CreateAllLog Start [2025-03-19 20:47:03] Production.INFO: 117 [2025-03-19 20:47:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:47:03] Production.INFO: ==2267== Lock acquired, processing the job... [2025-03-19 20:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:47:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.INFO: ==2269== Lock acquired, processing the job... [2025-03-19 20:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:47:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:47:03] Production.INFO: Date 2025-03-15 [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.INFO: Date 2025-03-16 [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.INFO: ==2275== Lock acquired, processing the job... [2025-03-19 20:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:47:03] Production.INFO: ==2277== Lock acquired, processing the job... [2025-03-19 20:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:47:03] Production.INFO: Date 2025-03-17 [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:47:03] Production.INFO: Date 2025-03-18 [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.INFO: Date 2025-03-19 [2025-03-19 20:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:47:03] Production.INFO: Total Charge 0 [2025-03-19 20:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:47:03] Production.INFO: count ==12 [2025-03-19 20:47:03] Production.INFO: CreateAllLog End [2025-03-19 20:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:47:03] Production.INFO: count ==23 [2025-03-19 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718038') start [2025-03-19 20:47:04] Production.INFO: ==2269== Releasing lock... [2025-03-19 20:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:47:04] Production.ERROR: done [2025-03-19 20:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:47:04] Production.INFO: Account Balance End. [2025-03-19 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718038') end [2025-03-19 20:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:47:04] Production.INFO: 1 [2025-03-19 20:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:47:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:47:04] Production.INFO: ==2273== Releasing lock... [2025-03-19 20:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:47:04] Production.ERROR: done [2025-03-19 20:47:04] Production.INFO: ==2277== Releasing lock... [2025-03-19 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:47:05 [end_date_ymd] => 2025-03-19 20:47:05 [RateCDR] => 1 ) [2025-03-19 20:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:47:05' and `end` < '2025-03-19 20:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:47:13] Production.ERROR: CronJobId end10 [2025-03-19 20:47:13] Production.INFO: ==2271== Releasing lock... [2025-03-19 20:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:47:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:47:14] Production.INFO: call_cost start [2025-03-19 20:47:14] Production.INFO: call_cost end [2025-03-19 20:47:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:47:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:47:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:47:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:47:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:47:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:47:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:47:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:47:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:47:15] Production.INFO: ==2267== Releasing lock... [2025-03-19 20:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:47:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:47:17] Production.INFO: count ==2422 [2025-03-19 20:47:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:47:05 - End Time 2025-03-19 20:47:05 [2025-03-19 20:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718039', 'tblTempUsageDetail_20' ) start [2025-03-19 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718039', 'tblTempUsageDetail_20' ) end [2025-03-19 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718039', 'tblTempVendorCDR_20' ) start [2025-03-19 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718039', 'tblTempVendorCDR_20' ) end [2025-03-19 20:47:18] Production.INFO: ProcessCDR(1,14718039,1,1,2) [2025-03-19 20:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718039', 'tblTempUsageDetail_20' ) start [2025-03-19 20:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718039', 'tblTempUsageDetail_20' ) end [2025-03-19 20:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:47:21] Production.INFO: ==2275== Releasing lock... [2025-03-19 20:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:47:21] Production.INFO: 46.25 MB #Memory Used# [2025-03-20 00:48:01] Production.INFO: ==2339== Lock acquired, processing the job... [2025-03-20 00:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:48:01] Production.INFO: neon service started [2025-03-20 00:48:01] Production.INFO: neon service started [2025-03-20 00:48:01] Production.INFO: ==2339== Releasing lock... [2025-03-20 00:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:48:02] Production.INFO: ==2341== Lock acquired, processing the job... [2025-03-19 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:48:02] Production.INFO: ==2343== Lock acquired, processing the job... [2025-03-20 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 20:48:02] Production.INFO: ==2341== Releasing lock... [2025-03-19 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:48:02] Production.INFO: ==2343== Releasing lock... [2025-03-20 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:48:03] Production.INFO: ==2352== Lock acquired, processing the job... [2025-03-19 20:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:48:03] Production.INFO: ==2346== Lock acquired, processing the job... [2025-03-19 20:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:48:03] Production.INFO: ==2354== Lock acquired, processing the job... [2025-03-19 20:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:48:03] Production.INFO: ==2348== Lock acquired, processing the job... [2025-03-19 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:48:03] Production.INFO: Account Balance Start. [2025-03-19 20:48:03] Production.INFO: CreateAllLog Start [2025-03-19 20:48:03] Production.INFO: 117 [2025-03-19 20:48:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:48:03] Production.INFO: ==2350== Lock acquired, processing the job... [2025-03-19 20:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:48:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:48:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:48:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:04] Production.INFO: ==2356== Lock acquired, processing the job... [2025-03-19 20:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:48:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:48:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:04] Production.INFO: count ==12 [2025-03-19 20:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:48:04] Production.INFO: count ==23 [2025-03-19 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718043') start [2025-03-19 20:48:04] Production.ERROR: done [2025-03-19 20:48:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:48:04] Production.INFO: ==2348== Releasing lock... [2025-03-19 20:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:48:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718043') end [2025-03-19 20:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:48:04] Production.INFO: 1 [2025-03-19 20:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:48:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:04] Production.INFO: ==2356== Releasing lock... [2025-03-19 20:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:48:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:48:04] Production.ERROR: done [2025-03-19 20:48:04] Production.INFO: Total Charge 0 [2025-03-19 20:48:04] Production.INFO: CreateAllLog End [2025-03-19 20:48:04] Production.INFO: Account Balance End. [2025-03-19 20:48:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:48:04] Production.INFO: ==2352== Releasing lock... [2025-03-19 20:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:48:05 [end_date_ymd] => 2025-03-19 20:48:05 [RateCDR] => 1 ) [2025-03-19 20:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:48:05' and `end` < '2025-03-19 20:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:48:13] Production.ERROR: CronJobId end10 [2025-03-19 20:48:13] Production.INFO: ==2350== Releasing lock... [2025-03-19 20:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:48:15] Production.INFO: call_cost start [2025-03-19 20:48:15] Production.INFO: call_cost end [2025-03-19 20:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:48:16] Production.INFO: ==2346== Releasing lock... [2025-03-19 20:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:48:17] Production.INFO: count ==2420 [2025-03-19 20:48:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:48:05 - End Time 2025-03-19 20:48:05 [2025-03-19 20:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718044', 'tblTempUsageDetail_20' ) start [2025-03-19 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718044', 'tblTempUsageDetail_20' ) end [2025-03-19 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718044', 'tblTempVendorCDR_20' ) start [2025-03-19 20:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718044', 'tblTempVendorCDR_20' ) end [2025-03-19 20:48:18] Production.INFO: ProcessCDR(1,14718044,1,1,2) [2025-03-19 20:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718044', 'tblTempUsageDetail_20' ) start [2025-03-19 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718044', 'tblTempUsageDetail_20' ) end [2025-03-19 20:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:48:22] Production.INFO: ==2354== Releasing lock... [2025-03-19 20:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:48:22] Production.INFO: 46.25 MB #Memory Used# [2025-03-20 00:49:02] Production.INFO: ==2419== Lock acquired, processing the job... [2025-03-20 00:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:49:02] Production.INFO: neon service started [2025-03-20 00:49:02] Production.INFO: neon service started [2025-03-20 00:49:02] Production.INFO: ==2419== Releasing lock... [2025-03-20 00:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:49:02] Production.INFO: ==2421== Lock acquired, processing the job... [2025-03-19 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:49:03] Production.INFO: ==2421== Releasing lock... [2025-03-19 20:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:49:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:49:03] Production.INFO: ==2423== Lock acquired, processing the job... [2025-03-20 00:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:49:03] Production.INFO: ==2423== Releasing lock... [2025-03-20 00:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:49:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:49:03] Production.INFO: ==2425== Lock acquired, processing the job... [2025-03-19 20:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:49:03] Production.INFO: ==2430== Lock acquired, processing the job... [2025-03-19 20:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:49:04] Production.INFO: ==2432== Lock acquired, processing the job... [2025-03-19 20:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:49:04] Production.INFO: Account Balance Start. [2025-03-19 20:49:04] Production.INFO: CreateAllLog Start [2025-03-19 20:49:04] Production.INFO: 117 [2025-03-19 20:49:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.INFO: ==2427== Lock acquired, processing the job... [2025-03-19 20:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:49:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.INFO: ==2436== Lock acquired, processing the job... [2025-03-19 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:49:04] Production.INFO: ==2434== Lock acquired, processing the job... [2025-03-19 20:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:49:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:49:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:49:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.INFO: count ==12 [2025-03-19 20:49:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:49:04] Production.INFO: ==2427== Releasing lock... [2025-03-19 20:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:49:04] Production.INFO: count ==23 [2025-03-19 20:49:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:49:04] Production.INFO: Total Charge 0 [2025-03-19 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718048') start [2025-03-19 20:49:04] Production.INFO: CreateAllLog End [2025-03-19 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718048') end [2025-03-19 20:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:49:04] Production.INFO: 1 [2025-03-19 20:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:49:05] Production.ERROR: done [2025-03-19 20:49:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:49:05] Production.INFO: ==2436== Releasing lock... [2025-03-19 20:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:49:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:49:05] Production.ERROR: done [2025-03-19 20:49:05] Production.INFO: Account Balance End. [2025-03-19 20:49:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:49:05] Production.INFO: ==2432== Releasing lock... [2025-03-19 20:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:49:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:49:06 [end_date_ymd] => 2025-03-19 20:49:06 [RateCDR] => 1 ) [2025-03-19 20: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-03-19 17:49:06' and `end` < '2025-03-19 20: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-03-19 20:49:14] Production.ERROR: CronJobId end10 [2025-03-19 20:49:14] Production.INFO: ==2430== Releasing lock... [2025-03-19 20:49:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:49:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:49:16] Production.INFO: call_cost start [2025-03-19 20:49:16] Production.INFO: call_cost end [2025-03-19 20:49:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:49:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:49:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:49:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:49:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:49:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:49:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:49:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:49:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:49:17] Production.INFO: ==2425== Releasing lock... [2025-03-19 20:49:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:49:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:49:18] Production.INFO: count ==2411 [2025-03-19 20:49:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:49:06 - End Time 2025-03-19 20:49:06 [2025-03-19 20:49:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718049', 'tblTempUsageDetail_20' ) start [2025-03-19 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718049', 'tblTempUsageDetail_20' ) end [2025-03-19 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718049', 'tblTempVendorCDR_20' ) start [2025-03-19 20:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718049', 'tblTempVendorCDR_20' ) end [2025-03-19 20:49:19] Production.INFO: ProcessCDR(1,14718049,1,1,2) [2025-03-19 20:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718049', 'tblTempUsageDetail_20' ) start [2025-03-19 20:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718049', 'tblTempUsageDetail_20' ) end [2025-03-19 20:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:49:22] Production.INFO: ==2434== Releasing lock... [2025-03-19 20:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:49:22] Production.INFO: 46.25 MB #Memory Used# [2025-03-20 00:50:01] Production.INFO: ==2535== Lock acquired, processing the job... [2025-03-20 00:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:50:01] Production.INFO: neon service started [2025-03-20 00:50:01] Production.INFO: neon service started [2025-03-20 00:50:01] Production.INFO: ==2535== Releasing lock... [2025-03-20 00:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:50:02] Production.INFO: ==2537== Lock acquired, processing the job... [2025-03-19 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:50:02] Production.INFO: ==2539== Lock acquired, processing the job... [2025-03-20 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:50:02] Production.INFO: ==2539== Releasing lock... [2025-03-20 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:50:03] Production.INFO: ==2537== Releasing lock... [2025-03-19 20:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:50:04] Production.INFO: ==2546== Lock acquired, processing the job... [2025-03-19 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:50:04] Production.INFO: ==2542== Lock acquired, processing the job... [2025-03-19 20:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 20:50:04] Production.INFO: ==2550== Lock acquired, processing the job... [2025-03-19 20:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:50:04] Production.INFO: ==2544== Lock acquired, processing the job... [2025-03-19 20:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 20:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 20:50:04] Production.ERROR: CronJob PID - 2546 [2025-03-19 20:50:04] Production.ERROR: CronJob Title - Account Block [2025-03-19 20:50:04] Production.ERROR: CronJob ID - 7 [2025-03-19 20:50:04] Production.ERROR: CronJob Last Run Time 2025-03-19 20:50:00 [2025-03-19 20:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 20:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 20:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 20:50:04] Production.INFO: ==2542== Releasing lock... [2025-03-19 20:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 20:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 20:50:04] Production.INFO: ==2556== Lock acquired, processing the job... [2025-03-19 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:50:04] Production.INFO: Account Balance Start. [2025-03-19 20:50:04] Production.INFO: CreateAllLog Start [2025-03-19 20:50:04] Production.INFO: 117 [2025-03-19 20:50:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:50:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:50:04] Production.INFO: ==2548== Lock acquired, processing the job... [2025-03-19 20:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:50:04] Production.INFO: count ==12 [2025-03-19 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-03-19 20:50:04] Production.INFO: count ==23 [2025-03-19 20:50:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718053') start [2025-03-19 20:50:04] Production.INFO: ==2546== Releasing lock... [2025-03-19 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:50:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:50:04] Production.INFO: ==2552== Lock acquired, processing the job... [2025-03-19 20:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:50:04] Production.INFO: ==2554== Lock acquired, processing the job... [2025-03-19 20:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 20:50:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718053') end [2025-03-19 20:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:50:04] Production.INFO: 1 [2025-03-19 20:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:50:04] Production.INFO: ==2556== Releasing lock... [2025-03-19 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:50:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:50:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:50:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:50:05] Production.INFO: Date 2025-03-16 [2025-03-19 20:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:50:05] Production.INFO: Date 2025-03-17 [2025-03-19 20:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:50:05] Production.INFO: Date 2025-03-18 [2025-03-19 20:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:50:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:50:05] Production.INFO: Total Charge 0 [2025-03-19 20:50:05] Production.INFO: CreateAllLog End [2025-03-19 20:50:05] Production.ERROR: done [2025-03-19 20:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:50:05] Production.ERROR: done [2025-03-19 20:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 20:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718054', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 20:50:05] Production.INFO: Account Balance End. [2025-03-19 20:50:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:50:05] Production.INFO: ==2550== Releasing lock... [2025-03-19 20:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:50:05] Production.ERROR: done [2025-03-19 20:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:50:06 [end_date_ymd] => 2025-03-19 20:50:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:50:06' and `end` < '2025-03-19 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-03-19 20:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718054', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 20:50:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 20:50:10] Production.INFO: ProcessCDR(1,14718054,1,1,2) [2025-03-19 20:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718054,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718054,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:50:10] Production.INFO: ==2554== Releasing lock... [2025-03-19 20:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 20:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-19 20:50:16] Production.ERROR: CronJobId end10 [2025-03-19 20:50:16] Production.INFO: ==2548== Releasing lock... [2025-03-19 20:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:50:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:50:17] Production.INFO: call_cost start [2025-03-19 20:50:17] Production.INFO: call_cost end [2025-03-19 20:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:50:18] Production.INFO: ==2544== Releasing lock... [2025-03-19 20:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:50:19] Production.INFO: count ==2414 [2025-03-19 20:50:20] Production.ERROR: pbx CDR StartTime 2025-03-19 17:50:06 - End Time 2025-03-19 20:50:06 [2025-03-19 20:50:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718055', 'tblTempUsageDetail_20' ) start [2025-03-19 20:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718055', 'tblTempUsageDetail_20' ) end [2025-03-19 20:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718055', 'tblTempVendorCDR_20' ) start [2025-03-19 20:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718055', 'tblTempVendorCDR_20' ) end [2025-03-19 20:50:20] Production.INFO: ProcessCDR(1,14718055,1,1,2) [2025-03-19 20:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718055', 'tblTempUsageDetail_20' ) start [2025-03-19 20:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718055', 'tblTempUsageDetail_20' ) end [2025-03-19 20:50:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:50:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:50:23] Production.INFO: ==2552== Releasing lock... [2025-03-19 20:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:50:23] Production.INFO: 46.25 MB #Memory Used# [2025-03-20 00:51:01] Production.INFO: ==2617== Lock acquired, processing the job... [2025-03-20 00:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:51:01] Production.INFO: neon service started [2025-03-20 00:51:01] Production.INFO: neon service started [2025-03-20 00:51:01] Production.INFO: ==2617== Releasing lock... [2025-03-20 00:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:51:01] Production.INFO: ==2619== Lock acquired, processing the job... [2025-03-19 20:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:51:02] Production.INFO: ==2619== Releasing lock... [2025-03-19 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:51:02] Production.INFO: ==2621== Lock acquired, processing the job... [2025-03-20 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:51:02] Production.INFO: ==2621== Releasing lock... [2025-03-20 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:51:03] Production.INFO: ==2630== Lock acquired, processing the job... [2025-03-19 20:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:51:03] Production.INFO: ==2632== Lock acquired, processing the job... [2025-03-19 20:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:51:03] Production.INFO: Account Balance Start. [2025-03-19 20:51:03] Production.INFO: CreateAllLog Start [2025-03-19 20:51:03] Production.INFO: 117 [2025-03-19 20:51:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:51:03] Production.INFO: ==2624== Lock acquired, processing the job... [2025-03-19 20:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:51:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:51:03] Production.INFO: ==2628== Lock acquired, processing the job... [2025-03-19 20:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:51:03] Production.INFO: ==2626== Lock acquired, processing the job... [2025-03-19 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:51:03] Production.INFO: ==2634== Lock acquired, processing the job... [2025-03-19 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:51:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:51:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:51:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:51:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:51:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:51:03] Production.INFO: count ==12 [2025-03-19 20:51:03] Production.INFO: Date 2025-03-15 [2025-03-19 20:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:51:03] Production.INFO: count ==23 [2025-03-19 20:51:03] Production.ERROR: done [2025-03-19 20:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:51:03] Production.INFO: ==2626== Releasing lock... [2025-03-19 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718059') start [2025-03-19 20:51:03] Production.INFO: Date 2025-03-16 [2025-03-19 20:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:51:03] Production.INFO: Date 2025-03-17 [2025-03-19 20:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:51:03] Production.INFO: Date 2025-03-18 [2025-03-19 20:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:51:04] Production.ERROR: done [2025-03-19 20:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718059') end [2025-03-19 20:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:51:04] Production.INFO: 1 [2025-03-19 20:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:51:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:51:04] Production.INFO: ==2634== Releasing lock... [2025-03-19 20:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:51:04] Production.INFO: Total Charge 0 [2025-03-19 20:51:04] Production.INFO: CreateAllLog End [2025-03-19 20:51:04] Production.INFO: Account Balance End. [2025-03-19 20:51:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:51:04] Production.INFO: ==2630== Releasing lock... [2025-03-19 20:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:51:05 [end_date_ymd] => 2025-03-19 20:51:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:51:05' and `end` < '2025-03-19 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-03-19 20:51:13] Production.ERROR: CronJobId end10 [2025-03-19 20:51:13] Production.INFO: ==2628== Releasing lock... [2025-03-19 20:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:51:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:51:16] Production.INFO: call_cost start [2025-03-19 20:51:16] Production.INFO: call_cost end [2025-03-19 20:51:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:51:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:51:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:51:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:51:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:51:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:51:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:51:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:51:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:51:17] Production.INFO: ==2624== Releasing lock... [2025-03-19 20:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:51:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:51:17] Production.INFO: count ==2345 [2025-03-19 20:51:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:51:05 - End Time 2025-03-19 20:51:05 [2025-03-19 20:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718060', 'tblTempUsageDetail_20' ) start [2025-03-19 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718060', 'tblTempUsageDetail_20' ) end [2025-03-19 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718060', 'tblTempVendorCDR_20' ) start [2025-03-19 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718060', 'tblTempVendorCDR_20' ) end [2025-03-19 20:51:18] Production.INFO: ProcessCDR(1,14718060,1,1,2) [2025-03-19 20:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718060', 'tblTempUsageDetail_20' ) start [2025-03-19 20:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718060', 'tblTempUsageDetail_20' ) end [2025-03-19 20:51:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:51:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:51:23] Production.INFO: ==2632== Releasing lock... [2025-03-19 20:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:51:23] Production.INFO: 45.75 MB #Memory Used# [2025-03-20 00:52:01] Production.INFO: ==2713== Lock acquired, processing the job... [2025-03-20 00:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:52:01] Production.INFO: neon service started [2025-03-20 00:52:01] Production.INFO: neon service started [2025-03-20 00:52:01] Production.INFO: ==2713== Releasing lock... [2025-03-20 00:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:52:02] Production.INFO: ==2717== Lock acquired, processing the job... [2025-03-20 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:52:02] Production.INFO: ==2717== Releasing lock... [2025-03-20 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:52:02] Production.INFO: ==2715== Lock acquired, processing the job... [2025-03-19 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:52:02] Production.INFO: ==2715== Releasing lock... [2025-03-19 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:52:03] Production.INFO: ==2728== Lock acquired, processing the job... [2025-03-19 20:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:52:03] Production.INFO: ==2730== Lock acquired, processing the job... [2025-03-19 20:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:52:03] Production.INFO: ==2720== Lock acquired, processing the job... [2025-03-19 20:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 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-03-19 20:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:52:04] Production.INFO: count ==12 [2025-03-19 20:52:04] Production.INFO: ==2722== Lock acquired, processing the job... [2025-03-19 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 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-03-19 20:52:04] Production.INFO: count ==23 [2025-03-19 20:52:04] Production.INFO: ==2724== Lock acquired, processing the job... [2025-03-19 20:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:52:04] Production.INFO: ==2726== Lock acquired, processing the job... [2025-03-19 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718061') start [2025-03-19 20:52:04] Production.ERROR: done [2025-03-19 20:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718061') end [2025-03-19 20:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:52:04] Production.INFO: 1 [2025-03-19 20:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:52:04] Production.INFO: Account Balance Start. [2025-03-19 20:52:04] Production.INFO: CreateAllLog Start [2025-03-19 20:52:04] Production.INFO: 117 [2025-03-19 20:52:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:04] Production.INFO: ==2730== Releasing lock... [2025-03-19 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:52:04] Production.ERROR: done [2025-03-19 20:52:04] Production.INFO: ==2722== Releasing lock... [2025-03-19 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:52:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:05] Production.INFO: Date 2025-03-19 [2025-03-19 20:52:05] Production.INFO: Reseller ==> 0 [2025-03-19 20:52:05] Production.INFO: Total Charge 0 [2025-03-19 20:52:05] Production.INFO: CreateAllLog End [2025-03-19 20:52:05] Production.INFO: Account Balance End. [2025-03-19 20:52:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:52:05] Production.INFO: ==2726== Releasing lock... [2025-03-19 20:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:52:05 [end_date_ymd] => 2025-03-19 20:52:05 [RateCDR] => 1 ) [2025-03-19 20:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:52:05' and `end` < '2025-03-19 20:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:52:14] Production.ERROR: CronJobId end10 [2025-03-19 20:52:14] Production.INFO: ==2724== Releasing lock... [2025-03-19 20:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:52:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:52:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:52:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:52:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:52:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:52:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:52:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:52:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:52:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:52:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:52:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:52:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:52:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:52:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:52:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:52:16] Production.INFO: call_cost start [2025-03-19 20:52:16] Production.INFO: call_cost end [2025-03-19 20:52:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:52:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:52:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:52:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:52:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:52:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:52:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:52:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:52:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:52:17] Production.INFO: ==2720== Releasing lock... [2025-03-19 20:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:52:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:52:18] Production.INFO: count ==2340 [2025-03-19 20:52:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:52:05 - End Time 2025-03-19 20:52:05 [2025-03-19 20:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718065', 'tblTempUsageDetail_20' ) start [2025-03-19 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718065', 'tblTempUsageDetail_20' ) end [2025-03-19 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718065', 'tblTempVendorCDR_20' ) start [2025-03-19 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718065', 'tblTempVendorCDR_20' ) end [2025-03-19 20:52:18] Production.INFO: ProcessCDR(1,14718065,1,1,2) [2025-03-19 20:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718065', 'tblTempUsageDetail_20' ) start [2025-03-19 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718065', 'tblTempUsageDetail_20' ) end [2025-03-19 20:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:52:22] Production.INFO: ==2728== Releasing lock... [2025-03-19 20:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:52:22] Production.INFO: 45.5 MB #Memory Used# [2025-03-20 00:53:01] Production.INFO: ==2800== Lock acquired, processing the job... [2025-03-20 00:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:53:01] Production.INFO: neon service started [2025-03-20 00:53:01] Production.INFO: neon service started [2025-03-20 00:53:01] Production.INFO: ==2800== Releasing lock... [2025-03-20 00:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:53:01] Production.INFO: ==2805== Lock acquired, processing the job... [2025-03-20 00:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:53:01] Production.INFO: ==2805== Releasing lock... [2025-03-20 00:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:53:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:53:01] Production.INFO: ==2803== Lock acquired, processing the job... [2025-03-19 20:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:53:02] Production.INFO: ==2803== Releasing lock... [2025-03-19 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:53:03] Production.INFO: ==2813== Lock acquired, processing the job... [2025-03-19 20:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:53:03] Production.INFO: ==2815== Lock acquired, processing the job... [2025-03-19 20:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:53:03] Production.INFO: Account Balance Start. [2025-03-19 20:53:03] Production.INFO: CreateAllLog Start [2025-03-19 20:53:03] Production.INFO: 117 [2025-03-19 20:53:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:53:03] Production.INFO: ==2807== Lock acquired, processing the job... [2025-03-19 20:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:53:03] Production.INFO: ==2809== Lock acquired, processing the job... [2025-03-19 20:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:53:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:53:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:53:03] Production.INFO: ==2811== Lock acquired, processing the job... [2025-03-19 20:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:53:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:53:03] Production.INFO: ==2817== Lock acquired, processing the job... [2025-03-19 20:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:53:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:53:03] Production.ERROR: done [2025-03-19 20:53:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:53:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:53:03] Production.INFO: Date 2025-03-14 [2025-03-19 20:53:03] Production.INFO: count ==12 [2025-03-19 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-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:53:03] Production.INFO: count ==23 [2025-03-19 20:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718069') start [2025-03-19 20:53:03] Production.INFO: Date 2025-03-15 [2025-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:53:03] Production.INFO: Date 2025-03-16 [2025-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:53:03] Production.INFO: ==2809== Releasing lock... [2025-03-19 20:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:53:03] Production.INFO: Date 2025-03-17 [2025-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:53:03] Production.ERROR: done [2025-03-19 20:53:03] Production.INFO: Date 2025-03-18 [2025-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718069') end [2025-03-19 20:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:53:03] Production.INFO: 1 [2025-03-19 20:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:53:03] Production.INFO: ==2817== Releasing lock... [2025-03-19 20:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:53:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:53:03] Production.INFO: Date 2025-03-19 [2025-03-19 20:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:53:04] Production.INFO: Total Charge 0 [2025-03-19 20:53:04] Production.INFO: CreateAllLog End [2025-03-19 20:53:04] Production.INFO: Account Balance End. [2025-03-19 20:53:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:53:04] Production.INFO: ==2813== Releasing lock... [2025-03-19 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:53:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:53:04 [end_date_ymd] => 2025-03-19 20:53:04 [RateCDR] => 1 ) [2025-03-19 20: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-03-19 17:53:04' and `end` < '2025-03-19 20: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-03-19 20:53:13] Production.ERROR: CronJobId end10 [2025-03-19 20:53:13] Production.INFO: ==2811== Releasing lock... [2025-03-19 20:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:53:14] Production.INFO: call_cost start [2025-03-19 20:53:14] Production.INFO: call_cost end [2025-03-19 20:53:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:53:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:53:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:53:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:53:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:53:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:53:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:53:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:53:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:53:15] Production.INFO: ==2807== Releasing lock... [2025-03-19 20:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:53:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:53:17] Production.INFO: count ==2339 [2025-03-19 20:53:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:53:04 - End Time 2025-03-19 20:53:04 [2025-03-19 20:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718070', 'tblTempUsageDetail_20' ) start [2025-03-19 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718070', 'tblTempUsageDetail_20' ) end [2025-03-19 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718070', 'tblTempVendorCDR_20' ) start [2025-03-19 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718070', 'tblTempVendorCDR_20' ) end [2025-03-19 20:53:18] Production.INFO: ProcessCDR(1,14718070,1,1,2) [2025-03-19 20:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718070', 'tblTempUsageDetail_20' ) start [2025-03-19 20:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718070', 'tblTempUsageDetail_20' ) end [2025-03-19 20:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:53:21] Production.INFO: ==2815== Releasing lock... [2025-03-19 20:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:53:21] Production.INFO: 45.5 MB #Memory Used# [2025-03-20 00:54:01] Production.INFO: ==2880== Lock acquired, processing the job... [2025-03-20 00:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:54:01] Production.INFO: neon service started [2025-03-20 00:54:01] Production.INFO: neon service started [2025-03-20 00:54:01] Production.INFO: ==2880== Releasing lock... [2025-03-20 00:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:54:02] Production.INFO: ==2885== Lock acquired, processing the job... [2025-03-20 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:54:02] Production.INFO: ==2885== Releasing lock... [2025-03-20 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:54:02] Production.INFO: ==2883== Lock acquired, processing the job... [2025-03-19 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:54:02] Production.INFO: ==2883== Releasing lock... [2025-03-19 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:54:03] Production.INFO: ==2889== Lock acquired, processing the job... [2025-03-19 20:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:54:03] Production.INFO: ==2893== Lock acquired, processing the job... [2025-03-19 20:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:54:03] Production.INFO: ==2897== Lock acquired, processing the job... [2025-03-19 20:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:54:03] Production.INFO: Account Balance Start. [2025-03-19 20:54:03] Production.INFO: CreateAllLog Start [2025-03-19 20:54:03] Production.INFO: 117 [2025-03-19 20:54:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:54:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:03] Production.INFO: count ==12 [2025-03-19 20:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:54:03] Production.INFO: ==2887== Lock acquired, processing the job... [2025-03-19 20:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:54:03] Production.INFO: count ==23 [2025-03-19 20:54:03] Production.INFO: ==2891== Lock acquired, processing the job... [2025-03-19 20:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718073') start [2025-03-19 20:54:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:54:03] Production.INFO: ==2895== Lock acquired, processing the job... [2025-03-19 20:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:54:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:03] Production.INFO: ==2889== Releasing lock... [2025-03-19 20:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:54:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:54:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:54:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:54:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718073') end [2025-03-19 20:54:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:54:03] Production.INFO: 1 [2025-03-19 20:54:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:54:03] Production.INFO: Date 2025-03-12 [2025-03-19 20:54:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:03] Production.INFO: Date 2025-03-13 [2025-03-19 20:54:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:04] Production.INFO: ==2897== Releasing lock... [2025-03-19 20:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:54:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:54:04] Production.ERROR: done [2025-03-19 20:54:04] Production.INFO: Total Charge 0 [2025-03-19 20:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:54:04] Production.INFO: CreateAllLog End [2025-03-19 20:54:04] Production.ERROR: done [2025-03-19 20:54:04] Production.INFO: Account Balance End. [2025-03-19 20:54:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:54:04] Production.INFO: ==2893== Releasing lock... [2025-03-19 20:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:54:05 [end_date_ymd] => 2025-03-19 20:54:05 [RateCDR] => 1 ) [2025-03-19 20:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:54:05' and `end` < '2025-03-19 20:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:54:13] Production.ERROR: CronJobId end10 [2025-03-19 20:54:13] Production.INFO: ==2891== Releasing lock... [2025-03-19 20:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:54:15] Production.INFO: call_cost start [2025-03-19 20:54:15] Production.INFO: call_cost end [2025-03-19 20:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:54:16] Production.INFO: ==2887== Releasing lock... [2025-03-19 20:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:54:17] Production.INFO: count ==2337 [2025-03-19 20:54:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:54:05 - End Time 2025-03-19 20:54:05 [2025-03-19 20:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718075', 'tblTempUsageDetail_20' ) start [2025-03-19 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718075', 'tblTempUsageDetail_20' ) end [2025-03-19 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718075', 'tblTempVendorCDR_20' ) start [2025-03-19 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718075', 'tblTempVendorCDR_20' ) end [2025-03-19 20:54:18] Production.INFO: ProcessCDR(1,14718075,1,1,2) [2025-03-19 20:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718075', 'tblTempUsageDetail_20' ) start [2025-03-19 20:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718075', 'tblTempUsageDetail_20' ) end [2025-03-19 20:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:54:22] Production.INFO: ==2895== Releasing lock... [2025-03-19 20:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:54:22] Production.INFO: 45.5 MB #Memory Used# [2025-03-20 00:55:02] Production.INFO: ==2963== Lock acquired, processing the job... [2025-03-20 00:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:55:02] Production.INFO: neon service started [2025-03-20 00:55:02] Production.INFO: neon service started [2025-03-20 00:55:02] Production.INFO: ==2963== Releasing lock... [2025-03-20 00:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:55:02] Production.INFO: ==2967== Lock acquired, processing the job... [2025-03-20 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:55:02] Production.INFO: ==2967== Releasing lock... [2025-03-20 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:55:02] Production.INFO: ==2965== Lock acquired, processing the job... [2025-03-19 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:55:03] Production.INFO: ==2965== Releasing lock... [2025-03-19 20:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:55:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:55:03] Production.INFO: ==2975== Lock acquired, processing the job... [2025-03-19 20:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:55:04] Production.INFO: ==2980== Lock acquired, processing the job... [2025-03-19 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:55:04] Production.INFO: Account Balance Start. [2025-03-19 20:55:04] Production.INFO: CreateAllLog Start [2025-03-19 20:55:04] Production.INFO: 117 [2025-03-19 20:55:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:55:04] Production.INFO: ==2971== Lock acquired, processing the job... [2025-03-19 20:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:55:04] Production.INFO: ==2969== Lock acquired, processing the job... [2025-03-19 20:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:55:04] Production.INFO: count ==12 [2025-03-19 20:55:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:55:04] Production.INFO: count ==23 [2025-03-19 20:55:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718076') start [2025-03-19 20:55:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:55:04] Production.INFO: ==2978== Lock acquired, processing the job... [2025-03-19 20:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:55:04] Production.INFO: ==2973== Lock acquired, processing the job... [2025-03-19 20:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:55:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:55:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718076') end [2025-03-19 20:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:55:04] Production.INFO: 1 [2025-03-19 20:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:55:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:55:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:55:04] Production.INFO: ==2980== Releasing lock... [2025-03-19 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:55:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:55:04] Production.INFO: ==2971== Releasing lock... [2025-03-19 20:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:55:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:55:04] Production.ERROR: done [2025-03-19 20:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:55:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:55:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:55:04] Production.INFO: Total Charge 0 [2025-03-19 20:55:04] Production.INFO: CreateAllLog End [2025-03-19 20:55:05] Production.ERROR: done [2025-03-19 20:55:05] Production.INFO: Account Balance End. [2025-03-19 20:55:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:55:05] Production.INFO: ==2975== Releasing lock... [2025-03-19 20:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:55:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:55:06 [end_date_ymd] => 2025-03-19 20:55:06 [RateCDR] => 1 ) [2025-03-19 20:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:55:06' and `end` < '2025-03-19 20:55:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:55:13] Production.ERROR: CronJobId end10 [2025-03-19 20:55:13] Production.INFO: ==2973== Releasing lock... [2025-03-19 20:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:55:15] Production.INFO: call_cost start [2025-03-19 20:55:15] Production.INFO: call_cost end [2025-03-19 20:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:55:16] Production.INFO: ==2969== Releasing lock... [2025-03-19 20:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:55:18] Production.INFO: count ==2328 [2025-03-19 20:55:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:55:06 - End Time 2025-03-19 20:55:06 [2025-03-19 20:55:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718080', 'tblTempUsageDetail_20' ) start [2025-03-19 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718080', 'tblTempUsageDetail_20' ) end [2025-03-19 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718080', 'tblTempVendorCDR_20' ) start [2025-03-19 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718080', 'tblTempVendorCDR_20' ) end [2025-03-19 20:55:19] Production.INFO: ProcessCDR(1,14718080,1,1,2) [2025-03-19 20:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718080', 'tblTempUsageDetail_20' ) start [2025-03-19 20:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718080', 'tblTempUsageDetail_20' ) end [2025-03-19 20:55:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:55:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:55:23] Production.INFO: ==2978== Releasing lock... [2025-03-19 20:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:55:23] Production.INFO: 45.75 MB #Memory Used# [2025-03-20 00:56:01] Production.INFO: ==3042== Lock acquired, processing the job... [2025-03-20 00:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:56:01] Production.INFO: neon service started [2025-03-20 00:56:01] Production.INFO: neon service started [2025-03-20 00:56:01] Production.INFO: ==3042== Releasing lock... [2025-03-20 00:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:56:02] Production.INFO: ==3044== Lock acquired, processing the job... [2025-03-19 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:56:02] Production.INFO: ==3046== Lock acquired, processing the job... [2025-03-20 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:56:02] Production.INFO: ==3046== Releasing lock... [2025-03-20 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:56:02] Production.INFO: ==3044== Releasing lock... [2025-03-19 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:56:03] Production.INFO: ==3053== Lock acquired, processing the job... [2025-03-19 20:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:56:03] Production.INFO: ==3059== Lock acquired, processing the job... [2025-03-19 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:56:03] Production.INFO: ==3049== Lock acquired, processing the job... [2025-03-19 20:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:56:03] Production.INFO: ==3051== Lock acquired, processing the job... [2025-03-19 20:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:56:03] Production.INFO: count ==12 [2025-03-19 20:56:03] Production.INFO: ==3055== Lock acquired, processing the job... [2025-03-19 20:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 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-03-19 20:56:04] Production.INFO: count ==23 [2025-03-19 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718082') start [2025-03-19 20:56:04] Production.INFO: ==3057== Lock acquired, processing the job... [2025-03-19 20:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:56:04] Production.INFO: Account Balance Start. [2025-03-19 20:56:04] Production.INFO: CreateAllLog Start [2025-03-19 20:56:04] Production.INFO: 117 [2025-03-19 20:56:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718082') end [2025-03-19 20:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:56:04] Production.INFO: 1 [2025-03-19 20:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.INFO: ==3059== Releasing lock... [2025-03-19 20:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:56:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.INFO: ==3051== Releasing lock... [2025-03-19 20:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:56:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.ERROR: done [2025-03-19 20:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:56:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:56:04] Production.INFO: Total Charge 0 [2025-03-19 20:56:04] Production.INFO: CreateAllLog End [2025-03-19 20:56:04] Production.ERROR: done [2025-03-19 20:56:05] Production.INFO: Account Balance End. [2025-03-19 20:56:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:56:05] Production.INFO: ==3055== Releasing lock... [2025-03-19 20:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:56:05 [end_date_ymd] => 2025-03-19 20:56:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:56:05' and `end` < '2025-03-19 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-03-19 20:56:12] Production.ERROR: CronJobId end10 [2025-03-19 20:56:12] Production.INFO: ==3053== Releasing lock... [2025-03-19 20:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:56:14] Production.INFO: call_cost start [2025-03-19 20:56:14] Production.INFO: call_cost end [2025-03-19 20:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:56:15] Production.INFO: ==3049== Releasing lock... [2025-03-19 20:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:56:18] Production.INFO: count ==2318 [2025-03-19 20:56:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:56:05 - End Time 2025-03-19 20:56:05 [2025-03-19 20:56:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718085', 'tblTempUsageDetail_20' ) start [2025-03-19 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718085', 'tblTempUsageDetail_20' ) end [2025-03-19 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718085', 'tblTempVendorCDR_20' ) start [2025-03-19 20:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718085', 'tblTempVendorCDR_20' ) end [2025-03-19 20:56:19] Production.INFO: ProcessCDR(1,14718085,1,1,2) [2025-03-19 20:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718085', 'tblTempUsageDetail_20' ) start [2025-03-19 20:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718085', 'tblTempUsageDetail_20' ) end [2025-03-19 20:56:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:56:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:56:22] Production.INFO: ==3057== Releasing lock... [2025-03-19 20:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:56:22] Production.INFO: 45.5 MB #Memory Used# [2025-03-20 00:57:02] Production.INFO: ==3127== Lock acquired, processing the job... [2025-03-20 00:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:57:02] Production.INFO: neon service started [2025-03-20 00:57:02] Production.INFO: neon service started [2025-03-20 00:57:02] Production.INFO: ==3127== Releasing lock... [2025-03-20 00:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:57:02] Production.INFO: ==3129== Lock acquired, processing the job... [2025-03-19 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:57:02] Production.INFO: ==3129== Releasing lock... [2025-03-19 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:57:03] Production.INFO: ==3131== Lock acquired, processing the job... [2025-03-20 00:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:57:03] Production.INFO: ==3131== Releasing lock... [2025-03-20 00:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:57:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:57:03] Production.INFO: ==3135== Lock acquired, processing the job... [2025-03-19 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:57:03] Production.INFO: ==3133== Lock acquired, processing the job... [2025-03-19 20:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:57:03] Production.INFO: ==3137== Lock acquired, processing the job... [2025-03-19 20:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:57:03] Production.INFO: ==3139== Lock acquired, processing the job... [2025-03-19 20:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:57:03] Production.INFO: ==3143== Lock acquired, processing the job... [2025-03-19 20:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:57:04] Production.INFO: Account Balance Start. [2025-03-19 20:57:04] Production.INFO: CreateAllLog Start [2025-03-19 20:57:04] Production.INFO: 117 [2025-03-19 20:57:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:57:04] Production.INFO: ==3141== Lock acquired, processing the job... [2025-03-19 20:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:57:04] Production.INFO: ==3135== Releasing lock... [2025-03-19 20:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:57:04] Production.INFO: count ==12 [2025-03-19 20:57:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 20:57:04] Production.INFO: count ==23 [2025-03-19 20:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718089') start [2025-03-19 20:57:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:57:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:57:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718089') end [2025-03-19 20:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:57:04] Production.INFO: 1 [2025-03-19 20:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:57:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:57:04] Production.INFO: ==3143== Releasing lock... [2025-03-19 20:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:57:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:57:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:57:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:57:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:57:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:57:04] Production.ERROR: done [2025-03-19 20:57:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:57:04] Production.INFO: Total Charge 0 [2025-03-19 20:57:04] Production.INFO: CreateAllLog End [2025-03-19 20:57:04] Production.ERROR: done [2025-03-19 20:57:05] Production.INFO: Account Balance End. [2025-03-19 20:57:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:57:05] Production.INFO: ==3139== Releasing lock... [2025-03-19 20:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:57:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:57:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:57:06 [end_date_ymd] => 2025-03-19 20:57:06 [RateCDR] => 1 ) [2025-03-19 20:57:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:57:06' and `end` < '2025-03-19 20:57:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:57:13] Production.ERROR: CronJobId end10 [2025-03-19 20:57:13] Production.INFO: ==3137== Releasing lock... [2025-03-19 20:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:57:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:57:15] Production.INFO: call_cost start [2025-03-19 20:57:15] Production.INFO: call_cost end [2025-03-19 20:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:57:16] Production.INFO: ==3133== Releasing lock... [2025-03-19 20:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:57:18] Production.INFO: count ==2303 [2025-03-19 20:57:19] Production.ERROR: pbx CDR StartTime 2025-03-19 17:57:06 - End Time 2025-03-19 20:57:06 [2025-03-19 20:57:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718090', 'tblTempUsageDetail_20' ) start [2025-03-19 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718090', 'tblTempUsageDetail_20' ) end [2025-03-19 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718090', 'tblTempVendorCDR_20' ) start [2025-03-19 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718090', 'tblTempVendorCDR_20' ) end [2025-03-19 20:57:19] Production.INFO: ProcessCDR(1,14718090,1,1,2) [2025-03-19 20:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718090', 'tblTempUsageDetail_20' ) start [2025-03-19 20:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718090', 'tblTempUsageDetail_20' ) end [2025-03-19 20:57:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:57:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:57:24] Production.INFO: ==3141== Releasing lock... [2025-03-19 20:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:57:24] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 00:58:01] Production.INFO: ==3210== Lock acquired, processing the job... [2025-03-20 00:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:58:01] Production.INFO: neon service started [2025-03-20 00:58:01] Production.INFO: neon service started [2025-03-20 00:58:01] Production.INFO: ==3210== Releasing lock... [2025-03-20 00:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 20:58:02] Production.INFO: ==3212== Lock acquired, processing the job... [2025-03-19 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:58:02] Production.INFO: ==3214== Lock acquired, processing the job... [2025-03-20 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:58:02] Production.INFO: ==3214== Releasing lock... [2025-03-20 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:58:02] Production.INFO: ==3212== Releasing lock... [2025-03-19 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:58:03] Production.INFO: ==3219== Lock acquired, processing the job... [2025-03-19 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:58:03] Production.INFO: ==3227== Lock acquired, processing the job... [2025-03-19 20:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:58:03] Production.INFO: ==3219== Releasing lock... [2025-03-19 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:58:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:58:03] Production.INFO: count ==12 [2025-03-19 20:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:58:03] Production.INFO: count ==23 [2025-03-19 20:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718092') start [2025-03-19 20:58:03] Production.INFO: ==3221== Lock acquired, processing the job... [2025-03-19 20:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718092') end [2025-03-19 20:58:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:58:03] Production.INFO: 1 [2025-03-19 20:58:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:58:03] Production.INFO: ==3223== Lock acquired, processing the job... [2025-03-19 20:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:58:03] Production.INFO: ==3217== Lock acquired, processing the job... [2025-03-19 20:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:58:03] Production.INFO: ==3225== Lock acquired, processing the job... [2025-03-19 20:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:58:03] Production.INFO: ==3227== Releasing lock... [2025-03-19 20:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:58:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:58:03] Production.INFO: Account Balance Start. [2025-03-19 20:58:03] Production.INFO: CreateAllLog Start [2025-03-19 20:58:03] Production.INFO: 117 [2025-03-19 20:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:58:03] Production.INFO: Date 2025-03-08 [2025-03-19 20:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:58:03] Production.INFO: Date 2025-03-09 [2025-03-19 20:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:03] Production.INFO: Date 2025-03-10 [2025-03-19 20:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:03] Production.INFO: Date 2025-03-11 [2025-03-19 20:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:04] Production.ERROR: done [2025-03-19 20:58:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:58:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:58:04] Production.INFO: Total Charge 0 [2025-03-19 20:58:04] Production.INFO: CreateAllLog End [2025-03-19 20:58:04] Production.ERROR: done [2025-03-19 20:58:04] Production.INFO: Account Balance End. [2025-03-19 20:58:04] Production.ERROR: CronJobId end 12 [2025-03-19 20:58:04] Production.INFO: ==3223== Releasing lock... [2025-03-19 20:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:58:05 [end_date_ymd] => 2025-03-19 20:58:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 17:58:05' and `end` < '2025-03-19 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-03-19 20:58:12] Production.ERROR: CronJobId end10 [2025-03-19 20:58:12] Production.INFO: ==3221== Releasing lock... [2025-03-19 20:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:58:14] Production.INFO: call_cost start [2025-03-19 20:58:14] Production.INFO: call_cost end [2025-03-19 20:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:58:15] Production.INFO: ==3217== Releasing lock... [2025-03-19 20:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:58:18] Production.INFO: count ==2299 [2025-03-19 20:58:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:58:05 - End Time 2025-03-19 20:58:05 [2025-03-19 20:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718095', 'tblTempUsageDetail_20' ) start [2025-03-19 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718095', 'tblTempUsageDetail_20' ) end [2025-03-19 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718095', 'tblTempVendorCDR_20' ) start [2025-03-19 20:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718095', 'tblTempVendorCDR_20' ) end [2025-03-19 20:58:19] Production.INFO: ProcessCDR(1,14718095,1,1,2) [2025-03-19 20:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718095', 'tblTempUsageDetail_20' ) start [2025-03-19 20:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718095', 'tblTempUsageDetail_20' ) end [2025-03-19 20:58:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:58:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:58:24] Production.INFO: ==3225== Releasing lock... [2025-03-19 20:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:58:24] Production.INFO: 45.5 MB #Memory Used# [2025-03-20 00:59:02] Production.INFO: ==3297== Lock acquired, processing the job... [2025-03-20 00:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 00:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 00:59:02] Production.INFO: neon service started [2025-03-20 00:59:02] Production.INFO: neon service started [2025-03-20 00:59:02] Production.INFO: ==3297== Releasing lock... [2025-03-20 00:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 00:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:59:02] Production.INFO: ==3301== Lock acquired, processing the job... [2025-03-20 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:59:02] Production.INFO: ==3301== Releasing lock... [2025-03-20 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 00:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 20:59:02] Production.INFO: ==3299== Lock acquired, processing the job... [2025-03-19 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 20:59:02] Production.INFO: ==3299== Releasing lock... [2025-03-19 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 20:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 20:59:03] Production.INFO: ==3308== Lock acquired, processing the job... [2025-03-19 20:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 20:59:03] Production.INFO: ==3304== Lock acquired, processing the job... [2025-03-19 20:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 20:59:03] Production.INFO: ==3314== Lock acquired, processing the job... [2025-03-19 20:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 20:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 20:59:03] Production.INFO: ==3306== Lock acquired, processing the job... [2025-03-19 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 20:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 20:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 20:59:03] Production.INFO: ==3310== Lock acquired, processing the job... [2025-03-19 20:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 20:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 20:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 20:59:03] Production.INFO: ==3312== Lock acquired, processing the job... [2025-03-19 20:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 20:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 20:59:04] Production.INFO: Account Balance Start. [2025-03-19 20:59:04] Production.INFO: CreateAllLog Start [2025-03-19 20:59:04] Production.INFO: 117 [2025-03-19 20:59:04] Production.INFO: Date 2025-03-08 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:59:04] Production.INFO: Date 2025-03-09 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.INFO: count ==12 [2025-03-19 20:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 20:59:04] Production.INFO: count ==23 [2025-03-19 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718096') start [2025-03-19 20:59:04] Production.INFO: Date 2025-03-10 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.INFO: ==3306== Releasing lock... [2025-03-19 20:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 20:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718096') end [2025-03-19 20:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 20:59:04] Production.INFO: 1 [2025-03-19 20:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 20:59:04] Production.INFO: Date 2025-03-11 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.ERROR: done [2025-03-19 20:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 20:59:04] Production.INFO: ==3314== Releasing lock... [2025-03-19 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 20:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 20:59:04] Production.INFO: Date 2025-03-12 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.INFO: Date 2025-03-13 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.INFO: Date 2025-03-14 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.ERROR: done [2025-03-19 20:59:04] Production.INFO: Date 2025-03-15 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.INFO: Date 2025-03-16 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.INFO: Date 2025-03-17 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.INFO: Date 2025-03-18 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.INFO: Date 2025-03-19 [2025-03-19 20:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 20:59:04] Production.INFO: Total Charge 0 [2025-03-19 20:59:04] Production.INFO: CreateAllLog End [2025-03-19 20:59:05] Production.INFO: Account Balance End. [2025-03-19 20:59:05] Production.ERROR: CronJobId end 12 [2025-03-19 20:59:05] Production.INFO: ==3310== Releasing lock... [2025-03-19 20:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 20:59:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 20:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 17:59:05 [end_date_ymd] => 2025-03-19 20:59:05 [RateCDR] => 1 ) [2025-03-19 20:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 17:59:05' and `end` < '2025-03-19 20:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 20:59:13] Production.ERROR: CronJobId end10 [2025-03-19 20:59:13] Production.INFO: ==3308== Releasing lock... [2025-03-19 20:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 20:59:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 20:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 20:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 20:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 20:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 20:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 20:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 20:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 20:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 20:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 20:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 20:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 20:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 20:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 20:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 20:59:15] Production.INFO: call_cost start [2025-03-19 20:59:15] Production.INFO: call_cost end [2025-03-19 20:59:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 20:59:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 20:59:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 20:59:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 20:59:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 20:59:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 20:59:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 20:59:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 20:59:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 20:59:16] Production.INFO: ==3304== Releasing lock... [2025-03-19 20:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 20:59:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 20:59:18] Production.INFO: count ==2277 [2025-03-19 20:59:18] Production.ERROR: pbx CDR StartTime 2025-03-19 17:59:05 - End Time 2025-03-19 20:59:05 [2025-03-19 20:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718100', 'tblTempUsageDetail_20' ) start [2025-03-19 20:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718100', 'tblTempUsageDetail_20' ) end [2025-03-19 20:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718100', 'tblTempVendorCDR_20' ) start [2025-03-19 20:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718100', 'tblTempVendorCDR_20' ) end [2025-03-19 20:59:19] Production.INFO: ProcessCDR(1,14718100,1,1,2) [2025-03-19 20:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 20:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 20:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718100', 'tblTempUsageDetail_20' ) start [2025-03-19 20:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718100', 'tblTempUsageDetail_20' ) end [2025-03-19 20:59:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 20:59:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 20:59:22] Production.INFO: ==3312== Releasing lock... [2025-03-19 20:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 20:59:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 01:00:01] Production.INFO: ==3379== Lock acquired, processing the job... [2025-03-20 01:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:00:01] Production.INFO: neon service started [2025-03-20 01:00:01] Production.INFO: neon service started [2025-03-20 01:00:01] Production.INFO: ==3379== Releasing lock... [2025-03-20 01:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:00:01] Production.INFO: ==3381== Lock acquired, processing the job... [2025-03-19 21:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:00:02] Production.INFO: ==3383== Lock acquired, processing the job... [2025-03-20 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 21:00:02] Production.INFO: ==3381== Releasing lock... [2025-03-19 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:00:02] Production.INFO: ==3383== Releasing lock... [2025-03-20 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:00:03] Production.INFO: ==3386== Lock acquired, processing the job... [2025-03-19 21:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 21:00:03] Production.INFO: ==3388== Lock acquired, processing the job... [2025-03-19 21:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 21:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 21:00:03] Production.ERROR: CronJob PID - 3388 [2025-03-19 21:00:03] Production.ERROR: CronJob Title - System Alerts [2025-03-19 21:00:03] Production.ERROR: CronJob ID - 5 [2025-03-19 21:00:03] Production.ERROR: CronJob Last Run Time 2025-03-19 21:00:00 [2025-03-19 21:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 21:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 21:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 21:00:03] Production.INFO: ==3386== Releasing lock... [2025-03-19 21:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 21:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 21:00:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:00:03] Production.INFO: ==3392== Lock acquired, processing the job... [2025-03-19 21:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:00:03] Production.INFO: ==3394== Lock acquired, processing the job... [2025-03-19 21:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:00:03] Production.INFO: ==3390== Lock acquired, processing the job... [2025-03-19 21:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:00:03] Production.INFO: Account Balance Start. [2025-03-19 21:00:03] Production.INFO: CreateAllLog Start [2025-03-19 21:00:03] Production.INFO: 117 [2025-03-19 21:00:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:00:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:00:03] Production.INFO: ==3396== Lock acquired, processing the job... [2025-03-19 21:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:00:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:00:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:00:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:00:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:00:03] Production.INFO: ==3398== Lock acquired, processing the job... [2025-03-19 21:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 21:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:00:04] Production.INFO: ==3400== Lock acquired, processing the job... [2025-03-19 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:00:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:00:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 21:00:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:00:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:00:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:00:04] Production.INFO: count ==23 [2025-03-19 21:00:04] Production.INFO: ==3390== Releasing lock... [2025-03-19 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718104') start [2025-03-19 21:00:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:00:04] Production.ERROR: done [2025-03-19 21:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:00:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718104') end [2025-03-19 21:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:00:04] Production.INFO: 1 [2025-03-19 21:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:00:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:00:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:00:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:00:04] Production.ERROR: done [2025-03-19 21:00:04] Production.INFO: ==3400== Releasing lock... [2025-03-19 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:00:04] Production.INFO: Total Charge 0 [2025-03-19 21:00:04] Production.ERROR: done [2025-03-19 21:00:04] Production.INFO: CreateAllLog End [2025-03-19 21:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 21:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718105', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 21:00:04] Production.INFO: Account Balance End. [2025-03-19 21:00:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:00:04] Production.INFO: ==3394== Releasing lock... [2025-03-19 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:00:06 [end_date_ymd] => 2025-03-19 21:00:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:00:06' and `end` < '2025-03-19 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-03-19 21:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718105', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 21:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 21:00:09] Production.INFO: ProcessCDR(1,14718105,1,1,2) [2025-03-19 21:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718105,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718105,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:00:09] Production.INFO: ==3398== Releasing lock... [2025-03-19 21:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 21:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 21:00:15] Production.ERROR: CronJobId end10 [2025-03-19 21:00:15] Production.INFO: ==3392== Releasing lock... [2025-03-19 21:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:00:16] Production.INFO: call_cost start [2025-03-19 21:00:16] Production.INFO: call_cost end [2025-03-19 21:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:00:17] Production.INFO: ==3388== Releasing lock... [2025-03-19 21:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:00:18] Production.INFO: count ==2283 [2025-03-19 21:00:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:00:06 - End Time 2025-03-19 21:00:06 [2025-03-19 21:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718106', 'tblTempUsageDetail_20' ) start [2025-03-19 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718106', 'tblTempUsageDetail_20' ) end [2025-03-19 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718106', 'tblTempVendorCDR_20' ) start [2025-03-19 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718106', 'tblTempVendorCDR_20' ) end [2025-03-19 21:00:19] Production.INFO: ProcessCDR(1,14718106,1,1,2) [2025-03-19 21:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718106', 'tblTempUsageDetail_20' ) start [2025-03-19 21:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718106', 'tblTempUsageDetail_20' ) end [2025-03-19 21:00:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:00:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:00:24] Production.INFO: ==3396== Releasing lock... [2025-03-19 21:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:00:24] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 01:01:01] Production.INFO: ==3476== Lock acquired, processing the job... [2025-03-20 01:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:01:01] Production.INFO: neon service started [2025-03-20 01:01:02] Production.INFO: neon service started [2025-03-20 01:01:02] Production.INFO: ==3476== Releasing lock... [2025-03-20 01:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:01:02] Production.INFO: ==3488== Lock acquired, processing the job... [2025-03-19 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:01:02] Production.INFO: ==3490== Lock acquired, processing the job... [2025-03-20 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:01:02] Production.INFO: ==3490== Releasing lock... [2025-03-20 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:01:02] Production.INFO: ==3488== Releasing lock... [2025-03-19 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:01:03] Production.INFO: ==3497== Lock acquired, processing the job... [2025-03-19 21:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:01:03] Production.INFO: ==3501== Lock acquired, processing the job... [2025-03-19 21:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:01:04] Production.INFO: ==3493== Lock acquired, processing the job... [2025-03-19 21:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:01:04] Production.INFO: ==3495== Lock acquired, processing the job... [2025-03-19 21:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:01:04] Production.INFO: ==3499== Lock acquired, processing the job... [2025-03-19 21:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:01:04] Production.INFO: ==3503== Lock acquired, processing the job... [2025-03-19 21:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:01:04] Production.INFO: Account Balance Start. [2025-03-19 21:01:04] Production.INFO: CreateAllLog Start [2025-03-19 21:01:04] Production.INFO: 117 [2025-03-19 21:01:04] Production.ERROR: done [2025-03-19 21:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21: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-03-19 21:01:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:01:04] Production.INFO: count ==23 [2025-03-19 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718110') start [2025-03-19 21:01:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:04] Production.ERROR: done [2025-03-19 21:01:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718110') end [2025-03-19 21:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:01:04] Production.INFO: 1 [2025-03-19 21:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:01:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:04] Production.INFO: ==3503== Releasing lock... [2025-03-19 21:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:01:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:04] Production.INFO: ==3495== Releasing lock... [2025-03-19 21:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:01:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:01:05] Production.INFO: Total Charge 0 [2025-03-19 21:01:05] Production.INFO: CreateAllLog End [2025-03-19 21:01:05] Production.INFO: Account Balance End. [2025-03-19 21:01:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:01:05] Production.INFO: ==3499== Releasing lock... [2025-03-19 21:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:01:05 [end_date_ymd] => 2025-03-19 21:01:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:01:05' and `end` < '2025-03-19 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-03-19 21:01:13] Production.ERROR: CronJobId end10 [2025-03-19 21:01:13] Production.INFO: ==3497== Releasing lock... [2025-03-19 21:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:01:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:01:16] Production.INFO: call_cost start [2025-03-19 21:01:16] Production.INFO: call_cost end [2025-03-19 21:01:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:01:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:01:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:01:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:01:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:01:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:01:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:01:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:01:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:01:17] Production.INFO: ==3493== Releasing lock... [2025-03-19 21:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:01:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:01:18] Production.INFO: count ==2282 [2025-03-19 21:01:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:01:05 - End Time 2025-03-19 21:01:05 [2025-03-19 21:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718111', 'tblTempUsageDetail_20' ) start [2025-03-19 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718111', 'tblTempUsageDetail_20' ) end [2025-03-19 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718111', 'tblTempVendorCDR_20' ) start [2025-03-19 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718111', 'tblTempVendorCDR_20' ) end [2025-03-19 21:01:19] Production.INFO: ProcessCDR(1,14718111,1,1,2) [2025-03-19 21:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718111', 'tblTempUsageDetail_20' ) start [2025-03-19 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718111', 'tblTempUsageDetail_20' ) end [2025-03-19 21:01:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:01:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:01:22] Production.INFO: ==3501== Releasing lock... [2025-03-19 21:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:01:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 01:02:01] Production.INFO: ==3575== Lock acquired, processing the job... [2025-03-20 01:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:02:01] Production.INFO: neon service started [2025-03-20 01:02:01] Production.INFO: neon service started [2025-03-20 01:02:01] Production.INFO: ==3575== Releasing lock... [2025-03-20 01:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:02:01] Production.INFO: ==3577== Lock acquired, processing the job... [2025-03-19 21:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:02:02] Production.INFO: ==3577== Releasing lock... [2025-03-19 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:02:02] Production.INFO: ==3579== Lock acquired, processing the job... [2025-03-20 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:02:02] Production.INFO: ==3579== Releasing lock... [2025-03-20 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:02:03] Production.INFO: ==3581== Lock acquired, processing the job... [2025-03-19 21:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:02:03] Production.INFO: ==3583== Lock acquired, processing the job... [2025-03-19 21:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:02:03] Production.INFO: ==3591== Lock acquired, processing the job... [2025-03-19 21:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:02:03] Production.INFO: ==3589== Lock acquired, processing the job... [2025-03-19 21:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:02:03] Production.INFO: ==3587== Lock acquired, processing the job... [2025-03-19 21:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 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-03-19 21:02:03] Production.INFO: count ==12 [2025-03-19 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-03-19 21:02:03] Production.INFO: count ==23 [2025-03-19 21:02:03] Production.INFO: ==3585== Lock acquired, processing the job... [2025-03-19 21:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718114') start [2025-03-19 21:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718114') end [2025-03-19 21:02:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:02:03] Production.INFO: 1 [2025-03-19 21:02:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:02:03] Production.INFO: Account Balance Start. [2025-03-19 21:02:03] Production.INFO: CreateAllLog Start [2025-03-19 21:02:03] Production.INFO: 117 [2025-03-19 21:02:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:02:03] Production.ERROR: done [2025-03-19 21:02:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:02:03] Production.INFO: ==3583== Releasing lock... [2025-03-19 21:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:03] Production.INFO: ==3591== Releasing lock... [2025-03-19 21:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:02:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:02:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:04] Production.ERROR: done [2025-03-19 21:02:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:02:04] Production.INFO: Total Charge 0 [2025-03-19 21:02:04] Production.INFO: CreateAllLog End [2025-03-19 21:02:04] Production.INFO: Account Balance End. [2025-03-19 21:02:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:02:04] Production.INFO: ==3587== Releasing lock... [2025-03-19 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:02:05 [end_date_ymd] => 2025-03-19 21:02:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:02:05' and `end` < '2025-03-19 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-03-19 21:02:14] Production.ERROR: CronJobId end10 [2025-03-19 21:02:14] Production.INFO: ==3585== Releasing lock... [2025-03-19 21:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:02:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:02:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:02:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:02:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:02:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:02:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:02:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:02:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:02:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:02:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:02:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:02:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:02:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:02:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:02:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:02:15] Production.INFO: call_cost start [2025-03-19 21:02:15] Production.INFO: call_cost end [2025-03-19 21:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:02:16] Production.INFO: ==3581== Releasing lock... [2025-03-19 21:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:02:17] Production.INFO: count ==2281 [2025-03-19 21:02:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:02:05 - End Time 2025-03-19 21:02:05 [2025-03-19 21:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718116', 'tblTempUsageDetail_20' ) start [2025-03-19 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718116', 'tblTempUsageDetail_20' ) end [2025-03-19 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718116', 'tblTempVendorCDR_20' ) start [2025-03-19 21:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718116', 'tblTempVendorCDR_20' ) end [2025-03-19 21:02:18] Production.INFO: ProcessCDR(1,14718116,1,1,2) [2025-03-19 21:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718116', 'tblTempUsageDetail_20' ) start [2025-03-19 21:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718116', 'tblTempUsageDetail_20' ) end [2025-03-19 21:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:02:21] Production.INFO: ==3589== Releasing lock... [2025-03-19 21:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:02:21] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 01:03:01] Production.INFO: ==3668== Lock acquired, processing the job... [2025-03-20 01:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:03:01] Production.INFO: neon service started [2025-03-20 01:03:01] Production.INFO: neon service started [2025-03-20 01:03:01] Production.INFO: ==3668== Releasing lock... [2025-03-20 01:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:03:02] Production.INFO: ==3670== Lock acquired, processing the job... [2025-03-19 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:03:02] Production.INFO: ==3672== Lock acquired, processing the job... [2025-03-20 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:03:02] Production.INFO: ==3672== Releasing lock... [2025-03-20 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:03:02] Production.INFO: ==3670== Releasing lock... [2025-03-19 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:03:03] Production.INFO: ==3679== Lock acquired, processing the job... [2025-03-19 21:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:03:03] Production.INFO: ==3683== Lock acquired, processing the job... [2025-03-19 21:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:03:03] Production.INFO: ==3675== Lock acquired, processing the job... [2025-03-19 21:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:03:03] Production.INFO: ==3677== Lock acquired, processing the job... [2025-03-19 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:03:03] Production.INFO: ==3681== Lock acquired, processing the job... [2025-03-19 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:03:04] Production.INFO: ==3685== Lock acquired, processing the job... [2025-03-19 21:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:03:04] Production.INFO: Account Balance Start. [2025-03-19 21:03:04] Production.INFO: CreateAllLog Start [2025-03-19 21:03:04] Production.INFO: 117 [2025-03-19 21:03:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.INFO: count ==12 [2025-03-19 21:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:03:04] Production.INFO: count ==23 [2025-03-19 21:03:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718119') start [2025-03-19 21:03:04] Production.ERROR: done [2025-03-19 21:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:03:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718119') end [2025-03-19 21:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:03:04] Production.INFO: 1 [2025-03-19 21:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:03:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.INFO: ==3685== Releasing lock... [2025-03-19 21:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:03:04] Production.INFO: ==3677== Releasing lock... [2025-03-19 21:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:03:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.ERROR: done [2025-03-19 21:03:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:03:04] Production.INFO: Total Charge 0 [2025-03-19 21:03:04] Production.INFO: CreateAllLog End [2025-03-19 21:03:05] Production.INFO: Account Balance End. [2025-03-19 21:03:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:03:05] Production.INFO: ==3681== Releasing lock... [2025-03-19 21:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:03:05 [end_date_ymd] => 2025-03-19 21:03:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:03:05' and `end` < '2025-03-19 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-03-19 21:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:03:15] Production.ERROR: CronJobId end10 [2025-03-19 21:03:15] Production.INFO: ==3679== Releasing lock... [2025-03-19 21:03:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:03:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:03:15] Production.INFO: call_cost start [2025-03-19 21:03:15] Production.INFO: call_cost end [2025-03-19 21:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:03:16] Production.INFO: ==3675== Releasing lock... [2025-03-19 21:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:03:18] Production.INFO: count ==2282 [2025-03-19 21:03:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:03:05 - End Time 2025-03-19 21:03:05 [2025-03-19 21:03:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718121', 'tblTempUsageDetail_20' ) start [2025-03-19 21:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718121', 'tblTempUsageDetail_20' ) end [2025-03-19 21:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718121', 'tblTempVendorCDR_20' ) start [2025-03-19 21:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718121', 'tblTempVendorCDR_20' ) end [2025-03-19 21:03:19] Production.INFO: ProcessCDR(1,14718121,1,1,2) [2025-03-19 21:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718121', 'tblTempUsageDetail_20' ) start [2025-03-19 21:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718121', 'tblTempUsageDetail_20' ) end [2025-03-19 21:03:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:03:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:03:22] Production.INFO: ==3683== Releasing lock... [2025-03-19 21:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:03:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 01:04:02] Production.INFO: ==3762== Lock acquired, processing the job... [2025-03-20 01:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:04:02] Production.INFO: neon service started [2025-03-20 01:04:02] Production.INFO: neon service started [2025-03-20 01:04:02] Production.INFO: ==3762== Releasing lock... [2025-03-20 01:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:04:03] Production.INFO: ==3765== Lock acquired, processing the job... [2025-03-19 21:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:04:03] Production.INFO: ==3767== Lock acquired, processing the job... [2025-03-20 01:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:04:03] Production.INFO: ==3767== Releasing lock... [2025-03-20 01:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:04:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:04:03] Production.INFO: ==3765== Releasing lock... [2025-03-19 21:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:04:04] Production.INFO: ==3769== Lock acquired, processing the job... [2025-03-19 21:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:04:04] Production.INFO: ==3773== Lock acquired, processing the job... [2025-03-19 21:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:04:04] Production.INFO: ==3779== Lock acquired, processing the job... [2025-03-19 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 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-03-19 21:04:04] Production.INFO: ==3771== Lock acquired, processing the job... [2025-03-19 21:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:04:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:04:04] Production.INFO: count ==23 [2025-03-19 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718123') start [2025-03-19 21:04:04] Production.INFO: ==3775== Lock acquired, processing the job... [2025-03-19 21:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:04:04] Production.INFO: ==3777== Lock acquired, processing the job... [2025-03-19 21:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718123') end [2025-03-19 21:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:04:04] Production.INFO: 1 [2025-03-19 21:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:04:04] Production.INFO: ==3779== Releasing lock... [2025-03-19 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:04:04] Production.INFO: Account Balance Start. [2025-03-19 21:04:04] Production.INFO: CreateAllLog Start [2025-03-19 21:04:04] Production.INFO: 117 [2025-03-19 21:04:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:05] Production.INFO: ==3771== Releasing lock... [2025-03-19 21:04:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:04:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:04:05] Production.INFO: Date 2025-03-12 [2025-03-19 21:04:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:05] Production.INFO: Date 2025-03-13 [2025-03-19 21:04:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:05] Production.INFO: Date 2025-03-14 [2025-03-19 21:04:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:05] Production.INFO: Date 2025-03-15 [2025-03-19 21:04:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:05] Production.INFO: Date 2025-03-16 [2025-03-19 21:04:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:05] Production.ERROR: done [2025-03-19 21:04:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:04:05] Production.INFO: Date 2025-03-17 [2025-03-19 21:04:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:04:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:04:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:04:05] Production.INFO: Total Charge 0 [2025-03-19 21:04:05] Production.INFO: CreateAllLog End [2025-03-19 21:04:05] Production.ERROR: done [2025-03-19 21:04:05] Production.INFO: Account Balance End. [2025-03-19 21:04:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:04:05] Production.INFO: ==3775== Releasing lock... [2025-03-19 21:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:04:06 [end_date_ymd] => 2025-03-19 21:04:06 [RateCDR] => 1 ) [2025-03-19 21:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:04:06' and `end` < '2025-03-19 21:04:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:04:14] Production.ERROR: CronJobId end10 [2025-03-19 21:04:14] Production.INFO: ==3773== Releasing lock... [2025-03-19 21:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:04:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:04:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:04:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:04:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:04:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:04:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:04:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:04:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:04:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:04:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:04:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:04:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:04:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:04:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:04:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:04:16] Production.INFO: call_cost start [2025-03-19 21:04:16] Production.INFO: call_cost end [2025-03-19 21:04:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:04:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:04:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:04:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:04:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:04:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:04:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:04:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:04:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:04:17] Production.INFO: ==3769== Releasing lock... [2025-03-19 21:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:04:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:04:19] Production.INFO: count ==2276 [2025-03-19 21:04:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:04:06 - End Time 2025-03-19 21:04:06 [2025-03-19 21:04:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718126', 'tblTempUsageDetail_20' ) start [2025-03-19 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718126', 'tblTempUsageDetail_20' ) end [2025-03-19 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718126', 'tblTempVendorCDR_20' ) start [2025-03-19 21:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718126', 'tblTempVendorCDR_20' ) end [2025-03-19 21:04:19] Production.INFO: ProcessCDR(1,14718126,1,1,2) [2025-03-19 21:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718126', 'tblTempUsageDetail_20' ) start [2025-03-19 21:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718126', 'tblTempUsageDetail_20' ) end [2025-03-19 21:04:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:04:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:04:23] Production.INFO: ==3777== Releasing lock... [2025-03-19 21:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:04:23] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 01:05:01] Production.INFO: ==3894== Lock acquired, processing the job... [2025-03-20 01:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:05:01] Production.INFO: neon service started [2025-03-20 01:05:01] Production.INFO: neon service started [2025-03-20 01:05:01] Production.INFO: ==3894== Releasing lock... [2025-03-20 01:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:05:02] Production.INFO: ==3896== Lock acquired, processing the job... [2025-03-19 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:05:02] Production.INFO: ==3898== Lock acquired, processing the job... [2025-03-20 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:05:02] Production.INFO: ==3898== Releasing lock... [2025-03-20 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:05:02] Production.INFO: ==3896== Releasing lock... [2025-03-19 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:05:03] Production.INFO: ==3903== Lock acquired, processing the job... [2025-03-19 21:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:05:03] Production.INFO: ==3905== Lock acquired, processing the job... [2025-03-19 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:05:03] Production.INFO: ==3911== Lock acquired, processing the job... [2025-03-19 21:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:05:03] Production.INFO: ==3907== Lock acquired, processing the job... [2025-03-19 21:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:05:04] Production.INFO: ==3909== Lock acquired, processing the job... [2025-03-19 21:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:05:04] Production.INFO: ==3913== Lock acquired, processing the job... [2025-03-19 21:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:05:04] Production.INFO: ==3905== Releasing lock... [2025-03-19 21:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:05:04] Production.INFO: Account Balance Start. [2025-03-19 21:05:04] Production.INFO: CreateAllLog Start [2025-03-19 21:05:04] Production.INFO: 117 [2025-03-19 21:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:05:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:05:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.ERROR: done [2025-03-19 21:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:05:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.INFO: count ==12 [2025-03-19 21:05:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:05:04] Production.INFO: count ==23 [2025-03-19 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718130') start [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.ERROR: done [2025-03-19 21:05:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718130') end [2025-03-19 21:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:05:04] Production.INFO: 1 [2025-03-19 21:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:05:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.INFO: ==3913== Releasing lock... [2025-03-19 21:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:05:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:05:04] Production.INFO: Total Charge 0 [2025-03-19 21:05:05] Production.INFO: CreateAllLog End [2025-03-19 21:05:05] Production.INFO: Account Balance End. [2025-03-19 21:05:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:05:05] Production.INFO: ==3909== Releasing lock... [2025-03-19 21:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:05:05 [end_date_ymd] => 2025-03-19 21:05:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:05:05' and `end` < '2025-03-19 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-03-19 21:05:13] Production.ERROR: CronJobId end10 [2025-03-19 21:05:13] Production.INFO: ==3907== Releasing lock... [2025-03-19 21:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:05:15] Production.INFO: call_cost start [2025-03-19 21:05:15] Production.INFO: call_cost end [2025-03-19 21:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:05:16] Production.INFO: ==3903== Releasing lock... [2025-03-19 21:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:05:18] Production.INFO: count ==2279 [2025-03-19 21:05:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:05:05 - End Time 2025-03-19 21:05:05 [2025-03-19 21:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718131', 'tblTempUsageDetail_20' ) start [2025-03-19 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718131', 'tblTempUsageDetail_20' ) end [2025-03-19 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718131', 'tblTempVendorCDR_20' ) start [2025-03-19 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718131', 'tblTempVendorCDR_20' ) end [2025-03-19 21:05:18] Production.INFO: ProcessCDR(1,14718131,1,1,2) [2025-03-19 21:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718131', 'tblTempUsageDetail_20' ) start [2025-03-19 21:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718131', 'tblTempUsageDetail_20' ) end [2025-03-19 21:05:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:05:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:05:23] Production.INFO: ==3911== Releasing lock... [2025-03-19 21:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:05:23] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 01:06:02] Production.INFO: ==3986== Lock acquired, processing the job... [2025-03-20 01:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:06:02] Production.INFO: neon service started [2025-03-20 01:06:02] Production.INFO: neon service started [2025-03-20 01:06:02] Production.INFO: ==3986== Releasing lock... [2025-03-20 01:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:06:02] Production.INFO: ==3990== Lock acquired, processing the job... [2025-03-20 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:06:02] Production.INFO: ==3990== Releasing lock... [2025-03-20 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:06:02] Production.INFO: ==3988== Lock acquired, processing the job... [2025-03-19 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:06:03] Production.INFO: ==3988== Releasing lock... [2025-03-19 21:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:06:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:06:03] Production.INFO: ==3993== Lock acquired, processing the job... [2025-03-19 21:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:06:03] Production.INFO: ==3995== Lock acquired, processing the job... [2025-03-19 21:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:06:04] Production.INFO: ==4001== Lock acquired, processing the job... [2025-03-19 21:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:06:04] Production.INFO: ==3997== Lock acquired, processing the job... [2025-03-19 21:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:06:04] Production.INFO: ==3999== Lock acquired, processing the job... [2025-03-19 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:06:04] Production.INFO: ==4003== Lock acquired, processing the job... [2025-03-19 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:06:04] Production.INFO: ==3995== Releasing lock... [2025-03-19 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:06:04] Production.INFO: Account Balance Start. [2025-03-19 21:06:04] Production.INFO: CreateAllLog Start [2025-03-19 21:06:04] Production.INFO: 117 [2025-03-19 21:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:06:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:04] Production.INFO: count ==12 [2025-03-19 21:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:06:04] Production.INFO: count ==23 [2025-03-19 21:06:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718135') start [2025-03-19 21:06:04] Production.ERROR: done [2025-03-19 21:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:06:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:04] Production.ERROR: done [2025-03-19 21:06:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718135') end [2025-03-19 21:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:06:04] Production.INFO: 1 [2025-03-19 21:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:06:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:04] Production.INFO: ==4003== Releasing lock... [2025-03-19 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:06:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:06:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:06:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:06:05] Production.INFO: Total Charge 0 [2025-03-19 21:06:05] Production.INFO: CreateAllLog End [2025-03-19 21:06:05] Production.INFO: Account Balance End. [2025-03-19 21:06:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:06:05] Production.INFO: ==3999== Releasing lock... [2025-03-19 21:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:06:05 [end_date_ymd] => 2025-03-19 21:06:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:06:05' and `end` < '2025-03-19 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-03-19 21:06:13] Production.ERROR: CronJobId end10 [2025-03-19 21:06:13] Production.INFO: ==3997== Releasing lock... [2025-03-19 21:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:06:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:06:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:06:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:06:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:06:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:06:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:06:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:06:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:06:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:06:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:06:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:06:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:06:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:06:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:06:15] Production.INFO: call_cost start [2025-03-19 21:06:15] Production.INFO: call_cost end [2025-03-19 21:06:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:06:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:06:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:06:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:06:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:06:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:06:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:06:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:06:16] Production.INFO: ==3993== Releasing lock... [2025-03-19 21:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:06:18] Production.INFO: count ==2267 [2025-03-19 21:06:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:06:05 - End Time 2025-03-19 21:06:05 [2025-03-19 21:06:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718136', 'tblTempUsageDetail_20' ) start [2025-03-19 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718136', 'tblTempUsageDetail_20' ) end [2025-03-19 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718136', 'tblTempVendorCDR_20' ) start [2025-03-19 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718136', 'tblTempVendorCDR_20' ) end [2025-03-19 21:06:19] Production.INFO: ProcessCDR(1,14718136,1,1,2) [2025-03-19 21:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718136', 'tblTempUsageDetail_20' ) start [2025-03-19 21:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718136', 'tblTempUsageDetail_20' ) end [2025-03-19 21:06:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:06:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:06:22] Production.INFO: ==4001== Releasing lock... [2025-03-19 21:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:06:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 01:07:01] Production.INFO: ==4099== Lock acquired, processing the job... [2025-03-20 01:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:07:01] Production.INFO: neon service started [2025-03-20 01:07:01] Production.INFO: neon service started [2025-03-20 01:07:01] Production.INFO: ==4099== Releasing lock... [2025-03-20 01:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:07:02] Production.INFO: ==4104== Lock acquired, processing the job... [2025-03-20 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:07:02] Production.INFO: ==4104== Releasing lock... [2025-03-20 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:07:02] Production.INFO: ==4102== Lock acquired, processing the job... [2025-03-19 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:07:02] Production.INFO: ==4102== Releasing lock... [2025-03-19 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:07:03] Production.INFO: ==4106== Lock acquired, processing the job... [2025-03-19 21:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:07:03] Production.INFO: ==4108== Lock acquired, processing the job... [2025-03-19 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:07:03] Production.INFO: ==4110== Lock acquired, processing the job... [2025-03-19 21:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:07:03] Production.INFO: ==4113== Lock acquired, processing the job... [2025-03-19 21:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:07:03] Production.INFO: ==4115== Lock acquired, processing the job... [2025-03-19 21:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:07:03] Production.INFO: ==4117== Lock acquired, processing the job... [2025-03-19 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:07:03] Production.INFO: Account Balance Start. [2025-03-19 21:07:03] Production.INFO: CreateAllLog Start [2025-03-19 21:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:07:03] Production.INFO: 117 [2025-03-19 21:07:03] Production.INFO: ==4108== Releasing lock... [2025-03-19 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:07:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:07:03] Production.INFO: count ==12 [2025-03-19 21:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:07:03] Production.INFO: count ==23 [2025-03-19 21:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718140') start [2025-03-19 21:07:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718140') end [2025-03-19 21:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:07:03] Production.INFO: 1 [2025-03-19 21:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:07:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:07:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:07:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:04] Production.INFO: ==4117== Releasing lock... [2025-03-19 21:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:07:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:04] Production.ERROR: done [2025-03-19 21:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:07:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:07:04] Production.INFO: Total Charge 0 [2025-03-19 21:07:04] Production.INFO: CreateAllLog End [2025-03-19 21:07:04] Production.ERROR: done [2025-03-19 21:07:04] Production.INFO: Account Balance End. [2025-03-19 21:07:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:07:04] Production.INFO: ==4113== Releasing lock... [2025-03-19 21:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:07:05 [end_date_ymd] => 2025-03-19 21:07:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:07:05' and `end` < '2025-03-19 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-03-19 21:07:12] Production.ERROR: CronJobId end10 [2025-03-19 21:07:12] Production.INFO: ==4110== Releasing lock... [2025-03-19 21:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:07:14] Production.INFO: call_cost start [2025-03-19 21:07:14] Production.INFO: call_cost end [2025-03-19 21:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:07:16] Production.INFO: ==4106== Releasing lock... [2025-03-19 21:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:07:18] Production.INFO: count ==2272 [2025-03-19 21:07:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:07:05 - End Time 2025-03-19 21:07:05 [2025-03-19 21:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718141', 'tblTempUsageDetail_20' ) start [2025-03-19 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718141', 'tblTempUsageDetail_20' ) end [2025-03-19 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718141', 'tblTempVendorCDR_20' ) start [2025-03-19 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718141', 'tblTempVendorCDR_20' ) end [2025-03-19 21:07:19] Production.INFO: ProcessCDR(1,14718141,1,1,2) [2025-03-19 21:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718141', 'tblTempUsageDetail_20' ) start [2025-03-19 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718141', 'tblTempUsageDetail_20' ) end [2025-03-19 21:07:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:07:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:07:22] Production.INFO: ==4115== Releasing lock... [2025-03-19 21:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:07:22] Production.INFO: 45 MB #Memory Used# [2025-03-20 01:08:02] Production.INFO: ==4195== Lock acquired, processing the job... [2025-03-20 01:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:08:02] Production.INFO: neon service started [2025-03-20 01:08:02] Production.INFO: neon service started [2025-03-20 01:08:02] Production.INFO: ==4195== Releasing lock... [2025-03-20 01:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:08:02] Production.INFO: ==4197== Lock acquired, processing the job... [2025-03-19 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:08:02] Production.INFO: ==4197== Releasing lock... [2025-03-19 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:08:02] Production.INFO: ==4199== Lock acquired, processing the job... [2025-03-20 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:08:03] Production.INFO: ==4199== Releasing lock... [2025-03-20 01:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:08:03] Production.INFO: ==4211== Lock acquired, processing the job... [2025-03-19 21:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:08:03] Production.INFO: ==4201== Lock acquired, processing the job... [2025-03-19 21:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:08:03] Production.INFO: ==4203== Lock acquired, processing the job... [2025-03-19 21:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:08:03] Production.INFO: ==4209== Lock acquired, processing the job... [2025-03-19 21:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:08:03] Production.INFO: ==4205== Lock acquired, processing the job... [2025-03-19 21:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 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-03-19 21:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:08:03] Production.INFO: count ==12 [2025-03-19 21:08:03] Production.INFO: ==4207== Lock acquired, processing the job... [2025-03-19 21:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 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-03-19 21:08:03] Production.INFO: count ==23 [2025-03-19 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718142') start [2025-03-19 21:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718142') end [2025-03-19 21:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:08:04] Production.INFO: 1 [2025-03-19 21:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:08:04] Production.INFO: Account Balance Start. [2025-03-19 21:08:04] Production.INFO: CreateAllLog Start [2025-03-19 21:08:04] Production.INFO: 117 [2025-03-19 21:08:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:08:04] Production.ERROR: done [2025-03-19 21:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:08:04] Production.INFO: ==4211== Releasing lock... [2025-03-19 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.INFO: ==4203== Releasing lock... [2025-03-19 21:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:08:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.ERROR: done [2025-03-19 21:08:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:08:04] Production.INFO: Total Charge 0 [2025-03-19 21:08:04] Production.INFO: CreateAllLog End [2025-03-19 21:08:05] Production.INFO: Account Balance End. [2025-03-19 21:08:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:08:05] Production.INFO: ==4207== Releasing lock... [2025-03-19 21:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:08:05 [end_date_ymd] => 2025-03-19 21:08:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:08:05' and `end` < '2025-03-19 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-03-19 21:08:13] Production.ERROR: CronJobId end10 [2025-03-19 21:08:13] Production.INFO: ==4205== Releasing lock... [2025-03-19 21:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:08:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:08:16] Production.INFO: call_cost start [2025-03-19 21:08:16] Production.INFO: call_cost end [2025-03-19 21:08:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:08:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:08:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:08:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:08:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:08:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:08:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:08:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:08:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:08:17] Production.INFO: ==4201== Releasing lock... [2025-03-19 21:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:08:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:08:18] Production.INFO: count ==2276 [2025-03-19 21:08:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:08:05 - End Time 2025-03-19 21:08:05 [2025-03-19 21:08:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718146', 'tblTempUsageDetail_20' ) start [2025-03-19 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718146', 'tblTempUsageDetail_20' ) end [2025-03-19 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718146', 'tblTempVendorCDR_20' ) start [2025-03-19 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718146', 'tblTempVendorCDR_20' ) end [2025-03-19 21:08:19] Production.INFO: ProcessCDR(1,14718146,1,1,2) [2025-03-19 21:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718146', 'tblTempUsageDetail_20' ) start [2025-03-19 21:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718146', 'tblTempUsageDetail_20' ) end [2025-03-19 21:08:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:08:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:08:22] Production.INFO: ==4209== Releasing lock... [2025-03-19 21:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:08:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 01:09:01] Production.INFO: ==4286== Lock acquired, processing the job... [2025-03-20 01:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:09:01] Production.INFO: neon service started [2025-03-20 01:09:01] Production.INFO: neon service started [2025-03-20 01:09:01] Production.INFO: ==4286== Releasing lock... [2025-03-20 01:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:09:01] Production.INFO: ==4290== Lock acquired, processing the job... [2025-03-20 01:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:09:02] Production.INFO: ==4290== Releasing lock... [2025-03-20 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:09:02] Production.INFO: ==4288== Lock acquired, processing the job... [2025-03-19 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:09:02] Production.INFO: ==4288== Releasing lock... [2025-03-19 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:09:03] Production.INFO: ==4295== Lock acquired, processing the job... [2025-03-19 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:09:03] Production.INFO: ==4293== Lock acquired, processing the job... [2025-03-19 21:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:09:03] Production.INFO: ==4297== Lock acquired, processing the job... [2025-03-19 21:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:09:03] Production.INFO: ==4303== Lock acquired, processing the job... [2025-03-19 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:09:03] Production.INFO: ==4299== Lock acquired, processing the job... [2025-03-19 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:09:03] Production.INFO: ==4301== Lock acquired, processing the job... [2025-03-19 21:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 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-03-19 21:09:03] Production.INFO: count ==12 [2025-03-19 21:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:09:03] Production.INFO: count ==23 [2025-03-19 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718149') start [2025-03-19 21:09:03] Production.INFO: Account Balance Start. [2025-03-19 21:09:03] Production.INFO: CreateAllLog Start [2025-03-19 21:09:03] Production.INFO: 117 [2025-03-19 21:09:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:09:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:03] Production.INFO: ==4295== Releasing lock... [2025-03-19 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:09:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:09:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718149') end [2025-03-19 21:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:09:04] Production.INFO: 1 [2025-03-19 21:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:09:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:04] Production.INFO: ==4303== Releasing lock... [2025-03-19 21:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:09:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:04] Production.ERROR: done [2025-03-19 21:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:09:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:04] Production.ERROR: done [2025-03-19 21:09:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:09:04] Production.INFO: Total Charge 0 [2025-03-19 21:09:04] Production.INFO: CreateAllLog End [2025-03-19 21:09:04] Production.INFO: Account Balance End. [2025-03-19 21:09:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:09:04] Production.INFO: ==4299== Releasing lock... [2025-03-19 21:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:09:05 [end_date_ymd] => 2025-03-19 21:09:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:09:05' and `end` < '2025-03-19 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-03-19 21:09:12] Production.ERROR: CronJobId end10 [2025-03-19 21:09:12] Production.INFO: ==4297== Releasing lock... [2025-03-19 21:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:09:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:09:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:09:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:09:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:09:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:09:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:09:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:09:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:09:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:09:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:09:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:09:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:09:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:09:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:09:15] Production.INFO: call_cost start [2025-03-19 21:09:15] Production.INFO: call_cost end [2025-03-19 21:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:09:16] Production.INFO: ==4293== Releasing lock... [2025-03-19 21:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:09:17] Production.INFO: count ==2278 [2025-03-19 21:09:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:09:05 - End Time 2025-03-19 21:09:05 [2025-03-19 21:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718151', 'tblTempUsageDetail_20' ) start [2025-03-19 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718151', 'tblTempUsageDetail_20' ) end [2025-03-19 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718151', 'tblTempVendorCDR_20' ) start [2025-03-19 21:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718151', 'tblTempVendorCDR_20' ) end [2025-03-19 21:09:18] Production.INFO: ProcessCDR(1,14718151,1,1,2) [2025-03-19 21:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718151', 'tblTempUsageDetail_20' ) start [2025-03-19 21:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718151', 'tblTempUsageDetail_20' ) end [2025-03-19 21:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:09:22] Production.INFO: ==4301== Releasing lock... [2025-03-19 21:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:09:22] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 01:10:02] Production.INFO: ==4376== Lock acquired, processing the job... [2025-03-20 01:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:10:02] Production.INFO: neon service started [2025-03-20 01:10:02] Production.INFO: neon service started [2025-03-20 01:10:02] Production.INFO: ==4376== Releasing lock... [2025-03-20 01:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:10:02] Production.INFO: ==4378== Lock acquired, processing the job... [2025-03-19 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:10:03] Production.INFO: ==4378== Releasing lock... [2025-03-19 21:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:10:03] Production.INFO: ==4380== Lock acquired, processing the job... [2025-03-20 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:10:03] Production.INFO: ==4380== Releasing lock... [2025-03-20 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:10:04] Production.INFO: ==4391== Lock acquired, processing the job... [2025-03-19 21:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:10:04] Production.INFO: ==4397== Lock acquired, processing the job... [2025-03-19 21:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 21:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:10:04] Production.INFO: ==4399== Lock acquired, processing the job... [2025-03-19 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:10:04] Production.INFO: ==4385== Lock acquired, processing the job... [2025-03-19 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 21:10:04] Production.INFO: ==4387== Lock acquired, processing the job... [2025-03-19 21:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:10:04] Production.INFO: ==4395== Lock acquired, processing the job... [2025-03-19 21:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:10:04] Production.INFO: ==4389== Lock acquired, processing the job... [2025-03-19 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:10:04] Production.INFO: ==4393== Lock acquired, processing the job... [2025-03-19 21:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 21:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 21:10:04] Production.ERROR: CronJob PID - 4387 [2025-03-19 21:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-19 21:10:04] Production.ERROR: CronJob ID - 5 [2025-03-19 21:10:04] Production.ERROR: CronJob Last Run Time 2025-03-19 21:10:00 [2025-03-19 21:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 21:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 21:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 21:10:04] Production.ERROR: CronJob PID - 4391 [2025-03-19 21:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-19 21:10:04] Production.ERROR: CronJob ID - 10 [2025-03-19 21:10:04] Production.ERROR: CronJob Last Run Time 2025-03-19 21:10:00 [2025-03-19 21:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 21:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 21:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 21:10:04] Production.ERROR: CronJob PID - 4395 [2025-03-19 21:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-19 21:10:04] Production.ERROR: CronJob ID - 16 [2025-03-19 21:10:04] Production.ERROR: CronJob Last Run Time 2025-03-19 21:10:00 [2025-03-19 21:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 21:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 21:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 21:10:04] Production.ERROR: CronJob PID - 4397 [2025-03-19 21:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-19 21:10:04] Production.ERROR: CronJob ID - 17 [2025-03-19 21:10:04] Production.ERROR: CronJob Last Run Time 2025-03-19 21:10:00 [2025-03-19 21:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 21:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 21:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 21:10:04] Production.ERROR: CronJob PID - 4399 [2025-03-19 21:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-19 21:10:04] Production.ERROR: CronJob ID - 19 [2025-03-19 21:10:04] Production.ERROR: CronJob Last Run Time 2025-03-19 21:10:00 [2025-03-19 21:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 21:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 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-03-19 21:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 21:10:04] Production.INFO: ==4385== Releasing lock... [2025-03-19 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 21:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 21:10:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:10:04] Production.INFO: count ==23 [2025-03-19 21:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718153') start [2025-03-19 21:10:05] Production.ERROR: done [2025-03-19 21:10:05] Production.INFO: Account Balance Start. [2025-03-19 21:10:05] Production.INFO: CreateAllLog Start [2025-03-19 21:10:05] Production.INFO: 117 [2025-03-19 21:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 21:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718155', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 21:10:05] Production.INFO: Date 2025-03-08 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.ERROR: done [2025-03-19 21:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718153') end [2025-03-19 21:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:10:05] Production.INFO: 1 [2025-03-19 21:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:10:05] Production.INFO: Date 2025-03-09 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.INFO: Date 2025-03-10 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.INFO: ==4399== Releasing lock... [2025-03-19 21:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:10:05] Production.INFO: ==4389== Releasing lock... [2025-03-19 21:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:10:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:10:05] Production.ERROR: done [2025-03-19 21:10:05] Production.INFO: Date 2025-03-11 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.INFO: Date 2025-03-12 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.INFO: Date 2025-03-13 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.INFO: Date 2025-03-14 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.INFO: Date 2025-03-15 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.INFO: Date 2025-03-16 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.INFO: Date 2025-03-17 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:10:05] Production.INFO: Total Charge 0 [2025-03-19 21:10:05] Production.INFO: CreateAllLog End [2025-03-19 21:10:06] Production.INFO: Account Balance End. [2025-03-19 21:10:06] Production.ERROR: CronJobId end 12 [2025-03-19 21:10:06] Production.INFO: ==4393== Releasing lock... [2025-03-19 21:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:10:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:10:06 [end_date_ymd] => 2025-03-19 21:10:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:10:06' and `end` < '2025-03-19 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-03-19 21:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718155', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 21:10:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 21:10:10] Production.INFO: ProcessCDR(1,14718155,1,1,2) [2025-03-19 21:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718155,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718155,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:10:10] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:10:10] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:10:10] Production.INFO: ==4397== Releasing lock... [2025-03-19 21:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 21:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-19 21:10:17] Production.ERROR: CronJobId end10 [2025-03-19 21:10:17] Production.INFO: ==4391== Releasing lock... [2025-03-19 21:10:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:10:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:10:18] Production.INFO: count ==2277 [2025-03-19 21:10:19] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:10:19] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:10:19] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:10:19] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:10:19] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:10:19] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:10:19] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:10:19] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:10:19] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:10:19] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:10:19] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:10:19] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:10:19] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:10:19] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:10:19] Production.INFO: call_cost start [2025-03-19 21:10:19] Production.INFO: call_cost end [2025-03-19 21:10:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:10:06 - End Time 2025-03-19 21:10:06 [2025-03-19 21:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718157', 'tblTempUsageDetail_20' ) start [2025-03-19 21:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718157', 'tblTempUsageDetail_20' ) end [2025-03-19 21:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718157', 'tblTempVendorCDR_20' ) start [2025-03-19 21:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718157', 'tblTempVendorCDR_20' ) end [2025-03-19 21:10:20] Production.INFO: ProcessCDR(1,14718157,1,1,2) [2025-03-19 21:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:10:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:10:20] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:10:20] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:10:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:10:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:10:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:10:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:10:20] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:10:20] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:10:20] Production.INFO: ==4387== Releasing lock... [2025-03-19 21:10:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:10:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718157', 'tblTempUsageDetail_20' ) start [2025-03-19 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718157', 'tblTempUsageDetail_20' ) end [2025-03-19 21:10:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:10:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:10:24] Production.INFO: ==4395== Releasing lock... [2025-03-19 21:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:10:24] Production.INFO: 45.5 MB #Memory Used# [2025-03-20 01:11:01] Production.INFO: ==4476== Lock acquired, processing the job... [2025-03-20 01:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:11:01] Production.INFO: neon service started [2025-03-20 01:11:01] Production.INFO: neon service started [2025-03-20 01:11:01] Production.INFO: ==4476== Releasing lock... [2025-03-20 01:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:11:02] Production.INFO: ==4478== Lock acquired, processing the job... [2025-03-19 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:11:02] Production.INFO: ==4478== Releasing lock... [2025-03-19 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:11:02] Production.INFO: ==4480== Lock acquired, processing the job... [2025-03-20 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:11:02] Production.INFO: ==4480== Releasing lock... [2025-03-20 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:11:03] Production.INFO: ==4485== Lock acquired, processing the job... [2025-03-19 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:11:03] Production.INFO: ==4487== Lock acquired, processing the job... [2025-03-19 21:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:11:03] Production.INFO: ==4493== Lock acquired, processing the job... [2025-03-19 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:11:03] Production.INFO: ==4483== Lock acquired, processing the job... [2025-03-19 21:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:11:03] Production.INFO: count ==12 [2025-03-19 21:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:11:03] Production.INFO: count ==23 [2025-03-19 21:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718159') start [2025-03-19 21:11:03] Production.INFO: ==4485== Releasing lock... [2025-03-19 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:11:03] Production.INFO: ==4489== Lock acquired, processing the job... [2025-03-19 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:11:03] Production.INFO: ==4491== Lock acquired, processing the job... [2025-03-19 21:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718159') end [2025-03-19 21:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:11:03] Production.INFO: 1 [2025-03-19 21:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:11:03] Production.INFO: ==4493== Releasing lock... [2025-03-19 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:11:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:11:03] Production.INFO: Account Balance Start. [2025-03-19 21:11:03] Production.INFO: CreateAllLog Start [2025-03-19 21:11:03] Production.INFO: 117 [2025-03-19 21:11:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.ERROR: done [2025-03-19 21:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:11:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.ERROR: done [2025-03-19 21:11:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:11:04] Production.INFO: Total Charge 0 [2025-03-19 21:11:04] Production.INFO: CreateAllLog End [2025-03-19 21:11:04] Production.INFO: Account Balance End. [2025-03-19 21:11:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:11:04] Production.INFO: ==4489== Releasing lock... [2025-03-19 21:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:11:05 [end_date_ymd] => 2025-03-19 21:11:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:11:05' and `end` < '2025-03-19 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-03-19 21:11:13] Production.ERROR: CronJobId end10 [2025-03-19 21:11:13] Production.INFO: ==4487== Releasing lock... [2025-03-19 21:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:11:15] Production.INFO: call_cost start [2025-03-19 21:11:15] Production.INFO: call_cost end [2025-03-19 21:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:11:16] Production.INFO: ==4483== Releasing lock... [2025-03-19 21:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:11:18] Production.INFO: count ==2222 [2025-03-19 21:11:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:11:05 - End Time 2025-03-19 21:11:05 [2025-03-19 21:11:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718162', 'tblTempUsageDetail_20' ) start [2025-03-19 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718162', 'tblTempUsageDetail_20' ) end [2025-03-19 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718162', 'tblTempVendorCDR_20' ) start [2025-03-19 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718162', 'tblTempVendorCDR_20' ) end [2025-03-19 21:11:19] Production.INFO: ProcessCDR(1,14718162,1,1,2) [2025-03-19 21:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718162', 'tblTempUsageDetail_20' ) start [2025-03-19 21:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718162', 'tblTempUsageDetail_20' ) end [2025-03-19 21:11:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:11:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:11:22] Production.INFO: ==4491== Releasing lock... [2025-03-19 21:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:11:22] Production.INFO: 44.75 MB #Memory Used# [2025-03-20 01:12:02] Production.INFO: ==4565== Lock acquired, processing the job... [2025-03-20 01:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:12:02] Production.INFO: neon service started [2025-03-20 01:12:02] Production.INFO: neon service started [2025-03-20 01:12:02] Production.INFO: ==4565== Releasing lock... [2025-03-20 01:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:12:02] Production.INFO: ==4567== Lock acquired, processing the job... [2025-03-19 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:12:02] Production.INFO: ==4567== Releasing lock... [2025-03-19 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:12:03] Production.INFO: ==4569== Lock acquired, processing the job... [2025-03-20 01:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:12:03] Production.INFO: ==4569== Releasing lock... [2025-03-20 01:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:12:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:12:04] Production.INFO: ==4588== Lock acquired, processing the job... [2025-03-19 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:12:04] Production.INFO: ==4586== Lock acquired, processing the job... [2025-03-19 21:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:12:04] Production.INFO: ==4571== Lock acquired, processing the job... [2025-03-19 21:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:12:04] Production.INFO: count ==12 [2025-03-19 21:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:12:04] Production.INFO: ==4578== Lock acquired, processing the job... [2025-03-19 21:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:12:04] Production.INFO: count ==23 [2025-03-19 21:12:04] Production.INFO: ==4582== Lock acquired, processing the job... [2025-03-19 21:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718163') start [2025-03-19 21:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:12:04] Production.INFO: ==4584== Lock acquired, processing the job... [2025-03-19 21:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:12:04] Production.ERROR: done [2025-03-19 21:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718163') end [2025-03-19 21:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:12:04] Production.INFO: 1 [2025-03-19 21:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:12:04] Production.INFO: Account Balance Start. [2025-03-19 21:12:04] Production.INFO: CreateAllLog Start [2025-03-19 21:12:04] Production.INFO: 117 [2025-03-19 21:12:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:04] Production.INFO: ==4588== Releasing lock... [2025-03-19 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:12:04] Production.ERROR: done [2025-03-19 21:12:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:04] Production.INFO: ==4578== Releasing lock... [2025-03-19 21:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:12:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:05] Production.INFO: Date 2025-03-15 [2025-03-19 21:12:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:05] Production.INFO: Date 2025-03-16 [2025-03-19 21:12:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:05] Production.INFO: Date 2025-03-17 [2025-03-19 21:12:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:12:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:12:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:12:05] Production.INFO: Total Charge 0 [2025-03-19 21:12:05] Production.INFO: CreateAllLog End [2025-03-19 21:12:05] Production.INFO: Account Balance End. [2025-03-19 21:12:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:12:05] Production.INFO: ==4584== Releasing lock... [2025-03-19 21:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:12:06 [end_date_ymd] => 2025-03-19 21:12:06 [RateCDR] => 1 ) [2025-03-19 21: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-03-19 18:12:06' and `end` < '2025-03-19 21: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-03-19 21:12:15] Production.ERROR: CronJobId end10 [2025-03-19 21:12:15] Production.INFO: ==4582== Releasing lock... [2025-03-19 21:12:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:12:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:12:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:12:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:12:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:12:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:12:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:12:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:12:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:12:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:12:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:12:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:12:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:12:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:12:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:12:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:12:17] Production.INFO: call_cost start [2025-03-19 21:12:17] Production.INFO: call_cost end [2025-03-19 21:12:18] Production.INFO: count ==2224 [2025-03-19 21:12:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:12:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:12:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:12:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:12:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:12:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:12:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:12:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:12:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:12:18] Production.INFO: ==4571== Releasing lock... [2025-03-19 21:12:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:12:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:12:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:12:06 - End Time 2025-03-19 21:12:06 [2025-03-19 21:12:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718167', 'tblTempUsageDetail_20' ) start [2025-03-19 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718167', 'tblTempUsageDetail_20' ) end [2025-03-19 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718167', 'tblTempVendorCDR_20' ) start [2025-03-19 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718167', 'tblTempVendorCDR_20' ) end [2025-03-19 21:12:19] Production.INFO: ProcessCDR(1,14718167,1,1,2) [2025-03-19 21:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718167', 'tblTempUsageDetail_20' ) start [2025-03-19 21:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718167', 'tblTempUsageDetail_20' ) end [2025-03-19 21:12:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:12:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:12:23] Production.INFO: ==4586== Releasing lock... [2025-03-19 21:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:12:23] Production.INFO: 44.75 MB #Memory Used# [2025-03-20 01:13:01] Production.INFO: ==4664== Lock acquired, processing the job... [2025-03-20 01:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:13:01] Production.INFO: neon service started [2025-03-20 01:13:01] Production.INFO: neon service started [2025-03-20 01:13:01] Production.INFO: ==4664== Releasing lock... [2025-03-20 01:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:13:02] Production.INFO: ==4666== Lock acquired, processing the job... [2025-03-19 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:13:02] Production.INFO: ==4668== Lock acquired, processing the job... [2025-03-20 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:13:02] Production.INFO: ==4668== Releasing lock... [2025-03-20 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:13:02] Production.INFO: ==4666== Releasing lock... [2025-03-19 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:13:03] Production.INFO: ==4673== Lock acquired, processing the job... [2025-03-19 21:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:13:03] Production.INFO: ==4683== Lock acquired, processing the job... [2025-03-19 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 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-03-19 21:13:04] Production.INFO: ==4675== Lock acquired, processing the job... [2025-03-19 21:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:13:04] Production.INFO: count ==12 [2025-03-19 21:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:13:04] Production.INFO: count ==23 [2025-03-19 21:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718169') start [2025-03-19 21:13:04] Production.INFO: ==4677== Lock acquired, processing the job... [2025-03-19 21:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:13:04] Production.INFO: ==4679== Lock acquired, processing the job... [2025-03-19 21:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:13:04] Production.INFO: ==4681== Lock acquired, processing the job... [2025-03-19 21:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718169') end [2025-03-19 21:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:13:04] Production.INFO: 1 [2025-03-19 21:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:13:04] Production.INFO: ==4683== Releasing lock... [2025-03-19 21:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:13:04] Production.INFO: Account Balance Start. [2025-03-19 21:13:04] Production.INFO: CreateAllLog Start [2025-03-19 21:13:04] Production.INFO: 117 [2025-03-19 21:13:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:04] Production.INFO: ==4675== Releasing lock... [2025-03-19 21:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:13:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:04] Production.ERROR: done [2025-03-19 21:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:13:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:05] Production.INFO: Date 2025-03-17 [2025-03-19 21:13:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:13:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:05] Production.ERROR: done [2025-03-19 21:13:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:13:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:13:05] Production.INFO: Total Charge 0 [2025-03-19 21:13:05] Production.INFO: CreateAllLog End [2025-03-19 21:13:05] Production.INFO: Account Balance End. [2025-03-19 21:13:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:13:05] Production.INFO: ==4679== Releasing lock... [2025-03-19 21:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:13:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:13:06 [end_date_ymd] => 2025-03-19 21:13:06 [RateCDR] => 1 ) [2025-03-19 21: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-03-19 18:13:06' and `end` < '2025-03-19 21: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-03-19 21:13:14] Production.ERROR: CronJobId end10 [2025-03-19 21:13:14] Production.INFO: ==4677== Releasing lock... [2025-03-19 21:13:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:13:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:13:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:13:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:13:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:13:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:13:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:13:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:13:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:13:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:13:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:13:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:13:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:13:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:13:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:13:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:13:16] Production.INFO: call_cost start [2025-03-19 21:13:16] Production.INFO: call_cost end [2025-03-19 21:13:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:13:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:13:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:13:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:13:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:13:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:13:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:13:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:13:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:13:17] Production.INFO: ==4673== Releasing lock... [2025-03-19 21:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:13:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:13:18] Production.INFO: count ==2218 [2025-03-19 21:13:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:13:06 - End Time 2025-03-19 21:13:06 [2025-03-19 21:13:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718172', 'tblTempUsageDetail_20' ) start [2025-03-19 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718172', 'tblTempUsageDetail_20' ) end [2025-03-19 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718172', 'tblTempVendorCDR_20' ) start [2025-03-19 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718172', 'tblTempVendorCDR_20' ) end [2025-03-19 21:13:19] Production.INFO: ProcessCDR(1,14718172,1,1,2) [2025-03-19 21:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718172', 'tblTempUsageDetail_20' ) start [2025-03-19 21:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718172', 'tblTempUsageDetail_20' ) end [2025-03-19 21:13:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:13:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:13:23] Production.INFO: ==4681== Releasing lock... [2025-03-19 21:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:13:23] Production.INFO: 44.75 MB #Memory Used# [2025-03-20 01:14:02] Production.INFO: ==4757== Lock acquired, processing the job... [2025-03-20 01:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:14:02] Production.INFO: neon service started [2025-03-20 01:14:02] Production.INFO: neon service started [2025-03-20 01:14:02] Production.INFO: ==4757== Releasing lock... [2025-03-20 01:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:14:02] Production.INFO: ==4759== Lock acquired, processing the job... [2025-03-19 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:14:02] Production.INFO: ==4759== Releasing lock... [2025-03-19 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:14:03] Production.INFO: ==4761== Lock acquired, processing the job... [2025-03-20 01:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:14:03] Production.INFO: ==4761== Releasing lock... [2025-03-20 01:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:14:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:14:03] Production.INFO: ==4771== Lock acquired, processing the job... [2025-03-19 21:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:14:03] Production.INFO: ==4773== Lock acquired, processing the job... [2025-03-19 21:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 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-03-19 21:14:04] Production.INFO: ==4763== Lock acquired, processing the job... [2025-03-19 21:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:14:04] Production.INFO: count ==12 [2025-03-19 21:14:04] Production.INFO: ==4765== Lock acquired, processing the job... [2025-03-19 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 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-03-19 21:14:04] Production.INFO: count ==23 [2025-03-19 21:14:04] Production.INFO: ==4767== Lock acquired, processing the job... [2025-03-19 21:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:14:04] Production.INFO: ==4769== Lock acquired, processing the job... [2025-03-19 21:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718173') start [2025-03-19 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718173') end [2025-03-19 21:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:14:04] Production.INFO: 1 [2025-03-19 21:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:14:04] Production.INFO: ==4773== Releasing lock... [2025-03-19 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:14:04] Production.INFO: Account Balance Start. [2025-03-19 21:14:04] Production.INFO: CreateAllLog Start [2025-03-19 21:14:04] Production.ERROR: done [2025-03-19 21:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:14:04] Production.INFO: 117 [2025-03-19 21:14:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:04] Production.ERROR: done [2025-03-19 21:14:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:04] Production.INFO: ==4765== Releasing lock... [2025-03-19 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:14:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:14:05] Production.INFO: Total Charge 0 [2025-03-19 21:14:05] Production.INFO: CreateAllLog End [2025-03-19 21:14:05] Production.INFO: Account Balance End. [2025-03-19 21:14:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:14:05] Production.INFO: ==4769== Releasing lock... [2025-03-19 21:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:14:06 [end_date_ymd] => 2025-03-19 21:14:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:14:06' and `end` < '2025-03-19 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-03-19 21:14:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure)) #4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select() #5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount() #6 [internal function]: App\Console\Commands\CreateSummaryLive->handle() #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-03-19 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-03-19 21:14:12] Production.ERROR: CronJobId end10 [2025-03-19 21:14:12] Production.INFO: ==4767== Releasing lock... [2025-03-19 21:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:14:16] Production.INFO: call_cost start [2025-03-19 21:14:16] Production.INFO: call_cost end [2025-03-19 21:14:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:14:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:14:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:14:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:14:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:14:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:14:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:14:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:14:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:14:17] Production.INFO: ==4763== Releasing lock... [2025-03-19 21:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:14:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:14:18] Production.INFO: count ==2207 [2025-03-19 21:14:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:14:06 - End Time 2025-03-19 21:14:06 [2025-03-19 21:14:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718177', 'tblTempUsageDetail_20' ) start [2025-03-19 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718177', 'tblTempUsageDetail_20' ) end [2025-03-19 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718177', 'tblTempVendorCDR_20' ) start [2025-03-19 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718177', 'tblTempVendorCDR_20' ) end [2025-03-19 21:14:19] Production.INFO: ProcessCDR(1,14718177,1,1,2) [2025-03-19 21:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718177', 'tblTempUsageDetail_20' ) start [2025-03-19 21:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718177', 'tblTempUsageDetail_20' ) end [2025-03-19 21:14:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:14:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:14:22] Production.INFO: ==4771== Releasing lock... [2025-03-19 21:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:14:22] Production.INFO: 44.5 MB #Memory Used# [2025-03-20 01:15:01] Production.INFO: ==4846== Lock acquired, processing the job... [2025-03-20 01:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:15:01] Production.INFO: neon service started [2025-03-20 01:15:01] Production.INFO: neon service started [2025-03-20 01:15:01] Production.INFO: ==4846== Releasing lock... [2025-03-20 01:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:15:02] Production.INFO: ==4848== Lock acquired, processing the job... [2025-03-19 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:15:02] Production.INFO: ==4848== Releasing lock... [2025-03-19 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:15:02] Production.INFO: ==4850== Lock acquired, processing the job... [2025-03-20 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:15:02] Production.INFO: ==4850== Releasing lock... [2025-03-20 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:15:03] Production.INFO: ==4859== Lock acquired, processing the job... [2025-03-19 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:15:03] Production.INFO: ==4863== Lock acquired, processing the job... [2025-03-19 21:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:15:03] Production.INFO: Account Balance Start. [2025-03-19 21:15:03] Production.INFO: CreateAllLog Start [2025-03-19 21:15:03] Production.INFO: 117 [2025-03-19 21:15:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:15:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:15:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:15:03] Production.INFO: ==4853== Lock acquired, processing the job... [2025-03-19 21:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:15:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:15:03] Production.INFO: ==4855== Lock acquired, processing the job... [2025-03-19 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:15:03] Production.INFO: ==4857== Lock acquired, processing the job... [2025-03-19 21:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:15:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 21:15:03] Production.INFO: count ==12 [2025-03-19 21:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:15:03] Production.INFO: count ==23 [2025-03-19 21:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718179') start [2025-03-19 21:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:15:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:15:04] Production.INFO: ==4861== Lock acquired, processing the job... [2025-03-19 21:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:15:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:15:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718179') end [2025-03-19 21:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:15:04] Production.INFO: 1 [2025-03-19 21:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:15:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:15:04] Production.INFO: ==4863== Releasing lock... [2025-03-19 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:15:04] Production.INFO: ==4855== Releasing lock... [2025-03-19 21:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:15:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:15:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:15:04] Production.ERROR: done [2025-03-19 21:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:15:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:15:04] Production.INFO: Total Charge 0 [2025-03-19 21:15:04] Production.INFO: CreateAllLog End [2025-03-19 21:15:04] Production.ERROR: done [2025-03-19 21:15:04] Production.INFO: Account Balance End. [2025-03-19 21:15:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:15:04] Production.INFO: ==4859== Releasing lock... [2025-03-19 21:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:15:05 [end_date_ymd] => 2025-03-19 21:15:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:15:05' and `end` < '2025-03-19 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-03-19 21:15:14] Production.ERROR: CronJobId end10 [2025-03-19 21:15:14] Production.INFO: ==4857== Releasing lock... [2025-03-19 21:15:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:15:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:15:15] Production.INFO: call_cost start [2025-03-19 21:15:15] Production.INFO: call_cost end [2025-03-19 21:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:15:16] Production.INFO: ==4853== Releasing lock... [2025-03-19 21:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:15:18] Production.INFO: count ==2205 [2025-03-19 21:15:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:15:05 - End Time 2025-03-19 21:15:05 [2025-03-19 21:15:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718182', 'tblTempUsageDetail_20' ) start [2025-03-19 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718182', 'tblTempUsageDetail_20' ) end [2025-03-19 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718182', 'tblTempVendorCDR_20' ) start [2025-03-19 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718182', 'tblTempVendorCDR_20' ) end [2025-03-19 21:15:19] Production.INFO: ProcessCDR(1,14718182,1,1,2) [2025-03-19 21:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718182', 'tblTempUsageDetail_20' ) start [2025-03-19 21:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718182', 'tblTempUsageDetail_20' ) end [2025-03-19 21:15:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:15:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:15:22] Production.INFO: ==4861== Releasing lock... [2025-03-19 21:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:15:22] Production.INFO: 44.5 MB #Memory Used# [2025-03-20 01:16:02] Production.INFO: ==4938== Lock acquired, processing the job... [2025-03-20 01:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:16:02] Production.INFO: neon service started [2025-03-20 01:16:02] Production.INFO: neon service started [2025-03-20 01:16:02] Production.INFO: ==4938== Releasing lock... [2025-03-20 01:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:16:02] Production.INFO: ==4940== Lock acquired, processing the job... [2025-03-19 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:16:02] Production.INFO: ==4942== Lock acquired, processing the job... [2025-03-20 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:16:02] Production.INFO: ==4942== Releasing lock... [2025-03-20 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:16:03] Production.INFO: ==4940== Releasing lock... [2025-03-19 21:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:16:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:16:04] Production.INFO: ==4953== Lock acquired, processing the job... [2025-03-19 21:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:16:04] Production.INFO: ==4955== Lock acquired, processing the job... [2025-03-19 21:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:16:04] Production.INFO: Account Balance Start. [2025-03-19 21:16:04] Production.INFO: CreateAllLog Start [2025-03-19 21:16:04] Production.INFO: 117 [2025-03-19 21:16:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:16:04] Production.INFO: ==4947== Lock acquired, processing the job... [2025-03-19 21:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.INFO: ==4949== Lock acquired, processing the job... [2025-03-19 21:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:16:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.INFO: ==4951== Lock acquired, processing the job... [2025-03-19 21:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:16:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.INFO: ==4957== Lock acquired, processing the job... [2025-03-19 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:16:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:16:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.ERROR: done [2025-03-19 21:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:16:04] Production.INFO: ==4949== Releasing lock... [2025-03-19 21:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 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-03-19 21:16:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:16:04] Production.INFO: count ==23 [2025-03-19 21:16:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718186') start [2025-03-19 21:16:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.ERROR: done [2025-03-19 21:16:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:16:04] Production.INFO: Total Charge 0 [2025-03-19 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718186') end [2025-03-19 21:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:16:04] Production.INFO: 1 [2025-03-19 21:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:16:05] Production.INFO: CreateAllLog End [2025-03-19 21:16:05] Production.INFO: ==4957== Releasing lock... [2025-03-19 21:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:16:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:16:05] Production.INFO: Account Balance End. [2025-03-19 21:16:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:16:05] Production.INFO: ==4953== Releasing lock... [2025-03-19 21:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:16:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:16:06 [end_date_ymd] => 2025-03-19 21:16:06 [RateCDR] => 1 ) [2025-03-19 21:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:16:06' and `end` < '2025-03-19 21:16:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:16:14] Production.ERROR: CronJobId end10 [2025-03-19 21:16:14] Production.INFO: ==4951== Releasing lock... [2025-03-19 21:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:16:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:16:15] Production.INFO: call_cost start [2025-03-19 21:16:15] Production.INFO: call_cost end [2025-03-19 21:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:16:16] Production.INFO: ==4947== Releasing lock... [2025-03-19 21:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:16:18] Production.INFO: count ==2205 [2025-03-19 21:16:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:16:06 - End Time 2025-03-19 21:16:06 [2025-03-19 21:16:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718187', 'tblTempUsageDetail_20' ) start [2025-03-19 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718187', 'tblTempUsageDetail_20' ) end [2025-03-19 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718187', 'tblTempVendorCDR_20' ) start [2025-03-19 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718187', 'tblTempVendorCDR_20' ) end [2025-03-19 21:16:19] Production.INFO: ProcessCDR(1,14718187,1,1,2) [2025-03-19 21:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718187', 'tblTempUsageDetail_20' ) start [2025-03-19 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718187', 'tblTempUsageDetail_20' ) end [2025-03-19 21:16:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:16:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:16:22] Production.INFO: ==4955== Releasing lock... [2025-03-19 21:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:16:22] Production.INFO: 44.5 MB #Memory Used# [2025-03-20 01:17:01] Production.INFO: ==5033== Lock acquired, processing the job... [2025-03-20 01:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:17:01] Production.INFO: neon service started [2025-03-20 01:17:01] Production.INFO: neon service started [2025-03-20 01:17:01] Production.INFO: ==5033== Releasing lock... [2025-03-20 01:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:17:02] Production.INFO: ==5037== Lock acquired, processing the job... [2025-03-19 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:17:02] Production.INFO: ==5037== Releasing lock... [2025-03-19 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:17:02] Production.INFO: ==5039== Lock acquired, processing the job... [2025-03-20 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:17:02] Production.INFO: ==5039== Releasing lock... [2025-03-20 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:17:02] Production.INFO: 26 MB #Memory Used# [2025-03-19 21:17:03] Production.INFO: ==5046== Lock acquired, processing the job... [2025-03-19 21:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:17:03] Production.INFO: ==5052== Lock acquired, processing the job... [2025-03-19 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:17:03] Production.INFO: ==5042== Lock acquired, processing the job... [2025-03-19 21:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 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-03-19 21:17:03] Production.INFO: count ==12 [2025-03-19 21:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 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-03-19 21:17:03] Production.INFO: count ==23 [2025-03-19 21:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718188') start [2025-03-19 21:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:17:03] Production.INFO: ==5044== Lock acquired, processing the job... [2025-03-19 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718188') end [2025-03-19 21:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:17:03] Production.INFO: 1 [2025-03-19 21:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:17:03] Production.INFO: ==5050== Lock acquired, processing the job... [2025-03-19 21:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:17:03] Production.INFO: ==5048== Lock acquired, processing the job... [2025-03-19 21:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:17:03] Production.INFO: ==5052== Releasing lock... [2025-03-19 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:17:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:17:03] Production.INFO: Account Balance Start. [2025-03-19 21:17:03] Production.INFO: CreateAllLog Start [2025-03-19 21:17:03] Production.INFO: 117 [2025-03-19 21:17:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.INFO: ==5044== Releasing lock... [2025-03-19 21:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:17:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.ERROR: done [2025-03-19 21:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:17:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:17:04] Production.ERROR: done [2025-03-19 21:17:04] Production.INFO: Total Charge 0 [2025-03-19 21:17:04] Production.INFO: CreateAllLog End [2025-03-19 21:17:04] Production.INFO: Account Balance End. [2025-03-19 21:17:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:17:04] Production.INFO: ==5048== Releasing lock... [2025-03-19 21:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:17:05 [end_date_ymd] => 2025-03-19 21:17:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:17:05' and `end` < '2025-03-19 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-03-19 21:17:13] Production.ERROR: CronJobId end10 [2025-03-19 21:17:13] Production.INFO: ==5046== Releasing lock... [2025-03-19 21:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:17:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:17:16] Production.INFO: call_cost start [2025-03-19 21:17:16] Production.INFO: call_cost end [2025-03-19 21:17:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:17:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:17:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:17:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:17:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:17:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:17:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:17:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:17:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:17:17] Production.INFO: ==5042== Releasing lock... [2025-03-19 21:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:17:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:17:18] Production.INFO: count ==2211 [2025-03-19 21:17:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:17:05 - End Time 2025-03-19 21:17:05 [2025-03-19 21:17:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718192', 'tblTempUsageDetail_20' ) start [2025-03-19 21:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718192', 'tblTempUsageDetail_20' ) end [2025-03-19 21:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718192', 'tblTempVendorCDR_20' ) start [2025-03-19 21:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718192', 'tblTempVendorCDR_20' ) end [2025-03-19 21:17:19] Production.INFO: ProcessCDR(1,14718192,1,1,2) [2025-03-19 21:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718192', 'tblTempUsageDetail_20' ) start [2025-03-19 21:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718192', 'tblTempUsageDetail_20' ) end [2025-03-19 21:17:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:17:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:17:22] Production.INFO: ==5050== Releasing lock... [2025-03-19 21:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:17:22] Production.INFO: 45 MB #Memory Used# [2025-03-20 01:18:02] Production.INFO: ==5142== Lock acquired, processing the job... [2025-03-20 01:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:18:02] Production.INFO: neon service started [2025-03-20 01:18:02] Production.INFO: neon service started [2025-03-20 01:18:02] Production.INFO: ==5142== Releasing lock... [2025-03-20 01:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:18:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:18:02] Production.INFO: ==5144== Lock acquired, processing the job... [2025-03-19 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:18:02] Production.INFO: ==5144== Releasing lock... [2025-03-19 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:18:02] Production.INFO: ==5146== Lock acquired, processing the job... [2025-03-20 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:18:02] Production.INFO: ==5146== Releasing lock... [2025-03-20 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:18:03] Production.INFO: ==5149== Lock acquired, processing the job... [2025-03-19 21:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:18:03] Production.INFO: ==5159== Lock acquired, processing the job... [2025-03-19 21:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:18:03] Production.INFO: ==5157== Lock acquired, processing the job... [2025-03-19 21:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:18:03] Production.INFO: ==5151== Lock acquired, processing the job... [2025-03-19 21:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:18:03] Production.INFO: ==5153== Lock acquired, processing the job... [2025-03-19 21:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:18:03] Production.INFO: ==5155== Lock acquired, processing the job... [2025-03-19 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:18:03] Production.INFO: count ==12 [2025-03-19 21:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:18:03] Production.INFO: count ==23 [2025-03-19 21:18:03] Production.INFO: Account Balance Start. [2025-03-19 21:18:03] Production.INFO: CreateAllLog Start [2025-03-19 21:18:04] Production.INFO: 117 [2025-03-19 21:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718194') start [2025-03-19 21:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:18:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718194') end [2025-03-19 21:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:18:04] Production.INFO: 1 [2025-03-19 21:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:18:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.ERROR: done [2025-03-19 21:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:18:04] Production.INFO: ==5159== Releasing lock... [2025-03-19 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:18:04] Production.INFO: ==5151== Releasing lock... [2025-03-19 21:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:18:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.ERROR: done [2025-03-19 21:18:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:18:04] Production.INFO: Total Charge 0 [2025-03-19 21:18:04] Production.INFO: CreateAllLog End [2025-03-19 21:18:04] Production.INFO: Account Balance End. [2025-03-19 21:18:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:18:04] Production.INFO: ==5155== Releasing lock... [2025-03-19 21:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:18:05 [end_date_ymd] => 2025-03-19 21:18:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:18:05' and `end` < '2025-03-19 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-03-19 21:18:14] Production.ERROR: CronJobId end10 [2025-03-19 21:18:14] Production.INFO: ==5153== Releasing lock... [2025-03-19 21:18:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:18:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:18:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:18:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:18:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:18:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:18:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:18:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:18:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:18:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:18:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:18:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:18:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:18:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:18:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:18:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:18:16] Production.INFO: call_cost start [2025-03-19 21:18:16] Production.INFO: call_cost end [2025-03-19 21:18:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:18:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:18:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:18:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:18:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:18:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:18:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:18:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:18:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:18:17] Production.INFO: ==5149== Releasing lock... [2025-03-19 21:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:18:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:18:17] Production.INFO: count ==2209 [2025-03-19 21:18:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:18:05 - End Time 2025-03-19 21:18:05 [2025-03-19 21:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718197', 'tblTempUsageDetail_20' ) start [2025-03-19 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718197', 'tblTempUsageDetail_20' ) end [2025-03-19 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718197', 'tblTempVendorCDR_20' ) start [2025-03-19 21:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718197', 'tblTempVendorCDR_20' ) end [2025-03-19 21:18:18] Production.INFO: ProcessCDR(1,14718197,1,1,2) [2025-03-19 21:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718197', 'tblTempUsageDetail_20' ) start [2025-03-19 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718197', 'tblTempUsageDetail_20' ) end [2025-03-19 21:18:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:18:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:18:23] Production.INFO: ==5157== Releasing lock... [2025-03-19 21:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:18:23] Production.INFO: 44.5 MB #Memory Used# [2025-03-20 01:19:01] Production.INFO: ==5237== Lock acquired, processing the job... [2025-03-20 01:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:19:01] Production.INFO: neon service started [2025-03-20 01:19:01] Production.INFO: neon service started [2025-03-20 01:19:01] Production.INFO: ==5237== Releasing lock... [2025-03-20 01:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:19:01] Production.INFO: ==5239== Lock acquired, processing the job... [2025-03-19 21:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:19:02] Production.INFO: ==5239== Releasing lock... [2025-03-19 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:19:02] Production.INFO: ==5241== Lock acquired, processing the job... [2025-03-20 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:19:02] Production.INFO: ==5241== Releasing lock... [2025-03-20 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:19:03] Production.INFO: ==5247== Lock acquired, processing the job... [2025-03-19 21:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:19:03] Production.INFO: ==5243== Lock acquired, processing the job... [2025-03-19 21:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:19:03] Production.INFO: ==5254== Lock acquired, processing the job... [2025-03-19 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:19:03] Production.INFO: ==5245== Lock acquired, processing the job... [2025-03-19 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:19:03] Production.INFO: ==5249== Lock acquired, processing the job... [2025-03-19 21:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 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-03-19 21:19:03] Production.INFO: count ==12 [2025-03-19 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-03-19 21:19:03] Production.INFO: count ==23 [2025-03-19 21:19:03] Production.INFO: Account Balance Start. [2025-03-19 21:19:03] Production.INFO: CreateAllLog Start [2025-03-19 21:19:03] Production.INFO: 117 [2025-03-19 21:19:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718198') start [2025-03-19 21:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:03] Production.INFO: ==5251== Lock acquired, processing the job... [2025-03-19 21:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:19:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:19:03] Production.INFO: ==5245== Releasing lock... [2025-03-19 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718198') end [2025-03-19 21:19:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:19:03] Production.INFO: 1 [2025-03-19 21:19:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:19:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:19:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:03] Production.INFO: Date 2025-03-13 [2025-03-19 21:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:03] Production.INFO: Date 2025-03-14 [2025-03-19 21:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:03] Production.INFO: Date 2025-03-15 [2025-03-19 21:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:03] Production.INFO: ==5254== Releasing lock... [2025-03-19 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:19:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:19:03] Production.INFO: Date 2025-03-16 [2025-03-19 21:19:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:04] Production.ERROR: done [2025-03-19 21:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:19:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:19:04] Production.INFO: Total Charge 0 [2025-03-19 21:19:04] Production.INFO: CreateAllLog End [2025-03-19 21:19:04] Production.ERROR: done [2025-03-19 21:19:04] Production.INFO: Account Balance End. [2025-03-19 21:19:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:19:04] Production.INFO: ==5249== Releasing lock... [2025-03-19 21:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:19:05 [end_date_ymd] => 2025-03-19 21:19:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:19:05' and `end` < '2025-03-19 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-03-19 21:19:12] Production.ERROR: CronJobId end10 [2025-03-19 21:19:12] Production.INFO: ==5247== Releasing lock... [2025-03-19 21:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:19:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:19:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:19:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:19:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:19:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:19:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:19:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:19:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:19:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:19:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:19:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:19:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:19:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:19:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:19:15] Production.INFO: call_cost start [2025-03-19 21:19:15] Production.INFO: call_cost end [2025-03-19 21:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:19:16] Production.INFO: ==5243== Releasing lock... [2025-03-19 21:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:19:17] Production.INFO: count ==2198 [2025-03-19 21:19:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:19:05 - End Time 2025-03-19 21:19:05 [2025-03-19 21:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718202', 'tblTempUsageDetail_20' ) start [2025-03-19 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718202', 'tblTempUsageDetail_20' ) end [2025-03-19 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718202', 'tblTempVendorCDR_20' ) start [2025-03-19 21:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718202', 'tblTempVendorCDR_20' ) end [2025-03-19 21:19:18] Production.INFO: ProcessCDR(1,14718202,1,1,2) [2025-03-19 21:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718202', 'tblTempUsageDetail_20' ) start [2025-03-19 21:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718202', 'tblTempUsageDetail_20' ) end [2025-03-19 21:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:19:22] Production.INFO: ==5251== Releasing lock... [2025-03-19 21:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:19:22] Production.INFO: 45 MB #Memory Used# [2025-03-20 01:20:02] Production.INFO: ==5325== Lock acquired, processing the job... [2025-03-20 01:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:20:02] Production.INFO: neon service started [2025-03-20 01:20:02] Production.INFO: neon service started [2025-03-20 01:20:02] Production.INFO: ==5325== Releasing lock... [2025-03-20 01:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:20:02] Production.INFO: ==5329== Lock acquired, processing the job... [2025-03-20 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:20:02] Production.INFO: ==5329== Releasing lock... [2025-03-20 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:20:02] Production.INFO: ==5327== Lock acquired, processing the job... [2025-03-19 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:20:03] Production.INFO: ==5327== Releasing lock... [2025-03-19 21:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:20:04] Production.INFO: ==5334== Lock acquired, processing the job... [2025-03-19 21:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:20:04] Production.INFO: ==5332== Lock acquired, processing the job... [2025-03-19 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 21:20:04] Production.INFO: ==5336== Lock acquired, processing the job... [2025-03-19 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 21:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 21:20:04] Production.ERROR: CronJob PID - 5334 [2025-03-19 21:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-19 21:20:04] Production.ERROR: CronJob ID - 5 [2025-03-19 21:20:04] Production.ERROR: CronJob Last Run Time 2025-03-19 21:20:00 [2025-03-19 21:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 21:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 21:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 21:20:04] Production.ERROR: CronJob PID - 5336 [2025-03-19 21:20:04] Production.ERROR: CronJob Title - Account Block [2025-03-19 21:20:04] Production.ERROR: CronJob ID - 7 [2025-03-19 21:20:04] Production.ERROR: CronJob Last Run Time 2025-03-19 21:20:00 [2025-03-19 21:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 21:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 21:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 21:20:04] Production.INFO: ==5332== Releasing lock... [2025-03-19 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 21:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 21:20:04] Production.INFO: ==5344== Lock acquired, processing the job... [2025-03-19 21:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 21:20:04] Production.INFO: ==5338== Lock acquired, processing the job... [2025-03-19 21:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:20:04] Production.INFO: ==5340== Lock acquired, processing the job... [2025-03-19 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:20:04] Production.INFO: ==5342== Lock acquired, processing the job... [2025-03-19 21:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:20:04] Production.INFO: Account Balance Start. [2025-03-19 21:20:04] Production.INFO: CreateAllLog Start [2025-03-19 21:20:04] Production.INFO: 117 [2025-03-19 21:20:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:20:04] Production.INFO: ==5346== Lock acquired, processing the job... [2025-03-19 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:20:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:20:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:20:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:20:04] Production.INFO: ==5336== Releasing lock... [2025-03-19 21:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:20:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:20:05] Production.ERROR: done [2025-03-19 21:20:05] Production.INFO: Date 2025-03-12 [2025-03-19 21:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 21: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-03-19 21:20:05] Production.INFO: count ==12 [2025-03-19 21: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-03-19 21:20:05] Production.INFO: Date 2025-03-13 [2025-03-19 21:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:20:05] Production.INFO: count ==23 [2025-03-19 21:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718206') start [2025-03-19 21:20:05] Production.INFO: Date 2025-03-14 [2025-03-19 21:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 21:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718207', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 21:20:05] Production.INFO: Date 2025-03-15 [2025-03-19 21:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:20:05] Production.INFO: Date 2025-03-16 [2025-03-19 21:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:20:05] Production.INFO: Date 2025-03-17 [2025-03-19 21:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718206') end [2025-03-19 21:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:20:05] Production.INFO: 1 [2025-03-19 21:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:20:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:20:05] Production.INFO: ==5346== Releasing lock... [2025-03-19 21:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:20:05] Production.ERROR: done [2025-03-19 21:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:20:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:20:05] Production.INFO: Total Charge 0 [2025-03-19 21:20:05] Production.INFO: CreateAllLog End [2025-03-19 21:20:05] Production.ERROR: done [2025-03-19 21:20:05] Production.INFO: Account Balance End. [2025-03-19 21:20:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:20:05] Production.INFO: ==5340== Releasing lock... [2025-03-19 21:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:20:06 [end_date_ymd] => 2025-03-19 21:20:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:20:06' and `end` < '2025-03-19 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-03-19 21:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718207', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 21:20:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 21:20:10] Production.INFO: ProcessCDR(1,14718207,1,1,2) [2025-03-19 21:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718207,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718207,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:20:10] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:20:10] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:20:10] Production.INFO: ==5344== Releasing lock... [2025-03-19 21:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 21:20:10] Production.INFO: 26 MB #Memory Used# [2025-03-19 21:20:16] Production.ERROR: CronJobId end10 [2025-03-19 21:20:16] Production.INFO: ==5338== Releasing lock... [2025-03-19 21:20:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:20:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:20:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:20:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:20:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:20:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:20:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:20:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:20:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:20:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:20:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:20:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:20:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:20:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:20:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:20:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:20:18] Production.INFO: call_cost start [2025-03-19 21:20:18] Production.INFO: call_cost end [2025-03-19 21:20:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:20:19] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:20:19] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:20:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:20:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:20:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:20:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:20:19] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:20:19] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:20:19] Production.INFO: ==5334== Releasing lock... [2025-03-19 21:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:20:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:20:19] Production.INFO: count ==2203 [2025-03-19 21:20:20] Production.ERROR: pbx CDR StartTime 2025-03-19 18:20:06 - End Time 2025-03-19 21:20:06 [2025-03-19 21:20:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718208', 'tblTempUsageDetail_20' ) start [2025-03-19 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718208', 'tblTempUsageDetail_20' ) end [2025-03-19 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718208', 'tblTempVendorCDR_20' ) start [2025-03-19 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718208', 'tblTempVendorCDR_20' ) end [2025-03-19 21:20:20] Production.INFO: ProcessCDR(1,14718208,1,1,2) [2025-03-19 21:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718208', 'tblTempUsageDetail_20' ) start [2025-03-19 21:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718208', 'tblTempUsageDetail_20' ) end [2025-03-19 21:20:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:20:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:20:23] Production.INFO: ==5342== Releasing lock... [2025-03-19 21:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:20:23] Production.INFO: 44.5 MB #Memory Used# [2025-03-20 01:21:01] Production.INFO: ==5457== Lock acquired, processing the job... [2025-03-20 01:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:21:01] Production.INFO: neon service started [2025-03-20 01:21:01] Production.INFO: neon service started [2025-03-20 01:21:01] Production.INFO: ==5457== Releasing lock... [2025-03-20 01:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:21:01] Production.INFO: ==5460== Lock acquired, processing the job... [2025-03-19 21:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:21:02] Production.INFO: ==5460== Releasing lock... [2025-03-19 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:21:02] Production.INFO: ==5462== Lock acquired, processing the job... [2025-03-20 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:21:02] Production.INFO: ==5462== Releasing lock... [2025-03-20 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:21:02] Production.INFO: ==5464== Lock acquired, processing the job... [2025-03-19 21:21:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:21:03] Production.INFO: ==5466== Lock acquired, processing the job... [2025-03-19 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:21:03] Production.INFO: ==5468== Lock acquired, processing the job... [2025-03-19 21:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:21:03] Production.INFO: ==5466== Releasing lock... [2025-03-19 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:21:03] Production.INFO: ==5470== Lock acquired, processing the job... [2025-03-19 21:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:21:03] Production.INFO: ==5472== Lock acquired, processing the job... [2025-03-19 21:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:21:03] Production.INFO: ==5474== Lock acquired, processing the job... [2025-03-19 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:21:03] Production.INFO: Account Balance Start. [2025-03-19 21:21:03] Production.INFO: CreateAllLog Start [2025-03-19 21:21:03] Production.INFO: 117 [2025-03-19 21:21:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 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-03-19 21:21:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:21:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:21:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:03] Production.INFO: count ==12 [2025-03-19 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-03-19 21:21:03] Production.INFO: count ==23 [2025-03-19 21:21:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:21:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718212') start [2025-03-19 21:21:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:03] Production.INFO: Date 2025-03-13 [2025-03-19 21:21:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:03] Production.INFO: Date 2025-03-14 [2025-03-19 21:21:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718212') end [2025-03-19 21:21:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:21:03] Production.INFO: 1 [2025-03-19 21:21:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:21:04] Production.ERROR: done [2025-03-19 21:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:21:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:04] Production.INFO: ==5474== Releasing lock... [2025-03-19 21:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:21:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:04] Production.ERROR: done [2025-03-19 21:21:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:21:04] Production.INFO: Total Charge 0 [2025-03-19 21:21:04] Production.INFO: CreateAllLog End [2025-03-19 21:21:04] Production.INFO: Account Balance End. [2025-03-19 21:21:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:21:04] Production.INFO: ==5470== Releasing lock... [2025-03-19 21:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:21:05 [end_date_ymd] => 2025-03-19 21:21:05 [RateCDR] => 1 ) [2025-03-19 21:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:21:05' and `end` < '2025-03-19 21:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:21:15] Production.ERROR: CronJobId end10 [2025-03-19 21:21:15] Production.INFO: ==5468== Releasing lock... [2025-03-19 21:21:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:21:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:21:15] Production.INFO: call_cost start [2025-03-19 21:21:15] Production.INFO: call_cost end [2025-03-19 21:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:21:16] Production.INFO: ==5464== Releasing lock... [2025-03-19 21:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:21:18] Production.INFO: count ==2165 [2025-03-19 21:21:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:21:05 - End Time 2025-03-19 21:21:05 [2025-03-19 21:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718213', 'tblTempUsageDetail_20' ) start [2025-03-19 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718213', 'tblTempUsageDetail_20' ) end [2025-03-19 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718213', 'tblTempVendorCDR_20' ) start [2025-03-19 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718213', 'tblTempVendorCDR_20' ) end [2025-03-19 21:21:18] Production.INFO: ProcessCDR(1,14718213,1,1,2) [2025-03-19 21:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718213', 'tblTempUsageDetail_20' ) start [2025-03-19 21:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718213', 'tblTempUsageDetail_20' ) end [2025-03-19 21:21:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:21:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:21:22] Production.INFO: ==5472== Releasing lock... [2025-03-19 21:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:21:22] Production.INFO: 44.5 MB #Memory Used# [2025-03-20 01:22:01] Production.INFO: ==5545== Lock acquired, processing the job... [2025-03-20 01:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:22:01] Production.INFO: neon service started [2025-03-20 01:22:02] Production.INFO: neon service started [2025-03-20 01:22:02] Production.INFO: ==5545== Releasing lock... [2025-03-20 01:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:22:02] Production.INFO: ==5547== Lock acquired, processing the job... [2025-03-19 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:22:02] Production.INFO: ==5547== Releasing lock... [2025-03-19 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:22:02] Production.INFO: ==5549== Lock acquired, processing the job... [2025-03-20 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:22:02] Production.INFO: ==5549== Releasing lock... [2025-03-20 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:22:03] Production.INFO: ==5559== Lock acquired, processing the job... [2025-03-19 21:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:22:03] Production.INFO: ==5561== Lock acquired, processing the job... [2025-03-19 21:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:22:03] Production.INFO: ==5551== Lock acquired, processing the job... [2025-03-19 21:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:22:03] Production.INFO: ==5553== Lock acquired, processing the job... [2025-03-19 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:22:03] Production.INFO: ==5555== Lock acquired, processing the job... [2025-03-19 21:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:22:03] Production.INFO: ==5557== Lock acquired, processing the job... [2025-03-19 21:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:22:04] Production.INFO: count ==12 [2025-03-19 21:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:22:04] Production.INFO: count ==23 [2025-03-19 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718215') start [2025-03-19 21:22:04] Production.INFO: Account Balance Start. [2025-03-19 21:22:04] Production.INFO: CreateAllLog Start [2025-03-19 21:22:04] Production.ERROR: done [2025-03-19 21:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:22:04] Production.INFO: 117 [2025-03-19 21:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:22:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718215') end [2025-03-19 21:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:22:04] Production.INFO: 1 [2025-03-19 21:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:22:04] Production.INFO: ==5561== Releasing lock... [2025-03-19 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:22:04] Production.ERROR: done [2025-03-19 21:22:04] Production.INFO: ==5553== Releasing lock... [2025-03-19 21:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:22:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:22:04] Production.INFO: Total Charge 0 [2025-03-19 21:22:04] Production.INFO: CreateAllLog End [2025-03-19 21:22:04] Production.INFO: Account Balance End. [2025-03-19 21:22:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:22:04] Production.INFO: ==5557== Releasing lock... [2025-03-19 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:22:05 [end_date_ymd] => 2025-03-19 21:22:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:22:05' and `end` < '2025-03-19 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-03-19 21:22:14] Production.ERROR: CronJobId end10 [2025-03-19 21:22:14] Production.INFO: ==5555== Releasing lock... [2025-03-19 21:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:22:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:22:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:22:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:22:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:22:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:22:16] Production.INFO: call_cost start [2025-03-19 21:22:16] Production.INFO: call_cost end [2025-03-19 21:22:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:22:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:22:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:22:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:22:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:22:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:22:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:22:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:22:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:22:17] Production.INFO: ==5551== Releasing lock... [2025-03-19 21:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:22:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:22:17] Production.INFO: count ==2160 [2025-03-19 21:22:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:22:05 - End Time 2025-03-19 21:22:05 [2025-03-19 21:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718218', 'tblTempUsageDetail_20' ) start [2025-03-19 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718218', 'tblTempUsageDetail_20' ) end [2025-03-19 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718218', 'tblTempVendorCDR_20' ) start [2025-03-19 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718218', 'tblTempVendorCDR_20' ) end [2025-03-19 21:22:18] Production.INFO: ProcessCDR(1,14718218,1,1,2) [2025-03-19 21:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718218', 'tblTempUsageDetail_20' ) start [2025-03-19 21:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718218', 'tblTempUsageDetail_20' ) end [2025-03-19 21:22:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:22:22] Production.INFO: ==5559== Releasing lock... [2025-03-19 21:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:22:22] Production.INFO: 44.25 MB #Memory Used# [2025-03-20 01:23:01] Production.INFO: ==5637== Lock acquired, processing the job... [2025-03-20 01:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:23:01] Production.INFO: neon service started [2025-03-20 01:23:01] Production.INFO: neon service started [2025-03-20 01:23:01] Production.INFO: ==5637== Releasing lock... [2025-03-20 01:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:23:01] Production.INFO: ==5639== Lock acquired, processing the job... [2025-03-19 21:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:23:02] Production.INFO: ==5639== Releasing lock... [2025-03-19 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:23:02] Production.INFO: ==5641== Lock acquired, processing the job... [2025-03-20 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:23:02] Production.INFO: ==5641== Releasing lock... [2025-03-20 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:23:02] Production.INFO: ==5644== Lock acquired, processing the job... [2025-03-19 21:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:23:03] Production.INFO: ==5646== Lock acquired, processing the job... [2025-03-19 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:23:03] Production.INFO: ==5650== Lock acquired, processing the job... [2025-03-19 21:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:23:03] Production.INFO: Account Balance Start. [2025-03-19 21:23:03] Production.INFO: CreateAllLog Start [2025-03-19 21:23:03] Production.INFO: 117 [2025-03-19 21:23:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.INFO: ==5648== Lock acquired, processing the job... [2025-03-19 21:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:23:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.INFO: ==5654== Lock acquired, processing the job... [2025-03-19 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:23:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:23:03] Production.INFO: ==5646== Releasing lock... [2025-03-19 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:23:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.INFO: ==5652== Lock acquired, processing the job... [2025-03-19 21:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:23:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.INFO: count ==12 [2025-03-19 21:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:23:03] Production.INFO: Date 2025-03-13 [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:23:03] Production.INFO: count ==23 [2025-03-19 21:23:03] Production.INFO: Date 2025-03-14 [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718222') start [2025-03-19 21:23:03] Production.INFO: Date 2025-03-15 [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.INFO: Date 2025-03-16 [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718222') end [2025-03-19 21:23:03] Production.INFO: Date 2025-03-17 [2025-03-19 21:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:23:03] Production.INFO: 1 [2025-03-19 21:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.INFO: Date 2025-03-18 [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.INFO: Date 2025-03-19 [2025-03-19 21:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:23:03] Production.INFO: Total Charge 0 [2025-03-19 21:23:03] Production.INFO: ==5654== Releasing lock... [2025-03-19 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:23:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:23:03] Production.INFO: CreateAllLog End [2025-03-19 21:23:03] Production.ERROR: done [2025-03-19 21:23:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:23:04] Production.ERROR: done [2025-03-19 21:23:04] Production.INFO: Account Balance End. [2025-03-19 21:23:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:23:04] Production.INFO: ==5650== Releasing lock... [2025-03-19 21:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:23:05 [end_date_ymd] => 2025-03-19 21:23:05 [RateCDR] => 1 ) [2025-03-19 21:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:23:05' and `end` < '2025-03-19 21:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:23:13] Production.ERROR: CronJobId end10 [2025-03-19 21:23:13] Production.INFO: ==5648== Releasing lock... [2025-03-19 21:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:23:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:23:14] Production.INFO: call_cost start [2025-03-19 21:23:14] Production.INFO: call_cost end [2025-03-19 21:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:23:15] Production.INFO: ==5644== Releasing lock... [2025-03-19 21:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:23:17] Production.INFO: count ==2150 [2025-03-19 21:23:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:23:05 - End Time 2025-03-19 21:23:05 [2025-03-19 21:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718223', 'tblTempUsageDetail_20' ) start [2025-03-19 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718223', 'tblTempUsageDetail_20' ) end [2025-03-19 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718223', 'tblTempVendorCDR_20' ) start [2025-03-19 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718223', 'tblTempVendorCDR_20' ) end [2025-03-19 21:23:18] Production.INFO: ProcessCDR(1,14718223,1,1,2) [2025-03-19 21:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718223', 'tblTempUsageDetail_20' ) start [2025-03-19 21:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718223', 'tblTempUsageDetail_20' ) end [2025-03-19 21:23:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:23:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:23:22] Production.INFO: ==5652== Releasing lock... [2025-03-19 21:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:23:22] Production.INFO: 44.75 MB #Memory Used# [2025-03-20 01:24:01] Production.INFO: ==5733== Lock acquired, processing the job... [2025-03-20 01:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:24:01] Production.INFO: neon service started [2025-03-20 01:24:01] Production.INFO: neon service started [2025-03-20 01:24:01] Production.INFO: ==5733== Releasing lock... [2025-03-20 01:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:24:02] Production.INFO: ==5737== Lock acquired, processing the job... [2025-03-20 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:24:02] Production.INFO: ==5737== Releasing lock... [2025-03-20 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:24:02] Production.INFO: ==5735== Lock acquired, processing the job... [2025-03-19 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:24:02] Production.INFO: ==5735== Releasing lock... [2025-03-19 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:24:03] Production.INFO: ==5743== Lock acquired, processing the job... [2025-03-19 21:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:24:03] Production.INFO: ==5739== Lock acquired, processing the job... [2025-03-19 21:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:24:03] Production.INFO: ==5748== Lock acquired, processing the job... [2025-03-19 21:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:24:03] Production.INFO: ==5741== Lock acquired, processing the job... [2025-03-19 21:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:24:04] Production.INFO: ==5745== Lock acquired, processing the job... [2025-03-19 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:24:04] Production.INFO: ==5750== Lock acquired, processing the job... [2025-03-19 21:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:24:04] Production.INFO: Account Balance Start. [2025-03-19 21:24:04] Production.INFO: CreateAllLog Start [2025-03-19 21:24:04] Production.INFO: 117 [2025-03-19 21:24:04] Production.INFO: ==5741== Releasing lock... [2025-03-19 21:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:24:04] Production.INFO: count ==12 [2025-03-19 21:24:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:24:04] Production.INFO: count ==23 [2025-03-19 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718226') start [2025-03-19 21:24:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.ERROR: done [2025-03-19 21:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:24:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718226') end [2025-03-19 21:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:24:04] Production.INFO: 1 [2025-03-19 21:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:24:04] Production.ERROR: done [2025-03-19 21:24:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.INFO: ==5750== Releasing lock... [2025-03-19 21:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:24:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:24:04] Production.INFO: Total Charge 0 [2025-03-19 21:24:04] Production.INFO: CreateAllLog End [2025-03-19 21:24:05] Production.INFO: Account Balance End. [2025-03-19 21:24:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:24:05] Production.INFO: ==5745== Releasing lock... [2025-03-19 21:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:24:05 [end_date_ymd] => 2025-03-19 21:24:05 [RateCDR] => 1 ) [2025-03-19 21:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:24:05' and `end` < '2025-03-19 21:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:24:13] Production.ERROR: CronJobId end10 [2025-03-19 21:24:13] Production.INFO: ==5743== Releasing lock... [2025-03-19 21:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:24:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:24:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:24:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:24:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:24:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:24:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:24:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:24:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:24:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:24:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:24:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:24:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:24:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:24:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:24:16] Production.INFO: call_cost start [2025-03-19 21:24:16] Production.INFO: call_cost end [2025-03-19 21:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:24:17] Production.INFO: ==5739== Releasing lock... [2025-03-19 21:24:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:24:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:24:18] Production.INFO: count ==2148 [2025-03-19 21:24:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:24:05 - End Time 2025-03-19 21:24:05 [2025-03-19 21:24:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718228', 'tblTempUsageDetail_20' ) start [2025-03-19 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718228', 'tblTempUsageDetail_20' ) end [2025-03-19 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718228', 'tblTempVendorCDR_20' ) start [2025-03-19 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718228', 'tblTempVendorCDR_20' ) end [2025-03-19 21:24:19] Production.INFO: ProcessCDR(1,14718228,1,1,2) [2025-03-19 21:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718228', 'tblTempUsageDetail_20' ) start [2025-03-19 21:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718228', 'tblTempUsageDetail_20' ) end [2025-03-19 21:24:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:24:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:24:22] Production.INFO: ==5748== Releasing lock... [2025-03-19 21:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:24:22] Production.INFO: 44.75 MB #Memory Used# [2025-03-20 01:25:01] Production.INFO: ==5816== Lock acquired, processing the job... [2025-03-20 01:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:25:01] Production.INFO: neon service started [2025-03-20 01:25:01] Production.INFO: neon service started [2025-03-20 01:25:01] Production.INFO: ==5816== Releasing lock... [2025-03-20 01:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:25:01] Production.INFO: ==5818== Lock acquired, processing the job... [2025-03-19 21:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:25:02] Production.INFO: ==5818== Releasing lock... [2025-03-19 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:25:02] Production.INFO: ==5820== Lock acquired, processing the job... [2025-03-20 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:25:02] Production.INFO: ==5820== Releasing lock... [2025-03-20 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:25:03] Production.INFO: ==5831== Lock acquired, processing the job... [2025-03-19 21:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:25:03] Production.INFO: ==5833== Lock acquired, processing the job... [2025-03-19 21:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:25:03] Production.INFO: ==5823== Lock acquired, processing the job... [2025-03-19 21:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:25:03] Production.INFO: ==5825== Lock acquired, processing the job... [2025-03-19 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:25:03] Production.INFO: ==5827== Lock acquired, processing the job... [2025-03-19 21:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:25:03] Production.INFO: ==5829== Lock acquired, processing the job... [2025-03-19 21:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:25:03] Production.INFO: count ==12 [2025-03-19 21:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:25:03] Production.INFO: Account Balance Start. [2025-03-19 21:25:03] Production.INFO: CreateAllLog Start [2025-03-19 21:25:03] Production.INFO: 117 [2025-03-19 21:25:03] Production.INFO: count ==23 [2025-03-19 21:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:25:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:25:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718229') start [2025-03-19 21:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:25:03] Production.ERROR: done [2025-03-19 21:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:25:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:25:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:25:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718229') end [2025-03-19 21:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:25:03] Production.INFO: 1 [2025-03-19 21:25:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:25:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:25:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:03] Production.INFO: ==5833== Releasing lock... [2025-03-19 21:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:25:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:25:03] Production.INFO: ==5825== Releasing lock... [2025-03-19 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:25:03] Production.ERROR: done [2025-03-19 21:25:03] Production.INFO: Date 2025-03-13 [2025-03-19 21:25:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:03] Production.INFO: Date 2025-03-14 [2025-03-19 21:25:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:25:04] Production.INFO: Total Charge 0 [2025-03-19 21:25:04] Production.INFO: CreateAllLog End [2025-03-19 21:25:04] Production.INFO: Account Balance End. [2025-03-19 21:25:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:25:04] Production.INFO: ==5829== Releasing lock... [2025-03-19 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:25:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:25:04 [end_date_ymd] => 2025-03-19 21:25:04 [RateCDR] => 1 ) [2025-03-19 21: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-03-19 18:25:04' and `end` < '2025-03-19 21: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-03-19 21:25:13] Production.ERROR: CronJobId end10 [2025-03-19 21:25:13] Production.INFO: ==5827== Releasing lock... [2025-03-19 21:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:25:15] Production.INFO: call_cost start [2025-03-19 21:25:15] Production.INFO: call_cost end [2025-03-19 21:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:25:16] Production.INFO: ==5823== Releasing lock... [2025-03-19 21:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:25:17] Production.INFO: count ==2140 [2025-03-19 21:25:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:25:04 - End Time 2025-03-19 21:25:04 [2025-03-19 21:25:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718233', 'tblTempUsageDetail_20' ) start [2025-03-19 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718233', 'tblTempUsageDetail_20' ) end [2025-03-19 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718233', 'tblTempVendorCDR_20' ) start [2025-03-19 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718233', 'tblTempVendorCDR_20' ) end [2025-03-19 21:25:18] Production.INFO: ProcessCDR(1,14718233,1,1,2) [2025-03-19 21:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718233', 'tblTempUsageDetail_20' ) start [2025-03-19 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718233', 'tblTempUsageDetail_20' ) end [2025-03-19 21:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:25:21] Production.INFO: ==5831== Releasing lock... [2025-03-19 21:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:25:21] Production.INFO: 44 MB #Memory Used# [2025-03-20 01:26:01] Production.INFO: ==5909== Lock acquired, processing the job... [2025-03-20 01:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:26:01] Production.INFO: neon service started [2025-03-20 01:26:01] Production.INFO: neon service started [2025-03-20 01:26:01] Production.INFO: ==5909== Releasing lock... [2025-03-20 01:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:26:02] Production.INFO: ==5913== Lock acquired, processing the job... [2025-03-20 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:26:02] Production.INFO: ==5913== Releasing lock... [2025-03-20 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:26:02] Production.INFO: ==5911== Lock acquired, processing the job... [2025-03-19 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:26:02] Production.INFO: ==5911== Releasing lock... [2025-03-19 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:26:03] Production.INFO: ==5916== Lock acquired, processing the job... [2025-03-19 21:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:26:03] Production.INFO: ==5926== Lock acquired, processing the job... [2025-03-19 21:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:26:03] Production.INFO: ==5918== Lock acquired, processing the job... [2025-03-19 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:26:03] Production.INFO: ==5920== Lock acquired, processing the job... [2025-03-19 21:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 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-03-19 21:26:03] Production.INFO: ==5922== Lock acquired, processing the job... [2025-03-19 21:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:26:04] Production.INFO: count ==12 [2025-03-19 21:26:04] Production.INFO: ==5924== Lock acquired, processing the job... [2025-03-19 21:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:26:04] Production.INFO: count ==23 [2025-03-19 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718235') start [2025-03-19 21:26:04] Production.INFO: Account Balance Start. [2025-03-19 21:26:04] Production.INFO: CreateAllLog Start [2025-03-19 21:26:04] Production.INFO: 117 [2025-03-19 21:26:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718235') end [2025-03-19 21:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:26:04] Production.INFO: 1 [2025-03-19 21:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:26:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.INFO: ==5918== Releasing lock... [2025-03-19 21:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:26:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.INFO: ==5926== Releasing lock... [2025-03-19 21:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:26:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:26:04] Production.INFO: Total Charge 0 [2025-03-19 21:26:04] Production.INFO: CreateAllLog End [2025-03-19 21:26:04] Production.ERROR: done [2025-03-19 21:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:26:04] Production.ERROR: done [2025-03-19 21:26:04] Production.INFO: Account Balance End. [2025-03-19 21:26:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:26:05] Production.INFO: ==5922== Releasing lock... [2025-03-19 21:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:26:05 [end_date_ymd] => 2025-03-19 21:26:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:26:05' and `end` < '2025-03-19 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-03-19 21:26:13] Production.ERROR: CronJobId end10 [2025-03-19 21:26:13] Production.INFO: ==5920== Releasing lock... [2025-03-19 21:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:26:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:26:14] Production.INFO: call_cost start [2025-03-19 21:26:14] Production.INFO: call_cost end [2025-03-19 21:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:26:15] Production.INFO: ==5916== Releasing lock... [2025-03-19 21:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:26:18] Production.INFO: count ==2142 [2025-03-19 21:26:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:26:05 - End Time 2025-03-19 21:26:05 [2025-03-19 21:26:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718238', 'tblTempUsageDetail_20' ) start [2025-03-19 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718238', 'tblTempUsageDetail_20' ) end [2025-03-19 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718238', 'tblTempVendorCDR_20' ) start [2025-03-19 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718238', 'tblTempVendorCDR_20' ) end [2025-03-19 21:26:19] Production.INFO: ProcessCDR(1,14718238,1,1,2) [2025-03-19 21:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718238', 'tblTempUsageDetail_20' ) start [2025-03-19 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718238', 'tblTempUsageDetail_20' ) end [2025-03-19 21:26:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:26:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:26:22] Production.INFO: ==5924== Releasing lock... [2025-03-19 21:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:26:22] Production.INFO: 44 MB #Memory Used# [2025-03-20 01:27:01] Production.INFO: ==5993== Lock acquired, processing the job... [2025-03-20 01:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:27:01] Production.INFO: neon service started [2025-03-20 01:27:01] Production.INFO: neon service started [2025-03-20 01:27:01] Production.INFO: ==5993== Releasing lock... [2025-03-20 01:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:27:01] Production.INFO: ==5995== Lock acquired, processing the job... [2025-03-19 21:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:27:02] Production.INFO: ==5995== Releasing lock... [2025-03-19 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:27:02] Production.INFO: ==5997== Lock acquired, processing the job... [2025-03-20 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:27:02] Production.INFO: ==5997== Releasing lock... [2025-03-20 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:27:02] Production.INFO: ==6003== Lock acquired, processing the job... [2025-03-19 21:27:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:27:02] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:27:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:27:02] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:27:03] Production.INFO: ==6009== Lock acquired, processing the job... [2025-03-19 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:27:03] Production.INFO: ==5999== Lock acquired, processing the job... [2025-03-19 21:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:27:03] Production.INFO: ==6001== Lock acquired, processing the job... [2025-03-19 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:27:03] Production.INFO: count ==12 [2025-03-19 21:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:27:03] Production.INFO: count ==23 [2025-03-19 21:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718239') start [2025-03-19 21:27:03] Production.INFO: ==6007== Lock acquired, processing the job... [2025-03-19 21:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:27:03] Production.INFO: ==6005== Lock acquired, processing the job... [2025-03-19 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718239') end [2025-03-19 21:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:27:03] Production.INFO: 1 [2025-03-19 21:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:27:03] Production.INFO: ==6009== Releasing lock... [2025-03-19 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:27:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:27:03] Production.INFO: Account Balance Start. [2025-03-19 21:27:03] Production.INFO: CreateAllLog Start [2025-03-19 21:27:03] Production.INFO: 117 [2025-03-19 21:27:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:03] Production.INFO: Date 2025-03-13 [2025-03-19 21:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:03] Production.INFO: Date 2025-03-14 [2025-03-19 21:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:03] Production.INFO: Date 2025-03-15 [2025-03-19 21:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:04] Production.ERROR: done [2025-03-19 21:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:27:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:04] Production.INFO: ==6001== Releasing lock... [2025-03-19 21:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:27:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:27:04] Production.INFO: Total Charge 0 [2025-03-19 21:27:04] Production.INFO: CreateAllLog End [2025-03-19 21:27:04] Production.ERROR: done [2025-03-19 21:27:04] Production.INFO: Account Balance End. [2025-03-19 21:27:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:27:04] Production.INFO: ==6005== Releasing lock... [2025-03-19 21:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:27:05 [end_date_ymd] => 2025-03-19 21:27:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:27:05' and `end` < '2025-03-19 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-03-19 21:27:13] Production.ERROR: CronJobId end10 [2025-03-19 21:27:13] Production.INFO: ==6003== Releasing lock... [2025-03-19 21:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:27:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:27:15] Production.INFO: call_cost start [2025-03-19 21:27:15] Production.INFO: call_cost end [2025-03-19 21:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:27:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:27:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:27:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:27:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:27:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:27:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:27:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:27:16] Production.INFO: ==5999== Releasing lock... [2025-03-19 21:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:27:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:27:17] Production.INFO: count ==2141 [2025-03-19 21:27:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:27:05 - End Time 2025-03-19 21:27:05 [2025-03-19 21:27:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718243', 'tblTempUsageDetail_20' ) start [2025-03-19 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718243', 'tblTempUsageDetail_20' ) end [2025-03-19 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718243', 'tblTempVendorCDR_20' ) start [2025-03-19 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718243', 'tblTempVendorCDR_20' ) end [2025-03-19 21:27:18] Production.INFO: ProcessCDR(1,14718243,1,1,2) [2025-03-19 21:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718243', 'tblTempUsageDetail_20' ) start [2025-03-19 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718243', 'tblTempUsageDetail_20' ) end [2025-03-19 21:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:27:21] Production.INFO: ==6007== Releasing lock... [2025-03-19 21:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:27:21] Production.INFO: 44 MB #Memory Used# [2025-03-20 01:28:01] Production.INFO: ==6075== Lock acquired, processing the job... [2025-03-20 01:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:28:01] Production.INFO: neon service started [2025-03-20 01:28:01] Production.INFO: neon service started [2025-03-20 01:28:01] Production.INFO: ==6075== Releasing lock... [2025-03-20 01:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:28:02] Production.INFO: ==6078== Lock acquired, processing the job... [2025-03-19 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:28:02] Production.INFO: ==6078== Releasing lock... [2025-03-19 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:28:02] Production.INFO: ==6080== Lock acquired, processing the job... [2025-03-20 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:28:02] Production.INFO: ==6080== Releasing lock... [2025-03-20 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:28:03] Production.INFO: ==6088== Lock acquired, processing the job... [2025-03-19 21:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:28:03] Production.INFO: ==6092== Lock acquired, processing the job... [2025-03-19 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:28:03] Production.INFO: ==6084== Lock acquired, processing the job... [2025-03-19 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:28:03] Production.INFO: ==6082== Lock acquired, processing the job... [2025-03-19 21:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:28:03] Production.INFO: ==6086== Lock acquired, processing the job... [2025-03-19 21:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 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-03-19 21:28:03] Production.INFO: Account Balance Start. [2025-03-19 21:28:03] Production.INFO: CreateAllLog Start [2025-03-19 21:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:28:03] Production.INFO: 117 [2025-03-19 21:28:03] Production.INFO: count ==12 [2025-03-19 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-03-19 21:28:03] Production.INFO: count ==23 [2025-03-19 21:28:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718244') start [2025-03-19 21:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:28:03] Production.INFO: ==6090== Lock acquired, processing the job... [2025-03-19 21:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:28:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718244') end [2025-03-19 21:28:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:28:03] Production.INFO: 1 [2025-03-19 21:28:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:28:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:04] Production.INFO: ==6092== Releasing lock... [2025-03-19 21:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:28:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:04] Production.INFO: ==6084== Releasing lock... [2025-03-19 21:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:28:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:04] Production.ERROR: done [2025-03-19 21:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:28:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:28:04] Production.INFO: Total Charge 0 [2025-03-19 21:28:04] Production.INFO: CreateAllLog End [2025-03-19 21:28:04] Production.ERROR: done [2025-03-19 21:28:04] Production.INFO: Account Balance End. [2025-03-19 21:28:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:28:04] Production.INFO: ==6088== Releasing lock... [2025-03-19 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:28:05 [end_date_ymd] => 2025-03-19 21:28:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:28:05' and `end` < '2025-03-19 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-03-19 21:28:13] Production.ERROR: CronJobId end10 [2025-03-19 21:28:13] Production.INFO: ==6086== Releasing lock... [2025-03-19 21:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:28:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:28:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:28:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:28:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:28:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:28:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:28:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:28:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:28:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:28:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:28:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:28:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:28:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:28:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:28:15] Production.INFO: call_cost start [2025-03-19 21:28:15] Production.INFO: call_cost end [2025-03-19 21:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:28:16] Production.INFO: ==6082== Releasing lock... [2025-03-19 21:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:28:17] Production.INFO: count ==2141 [2025-03-19 21:28:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:28:05 - End Time 2025-03-19 21:28:05 [2025-03-19 21:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718248', 'tblTempUsageDetail_20' ) start [2025-03-19 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718248', 'tblTempUsageDetail_20' ) end [2025-03-19 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718248', 'tblTempVendorCDR_20' ) start [2025-03-19 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718248', 'tblTempVendorCDR_20' ) end [2025-03-19 21:28:18] Production.INFO: ProcessCDR(1,14718248,1,1,2) [2025-03-19 21:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718248', 'tblTempUsageDetail_20' ) start [2025-03-19 21:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718248', 'tblTempUsageDetail_20' ) end [2025-03-19 21:28:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:28:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:28:22] Production.INFO: ==6090== Releasing lock... [2025-03-19 21:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:28:22] Production.INFO: 44 MB #Memory Used# [2025-03-20 01:29:02] Production.INFO: ==6162== Lock acquired, processing the job... [2025-03-20 01:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:29:02] Production.INFO: neon service started [2025-03-20 01:29:02] Production.INFO: neon service started [2025-03-20 01:29:02] Production.INFO: ==6162== Releasing lock... [2025-03-20 01:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:29:02] Production.INFO: ==6164== Lock acquired, processing the job... [2025-03-19 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:29:03] Production.INFO: ==6164== Releasing lock... [2025-03-19 21:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:29:03] Production.INFO: ==6166== Lock acquired, processing the job... [2025-03-20 01:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:29:03] Production.INFO: ==6166== Releasing lock... [2025-03-20 01:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:29:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:29:04] Production.INFO: ==6177== Lock acquired, processing the job... [2025-03-19 21:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:29:04] Production.INFO: ==6179== Lock acquired, processing the job... [2025-03-19 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:29:04] Production.INFO: ==6171== Lock acquired, processing the job... [2025-03-19 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:29:04] Production.INFO: ==6169== Lock acquired, processing the job... [2025-03-19 21:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:29:04] Production.INFO: ==6173== Lock acquired, processing the job... [2025-03-19 21:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:29:04] Production.INFO: count ==12 [2025-03-19 21:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:29:04] Production.INFO: count ==23 [2025-03-19 21:29:04] Production.INFO: ==6175== Lock acquired, processing the job... [2025-03-19 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718249') start [2025-03-19 21:29:04] Production.ERROR: done [2025-03-19 21:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:29:04] Production.INFO: Account Balance Start. [2025-03-19 21:29:04] Production.INFO: CreateAllLog Start [2025-03-19 21:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:29:04] Production.INFO: 117 [2025-03-19 21:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:29:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718249') end [2025-03-19 21:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:29:04] Production.INFO: 1 [2025-03-19 21:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:29:04] Production.ERROR: done [2025-03-19 21:29:04] Production.INFO: ==6179== Releasing lock... [2025-03-19 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:29:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:04] Production.INFO: ==6171== Releasing lock... [2025-03-19 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:29:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:29:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:29:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:29:05] Production.INFO: Total Charge 0 [2025-03-19 21:29:05] Production.INFO: CreateAllLog End [2025-03-19 21:29:05] Production.INFO: Account Balance End. [2025-03-19 21:29:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:29:05] Production.INFO: ==6175== Releasing lock... [2025-03-19 21:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:29:05 [end_date_ymd] => 2025-03-19 21:29:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:29:05' and `end` < '2025-03-19 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-03-19 21:29:14] Production.ERROR: CronJobId end10 [2025-03-19 21:29:14] Production.INFO: ==6173== Releasing lock... [2025-03-19 21:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:29:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:29:16] Production.INFO: call_cost start [2025-03-19 21:29:16] Production.INFO: call_cost end [2025-03-19 21:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:29:16] Production.INFO: ==6169== Releasing lock... [2025-03-19 21:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:29:18] Production.INFO: count ==2138 [2025-03-19 21:29:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:29:05 - End Time 2025-03-19 21:29:05 [2025-03-19 21:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718253', 'tblTempUsageDetail_20' ) start [2025-03-19 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718253', 'tblTempUsageDetail_20' ) end [2025-03-19 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718253', 'tblTempVendorCDR_20' ) start [2025-03-19 21:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718253', 'tblTempVendorCDR_20' ) end [2025-03-19 21:29:18] Production.INFO: ProcessCDR(1,14718253,1,1,2) [2025-03-19 21:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718253', 'tblTempUsageDetail_20' ) start [2025-03-19 21:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718253', 'tblTempUsageDetail_20' ) end [2025-03-19 21:29:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:29:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:29:22] Production.INFO: ==6177== Releasing lock... [2025-03-19 21:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:29:22] Production.INFO: 44 MB #Memory Used# [2025-03-20 01:30:01] Production.INFO: ==6247== Lock acquired, processing the job... [2025-03-20 01:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:30:01] Production.INFO: neon service started [2025-03-20 01:30:01] Production.INFO: neon service started [2025-03-20 01:30:01] Production.INFO: ==6247== Releasing lock... [2025-03-20 01:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:30:02] Production.INFO: ==6251== Lock acquired, processing the job... [2025-03-20 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:30:02] Production.INFO: ==6251== Releasing lock... [2025-03-20 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:30:02] Production.INFO: ==6249== Lock acquired, processing the job... [2025-03-19 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:30:02] Production.INFO: ==6249== Releasing lock... [2025-03-19 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:30:04] Production.INFO: ==6258== Lock acquired, processing the job... [2025-03-19 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:30:04] Production.INFO: ==6266== Lock acquired, processing the job... [2025-03-19 21:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 21:30:04] Production.INFO: ==6254== Lock acquired, processing the job... [2025-03-19 21:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 21:30:04] Production.INFO: ==6256== Lock acquired, processing the job... [2025-03-19 21:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 21:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 21:30:04] Production.ERROR: CronJob PID - 6258 [2025-03-19 21:30:04] Production.ERROR: CronJob Title - Account Block [2025-03-19 21:30:04] Production.ERROR: CronJob ID - 7 [2025-03-19 21:30:04] Production.ERROR: CronJob Last Run Time 2025-03-19 21:30:00 [2025-03-19 21:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 21:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 21:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 21:30:04] Production.ERROR: CronJob PID - 6266 [2025-03-19 21:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-19 21:30:04] Production.ERROR: CronJob ID - 17 [2025-03-19 21:30:04] Production.ERROR: CronJob Last Run Time 2025-03-19 21:30:00 [2025-03-19 21:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 21:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 21:30:04] Production.INFO: ==6268== Lock acquired, processing the job... [2025-03-19 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:30:04] Production.INFO: ==6260== Lock acquired, processing the job... [2025-03-19 21:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:30:04] Production.INFO: ==6262== Lock acquired, processing the job... [2025-03-19 21:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:30:04] Production.INFO: ==6264== Lock acquired, processing the job... [2025-03-19 21:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 21:30:04] Production.INFO: ==6254== Releasing lock... [2025-03-19 21:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 21:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 21:30:04] Production.INFO: ==6258== Releasing lock... [2025-03-19 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:30:04] Production.INFO: Account Balance Start. [2025-03-19 21:30:04] Production.INFO: CreateAllLog Start [2025-03-19 21:30:04] Production.INFO: 117 [2025-03-19 21:30:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 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-03-19 21:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:30:04] Production.INFO: count ==12 [2025-03-19 21:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 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-03-19 21:30:04] Production.INFO: count ==23 [2025-03-19 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718256') start [2025-03-19 21:30:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:04] Production.ERROR: done [2025-03-19 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718256') end [2025-03-19 21:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:30:04] Production.INFO: 1 [2025-03-19 21:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:30:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:04] Production.ERROR: done [2025-03-19 21:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 21:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718258', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 21:30:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:04] Production.INFO: ==6268== Releasing lock... [2025-03-19 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:30:05] Production.INFO: Date 2025-03-12 [2025-03-19 21:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:05] Production.INFO: Date 2025-03-13 [2025-03-19 21:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:05] Production.INFO: Date 2025-03-14 [2025-03-19 21:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:05] Production.INFO: Date 2025-03-15 [2025-03-19 21:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:05] Production.INFO: Date 2025-03-16 [2025-03-19 21:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:05] Production.INFO: Date 2025-03-17 [2025-03-19 21:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:05] Production.ERROR: done [2025-03-19 21:30:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:30:05] Production.INFO: Total Charge 0 [2025-03-19 21:30:05] Production.INFO: CreateAllLog End [2025-03-19 21:30:05] Production.INFO: Account Balance End. [2025-03-19 21:30:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:30:05] Production.INFO: ==6262== Releasing lock... [2025-03-19 21:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:30:06 [end_date_ymd] => 2025-03-19 21:30:06 [RateCDR] => 1 ) [2025-03-19 21:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:30:06' and `end` < '2025-03-19 21:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718258', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 21:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 21:30:08] Production.INFO: ProcessCDR(1,14718258,1,1,2) [2025-03-19 21:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718258,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718258,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:30:08] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:30:08] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:30:08] Production.INFO: ==6266== Releasing lock... [2025-03-19 21:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 21:30:08] Production.INFO: 26 MB #Memory Used# [2025-03-19 21:30:17] Production.ERROR: CronJobId end10 [2025-03-19 21:30:17] Production.INFO: ==6260== Releasing lock... [2025-03-19 21:30:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:30:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:30:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:30:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:30:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:30:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:30:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:30:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:30:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:30:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:30:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:30:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:30:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:30:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:30:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:30:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:30:18] Production.INFO: call_cost start [2025-03-19 21:30:18] Production.INFO: call_cost end [2025-03-19 21:30:18] Production.INFO: count ==2142 [2025-03-19 21:30:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:30:19] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:30:19] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:30:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:30:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:30:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:30:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:30:19] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:30:19] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:30:19] Production.INFO: ==6256== Releasing lock... [2025-03-19 21:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:30:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:30:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:30:06 - End Time 2025-03-19 21:30:06 [2025-03-19 21:30:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718259', 'tblTempUsageDetail_20' ) start [2025-03-19 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718259', 'tblTempUsageDetail_20' ) end [2025-03-19 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718259', 'tblTempVendorCDR_20' ) start [2025-03-19 21:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718259', 'tblTempVendorCDR_20' ) end [2025-03-19 21:30:19] Production.INFO: ProcessCDR(1,14718259,1,1,2) [2025-03-19 21:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718259', 'tblTempUsageDetail_20' ) start [2025-03-19 21:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718259', 'tblTempUsageDetail_20' ) end [2025-03-19 21:30:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:30:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:30:23] Production.INFO: ==6264== Releasing lock... [2025-03-19 21:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:30:23] Production.INFO: 44 MB #Memory Used# [2025-03-20 01:31:02] Production.INFO: ==6351== Lock acquired, processing the job... [2025-03-20 01:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:31:02] Production.INFO: neon service started [2025-03-20 01:31:02] Production.INFO: neon service started [2025-03-20 01:31:02] Production.INFO: ==6351== Releasing lock... [2025-03-20 01:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:31:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 21:31:03] Production.INFO: ==6353== Lock acquired, processing the job... [2025-03-19 21:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:31:03] Production.INFO: ==6355== Lock acquired, processing the job... [2025-03-20 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:31:03] Production.INFO: ==6355== Releasing lock... [2025-03-20 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:31:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:31:03] Production.INFO: ==6353== Releasing lock... [2025-03-19 21:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:31:04] Production.INFO: ==6360== Lock acquired, processing the job... [2025-03-19 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:31:04] Production.INFO: ==6366== Lock acquired, processing the job... [2025-03-19 21:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:31:04] Production.INFO: ==6358== Lock acquired, processing the job... [2025-03-19 21:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:31:04] Production.INFO: ==6362== Lock acquired, processing the job... [2025-03-19 21:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:31:04] Production.INFO: ==6364== Lock acquired, processing the job... [2025-03-19 21:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:31:04] Production.INFO: ==6360== Releasing lock... [2025-03-19 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:31:04] Production.INFO: ==6368== Lock acquired, processing the job... [2025-03-19 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:31:04] Production.INFO: Account Balance Start. [2025-03-19 21:31:04] Production.INFO: CreateAllLog Start [2025-03-19 21:31:04] Production.INFO: 117 [2025-03-19 21:31:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:31:04] Production.INFO: count ==12 [2025-03-19 21:31: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-03-19 21:31:05] Production.INFO: count ==23 [2025-03-19 21:31:05] Production.ERROR: done [2025-03-19 21:31:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:31:05] Production.INFO: Date 2025-03-09 [2025-03-19 21:31:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718263') start [2025-03-19 21:31:05] Production.INFO: Date 2025-03-10 [2025-03-19 21:31:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:05] Production.INFO: Date 2025-03-11 [2025-03-19 21:31:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:05] Production.ERROR: done [2025-03-19 21:31:05] Production.INFO: Date 2025-03-12 [2025-03-19 21:31:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718263') end [2025-03-19 21:31:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:31:05] Production.INFO: 1 [2025-03-19 21:31:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:31:05] Production.INFO: Date 2025-03-13 [2025-03-19 21:31:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:05] Production.INFO: ==6368== Releasing lock... [2025-03-19 21:31:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:31:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:31:05] Production.INFO: Date 2025-03-14 [2025-03-19 21:31:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:05] Production.INFO: Date 2025-03-15 [2025-03-19 21:31:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:05] Production.INFO: Date 2025-03-16 [2025-03-19 21:31:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:05] Production.INFO: Date 2025-03-17 [2025-03-19 21:31:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:31:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:31:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:31:05] Production.INFO: Total Charge 0 [2025-03-19 21:31:05] Production.INFO: CreateAllLog End [2025-03-19 21:31:05] Production.INFO: Account Balance End. [2025-03-19 21:31:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:31:05] Production.INFO: ==6364== Releasing lock... [2025-03-19 21:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:31:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:31:06 [end_date_ymd] => 2025-03-19 21:31:06 [RateCDR] => 1 ) [2025-03-19 21: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-03-19 18:31:06' and `end` < '2025-03-19 21: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-03-19 21:31:14] Production.ERROR: CronJobId end10 [2025-03-19 21:31:14] Production.INFO: ==6362== Releasing lock... [2025-03-19 21:31:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:31:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:31:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:31:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:31:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:31:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:31:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:31:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:31:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:31:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:31:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:31:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:31:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:31:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:31:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:31:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:31:16] Production.INFO: call_cost start [2025-03-19 21:31:16] Production.INFO: call_cost end [2025-03-19 21:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:31:16] Production.INFO: ==6358== Releasing lock... [2025-03-19 21:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:31:19] Production.INFO: count ==2141 [2025-03-19 21:31:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:31:06 - End Time 2025-03-19 21:31:06 [2025-03-19 21:31:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718264', 'tblTempUsageDetail_20' ) start [2025-03-19 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718264', 'tblTempUsageDetail_20' ) end [2025-03-19 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718264', 'tblTempVendorCDR_20' ) start [2025-03-19 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718264', 'tblTempVendorCDR_20' ) end [2025-03-19 21:31:19] Production.INFO: ProcessCDR(1,14718264,1,1,2) [2025-03-19 21:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718264', 'tblTempUsageDetail_20' ) start [2025-03-19 21:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718264', 'tblTempUsageDetail_20' ) end [2025-03-19 21:31:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:31:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:31:23] Production.INFO: ==6366== Releasing lock... [2025-03-19 21:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:31:23] Production.INFO: 44 MB #Memory Used# [2025-03-20 01:32:01] Production.INFO: ==6435== Lock acquired, processing the job... [2025-03-20 01:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:32:01] Production.INFO: neon service started [2025-03-20 01:32:01] Production.INFO: neon service started [2025-03-20 01:32:01] Production.INFO: ==6435== Releasing lock... [2025-03-20 01:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:32:02] Production.INFO: ==6438== Lock acquired, processing the job... [2025-03-19 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:32:02] Production.INFO: ==6438== Releasing lock... [2025-03-19 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:32:02] Production.INFO: ==6440== Lock acquired, processing the job... [2025-03-20 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:32:02] Production.INFO: ==6440== Releasing lock... [2025-03-20 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:32:03] Production.INFO: ==6452== Lock acquired, processing the job... [2025-03-19 21:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:32:03] Production.INFO: ==6450== Lock acquired, processing the job... [2025-03-19 21:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:32:03] Production.INFO: ==6446== Lock acquired, processing the job... [2025-03-19 21:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:32:03] Production.INFO: ==6442== Lock acquired, processing the job... [2025-03-19 21:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:32:03] Production.INFO: count ==12 [2025-03-19 21:32:03] Production.INFO: ==6444== Lock acquired, processing the job... [2025-03-19 21:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:32:03] Production.INFO: count ==23 [2025-03-19 21:32:04] Production.INFO: ==6448== Lock acquired, processing the job... [2025-03-19 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718265') start [2025-03-19 21:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:32:04] Production.INFO: Account Balance Start. [2025-03-19 21:32:04] Production.INFO: CreateAllLog Start [2025-03-19 21:32:04] Production.INFO: 117 [2025-03-19 21:32:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718265') end [2025-03-19 21:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:32:04] Production.INFO: 1 [2025-03-19 21:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:32:04] Production.INFO: ==6452== Releasing lock... [2025-03-19 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:32:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.ERROR: done [2025-03-19 21:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:32:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.INFO: ==6444== Releasing lock... [2025-03-19 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:32:04] Production.ERROR: done [2025-03-19 21:32:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:32:04] Production.INFO: Total Charge 0 [2025-03-19 21:32:04] Production.INFO: CreateAllLog End [2025-03-19 21:32:05] Production.INFO: Account Balance End. [2025-03-19 21:32:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:32:05] Production.INFO: ==6448== Releasing lock... [2025-03-19 21:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:32:05 [end_date_ymd] => 2025-03-19 21:32:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:32:05' and `end` < '2025-03-19 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-03-19 21:32:13] Production.ERROR: CronJobId end10 [2025-03-19 21:32:13] Production.INFO: ==6446== Releasing lock... [2025-03-19 21:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:32:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:32:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:32:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:32:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:32:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:32:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:32:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:32:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:32:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:32:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:32:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:32:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:32:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:32:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:32:15] Production.INFO: call_cost start [2025-03-19 21:32:16] Production.INFO: call_cost end [2025-03-19 21:32:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:32:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:32:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:32:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:32:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:32:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:32:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:32:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:32:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:32:17] Production.INFO: ==6442== Releasing lock... [2025-03-19 21:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:32:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:32:17] Production.INFO: count ==2128 [2025-03-19 21:32:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:32:05 - End Time 2025-03-19 21:32:05 [2025-03-19 21:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718269', 'tblTempUsageDetail_20' ) start [2025-03-19 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718269', 'tblTempUsageDetail_20' ) end [2025-03-19 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718269', 'tblTempVendorCDR_20' ) start [2025-03-19 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718269', 'tblTempVendorCDR_20' ) end [2025-03-19 21:32:18] Production.INFO: ProcessCDR(1,14718269,1,1,2) [2025-03-19 21:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718269', 'tblTempUsageDetail_20' ) start [2025-03-19 21:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718269', 'tblTempUsageDetail_20' ) end [2025-03-19 21:32:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:32:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:32:22] Production.INFO: ==6450== Releasing lock... [2025-03-19 21:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:32:22] Production.INFO: 44 MB #Memory Used# [2025-03-20 01:33:02] Production.INFO: ==6516== Lock acquired, processing the job... [2025-03-20 01:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:33:02] Production.INFO: neon service started [2025-03-20 01:33:02] Production.INFO: neon service started [2025-03-20 01:33:02] Production.INFO: ==6516== Releasing lock... [2025-03-20 01:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:33:02] Production.INFO: ==6520== Lock acquired, processing the job... [2025-03-20 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:33:02] Production.INFO: ==6520== Releasing lock... [2025-03-20 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:33:02] Production.INFO: ==6518== Lock acquired, processing the job... [2025-03-19 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:33:03] Production.INFO: ==6518== Releasing lock... [2025-03-19 21:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:33:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:33:04] Production.INFO: ==6529== Lock acquired, processing the job... [2025-03-19 21:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:33:04] Production.INFO: ==6522== Lock acquired, processing the job... [2025-03-19 21:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:33:04] Production.INFO: ==6533== Lock acquired, processing the job... [2025-03-19 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:33:04] Production.INFO: ==6525== Lock acquired, processing the job... [2025-03-19 21:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:33:04] Production.INFO: Account Balance Start. [2025-03-19 21:33:04] Production.INFO: CreateAllLog Start [2025-03-19 21:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:33:04] Production.INFO: 117 [2025-03-19 21:33:04] Production.INFO: ==6527== Lock acquired, processing the job... [2025-03-19 21:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:33:04] Production.INFO: Date 2025-03-08 [2025-03-19 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-03-19 21:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:33:04] Production.INFO: count ==23 [2025-03-19 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718271') start [2025-03-19 21:33:04] Production.INFO: ==6531== Lock acquired, processing the job... [2025-03-19 21:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:33:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:33:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718271') end [2025-03-19 21:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:33:04] Production.INFO: 1 [2025-03-19 21:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:33:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:04] Production.INFO: ==6533== Releasing lock... [2025-03-19 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:33:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:04] Production.INFO: ==6525== Releasing lock... [2025-03-19 21:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:33:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:05] Production.ERROR: done [2025-03-19 21:33:05] Production.INFO: Date 2025-03-17 [2025-03-19 21:33:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:33:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:33:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:33:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:33:05] Production.INFO: Total Charge 0 [2025-03-19 21:33:05] Production.INFO: CreateAllLog End [2025-03-19 21:33:05] Production.ERROR: done [2025-03-19 21:33:05] Production.INFO: Account Balance End. [2025-03-19 21:33:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:33:05] Production.INFO: ==6529== Releasing lock... [2025-03-19 21:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:33:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:33:06 [end_date_ymd] => 2025-03-19 21:33:06 [RateCDR] => 1 ) [2025-03-19 21:33:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:33:06' and `end` < '2025-03-19 21:33:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:33:15] Production.INFO: call_cost start [2025-03-19 21:33:15] Production.INFO: call_cost end [2025-03-19 21:33:15] Production.ERROR: CronJobId end10 [2025-03-19 21:33:15] Production.INFO: ==6527== Releasing lock... [2025-03-19 21:33:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:33:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:33:16] Production.INFO: ==6522== Releasing lock... [2025-03-19 21:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:33:18] Production.INFO: count ==2127 [2025-03-19 21:33:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:33:06 - End Time 2025-03-19 21:33:06 [2025-03-19 21:33:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718274', 'tblTempUsageDetail_20' ) start [2025-03-19 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718274', 'tblTempUsageDetail_20' ) end [2025-03-19 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718274', 'tblTempVendorCDR_20' ) start [2025-03-19 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718274', 'tblTempVendorCDR_20' ) end [2025-03-19 21:33:19] Production.INFO: ProcessCDR(1,14718274,1,1,2) [2025-03-19 21:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718274', 'tblTempUsageDetail_20' ) start [2025-03-19 21:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718274', 'tblTempUsageDetail_20' ) end [2025-03-19 21:33:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:33:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:33:23] Production.INFO: ==6531== Releasing lock... [2025-03-19 21:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:33:23] Production.INFO: 44 MB #Memory Used# [2025-03-20 01:34:01] Production.INFO: ==6599== Lock acquired, processing the job... [2025-03-20 01:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:34:01] Production.INFO: neon service started [2025-03-20 01:34:01] Production.INFO: neon service started [2025-03-20 01:34:01] Production.INFO: ==6599== Releasing lock... [2025-03-20 01:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:34:02] Production.INFO: ==6601== Lock acquired, processing the job... [2025-03-19 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:34:02] Production.INFO: ==6601== Releasing lock... [2025-03-19 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:34:02] Production.INFO: ==6603== Lock acquired, processing the job... [2025-03-20 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:34:02] Production.INFO: ==6603== Releasing lock... [2025-03-20 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:34:03] Production.INFO: ==6607== Lock acquired, processing the job... [2025-03-19 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:34:03] Production.INFO: ==6605== Lock acquired, processing the job... [2025-03-19 21:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:34:03] Production.INFO: ==6615== Lock acquired, processing the job... [2025-03-19 21:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:34:03] Production.INFO: ==6609== Lock acquired, processing the job... [2025-03-19 21:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:34:03] Production.INFO: ==6611== Lock acquired, processing the job... [2025-03-19 21:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 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-03-19 21:34:03] Production.INFO: ==6613== Lock acquired, processing the job... [2025-03-19 21:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:34:03] Production.INFO: count ==12 [2025-03-19 21:34:03] Production.INFO: ==6607== Releasing lock... [2025-03-19 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-03-19 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:34:03] Production.INFO: count ==23 [2025-03-19 21:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718277') start [2025-03-19 21:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:34:03] Production.INFO: Account Balance Start. [2025-03-19 21:34:03] Production.INFO: CreateAllLog Start [2025-03-19 21:34:03] Production.INFO: 117 [2025-03-19 21:34:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:34:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718277') end [2025-03-19 21:34:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:34:03] Production.INFO: 1 [2025-03-19 21:34:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:34:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:03] Production.INFO: ==6615== Releasing lock... [2025-03-19 21:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:34:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:34:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:04] Production.ERROR: done [2025-03-19 21:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:34:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:34:04] Production.INFO: Total Charge 0 [2025-03-19 21:34:04] Production.INFO: CreateAllLog End [2025-03-19 21:34:04] Production.ERROR: done [2025-03-19 21:34:04] Production.INFO: Account Balance End. [2025-03-19 21:34:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:34:04] Production.INFO: ==6611== Releasing lock... [2025-03-19 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:34:05 [end_date_ymd] => 2025-03-19 21:34:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:34:05' and `end` < '2025-03-19 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-03-19 21:34:14] Production.ERROR: CronJobId end10 [2025-03-19 21:34:14] Production.INFO: ==6609== Releasing lock... [2025-03-19 21:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:34:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:34:15] Production.INFO: call_cost start [2025-03-19 21:34:15] Production.INFO: call_cost end [2025-03-19 21:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:34:16] Production.INFO: ==6605== Releasing lock... [2025-03-19 21:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:34:17] Production.INFO: count ==2128 [2025-03-19 21:34:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:34:05 - End Time 2025-03-19 21:34:05 [2025-03-19 21:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718279', 'tblTempUsageDetail_20' ) start [2025-03-19 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718279', 'tblTempUsageDetail_20' ) end [2025-03-19 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718279', 'tblTempVendorCDR_20' ) start [2025-03-19 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718279', 'tblTempVendorCDR_20' ) end [2025-03-19 21:34:18] Production.INFO: ProcessCDR(1,14718279,1,1,2) [2025-03-19 21:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718279', 'tblTempUsageDetail_20' ) start [2025-03-19 21:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718279', 'tblTempUsageDetail_20' ) end [2025-03-19 21:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:34:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:34:22] Production.INFO: ==6613== Releasing lock... [2025-03-19 21:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:34:22] Production.INFO: 44 MB #Memory Used# [2025-03-20 01:35:02] Production.INFO: ==6682== Lock acquired, processing the job... [2025-03-20 01:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:35:02] Production.INFO: neon service started [2025-03-20 01:35:02] Production.INFO: neon service started [2025-03-20 01:35:02] Production.INFO: ==6682== Releasing lock... [2025-03-20 01:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:35:02] Production.INFO: ==6684== Lock acquired, processing the job... [2025-03-19 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:35:02] Production.INFO: ==6684== Releasing lock... [2025-03-19 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:35:03] Production.INFO: ==6686== Lock acquired, processing the job... [2025-03-20 01:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:35:03] Production.INFO: ==6686== Releasing lock... [2025-03-20 01:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:35:03] Production.INFO: ==6693== Lock acquired, processing the job... [2025-03-19 21:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:35:03] Production.INFO: ==6697== Lock acquired, processing the job... [2025-03-19 21:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:35:03] Production.INFO: ==6699== Lock acquired, processing the job... [2025-03-19 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:35:04] Production.INFO: ==6695== Lock acquired, processing the job... [2025-03-19 21:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 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-03-19 21:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:35:04] Production.INFO: ==6689== Lock acquired, processing the job... [2025-03-19 21:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:35:04] Production.INFO: ==6691== Lock acquired, processing the job... [2025-03-19 21:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:35:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:35:04] Production.INFO: count ==23 [2025-03-19 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718280') start [2025-03-19 21:35:04] Production.INFO: Account Balance Start. [2025-03-19 21:35:04] Production.INFO: CreateAllLog Start [2025-03-19 21:35:04] Production.INFO: 117 [2025-03-19 21:35:04] Production.ERROR: done [2025-03-19 21:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:35:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718280') end [2025-03-19 21:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:35:04] Production.INFO: 1 [2025-03-19 21:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:35:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.INFO: ==6699== Releasing lock... [2025-03-19 21:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:35:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.ERROR: done [2025-03-19 21:35:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.INFO: ==6691== Releasing lock... [2025-03-19 21:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:35:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:35:04] Production.INFO: Total Charge 0 [2025-03-19 21:35:04] Production.INFO: CreateAllLog End [2025-03-19 21:35:05] Production.INFO: Account Balance End. [2025-03-19 21:35:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:35:05] Production.INFO: ==6695== Releasing lock... [2025-03-19 21:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:35:05 [end_date_ymd] => 2025-03-19 21:35:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:35:05' and `end` < '2025-03-19 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-03-19 21:35:14] Production.ERROR: CronJobId end10 [2025-03-19 21:35:14] Production.INFO: ==6693== Releasing lock... [2025-03-19 21:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:35:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:35:15] Production.INFO: call_cost start [2025-03-19 21:35:15] Production.INFO: call_cost end [2025-03-19 21:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:35:16] Production.INFO: ==6689== Releasing lock... [2025-03-19 21:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:35:18] Production.INFO: count ==2108 [2025-03-19 21:35:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:35:05 - End Time 2025-03-19 21:35:05 [2025-03-19 21:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718284', 'tblTempUsageDetail_20' ) start [2025-03-19 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718284', 'tblTempUsageDetail_20' ) end [2025-03-19 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718284', 'tblTempVendorCDR_20' ) start [2025-03-19 21:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718284', 'tblTempVendorCDR_20' ) end [2025-03-19 21:35:18] Production.INFO: ProcessCDR(1,14718284,1,1,2) [2025-03-19 21:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718284', 'tblTempUsageDetail_20' ) start [2025-03-19 21:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718284', 'tblTempUsageDetail_20' ) end [2025-03-19 21:35:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:35:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:35:22] Production.INFO: ==6697== Releasing lock... [2025-03-19 21:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:35:22] Production.INFO: 44 MB #Memory Used# [2025-03-20 01:36:01] Production.INFO: ==6802== Lock acquired, processing the job... [2025-03-20 01:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:36:01] Production.INFO: neon service started [2025-03-20 01:36:01] Production.INFO: neon service started [2025-03-20 01:36:01] Production.INFO: ==6802== Releasing lock... [2025-03-20 01:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:36:02] Production.INFO: ==6804== Lock acquired, processing the job... [2025-03-19 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:36:02] Production.INFO: ==6804== Releasing lock... [2025-03-19 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:36:02] Production.INFO: ==6806== Lock acquired, processing the job... [2025-03-20 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:36:02] Production.INFO: ==6806== Releasing lock... [2025-03-20 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:36:03] Production.INFO: ==6815== Lock acquired, processing the job... [2025-03-19 21:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:36:03] Production.INFO: ==6819== Lock acquired, processing the job... [2025-03-19 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:36:03] Production.INFO: Account Balance Start. [2025-03-19 21:36:03] Production.INFO: CreateAllLog Start [2025-03-19 21:36:03] Production.INFO: 117 [2025-03-19 21:36:03] Production.INFO: ==6809== Lock acquired, processing the job... [2025-03-19 21:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 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-03-19 21:36:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:36:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:03] Production.INFO: count ==12 [2025-03-19 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-03-19 21:36:03] Production.INFO: count ==23 [2025-03-19 21:36:03] Production.INFO: ==6811== Lock acquired, processing the job... [2025-03-19 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:36:03] Production.INFO: ==6813== Lock acquired, processing the job... [2025-03-19 21:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718286') start [2025-03-19 21:36:03] Production.INFO: ==6817== Lock acquired, processing the job... [2025-03-19 21:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:36:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:36:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:36:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:36:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:36:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:36:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718286') end [2025-03-19 21:36:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:36:03] Production.INFO: 1 [2025-03-19 21:36:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:36:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:36:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:36:03] Production.INFO: Date 2025-03-13 [2025-03-19 21:36:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:03] Production.INFO: Date 2025-03-14 [2025-03-19 21:36:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:03] Production.INFO: ==6819== Releasing lock... [2025-03-19 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:36:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:36:03] Production.INFO: ==6811== Releasing lock... [2025-03-19 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:36:03] Production.INFO: Date 2025-03-15 [2025-03-19 21:36:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:03] Production.INFO: Date 2025-03-16 [2025-03-19 21:36:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:04] Production.ERROR: done [2025-03-19 21:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:36:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:04] Production.ERROR: done [2025-03-19 21:36:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:36:04] Production.INFO: Total Charge 0 [2025-03-19 21:36:04] Production.INFO: CreateAllLog End [2025-03-19 21:36:04] Production.INFO: Account Balance End. [2025-03-19 21:36:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:36:05] Production.INFO: ==6815== Releasing lock... [2025-03-19 21:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:36:05 [end_date_ymd] => 2025-03-19 21:36:05 [RateCDR] => 1 ) [2025-03-19 21:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:36:05' and `end` < '2025-03-19 21:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:36:14] Production.ERROR: CronJobId end10 [2025-03-19 21:36:14] Production.INFO: ==6813== Releasing lock... [2025-03-19 21:36:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:36:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:36:15] Production.INFO: call_cost start [2025-03-19 21:36:15] Production.INFO: call_cost end [2025-03-19 21:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:36:16] Production.INFO: ==6809== Releasing lock... [2025-03-19 21:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:36:17] Production.INFO: count ==2107 [2025-03-19 21:36:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:36:05 - End Time 2025-03-19 21:36:05 [2025-03-19 21:36:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718289', 'tblTempUsageDetail_20' ) start [2025-03-19 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718289', 'tblTempUsageDetail_20' ) end [2025-03-19 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718289', 'tblTempVendorCDR_20' ) start [2025-03-19 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718289', 'tblTempVendorCDR_20' ) end [2025-03-19 21:36:18] Production.INFO: ProcessCDR(1,14718289,1,1,2) [2025-03-19 21:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718289', 'tblTempUsageDetail_20' ) start [2025-03-19 21:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718289', 'tblTempUsageDetail_20' ) end [2025-03-19 21:36:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:36:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:36:22] Production.INFO: ==6817== Releasing lock... [2025-03-19 21:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:36:22] Production.INFO: 43.75 MB #Memory Used# [2025-03-20 01:37:02] Production.INFO: ==6896== Lock acquired, processing the job... [2025-03-20 01:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:37:02] Production.INFO: neon service started [2025-03-20 01:37:02] Production.INFO: neon service started [2025-03-20 01:37:02] Production.INFO: ==6896== Releasing lock... [2025-03-20 01:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:37:02] Production.INFO: ==6898== Lock acquired, processing the job... [2025-03-19 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:37:02] Production.INFO: ==6898== Releasing lock... [2025-03-19 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:37:03] Production.INFO: ==6900== Lock acquired, processing the job... [2025-03-20 01:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:37:03] Production.INFO: ==6900== Releasing lock... [2025-03-20 01:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:37:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:37:03] Production.INFO: ==6902== Lock acquired, processing the job... [2025-03-19 21:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:37:03] Production.INFO: ==6904== Lock acquired, processing the job... [2025-03-19 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:37:03] Production.INFO: ==6906== Lock acquired, processing the job... [2025-03-19 21:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:37:04] Production.INFO: ==6908== Lock acquired, processing the job... [2025-03-19 21:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:37:04] Production.INFO: ==6912== Lock acquired, processing the job... [2025-03-19 21:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:37:04] Production.INFO: ==6910== Lock acquired, processing the job... [2025-03-19 21:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:37:04] Production.INFO: Account Balance Start. [2025-03-19 21:37:04] Production.INFO: CreateAllLog Start [2025-03-19 21:37:04] Production.INFO: 117 [2025-03-19 21:37:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 21: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-03-19 21:37:04] Production.INFO: count ==12 [2025-03-19 21:37:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:37:04] Production.INFO: count ==23 [2025-03-19 21:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718293') start [2025-03-19 21:37:04] Production.INFO: ==6904== Releasing lock... [2025-03-19 21:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:37:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:37:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718293') end [2025-03-19 21:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:37:04] Production.INFO: 1 [2025-03-19 21:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:37:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:37:04] Production.INFO: ==6912== Releasing lock... [2025-03-19 21:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:37:04] Production.ERROR: done [2025-03-19 21:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:37:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:37:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:37:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:37:04] Production.ERROR: done [2025-03-19 21:37:05] Production.INFO: Date 2025-03-16 [2025-03-19 21:37:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:37:05] Production.INFO: Date 2025-03-17 [2025-03-19 21:37:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:37:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:37:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:37:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:37:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:37:05] Production.INFO: Total Charge 0 [2025-03-19 21:37:05] Production.INFO: CreateAllLog End [2025-03-19 21:37:05] Production.INFO: Account Balance End. [2025-03-19 21:37:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:37:05] Production.INFO: ==6908== Releasing lock... [2025-03-19 21:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:37:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:37:05 [end_date_ymd] => 2025-03-19 21:37:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:37:05' and `end` < '2025-03-19 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-03-19 21:37:14] Production.ERROR: CronJobId end10 [2025-03-19 21:37:14] Production.INFO: ==6906== Releasing lock... [2025-03-19 21:37:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:37:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:37:15] Production.INFO: call_cost start [2025-03-19 21:37:15] Production.INFO: call_cost end [2025-03-19 21:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:37:16] Production.INFO: ==6902== Releasing lock... [2025-03-19 21:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:37:18] Production.INFO: count ==2101 [2025-03-19 21:37:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:37:05 - End Time 2025-03-19 21:37:05 [2025-03-19 21:37:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718294', 'tblTempUsageDetail_20' ) start [2025-03-19 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718294', 'tblTempUsageDetail_20' ) end [2025-03-19 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718294', 'tblTempVendorCDR_20' ) start [2025-03-19 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718294', 'tblTempVendorCDR_20' ) end [2025-03-19 21:37:19] Production.INFO: ProcessCDR(1,14718294,1,1,2) [2025-03-19 21:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718294', 'tblTempUsageDetail_20' ) start [2025-03-19 21:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718294', 'tblTempUsageDetail_20' ) end [2025-03-19 21:37:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:37:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:37:22] Production.INFO: ==6910== Releasing lock... [2025-03-19 21:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:37:22] Production.INFO: 43.75 MB #Memory Used# [2025-03-20 01:38:01] Production.INFO: ==6989== Lock acquired, processing the job... [2025-03-20 01:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:38:01] Production.INFO: neon service started [2025-03-20 01:38:01] Production.INFO: neon service started [2025-03-20 01:38:01] Production.INFO: ==6989== Releasing lock... [2025-03-20 01:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:38:02] Production.INFO: ==6991== Lock acquired, processing the job... [2025-03-19 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:38:02] Production.INFO: ==6993== Lock acquired, processing the job... [2025-03-20 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:38:02] Production.INFO: ==6993== Releasing lock... [2025-03-20 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:38:02] Production.INFO: ==6991== Releasing lock... [2025-03-19 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:38:03] Production.INFO: ==6996== Lock acquired, processing the job... [2025-03-19 21:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:38:03] Production.INFO: ==6998== Lock acquired, processing the job... [2025-03-19 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:38:03] Production.INFO: ==7000== Lock acquired, processing the job... [2025-03-19 21:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:38:04] Production.INFO: ==7002== Lock acquired, processing the job... [2025-03-19 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:38:04] Production.INFO: ==7004== Lock acquired, processing the job... [2025-03-19 21:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:38:04] Production.INFO: ==7006== Lock acquired, processing the job... [2025-03-19 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:38:04] Production.INFO: Account Balance Start. [2025-03-19 21:38:04] Production.INFO: CreateAllLog Start [2025-03-19 21:38:04] Production.INFO: 117 [2025-03-19 21:38:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:38:04] Production.INFO: ==6998== Releasing lock... [2025-03-19 21:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:38:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 21:38:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:38:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:38:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:38:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:38:04] Production.INFO: count ==23 [2025-03-19 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718298') start [2025-03-19 21:38:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:38:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718298') end [2025-03-19 21:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:38:04] Production.INFO: 1 [2025-03-19 21:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:38:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:38:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:38:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:38:04] Production.INFO: ==7006== Releasing lock... [2025-03-19 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:38:04] Production.ERROR: done [2025-03-19 21:38:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:38:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:38:04] Production.INFO: Total Charge 0 [2025-03-19 21:38:05] Production.INFO: CreateAllLog End [2025-03-19 21:38:05] Production.ERROR: done [2025-03-19 21:38:05] Production.INFO: Account Balance End. [2025-03-19 21:38:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:38:05] Production.INFO: ==7002== Releasing lock... [2025-03-19 21:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:38:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:38:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:38:06 [end_date_ymd] => 2025-03-19 21:38:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:38:06' and `end` < '2025-03-19 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-03-19 21:38:13] Production.ERROR: CronJobId end10 [2025-03-19 21:38:13] Production.INFO: ==7000== Releasing lock... [2025-03-19 21:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:38:15] Production.INFO: call_cost start [2025-03-19 21:38:15] Production.INFO: call_cost end [2025-03-19 21:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:38:16] Production.INFO: ==6996== Releasing lock... [2025-03-19 21:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:38:18] Production.INFO: count ==2095 [2025-03-19 21:38:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:38:06 - End Time 2025-03-19 21:38:06 [2025-03-19 21:38:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718299', 'tblTempUsageDetail_20' ) start [2025-03-19 21:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718299', 'tblTempUsageDetail_20' ) end [2025-03-19 21:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718299', 'tblTempVendorCDR_20' ) start [2025-03-19 21:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718299', 'tblTempVendorCDR_20' ) end [2025-03-19 21:38:19] Production.INFO: ProcessCDR(1,14718299,1,1,2) [2025-03-19 21:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718299', 'tblTempUsageDetail_20' ) start [2025-03-19 21:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718299', 'tblTempUsageDetail_20' ) end [2025-03-19 21:38:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:38:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:38:22] Production.INFO: ==7004== Releasing lock... [2025-03-19 21:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:38:22] Production.INFO: 43.75 MB #Memory Used# [2025-03-20 01:39:02] Production.INFO: ==7078== Lock acquired, processing the job... [2025-03-20 01:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:39:02] Production.INFO: neon service started [2025-03-20 01:39:02] Production.INFO: neon service started [2025-03-20 01:39:02] Production.INFO: ==7078== Releasing lock... [2025-03-20 01:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:39:02] Production.INFO: ==7080== Lock acquired, processing the job... [2025-03-19 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:39:02] Production.INFO: ==7082== Lock acquired, processing the job... [2025-03-20 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:39:02] Production.INFO: ==7082== Releasing lock... [2025-03-20 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:39:03] Production.INFO: ==7080== Releasing lock... [2025-03-19 21:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:39:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:39:03] Production.INFO: ==7087== Lock acquired, processing the job... [2025-03-19 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:39:03] Production.INFO: ==7089== Lock acquired, processing the job... [2025-03-19 21:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:39:03] Production.INFO: ==7091== Lock acquired, processing the job... [2025-03-19 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:39:03] Production.INFO: ==7085== Lock acquired, processing the job... [2025-03-19 21:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:39:04] Production.INFO: Account Balance Start. [2025-03-19 21:39:04] Production.INFO: CreateAllLog Start [2025-03-19 21:39:04] Production.INFO: 117 [2025-03-19 21:39:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:39:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:39:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:39:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:39:04] Production.INFO: ==7087== Releasing lock... [2025-03-19 21:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:39:04] Production.INFO: ==7093== Lock acquired, processing the job... [2025-03-19 21:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:39:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:39:04] Production.INFO: ==7095== Lock acquired, processing the job... [2025-03-19 21:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:39:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:39:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:39:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:39:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 21:39:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:39:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:39:04] Production.INFO: count ==23 [2025-03-19 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718303') start [2025-03-19 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718303') end [2025-03-19 21:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:39:04] Production.INFO: 1 [2025-03-19 21:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:39:04] Production.ERROR: done [2025-03-19 21:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:39:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:39:04] Production.INFO: ==7095== Releasing lock... [2025-03-19 21:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:39:04] Production.ERROR: done [2025-03-19 21:39:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:39:04] Production.INFO: Total Charge 0 [2025-03-19 21:39:05] Production.INFO: CreateAllLog End [2025-03-19 21:39:05] Production.INFO: Account Balance End. [2025-03-19 21:39:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:39:05] Production.INFO: ==7091== Releasing lock... [2025-03-19 21:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:39:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:39:05 [end_date_ymd] => 2025-03-19 21:39:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:39:05' and `end` < '2025-03-19 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-03-19 21:39:13] Production.ERROR: CronJobId end10 [2025-03-19 21:39:13] Production.INFO: ==7089== Releasing lock... [2025-03-19 21:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:39:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:39:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:39:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:39:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:39:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:39:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:39:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:39:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:39:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:39:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:39:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:39:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:39:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:39:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:39:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:39:16] Production.INFO: call_cost start [2025-03-19 21:39:16] Production.INFO: call_cost end [2025-03-19 21:39:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:39:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:39:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:39:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:39:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:39:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:39:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:39:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:39:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:39:17] Production.INFO: ==7085== Releasing lock... [2025-03-19 21:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:39:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:39:18] Production.INFO: count ==2058 [2025-03-19 21:39:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:39:05 - End Time 2025-03-19 21:39:05 [2025-03-19 21:39:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718304', 'tblTempUsageDetail_20' ) start [2025-03-19 21:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718304', 'tblTempUsageDetail_20' ) end [2025-03-19 21:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718304', 'tblTempVendorCDR_20' ) start [2025-03-19 21:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718304', 'tblTempVendorCDR_20' ) end [2025-03-19 21:39:19] Production.INFO: ProcessCDR(1,14718304,1,1,2) [2025-03-19 21:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718304', 'tblTempUsageDetail_20' ) start [2025-03-19 21:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718304', 'tblTempUsageDetail_20' ) end [2025-03-19 21:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:39:22] Production.INFO: ==7093== Releasing lock... [2025-03-19 21:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:39:22] Production.INFO: 43.5 MB #Memory Used# [2025-03-20 01:40:01] Production.INFO: ==7166== Lock acquired, processing the job... [2025-03-20 01:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:40:01] Production.INFO: neon service started [2025-03-20 01:40:01] Production.INFO: neon service started [2025-03-20 01:40:01] Production.INFO: ==7166== Releasing lock... [2025-03-20 01:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:40:02] Production.INFO: ==7170== Lock acquired, processing the job... [2025-03-20 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:40:02] Production.INFO: ==7170== Releasing lock... [2025-03-20 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:40:02] Production.INFO: ==7168== Lock acquired, processing the job... [2025-03-19 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:40:02] Production.INFO: ==7168== Releasing lock... [2025-03-19 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:40:03] Production.INFO: ==7175== Lock acquired, processing the job... [2025-03-19 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 21:40:03] Production.INFO: ==7179== Lock acquired, processing the job... [2025-03-19 21:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:40:03] Production.INFO: ==7177== Lock acquired, processing the job... [2025-03-19 21:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 21:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 21:40:03] Production.INFO: ==7175== Releasing lock... [2025-03-19 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 21:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 21:40:03] Production.INFO: ==7181== Lock acquired, processing the job... [2025-03-19 21:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:40:03] Production.INFO: ==7183== Lock acquired, processing the job... [2025-03-19 21:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:40:04] Production.INFO: Account Balance Start. [2025-03-19 21:40:04] Production.INFO: CreateAllLog Start [2025-03-19 21:40:04] Production.INFO: 117 [2025-03-19 21:40:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:40:04] Production.INFO: ==7187== Lock acquired, processing the job... [2025-03-19 21:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.INFO: ==7189== Lock acquired, processing the job... [2025-03-19 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:40:04] Production.INFO: ==7185== Lock acquired, processing the job... [2025-03-19 21:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:40:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:40:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.INFO: ==7179== Releasing lock... [2025-03-19 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 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-03-19 21:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:40:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:40:04] Production.INFO: count ==23 [2025-03-19 21:40:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718308') start [2025-03-19 21:40:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718308') end [2025-03-19 21:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:40:04] Production.INFO: 1 [2025-03-19 21:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:40:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.ERROR: done [2025-03-19 21:40:04] Production.INFO: ==7189== Releasing lock... [2025-03-19 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:40:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.ERROR: done [2025-03-19 21:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 21:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718309', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 21:40:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:40:04] Production.INFO: Total Charge 0 [2025-03-19 21:40:04] Production.INFO: CreateAllLog End [2025-03-19 21:40:05] Production.ERROR: done [2025-03-19 21:40:05] Production.INFO: Account Balance End. [2025-03-19 21:40:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:40:05] Production.INFO: ==7183== Releasing lock... [2025-03-19 21:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:40:06 [end_date_ymd] => 2025-03-19 21:40:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:40:06' and `end` < '2025-03-19 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-03-19 21:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718309', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 21:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 21:40:09] Production.INFO: ProcessCDR(1,14718309,1,1,2) [2025-03-19 21:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718309,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718309,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:40:09] Production.INFO: ==7187== Releasing lock... [2025-03-19 21:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 21:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 21:40:15] Production.ERROR: CronJobId end10 [2025-03-19 21:40:15] Production.INFO: ==7181== Releasing lock... [2025-03-19 21:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:40:16] Production.INFO: call_cost start [2025-03-19 21:40:16] Production.INFO: call_cost end [2025-03-19 21:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:40:17] Production.INFO: ==7177== Releasing lock... [2025-03-19 21:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:40:18] Production.INFO: count ==2053 [2025-03-19 21:40:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:40:06 - End Time 2025-03-19 21:40:06 [2025-03-19 21:40:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718310', 'tblTempUsageDetail_20' ) start [2025-03-19 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718310', 'tblTempUsageDetail_20' ) end [2025-03-19 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718310', 'tblTempVendorCDR_20' ) start [2025-03-19 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718310', 'tblTempVendorCDR_20' ) end [2025-03-19 21:40:19] Production.INFO: ProcessCDR(1,14718310,1,1,2) [2025-03-19 21:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718310', 'tblTempUsageDetail_20' ) start [2025-03-19 21:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718310', 'tblTempUsageDetail_20' ) end [2025-03-19 21:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:40:22] Production.INFO: ==7185== Releasing lock... [2025-03-19 21:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:40:22] Production.INFO: 43.5 MB #Memory Used# [2025-03-20 01:41:02] Production.INFO: ==7252== Lock acquired, processing the job... [2025-03-20 01:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:41:02] Production.INFO: neon service started [2025-03-20 01:41:02] Production.INFO: neon service started [2025-03-20 01:41:02] Production.INFO: ==7252== Releasing lock... [2025-03-20 01:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:41:02] Production.INFO: ==7256== Lock acquired, processing the job... [2025-03-20 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:41:02] Production.INFO: ==7256== Releasing lock... [2025-03-20 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:41:02] Production.INFO: ==7254== Lock acquired, processing the job... [2025-03-19 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:41:03] Production.INFO: ==7254== Releasing lock... [2025-03-19 21:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:41:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:41:03] Production.INFO: ==7261== Lock acquired, processing the job... [2025-03-19 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:41:03] Production.INFO: ==7263== Lock acquired, processing the job... [2025-03-19 21:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:41:04] Production.INFO: ==7267== Lock acquired, processing the job... [2025-03-19 21:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:41:04] Production.INFO: ==7259== Lock acquired, processing the job... [2025-03-19 21:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:41:04] Production.INFO: ==7261== Releasing lock... [2025-03-19 21:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:41:04] Production.INFO: ==7265== Lock acquired, processing the job... [2025-03-19 21:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:41:04] Production.INFO: ==7269== Lock acquired, processing the job... [2025-03-19 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:41:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:41:04] Production.INFO: Account Balance Start. [2025-03-19 21:41:04] Production.INFO: CreateAllLog Start [2025-03-19 21:41:04] Production.INFO: 117 [2025-03-19 21:41:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:04] Production.ERROR: done [2025-03-19 21:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:41:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:41:04] Production.INFO: count ==12 [2025-03-19 21:41:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:04] Production.INFO: count ==23 [2025-03-19 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718314') start [2025-03-19 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718314') end [2025-03-19 21:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:41:04] Production.INFO: 1 [2025-03-19 21:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:41:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:04] Production.ERROR: done [2025-03-19 21:41:05] Production.INFO: Date 2025-03-13 [2025-03-19 21:41:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:05] Production.INFO: ==7269== Releasing lock... [2025-03-19 21:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:41:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:41:05] Production.INFO: Date 2025-03-14 [2025-03-19 21:41:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:05] Production.INFO: Date 2025-03-15 [2025-03-19 21:41:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:05] Production.INFO: Date 2025-03-16 [2025-03-19 21:41:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:05] Production.INFO: Date 2025-03-17 [2025-03-19 21:41:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:41:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:41:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:41:05] Production.INFO: Total Charge 0 [2025-03-19 21:41:05] Production.INFO: CreateAllLog End [2025-03-19 21:41:05] Production.INFO: Account Balance End. [2025-03-19 21:41:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:41:05] Production.INFO: ==7265== Releasing lock... [2025-03-19 21:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:41:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:41:06 [end_date_ymd] => 2025-03-19 21:41:06 [RateCDR] => 1 ) [2025-03-19 21: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-03-19 18:41:06' and `end` < '2025-03-19 21: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-03-19 21:41:13] Production.ERROR: CronJobId end10 [2025-03-19 21:41:13] Production.INFO: ==7263== Releasing lock... [2025-03-19 21:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:41:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:41:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:41:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:41:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:41:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:41:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:41:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:41:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:41:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:41:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:41:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:41:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:41:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:41:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:41:15] Production.INFO: call_cost start [2025-03-19 21:41:15] Production.INFO: call_cost end [2025-03-19 21:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:41:16] Production.INFO: ==7259== Releasing lock... [2025-03-19 21:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:41:18] Production.INFO: count ==2007 [2025-03-19 21:41:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:41:06 - End Time 2025-03-19 21:41:06 [2025-03-19 21:41:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718315', 'tblTempUsageDetail_20' ) start [2025-03-19 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718315', 'tblTempUsageDetail_20' ) end [2025-03-19 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718315', 'tblTempVendorCDR_20' ) start [2025-03-19 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718315', 'tblTempVendorCDR_20' ) end [2025-03-19 21:41:19] Production.INFO: ProcessCDR(1,14718315,1,1,2) [2025-03-19 21:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718315', 'tblTempUsageDetail_20' ) start [2025-03-19 21:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718315', 'tblTempUsageDetail_20' ) end [2025-03-19 21:41:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:41:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:41:22] Production.INFO: ==7267== Releasing lock... [2025-03-19 21:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:41:22] Production.INFO: 43.25 MB #Memory Used# [2025-03-20 01:42:01] Production.INFO: ==7342== Lock acquired, processing the job... [2025-03-20 01:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:42:01] Production.INFO: neon service started [2025-03-20 01:42:01] Production.INFO: neon service started [2025-03-20 01:42:01] Production.INFO: ==7342== Releasing lock... [2025-03-20 01:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:42:01] Production.INFO: ==7344== Lock acquired, processing the job... [2025-03-19 21:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:42:02] Production.INFO: ==7344== Releasing lock... [2025-03-19 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:42:02] Production.INFO: ==7346== Lock acquired, processing the job... [2025-03-20 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:42:02] Production.INFO: ==7346== Releasing lock... [2025-03-20 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:42:03] Production.INFO: ==7355== Lock acquired, processing the job... [2025-03-19 21:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:42:03] Production.INFO: ==7359== Lock acquired, processing the job... [2025-03-19 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:42:03] Production.INFO: ==7351== Lock acquired, processing the job... [2025-03-19 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:42:03] Production.INFO: ==7349== Lock acquired, processing the job... [2025-03-19 21:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:42:03] Production.INFO: Account Balance Start. [2025-03-19 21:42:03] Production.INFO: CreateAllLog Start [2025-03-19 21:42:03] Production.INFO: 117 [2025-03-19 21:42:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:42:03] Production.INFO: ==7353== Lock acquired, processing the job... [2025-03-19 21:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:42:03] Production.INFO: count ==12 [2025-03-19 21:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:42:03] Production.INFO: count ==23 [2025-03-19 21:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:42:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.INFO: ==7357== Lock acquired, processing the job... [2025-03-19 21:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718317') start [2025-03-19 21:42:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718317') end [2025-03-19 21:42:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:42:03] Production.INFO: 1 [2025-03-19 21:42:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:42:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.INFO: ==7359== Releasing lock... [2025-03-19 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:42:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:42:03] Production.INFO: Date 2025-03-13 [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.INFO: Date 2025-03-14 [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.INFO: Date 2025-03-15 [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:42:03] Production.INFO: Date 2025-03-16 [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.INFO: Date 2025-03-17 [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.INFO: Date 2025-03-18 [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.INFO: Date 2025-03-19 [2025-03-19 21:42:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:42:03] Production.INFO: Total Charge 0 [2025-03-19 21:42:03] Production.INFO: CreateAllLog End [2025-03-19 21:42:03] Production.INFO: ==7351== Releasing lock... [2025-03-19 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:42:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:42:04] Production.ERROR: done [2025-03-19 21:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:42:04] Production.ERROR: done [2025-03-19 21:42:04] Production.INFO: Account Balance End. [2025-03-19 21:42:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:42:04] Production.INFO: ==7355== Releasing lock... [2025-03-19 21:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:42:05 [end_date_ymd] => 2025-03-19 21:42:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:42:05' and `end` < '2025-03-19 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-03-19 21:42:13] Production.ERROR: CronJobId end10 [2025-03-19 21:42:13] Production.INFO: ==7353== Releasing lock... [2025-03-19 21:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:42:15] Production.INFO: call_cost start [2025-03-19 21:42:15] Production.INFO: call_cost end [2025-03-19 21:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:42:16] Production.INFO: ==7349== Releasing lock... [2025-03-19 21:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:42:17] Production.INFO: count ==2007 [2025-03-19 21:42:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:42:05 - End Time 2025-03-19 21:42:05 [2025-03-19 21:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718320', 'tblTempUsageDetail_20' ) start [2025-03-19 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718320', 'tblTempUsageDetail_20' ) end [2025-03-19 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718320', 'tblTempVendorCDR_20' ) start [2025-03-19 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718320', 'tblTempVendorCDR_20' ) end [2025-03-19 21:42:18] Production.INFO: ProcessCDR(1,14718320,1,1,2) [2025-03-19 21:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718320', 'tblTempUsageDetail_20' ) start [2025-03-19 21:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718320', 'tblTempUsageDetail_20' ) end [2025-03-19 21:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:42:22] Production.INFO: ==7357== Releasing lock... [2025-03-19 21:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:42:22] Production.INFO: 43 MB #Memory Used# [2025-03-20 01:43:02] Production.INFO: ==7432== Lock acquired, processing the job... [2025-03-20 01:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:43:02] Production.INFO: neon service started [2025-03-20 01:43:02] Production.INFO: neon service started [2025-03-20 01:43:02] Production.INFO: ==7432== Releasing lock... [2025-03-20 01:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:43:02] Production.INFO: ==7434== Lock acquired, processing the job... [2025-03-19 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:43:02] Production.INFO: ==7434== Releasing lock... [2025-03-19 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:43:02] Production.INFO: ==7436== Lock acquired, processing the job... [2025-03-20 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:43:02] Production.INFO: ==7436== Releasing lock... [2025-03-20 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:43:03] Production.INFO: ==7444== Lock acquired, processing the job... [2025-03-19 21:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:43:03] Production.INFO: ==7448== Lock acquired, processing the job... [2025-03-19 21:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:43:03] Production.INFO: Account Balance Start. [2025-03-19 21:43:03] Production.INFO: CreateAllLog Start [2025-03-19 21:43:03] Production.INFO: 117 [2025-03-19 21:43:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 21:43:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:43:03] Production.INFO: count ==12 [2025-03-19 21:43:03] Production.INFO: ==7438== Lock acquired, processing the job... [2025-03-19 21:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 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-03-19 21:43:03] Production.INFO: count ==23 [2025-03-19 21:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718322') start [2025-03-19 21:43:03] Production.INFO: ==7440== Lock acquired, processing the job... [2025-03-19 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:43:03] Production.INFO: ==7442== Lock acquired, processing the job... [2025-03-19 21:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:43:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:43:03] Production.INFO: ==7446== Lock acquired, processing the job... [2025-03-19 21:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718322') end [2025-03-19 21:43:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:43:03] Production.INFO: 1 [2025-03-19 21:43:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:43:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:43:04] Production.INFO: ==7448== Releasing lock... [2025-03-19 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:43:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:43:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:43:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:43:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:43:04] Production.INFO: ==7440== Releasing lock... [2025-03-19 21:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:43:04] Production.ERROR: done [2025-03-19 21:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:43:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:43:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:43:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:43:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:43:04] Production.INFO: Total Charge 0 [2025-03-19 21:43:04] Production.INFO: CreateAllLog End [2025-03-19 21:43:04] Production.ERROR: done [2025-03-19 21:43:04] Production.INFO: Account Balance End. [2025-03-19 21:43:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:43:04] Production.INFO: ==7444== Releasing lock... [2025-03-19 21:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:43:05 [end_date_ymd] => 2025-03-19 21:43:05 [RateCDR] => 1 ) [2025-03-19 21:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:43:05' and `end` < '2025-03-19 21:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:43:14] Production.ERROR: CronJobId end10 [2025-03-19 21:43:14] Production.INFO: ==7442== Releasing lock... [2025-03-19 21:43:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:43:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:43:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:43:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:43:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:43:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:43:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:43:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:43:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:43:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:43:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:43:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:43:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:43:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:43:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:43:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:43:16] Production.INFO: call_cost start [2025-03-19 21:43:16] Production.INFO: call_cost end [2025-03-19 21:43:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:43:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:43:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:43:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:43:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:43:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:43:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:43:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:43:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:43:17] Production.INFO: ==7438== Releasing lock... [2025-03-19 21:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:43:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:43:17] Production.INFO: count ==2006 [2025-03-19 21:43:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:43:05 - End Time 2025-03-19 21:43:05 [2025-03-19 21:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718325', 'tblTempUsageDetail_20' ) start [2025-03-19 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718325', 'tblTempUsageDetail_20' ) end [2025-03-19 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718325', 'tblTempVendorCDR_20' ) start [2025-03-19 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718325', 'tblTempVendorCDR_20' ) end [2025-03-19 21:43:18] Production.INFO: ProcessCDR(1,14718325,1,1,2) [2025-03-19 21:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718325', 'tblTempUsageDetail_20' ) start [2025-03-19 21:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718325', 'tblTempUsageDetail_20' ) end [2025-03-19 21:43:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:43:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:43:23] Production.INFO: ==7446== Releasing lock... [2025-03-19 21:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:43:23] Production.INFO: 43.25 MB #Memory Used# [2025-03-20 01:44:01] Production.INFO: ==7517== Lock acquired, processing the job... [2025-03-20 01:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:44:01] Production.INFO: neon service started [2025-03-20 01:44:01] Production.INFO: neon service started [2025-03-20 01:44:01] Production.INFO: ==7517== Releasing lock... [2025-03-20 01:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:44:01] Production.INFO: ==7519== Lock acquired, processing the job... [2025-03-19 21:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:44:02] Production.INFO: ==7519== Releasing lock... [2025-03-19 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:44:02] Production.INFO: ==7521== Lock acquired, processing the job... [2025-03-20 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:44:02] Production.INFO: ==7521== Releasing lock... [2025-03-20 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:44:02] Production.INFO: ==7523== Lock acquired, processing the job... [2025-03-19 21:44:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:44:03] Production.INFO: ==7529== Lock acquired, processing the job... [2025-03-19 21:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:44:03] Production.INFO: ==7527== Lock acquired, processing the job... [2025-03-19 21:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:44:03] Production.INFO: Account Balance Start. [2025-03-19 21:44:03] Production.INFO: CreateAllLog Start [2025-03-19 21:44:03] Production.INFO: 117 [2025-03-19 21:44:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:44:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:44:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:44:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:44:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:44:03] Production.INFO: ==7525== Lock acquired, processing the job... [2025-03-19 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:44:03] Production.INFO: Date 2025-03-13 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:44:03] Production.INFO: Date 2025-03-14 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:44:03] Production.INFO: ==7533== Lock acquired, processing the job... [2025-03-19 21:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:44:03] Production.INFO: ==7531== Lock acquired, processing the job... [2025-03-19 21:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:44:03] Production.INFO: Date 2025-03-15 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:44:03] Production.INFO: Date 2025-03-16 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:44:03] Production.INFO: Date 2025-03-17 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:44:03] Production.INFO: Date 2025-03-18 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:44:03] Production.INFO: Date 2025-03-19 [2025-03-19 21:44:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 21:44:03] Production.INFO: Total Charge 0 [2025-03-19 21:44:03] Production.INFO: count ==12 [2025-03-19 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-03-19 21:44:03] Production.INFO: count ==23 [2025-03-19 21:44:03] Production.INFO: CreateAllLog End [2025-03-19 21:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718329') start [2025-03-19 21:44:03] Production.INFO: ==7525== Releasing lock... [2025-03-19 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718329') end [2025-03-19 21:44:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:44:03] Production.INFO: 1 [2025-03-19 21:44:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:44:04] Production.INFO: ==7533== Releasing lock... [2025-03-19 21:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:44:04] Production.ERROR: done [2025-03-19 21:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:44:04] Production.INFO: Account Balance End. [2025-03-19 21:44:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:44:04] Production.INFO: ==7529== Releasing lock... [2025-03-19 21:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:44:04] Production.ERROR: done [2025-03-19 21:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:44:05 [end_date_ymd] => 2025-03-19 21:44:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:44:05' and `end` < '2025-03-19 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-03-19 21:44:13] Production.ERROR: CronJobId end10 [2025-03-19 21:44:13] Production.INFO: ==7527== Releasing lock... [2025-03-19 21:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:44:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:44:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:44:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:44:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:44:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:44:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:44:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:44:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:44:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:44:15] Production.INFO: call_cost start [2025-03-19 21:44:15] Production.INFO: call_cost end [2025-03-19 21:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:44:16] Production.INFO: ==7523== Releasing lock... [2025-03-19 21:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:44:17] Production.INFO: count ==2004 [2025-03-19 21:44:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:44:05 - End Time 2025-03-19 21:44:05 [2025-03-19 21:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718330', 'tblTempUsageDetail_20' ) start [2025-03-19 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718330', 'tblTempUsageDetail_20' ) end [2025-03-19 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718330', 'tblTempVendorCDR_20' ) start [2025-03-19 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718330', 'tblTempVendorCDR_20' ) end [2025-03-19 21:44:18] Production.INFO: ProcessCDR(1,14718330,1,1,2) [2025-03-19 21:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718330', 'tblTempUsageDetail_20' ) start [2025-03-19 21:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718330', 'tblTempUsageDetail_20' ) end [2025-03-19 21:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:44:22] Production.INFO: ==7531== Releasing lock... [2025-03-19 21:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:44:22] Production.INFO: 43 MB #Memory Used# [2025-03-20 01:45:01] Production.INFO: ==7607== Lock acquired, processing the job... [2025-03-20 01:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:45:01] Production.INFO: neon service started [2025-03-20 01:45:02] Production.INFO: neon service started [2025-03-20 01:45:02] Production.INFO: ==7607== Releasing lock... [2025-03-20 01:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:45:02] Production.INFO: ==7609== Lock acquired, processing the job... [2025-03-19 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:45:02] Production.INFO: ==7609== Releasing lock... [2025-03-19 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:45:02] Production.INFO: ==7611== Lock acquired, processing the job... [2025-03-20 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:45:02] Production.INFO: ==7611== Releasing lock... [2025-03-20 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:45:03] Production.INFO: ==7619== Lock acquired, processing the job... [2025-03-19 21:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:45:03] Production.INFO: ==7622== Lock acquired, processing the job... [2025-03-19 21:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:45:03] Production.INFO: Account Balance Start. [2025-03-19 21:45:03] Production.INFO: CreateAllLog Start [2025-03-19 21:45:03] Production.INFO: 117 [2025-03-19 21:45:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:03] Production.INFO: ==7613== Lock acquired, processing the job... [2025-03-19 21:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:45:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:04] Production.INFO: ==7615== Lock acquired, processing the job... [2025-03-19 21:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:45:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:04] Production.INFO: ==7617== Lock acquired, processing the job... [2025-03-19 21:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:45:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:45:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:04] Production.INFO: ==7624== Lock acquired, processing the job... [2025-03-19 21:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:45:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:45:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:45:04] Production.INFO: Total Charge 0 [2025-03-19 21:45:04] Production.INFO: CreateAllLog End [2025-03-19 21:45:04] Production.ERROR: done [2025-03-19 21:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:45:04] Production.INFO: ==7615== Releasing lock... [2025-03-19 21:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:45:04] Production.INFO: count ==12 [2025-03-19 21:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:45:04] Production.INFO: count ==23 [2025-03-19 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718334') start [2025-03-19 21:45:04] Production.ERROR: done [2025-03-19 21:45:04] Production.INFO: Account Balance End. [2025-03-19 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718334') end [2025-03-19 21:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:45:04] Production.INFO: 1 [2025-03-19 21:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:45:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:45:04] Production.INFO: ==7619== Releasing lock... [2025-03-19 21:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:45:05] Production.INFO: ==7624== Releasing lock... [2025-03-19 21:45:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:45:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:45:06 [end_date_ymd] => 2025-03-19 21:45:06 [RateCDR] => 1 ) [2025-03-19 21:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:45:06' and `end` < '2025-03-19 21:45:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:45:14] Production.ERROR: CronJobId end10 [2025-03-19 21:45:14] Production.INFO: ==7617== Releasing lock... [2025-03-19 21:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:45:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:45:16] Production.INFO: call_cost start [2025-03-19 21:45:16] Production.INFO: call_cost end [2025-03-19 21:45:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:45:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:45:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:45:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:45:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:45:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:45:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:45:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:45:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:45:17] Production.INFO: ==7613== Releasing lock... [2025-03-19 21:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:45:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:45:18] Production.INFO: count ==2006 [2025-03-19 21:45:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:45:06 - End Time 2025-03-19 21:45:06 [2025-03-19 21:45:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718335', 'tblTempUsageDetail_20' ) start [2025-03-19 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718335', 'tblTempUsageDetail_20' ) end [2025-03-19 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718335', 'tblTempVendorCDR_20' ) start [2025-03-19 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718335', 'tblTempVendorCDR_20' ) end [2025-03-19 21:45:19] Production.INFO: ProcessCDR(1,14718335,1,1,2) [2025-03-19 21:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718335', 'tblTempUsageDetail_20' ) start [2025-03-19 21:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718335', 'tblTempUsageDetail_20' ) end [2025-03-19 21:45:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:45:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:45:24] Production.INFO: ==7622== Releasing lock... [2025-03-19 21:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:45:24] Production.INFO: 43.25 MB #Memory Used# [2025-03-20 01:46:01] Production.INFO: ==7689== Lock acquired, processing the job... [2025-03-20 01:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:46:01] Production.INFO: neon service started [2025-03-20 01:46:01] Production.INFO: neon service started [2025-03-20 01:46:01] Production.INFO: ==7689== Releasing lock... [2025-03-20 01:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:46:02] Production.INFO: ==7691== Lock acquired, processing the job... [2025-03-19 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:46:02] Production.INFO: ==7693== Lock acquired, processing the job... [2025-03-20 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:46:02] Production.INFO: ==7693== Releasing lock... [2025-03-20 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:46:02] Production.INFO: ==7691== Releasing lock... [2025-03-19 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:46:03] Production.INFO: ==7696== Lock acquired, processing the job... [2025-03-19 21:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:46:03] Production.INFO: ==7698== Lock acquired, processing the job... [2025-03-19 21:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:46:03] Production.INFO: ==7700== Lock acquired, processing the job... [2025-03-19 21:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:46:03] Production.INFO: ==7702== Lock acquired, processing the job... [2025-03-19 21:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:46:03] Production.INFO: ==7706== Lock acquired, processing the job... [2025-03-19 21:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:46:03] Production.INFO: Account Balance Start. [2025-03-19 21:46:03] Production.INFO: CreateAllLog Start [2025-03-19 21:46:03] Production.INFO: 117 [2025-03-19 21:46:03] Production.INFO: ==7704== Lock acquired, processing the job... [2025-03-19 21:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:46:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:46:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:46:03] Production.INFO: count ==12 [2025-03-19 21:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:46:03] Production.INFO: count ==23 [2025-03-19 21:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718339') start [2025-03-19 21:46:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:46:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:46:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:46:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:46:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718339') end [2025-03-19 21:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:46:04] Production.INFO: 1 [2025-03-19 21:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:46:04] Production.INFO: ==7698== Releasing lock... [2025-03-19 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:46:04] Production.INFO: ==7706== Releasing lock... [2025-03-19 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:46:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:04] Production.ERROR: done [2025-03-19 21:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:46:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:46:04] Production.INFO: Total Charge 0 [2025-03-19 21:46:04] Production.INFO: CreateAllLog End [2025-03-19 21:46:04] Production.ERROR: done [2025-03-19 21:46:04] Production.INFO: Account Balance End. [2025-03-19 21:46:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:46:04] Production.INFO: ==7702== Releasing lock... [2025-03-19 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:46:05 [end_date_ymd] => 2025-03-19 21:46:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:46:05' and `end` < '2025-03-19 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-03-19 21:46:13] Production.ERROR: CronJobId end10 [2025-03-19 21:46:13] Production.INFO: ==7700== Releasing lock... [2025-03-19 21:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:46:15] Production.INFO: call_cost start [2025-03-19 21:46:15] Production.INFO: call_cost end [2025-03-19 21:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:46:16] Production.INFO: ==7696== Releasing lock... [2025-03-19 21:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:46:17] Production.INFO: count ==2010 [2025-03-19 21:46:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:46:05 - End Time 2025-03-19 21:46:05 [2025-03-19 21:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718340', 'tblTempUsageDetail_20' ) start [2025-03-19 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718340', 'tblTempUsageDetail_20' ) end [2025-03-19 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718340', 'tblTempVendorCDR_20' ) start [2025-03-19 21:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718340', 'tblTempVendorCDR_20' ) end [2025-03-19 21:46:18] Production.INFO: ProcessCDR(1,14718340,1,1,2) [2025-03-19 21:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718340', 'tblTempUsageDetail_20' ) start [2025-03-19 21:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718340', 'tblTempUsageDetail_20' ) end [2025-03-19 21:46:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:46:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:46:23] Production.INFO: ==7704== Releasing lock... [2025-03-19 21:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:46:23] Production.INFO: 43 MB #Memory Used# [2025-03-20 01:47:01] Production.INFO: ==7769== Lock acquired, processing the job... [2025-03-20 01:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:47:01] Production.INFO: neon service started [2025-03-20 01:47:01] Production.INFO: neon service started [2025-03-20 01:47:01] Production.INFO: ==7769== Releasing lock... [2025-03-20 01:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:47:02] Production.INFO: ==7771== Lock acquired, processing the job... [2025-03-19 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:47:02] Production.INFO: ==7771== Releasing lock... [2025-03-19 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:47:02] Production.INFO: ==7773== Lock acquired, processing the job... [2025-03-20 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:47:02] Production.INFO: ==7773== Releasing lock... [2025-03-20 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:47:03] Production.INFO: ==7780== Lock acquired, processing the job... [2025-03-19 21:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:47:03] Production.INFO: ==7776== Lock acquired, processing the job... [2025-03-19 21:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:47:03] Production.INFO: ==7778== Lock acquired, processing the job... [2025-03-19 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:47:03] Production.INFO: ==7786== Lock acquired, processing the job... [2025-03-19 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:47:03] Production.INFO: ==7782== Lock acquired, processing the job... [2025-03-19 21:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:47:04] Production.INFO: ==7784== Lock acquired, processing the job... [2025-03-19 21:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:47:04] Production.INFO: Account Balance Start. [2025-03-19 21:47:04] Production.INFO: CreateAllLog Start [2025-03-19 21:47:04] Production.INFO: 117 [2025-03-19 21:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:47:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.INFO: ==7778== Releasing lock... [2025-03-19 21:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:47:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:47:04] Production.INFO: count ==12 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:47:04] Production.INFO: count ==23 [2025-03-19 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718344') start [2025-03-19 21:47:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718344') end [2025-03-19 21:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:47:04] Production.INFO: 1 [2025-03-19 21:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:47:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.INFO: ==7786== Releasing lock... [2025-03-19 21:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:47:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.ERROR: done [2025-03-19 21:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:47:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.ERROR: done [2025-03-19 21:47:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:47:04] Production.INFO: Total Charge 0 [2025-03-19 21:47:04] Production.INFO: CreateAllLog End [2025-03-19 21:47:05] Production.INFO: Account Balance End. [2025-03-19 21:47:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:47:05] Production.INFO: ==7782== Releasing lock... [2025-03-19 21:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:47:05 [end_date_ymd] => 2025-03-19 21:47:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:47:05' and `end` < '2025-03-19 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-03-19 21:47:13] Production.ERROR: CronJobId end10 [2025-03-19 21:47:13] Production.INFO: ==7780== Releasing lock... [2025-03-19 21:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:47:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:47:15] Production.INFO: call_cost start [2025-03-19 21:47:15] Production.INFO: call_cost end [2025-03-19 21:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:47:16] Production.INFO: ==7776== Releasing lock... [2025-03-19 21:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:47:18] Production.INFO: count ==2008 [2025-03-19 21:47:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:47:05 - End Time 2025-03-19 21:47:05 [2025-03-19 21:47:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718345', 'tblTempUsageDetail_20' ) start [2025-03-19 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718345', 'tblTempUsageDetail_20' ) end [2025-03-19 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718345', 'tblTempVendorCDR_20' ) start [2025-03-19 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718345', 'tblTempVendorCDR_20' ) end [2025-03-19 21:47:19] Production.INFO: ProcessCDR(1,14718345,1,1,2) [2025-03-19 21:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718345', 'tblTempUsageDetail_20' ) start [2025-03-19 21:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718345', 'tblTempUsageDetail_20' ) end [2025-03-19 21:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:47:22] Production.INFO: ==7784== Releasing lock... [2025-03-19 21:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:47:22] Production.INFO: 43 MB #Memory Used# [2025-03-20 01:48:01] Production.INFO: ==7861== Lock acquired, processing the job... [2025-03-20 01:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:48:01] Production.INFO: neon service started [2025-03-20 01:48:01] Production.INFO: neon service started [2025-03-20 01:48:01] Production.INFO: ==7861== Releasing lock... [2025-03-20 01:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:48:01] Production.INFO: ==7863== Lock acquired, processing the job... [2025-03-19 21:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:48:02] Production.INFO: ==7865== Lock acquired, processing the job... [2025-03-20 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:48:02] Production.INFO: ==7865== Releasing lock... [2025-03-20 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:48:02] Production.INFO: ==7863== Releasing lock... [2025-03-19 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:48:03] Production.INFO: ==7878== Lock acquired, processing the job... [2025-03-19 21:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:48:03] Production.INFO: ==7876== Lock acquired, processing the job... [2025-03-19 21:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:48:03] Production.INFO: count ==12 [2025-03-19 21:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:48:03] Production.INFO: count ==23 [2025-03-19 21:48:03] Production.INFO: ==7869== Lock acquired, processing the job... [2025-03-19 21:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718346') start [2025-03-19 21:48:03] Production.INFO: ==7867== Lock acquired, processing the job... [2025-03-19 21:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:48:03] Production.INFO: ==7871== Lock acquired, processing the job... [2025-03-19 21:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:48:03] Production.INFO: ==7874== Lock acquired, processing the job... [2025-03-19 21:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:48:03] Production.ERROR: done [2025-03-19 21:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718346') end [2025-03-19 21:48:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:48:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:48:03] Production.INFO: 1 [2025-03-19 21:48:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:48:03] Production.INFO: Account Balance Start. [2025-03-19 21:48:03] Production.INFO: CreateAllLog Start [2025-03-19 21:48:03] Production.INFO: ==7878== Releasing lock... [2025-03-19 21:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:48:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:48:03] Production.INFO: 117 [2025-03-19 21:48:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:48:03] Production.ERROR: done [2025-03-19 21:48:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:48:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:48:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:03] Production.INFO: ==7869== Releasing lock... [2025-03-19 21:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:48:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:48:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:48:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:48:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:03] Production.INFO: Date 2025-03-13 [2025-03-19 21:48:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:48:04] Production.INFO: Total Charge 0 [2025-03-19 21:48:04] Production.INFO: CreateAllLog End [2025-03-19 21:48:04] Production.INFO: Account Balance End. [2025-03-19 21:48:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:48:04] Production.INFO: ==7874== Releasing lock... [2025-03-19 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:48:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:48:04 [end_date_ymd] => 2025-03-19 21:48:04 [RateCDR] => 1 ) [2025-03-19 21: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-03-19 18:48:04' and `end` < '2025-03-19 21: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-03-19 21:48:13] Production.ERROR: CronJobId end10 [2025-03-19 21:48:13] Production.INFO: ==7871== Releasing lock... [2025-03-19 21:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:48:14] Production.INFO: call_cost start [2025-03-19 21:48:14] Production.INFO: call_cost end [2025-03-19 21:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:48:15] Production.INFO: ==7867== Releasing lock... [2025-03-19 21:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:48:17] Production.INFO: count ==2007 [2025-03-19 21:48:17] Production.ERROR: pbx CDR StartTime 2025-03-19 18:48:04 - End Time 2025-03-19 21:48:04 [2025-03-19 21:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718350', 'tblTempUsageDetail_20' ) start [2025-03-19 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718350', 'tblTempUsageDetail_20' ) end [2025-03-19 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718350', 'tblTempVendorCDR_20' ) start [2025-03-19 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718350', 'tblTempVendorCDR_20' ) end [2025-03-19 21:48:18] Production.INFO: ProcessCDR(1,14718350,1,1,2) [2025-03-19 21:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718350', 'tblTempUsageDetail_20' ) start [2025-03-19 21:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718350', 'tblTempUsageDetail_20' ) end [2025-03-19 21:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:48:21] Production.INFO: ==7876== Releasing lock... [2025-03-19 21:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:48:21] Production.INFO: 43 MB #Memory Used# [2025-03-20 01:49:01] Production.INFO: ==7943== Lock acquired, processing the job... [2025-03-20 01:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:49:01] Production.INFO: neon service started [2025-03-20 01:49:01] Production.INFO: neon service started [2025-03-20 01:49:01] Production.INFO: ==7943== Releasing lock... [2025-03-20 01:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:49:02] Production.INFO: ==7945== Lock acquired, processing the job... [2025-03-19 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:49:02] Production.INFO: ==7945== Releasing lock... [2025-03-19 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:49:02] Production.INFO: ==7947== Lock acquired, processing the job... [2025-03-20 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:49:02] Production.INFO: ==7947== Releasing lock... [2025-03-20 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:49:03] Production.INFO: ==7951== Lock acquired, processing the job... [2025-03-19 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:49:03] Production.INFO: ==7957== Lock acquired, processing the job... [2025-03-19 21:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:49:03] Production.INFO: ==7949== Lock acquired, processing the job... [2025-03-19 21:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:49:03] Production.INFO: ==7953== Lock acquired, processing the job... [2025-03-19 21:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:49:03] Production.INFO: ==7955== Lock acquired, processing the job... [2025-03-19 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:49:03] Production.INFO: ==7951== Releasing lock... [2025-03-19 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:49:03] Production.INFO: ==7959== Lock acquired, processing the job... [2025-03-19 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:49:03] Production.INFO: Account Balance Start. [2025-03-19 21:49:03] Production.INFO: CreateAllLog Start [2025-03-19 21:49:03] Production.INFO: 117 [2025-03-19 21:49:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:49:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:04] Production.ERROR: done [2025-03-19 21:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:49:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:04] Production.INFO: count ==12 [2025-03-19 21:49:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:49:04] Production.INFO: count ==23 [2025-03-19 21:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718354') start [2025-03-19 21:49:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:04] Production.ERROR: done [2025-03-19 21:49:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718354') end [2025-03-19 21:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:49:04] Production.INFO: 1 [2025-03-19 21:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:49:04] Production.INFO: ==7959== Releasing lock... [2025-03-19 21:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:49:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:49:04] Production.INFO: Total Charge 0 [2025-03-19 21:49:04] Production.INFO: CreateAllLog End [2025-03-19 21:49:04] Production.INFO: Account Balance End. [2025-03-19 21:49:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:49:04] Production.INFO: ==7955== Releasing lock... [2025-03-19 21:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:49:05 [end_date_ymd] => 2025-03-19 21:49:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:49:05' and `end` < '2025-03-19 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-03-19 21:49:13] Production.ERROR: CronJobId end10 [2025-03-19 21:49:13] Production.INFO: ==7953== Releasing lock... [2025-03-19 21:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:49:15] Production.INFO: call_cost start [2025-03-19 21:49:15] Production.INFO: call_cost end [2025-03-19 21:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:49:16] Production.INFO: ==7949== Releasing lock... [2025-03-19 21:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:49:17] Production.INFO: count ==1995 [2025-03-19 21:49:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:49:05 - End Time 2025-03-19 21:49:05 [2025-03-19 21:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718355', 'tblTempUsageDetail_20' ) start [2025-03-19 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718355', 'tblTempUsageDetail_20' ) end [2025-03-19 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718355', 'tblTempVendorCDR_20' ) start [2025-03-19 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718355', 'tblTempVendorCDR_20' ) end [2025-03-19 21:49:18] Production.INFO: ProcessCDR(1,14718355,1,1,2) [2025-03-19 21:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718355', 'tblTempUsageDetail_20' ) start [2025-03-19 21:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718355', 'tblTempUsageDetail_20' ) end [2025-03-19 21:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:49:22] Production.INFO: ==7957== Releasing lock... [2025-03-19 21:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:49:22] Production.INFO: 43 MB #Memory Used# [2025-03-20 01:50:02] Production.INFO: ==8038== Lock acquired, processing the job... [2025-03-20 01:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:50:02] Production.INFO: neon service started [2025-03-20 01:50:02] Production.INFO: neon service started [2025-03-20 01:50:02] Production.INFO: ==8038== Releasing lock... [2025-03-20 01:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:50:02] Production.INFO: ==8042== Lock acquired, processing the job... [2025-03-20 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:50:02] Production.INFO: ==8042== Releasing lock... [2025-03-20 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:50:02] Production.INFO: ==8040== Lock acquired, processing the job... [2025-03-19 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:50:03] Production.INFO: ==8040== Releasing lock... [2025-03-19 21:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:50:04] Production.INFO: ==8045== Lock acquired, processing the job... [2025-03-19 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 21:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 21:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 21:50:04] Production.INFO: ==8045== Releasing lock... [2025-03-19 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 21:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 21:50:04] Production.INFO: ==8049== Lock acquired, processing the job... [2025-03-19 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:50:04] Production.INFO: ==8051== Lock acquired, processing the job... [2025-03-19 21:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:50:04] Production.INFO: ==8057== Lock acquired, processing the job... [2025-03-19 21:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 21:50:04] Production.INFO: ==8047== Lock acquired, processing the job... [2025-03-19 21:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:50:04] Production.INFO: ==8053== Lock acquired, processing the job... [2025-03-19 21:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:50:04] Production.INFO: ==8055== Lock acquired, processing the job... [2025-03-19 21:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:50:04] Production.INFO: ==8059== Lock acquired, processing the job... [2025-03-19 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:50:04] Production.INFO: ==8049== Releasing lock... [2025-03-19 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:50:04] Production.INFO: Account Balance Start. [2025-03-19 21:50:04] Production.INFO: CreateAllLog Start [2025-03-19 21:50:04] Production.INFO: 117 [2025-03-19 21:50:05] Production.INFO: Date 2025-03-08 [2025-03-19 21:50:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.INFO: count ==12 [2025-03-19 21:50:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:50:05] Production.INFO: count ==23 [2025-03-19 21:50:05] Production.INFO: Date 2025-03-09 [2025-03-19 21:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718359') start [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.ERROR: done [2025-03-19 21:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718359') end [2025-03-19 21:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:50:05] Production.INFO: 1 [2025-03-19 21:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:50:05] Production.INFO: Date 2025-03-10 [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 21:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718360', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 21:50:05] Production.INFO: ==8059== Releasing lock... [2025-03-19 21:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:50:05] Production.ERROR: done [2025-03-19 21:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:50:05] Production.INFO: Date 2025-03-11 [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.INFO: Date 2025-03-12 [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.INFO: Date 2025-03-13 [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.INFO: Date 2025-03-14 [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.ERROR: done [2025-03-19 21:50:05] Production.INFO: Date 2025-03-15 [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.INFO: Date 2025-03-16 [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.INFO: Date 2025-03-17 [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:50:05] Production.INFO: Total Charge 0 [2025-03-19 21:50:05] Production.INFO: CreateAllLog End [2025-03-19 21:50:06] Production.INFO: Account Balance End. [2025-03-19 21:50:06] Production.ERROR: CronJobId end 12 [2025-03-19 21:50:06] Production.INFO: ==8053== Releasing lock... [2025-03-19 21:50:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:50:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:50:06 [end_date_ymd] => 2025-03-19 21:50:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:50:06' and `end` < '2025-03-19 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-03-19 21:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718360', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 21:50:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 21:50:10] Production.INFO: ProcessCDR(1,14718360,1,1,2) [2025-03-19 21:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718360,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718360,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:50:10] Production.INFO: ==8057== Releasing lock... [2025-03-19 21:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 21:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-19 21:50:15] Production.ERROR: CronJobId end10 [2025-03-19 21:50:15] Production.INFO: ==8051== Releasing lock... [2025-03-19 21:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:50:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:50:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:50:18] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:50:18] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:50:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:50:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:50:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:50:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:50:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:50:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:50:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:50:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:50:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:50:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:50:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:50:18] Production.INFO: call_cost start [2025-03-19 21:50:18] Production.INFO: call_cost end [2025-03-19 21:50:19] Production.INFO: count ==1979 [2025-03-19 21:50:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:50:19] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:50:19] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:50:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:50:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:50:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:50:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:50:19] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:50:19] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:50:19] Production.INFO: ==8047== Releasing lock... [2025-03-19 21:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:50:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:50:20] Production.ERROR: pbx CDR StartTime 2025-03-19 18:50:06 - End Time 2025-03-19 21:50:06 [2025-03-19 21:50:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718361', 'tblTempUsageDetail_20' ) start [2025-03-19 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718361', 'tblTempUsageDetail_20' ) end [2025-03-19 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718361', 'tblTempVendorCDR_20' ) start [2025-03-19 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718361', 'tblTempVendorCDR_20' ) end [2025-03-19 21:50:20] Production.INFO: ProcessCDR(1,14718361,1,1,2) [2025-03-19 21:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718361', 'tblTempUsageDetail_20' ) start [2025-03-19 21:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718361', 'tblTempUsageDetail_20' ) end [2025-03-19 21:50:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:50:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:50:23] Production.INFO: ==8055== Releasing lock... [2025-03-19 21:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:50:23] Production.INFO: 43 MB #Memory Used# [2025-03-20 01:51:01] Production.INFO: ==8122== Lock acquired, processing the job... [2025-03-20 01:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:51:01] Production.INFO: neon service started [2025-03-20 01:51:01] Production.INFO: neon service started [2025-03-20 01:51:01] Production.INFO: ==8122== Releasing lock... [2025-03-20 01:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:51:02] Production.INFO: ==8155== Lock acquired, processing the job... [2025-03-19 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:51:02] Production.INFO: ==8157== Lock acquired, processing the job... [2025-03-20 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:51:02] Production.INFO: ==8157== Releasing lock... [2025-03-20 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:51:02] Production.INFO: ==8155== Releasing lock... [2025-03-19 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:51:03] Production.INFO: ==8175== Lock acquired, processing the job... [2025-03-19 21:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:51:03] Production.INFO: ==8173== Lock acquired, processing the job... [2025-03-19 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:51:03] Production.INFO: ==8177== Lock acquired, processing the job... [2025-03-19 21:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:51:04] Production.INFO: Account Balance Start. [2025-03-19 21:51:04] Production.INFO: CreateAllLog Start [2025-03-19 21:51:04] Production.INFO: 117 [2025-03-19 21:51:04] Production.INFO: ==8171== Lock acquired, processing the job... [2025-03-19 21:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:51:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:51:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.INFO: ==8173== Releasing lock... [2025-03-19 21:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:51:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.INFO: ==8179== Lock acquired, processing the job... [2025-03-19 21:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:51:04] Production.INFO: ==8181== Lock acquired, processing the job... [2025-03-19 21:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:51:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 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-03-19 21:51:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:51:04] Production.INFO: count ==23 [2025-03-19 21:51:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718365') start [2025-03-19 21:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:51:04] Production.INFO: Total Charge 0 [2025-03-19 21:51:04] Production.INFO: CreateAllLog End [2025-03-19 21:51:04] Production.ERROR: done [2025-03-19 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718365') end [2025-03-19 21:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:51:04] Production.INFO: 1 [2025-03-19 21:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:51:04] Production.INFO: ==8181== Releasing lock... [2025-03-19 21:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:51:04] Production.ERROR: done [2025-03-19 21:51:04] Production.INFO: Account Balance End. [2025-03-19 21:51:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:51:05] Production.INFO: ==8177== Releasing lock... [2025-03-19 21:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:51:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:51:06 [end_date_ymd] => 2025-03-19 21:51:06 [RateCDR] => 1 ) [2025-03-19 21:51:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:51:06' and `end` < '2025-03-19 21:51:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:51:14] Production.ERROR: CronJobId end10 [2025-03-19 21:51:14] Production.INFO: ==8175== Releasing lock... [2025-03-19 21:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:51:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:51:15] Production.INFO: call_cost start [2025-03-19 21:51:15] Production.INFO: call_cost end [2025-03-19 21:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:51:16] Production.INFO: ==8171== Releasing lock... [2025-03-19 21:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:51:18] Production.INFO: count ==1969 [2025-03-19 21:51:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:51:06 - End Time 2025-03-19 21:51:06 [2025-03-19 21:51:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718366', 'tblTempUsageDetail_20' ) start [2025-03-19 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718366', 'tblTempUsageDetail_20' ) end [2025-03-19 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718366', 'tblTempVendorCDR_20' ) start [2025-03-19 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718366', 'tblTempVendorCDR_20' ) end [2025-03-19 21:51:19] Production.INFO: ProcessCDR(1,14718366,1,1,2) [2025-03-19 21:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718366', 'tblTempUsageDetail_20' ) start [2025-03-19 21:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718366', 'tblTempUsageDetail_20' ) end [2025-03-19 21:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:51:22] Production.INFO: ==8179== Releasing lock... [2025-03-19 21:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:51:22] Production.INFO: 42.75 MB #Memory Used# [2025-03-20 01:52:02] Production.INFO: ==8247== Lock acquired, processing the job... [2025-03-20 01:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:52:02] Production.INFO: neon service started [2025-03-20 01:52:02] Production.INFO: neon service started [2025-03-20 01:52:02] Production.INFO: ==8247== Releasing lock... [2025-03-20 01:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:52:02] Production.INFO: ==8251== Lock acquired, processing the job... [2025-03-20 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:52:02] Production.INFO: ==8251== Releasing lock... [2025-03-20 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:52:02] Production.INFO: ==8249== Lock acquired, processing the job... [2025-03-19 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:52:03] Production.INFO: ==8249== Releasing lock... [2025-03-19 21:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:52:03] Production.INFO: ==8253== Lock acquired, processing the job... [2025-03-19 21:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:52:03] Production.INFO: ==8255== Lock acquired, processing the job... [2025-03-19 21:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:52:03] Production.INFO: ==8259== Lock acquired, processing the job... [2025-03-19 21:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:52:04] Production.INFO: Account Balance Start. [2025-03-19 21:52:04] Production.INFO: CreateAllLog Start [2025-03-19 21:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:52:04] Production.INFO: 117 [2025-03-19 21:52:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: ==8257== Lock acquired, processing the job... [2025-03-19 21:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:52:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: ==8255== Releasing lock... [2025-03-19 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:52:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: ==8262== Lock acquired, processing the job... [2025-03-19 21:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:52:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: ==8264== Lock acquired, processing the job... [2025-03-19 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:52:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:52:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:52:04] Production.INFO: Total Charge 0 [2025-03-19 21:52:04] Production.INFO: CreateAllLog End [2025-03-19 21:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:52:04] Production.INFO: count ==12 [2025-03-19 21:52:04] Production.ERROR: done [2025-03-19 21:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:52:04] Production.INFO: count ==23 [2025-03-19 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718370') start [2025-03-19 21:52:04] Production.ERROR: done [2025-03-19 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718370') end [2025-03-19 21:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:52:04] Production.INFO: 1 [2025-03-19 21:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:52:04] Production.INFO: Account Balance End. [2025-03-19 21:52:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:52:04] Production.INFO: ==8259== Releasing lock... [2025-03-19 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:52:04] Production.INFO: ==8264== Releasing lock... [2025-03-19 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:52:05 [end_date_ymd] => 2025-03-19 21:52:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:52:05' and `end` < '2025-03-19 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-03-19 21:52:13] Production.ERROR: CronJobId end10 [2025-03-19 21:52:13] Production.INFO: ==8257== Releasing lock... [2025-03-19 21:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:52:15] Production.INFO: call_cost start [2025-03-19 21:52:15] Production.INFO: call_cost end [2025-03-19 21:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:52:16] Production.INFO: ==8253== Releasing lock... [2025-03-19 21:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:52:18] Production.INFO: count ==1957 [2025-03-19 21:52:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:52:05 - End Time 2025-03-19 21:52:05 [2025-03-19 21:52:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718371', 'tblTempUsageDetail_20' ) start [2025-03-19 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718371', 'tblTempUsageDetail_20' ) end [2025-03-19 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718371', 'tblTempVendorCDR_20' ) start [2025-03-19 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718371', 'tblTempVendorCDR_20' ) end [2025-03-19 21:52:19] Production.INFO: ProcessCDR(1,14718371,1,1,2) [2025-03-19 21:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718371', 'tblTempUsageDetail_20' ) start [2025-03-19 21:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718371', 'tblTempUsageDetail_20' ) end [2025-03-19 21:52:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:52:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:52:23] Production.INFO: ==8262== Releasing lock... [2025-03-19 21:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:52:23] Production.INFO: 42.75 MB #Memory Used# [2025-03-20 01:53:01] Production.INFO: ==8330== Lock acquired, processing the job... [2025-03-20 01:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:53:01] Production.INFO: neon service started [2025-03-20 01:53:01] Production.INFO: neon service started [2025-03-20 01:53:01] Production.INFO: ==8330== Releasing lock... [2025-03-20 01:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:53:02] Production.INFO: ==8334== Lock acquired, processing the job... [2025-03-20 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:53:02] Production.INFO: ==8334== Releasing lock... [2025-03-20 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:53:02] Production.INFO: ==8332== Lock acquired, processing the job... [2025-03-19 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:53:02] Production.INFO: ==8332== Releasing lock... [2025-03-19 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:53:03] Production.INFO: ==8338== Lock acquired, processing the job... [2025-03-19 21:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:53:03] Production.INFO: ==8342== Lock acquired, processing the job... [2025-03-19 21:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:53:03] Production.INFO: ==8340== Lock acquired, processing the job... [2025-03-19 21:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:53:03] Production.INFO: ==8336== Lock acquired, processing the job... [2025-03-19 21:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:53:03] Production.INFO: Account Balance Start. [2025-03-19 21:53:03] Production.INFO: CreateAllLog Start [2025-03-19 21:53:03] Production.INFO: 117 [2025-03-19 21:53:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:53:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:03] Production.INFO: ==8345== Lock acquired, processing the job... [2025-03-19 21:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:53:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:03] Production.INFO: ==8338== Releasing lock... [2025-03-19 21:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:53:03] Production.INFO: ==8347== Lock acquired, processing the job... [2025-03-19 21:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:53:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:53:03] Production.INFO: Date 2025-03-13 [2025-03-19 21:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:03] Production.INFO: Date 2025-03-14 [2025-03-19 21:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:03] Production.INFO: Date 2025-03-15 [2025-03-19 21:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:03] Production.INFO: Date 2025-03-16 [2025-03-19 21:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:03] Production.INFO: Date 2025-03-17 [2025-03-19 21:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:03] Production.INFO: Date 2025-03-18 [2025-03-19 21:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:53:04] Production.INFO: Total Charge 0 [2025-03-19 21:53:04] Production.INFO: CreateAllLog End [2025-03-19 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-03-19 21:53:04] Production.ERROR: done [2025-03-19 21:53:04] Production.INFO: count ==12 [2025-03-19 21:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 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-03-19 21:53:04] Production.INFO: count ==23 [2025-03-19 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718375') start [2025-03-19 21:53:04] Production.INFO: Account Balance End. [2025-03-19 21:53:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:53:04] Production.INFO: ==8342== Releasing lock... [2025-03-19 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:53:04] Production.ERROR: done [2025-03-19 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718375') end [2025-03-19 21:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:53:04] Production.INFO: 1 [2025-03-19 21:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:53:04] Production.INFO: ==8347== Releasing lock... [2025-03-19 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:53:05 [end_date_ymd] => 2025-03-19 21:53:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:53:05' and `end` < '2025-03-19 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-03-19 21:53:14] Production.ERROR: CronJobId end10 [2025-03-19 21:53:14] Production.INFO: ==8340== Releasing lock... [2025-03-19 21:53:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:53:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:53:15] Production.INFO: call_cost start [2025-03-19 21:53:15] Production.INFO: call_cost end [2025-03-19 21:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:53:16] Production.INFO: ==8336== Releasing lock... [2025-03-19 21:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:53:17] Production.INFO: count ==1959 [2025-03-19 21:53:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:53:05 - End Time 2025-03-19 21:53:05 [2025-03-19 21:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718376', 'tblTempUsageDetail_20' ) start [2025-03-19 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718376', 'tblTempUsageDetail_20' ) end [2025-03-19 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718376', 'tblTempVendorCDR_20' ) start [2025-03-19 21:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718376', 'tblTempVendorCDR_20' ) end [2025-03-19 21:53:18] Production.INFO: ProcessCDR(1,14718376,1,1,2) [2025-03-19 21:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718376', 'tblTempUsageDetail_20' ) start [2025-03-19 21:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718376', 'tblTempUsageDetail_20' ) end [2025-03-19 21:53:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:53:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:53:23] Production.INFO: ==8345== Releasing lock... [2025-03-19 21:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:53:23] Production.INFO: 42.75 MB #Memory Used# [2025-03-20 01:54:02] Production.INFO: ==8417== Lock acquired, processing the job... [2025-03-20 01:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:54:02] Production.INFO: neon service started [2025-03-20 01:54:02] Production.INFO: neon service started [2025-03-20 01:54:02] Production.INFO: ==8417== Releasing lock... [2025-03-20 01:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:54:02] Production.INFO: ==8421== Lock acquired, processing the job... [2025-03-20 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:54:02] Production.INFO: ==8421== Releasing lock... [2025-03-20 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:54:02] Production.INFO: ==8419== Lock acquired, processing the job... [2025-03-19 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:54:03] Production.INFO: ==8419== Releasing lock... [2025-03-19 21:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:54:03] Production.INFO: ==8429== Lock acquired, processing the job... [2025-03-19 21:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:54:03] Production.INFO: ==8434== Lock acquired, processing the job... [2025-03-19 21:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:54:04] Production.INFO: Account Balance Start. [2025-03-19 21:54:04] Production.INFO: CreateAllLog Start [2025-03-19 21:54:04] Production.INFO: 117 [2025-03-19 21:54:04] Production.INFO: ==8423== Lock acquired, processing the job... [2025-03-19 21:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:54:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.INFO: count ==12 [2025-03-19 21:54:04] Production.INFO: ==8425== Lock acquired, processing the job... [2025-03-19 21:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:54:04] Production.INFO: count ==23 [2025-03-19 21:54:04] Production.INFO: ==8427== Lock acquired, processing the job... [2025-03-19 21:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718378') start [2025-03-19 21:54:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.INFO: ==8431== Lock acquired, processing the job... [2025-03-19 21:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718378') end [2025-03-19 21:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:54:04] Production.INFO: 1 [2025-03-19 21:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:54:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.INFO: ==8434== Releasing lock... [2025-03-19 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:54:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:54:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.INFO: ==8425== Releasing lock... [2025-03-19 21:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:54:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.ERROR: done [2025-03-19 21:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:54:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:54:04] Production.INFO: Total Charge 0 [2025-03-19 21:54:04] Production.INFO: CreateAllLog End [2025-03-19 21:54:05] Production.ERROR: done [2025-03-19 21:54:05] Production.INFO: Account Balance End. [2025-03-19 21:54:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:54:05] Production.INFO: ==8429== Releasing lock... [2025-03-19 21:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:54:06 [end_date_ymd] => 2025-03-19 21:54:06 [RateCDR] => 1 ) [2025-03-19 21: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-03-19 18:54:06' and `end` < '2025-03-19 21: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-03-19 21:54:14] Production.ERROR: CronJobId end10 [2025-03-19 21:54:14] Production.INFO: ==8427== Releasing lock... [2025-03-19 21:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:54:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:54:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:54:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:54:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:54:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:54:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:54:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:54:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:54:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:54:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:54:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:54:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:54:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:54:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:54:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:54:16] Production.INFO: call_cost start [2025-03-19 21:54:16] Production.INFO: call_cost end [2025-03-19 21:54:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:54:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:54:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:54:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:54:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:54:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:54:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:54:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:54:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:54:17] Production.INFO: ==8423== Releasing lock... [2025-03-19 21:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:54:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:54:18] Production.INFO: count ==1901 [2025-03-19 21:54:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:54:06 - End Time 2025-03-19 21:54:06 [2025-03-19 21:54:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718381', 'tblTempUsageDetail_20' ) start [2025-03-19 21:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718381', 'tblTempUsageDetail_20' ) end [2025-03-19 21:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718381', 'tblTempVendorCDR_20' ) start [2025-03-19 21:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718381', 'tblTempVendorCDR_20' ) end [2025-03-19 21:54:19] Production.INFO: ProcessCDR(1,14718381,1,1,2) [2025-03-19 21:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718381', 'tblTempUsageDetail_20' ) start [2025-03-19 21:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718381', 'tblTempUsageDetail_20' ) end [2025-03-19 21:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:54:22] Production.INFO: ==8431== Releasing lock... [2025-03-19 21:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:54:22] Production.INFO: 42.75 MB #Memory Used# [2025-03-20 01:55:01] Production.INFO: ==8500== Lock acquired, processing the job... [2025-03-20 01:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:55:01] Production.INFO: neon service started [2025-03-20 01:55:01] Production.INFO: neon service started [2025-03-20 01:55:01] Production.INFO: ==8500== Releasing lock... [2025-03-20 01:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:55:02] Production.INFO: ==8502== Lock acquired, processing the job... [2025-03-19 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:55:02] Production.INFO: ==8502== Releasing lock... [2025-03-19 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:55:02] Production.INFO: ==8504== Lock acquired, processing the job... [2025-03-20 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:55:02] Production.INFO: ==8504== Releasing lock... [2025-03-20 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:55:03] Production.INFO: ==8506== Lock acquired, processing the job... [2025-03-19 21:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:55:03] Production.INFO: ==8509== Lock acquired, processing the job... [2025-03-19 21:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:55:03] Production.INFO: ==8515== Lock acquired, processing the job... [2025-03-19 21:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:55:03] Production.INFO: ==8511== Lock acquired, processing the job... [2025-03-19 21:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:55:03] Production.INFO: ==8513== Lock acquired, processing the job... [2025-03-19 21:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:55:03] Production.INFO: ==8509== Releasing lock... [2025-03-19 21:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:55:03] Production.INFO: ==8517== Lock acquired, processing the job... [2025-03-19 21:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:55:03] Production.INFO: Account Balance Start. [2025-03-19 21:55:03] Production.INFO: CreateAllLog Start [2025-03-19 21:55:03] Production.INFO: 117 [2025-03-19 21:55:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:55:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:55:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:55:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:55:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:55:04] Production.ERROR: done [2025-03-19 21:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:55:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 21:55:04] Production.INFO: count ==12 [2025-03-19 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-03-19 21:55:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:55:04] Production.INFO: count ==23 [2025-03-19 21:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718385') start [2025-03-19 21:55:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:55:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:55:04] Production.ERROR: done [2025-03-19 21:55:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718385') end [2025-03-19 21:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:55:04] Production.INFO: 1 [2025-03-19 21:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:55:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:55:04] Production.INFO: ==8517== Releasing lock... [2025-03-19 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:55:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:55:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:55:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:55:04] Production.INFO: Total Charge 0 [2025-03-19 21:55:04] Production.INFO: CreateAllLog End [2025-03-19 21:55:04] Production.INFO: Account Balance End. [2025-03-19 21:55:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:55:04] Production.INFO: ==8513== Releasing lock... [2025-03-19 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:55:05 [end_date_ymd] => 2025-03-19 21:55:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:55:05' and `end` < '2025-03-19 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-03-19 21:55:13] Production.ERROR: CronJobId end10 [2025-03-19 21:55:13] Production.INFO: ==8511== Releasing lock... [2025-03-19 21:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:55:15] Production.INFO: call_cost start [2025-03-19 21:55:15] Production.INFO: call_cost end [2025-03-19 21:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:55:16] Production.INFO: ==8506== Releasing lock... [2025-03-19 21:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:55:17] Production.INFO: count ==1822 [2025-03-19 21:55:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:55:05 - End Time 2025-03-19 21:55:05 [2025-03-19 21:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718386', 'tblTempUsageDetail_20' ) start [2025-03-19 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718386', 'tblTempUsageDetail_20' ) end [2025-03-19 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718386', 'tblTempVendorCDR_20' ) start [2025-03-19 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718386', 'tblTempVendorCDR_20' ) end [2025-03-19 21:55:18] Production.INFO: ProcessCDR(1,14718386,1,1,2) [2025-03-19 21:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718386', 'tblTempUsageDetail_20' ) start [2025-03-19 21:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718386', 'tblTempUsageDetail_20' ) end [2025-03-19 21:55:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:55:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:55:23] Production.INFO: ==8515== Releasing lock... [2025-03-19 21:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:55:23] Production.INFO: 42 MB #Memory Used# [2025-03-20 01:56:02] Production.INFO: ==8586== Lock acquired, processing the job... [2025-03-20 01:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:56:02] Production.INFO: neon service started [2025-03-20 01:56:02] Production.INFO: neon service started [2025-03-20 01:56:02] Production.INFO: ==8586== Releasing lock... [2025-03-20 01:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:56:02] Production.INFO: ==8590== Lock acquired, processing the job... [2025-03-20 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:56:02] Production.INFO: ==8590== Releasing lock... [2025-03-20 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:56:02] Production.INFO: ==8588== Lock acquired, processing the job... [2025-03-19 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:56:03] Production.INFO: ==8588== Releasing lock... [2025-03-19 21:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:56:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 21:56:03] Production.INFO: ==8594== Lock acquired, processing the job... [2025-03-19 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:56:04] Production.INFO: ==8597== Lock acquired, processing the job... [2025-03-19 21:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:56:04] Production.INFO: ==8603== Lock acquired, processing the job... [2025-03-19 21:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:56:04] Production.INFO: ==8592== Lock acquired, processing the job... [2025-03-19 21:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:56:04] Production.INFO: ==8594== Releasing lock... [2025-03-19 21:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21: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-03-19 21:56:04] Production.INFO: count ==12 [2025-03-19 21: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-03-19 21:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:56:04] Production.INFO: count ==23 [2025-03-19 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718388') start [2025-03-19 21:56:04] Production.INFO: ==8599== Lock acquired, processing the job... [2025-03-19 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:56:04] Production.INFO: ==8601== Lock acquired, processing the job... [2025-03-19 21:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718388') end [2025-03-19 21:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:56:04] Production.INFO: 1 [2025-03-19 21:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:56:04] Production.INFO: Account Balance Start. [2025-03-19 21:56:04] Production.INFO: CreateAllLog Start [2025-03-19 21:56:04] Production.INFO: 117 [2025-03-19 21:56:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:56:04] Production.INFO: ==8603== Releasing lock... [2025-03-19 21:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:56:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:05] Production.ERROR: done [2025-03-19 21:56:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:56:05] Production.INFO: Date 2025-03-18 [2025-03-19 21:56:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:05] Production.INFO: Date 2025-03-19 [2025-03-19 21:56:05] Production.INFO: Reseller ==> 0 [2025-03-19 21:56:05] Production.ERROR: done [2025-03-19 21:56:05] Production.INFO: Total Charge 0 [2025-03-19 21:56:05] Production.INFO: CreateAllLog End [2025-03-19 21:56:05] Production.INFO: Account Balance End. [2025-03-19 21:56:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:56:05] Production.INFO: ==8599== Releasing lock... [2025-03-19 21:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:56:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:56:06 [end_date_ymd] => 2025-03-19 21:56:06 [RateCDR] => 1 ) [2025-03-19 21: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-03-19 18:56:06' and `end` < '2025-03-19 21: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-03-19 21:56:15] Production.ERROR: CronJobId end10 [2025-03-19 21:56:15] Production.INFO: ==8597== Releasing lock... [2025-03-19 21:56:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:56:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:56:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:56:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:56:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:56:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:56:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:56:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:56:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:56:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:56:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:56:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:56:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:56:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:56:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:56:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:56:16] Production.INFO: call_cost start [2025-03-19 21:56:16] Production.INFO: call_cost end [2025-03-19 21:56:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:56:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:56:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:56:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:56:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:56:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:56:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:56:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:56:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:56:17] Production.INFO: ==8592== Releasing lock... [2025-03-19 21:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:56:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:56:18] Production.INFO: count ==1742 [2025-03-19 21:56:19] Production.ERROR: pbx CDR StartTime 2025-03-19 18:56:06 - End Time 2025-03-19 21:56:06 [2025-03-19 21:56:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718391', 'tblTempUsageDetail_20' ) start [2025-03-19 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718391', 'tblTempUsageDetail_20' ) end [2025-03-19 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718391', 'tblTempVendorCDR_20' ) start [2025-03-19 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718391', 'tblTempVendorCDR_20' ) end [2025-03-19 21:56:19] Production.INFO: ProcessCDR(1,14718391,1,1,2) [2025-03-19 21:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718391', 'tblTempUsageDetail_20' ) start [2025-03-19 21:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718391', 'tblTempUsageDetail_20' ) end [2025-03-19 21:56:24] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:56:24] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:56:24] Production.INFO: ==8601== Releasing lock... [2025-03-19 21:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:56:24] Production.INFO: 41.25 MB #Memory Used# [2025-03-20 01:57:01] Production.INFO: ==8674== Lock acquired, processing the job... [2025-03-20 01:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:57:01] Production.INFO: neon service started [2025-03-20 01:57:01] Production.INFO: neon service started [2025-03-20 01:57:01] Production.INFO: ==8674== Releasing lock... [2025-03-20 01:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:57:02] Production.INFO: ==8676== Lock acquired, processing the job... [2025-03-19 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:57:02] Production.INFO: ==8676== Releasing lock... [2025-03-19 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:57:02] Production.INFO: ==8678== Lock acquired, processing the job... [2025-03-20 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:57:02] Production.INFO: ==8678== Releasing lock... [2025-03-20 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:57:03] Production.INFO: ==8689== Lock acquired, processing the job... [2025-03-19 21:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:57:03] Production.INFO: ==8691== Lock acquired, processing the job... [2025-03-19 21:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:57:03] Production.INFO: ==8680== Lock acquired, processing the job... [2025-03-19 21:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 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-03-19 21:57:03] Production.INFO: ==8682== Lock acquired, processing the job... [2025-03-19 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:57:03] Production.INFO: count ==12 [2025-03-19 21:57:03] Production.INFO: ==8686== Lock acquired, processing the job... [2025-03-19 21:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:57:03] Production.INFO: ==8684== Lock acquired, processing the job... [2025-03-19 21:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 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-03-19 21:57:03] Production.INFO: count ==23 [2025-03-19 21:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718392') start [2025-03-19 21:57:03] Production.INFO: Account Balance Start. [2025-03-19 21:57:03] Production.INFO: CreateAllLog Start [2025-03-19 21:57:03] Production.INFO: 117 [2025-03-19 21:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718392') end [2025-03-19 21:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:57:03] Production.INFO: 1 [2025-03-19 21:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:57:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:03] Production.INFO: ==8691== Releasing lock... [2025-03-19 21:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:57:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:57:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:03] Production.ERROR: done [2025-03-19 21:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:57:03] Production.INFO: ==8682== Releasing lock... [2025-03-19 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:57:03] Production.INFO: Date 2025-03-13 [2025-03-19 21:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:04] Production.ERROR: done [2025-03-19 21:57:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:57:04] Production.INFO: Total Charge 0 [2025-03-19 21:57:04] Production.INFO: CreateAllLog End [2025-03-19 21:57:04] Production.INFO: Account Balance End. [2025-03-19 21:57:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:57:04] Production.INFO: ==8686== Releasing lock... [2025-03-19 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:57:05 [end_date_ymd] => 2025-03-19 21:57:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:57:05' and `end` < '2025-03-19 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-03-19 21:57:13] Production.ERROR: CronJobId end10 [2025-03-19 21:57:13] Production.INFO: ==8684== Releasing lock... [2025-03-19 21:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:57:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:57:15] Production.INFO: call_cost start [2025-03-19 21:57:15] Production.INFO: call_cost end [2025-03-19 21:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:57:16] Production.INFO: ==8680== Releasing lock... [2025-03-19 21:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:57:17] Production.INFO: count ==1653 [2025-03-19 21:57:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:57:05 - End Time 2025-03-19 21:57:05 [2025-03-19 21:57:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718396', 'tblTempUsageDetail_20' ) start [2025-03-19 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718396', 'tblTempUsageDetail_20' ) end [2025-03-19 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718396', 'tblTempVendorCDR_20' ) start [2025-03-19 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718396', 'tblTempVendorCDR_20' ) end [2025-03-19 21:57:18] Production.INFO: ProcessCDR(1,14718396,1,1,2) [2025-03-19 21:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718396', 'tblTempUsageDetail_20' ) start [2025-03-19 21:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718396', 'tblTempUsageDetail_20' ) end [2025-03-19 21:57:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:57:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:57:23] Production.INFO: ==8689== Releasing lock... [2025-03-19 21:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:57:23] Production.INFO: 40.5 MB #Memory Used# [2025-03-20 01:58:02] Production.INFO: ==8756== Lock acquired, processing the job... [2025-03-20 01:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:58:02] Production.INFO: neon service started [2025-03-20 01:58:02] Production.INFO: neon service started [2025-03-20 01:58:02] Production.INFO: ==8756== Releasing lock... [2025-03-20 01:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:58:02] Production.INFO: ==8758== Lock acquired, processing the job... [2025-03-19 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:58:02] Production.INFO: ==8760== Lock acquired, processing the job... [2025-03-20 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 21:58:02] Production.INFO: ==8758== Releasing lock... [2025-03-19 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:58:02] Production.INFO: ==8760== Releasing lock... [2025-03-20 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:58:03] Production.INFO: ==8765== Lock acquired, processing the job... [2025-03-19 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:58:03] Production.INFO: ==8763== Lock acquired, processing the job... [2025-03-19 21:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:58:03] Production.INFO: ==8773== Lock acquired, processing the job... [2025-03-19 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:58:03] Production.INFO: ==8767== Lock acquired, processing the job... [2025-03-19 21:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:58:04] Production.INFO: ==8769== Lock acquired, processing the job... [2025-03-19 21:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:58:04] Production.INFO: ==8765== Releasing lock... [2025-03-19 21:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:58:04] Production.INFO: count ==12 [2025-03-19 21:58:04] Production.INFO: ==8771== Lock acquired, processing the job... [2025-03-19 21:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 21:58:04] Production.INFO: count ==23 [2025-03-19 21:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718399') start [2025-03-19 21:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:58:04] Production.INFO: Account Balance Start. [2025-03-19 21:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:58:04] Production.INFO: CreateAllLog Start [2025-03-19 21:58:04] Production.INFO: 117 [2025-03-19 21:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:58:04] Production.INFO: Date 2025-03-08 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:58:04] Production.INFO: Date 2025-03-09 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718399') end [2025-03-19 21:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:58:04] Production.INFO: 1 [2025-03-19 21:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:58:04] Production.INFO: Date 2025-03-10 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.INFO: Date 2025-03-11 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.INFO: Date 2025-03-12 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.INFO: ==8773== Releasing lock... [2025-03-19 21:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:58:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.ERROR: done [2025-03-19 21:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:58:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.ERROR: done [2025-03-19 21:58:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:58:04] Production.INFO: Total Charge 0 [2025-03-19 21:58:04] Production.INFO: CreateAllLog End [2025-03-19 21:58:04] Production.INFO: Account Balance End. [2025-03-19 21:58:05] Production.ERROR: CronJobId end 12 [2025-03-19 21:58:05] Production.INFO: ==8769== Releasing lock... [2025-03-19 21:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:58:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:58:05 [end_date_ymd] => 2025-03-19 21:58:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 18:58:05' and `end` < '2025-03-19 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-03-19 21:58:14] Production.ERROR: CronJobId end10 [2025-03-19 21:58:14] Production.INFO: ==8767== Releasing lock... [2025-03-19 21:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:58:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:58:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:58:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:58:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:58:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:58:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:58:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:58:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:58:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:58:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:58:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:58:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:58:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:58:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:58:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:58:15] Production.INFO: call_cost start [2025-03-19 21:58:15] Production.INFO: call_cost end [2025-03-19 21:58:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:58:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:58:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:58:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:58:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:58:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:58:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:58:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:58:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:58:16] Production.INFO: ==8763== Releasing lock... [2025-03-19 21:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:58:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:58:17] Production.INFO: count ==1575 [2025-03-19 21:58:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:58:05 - End Time 2025-03-19 21:58:05 [2025-03-19 21:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718401', 'tblTempUsageDetail_20' ) start [2025-03-19 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718401', 'tblTempUsageDetail_20' ) end [2025-03-19 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718401', 'tblTempVendorCDR_20' ) start [2025-03-19 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718401', 'tblTempVendorCDR_20' ) end [2025-03-19 21:58:18] Production.INFO: ProcessCDR(1,14718401,1,1,2) [2025-03-19 21:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718401', 'tblTempUsageDetail_20' ) start [2025-03-19 21:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718401', 'tblTempUsageDetail_20' ) end [2025-03-19 21:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:58:22] Production.INFO: ==8771== Releasing lock... [2025-03-19 21:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:58:22] Production.INFO: 39.75 MB #Memory Used# [2025-03-20 01:59:01] Production.INFO: ==8841== Lock acquired, processing the job... [2025-03-20 01:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 01:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 01:59:01] Production.INFO: neon service started [2025-03-20 01:59:01] Production.INFO: neon service started [2025-03-20 01:59:01] Production.INFO: ==8841== Releasing lock... [2025-03-20 01:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 01:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 21:59:01] Production.INFO: ==8843== Lock acquired, processing the job... [2025-03-19 21:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 21:59:02] Production.INFO: ==8843== Releasing lock... [2025-03-19 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 21:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:59:02] Production.INFO: ==8845== Lock acquired, processing the job... [2025-03-20 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:59:02] Production.INFO: ==8845== Releasing lock... [2025-03-20 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 01:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 21:59:03] Production.INFO: ==8847== Lock acquired, processing the job... [2025-03-19 21:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 21:59:03] Production.INFO: ==8849== Lock acquired, processing the job... [2025-03-19 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 21:59:03] Production.INFO: ==8851== Lock acquired, processing the job... [2025-03-19 21:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 21:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 21:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 21:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 21:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 21:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 21:59:03] Production.INFO: ==8853== Lock acquired, processing the job... [2025-03-19 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 21:59:03] Production.INFO: ==8855== Lock acquired, processing the job... [2025-03-19 21:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 21:59:03] Production.INFO: ==8857== Lock acquired, processing the job... [2025-03-19 21:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 21:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 21:59:03] Production.INFO: ==8849== Releasing lock... [2025-03-19 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 21:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 21:59:03] Production.INFO: Account Balance Start. [2025-03-19 21:59:03] Production.INFO: CreateAllLog Start [2025-03-19 21:59:03] Production.INFO: 117 [2025-03-19 21:59:03] Production.INFO: Date 2025-03-08 [2025-03-19 21:59:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 21:59:03] Production.INFO: count ==12 [2025-03-19 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-03-19 21:59:03] Production.INFO: count ==23 [2025-03-19 21:59:03] Production.INFO: Date 2025-03-09 [2025-03-19 21:59:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718405') start [2025-03-19 21:59:03] Production.INFO: Date 2025-03-10 [2025-03-19 21:59:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718405') end [2025-03-19 21:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 21:59:03] Production.INFO: 1 [2025-03-19 21:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 21:59:03] Production.INFO: Date 2025-03-11 [2025-03-19 21:59:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:59:03] Production.INFO: Date 2025-03-12 [2025-03-19 21:59:03] Production.INFO: Reseller ==> 0 [2025-03-19 21:59:03] Production.INFO: ==8857== Releasing lock... [2025-03-19 21:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 21:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 21:59:04] Production.ERROR: done [2025-03-19 21:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 21:59:04] Production.INFO: Date 2025-03-13 [2025-03-19 21:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:59:04] Production.INFO: Date 2025-03-14 [2025-03-19 21:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:59:04] Production.INFO: Date 2025-03-15 [2025-03-19 21:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:59:04] Production.INFO: Date 2025-03-16 [2025-03-19 21:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:59:04] Production.INFO: Date 2025-03-17 [2025-03-19 21:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:59:04] Production.ERROR: done [2025-03-19 21:59:04] Production.INFO: Date 2025-03-18 [2025-03-19 21:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:59:04] Production.INFO: Date 2025-03-19 [2025-03-19 21:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 21:59:04] Production.INFO: Total Charge 0 [2025-03-19 21:59:04] Production.INFO: CreateAllLog End [2025-03-19 21:59:04] Production.INFO: Account Balance End. [2025-03-19 21:59:04] Production.ERROR: CronJobId end 12 [2025-03-19 21:59:04] Production.INFO: ==8853== Releasing lock... [2025-03-19 21:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 21:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 21:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 18:59:05 [end_date_ymd] => 2025-03-19 21:59:05 [RateCDR] => 1 ) [2025-03-19 21:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 18:59:05' and `end` < '2025-03-19 21:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 21:59:13] Production.ERROR: CronJobId end10 [2025-03-19 21:59:13] Production.INFO: ==8851== Releasing lock... [2025-03-19 21:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 21:59:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 21:59:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 21:59:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 21:59:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 21:59:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 21:59:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 21:59:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 21:59:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 21:59:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 21:59:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 21:59:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 21:59:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 21:59:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 21:59:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 21:59:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 21:59:16] Production.INFO: call_cost start [2025-03-19 21:59:16] Production.INFO: call_cost end [2025-03-19 21:59:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 21:59:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 21:59:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 21:59:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 21:59:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 21:59:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 21:59:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 21:59:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 21:59:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 21:59:17] Production.INFO: ==8847== Releasing lock... [2025-03-19 21:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 21:59:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 21:59:17] Production.INFO: count ==1493 [2025-03-19 21:59:18] Production.ERROR: pbx CDR StartTime 2025-03-19 18:59:05 - End Time 2025-03-19 21:59:05 [2025-03-19 21:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718406', 'tblTempUsageDetail_20' ) start [2025-03-19 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718406', 'tblTempUsageDetail_20' ) end [2025-03-19 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718406', 'tblTempVendorCDR_20' ) start [2025-03-19 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718406', 'tblTempVendorCDR_20' ) end [2025-03-19 21:59:18] Production.INFO: ProcessCDR(1,14718406,1,1,2) [2025-03-19 21:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 21:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 21:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718406', 'tblTempUsageDetail_20' ) start [2025-03-19 21:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718406', 'tblTempUsageDetail_20' ) end [2025-03-19 21:59:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 21:59:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 21:59:23] Production.INFO: ==8855== Releasing lock... [2025-03-19 21:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 21:59:23] Production.INFO: 39.25 MB #Memory Used# [2025-03-20 02:00:02] Production.INFO: ==8932== Lock acquired, processing the job... [2025-03-20 02:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:00:02] Production.INFO: neon service started [2025-03-20 02:00:02] Production.INFO: neon service started [2025-03-20 02:00:02] Production.INFO: ==8932== Releasing lock... [2025-03-20 02:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:00:02] Production.INFO: ==8934== Lock acquired, processing the job... [2025-03-19 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:00:03] Production.INFO: ==8934== Releasing lock... [2025-03-19 22:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:00:03] Production.INFO: ==8936== Lock acquired, processing the job... [2025-03-20 02:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:00:03] Production.INFO: ==8936== Releasing lock... [2025-03-20 02:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:00:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:00:04] Production.INFO: ==8941== Lock acquired, processing the job... [2025-03-19 22:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:00:04] Production.INFO: ==8939== Lock acquired, processing the job... [2025-03-19 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 22:00:04] Production.INFO: ==8943== Lock acquired, processing the job... [2025-03-19 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 22:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 22:00:04] Production.ERROR: CronJob PID - 8941 [2025-03-19 22:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-19 22:00:04] Production.ERROR: CronJob ID - 5 [2025-03-19 22:00:04] Production.ERROR: CronJob Last Run Time 2025-03-19 22:00:00 [2025-03-19 22:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 22:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 22:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 22:00:04] Production.ERROR: CronJob PID - 8943 [2025-03-19 22:00:04] Production.ERROR: CronJob Title - Account Block [2025-03-19 22:00:04] Production.ERROR: CronJob ID - 7 [2025-03-19 22:00:04] Production.ERROR: CronJob Last Run Time 2025-03-19 22:00:00 [2025-03-19 22:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 22:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 22:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 22:00:04] Production.INFO: ==8939== Releasing lock... [2025-03-19 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 22:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 22:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:00:04] Production.INFO: ==8951== Lock acquired, processing the job... [2025-03-19 22:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 22:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:00:04] Production.INFO: ==8945== Lock acquired, processing the job... [2025-03-19 22:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:00:04] Production.INFO: ==8949== Lock acquired, processing the job... [2025-03-19 22:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:00:04] Production.INFO: ==8947== Lock acquired, processing the job... [2025-03-19 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:00:04] Production.INFO: ==8943== Releasing lock... [2025-03-19 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:00:04] Production.INFO: ==8953== Lock acquired, processing the job... [2025-03-19 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:00:04] Production.INFO: Account Balance Start. [2025-03-19 22:00:04] Production.INFO: CreateAllLog Start [2025-03-19 22:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:00:04] Production.INFO: 117 [2025-03-19 22:00:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:00:05] Production.INFO: Date 2025-03-09 [2025-03-19 22:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:00:05] Production.INFO: count ==12 [2025-03-19 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-03-19 22:00:05] Production.INFO: count ==23 [2025-03-19 22:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718410') start [2025-03-19 22:00:05] Production.INFO: Date 2025-03-10 [2025-03-19 22:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:00:05] Production.ERROR: done [2025-03-19 22:00:05] Production.ERROR: done [2025-03-19 22:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718410') end [2025-03-19 22:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:00:05] Production.INFO: 1 [2025-03-19 22:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 22:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718411', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 22:00:05] Production.INFO: ==8953== Releasing lock... [2025-03-19 22:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:00:05] Production.INFO: Date 2025-03-11 [2025-03-19 22:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:00:05] Production.ERROR: done [2025-03-19 22:00:05] Production.INFO: Date 2025-03-12 [2025-03-19 22:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:00:05] Production.INFO: Date 2025-03-13 [2025-03-19 22:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:00:05] Production.INFO: Date 2025-03-14 [2025-03-19 22:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:00:05] Production.INFO: Date 2025-03-15 [2025-03-19 22:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:00:05] Production.INFO: Date 2025-03-16 [2025-03-19 22:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:00:05] Production.INFO: Date 2025-03-17 [2025-03-19 22:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:00:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:00:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:00:05] Production.INFO: Total Charge 0 [2025-03-19 22:00:05] Production.INFO: CreateAllLog End [2025-03-19 22:00:06] Production.INFO: Account Balance End. [2025-03-19 22:00:06] Production.ERROR: CronJobId end 12 [2025-03-19 22:00:06] Production.INFO: ==8947== Releasing lock... [2025-03-19 22:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:00:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:00:07 [end_date_ymd] => 2025-03-19 22:00:07 [RateCDR] => 1 ) [2025-03-19 22: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-03-19 19:00:07' and `end` < '2025-03-19 22: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-03-19 22:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718411', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 22:00:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 22:00:10] Production.INFO: ProcessCDR(1,14718411,1,1,2) [2025-03-19 22:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718411,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718411,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:00:10] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:00:10] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:00:11] Production.INFO: ==8951== Releasing lock... [2025-03-19 22:00:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 22:00:11] Production.INFO: 26 MB #Memory Used# [2025-03-19 22:00:17] Production.ERROR: CronJobId end10 [2025-03-19 22:00:17] Production.INFO: ==8945== Releasing lock... [2025-03-19 22:00:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:00:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:00:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:00:18] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:00:18] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:00:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:00:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:00:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:00:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:00:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:00:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:00:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:00:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:00:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:00:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:00:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:00:18] Production.INFO: call_cost start [2025-03-19 22:00:18] Production.INFO: call_cost end [2025-03-19 22:00:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:00:19] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:00:19] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:00:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:00:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:00:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:00:19] Production.INFO: count ==1412 [2025-03-19 22:00:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:00:19] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:00:19] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:00:19] Production.INFO: ==8941== Releasing lock... [2025-03-19 22:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:00:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:00:19] Production.ERROR: pbx CDR StartTime 2025-03-19 19:00:07 - End Time 2025-03-19 22:00:07 [2025-03-19 22:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718412', 'tblTempUsageDetail_20' ) start [2025-03-19 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718412', 'tblTempUsageDetail_20' ) end [2025-03-19 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718412', 'tblTempVendorCDR_20' ) start [2025-03-19 22:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718412', 'tblTempVendorCDR_20' ) end [2025-03-19 22:00:19] Production.INFO: ProcessCDR(1,14718412,1,1,2) [2025-03-19 22:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718412', 'tblTempUsageDetail_20' ) start [2025-03-19 22:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718412', 'tblTempUsageDetail_20' ) end [2025-03-19 22:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:00:23] Production.INFO: ==8949== Releasing lock... [2025-03-19 22:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:00:23] Production.INFO: 38.75 MB #Memory Used# [2025-03-20 02:01:01] Production.INFO: ==9029== Lock acquired, processing the job... [2025-03-20 02:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:01:01] Production.INFO: neon service started [2025-03-20 02:01:01] Production.INFO: neon service started [2025-03-20 02:01:01] Production.INFO: ==9029== Releasing lock... [2025-03-20 02:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:01:02] Production.INFO: ==9044== Lock acquired, processing the job... [2025-03-20 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:01:02] Production.INFO: ==9044== Releasing lock... [2025-03-20 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:01:02] Production.INFO: ==9042== Lock acquired, processing the job... [2025-03-19 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:01:02] Production.INFO: ==9042== Releasing lock... [2025-03-19 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:01:03] Production.INFO: ==9053== Lock acquired, processing the job... [2025-03-19 22:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:01:03] Production.INFO: ==9055== Lock acquired, processing the job... [2025-03-19 22:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:01:03] Production.INFO: Account Balance Start. [2025-03-19 22:01:03] Production.INFO: CreateAllLog Start [2025-03-19 22:01:03] Production.INFO: 117 [2025-03-19 22:01:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:01:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:03] Production.INFO: ==9047== Lock acquired, processing the job... [2025-03-19 22:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:01:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:01:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:01:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:03] Production.INFO: ==9049== Lock acquired, processing the job... [2025-03-19 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:01:03] Production.INFO: ==9051== Lock acquired, processing the job... [2025-03-19 22:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:01:03] Production.INFO: ==9057== Lock acquired, processing the job... [2025-03-19 22:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:01:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:01:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:01:04] Production.ERROR: done [2025-03-19 22:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22: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-03-19 22:01:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:01:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:01:04] Production.INFO: count ==23 [2025-03-19 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718416') start [2025-03-19 22:01:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:01:04] Production.ERROR: done [2025-03-19 22:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718416') end [2025-03-19 22:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:01:04] Production.INFO: 1 [2025-03-19 22:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:01:04] Production.INFO: ==9049== Releasing lock... [2025-03-19 22:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:01:04] Production.INFO: ==9057== Releasing lock... [2025-03-19 22:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:01:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:01:04] Production.INFO: Total Charge 0 [2025-03-19 22:01:04] Production.INFO: CreateAllLog End [2025-03-19 22:01:04] Production.INFO: Account Balance End. [2025-03-19 22:01:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:01:04] Production.INFO: ==9053== Releasing lock... [2025-03-19 22:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:01:05 [end_date_ymd] => 2025-03-19 22:01:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:01:05' and `end` < '2025-03-19 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-03-19 22:01:15] Production.ERROR: CronJobId end10 [2025-03-19 22:01:15] Production.INFO: ==9051== Releasing lock... [2025-03-19 22:01:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:01:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:01:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:01:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:01:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:01:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:01:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:01:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:01:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:01:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:01:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:01:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:01:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:01:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:01:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:01:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:01:17] Production.INFO: call_cost start [2025-03-19 22:01:17] Production.INFO: call_cost end [2025-03-19 22:01:17] Production.INFO: count ==1336 [2025-03-19 22:01:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:01:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:01:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:01:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:01:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:01:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:01:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:01:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:01:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:01:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:01:05 - End Time 2025-03-19 22:01:05 [2025-03-19 22:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718417', 'tblTempUsageDetail_20' ) start [2025-03-19 22:01:18] Production.INFO: ==9047== Releasing lock... [2025-03-19 22:01:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:01:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718417', 'tblTempUsageDetail_20' ) end [2025-03-19 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718417', 'tblTempVendorCDR_20' ) start [2025-03-19 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718417', 'tblTempVendorCDR_20' ) end [2025-03-19 22:01:18] Production.INFO: ProcessCDR(1,14718417,1,1,2) [2025-03-19 22:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718417', 'tblTempUsageDetail_20' ) start [2025-03-19 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718417', 'tblTempUsageDetail_20' ) end [2025-03-19 22:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:01:21] Production.INFO: ==9055== Releasing lock... [2025-03-19 22:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:01:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-20 02:02:02] Production.INFO: ==9125== Lock acquired, processing the job... [2025-03-20 02:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:02:02] Production.INFO: neon service started [2025-03-20 02:02:02] Production.INFO: neon service started [2025-03-20 02:02:02] Production.INFO: ==9125== Releasing lock... [2025-03-20 02:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:02:02] Production.INFO: ==9129== Lock acquired, processing the job... [2025-03-20 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:02:02] Production.INFO: ==9129== Releasing lock... [2025-03-20 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:02:02] Production.INFO: ==9127== Lock acquired, processing the job... [2025-03-19 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:02:03] Production.INFO: ==9127== Releasing lock... [2025-03-19 22:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:02:03] Production.INFO: ==9132== Lock acquired, processing the job... [2025-03-19 22:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:02:04] Production.INFO: ==9134== Lock acquired, processing the job... [2025-03-19 22:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:02:04] Production.INFO: ==9140== Lock acquired, processing the job... [2025-03-19 22:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:02:04] Production.INFO: ==9134== Releasing lock... [2025-03-19 22:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:02:04] Production.INFO: ==9136== Lock acquired, processing the job... [2025-03-19 22:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:02:04] Production.INFO: ==9138== Lock acquired, processing the job... [2025-03-19 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:02:04] Production.INFO: ==9142== Lock acquired, processing the job... [2025-03-19 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:02:04] Production.INFO: Account Balance Start. [2025-03-19 22:02:04] Production.INFO: CreateAllLog Start [2025-03-19 22:02:04] Production.INFO: 117 [2025-03-19 22:02:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:02:04] Production.ERROR: done [2025-03-19 22:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:02:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:02:04] Production.INFO: count ==12 [2025-03-19 22:02:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:02:04] Production.INFO: count ==23 [2025-03-19 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718421') start [2025-03-19 22:02:04] Production.ERROR: done [2025-03-19 22:02:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718421') end [2025-03-19 22:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:02:04] Production.INFO: 1 [2025-03-19 22:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:02:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:02:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:04] Production.INFO: ==9142== Releasing lock... [2025-03-19 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:02:05] Production.INFO: Date 2025-03-14 [2025-03-19 22:02:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:05] Production.INFO: Date 2025-03-15 [2025-03-19 22:02:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:05] Production.INFO: Date 2025-03-16 [2025-03-19 22:02:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:05] Production.INFO: Date 2025-03-17 [2025-03-19 22:02:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:02:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:02:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:02:05] Production.INFO: Total Charge 0 [2025-03-19 22:02:05] Production.INFO: CreateAllLog End [2025-03-19 22:02:05] Production.INFO: Account Balance End. [2025-03-19 22:02:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:02:05] Production.INFO: ==9138== Releasing lock... [2025-03-19 22:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:02:05 [end_date_ymd] => 2025-03-19 22:02:05 [RateCDR] => 1 ) [2025-03-19 22:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:02:05' and `end` < '2025-03-19 22:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:02:13] Production.ERROR: CronJobId end10 [2025-03-19 22:02:13] Production.INFO: ==9136== Releasing lock... [2025-03-19 22:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:02:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:02:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:02:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:02:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:02:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:02:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:02:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:02:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:02:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:02:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:02:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:02:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:02:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:02:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:02:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:02:16] Production.INFO: call_cost start [2025-03-19 22:02:16] Production.INFO: call_cost end [2025-03-19 22:02:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:02:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:02:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:02:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:02:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:02:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:02:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:02:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:02:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:02:17] Production.INFO: ==9132== Releasing lock... [2025-03-19 22:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:02:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:02:18] Production.INFO: count ==1329 [2025-03-19 22:02:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:02:05 - End Time 2025-03-19 22:02:05 [2025-03-19 22:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718422', 'tblTempUsageDetail_20' ) start [2025-03-19 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718422', 'tblTempUsageDetail_20' ) end [2025-03-19 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718422', 'tblTempVendorCDR_20' ) start [2025-03-19 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718422', 'tblTempVendorCDR_20' ) end [2025-03-19 22:02:18] Production.INFO: ProcessCDR(1,14718422,1,1,2) [2025-03-19 22:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718422', 'tblTempUsageDetail_20' ) start [2025-03-19 22:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718422', 'tblTempUsageDetail_20' ) end [2025-03-19 22:02:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:02:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:02:22] Production.INFO: ==9140== Releasing lock... [2025-03-19 22:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:02:22] Production.INFO: 38 MB #Memory Used# [2025-03-20 02:03:01] Production.INFO: ==9212== Lock acquired, processing the job... [2025-03-20 02:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:03:01] Production.INFO: neon service started [2025-03-20 02:03:01] Production.INFO: neon service started [2025-03-20 02:03:01] Production.INFO: ==9212== Releasing lock... [2025-03-20 02:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:03:02] Production.INFO: ==9214== Lock acquired, processing the job... [2025-03-19 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:03:02] Production.INFO: ==9216== Lock acquired, processing the job... [2025-03-20 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:03:02] Production.INFO: ==9216== Releasing lock... [2025-03-20 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:03:02] Production.INFO: ==9214== Releasing lock... [2025-03-19 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:03:03] Production.INFO: ==9223== Lock acquired, processing the job... [2025-03-19 22:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:03:03] Production.INFO: ==9229== Lock acquired, processing the job... [2025-03-19 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:03:03] Production.INFO: ==9219== Lock acquired, processing the job... [2025-03-19 22:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:03:03] Production.INFO: ==9221== Lock acquired, processing the job... [2025-03-19 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:03:04] Production.INFO: ==9225== Lock acquired, processing the job... [2025-03-19 22:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:03:04] Production.INFO: count ==12 [2025-03-19 22:03:04] Production.INFO: ==9227== Lock acquired, processing the job... [2025-03-19 22:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 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-03-19 22:03:04] Production.INFO: count ==23 [2025-03-19 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718423') start [2025-03-19 22:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:03:04] Production.INFO: Account Balance Start. [2025-03-19 22:03:04] Production.INFO: CreateAllLog Start [2025-03-19 22:03:04] Production.INFO: 117 [2025-03-19 22:03:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718423') end [2025-03-19 22:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:03:04] Production.INFO: 1 [2025-03-19 22:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:03:04] Production.INFO: ==9229== Releasing lock... [2025-03-19 22:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:03:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.ERROR: done [2025-03-19 22:03:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:03:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.INFO: ==9221== Releasing lock... [2025-03-19 22:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:03:04] Production.ERROR: done [2025-03-19 22:03:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:03:04] Production.INFO: Total Charge 0 [2025-03-19 22:03:04] Production.INFO: CreateAllLog End [2025-03-19 22:03:05] Production.INFO: Account Balance End. [2025-03-19 22:03:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:03:05] Production.INFO: ==9225== Releasing lock... [2025-03-19 22:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:03:05 [end_date_ymd] => 2025-03-19 22:03:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:03:05' and `end` < '2025-03-19 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-03-19 22:03:13] Production.ERROR: CronJobId end10 [2025-03-19 22:03:13] Production.INFO: ==9223== Releasing lock... [2025-03-19 22:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:03:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:03:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:03:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:03:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:03:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:03:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:03:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:03:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:03:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:03:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:03:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:03:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:03:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:03:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:03:16] Production.INFO: call_cost start [2025-03-19 22:03:16] Production.INFO: call_cost end [2025-03-19 22:03:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:03:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:03:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:03:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:03:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:03:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:03:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:03:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:03:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:03:17] Production.INFO: ==9219== Releasing lock... [2025-03-19 22:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:03:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:03:18] Production.INFO: count ==1321 [2025-03-19 22:03:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:03:05 - End Time 2025-03-19 22:03:05 [2025-03-19 22:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718427', 'tblTempUsageDetail_20' ) start [2025-03-19 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718427', 'tblTempUsageDetail_20' ) end [2025-03-19 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718427', 'tblTempVendorCDR_20' ) start [2025-03-19 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718427', 'tblTempVendorCDR_20' ) end [2025-03-19 22:03:18] Production.INFO: ProcessCDR(1,14718427,1,1,2) [2025-03-19 22:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718427', 'tblTempUsageDetail_20' ) start [2025-03-19 22:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718427', 'tblTempUsageDetail_20' ) end [2025-03-19 22:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:03:21] Production.INFO: ==9227== Releasing lock... [2025-03-19 22:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:03:21] Production.INFO: 38.25 MB #Memory Used# [2025-03-20 02:04:02] Production.INFO: ==9300== Lock acquired, processing the job... [2025-03-20 02:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:04:02] Production.INFO: neon service started [2025-03-20 02:04:02] Production.INFO: neon service started [2025-03-20 02:04:02] Production.INFO: ==9300== Releasing lock... [2025-03-20 02:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:04:02] Production.INFO: ==9302== Lock acquired, processing the job... [2025-03-19 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:04:02] Production.INFO: ==9302== Releasing lock... [2025-03-19 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:04:02] Production.INFO: ==9304== Lock acquired, processing the job... [2025-03-20 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:04:03] Production.INFO: ==9304== Releasing lock... [2025-03-20 02:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:04:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:04:03] Production.INFO: ==9313== Lock acquired, processing the job... [2025-03-19 22:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:04:03] Production.INFO: Account Balance Start. [2025-03-19 22:04:03] Production.INFO: CreateAllLog Start [2025-03-19 22:04:03] Production.INFO: 117 [2025-03-19 22:04:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:03] Production.INFO: Date 2025-03-13 [2025-03-19 22:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:03] Production.INFO: Date 2025-03-14 [2025-03-19 22:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:03] Production.INFO: Date 2025-03-15 [2025-03-19 22:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:03] Production.INFO: Date 2025-03-16 [2025-03-19 22:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:04] Production.INFO: ==9307== Lock acquired, processing the job... [2025-03-19 22:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:04:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:04] Production.INFO: ==9309== Lock acquired, processing the job... [2025-03-19 22:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:04:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:04:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:04:04] Production.INFO: ==9311== Lock acquired, processing the job... [2025-03-19 22:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:04:04] Production.INFO: Total Charge 0 [2025-03-19 22:04:04] Production.INFO: ==9315== Lock acquired, processing the job... [2025-03-19 22:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:04:04] Production.INFO: CreateAllLog End [2025-03-19 22:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:04:04] Production.INFO: ==9317== Lock acquired, processing the job... [2025-03-19 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 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-03-19 22:04:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:04:04] Production.INFO: count ==23 [2025-03-19 22:04:04] Production.INFO: ==9309== Releasing lock... [2025-03-19 22:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:04:04] Production.ERROR: done [2025-03-19 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718431') start [2025-03-19 22:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:04:04] Production.INFO: Account Balance End. [2025-03-19 22:04:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:04:04] Production.INFO: ==9313== Releasing lock... [2025-03-19 22:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:04:04] Production.ERROR: done [2025-03-19 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718431') end [2025-03-19 22:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:04:04] Production.INFO: 1 [2025-03-19 22:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:04:04] Production.INFO: ==9317== Releasing lock... [2025-03-19 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:04:05 [end_date_ymd] => 2025-03-19 22:04:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:04:05' and `end` < '2025-03-19 22:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:04:13] Production.ERROR: CronJobId end10 [2025-03-19 22:04:13] Production.INFO: ==9311== Releasing lock... [2025-03-19 22:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:04:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:04:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:04:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:04:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:04:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:04:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:04:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:04:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:04:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:04:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:04:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:04:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:04:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:04:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:04:16] Production.INFO: call_cost start [2025-03-19 22:04:16] Production.INFO: call_cost end [2025-03-19 22:04:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:04:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:04:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:04:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:04:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:04:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:04:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:04:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:04:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:04:17] Production.INFO: ==9307== Releasing lock... [2025-03-19 22:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:04:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:04:18] Production.INFO: count ==1315 [2025-03-19 22:04:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:04:05 - End Time 2025-03-19 22:04:05 [2025-03-19 22:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718432', 'tblTempUsageDetail_20' ) start [2025-03-19 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718432', 'tblTempUsageDetail_20' ) end [2025-03-19 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718432', 'tblTempVendorCDR_20' ) start [2025-03-19 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718432', 'tblTempVendorCDR_20' ) end [2025-03-19 22:04:18] Production.INFO: ProcessCDR(1,14718432,1,1,2) [2025-03-19 22:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718432', 'tblTempUsageDetail_20' ) start [2025-03-19 22:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718432', 'tblTempUsageDetail_20' ) end [2025-03-19 22:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:04:22] Production.INFO: ==9315== Releasing lock... [2025-03-19 22:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:04:22] Production.INFO: 38 MB #Memory Used# [2025-03-20 02:05:01] Production.INFO: ==9389== Lock acquired, processing the job... [2025-03-20 02:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:05:01] Production.INFO: neon service started [2025-03-20 02:05:01] Production.INFO: neon service started [2025-03-20 02:05:01] Production.INFO: ==9389== Releasing lock... [2025-03-20 02:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:05:02] Production.INFO: ==9392== Lock acquired, processing the job... [2025-03-19 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:05:02] Production.INFO: ==9392== Releasing lock... [2025-03-19 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:05:02] Production.INFO: ==9394== Lock acquired, processing the job... [2025-03-20 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:05:02] Production.INFO: ==9394== Releasing lock... [2025-03-20 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:05:02] Production.INFO: ==9396== Lock acquired, processing the job... [2025-03-19 22:05:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:05:03] Production.INFO: ==9398== Lock acquired, processing the job... [2025-03-19 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:05:03] Production.INFO: ==9400== Lock acquired, processing the job... [2025-03-19 22:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:05:03] Production.INFO: ==9402== Lock acquired, processing the job... [2025-03-19 22:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:05:03] Production.INFO: ==9406== Lock acquired, processing the job... [2025-03-19 22:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:05:03] Production.INFO: Account Balance Start. [2025-03-19 22:05:03] Production.INFO: CreateAllLog Start [2025-03-19 22:05:03] Production.INFO: 117 [2025-03-19 22:05:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:05:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:05:03] Production.INFO: ==9404== Lock acquired, processing the job... [2025-03-19 22:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:05:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:05:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:05:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:05:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:05:03] Production.INFO: count ==12 [2025-03-19 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-03-19 22:05:03] Production.INFO: count ==23 [2025-03-19 22:05:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:05:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718436') start [2025-03-19 22:05:03] Production.INFO: ==9398== Releasing lock... [2025-03-19 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:05:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:05:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:05:03] Production.INFO: Date 2025-03-13 [2025-03-19 22:05:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718436') end [2025-03-19 22:05:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:05:03] Production.INFO: 1 [2025-03-19 22:05:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:05:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:05:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:05:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:05:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:05:04] Production.INFO: ==9406== Releasing lock... [2025-03-19 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:05:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:05:04] Production.ERROR: done [2025-03-19 22:05:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:05:04] Production.INFO: Total Charge 0 [2025-03-19 22:05:04] Production.INFO: CreateAllLog End [2025-03-19 22:05:04] Production.ERROR: done [2025-03-19 22:05:04] Production.INFO: Account Balance End. [2025-03-19 22:05:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:05:04] Production.INFO: ==9402== Releasing lock... [2025-03-19 22:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:05:05 [end_date_ymd] => 2025-03-19 22:05:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:05:05' and `end` < '2025-03-19 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-03-19 22:05:13] Production.ERROR: CronJobId end10 [2025-03-19 22:05:13] Production.INFO: ==9400== Releasing lock... [2025-03-19 22:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:05:15] Production.INFO: call_cost start [2025-03-19 22:05:15] Production.INFO: call_cost end [2025-03-19 22:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:05:16] Production.INFO: ==9396== Releasing lock... [2025-03-19 22:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:05:17] Production.INFO: count ==1310 [2025-03-19 22:05:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:05:05 - End Time 2025-03-19 22:05:05 [2025-03-19 22:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718437', 'tblTempUsageDetail_20' ) start [2025-03-19 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718437', 'tblTempUsageDetail_20' ) end [2025-03-19 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718437', 'tblTempVendorCDR_20' ) start [2025-03-19 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718437', 'tblTempVendorCDR_20' ) end [2025-03-19 22:05:18] Production.INFO: ProcessCDR(1,14718437,1,1,2) [2025-03-19 22:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718437', 'tblTempUsageDetail_20' ) start [2025-03-19 22:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718437', 'tblTempUsageDetail_20' ) end [2025-03-19 22:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:05:21] Production.INFO: ==9404== Releasing lock... [2025-03-19 22:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:05:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-20 02:06:02] Production.INFO: ==9483== Lock acquired, processing the job... [2025-03-20 02:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:06:02] Production.INFO: neon service started [2025-03-20 02:06:02] Production.INFO: neon service started [2025-03-20 02:06:02] Production.INFO: ==9483== Releasing lock... [2025-03-20 02:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:06:02] Production.INFO: ==9485== Lock acquired, processing the job... [2025-03-19 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:06:02] Production.INFO: ==9487== Lock acquired, processing the job... [2025-03-20 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 22:06:02] Production.INFO: ==9485== Releasing lock... [2025-03-19 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:06:02] Production.INFO: ==9487== Releasing lock... [2025-03-20 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:06:03] Production.INFO: ==9498== Lock acquired, processing the job... [2025-03-19 22:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:06:03] Production.INFO: ==9500== Lock acquired, processing the job... [2025-03-19 22:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:06:03] Production.INFO: Account Balance Start. [2025-03-19 22:06:03] Production.INFO: CreateAllLog Start [2025-03-19 22:06:03] Production.INFO: 117 [2025-03-19 22:06:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:06:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:06:04] Production.INFO: ==9496== Lock acquired, processing the job... [2025-03-19 22:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:06:04] Production.INFO: ==9491== Lock acquired, processing the job... [2025-03-19 22:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:06:04] Production.INFO: ==9493== Lock acquired, processing the job... [2025-03-19 22:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:06:04] Production.ERROR: done [2025-03-19 22:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:06:04] Production.INFO: ==9502== Lock acquired, processing the job... [2025-03-19 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:06:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:06:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:06:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:06:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:06:04] Production.ERROR: done [2025-03-19 22:06:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:06:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:06:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:06:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:06:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:06:04] Production.INFO: count ==23 [2025-03-19 22:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:06:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:06:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718441') start [2025-03-19 22:06:04] Production.INFO: Total Charge 0 [2025-03-19 22:06:04] Production.INFO: CreateAllLog End [2025-03-19 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718441') end [2025-03-19 22:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:06:04] Production.INFO: 1 [2025-03-19 22:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:06:04] Production.INFO: ==9493== Releasing lock... [2025-03-19 22:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:06:04] Production.INFO: ==9502== Releasing lock... [2025-03-19 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:06:04] Production.INFO: Account Balance End. [2025-03-19 22:06:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:06:05] Production.INFO: ==9498== Releasing lock... [2025-03-19 22:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:06:05 [end_date_ymd] => 2025-03-19 22:06:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:06:05' and `end` < '2025-03-19 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-03-19 22:06:14] Production.ERROR: CronJobId end10 [2025-03-19 22:06:14] Production.INFO: ==9496== Releasing lock... [2025-03-19 22:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:06:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:06:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:06:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:06:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:06:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:06:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:06:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:06:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:06:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:06:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:06:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:06:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:06:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:06:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:06:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:06:16] Production.INFO: call_cost start [2025-03-19 22:06:16] Production.INFO: call_cost end [2025-03-19 22:06:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:06:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:06:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:06:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:06:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:06:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:06:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:06:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:06:17] Production.INFO: count ==1303 [2025-03-19 22:06:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:06:17] Production.INFO: ==9491== Releasing lock... [2025-03-19 22:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:06:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:06:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:06:05 - End Time 2025-03-19 22:06:05 [2025-03-19 22:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718439', 'tblTempUsageDetail_20' ) start [2025-03-19 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718439', 'tblTempUsageDetail_20' ) end [2025-03-19 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718439', 'tblTempVendorCDR_20' ) start [2025-03-19 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718439', 'tblTempVendorCDR_20' ) end [2025-03-19 22:06:18] Production.INFO: ProcessCDR(1,14718439,1,1,2) [2025-03-19 22:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718439', 'tblTempUsageDetail_20' ) start [2025-03-19 22:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718439', 'tblTempUsageDetail_20' ) end [2025-03-19 22:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:06:21] Production.INFO: ==9500== Releasing lock... [2025-03-19 22:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:06:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-20 02:07:01] Production.INFO: ==9614== Lock acquired, processing the job... [2025-03-20 02:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:07:01] Production.INFO: neon service started [2025-03-20 02:07:01] Production.INFO: neon service started [2025-03-20 02:07:01] Production.INFO: ==9614== Releasing lock... [2025-03-20 02:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:07:02] Production.INFO: ==9617== Lock acquired, processing the job... [2025-03-19 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:07:02] Production.INFO: ==9619== Lock acquired, processing the job... [2025-03-20 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:07:02] Production.INFO: ==9619== Releasing lock... [2025-03-20 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:07:02] Production.INFO: ==9617== Releasing lock... [2025-03-19 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:07:03] Production.INFO: ==9621== Lock acquired, processing the job... [2025-03-19 22:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:07:03] Production.INFO: ==9626== Lock acquired, processing the job... [2025-03-19 22:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:07:03] Production.INFO: ==9630== Lock acquired, processing the job... [2025-03-19 22:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:07:03] Production.INFO: ==9623== Lock acquired, processing the job... [2025-03-19 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:07:03] Production.INFO: ==9628== Lock acquired, processing the job... [2025-03-19 22:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:07:03] Production.INFO: ==9632== Lock acquired, processing the job... [2025-03-19 22:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:07:03] Production.INFO: Account Balance Start. [2025-03-19 22:07:03] Production.INFO: CreateAllLog Start [2025-03-19 22:07:03] Production.INFO: 117 [2025-03-19 22:07:04] Production.INFO: Date 2025-03-08 [2025-03-19 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-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:07:04] Production.INFO: count ==23 [2025-03-19 22:07:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:07:04] Production.ERROR: done [2025-03-19 22:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718445') start [2025-03-19 22:07:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718445') end [2025-03-19 22:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:07:04] Production.INFO: 1 [2025-03-19 22:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:07:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.INFO: ==9632== Releasing lock... [2025-03-19 22:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:07:04] Production.ERROR: done [2025-03-19 22:07:04] Production.INFO: ==9623== Releasing lock... [2025-03-19 22:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:07:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:07:04] Production.INFO: Total Charge 0 [2025-03-19 22:07:04] Production.INFO: CreateAllLog End [2025-03-19 22:07:04] Production.INFO: Account Balance End. [2025-03-19 22:07:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:07:04] Production.INFO: ==9628== Releasing lock... [2025-03-19 22:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:07:05 [end_date_ymd] => 2025-03-19 22:07:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:07:05' and `end` < '2025-03-19 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-03-19 22:07:13] Production.ERROR: CronJobId end10 [2025-03-19 22:07:13] Production.INFO: ==9626== Releasing lock... [2025-03-19 22:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:07:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:07:15] Production.INFO: call_cost start [2025-03-19 22:07:15] Production.INFO: call_cost end [2025-03-19 22:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:07:16] Production.INFO: ==9621== Releasing lock... [2025-03-19 22:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:07:17] Production.INFO: count ==1296 [2025-03-19 22:07:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:07:05 - End Time 2025-03-19 22:07:05 [2025-03-19 22:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718447', 'tblTempUsageDetail_20' ) start [2025-03-19 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718447', 'tblTempUsageDetail_20' ) end [2025-03-19 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718447', 'tblTempVendorCDR_20' ) start [2025-03-19 22:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718447', 'tblTempVendorCDR_20' ) end [2025-03-19 22:07:18] Production.INFO: ProcessCDR(1,14718447,1,1,2) [2025-03-19 22:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718447', 'tblTempUsageDetail_20' ) start [2025-03-19 22:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718447', 'tblTempUsageDetail_20' ) end [2025-03-19 22:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:07:21] Production.INFO: ==9630== Releasing lock... [2025-03-19 22:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:07:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-20 02:08:02] Production.INFO: ==9704== Lock acquired, processing the job... [2025-03-20 02:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:08:02] Production.INFO: neon service started [2025-03-20 02:08:02] Production.INFO: neon service started [2025-03-20 02:08:02] Production.INFO: ==9704== Releasing lock... [2025-03-20 02:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:08:02] Production.INFO: ==9709== Lock acquired, processing the job... [2025-03-20 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:08:02] Production.INFO: ==9709== Releasing lock... [2025-03-20 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:08:02] Production.INFO: ==9707== Lock acquired, processing the job... [2025-03-19 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:08:02] Production.INFO: ==9707== Releasing lock... [2025-03-19 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:08:03] Production.INFO: ==9711== Lock acquired, processing the job... [2025-03-19 22:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:08:03] Production.INFO: ==9713== Lock acquired, processing the job... [2025-03-19 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:08:03] Production.INFO: ==9715== Lock acquired, processing the job... [2025-03-19 22:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:08:04] Production.INFO: ==9717== Lock acquired, processing the job... [2025-03-19 22:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:08:04] Production.INFO: ==9721== Lock acquired, processing the job... [2025-03-19 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:08:04] Production.INFO: ==9719== Lock acquired, processing the job... [2025-03-19 22:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:08:04] Production.INFO: ==9713== Releasing lock... [2025-03-19 22:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:08:04] Production.INFO: Account Balance Start. [2025-03-19 22:08:04] Production.INFO: CreateAllLog Start [2025-03-19 22:08:04] Production.INFO: 117 [2025-03-19 22:08:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:08:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:08:04] Production.INFO: count ==23 [2025-03-19 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718451') start [2025-03-19 22:08:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.ERROR: done [2025-03-19 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718451') end [2025-03-19 22:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:08:04] Production.INFO: 1 [2025-03-19 22:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:08:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:08:04] Production.INFO: ==9721== Releasing lock... [2025-03-19 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:08:04] Production.ERROR: done [2025-03-19 22:08:04] Production.INFO: Total Charge 0 [2025-03-19 22:08:05] Production.INFO: CreateAllLog End [2025-03-19 22:08:05] Production.INFO: Account Balance End. [2025-03-19 22:08:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:08:05] Production.INFO: ==9717== Releasing lock... [2025-03-19 22:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:08:05 [end_date_ymd] => 2025-03-19 22:08:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:08:05' and `end` < '2025-03-19 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-03-19 22:08:14] Production.ERROR: CronJobId end10 [2025-03-19 22:08:14] Production.INFO: ==9715== Releasing lock... [2025-03-19 22:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:08:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:08:16] Production.INFO: call_cost start [2025-03-19 22:08:16] Production.INFO: call_cost end [2025-03-19 22:08:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:08:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:08:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:08:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:08:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:08:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:08:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:08:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:08:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:08:17] Production.INFO: ==9711== Releasing lock... [2025-03-19 22:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:08:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:08:18] Production.INFO: count ==1293 [2025-03-19 22:08:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:08:05 - End Time 2025-03-19 22:08:05 [2025-03-19 22:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718452', 'tblTempUsageDetail_20' ) start [2025-03-19 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718452', 'tblTempUsageDetail_20' ) end [2025-03-19 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718452', 'tblTempVendorCDR_20' ) start [2025-03-19 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718452', 'tblTempVendorCDR_20' ) end [2025-03-19 22:08:18] Production.INFO: ProcessCDR(1,14718452,1,1,2) [2025-03-19 22:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718452', 'tblTempUsageDetail_20' ) start [2025-03-19 22:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718452', 'tblTempUsageDetail_20' ) end [2025-03-19 22:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:08:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:08:22] Production.INFO: ==9719== Releasing lock... [2025-03-19 22:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:08:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-20 02:09:01] Production.INFO: ==9798== Lock acquired, processing the job... [2025-03-20 02:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:09:01] Production.INFO: neon service started [2025-03-20 02:09:01] Production.INFO: neon service started [2025-03-20 02:09:01] Production.INFO: ==9798== Releasing lock... [2025-03-20 02:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:09:01] Production.INFO: ==9800== Lock acquired, processing the job... [2025-03-19 22:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:09:02] Production.INFO: ==9800== Releasing lock... [2025-03-19 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:09:02] Production.INFO: ==9802== Lock acquired, processing the job... [2025-03-20 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:09:02] Production.INFO: ==9802== Releasing lock... [2025-03-20 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:09:03] Production.INFO: ==9804== Lock acquired, processing the job... [2025-03-19 22:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:09:03] Production.INFO: ==9812== Lock acquired, processing the job... [2025-03-19 22:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:09:03] Production.INFO: ==9806== Lock acquired, processing the job... [2025-03-19 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:09:03] Production.INFO: ==9808== Lock acquired, processing the job... [2025-03-19 22:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:09:03] Production.INFO: ==9810== Lock acquired, processing the job... [2025-03-19 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:09:03] Production.INFO: ==9815== Lock acquired, processing the job... [2025-03-19 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:09:03] Production.INFO: Account Balance Start. [2025-03-19 22:09:03] Production.INFO: CreateAllLog Start [2025-03-19 22:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:09:03] Production.INFO: 117 [2025-03-19 22:09:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:09:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:09:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:09:03] Production.ERROR: done [2025-03-19 22:09:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:09:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:09:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:04] Production.INFO: count ==12 [2025-03-19 22:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:09:04] Production.INFO: count ==23 [2025-03-19 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718456') start [2025-03-19 22:09:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:09:04] Production.ERROR: done [2025-03-19 22:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:04] Production.INFO: ==9806== Releasing lock... [2025-03-19 22:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:09:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718456') end [2025-03-19 22:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:09:04] Production.INFO: 1 [2025-03-19 22:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:09:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:04] Production.INFO: ==9815== Releasing lock... [2025-03-19 22:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:09:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:09:04] Production.INFO: Total Charge 0 [2025-03-19 22:09:04] Production.INFO: CreateAllLog End [2025-03-19 22:09:04] Production.INFO: Account Balance End. [2025-03-19 22:09:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:09:04] Production.INFO: ==9810== Releasing lock... [2025-03-19 22:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:09:05 [end_date_ymd] => 2025-03-19 22:09:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:09:05' and `end` < '2025-03-19 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-03-19 22:09:14] Production.ERROR: CronJobId end10 [2025-03-19 22:09:14] Production.INFO: ==9808== Releasing lock... [2025-03-19 22:09:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:09:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:09:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:09:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:09:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:09:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:09:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:09:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:09:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:09:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:09:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:09:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:09:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:09:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:09:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:09:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:09:15] Production.INFO: call_cost start [2025-03-19 22:09:15] Production.INFO: call_cost end [2025-03-19 22:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:09:16] Production.INFO: ==9804== Releasing lock... [2025-03-19 22:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:09:17] Production.INFO: count ==1279 [2025-03-19 22:09:17] Production.ERROR: pbx CDR StartTime 2025-03-19 19:09:05 - End Time 2025-03-19 22:09:05 [2025-03-19 22:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718457', 'tblTempUsageDetail_20' ) start [2025-03-19 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718457', 'tblTempUsageDetail_20' ) end [2025-03-19 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718457', 'tblTempVendorCDR_20' ) start [2025-03-19 22:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718457', 'tblTempVendorCDR_20' ) end [2025-03-19 22:09:17] Production.INFO: ProcessCDR(1,14718457,1,1,2) [2025-03-19 22:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718457', 'tblTempUsageDetail_20' ) start [2025-03-19 22:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718457', 'tblTempUsageDetail_20' ) end [2025-03-19 22:09:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:09:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:09:21] Production.INFO: ==9812== Releasing lock... [2025-03-19 22:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:09:21] Production.INFO: 38 MB #Memory Used# [2025-03-20 02:10:02] Production.INFO: ==9901== Lock acquired, processing the job... [2025-03-20 02:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:10:02] Production.INFO: neon service started [2025-03-20 02:10:02] Production.INFO: neon service started [2025-03-20 02:10:02] Production.INFO: ==9901== Releasing lock... [2025-03-20 02:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:10:02] Production.INFO: ==9905== Lock acquired, processing the job... [2025-03-20 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:10:02] Production.INFO: ==9905== Releasing lock... [2025-03-20 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:10:02] Production.INFO: ==9903== Lock acquired, processing the job... [2025-03-19 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:10:03] Production.INFO: ==9903== Releasing lock... [2025-03-19 22:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:10:04] Production.INFO: ==9908== Lock acquired, processing the job... [2025-03-19 22:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 22:10:04] Production.INFO: ==9912== Lock acquired, processing the job... [2025-03-19 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 22:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 22:10:04] Production.ERROR: CronJob PID - 9912 [2025-03-19 22:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-19 22:10:04] Production.ERROR: CronJob ID - 7 [2025-03-19 22:10:04] Production.ERROR: CronJob Last Run Time 2025-03-19 22:10:00 [2025-03-19 22:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 22:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 22:10:04] Production.INFO: ==9922== Lock acquired, processing the job... [2025-03-19 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 22:10:04] Production.INFO: ==9908== Releasing lock... [2025-03-19 22:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 22:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 22:10:04] Production.INFO: ==9910== Lock acquired, processing the job... [2025-03-19 22:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 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-03-19 22:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:10:04] Production.INFO: count ==12 [2025-03-19 22:10:04] Production.INFO: ==9920== Lock acquired, processing the job... [2025-03-19 22:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 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-03-19 22:10:04] Production.INFO: count ==23 [2025-03-19 22:10:04] Production.INFO: ==9914== Lock acquired, processing the job... [2025-03-19 22:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718459') start [2025-03-19 22:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:10:04] Production.INFO: ==9912== Releasing lock... [2025-03-19 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:10:04] Production.INFO: ==9916== Lock acquired, processing the job... [2025-03-19 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:10:04] Production.INFO: ==9918== Lock acquired, processing the job... [2025-03-19 22:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718459') end [2025-03-19 22:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:10:04] Production.INFO: 1 [2025-03-19 22:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:10:04] Production.INFO: ==9922== Releasing lock... [2025-03-19 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:10:04] Production.INFO: Account Balance Start. [2025-03-19 22:10:04] Production.INFO: CreateAllLog Start [2025-03-19 22:10:04] Production.INFO: 117 [2025-03-19 22:10:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.INFO: Date 2025-03-09 [2025-03-19 22:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.INFO: Date 2025-03-10 [2025-03-19 22:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.INFO: Date 2025-03-11 [2025-03-19 22:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.INFO: Date 2025-03-12 [2025-03-19 22:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.ERROR: done [2025-03-19 22:10:05] Production.INFO: Date 2025-03-13 [2025-03-19 22:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.INFO: Date 2025-03-14 [2025-03-19 22:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.INFO: Date 2025-03-15 [2025-03-19 22:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 22:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718462', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 22:10:05] Production.INFO: Date 2025-03-16 [2025-03-19 22:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.INFO: Date 2025-03-17 [2025-03-19 22:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.ERROR: done [2025-03-19 22:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:10:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:10:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:10:05] Production.INFO: Total Charge 0 [2025-03-19 22:10:05] Production.INFO: CreateAllLog End [2025-03-19 22:10:05] Production.ERROR: done [2025-03-19 22:10:05] Production.INFO: Account Balance End. [2025-03-19 22:10:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:10:05] Production.INFO: ==9916== Releasing lock... [2025-03-19 22:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:10:06 [end_date_ymd] => 2025-03-19 22:10:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:10:06' and `end` < '2025-03-19 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-03-19 22:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718462', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 22:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 22:10:09] Production.INFO: ProcessCDR(1,14718462,1,1,2) [2025-03-19 22:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718462,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718462,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:10:09] Production.INFO: ==9920== Releasing lock... [2025-03-19 22:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 22:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 22:10:15] Production.ERROR: CronJobId end10 [2025-03-19 22:10:15] Production.INFO: ==9914== Releasing lock... [2025-03-19 22:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:10:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:10:17] Production.INFO: call_cost start [2025-03-19 22:10:17] Production.INFO: call_cost end [2025-03-19 22:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:10:18] Production.INFO: ==9910== Releasing lock... [2025-03-19 22:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:10:19] Production.INFO: count ==1278 [2025-03-19 22:10:19] Production.ERROR: pbx CDR StartTime 2025-03-19 19:10:06 - End Time 2025-03-19 22:10:06 [2025-03-19 22:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718463', 'tblTempUsageDetail_20' ) start [2025-03-19 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718463', 'tblTempUsageDetail_20' ) end [2025-03-19 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718463', 'tblTempVendorCDR_20' ) start [2025-03-19 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718463', 'tblTempVendorCDR_20' ) end [2025-03-19 22:10:19] Production.INFO: ProcessCDR(1,14718463,1,1,2) [2025-03-19 22:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718463', 'tblTempUsageDetail_20' ) start [2025-03-19 22:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718463', 'tblTempUsageDetail_20' ) end [2025-03-19 22:10:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:10:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:10:23] Production.INFO: ==9918== Releasing lock... [2025-03-19 22:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:10:23] Production.INFO: 37.75 MB #Memory Used# [2025-03-20 02:11:01] Production.INFO: ==9995== Lock acquired, processing the job... [2025-03-20 02:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:11:01] Production.INFO: neon service started [2025-03-20 02:11:01] Production.INFO: neon service started [2025-03-20 02:11:01] Production.INFO: ==9995== Releasing lock... [2025-03-20 02:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:11:01] Production.INFO: ==9998== Lock acquired, processing the job... [2025-03-19 22:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:11:02] Production.INFO: ==9998== Releasing lock... [2025-03-19 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:11:02] Production.INFO: ==10000== Lock acquired, processing the job... [2025-03-20 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:11:02] Production.INFO: ==10000== Releasing lock... [2025-03-20 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:11:03] Production.INFO: ==10002== Lock acquired, processing the job... [2025-03-19 22:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:11:03] Production.INFO: ==10004== Lock acquired, processing the job... [2025-03-19 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:11:03] Production.INFO: ==10008== Lock acquired, processing the job... [2025-03-19 22:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:11:03] Production.INFO: ==10006== Lock acquired, processing the job... [2025-03-19 22:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:11:03] Production.INFO: Account Balance Start. [2025-03-19 22:11:03] Production.INFO: CreateAllLog Start [2025-03-19 22:11:03] Production.INFO: 117 [2025-03-19 22:11:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:11:03] Production.INFO: ==10004== Releasing lock... [2025-03-19 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:11:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:11:03] Production.INFO: ==10010== Lock acquired, processing the job... [2025-03-19 22:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:11:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:11:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:11:03] Production.INFO: ==10012== Lock acquired, processing the job... [2025-03-19 22:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:11:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:11:03] Production.INFO: Date 2025-03-13 [2025-03-19 22:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:11:03] Production.INFO: Date 2025-03-14 [2025-03-19 22:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:11:03] Production.INFO: Date 2025-03-15 [2025-03-19 22:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:11:03] Production.INFO: Date 2025-03-16 [2025-03-19 22:11:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:11:03] Production.INFO: count ==12 [2025-03-19 22:11:04] Production.ERROR: done [2025-03-19 22:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:11:04] Production.INFO: count ==23 [2025-03-19 22:11:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:11:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718467') start [2025-03-19 22:11:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:11:04] Production.INFO: Total Charge 0 [2025-03-19 22:11:04] Production.INFO: CreateAllLog End [2025-03-19 22:11:04] Production.ERROR: done [2025-03-19 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718467') end [2025-03-19 22:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:11:04] Production.INFO: 1 [2025-03-19 22:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:11:04] Production.INFO: ==10012== Releasing lock... [2025-03-19 22:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:11:04] Production.INFO: Account Balance End. [2025-03-19 22:11:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:11:04] Production.INFO: ==10008== Releasing lock... [2025-03-19 22:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:11:05 [end_date_ymd] => 2025-03-19 22:11:05 [RateCDR] => 1 ) [2025-03-19 22:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:11:05' and `end` < '2025-03-19 22:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:11:13] Production.ERROR: CronJobId end10 [2025-03-19 22:11:13] Production.INFO: ==10006== Releasing lock... [2025-03-19 22:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:11:15] Production.INFO: call_cost start [2025-03-19 22:11:15] Production.INFO: call_cost end [2025-03-19 22:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:11:16] Production.INFO: ==10002== Releasing lock... [2025-03-19 22:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:11:17] Production.INFO: count ==1262 [2025-03-19 22:11:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:11:05 - End Time 2025-03-19 22:11:05 [2025-03-19 22:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718468', 'tblTempUsageDetail_20' ) start [2025-03-19 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718468', 'tblTempUsageDetail_20' ) end [2025-03-19 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718468', 'tblTempVendorCDR_20' ) start [2025-03-19 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718468', 'tblTempVendorCDR_20' ) end [2025-03-19 22:11:18] Production.INFO: ProcessCDR(1,14718468,1,1,2) [2025-03-19 22:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718468', 'tblTempUsageDetail_20' ) start [2025-03-19 22:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718468', 'tblTempUsageDetail_20' ) end [2025-03-19 22:11:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:11:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:11:23] Production.INFO: ==10010== Releasing lock... [2025-03-19 22:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:11:23] Production.INFO: 38 MB #Memory Used# [2025-03-20 02:12:02] Production.INFO: ==10079== Lock acquired, processing the job... [2025-03-20 02:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:12:02] Production.INFO: neon service started [2025-03-20 02:12:02] Production.INFO: neon service started [2025-03-20 02:12:02] Production.INFO: ==10079== Releasing lock... [2025-03-20 02:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:12:02] Production.INFO: ==10083== Lock acquired, processing the job... [2025-03-20 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:12:02] Production.INFO: ==10083== Releasing lock... [2025-03-20 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:12:02] Production.INFO: ==10081== Lock acquired, processing the job... [2025-03-19 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:12:03] Production.INFO: ==10081== Releasing lock... [2025-03-19 22:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:12:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:12:03] Production.INFO: ==10086== Lock acquired, processing the job... [2025-03-19 22:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:12:03] Production.INFO: ==10090== Lock acquired, processing the job... [2025-03-19 22:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:12:03] Production.INFO: ==10092== Lock acquired, processing the job... [2025-03-19 22:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:12:03] Production.INFO: ==10088== Lock acquired, processing the job... [2025-03-19 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:12:04] Production.INFO: Account Balance Start. [2025-03-19 22:12:04] Production.INFO: CreateAllLog Start [2025-03-19 22:12:04] Production.INFO: 117 [2025-03-19 22:12:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:12:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:12:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:12:04] Production.INFO: ==10094== Lock acquired, processing the job... [2025-03-19 22:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:12:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:12:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:12:04] Production.INFO: ==10096== Lock acquired, processing the job... [2025-03-19 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:12:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:12:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:12:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:12:04] Production.INFO: ==10088== Releasing lock... [2025-03-19 22:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:12:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:12:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:12:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:12:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:12:04] Production.INFO: count ==12 [2025-03-19 22:12:04] Production.INFO: Total Charge 0 [2025-03-19 22:12:04] Production.INFO: CreateAllLog End [2025-03-19 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-03-19 22:12:04] Production.INFO: count ==23 [2025-03-19 22:12:04] Production.ERROR: done [2025-03-19 22:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718472') start [2025-03-19 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718472') end [2025-03-19 22:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:12:04] Production.INFO: 1 [2025-03-19 22:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:12:04] Production.ERROR: done [2025-03-19 22:12:05] Production.INFO: Account Balance End. [2025-03-19 22:12:05] Production.INFO: ==10096== Releasing lock... [2025-03-19 22:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:12:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:12:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:12:05] Production.INFO: ==10092== Releasing lock... [2025-03-19 22:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:12:06 [end_date_ymd] => 2025-03-19 22:12:06 [RateCDR] => 1 ) [2025-03-19 22: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-03-19 19:12:06' and `end` < '2025-03-19 22: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-03-19 22:12:14] Production.ERROR: CronJobId end10 [2025-03-19 22:12:14] Production.INFO: ==10090== Releasing lock... [2025-03-19 22:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:12:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:12:16] Production.INFO: call_cost start [2025-03-19 22:12:16] Production.INFO: call_cost end [2025-03-19 22:12:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:12:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:12:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:12:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:12:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:12:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:12:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:12:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:12:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:12:17] Production.INFO: ==10086== Releasing lock... [2025-03-19 22:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:12:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:12:18] Production.INFO: count ==1248 [2025-03-19 22:12:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:12:06 - End Time 2025-03-19 22:12:06 [2025-03-19 22:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718473', 'tblTempUsageDetail_20' ) start [2025-03-19 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718473', 'tblTempUsageDetail_20' ) end [2025-03-19 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718473', 'tblTempVendorCDR_20' ) start [2025-03-19 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718473', 'tblTempVendorCDR_20' ) end [2025-03-19 22:12:18] Production.INFO: ProcessCDR(1,14718473,1,1,2) [2025-03-19 22:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718473', 'tblTempUsageDetail_20' ) start [2025-03-19 22:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718473', 'tblTempUsageDetail_20' ) end [2025-03-19 22:12:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:12:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:12:22] Production.INFO: ==10094== Releasing lock... [2025-03-19 22:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:12:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-20 02:13:01] Production.INFO: ==10172== Lock acquired, processing the job... [2025-03-20 02:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:13:01] Production.INFO: neon service started [2025-03-20 02:13:01] Production.INFO: neon service started [2025-03-20 02:13:01] Production.INFO: ==10172== Releasing lock... [2025-03-20 02:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:13:01] Production.INFO: ==10176== Lock acquired, processing the job... [2025-03-20 02:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:13:01] Production.INFO: ==10176== Releasing lock... [2025-03-20 02:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:13:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:13:02] Production.INFO: ==10174== Lock acquired, processing the job... [2025-03-19 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:13:02] Production.INFO: ==10174== Releasing lock... [2025-03-19 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:13:03] Production.INFO: ==10178== Lock acquired, processing the job... [2025-03-19 22:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:13:03] Production.INFO: ==10181== Lock acquired, processing the job... [2025-03-19 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:13:03] Production.INFO: ==10187== Lock acquired, processing the job... [2025-03-19 22:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:13:03] Production.INFO: ==10183== Lock acquired, processing the job... [2025-03-19 22:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:13:03] Production.INFO: ==10185== Lock acquired, processing the job... [2025-03-19 22:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:13:03] Production.INFO: ==10181== Releasing lock... [2025-03-19 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:13:03] Production.INFO: ==10189== Lock acquired, processing the job... [2025-03-19 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:13:03] Production.INFO: Account Balance Start. [2025-03-19 22:13:03] Production.INFO: CreateAllLog Start [2025-03-19 22:13:03] Production.INFO: 117 [2025-03-19 22:13:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:13:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:13:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:13:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:13:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:13:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:13:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:13:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:13:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:13:03] Production.INFO: count ==12 [2025-03-19 22:13:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:13:03] Production.INFO: count ==23 [2025-03-19 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718477') start [2025-03-19 22:13:03] Production.INFO: Date 2025-03-13 [2025-03-19 22:13:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:13:03] Production.INFO: Date 2025-03-14 [2025-03-19 22:13:04] Production.ERROR: done [2025-03-19 22:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718477') end [2025-03-19 22:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:13:04] Production.INFO: 1 [2025-03-19 22:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:13:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:13:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:13:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:13:04] Production.INFO: ==10189== Releasing lock... [2025-03-19 22:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:13:04] Production.ERROR: done [2025-03-19 22:13:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:13:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:13:04] Production.INFO: Total Charge 0 [2025-03-19 22:13:04] Production.INFO: CreateAllLog End [2025-03-19 22:13:04] Production.INFO: Account Balance End. [2025-03-19 22:13:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:13:04] Production.INFO: ==10185== Releasing lock... [2025-03-19 22:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:13:05 [end_date_ymd] => 2025-03-19 22:13:05 [RateCDR] => 1 ) [2025-03-19 22:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:13:05' and `end` < '2025-03-19 22:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:13:13] Production.ERROR: CronJobId end10 [2025-03-19 22:13:13] Production.INFO: ==10183== Releasing lock... [2025-03-19 22:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:13:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:13:14] Production.INFO: call_cost start [2025-03-19 22:13:14] Production.INFO: call_cost end [2025-03-19 22:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:13:15] Production.INFO: ==10178== Releasing lock... [2025-03-19 22:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:13:17] Production.INFO: count ==1246 [2025-03-19 22:13:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:13:05 - End Time 2025-03-19 22:13:05 [2025-03-19 22:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718478', 'tblTempUsageDetail_20' ) start [2025-03-19 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718478', 'tblTempUsageDetail_20' ) end [2025-03-19 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718478', 'tblTempVendorCDR_20' ) start [2025-03-19 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718478', 'tblTempVendorCDR_20' ) end [2025-03-19 22:13:18] Production.INFO: ProcessCDR(1,14718478,1,1,2) [2025-03-19 22:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718478', 'tblTempUsageDetail_20' ) start [2025-03-19 22:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718478', 'tblTempUsageDetail_20' ) end [2025-03-19 22:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:13:21] Production.INFO: ==10187== Releasing lock... [2025-03-19 22:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:13:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-20 02:14:01] Production.INFO: ==10261== Lock acquired, processing the job... [2025-03-20 02:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:14:02] Production.INFO: neon service started [2025-03-20 02:14:02] Production.INFO: neon service started [2025-03-20 02:14:02] Production.INFO: ==10261== Releasing lock... [2025-03-20 02:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:14:02] Production.INFO: ==10265== Lock acquired, processing the job... [2025-03-20 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:14:02] Production.INFO: ==10265== Releasing lock... [2025-03-20 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:14:02] Production.INFO: ==10263== Lock acquired, processing the job... [2025-03-19 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:14:02] Production.INFO: ==10263== Releasing lock... [2025-03-19 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:14:03] Production.INFO: ==10267== Lock acquired, processing the job... [2025-03-19 22:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:14:03] Production.INFO: ==10269== Lock acquired, processing the job... [2025-03-19 22:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:14:03] Production.INFO: ==10272== Lock acquired, processing the job... [2025-03-19 22:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:14:04] Production.INFO: ==10274== Lock acquired, processing the job... [2025-03-19 22:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:14:04] Production.INFO: ==10269== Releasing lock... [2025-03-19 22:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:14:04] Production.INFO: ==10278== Lock acquired, processing the job... [2025-03-19 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:14:04] Production.INFO: ==10276== Lock acquired, processing the job... [2025-03-19 22:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:14:04] Production.INFO: Account Balance Start. [2025-03-19 22:14:04] Production.INFO: CreateAllLog Start [2025-03-19 22:14:04] Production.INFO: 117 [2025-03-19 22:14:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 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-03-19 22:14:04] Production.INFO: count ==12 [2025-03-19 22:14:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:14:04] Production.INFO: count ==23 [2025-03-19 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718482') start [2025-03-19 22:14:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:14:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:14:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:14:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:14:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718482') end [2025-03-19 22:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:14:04] Production.INFO: 1 [2025-03-19 22:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:14:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:14:04] Production.INFO: ==10278== Releasing lock... [2025-03-19 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:14:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:14:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:14:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:14:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:14:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:14:04] Production.INFO: Total Charge 0 [2025-03-19 22:14:04] Production.INFO: CreateAllLog End [2025-03-19 22:14:04] Production.ERROR: done [2025-03-19 22:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:14:05] Production.ERROR: done [2025-03-19 22:14:05] Production.INFO: Account Balance End. [2025-03-19 22:14:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:14:05] Production.INFO: ==10274== Releasing lock... [2025-03-19 22:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:14:06 [end_date_ymd] => 2025-03-19 22:14:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:14:06' and `end` < '2025-03-19 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-03-19 22:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:14:14] Production.ERROR: CronJobId end10 [2025-03-19 22:14:14] Production.INFO: ==10272== Releasing lock... [2025-03-19 22:14:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:14:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:14:15] Production.INFO: call_cost start [2025-03-19 22:14:15] Production.INFO: call_cost end [2025-03-19 22:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:14:16] Production.INFO: ==10267== Releasing lock... [2025-03-19 22:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:14:18] Production.INFO: count ==1241 [2025-03-19 22:14:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:14:06 - End Time 2025-03-19 22:14:06 [2025-03-19 22:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718483', 'tblTempUsageDetail_20' ) start [2025-03-19 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718483', 'tblTempUsageDetail_20' ) end [2025-03-19 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718483', 'tblTempVendorCDR_20' ) start [2025-03-19 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718483', 'tblTempVendorCDR_20' ) end [2025-03-19 22:14:18] Production.INFO: ProcessCDR(1,14718483,1,1,2) [2025-03-19 22:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718483', 'tblTempUsageDetail_20' ) start [2025-03-19 22:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718483', 'tblTempUsageDetail_20' ) end [2025-03-19 22:14:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:14:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:14:23] Production.INFO: ==10276== Releasing lock... [2025-03-19 22:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:14:23] Production.INFO: 37.5 MB #Memory Used# [2025-03-20 02:15:01] Production.INFO: ==10356== Lock acquired, processing the job... [2025-03-20 02:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:15:01] Production.INFO: neon service started [2025-03-20 02:15:01] Production.INFO: neon service started [2025-03-20 02:15:01] Production.INFO: ==10356== Releasing lock... [2025-03-20 02:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:15:01] Production.INFO: ==10360== Lock acquired, processing the job... [2025-03-20 02:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:15:01] Production.INFO: ==10360== Releasing lock... [2025-03-20 02:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:15:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:15:02] Production.INFO: ==10358== Lock acquired, processing the job... [2025-03-19 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:15:02] Production.INFO: ==10358== Releasing lock... [2025-03-19 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:15:03] Production.INFO: ==10367== Lock acquired, processing the job... [2025-03-19 22:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:15:03] Production.INFO: ==10371== Lock acquired, processing the job... [2025-03-19 22:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:15:03] Production.INFO: ==10363== Lock acquired, processing the job... [2025-03-19 22:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:15:03] Production.INFO: ==10365== Lock acquired, processing the job... [2025-03-19 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:15:03] Production.INFO: ==10369== Lock acquired, processing the job... [2025-03-19 22:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:15:03] Production.INFO: ==10373== Lock acquired, processing the job... [2025-03-19 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:15:03] Production.INFO: Account Balance Start. [2025-03-19 22:15:03] Production.INFO: CreateAllLog Start [2025-03-19 22:15:03] Production.INFO: 117 [2025-03-19 22:15:03] Production.INFO: Date 2025-03-08 [2025-03-19 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-03-19 22:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:03] Production.INFO: count ==12 [2025-03-19 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-03-19 22:15:03] Production.INFO: count ==23 [2025-03-19 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718486') start [2025-03-19 22:15:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:15:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:03] Production.ERROR: done [2025-03-19 22:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:15:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718486') end [2025-03-19 22:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:15:04] Production.INFO: 1 [2025-03-19 22:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:15:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:04] Production.INFO: ==10373== Releasing lock... [2025-03-19 22:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:15:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:04] Production.INFO: ==10365== Releasing lock... [2025-03-19 22:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:15:04] Production.ERROR: done [2025-03-19 22:15:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:15:04] Production.INFO: Total Charge 0 [2025-03-19 22:15:04] Production.INFO: CreateAllLog End [2025-03-19 22:15:04] Production.INFO: Account Balance End. [2025-03-19 22:15:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:15:04] Production.INFO: ==10369== Releasing lock... [2025-03-19 22:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:15:05 [end_date_ymd] => 2025-03-19 22:15:05 [RateCDR] => 1 ) [2025-03-19 22:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:15:05' and `end` < '2025-03-19 22:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:15:14] Production.ERROR: CronJobId end10 [2025-03-19 22:15:14] Production.INFO: ==10367== Releasing lock... [2025-03-19 22:15:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:15:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:15:14] Production.INFO: call_cost start [2025-03-19 22:15:14] Production.INFO: call_cost end [2025-03-19 22:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:15:15] Production.INFO: ==10363== Releasing lock... [2025-03-19 22:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:15:18] Production.INFO: count ==1239 [2025-03-19 22:15:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:15:05 - End Time 2025-03-19 22:15:05 [2025-03-19 22:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718488', 'tblTempUsageDetail_20' ) start [2025-03-19 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718488', 'tblTempUsageDetail_20' ) end [2025-03-19 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718488', 'tblTempVendorCDR_20' ) start [2025-03-19 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718488', 'tblTempVendorCDR_20' ) end [2025-03-19 22:15:18] Production.INFO: ProcessCDR(1,14718488,1,1,2) [2025-03-19 22:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718488', 'tblTempUsageDetail_20' ) start [2025-03-19 22:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718488', 'tblTempUsageDetail_20' ) end [2025-03-19 22:15:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:15:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:15:22] Production.INFO: ==10371== Releasing lock... [2025-03-19 22:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:15:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-20 02:16:01] Production.INFO: ==10444== Lock acquired, processing the job... [2025-03-20 02:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:16:01] Production.INFO: neon service started [2025-03-20 02:16:01] Production.INFO: neon service started [2025-03-20 02:16:01] Production.INFO: ==10444== Releasing lock... [2025-03-20 02:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:16:02] Production.INFO: ==10446== Lock acquired, processing the job... [2025-03-19 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:16:02] Production.INFO: ==10446== Releasing lock... [2025-03-19 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:16:02] Production.INFO: ==10448== Lock acquired, processing the job... [2025-03-20 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:16:02] Production.INFO: ==10448== Releasing lock... [2025-03-20 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:16:03] Production.INFO: ==10452== Lock acquired, processing the job... [2025-03-19 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:16:03] Production.INFO: ==10450== Lock acquired, processing the job... [2025-03-19 22:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:16:03] Production.INFO: ==10459== Lock acquired, processing the job... [2025-03-19 22:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:16:03] Production.INFO: ==10454== Lock acquired, processing the job... [2025-03-19 22:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:16:03] Production.INFO: ==10457== Lock acquired, processing the job... [2025-03-19 22:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:16:04] Production.INFO: ==10452== Releasing lock... [2025-03-19 22:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:16:04] Production.INFO: ==10461== Lock acquired, processing the job... [2025-03-19 22:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:16:04] Production.INFO: Account Balance Start. [2025-03-19 22:16:04] Production.INFO: CreateAllLog Start [2025-03-19 22:16:04] Production.INFO: 117 [2025-03-19 22:16:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.ERROR: done [2025-03-19 22:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:16:04] Production.INFO: count ==12 [2025-03-19 22:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:16:04] Production.INFO: count ==23 [2025-03-19 22:16:04] Production.ERROR: done [2025-03-19 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718492') start [2025-03-19 22:16:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718492') end [2025-03-19 22:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:16:04] Production.INFO: 1 [2025-03-19 22:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:16:04] Production.INFO: ==10461== Releasing lock... [2025-03-19 22:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:16:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:16:04] Production.INFO: Total Charge 0 [2025-03-19 22:16:04] Production.INFO: CreateAllLog End [2025-03-19 22:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:16:05 [end_date_ymd] => 2025-03-19 22:16:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:16:05' and `end` < '2025-03-19 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-03-19 22:16:05] Production.INFO: Account Balance End. [2025-03-19 22:16:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:16:05] Production.INFO: ==10457== Releasing lock... [2025-03-19 22:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:16:13] Production.ERROR: CronJobId end10 [2025-03-19 22:16:13] Production.INFO: ==10454== Releasing lock... [2025-03-19 22:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:16:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:16:15] Production.INFO: call_cost start [2025-03-19 22:16:15] Production.INFO: call_cost end [2025-03-19 22:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:16:16] Production.INFO: ==10450== Releasing lock... [2025-03-19 22:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:16:17] Production.INFO: count ==1232 [2025-03-19 22:16:17] Production.ERROR: pbx CDR StartTime 2025-03-19 19:16:05 - End Time 2025-03-19 22:16:05 [2025-03-19 22:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718493', 'tblTempUsageDetail_20' ) start [2025-03-19 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718493', 'tblTempUsageDetail_20' ) end [2025-03-19 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718493', 'tblTempVendorCDR_20' ) start [2025-03-19 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718493', 'tblTempVendorCDR_20' ) end [2025-03-19 22:16:18] Production.INFO: ProcessCDR(1,14718493,1,1,2) [2025-03-19 22:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718493', 'tblTempUsageDetail_20' ) start [2025-03-19 22:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718493', 'tblTempUsageDetail_20' ) end [2025-03-19 22:16:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:16:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:16:23] Production.INFO: ==10459== Releasing lock... [2025-03-19 22:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:16:23] Production.INFO: 37.5 MB #Memory Used# [2025-03-20 02:17:01] Production.INFO: ==10531== Lock acquired, processing the job... [2025-03-20 02:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:17:01] Production.INFO: neon service started [2025-03-20 02:17:01] Production.INFO: neon service started [2025-03-20 02:17:01] Production.INFO: ==10531== Releasing lock... [2025-03-20 02:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:17:01] Production.INFO: ==10535== Lock acquired, processing the job... [2025-03-20 02:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:17:01] Production.INFO: ==10535== Releasing lock... [2025-03-20 02:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:17:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:17:01] Production.INFO: ==10533== Lock acquired, processing the job... [2025-03-19 22:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:17:02] Production.INFO: ==10533== Releasing lock... [2025-03-19 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:17:03] Production.INFO: ==10538== Lock acquired, processing the job... [2025-03-19 22:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:17:03] Production.INFO: ==10540== Lock acquired, processing the job... [2025-03-19 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:17:03] Production.INFO: ==10546== Lock acquired, processing the job... [2025-03-19 22:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:17:03] Production.INFO: ==10544== Lock acquired, processing the job... [2025-03-19 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:17:03] Production.INFO: ==10542== Lock acquired, processing the job... [2025-03-19 22:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:17:03] Production.INFO: ==10540== Releasing lock... [2025-03-19 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:17:03] Production.INFO: ==10548== Lock acquired, processing the job... [2025-03-19 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:17:03] Production.INFO: Account Balance Start. [2025-03-19 22:17:03] Production.INFO: CreateAllLog Start [2025-03-19 22:17:03] Production.INFO: 117 [2025-03-19 22:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:17:03] Production.ERROR: done [2025-03-19 22:17:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:17:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:17:03] Production.INFO: count ==12 [2025-03-19 22:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:17:03] Production.INFO: count ==23 [2025-03-19 22:17:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718497') start [2025-03-19 22:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:03] Production.ERROR: done [2025-03-19 22:17:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718497') end [2025-03-19 22:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:17:04] Production.INFO: 1 [2025-03-19 22:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:17:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:04] Production.INFO: ==10548== Releasing lock... [2025-03-19 22:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:17:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:17:04] Production.INFO: Total Charge 0 [2025-03-19 22:17:04] Production.INFO: CreateAllLog End [2025-03-19 22:17:04] Production.INFO: Account Balance End. [2025-03-19 22:17:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:17:04] Production.INFO: ==10544== Releasing lock... [2025-03-19 22:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:17:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:17:04 [end_date_ymd] => 2025-03-19 22:17:04 [RateCDR] => 1 ) [2025-03-19 22:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:17:04' and `end` < '2025-03-19 22:17:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:17:12] Production.ERROR: CronJobId end10 [2025-03-19 22:17:12] Production.INFO: ==10542== Releasing lock... [2025-03-19 22:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:17:14] Production.INFO: call_cost start [2025-03-19 22:17:14] Production.INFO: call_cost end [2025-03-19 22:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:17:15] Production.INFO: ==10538== Releasing lock... [2025-03-19 22:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:17:17] Production.INFO: count ==1224 [2025-03-19 22:17:17] Production.ERROR: pbx CDR StartTime 2025-03-19 19:17:04 - End Time 2025-03-19 22:17:04 [2025-03-19 22:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718498', 'tblTempUsageDetail_20' ) start [2025-03-19 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718498', 'tblTempUsageDetail_20' ) end [2025-03-19 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718498', 'tblTempVendorCDR_20' ) start [2025-03-19 22:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718498', 'tblTempVendorCDR_20' ) end [2025-03-19 22:17:17] Production.INFO: ProcessCDR(1,14718498,1,1,2) [2025-03-19 22:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718498', 'tblTempUsageDetail_20' ) start [2025-03-19 22:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718498', 'tblTempUsageDetail_20' ) end [2025-03-19 22:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:17:21] Production.INFO: ==10546== Releasing lock... [2025-03-19 22:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:17:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-20 02:18:01] Production.INFO: ==10621== Lock acquired, processing the job... [2025-03-20 02:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:18:01] Production.INFO: neon service started [2025-03-20 02:18:01] Production.INFO: neon service started [2025-03-20 02:18:01] Production.INFO: ==10621== Releasing lock... [2025-03-20 02:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:18:01] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 22:18:02] Production.INFO: ==10623== Lock acquired, processing the job... [2025-03-19 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:18:02] Production.INFO: ==10623== Releasing lock... [2025-03-19 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:18:02] Production.INFO: ==10625== Lock acquired, processing the job... [2025-03-20 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:18:02] Production.INFO: ==10625== Releasing lock... [2025-03-20 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:18:03] Production.INFO: ==10628== Lock acquired, processing the job... [2025-03-19 22:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:18:03] Production.INFO: ==10630== Lock acquired, processing the job... [2025-03-19 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:18:03] Production.INFO: ==10638== Lock acquired, processing the job... [2025-03-19 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:18:03] Production.INFO: ==10630== Releasing lock... [2025-03-19 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 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-03-19 22:18:03] Production.INFO: count ==12 [2025-03-19 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-03-19 22:18:03] Production.INFO: count ==23 [2025-03-19 22:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718501') start [2025-03-19 22:18:03] Production.INFO: ==10632== Lock acquired, processing the job... [2025-03-19 22:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:18:03] Production.INFO: ==10636== Lock acquired, processing the job... [2025-03-19 22:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:18:03] Production.INFO: ==10634== Lock acquired, processing the job... [2025-03-19 22:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718501') end [2025-03-19 22:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:18:04] Production.INFO: 1 [2025-03-19 22:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:18:04] Production.INFO: ==10638== Releasing lock... [2025-03-19 22:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:18:04] Production.INFO: Account Balance Start. [2025-03-19 22:18:04] Production.INFO: CreateAllLog Start [2025-03-19 22:18:04] Production.INFO: 117 [2025-03-19 22:18:04] Production.ERROR: done [2025-03-19 22:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:18:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.ERROR: done [2025-03-19 22:18:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:18:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:18:04] Production.INFO: Total Charge 0 [2025-03-19 22:18:04] Production.INFO: CreateAllLog End [2025-03-19 22:18:05] Production.INFO: Account Balance End. [2025-03-19 22:18:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:18:05] Production.INFO: ==10634== Releasing lock... [2025-03-19 22:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:18:05 [end_date_ymd] => 2025-03-19 22:18:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:18:05' and `end` < '2025-03-19 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-03-19 22:18:15] Production.ERROR: CronJobId end10 [2025-03-19 22:18:15] Production.INFO: ==10632== Releasing lock... [2025-03-19 22:18:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:18:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:18:15] Production.INFO: call_cost start [2025-03-19 22:18:15] Production.INFO: call_cost end [2025-03-19 22:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:18:16] Production.INFO: ==10628== Releasing lock... [2025-03-19 22:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:18:17] Production.INFO: count ==1215 [2025-03-19 22:18:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:18:05 - End Time 2025-03-19 22:18:05 [2025-03-19 22:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718503', 'tblTempUsageDetail_20' ) start [2025-03-19 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718503', 'tblTempUsageDetail_20' ) end [2025-03-19 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718503', 'tblTempVendorCDR_20' ) start [2025-03-19 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718503', 'tblTempVendorCDR_20' ) end [2025-03-19 22:18:18] Production.INFO: ProcessCDR(1,14718503,1,1,2) [2025-03-19 22:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718503', 'tblTempUsageDetail_20' ) start [2025-03-19 22:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718503', 'tblTempUsageDetail_20' ) end [2025-03-19 22:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:18:21] Production.INFO: ==10636== Releasing lock... [2025-03-19 22:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:18:21] Production.INFO: 37.75 MB #Memory Used# [2025-03-20 02:19:02] Production.INFO: ==10711== Lock acquired, processing the job... [2025-03-20 02:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:19:02] Production.INFO: neon service started [2025-03-20 02:19:02] Production.INFO: neon service started [2025-03-20 02:19:02] Production.INFO: ==10711== Releasing lock... [2025-03-20 02:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:19:02] Production.INFO: ==10713== Lock acquired, processing the job... [2025-03-19 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:19:03] Production.INFO: ==10713== Releasing lock... [2025-03-19 22:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:19:03] Production.INFO: ==10715== Lock acquired, processing the job... [2025-03-20 02:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:19:03] Production.INFO: ==10715== Releasing lock... [2025-03-20 02:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:19:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:19:03] Production.INFO: ==10722== Lock acquired, processing the job... [2025-03-19 22:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:19:04] Production.INFO: ==10718== Lock acquired, processing the job... [2025-03-19 22:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:19:04] Production.INFO: ==10720== Lock acquired, processing the job... [2025-03-19 22:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:19:04] Production.INFO: ==10726== Lock acquired, processing the job... [2025-03-19 22:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:19:04] Production.INFO: ==10724== Lock acquired, processing the job... [2025-03-19 22:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:19:04] Production.INFO: ==10728== Lock acquired, processing the job... [2025-03-19 22:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:19:04] Production.INFO: ==10720== Releasing lock... [2025-03-19 22:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:19:04] Production.INFO: Account Balance Start. [2025-03-19 22:19:04] Production.INFO: CreateAllLog Start [2025-03-19 22:19:04] Production.INFO: 117 [2025-03-19 22:19:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:19:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:19:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:19:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:19:04] Production.INFO: count ==23 [2025-03-19 22:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718507') start [2025-03-19 22:19:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:19:04] Production.ERROR: done [2025-03-19 22:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:19:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:19:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718507') end [2025-03-19 22:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:19:04] Production.INFO: 1 [2025-03-19 22:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:19:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:19:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:19:04] Production.ERROR: done [2025-03-19 22:19:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:19:04] Production.INFO: ==10728== Releasing lock... [2025-03-19 22:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:19:05] Production.INFO: Date 2025-03-17 [2025-03-19 22:19:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:19:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:19:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:19:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:19:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:19:05] Production.INFO: Total Charge 0 [2025-03-19 22:19:05] Production.INFO: CreateAllLog End [2025-03-19 22:19:05] Production.INFO: Account Balance End. [2025-03-19 22:19:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:19:05] Production.INFO: ==10724== Releasing lock... [2025-03-19 22:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:19:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:19:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:19:06 [end_date_ymd] => 2025-03-19 22:19:06 [RateCDR] => 1 ) [2025-03-19 22: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-03-19 19:19:06' and `end` < '2025-03-19 22: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-03-19 22:19:13] Production.ERROR: CronJobId end10 [2025-03-19 22:19:13] Production.INFO: ==10722== Releasing lock... [2025-03-19 22:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:19:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:19:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:19:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:19:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:19:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:19:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:19:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:19:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:19:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:19:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:19:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:19:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:19:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:19:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:19:16] Production.INFO: call_cost start [2025-03-19 22:19:16] Production.INFO: call_cost end [2025-03-19 22:19:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:19:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:19:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:19:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:19:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:19:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:19:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:19:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:19:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:19:17] Production.INFO: ==10718== Releasing lock... [2025-03-19 22:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:19:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:19:18] Production.INFO: count ==1211 [2025-03-19 22:19:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:19:06 - End Time 2025-03-19 22:19:06 [2025-03-19 22:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718508', 'tblTempUsageDetail_20' ) start [2025-03-19 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718508', 'tblTempUsageDetail_20' ) end [2025-03-19 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718508', 'tblTempVendorCDR_20' ) start [2025-03-19 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718508', 'tblTempVendorCDR_20' ) end [2025-03-19 22:19:18] Production.INFO: ProcessCDR(1,14718508,1,1,2) [2025-03-19 22:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718508', 'tblTempUsageDetail_20' ) start [2025-03-19 22:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718508', 'tblTempUsageDetail_20' ) end [2025-03-19 22:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:19:22] Production.INFO: ==10726== Releasing lock... [2025-03-19 22:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:19:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-20 02:20:01] Production.INFO: ==10805== Lock acquired, processing the job... [2025-03-20 02:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:20:01] Production.INFO: neon service started [2025-03-20 02:20:01] Production.INFO: neon service started [2025-03-20 02:20:01] Production.INFO: ==10805== Releasing lock... [2025-03-20 02:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:20:02] Production.INFO: ==10809== Lock acquired, processing the job... [2025-03-20 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:20:02] Production.INFO: ==10809== Releasing lock... [2025-03-20 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:20:02] Production.INFO: ==10807== Lock acquired, processing the job... [2025-03-19 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:20:02] Production.INFO: ==10807== Releasing lock... [2025-03-19 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:20:03] Production.INFO: ==10813== Lock acquired, processing the job... [2025-03-19 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 22:20:03] Production.INFO: ==10815== Lock acquired, processing the job... [2025-03-19 22:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 22:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 22:20:03] Production.INFO: ==10813== Releasing lock... [2025-03-19 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 22:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 22:20:03] Production.INFO: ==10817== Lock acquired, processing the job... [2025-03-19 22:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:20:04] Production.INFO: ==10821== Lock acquired, processing the job... [2025-03-19 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:20:04] Production.INFO: Account Balance Start. [2025-03-19 22:20:04] Production.INFO: CreateAllLog Start [2025-03-19 22:20:04] Production.INFO: 117 [2025-03-19 22:20:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:04] Production.INFO: ==10819== Lock acquired, processing the job... [2025-03-19 22:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:20:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:20:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:20:04] Production.INFO: ==10823== Lock acquired, processing the job... [2025-03-19 22:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:20:04] Production.INFO: ==10825== Lock acquired, processing the job... [2025-03-19 22:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 22:20:04] Production.INFO: ==10817== Releasing lock... [2025-03-19 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:20:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:20:04] Production.INFO: ==10827== Lock acquired, processing the job... [2025-03-19 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:20:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:20:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:20:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:20:05] Production.INFO: count ==12 [2025-03-19 22:20:05] Production.ERROR: done [2025-03-19 22: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-03-19 22:20:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:20:05] Production.INFO: count ==23 [2025-03-19 22:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:20:05] Production.ERROR: done [2025-03-19 22:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718512') start [2025-03-19 22:20:05] Production.INFO: Total Charge 0 [2025-03-19 22:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 22:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718513', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 22:20:05] Production.INFO: CreateAllLog End [2025-03-19 22:20:05] Production.ERROR: done [2025-03-19 22:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718512') end [2025-03-19 22:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:20:05] Production.INFO: 1 [2025-03-19 22:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:20:05] Production.INFO: ==10827== Releasing lock... [2025-03-19 22:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:20:05] Production.INFO: Account Balance End. [2025-03-19 22:20:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:20:05] Production.INFO: ==10821== Releasing lock... [2025-03-19 22:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:20:06 [end_date_ymd] => 2025-03-19 22:20:06 [RateCDR] => 1 ) [2025-03-19 22:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:20:06' and `end` < '2025-03-19 22:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718513', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 22:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 22:20:09] Production.INFO: ProcessCDR(1,14718513,1,1,2) [2025-03-19 22:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718513,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718513,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:20:10] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:20:10] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:20:10] Production.INFO: ==10825== Releasing lock... [2025-03-19 22:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 22:20:10] Production.INFO: 26 MB #Memory Used# [2025-03-19 22:20:17] Production.ERROR: CronJobId end10 [2025-03-19 22:20:17] Production.INFO: ==10819== Releasing lock... [2025-03-19 22:20:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:20:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:20:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:20:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:20:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:20:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:20:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:20:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:20:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:20:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:20:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:20:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:20:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:20:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:20:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:20:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:20:17] Production.INFO: call_cost start [2025-03-19 22:20:17] Production.INFO: call_cost end [2025-03-19 22:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:20:18] Production.INFO: ==10815== Releasing lock... [2025-03-19 22:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:20:19] Production.INFO: count ==1209 [2025-03-19 22:20:19] Production.ERROR: pbx CDR StartTime 2025-03-19 19:20:06 - End Time 2025-03-19 22:20:06 [2025-03-19 22:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718514', 'tblTempUsageDetail_20' ) start [2025-03-19 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718514', 'tblTempUsageDetail_20' ) end [2025-03-19 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718514', 'tblTempVendorCDR_20' ) start [2025-03-19 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718514', 'tblTempVendorCDR_20' ) end [2025-03-19 22:20:19] Production.INFO: ProcessCDR(1,14718514,1,1,2) [2025-03-19 22:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718514', 'tblTempUsageDetail_20' ) start [2025-03-19 22:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718514', 'tblTempUsageDetail_20' ) end [2025-03-19 22:20:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:20:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:20:23] Production.INFO: ==10823== Releasing lock... [2025-03-19 22:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:20:23] Production.INFO: 37.75 MB #Memory Used# [2025-03-20 02:21:02] Production.INFO: ==10900== Lock acquired, processing the job... [2025-03-20 02:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:21:02] Production.INFO: neon service started [2025-03-20 02:21:02] Production.INFO: neon service started [2025-03-20 02:21:02] Production.INFO: ==10900== Releasing lock... [2025-03-20 02:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:21:02] Production.INFO: ==10902== Lock acquired, processing the job... [2025-03-19 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:21:03] Production.INFO: ==10902== Releasing lock... [2025-03-19 22:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:21:03] Production.INFO: ==10904== Lock acquired, processing the job... [2025-03-20 02:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:21:03] Production.INFO: ==10904== Releasing lock... [2025-03-20 02:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:21:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:21:03] Production.INFO: ==10913== Lock acquired, processing the job... [2025-03-19 22:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:21:04] Production.INFO: ==10911== Lock acquired, processing the job... [2025-03-19 22:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:21:04] Production.INFO: Account Balance Start. [2025-03-19 22:21:04] Production.INFO: CreateAllLog Start [2025-03-19 22:21:04] Production.INFO: 117 [2025-03-19 22:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:21:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:21:04] Production.INFO: ==10907== Lock acquired, processing the job... [2025-03-19 22:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:21:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.INFO: ==10909== Lock acquired, processing the job... [2025-03-19 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:21:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:21:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.INFO: ==10917== Lock acquired, processing the job... [2025-03-19 22:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:21:04] Production.INFO: ==10915== Lock acquired, processing the job... [2025-03-19 22:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:21:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:21:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:21:04] Production.INFO: count ==12 [2025-03-19 22:21:04] Production.INFO: ==10909== Releasing lock... [2025-03-19 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:21:04] Production.INFO: count ==23 [2025-03-19 22:21:04] Production.INFO: Total Charge 0 [2025-03-19 22:21:04] Production.INFO: CreateAllLog End [2025-03-19 22:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718518') start [2025-03-19 22:21:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718518') end [2025-03-19 22:21:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:21:05] Production.INFO: 1 [2025-03-19 22:21:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:21:05] Production.ERROR: done [2025-03-19 22:21:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:21:05] Production.INFO: ==10917== Releasing lock... [2025-03-19 22:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:21:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:21:05] Production.INFO: Account Balance End. [2025-03-19 22:21:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:21:05] Production.INFO: ==10913== Releasing lock... [2025-03-19 22:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:21:05] Production.ERROR: done [2025-03-19 22:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:21:06 [end_date_ymd] => 2025-03-19 22:21:06 [RateCDR] => 1 ) [2025-03-19 22: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-03-19 19:21:06' and `end` < '2025-03-19 22: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-03-19 22:21:14] Production.ERROR: CronJobId end10 [2025-03-19 22:21:14] Production.INFO: ==10911== Releasing lock... [2025-03-19 22:21:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:21:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:21:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:21:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:21:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:21:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:21:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:21:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:21:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:21:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:21:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:21:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:21:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:21:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:21:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:21:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:21:16] Production.INFO: call_cost start [2025-03-19 22:21:16] Production.INFO: call_cost end [2025-03-19 22:21:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:21:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:21:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:21:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:21:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:21:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:21:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:21:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:21:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:21:17] Production.INFO: ==10907== Releasing lock... [2025-03-19 22:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:21:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:21:18] Production.INFO: count ==1183 [2025-03-19 22:21:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:21:06 - End Time 2025-03-19 22:21:06 [2025-03-19 22:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718519', 'tblTempUsageDetail_20' ) start [2025-03-19 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718519', 'tblTempUsageDetail_20' ) end [2025-03-19 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718519', 'tblTempVendorCDR_20' ) start [2025-03-19 22:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718519', 'tblTempVendorCDR_20' ) end [2025-03-19 22:21:19] Production.INFO: ProcessCDR(1,14718519,1,1,2) [2025-03-19 22:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718519', 'tblTempUsageDetail_20' ) start [2025-03-19 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718519', 'tblTempUsageDetail_20' ) end [2025-03-19 22:21:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:21:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:21:22] Production.INFO: ==10915== Releasing lock... [2025-03-19 22:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:21:22] Production.INFO: 37.5 MB #Memory Used# [2025-03-20 02:22:01] Production.INFO: ==11029== Lock acquired, processing the job... [2025-03-20 02:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:22:01] Production.INFO: neon service started [2025-03-20 02:22:01] Production.INFO: neon service started [2025-03-20 02:22:01] Production.INFO: ==11029== Releasing lock... [2025-03-20 02:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:22:02] Production.INFO: ==11031== Lock acquired, processing the job... [2025-03-19 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:22:02] Production.INFO: ==11033== Lock acquired, processing the job... [2025-03-20 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:22:02] Production.INFO: ==11033== Releasing lock... [2025-03-20 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:22:02] Production.INFO: ==11031== Releasing lock... [2025-03-19 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:22:03] Production.INFO: ==11036== Lock acquired, processing the job... [2025-03-19 22:22:03] Production.INFO: ==11040== Lock acquired, processing the job... [2025-03-19 22:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:22:03] Production.INFO: ==11038== Lock acquired, processing the job... [2025-03-19 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:22:03] Production.INFO: ==11046== Lock acquired, processing the job... [2025-03-19 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:22:03] Production.INFO: ==11042== Lock acquired, processing the job... [2025-03-19 22:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 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-03-19 22:22:03] Production.INFO: Account Balance Start. [2025-03-19 22:22:03] Production.INFO: CreateAllLog Start [2025-03-19 22:22:03] Production.INFO: 117 [2025-03-19 22:22:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:22:04] Production.INFO: count ==12 [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:22:04] Production.INFO: count ==23 [2025-03-19 22:22:04] Production.INFO: ==11044== Lock acquired, processing the job... [2025-03-19 22:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718521') start [2025-03-19 22:22:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:22:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718521') end [2025-03-19 22:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:22:04] Production.INFO: 1 [2025-03-19 22:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:22:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.ERROR: done [2025-03-19 22:22:04] Production.INFO: ==11046== Releasing lock... [2025-03-19 22:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:22:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:22:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.ERROR: done [2025-03-19 22:22:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:22:04] Production.INFO: ==11038== Releasing lock... [2025-03-19 22:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:22:04] Production.INFO: Total Charge 0 [2025-03-19 22:22:04] Production.INFO: CreateAllLog End [2025-03-19 22:22:04] Production.INFO: Account Balance End. [2025-03-19 22:22:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:22:04] Production.INFO: ==11042== Releasing lock... [2025-03-19 22:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:22:05 [end_date_ymd] => 2025-03-19 22:22:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:22:05' and `end` < '2025-03-19 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-03-19 22:22:13] Production.ERROR: CronJobId end10 [2025-03-19 22:22:13] Production.INFO: ==11040== Releasing lock... [2025-03-19 22:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:22:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:22:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:22:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:22:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:22:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:22:16] Production.INFO: call_cost start [2025-03-19 22:22:16] Production.INFO: call_cost end [2025-03-19 22:22:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:22:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:22:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:22:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:22:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:22:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:22:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:22:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:22:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:22:17] Production.INFO: ==11036== Releasing lock... [2025-03-19 22:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:22:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:22:18] Production.INFO: count ==1183 [2025-03-19 22:22:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:22:05 - End Time 2025-03-19 22:22:05 [2025-03-19 22:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718524', 'tblTempUsageDetail_20' ) start [2025-03-19 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718524', 'tblTempUsageDetail_20' ) end [2025-03-19 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718524', 'tblTempVendorCDR_20' ) start [2025-03-19 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718524', 'tblTempVendorCDR_20' ) end [2025-03-19 22:22:18] Production.INFO: ProcessCDR(1,14718524,1,1,2) [2025-03-19 22:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718524', 'tblTempUsageDetail_20' ) start [2025-03-19 22:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718524', 'tblTempUsageDetail_20' ) end [2025-03-19 22:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:22:21] Production.INFO: ==11044== Releasing lock... [2025-03-19 22:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:22:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-20 02:23:02] Production.INFO: ==11125== Lock acquired, processing the job... [2025-03-20 02:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:23:02] Production.INFO: neon service started [2025-03-20 02:23:02] Production.INFO: neon service started [2025-03-20 02:23:02] Production.INFO: ==11125== Releasing lock... [2025-03-20 02:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:23:02] Production.INFO: ==11129== Lock acquired, processing the job... [2025-03-20 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:23:02] Production.INFO: ==11129== Releasing lock... [2025-03-20 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:23:02] Production.INFO: ==11127== Lock acquired, processing the job... [2025-03-19 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:23:03] Production.INFO: ==11127== Releasing lock... [2025-03-19 22:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:23:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:23:03] Production.INFO: ==11137== Lock acquired, processing the job... [2025-03-19 22:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:23:03] Production.INFO: ==11140== Lock acquired, processing the job... [2025-03-19 22:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:23:04] Production.INFO: Account Balance Start. [2025-03-19 22:23:04] Production.INFO: CreateAllLog Start [2025-03-19 22:23:04] Production.INFO: 117 [2025-03-19 22:23:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.INFO: ==11133== Lock acquired, processing the job... [2025-03-19 22:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:23:04] Production.INFO: ==11135== Lock acquired, processing the job... [2025-03-19 22:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:23:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:23:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.INFO: ==11144== Lock acquired, processing the job... [2025-03-19 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:23:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.INFO: ==11142== Lock acquired, processing the job... [2025-03-19 22:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 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-03-19 22:23:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:23:04] Production.INFO: count ==23 [2025-03-19 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718528') start [2025-03-19 22:23:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:23:04] Production.INFO: ==11135== Releasing lock... [2025-03-19 22:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718528') end [2025-03-19 22:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:23:04] Production.INFO: 1 [2025-03-19 22:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:23:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:23:04] Production.INFO: Total Charge 0 [2025-03-19 22:23:04] Production.INFO: CreateAllLog End [2025-03-19 22:23:04] Production.INFO: ==11144== Releasing lock... [2025-03-19 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:23:05] Production.ERROR: done [2025-03-19 22:23:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:23:05] Production.INFO: Account Balance End. [2025-03-19 22:23:05] Production.ERROR: done [2025-03-19 22:23:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:23:05] Production.INFO: ==11140== Releasing lock... [2025-03-19 22:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:23:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:23:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:23:06 [end_date_ymd] => 2025-03-19 22:23:06 [RateCDR] => 1 ) [2025-03-19 22: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-03-19 19:23:06' and `end` < '2025-03-19 22: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-03-19 22:23:14] Production.ERROR: CronJobId end10 [2025-03-19 22:23:14] Production.INFO: ==11137== Releasing lock... [2025-03-19 22:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:23:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:23:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:23:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:23:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:23:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:23:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:23:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:23:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:23:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:23:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:23:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:23:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:23:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:23:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:23:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:23:16] Production.INFO: call_cost start [2025-03-19 22:23:16] Production.INFO: call_cost end [2025-03-19 22:23:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:23:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:23:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:23:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:23:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:23:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:23:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:23:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:23:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:23:17] Production.INFO: ==11133== Releasing lock... [2025-03-19 22:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:23:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:23:18] Production.INFO: count ==1176 [2025-03-19 22:23:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:23:06 - End Time 2025-03-19 22:23:06 [2025-03-19 22:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718529', 'tblTempUsageDetail_20' ) start [2025-03-19 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718529', 'tblTempUsageDetail_20' ) end [2025-03-19 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718529', 'tblTempVendorCDR_20' ) start [2025-03-19 22:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718529', 'tblTempVendorCDR_20' ) end [2025-03-19 22:23:18] Production.INFO: ProcessCDR(1,14718529,1,1,2) [2025-03-19 22:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718529', 'tblTempUsageDetail_20' ) start [2025-03-19 22:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718529', 'tblTempUsageDetail_20' ) end [2025-03-19 22:23:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:23:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:23:22] Production.INFO: ==11142== Releasing lock... [2025-03-19 22:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:23:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 02:24:01] Production.INFO: ==11221== Lock acquired, processing the job... [2025-03-20 02:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:24:01] Production.INFO: neon service started [2025-03-20 02:24:01] Production.INFO: neon service started [2025-03-20 02:24:01] Production.INFO: ==11221== Releasing lock... [2025-03-20 02:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:24:02] Production.INFO: ==11223== Lock acquired, processing the job... [2025-03-19 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:24:02] Production.INFO: ==11223== Releasing lock... [2025-03-19 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:24:02] Production.INFO: ==11225== Lock acquired, processing the job... [2025-03-20 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:24:02] Production.INFO: ==11225== Releasing lock... [2025-03-20 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:24:03] Production.INFO: ==11229== Lock acquired, processing the job... [2025-03-19 22:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:24:03] Production.INFO: ==11237== Lock acquired, processing the job... [2025-03-19 22:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:24:03] Production.INFO: ==11227== Lock acquired, processing the job... [2025-03-19 22:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:24:03] Production.INFO: ==11231== Lock acquired, processing the job... [2025-03-19 22:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:24:03] Production.INFO: count ==12 [2025-03-19 22:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:24:03] Production.INFO: count ==23 [2025-03-19 22:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718530') start [2025-03-19 22:24:03] Production.INFO: ==11233== Lock acquired, processing the job... [2025-03-19 22:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718530') end [2025-03-19 22:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:24:03] Production.INFO: 1 [2025-03-19 22:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:24:03] Production.INFO: ==11235== Lock acquired, processing the job... [2025-03-19 22:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:24:04] Production.INFO: ==11237== Releasing lock... [2025-03-19 22:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:24:04] Production.INFO: Account Balance Start. [2025-03-19 22:24:04] Production.INFO: CreateAllLog Start [2025-03-19 22:24:04] Production.INFO: 117 [2025-03-19 22:24:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.INFO: ==11229== Releasing lock... [2025-03-19 22:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:24:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.ERROR: done [2025-03-19 22:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:24:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:24:04] Production.ERROR: done [2025-03-19 22:24:04] Production.INFO: Total Charge 0 [2025-03-19 22:24:04] Production.INFO: CreateAllLog End [2025-03-19 22:24:04] Production.INFO: Account Balance End. [2025-03-19 22:24:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:24:05] Production.INFO: ==11233== Releasing lock... [2025-03-19 22:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:24:05 [end_date_ymd] => 2025-03-19 22:24:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:24:05' and `end` < '2025-03-19 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-03-19 22:24:12] Production.ERROR: CronJobId end10 [2025-03-19 22:24:12] Production.INFO: ==11231== Releasing lock... [2025-03-19 22:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:24:15] Production.INFO: call_cost start [2025-03-19 22:24:15] Production.INFO: call_cost end [2025-03-19 22:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:24:16] Production.INFO: ==11227== Releasing lock... [2025-03-19 22:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:24:17] Production.INFO: count ==1169 [2025-03-19 22:24:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:24:05 - End Time 2025-03-19 22:24:05 [2025-03-19 22:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718534', 'tblTempUsageDetail_20' ) start [2025-03-19 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718534', 'tblTempUsageDetail_20' ) end [2025-03-19 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718534', 'tblTempVendorCDR_20' ) start [2025-03-19 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718534', 'tblTempVendorCDR_20' ) end [2025-03-19 22:24:18] Production.INFO: ProcessCDR(1,14718534,1,1,2) [2025-03-19 22:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718534', 'tblTempUsageDetail_20' ) start [2025-03-19 22:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718534', 'tblTempUsageDetail_20' ) end [2025-03-19 22:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:24:21] Production.INFO: ==11235== Releasing lock... [2025-03-19 22:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:24:21] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:25:02] Production.INFO: ==11312== Lock acquired, processing the job... [2025-03-20 02:25:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:25:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:25:02] Production.INFO: neon service started [2025-03-20 02:25:02] Production.INFO: neon service started [2025-03-20 02:25:02] Production.INFO: ==11312== Releasing lock... [2025-03-20 02:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:25:02] Production.INFO: ==11316== Lock acquired, processing the job... [2025-03-20 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:25:02] Production.INFO: ==11316== Releasing lock... [2025-03-20 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:25:02] Production.INFO: ==11314== Lock acquired, processing the job... [2025-03-19 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:25:02] Production.INFO: ==11314== Releasing lock... [2025-03-19 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:25:03] Production.INFO: ==11327== Lock acquired, processing the job... [2025-03-19 22:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:25:04] Production.INFO: ==11329== Lock acquired, processing the job... [2025-03-19 22:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:25:04] Production.INFO: ==11319== Lock acquired, processing the job... [2025-03-19 22:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:25:04] Production.INFO: ==11321== Lock acquired, processing the job... [2025-03-19 22:25:04] Production.INFO: ==11323== Lock acquired, processing the job... [2025-03-19 22:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:25:04] Production.INFO: ==11325== Lock acquired, processing the job... [2025-03-19 22:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:25:04] Production.INFO: count ==12 [2025-03-19 22:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:25:04] Production.INFO: count ==23 [2025-03-19 22:25:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718535') start [2025-03-19 22:25:04] Production.INFO: Account Balance Start. [2025-03-19 22:25:04] Production.INFO: CreateAllLog Start [2025-03-19 22:25:04] Production.INFO: 117 [2025-03-19 22:25:04] Production.ERROR: done [2025-03-19 22:25:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718535') end [2025-03-19 22:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:25:04] Production.INFO: 1 [2025-03-19 22:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:25:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:25:04] Production.INFO: ==11329== Releasing lock... [2025-03-19 22:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:25:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.ERROR: done [2025-03-19 22:25:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.INFO: ==11321== Releasing lock... [2025-03-19 22:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:25:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:25:04] Production.INFO: Total Charge 0 [2025-03-19 22:25:04] Production.INFO: CreateAllLog End [2025-03-19 22:25:05] Production.INFO: Account Balance End. [2025-03-19 22:25:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:25:05] Production.INFO: ==11325== Releasing lock... [2025-03-19 22:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:25:05 [end_date_ymd] => 2025-03-19 22:25:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:25:05' and `end` < '2025-03-19 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-03-19 22:25:15] Production.ERROR: CronJobId end10 [2025-03-19 22:25:15] Production.INFO: ==11323== Releasing lock... [2025-03-19 22:25:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:25:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:25:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:25:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:25:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:25:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:25:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:25:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:25:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:25:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:25:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:25:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:25:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:25:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:25:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:25:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:25:15] Production.INFO: call_cost start [2025-03-19 22:25:15] Production.INFO: call_cost end [2025-03-19 22:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:25:16] Production.INFO: ==11319== Releasing lock... [2025-03-19 22:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:25:18] Production.INFO: count ==1156 [2025-03-19 22:25:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:25:05 - End Time 2025-03-19 22:25:05 [2025-03-19 22:25:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718539', 'tblTempUsageDetail_20' ) start [2025-03-19 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718539', 'tblTempUsageDetail_20' ) end [2025-03-19 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718539', 'tblTempVendorCDR_20' ) start [2025-03-19 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718539', 'tblTempVendorCDR_20' ) end [2025-03-19 22:25:18] Production.INFO: ProcessCDR(1,14718539,1,1,2) [2025-03-19 22:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718539', 'tblTempUsageDetail_20' ) start [2025-03-19 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718539', 'tblTempUsageDetail_20' ) end [2025-03-19 22:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:25:21] Production.INFO: ==11327== Releasing lock... [2025-03-19 22:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:25:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-20 02:26:01] Production.INFO: ==11397== Lock acquired, processing the job... [2025-03-20 02:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:26:01] Production.INFO: neon service started [2025-03-20 02:26:01] Production.INFO: neon service started [2025-03-20 02:26:01] Production.INFO: ==11397== Releasing lock... [2025-03-20 02:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:26:01] Production.INFO: ==11401== Lock acquired, processing the job... [2025-03-19 22:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:26:02] Production.INFO: ==11403== Lock acquired, processing the job... [2025-03-20 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 22:26:02] Production.INFO: ==11401== Releasing lock... [2025-03-19 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:26:02] Production.INFO: ==11403== Releasing lock... [2025-03-20 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:26:03] Production.INFO: ==11406== Lock acquired, processing the job... [2025-03-19 22:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:26:03] Production.INFO: ==11408== Lock acquired, processing the job... [2025-03-19 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:26:03] Production.INFO: ==11410== Lock acquired, processing the job... [2025-03-19 22:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:26:03] Production.INFO: ==11412== Lock acquired, processing the job... [2025-03-19 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:26:03] Production.INFO: Account Balance Start. [2025-03-19 22:26:03] Production.INFO: CreateAllLog Start [2025-03-19 22:26:03] Production.INFO: ==11414== Lock acquired, processing the job... [2025-03-19 22:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:26:03] Production.INFO: 117 [2025-03-19 22:26:03] Production.INFO: ==11416== Lock acquired, processing the job... [2025-03-19 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:26:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:26:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:26:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:26:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:26:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:26:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:26:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:26:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:26:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:26:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:26:03] Production.INFO: ==11408== Releasing lock... [2025-03-19 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:26:03] Production.INFO: count ==12 [2025-03-19 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-03-19 22:26:03] Production.INFO: count ==23 [2025-03-19 22:26:03] Production.INFO: Date 2025-03-13 [2025-03-19 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718543') start [2025-03-19 22:26:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:26:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:26:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:26:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:26:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:26:04] Production.ERROR: done [2025-03-19 22:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:26:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:26:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718543') end [2025-03-19 22:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:26:04] Production.INFO: 1 [2025-03-19 22:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:26:04] Production.INFO: Total Charge 0 [2025-03-19 22:26:04] Production.INFO: CreateAllLog End [2025-03-19 22:26:04] Production.INFO: ==11416== Releasing lock... [2025-03-19 22:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:26:04] Production.ERROR: done [2025-03-19 22:26:04] Production.INFO: Account Balance End. [2025-03-19 22:26:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:26:04] Production.INFO: ==11412== Releasing lock... [2025-03-19 22:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:26:05 [end_date_ymd] => 2025-03-19 22:26:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:26:05' and `end` < '2025-03-19 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-03-19 22:26:14] Production.ERROR: CronJobId end10 [2025-03-19 22:26:14] Production.INFO: ==11410== Releasing lock... [2025-03-19 22:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:26:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:26:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:26:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:26:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:26:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:26:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:26:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:26:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:26:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:26:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:26:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:26:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:26:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:26:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:26:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:26:16] Production.INFO: call_cost start [2025-03-19 22:26:16] Production.INFO: call_cost end [2025-03-19 22:26:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:26:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:26:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:26:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:26:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:26:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:26:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:26:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:26:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:26:17] Production.INFO: ==11406== Releasing lock... [2025-03-19 22:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:26:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:26:17] Production.INFO: count ==1156 [2025-03-19 22:26:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:26:05 - End Time 2025-03-19 22:26:05 [2025-03-19 22:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718544', 'tblTempUsageDetail_20' ) start [2025-03-19 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718544', 'tblTempUsageDetail_20' ) end [2025-03-19 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718544', 'tblTempVendorCDR_20' ) start [2025-03-19 22:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718544', 'tblTempVendorCDR_20' ) end [2025-03-19 22:26:18] Production.INFO: ProcessCDR(1,14718544,1,1,2) [2025-03-19 22:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718544', 'tblTempUsageDetail_20' ) start [2025-03-19 22:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718544', 'tblTempUsageDetail_20' ) end [2025-03-19 22:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:26:21] Production.INFO: ==11414== Releasing lock... [2025-03-19 22:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:26:21] Production.INFO: 37.25 MB #Memory Used# [2025-03-20 02:27:02] Production.INFO: ==11486== Lock acquired, processing the job... [2025-03-20 02:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:27:02] Production.INFO: neon service started [2025-03-20 02:27:02] Production.INFO: neon service started [2025-03-20 02:27:02] Production.INFO: ==11486== Releasing lock... [2025-03-20 02:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:27:02] Production.INFO: ==11488== Lock acquired, processing the job... [2025-03-19 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:27:02] Production.INFO: ==11488== Releasing lock... [2025-03-19 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:27:03] Production.INFO: ==11490== Lock acquired, processing the job... [2025-03-20 02:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:27:03] Production.INFO: ==11490== Releasing lock... [2025-03-20 02:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:27:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:27:03] Production.INFO: ==11493== Lock acquired, processing the job... [2025-03-19 22:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:27:03] Production.INFO: ==11495== Lock acquired, processing the job... [2025-03-19 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:27:03] Production.INFO: ==11499== Lock acquired, processing the job... [2025-03-19 22:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:27:04] Production.INFO: Account Balance Start. [2025-03-19 22:27:04] Production.INFO: CreateAllLog Start [2025-03-19 22:27:04] Production.INFO: 117 [2025-03-19 22:27:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.INFO: ==11497== Lock acquired, processing the job... [2025-03-19 22:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:27:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.INFO: ==11503== Lock acquired, processing the job... [2025-03-19 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:27:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:27:04] Production.INFO: ==11501== Lock acquired, processing the job... [2025-03-19 22:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.INFO: ==11495== Releasing lock... [2025-03-19 22:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:27:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:27:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:27:04] Production.INFO: count ==12 [2025-03-19 22:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:27:04] Production.INFO: count ==23 [2025-03-19 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718548') start [2025-03-19 22:27:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718548') end [2025-03-19 22:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:27:04] Production.INFO: 1 [2025-03-19 22:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:27:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:27:04] Production.INFO: Total Charge 0 [2025-03-19 22:27:04] Production.INFO: CreateAllLog End [2025-03-19 22:27:04] Production.INFO: ==11503== Releasing lock... [2025-03-19 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:27:04] Production.ERROR: done [2025-03-19 22:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:27:05] Production.INFO: Account Balance End. [2025-03-19 22:27:05] Production.ERROR: done [2025-03-19 22:27:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:27:05] Production.INFO: ==11499== Releasing lock... [2025-03-19 22:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:27:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:27:06 [end_date_ymd] => 2025-03-19 22:27:06 [RateCDR] => 1 ) [2025-03-19 22: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-03-19 19:27:06' and `end` < '2025-03-19 22: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-03-19 22:27:15] Production.ERROR: CronJobId end10 [2025-03-19 22:27:15] Production.INFO: ==11497== Releasing lock... [2025-03-19 22:27:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:27:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:27:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:27:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:27:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:27:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:27:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:27:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:27:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:27:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:27:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:27:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:27:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:27:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:27:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:27:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:27:17] Production.INFO: call_cost start [2025-03-19 22:27:17] Production.INFO: call_cost end [2025-03-19 22:27:18] Production.INFO: count ==1151 [2025-03-19 22:27:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:27:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:27:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:27:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:27:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:27:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:27:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:27:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:27:19] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:27:19] Production.INFO: ==11493== Releasing lock... [2025-03-19 22:27:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:27:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:27:19] Production.ERROR: pbx CDR StartTime 2025-03-19 19:27:06 - End Time 2025-03-19 22:27:06 [2025-03-19 22:27:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718549', 'tblTempUsageDetail_20' ) start [2025-03-19 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718549', 'tblTempUsageDetail_20' ) end [2025-03-19 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718549', 'tblTempVendorCDR_20' ) start [2025-03-19 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718549', 'tblTempVendorCDR_20' ) end [2025-03-19 22:27:19] Production.INFO: ProcessCDR(1,14718549,1,1,2) [2025-03-19 22:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718549', 'tblTempUsageDetail_20' ) start [2025-03-19 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718549', 'tblTempUsageDetail_20' ) end [2025-03-19 22:27:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:27:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:27:22] Production.INFO: ==11501== Releasing lock... [2025-03-19 22:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:27:22] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:28:01] Production.INFO: ==11580== Lock acquired, processing the job... [2025-03-20 02:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:28:01] Production.INFO: neon service started [2025-03-20 02:28:01] Production.INFO: neon service started [2025-03-20 02:28:01] Production.INFO: ==11580== Releasing lock... [2025-03-20 02:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:28:02] Production.INFO: ==11585== Lock acquired, processing the job... [2025-03-20 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:28:02] Production.INFO: ==11585== Releasing lock... [2025-03-20 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:28:02] Production.INFO: ==11583== Lock acquired, processing the job... [2025-03-19 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:28:02] Production.INFO: ==11583== Releasing lock... [2025-03-19 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:28:03] Production.INFO: ==11589== Lock acquired, processing the job... [2025-03-19 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:28:03] Production.INFO: ==11587== Lock acquired, processing the job... [2025-03-19 22:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:28:03] Production.INFO: ==11593== Lock acquired, processing the job... [2025-03-19 22:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:28:03] Production.INFO: Account Balance Start. [2025-03-19 22:28:03] Production.INFO: CreateAllLog Start [2025-03-19 22:28:03] Production.INFO: 117 [2025-03-19 22:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:28:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:03] Production.INFO: ==11595== Lock acquired, processing the job... [2025-03-19 22:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:28:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:03] Production.INFO: ==11591== Lock acquired, processing the job... [2025-03-19 22:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:28:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:28:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:04] Production.INFO: ==11597== Lock acquired, processing the job... [2025-03-19 22:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:28:04] Production.INFO: ==11589== Releasing lock... [2025-03-19 22:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:28:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:28:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:28:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:04] Production.INFO: count ==12 [2025-03-19 22:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:28:04] Production.INFO: count ==23 [2025-03-19 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718553') start [2025-03-19 22:28:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:28:04] Production.INFO: Total Charge 0 [2025-03-19 22:28:04] Production.INFO: CreateAllLog End [2025-03-19 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718553') end [2025-03-19 22:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:28:04] Production.INFO: 1 [2025-03-19 22:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:28:04] Production.INFO: ==11597== Releasing lock... [2025-03-19 22:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:28:04] Production.ERROR: done [2025-03-19 22:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:28:04] Production.ERROR: done [2025-03-19 22:28:04] Production.INFO: Account Balance End. [2025-03-19 22:28:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:28:04] Production.INFO: ==11593== Releasing lock... [2025-03-19 22:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:28:05 [end_date_ymd] => 2025-03-19 22:28:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:28:05' and `end` < '2025-03-19 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-03-19 22:28:16] Production.ERROR: CronJobId end10 [2025-03-19 22:28:16] Production.INFO: ==11591== Releasing lock... [2025-03-19 22:28:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:28:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:28:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:28:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:28:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:28:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:28:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:28:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:28:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:28:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:28:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:28:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:28:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:28:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:28:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:28:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:28:17] Production.INFO: call_cost start [2025-03-19 22:28:17] Production.INFO: call_cost end [2025-03-19 22:28:18] Production.INFO: count ==1153 [2025-03-19 22:28:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:28:05 - End Time 2025-03-19 22:28:05 [2025-03-19 22:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718554', 'tblTempUsageDetail_20' ) start [2025-03-19 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718554', 'tblTempUsageDetail_20' ) end [2025-03-19 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718554', 'tblTempVendorCDR_20' ) start [2025-03-19 22:28:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:28:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718554', 'tblTempVendorCDR_20' ) end [2025-03-19 22:28:18] Production.INFO: ProcessCDR(1,14718554,1,1,2) [2025-03-19 22:28:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:28:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:28:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:28:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:28:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:28:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:28:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:28:18] Production.INFO: ==11587== Releasing lock... [2025-03-19 22:28:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:28:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718554', 'tblTempUsageDetail_20' ) start [2025-03-19 22:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718554', 'tblTempUsageDetail_20' ) end [2025-03-19 22:28:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:28:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:28:22] Production.INFO: ==11595== Releasing lock... [2025-03-19 22:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:28:22] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:29:02] Production.INFO: ==11673== Lock acquired, processing the job... [2025-03-20 02:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:29:02] Production.INFO: neon service started [2025-03-20 02:29:02] Production.INFO: neon service started [2025-03-20 02:29:02] Production.INFO: ==11673== Releasing lock... [2025-03-20 02:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:29:02] Production.INFO: ==11676== Lock acquired, processing the job... [2025-03-19 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:29:02] Production.INFO: ==11678== Lock acquired, processing the job... [2025-03-20 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:29:02] Production.INFO: ==11678== Releasing lock... [2025-03-20 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:29:03] Production.INFO: ==11676== Releasing lock... [2025-03-19 22:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:29:03] Production.INFO: ==11680== Lock acquired, processing the job... [2025-03-19 22:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:29:04] Production.INFO: ==11682== Lock acquired, processing the job... [2025-03-19 22:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:29:04] Production.INFO: ==11688== Lock acquired, processing the job... [2025-03-19 22:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:29:04] Production.INFO: ==11684== Lock acquired, processing the job... [2025-03-19 22:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:29:04] Production.INFO: ==11686== Lock acquired, processing the job... [2025-03-19 22:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:29:04] Production.INFO: ==11690== Lock acquired, processing the job... [2025-03-19 22:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:29:04] Production.ERROR: done [2025-03-19 22:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:29:04] Production.INFO: ==11682== Releasing lock... [2025-03-19 22:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:29:04] Production.INFO: Account Balance Start. [2025-03-19 22:29:04] Production.INFO: CreateAllLog Start [2025-03-19 22:29:04] Production.INFO: 117 [2025-03-19 22:29:04] Production.INFO: Date 2025-03-08 [2025-03-19 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-03-19 22:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:29:04] Production.INFO: count ==23 [2025-03-19 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718558') start [2025-03-19 22:29:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:04] Production.ERROR: done [2025-03-19 22:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718558') end [2025-03-19 22:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:29:04] Production.INFO: 1 [2025-03-19 22:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:29:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:04] Production.INFO: ==11690== Releasing lock... [2025-03-19 22:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:29:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:05] Production.INFO: Date 2025-03-14 [2025-03-19 22:29:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:05] Production.INFO: Date 2025-03-15 [2025-03-19 22:29:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:05] Production.INFO: Date 2025-03-16 [2025-03-19 22:29:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:05] Production.INFO: Date 2025-03-17 [2025-03-19 22:29:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:29:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:29:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:29:05] Production.INFO: Total Charge 0 [2025-03-19 22:29:05] Production.INFO: CreateAllLog End [2025-03-19 22:29:05] Production.INFO: Account Balance End. [2025-03-19 22:29:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:29:05] Production.INFO: ==11686== Releasing lock... [2025-03-19 22:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:29:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:29:06 [end_date_ymd] => 2025-03-19 22:29:06 [RateCDR] => 1 ) [2025-03-19 22:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:29:06' and `end` < '2025-03-19 22:29:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:29:14] Production.ERROR: CronJobId end10 [2025-03-19 22:29:14] Production.INFO: ==11684== Releasing lock... [2025-03-19 22:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:29:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:29:16] Production.INFO: call_cost start [2025-03-19 22:29:16] Production.INFO: call_cost end [2025-03-19 22:29:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:29:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:29:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:29:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:29:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:29:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:29:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:29:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:29:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:29:17] Production.INFO: ==11680== Releasing lock... [2025-03-19 22:29:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:29:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:29:18] Production.INFO: count ==1152 [2025-03-19 22:29:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:29:06 - End Time 2025-03-19 22:29:06 [2025-03-19 22:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718559', 'tblTempUsageDetail_20' ) start [2025-03-19 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718559', 'tblTempUsageDetail_20' ) end [2025-03-19 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718559', 'tblTempVendorCDR_20' ) start [2025-03-19 22:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718559', 'tblTempVendorCDR_20' ) end [2025-03-19 22:29:18] Production.INFO: ProcessCDR(1,14718559,1,1,2) [2025-03-19 22:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718559', 'tblTempUsageDetail_20' ) start [2025-03-19 22:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718559', 'tblTempUsageDetail_20' ) end [2025-03-19 22:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:29:21] Production.INFO: ==11688== Releasing lock... [2025-03-19 22:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:29:21] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:30:01] Production.INFO: ==11767== Lock acquired, processing the job... [2025-03-20 02:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:30:01] Production.INFO: neon service started [2025-03-20 02:30:01] Production.INFO: neon service started [2025-03-20 02:30:01] Production.INFO: ==11767== Releasing lock... [2025-03-20 02:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:30:02] Production.INFO: ==11770== Lock acquired, processing the job... [2025-03-19 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:30:02] Production.INFO: ==11772== Lock acquired, processing the job... [2025-03-20 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:30:02] Production.INFO: ==11772== Releasing lock... [2025-03-20 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:30:02] Production.INFO: ==11770== Releasing lock... [2025-03-19 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:30:03] Production.INFO: ==11774== Lock acquired, processing the job... [2025-03-19 22:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 22:30:03] Production.INFO: ==11776== Lock acquired, processing the job... [2025-03-19 22:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:30:04] Production.INFO: ==11778== Lock acquired, processing the job... [2025-03-19 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 22:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 22:30:04] Production.ERROR: CronJob PID - 11776 [2025-03-19 22:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-19 22:30:04] Production.ERROR: CronJob ID - 5 [2025-03-19 22:30:04] Production.ERROR: CronJob Last Run Time 2025-03-19 22:30:00 [2025-03-19 22:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 22:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 22:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 22:30:04] Production.INFO: ==11774== Releasing lock... [2025-03-19 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 22:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 22:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:30:04] Production.INFO: ==11782== Lock acquired, processing the job... [2025-03-19 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:30:04] Production.INFO: ==11780== Lock acquired, processing the job... [2025-03-19 22:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:30:04] Production.INFO: ==11784== Lock acquired, processing the job... [2025-03-19 22:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:30:04] Production.INFO: Account Balance Start. [2025-03-19 22:30:04] Production.INFO: CreateAllLog Start [2025-03-19 22:30:04] Production.INFO: 117 [2025-03-19 22:30:04] Production.INFO: ==11787== Lock acquired, processing the job... [2025-03-19 22:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 22:30:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:30:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:30:04] Production.INFO: ==11778== Releasing lock... [2025-03-19 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:30:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:30:04] Production.INFO: ==11789== Lock acquired, processing the job... [2025-03-19 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:30:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:30:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:30:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:30:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:30:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:30:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:30:04] Production.INFO: count ==12 [2025-03-19 22:30:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:30:04] Production.INFO: count ==23 [2025-03-19 22:30:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718563') start [2025-03-19 22:30:05] Production.ERROR: done [2025-03-19 22:30:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:30:05] Production.ERROR: done [2025-03-19 22:30:05] Production.INFO: Total Charge 0 [2025-03-19 22:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718563') end [2025-03-19 22:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:30:05] Production.INFO: 1 [2025-03-19 22:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:30:05] Production.INFO: CreateAllLog End [2025-03-19 22:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 22:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718564', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 22:30:05] Production.INFO: ==11789== Releasing lock... [2025-03-19 22:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:30:05] Production.ERROR: done [2025-03-19 22:30:05] Production.INFO: Account Balance End. [2025-03-19 22:30:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:30:05] Production.INFO: ==11782== Releasing lock... [2025-03-19 22:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:30:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:30:07 [end_date_ymd] => 2025-03-19 22:30:07 [RateCDR] => 1 ) [2025-03-19 22:30:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:30:07' and `end` < '2025-03-19 22:30:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718564', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 22:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 22:30:09] Production.INFO: ProcessCDR(1,14718564,1,1,2) [2025-03-19 22:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718564,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718564,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:30:09] Production.INFO: ==11787== Releasing lock... [2025-03-19 22:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 22:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 22:30:16] Production.ERROR: CronJobId end10 [2025-03-19 22:30:16] Production.INFO: ==11780== Releasing lock... [2025-03-19 22:30:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:30:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:30:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:30:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:30:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:30:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:30:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:30:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:30:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:30:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:30:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:30:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:30:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:30:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:30:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:30:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:30:18] Production.INFO: call_cost start [2025-03-19 22:30:18] Production.INFO: call_cost end [2025-03-19 22:30:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:30:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:30:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:30:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:30:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:30:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:30:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:30:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:30:19] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:30:19] Production.INFO: ==11776== Releasing lock... [2025-03-19 22:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:30:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:30:19] Production.INFO: count ==1152 [2025-03-19 22:30:19] Production.ERROR: pbx CDR StartTime 2025-03-19 19:30:07 - End Time 2025-03-19 22:30:07 [2025-03-19 22:30:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718565', 'tblTempUsageDetail_20' ) start [2025-03-19 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718565', 'tblTempUsageDetail_20' ) end [2025-03-19 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718565', 'tblTempVendorCDR_20' ) start [2025-03-19 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718565', 'tblTempVendorCDR_20' ) end [2025-03-19 22:30:19] Production.INFO: ProcessCDR(1,14718565,1,1,2) [2025-03-19 22:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718565', 'tblTempUsageDetail_20' ) start [2025-03-19 22:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718565', 'tblTempUsageDetail_20' ) end [2025-03-19 22:30:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:30:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:30:23] Production.INFO: ==11784== Releasing lock... [2025-03-19 22:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:30:23] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:31:02] Production.INFO: ==11859== Lock acquired, processing the job... [2025-03-20 02:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:31:02] Production.INFO: neon service started [2025-03-20 02:31:02] Production.INFO: neon service started [2025-03-20 02:31:02] Production.INFO: ==11859== Releasing lock... [2025-03-20 02:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:31:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 02:31:02] Production.INFO: ==11863== Lock acquired, processing the job... [2025-03-20 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:31:02] Production.INFO: ==11863== Releasing lock... [2025-03-20 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:31:02] Production.INFO: ==11861== Lock acquired, processing the job... [2025-03-19 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:31:02] Production.INFO: ==11861== Releasing lock... [2025-03-19 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:31:03] Production.INFO: ==11868== Lock acquired, processing the job... [2025-03-19 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:31:03] Production.INFO: ==11871== Lock acquired, processing the job... [2025-03-19 22:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:31:03] Production.INFO: ==11865== Lock acquired, processing the job... [2025-03-19 22:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:31:04] Production.INFO: ==11874== Lock acquired, processing the job... [2025-03-19 22:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:31:04] Production.INFO: Account Balance Start. [2025-03-19 22:31:04] Production.INFO: CreateAllLog Start [2025-03-19 22:31:04] Production.INFO: 117 [2025-03-19 22:31:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:31:04] Production.INFO: ==11876== Lock acquired, processing the job... [2025-03-19 22:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:31:04] Production.INFO: ==11878== Lock acquired, processing the job... [2025-03-19 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.INFO: ==11868== Releasing lock... [2025-03-19 22:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:31:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:31:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:31:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.INFO: count ==12 [2025-03-19 22:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:31:04] Production.INFO: count ==23 [2025-03-19 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718569') start [2025-03-19 22:31:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.ERROR: done [2025-03-19 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718569') end [2025-03-19 22:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:31:04] Production.INFO: 1 [2025-03-19 22:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:31:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.INFO: ==11878== Releasing lock... [2025-03-19 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:31:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:31:04] Production.ERROR: done [2025-03-19 22:31:04] Production.INFO: Total Charge 0 [2025-03-19 22:31:04] Production.INFO: CreateAllLog End [2025-03-19 22:31:05] Production.INFO: Account Balance End. [2025-03-19 22:31:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:31:05] Production.INFO: ==11874== Releasing lock... [2025-03-19 22:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:31:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:31:06 [end_date_ymd] => 2025-03-19 22:31:06 [RateCDR] => 1 ) [2025-03-19 22: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-03-19 19:31:06' and `end` < '2025-03-19 22: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-03-19 22:31:15] Production.ERROR: CronJobId end10 [2025-03-19 22:31:15] Production.INFO: ==11871== Releasing lock... [2025-03-19 22:31:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:31:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:31:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:31:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:31:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:31:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:31:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:31:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:31:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:31:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:31:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:31:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:31:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:31:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:31:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:31:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:31:16] Production.INFO: call_cost start [2025-03-19 22:31:16] Production.INFO: call_cost end [2025-03-19 22:31:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:31:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:31:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:31:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:31:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:31:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:31:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:31:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:31:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:31:17] Production.INFO: ==11865== Releasing lock... [2025-03-19 22:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:31:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:31:18] Production.INFO: count ==1133 [2025-03-19 22:31:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:31:06 - End Time 2025-03-19 22:31:06 [2025-03-19 22:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718570', 'tblTempUsageDetail_20' ) start [2025-03-19 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718570', 'tblTempUsageDetail_20' ) end [2025-03-19 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718570', 'tblTempVendorCDR_20' ) start [2025-03-19 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718570', 'tblTempVendorCDR_20' ) end [2025-03-19 22:31:18] Production.INFO: ProcessCDR(1,14718570,1,1,2) [2025-03-19 22:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718570', 'tblTempUsageDetail_20' ) start [2025-03-19 22:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718570', 'tblTempUsageDetail_20' ) end [2025-03-19 22:31:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:31:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:31:22] Production.INFO: ==11876== Releasing lock... [2025-03-19 22:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:31:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 02:32:01] Production.INFO: ==11942== Lock acquired, processing the job... [2025-03-20 02:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:32:01] Production.INFO: neon service started [2025-03-20 02:32:01] Production.INFO: neon service started [2025-03-20 02:32:01] Production.INFO: ==11942== Releasing lock... [2025-03-20 02:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:32:01] Production.INFO: ==11946== Lock acquired, processing the job... [2025-03-20 02:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:32:01] Production.INFO: ==11946== Releasing lock... [2025-03-20 02:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:32:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:32:02] Production.INFO: ==11944== Lock acquired, processing the job... [2025-03-19 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:32:02] Production.INFO: ==11944== Releasing lock... [2025-03-19 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:32:03] Production.INFO: ==11951== Lock acquired, processing the job... [2025-03-19 22:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:32:03] Production.INFO: ==11949== Lock acquired, processing the job... [2025-03-19 22:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:32:03] Production.INFO: ==11959== Lock acquired, processing the job... [2025-03-19 22:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:32:03] Production.INFO: ==11953== Lock acquired, processing the job... [2025-03-19 22:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:32:03] Production.INFO: count ==12 [2025-03-19 22:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:32:03] Production.INFO: count ==23 [2025-03-19 22:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718573') start [2025-03-19 22:32:03] Production.INFO: ==11951== Releasing lock... [2025-03-19 22:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:32:03] Production.INFO: ==11955== Lock acquired, processing the job... [2025-03-19 22:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:32:03] Production.INFO: ==11957== Lock acquired, processing the job... [2025-03-19 22:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718573') end [2025-03-19 22:32:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:32:03] Production.INFO: 1 [2025-03-19 22:32:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:32:03] Production.INFO: ==11959== Releasing lock... [2025-03-19 22:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:32:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:32:03] Production.INFO: Account Balance Start. [2025-03-19 22:32:03] Production.INFO: CreateAllLog Start [2025-03-19 22:32:03] Production.INFO: 117 [2025-03-19 22:32:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:32:04] Production.ERROR: done [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:32:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.ERROR: done [2025-03-19 22:32:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:32:04] Production.INFO: Total Charge 0 [2025-03-19 22:32:04] Production.INFO: CreateAllLog End [2025-03-19 22:32:05] Production.INFO: Account Balance End. [2025-03-19 22:32:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:32:05] Production.INFO: ==11955== Releasing lock... [2025-03-19 22:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:32:05 [end_date_ymd] => 2025-03-19 22:32:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:32:05' and `end` < '2025-03-19 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-03-19 22:32:14] Production.ERROR: CronJobId end10 [2025-03-19 22:32:14] Production.INFO: ==11953== Releasing lock... [2025-03-19 22:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:32:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:32:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:32:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:32:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:32:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:32:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:32:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:32:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:32:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:32:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:32:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:32:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:32:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:32:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:32:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:32:15] Production.INFO: call_cost start [2025-03-19 22:32:15] Production.INFO: call_cost end [2025-03-19 22:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:32:16] Production.INFO: ==11949== Releasing lock... [2025-03-19 22:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:32:17] Production.INFO: count ==1132 [2025-03-19 22:32:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:32:05 - End Time 2025-03-19 22:32:05 [2025-03-19 22:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718575', 'tblTempUsageDetail_20' ) start [2025-03-19 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718575', 'tblTempUsageDetail_20' ) end [2025-03-19 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718575', 'tblTempVendorCDR_20' ) start [2025-03-19 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718575', 'tblTempVendorCDR_20' ) end [2025-03-19 22:32:18] Production.INFO: ProcessCDR(1,14718575,1,1,2) [2025-03-19 22:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718575', 'tblTempUsageDetail_20' ) start [2025-03-19 22:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718575', 'tblTempUsageDetail_20' ) end [2025-03-19 22:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:32:21] Production.INFO: ==11957== Releasing lock... [2025-03-19 22:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:32:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 02:33:01] Production.INFO: ==12033== Lock acquired, processing the job... [2025-03-20 02:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:33:01] Production.INFO: neon service started [2025-03-20 02:33:02] Production.INFO: neon service started [2025-03-20 02:33:02] Production.INFO: ==12033== Releasing lock... [2025-03-20 02:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:33:02] Production.INFO: ==12035== Lock acquired, processing the job... [2025-03-19 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:33:02] Production.INFO: ==12035== Releasing lock... [2025-03-19 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:33:02] Production.INFO: ==12037== Lock acquired, processing the job... [2025-03-20 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:33:02] Production.INFO: ==12037== Releasing lock... [2025-03-20 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:33:03] Production.INFO: ==12047== Lock acquired, processing the job... [2025-03-19 22:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:33:03] Production.ERROR: done [2025-03-19 22:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:33:03] Production.INFO: ==12039== Lock acquired, processing the job... [2025-03-19 22:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:33:04] Production.INFO: ==12041== Lock acquired, processing the job... [2025-03-19 22:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:33:04] Production.INFO: ==12045== Lock acquired, processing the job... [2025-03-19 22:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:33:04] Production.INFO: ==12043== Lock acquired, processing the job... [2025-03-19 22:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:33:04] Production.ERROR: done [2025-03-19 22:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:33:04] Production.INFO: Account Balance Start. [2025-03-19 22:33:04] Production.INFO: CreateAllLog Start [2025-03-19 22:33:04] Production.INFO: 117 [2025-03-19 22:33:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:33:04] Production.INFO: ==12049== Lock acquired, processing the job... [2025-03-19 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:33:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:33:04] Production.INFO: count ==12 [2025-03-19 22:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:33:04] Production.INFO: count ==23 [2025-03-19 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718580') start [2025-03-19 22:33:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718580') end [2025-03-19 22:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:33:04] Production.INFO: 1 [2025-03-19 22:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:33:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:04] Production.INFO: ==12041== Releasing lock... [2025-03-19 22:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:33:04] Production.INFO: ==12049== Releasing lock... [2025-03-19 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:33:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:33:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:33:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:33:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:33:05] Production.INFO: Total Charge 0 [2025-03-19 22:33:05] Production.INFO: CreateAllLog End [2025-03-19 22:33:05] Production.INFO: Account Balance End. [2025-03-19 22:33:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:33:05] Production.INFO: ==12045== Releasing lock... [2025-03-19 22:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:33:05 [end_date_ymd] => 2025-03-19 22:33:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:33:05' and `end` < '2025-03-19 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-03-19 22:33:15] Production.ERROR: CronJobId end10 [2025-03-19 22:33:15] Production.INFO: ==12043== Releasing lock... [2025-03-19 22:33:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:33:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:33:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:33:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:33:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:33:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:33:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:33:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:33:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:33:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:33:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:33:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:33:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:33:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:33:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:33:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:33:17] Production.INFO: call_cost start [2025-03-19 22:33:17] Production.INFO: call_cost end [2025-03-19 22:33:17] Production.INFO: count ==1122 [2025-03-19 22:33:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:33:05 - End Time 2025-03-19 22:33:05 [2025-03-19 22:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718579', 'tblTempUsageDetail_20' ) start [2025-03-19 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718579', 'tblTempUsageDetail_20' ) end [2025-03-19 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718579', 'tblTempVendorCDR_20' ) start [2025-03-19 22:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718579', 'tblTempVendorCDR_20' ) end [2025-03-19 22:33:18] Production.INFO: ProcessCDR(1,14718579,1,1,2) [2025-03-19 22:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:33:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:33:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:33:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:33:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:33:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:33:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:33:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:33:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:33:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:33:18] Production.INFO: ==12039== Releasing lock... [2025-03-19 22:33:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:33:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718579', 'tblTempUsageDetail_20' ) start [2025-03-19 22:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718579', 'tblTempUsageDetail_20' ) end [2025-03-19 22:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:33:21] Production.INFO: ==12047== Releasing lock... [2025-03-19 22:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:33:21] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:34:01] Production.INFO: ==12123== Lock acquired, processing the job... [2025-03-20 02:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:34:01] Production.INFO: neon service started [2025-03-20 02:34:01] Production.INFO: neon service started [2025-03-20 02:34:01] Production.INFO: ==12123== Releasing lock... [2025-03-20 02:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:34:02] Production.INFO: ==12125== Lock acquired, processing the job... [2025-03-19 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:34:02] Production.INFO: ==12127== Lock acquired, processing the job... [2025-03-20 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:34:02] Production.INFO: ==12127== Releasing lock... [2025-03-20 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:34:02] Production.INFO: ==12125== Releasing lock... [2025-03-19 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:34:03] Production.INFO: ==12140== Lock acquired, processing the job... [2025-03-19 22:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:34:03] Production.INFO: ==12142== Lock acquired, processing the job... [2025-03-19 22:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:34:03] Production.INFO: ==12132== Lock acquired, processing the job... [2025-03-19 22:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:34:03] Production.INFO: count ==12 [2025-03-19 22:34:03] Production.INFO: ==12134== Lock acquired, processing the job... [2025-03-19 22:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:34:03] Production.INFO: count ==23 [2025-03-19 22:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718581') start [2025-03-19 22:34:03] Production.INFO: ==12136== Lock acquired, processing the job... [2025-03-19 22:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:34:03] Production.INFO: ==12138== Lock acquired, processing the job... [2025-03-19 22:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:34:03] Production.ERROR: done [2025-03-19 22:34:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:34:03] Production.INFO: Account Balance Start. [2025-03-19 22:34:03] Production.INFO: CreateAllLog Start [2025-03-19 22:34:03] Production.INFO: 117 [2025-03-19 22:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718581') end [2025-03-19 22:34:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:34:03] Production.INFO: 1 [2025-03-19 22:34:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:34:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:34:04] Production.INFO: ==12142== Releasing lock... [2025-03-19 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:34:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.ERROR: done [2025-03-19 22:34:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.INFO: ==12134== Releasing lock... [2025-03-19 22:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:34:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:34:04] Production.INFO: Total Charge 0 [2025-03-19 22:34:04] Production.INFO: CreateAllLog End [2025-03-19 22:34:04] Production.INFO: Account Balance End. [2025-03-19 22:34:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:34:04] Production.INFO: ==12138== Releasing lock... [2025-03-19 22:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:34:05 [end_date_ymd] => 2025-03-19 22:34:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:34:05' and `end` < '2025-03-19 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-03-19 22:34:13] Production.ERROR: CronJobId end10 [2025-03-19 22:34:13] Production.INFO: ==12136== Releasing lock... [2025-03-19 22:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:34:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:34:15] Production.INFO: call_cost start [2025-03-19 22:34:15] Production.INFO: call_cost end [2025-03-19 22:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:34:16] Production.INFO: ==12132== Releasing lock... [2025-03-19 22:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:34:17] Production.INFO: count ==1125 [2025-03-19 22:34:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:34:05 - End Time 2025-03-19 22:34:05 [2025-03-19 22:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718585', 'tblTempUsageDetail_20' ) start [2025-03-19 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718585', 'tblTempUsageDetail_20' ) end [2025-03-19 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718585', 'tblTempVendorCDR_20' ) start [2025-03-19 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718585', 'tblTempVendorCDR_20' ) end [2025-03-19 22:34:18] Production.INFO: ProcessCDR(1,14718585,1,1,2) [2025-03-19 22:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718585', 'tblTempUsageDetail_20' ) start [2025-03-19 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718585', 'tblTempUsageDetail_20' ) end [2025-03-19 22:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:34:21] Production.INFO: ==12140== Releasing lock... [2025-03-19 22:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:34:21] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:35:01] Production.INFO: ==12211== Lock acquired, processing the job... [2025-03-20 02:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:35:01] Production.INFO: neon service started [2025-03-20 02:35:01] Production.INFO: neon service started [2025-03-20 02:35:01] Production.INFO: ==12211== Releasing lock... [2025-03-20 02:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:35:02] Production.INFO: ==12215== Lock acquired, processing the job... [2025-03-20 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:35:02] Production.INFO: ==12215== Releasing lock... [2025-03-20 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:35:02] Production.INFO: ==12213== Lock acquired, processing the job... [2025-03-19 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:35:02] Production.INFO: ==12213== Releasing lock... [2025-03-19 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:35:03] Production.INFO: ==12220== Lock acquired, processing the job... [2025-03-19 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:35:03] Production.INFO: ==12226== Lock acquired, processing the job... [2025-03-19 22:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:35:03] Production.INFO: ==12228== Lock acquired, processing the job... [2025-03-19 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:35:03] Production.INFO: ==12224== Lock acquired, processing the job... [2025-03-19 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:35:03] Production.INFO: ==12218== Lock acquired, processing the job... [2025-03-19 22:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:35:03] Production.INFO: ==12222== Lock acquired, processing the job... [2025-03-19 22:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 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-03-19 22:35:03] Production.INFO: count ==12 [2025-03-19 22:35:03] Production.INFO: Account Balance Start. [2025-03-19 22:35:03] Production.INFO: CreateAllLog Start [2025-03-19 22:35:03] Production.INFO: 117 [2025-03-19 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-03-19 22:35:03] Production.INFO: count ==23 [2025-03-19 22:35:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718587') start [2025-03-19 22:35:04] Production.INFO: ==12220== Releasing lock... [2025-03-19 22:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:35:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718587') end [2025-03-19 22:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:35:04] Production.INFO: 1 [2025-03-19 22:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:35:04] Production.ERROR: done [2025-03-19 22:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:35:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.INFO: ==12228== Releasing lock... [2025-03-19 22:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:35:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.ERROR: done [2025-03-19 22:35:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:35:04] Production.INFO: Total Charge 0 [2025-03-19 22:35:04] Production.INFO: CreateAllLog End [2025-03-19 22:35:04] Production.INFO: Account Balance End. [2025-03-19 22:35:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:35:04] Production.INFO: ==12224== Releasing lock... [2025-03-19 22:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:35:05 [end_date_ymd] => 2025-03-19 22:35:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:35:05' and `end` < '2025-03-19 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-03-19 22:35:13] Production.ERROR: CronJobId end10 [2025-03-19 22:35:13] Production.INFO: ==12222== Releasing lock... [2025-03-19 22:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:35:15] Production.INFO: call_cost start [2025-03-19 22:35:15] Production.INFO: call_cost end [2025-03-19 22:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:35:16] Production.INFO: ==12218== Releasing lock... [2025-03-19 22:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:35:17] Production.INFO: count ==1127 [2025-03-19 22:35:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:35:05 - End Time 2025-03-19 22:35:05 [2025-03-19 22:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718590', 'tblTempUsageDetail_20' ) start [2025-03-19 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718590', 'tblTempUsageDetail_20' ) end [2025-03-19 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718590', 'tblTempVendorCDR_20' ) start [2025-03-19 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718590', 'tblTempVendorCDR_20' ) end [2025-03-19 22:35:18] Production.INFO: ProcessCDR(1,14718590,1,1,2) [2025-03-19 22:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718590', 'tblTempUsageDetail_20' ) start [2025-03-19 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718590', 'tblTempUsageDetail_20' ) end [2025-03-19 22:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:35:21] Production.INFO: ==12226== Releasing lock... [2025-03-19 22:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:35:21] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:36:02] Production.INFO: ==12297== Lock acquired, processing the job... [2025-03-20 02:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:36:02] Production.INFO: neon service started [2025-03-20 02:36:02] Production.INFO: neon service started [2025-03-20 02:36:02] Production.INFO: ==12297== Releasing lock... [2025-03-20 02:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:36:03] Production.INFO: ==12299== Lock acquired, processing the job... [2025-03-19 22:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:36:03] Production.INFO: ==12301== Lock acquired, processing the job... [2025-03-20 02:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:36:03] Production.INFO: ==12301== Releasing lock... [2025-03-20 02:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:36:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:36:03] Production.INFO: ==12299== Releasing lock... [2025-03-19 22:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:36:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:36:04] Production.INFO: ==12304== Lock acquired, processing the job... [2025-03-19 22:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:36:04] Production.INFO: ==12310== Lock acquired, processing the job... [2025-03-19 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:36:04] Production.INFO: ==12306== Lock acquired, processing the job... [2025-03-19 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:36:04] Production.INFO: Account Balance Start. [2025-03-19 22:36:04] Production.INFO: CreateAllLog Start [2025-03-19 22:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:36:04] Production.INFO: 117 [2025-03-19 22:36:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:36:04] Production.INFO: ==12308== Lock acquired, processing the job... [2025-03-19 22:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:36:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:36:04] Production.INFO: ==12306== Releasing lock... [2025-03-19 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:36:04] Production.INFO: ==12312== Lock acquired, processing the job... [2025-03-19 22:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:36:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:36:04] Production.INFO: ==12314== Lock acquired, processing the job... [2025-03-19 22:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:36:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:36:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:36:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:36:04] Production.INFO: count ==12 [2025-03-19 22:36:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:36: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-03-19 22:36:05] Production.INFO: count ==23 [2025-03-19 22:36:05] Production.INFO: Date 2025-03-15 [2025-03-19 22:36:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:36:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718594') start [2025-03-19 22:36:05] Production.INFO: Date 2025-03-16 [2025-03-19 22:36:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:36:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718594') end [2025-03-19 22:36:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:36:05] Production.INFO: 1 [2025-03-19 22:36:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:36:05] Production.INFO: Date 2025-03-17 [2025-03-19 22:36:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:36:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:36:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:36:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:36:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:36:05] Production.INFO: Total Charge 0 [2025-03-19 22:36:05] Production.INFO: CreateAllLog End [2025-03-19 22:36:05] Production.INFO: ==12314== Releasing lock... [2025-03-19 22:36:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:36:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:36:05] Production.ERROR: done [2025-03-19 22:36:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:36:05] Production.ERROR: done [2025-03-19 22:36:05] Production.INFO: Account Balance End. [2025-03-19 22:36:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:36:05] Production.INFO: ==12310== Releasing lock... [2025-03-19 22:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:36:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:36:06 [end_date_ymd] => 2025-03-19 22:36:06 [RateCDR] => 1 ) [2025-03-19 22:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:36:06' and `end` < '2025-03-19 22:36:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:36:13] Production.ERROR: CronJobId end10 [2025-03-19 22:36:13] Production.INFO: ==12308== Releasing lock... [2025-03-19 22:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:36:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:36:15] Production.INFO: call_cost start [2025-03-19 22:36:15] Production.INFO: call_cost end [2025-03-19 22:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:36:16] Production.INFO: ==12304== Releasing lock... [2025-03-19 22:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:36:18] Production.INFO: count ==1125 [2025-03-19 22:36:19] Production.ERROR: pbx CDR StartTime 2025-03-19 19:36:06 - End Time 2025-03-19 22:36:06 [2025-03-19 22:36:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718595', 'tblTempUsageDetail_20' ) start [2025-03-19 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718595', 'tblTempUsageDetail_20' ) end [2025-03-19 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718595', 'tblTempVendorCDR_20' ) start [2025-03-19 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718595', 'tblTempVendorCDR_20' ) end [2025-03-19 22:36:19] Production.INFO: ProcessCDR(1,14718595,1,1,2) [2025-03-19 22:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718595', 'tblTempUsageDetail_20' ) start [2025-03-19 22:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718595', 'tblTempUsageDetail_20' ) end [2025-03-19 22:36:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:36:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:36:22] Production.INFO: ==12312== Releasing lock... [2025-03-19 22:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:36:22] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:37:01] Production.INFO: ==12385== Lock acquired, processing the job... [2025-03-20 02:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:37:01] Production.INFO: neon service started [2025-03-20 02:37:01] Production.INFO: neon service started [2025-03-20 02:37:01] Production.INFO: ==12385== Releasing lock... [2025-03-20 02:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:37:02] Production.INFO: ==12388== Lock acquired, processing the job... [2025-03-19 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:37:02] Production.INFO: ==12388== Releasing lock... [2025-03-19 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:37:02] Production.INFO: ==12390== Lock acquired, processing the job... [2025-03-20 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:37:02] Production.INFO: ==12390== Releasing lock... [2025-03-20 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:37:03] Production.INFO: ==12400== Lock acquired, processing the job... [2025-03-19 22:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:37:03] Production.INFO: ==12392== Lock acquired, processing the job... [2025-03-19 22:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:37:03] Production.INFO: ==12402== Lock acquired, processing the job... [2025-03-19 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:37:03] Production.INFO: ==12394== Lock acquired, processing the job... [2025-03-19 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:37:03] Production.INFO: ==12396== Lock acquired, processing the job... [2025-03-19 22:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 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-03-19 22:37:03] Production.INFO: ==12398== Lock acquired, processing the job... [2025-03-19 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:37:03] Production.INFO: count ==12 [2025-03-19 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-03-19 22:37:03] Production.INFO: count ==23 [2025-03-19 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718596') start [2025-03-19 22:37:03] Production.ERROR: done [2025-03-19 22:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:37:03] Production.INFO: Account Balance Start. [2025-03-19 22:37:03] Production.INFO: CreateAllLog Start [2025-03-19 22:37:03] Production.INFO: 117 [2025-03-19 22:37:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:37:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:37:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718596') end [2025-03-19 22:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:37:03] Production.INFO: 1 [2025-03-19 22:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:37:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:37:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:37:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:37:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:04] Production.INFO: ==12402== Releasing lock... [2025-03-19 22:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:37:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:04] Production.ERROR: done [2025-03-19 22:37:04] Production.INFO: ==12394== Releasing lock... [2025-03-19 22:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:37:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:37:04] Production.INFO: Total Charge 0 [2025-03-19 22:37:04] Production.INFO: CreateAllLog End [2025-03-19 22:37:04] Production.INFO: Account Balance End. [2025-03-19 22:37:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:37:04] Production.INFO: ==12398== Releasing lock... [2025-03-19 22:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:37:05 [end_date_ymd] => 2025-03-19 22:37:05 [RateCDR] => 1 ) [2025-03-19 22:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:37:05' and `end` < '2025-03-19 22:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:37:13] Production.ERROR: CronJobId end10 [2025-03-19 22:37:13] Production.INFO: ==12396== Releasing lock... [2025-03-19 22:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:37:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:37:15] Production.INFO: call_cost start [2025-03-19 22:37:15] Production.INFO: call_cost end [2025-03-19 22:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:37:16] Production.INFO: ==12392== Releasing lock... [2025-03-19 22:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:37:17] Production.INFO: count ==1108 [2025-03-19 22:37:17] Production.ERROR: pbx CDR StartTime 2025-03-19 19:37:05 - End Time 2025-03-19 22:37:05 [2025-03-19 22:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718600', 'tblTempUsageDetail_20' ) start [2025-03-19 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718600', 'tblTempUsageDetail_20' ) end [2025-03-19 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718600', 'tblTempVendorCDR_20' ) start [2025-03-19 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718600', 'tblTempVendorCDR_20' ) end [2025-03-19 22:37:17] Production.INFO: ProcessCDR(1,14718600,1,1,2) [2025-03-19 22:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718600', 'tblTempUsageDetail_20' ) start [2025-03-19 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718600', 'tblTempUsageDetail_20' ) end [2025-03-19 22:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:37:21] Production.INFO: ==12400== Releasing lock... [2025-03-19 22:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:37:21] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:38:02] Production.INFO: ==12509== Lock acquired, processing the job... [2025-03-20 02:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:38:02] Production.INFO: neon service started [2025-03-20 02:38:02] Production.INFO: neon service started [2025-03-20 02:38:02] Production.INFO: ==12509== Releasing lock... [2025-03-20 02:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:38:02] Production.INFO: ==12511== Lock acquired, processing the job... [2025-03-19 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:38:03] Production.INFO: ==12513== Lock acquired, processing the job... [2025-03-20 02:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:38:03] Production.INFO: ==12513== Releasing lock... [2025-03-20 02:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:38:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:38:03] Production.INFO: ==12511== Releasing lock... [2025-03-19 22:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:38:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:38:04] Production.INFO: ==12516== Lock acquired, processing the job... [2025-03-19 22:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:38:04] Production.INFO: ==12518== Lock acquired, processing the job... [2025-03-19 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:38:04] Production.INFO: ==12522== Lock acquired, processing the job... [2025-03-19 22:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:38:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:38:04] Production.INFO: Account Balance Start. [2025-03-19 22:38:04] Production.INFO: CreateAllLog Start [2025-03-19 22:38:04] Production.INFO: 117 [2025-03-19 22:38:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:38:04] Production.INFO: ==12520== Lock acquired, processing the job... [2025-03-19 22:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:38:04] Production.INFO: ==12524== Lock acquired, processing the job... [2025-03-19 22:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:38:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:38:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:38:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:38:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:38:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:38:04] Production.INFO: ==12526== Lock acquired, processing the job... [2025-03-19 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:38:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:38:04] Production.INFO: ==12518== Releasing lock... [2025-03-19 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:38:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:38:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:38:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:38:04] Production.INFO: count ==12 [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:38:04] Production.INFO: count ==23 [2025-03-19 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718604') start [2025-03-19 22:38:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:38:04] Production.ERROR: done [2025-03-19 22:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:38:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:38:04] Production.INFO: Total Charge 0 [2025-03-19 22:38:05] Production.INFO: CreateAllLog End [2025-03-19 22:38:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718604') end [2025-03-19 22:38:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:38:05] Production.INFO: 1 [2025-03-19 22:38:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:38:05] Production.INFO: ==12526== Releasing lock... [2025-03-19 22:38:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:38:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:38:05] Production.ERROR: done [2025-03-19 22:38:05] Production.INFO: Account Balance End. [2025-03-19 22:38:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:38:05] Production.INFO: ==12522== Releasing lock... [2025-03-19 22:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:38:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:38:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:38:06 [end_date_ymd] => 2025-03-19 22:38:06 [RateCDR] => 1 ) [2025-03-19 22:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:38:06' and `end` < '2025-03-19 22:38:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:38:15] Production.ERROR: CronJobId end10 [2025-03-19 22:38:15] Production.INFO: ==12520== Releasing lock... [2025-03-19 22:38:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:38:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:38:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:38:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:38:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:38:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:38:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:38:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:38:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:38:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:38:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:38:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:38:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:38:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:38:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:38:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:38:16] Production.INFO: call_cost start [2025-03-19 22:38:16] Production.INFO: call_cost end [2025-03-19 22:38:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:38:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:38:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:38:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:38:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:38:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:38:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:38:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:38:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:38:17] Production.INFO: ==12516== Releasing lock... [2025-03-19 22:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:38:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:38:18] Production.INFO: count ==1111 [2025-03-19 22:38:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:38:06 - End Time 2025-03-19 22:38:06 [2025-03-19 22:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718605', 'tblTempUsageDetail_20' ) start [2025-03-19 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718605', 'tblTempUsageDetail_20' ) end [2025-03-19 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718605', 'tblTempVendorCDR_20' ) start [2025-03-19 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718605', 'tblTempVendorCDR_20' ) end [2025-03-19 22:38:18] Production.INFO: ProcessCDR(1,14718605,1,1,2) [2025-03-19 22:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718605', 'tblTempUsageDetail_20' ) start [2025-03-19 22:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718605', 'tblTempUsageDetail_20' ) end [2025-03-19 22:38:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:38:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:38:23] Production.INFO: ==12524== Releasing lock... [2025-03-19 22:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:38:23] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:39:01] Production.INFO: ==12599== Lock acquired, processing the job... [2025-03-20 02:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:39:01] Production.INFO: neon service started [2025-03-20 02:39:01] Production.INFO: neon service started [2025-03-20 02:39:01] Production.INFO: ==12599== Releasing lock... [2025-03-20 02:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:39:02] Production.INFO: ==12601== Lock acquired, processing the job... [2025-03-19 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:39:02] Production.INFO: ==12601== Releasing lock... [2025-03-19 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:39:02] Production.INFO: ==12603== Lock acquired, processing the job... [2025-03-20 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:39:02] Production.INFO: ==12603== Releasing lock... [2025-03-20 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:39:03] Production.INFO: ==12605== Lock acquired, processing the job... [2025-03-19 22:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:39:03] Production.INFO: ==12607== Lock acquired, processing the job... [2025-03-19 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:39:03] Production.INFO: ==12609== Lock acquired, processing the job... [2025-03-19 22:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:39:03] Production.INFO: ==12611== Lock acquired, processing the job... [2025-03-19 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:39:03] Production.INFO: ==12613== Lock acquired, processing the job... [2025-03-19 22:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:39:03] Production.INFO: Account Balance Start. [2025-03-19 22:39:03] Production.INFO: CreateAllLog Start [2025-03-19 22:39:03] Production.INFO: 117 [2025-03-19 22:39:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:39:03] Production.INFO: ==12616== Lock acquired, processing the job... [2025-03-19 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:39:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:39:03] Production.INFO: ==12607== Releasing lock... [2025-03-19 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:39:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:39:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:39:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:39:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 22: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-03-19 22:39:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:39:04] Production.INFO: count ==12 [2025-03-19 22: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-03-19 22:39:04] Production.INFO: count ==23 [2025-03-19 22:39:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:39:04] Production.ERROR: done [2025-03-19 22:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718609') start [2025-03-19 22:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718609') end [2025-03-19 22:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:39:04] Production.INFO: 1 [2025-03-19 22:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:39:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:39:04] Production.INFO: ==12616== Releasing lock... [2025-03-19 22:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:39:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:39:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:39:04] Production.ERROR: done [2025-03-19 22:39:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:39:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:39:04] Production.INFO: Total Charge 0 [2025-03-19 22:39:04] Production.INFO: CreateAllLog End [2025-03-19 22:39:04] Production.INFO: Account Balance End. [2025-03-19 22:39:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:39:04] Production.INFO: ==12611== Releasing lock... [2025-03-19 22:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:39:05 [end_date_ymd] => 2025-03-19 22:39:05 [RateCDR] => 1 ) [2025-03-19 22:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:39:05' and `end` < '2025-03-19 22:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:39:12] Production.ERROR: CronJobId end10 [2025-03-19 22:39:12] Production.INFO: ==12609== Releasing lock... [2025-03-19 22:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:39:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:39:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:39:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:39:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:39:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:39:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:39:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:39:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:39:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:39:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:39:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:39:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:39:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:39:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:39:15] Production.INFO: call_cost start [2025-03-19 22:39:15] Production.INFO: call_cost end [2025-03-19 22:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:39:16] Production.INFO: ==12605== Releasing lock... [2025-03-19 22:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:39:18] Production.INFO: count ==1109 [2025-03-19 22:39:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:39:05 - End Time 2025-03-19 22:39:05 [2025-03-19 22:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718610', 'tblTempUsageDetail_20' ) start [2025-03-19 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718610', 'tblTempUsageDetail_20' ) end [2025-03-19 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718610', 'tblTempVendorCDR_20' ) start [2025-03-19 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718610', 'tblTempVendorCDR_20' ) end [2025-03-19 22:39:18] Production.INFO: ProcessCDR(1,14718610,1,1,2) [2025-03-19 22:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718610', 'tblTempUsageDetail_20' ) start [2025-03-19 22:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718610', 'tblTempUsageDetail_20' ) end [2025-03-19 22:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:39:21] Production.INFO: ==12613== Releasing lock... [2025-03-19 22:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:39:21] Production.INFO: 37 MB #Memory Used# [2025-03-20 02:40:02] Production.INFO: ==12684== Lock acquired, processing the job... [2025-03-20 02:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:40:02] Production.INFO: neon service started [2025-03-20 02:40:02] Production.INFO: neon service started [2025-03-20 02:40:02] Production.INFO: ==12684== Releasing lock... [2025-03-20 02:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:40:02] Production.INFO: ==12688== Lock acquired, processing the job... [2025-03-20 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:40:02] Production.INFO: ==12688== Releasing lock... [2025-03-20 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:40:02] Production.INFO: ==12686== Lock acquired, processing the job... [2025-03-19 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:40:03] Production.INFO: ==12686== Releasing lock... [2025-03-19 22:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:40:04] Production.INFO: ==12691== Lock acquired, processing the job... [2025-03-19 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 22:40:04] Production.INFO: ==12695== Lock acquired, processing the job... [2025-03-19 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 22:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 22:40:04] Production.INFO: ==12691== Releasing lock... [2025-03-19 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 22:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 22:40:04] Production.INFO: ==12700== Lock acquired, processing the job... [2025-03-19 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:40:04] Production.INFO: ==12706== Lock acquired, processing the job... [2025-03-19 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:40:04] Production.INFO: ==12693== Lock acquired, processing the job... [2025-03-19 22:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:40:04] Production.INFO: Account Balance Start. [2025-03-19 22:40:04] Production.INFO: CreateAllLog Start [2025-03-19 22:40:04] Production.INFO: 117 [2025-03-19 22:40:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:40:04] Production.INFO: ==12695== Releasing lock... [2025-03-19 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:40:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:04] Production.INFO: ==12698== Lock acquired, processing the job... [2025-03-19 22:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:40:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:40:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:04] Production.INFO: count ==23 [2025-03-19 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718613') start [2025-03-19 22:40:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:40:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:04] Production.INFO: ==12702== Lock acquired, processing the job... [2025-03-19 22:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:40:04] Production.INFO: ==12704== Lock acquired, processing the job... [2025-03-19 22:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718613') end [2025-03-19 22:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:40:04] Production.INFO: 1 [2025-03-19 22:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:40:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:40:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:04] Production.INFO: ==12706== Releasing lock... [2025-03-19 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:40:05] Production.INFO: Date 2025-03-16 [2025-03-19 22:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:05] Production.INFO: Date 2025-03-17 [2025-03-19 22:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:05] Production.ERROR: done [2025-03-19 22:40:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:40:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:40:05] Production.ERROR: done [2025-03-19 22:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:40:05] Production.INFO: Total Charge 0 [2025-03-19 22:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 22:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718615', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 22:40:05] Production.INFO: CreateAllLog End [2025-03-19 22:40:05] Production.ERROR: done [2025-03-19 22:40:05] Production.INFO: Account Balance End. [2025-03-19 22:40:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:40:05] Production.INFO: ==12700== Releasing lock... [2025-03-19 22:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:40:06 [end_date_ymd] => 2025-03-19 22:40:06 [RateCDR] => 1 ) [2025-03-19 22:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:40:06' and `end` < '2025-03-19 22:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718615', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 22:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 22:40:09] Production.INFO: ProcessCDR(1,14718615,1,1,2) [2025-03-19 22:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718615,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718615,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:40:09] Production.INFO: ==12704== Releasing lock... [2025-03-19 22:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 22:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 22:40:15] Production.ERROR: CronJobId end10 [2025-03-19 22:40:15] Production.INFO: ==12698== Releasing lock... [2025-03-19 22:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:40:17] Production.INFO: call_cost start [2025-03-19 22:40:17] Production.INFO: call_cost end [2025-03-19 22:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:40:17] Production.INFO: ==12693== Releasing lock... [2025-03-19 22:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:40:18] Production.INFO: count ==1102 [2025-03-19 22:40:19] Production.ERROR: pbx CDR StartTime 2025-03-19 19:40:06 - End Time 2025-03-19 22:40:06 [2025-03-19 22:40:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718616', 'tblTempUsageDetail_20' ) start [2025-03-19 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718616', 'tblTempUsageDetail_20' ) end [2025-03-19 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718616', 'tblTempVendorCDR_20' ) start [2025-03-19 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718616', 'tblTempVendorCDR_20' ) end [2025-03-19 22:40:19] Production.INFO: ProcessCDR(1,14718616,1,1,2) [2025-03-19 22:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718616', 'tblTempUsageDetail_20' ) start [2025-03-19 22:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718616', 'tblTempUsageDetail_20' ) end [2025-03-19 22:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:40:22] Production.INFO: ==12702== Releasing lock... [2025-03-19 22:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:40:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 02:41:01] Production.INFO: ==12775== Lock acquired, processing the job... [2025-03-20 02:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:41:01] Production.INFO: neon service started [2025-03-20 02:41:01] Production.INFO: neon service started [2025-03-20 02:41:01] Production.INFO: ==12775== Releasing lock... [2025-03-20 02:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:41:02] Production.INFO: ==12777== Lock acquired, processing the job... [2025-03-19 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:41:02] Production.INFO: ==12777== Releasing lock... [2025-03-19 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:41:02] Production.INFO: ==12779== Lock acquired, processing the job... [2025-03-20 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:41:02] Production.INFO: ==12779== Releasing lock... [2025-03-20 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:41:03] Production.INFO: ==12781== Lock acquired, processing the job... [2025-03-19 22:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:41:03] Production.INFO: ==12785== Lock acquired, processing the job... [2025-03-19 22:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:41:03] Production.INFO: ==12789== Lock acquired, processing the job... [2025-03-19 22:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:41:03] Production.INFO: ==12787== Lock acquired, processing the job... [2025-03-19 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:41:03] Production.INFO: ==12783== Lock acquired, processing the job... [2025-03-19 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:41:03] Production.INFO: ==12791== Lock acquired, processing the job... [2025-03-19 22:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:41:03] Production.INFO: Account Balance Start. [2025-03-19 22:41:03] Production.INFO: CreateAllLog Start [2025-03-19 22:41:03] Production.INFO: 117 [2025-03-19 22:41:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:41:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:41:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:41:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:41:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:41:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:41:03] Production.ERROR: done [2025-03-19 22:41:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:41:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:41:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:41:03] Production.INFO: count ==12 [2025-03-19 22:41:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:41:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:41:04] Production.INFO: count ==23 [2025-03-19 22:41:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:41:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718619') start [2025-03-19 22:41:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:41:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:41:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:41:04] Production.ERROR: done [2025-03-19 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718619') end [2025-03-19 22:41:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:41:04] Production.INFO: 1 [2025-03-19 22:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:41:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:41:04] Production.INFO: ==12783== Releasing lock... [2025-03-19 22:41:04] Production.INFO: ==12791== Releasing lock... [2025-03-19 22:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:41:04] Production.INFO: Total Charge 0 [2025-03-19 22:41:04] Production.INFO: CreateAllLog End [2025-03-19 22:41:04] Production.INFO: Account Balance End. [2025-03-19 22:41:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:41:04] Production.INFO: ==12787== Releasing lock... [2025-03-19 22:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:41:05 [end_date_ymd] => 2025-03-19 22:41:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:41:05' and `end` < '2025-03-19 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-03-19 22:41:12] Production.ERROR: CronJobId end10 [2025-03-19 22:41:12] Production.INFO: ==12785== Releasing lock... [2025-03-19 22:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:41:14] Production.INFO: call_cost start [2025-03-19 22:41:14] Production.INFO: call_cost end [2025-03-19 22:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:41:15] Production.INFO: ==12781== Releasing lock... [2025-03-19 22:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:41:17] Production.INFO: count ==1060 [2025-03-19 22:41:17] Production.ERROR: pbx CDR StartTime 2025-03-19 19:41:05 - End Time 2025-03-19 22:41:05 [2025-03-19 22:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718621', 'tblTempUsageDetail_20' ) start [2025-03-19 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718621', 'tblTempUsageDetail_20' ) end [2025-03-19 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718621', 'tblTempVendorCDR_20' ) start [2025-03-19 22:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718621', 'tblTempVendorCDR_20' ) end [2025-03-19 22:41:17] Production.INFO: ProcessCDR(1,14718621,1,1,2) [2025-03-19 22:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718621', 'tblTempUsageDetail_20' ) start [2025-03-19 22:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718621', 'tblTempUsageDetail_20' ) end [2025-03-19 22:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:41:21] Production.INFO: ==12789== Releasing lock... [2025-03-19 22:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:41:21] Production.INFO: 36.25 MB #Memory Used# [2025-03-20 02:42:02] Production.INFO: ==12857== Lock acquired, processing the job... [2025-03-20 02:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:42:02] Production.INFO: neon service started [2025-03-20 02:42:02] Production.INFO: neon service started [2025-03-20 02:42:02] Production.INFO: ==12857== Releasing lock... [2025-03-20 02:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:42:02] Production.INFO: ==12863== Lock acquired, processing the job... [2025-03-20 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:42:02] Production.INFO: ==12863== Releasing lock... [2025-03-20 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:42:02] Production.INFO: ==12861== Lock acquired, processing the job... [2025-03-19 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:42:03] Production.INFO: ==12861== Releasing lock... [2025-03-19 22:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:42:03] Production.INFO: ==12870== Lock acquired, processing the job... [2025-03-19 22:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:42:04] Production.INFO: ==12866== Lock acquired, processing the job... [2025-03-19 22:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:42:04] Production.INFO: ==12868== Lock acquired, processing the job... [2025-03-19 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:42:04] Production.INFO: ==12872== Lock acquired, processing the job... [2025-03-19 22:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:42:04] Production.INFO: ==12876== Lock acquired, processing the job... [2025-03-19 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:42:04] Production.INFO: Account Balance Start. [2025-03-19 22:42:04] Production.INFO: CreateAllLog Start [2025-03-19 22:42:04] Production.INFO: 117 [2025-03-19 22:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:42:04] Production.INFO: count ==12 [2025-03-19 22:42:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:42:04] Production.INFO: ==12874== Lock acquired, processing the job... [2025-03-19 22:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:04] Production.INFO: count ==23 [2025-03-19 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718625') start [2025-03-19 22:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718625') end [2025-03-19 22:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:42:04] Production.INFO: 1 [2025-03-19 22:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:42:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:04] Production.INFO: ==12876== Releasing lock... [2025-03-19 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:42:04] Production.INFO: ==12868== Releasing lock... [2025-03-19 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:42:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:04] Production.ERROR: done [2025-03-19 22:42:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:42:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:42:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:42:05] Production.ERROR: done [2025-03-19 22:42:05] Production.INFO: Total Charge 0 [2025-03-19 22:42:05] Production.INFO: CreateAllLog End [2025-03-19 22:42:05] Production.INFO: Account Balance End. [2025-03-19 22:42:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:42:05] Production.INFO: ==12872== Releasing lock... [2025-03-19 22:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:42:06 [end_date_ymd] => 2025-03-19 22:42:06 [RateCDR] => 1 ) [2025-03-19 22:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:42:06' and `end` < '2025-03-19 22:42:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:42:13] Production.ERROR: CronJobId end10 [2025-03-19 22:42:13] Production.INFO: ==12870== Releasing lock... [2025-03-19 22:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:42:15] Production.INFO: call_cost start [2025-03-19 22:42:15] Production.INFO: call_cost end [2025-03-19 22:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:42:16] Production.INFO: ==12866== Releasing lock... [2025-03-19 22:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:42:18] Production.INFO: count ==1054 [2025-03-19 22:42:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:42:06 - End Time 2025-03-19 22:42:06 [2025-03-19 22:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718626', 'tblTempUsageDetail_20' ) start [2025-03-19 22:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718626', 'tblTempUsageDetail_20' ) end [2025-03-19 22:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718626', 'tblTempVendorCDR_20' ) start [2025-03-19 22:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718626', 'tblTempVendorCDR_20' ) end [2025-03-19 22:42:18] Production.INFO: ProcessCDR(1,14718626,1,1,2) [2025-03-19 22:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718626', 'tblTempUsageDetail_20' ) start [2025-03-19 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718626', 'tblTempUsageDetail_20' ) end [2025-03-19 22:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:42:22] Production.INFO: ==12874== Releasing lock... [2025-03-19 22:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:42:22] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 02:43:01] Production.INFO: ==12944== Lock acquired, processing the job... [2025-03-20 02:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:43:01] Production.INFO: neon service started [2025-03-20 02:43:01] Production.INFO: neon service started [2025-03-20 02:43:01] Production.INFO: ==12944== Releasing lock... [2025-03-20 02:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:43:02] Production.INFO: ==12948== Lock acquired, processing the job... [2025-03-20 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:43:02] Production.INFO: ==12948== Releasing lock... [2025-03-20 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:43:02] Production.INFO: ==12946== Lock acquired, processing the job... [2025-03-19 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:43:02] Production.INFO: ==12946== Releasing lock... [2025-03-19 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:43:03] Production.INFO: ==12951== Lock acquired, processing the job... [2025-03-19 22:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:43:03] Production.INFO: ==12953== Lock acquired, processing the job... [2025-03-19 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:43:03] Production.INFO: ==12955== Lock acquired, processing the job... [2025-03-19 22:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:43:03] Production.INFO: ==12957== Lock acquired, processing the job... [2025-03-19 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:43:03] Production.INFO: ==12953== Releasing lock... [2025-03-19 22:43:03] Production.INFO: Account Balance Start. [2025-03-19 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:43:03] Production.INFO: CreateAllLog Start [2025-03-19 22:43:03] Production.INFO: 117 [2025-03-19 22:43:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:43:03] Production.INFO: ==12959== Lock acquired, processing the job... [2025-03-19 22:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:03] Production.INFO: ==12961== Lock acquired, processing the job... [2025-03-19 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:43:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:43:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:43:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:03] Production.INFO: count ==12 [2025-03-19 22:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:43:03] Production.INFO: count ==23 [2025-03-19 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718630') start [2025-03-19 22:43:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:04] Production.ERROR: done [2025-03-19 22:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:43:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718630') end [2025-03-19 22:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:43:04] Production.INFO: 1 [2025-03-19 22:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:43:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:43:04] Production.INFO: Total Charge 0 [2025-03-19 22:43:04] Production.INFO: CreateAllLog End [2025-03-19 22:43:04] Production.INFO: ==12961== Releasing lock... [2025-03-19 22:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:43:04] Production.ERROR: done [2025-03-19 22:43:04] Production.INFO: Account Balance End. [2025-03-19 22:43:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:43:04] Production.INFO: ==12957== Releasing lock... [2025-03-19 22:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:43:05 [end_date_ymd] => 2025-03-19 22:43:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:43:05' and `end` < '2025-03-19 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-03-19 22:43:13] Production.ERROR: CronJobId end10 [2025-03-19 22:43:13] Production.INFO: ==12955== Releasing lock... [2025-03-19 22:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:43:14] Production.INFO: call_cost start [2025-03-19 22:43:14] Production.INFO: call_cost end [2025-03-19 22:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:43:15] Production.INFO: ==12951== Releasing lock... [2025-03-19 22:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:43:17] Production.INFO: count ==1056 [2025-03-19 22:43:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:43:05 - End Time 2025-03-19 22:43:05 [2025-03-19 22:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718631', 'tblTempUsageDetail_20' ) start [2025-03-19 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718631', 'tblTempUsageDetail_20' ) end [2025-03-19 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718631', 'tblTempVendorCDR_20' ) start [2025-03-19 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718631', 'tblTempVendorCDR_20' ) end [2025-03-19 22:43:18] Production.INFO: ProcessCDR(1,14718631,1,1,2) [2025-03-19 22:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718631', 'tblTempUsageDetail_20' ) start [2025-03-19 22:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718631', 'tblTempUsageDetail_20' ) end [2025-03-19 22:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:43:21] Production.INFO: ==12959== Releasing lock... [2025-03-19 22:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:43:21] Production.INFO: 36 MB #Memory Used# [2025-03-20 02:44:02] Production.INFO: ==13027== Lock acquired, processing the job... [2025-03-20 02:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:44:02] Production.INFO: neon service started [2025-03-20 02:44:02] Production.INFO: neon service started [2025-03-20 02:44:02] Production.INFO: ==13027== Releasing lock... [2025-03-20 02:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:44:02] Production.INFO: ==13029== Lock acquired, processing the job... [2025-03-19 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:44:02] Production.INFO: ==13031== Lock acquired, processing the job... [2025-03-20 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:44:02] Production.INFO: ==13031== Releasing lock... [2025-03-20 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:44:03] Production.INFO: ==13029== Releasing lock... [2025-03-19 22:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:44:03] Production.INFO: ==13036== Lock acquired, processing the job... [2025-03-19 22:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:44:04] Production.INFO: ==13044== Lock acquired, processing the job... [2025-03-19 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:44:04] Production.INFO: ==13036== Releasing lock... [2025-03-19 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:44:04] Production.INFO: ==13038== Lock acquired, processing the job... [2025-03-19 22:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:44:04] Production.INFO: ==13034== Lock acquired, processing the job... [2025-03-19 22:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:44:04] Production.INFO: count ==12 [2025-03-19 22:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:44:04] Production.INFO: count ==23 [2025-03-19 22:44:04] Production.INFO: ==13040== Lock acquired, processing the job... [2025-03-19 22:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:44:04] Production.INFO: ==13042== Lock acquired, processing the job... [2025-03-19 22:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718633') start [2025-03-19 22:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:44:04] Production.INFO: Account Balance Start. [2025-03-19 22:44:04] Production.INFO: CreateAllLog Start [2025-03-19 22:44:04] Production.INFO: 117 [2025-03-19 22:44:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718633') end [2025-03-19 22:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:44:04] Production.INFO: 1 [2025-03-19 22:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:44:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.INFO: ==13044== Releasing lock... [2025-03-19 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:44:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:44:04] Production.INFO: Total Charge 0 [2025-03-19 22:44:04] Production.INFO: CreateAllLog End [2025-03-19 22:44:04] Production.ERROR: done [2025-03-19 22:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:44:05] Production.ERROR: done [2025-03-19 22:44:05] Production.INFO: Account Balance End. [2025-03-19 22:44:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:44:05] Production.INFO: ==13040== Releasing lock... [2025-03-19 22:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:44:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:44:05 [end_date_ymd] => 2025-03-19 22:44:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:44:05' and `end` < '2025-03-19 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-03-19 22:44:13] Production.ERROR: CronJobId end10 [2025-03-19 22:44:13] Production.INFO: ==13038== Releasing lock... [2025-03-19 22:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:44:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:44:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:44:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:44:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:44:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:44:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:44:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:44:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:44:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:44:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:44:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:44:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:44:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:44:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:44:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:44:15] Production.INFO: call_cost start [2025-03-19 22:44:15] Production.INFO: call_cost end [2025-03-19 22:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:44:16] Production.INFO: ==13034== Releasing lock... [2025-03-19 22:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:44:18] Production.INFO: count ==1055 [2025-03-19 22:44:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:44:05 - End Time 2025-03-19 22:44:05 [2025-03-19 22:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718636', 'tblTempUsageDetail_20' ) start [2025-03-19 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718636', 'tblTempUsageDetail_20' ) end [2025-03-19 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718636', 'tblTempVendorCDR_20' ) start [2025-03-19 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718636', 'tblTempVendorCDR_20' ) end [2025-03-19 22:44:18] Production.INFO: ProcessCDR(1,14718636,1,1,2) [2025-03-19 22:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718636', 'tblTempUsageDetail_20' ) start [2025-03-19 22:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718636', 'tblTempUsageDetail_20' ) end [2025-03-19 22:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:44:21] Production.INFO: ==13042== Releasing lock... [2025-03-19 22:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:44:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 02:45:01] Production.INFO: ==13112== Lock acquired, processing the job... [2025-03-20 02:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:45:01] Production.INFO: neon service started [2025-03-20 02:45:01] Production.INFO: neon service started [2025-03-20 02:45:01] Production.INFO: ==13112== Releasing lock... [2025-03-20 02:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:45:02] Production.INFO: ==13118== Lock acquired, processing the job... [2025-03-20 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:45:02] Production.INFO: ==13118== Releasing lock... [2025-03-20 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:45:02] Production.INFO: ==13116== Lock acquired, processing the job... [2025-03-19 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:45:02] Production.INFO: ==13116== Releasing lock... [2025-03-19 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:45:03] Production.INFO: ==13121== Lock acquired, processing the job... [2025-03-19 22:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:45:03] Production.INFO: ==13125== Lock acquired, processing the job... [2025-03-19 22:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:45:03] Production.INFO: ==13129== Lock acquired, processing the job... [2025-03-19 22:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:45:03] Production.INFO: ==13123== Lock acquired, processing the job... [2025-03-19 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:45:03] Production.INFO: ==13127== Lock acquired, processing the job... [2025-03-19 22:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:45:03] Production.INFO: ==13131== Lock acquired, processing the job... [2025-03-19 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:45:03] Production.ERROR: done [2025-03-19 22:45:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:45:03] Production.INFO: Account Balance Start. [2025-03-19 22:45:03] Production.INFO: CreateAllLog Start [2025-03-19 22:45:03] Production.INFO: 117 [2025-03-19 22:45:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.INFO: count ==12 [2025-03-19 22:45:04] Production.ERROR: done [2025-03-19 22:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:45:04] Production.INFO: count ==23 [2025-03-19 22:45:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718640') start [2025-03-19 22:45:04] Production.INFO: ==13123== Releasing lock... [2025-03-19 22:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:45:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718640') end [2025-03-19 22:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:45:04] Production.INFO: 1 [2025-03-19 22:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:45:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.INFO: ==13131== Releasing lock... [2025-03-19 22:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:45:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:45:04] Production.INFO: Total Charge 0 [2025-03-19 22:45:04] Production.INFO: CreateAllLog End [2025-03-19 22:45:04] Production.INFO: Account Balance End. [2025-03-19 22:45:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:45:04] Production.INFO: ==13127== Releasing lock... [2025-03-19 22:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:45:05 [end_date_ymd] => 2025-03-19 22:45:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:45:05' and `end` < '2025-03-19 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-03-19 22:45:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:45:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:45:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:45:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:45:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:45:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:45:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:45:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:45:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:45:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:45:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:45:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:45:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:45:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:45:13] Production.ERROR: CronJobId end10 [2025-03-19 22:45:13] Production.INFO: ==13125== Releasing lock... [2025-03-19 22:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:45:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:45:13] Production.INFO: call_cost start [2025-03-19 22:45:13] Production.INFO: call_cost end [2025-03-19 22:45:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:45:14] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:45:14] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:45:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:45:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:45:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:45:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:45:14] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:45:14] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:45:14] Production.INFO: ==13121== Releasing lock... [2025-03-19 22:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:45:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:45:17] Production.INFO: count ==1055 [2025-03-19 22:45:17] Production.ERROR: pbx CDR StartTime 2025-03-19 19:45:05 - End Time 2025-03-19 22:45:05 [2025-03-19 22:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718641', 'tblTempUsageDetail_20' ) start [2025-03-19 22:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718641', 'tblTempUsageDetail_20' ) end [2025-03-19 22:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718641', 'tblTempVendorCDR_20' ) start [2025-03-19 22:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718641', 'tblTempVendorCDR_20' ) end [2025-03-19 22:45:17] Production.INFO: ProcessCDR(1,14718641,1,1,2) [2025-03-19 22:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718641', 'tblTempUsageDetail_20' ) start [2025-03-19 22:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718641', 'tblTempUsageDetail_20' ) end [2025-03-19 22:45:20] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:45:20] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:45:20] Production.INFO: ==13129== Releasing lock... [2025-03-19 22:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:45:20] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 02:46:02] Production.INFO: ==13210== Lock acquired, processing the job... [2025-03-20 02:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:46:02] Production.INFO: neon service started [2025-03-20 02:46:02] Production.INFO: neon service started [2025-03-20 02:46:02] Production.INFO: ==13210== Releasing lock... [2025-03-20 02:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:46:02] Production.INFO: ==13212== Lock acquired, processing the job... [2025-03-19 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:46:02] Production.INFO: ==13214== Lock acquired, processing the job... [2025-03-20 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:46:02] Production.INFO: ==13214== Releasing lock... [2025-03-20 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:46:02] Production.INFO: ==13212== Releasing lock... [2025-03-19 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:46:03] Production.INFO: ==13217== Lock acquired, processing the job... [2025-03-19 22:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:46:03] Production.INFO: ==13221== Lock acquired, processing the job... [2025-03-19 22:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:46:03] Production.INFO: ==13223== Lock acquired, processing the job... [2025-03-19 22:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:46:03] Production.INFO: Account Balance Start. [2025-03-19 22:46:03] Production.INFO: CreateAllLog Start [2025-03-19 22:46:03] Production.INFO: 117 [2025-03-19 22:46:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:46:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:03] Production.INFO: ==13219== Lock acquired, processing the job... [2025-03-19 22:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:46:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:46:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:46:03] Production.INFO: ==13225== Lock acquired, processing the job... [2025-03-19 22:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:46:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:46:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:46:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:46:04] Production.INFO: ==13227== Lock acquired, processing the job... [2025-03-19 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:46:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:46:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:04] Production.INFO: count ==12 [2025-03-19 22:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:46:04] Production.INFO: count ==23 [2025-03-19 22:46:04] Production.INFO: ==13219== Releasing lock... [2025-03-19 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:46:04] Production.ERROR: done [2025-03-19 22:46:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718645') start [2025-03-19 22:46:04] Production.INFO: Total Charge 0 [2025-03-19 22:46:04] Production.INFO: CreateAllLog End [2025-03-19 22:46:04] Production.ERROR: done [2025-03-19 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718645') end [2025-03-19 22:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:46:04] Production.INFO: 1 [2025-03-19 22:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:46:04] Production.INFO: ==13227== Releasing lock... [2025-03-19 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:46:04] Production.INFO: Account Balance End. [2025-03-19 22:46:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:46:04] Production.INFO: ==13223== Releasing lock... [2025-03-19 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:46:05 [end_date_ymd] => 2025-03-19 22:46:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:46:05' and `end` < '2025-03-19 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-03-19 22:46:13] Production.ERROR: CronJobId end10 [2025-03-19 22:46:13] Production.INFO: ==13221== Releasing lock... [2025-03-19 22:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:46:15] Production.INFO: call_cost start [2025-03-19 22:46:15] Production.INFO: call_cost end [2025-03-19 22:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:46:16] Production.INFO: ==13217== Releasing lock... [2025-03-19 22:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:46:18] Production.INFO: count ==1054 [2025-03-19 22:46:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:46:05 - End Time 2025-03-19 22:46:05 [2025-03-19 22:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718646', 'tblTempUsageDetail_20' ) start [2025-03-19 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718646', 'tblTempUsageDetail_20' ) end [2025-03-19 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718646', 'tblTempVendorCDR_20' ) start [2025-03-19 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718646', 'tblTempVendorCDR_20' ) end [2025-03-19 22:46:18] Production.INFO: ProcessCDR(1,14718646,1,1,2) [2025-03-19 22:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718646', 'tblTempUsageDetail_20' ) start [2025-03-19 22:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718646', 'tblTempUsageDetail_20' ) end [2025-03-19 22:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:46:21] Production.INFO: ==13225== Releasing lock... [2025-03-19 22:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:46:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 02:47:01] Production.INFO: ==13328== Lock acquired, processing the job... [2025-03-20 02:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:47:01] Production.INFO: neon service started [2025-03-20 02:47:01] Production.INFO: neon service started [2025-03-20 02:47:01] Production.INFO: ==13328== Releasing lock... [2025-03-20 02:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:47:01] Production.INFO: ==13330== Lock acquired, processing the job... [2025-03-19 22:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:47:02] Production.INFO: ==13330== Releasing lock... [2025-03-19 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:47:02] Production.INFO: ==13332== Lock acquired, processing the job... [2025-03-20 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:47:02] Production.INFO: ==13332== Releasing lock... [2025-03-20 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:47:03] Production.INFO: ==13339== Lock acquired, processing the job... [2025-03-19 22:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:47:03] Production.INFO: ==13343== Lock acquired, processing the job... [2025-03-19 22:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:47:03] Production.INFO: ==13345== Lock acquired, processing the job... [2025-03-19 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 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-03-19 22:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:47:03] Production.INFO: count ==12 [2025-03-19 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-03-19 22:47:03] Production.INFO: count ==23 [2025-03-19 22:47:03] Production.INFO: ==13337== Lock acquired, processing the job... [2025-03-19 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:47:03] Production.INFO: ==13335== Lock acquired, processing the job... [2025-03-19 22:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718647') start [2025-03-19 22:47:03] Production.INFO: ==13341== Lock acquired, processing the job... [2025-03-19 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718647') end [2025-03-19 22:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:47:03] Production.INFO: 1 [2025-03-19 22:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:47:03] Production.INFO: ==13345== Releasing lock... [2025-03-19 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:47:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:47:03] Production.ERROR: done [2025-03-19 22:47:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:47:03] Production.INFO: Account Balance Start. [2025-03-19 22:47:03] Production.INFO: CreateAllLog Start [2025-03-19 22:47:03] Production.INFO: 117 [2025-03-19 22:47:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:47:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:03] Production.ERROR: done [2025-03-19 22:47:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:03] Production.INFO: ==13337== Releasing lock... [2025-03-19 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:47:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:47:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:03] Production.INFO: Date 2025-03-13 [2025-03-19 22:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:03] Production.INFO: Date 2025-03-14 [2025-03-19 22:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:03] Production.INFO: Date 2025-03-15 [2025-03-19 22:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:47:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:47:04] Production.INFO: Total Charge 0 [2025-03-19 22:47:04] Production.INFO: CreateAllLog End [2025-03-19 22:47:04] Production.INFO: Account Balance End. [2025-03-19 22:47:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:47:04] Production.INFO: ==13341== Releasing lock... [2025-03-19 22:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:47:05 [end_date_ymd] => 2025-03-19 22:47:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:47:05' and `end` < '2025-03-19 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-03-19 22:47:13] Production.ERROR: CronJobId end10 [2025-03-19 22:47:13] Production.INFO: ==13339== Releasing lock... [2025-03-19 22:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:47:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:47:15] Production.INFO: call_cost start [2025-03-19 22:47:15] Production.INFO: call_cost end [2025-03-19 22:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:47:16] Production.INFO: ==13335== Releasing lock... [2025-03-19 22:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:47:17] Production.INFO: count ==1042 [2025-03-19 22:47:17] Production.ERROR: pbx CDR StartTime 2025-03-19 19:47:05 - End Time 2025-03-19 22:47:05 [2025-03-19 22:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718651', 'tblTempUsageDetail_20' ) start [2025-03-19 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718651', 'tblTempUsageDetail_20' ) end [2025-03-19 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718651', 'tblTempVendorCDR_20' ) start [2025-03-19 22:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718651', 'tblTempVendorCDR_20' ) end [2025-03-19 22:47:17] Production.INFO: ProcessCDR(1,14718651,1,1,2) [2025-03-19 22:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718651', 'tblTempUsageDetail_20' ) start [2025-03-19 22:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718651', 'tblTempUsageDetail_20' ) end [2025-03-19 22:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:47:21] Production.INFO: ==13343== Releasing lock... [2025-03-19 22:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:47:21] Production.INFO: 35.75 MB #Memory Used# [2025-03-20 02:48:01] Production.INFO: ==13437== Lock acquired, processing the job... [2025-03-20 02:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:48:01] Production.INFO: neon service started [2025-03-20 02:48:01] Production.INFO: neon service started [2025-03-20 02:48:01] Production.INFO: ==13437== Releasing lock... [2025-03-20 02:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:48:02] Production.INFO: ==13441== Lock acquired, processing the job... [2025-03-20 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:48:02] Production.INFO: ==13441== Releasing lock... [2025-03-20 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:48:02] Production.INFO: ==13439== Lock acquired, processing the job... [2025-03-19 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:48:02] Production.INFO: ==13439== Releasing lock... [2025-03-19 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:48:03] Production.INFO: ==13444== Lock acquired, processing the job... [2025-03-19 22:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:48:03] Production.INFO: ==13448== Lock acquired, processing the job... [2025-03-19 22:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:48:03] Production.INFO: ==13450== Lock acquired, processing the job... [2025-03-19 22:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:48:03] Production.INFO: ==13446== Lock acquired, processing the job... [2025-03-19 22:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:48:04] Production.INFO: ==13452== Lock acquired, processing the job... [2025-03-19 22:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:48:04] Production.INFO: Account Balance Start. [2025-03-19 22:48:04] Production.INFO: CreateAllLog Start [2025-03-19 22:48:04] Production.INFO: 117 [2025-03-19 22:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:48:04] Production.INFO: ==13454== Lock acquired, processing the job... [2025-03-19 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:48:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:48:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:48:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:48:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:48:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:48:04] Production.INFO: count ==12 [2025-03-19 22:48:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:48:04] Production.INFO: count ==23 [2025-03-19 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718655') start [2025-03-19 22:48:04] Production.ERROR: done [2025-03-19 22:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:48:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:48:04] Production.INFO: ==13446== Releasing lock... [2025-03-19 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718655') end [2025-03-19 22:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:48:04] Production.INFO: 1 [2025-03-19 22:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:48:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:48:04] Production.INFO: ==13454== Releasing lock... [2025-03-19 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:48:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:48:04] Production.ERROR: done [2025-03-19 22:48:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:48:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:48:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:48:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:48:05] Production.INFO: Total Charge 0 [2025-03-19 22:48:05] Production.INFO: CreateAllLog End [2025-03-19 22:48:05] Production.INFO: Account Balance End. [2025-03-19 22:48:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:48:05] Production.INFO: ==13450== Releasing lock... [2025-03-19 22:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:48:05 [end_date_ymd] => 2025-03-19 22:48:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:48:05' and `end` < '2025-03-19 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-03-19 22:48:14] Production.ERROR: CronJobId end10 [2025-03-19 22:48:14] Production.INFO: ==13448== Releasing lock... [2025-03-19 22:48:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:48:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:48:15] Production.INFO: call_cost start [2025-03-19 22:48:15] Production.INFO: call_cost end [2025-03-19 22:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:48:16] Production.INFO: ==13444== Releasing lock... [2025-03-19 22:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:48:18] Production.INFO: count ==1040 [2025-03-19 22:48:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:48:05 - End Time 2025-03-19 22:48:05 [2025-03-19 22:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718656', 'tblTempUsageDetail_20' ) start [2025-03-19 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718656', 'tblTempUsageDetail_20' ) end [2025-03-19 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718656', 'tblTempVendorCDR_20' ) start [2025-03-19 22:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718656', 'tblTempVendorCDR_20' ) end [2025-03-19 22:48:18] Production.INFO: ProcessCDR(1,14718656,1,1,2) [2025-03-19 22:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718656', 'tblTempUsageDetail_20' ) start [2025-03-19 22:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718656', 'tblTempUsageDetail_20' ) end [2025-03-19 22:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:48:22] Production.INFO: ==13452== Releasing lock... [2025-03-19 22:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:48:22] Production.INFO: 35.75 MB #Memory Used# [2025-03-20 02:49:01] Production.INFO: ==13530== Lock acquired, processing the job... [2025-03-20 02:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:49:01] Production.INFO: neon service started [2025-03-20 02:49:01] Production.INFO: neon service started [2025-03-20 02:49:01] Production.INFO: ==13530== Releasing lock... [2025-03-20 02:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:49:01] Production.INFO: ==13532== Lock acquired, processing the job... [2025-03-19 22:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:49:02] Production.INFO: ==13534== Lock acquired, processing the job... [2025-03-20 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 22:49:02] Production.INFO: ==13532== Releasing lock... [2025-03-19 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:49:02] Production.INFO: ==13534== Releasing lock... [2025-03-20 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:49:02] Production.INFO: ==13536== Lock acquired, processing the job... [2025-03-19 22:49:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:49:02] Production.INFO: ==13544== Lock acquired, processing the job... [2025-03-19 22:49:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:49:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:49:02] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:49:03] Production.INFO: ==13538== Lock acquired, processing the job... [2025-03-19 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:49:03] Production.INFO: ==13540== Lock acquired, processing the job... [2025-03-19 22:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:49:03] Production.ERROR: done [2025-03-19 22:49:03] Production.INFO: ==13542== Lock acquired, processing the job... [2025-03-19 22:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:49:03] Production.INFO: Account Balance Start. [2025-03-19 22:49:03] Production.INFO: CreateAllLog Start [2025-03-19 22:49:03] Production.INFO: 117 [2025-03-19 22:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:49:03] Production.INFO: ==13546== Lock acquired, processing the job... [2025-03-19 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:49:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:49:03] Production.ERROR: done [2025-03-19 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-03-19 22:49:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:49:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:49:03] Production.INFO: count ==12 [2025-03-19 22:49:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:49:03] Production.INFO: count ==23 [2025-03-19 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718660') start [2025-03-19 22:49:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:49:03] Production.INFO: ==13538== Releasing lock... [2025-03-19 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:49:03] Production.INFO: Date 2025-03-13 [2025-03-19 22:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:49:03] Production.INFO: Date 2025-03-14 [2025-03-19 22:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:49:03] Production.INFO: Date 2025-03-15 [2025-03-19 22:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718660') end [2025-03-19 22:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:49:03] Production.INFO: 1 [2025-03-19 22:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:49:03] Production.INFO: ==13546== Releasing lock... [2025-03-19 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:49:03] Production.INFO: Date 2025-03-16 [2025-03-19 22:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:49:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:49:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:49:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:49:04] Production.INFO: Total Charge 0 [2025-03-19 22:49:04] Production.INFO: CreateAllLog End [2025-03-19 22:49:04] Production.INFO: Account Balance End. [2025-03-19 22:49:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:49:04] Production.INFO: ==13542== Releasing lock... [2025-03-19 22:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:49:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:49:04 [end_date_ymd] => 2025-03-19 22:49:04 [RateCDR] => 1 ) [2025-03-19 22: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-03-19 19:49:04' and `end` < '2025-03-19 22: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-03-19 22:49:13] Production.ERROR: CronJobId end10 [2025-03-19 22:49:13] Production.INFO: ==13540== Releasing lock... [2025-03-19 22:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:49:15] Production.INFO: call_cost start [2025-03-19 22:49:15] Production.INFO: call_cost end [2025-03-19 22:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:49:16] Production.INFO: ==13536== Releasing lock... [2025-03-19 22:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:49:17] Production.INFO: count ==1041 [2025-03-19 22:49:17] Production.ERROR: pbx CDR StartTime 2025-03-19 19:49:04 - End Time 2025-03-19 22:49:04 [2025-03-19 22:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718661', 'tblTempUsageDetail_20' ) start [2025-03-19 22:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718661', 'tblTempUsageDetail_20' ) end [2025-03-19 22:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718661', 'tblTempVendorCDR_20' ) start [2025-03-19 22:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718661', 'tblTempVendorCDR_20' ) end [2025-03-19 22:49:17] Production.INFO: ProcessCDR(1,14718661,1,1,2) [2025-03-19 22:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718661', 'tblTempUsageDetail_20' ) start [2025-03-19 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718661', 'tblTempUsageDetail_20' ) end [2025-03-19 22:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:49:21] Production.INFO: ==13544== Releasing lock... [2025-03-19 22:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:49:21] Production.INFO: 36 MB #Memory Used# [2025-03-20 02:50:01] Production.INFO: ==13619== Lock acquired, processing the job... [2025-03-20 02:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:50:01] Production.INFO: neon service started [2025-03-20 02:50:01] Production.INFO: neon service started [2025-03-20 02:50:01] Production.INFO: ==13619== Releasing lock... [2025-03-20 02:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:50:02] Production.INFO: ==13622== Lock acquired, processing the job... [2025-03-19 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:50:02] Production.INFO: ==13622== Releasing lock... [2025-03-19 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:50:02] Production.INFO: ==13624== Lock acquired, processing the job... [2025-03-20 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:50:02] Production.INFO: ==13624== Releasing lock... [2025-03-20 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:50:03] Production.INFO: ==13629== Lock acquired, processing the job... [2025-03-19 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 22:50:03] Production.INFO: ==13636== Lock acquired, processing the job... [2025-03-19 22:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:50:03] Production.INFO: ==13631== Lock acquired, processing the job... [2025-03-19 22:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:50:03] Production.INFO: ==13633== Lock acquired, processing the job... [2025-03-19 22:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 22:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 22:50:03] Production.INFO: ==13629== Releasing lock... [2025-03-19 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 22:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 22:50:04] Production.INFO: ==13640== Lock acquired, processing the job... [2025-03-19 22:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:50:04] Production.INFO: ==13642== Lock acquired, processing the job... [2025-03-19 22:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 22:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:50:04] Production.INFO: ==13638== Lock acquired, processing the job... [2025-03-19 22:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:50:04] Production.INFO: ==13633== Releasing lock... [2025-03-19 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:50:04] Production.INFO: ==13644== Lock acquired, processing the job... [2025-03-19 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:50:04] Production.INFO: Account Balance Start. [2025-03-19 22:50:04] Production.INFO: CreateAllLog Start [2025-03-19 22:50:04] Production.INFO: 117 [2025-03-19 22:50:04] Production.ERROR: done [2025-03-19 22:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:50:04] Production.INFO: Date 2025-03-08 [2025-03-19 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-03-19 22:50:04] Production.ERROR: done [2025-03-19 22:50:04] Production.INFO: count ==12 [2025-03-19 22:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:50:04] Production.INFO: count ==23 [2025-03-19 22:50:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718665') start [2025-03-19 22:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 22:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718666', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 22:50:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:50:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:50:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:50:04] Production.ERROR: done [2025-03-19 22:50:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718665') end [2025-03-19 22:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:50:04] Production.INFO: 1 [2025-03-19 22:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:50:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:50:04] Production.INFO: ==13644== Releasing lock... [2025-03-19 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:50:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:50:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:50:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:50:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:50:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:50:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:50:05] Production.INFO: Total Charge 0 [2025-03-19 22:50:05] Production.INFO: CreateAllLog End [2025-03-19 22:50:05] Production.INFO: Account Balance End. [2025-03-19 22:50:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:50:05] Production.INFO: ==13638== Releasing lock... [2025-03-19 22:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:50:06 [end_date_ymd] => 2025-03-19 22:50:06 [RateCDR] => 1 ) [2025-03-19 22:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:50:06' and `end` < '2025-03-19 22:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718666', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 22:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 22:50:09] Production.INFO: ProcessCDR(1,14718666,1,1,2) [2025-03-19 22:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718666,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718666,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:50:09] Production.INFO: ==13642== Releasing lock... [2025-03-19 22:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 22:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 22:50:16] Production.ERROR: CronJobId end10 [2025-03-19 22:50:16] Production.INFO: ==13636== Releasing lock... [2025-03-19 22:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:50:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:50:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:50:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:50:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:50:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:50:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:50:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:50:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:50:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:50:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:50:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:50:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:50:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:50:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:50:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:50:18] Production.INFO: call_cost start [2025-03-19 22:50:18] Production.INFO: call_cost end [2025-03-19 22:50:18] Production.INFO: count ==1029 [2025-03-19 22:50:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:50:06 - End Time 2025-03-19 22:50:06 [2025-03-19 22:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718667', 'tblTempUsageDetail_20' ) start [2025-03-19 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718667', 'tblTempUsageDetail_20' ) end [2025-03-19 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718667', 'tblTempVendorCDR_20' ) start [2025-03-19 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718667', 'tblTempVendorCDR_20' ) end [2025-03-19 22:50:18] Production.INFO: ProcessCDR(1,14718667,1,1,2) [2025-03-19 22:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:50:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:50:19] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:50:19] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:50:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:50:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:50:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:50:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:50:19] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:50:19] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:50:19] Production.INFO: ==13631== Releasing lock... [2025-03-19 22:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:50:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718667', 'tblTempUsageDetail_20' ) start [2025-03-19 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718667', 'tblTempUsageDetail_20' ) end [2025-03-19 22:50:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:50:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:50:22] Production.INFO: ==13640== Releasing lock... [2025-03-19 22:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:50:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-20 02:51:01] Production.INFO: ==13709== Lock acquired, processing the job... [2025-03-20 02:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:51:01] Production.INFO: neon service started [2025-03-20 02:51:01] Production.INFO: neon service started [2025-03-20 02:51:01] Production.INFO: ==13709== Releasing lock... [2025-03-20 02:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:51:01] Production.INFO: ==13711== Lock acquired, processing the job... [2025-03-19 22:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:51:02] Production.INFO: ==13711== Releasing lock... [2025-03-19 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:51:02] Production.INFO: ==13713== Lock acquired, processing the job... [2025-03-20 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:51:02] Production.INFO: ==13713== Releasing lock... [2025-03-20 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:51:03] Production.INFO: ==13720== Lock acquired, processing the job... [2025-03-19 22:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:51:03] Production.INFO: ==13722== Lock acquired, processing the job... [2025-03-19 22:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:51:03] Production.INFO: Account Balance Start. [2025-03-19 22:51:03] Production.INFO: CreateAllLog Start [2025-03-19 22:51:03] Production.INFO: 117 [2025-03-19 22:51:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:51:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:51:03] Production.INFO: ==13716== Lock acquired, processing the job... [2025-03-19 22:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:51:03] Production.INFO: Date 2025-03-10 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:51:03] Production.INFO: ==13718== Lock acquired, processing the job... [2025-03-19 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:51:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:51:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:51:03] Production.INFO: Date 2025-03-13 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:51:03] Production.INFO: Date 2025-03-14 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:51:03] Production.INFO: ==13724== Lock acquired, processing the job... [2025-03-19 22:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:51:03] Production.INFO: ==13726== Lock acquired, processing the job... [2025-03-19 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:51:03] Production.INFO: Date 2025-03-15 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:51:03] Production.INFO: Date 2025-03-16 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:51:03] Production.INFO: Date 2025-03-17 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:51:03] Production.INFO: count ==12 [2025-03-19 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-03-19 22:51:03] Production.INFO: count ==23 [2025-03-19 22:51:03] Production.INFO: Date 2025-03-18 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:51:03] Production.INFO: ==13718== Releasing lock... [2025-03-19 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718671') start [2025-03-19 22:51:03] Production.INFO: Date 2025-03-19 [2025-03-19 22:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:51:03] Production.INFO: Total Charge 0 [2025-03-19 22:51:03] Production.INFO: CreateAllLog End [2025-03-19 22:51:03] Production.ERROR: done [2025-03-19 22:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718671') end [2025-03-19 22:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:51:03] Production.INFO: 1 [2025-03-19 22:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:51:03] Production.INFO: ==13726== Releasing lock... [2025-03-19 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:51:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:51:03] Production.ERROR: done [2025-03-19 22:51:04] Production.INFO: Account Balance End. [2025-03-19 22:51:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:51:04] Production.INFO: ==13722== Releasing lock... [2025-03-19 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:51:05 [end_date_ymd] => 2025-03-19 22:51:05 [RateCDR] => 1 ) [2025-03-19 22:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:51:05' and `end` < '2025-03-19 22:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:51:12] Production.ERROR: CronJobId end10 [2025-03-19 22:51:12] Production.INFO: ==13720== Releasing lock... [2025-03-19 22:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:51:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:51:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:51:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:51:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:51:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:51:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:51:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:51:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:51:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:51:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:51:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:51:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:51:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:51:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:51:14] Production.INFO: call_cost start [2025-03-19 22:51:14] Production.INFO: call_cost end [2025-03-19 22:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:51:15] Production.INFO: ==13716== Releasing lock... [2025-03-19 22:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:51:17] Production.INFO: count ==945 [2025-03-19 22:51:17] Production.ERROR: pbx CDR StartTime 2025-03-19 19:51:05 - End Time 2025-03-19 22:51:05 [2025-03-19 22:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718672', 'tblTempUsageDetail_20' ) start [2025-03-19 22:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718672', 'tblTempUsageDetail_20' ) end [2025-03-19 22:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718672', 'tblTempVendorCDR_20' ) start [2025-03-19 22:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718672', 'tblTempVendorCDR_20' ) end [2025-03-19 22:51:18] Production.INFO: ProcessCDR(1,14718672,1,1,2) [2025-03-19 22:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718672', 'tblTempUsageDetail_20' ) start [2025-03-19 22:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718672', 'tblTempUsageDetail_20' ) end [2025-03-19 22:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:51:21] Production.INFO: ==13724== Releasing lock... [2025-03-19 22:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:51:21] Production.INFO: 35.25 MB #Memory Used# [2025-03-20 02:52:01] Production.INFO: ==13790== Lock acquired, processing the job... [2025-03-20 02:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:52:01] Production.INFO: neon service started [2025-03-20 02:52:01] Production.INFO: neon service started [2025-03-20 02:52:01] Production.INFO: ==13790== Releasing lock... [2025-03-20 02:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:52:02] Production.INFO: ==13792== Lock acquired, processing the job... [2025-03-19 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:52:02] Production.INFO: ==13792== Releasing lock... [2025-03-19 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:52:02] Production.INFO: ==13794== Lock acquired, processing the job... [2025-03-20 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:52:02] Production.INFO: ==13794== Releasing lock... [2025-03-20 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:52:03] Production.INFO: ==13800== Lock acquired, processing the job... [2025-03-19 22:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:52:03] Production.INFO: ==13796== Lock acquired, processing the job... [2025-03-19 22:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:52:03] Production.INFO: ==13805== Lock acquired, processing the job... [2025-03-19 22:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:52:03] Production.INFO: ==13798== Lock acquired, processing the job... [2025-03-19 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:52:03] Production.INFO: ==13803== Lock acquired, processing the job... [2025-03-19 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:52:03] Production.INFO: ==13807== Lock acquired, processing the job... [2025-03-19 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:52:03] Production.INFO: Account Balance Start. [2025-03-19 22:52:03] Production.INFO: CreateAllLog Start [2025-03-19 22:52:03] Production.INFO: 117 [2025-03-19 22:52:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:52:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:52:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:52:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:52:04] Production.ERROR: done [2025-03-19 22:52:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:52:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:52:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:52:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:52:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:52:04] Production.INFO: count ==23 [2025-03-19 22:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718676') start [2025-03-19 22:52:04] Production.INFO: ==13798== Releasing lock... [2025-03-19 22:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:52:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:52:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:52:04] Production.ERROR: done [2025-03-19 22:52:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718676') end [2025-03-19 22:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:52:04] Production.INFO: 1 [2025-03-19 22:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:52:04] Production.INFO: ==13807== Releasing lock... [2025-03-19 22:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:52:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:52:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:52:04] Production.INFO: Total Charge 0 [2025-03-19 22:52:04] Production.INFO: CreateAllLog End [2025-03-19 22:52:04] Production.INFO: Account Balance End. [2025-03-19 22:52:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:52:04] Production.INFO: ==13803== Releasing lock... [2025-03-19 22:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:52:05 [end_date_ymd] => 2025-03-19 22:52:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:52:05' and `end` < '2025-03-19 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-03-19 22:52:13] Production.ERROR: CronJobId end10 [2025-03-19 22:52:13] Production.INFO: ==13800== Releasing lock... [2025-03-19 22:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:52:15] Production.INFO: call_cost start [2025-03-19 22:52:15] Production.INFO: call_cost end [2025-03-19 22:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:52:16] Production.INFO: ==13796== Releasing lock... [2025-03-19 22:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:52:17] Production.INFO: count ==915 [2025-03-19 22:52:17] Production.ERROR: pbx CDR StartTime 2025-03-19 19:52:05 - End Time 2025-03-19 22:52:05 [2025-03-19 22:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718677', 'tblTempUsageDetail_20' ) start [2025-03-19 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718677', 'tblTempUsageDetail_20' ) end [2025-03-19 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718677', 'tblTempVendorCDR_20' ) start [2025-03-19 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718677', 'tblTempVendorCDR_20' ) end [2025-03-19 22:52:17] Production.INFO: ProcessCDR(1,14718677,1,1,2) [2025-03-19 22:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718677', 'tblTempUsageDetail_20' ) start [2025-03-19 22:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718677', 'tblTempUsageDetail_20' ) end [2025-03-19 22:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:52:21] Production.INFO: ==13805== Releasing lock... [2025-03-19 22:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:52:21] Production.INFO: 35 MB #Memory Used# [2025-03-20 02:53:02] Production.INFO: ==13914== Lock acquired, processing the job... [2025-03-20 02:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:53:02] Production.INFO: neon service started [2025-03-20 02:53:02] Production.INFO: neon service started [2025-03-20 02:53:02] Production.INFO: ==13914== Releasing lock... [2025-03-20 02:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:53:02] Production.INFO: ==13916== Lock acquired, processing the job... [2025-03-19 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:53:03] Production.INFO: ==13916== Releasing lock... [2025-03-19 22:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:53:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:53:03] Production.INFO: ==13918== Lock acquired, processing the job... [2025-03-20 02:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:53:03] Production.INFO: ==13918== Releasing lock... [2025-03-20 02:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:53:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:53:03] Production.INFO: ==13920== Lock acquired, processing the job... [2025-03-19 22:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:53:03] Production.INFO: ==13924== Lock acquired, processing the job... [2025-03-19 22:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:53:03] Production.INFO: ==13922== Lock acquired, processing the job... [2025-03-19 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:53:04] Production.INFO: ==13926== Lock acquired, processing the job... [2025-03-19 22:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:53:04] Production.INFO: ==13928== Lock acquired, processing the job... [2025-03-19 22:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:53:04] Production.INFO: ==13931== Lock acquired, processing the job... [2025-03-19 22:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:53:04] Production.INFO: Account Balance Start. [2025-03-19 22:53:04] Production.INFO: CreateAllLog Start [2025-03-19 22:53:04] Production.INFO: 117 [2025-03-19 22:53:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.INFO: ==13922== Releasing lock... [2025-03-19 22:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:53:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.INFO: count ==12 [2025-03-19 22:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:53:04] Production.INFO: count ==23 [2025-03-19 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718681') start [2025-03-19 22:53:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.ERROR: done [2025-03-19 22:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:53:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718681') end [2025-03-19 22:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:53:04] Production.INFO: 1 [2025-03-19 22:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:53:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:53:04] Production.INFO: ==13931== Releasing lock... [2025-03-19 22:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:53:04] Production.INFO: Total Charge 0 [2025-03-19 22:53:04] Production.ERROR: done [2025-03-19 22:53:04] Production.INFO: CreateAllLog End [2025-03-19 22:53:05] Production.INFO: Account Balance End. [2025-03-19 22:53:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:53:05] Production.INFO: ==13926== Releasing lock... [2025-03-19 22:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:53:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:53:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:53:06 [end_date_ymd] => 2025-03-19 22:53:06 [RateCDR] => 1 ) [2025-03-19 22:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:53:06' and `end` < '2025-03-19 22:53:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:53:14] Production.ERROR: CronJobId end10 [2025-03-19 22:53:14] Production.INFO: ==13924== Releasing lock... [2025-03-19 22:53:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:53:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:53:15] Production.INFO: call_cost start [2025-03-19 22:53:15] Production.INFO: call_cost end [2025-03-19 22:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:53:16] Production.INFO: ==13920== Releasing lock... [2025-03-19 22:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:53:18] Production.INFO: count ==910 [2025-03-19 22:53:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:53:06 - End Time 2025-03-19 22:53:06 [2025-03-19 22:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718682', 'tblTempUsageDetail_20' ) start [2025-03-19 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718682', 'tblTempUsageDetail_20' ) end [2025-03-19 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718682', 'tblTempVendorCDR_20' ) start [2025-03-19 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718682', 'tblTempVendorCDR_20' ) end [2025-03-19 22:53:18] Production.INFO: ProcessCDR(1,14718682,1,1,2) [2025-03-19 22:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718682', 'tblTempUsageDetail_20' ) start [2025-03-19 22:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718682', 'tblTempUsageDetail_20' ) end [2025-03-19 22:53:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:53:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:53:22] Production.INFO: ==13928== Releasing lock... [2025-03-19 22:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:53:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 02:54:01] Production.INFO: ==13993== Lock acquired, processing the job... [2025-03-20 02:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:54:01] Production.INFO: neon service started [2025-03-20 02:54:01] Production.INFO: neon service started [2025-03-20 02:54:01] Production.INFO: ==13993== Releasing lock... [2025-03-20 02:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:54:02] Production.INFO: ==13996== Lock acquired, processing the job... [2025-03-19 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:54:02] Production.INFO: ==13998== Lock acquired, processing the job... [2025-03-20 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:54:02] Production.INFO: ==13998== Releasing lock... [2025-03-20 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:54:02] Production.INFO: ==13996== Releasing lock... [2025-03-19 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:54:03] Production.INFO: ==14000== Lock acquired, processing the job... [2025-03-19 22:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:54:03] Production.INFO: ==14004== Lock acquired, processing the job... [2025-03-19 22:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:54:03] Production.INFO: ==14002== Lock acquired, processing the job... [2025-03-19 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:54:04] Production.INFO: ==14008== Lock acquired, processing the job... [2025-03-19 22:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:54:04] Production.INFO: ==14006== Lock acquired, processing the job... [2025-03-19 22:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:54:04] Production.INFO: ==14010== Lock acquired, processing the job... [2025-03-19 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:54:04] Production.INFO: ==14002== Releasing lock... [2025-03-19 22:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:54:04] Production.INFO: count ==12 [2025-03-19 22:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:54:04] Production.INFO: count ==23 [2025-03-19 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718685') start [2025-03-19 22:54:04] Production.INFO: Account Balance Start. [2025-03-19 22:54:04] Production.INFO: CreateAllLog Start [2025-03-19 22:54:04] Production.INFO: 117 [2025-03-19 22:54:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718685') end [2025-03-19 22:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:54:04] Production.INFO: 1 [2025-03-19 22:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:54:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:04] Production.INFO: ==14010== Releasing lock... [2025-03-19 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:54:04] Production.ERROR: done [2025-03-19 22:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:54:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:04] Production.ERROR: done [2025-03-19 22:54:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:54:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:54:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:54:05] Production.INFO: Total Charge 0 [2025-03-19 22:54:05] Production.INFO: CreateAllLog End [2025-03-19 22:54:05] Production.INFO: Account Balance End. [2025-03-19 22:54:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:54:05] Production.INFO: ==14006== Releasing lock... [2025-03-19 22:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:54:05 [end_date_ymd] => 2025-03-19 22:54:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:54:05' and `end` < '2025-03-19 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-03-19 22:54:14] Production.ERROR: CronJobId end10 [2025-03-19 22:54:14] Production.INFO: ==14004== Releasing lock... [2025-03-19 22:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:54:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:54:15] Production.INFO: call_cost start [2025-03-19 22:54:15] Production.INFO: call_cost end [2025-03-19 22:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:54:16] Production.INFO: ==14000== Releasing lock... [2025-03-19 22:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:54:18] Production.INFO: count ==905 [2025-03-19 22:54:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:54:05 - End Time 2025-03-19 22:54:05 [2025-03-19 22:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718687', 'tblTempUsageDetail_20' ) start [2025-03-19 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718687', 'tblTempUsageDetail_20' ) end [2025-03-19 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718687', 'tblTempVendorCDR_20' ) start [2025-03-19 22:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718687', 'tblTempVendorCDR_20' ) end [2025-03-19 22:54:18] Production.INFO: ProcessCDR(1,14718687,1,1,2) [2025-03-19 22:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718687', 'tblTempUsageDetail_20' ) start [2025-03-19 22:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718687', 'tblTempUsageDetail_20' ) end [2025-03-19 22:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:54:21] Production.INFO: ==14008== Releasing lock... [2025-03-19 22:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:54:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 02:55:02] Production.INFO: ==14073== Lock acquired, processing the job... [2025-03-20 02:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:55:02] Production.INFO: neon service started [2025-03-20 02:55:02] Production.INFO: neon service started [2025-03-20 02:55:02] Production.INFO: ==14073== Releasing lock... [2025-03-20 02:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:55:02] Production.INFO: ==14077== Lock acquired, processing the job... [2025-03-20 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:55:02] Production.INFO: ==14077== Releasing lock... [2025-03-20 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:55:02] Production.INFO: ==14075== Lock acquired, processing the job... [2025-03-19 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:55:03] Production.INFO: ==14075== Releasing lock... [2025-03-19 22:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:55:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:55:04] Production.INFO: ==14080== Lock acquired, processing the job... [2025-03-19 22:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:55:04] Production.INFO: ==14088== Lock acquired, processing the job... [2025-03-19 22:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:55:04] Production.INFO: ==14082== Lock acquired, processing the job... [2025-03-19 22:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:55:04] Production.INFO: ==14084== Lock acquired, processing the job... [2025-03-19 22:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:55:04] Production.INFO: ==14086== Lock acquired, processing the job... [2025-03-19 22:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:55:04] Production.INFO: ==14090== Lock acquired, processing the job... [2025-03-19 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:55:04] Production.INFO: Account Balance Start. [2025-03-19 22:55:04] Production.INFO: CreateAllLog Start [2025-03-19 22:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:55:04] Production.INFO: 117 [2025-03-19 22:55:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:55:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:55:04] Production.ERROR: done [2025-03-19 22:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:55:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:55:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:55:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:55:04] Production.INFO: count ==23 [2025-03-19 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718691') start [2025-03-19 22:55:04] Production.INFO: ==14082== Releasing lock... [2025-03-19 22:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:55:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:55:04] Production.ERROR: done [2025-03-19 22:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:55:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:55:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718691') end [2025-03-19 22:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:55:04] Production.INFO: 1 [2025-03-19 22:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:55:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:55:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:55:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:55:04] Production.INFO: ==14090== Releasing lock... [2025-03-19 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:55:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:55:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:55:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:55:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:55:05] Production.INFO: Total Charge 0 [2025-03-19 22:55:05] Production.INFO: CreateAllLog End [2025-03-19 22:55:05] Production.INFO: Account Balance End. [2025-03-19 22:55:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:55:05] Production.INFO: ==14086== Releasing lock... [2025-03-19 22:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:55:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:55:06 [end_date_ymd] => 2025-03-19 22:55:06 [RateCDR] => 1 ) [2025-03-19 22:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:55:06' and `end` < '2025-03-19 22:55:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:55:13] Production.ERROR: CronJobId end10 [2025-03-19 22:55:13] Production.INFO: ==14084== Releasing lock... [2025-03-19 22:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:55:15] Production.INFO: call_cost start [2025-03-19 22:55:15] Production.INFO: call_cost end [2025-03-19 22:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:55:16] Production.INFO: ==14080== Releasing lock... [2025-03-19 22:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:55:18] Production.INFO: count ==904 [2025-03-19 22:55:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:55:06 - End Time 2025-03-19 22:55:06 [2025-03-19 22:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718692', 'tblTempUsageDetail_20' ) start [2025-03-19 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718692', 'tblTempUsageDetail_20' ) end [2025-03-19 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718692', 'tblTempVendorCDR_20' ) start [2025-03-19 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718692', 'tblTempVendorCDR_20' ) end [2025-03-19 22:55:18] Production.INFO: ProcessCDR(1,14718692,1,1,2) [2025-03-19 22:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718692', 'tblTempUsageDetail_20' ) start [2025-03-19 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718692', 'tblTempUsageDetail_20' ) end [2025-03-19 22:55:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:55:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:55:22] Production.INFO: ==14088== Releasing lock... [2025-03-19 22:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:55:22] Production.INFO: 35.25 MB #Memory Used# [2025-03-20 02:56:01] Production.INFO: ==14158== Lock acquired, processing the job... [2025-03-20 02:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:56:01] Production.INFO: neon service started [2025-03-20 02:56:01] Production.INFO: neon service started [2025-03-20 02:56:01] Production.INFO: ==14158== Releasing lock... [2025-03-20 02:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:56:02] Production.INFO: ==14162== Lock acquired, processing the job... [2025-03-20 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:56:02] Production.INFO: ==14162== Releasing lock... [2025-03-20 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:56:02] Production.INFO: ==14160== Lock acquired, processing the job... [2025-03-19 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 22:56:02] Production.INFO: ==14160== Releasing lock... [2025-03-19 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:56:03] Production.INFO: ==14167== Lock acquired, processing the job... [2025-03-19 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:56:03] Production.INFO: ==14173== Lock acquired, processing the job... [2025-03-19 22:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:56:03] Production.INFO: ==14165== Lock acquired, processing the job... [2025-03-19 22:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:56:03] Production.INFO: ==14169== Lock acquired, processing the job... [2025-03-19 22:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:56:03] Production.INFO: ==14171== Lock acquired, processing the job... [2025-03-19 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:56:03] Production.ERROR: done [2025-03-19 22:56:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:56:04] Production.INFO: ==14175== Lock acquired, processing the job... [2025-03-19 22:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:56:04] Production.INFO: count ==12 [2025-03-19 22:56:04] Production.INFO: Account Balance Start. [2025-03-19 22:56:04] Production.INFO: CreateAllLog Start [2025-03-19 22:56:04] Production.INFO: 117 [2025-03-19 22:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 22:56:04] Production.INFO: ==14167== Releasing lock... [2025-03-19 22:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:56:04] Production.INFO: count ==23 [2025-03-19 22:56:04] Production.ERROR: done [2025-03-19 22:56:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718695') start [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718695') end [2025-03-19 22:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:56:04] Production.INFO: 1 [2025-03-19 22:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:56:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.INFO: ==14175== Releasing lock... [2025-03-19 22:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:56:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:56:04] Production.INFO: Total Charge 0 [2025-03-19 22:56:04] Production.INFO: CreateAllLog End [2025-03-19 22:56:04] Production.INFO: Account Balance End. [2025-03-19 22:56:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:56:04] Production.INFO: ==14171== Releasing lock... [2025-03-19 22:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:56:05 [end_date_ymd] => 2025-03-19 22:56:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:56:05' and `end` < '2025-03-19 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-03-19 22:56:13] Production.ERROR: CronJobId end10 [2025-03-19 22:56:13] Production.INFO: ==14169== Releasing lock... [2025-03-19 22:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:56:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:56:15] Production.INFO: call_cost start [2025-03-19 22:56:15] Production.INFO: call_cost end [2025-03-19 22:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:56:15] Production.INFO: ==14165== Releasing lock... [2025-03-19 22:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:56:17] Production.INFO: count ==903 [2025-03-19 22:56:17] Production.ERROR: pbx CDR StartTime 2025-03-19 19:56:05 - End Time 2025-03-19 22:56:05 [2025-03-19 22:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718697', 'tblTempUsageDetail_20' ) start [2025-03-19 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718697', 'tblTempUsageDetail_20' ) end [2025-03-19 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718697', 'tblTempVendorCDR_20' ) start [2025-03-19 22:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718697', 'tblTempVendorCDR_20' ) end [2025-03-19 22:56:17] Production.INFO: ProcessCDR(1,14718697,1,1,2) [2025-03-19 22:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718697', 'tblTempUsageDetail_20' ) start [2025-03-19 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718697', 'tblTempUsageDetail_20' ) end [2025-03-19 22:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:56:21] Production.INFO: ==14173== Releasing lock... [2025-03-19 22:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:56:21] Production.INFO: 35.5 MB #Memory Used# [2025-03-20 02:57:02] Production.INFO: ==14241== Lock acquired, processing the job... [2025-03-20 02:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:57:02] Production.INFO: neon service started [2025-03-20 02:57:02] Production.INFO: neon service started [2025-03-20 02:57:02] Production.INFO: ==14241== Releasing lock... [2025-03-20 02:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:57:02] Production.INFO: ==14243== Lock acquired, processing the job... [2025-03-19 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:57:03] Production.INFO: ==14245== Lock acquired, processing the job... [2025-03-20 02:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:57:03] Production.INFO: ==14245== Releasing lock... [2025-03-20 02:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:57:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:57:03] Production.INFO: ==14243== Releasing lock... [2025-03-19 22:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:57:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:57:04] Production.INFO: ==14254== Lock acquired, processing the job... [2025-03-19 22:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:57:04] Production.INFO: ==14258== Lock acquired, processing the job... [2025-03-19 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:57:04] Production.INFO: Account Balance Start. [2025-03-19 22:57:04] Production.INFO: CreateAllLog Start [2025-03-19 22:57:04] Production.INFO: 117 [2025-03-19 22:57:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:57:04] Production.INFO: ==14248== Lock acquired, processing the job... [2025-03-19 22:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:57:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:57:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:57:04] Production.INFO: ==14250== Lock acquired, processing the job... [2025-03-19 22:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:57:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:57:04] Production.INFO: count ==12 [2025-03-19 22:57:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:57:04] Production.INFO: ==14256== Lock acquired, processing the job... [2025-03-19 22:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 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-03-19 22:57:04] Production.INFO: count ==23 [2025-03-19 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718699') start [2025-03-19 22:57:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:57:04] Production.INFO: ==14252== Lock acquired, processing the job... [2025-03-19 22:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:57:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:57:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718699') end [2025-03-19 22:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:57:04] Production.INFO: 1 [2025-03-19 22:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:57:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:57:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:57:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:57:04] Production.INFO: ==14258== Releasing lock... [2025-03-19 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:57:04] Production.INFO: ==14250== Releasing lock... [2025-03-19 22:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:57:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:57:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:57:05] Production.INFO: Total Charge 0 [2025-03-19 22:57:05] Production.ERROR: done [2025-03-19 22:57:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:57:05] Production.INFO: CreateAllLog End [2025-03-19 22:57:05] Production.ERROR: done [2025-03-19 22:57:05] Production.INFO: Account Balance End. [2025-03-19 22:57:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:57:05] Production.INFO: ==14254== Releasing lock... [2025-03-19 22:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:57:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:57:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:57:06 [end_date_ymd] => 2025-03-19 22:57:06 [RateCDR] => 1 ) [2025-03-19 22:57:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:57:06' and `end` < '2025-03-19 22:57:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:57:15] Production.ERROR: CronJobId end10 [2025-03-19 22:57:15] Production.INFO: ==14252== Releasing lock... [2025-03-19 22:57:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:57:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:57:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:57:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:57:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:57:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:57:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:57:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:57:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:57:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:57:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:57:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:57:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:57:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:57:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:57:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:57:16] Production.INFO: call_cost start [2025-03-19 22:57:16] Production.INFO: call_cost end [2025-03-19 22:57:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:57:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:57:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:57:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:57:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:57:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:57:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:57:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:57:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:57:17] Production.INFO: ==14248== Releasing lock... [2025-03-19 22:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:57:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:57:18] Production.INFO: count ==901 [2025-03-19 22:57:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:57:06 - End Time 2025-03-19 22:57:06 [2025-03-19 22:57:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718702', 'tblTempUsageDetail_20' ) start [2025-03-19 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718702', 'tblTempUsageDetail_20' ) end [2025-03-19 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718702', 'tblTempVendorCDR_20' ) start [2025-03-19 22:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718702', 'tblTempVendorCDR_20' ) end [2025-03-19 22:57:18] Production.INFO: ProcessCDR(1,14718702,1,1,2) [2025-03-19 22:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718702', 'tblTempUsageDetail_20' ) start [2025-03-19 22:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718702', 'tblTempUsageDetail_20' ) end [2025-03-19 22:57:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:57:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:57:22] Production.INFO: ==14256== Releasing lock... [2025-03-19 22:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:57:22] Production.INFO: 35 MB #Memory Used# [2025-03-20 02:58:01] Production.INFO: ==14322== Lock acquired, processing the job... [2025-03-20 02:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:58:01] Production.INFO: neon service started [2025-03-20 02:58:01] Production.INFO: neon service started [2025-03-20 02:58:01] Production.INFO: ==14322== Releasing lock... [2025-03-20 02:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:58:02] Production.INFO: ==14324== Lock acquired, processing the job... [2025-03-19 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:58:02] Production.INFO: ==14326== Lock acquired, processing the job... [2025-03-20 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:58:02] Production.INFO: ==14326== Releasing lock... [2025-03-20 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:58:02] Production.INFO: ==14324== Releasing lock... [2025-03-19 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:58:03] Production.INFO: ==14337== Lock acquired, processing the job... [2025-03-19 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:58:03] Production.INFO: ==14331== Lock acquired, processing the job... [2025-03-19 22:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:58:03] Production.INFO: Account Balance Start. [2025-03-19 22:58:03] Production.INFO: CreateAllLog Start [2025-03-19 22:58:03] Production.INFO: 117 [2025-03-19 22:58:03] Production.INFO: ==14341== Lock acquired, processing the job... [2025-03-19 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 22:58:03] Production.INFO: ==14335== Lock acquired, processing the job... [2025-03-19 22:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:58:03] Production.INFO: Date 2025-03-08 [2025-03-19 22:58:03] Production.INFO: ==14333== Lock acquired, processing the job... [2025-03-19 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:58:03] Production.INFO: Date 2025-03-09 [2025-03-19 22:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 22:58:03] Production.INFO: ==14339== Lock acquired, processing the job... [2025-03-19 22:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:58:03] Production.INFO: count ==12 [2025-03-19 22:58:03] Production.INFO: Date 2025-03-10 [2025-03-19 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-03-19 22:58:03] Production.INFO: count ==23 [2025-03-19 22:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:58:03] Production.INFO: Date 2025-03-11 [2025-03-19 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718704') start [2025-03-19 22:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:58:03] Production.INFO: Date 2025-03-12 [2025-03-19 22:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:58:03] Production.INFO: Date 2025-03-13 [2025-03-19 22:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 22:58:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718704') end [2025-03-19 22:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:58:04] Production.INFO: 1 [2025-03-19 22:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:58:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:58:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:58:04] Production.INFO: ==14341== Releasing lock... [2025-03-19 22:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:58:04] Production.INFO: ==14333== Releasing lock... [2025-03-19 22:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:58:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:58:04] Production.INFO: Date 2025-03-18 [2025-03-19 22:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:58:04] Production.INFO: Date 2025-03-19 [2025-03-19 22:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:58:04] Production.ERROR: done [2025-03-19 22:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:58:04] Production.INFO: Total Charge 0 [2025-03-19 22:58:04] Production.INFO: CreateAllLog End [2025-03-19 22:58:04] Production.ERROR: done [2025-03-19 22:58:04] Production.INFO: Account Balance End. [2025-03-19 22:58:04] Production.ERROR: CronJobId end 12 [2025-03-19 22:58:04] Production.INFO: ==14337== Releasing lock... [2025-03-19 22:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:58:05 [end_date_ymd] => 2025-03-19 22:58:05 [RateCDR] => 1 ) [2025-03-19 22:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 19:58:05' and `end` < '2025-03-19 22:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 22:58:13] Production.ERROR: CronJobId end10 [2025-03-19 22:58:13] Production.INFO: ==14335== Releasing lock... [2025-03-19 22:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:58:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:58:14] Production.INFO: call_cost start [2025-03-19 22:58:14] Production.INFO: call_cost end [2025-03-19 22:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:58:15] Production.INFO: ==14331== Releasing lock... [2025-03-19 22:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:58:17] Production.INFO: count ==898 [2025-03-19 22:58:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:58:05 - End Time 2025-03-19 22:58:05 [2025-03-19 22:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718707', 'tblTempUsageDetail_20' ) start [2025-03-19 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718707', 'tblTempUsageDetail_20' ) end [2025-03-19 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718707', 'tblTempVendorCDR_20' ) start [2025-03-19 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718707', 'tblTempVendorCDR_20' ) end [2025-03-19 22:58:18] Production.INFO: ProcessCDR(1,14718707,1,1,2) [2025-03-19 22:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718707', 'tblTempUsageDetail_20' ) start [2025-03-19 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718707', 'tblTempUsageDetail_20' ) end [2025-03-19 22:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:58:21] Production.INFO: ==14339== Releasing lock... [2025-03-19 22:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:58:21] Production.INFO: 35.5 MB #Memory Used# [2025-03-20 02:59:02] Production.INFO: ==14408== Lock acquired, processing the job... [2025-03-20 02:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 02:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 02:59:02] Production.INFO: neon service started [2025-03-20 02:59:02] Production.INFO: neon service started [2025-03-20 02:59:02] Production.INFO: ==14408== Releasing lock... [2025-03-20 02:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 02:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 22:59:02] Production.INFO: ==14410== Lock acquired, processing the job... [2025-03-19 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:59:02] Production.INFO: ==14412== Lock acquired, processing the job... [2025-03-20 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:59:02] Production.INFO: ==14412== Releasing lock... [2025-03-20 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 02:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 22:59:03] Production.INFO: ==14410== Releasing lock... [2025-03-19 22:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 22:59:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 22:59:03] Production.INFO: ==14415== Lock acquired, processing the job... [2025-03-19 22:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 22:59:03] Production.INFO: ==14419== Lock acquired, processing the job... [2025-03-19 22:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 22:59:04] Production.INFO: ==14423== Lock acquired, processing the job... [2025-03-19 22:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 22:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 22:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 22:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 22:59:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 22:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 22:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 22:59:04] Production.INFO: ==14417== Lock acquired, processing the job... [2025-03-19 22:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 22:59:04] Production.INFO: ==14421== Lock acquired, processing the job... [2025-03-19 22:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 22:59:04] Production.INFO: ==14425== Lock acquired, processing the job... [2025-03-19 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 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-03-19 22:59:04] Production.INFO: Account Balance Start. [2025-03-19 22:59:04] Production.INFO: CreateAllLog Start [2025-03-19 22:59:04] Production.INFO: 117 [2025-03-19 22:59:04] Production.INFO: Date 2025-03-08 [2025-03-19 22:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:04] Production.INFO: count ==12 [2025-03-19 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-03-19 22:59:04] Production.INFO: Date 2025-03-09 [2025-03-19 22:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:04] Production.INFO: count ==23 [2025-03-19 22:59:04] Production.ERROR: done [2025-03-19 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718709') start [2025-03-19 22:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 22:59:04] Production.INFO: ==14417== Releasing lock... [2025-03-19 22:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 22:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 22:59:04] Production.INFO: Date 2025-03-10 [2025-03-19 22:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718709') end [2025-03-19 22:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 22:59:04] Production.INFO: 1 [2025-03-19 22:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 22:59:04] Production.INFO: Date 2025-03-11 [2025-03-19 22:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:04] Production.INFO: Date 2025-03-12 [2025-03-19 22:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:04] Production.ERROR: done [2025-03-19 22:59:04] Production.INFO: ==14425== Releasing lock... [2025-03-19 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 22:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 22:59:04] Production.INFO: Date 2025-03-13 [2025-03-19 22:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:04] Production.INFO: Date 2025-03-14 [2025-03-19 22:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:04] Production.INFO: Date 2025-03-15 [2025-03-19 22:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:04] Production.INFO: Date 2025-03-16 [2025-03-19 22:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:04] Production.INFO: Date 2025-03-17 [2025-03-19 22:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:05] Production.INFO: Date 2025-03-18 [2025-03-19 22:59:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:05] Production.INFO: Date 2025-03-19 [2025-03-19 22:59:05] Production.INFO: Reseller ==> 0 [2025-03-19 22:59:05] Production.INFO: Total Charge 0 [2025-03-19 22:59:05] Production.INFO: CreateAllLog End [2025-03-19 22:59:05] Production.INFO: Account Balance End. [2025-03-19 22:59:05] Production.ERROR: CronJobId end 12 [2025-03-19 22:59:05] Production.INFO: ==14421== Releasing lock... [2025-03-19 22:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 22:59:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 22:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 19:59:05 [end_date_ymd] => 2025-03-19 22:59:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 19:59:05' and `end` < '2025-03-19 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-03-19 22:59:13] Production.ERROR: CronJobId end10 [2025-03-19 22:59:13] Production.INFO: ==14419== Releasing lock... [2025-03-19 22:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 22:59:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 22:59:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 22:59:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 22:59:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 22:59:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 22:59:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 22:59:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 22:59:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 22:59:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 22:59:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 22:59:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 22:59:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 22:59:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 22:59:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 22:59:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 22:59:15] Production.INFO: call_cost start [2025-03-19 22:59:15] Production.INFO: call_cost end [2025-03-19 22:59:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 22:59:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 22:59:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 22:59:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 22:59:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 22:59:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 22:59:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 22:59:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 22:59:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 22:59:16] Production.INFO: ==14415== Releasing lock... [2025-03-19 22:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 22:59:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 22:59:18] Production.INFO: count ==897 [2025-03-19 22:59:18] Production.ERROR: pbx CDR StartTime 2025-03-19 19:59:05 - End Time 2025-03-19 22:59:05 [2025-03-19 22:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718712', 'tblTempUsageDetail_20' ) start [2025-03-19 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718712', 'tblTempUsageDetail_20' ) end [2025-03-19 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718712', 'tblTempVendorCDR_20' ) start [2025-03-19 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718712', 'tblTempVendorCDR_20' ) end [2025-03-19 22:59:18] Production.INFO: ProcessCDR(1,14718712,1,1,2) [2025-03-19 22:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 22:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 22:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718712', 'tblTempUsageDetail_20' ) start [2025-03-19 22:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718712', 'tblTempUsageDetail_20' ) end [2025-03-19 22:59:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 22:59:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 22:59:22] Production.INFO: ==14423== Releasing lock... [2025-03-19 22:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 22:59:22] Production.INFO: 35.25 MB #Memory Used# [2025-03-20 03:00:01] Production.INFO: ==14492== Lock acquired, processing the job... [2025-03-20 03:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:00:01] Production.INFO: neon service started [2025-03-20 03:00:01] Production.INFO: neon service started [2025-03-20 03:00:01] Production.INFO: ==14492== Releasing lock... [2025-03-20 03:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:00:02] Production.INFO: ==14495== Lock acquired, processing the job... [2025-03-19 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:00:02] Production.INFO: ==14497== Lock acquired, processing the job... [2025-03-20 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:00:02] Production.INFO: ==14497== Releasing lock... [2025-03-20 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:00:02] Production.INFO: ==14495== Releasing lock... [2025-03-19 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:00:03] Production.INFO: ==14499== Lock acquired, processing the job... [2025-03-19 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 23:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 23:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 23:00:03] Production.INFO: ==14499== Releasing lock... [2025-03-19 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 23:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 23:00:03] Production.INFO: ==14501== Lock acquired, processing the job... [2025-03-19 23:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:00:03] Production.INFO: ==14503== Lock acquired, processing the job... [2025-03-19 23:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:00:03] Production.INFO: ==14505== Lock acquired, processing the job... [2025-03-19 23:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:00:04] Production.INFO: ==14507== Lock acquired, processing the job... [2025-03-19 23:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts# [2025-03-19 23:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:00:04] Production.INFO: ==14511== Lock acquired, processing the job... [2025-03-19 23:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:00:04] Production.INFO: ==14516== Lock acquired, processing the job... [2025-03-19 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:00:04] Production.INFO: ==14509== Lock acquired, processing the job... [2025-03-19 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' ) [2025-03-19 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-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: count ==12 [2025-03-19 23:00:04] Production.INFO: ==14514== Lock acquired, processing the job... [2025-03-19 23:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' ) [2025-03-19 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-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: count ==23 [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' ) [2025-03-19 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718715') start [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' ) [2025-03-19 23:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:04] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' ) [2025-03-19 23:00:04] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-19 23:00:04] Production.INFO: ==14503== Releasing lock... [2025-03-19 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718715') end [2025-03-19 23:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:00:04] Production.INFO: 1 [2025-03-19 23:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:00:04] Production.INFO: Outstanding Amount 43.21 [2025-03-19 23:00:04] Production.INFO: Invoice Full Number INV11689 [2025-03-19 23:00:04] Production.INFO: Transaction start [2025-03-19 23:00:04] Production.INFO: Account Balance Start. [2025-03-19 23:00:04] Production.INFO: CreateAllLog Start [2025-03-19 23:00:04] Production.INFO: 117 [2025-03-19 23:00:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:04] Production.INFO: ==14516== Releasing lock... [2025-03-19 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:00:04] Production.ERROR: done [2025-03-19 23:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:00:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:04] Production.ERROR: done [2025-03-19 23:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 23:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718717', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 23:00:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:00:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:05] Production.INFO: Date 2025-03-12 [2025-03-19 23:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:05] Production.ERROR: done [2025-03-19 23:00:05] Production.INFO: Date 2025-03-13 [2025-03-19 23:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:05] Production.INFO: Date 2025-03-14 [2025-03-19 23:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:05] Production.INFO: Date 2025-03-15 [2025-03-19 23:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:00:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:00:05] Production.INFO: Total Charge 0 [2025-03-19 23:00:05] Production.INFO: CreateAllLog End [2025-03-19 23:00:05] Production.INFO: Account Balance End. [2025-03-19 23:00:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:00:05] Production.INFO: ==14509== Releasing lock... [2025-03-19 23:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:00:06] Production.ERROR: exception 'Cartalyst\Stripe\Exception\CardErrorException' with message 'Your card was declined.' in /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php:121 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php(91): Cartalyst\Stripe\Exception\Handler->handleException('Your card was d...', 402, 'card_error', 'card_declined', NULL) #1 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Http/Client.php(100): Cartalyst\Stripe\Exception\Handler->__construct(Object(GuzzleHttp\Exception\ClientException)) #2 /var/www/html/onswitch.neon.service/vendor/guzzlehttp/guzzle/src/Client.php(150): Cartalyst\Stripe\Http\Client->send(Object(GuzzleHttp\Message\Request)) #3 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(154): GuzzleHttp\Client->post('v1/charges', Array) #4 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(136): Cartalyst\Stripe\Api\Api->execute('post', 'charges', Array) #5 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Charges.php(33): Cartalyst\Stripe\Api\Api->_post('charges', Array) #6 /var/www/html/onswitch.neon.service/app/lib/StripeBilling.php(0): Cartalyst\Stripe\Api\Charges->create() #7 /var/www/html/onswitch.neon.service/app/lib/PaymentGateway.php(0): App\Lib\StripeBilling::createchargebycustomer() #8 /var/www/html/onswitch.neon.service/app/Console/Commands/BulkAutoPaymentCapture.php(0): App\Lib\PaymentGateway::addTransaction() #9 [internal function]: App\Console\Commands\BulkAutoPaymentCapture->fire() #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\BulkAutoPaymentCapture), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 {main} [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 5 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 7 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 0 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 2 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 4 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 19 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 0 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '260', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '262', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '263', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '264', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-19 23:00:06] Production.INFO: PaymentMethod - 1 [2025-03-19 23:00:06] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '266', '0', '1' ) [2025-03-19 23:00:06] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-19 23:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:00:06 [end_date_ymd] => 2025-03-19 23:00:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:00:06' and `end` < '2025-03-19 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-03-19 23:00:08] Production.ERROR: CronJobId end11 [2025-03-19 23:00:08] Production.INFO: ==14507== Releasing lock... [2025-03-19 23:00:08] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops# [2025-03-19 23:00:08] Production.INFO: 33.75 MB #Memory Used# [2025-03-19 23:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718717', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 23:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 23:00:09] Production.INFO: ProcessCDR(1,14718717,1,1,2) [2025-03-19 23:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718717,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718717,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:00:10] Production.INFO: ==14514== Releasing lock... [2025-03-19 23:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 23:00:10] Production.INFO: 26 MB #Memory Used# [2025-03-19 23:00:15] 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-03-19 23:00:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:00:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:00:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:00:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:00:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:00:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:00:15] Production.ERROR: CronJobId end10 [2025-03-19 23:00:15] Production.INFO: ==14505== Releasing lock... [2025-03-19 23:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:00:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:00:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:00:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:00:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:00:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:00:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:00:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:00:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:00:15] Production.INFO: call_cost start [2025-03-19 23:00:15] Production.INFO: call_cost end [2025-03-19 23:00:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:00:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:00:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:00:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:00:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:00:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:00:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:00:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:00:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:00:16] Production.INFO: ==14501== Releasing lock... [2025-03-19 23:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:00:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:00:19] Production.INFO: count ==894 [2025-03-19 23:00:19] Production.ERROR: pbx CDR StartTime 2025-03-19 20:00:06 - End Time 2025-03-19 23:00:06 [2025-03-19 23:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718718', 'tblTempUsageDetail_20' ) start [2025-03-19 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718718', 'tblTempUsageDetail_20' ) end [2025-03-19 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718718', 'tblTempVendorCDR_20' ) start [2025-03-19 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718718', 'tblTempVendorCDR_20' ) end [2025-03-19 23:00:19] Production.INFO: ProcessCDR(1,14718718,1,1,2) [2025-03-19 23:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718718', 'tblTempUsageDetail_20' ) start [2025-03-19 23:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718718', 'tblTempUsageDetail_20' ) end [2025-03-19 23:00:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:00:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:00:22] Production.INFO: ==14511== Releasing lock... [2025-03-19 23:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:00:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 03:01:02] Production.INFO: ==14625== Lock acquired, processing the job... [2025-03-20 03:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:01:02] Production.INFO: neon service started [2025-03-20 03:01:02] Production.INFO: neon service started [2025-03-20 03:01:02] Production.INFO: ==14625== Releasing lock... [2025-03-20 03:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:01:02] Production.INFO: ==14648== Lock acquired, processing the job... [2025-03-19 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:01:02] Production.INFO: ==14650== Lock acquired, processing the job... [2025-03-20 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:01:02] Production.INFO: ==14650== Releasing lock... [2025-03-20 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:01:03] Production.INFO: ==14648== Releasing lock... [2025-03-19 23:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:01:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:01:03] Production.INFO: ==14681== Lock acquired, processing the job... [2025-03-19 23:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:01:04] Production.INFO: ==14683== Lock acquired, processing the job... [2025-03-19 23:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:01:04] Production.INFO: ==14689== Lock acquired, processing the job... [2025-03-19 23:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:01:04] Production.INFO: ==14685== Lock acquired, processing the job... [2025-03-19 23:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:01:04] Production.INFO: ==14687== Lock acquired, processing the job... [2025-03-19 23:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:01:04] Production.INFO: ==14691== Lock acquired, processing the job... [2025-03-19 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:01:04] Production.INFO: Account Balance Start. [2025-03-19 23:01:04] Production.INFO: CreateAllLog Start [2025-03-19 23:01:04] Production.INFO: 117 [2025-03-19 23:01:04] Production.INFO: ==14683== Releasing lock... [2025-03-19 23:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:01:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:01:04] Production.INFO: count ==12 [2025-03-19 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-03-19 23:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:04] Production.INFO: count ==23 [2025-03-19 23:01:04] Production.ERROR: done [2025-03-19 23:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718722') start [2025-03-19 23:01:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718722') end [2025-03-19 23:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:01:04] Production.INFO: 1 [2025-03-19 23:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:01:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:01:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:04] Production.ERROR: done [2025-03-19 23:01:05] Production.INFO: Date 2025-03-11 [2025-03-19 23:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:05] Production.INFO: ==14691== Releasing lock... [2025-03-19 23:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:01:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:01:05] Production.INFO: Date 2025-03-12 [2025-03-19 23:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:05] Production.INFO: Date 2025-03-13 [2025-03-19 23:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:05] Production.INFO: Date 2025-03-14 [2025-03-19 23:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:05] Production.INFO: Date 2025-03-15 [2025-03-19 23:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:01:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:01:05] Production.INFO: Total Charge 0 [2025-03-19 23:01:05] Production.INFO: CreateAllLog End [2025-03-19 23:01:05] Production.INFO: Account Balance End. [2025-03-19 23:01:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:01:05] Production.INFO: ==14687== Releasing lock... [2025-03-19 23:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:01:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:01:06 [end_date_ymd] => 2025-03-19 23:01:06 [RateCDR] => 1 ) [2025-03-19 23:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:01:06' and `end` < '2025-03-19 23:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:01:14] Production.ERROR: CronJobId end10 [2025-03-19 23:01:14] Production.INFO: ==14685== Releasing lock... [2025-03-19 23:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:01:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:01:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:01:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:01:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:01:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:01:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:01:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:01:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:01:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:01:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:01:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:01:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:01:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:01:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:01:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:01:16] Production.INFO: call_cost start [2025-03-19 23:01:16] Production.INFO: call_cost end [2025-03-19 23:01:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:01:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:01:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:01:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:01:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:01:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:01:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:01:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:01:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:01:17] Production.INFO: ==14681== Releasing lock... [2025-03-19 23:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:01:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:01:18] Production.INFO: count ==853 [2025-03-19 23:01:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:01:06 - End Time 2025-03-19 23:01:06 [2025-03-19 23:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718723', 'tblTempUsageDetail_20' ) start [2025-03-19 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718723', 'tblTempUsageDetail_20' ) end [2025-03-19 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718723', 'tblTempVendorCDR_20' ) start [2025-03-19 23:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718723', 'tblTempVendorCDR_20' ) end [2025-03-19 23:01:18] Production.INFO: ProcessCDR(1,14718723,1,1,2) [2025-03-19 23:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718723', 'tblTempUsageDetail_20' ) start [2025-03-19 23:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718723', 'tblTempUsageDetail_20' ) end [2025-03-19 23:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:01:21] Production.INFO: ==14689== Releasing lock... [2025-03-19 23:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:01:21] Production.INFO: 35 MB #Memory Used# [2025-03-20 03:02:01] Production.INFO: ==14758== Lock acquired, processing the job... [2025-03-20 03:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:02:01] Production.INFO: neon service started [2025-03-20 03:02:01] Production.INFO: neon service started [2025-03-20 03:02:01] Production.INFO: ==14758== Releasing lock... [2025-03-20 03:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:02:01] Production.INFO: ==14760== Lock acquired, processing the job... [2025-03-19 23:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:02:02] Production.INFO: ==14762== Lock acquired, processing the job... [2025-03-20 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:02:02] Production.INFO: ==14762== Releasing lock... [2025-03-20 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:02:02] Production.INFO: ==14760== Releasing lock... [2025-03-19 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:02:03] Production.INFO: ==14771== Lock acquired, processing the job... [2025-03-19 23:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:02:03] Production.INFO: ==14773== Lock acquired, processing the job... [2025-03-19 23:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:02:03] Production.INFO: Account Balance Start. [2025-03-19 23:02:03] Production.INFO: CreateAllLog Start [2025-03-19 23:02:03] Production.INFO: 117 [2025-03-19 23:02:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:02:03] Production.INFO: ==14765== Lock acquired, processing the job... [2025-03-19 23:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:02:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:02:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:02:03] Production.INFO: ==14767== Lock acquired, processing the job... [2025-03-19 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:02:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:02:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:02:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:02:03] Production.INFO: ==14769== Lock acquired, processing the job... [2025-03-19 23:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:02:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:02:03] Production.INFO: ==14775== Lock acquired, processing the job... [2025-03-19 23:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:02:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:02:03] Production.INFO: Date 2025-03-16 [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:02:03] Production.INFO: Date 2025-03-17 [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:02:03] Production.INFO: Date 2025-03-18 [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:02:03] Production.INFO: count ==12 [2025-03-19 23:02:03] Production.INFO: Date 2025-03-19 [2025-03-19 23:02:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:02:03] Production.INFO: count ==23 [2025-03-19 23:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718727') start [2025-03-19 23:02:03] Production.ERROR: done [2025-03-19 23:02:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:02:03] Production.INFO: Total Charge 0 [2025-03-19 23:02:03] Production.INFO: CreateAllLog End [2025-03-19 23:02:03] Production.INFO: ==14767== Releasing lock... [2025-03-19 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718727') end [2025-03-19 23:02:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:02:03] Production.INFO: 1 [2025-03-19 23:02:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:02:03] Production.INFO: ==14775== Releasing lock... [2025-03-19 23:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:02:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:02:03] Production.INFO: Account Balance End. [2025-03-19 23:02:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:02:04] Production.INFO: ==14771== Releasing lock... [2025-03-19 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:02:04] Production.ERROR: done [2025-03-19 23:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:02:05 [end_date_ymd] => 2025-03-19 23:02:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:02:05' and `end` < '2025-03-19 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-03-19 23:02:13] Production.ERROR: CronJobId end10 [2025-03-19 23:02:13] Production.INFO: ==14769== Releasing lock... [2025-03-19 23:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:02:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:02:15] Production.INFO: call_cost start [2025-03-19 23:02:15] Production.INFO: call_cost end [2025-03-19 23:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:02:16] Production.INFO: ==14765== Releasing lock... [2025-03-19 23:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:02:17] Production.INFO: count ==848 [2025-03-19 23:02:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:02:05 - End Time 2025-03-19 23:02:05 [2025-03-19 23:02:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718728', 'tblTempUsageDetail_20' ) start [2025-03-19 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718728', 'tblTempUsageDetail_20' ) end [2025-03-19 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718728', 'tblTempVendorCDR_20' ) start [2025-03-19 23:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718728', 'tblTempVendorCDR_20' ) end [2025-03-19 23:02:17] Production.INFO: ProcessCDR(1,14718728,1,1,2) [2025-03-19 23:02:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718728', 'tblTempUsageDetail_20' ) start [2025-03-19 23:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718728', 'tblTempUsageDetail_20' ) end [2025-03-19 23:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:02:21] Production.INFO: ==14773== Releasing lock... [2025-03-19 23:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:02:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:03:01] Production.INFO: ==14847== Lock acquired, processing the job... [2025-03-20 03:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:03:02] Production.INFO: neon service started [2025-03-20 03:03:02] Production.INFO: neon service started [2025-03-20 03:03:02] Production.INFO: ==14847== Releasing lock... [2025-03-20 03:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:03:02] Production.INFO: ==14849== Lock acquired, processing the job... [2025-03-19 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:03:02] Production.INFO: ==14849== Releasing lock... [2025-03-19 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:03:02] Production.INFO: ==14851== Lock acquired, processing the job... [2025-03-20 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:03:02] Production.INFO: ==14851== Releasing lock... [2025-03-20 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:03:03] Production.INFO: ==14854== Lock acquired, processing the job... [2025-03-19 23:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:03:03] Production.INFO: ==14856== Lock acquired, processing the job... [2025-03-19 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:03:03] Production.INFO: ==14862== Lock acquired, processing the job... [2025-03-19 23:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:03:03] Production.INFO: ==14858== Lock acquired, processing the job... [2025-03-19 23:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:03:03] Production.INFO: ==14860== Lock acquired, processing the job... [2025-03-19 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:03:04] Production.INFO: ==14864== Lock acquired, processing the job... [2025-03-19 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:03:04] Production.INFO: ==14856== Releasing lock... [2025-03-19 23:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:03:04] Production.INFO: Account Balance Start. [2025-03-19 23:03:04] Production.INFO: CreateAllLog Start [2025-03-19 23:03:04] Production.INFO: 117 [2025-03-19 23:03:04] Production.INFO: count ==12 [2025-03-19 23:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:03:04] Production.ERROR: done [2025-03-19 23:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:03:04] Production.INFO: count ==23 [2025-03-19 23:03:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718732') start [2025-03-19 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:04] Production.ERROR: done [2025-03-19 23:03:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718732') end [2025-03-19 23:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:03:04] Production.INFO: 1 [2025-03-19 23:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:03:04] Production.INFO: ==14864== Releasing lock... [2025-03-19 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:03:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:03:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:03:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:03:05] Production.INFO: Total Charge 0 [2025-03-19 23:03:05] Production.INFO: CreateAllLog End [2025-03-19 23:03:05] Production.INFO: Account Balance End. [2025-03-19 23:03:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:03:05] Production.INFO: ==14860== Releasing lock... [2025-03-19 23:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:03:05 [end_date_ymd] => 2025-03-19 23:03:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:03:05' and `end` < '2025-03-19 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-03-19 23:03:13] Production.ERROR: CronJobId end10 [2025-03-19 23:03:13] Production.INFO: ==14858== Releasing lock... [2025-03-19 23:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:03:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:03:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:03:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:03:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:03:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:03:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:03:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:03:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:03:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:03:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:03:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:03:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:03:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:03:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:03:15] Production.INFO: call_cost start [2025-03-19 23:03:15] Production.INFO: call_cost end [2025-03-19 23:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:03:16] Production.INFO: ==14854== Releasing lock... [2025-03-19 23:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:03:17] Production.INFO: count ==852 [2025-03-19 23:03:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:03:05 - End Time 2025-03-19 23:03:05 [2025-03-19 23:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718733', 'tblTempUsageDetail_20' ) start [2025-03-19 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718733', 'tblTempUsageDetail_20' ) end [2025-03-19 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718733', 'tblTempVendorCDR_20' ) start [2025-03-19 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718733', 'tblTempVendorCDR_20' ) end [2025-03-19 23:03:18] Production.INFO: ProcessCDR(1,14718733,1,1,2) [2025-03-19 23:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718733', 'tblTempUsageDetail_20' ) start [2025-03-19 23:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718733', 'tblTempUsageDetail_20' ) end [2025-03-19 23:03:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:03:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:03:23] Production.INFO: ==14862== Releasing lock... [2025-03-19 23:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:03:23] Production.INFO: 35 MB #Memory Used# [2025-03-20 03:04:01] Production.INFO: ==14930== Lock acquired, processing the job... [2025-03-20 03:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:04:01] Production.INFO: neon service started [2025-03-20 03:04:01] Production.INFO: neon service started [2025-03-20 03:04:01] Production.INFO: ==14930== Releasing lock... [2025-03-20 03:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:04:01] Production.INFO: ==14933== Lock acquired, processing the job... [2025-03-19 23:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:04:02] Production.INFO: ==14933== Releasing lock... [2025-03-19 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:04:02] Production.INFO: ==14935== Lock acquired, processing the job... [2025-03-20 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:04:02] Production.INFO: ==14935== Releasing lock... [2025-03-20 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:04:03] Production.INFO: ==14943== Lock acquired, processing the job... [2025-03-19 23:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:04:03] Production.INFO: ==14945== Lock acquired, processing the job... [2025-03-19 23:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:04:03] Production.INFO: Account Balance Start. [2025-03-19 23:04:03] Production.INFO: CreateAllLog Start [2025-03-19 23:04:03] Production.INFO: 117 [2025-03-19 23:04:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:04:03] Production.INFO: ==14937== Lock acquired, processing the job... [2025-03-19 23:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.INFO: ==14939== Lock acquired, processing the job... [2025-03-19 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:04:03] Production.INFO: ==14941== Lock acquired, processing the job... [2025-03-19 23:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:04:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.INFO: ==14947== Lock acquired, processing the job... [2025-03-19 23:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:04:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:04:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:04:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:04:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.INFO: Date 2025-03-16 [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.ERROR: done [2025-03-19 23:04:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 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-03-19 23:04:03] Production.INFO: Date 2025-03-17 [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.INFO: count ==12 [2025-03-19 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-03-19 23:04:03] Production.INFO: count ==23 [2025-03-19 23:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718737') start [2025-03-19 23:04:03] Production.INFO: Date 2025-03-18 [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.ERROR: done [2025-03-19 23:04:03] Production.INFO: Date 2025-03-19 [2025-03-19 23:04:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718737') end [2025-03-19 23:04:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:04:03] Production.INFO: 1 [2025-03-19 23:04:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:04:03] Production.INFO: ==14939== Releasing lock... [2025-03-19 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:04:03] Production.INFO: ==14947== Releasing lock... [2025-03-19 23:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:04:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:04:03] Production.INFO: Total Charge 0 [2025-03-19 23:04:04] Production.INFO: CreateAllLog End [2025-03-19 23:04:04] Production.INFO: Account Balance End. [2025-03-19 23:04:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:04:04] Production.INFO: ==14943== Releasing lock... [2025-03-19 23:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:04:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:04:04 [end_date_ymd] => 2025-03-19 23:04:04 [RateCDR] => 1 ) [2025-03-19 23:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:04:04' and `end` < '2025-03-19 23:04:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:04:13] Production.ERROR: CronJobId end10 [2025-03-19 23:04:13] Production.INFO: ==14941== Releasing lock... [2025-03-19 23:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:04:14] Production.INFO: call_cost start [2025-03-19 23:04:14] Production.INFO: call_cost end [2025-03-19 23:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:04:15] Production.INFO: ==14937== Releasing lock... [2025-03-19 23:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:04:17] Production.INFO: count ==853 [2025-03-19 23:04:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:04:04 - End Time 2025-03-19 23:04:04 [2025-03-19 23:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718738', 'tblTempUsageDetail_20' ) start [2025-03-19 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718738', 'tblTempUsageDetail_20' ) end [2025-03-19 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718738', 'tblTempVendorCDR_20' ) start [2025-03-19 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718738', 'tblTempVendorCDR_20' ) end [2025-03-19 23:04:17] Production.INFO: ProcessCDR(1,14718738,1,1,2) [2025-03-19 23:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718738', 'tblTempUsageDetail_20' ) start [2025-03-19 23:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718738', 'tblTempUsageDetail_20' ) end [2025-03-19 23:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:04:21] Production.INFO: ==14945== Releasing lock... [2025-03-19 23:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:04:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 03:05:01] Production.INFO: ==15091== Lock acquired, processing the job... [2025-03-20 03:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:05:01] Production.INFO: neon service started [2025-03-20 03:05:01] Production.INFO: neon service started [2025-03-20 03:05:01] Production.INFO: ==15091== Releasing lock... [2025-03-20 03:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:05:02] Production.INFO: ==15093== Lock acquired, processing the job... [2025-03-19 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:05:02] Production.INFO: ==15093== Releasing lock... [2025-03-19 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:05:03] Production.INFO: ==15095== Lock acquired, processing the job... [2025-03-20 03:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:05:03] Production.INFO: ==15095== Releasing lock... [2025-03-20 03:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:05:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:05:03] Production.INFO: ==15099== Lock acquired, processing the job... [2025-03-19 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:05:03] Production.INFO: ==15097== Lock acquired, processing the job... [2025-03-19 23:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:05:03] Production.INFO: ==15103== Lock acquired, processing the job... [2025-03-19 23:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:05:03] Production.INFO: ==15105== Lock acquired, processing the job... [2025-03-19 23:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:05:03] Production.INFO: ==15101== Lock acquired, processing the job... [2025-03-19 23:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:05:03] Production.INFO: Account Balance Start. [2025-03-19 23:05:03] Production.INFO: CreateAllLog Start [2025-03-19 23:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:05:03] Production.INFO: 117 [2025-03-19 23:05:03] Production.INFO: ==15107== Lock acquired, processing the job... [2025-03-19 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:05:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:05:04] Production.INFO: ==15099== Releasing lock... [2025-03-19 23:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:05:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:05:04] Production.INFO: count ==12 [2025-03-19 23:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:05:04] Production.INFO: count ==23 [2025-03-19 23:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718742') start [2025-03-19 23:05:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.ERROR: done [2025-03-19 23:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718742') end [2025-03-19 23:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:05:04] Production.INFO: 1 [2025-03-19 23:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:05:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.INFO: ==15107== Releasing lock... [2025-03-19 23:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:05:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.ERROR: done [2025-03-19 23:05:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:05:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:05:04] Production.INFO: Total Charge 0 [2025-03-19 23:05:04] Production.INFO: CreateAllLog End [2025-03-19 23:05:04] Production.INFO: Account Balance End. [2025-03-19 23:05:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:05:04] Production.INFO: ==15103== Releasing lock... [2025-03-19 23:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:05:05 [end_date_ymd] => 2025-03-19 23:05:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:05:05' and `end` < '2025-03-19 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-03-19 23:05:13] Production.ERROR: CronJobId end10 [2025-03-19 23:05:13] Production.INFO: ==15101== Releasing lock... [2025-03-19 23:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:05:15] Production.INFO: call_cost start [2025-03-19 23:05:15] Production.INFO: call_cost end [2025-03-19 23:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:05:16] Production.INFO: ==15097== Releasing lock... [2025-03-19 23:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:05:18] Production.INFO: count ==855 [2025-03-19 23:05:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:05:05 - End Time 2025-03-19 23:05:05 [2025-03-19 23:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718743', 'tblTempUsageDetail_20' ) start [2025-03-19 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718743', 'tblTempUsageDetail_20' ) end [2025-03-19 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718743', 'tblTempVendorCDR_20' ) start [2025-03-19 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718743', 'tblTempVendorCDR_20' ) end [2025-03-19 23:05:18] Production.INFO: ProcessCDR(1,14718743,1,1,2) [2025-03-19 23:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718743', 'tblTempUsageDetail_20' ) start [2025-03-19 23:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718743', 'tblTempUsageDetail_20' ) end [2025-03-19 23:05:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:05:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:05:23] Production.INFO: ==15105== Releasing lock... [2025-03-19 23:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:05:23] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 03:06:01] Production.INFO: ==15174== Lock acquired, processing the job... [2025-03-20 03:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:06:01] Production.INFO: neon service started [2025-03-20 03:06:01] Production.INFO: neon service started [2025-03-20 03:06:01] Production.INFO: ==15174== Releasing lock... [2025-03-20 03:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:06:01] Production.INFO: ==15176== Lock acquired, processing the job... [2025-03-19 23:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:06:02] Production.INFO: ==15176== Releasing lock... [2025-03-19 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:06:02] Production.INFO: ==15178== Lock acquired, processing the job... [2025-03-20 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:06:02] Production.INFO: ==15178== Releasing lock... [2025-03-20 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:06:03] Production.INFO: ==15180== Lock acquired, processing the job... [2025-03-19 23:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:06:03] Production.INFO: ==15182== Lock acquired, processing the job... [2025-03-19 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:06:03] Production.INFO: ==15184== Lock acquired, processing the job... [2025-03-19 23:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:06:03] Production.INFO: ==15186== Lock acquired, processing the job... [2025-03-19 23:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:06:03] Production.INFO: ==15191== Lock acquired, processing the job... [2025-03-19 23:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:06:03] Production.INFO: ==15189== Lock acquired, processing the job... [2025-03-19 23:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:06:03] Production.INFO: Account Balance Start. [2025-03-19 23:06:03] Production.INFO: CreateAllLog Start [2025-03-19 23:06:03] Production.INFO: 117 [2025-03-19 23:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:06:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:06:03] Production.INFO: count ==12 [2025-03-19 23:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:06:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:06:03] Production.INFO: count ==23 [2025-03-19 23:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718747') start [2025-03-19 23:06:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718747') end [2025-03-19 23:06:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:06:03] Production.INFO: 1 [2025-03-19 23:06:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:06:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:03] Production.INFO: ==15191== Releasing lock... [2025-03-19 23:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:06:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:06:03] Production.ERROR: done [2025-03-19 23:06:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:06:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:06:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:03] Production.INFO: ==15182== Releasing lock... [2025-03-19 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:06:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:06:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:04] Production.ERROR: done [2025-03-19 23:06:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:06:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:06:04] Production.INFO: Total Charge 0 [2025-03-19 23:06:04] Production.INFO: CreateAllLog End [2025-03-19 23:06:04] Production.INFO: Account Balance End. [2025-03-19 23:06:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:06:04] Production.INFO: ==15186== Releasing lock... [2025-03-19 23:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:06:05 [end_date_ymd] => 2025-03-19 23:06:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:06:05' and `end` < '2025-03-19 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-03-19 23:06:13] Production.ERROR: CronJobId end10 [2025-03-19 23:06:13] Production.INFO: ==15184== Releasing lock... [2025-03-19 23:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:06:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:06:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:06:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:06:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:06:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:06:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:06:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:06:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:06:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:06:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:06:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:06:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:06:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:06:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:06:14] Production.INFO: call_cost start [2025-03-19 23:06:14] Production.INFO: call_cost end [2025-03-19 23:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:06:15] Production.INFO: ==15180== Releasing lock... [2025-03-19 23:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:06:17] Production.INFO: count ==845 [2025-03-19 23:06:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:06:05 - End Time 2025-03-19 23:06:05 [2025-03-19 23:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718748', 'tblTempUsageDetail_20' ) start [2025-03-19 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718748', 'tblTempUsageDetail_20' ) end [2025-03-19 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718748', 'tblTempVendorCDR_20' ) start [2025-03-19 23:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718748', 'tblTempVendorCDR_20' ) end [2025-03-19 23:06:17] Production.INFO: ProcessCDR(1,14718748,1,1,2) [2025-03-19 23:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718748', 'tblTempUsageDetail_20' ) start [2025-03-19 23:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718748', 'tblTempUsageDetail_20' ) end [2025-03-19 23:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:06:21] Production.INFO: ==15189== Releasing lock... [2025-03-19 23:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:06:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:07:01] Production.INFO: ==15260== Lock acquired, processing the job... [2025-03-20 03:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:07:01] Production.INFO: neon service started [2025-03-20 03:07:01] Production.INFO: neon service started [2025-03-20 03:07:01] Production.INFO: ==15260== Releasing lock... [2025-03-20 03:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:07:02] Production.INFO: ==15264== Lock acquired, processing the job... [2025-03-20 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 23:07:02] Production.INFO: ==15262== Lock acquired, processing the job... [2025-03-19 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:07:02] Production.INFO: ==15264== Releasing lock... [2025-03-20 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:07:02] Production.INFO: ==15262== Releasing lock... [2025-03-19 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:07:03] Production.INFO: ==15267== Lock acquired, processing the job... [2025-03-19 23:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:07:03] Production.INFO: ==15269== Lock acquired, processing the job... [2025-03-19 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:07:03] Production.INFO: ==15273== Lock acquired, processing the job... [2025-03-19 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:07:03] Production.INFO: Account Balance Start. [2025-03-19 23:07:03] Production.INFO: CreateAllLog Start [2025-03-19 23:07:03] Production.INFO: 117 [2025-03-19 23:07:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:07:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:03] Production.INFO: ==15271== Lock acquired, processing the job... [2025-03-19 23:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:07:03] Production.INFO: ==15269== Releasing lock... [2025-03-19 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:07:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:07:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:03] Production.INFO: ==15275== Lock acquired, processing the job... [2025-03-19 23:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:07:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:07:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:04] Production.INFO: ==15277== Lock acquired, processing the job... [2025-03-19 23:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:07:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:07:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:07:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:04] Production.INFO: count ==12 [2025-03-19 23:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:07:04] Production.INFO: count ==23 [2025-03-19 23:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718752') start [2025-03-19 23:07:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:04] Production.ERROR: done [2025-03-19 23:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:07:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:07:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:07:04] Production.INFO: Total Charge 0 [2025-03-19 23:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718752') end [2025-03-19 23:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:07:04] Production.INFO: 1 [2025-03-19 23:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:07:04] Production.INFO: CreateAllLog End [2025-03-19 23:07:04] Production.INFO: ==15277== Releasing lock... [2025-03-19 23:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:07:04] Production.ERROR: done [2025-03-19 23:07:04] Production.INFO: Account Balance End. [2025-03-19 23:07:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:07:04] Production.INFO: ==15273== Releasing lock... [2025-03-19 23:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:07:05 [end_date_ymd] => 2025-03-19 23:07:05 [RateCDR] => 1 ) [2025-03-19 23:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:07:05' and `end` < '2025-03-19 23:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:07:14] Production.ERROR: CronJobId end10 [2025-03-19 23:07:14] Production.INFO: ==15271== Releasing lock... [2025-03-19 23:07:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:07:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:07:15] Production.INFO: call_cost start [2025-03-19 23:07:15] Production.INFO: call_cost end [2025-03-19 23:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:07:16] Production.INFO: ==15267== Releasing lock... [2025-03-19 23:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:07:17] Production.INFO: count ==837 [2025-03-19 23:07:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:07:05 - End Time 2025-03-19 23:07:05 [2025-03-19 23:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718753', 'tblTempUsageDetail_20' ) start [2025-03-19 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718753', 'tblTempUsageDetail_20' ) end [2025-03-19 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718753', 'tblTempVendorCDR_20' ) start [2025-03-19 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718753', 'tblTempVendorCDR_20' ) end [2025-03-19 23:07:18] Production.INFO: ProcessCDR(1,14718753,1,1,2) [2025-03-19 23:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718753', 'tblTempUsageDetail_20' ) start [2025-03-19 23:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718753', 'tblTempUsageDetail_20' ) end [2025-03-19 23:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:07:21] Production.INFO: ==15275== Releasing lock... [2025-03-19 23:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:07:21] Production.INFO: 35 MB #Memory Used# [2025-03-20 03:08:02] Production.INFO: ==15429== Lock acquired, processing the job... [2025-03-20 03:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:08:02] Production.INFO: neon service started [2025-03-20 03:08:02] Production.INFO: neon service started [2025-03-20 03:08:02] Production.INFO: ==15429== Releasing lock... [2025-03-20 03:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:08:02] Production.INFO: ==15431== Lock acquired, processing the job... [2025-03-19 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:08:02] Production.INFO: ==15433== Lock acquired, processing the job... [2025-03-20 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 23:08:02] Production.INFO: ==15431== Releasing lock... [2025-03-19 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:08:03] Production.INFO: ==15433== Releasing lock... [2025-03-20 03:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:08:03] Production.INFO: ==15436== Lock acquired, processing the job... [2025-03-19 23:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:08:03] Production.INFO: ==15438== Lock acquired, processing the job... [2025-03-19 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:08:03] Production.INFO: ==15440== Lock acquired, processing the job... [2025-03-19 23:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:08:04] Production.INFO: ==15442== Lock acquired, processing the job... [2025-03-19 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:08:04] Production.INFO: ==15438== Releasing lock... [2025-03-19 23:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:08:04] Production.INFO: ==15444== Lock acquired, processing the job... [2025-03-19 23:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:08:04] Production.INFO: ==15446== Lock acquired, processing the job... [2025-03-19 23:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:08:04] Production.INFO: Account Balance Start. [2025-03-19 23:08:04] Production.INFO: CreateAllLog Start [2025-03-19 23:08:04] Production.INFO: 117 [2025-03-19 23:08:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:08:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:08:04] Production.INFO: count ==12 [2025-03-19 23:08:04] Production.INFO: Date 2025-03-10 [2025-03-19 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-03-19 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:08:04] Production.ERROR: done [2025-03-19 23:08:04] Production.INFO: count ==23 [2025-03-19 23:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718757') start [2025-03-19 23:08:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:08:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:08:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:08:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:08:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:08:04] Production.ERROR: done [2025-03-19 23:08:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:08:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:08:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:08:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718757') end [2025-03-19 23:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:08:04] Production.INFO: 1 [2025-03-19 23:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:08:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:08:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:08:05] Production.INFO: Total Charge 0 [2025-03-19 23:08:05] Production.INFO: ==15446== Releasing lock... [2025-03-19 23:08:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:08:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:08:05] Production.INFO: CreateAllLog End [2025-03-19 23:08:05] Production.INFO: Account Balance End. [2025-03-19 23:08:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:08:05] Production.INFO: ==15442== Releasing lock... [2025-03-19 23:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:08:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:08:06 [end_date_ymd] => 2025-03-19 23:08:06 [RateCDR] => 1 ) [2025-03-19 23:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:08:06' and `end` < '2025-03-19 23:08:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:08:15] Production.ERROR: CronJobId end10 [2025-03-19 23:08:15] Production.INFO: ==15440== Releasing lock... [2025-03-19 23:08:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:08:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:08:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:08:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:08:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:08:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:08:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:08:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:08:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:08:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:08:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:08:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:08:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:08:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:08:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:08:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:08:16] Production.INFO: call_cost start [2025-03-19 23:08:16] Production.INFO: call_cost end [2025-03-19 23:08:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:08:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:08:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:08:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:08:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:08:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:08:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:08:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:08:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:08:17] Production.INFO: ==15436== Releasing lock... [2025-03-19 23:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:08:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:08:18] Production.INFO: count ==837 [2025-03-19 23:08:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:08:06 - End Time 2025-03-19 23:08:06 [2025-03-19 23:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718758', 'tblTempUsageDetail_20' ) start [2025-03-19 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718758', 'tblTempUsageDetail_20' ) end [2025-03-19 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718758', 'tblTempVendorCDR_20' ) start [2025-03-19 23:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718758', 'tblTempVendorCDR_20' ) end [2025-03-19 23:08:18] Production.INFO: ProcessCDR(1,14718758,1,1,2) [2025-03-19 23:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718758', 'tblTempUsageDetail_20' ) start [2025-03-19 23:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718758', 'tblTempUsageDetail_20' ) end [2025-03-19 23:08:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:08:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:08:23] Production.INFO: ==15444== Releasing lock... [2025-03-19 23:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:08:23] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 03:09:02] Production.INFO: ==15549== Lock acquired, processing the job... [2025-03-20 03:09:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:09:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:09:02] Production.INFO: neon service started [2025-03-20 03:09:02] Production.INFO: neon service started [2025-03-20 03:09:02] Production.INFO: ==15549== Releasing lock... [2025-03-20 03:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:09:02] Production.INFO: ==15551== Lock acquired, processing the job... [2025-03-19 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:09:02] Production.INFO: ==15553== Lock acquired, processing the job... [2025-03-20 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:09:02] Production.INFO: ==15553== Releasing lock... [2025-03-20 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:09:03] Production.INFO: ==15551== Releasing lock... [2025-03-19 23:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:09:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:09:04] Production.INFO: ==15562== Lock acquired, processing the job... [2025-03-19 23:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:09:04] Production.INFO: ==15558== Lock acquired, processing the job... [2025-03-19 23:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:09:04] Production.INFO: ==15556== Lock acquired, processing the job... [2025-03-19 23:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:09:04] Production.INFO: ==15560== Lock acquired, processing the job... [2025-03-19 23:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:09:04] Production.INFO: ==15564== Lock acquired, processing the job... [2025-03-19 23:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:09:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:09:04] Production.INFO: ==15566== Lock acquired, processing the job... [2025-03-19 23:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:09:04] Production.INFO: Account Balance Start. [2025-03-19 23:09:04] Production.INFO: CreateAllLog Start [2025-03-19 23:09:04] Production.INFO: 117 [2025-03-19 23:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:09:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:09:04] Production.INFO: count ==12 [2025-03-19 23:09:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:09:04] Production.INFO: count ==23 [2025-03-19 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718762') start [2025-03-19 23:09:05] Production.INFO: Date 2025-03-09 [2025-03-19 23:09:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:05] Production.INFO: Date 2025-03-10 [2025-03-19 23:09:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:05] Production.INFO: Date 2025-03-11 [2025-03-19 23:09:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:05] Production.INFO: ==15558== Releasing lock... [2025-03-19 23:09:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:09:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:09:05] Production.INFO: Date 2025-03-12 [2025-03-19 23:09:05] Production.ERROR: done [2025-03-19 23:09:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:09:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718762') end [2025-03-19 23:09:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:09:05] Production.INFO: 1 [2025-03-19 23:09:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:09:05] Production.INFO: Date 2025-03-13 [2025-03-19 23:09:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:05] Production.INFO: Date 2025-03-14 [2025-03-19 23:09:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:05] Production.INFO: ==15566== Releasing lock... [2025-03-19 23:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:09:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:09:05] Production.INFO: Date 2025-03-15 [2025-03-19 23:09:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:05] Production.ERROR: done [2025-03-19 23:09:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:09:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:09:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:09:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:09:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:09:05] Production.INFO: Total Charge 0 [2025-03-19 23:09:05] Production.INFO: CreateAllLog End [2025-03-19 23:09:05] Production.INFO: Account Balance End. [2025-03-19 23:09:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:09:05] Production.INFO: ==15562== Releasing lock... [2025-03-19 23:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:09:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:09:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:09:06 [end_date_ymd] => 2025-03-19 23:09:06 [RateCDR] => 1 ) [2025-03-19 23: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-03-19 20:09:06' and `end` < '2025-03-19 23: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-03-19 23:09:17] Production.ERROR: CronJobId end10 [2025-03-19 23:09:17] Production.INFO: ==15560== Releasing lock... [2025-03-19 23:09:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:09:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:09:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:09:18] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:09:18] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:09:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:09:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:09:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:09:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:09:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:09:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:09:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:09:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:09:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:09:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:09:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:09:18] Production.INFO: call_cost start [2025-03-19 23:09:18] Production.INFO: call_cost end [2025-03-19 23:09:19] Production.INFO: count ==834 [2025-03-19 23:09:19] Production.ERROR: pbx CDR StartTime 2025-03-19 20:09:06 - End Time 2025-03-19 23:09:06 [2025-03-19 23:09:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718763', 'tblTempUsageDetail_20' ) start [2025-03-19 23:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718763', 'tblTempUsageDetail_20' ) end [2025-03-19 23:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718763', 'tblTempVendorCDR_20' ) start [2025-03-19 23:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718763', 'tblTempVendorCDR_20' ) end [2025-03-19 23:09:19] Production.INFO: ProcessCDR(1,14718763,1,1,2) [2025-03-19 23:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:09:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:09:19] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:09:19] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:09:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:09:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:09:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:09:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:09:19] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:09:19] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:09:19] Production.INFO: ==15556== Releasing lock... [2025-03-19 23:09:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:09:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718763', 'tblTempUsageDetail_20' ) start [2025-03-19 23:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718763', 'tblTempUsageDetail_20' ) end [2025-03-19 23:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:09:22] Production.INFO: ==15564== Releasing lock... [2025-03-19 23:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:09:22] Production.INFO: 35 MB #Memory Used# [2025-03-20 03:10:01] Production.INFO: ==15631== Lock acquired, processing the job... [2025-03-20 03:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:10:01] Production.INFO: neon service started [2025-03-20 03:10:01] Production.INFO: neon service started [2025-03-20 03:10:01] Production.INFO: ==15631== Releasing lock... [2025-03-20 03:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:10:01] Production.INFO: ==15633== Lock acquired, processing the job... [2025-03-19 23:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:10:02] Production.INFO: ==15635== Lock acquired, processing the job... [2025-03-20 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:10:02] Production.INFO: ==15635== Releasing lock... [2025-03-20 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:10:02] Production.INFO: ==15633== Releasing lock... [2025-03-19 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:10:03] Production.INFO: ==15638== Lock acquired, processing the job... [2025-03-19 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 23:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 23:10:03] Production.INFO: ==15642== Lock acquired, processing the job... [2025-03-19 23:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 23:10:03] Production.INFO: ==15638== Releasing lock... [2025-03-19 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 23:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 23:10:03] Production.INFO: ==15640== Lock acquired, processing the job... [2025-03-19 23:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:10:03] Production.INFO: ==15644== Lock acquired, processing the job... [2025-03-19 23:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:10:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:10:03] Production.INFO: ==15646== Lock acquired, processing the job... [2025-03-19 23:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:10:03] Production.INFO: ==15650== Lock acquired, processing the job... [2025-03-19 23:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 23:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:10:03] Production.INFO: Account Balance Start. [2025-03-19 23:10:03] Production.INFO: CreateAllLog Start [2025-03-19 23:10:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:10:03] Production.INFO: 117 [2025-03-19 23:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:10:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:10:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:10:03] Production.INFO: ==15648== Lock acquired, processing the job... [2025-03-19 23:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:10:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:10:03] Production.INFO: ==15652== Lock acquired, processing the job... [2025-03-19 23:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:10:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:10:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:10:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:10:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:10:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:10:04] Production.INFO: ==15642== Releasing lock... [2025-03-19 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:10:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:10:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:10:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:10:04] Production.INFO: count ==12 [2025-03-19 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-03-19 23:10:04] Production.INFO: count ==23 [2025-03-19 23:10:04] Production.ERROR: done [2025-03-19 23:10:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718767') start [2025-03-19 23:10:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 23:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718768', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 23:10:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:10:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:10:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:10:04] Production.INFO: Total Charge 0 [2025-03-19 23:10:04] Production.INFO: CreateAllLog End [2025-03-19 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718767') end [2025-03-19 23:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:10:04] Production.INFO: 1 [2025-03-19 23:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:10:04] Production.ERROR: done [2025-03-19 23:10:04] Production.INFO: ==15652== Releasing lock... [2025-03-19 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:10:04] Production.INFO: Account Balance End. [2025-03-19 23:10:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:10:04] Production.INFO: ==15646== Releasing lock... [2025-03-19 23:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:10:04] Production.ERROR: done [2025-03-19 23:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:10:06 [end_date_ymd] => 2025-03-19 23:10:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:10:06' and `end` < '2025-03-19 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-03-19 23:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718768', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 23:10:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 23:10:08] Production.INFO: ProcessCDR(1,14718768,1,1,2) [2025-03-19 23:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718768,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718768,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:10:08] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:10:08] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:10:08] Production.INFO: ==15650== Releasing lock... [2025-03-19 23:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 23:10:08] Production.INFO: 26 MB #Memory Used# [2025-03-19 23:10:15] Production.ERROR: CronJobId end10 [2025-03-19 23:10:15] Production.INFO: ==15644== Releasing lock... [2025-03-19 23:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:10:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:10:17] Production.INFO: call_cost start [2025-03-19 23:10:17] Production.INFO: call_cost end [2025-03-19 23:10:18] Production.INFO: count ==833 [2025-03-19 23:10:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:10:06 - End Time 2025-03-19 23:10:06 [2025-03-19 23:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718769', 'tblTempUsageDetail_20' ) start [2025-03-19 23:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:10:18] Production.INFO: ==15640== Releasing lock... [2025-03-19 23:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718769', 'tblTempUsageDetail_20' ) end [2025-03-19 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718769', 'tblTempVendorCDR_20' ) start [2025-03-19 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718769', 'tblTempVendorCDR_20' ) end [2025-03-19 23:10:18] Production.INFO: ProcessCDR(1,14718769,1,1,2) [2025-03-19 23:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718769', 'tblTempUsageDetail_20' ) start [2025-03-19 23:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718769', 'tblTempUsageDetail_20' ) end [2025-03-19 23:10:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:10:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:10:21] Production.INFO: ==15648== Releasing lock... [2025-03-19 23:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:10:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 03:11:01] Production.INFO: ==15719== Lock acquired, processing the job... [2025-03-20 03:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:11:01] Production.INFO: neon service started [2025-03-20 03:11:01] Production.INFO: neon service started [2025-03-20 03:11:01] Production.INFO: ==15719== Releasing lock... [2025-03-20 03:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:11:02] Production.INFO: ==15721== Lock acquired, processing the job... [2025-03-19 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:11:02] Production.INFO: ==15723== Lock acquired, processing the job... [2025-03-20 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:11:02] Production.INFO: ==15723== Releasing lock... [2025-03-20 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:11:02] Production.INFO: ==15721== Releasing lock... [2025-03-19 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:11:03] Production.INFO: ==15726== Lock acquired, processing the job... [2025-03-19 23:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:11:03] Production.INFO: ==15732== Lock acquired, processing the job... [2025-03-19 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:11:03] Production.INFO: ==15728== Lock acquired, processing the job... [2025-03-19 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:11:04] Production.INFO: ==15730== Lock acquired, processing the job... [2025-03-19 23:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:11:04] Production.INFO: ==15734== Lock acquired, processing the job... [2025-03-19 23:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:11:04] Production.INFO: Account Balance Start. [2025-03-19 23:11:04] Production.INFO: CreateAllLog Start [2025-03-19 23:11:04] Production.INFO: 117 [2025-03-19 23:11:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:11:04] Production.INFO: ==15736== Lock acquired, processing the job... [2025-03-19 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 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-03-19 23:11:04] Production.INFO: count ==12 [2025-03-19 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-03-19 23:11:04] Production.INFO: count ==23 [2025-03-19 23:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718773') start [2025-03-19 23:11:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:04] Production.INFO: ==15728== Releasing lock... [2025-03-19 23:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:11:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718773') end [2025-03-19 23:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:11:04] Production.INFO: 1 [2025-03-19 23:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:11:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:04] Production.INFO: ==15736== Releasing lock... [2025-03-19 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:11:04] Production.ERROR: done [2025-03-19 23:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:11:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:04] Production.ERROR: done [2025-03-19 23:11:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:11:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:11:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:11:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:11:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:11:05] Production.INFO: Total Charge 0 [2025-03-19 23:11:05] Production.INFO: CreateAllLog End [2025-03-19 23:11:05] Production.INFO: Account Balance End. [2025-03-19 23:11:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:11:05] Production.INFO: ==15732== Releasing lock... [2025-03-19 23:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:11:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:11:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:11:06 [end_date_ymd] => 2025-03-19 23:11:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:11:06' and `end` < '2025-03-19 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-03-19 23:11:13] Production.ERROR: CronJobId end10 [2025-03-19 23:11:13] Production.INFO: ==15730== Releasing lock... [2025-03-19 23:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:11:15] Production.INFO: call_cost start [2025-03-19 23:11:15] Production.INFO: call_cost end [2025-03-19 23:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:11:15] Production.INFO: ==15726== Releasing lock... [2025-03-19 23:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:11:18] Production.INFO: count ==799 [2025-03-19 23:11:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:11:06 - End Time 2025-03-19 23:11:06 [2025-03-19 23:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718774', 'tblTempUsageDetail_20' ) start [2025-03-19 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718774', 'tblTempUsageDetail_20' ) end [2025-03-19 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718774', 'tblTempVendorCDR_20' ) start [2025-03-19 23:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718774', 'tblTempVendorCDR_20' ) end [2025-03-19 23:11:18] Production.INFO: ProcessCDR(1,14718774,1,1,2) [2025-03-19 23:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718774', 'tblTempUsageDetail_20' ) start [2025-03-19 23:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718774', 'tblTempUsageDetail_20' ) end [2025-03-19 23:11:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:11:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:11:22] Production.INFO: ==15734== Releasing lock... [2025-03-19 23:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:11:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:12:01] Production.INFO: ==15879== Lock acquired, processing the job... [2025-03-20 03:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:12:01] Production.INFO: neon service started [2025-03-20 03:12:01] Production.INFO: neon service started [2025-03-20 03:12:01] Production.INFO: ==15879== Releasing lock... [2025-03-20 03:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:12:01] Production.INFO: ==15881== Lock acquired, processing the job... [2025-03-19 23:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:12:02] Production.INFO: ==15881== Releasing lock... [2025-03-19 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:12:02] Production.INFO: ==15883== Lock acquired, processing the job... [2025-03-20 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:12:02] Production.INFO: ==15883== Releasing lock... [2025-03-20 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:12:03] Production.INFO: ==15890== Lock acquired, processing the job... [2025-03-19 23:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:12:03] Production.INFO: ==15896== Lock acquired, processing the job... [2025-03-19 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:12:03] Production.INFO: ==15888== Lock acquired, processing the job... [2025-03-19 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:12:03] Production.INFO: ==15886== Lock acquired, processing the job... [2025-03-19 23:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:12:03] Production.INFO: count ==12 [2025-03-19 23:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:12:03] Production.INFO: ==15892== Lock acquired, processing the job... [2025-03-19 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:12:03] Production.INFO: count ==23 [2025-03-19 23:12:03] Production.INFO: ==15894== Lock acquired, processing the job... [2025-03-19 23:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718775') start [2025-03-19 23:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718775') end [2025-03-19 23:12:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:12:03] Production.INFO: 1 [2025-03-19 23:12:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:12:03] Production.INFO: Account Balance Start. [2025-03-19 23:12:03] Production.INFO: CreateAllLog Start [2025-03-19 23:12:03] Production.INFO: 117 [2025-03-19 23:12:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:12:03] Production.INFO: ==15896== Releasing lock... [2025-03-19 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:12:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:12:03] Production.INFO: ==15888== Releasing lock... [2025-03-19 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:12:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:04] Production.ERROR: done [2025-03-19 23:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:12:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:12:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:12:04] Production.INFO: Total Charge 0 [2025-03-19 23:12:04] Production.ERROR: done [2025-03-19 23:12:04] Production.INFO: CreateAllLog End [2025-03-19 23:12:04] Production.INFO: Account Balance End. [2025-03-19 23:12:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:12:04] Production.INFO: ==15892== Releasing lock... [2025-03-19 23:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:12:05 [end_date_ymd] => 2025-03-19 23:12:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:12:05' and `end` < '2025-03-19 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-03-19 23:12:13] Production.ERROR: CronJobId end10 [2025-03-19 23:12:13] Production.INFO: ==15890== Releasing lock... [2025-03-19 23:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:12:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:12:15] Production.INFO: call_cost start [2025-03-19 23:12:15] Production.INFO: call_cost end [2025-03-19 23:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:12:16] Production.INFO: ==15886== Releasing lock... [2025-03-19 23:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:12:17] Production.INFO: count ==802 [2025-03-19 23:12:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:12:05 - End Time 2025-03-19 23:12:05 [2025-03-19 23:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718779', 'tblTempUsageDetail_20' ) start [2025-03-19 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718779', 'tblTempUsageDetail_20' ) end [2025-03-19 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718779', 'tblTempVendorCDR_20' ) start [2025-03-19 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718779', 'tblTempVendorCDR_20' ) end [2025-03-19 23:12:18] Production.INFO: ProcessCDR(1,14718779,1,1,2) [2025-03-19 23:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718779', 'tblTempUsageDetail_20' ) start [2025-03-19 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718779', 'tblTempUsageDetail_20' ) end [2025-03-19 23:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:12:21] Production.INFO: ==15894== Releasing lock... [2025-03-19 23:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:12:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 03:13:01] Production.INFO: ==15962== Lock acquired, processing the job... [2025-03-20 03:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:13:01] Production.INFO: neon service started [2025-03-20 03:13:01] Production.INFO: neon service started [2025-03-20 03:13:01] Production.INFO: ==15962== Releasing lock... [2025-03-20 03:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:13:02] Production.INFO: ==15964== Lock acquired, processing the job... [2025-03-19 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:13:02] Production.INFO: ==15966== Lock acquired, processing the job... [2025-03-20 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:13:02] Production.INFO: ==15966== Releasing lock... [2025-03-20 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:13:02] Production.INFO: ==15964== Releasing lock... [2025-03-19 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:13:03] Production.INFO: ==15975== Lock acquired, processing the job... [2025-03-19 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:13:03] Production.INFO: ==15977== Lock acquired, processing the job... [2025-03-19 23:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:13:03] Production.INFO: ==15969== Lock acquired, processing the job... [2025-03-19 23:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:13:03] Production.INFO: ==15971== Lock acquired, processing the job... [2025-03-19 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:13:04] Production.INFO: ==15973== Lock acquired, processing the job... [2025-03-19 23:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:13:04] Production.INFO: Account Balance Start. [2025-03-19 23:13:04] Production.INFO: CreateAllLog Start [2025-03-19 23:13:04] Production.INFO: 117 [2025-03-19 23:13:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:13:04] Production.INFO: ==15979== Lock acquired, processing the job... [2025-03-19 23:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:13:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.ERROR: done [2025-03-19 23:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:13:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:13:04] Production.INFO: count ==12 [2025-03-19 23:13:04] Production.INFO: ==15971== Releasing lock... [2025-03-19 23:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:13:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:13:04] Production.ERROR: done [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.INFO: count ==23 [2025-03-19 23:13:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718783') start [2025-03-19 23:13:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718783') end [2025-03-19 23:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:13:04] Production.INFO: 1 [2025-03-19 23:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:13:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.INFO: ==15979== Releasing lock... [2025-03-19 23:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:13:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:13:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:13:04] Production.INFO: Total Charge 0 [2025-03-19 23:13:04] Production.INFO: CreateAllLog End [2025-03-19 23:13:05] Production.INFO: Account Balance End. [2025-03-19 23:13:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:13:05] Production.INFO: ==15975== Releasing lock... [2025-03-19 23:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:13:05 [end_date_ymd] => 2025-03-19 23:13:05 [RateCDR] => 1 ) [2025-03-19 23:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:13:05' and `end` < '2025-03-19 23:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:13:14] Production.ERROR: CronJobId end10 [2025-03-19 23:13:14] Production.INFO: ==15973== Releasing lock... [2025-03-19 23:13:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:13:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:13:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:13:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:13:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:13:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:13:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:13:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:13:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:13:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:13:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:13:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:13:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:13:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:13:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:13:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:13:16] Production.INFO: call_cost start [2025-03-19 23:13:16] Production.INFO: call_cost end [2025-03-19 23:13:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:13:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:13:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:13:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:13:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:13:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:13:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:13:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:13:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:13:17] Production.INFO: ==15969== Releasing lock... [2025-03-19 23:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:13:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:13:17] Production.INFO: count ==800 [2025-03-19 23:13:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:13:05 - End Time 2025-03-19 23:13:05 [2025-03-19 23:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718784', 'tblTempUsageDetail_20' ) start [2025-03-19 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718784', 'tblTempUsageDetail_20' ) end [2025-03-19 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718784', 'tblTempVendorCDR_20' ) start [2025-03-19 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718784', 'tblTempVendorCDR_20' ) end [2025-03-19 23:13:18] Production.INFO: ProcessCDR(1,14718784,1,1,2) [2025-03-19 23:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718784', 'tblTempUsageDetail_20' ) start [2025-03-19 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718784', 'tblTempUsageDetail_20' ) end [2025-03-19 23:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:13:21] Production.INFO: ==15977== Releasing lock... [2025-03-19 23:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:13:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 03:14:01] Production.INFO: ==16043== Lock acquired, processing the job... [2025-03-20 03:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:14:01] Production.INFO: neon service started [2025-03-20 03:14:01] Production.INFO: neon service started [2025-03-20 03:14:01] Production.INFO: ==16043== Releasing lock... [2025-03-20 03:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:14:02] Production.INFO: ==16045== Lock acquired, processing the job... [2025-03-19 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:14:02] Production.INFO: ==16047== Lock acquired, processing the job... [2025-03-20 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:14:02] Production.INFO: ==16047== Releasing lock... [2025-03-20 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:14:02] Production.INFO: ==16045== Releasing lock... [2025-03-19 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:14:03] Production.INFO: ==16050== Lock acquired, processing the job... [2025-03-19 23:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:14:03] Production.INFO: ==16052== Lock acquired, processing the job... [2025-03-19 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:14:03] Production.INFO: ==16056== Lock acquired, processing the job... [2025-03-19 23:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:14:03] Production.INFO: Account Balance Start. [2025-03-19 23:14:03] Production.INFO: CreateAllLog Start [2025-03-19 23:14:03] Production.INFO: 117 [2025-03-19 23:14:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:03] Production.INFO: ==16054== Lock acquired, processing the job... [2025-03-19 23:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:14:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:03] Production.INFO: ==16052== Releasing lock... [2025-03-19 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:14:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:14:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:14:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:03] Production.INFO: ==16062== Lock acquired, processing the job... [2025-03-19 23:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:14:03] Production.INFO: ==16060== Lock acquired, processing the job... [2025-03-19 23:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:14:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:03] Production.INFO: Date 2025-03-16 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:14:03] Production.INFO: Date 2025-03-17 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:14:03] Production.INFO: Date 2025-03-18 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:03] Production.INFO: count ==12 [2025-03-19 23:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:14:03] Production.INFO: count ==23 [2025-03-19 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718788') start [2025-03-19 23:14:03] Production.INFO: Date 2025-03-19 [2025-03-19 23:14:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:14:04] Production.INFO: Total Charge 0 [2025-03-19 23:14:04] Production.INFO: CreateAllLog End [2025-03-19 23:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718788') end [2025-03-19 23:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:14:04] Production.INFO: 1 [2025-03-19 23:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:14:04] Production.INFO: ==16062== Releasing lock... [2025-03-19 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:14:04] Production.ERROR: done [2025-03-19 23:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:14:04] Production.ERROR: done [2025-03-19 23:14:04] Production.INFO: Account Balance End. [2025-03-19 23:14:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:14:04] Production.INFO: ==16056== Releasing lock... [2025-03-19 23:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:14:05 [end_date_ymd] => 2025-03-19 23:14:05 [RateCDR] => 1 ) [2025-03-19 23:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:14:05' and `end` < '2025-03-19 23:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:14:13] Production.ERROR: CronJobId end10 [2025-03-19 23:14:13] Production.INFO: ==16054== Releasing lock... [2025-03-19 23:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:14:14] Production.INFO: call_cost start [2025-03-19 23:14:14] Production.INFO: call_cost end [2025-03-19 23:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:14:15] Production.INFO: ==16050== Releasing lock... [2025-03-19 23:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:14:18] Production.INFO: count ==800 [2025-03-19 23:14:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:14:05 - End Time 2025-03-19 23:14:05 [2025-03-19 23:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718789', 'tblTempUsageDetail_20' ) start [2025-03-19 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718789', 'tblTempUsageDetail_20' ) end [2025-03-19 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718789', 'tblTempVendorCDR_20' ) start [2025-03-19 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718789', 'tblTempVendorCDR_20' ) end [2025-03-19 23:14:18] Production.INFO: ProcessCDR(1,14718789,1,1,2) [2025-03-19 23:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718789', 'tblTempUsageDetail_20' ) start [2025-03-19 23:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718789', 'tblTempUsageDetail_20' ) end [2025-03-19 23:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:14:21] Production.INFO: ==16060== Releasing lock... [2025-03-19 23:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:14:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 03:15:01] Production.INFO: ==16201== Lock acquired, processing the job... [2025-03-20 03:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:15:01] Production.INFO: neon service started [2025-03-20 03:15:01] Production.INFO: neon service started [2025-03-20 03:15:01] Production.INFO: ==16201== Releasing lock... [2025-03-20 03:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:15:02] Production.INFO: ==16203== Lock acquired, processing the job... [2025-03-19 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:15:02] Production.INFO: ==16203== Releasing lock... [2025-03-19 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:15:02] Production.INFO: ==16205== Lock acquired, processing the job... [2025-03-20 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:15:02] Production.INFO: ==16205== Releasing lock... [2025-03-20 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:15:03] Production.INFO: ==16217== Lock acquired, processing the job... [2025-03-19 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:15:03] Production.INFO: ==16215== Lock acquired, processing the job... [2025-03-19 23:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 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-03-19 23:15:03] Production.INFO: ==16207== Lock acquired, processing the job... [2025-03-19 23:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:15:03] Production.INFO: count ==12 [2025-03-19 23:15:03] Production.INFO: ==16209== Lock acquired, processing the job... [2025-03-19 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 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-03-19 23:15:03] Production.INFO: count ==23 [2025-03-19 23:15:03] Production.INFO: ==16211== Lock acquired, processing the job... [2025-03-19 23:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718790') start [2025-03-19 23:15:03] Production.INFO: ==16213== Lock acquired, processing the job... [2025-03-19 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718790') end [2025-03-19 23:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:15:03] Production.INFO: 1 [2025-03-19 23:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:15:03] Production.INFO: ==16217== Releasing lock... [2025-03-19 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:15:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:15:03] Production.ERROR: done [2025-03-19 23:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:15:04] Production.INFO: Account Balance Start. [2025-03-19 23:15:04] Production.INFO: CreateAllLog Start [2025-03-19 23:15:04] Production.INFO: 117 [2025-03-19 23:15:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.ERROR: done [2025-03-19 23:15:04] Production.INFO: ==16209== Releasing lock... [2025-03-19 23:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:15:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:15:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:15:04] Production.INFO: Total Charge 0 [2025-03-19 23:15:04] Production.INFO: CreateAllLog End [2025-03-19 23:15:04] Production.INFO: Account Balance End. [2025-03-19 23:15:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:15:04] Production.INFO: ==16213== Releasing lock... [2025-03-19 23:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:15:05 [end_date_ymd] => 2025-03-19 23:15:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:15:05' and `end` < '2025-03-19 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-03-19 23:15:13] Production.ERROR: CronJobId end10 [2025-03-19 23:15:13] Production.INFO: ==16211== Releasing lock... [2025-03-19 23:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:15:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:15:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:15:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:15:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:15:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:15:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:15:15] Production.INFO: call_cost start [2025-03-19 23:15:15] Production.INFO: call_cost end [2025-03-19 23:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:15:16] Production.INFO: ==16207== Releasing lock... [2025-03-19 23:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:15:17] Production.INFO: count ==803 [2025-03-19 23:15:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:15:05 - End Time 2025-03-19 23:15:05 [2025-03-19 23:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718794', 'tblTempUsageDetail_20' ) start [2025-03-19 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718794', 'tblTempUsageDetail_20' ) end [2025-03-19 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718794', 'tblTempVendorCDR_20' ) start [2025-03-19 23:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718794', 'tblTempVendorCDR_20' ) end [2025-03-19 23:15:17] Production.INFO: ProcessCDR(1,14718794,1,1,2) [2025-03-19 23:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718794', 'tblTempUsageDetail_20' ) start [2025-03-19 23:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718794', 'tblTempUsageDetail_20' ) end [2025-03-19 23:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:15:21] Production.INFO: ==16215== Releasing lock... [2025-03-19 23:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:15:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 03:16:02] Production.INFO: ==16275== Lock acquired, processing the job... [2025-03-20 03:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:16:02] Production.INFO: neon service started [2025-03-20 03:16:02] Production.INFO: neon service started [2025-03-20 03:16:02] Production.INFO: ==16275== Releasing lock... [2025-03-20 03:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:16:02] Production.INFO: ==16278== Lock acquired, processing the job... [2025-03-19 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:16:03] Production.INFO: ==16278== Releasing lock... [2025-03-19 23:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:16:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:16:03] Production.INFO: ==16280== Lock acquired, processing the job... [2025-03-20 03:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:16:03] Production.INFO: ==16280== Releasing lock... [2025-03-20 03:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:16:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:16:04] Production.INFO: ==16284== Lock acquired, processing the job... [2025-03-19 23:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:16:04] Production.INFO: ==16290== Lock acquired, processing the job... [2025-03-19 23:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:16:04] Production.INFO: ==16282== Lock acquired, processing the job... [2025-03-19 23:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:16:04] Production.INFO: ==16286== Lock acquired, processing the job... [2025-03-19 23:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:16:04] Production.INFO: ==16288== Lock acquired, processing the job... [2025-03-19 23:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:16:04] Production.INFO: ==16292== Lock acquired, processing the job... [2025-03-19 23:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:16:04] Production.INFO: ==16284== Releasing lock... [2025-03-19 23:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:16:04] Production.INFO: Account Balance Start. [2025-03-19 23:16:04] Production.INFO: CreateAllLog Start [2025-03-19 23:16:04] Production.INFO: 117 [2025-03-19 23:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:16:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:04] Production.ERROR: done [2025-03-19 23:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:16:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:04] Production.INFO: count ==12 [2025-03-19 23:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:16:04] Production.INFO: count ==23 [2025-03-19 23:16:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718798') start [2025-03-19 23:16:04] Production.ERROR: done [2025-03-19 23:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718798') end [2025-03-19 23:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:16:04] Production.INFO: 1 [2025-03-19 23:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:16:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:16:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:05] Production.INFO: ==16292== Releasing lock... [2025-03-19 23:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:16:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:16:05] Production.INFO: Date 2025-03-15 [2025-03-19 23:16:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:16:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:16:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:16:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:16:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:16:05] Production.INFO: Total Charge 0 [2025-03-19 23:16:05] Production.INFO: CreateAllLog End [2025-03-19 23:16:05] Production.INFO: Account Balance End. [2025-03-19 23:16:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:16:05] Production.INFO: ==16288== Releasing lock... [2025-03-19 23:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:16:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:16:06 [end_date_ymd] => 2025-03-19 23:16:06 [RateCDR] => 1 ) [2025-03-19 23:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:16:06' and `end` < '2025-03-19 23:16:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:16:14] Production.ERROR: CronJobId end10 [2025-03-19 23:16:14] Production.INFO: ==16286== Releasing lock... [2025-03-19 23:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:16:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:16:15] Production.INFO: call_cost start [2025-03-19 23:16:15] Production.INFO: call_cost end [2025-03-19 23:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:16:16] Production.INFO: ==16282== Releasing lock... [2025-03-19 23:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:16:18] Production.INFO: count ==807 [2025-03-19 23:16:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:16:06 - End Time 2025-03-19 23:16:06 [2025-03-19 23:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718799', 'tblTempUsageDetail_20' ) start [2025-03-19 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718799', 'tblTempUsageDetail_20' ) end [2025-03-19 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718799', 'tblTempVendorCDR_20' ) start [2025-03-19 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718799', 'tblTempVendorCDR_20' ) end [2025-03-19 23:16:18] Production.INFO: ProcessCDR(1,14718799,1,1,2) [2025-03-19 23:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718799', 'tblTempUsageDetail_20' ) start [2025-03-19 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718799', 'tblTempUsageDetail_20' ) end [2025-03-19 23:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:16:21] Production.INFO: ==16290== Releasing lock... [2025-03-19 23:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:16:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:17:01] Production.INFO: ==16349== Lock acquired, processing the job... [2025-03-20 03:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:17:01] Production.INFO: neon service started [2025-03-20 03:17:02] Production.INFO: neon service started [2025-03-20 03:17:02] Production.INFO: ==16349== Releasing lock... [2025-03-20 03:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:17:02] Production.INFO: ==16351== Lock acquired, processing the job... [2025-03-19 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:17:02] Production.INFO: ==16353== Lock acquired, processing the job... [2025-03-20 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 23:17:02] Production.INFO: ==16351== Releasing lock... [2025-03-19 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:17:02] Production.INFO: ==16353== Releasing lock... [2025-03-20 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:17:03] Production.INFO: ==16361== Lock acquired, processing the job... [2025-03-19 23:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:17:03] Production.INFO: ==16365== Lock acquired, processing the job... [2025-03-19 23:17:03] Production.INFO: ==16355== Lock acquired, processing the job... [2025-03-19 23:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:17:03] Production.INFO: ==16357== Lock acquired, processing the job... [2025-03-19 23:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:17:03] Production.INFO: Account Balance Start. [2025-03-19 23:17:03] Production.INFO: CreateAllLog Start [2025-03-19 23:17:03] Production.INFO: 117 [2025-03-19 23:17:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:03] Production.INFO: ==16359== Lock acquired, processing the job... [2025-03-19 23:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:17:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:17:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:17:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:04] Production.INFO: count ==12 [2025-03-19 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-03-19 23:17:04] Production.INFO: count ==23 [2025-03-19 23:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718802') start [2025-03-19 23:17:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:04] Production.INFO: ==16363== Lock acquired, processing the job... [2025-03-19 23:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:17:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718802') end [2025-03-19 23:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:17:04] Production.INFO: 1 [2025-03-19 23:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:17:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:04] Production.INFO: ==16365== Releasing lock... [2025-03-19 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:17:04] Production.INFO: ==16357== Releasing lock... [2025-03-19 23:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:17:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:17:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:17:04] Production.INFO: Total Charge 0 [2025-03-19 23:17:04] Production.ERROR: done [2025-03-19 23:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:17:04] Production.INFO: CreateAllLog End [2025-03-19 23:17:04] Production.ERROR: done [2025-03-19 23:17:04] Production.INFO: Account Balance End. [2025-03-19 23:17:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:17:04] Production.INFO: ==16361== Releasing lock... [2025-03-19 23:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:17:05 [end_date_ymd] => 2025-03-19 23:17:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:17:05' and `end` < '2025-03-19 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-03-19 23:17:14] Production.ERROR: CronJobId end10 [2025-03-19 23:17:14] Production.INFO: ==16359== Releasing lock... [2025-03-19 23:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:17:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:17:16] Production.INFO: call_cost start [2025-03-19 23:17:16] Production.INFO: call_cost end [2025-03-19 23:17:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:17:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:17:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:17:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:17:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:17:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:17:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:17:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:17:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:17:17] Production.INFO: ==16355== Releasing lock... [2025-03-19 23:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:17:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:17:18] Production.INFO: count ==805 [2025-03-19 23:17:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:17:05 - End Time 2025-03-19 23:17:05 [2025-03-19 23:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718804', 'tblTempUsageDetail_20' ) start [2025-03-19 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718804', 'tblTempUsageDetail_20' ) end [2025-03-19 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718804', 'tblTempVendorCDR_20' ) start [2025-03-19 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718804', 'tblTempVendorCDR_20' ) end [2025-03-19 23:17:18] Production.INFO: ProcessCDR(1,14718804,1,1,2) [2025-03-19 23:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718804', 'tblTempUsageDetail_20' ) start [2025-03-19 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718804', 'tblTempUsageDetail_20' ) end [2025-03-19 23:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:17:21] Production.INFO: ==16363== Releasing lock... [2025-03-19 23:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:17:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:18:01] Production.INFO: ==16418== Lock acquired, processing the job... [2025-03-20 03:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:18:01] Production.INFO: neon service started [2025-03-20 03:18:01] Production.INFO: neon service started [2025-03-20 03:18:01] Production.INFO: ==16418== Releasing lock... [2025-03-20 03:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:18:01] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 23:18:01] Production.INFO: ==16420== Lock acquired, processing the job... [2025-03-19 23:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:18:02] Production.INFO: ==16420== Releasing lock... [2025-03-19 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:18:02] Production.INFO: ==16422== Lock acquired, processing the job... [2025-03-20 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:18:02] Production.INFO: ==16422== Releasing lock... [2025-03-20 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:18:03] Production.INFO: ==16433== Lock acquired, processing the job... [2025-03-19 23:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:18:03] Production.INFO: ==16425== Lock acquired, processing the job... [2025-03-19 23:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:18:03] Production.INFO: ==16427== Lock acquired, processing the job... [2025-03-19 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:18:03] Production.INFO: ==16435== Lock acquired, processing the job... [2025-03-19 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:18:03] Production.INFO: ==16429== Lock acquired, processing the job... [2025-03-19 23:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:18:03] Production.INFO: ==16431== Lock acquired, processing the job... [2025-03-19 23:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:18:03] Production.INFO: Account Balance Start. [2025-03-19 23:18:03] Production.INFO: CreateAllLog Start [2025-03-19 23:18:03] Production.INFO: 117 [2025-03-19 23:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:18:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 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-03-19 23:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.INFO: count ==12 [2025-03-19 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-03-19 23:18:03] Production.INFO: count ==23 [2025-03-19 23:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718806') start [2025-03-19 23:18:03] Production.ERROR: done [2025-03-19 23:18:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:18:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718806') end [2025-03-19 23:18:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:18:03] Production.INFO: 1 [2025-03-19 23:18:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:18:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.INFO: Date 2025-03-16 [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.INFO: Date 2025-03-17 [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.INFO: Date 2025-03-18 [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.INFO: ==16435== Releasing lock... [2025-03-19 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:18:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:18:03] Production.INFO: ==16427== Releasing lock... [2025-03-19 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:18:03] Production.INFO: Date 2025-03-19 [2025-03-19 23:18:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:18:03] Production.ERROR: done [2025-03-19 23:18:04] Production.INFO: Total Charge 0 [2025-03-19 23:18:04] Production.INFO: CreateAllLog End [2025-03-19 23:18:04] Production.INFO: Account Balance End. [2025-03-19 23:18:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:18:04] Production.INFO: ==16431== Releasing lock... [2025-03-19 23:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:18:05 [end_date_ymd] => 2025-03-19 23:18:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:18:05' and `end` < '2025-03-19 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-03-19 23:18:13] Production.ERROR: CronJobId end10 [2025-03-19 23:18:13] Production.INFO: ==16429== Releasing lock... [2025-03-19 23:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:18:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:18:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:18:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:18:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:18:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:18:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:18:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:18:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:18:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:18:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:18:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:18:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:18:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:18:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:18:14] Production.INFO: call_cost start [2025-03-19 23:18:14] Production.INFO: call_cost end [2025-03-19 23:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:18:15] Production.INFO: ==16425== Releasing lock... [2025-03-19 23:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:18:17] Production.INFO: count ==812 [2025-03-19 23:18:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:18:05 - End Time 2025-03-19 23:18:05 [2025-03-19 23:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718809', 'tblTempUsageDetail_20' ) start [2025-03-19 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718809', 'tblTempUsageDetail_20' ) end [2025-03-19 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718809', 'tblTempVendorCDR_20' ) start [2025-03-19 23:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718809', 'tblTempVendorCDR_20' ) end [2025-03-19 23:18:17] Production.INFO: ProcessCDR(1,14718809,1,1,2) [2025-03-19 23:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718809', 'tblTempUsageDetail_20' ) start [2025-03-19 23:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718809', 'tblTempUsageDetail_20' ) end [2025-03-19 23:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:18:21] Production.INFO: ==16433== Releasing lock... [2025-03-19 23:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:18:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 03:19:01] Production.INFO: ==16494== Lock acquired, processing the job... [2025-03-20 03:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:19:01] Production.INFO: neon service started [2025-03-20 03:19:01] Production.INFO: neon service started [2025-03-20 03:19:01] Production.INFO: ==16494== Releasing lock... [2025-03-20 03:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:19:02] Production.INFO: ==16496== Lock acquired, processing the job... [2025-03-19 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:19:02] Production.INFO: ==16496== Releasing lock... [2025-03-19 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:19:02] Production.INFO: ==16498== Lock acquired, processing the job... [2025-03-20 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:19:02] Production.INFO: ==16498== Releasing lock... [2025-03-20 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:19:03] Production.INFO: ==16509== Lock acquired, processing the job... [2025-03-19 23:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:19:03] Production.INFO: ==16511== Lock acquired, processing the job... [2025-03-19 23:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:19:03] Production.INFO: ==16501== Lock acquired, processing the job... [2025-03-19 23:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:19:03] Production.INFO: ==16503== Lock acquired, processing the job... [2025-03-19 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:19:03] Production.INFO: ==16505== Lock acquired, processing the job... [2025-03-19 23:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:19:03] Production.INFO: ==16507== Lock acquired, processing the job... [2025-03-19 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:19:03] Production.INFO: count ==12 [2025-03-19 23:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:19:03] Production.INFO: count ==23 [2025-03-19 23:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718810') start [2025-03-19 23:19:03] Production.ERROR: done [2025-03-19 23:19:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:19:03] Production.INFO: Account Balance Start. [2025-03-19 23:19:03] Production.INFO: CreateAllLog Start [2025-03-19 23:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:19:03] Production.INFO: 117 [2025-03-19 23:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:19:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718810') end [2025-03-19 23:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:19:04] Production.INFO: 1 [2025-03-19 23:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:19:04] Production.ERROR: done [2025-03-19 23:19:04] Production.INFO: ==16511== Releasing lock... [2025-03-19 23:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:19:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.INFO: ==16503== Releasing lock... [2025-03-19 23:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:19:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:19:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:19:04] Production.INFO: Total Charge 0 [2025-03-19 23:19:04] Production.INFO: CreateAllLog End [2025-03-19 23:19:04] Production.INFO: Account Balance End. [2025-03-19 23:19:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:19:04] Production.INFO: ==16507== Releasing lock... [2025-03-19 23:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:19:05 [end_date_ymd] => 2025-03-19 23:19:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:19:05' and `end` < '2025-03-19 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-03-19 23:19:13] Production.ERROR: CronJobId end10 [2025-03-19 23:19:13] Production.INFO: ==16505== Releasing lock... [2025-03-19 23:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:19:15] Production.INFO: call_cost start [2025-03-19 23:19:15] Production.INFO: call_cost end [2025-03-19 23:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:19:16] Production.INFO: ==16501== Releasing lock... [2025-03-19 23:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:19:17] Production.INFO: count ==811 [2025-03-19 23:19:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:19:05 - End Time 2025-03-19 23:19:05 [2025-03-19 23:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718814', 'tblTempUsageDetail_20' ) start [2025-03-19 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718814', 'tblTempUsageDetail_20' ) end [2025-03-19 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718814', 'tblTempVendorCDR_20' ) start [2025-03-19 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718814', 'tblTempVendorCDR_20' ) end [2025-03-19 23:19:17] Production.INFO: ProcessCDR(1,14718814,1,1,2) [2025-03-19 23:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718814', 'tblTempUsageDetail_20' ) start [2025-03-19 23:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718814', 'tblTempUsageDetail_20' ) end [2025-03-19 23:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:19:21] Production.INFO: ==16509== Releasing lock... [2025-03-19 23:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:19:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:20:02] Production.INFO: ==16566== Lock acquired, processing the job... [2025-03-20 03:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:20:02] Production.INFO: neon service started [2025-03-20 03:20:02] Production.INFO: neon service started [2025-03-20 03:20:02] Production.INFO: ==16566== Releasing lock... [2025-03-20 03:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:20:03] Production.INFO: ==16568== Lock acquired, processing the job... [2025-03-19 23:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:20:03] Production.INFO: ==16570== Lock acquired, processing the job... [2025-03-20 03:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:20:03] Production.INFO: ==16570== Releasing lock... [2025-03-20 03:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:20:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:20:03] Production.INFO: ==16568== Releasing lock... [2025-03-19 23:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:20:04] Production.INFO: ==16579== Lock acquired, processing the job... [2025-03-19 23:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:20:04] Production.INFO: ==16583== Lock acquired, processing the job... [2025-03-19 23:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:20:04] Production.INFO: ==16585== Lock acquired, processing the job... [2025-03-19 23:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 23:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:20:04] Production.INFO: ==16573== Lock acquired, processing the job... [2025-03-19 23:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 23:20:04] Production.INFO: ==16575== Lock acquired, processing the job... [2025-03-19 23:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:20:05] Production.INFO: ==16581== Lock acquired, processing the job... [2025-03-19 23:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:20:05] Production.INFO: ==16577== Lock acquired, processing the job... [2025-03-19 23:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:20:05] Production.INFO: ==16587== Lock acquired, processing the job... [2025-03-19 23:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 23:20:05] Production.ERROR: CronJob PID - 16575 [2025-03-19 23:20:05] Production.ERROR: CronJob Title - System Alerts [2025-03-19 23:20:05] Production.ERROR: CronJob ID - 5 [2025-03-19 23:20:05] Production.ERROR: CronJob Last Run Time 2025-03-19 23:20:00 [2025-03-19 23:20:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 23:20:05] Production.ERROR: CronJob PID - 16577 [2025-03-19 23:20:05] Production.ERROR: CronJob Title - Account Block [2025-03-19 23:20:05] Production.ERROR: CronJob ID - 7 [2025-03-19 23:20:05] Production.ERROR: CronJob Last Run Time 2025-03-19 23:20:00 [2025-03-19 23:20:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 23:20:05] Production.ERROR: CronJob PID - 16579 [2025-03-19 23:20:05] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-19 23:20:05] Production.ERROR: CronJob ID - 10 [2025-03-19 23:20:05] Production.ERROR: CronJob Last Run Time 2025-03-19 23:20:00 [2025-03-19 23:20:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 23:20:05] Production.ERROR: CronJob PID - 16581 [2025-03-19 23:20:05] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-19 23:20:05] Production.ERROR: CronJob ID - 12 [2025-03-19 23:20:05] Production.ERROR: CronJob Last Run Time 2025-03-19 23:20:00 [2025-03-19 23:20:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 23:20:05] Production.ERROR: CronJob PID - 16583 [2025-03-19 23:20:05] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-19 23:20:05] Production.ERROR: CronJob ID - 16 [2025-03-19 23:20:05] Production.ERROR: CronJob Last Run Time 2025-03-19 23:20:00 [2025-03-19 23:20:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 23:20:05] Production.ERROR: CronJob PID - 16585 [2025-03-19 23:20:05] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-19 23:20:05] Production.ERROR: CronJob ID - 17 [2025-03-19 23:20:05] Production.ERROR: CronJob Last Run Time 2025-03-19 23:20:00 [2025-03-19 23:20:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-19 23:20:05] Production.ERROR: CronJob PID - 16587 [2025-03-19 23:20:05] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-19 23:20:05] Production.ERROR: CronJob ID - 19 [2025-03-19 23:20:05] Production.ERROR: CronJob Last Run Time 2025-03-19 23:20:00 [2025-03-19 23:20:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-19 23:20:05] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:20:05] Production.INFO: Account Balance Start. [2025-03-19 23:20:05] Production.INFO: CreateAllLog Start [2025-03-19 23:20:05] Production.INFO: 117 [2025-03-19 23:20:05] Production.INFO: Date 2025-03-08 [2025-03-19 23: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-03-19 23:20:05] Production.ERROR: done [2025-03-19 23:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:05] Production.INFO: count ==12 [2025-03-19 23:20:05] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 23:20:05] Production.INFO: Date 2025-03-09 [2025-03-19 23:20:05] Production.INFO: ==16573== Releasing lock... [2025-03-19 23:20:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 23:20:05] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 23: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-03-19 23:20:05] Production.INFO: count ==23 [2025-03-19 23:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:05] Production.ERROR: done [2025-03-19 23:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718815') start [2025-03-19 23:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 23:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718819', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 23:20:05] Production.INFO: Date 2025-03-10 [2025-03-19 23:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:05] Production.INFO: Date 2025-03-11 [2025-03-19 23:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:05] Production.INFO: Date 2025-03-12 [2025-03-19 23:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:05] Production.ERROR: done [2025-03-19 23:20:05] Production.INFO: Date 2025-03-13 [2025-03-19 23:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:05] Production.INFO: Date 2025-03-14 [2025-03-19 23:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718815') end [2025-03-19 23:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:20:05] Production.INFO: 1 [2025-03-19 23:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:20:05] Production.INFO: ==16587== Releasing lock... [2025-03-19 23:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:20:05] Production.INFO: Date 2025-03-15 [2025-03-19 23:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:05] Production.INFO: ==16577== Releasing lock... [2025-03-19 23:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:20:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:20:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:20:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:06] Production.INFO: Date 2025-03-17 [2025-03-19 23:20:06] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:06] Production.INFO: Date 2025-03-18 [2025-03-19 23:20:06] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:06] Production.INFO: Date 2025-03-19 [2025-03-19 23:20:06] Production.INFO: Reseller ==> 0 [2025-03-19 23:20:06] Production.INFO: Total Charge 0 [2025-03-19 23:20:06] Production.INFO: CreateAllLog End [2025-03-19 23:20:06] Production.INFO: Account Balance End. [2025-03-19 23:20:06] Production.ERROR: CronJobId end 12 [2025-03-19 23:20:06] Production.INFO: ==16581== Releasing lock... [2025-03-19 23:20:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:20:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:20:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:20:07 [end_date_ymd] => 2025-03-19 23:20:07 [RateCDR] => 1 ) [2025-03-19 23:20:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:20:07' and `end` < '2025-03-19 23:20:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718819', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 23:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 23:20:09] Production.INFO: ProcessCDR(1,14718819,1,1,2) [2025-03-19 23:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718819,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718819,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:20:09] Production.INFO: ==16585== Releasing lock... [2025-03-19 23:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 23:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 23:20:15] Production.ERROR: CronJobId end10 [2025-03-19 23:20:15] Production.INFO: ==16579== Releasing lock... [2025-03-19 23:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:20:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:20:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:20:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:20:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:20:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:20:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:20:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:20:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:20:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:20:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:20:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:20:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:20:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:20:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:20:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:20:17] Production.INFO: call_cost start [2025-03-19 23:20:17] Production.INFO: call_cost end [2025-03-19 23:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:20:18] Production.INFO: ==16575== Releasing lock... [2025-03-19 23:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:20:19] Production.INFO: count ==806 [2025-03-19 23:20:19] Production.ERROR: pbx CDR StartTime 2025-03-19 20:20:07 - End Time 2025-03-19 23:20:07 [2025-03-19 23:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718820', 'tblTempUsageDetail_20' ) start [2025-03-19 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718820', 'tblTempUsageDetail_20' ) end [2025-03-19 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718820', 'tblTempVendorCDR_20' ) start [2025-03-19 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718820', 'tblTempVendorCDR_20' ) end [2025-03-19 23:20:19] Production.INFO: ProcessCDR(1,14718820,1,1,2) [2025-03-19 23:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718820', 'tblTempUsageDetail_20' ) start [2025-03-19 23:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718820', 'tblTempUsageDetail_20' ) end [2025-03-19 23:20:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:20:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:20:23] Production.INFO: ==16583== Releasing lock... [2025-03-19 23:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:20:23] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:21:01] Production.INFO: ==16642== Lock acquired, processing the job... [2025-03-20 03:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:21:01] Production.INFO: neon service started [2025-03-20 03:21:01] Production.INFO: neon service started [2025-03-20 03:21:01] Production.INFO: ==16642== Releasing lock... [2025-03-20 03:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:21:02] Production.INFO: ==16644== Lock acquired, processing the job... [2025-03-19 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:21:02] Production.INFO: ==16644== Releasing lock... [2025-03-19 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:21:02] Production.INFO: ==16646== Lock acquired, processing the job... [2025-03-20 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:21:02] Production.INFO: ==16646== Releasing lock... [2025-03-20 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:21:03] Production.INFO: ==16653== Lock acquired, processing the job... [2025-03-19 23:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:21:03] Production.INFO: ==16657== Lock acquired, processing the job... [2025-03-19 23:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:21:03] Production.INFO: ==16649== Lock acquired, processing the job... [2025-03-19 23:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:21:03] Production.INFO: ==16651== Lock acquired, processing the job... [2025-03-19 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:21:03] Production.INFO: ==16655== Lock acquired, processing the job... [2025-03-19 23:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:21:03] Production.INFO: ==16659== Lock acquired, processing the job... [2025-03-19 23:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23: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-03-19 23:21:03] Production.INFO: Account Balance Start. [2025-03-19 23:21:03] Production.INFO: CreateAllLog Start [2025-03-19 23:21:03] Production.INFO: 117 [2025-03-19 23:21:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:21:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:03] Production.INFO: count ==12 [2025-03-19 23: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-03-19 23:21:03] Production.INFO: count ==23 [2025-03-19 23:21:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:21:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718823') start [2025-03-19 23:21:04] Production.ERROR: done [2025-03-19 23:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:21:04] Production.INFO: ==16651== Releasing lock... [2025-03-19 23:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718823') end [2025-03-19 23:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:21:04] Production.INFO: 1 [2025-03-19 23:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:21:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:21:04] Production.INFO: ==16659== Releasing lock... [2025-03-19 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:04] Production.ERROR: done [2025-03-19 23:21:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:21:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:21:04] Production.INFO: Total Charge 0 [2025-03-19 23:21:04] Production.INFO: CreateAllLog End [2025-03-19 23:21:04] Production.INFO: Account Balance End. [2025-03-19 23:21:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:21:04] Production.INFO: ==16655== Releasing lock... [2025-03-19 23:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:21:05 [end_date_ymd] => 2025-03-19 23:21:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:21:05' and `end` < '2025-03-19 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-03-19 23:21:13] Production.ERROR: CronJobId end10 [2025-03-19 23:21:13] Production.INFO: ==16653== Releasing lock... [2025-03-19 23:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:21:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:21:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:21:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:21:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:21:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:21:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:21:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:21:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:21:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:21:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:21:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:21:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:21:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:21:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:21:15] Production.INFO: call_cost start [2025-03-19 23:21:15] Production.INFO: call_cost end [2025-03-19 23:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:21:16] Production.INFO: ==16649== Releasing lock... [2025-03-19 23:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:21:17] Production.INFO: count ==794 [2025-03-19 23:21:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:21:05 - End Time 2025-03-19 23:21:05 [2025-03-19 23:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718825', 'tblTempUsageDetail_20' ) start [2025-03-19 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718825', 'tblTempUsageDetail_20' ) end [2025-03-19 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718825', 'tblTempVendorCDR_20' ) start [2025-03-19 23:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718825', 'tblTempVendorCDR_20' ) end [2025-03-19 23:21:17] Production.INFO: ProcessCDR(1,14718825,1,1,2) [2025-03-19 23:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718825', 'tblTempUsageDetail_20' ) start [2025-03-19 23:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718825', 'tblTempUsageDetail_20' ) end [2025-03-19 23:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:21:21] Production.INFO: ==16657== Releasing lock... [2025-03-19 23:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:21:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 03:22:02] Production.INFO: ==16715== Lock acquired, processing the job... [2025-03-20 03:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:22:02] Production.INFO: neon service started [2025-03-20 03:22:02] Production.INFO: neon service started [2025-03-20 03:22:02] Production.INFO: ==16715== Releasing lock... [2025-03-20 03:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:22:02] Production.INFO: ==16718== Lock acquired, processing the job... [2025-03-19 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:22:03] Production.INFO: ==16718== Releasing lock... [2025-03-19 23:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:22:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:22:03] Production.INFO: ==16720== Lock acquired, processing the job... [2025-03-20 03:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:22:03] Production.INFO: ==16720== Releasing lock... [2025-03-20 03:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:22:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:22:04] Production.INFO: ==16727== Lock acquired, processing the job... [2025-03-19 23:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:22:04] Production.INFO: ==16733== Lock acquired, processing the job... [2025-03-19 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:22:04] Production.INFO: ==16725== Lock acquired, processing the job... [2025-03-19 23:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:22:04] Production.INFO: ==16723== Lock acquired, processing the job... [2025-03-19 23:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:22:04] Production.INFO: ==16729== Lock acquired, processing the job... [2025-03-19 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:22:04] Production.INFO: ==16731== Lock acquired, processing the job... [2025-03-19 23:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:22:04] Production.INFO: count ==12 [2025-03-19 23:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:22:04] Production.INFO: count ==23 [2025-03-19 23:22:04] Production.INFO: Account Balance Start. [2025-03-19 23:22:04] Production.INFO: CreateAllLog Start [2025-03-19 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718826') start [2025-03-19 23:22:04] Production.INFO: 117 [2025-03-19 23:22:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718826') end [2025-03-19 23:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:22:04] Production.INFO: 1 [2025-03-19 23:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:22:04] Production.INFO: ==16733== Releasing lock... [2025-03-19 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:22:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:04] Production.INFO: ==16725== Releasing lock... [2025-03-19 23:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:22:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:22:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:04] Production.ERROR: done [2025-03-19 23:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:22:05] Production.INFO: Date 2025-03-15 [2025-03-19 23:22:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:22:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:05] Production.ERROR: done [2025-03-19 23:22:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:22:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:22:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:22:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:22:05] Production.INFO: Total Charge 0 [2025-03-19 23:22:05] Production.INFO: CreateAllLog End [2025-03-19 23:22:05] Production.INFO: Account Balance End. [2025-03-19 23:22:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:22:05] Production.INFO: ==16729== Releasing lock... [2025-03-19 23:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:22:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:22:06 [end_date_ymd] => 2025-03-19 23:22:06 [RateCDR] => 1 ) [2025-03-19 23: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-03-19 20:22:06' and `end` < '2025-03-19 23: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-03-19 23:22:14] Production.ERROR: CronJobId end10 [2025-03-19 23:22:14] Production.INFO: ==16727== Releasing lock... [2025-03-19 23:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:22:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:22:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:22:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:22:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:22:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:22:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:22:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:22:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:22:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:22:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:22:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:22:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:22:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:22:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:22:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:22:16] Production.INFO: call_cost start [2025-03-19 23:22:16] Production.INFO: call_cost end [2025-03-19 23:22:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:22:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:22:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:22:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:22:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:22:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:22:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:22:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:22:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:22:17] Production.INFO: ==16723== Releasing lock... [2025-03-19 23:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:22:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:22:18] Production.INFO: count ==783 [2025-03-19 23:22:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:22:06 - End Time 2025-03-19 23:22:06 [2025-03-19 23:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718830', 'tblTempUsageDetail_20' ) start [2025-03-19 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718830', 'tblTempUsageDetail_20' ) end [2025-03-19 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718830', 'tblTempVendorCDR_20' ) start [2025-03-19 23:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718830', 'tblTempVendorCDR_20' ) end [2025-03-19 23:22:18] Production.INFO: ProcessCDR(1,14718830,1,1,2) [2025-03-19 23:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718830', 'tblTempUsageDetail_20' ) start [2025-03-19 23:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718830', 'tblTempUsageDetail_20' ) end [2025-03-19 23:22:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:22:22] Production.INFO: ==16731== Releasing lock... [2025-03-19 23:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:22:22] Production.INFO: 34 MB #Memory Used# [2025-03-20 03:23:01] Production.INFO: ==16788== Lock acquired, processing the job... [2025-03-20 03:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:23:01] Production.INFO: neon service started [2025-03-20 03:23:01] Production.INFO: neon service started [2025-03-20 03:23:01] Production.INFO: ==16788== Releasing lock... [2025-03-20 03:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:23:02] Production.INFO: ==16790== Lock acquired, processing the job... [2025-03-19 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:23:02] Production.INFO: ==16790== Releasing lock... [2025-03-19 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:23:02] Production.INFO: ==16792== Lock acquired, processing the job... [2025-03-20 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:23:02] Production.INFO: ==16792== Releasing lock... [2025-03-20 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:23:03] Production.INFO: ==16795== Lock acquired, processing the job... [2025-03-19 23:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:23:03] Production.INFO: ==16797== Lock acquired, processing the job... [2025-03-19 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:23:03] Production.INFO: ==16803== Lock acquired, processing the job... [2025-03-19 23:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:23:03] Production.INFO: ==16799== Lock acquired, processing the job... [2025-03-19 23:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:23:03] Production.INFO: ==16801== Lock acquired, processing the job... [2025-03-19 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:23:03] Production.INFO: ==16805== Lock acquired, processing the job... [2025-03-19 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:23:03] Production.INFO: Account Balance Start. [2025-03-19 23:23:03] Production.INFO: CreateAllLog Start [2025-03-19 23:23:03] Production.INFO: 117 [2025-03-19 23:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:23:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:23:03] Production.INFO: count ==12 [2025-03-19 23:23:03] Production.INFO: Date 2025-03-09 [2025-03-19 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-03-19 23:23:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:23:03] Production.INFO: count ==23 [2025-03-19 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718834') start [2025-03-19 23:23:04] Production.INFO: ==16797== Releasing lock... [2025-03-19 23:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718834') end [2025-03-19 23:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:23:04] Production.INFO: 1 [2025-03-19 23:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:23:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:23:04] Production.ERROR: done [2025-03-19 23:23:04] Production.INFO: ==16805== Releasing lock... [2025-03-19 23:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:23:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:23:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:23:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:23:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:23:04] Production.ERROR: done [2025-03-19 23:23:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:23:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:23:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:23:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:23:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:23:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:23:04] Production.INFO: Total Charge 0 [2025-03-19 23:23:04] Production.INFO: CreateAllLog End [2025-03-19 23:23:04] Production.INFO: Account Balance End. [2025-03-19 23:23:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:23:04] Production.INFO: ==16801== Releasing lock... [2025-03-19 23:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:23:05 [end_date_ymd] => 2025-03-19 23:23:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:23:05' and `end` < '2025-03-19 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-03-19 23:23:12] Production.ERROR: CronJobId end10 [2025-03-19 23:23:12] Production.INFO: ==16799== Releasing lock... [2025-03-19 23:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:23:14] Production.INFO: call_cost start [2025-03-19 23:23:14] Production.INFO: call_cost end [2025-03-19 23:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:23:15] Production.INFO: ==16795== Releasing lock... [2025-03-19 23:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:23:17] Production.INFO: count ==780 [2025-03-19 23:23:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:23:05 - End Time 2025-03-19 23:23:05 [2025-03-19 23:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718835', 'tblTempUsageDetail_20' ) start [2025-03-19 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718835', 'tblTempUsageDetail_20' ) end [2025-03-19 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718835', 'tblTempVendorCDR_20' ) start [2025-03-19 23:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718835', 'tblTempVendorCDR_20' ) end [2025-03-19 23:23:17] Production.INFO: ProcessCDR(1,14718835,1,1,2) [2025-03-19 23:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718835', 'tblTempUsageDetail_20' ) start [2025-03-19 23:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718835', 'tblTempUsageDetail_20' ) end [2025-03-19 23:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:23:21] Production.INFO: ==16803== Releasing lock... [2025-03-19 23:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:23:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 03:24:02] Production.INFO: ==16903== Lock acquired, processing the job... [2025-03-20 03:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:24:02] Production.INFO: neon service started [2025-03-20 03:24:02] Production.INFO: neon service started [2025-03-20 03:24:02] Production.INFO: ==16903== Releasing lock... [2025-03-20 03:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:24:02] Production.INFO: ==16907== Lock acquired, processing the job... [2025-03-20 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:24:02] Production.INFO: ==16907== Releasing lock... [2025-03-20 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:24:02] Production.INFO: ==16905== Lock acquired, processing the job... [2025-03-19 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:24:03] Production.INFO: ==16905== Releasing lock... [2025-03-19 23:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:24:03] Production.INFO: ==16910== Lock acquired, processing the job... [2025-03-19 23:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:24:04] Production.INFO: ==16912== Lock acquired, processing the job... [2025-03-19 23:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:24:04] Production.INFO: ==16916== Lock acquired, processing the job... [2025-03-19 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:24:04] Production.INFO: Account Balance Start. [2025-03-19 23:24:04] Production.INFO: CreateAllLog Start [2025-03-19 23:24:04] Production.INFO: 117 [2025-03-19 23:24:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.INFO: ==16914== Lock acquired, processing the job... [2025-03-19 23:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:24:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.INFO: ==16912== Releasing lock... [2025-03-19 23:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:24:04] Production.INFO: ==16920== Lock acquired, processing the job... [2025-03-19 23:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:24:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.INFO: ==16918== Lock acquired, processing the job... [2025-03-19 23:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:24:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:24:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:24:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:24:04] Production.INFO: Total Charge 0 [2025-03-19 23:24:04] Production.INFO: CreateAllLog End [2025-03-19 23:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:24:04] Production.INFO: count ==12 [2025-03-19 23:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:24:04] Production.INFO: count ==23 [2025-03-19 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718839') start [2025-03-19 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718839') end [2025-03-19 23:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:24:04] Production.INFO: 1 [2025-03-19 23:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:24:05] Production.INFO: ==16920== Releasing lock... [2025-03-19 23:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:24:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:24:05] Production.INFO: Account Balance End. [2025-03-19 23:24:05] Production.ERROR: done [2025-03-19 23:24:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:24:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:24:05] Production.INFO: ==16916== Releasing lock... [2025-03-19 23:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:24:05] Production.ERROR: done [2025-03-19 23:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:24:06 [end_date_ymd] => 2025-03-19 23:24:06 [RateCDR] => 1 ) [2025-03-19 23:24:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:24:06' and `end` < '2025-03-19 23:24:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:24:13] Production.ERROR: CronJobId end10 [2025-03-19 23:24:13] Production.INFO: ==16914== Releasing lock... [2025-03-19 23:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:24:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:24:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:24:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:24:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:24:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:24:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:24:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:24:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:24:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:24:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:24:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:24:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:24:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:24:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:24:15] Production.INFO: call_cost start [2025-03-19 23:24:15] Production.INFO: call_cost end [2025-03-19 23:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:24:16] Production.INFO: ==16910== Releasing lock... [2025-03-19 23:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:24:18] Production.INFO: count ==780 [2025-03-19 23:24:19] Production.ERROR: pbx CDR StartTime 2025-03-19 20:24:06 - End Time 2025-03-19 23:24:06 [2025-03-19 23:24:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718840', 'tblTempUsageDetail_20' ) start [2025-03-19 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718840', 'tblTempUsageDetail_20' ) end [2025-03-19 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718840', 'tblTempVendorCDR_20' ) start [2025-03-19 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718840', 'tblTempVendorCDR_20' ) end [2025-03-19 23:24:19] Production.INFO: ProcessCDR(1,14718840,1,1,2) [2025-03-19 23:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718840', 'tblTempUsageDetail_20' ) start [2025-03-19 23:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718840', 'tblTempUsageDetail_20' ) end [2025-03-19 23:24:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:24:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:24:22] Production.INFO: ==16918== Releasing lock... [2025-03-19 23:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:24:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:25:01] Production.INFO: ==16971== Lock acquired, processing the job... [2025-03-20 03:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:25:01] Production.INFO: neon service started [2025-03-20 03:25:01] Production.INFO: neon service started [2025-03-20 03:25:01] Production.INFO: ==16971== Releasing lock... [2025-03-20 03:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:25:02] Production.INFO: ==16973== Lock acquired, processing the job... [2025-03-19 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:25:02] Production.INFO: ==16975== Lock acquired, processing the job... [2025-03-20 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:25:02] Production.INFO: ==16975== Releasing lock... [2025-03-20 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:25:02] Production.INFO: ==16973== Releasing lock... [2025-03-19 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:25:03] Production.INFO: ==16978== Lock acquired, processing the job... [2025-03-19 23:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:25:03] Production.INFO: ==16982== Lock acquired, processing the job... [2025-03-19 23:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:25:03] Production.INFO: ==16984== Lock acquired, processing the job... [2025-03-19 23:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:25:03] Production.INFO: Account Balance Start. [2025-03-19 23:25:03] Production.INFO: ==16980== Lock acquired, processing the job... [2025-03-19 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:25:03] Production.INFO: CreateAllLog Start [2025-03-19 23:25:03] Production.INFO: 117 [2025-03-19 23:25:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:25:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:25:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:03] Production.INFO: ==16986== Lock acquired, processing the job... [2025-03-19 23:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:25:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:25:04] Production.INFO: ==16988== Lock acquired, processing the job... [2025-03-19 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:25:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:25:04] Production.INFO: count ==12 [2025-03-19 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-03-19 23:25:04] Production.INFO: count ==23 [2025-03-19 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718844') start [2025-03-19 23:25:04] Production.INFO: ==16980== Releasing lock... [2025-03-19 23:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:25:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718844') end [2025-03-19 23:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:04] Production.INFO: 1 [2025-03-19 23:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:25:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:04] Production.INFO: ==16988== Releasing lock... [2025-03-19 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:25:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:25:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:25:04] Production.ERROR: done [2025-03-19 23:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:25:04] Production.INFO: Total Charge 0 [2025-03-19 23:25:04] Production.INFO: CreateAllLog End [2025-03-19 23:25:04] Production.ERROR: done [2025-03-19 23:25:04] Production.INFO: Account Balance End. [2025-03-19 23:25:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:25:04] Production.INFO: ==16984== Releasing lock... [2025-03-19 23:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:25:05 [end_date_ymd] => 2025-03-19 23:25:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:25:05' and `end` < '2025-03-19 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-03-19 23:25:13] Production.ERROR: CronJobId end10 [2025-03-19 23:25:13] Production.INFO: ==16982== Releasing lock... [2025-03-19 23:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:25:14] Production.INFO: call_cost start [2025-03-19 23:25:14] Production.INFO: call_cost end [2025-03-19 23:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:25:15] Production.INFO: ==16978== Releasing lock... [2025-03-19 23:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:25:18] Production.INFO: count ==775 [2025-03-19 23:25:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:25:05 - End Time 2025-03-19 23:25:05 [2025-03-19 23:25:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718845', 'tblTempUsageDetail_20' ) start [2025-03-19 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718845', 'tblTempUsageDetail_20' ) end [2025-03-19 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718845', 'tblTempVendorCDR_20' ) start [2025-03-19 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718845', 'tblTempVendorCDR_20' ) end [2025-03-19 23:25:18] Production.INFO: ProcessCDR(1,14718845,1,1,2) [2025-03-19 23:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718845', 'tblTempUsageDetail_20' ) start [2025-03-19 23:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718845', 'tblTempUsageDetail_20' ) end [2025-03-19 23:25:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:25:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:25:23] Production.INFO: ==16986== Releasing lock... [2025-03-19 23:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:25:23] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:26:02] Production.INFO: ==17042== Lock acquired, processing the job... [2025-03-20 03:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:26:02] Production.INFO: neon service started [2025-03-20 03:26:02] Production.INFO: neon service started [2025-03-20 03:26:02] Production.INFO: ==17042== Releasing lock... [2025-03-20 03:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:26:02] Production.INFO: ==17044== Lock acquired, processing the job... [2025-03-19 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:26:02] Production.INFO: ==17046== Lock acquired, processing the job... [2025-03-20 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:26:02] Production.INFO: ==17046== Releasing lock... [2025-03-20 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:26:03] Production.INFO: ==17044== Releasing lock... [2025-03-19 23:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:26:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:26:03] Production.INFO: ==17049== Lock acquired, processing the job... [2025-03-19 23:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:26:04] Production.INFO: ==17059== Lock acquired, processing the job... [2025-03-19 23:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 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-03-19 23:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:26:04] Production.INFO: count ==12 [2025-03-19 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-03-19 23:26:04] Production.INFO: count ==23 [2025-03-19 23:26:04] Production.INFO: ==17051== Lock acquired, processing the job... [2025-03-19 23:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718846') start [2025-03-19 23:26:04] Production.INFO: ==17055== Lock acquired, processing the job... [2025-03-19 23:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:26:04] Production.INFO: ==17057== Lock acquired, processing the job... [2025-03-19 23:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:26:04] Production.INFO: ==17053== Lock acquired, processing the job... [2025-03-19 23:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718846') end [2025-03-19 23:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:26:04] Production.INFO: 1 [2025-03-19 23:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:26:04] Production.INFO: Account Balance Start. [2025-03-19 23:26:04] Production.INFO: CreateAllLog Start [2025-03-19 23:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:26:04] Production.INFO: 117 [2025-03-19 23:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:26:04] Production.INFO: ==17059== Releasing lock... [2025-03-19 23:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:26:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:04] Production.ERROR: done [2025-03-19 23:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:26:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:04] Production.INFO: ==17051== Releasing lock... [2025-03-19 23:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:26:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:04] Production.ERROR: done [2025-03-19 23:26:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:26:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:26:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:26:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:26:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:26:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:26:05] Production.INFO: Total Charge 0 [2025-03-19 23:26:05] Production.INFO: CreateAllLog End [2025-03-19 23:26:05] Production.INFO: Account Balance End. [2025-03-19 23:26:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:26:05] Production.INFO: ==17055== Releasing lock... [2025-03-19 23:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:26:05 [end_date_ymd] => 2025-03-19 23:26:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:26:05' and `end` < '2025-03-19 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-03-19 23:26:14] Production.ERROR: CronJobId end10 [2025-03-19 23:26:14] Production.INFO: ==17053== Releasing lock... [2025-03-19 23:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:26:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:26:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:26:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:26:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:26:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:26:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:26:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:26:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:26:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:26:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:26:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:26:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:26:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:26:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:26:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:26:15] Production.INFO: call_cost start [2025-03-19 23:26:15] Production.INFO: call_cost end [2025-03-19 23:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:26:16] Production.INFO: ==17049== Releasing lock... [2025-03-19 23:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:26:18] Production.INFO: count ==773 [2025-03-19 23:26:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:26:05 - End Time 2025-03-19 23:26:05 [2025-03-19 23:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718850', 'tblTempUsageDetail_20' ) start [2025-03-19 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718850', 'tblTempUsageDetail_20' ) end [2025-03-19 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718850', 'tblTempVendorCDR_20' ) start [2025-03-19 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718850', 'tblTempVendorCDR_20' ) end [2025-03-19 23:26:18] Production.INFO: ProcessCDR(1,14718850,1,1,2) [2025-03-19 23:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718850', 'tblTempUsageDetail_20' ) start [2025-03-19 23:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718850', 'tblTempUsageDetail_20' ) end [2025-03-19 23:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:26:21] Production.INFO: ==17057== Releasing lock... [2025-03-19 23:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:26:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 03:27:01] Production.INFO: ==17117== Lock acquired, processing the job... [2025-03-20 03:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:27:01] Production.INFO: neon service started [2025-03-20 03:27:01] Production.INFO: neon service started [2025-03-20 03:27:01] Production.INFO: ==17117== Releasing lock... [2025-03-20 03:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:27:02] Production.INFO: ==17119== Lock acquired, processing the job... [2025-03-19 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:27:02] Production.INFO: ==17121== Lock acquired, processing the job... [2025-03-20 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:27:02] Production.INFO: ==17121== Releasing lock... [2025-03-20 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:27:02] Production.INFO: ==17119== Releasing lock... [2025-03-19 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:27:03] Production.INFO: ==17130== Lock acquired, processing the job... [2025-03-19 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:27:03] Production.INFO: ==17134== Lock acquired, processing the job... [2025-03-19 23:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:27:03] Production.INFO: Account Balance Start. [2025-03-19 23:27:03] Production.INFO: CreateAllLog Start [2025-03-19 23:27:03] Production.INFO: 117 [2025-03-19 23:27:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:03] Production.INFO: ==17124== Lock acquired, processing the job... [2025-03-19 23:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:27:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:03] Production.INFO: ==17128== Lock acquired, processing the job... [2025-03-19 23:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:27:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:27:03] Production.INFO: ==17126== Lock acquired, processing the job... [2025-03-19 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:27:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:27:03] Production.INFO: count ==12 [2025-03-19 23:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:27:03] Production.INFO: count ==23 [2025-03-19 23:27:03] Production.INFO: ==17132== Lock acquired, processing the job... [2025-03-19 23:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718852') start [2025-03-19 23:27:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:27:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718852') end [2025-03-19 23:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:27:03] Production.INFO: 1 [2025-03-19 23:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:27:03] Production.INFO: Date 2025-03-16 [2025-03-19 23:27:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:03] Production.INFO: ==17134== Releasing lock... [2025-03-19 23:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:27:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:27:03] Production.INFO: Date 2025-03-17 [2025-03-19 23:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:27:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:27:04] Production.ERROR: done [2025-03-19 23:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:27:04] Production.INFO: ==17126== Releasing lock... [2025-03-19 23:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:27:04] Production.INFO: Total Charge 0 [2025-03-19 23:27:04] Production.INFO: CreateAllLog End [2025-03-19 23:27:04] Production.ERROR: done [2025-03-19 23:27:04] Production.INFO: Account Balance End. [2025-03-19 23:27:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:27:04] Production.INFO: ==17130== Releasing lock... [2025-03-19 23:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:27:05 [end_date_ymd] => 2025-03-19 23:27:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:27:05' and `end` < '2025-03-19 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-03-19 23:27:13] Production.ERROR: CronJobId end10 [2025-03-19 23:27:13] Production.INFO: ==17128== Releasing lock... [2025-03-19 23:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:27:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:27:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:27:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:27:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:27:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:27:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:27:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:27:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:27:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:27:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:27:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:27:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:27:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:27:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:27:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:27:15] Production.INFO: call_cost start [2025-03-19 23:27:15] Production.INFO: call_cost end [2025-03-19 23:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:27:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:27:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:27:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:27:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:27:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:27:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:27:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:27:16] Production.INFO: ==17124== Releasing lock... [2025-03-19 23:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:27:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:27:17] Production.INFO: count ==774 [2025-03-19 23:27:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:27:05 - End Time 2025-03-19 23:27:05 [2025-03-19 23:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718855', 'tblTempUsageDetail_20' ) start [2025-03-19 23:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718855', 'tblTempUsageDetail_20' ) end [2025-03-19 23:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718855', 'tblTempVendorCDR_20' ) start [2025-03-19 23:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718855', 'tblTempVendorCDR_20' ) end [2025-03-19 23:27:17] Production.INFO: ProcessCDR(1,14718855,1,1,2) [2025-03-19 23:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718855', 'tblTempUsageDetail_20' ) start [2025-03-19 23:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718855', 'tblTempUsageDetail_20' ) end [2025-03-19 23:27:20] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:27:20] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:27:20] Production.INFO: ==17132== Releasing lock... [2025-03-19 23:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:27:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 03:28:02] Production.INFO: ==17191== Lock acquired, processing the job... [2025-03-20 03:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:28:02] Production.INFO: neon service started [2025-03-20 03:28:02] Production.INFO: neon service started [2025-03-20 03:28:02] Production.INFO: ==17191== Releasing lock... [2025-03-20 03:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:28:02] Production.INFO: ==17194== Lock acquired, processing the job... [2025-03-19 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:28:02] Production.INFO: ==17194== Releasing lock... [2025-03-19 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:28:03] Production.INFO: ==17196== Lock acquired, processing the job... [2025-03-20 03:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:28:03] Production.INFO: ==17196== Releasing lock... [2025-03-20 03:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:28:03] Production.INFO: ==17198== Lock acquired, processing the job... [2025-03-19 23:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:28:03] Production.INFO: ==17200== Lock acquired, processing the job... [2025-03-19 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:28:04] Production.INFO: ==17206== Lock acquired, processing the job... [2025-03-19 23:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:28:04] Production.INFO: ==17202== Lock acquired, processing the job... [2025-03-19 23:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:28:04] Production.INFO: ==17204== Lock acquired, processing the job... [2025-03-19 23:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:28:04] Production.INFO: ==17208== Lock acquired, processing the job... [2025-03-19 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:28:04] Production.INFO: ==17200== Releasing lock... [2025-03-19 23:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:28:04] Production.INFO: Account Balance Start. [2025-03-19 23:28:04] Production.INFO: CreateAllLog Start [2025-03-19 23:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:28:04] Production.INFO: 117 [2025-03-19 23:28:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:28:04] Production.INFO: count ==12 [2025-03-19 23:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:28:04] Production.INFO: count ==23 [2025-03-19 23:28:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718859') start [2025-03-19 23:28:04] Production.ERROR: done [2025-03-19 23:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:28:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:04] Production.ERROR: done [2025-03-19 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718859') end [2025-03-19 23:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:28:04] Production.INFO: 1 [2025-03-19 23:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:28:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:04] Production.INFO: ==17208== Releasing lock... [2025-03-19 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:28:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:28:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:28:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:28:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:28:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:28:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:28:05] Production.INFO: Total Charge 0 [2025-03-19 23:28:05] Production.INFO: CreateAllLog End [2025-03-19 23:28:05] Production.INFO: Account Balance End. [2025-03-19 23:28:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:28:05] Production.INFO: ==17204== Releasing lock... [2025-03-19 23:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:28:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:28:06 [end_date_ymd] => 2025-03-19 23:28:06 [RateCDR] => 1 ) [2025-03-19 23:28:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:28:06' and `end` < '2025-03-19 23:28:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:28:13] Production.ERROR: CronJobId end10 [2025-03-19 23:28:13] Production.INFO: ==17202== Releasing lock... [2025-03-19 23:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:28:15] Production.INFO: call_cost start [2025-03-19 23:28:15] Production.INFO: call_cost end [2025-03-19 23:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:28:16] Production.INFO: ==17198== Releasing lock... [2025-03-19 23:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:28:18] Production.INFO: count ==772 [2025-03-19 23:28:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:28:06 - End Time 2025-03-19 23:28:06 [2025-03-19 23:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718860', 'tblTempUsageDetail_20' ) start [2025-03-19 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718860', 'tblTempUsageDetail_20' ) end [2025-03-19 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718860', 'tblTempVendorCDR_20' ) start [2025-03-19 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718860', 'tblTempVendorCDR_20' ) end [2025-03-19 23:28:18] Production.INFO: ProcessCDR(1,14718860,1,1,2) [2025-03-19 23:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718860', 'tblTempUsageDetail_20' ) start [2025-03-19 23:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718860', 'tblTempUsageDetail_20' ) end [2025-03-19 23:28:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:28:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:28:22] Production.INFO: ==17206== Releasing lock... [2025-03-19 23:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:28:22] Production.INFO: 34 MB #Memory Used# [2025-03-20 03:29:01] Production.INFO: ==17265== Lock acquired, processing the job... [2025-03-20 03:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:29:01] Production.INFO: neon service started [2025-03-20 03:29:01] Production.INFO: neon service started [2025-03-20 03:29:01] Production.INFO: ==17265== Releasing lock... [2025-03-20 03:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:29:02] Production.INFO: ==17269== Lock acquired, processing the job... [2025-03-20 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:29:02] Production.INFO: ==17269== Releasing lock... [2025-03-20 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:29:02] Production.INFO: ==17267== Lock acquired, processing the job... [2025-03-19 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:29:02] Production.INFO: ==17267== Releasing lock... [2025-03-19 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:29:03] Production.INFO: ==17276== Lock acquired, processing the job... [2025-03-19 23:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:29:03] Production.INFO: ==17272== Lock acquired, processing the job... [2025-03-19 23:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:29:03] Production.INFO: ==17282== Lock acquired, processing the job... [2025-03-19 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:29:03] Production.INFO: ==17274== Lock acquired, processing the job... [2025-03-19 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 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-03-19 23:29:03] Production.INFO: ==17278== Lock acquired, processing the job... [2025-03-19 23:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:29:03] Production.INFO: count ==12 [2025-03-19 23:29:03] Production.INFO: ==17280== Lock acquired, processing the job... [2025-03-19 23:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 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-03-19 23:29:03] Production.INFO: count ==23 [2025-03-19 23:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718861') start [2025-03-19 23:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718861') end [2025-03-19 23:29:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:29:03] Production.INFO: 1 [2025-03-19 23:29:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:29:03] Production.INFO: Account Balance Start. [2025-03-19 23:29:03] Production.INFO: CreateAllLog Start [2025-03-19 23:29:03] Production.INFO: 117 [2025-03-19 23:29:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.INFO: ==17282== Releasing lock... [2025-03-19 23:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:29:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.INFO: ==17274== Releasing lock... [2025-03-19 23:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:29:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.ERROR: done [2025-03-19 23:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:29:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.ERROR: done [2025-03-19 23:29:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:29:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:29:04] Production.INFO: Total Charge 0 [2025-03-19 23:29:04] Production.INFO: CreateAllLog End [2025-03-19 23:29:04] Production.INFO: Account Balance End. [2025-03-19 23:29:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:29:04] Production.INFO: ==17278== Releasing lock... [2025-03-19 23:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:29:05 [end_date_ymd] => 2025-03-19 23:29:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:29:05' and `end` < '2025-03-19 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-03-19 23:29:13] Production.ERROR: CronJobId end10 [2025-03-19 23:29:13] Production.INFO: ==17276== Releasing lock... [2025-03-19 23:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:29:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:29:14] Production.INFO: call_cost start [2025-03-19 23:29:14] Production.INFO: call_cost end [2025-03-19 23:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:29:15] Production.INFO: ==17272== Releasing lock... [2025-03-19 23:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:29:17] Production.INFO: count ==770 [2025-03-19 23:29:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:29:05 - End Time 2025-03-19 23:29:05 [2025-03-19 23:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718865', 'tblTempUsageDetail_20' ) start [2025-03-19 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718865', 'tblTempUsageDetail_20' ) end [2025-03-19 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718865', 'tblTempVendorCDR_20' ) start [2025-03-19 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718865', 'tblTempVendorCDR_20' ) end [2025-03-19 23:29:18] Production.INFO: ProcessCDR(1,14718865,1,1,2) [2025-03-19 23:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718865', 'tblTempUsageDetail_20' ) start [2025-03-19 23:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718865', 'tblTempUsageDetail_20' ) end [2025-03-19 23:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:29:21] Production.INFO: ==17280== Releasing lock... [2025-03-19 23:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:29:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 03:30:02] Production.INFO: ==17337== Lock acquired, processing the job... [2025-03-20 03:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:30:02] Production.INFO: neon service started [2025-03-20 03:30:02] Production.INFO: neon service started [2025-03-20 03:30:02] Production.INFO: ==17337== Releasing lock... [2025-03-20 03:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:30:02] Production.INFO: ==17341== Lock acquired, processing the job... [2025-03-20 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:30:02] Production.INFO: ==17341== Releasing lock... [2025-03-20 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:30:02] Production.INFO: ==17339== Lock acquired, processing the job... [2025-03-19 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:30:03] Production.INFO: ==17339== Releasing lock... [2025-03-19 23:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:30:03] Production.INFO: ==17344== Lock acquired, processing the job... [2025-03-19 23:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 23:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 23:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 23:30:04] Production.INFO: ==17344== Releasing lock... [2025-03-19 23:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 23:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 23:30:04] Production.INFO: ==17346== Lock acquired, processing the job... [2025-03-19 23:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:30:04] Production.INFO: ==17354== Lock acquired, processing the job... [2025-03-19 23:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:30:04] Production.INFO: ==17352== Lock acquired, processing the job... [2025-03-19 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:30:04] Production.INFO: Account Balance Start. [2025-03-19 23:30:04] Production.INFO: CreateAllLog Start [2025-03-19 23:30:04] Production.INFO: 117 [2025-03-19 23:30:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:30:04] Production.INFO: ==17348== Lock acquired, processing the job... [2025-03-19 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:04] Production.INFO: ==17350== Lock acquired, processing the job... [2025-03-19 23:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:30:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:04] Production.INFO: ==17358== Lock acquired, processing the job... [2025-03-19 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:30:04] Production.INFO: ==17356== Lock acquired, processing the job... [2025-03-19 23:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 23:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:30:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 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-03-19 23:30:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:04] Production.INFO: count ==12 [2025-03-19 23:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 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-03-19 23:30:04] Production.INFO: count ==23 [2025-03-19 23:30:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718868') start [2025-03-19 23:30:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:04] Production.ERROR: done [2025-03-19 23:30:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:30:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718868') end [2025-03-19 23:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:30:04] Production.INFO: 1 [2025-03-19 23:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:30:05] Production.INFO: ==17348== Releasing lock... [2025-03-19 23:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:30:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:30:05] Production.INFO: Date 2025-03-15 [2025-03-19 23:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:05] Production.ERROR: done [2025-03-19 23:30:05] Production.ERROR: done [2025-03-19 23:30:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:05] Production.INFO: ==17358== Releasing lock... [2025-03-19 23:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 23:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718870', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 23:30:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:30:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:30:05] Production.INFO: Total Charge 0 [2025-03-19 23:30:05] Production.INFO: CreateAllLog End [2025-03-19 23:30:05] Production.INFO: Account Balance End. [2025-03-19 23:30:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:30:05] Production.INFO: ==17352== Releasing lock... [2025-03-19 23:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:30:06 [end_date_ymd] => 2025-03-19 23:30:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:30:06' and `end` < '2025-03-19 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-03-19 23:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718870', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 23:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 23:30:09] Production.INFO: ProcessCDR(1,14718870,1,1,2) [2025-03-19 23:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718870,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718870,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:30:09] Production.INFO: ==17356== Releasing lock... [2025-03-19 23:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 23:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 23:30:15] Production.ERROR: CronJobId end10 [2025-03-19 23:30:15] Production.INFO: ==17350== Releasing lock... [2025-03-19 23:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:30:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:30:17] Production.INFO: call_cost start [2025-03-19 23:30:17] Production.INFO: call_cost end [2025-03-19 23:30:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:30:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:30:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:30:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:30:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:30:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:30:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:30:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:30:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:30:18] Production.INFO: ==17346== Releasing lock... [2025-03-19 23:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:30:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:30:18] Production.INFO: count ==770 [2025-03-19 23:30:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:30:06 - End Time 2025-03-19 23:30:06 [2025-03-19 23:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718871', 'tblTempUsageDetail_20' ) start [2025-03-19 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718871', 'tblTempUsageDetail_20' ) end [2025-03-19 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718871', 'tblTempVendorCDR_20' ) start [2025-03-19 23:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718871', 'tblTempVendorCDR_20' ) end [2025-03-19 23:30:18] Production.INFO: ProcessCDR(1,14718871,1,1,2) [2025-03-19 23:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718871', 'tblTempUsageDetail_20' ) start [2025-03-19 23:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718871', 'tblTempUsageDetail_20' ) end [2025-03-19 23:30:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:30:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:30:22] Production.INFO: ==17354== Releasing lock... [2025-03-19 23:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:30:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 03:31:01] Production.INFO: ==17414== Lock acquired, processing the job... [2025-03-20 03:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:31:01] Production.INFO: neon service started [2025-03-20 03:31:01] Production.INFO: neon service started [2025-03-20 03:31:01] Production.INFO: ==17414== Releasing lock... [2025-03-20 03:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:31:02] Production.INFO: ==17416== Lock acquired, processing the job... [2025-03-19 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:31:02] Production.INFO: ==17418== Lock acquired, processing the job... [2025-03-20 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:31:02] Production.INFO: ==17418== Releasing lock... [2025-03-20 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:31:02] Production.INFO: ==17416== Releasing lock... [2025-03-19 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:31:02] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:31:03] Production.INFO: ==17421== Lock acquired, processing the job... [2025-03-19 23:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:31:03] Production.INFO: ==17423== Lock acquired, processing the job... [2025-03-19 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:31:03] Production.INFO: ==17429== Lock acquired, processing the job... [2025-03-19 23:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:31:03] Production.INFO: ==17431== Lock acquired, processing the job... [2025-03-19 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:31:03] Production.INFO: ==17425== Lock acquired, processing the job... [2025-03-19 23:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:31:03] Production.INFO: ==17427== Lock acquired, processing the job... [2025-03-19 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:31:03] Production.INFO: ==17423== Releasing lock... [2025-03-19 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 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-03-19 23:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:31:03] Production.INFO: count ==12 [2025-03-19 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-03-19 23:31:03] Production.INFO: Account Balance Start. [2025-03-19 23:31:03] Production.INFO: CreateAllLog Start [2025-03-19 23:31:03] Production.INFO: 117 [2025-03-19 23:31:03] Production.INFO: count ==23 [2025-03-19 23:31:03] Production.ERROR: done [2025-03-19 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718874') start [2025-03-19 23:31:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:31:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:31:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718874') end [2025-03-19 23:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:31:03] Production.INFO: 1 [2025-03-19 23:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:31:04] Production.ERROR: done [2025-03-19 23:31:04] Production.INFO: ==17431== Releasing lock... [2025-03-19 23:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:31:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:31:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:31:04] Production.INFO: Total Charge 0 [2025-03-19 23:31:04] Production.INFO: CreateAllLog End [2025-03-19 23:31:04] Production.INFO: Account Balance End. [2025-03-19 23:31:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:31:04] Production.INFO: ==17427== Releasing lock... [2025-03-19 23:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:31:05 [end_date_ymd] => 2025-03-19 23:31:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:31:05' and `end` < '2025-03-19 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-03-19 23:31:13] Production.ERROR: CronJobId end10 [2025-03-19 23:31:13] Production.INFO: ==17425== Releasing lock... [2025-03-19 23:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:31:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:31:14] Production.INFO: call_cost start [2025-03-19 23:31:14] Production.INFO: call_cost end [2025-03-19 23:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:31:15] Production.INFO: ==17421== Releasing lock... [2025-03-19 23:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:31:17] Production.INFO: count ==770 [2025-03-19 23:31:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:31:05 - End Time 2025-03-19 23:31:05 [2025-03-19 23:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718876', 'tblTempUsageDetail_20' ) start [2025-03-19 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718876', 'tblTempUsageDetail_20' ) end [2025-03-19 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718876', 'tblTempVendorCDR_20' ) start [2025-03-19 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718876', 'tblTempVendorCDR_20' ) end [2025-03-19 23:31:17] Production.INFO: ProcessCDR(1,14718876,1,1,2) [2025-03-19 23:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718876', 'tblTempUsageDetail_20' ) start [2025-03-19 23:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718876', 'tblTempUsageDetail_20' ) end [2025-03-19 23:31:20] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:31:20] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:31:20] Production.INFO: ==17429== Releasing lock... [2025-03-19 23:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:31:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 03:32:01] Production.INFO: ==17493== Lock acquired, processing the job... [2025-03-20 03:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:32:01] Production.INFO: neon service started [2025-03-20 03:32:01] Production.INFO: neon service started [2025-03-20 03:32:01] Production.INFO: ==17493== Releasing lock... [2025-03-20 03:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:32:02] Production.INFO: ==17495== Lock acquired, processing the job... [2025-03-19 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:32:02] Production.INFO: ==17497== Lock acquired, processing the job... [2025-03-20 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 23:32:02] Production.INFO: ==17495== Releasing lock... [2025-03-19 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:32:02] Production.INFO: ==17497== Releasing lock... [2025-03-20 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:32:03] Production.INFO: ==17499== Lock acquired, processing the job... [2025-03-19 23:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:32:03] Production.INFO: ==17503== Lock acquired, processing the job... [2025-03-19 23:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:32:03] Production.INFO: ==17505== Lock acquired, processing the job... [2025-03-19 23:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:32:03] Production.INFO: ==17501== Lock acquired, processing the job... [2025-03-19 23:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:32:03] Production.INFO: Account Balance Start. [2025-03-19 23:32:03] Production.INFO: CreateAllLog Start [2025-03-19 23:32:03] Production.INFO: ==17507== Lock acquired, processing the job... [2025-03-19 23:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:32:03] Production.INFO: 117 [2025-03-19 23:32:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:32:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:32:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:32:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:32:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:32:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:32:03] Production.INFO: ==17509== Lock acquired, processing the job... [2025-03-19 23:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:32:04] Production.INFO: Date 2025-03-11 [2025-03-19 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-03-19 23:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:32:04] Production.INFO: count ==12 [2025-03-19 23:32:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:32:04] Production.INFO: count ==23 [2025-03-19 23:32:04] Production.ERROR: done [2025-03-19 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718880') start [2025-03-19 23:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:32:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:32:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:32:04] Production.INFO: ==17501== Releasing lock... [2025-03-19 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:32:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:32:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:32:04] Production.ERROR: done [2025-03-19 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718880') end [2025-03-19 23:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:32:04] Production.INFO: 1 [2025-03-19 23:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:32:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:32:04] Production.INFO: ==17509== Releasing lock... [2025-03-19 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:32:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:32:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:32:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:32:04] Production.INFO: Total Charge 0 [2025-03-19 23:32:04] Production.INFO: CreateAllLog End [2025-03-19 23:32:04] Production.INFO: Account Balance End. [2025-03-19 23:32:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:32:05] Production.INFO: ==17505== Releasing lock... [2025-03-19 23:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:32:05 [end_date_ymd] => 2025-03-19 23:32:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:32:05' and `end` < '2025-03-19 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-03-19 23:32:13] Production.ERROR: CronJobId end10 [2025-03-19 23:32:13] Production.INFO: ==17503== Releasing lock... [2025-03-19 23:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:32:15] Production.INFO: call_cost start [2025-03-19 23:32:15] Production.INFO: call_cost end [2025-03-19 23:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:32:16] Production.INFO: ==17499== Releasing lock... [2025-03-19 23:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:32:17] Production.INFO: count ==768 [2025-03-19 23:32:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:32:05 - End Time 2025-03-19 23:32:05 [2025-03-19 23:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718881', 'tblTempUsageDetail_20' ) start [2025-03-19 23:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718881', 'tblTempUsageDetail_20' ) end [2025-03-19 23:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718881', 'tblTempVendorCDR_20' ) start [2025-03-19 23:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718881', 'tblTempVendorCDR_20' ) end [2025-03-19 23:32:17] Production.INFO: ProcessCDR(1,14718881,1,1,2) [2025-03-19 23:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718881', 'tblTempUsageDetail_20' ) start [2025-03-19 23:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718881', 'tblTempUsageDetail_20' ) end [2025-03-19 23:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:32:21] Production.INFO: ==17507== Releasing lock... [2025-03-19 23:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:32:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:33:01] Production.INFO: ==17562== Lock acquired, processing the job... [2025-03-20 03:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:33:01] Production.INFO: neon service started [2025-03-20 03:33:01] Production.INFO: neon service started [2025-03-20 03:33:01] Production.INFO: ==17562== Releasing lock... [2025-03-20 03:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:33:01] Production.INFO: ==17564== Lock acquired, processing the job... [2025-03-19 23:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:33:02] Production.INFO: ==17564== Releasing lock... [2025-03-19 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:33:02] Production.INFO: ==17566== Lock acquired, processing the job... [2025-03-20 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:33:02] Production.INFO: ==17566== Releasing lock... [2025-03-20 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:33:02] Production.INFO: ==17574== Lock acquired, processing the job... [2025-03-19 23:33:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:33:03] Production.INFO: ==17578== Lock acquired, processing the job... [2025-03-19 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:33:03] Production.INFO: Account Balance Start. [2025-03-19 23:33:03] Production.INFO: CreateAllLog Start [2025-03-19 23:33:03] Production.INFO: 117 [2025-03-19 23:33:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:33:03] Production.INFO: ==17568== Lock acquired, processing the job... [2025-03-19 23:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:33:03] Production.INFO: ==17572== Lock acquired, processing the job... [2025-03-19 23:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:33:03] Production.INFO: ==17570== Lock acquired, processing the job... [2025-03-19 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:33:03] Production.INFO: count ==12 [2025-03-19 23:33:03] Production.INFO: Date 2025-03-09 [2025-03-19 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-03-19 23:33:03] Production.INFO: count ==23 [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718883') start [2025-03-19 23:33:03] Production.INFO: ==17576== Lock acquired, processing the job... [2025-03-19 23:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:33:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:33:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:33:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718883') end [2025-03-19 23:33:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:33:03] Production.INFO: 1 [2025-03-19 23:33:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:33:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:33:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:33:03] Production.INFO: ==17578== Releasing lock... [2025-03-19 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:33:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:33:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:33:03] Production.INFO: Date 2025-03-16 [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:33:03] Production.ERROR: done [2025-03-19 23:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:33:03] Production.INFO: ==17570== Releasing lock... [2025-03-19 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:33:03] Production.INFO: Date 2025-03-17 [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:33:03] Production.INFO: Date 2025-03-18 [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:33:03] Production.INFO: Date 2025-03-19 [2025-03-19 23:33:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:33:03] Production.INFO: Total Charge 0 [2025-03-19 23:33:03] Production.INFO: CreateAllLog End [2025-03-19 23:33:04] Production.ERROR: done [2025-03-19 23:33:04] Production.INFO: Account Balance End. [2025-03-19 23:33:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:33:04] Production.INFO: ==17574== Releasing lock... [2025-03-19 23:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:33:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:33:04 [end_date_ymd] => 2025-03-19 23:33:04 [RateCDR] => 1 ) [2025-03-19 23:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:33:04' and `end` < '2025-03-19 23:33:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:33:12] Production.ERROR: CronJobId end10 [2025-03-19 23:33:12] Production.INFO: ==17572== Releasing lock... [2025-03-19 23:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:33:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:33:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:33:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:33:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:33:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:33:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:33:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:33:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:33:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:33:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:33:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:33:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:33:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:33:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:33:14] Production.INFO: call_cost start [2025-03-19 23:33:14] Production.INFO: call_cost end [2025-03-19 23:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:33:15] Production.INFO: ==17568== Releasing lock... [2025-03-19 23:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:33:17] Production.INFO: count ==771 [2025-03-19 23:33:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:33:04 - End Time 2025-03-19 23:33:04 [2025-03-19 23:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718886', 'tblTempUsageDetail_20' ) start [2025-03-19 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718886', 'tblTempUsageDetail_20' ) end [2025-03-19 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718886', 'tblTempVendorCDR_20' ) start [2025-03-19 23:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718886', 'tblTempVendorCDR_20' ) end [2025-03-19 23:33:17] Production.INFO: ProcessCDR(1,14718886,1,1,2) [2025-03-19 23:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718886', 'tblTempUsageDetail_20' ) start [2025-03-19 23:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718886', 'tblTempUsageDetail_20' ) end [2025-03-19 23:33:20] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:33:20] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:33:20] Production.INFO: ==17576== Releasing lock... [2025-03-19 23:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:33:20] Production.INFO: 34 MB #Memory Used# [2025-03-20 03:34:01] Production.INFO: ==17637== Lock acquired, processing the job... [2025-03-20 03:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:34:01] Production.INFO: neon service started [2025-03-20 03:34:01] Production.INFO: neon service started [2025-03-20 03:34:01] Production.INFO: ==17637== Releasing lock... [2025-03-20 03:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:34:02] Production.INFO: ==17639== Lock acquired, processing the job... [2025-03-19 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:34:02] Production.INFO: ==17639== Releasing lock... [2025-03-19 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:34:02] Production.INFO: ==17641== Lock acquired, processing the job... [2025-03-20 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:34:02] Production.INFO: ==17641== Releasing lock... [2025-03-20 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:34:03] Production.INFO: ==17650== Lock acquired, processing the job... [2025-03-19 23:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:34:03] Production.INFO: ==17652== Lock acquired, processing the job... [2025-03-19 23:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:34:03] Production.INFO: Account Balance Start. [2025-03-19 23:34:03] Production.INFO: CreateAllLog Start [2025-03-19 23:34:03] Production.INFO: 117 [2025-03-19 23:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:34:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:34:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:34:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:34:03] Production.INFO: ==17644== Lock acquired, processing the job... [2025-03-19 23:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:34:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:34:03] Production.INFO: ==17646== Lock acquired, processing the job... [2025-03-19 23:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:34:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:34:03] Production.INFO: ==17648== Lock acquired, processing the job... [2025-03-19 23:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:34:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:34:03] Production.INFO: ==17654== Lock acquired, processing the job... [2025-03-19 23:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:34:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:34:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:34:03] Production.INFO: Date 2025-03-16 [2025-03-19 23:34:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:34:03] Production.INFO: Date 2025-03-17 [2025-03-19 23:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:34:04] Production.ERROR: done [2025-03-19 23:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:34:04] Production.INFO: ==17646== Releasing lock... [2025-03-19 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:34:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:34:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:34:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:34:04] Production.INFO: Total Charge 0 [2025-03-19 23:34:04] Production.INFO: count ==12 [2025-03-19 23:34:04] Production.INFO: CreateAllLog End [2025-03-19 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-03-19 23:34:04] Production.INFO: count ==23 [2025-03-19 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718890') start [2025-03-19 23:34:04] Production.ERROR: done [2025-03-19 23:34:04] Production.INFO: Account Balance End. [2025-03-19 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718890') end [2025-03-19 23:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:34:04] Production.INFO: 1 [2025-03-19 23:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:34:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:34:04] Production.INFO: ==17650== Releasing lock... [2025-03-19 23:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:34:04] Production.INFO: ==17654== Releasing lock... [2025-03-19 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:34:05 [end_date_ymd] => 2025-03-19 23:34:05 [RateCDR] => 1 ) [2025-03-19 23:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:34:05' and `end` < '2025-03-19 23:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:34:12] Production.ERROR: CronJobId end10 [2025-03-19 23:34:12] Production.INFO: ==17648== Releasing lock... [2025-03-19 23:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:34:14] Production.INFO: call_cost start [2025-03-19 23:34:14] Production.INFO: call_cost end [2025-03-19 23:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:34:15] Production.INFO: ==17644== Releasing lock... [2025-03-19 23:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:34:17] Production.INFO: count ==771 [2025-03-19 23:34:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:34:05 - End Time 2025-03-19 23:34:05 [2025-03-19 23:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718891', 'tblTempUsageDetail_20' ) start [2025-03-19 23:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718891', 'tblTempUsageDetail_20' ) end [2025-03-19 23:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718891', 'tblTempVendorCDR_20' ) start [2025-03-19 23:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718891', 'tblTempVendorCDR_20' ) end [2025-03-19 23:34:17] Production.INFO: ProcessCDR(1,14718891,1,1,2) [2025-03-19 23:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718891', 'tblTempUsageDetail_20' ) start [2025-03-19 23:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718891', 'tblTempUsageDetail_20' ) end [2025-03-19 23:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:34:21] Production.INFO: ==17652== Releasing lock... [2025-03-19 23:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:34:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 03:35:02] Production.INFO: ==17711== Lock acquired, processing the job... [2025-03-20 03:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:35:02] Production.INFO: neon service started [2025-03-20 03:35:02] Production.INFO: neon service started [2025-03-20 03:35:02] Production.INFO: ==17711== Releasing lock... [2025-03-20 03:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:35:02] Production.INFO: ==17713== Lock acquired, processing the job... [2025-03-19 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:35:02] Production.INFO: ==17715== Lock acquired, processing the job... [2025-03-20 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:35:02] Production.INFO: ==17715== Releasing lock... [2025-03-20 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:35:02] Production.INFO: ==17713== Releasing lock... [2025-03-19 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:35:03] Production.INFO: ==17718== Lock acquired, processing the job... [2025-03-19 23:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:35:03] Production.INFO: ==17720== Lock acquired, processing the job... [2025-03-19 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:35:03] Production.INFO: ==17722== Lock acquired, processing the job... [2025-03-19 23:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:35:04] Production.INFO: ==17724== Lock acquired, processing the job... [2025-03-19 23:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:35:04] Production.INFO: ==17726== Lock acquired, processing the job... [2025-03-19 23:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:35:04] Production.INFO: ==17720== Releasing lock... [2025-03-19 23:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:35:04] Production.INFO: Account Balance Start. [2025-03-19 23:35:04] Production.INFO: CreateAllLog Start [2025-03-19 23:35:04] Production.INFO: 117 [2025-03-19 23:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:35:04] Production.INFO: ==17728== Lock acquired, processing the job... [2025-03-19 23:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:35:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:04] Production.ERROR: done [2025-03-19 23:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:35:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:04] Production.INFO: count ==12 [2025-03-19 23:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:35:04] Production.INFO: count ==23 [2025-03-19 23:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718895') start [2025-03-19 23:35:04] Production.ERROR: done [2025-03-19 23:35:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718895') end [2025-03-19 23:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:35:04] Production.INFO: 1 [2025-03-19 23:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:35:04] Production.INFO: ==17728== Releasing lock... [2025-03-19 23:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:35:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:35:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:05] Production.INFO: Date 2025-03-15 [2025-03-19 23:35:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:35:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:35:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:35:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:35:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:35:05] Production.INFO: Total Charge 0 [2025-03-19 23:35:05] Production.INFO: CreateAllLog End [2025-03-19 23:35:05] Production.INFO: Account Balance End. [2025-03-19 23:35:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:35:05] Production.INFO: ==17724== Releasing lock... [2025-03-19 23:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:35:05 [end_date_ymd] => 2025-03-19 23:35:05 [RateCDR] => 1 ) [2025-03-19 23:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:35:05' and `end` < '2025-03-19 23:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:35:13] Production.ERROR: CronJobId end10 [2025-03-19 23:35:13] Production.INFO: ==17722== Releasing lock... [2025-03-19 23:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:35:14] Production.INFO: call_cost start [2025-03-19 23:35:14] Production.INFO: call_cost end [2025-03-19 23:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:35:15] Production.INFO: ==17718== Releasing lock... [2025-03-19 23:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:35:18] Production.INFO: count ==765 [2025-03-19 23:35:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:35:05 - End Time 2025-03-19 23:35:05 [2025-03-19 23:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718896', 'tblTempUsageDetail_20' ) start [2025-03-19 23:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718896', 'tblTempUsageDetail_20' ) end [2025-03-19 23:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718896', 'tblTempVendorCDR_20' ) start [2025-03-19 23:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718896', 'tblTempVendorCDR_20' ) end [2025-03-19 23:35:18] Production.INFO: ProcessCDR(1,14718896,1,1,2) [2025-03-19 23:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718896', 'tblTempUsageDetail_20' ) start [2025-03-19 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718896', 'tblTempUsageDetail_20' ) end [2025-03-19 23:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:35:21] Production.INFO: ==17726== Releasing lock... [2025-03-19 23:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:35:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:36:01] Production.INFO: ==17783== Lock acquired, processing the job... [2025-03-20 03:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:36:01] Production.INFO: neon service started [2025-03-20 03:36:01] Production.INFO: neon service started [2025-03-20 03:36:01] Production.INFO: ==17783== Releasing lock... [2025-03-20 03:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:36:02] Production.INFO: ==17785== Lock acquired, processing the job... [2025-03-19 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:36:02] Production.INFO: ==17787== Lock acquired, processing the job... [2025-03-20 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:36:02] Production.INFO: ==17787== Releasing lock... [2025-03-20 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:36:02] Production.INFO: ==17785== Releasing lock... [2025-03-19 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:36:03] Production.INFO: ==17790== Lock acquired, processing the job... [2025-03-19 23:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:36:03] Production.INFO: ==17794== Lock acquired, processing the job... [2025-03-19 23:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:36:03] Production.INFO: ==17800== Lock acquired, processing the job... [2025-03-19 23:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:36:03] Production.INFO: ==17792== Lock acquired, processing the job... [2025-03-19 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:36:03] Production.INFO: count ==12 [2025-03-19 23:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:36:03] Production.INFO: count ==23 [2025-03-19 23:36:03] Production.INFO: ==17796== Lock acquired, processing the job... [2025-03-19 23:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718898') start [2025-03-19 23:36:04] Production.INFO: ==17798== Lock acquired, processing the job... [2025-03-19 23:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718898') end [2025-03-19 23:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:36:04] Production.INFO: 1 [2025-03-19 23:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:36:04] Production.INFO: ==17800== Releasing lock... [2025-03-19 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:36:04] Production.INFO: Account Balance Start. [2025-03-19 23:36:04] Production.INFO: CreateAllLog Start [2025-03-19 23:36:04] Production.INFO: 117 [2025-03-19 23:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:36:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:04] Production.INFO: ==17792== Releasing lock... [2025-03-19 23:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:36:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:04] Production.ERROR: done [2025-03-19 23:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:36:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:04] Production.ERROR: done [2025-03-19 23:36:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:36:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:36:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:36:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:36:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:36:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:36:05] Production.INFO: Total Charge 0 [2025-03-19 23:36:05] Production.INFO: CreateAllLog End [2025-03-19 23:36:05] Production.INFO: Account Balance End. [2025-03-19 23:36:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:36:05] Production.INFO: ==17796== Releasing lock... [2025-03-19 23:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:36:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:36:06 [end_date_ymd] => 2025-03-19 23:36:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:36:06' and `end` < '2025-03-19 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-03-19 23:36:12] Production.ERROR: CronJobId end10 [2025-03-19 23:36:12] Production.INFO: ==17794== Releasing lock... [2025-03-19 23:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:36:14] Production.INFO: call_cost start [2025-03-19 23:36:14] Production.INFO: call_cost end [2025-03-19 23:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:36:15] Production.INFO: ==17790== Releasing lock... [2025-03-19 23:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:36:18] Production.INFO: count ==765 [2025-03-19 23:36:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:36:06 - End Time 2025-03-19 23:36:06 [2025-03-19 23:36:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718901', 'tblTempUsageDetail_20' ) start [2025-03-19 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718901', 'tblTempUsageDetail_20' ) end [2025-03-19 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718901', 'tblTempVendorCDR_20' ) start [2025-03-19 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718901', 'tblTempVendorCDR_20' ) end [2025-03-19 23:36:18] Production.INFO: ProcessCDR(1,14718901,1,1,2) [2025-03-19 23:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718901', 'tblTempUsageDetail_20' ) start [2025-03-19 23:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718901', 'tblTempUsageDetail_20' ) end [2025-03-19 23:36:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:36:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:36:22] Production.INFO: ==17798== Releasing lock... [2025-03-19 23:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:36:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:37:02] Production.INFO: ==17853== Lock acquired, processing the job... [2025-03-20 03:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:37:02] Production.INFO: neon service started [2025-03-20 03:37:02] Production.INFO: neon service started [2025-03-20 03:37:02] Production.INFO: ==17853== Releasing lock... [2025-03-20 03:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:37:02] Production.INFO: ==17855== Lock acquired, processing the job... [2025-03-19 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:37:02] Production.INFO: ==17857== Lock acquired, processing the job... [2025-03-20 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:37:02] Production.INFO: ==17857== Releasing lock... [2025-03-20 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:37:03] Production.INFO: ==17855== Releasing lock... [2025-03-19 23:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:37:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:37:03] Production.INFO: ==17862== Lock acquired, processing the job... [2025-03-19 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:37:04] Production.INFO: ==17860== Lock acquired, processing the job... [2025-03-19 23:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:37:04] Production.INFO: ==17868== Lock acquired, processing the job... [2025-03-19 23:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:37:04] Production.INFO: ==17864== Lock acquired, processing the job... [2025-03-19 23:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:37:04] Production.INFO: ==17866== Lock acquired, processing the job... [2025-03-19 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:37:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:37:04] Production.INFO: ==17870== Lock acquired, processing the job... [2025-03-19 23:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:37:04] Production.INFO: Account Balance Start. [2025-03-19 23:37:04] Production.INFO: CreateAllLog Start [2025-03-19 23:37:04] Production.INFO: 117 [2025-03-19 23:37:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:37:04] Production.INFO: ==17862== Releasing lock... [2025-03-19 23:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:37:04] Production.ERROR: done [2025-03-19 23:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:37:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:04] Production.INFO: count ==12 [2025-03-19 23:37:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:37:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:04] Production.INFO: count ==23 [2025-03-19 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718905') start [2025-03-19 23:37:04] Production.ERROR: done [2025-03-19 23:37:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718905') end [2025-03-19 23:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:37:04] Production.INFO: 1 [2025-03-19 23:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:37:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:37:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:37:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:05] Production.INFO: ==17870== Releasing lock... [2025-03-19 23:37:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:37:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:37:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:37:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:37:05] Production.INFO: Total Charge 0 [2025-03-19 23:37:05] Production.INFO: CreateAllLog End [2025-03-19 23:37:05] Production.INFO: Account Balance End. [2025-03-19 23:37:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:37:05] Production.INFO: ==17866== Releasing lock... [2025-03-19 23:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:37:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:37:05 [end_date_ymd] => 2025-03-19 23:37:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:37:05' and `end` < '2025-03-19 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-03-19 23:37:14] Production.ERROR: CronJobId end10 [2025-03-19 23:37:14] Production.INFO: ==17864== Releasing lock... [2025-03-19 23:37:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:37:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:37:15] Production.INFO: call_cost start [2025-03-19 23:37:15] Production.INFO: call_cost end [2025-03-19 23:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:37:16] Production.INFO: ==17860== Releasing lock... [2025-03-19 23:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:37:18] Production.INFO: count ==767 [2025-03-19 23:37:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:37:05 - End Time 2025-03-19 23:37:05 [2025-03-19 23:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718906', 'tblTempUsageDetail_20' ) start [2025-03-19 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718906', 'tblTempUsageDetail_20' ) end [2025-03-19 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718906', 'tblTempVendorCDR_20' ) start [2025-03-19 23:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718906', 'tblTempVendorCDR_20' ) end [2025-03-19 23:37:18] Production.INFO: ProcessCDR(1,14718906,1,1,2) [2025-03-19 23:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718906', 'tblTempUsageDetail_20' ) start [2025-03-19 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718906', 'tblTempUsageDetail_20' ) end [2025-03-19 23:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:37:21] Production.INFO: ==17868== Releasing lock... [2025-03-19 23:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:37:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 03:38:01] Production.INFO: ==17924== Lock acquired, processing the job... [2025-03-20 03:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:38:01] Production.INFO: neon service started [2025-03-20 03:38:01] Production.INFO: neon service started [2025-03-20 03:38:01] Production.INFO: ==17924== Releasing lock... [2025-03-20 03:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:38:02] Production.INFO: ==17926== Lock acquired, processing the job... [2025-03-19 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:38:02] Production.INFO: ==17928== Lock acquired, processing the job... [2025-03-20 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:38:02] Production.INFO: ==17928== Releasing lock... [2025-03-20 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:38:02] Production.INFO: ==17926== Releasing lock... [2025-03-19 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:38:03] Production.INFO: ==17931== Lock acquired, processing the job... [2025-03-19 23:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:38:03] Production.INFO: ==17933== Lock acquired, processing the job... [2025-03-19 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:38:03] Production.INFO: ==17937== Lock acquired, processing the job... [2025-03-19 23:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:38:03] Production.INFO: Account Balance Start. [2025-03-19 23:38:03] Production.INFO: CreateAllLog Start [2025-03-19 23:38:03] Production.INFO: 117 [2025-03-19 23:38:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:38:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:03] Production.INFO: ==17935== Lock acquired, processing the job... [2025-03-19 23:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:38:03] Production.INFO: ==17933== Releasing lock... [2025-03-19 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:38:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:38:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:38:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:03] Production.INFO: ==17941== Lock acquired, processing the job... [2025-03-19 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:38:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:38:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:03] Production.INFO: ==17939== Lock acquired, processing the job... [2025-03-19 23:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:38:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 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-03-19 23:38:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:04] Production.INFO: count ==12 [2025-03-19 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-03-19 23:38:04] Production.INFO: count ==23 [2025-03-19 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718910') start [2025-03-19 23:38:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718910') end [2025-03-19 23:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:38:04] Production.INFO: 1 [2025-03-19 23:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:38:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:38:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:38:04] Production.INFO: Total Charge 0 [2025-03-19 23:38:04] Production.INFO: CreateAllLog End [2025-03-19 23:38:04] Production.INFO: ==17941== Releasing lock... [2025-03-19 23:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:38:04] Production.ERROR: done [2025-03-19 23:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:38:04] Production.INFO: Account Balance End. [2025-03-19 23:38:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:38:04] Production.INFO: ==17937== Releasing lock... [2025-03-19 23:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:38:04] Production.ERROR: done [2025-03-19 23:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:38:05 [end_date_ymd] => 2025-03-19 23:38:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:38:05' and `end` < '2025-03-19 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-03-19 23:38:13] Production.ERROR: CronJobId end10 [2025-03-19 23:38:13] Production.INFO: ==17935== Releasing lock... [2025-03-19 23:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:38:15] Production.INFO: call_cost start [2025-03-19 23:38:15] Production.INFO: call_cost end [2025-03-19 23:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:38:16] Production.INFO: ==17931== Releasing lock... [2025-03-19 23:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:38:17] Production.INFO: count ==763 [2025-03-19 23:38:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:38:05 - End Time 2025-03-19 23:38:05 [2025-03-19 23:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718911', 'tblTempUsageDetail_20' ) start [2025-03-19 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718911', 'tblTempUsageDetail_20' ) end [2025-03-19 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718911', 'tblTempVendorCDR_20' ) start [2025-03-19 23:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718911', 'tblTempVendorCDR_20' ) end [2025-03-19 23:38:17] Production.INFO: ProcessCDR(1,14718911,1,1,2) [2025-03-19 23:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718911', 'tblTempUsageDetail_20' ) start [2025-03-19 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718911', 'tblTempUsageDetail_20' ) end [2025-03-19 23:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:38:21] Production.INFO: ==17939== Releasing lock... [2025-03-19 23:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:38:21] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 03:39:02] Production.INFO: ==17995== Lock acquired, processing the job... [2025-03-20 03:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:39:02] Production.INFO: neon service started [2025-03-20 03:39:02] Production.INFO: neon service started [2025-03-20 03:39:02] Production.INFO: ==17995== Releasing lock... [2025-03-20 03:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:39:02] Production.INFO: ==17999== Lock acquired, processing the job... [2025-03-20 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:39:02] Production.INFO: ==17999== Releasing lock... [2025-03-20 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:39:02] Production.INFO: ==17997== Lock acquired, processing the job... [2025-03-19 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:39:03] Production.INFO: ==17997== Releasing lock... [2025-03-19 23:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:39:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:39:03] Production.INFO: ==18001== Lock acquired, processing the job... [2025-03-19 23:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:39:03] Production.INFO: ==18003== Lock acquired, processing the job... [2025-03-19 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:39:03] Production.INFO: ==18007== Lock acquired, processing the job... [2025-03-19 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:39:03] Production.INFO: ==18011== Lock acquired, processing the job... [2025-03-19 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:39:04] Production.INFO: ==18005== Lock acquired, processing the job... [2025-03-19 23:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:39:04] Production.INFO: ==18009== Lock acquired, processing the job... [2025-03-19 23:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:39:04] Production.INFO: Account Balance Start. [2025-03-19 23:39:04] Production.INFO: CreateAllLog Start [2025-03-19 23:39:04] Production.INFO: 117 [2025-03-19 23:39:04] Production.INFO: count ==12 [2025-03-19 23:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:39:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:39:04] Production.INFO: count ==23 [2025-03-19 23:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718915') start [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.INFO: ==18003== Releasing lock... [2025-03-19 23:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:39:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718915') end [2025-03-19 23:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:39:04] Production.INFO: 1 [2025-03-19 23:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:39:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.ERROR: done [2025-03-19 23:39:04] Production.INFO: ==18011== Releasing lock... [2025-03-19 23:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:39:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:39:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:39:04] Production.INFO: Total Charge 0 [2025-03-19 23:39:04] Production.INFO: CreateAllLog End [2025-03-19 23:39:04] Production.ERROR: done [2025-03-19 23:39:05] Production.INFO: Account Balance End. [2025-03-19 23:39:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:39:05] Production.INFO: ==18007== Releasing lock... [2025-03-19 23:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:39:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:39:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:39:06 [end_date_ymd] => 2025-03-19 23:39:06 [RateCDR] => 1 ) [2025-03-19 23:39:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:39:06' and `end` < '2025-03-19 23:39:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:39:14] Production.ERROR: CronJobId end10 [2025-03-19 23:39:14] Production.INFO: ==18005== Releasing lock... [2025-03-19 23:39:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:39:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:39:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:39:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:39:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:39:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:39:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:39:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:39:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:39:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:39:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:39:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:39:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:39:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:39:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:39:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:39:15] Production.INFO: call_cost start [2025-03-19 23:39:15] Production.INFO: call_cost end [2025-03-19 23:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:39:16] Production.INFO: ==18001== Releasing lock... [2025-03-19 23:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:39:18] Production.INFO: count ==789 [2025-03-19 23:39:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:39:06 - End Time 2025-03-19 23:39:06 [2025-03-19 23:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718916', 'tblTempUsageDetail_20' ) start [2025-03-19 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718916', 'tblTempUsageDetail_20' ) end [2025-03-19 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718916', 'tblTempVendorCDR_20' ) start [2025-03-19 23:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718916', 'tblTempVendorCDR_20' ) end [2025-03-19 23:39:18] Production.INFO: ProcessCDR(1,14718916,1,1,2) [2025-03-19 23:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718916', 'tblTempUsageDetail_20' ) start [2025-03-19 23:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718916', 'tblTempUsageDetail_20' ) end [2025-03-19 23:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:39:21] Production.INFO: ==18009== Releasing lock... [2025-03-19 23:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:39:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 03:40:01] Production.INFO: ==18107== Lock acquired, processing the job... [2025-03-20 03:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:40:01] Production.INFO: neon service started [2025-03-20 03:40:01] Production.INFO: neon service started [2025-03-20 03:40:01] Production.INFO: ==18107== Releasing lock... [2025-03-20 03:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:40:01] Production.INFO: ==18111== Lock acquired, processing the job... [2025-03-20 03:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:40:01] Production.INFO: ==18111== Releasing lock... [2025-03-20 03:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:40:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:40:02] Production.INFO: ==18109== Lock acquired, processing the job... [2025-03-19 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:40:02] Production.INFO: ==18109== Releasing lock... [2025-03-19 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:40:03] Production.INFO: ==18114== Lock acquired, processing the job... [2025-03-19 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 23:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 23:40:03] Production.INFO: ==18120== Lock acquired, processing the job... [2025-03-19 23:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 23:40:03] Production.INFO: ==18114== Releasing lock... [2025-03-19 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 23:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 23:40:03] Production.INFO: ==18122== Lock acquired, processing the job... [2025-03-19 23:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:40:03] Production.INFO: ==18116== Lock acquired, processing the job... [2025-03-19 23:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:40:03] Production.INFO: ==18126== Lock acquired, processing the job... [2025-03-19 23:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 23:40:03] Production.INFO: ==18118== Lock acquired, processing the job... [2025-03-19 23:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:40:03] Production.INFO: Account Balance Start. [2025-03-19 23:40:03] Production.INFO: CreateAllLog Start [2025-03-19 23:40:03] Production.INFO: 117 [2025-03-19 23:40:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:40:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:40:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:40:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:40:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:40:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:40:04] Production.INFO: ==18124== Lock acquired, processing the job... [2025-03-19 23:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:40:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:40:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:40:04] Production.INFO: ==18128== Lock acquired, processing the job... [2025-03-19 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:40:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:40:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:40:04] Production.INFO: count ==12 [2025-03-19 23:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:40:04] Production.INFO: count ==23 [2025-03-19 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718920') start [2025-03-19 23:40:04] Production.INFO: ==18118== Releasing lock... [2025-03-19 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:40:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:40:04] Production.ERROR: done [2025-03-19 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718920') end [2025-03-19 23:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:40:04] Production.INFO: 1 [2025-03-19 23:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:40:04] Production.INFO: ==18128== Releasing lock... [2025-03-19 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 23:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718921', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 23:40:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:40:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:40:04] Production.ERROR: done [2025-03-19 23:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:40:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:40:04] Production.ERROR: done [2025-03-19 23:40:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:40:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:40:04] Production.INFO: Total Charge 0 [2025-03-19 23:40:04] Production.INFO: CreateAllLog End [2025-03-19 23:40:04] Production.INFO: Account Balance End. [2025-03-19 23:40:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:40:04] Production.INFO: ==18122== Releasing lock... [2025-03-19 23:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:40:06 [end_date_ymd] => 2025-03-19 23:40:06 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:40:06' and `end` < '2025-03-19 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-03-19 23:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718921', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 23:40:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 23:40:08] Production.INFO: ProcessCDR(1,14718921,1,1,2) [2025-03-19 23:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718921,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718921,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:40:08] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:40:08] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:40:08] Production.INFO: ==18126== Releasing lock... [2025-03-19 23:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 23:40:08] Production.INFO: 26 MB #Memory Used# [2025-03-19 23:40:15] Production.ERROR: CronJobId end10 [2025-03-19 23:40:15] Production.INFO: ==18120== Releasing lock... [2025-03-19 23:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:40:16] Production.INFO: call_cost start [2025-03-19 23:40:16] Production.INFO: call_cost end [2025-03-19 23:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:40:17] Production.INFO: ==18116== Releasing lock... [2025-03-19 23:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:40:18] Production.INFO: count ==826 [2025-03-19 23:40:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:40:06 - End Time 2025-03-19 23:40:06 [2025-03-19 23:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718922', 'tblTempUsageDetail_20' ) start [2025-03-19 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718922', 'tblTempUsageDetail_20' ) end [2025-03-19 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718922', 'tblTempVendorCDR_20' ) start [2025-03-19 23:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718922', 'tblTempVendorCDR_20' ) end [2025-03-19 23:40:18] Production.INFO: ProcessCDR(1,14718922,1,1,2) [2025-03-19 23:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718922', 'tblTempUsageDetail_20' ) start [2025-03-19 23:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718922', 'tblTempUsageDetail_20' ) end [2025-03-19 23:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:40:22] Production.INFO: ==18124== Releasing lock... [2025-03-19 23:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:40:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 03:41:01] Production.INFO: ==18183== Lock acquired, processing the job... [2025-03-20 03:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:41:01] Production.INFO: neon service started [2025-03-20 03:41:01] Production.INFO: neon service started [2025-03-20 03:41:01] Production.INFO: ==18183== Releasing lock... [2025-03-20 03:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:41:02] Production.INFO: ==18187== Lock acquired, processing the job... [2025-03-20 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:41:02] Production.INFO: ==18187== Releasing lock... [2025-03-20 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:41:02] Production.INFO: ==18185== Lock acquired, processing the job... [2025-03-19 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:41:02] Production.INFO: ==18185== Releasing lock... [2025-03-19 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:41:03] Production.INFO: ==18193== Lock acquired, processing the job... [2025-03-19 23:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:41:03] Production.INFO: ==18191== Lock acquired, processing the job... [2025-03-19 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:41:03] Production.INFO: ==18199== Lock acquired, processing the job... [2025-03-19 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 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-03-19 23:41:03] Production.INFO: count ==12 [2025-03-19 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-03-19 23:41:03] Production.INFO: count ==23 [2025-03-19 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718923') start [2025-03-19 23:41:03] Production.INFO: ==18189== Lock acquired, processing the job... [2025-03-19 23:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:41:03] Production.INFO: ==18197== Lock acquired, processing the job... [2025-03-19 23:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:41:03] Production.INFO: ==18195== Lock acquired, processing the job... [2025-03-19 23:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718923') end [2025-03-19 23:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:41:03] Production.INFO: 1 [2025-03-19 23:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:41:03] Production.INFO: ==18199== Releasing lock... [2025-03-19 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:41:04] Production.INFO: Account Balance Start. [2025-03-19 23:41:04] Production.INFO: CreateAllLog Start [2025-03-19 23:41:04] Production.INFO: 117 [2025-03-19 23:41:04] Production.INFO: ==18191== Releasing lock... [2025-03-19 23:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:41:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.ERROR: done [2025-03-19 23:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:41:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.ERROR: done [2025-03-19 23:41:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:41:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:41:04] Production.INFO: Total Charge 0 [2025-03-19 23:41:04] Production.INFO: CreateAllLog End [2025-03-19 23:41:04] Production.INFO: Account Balance End. [2025-03-19 23:41:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:41:04] Production.INFO: ==18195== Releasing lock... [2025-03-19 23:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:41:05 [end_date_ymd] => 2025-03-19 23:41:05 [RateCDR] => 1 ) [2025-03-19 23:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:41:05' and `end` < '2025-03-19 23:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:41:13] Production.ERROR: CronJobId end10 [2025-03-19 23:41:13] Production.INFO: ==18193== Releasing lock... [2025-03-19 23:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:41:15] Production.INFO: call_cost start [2025-03-19 23:41:15] Production.INFO: call_cost end [2025-03-19 23:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:41:16] Production.INFO: ==18189== Releasing lock... [2025-03-19 23:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:41:17] Production.INFO: count ==864 [2025-03-19 23:41:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:41:05 - End Time 2025-03-19 23:41:05 [2025-03-19 23:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718927', 'tblTempUsageDetail_20' ) start [2025-03-19 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718927', 'tblTempUsageDetail_20' ) end [2025-03-19 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718927', 'tblTempVendorCDR_20' ) start [2025-03-19 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718927', 'tblTempVendorCDR_20' ) end [2025-03-19 23:41:18] Production.INFO: ProcessCDR(1,14718927,1,1,2) [2025-03-19 23:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718927', 'tblTempUsageDetail_20' ) start [2025-03-19 23:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718927', 'tblTempUsageDetail_20' ) end [2025-03-19 23:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:41:21] Production.INFO: ==18197== Releasing lock... [2025-03-19 23:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:41:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 03:42:02] Production.INFO: ==18259== Lock acquired, processing the job... [2025-03-20 03:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:42:02] Production.INFO: neon service started [2025-03-20 03:42:02] Production.INFO: neon service started [2025-03-20 03:42:02] Production.INFO: ==18259== Releasing lock... [2025-03-20 03:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:42:02] Production.INFO: ==18263== Lock acquired, processing the job... [2025-03-20 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:42:02] Production.INFO: ==18263== Releasing lock... [2025-03-20 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:42:02] Production.INFO: ==18261== Lock acquired, processing the job... [2025-03-19 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:42:03] Production.INFO: ==18261== Releasing lock... [2025-03-19 23:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:42:03] Production.INFO: ==18266== Lock acquired, processing the job... [2025-03-19 23:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:42:04] Production.INFO: ==18268== Lock acquired, processing the job... [2025-03-19 23:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:42:04] Production.INFO: ==18270== Lock acquired, processing the job... [2025-03-19 23:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:42:04] Production.INFO: ==18272== Lock acquired, processing the job... [2025-03-19 23:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:42:04] Production.INFO: ==18274== Lock acquired, processing the job... [2025-03-19 23:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:42:04] Production.INFO: Account Balance Start. [2025-03-19 23:42:04] Production.INFO: ==18268== Releasing lock... [2025-03-19 23:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:42:04] Production.INFO: CreateAllLog Start [2025-03-19 23:42:04] Production.INFO: 117 [2025-03-19 23:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:42:04] Production.INFO: ==18276== Lock acquired, processing the job... [2025-03-19 23:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:42:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:42:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:42:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:42:04] Production.INFO: count ==12 [2025-03-19 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-03-19 23:42:04] Production.INFO: count ==23 [2025-03-19 23:42:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718931') start [2025-03-19 23:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:42:04] Production.ERROR: done [2025-03-19 23:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:42:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718931') end [2025-03-19 23:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:42:04] Production.INFO: 1 [2025-03-19 23:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:42:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:42:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:42:05] Production.INFO: ==18276== Releasing lock... [2025-03-19 23:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:42:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:42:05] Production.ERROR: done [2025-03-19 23:42:05] Production.INFO: Date 2025-03-14 [2025-03-19 23:42:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:42:05] Production.INFO: Date 2025-03-15 [2025-03-19 23:42:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:42:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:42:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:42:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:42:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:42:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:42:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:42:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:42:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:42:05] Production.INFO: Total Charge 0 [2025-03-19 23:42:05] Production.INFO: CreateAllLog End [2025-03-19 23:42:05] Production.INFO: Account Balance End. [2025-03-19 23:42:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:42:05] Production.INFO: ==18272== Releasing lock... [2025-03-19 23:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:42:06 [end_date_ymd] => 2025-03-19 23:42:06 [RateCDR] => 1 ) [2025-03-19 23:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:42:06' and `end` < '2025-03-19 23:42:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:42:12] Production.ERROR: CronJobId end10 [2025-03-19 23:42:12] Production.INFO: ==18270== Releasing lock... [2025-03-19 23:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:42:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:42:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:42:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:42:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:42:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:42:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:42:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:42:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:42:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:42:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:42:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:42:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:42:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:42:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:42:14] Production.INFO: call_cost start [2025-03-19 23:42:14] Production.INFO: call_cost end [2025-03-19 23:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:42:15] Production.INFO: ==18266== Releasing lock... [2025-03-19 23:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:42:18] Production.INFO: count ==900 [2025-03-19 23:42:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:42:06 - End Time 2025-03-19 23:42:06 [2025-03-19 23:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718932', 'tblTempUsageDetail_20' ) start [2025-03-19 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718932', 'tblTempUsageDetail_20' ) end [2025-03-19 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718932', 'tblTempVendorCDR_20' ) start [2025-03-19 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718932', 'tblTempVendorCDR_20' ) end [2025-03-19 23:42:18] Production.INFO: ProcessCDR(1,14718932,1,1,2) [2025-03-19 23:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718932', 'tblTempUsageDetail_20' ) start [2025-03-19 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718932', 'tblTempUsageDetail_20' ) end [2025-03-19 23:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:42:22] Production.INFO: ==18274== Releasing lock... [2025-03-19 23:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:42:22] Production.INFO: 35 MB #Memory Used# [2025-03-20 03:43:01] Production.INFO: ==18331== Lock acquired, processing the job... [2025-03-20 03:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:43:01] Production.INFO: neon service started [2025-03-20 03:43:01] Production.INFO: neon service started [2025-03-20 03:43:01] Production.INFO: ==18331== Releasing lock... [2025-03-20 03:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:43:02] Production.INFO: ==18335== Lock acquired, processing the job... [2025-03-20 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:43:02] Production.INFO: ==18335== Releasing lock... [2025-03-20 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:43:02] Production.INFO: ==18333== Lock acquired, processing the job... [2025-03-19 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:43:02] Production.INFO: ==18333== Releasing lock... [2025-03-19 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:43:03] Production.INFO: ==18342== Lock acquired, processing the job... [2025-03-19 23:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:43:03] Production.INFO: ==18344== Lock acquired, processing the job... [2025-03-19 23:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:43:03] Production.INFO: Account Balance Start. [2025-03-19 23:43:03] Production.INFO: CreateAllLog Start [2025-03-19 23:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:43:03] Production.INFO: 117 [2025-03-19 23:43:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:43:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:43:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:43:03] Production.INFO: ==18348== Lock acquired, processing the job... [2025-03-19 23:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:43:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:43:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:43:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:43:03] Production.INFO: ==18338== Lock acquired, processing the job... [2025-03-19 23:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:43:03] Production.INFO: ==18340== Lock acquired, processing the job... [2025-03-19 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:43:03] Production.INFO: count ==12 [2025-03-19 23:43:03] Production.INFO: Date 2025-03-14 [2025-03-19 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-03-19 23:43:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:43:03] Production.INFO: count ==23 [2025-03-19 23:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718934') start [2025-03-19 23:43:03] Production.INFO: ==18346== Lock acquired, processing the job... [2025-03-19 23:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:43:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:43:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718934') end [2025-03-19 23:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:43:04] Production.INFO: 1 [2025-03-19 23:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:43:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:43:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:43:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:43:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:43:04] Production.INFO: ==18348== Releasing lock... [2025-03-19 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:43:04] Production.INFO: Total Charge 0 [2025-03-19 23:43:04] Production.INFO: CreateAllLog End [2025-03-19 23:43:04] Production.INFO: ==18340== Releasing lock... [2025-03-19 23:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:43:04] Production.ERROR: done [2025-03-19 23:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:43:04] Production.INFO: Account Balance End. [2025-03-19 23:43:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:43:04] Production.INFO: ==18344== Releasing lock... [2025-03-19 23:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:43:04] Production.ERROR: done [2025-03-19 23:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:43:05 [end_date_ymd] => 2025-03-19 23:43:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:43:05' and `end` < '2025-03-19 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-03-19 23:43:12] Production.ERROR: CronJobId end10 [2025-03-19 23:43:12] Production.INFO: ==18342== Releasing lock... [2025-03-19 23:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:43:15] Production.INFO: call_cost start [2025-03-19 23:43:15] Production.INFO: call_cost end [2025-03-19 23:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:43:16] Production.INFO: ==18338== Releasing lock... [2025-03-19 23:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:43:18] Production.INFO: count ==1080 [2025-03-19 23:43:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:43:05 - End Time 2025-03-19 23:43:05 [2025-03-19 23:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718937', 'tblTempUsageDetail_20' ) start [2025-03-19 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718937', 'tblTempUsageDetail_20' ) end [2025-03-19 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718937', 'tblTempVendorCDR_20' ) start [2025-03-19 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718937', 'tblTempVendorCDR_20' ) end [2025-03-19 23:43:18] Production.INFO: ProcessCDR(1,14718937,1,1,2) [2025-03-19 23:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718937', 'tblTempUsageDetail_20' ) start [2025-03-19 23:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718937', 'tblTempUsageDetail_20' ) end [2025-03-19 23:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:43:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:43:22] Production.INFO: ==18346== Releasing lock... [2025-03-19 23:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:43:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-20 03:44:02] Production.INFO: ==18403== Lock acquired, processing the job... [2025-03-20 03:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:44:02] Production.INFO: neon service started [2025-03-20 03:44:02] Production.INFO: neon service started [2025-03-20 03:44:02] Production.INFO: ==18403== Releasing lock... [2025-03-20 03:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:44:02] Production.INFO: ==18408== Lock acquired, processing the job... [2025-03-20 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:44:02] Production.INFO: ==18408== Releasing lock... [2025-03-20 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:44:02] Production.INFO: ==18406== Lock acquired, processing the job... [2025-03-19 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:44:03] Production.INFO: ==18406== Releasing lock... [2025-03-19 23:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:44:03] Production.INFO: ==18410== Lock acquired, processing the job... [2025-03-19 23:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:44:03] Production.INFO: ==18412== Lock acquired, processing the job... [2025-03-19 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:44:04] Production.INFO: ==18418== Lock acquired, processing the job... [2025-03-19 23:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:44:04] Production.INFO: ==18414== Lock acquired, processing the job... [2025-03-19 23:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:44:04] Production.INFO: ==18420== Lock acquired, processing the job... [2025-03-19 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:44:04] Production.INFO: ==18416== Lock acquired, processing the job... [2025-03-19 23:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:44:04] Production.INFO: ==18412== Releasing lock... [2025-03-19 23:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:44:04] Production.INFO: Account Balance Start. [2025-03-19 23:44:04] Production.INFO: CreateAllLog Start [2025-03-19 23:44:04] Production.INFO: 117 [2025-03-19 23:44:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:44:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:44:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:44:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:44:04] Production.INFO: count ==12 [2025-03-19 23:44:04] Production.ERROR: done [2025-03-19 23:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:44:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:44:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:44:04] Production.INFO: count ==23 [2025-03-19 23:44:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718941') start [2025-03-19 23:44:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:44:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:44:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:44:04] Production.ERROR: done [2025-03-19 23:44:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:44:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:44:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718941') end [2025-03-19 23:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:44:04] Production.INFO: 1 [2025-03-19 23:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:44:04] Production.INFO: Total Charge 0 [2025-03-19 23:44:05] Production.INFO: CreateAllLog End [2025-03-19 23:44:05] Production.INFO: ==18420== Releasing lock... [2025-03-19 23:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:44:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:44:05] Production.INFO: Account Balance End. [2025-03-19 23:44:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:44:05] Production.INFO: ==18416== Releasing lock... [2025-03-19 23:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:44:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:44:05 [end_date_ymd] => 2025-03-19 23:44:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:44:05' and `end` < '2025-03-19 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-03-19 23:44:14] Production.ERROR: CronJobId end10 [2025-03-19 23:44:14] Production.INFO: ==18414== Releasing lock... [2025-03-19 23:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:44:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:44:15] Production.INFO: call_cost start [2025-03-19 23:44:15] Production.INFO: call_cost end [2025-03-19 23:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:44:16] Production.INFO: ==18410== Releasing lock... [2025-03-19 23:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:44:17] Production.INFO: count ==1152 [2025-03-19 23:44:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:44:05 - End Time 2025-03-19 23:44:05 [2025-03-19 23:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718942', 'tblTempUsageDetail_20' ) start [2025-03-19 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718942', 'tblTempUsageDetail_20' ) end [2025-03-19 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718942', 'tblTempVendorCDR_20' ) start [2025-03-19 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718942', 'tblTempVendorCDR_20' ) end [2025-03-19 23:44:18] Production.INFO: ProcessCDR(1,14718942,1,1,2) [2025-03-19 23:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718942', 'tblTempUsageDetail_20' ) start [2025-03-19 23:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718942', 'tblTempUsageDetail_20' ) end [2025-03-19 23:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:44:21] Production.INFO: ==18418== Releasing lock... [2025-03-19 23:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:44:21] Production.INFO: 37 MB #Memory Used# [2025-03-20 03:45:01] Production.INFO: ==18474== Lock acquired, processing the job... [2025-03-20 03:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:45:01] Production.INFO: neon service started [2025-03-20 03:45:01] Production.INFO: neon service started [2025-03-20 03:45:01] Production.INFO: ==18474== Releasing lock... [2025-03-20 03:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:45:02] Production.INFO: ==18476== Lock acquired, processing the job... [2025-03-19 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:45:02] Production.INFO: ==18476== Releasing lock... [2025-03-19 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:45:02] Production.INFO: ==18478== Lock acquired, processing the job... [2025-03-20 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:45:02] Production.INFO: ==18478== Releasing lock... [2025-03-20 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:45:03] Production.INFO: ==18482== Lock acquired, processing the job... [2025-03-19 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:45:03] Production.INFO: ==18480== Lock acquired, processing the job... [2025-03-19 23:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:45:03] Production.INFO: ==18484== Lock acquired, processing the job... [2025-03-19 23:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:45:03] Production.INFO: ==18489== Lock acquired, processing the job... [2025-03-19 23:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:45:03] Production.INFO: ==18486== Lock acquired, processing the job... [2025-03-19 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:45:03] Production.INFO: ==18491== Lock acquired, processing the job... [2025-03-19 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:45:03] Production.INFO: Account Balance Start. [2025-03-19 23:45:03] Production.INFO: CreateAllLog Start [2025-03-19 23:45:03] Production.INFO: 117 [2025-03-19 23:45:03] Production.INFO: ==18482== Releasing lock... [2025-03-19 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:45:03] Production.INFO: Date 2025-03-08 [2025-03-19 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-03-19 23:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:03] Production.INFO: count ==12 [2025-03-19 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-03-19 23:45:03] Production.INFO: count ==23 [2025-03-19 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718946') start [2025-03-19 23:45:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718946') end [2025-03-19 23:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:45:03] Production.INFO: 1 [2025-03-19 23:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:45:03] Production.ERROR: done [2025-03-19 23:45:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:45:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:45:04] Production.INFO: ==18491== Releasing lock... [2025-03-19 23:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:04] Production.ERROR: done [2025-03-19 23:45:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:45:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:45:04] Production.INFO: Total Charge 0 [2025-03-19 23:45:04] Production.INFO: CreateAllLog End [2025-03-19 23:45:04] Production.INFO: Account Balance End. [2025-03-19 23:45:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:45:04] Production.INFO: ==18486== Releasing lock... [2025-03-19 23:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:45:05 [end_date_ymd] => 2025-03-19 23:45:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:45:05' and `end` < '2025-03-19 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-03-19 23:45:12] Production.ERROR: CronJobId end10 [2025-03-19 23:45:12] Production.INFO: ==18484== Releasing lock... [2025-03-19 23:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:45:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:45:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:45:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:45:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:45:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:45:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:45:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:45:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:45:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:45:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:45:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:45:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:45:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:45:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:45:14] Production.INFO: call_cost start [2025-03-19 23:45:14] Production.INFO: call_cost end [2025-03-19 23:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:45:15] Production.INFO: ==18480== Releasing lock... [2025-03-19 23:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:45:17] Production.INFO: count ==1155 [2025-03-19 23:45:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:45:05 - End Time 2025-03-19 23:45:05 [2025-03-19 23:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718947', 'tblTempUsageDetail_20' ) start [2025-03-19 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718947', 'tblTempUsageDetail_20' ) end [2025-03-19 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718947', 'tblTempVendorCDR_20' ) start [2025-03-19 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718947', 'tblTempVendorCDR_20' ) end [2025-03-19 23:45:18] Production.INFO: ProcessCDR(1,14718947,1,1,2) [2025-03-19 23:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718947', 'tblTempUsageDetail_20' ) start [2025-03-19 23:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718947', 'tblTempUsageDetail_20' ) end [2025-03-19 23:45:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:45:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:45:23] Production.INFO: ==18489== Releasing lock... [2025-03-19 23:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:45:23] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 03:46:02] Production.INFO: ==18544== Lock acquired, processing the job... [2025-03-20 03:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:46:02] Production.INFO: neon service started [2025-03-20 03:46:02] Production.INFO: neon service started [2025-03-20 03:46:02] Production.INFO: ==18544== Releasing lock... [2025-03-20 03:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:46:02] Production.INFO: ==18546== Lock acquired, processing the job... [2025-03-19 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:46:02] Production.INFO: ==18548== Lock acquired, processing the job... [2025-03-20 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:46:02] Production.INFO: ==18548== Releasing lock... [2025-03-20 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:46:03] Production.INFO: ==18546== Releasing lock... [2025-03-19 23:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:46:03] Production.INFO: ==18551== Lock acquired, processing the job... [2025-03-19 23:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:46:04] Production.INFO: ==18553== Lock acquired, processing the job... [2025-03-19 23:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:46:04] Production.INFO: ==18561== Lock acquired, processing the job... [2025-03-19 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:46:04] Production.INFO: ==18555== Lock acquired, processing the job... [2025-03-19 23:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:46:04] Production.INFO: ==18553== Releasing lock... [2025-03-19 23:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 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-03-19 23:46:04] Production.INFO: ==18557== Lock acquired, processing the job... [2025-03-19 23:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:46:04] Production.INFO: count ==12 [2025-03-19 23:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 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-03-19 23:46:04] Production.INFO: ==18559== Lock acquired, processing the job... [2025-03-19 23:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:46:04] Production.INFO: count ==23 [2025-03-19 23:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718950') start [2025-03-19 23:46:04] Production.INFO: Account Balance Start. [2025-03-19 23:46:04] Production.INFO: CreateAllLog Start [2025-03-19 23:46:04] Production.INFO: 117 [2025-03-19 23:46:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:46:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718950') end [2025-03-19 23:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:46:04] Production.INFO: 1 [2025-03-19 23:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:46:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:04] Production.INFO: ==18561== Releasing lock... [2025-03-19 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:46:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:46:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:05] Production.INFO: Date 2025-03-15 [2025-03-19 23:46:05] Production.ERROR: done [2025-03-19 23:46:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:46:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:46:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:46:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:46:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:05] Production.ERROR: done [2025-03-19 23:46:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:46:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:46:05] Production.INFO: Total Charge 0 [2025-03-19 23:46:05] Production.INFO: CreateAllLog End [2025-03-19 23:46:05] Production.INFO: Account Balance End. [2025-03-19 23:46:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:46:05] Production.INFO: ==18557== Releasing lock... [2025-03-19 23:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:46:06 [end_date_ymd] => 2025-03-19 23:46:06 [RateCDR] => 1 ) [2025-03-19 23:46:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:46:06' and `end` < '2025-03-19 23:46:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:46:14] Production.ERROR: CronJobId end10 [2025-03-19 23:46:14] Production.INFO: ==18555== Releasing lock... [2025-03-19 23:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:46:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:46:16] Production.INFO: call_cost start [2025-03-19 23:46:16] Production.INFO: call_cost end [2025-03-19 23:46:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:46:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:46:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:46:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:46:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:46:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:46:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:46:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:46:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:46:17] Production.INFO: ==18551== Releasing lock... [2025-03-19 23:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:46:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:46:18] Production.INFO: count ==1143 [2025-03-19 23:46:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:46:06 - End Time 2025-03-19 23:46:06 [2025-03-19 23:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718952', 'tblTempUsageDetail_20' ) start [2025-03-19 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718952', 'tblTempUsageDetail_20' ) end [2025-03-19 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718952', 'tblTempVendorCDR_20' ) start [2025-03-19 23:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718952', 'tblTempVendorCDR_20' ) end [2025-03-19 23:46:18] Production.INFO: ProcessCDR(1,14718952,1,1,2) [2025-03-19 23:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718952', 'tblTempUsageDetail_20' ) start [2025-03-19 23:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718952', 'tblTempUsageDetail_20' ) end [2025-03-19 23:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:46:21] Production.INFO: ==18559== Releasing lock... [2025-03-19 23:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:46:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 03:47:01] Production.INFO: ==18624== Lock acquired, processing the job... [2025-03-20 03:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:47:01] Production.INFO: neon service started [2025-03-20 03:47:01] Production.INFO: neon service started [2025-03-20 03:47:01] Production.INFO: ==18624== Releasing lock... [2025-03-20 03:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:47:02] Production.INFO: ==18628== Lock acquired, processing the job... [2025-03-20 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:47:02] Production.INFO: ==18628== Releasing lock... [2025-03-20 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:47:02] Production.INFO: ==18626== Lock acquired, processing the job... [2025-03-19 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:47:02] Production.INFO: ==18626== Releasing lock... [2025-03-19 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:47:03] Production.INFO: ==18633== Lock acquired, processing the job... [2025-03-19 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:47:03] Production.INFO: ==18637== Lock acquired, processing the job... [2025-03-19 23:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:47:03] Production.INFO: Account Balance Start. [2025-03-19 23:47:03] Production.INFO: CreateAllLog Start [2025-03-19 23:47:03] Production.INFO: 117 [2025-03-19 23:47:03] Production.INFO: ==18641== Lock acquired, processing the job... [2025-03-19 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:47:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:47:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 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-03-19 23:47:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:47:03] Production.INFO: count ==12 [2025-03-19 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-03-19 23:47:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:47:03] Production.INFO: count ==23 [2025-03-19 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718955') start [2025-03-19 23:47:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:47:03] Production.INFO: ==18631== Lock acquired, processing the job... [2025-03-19 23:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:47:03] Production.INFO: ==18635== Lock acquired, processing the job... [2025-03-19 23:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:47:03] Production.INFO: ==18633== Releasing lock... [2025-03-19 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:47:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:47:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718955') end [2025-03-19 23:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:47:03] Production.INFO: 1 [2025-03-19 23:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:47:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:47:03] Production.INFO: ==18641== Releasing lock... [2025-03-19 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:47:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:47:03] Production.INFO: ==18639== Lock acquired, processing the job... [2025-03-19 23:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:47:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:47:03] Production.INFO: Date 2025-03-16 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:47:03] Production.INFO: Date 2025-03-17 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:47:03] Production.INFO: Date 2025-03-18 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:47:03] Production.INFO: Date 2025-03-19 [2025-03-19 23:47:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:47:03] Production.INFO: Total Charge 0 [2025-03-19 23:47:03] Production.INFO: CreateAllLog End [2025-03-19 23:47:03] Production.INFO: Account Balance End. [2025-03-19 23:47:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:47:04] Production.INFO: ==18637== Releasing lock... [2025-03-19 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:47:04] Production.ERROR: done [2025-03-19 23:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:47:04] Production.ERROR: done [2025-03-19 23:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:47:05 [end_date_ymd] => 2025-03-19 23:47:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:47:05' and `end` < '2025-03-19 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-03-19 23:47:12] Production.ERROR: CronJobId end10 [2025-03-19 23:47:12] Production.INFO: ==18635== Releasing lock... [2025-03-19 23:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:47:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:47:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:47:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:47:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:47:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:47:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:47:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:47:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:47:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:47:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:47:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:47:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:47:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:47:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:47:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:47:14] Production.INFO: call_cost start [2025-03-19 23:47:14] Production.INFO: call_cost end [2025-03-19 23:47:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:47:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:47:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:47:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:47:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:47:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:47:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:47:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:47:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:47:15] Production.INFO: ==18631== Releasing lock... [2025-03-19 23:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:47:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:47:17] Production.INFO: count ==1148 [2025-03-19 23:47:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:47:05 - End Time 2025-03-19 23:47:05 [2025-03-19 23:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718957', 'tblTempUsageDetail_20' ) start [2025-03-19 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718957', 'tblTempUsageDetail_20' ) end [2025-03-19 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718957', 'tblTempVendorCDR_20' ) start [2025-03-19 23:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718957', 'tblTempVendorCDR_20' ) end [2025-03-19 23:47:17] Production.INFO: ProcessCDR(1,14718957,1,1,2) [2025-03-19 23:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718957', 'tblTempUsageDetail_20' ) start [2025-03-19 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718957', 'tblTempUsageDetail_20' ) end [2025-03-19 23:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:47:21] Production.INFO: ==18639== Releasing lock... [2025-03-19 23:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:47:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 03:48:02] Production.INFO: ==18706== Lock acquired, processing the job... [2025-03-20 03:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:48:02] Production.INFO: neon service started [2025-03-20 03:48:02] Production.INFO: neon service started [2025-03-20 03:48:02] Production.INFO: ==18706== Releasing lock... [2025-03-20 03:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:48:02] Production.INFO: ==18710== Lock acquired, processing the job... [2025-03-20 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:48:02] Production.INFO: ==18710== Releasing lock... [2025-03-20 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:48:02] Production.INFO: ==18708== Lock acquired, processing the job... [2025-03-19 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:48:03] Production.INFO: ==18708== Releasing lock... [2025-03-19 23:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:48:03] Production.INFO: ==18713== Lock acquired, processing the job... [2025-03-19 23:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:48:04] Production.INFO: ==18715== Lock acquired, processing the job... [2025-03-19 23:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:48:04] Production.INFO: ==18721== Lock acquired, processing the job... [2025-03-19 23:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:48:04] Production.INFO: ==18717== Lock acquired, processing the job... [2025-03-19 23:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:48:04] Production.INFO: ==18719== Lock acquired, processing the job... [2025-03-19 23:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:48:04] Production.INFO: ==18723== Lock acquired, processing the job... [2025-03-19 23:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:48:04] Production.INFO: Account Balance Start. [2025-03-19 23:48:04] Production.INFO: CreateAllLog Start [2025-03-19 23:48:04] Production.INFO: 117 [2025-03-19 23:48:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:04] Production.INFO: count ==12 [2025-03-19 23:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:48:04] Production.INFO: count ==23 [2025-03-19 23:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718960') start [2025-03-19 23:48:04] Production.ERROR: done [2025-03-19 23:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:48:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:04] Production.INFO: ==18715== Releasing lock... [2025-03-19 23:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:48:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718960') end [2025-03-19 23:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:48:04] Production.INFO: 1 [2025-03-19 23:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:48:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:04] Production.INFO: ==18723== Releasing lock... [2025-03-19 23:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:48:04] Production.ERROR: done [2025-03-19 23:48:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:48:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:48:05] Production.INFO: Total Charge 0 [2025-03-19 23:48:05] Production.INFO: CreateAllLog End [2025-03-19 23:48:05] Production.INFO: Account Balance End. [2025-03-19 23:48:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:48:05] Production.INFO: ==18719== Releasing lock... [2025-03-19 23:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:48:05 [end_date_ymd] => 2025-03-19 23:48:05 [RateCDR] => 1 ) [2025-03-19 23:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:48:05' and `end` < '2025-03-19 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-03-19 23:48:13] Production.ERROR: CronJobId end10 [2025-03-19 23:48:13] Production.INFO: ==18717== Releasing lock... [2025-03-19 23:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:48:15] Production.INFO: call_cost start [2025-03-19 23:48:15] Production.INFO: call_cost end [2025-03-19 23:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:48:16] Production.INFO: ==18713== Releasing lock... [2025-03-19 23:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:48:18] Production.INFO: count ==1148 [2025-03-19 23:48:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:48:05 - End Time 2025-03-19 23:48:05 [2025-03-19 23:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718962', 'tblTempUsageDetail_20' ) start [2025-03-19 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718962', 'tblTempUsageDetail_20' ) end [2025-03-19 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718962', 'tblTempVendorCDR_20' ) start [2025-03-19 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718962', 'tblTempVendorCDR_20' ) end [2025-03-19 23:48:18] Production.INFO: ProcessCDR(1,14718962,1,1,2) [2025-03-19 23:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718962', 'tblTempUsageDetail_20' ) start [2025-03-19 23:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718962', 'tblTempUsageDetail_20' ) end [2025-03-19 23:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:48:22] Production.INFO: ==18721== Releasing lock... [2025-03-19 23:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:48:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 03:49:01] Production.INFO: ==18782== Lock acquired, processing the job... [2025-03-20 03:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:49:01] Production.INFO: neon service started [2025-03-20 03:49:01] Production.INFO: neon service started [2025-03-20 03:49:01] Production.INFO: ==18782== Releasing lock... [2025-03-20 03:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:49:01] Production.INFO: ==18784== Lock acquired, processing the job... [2025-03-19 23:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:49:02] Production.INFO: ==18786== Lock acquired, processing the job... [2025-03-20 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:49:02] Production.INFO: ==18786== Releasing lock... [2025-03-20 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:49:02] Production.INFO: ==18784== Releasing lock... [2025-03-19 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:49:03] Production.INFO: ==18791== Lock acquired, processing the job... [2025-03-19 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:49:03] Production.INFO: ==18789== Lock acquired, processing the job... [2025-03-19 23:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:49:03] Production.INFO: ==18795== Lock acquired, processing the job... [2025-03-19 23:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:49:03] Production.INFO: Account Balance Start. [2025-03-19 23:49:03] Production.INFO: CreateAllLog Start [2025-03-19 23:49:03] Production.INFO: 117 [2025-03-19 23:49:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:03] Production.INFO: ==18793== Lock acquired, processing the job... [2025-03-19 23:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:49:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:03] Production.INFO: ==18797== Lock acquired, processing the job... [2025-03-19 23:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:49:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:49:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:49:03] Production.INFO: ==18799== Lock acquired, processing the job... [2025-03-19 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:49:03] Production.INFO: ==18791== Releasing lock... [2025-03-19 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:49:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:03] Production.INFO: Date 2025-03-16 [2025-03-19 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:49:03] Production.INFO: count ==12 [2025-03-19 23:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:49:03] Production.INFO: count ==23 [2025-03-19 23:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718966') start [2025-03-19 23:49:03] Production.INFO: Date 2025-03-17 [2025-03-19 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:03] Production.ERROR: done [2025-03-19 23:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:49:03] Production.INFO: Date 2025-03-18 [2025-03-19 23:49:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:49:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718966') end [2025-03-19 23:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:49:04] Production.INFO: 1 [2025-03-19 23:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:49:04] Production.INFO: Total Charge 0 [2025-03-19 23:49:04] Production.INFO: CreateAllLog End [2025-03-19 23:49:04] Production.INFO: ==18799== Releasing lock... [2025-03-19 23:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:49:04] Production.ERROR: done [2025-03-19 23:49:04] Production.INFO: Account Balance End. [2025-03-19 23:49:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:49:04] Production.INFO: ==18795== Releasing lock... [2025-03-19 23:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:49:05 [end_date_ymd] => 2025-03-19 23:49:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:49:05' and `end` < '2025-03-19 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-03-19 23:49:13] Production.ERROR: CronJobId end10 [2025-03-19 23:49:13] Production.INFO: ==18793== Releasing lock... [2025-03-19 23:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:49:15] Production.INFO: call_cost start [2025-03-19 23:49:15] Production.INFO: call_cost end [2025-03-19 23:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:49:16] Production.INFO: ==18789== Releasing lock... [2025-03-19 23:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:49:17] Production.INFO: count ==1144 [2025-03-19 23:49:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:49:05 - End Time 2025-03-19 23:49:05 [2025-03-19 23:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718967', 'tblTempUsageDetail_20' ) start [2025-03-19 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718967', 'tblTempUsageDetail_20' ) end [2025-03-19 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718967', 'tblTempVendorCDR_20' ) start [2025-03-19 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718967', 'tblTempVendorCDR_20' ) end [2025-03-19 23:49:18] Production.INFO: ProcessCDR(1,14718967,1,1,2) [2025-03-19 23:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718967', 'tblTempUsageDetail_20' ) start [2025-03-19 23:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718967', 'tblTempUsageDetail_20' ) end [2025-03-19 23:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:49:21] Production.INFO: ==18797== Releasing lock... [2025-03-19 23:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:49:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 03:50:02] Production.INFO: ==18853== Lock acquired, processing the job... [2025-03-20 03:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:50:02] Production.INFO: neon service started [2025-03-20 03:50:02] Production.INFO: neon service started [2025-03-20 03:50:02] Production.INFO: ==18853== Releasing lock... [2025-03-20 03:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:50:02] Production.INFO: ==18855== Lock acquired, processing the job... [2025-03-19 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:50:02] Production.INFO: ==18857== Lock acquired, processing the job... [2025-03-20 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:50:02] Production.INFO: ==18857== Releasing lock... [2025-03-20 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:50:03] Production.INFO: ==18855== Releasing lock... [2025-03-19 23:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:50:04] Production.INFO: ==18860== Lock acquired, processing the job... [2025-03-19 23:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-19 23:50:04] Production.INFO: ==18862== Lock acquired, processing the job... [2025-03-19 23:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-19 23:50:04] Production.INFO: ==18864== Lock acquired, processing the job... [2025-03-19 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-19 23:50:04] Production.INFO: ==18860== Releasing lock... [2025-03-19 23:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-19 23:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-19 23:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:50:04] Production.INFO: ==18868== Lock acquired, processing the job... [2025-03-19 23:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:50:04] Production.INFO: ==18866== Lock acquired, processing the job... [2025-03-19 23:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:50:04] Production.INFO: Account Balance Start. [2025-03-19 23:50:04] Production.INFO: CreateAllLog Start [2025-03-19 23:50:04] Production.INFO: 117 [2025-03-19 23:50:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:50:04] Production.INFO: ==18870== Lock acquired, processing the job... [2025-03-19 23:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:50:04] Production.INFO: ==18864== Releasing lock... [2025-03-19 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:50:04] Production.INFO: ==18872== Lock acquired, processing the job... [2025-03-19 23:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-19 23:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:50:04] Production.INFO: ==18874== Lock acquired, processing the job... [2025-03-19 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:50:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:50:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:50:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:50:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:50:04] Production.INFO: Total Charge 0 [2025-03-19 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-03-19 23:50:04] Production.INFO: CreateAllLog End [2025-03-19 23:50:04] Production.INFO: count ==12 [2025-03-19 23:50:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:50:05] Production.INFO: count ==23 [2025-03-19 23:50:05] Production.ERROR: done [2025-03-19 23:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718971') start [2025-03-19 23:50:05] Production.INFO: Account Balance End. [2025-03-19 23:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14718971') end [2025-03-19 23:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:50:05] Production.INFO: 1 [2025-03-19 23:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:50:05] Production.INFO: ==18874== Releasing lock... [2025-03-19 23:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:50:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:50:05] Production.INFO: ==18868== Releasing lock... [2025-03-19 23:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:50:05] Production.ERROR: done [2025-03-19 23:50:05] Production.ERROR: done [2025-03-19 23:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-19 23:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718972', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) start [2025-03-19 23:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:50:06 [end_date_ymd] => 2025-03-19 23:50:06 [RateCDR] => 1 ) [2025-03-19 23:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:50:06' and `end` < '2025-03-19 23:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14718972', 'tblTempUsageDetail_20reseller','2025-03-19','2025-03-19','1' ) end [2025-03-19 23:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-19 23:50:09] Production.INFO: ProcessCDR(1,14718972,1,1,2) [2025-03-19 23:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14718972,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14718972,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:50:09] Production.INFO: ==18872== Releasing lock... [2025-03-19 23:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-19 23:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-19 23:50:16] Production.ERROR: CronJobId end10 [2025-03-19 23:50:16] Production.INFO: ==18866== Releasing lock... [2025-03-19 23:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:50:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:50:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:50:17] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:50:17] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:50:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:50:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:50:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:50:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:50:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:50:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:50:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:50:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:50:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:50:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:50:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:50:17] Production.INFO: call_cost start [2025-03-19 23:50:17] Production.INFO: call_cost end [2025-03-19 23:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:50:18] Production.INFO: ==18862== Releasing lock... [2025-03-19 23:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:50:19] Production.INFO: count ==1136 [2025-03-19 23:50:19] Production.ERROR: pbx CDR StartTime 2025-03-19 20:50:06 - End Time 2025-03-19 23:50:06 [2025-03-19 23:50:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718973', 'tblTempUsageDetail_20' ) start [2025-03-19 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718973', 'tblTempUsageDetail_20' ) end [2025-03-19 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718973', 'tblTempVendorCDR_20' ) start [2025-03-19 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718973', 'tblTempVendorCDR_20' ) end [2025-03-19 23:50:19] Production.INFO: ProcessCDR(1,14718973,1,1,2) [2025-03-19 23:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718973', 'tblTempUsageDetail_20' ) start [2025-03-19 23:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718973', 'tblTempUsageDetail_20' ) end [2025-03-19 23:50:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:50:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:50:22] Production.INFO: ==18870== Releasing lock... [2025-03-19 23:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:50:22] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 03:51:01] Production.INFO: ==18927== Lock acquired, processing the job... [2025-03-20 03:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:51:01] Production.INFO: neon service started [2025-03-20 03:51:01] Production.INFO: neon service started [2025-03-20 03:51:01] Production.INFO: ==18927== Releasing lock... [2025-03-20 03:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:51:02] Production.INFO: ==18929== Lock acquired, processing the job... [2025-03-19 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:51:02] Production.INFO: ==18931== Lock acquired, processing the job... [2025-03-20 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 23:51:02] Production.INFO: ==18929== Releasing lock... [2025-03-19 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:51:02] Production.INFO: ==18931== Releasing lock... [2025-03-20 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:51:03] Production.INFO: ==18933== Lock acquired, processing the job... [2025-03-19 23:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:51:03] Production.INFO: ==18939== Lock acquired, processing the job... [2025-03-19 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:51:03] Production.INFO: ==18941== Lock acquired, processing the job... [2025-03-19 23:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:51:03] Production.INFO: ==18935== Lock acquired, processing the job... [2025-03-19 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:51:03] Production.INFO: Account Balance Start. [2025-03-19 23:51:03] Production.INFO: CreateAllLog Start [2025-03-19 23:51:03] Production.INFO: 117 [2025-03-19 23:51:03] Production.INFO: ==18937== Lock acquired, processing the job... [2025-03-19 23:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:51:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:03] Production.INFO: ==18943== Lock acquired, processing the job... [2025-03-19 23:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:51:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:51:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:51:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:51:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:51:03] Production.INFO: count ==12 [2025-03-19 23:51:03] Production.ERROR: done [2025-03-19 23:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:51:03] Production.INFO: count ==23 [2025-03-19 23:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718977') start [2025-03-19 23:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:51:03] Production.INFO: Date 2025-03-16 [2025-03-19 23:51:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718977') end [2025-03-19 23:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:51:04] Production.INFO: 1 [2025-03-19 23:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:51:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:04] Production.ERROR: done [2025-03-19 23:51:04] Production.INFO: ==18943== Releasing lock... [2025-03-19 23:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:51:04] Production.INFO: ==18935== Releasing lock... [2025-03-19 23:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:51:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:51:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:51:04] Production.INFO: Total Charge 0 [2025-03-19 23:51:04] Production.INFO: CreateAllLog End [2025-03-19 23:51:04] Production.INFO: Account Balance End. [2025-03-19 23:51:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:51:04] Production.INFO: ==18939== Releasing lock... [2025-03-19 23:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:51:05 [end_date_ymd] => 2025-03-19 23:51:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:51:05' and `end` < '2025-03-19 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-03-19 23:51:14] Production.ERROR: CronJobId end10 [2025-03-19 23:51:14] Production.INFO: ==18937== Releasing lock... [2025-03-19 23:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:51:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:51:16] Production.INFO: call_cost start [2025-03-19 23:51:16] Production.INFO: call_cost end [2025-03-19 23:51:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:51:17] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:51:17] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:51:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:51:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:51:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:51:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:51:17] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:51:17] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:51:17] Production.INFO: ==18933== Releasing lock... [2025-03-19 23:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:51:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:51:17] Production.INFO: count ==1128 [2025-03-19 23:51:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:51:05 - End Time 2025-03-19 23:51:05 [2025-03-19 23:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718978', 'tblTempUsageDetail_20' ) start [2025-03-19 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718978', 'tblTempUsageDetail_20' ) end [2025-03-19 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718978', 'tblTempVendorCDR_20' ) start [2025-03-19 23:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718978', 'tblTempVendorCDR_20' ) end [2025-03-19 23:51:17] Production.INFO: ProcessCDR(1,14718978,1,1,2) [2025-03-19 23:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718978', 'tblTempUsageDetail_20' ) start [2025-03-19 23:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718978', 'tblTempUsageDetail_20' ) end [2025-03-19 23:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:51:21] Production.INFO: ==18941== Releasing lock... [2025-03-19 23:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:51:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 03:52:02] Production.INFO: ==18998== Lock acquired, processing the job... [2025-03-20 03:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:52:02] Production.INFO: neon service started [2025-03-20 03:52:02] Production.INFO: neon service started [2025-03-20 03:52:02] Production.INFO: ==18998== Releasing lock... [2025-03-20 03:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:52:02] Production.INFO: ==19000== Lock acquired, processing the job... [2025-03-19 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:52:02] Production.INFO: ==19000== Releasing lock... [2025-03-19 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:52:02] Production.INFO: ==19002== Lock acquired, processing the job... [2025-03-20 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:52:02] Production.INFO: ==19002== Releasing lock... [2025-03-20 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:52:03] Production.INFO: ==19012== Lock acquired, processing the job... [2025-03-19 23:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:52:03] Production.INFO: ==19014== Lock acquired, processing the job... [2025-03-19 23:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:52:04] Production.INFO: ==19004== Lock acquired, processing the job... [2025-03-19 23:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:52:04] Production.INFO: ==19006== Lock acquired, processing the job... [2025-03-19 23:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:52:04] Production.INFO: ==19008== Lock acquired, processing the job... [2025-03-19 23:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:52:04] Production.INFO: ==19010== Lock acquired, processing the job... [2025-03-19 23:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:52:04] Production.INFO: count ==12 [2025-03-19 23:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:52:04] Production.INFO: count ==23 [2025-03-19 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718979') start [2025-03-19 23:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:52:04] Production.INFO: Account Balance Start. [2025-03-19 23:52:04] Production.INFO: CreateAllLog Start [2025-03-19 23:52:04] Production.INFO: 117 [2025-03-19 23:52:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718979') end [2025-03-19 23:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:52:04] Production.INFO: 1 [2025-03-19 23:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:52:04] Production.ERROR: done [2025-03-19 23:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:52:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:52:04] Production.INFO: ==19014== Releasing lock... [2025-03-19 23:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:04] Production.INFO: ==19006== Releasing lock... [2025-03-19 23:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:52:04] Production.ERROR: done [2025-03-19 23:52:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:52:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:05] Production.INFO: Date 2025-03-16 [2025-03-19 23:52:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:05] Production.INFO: Date 2025-03-17 [2025-03-19 23:52:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:52:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:52:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:52:05] Production.INFO: Total Charge 0 [2025-03-19 23:52:05] Production.INFO: CreateAllLog End [2025-03-19 23:52:05] Production.INFO: Account Balance End. [2025-03-19 23:52:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:52:05] Production.INFO: ==19010== Releasing lock... [2025-03-19 23:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:52:05 [end_date_ymd] => 2025-03-19 23:52:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:52:05' and `end` < '2025-03-19 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-03-19 23:52:13] Production.ERROR: CronJobId end10 [2025-03-19 23:52:13] Production.INFO: ==19008== Releasing lock... [2025-03-19 23:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:52:15] Production.INFO: call_cost start [2025-03-19 23:52:15] Production.INFO: call_cost end [2025-03-19 23:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:52:16] Production.INFO: ==19004== Releasing lock... [2025-03-19 23:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:52:17] Production.INFO: count ==1127 [2025-03-19 23:52:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:52:05 - End Time 2025-03-19 23:52:05 [2025-03-19 23:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718983', 'tblTempUsageDetail_20' ) start [2025-03-19 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718983', 'tblTempUsageDetail_20' ) end [2025-03-19 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718983', 'tblTempVendorCDR_20' ) start [2025-03-19 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718983', 'tblTempVendorCDR_20' ) end [2025-03-19 23:52:18] Production.INFO: ProcessCDR(1,14718983,1,1,2) [2025-03-19 23:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718983', 'tblTempUsageDetail_20' ) start [2025-03-19 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718983', 'tblTempUsageDetail_20' ) end [2025-03-19 23:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:52:21] Production.INFO: ==19012== Releasing lock... [2025-03-19 23:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:52:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 03:53:01] Production.INFO: ==19077== Lock acquired, processing the job... [2025-03-20 03:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:53:01] Production.INFO: neon service started [2025-03-20 03:53:01] Production.INFO: neon service started [2025-03-20 03:53:01] Production.INFO: ==19077== Releasing lock... [2025-03-20 03:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:53:02] Production.INFO: ==19079== Lock acquired, processing the job... [2025-03-19 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:53:02] Production.INFO: ==19086== Lock acquired, processing the job... [2025-03-20 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:53:02] Production.INFO: ==19086== Releasing lock... [2025-03-20 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:53:02] Production.INFO: ==19079== Releasing lock... [2025-03-19 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:53:03] Production.INFO: ==19091== Lock acquired, processing the job... [2025-03-19 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:53:03] Production.INFO: ==19089== Lock acquired, processing the job... [2025-03-19 23:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:53:03] Production.INFO: ==19093== Lock acquired, processing the job... [2025-03-19 23:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:53:03] Production.INFO: ==19091== Releasing lock... [2025-03-19 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:53:03] Production.INFO: ==19095== Lock acquired, processing the job... [2025-03-19 23:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:53:03] Production.INFO: ==19097== Lock acquired, processing the job... [2025-03-19 23:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:53:03] Production.INFO: ==19099== Lock acquired, processing the job... [2025-03-19 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:53:03] Production.INFO: Account Balance Start. [2025-03-19 23:53:03] Production.INFO: CreateAllLog Start [2025-03-19 23:53:03] Production.INFO: 117 [2025-03-19 23:53:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:03] Production.INFO: Date 2025-03-10 [2025-03-19 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-03-19 23:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:03] Production.INFO: count ==12 [2025-03-19 23:53:03] Production.ERROR: done [2025-03-19 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-03-19 23:53:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:53:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:03] Production.INFO: count ==23 [2025-03-19 23:53:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:53:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718987') start [2025-03-19 23:53:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718987') end [2025-03-19 23:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:53:04] Production.INFO: 1 [2025-03-19 23:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:53:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:04] Production.INFO: ==19099== Releasing lock... [2025-03-19 23:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:53:04] Production.ERROR: done [2025-03-19 23:53:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:53:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:53:04] Production.INFO: Total Charge 0 [2025-03-19 23:53:04] Production.INFO: CreateAllLog End [2025-03-19 23:53:04] Production.INFO: Account Balance End. [2025-03-19 23:53:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:53:04] Production.INFO: ==19095== Releasing lock... [2025-03-19 23:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:53:05 [end_date_ymd] => 2025-03-19 23:53:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:53:05' and `end` < '2025-03-19 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-03-19 23:53:11] Production.ERROR: CronJobId end10 [2025-03-19 23:53:11] Production.INFO: ==19093== Releasing lock... [2025-03-19 23:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:53:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:53:14] Production.INFO: call_cost start [2025-03-19 23:53:14] Production.INFO: call_cost end [2025-03-19 23:53:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:53:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:53:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:53:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:53:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:53:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:53:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:53:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:53:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:53:15] Production.INFO: ==19089== Releasing lock... [2025-03-19 23:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:53:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:53:17] Production.INFO: count ==1126 [2025-03-19 23:53:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:53:05 - End Time 2025-03-19 23:53:05 [2025-03-19 23:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718988', 'tblTempUsageDetail_20' ) start [2025-03-19 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718988', 'tblTempUsageDetail_20' ) end [2025-03-19 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718988', 'tblTempVendorCDR_20' ) start [2025-03-19 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718988', 'tblTempVendorCDR_20' ) end [2025-03-19 23:53:18] Production.INFO: ProcessCDR(1,14718988,1,1,2) [2025-03-19 23:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718988', 'tblTempUsageDetail_20' ) start [2025-03-19 23:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718988', 'tblTempUsageDetail_20' ) end [2025-03-19 23:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:53:21] Production.INFO: ==19097== Releasing lock... [2025-03-19 23:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:53:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 03:54:02] Production.INFO: ==19161== Lock acquired, processing the job... [2025-03-20 03:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:54:02] Production.INFO: neon service started [2025-03-20 03:54:02] Production.INFO: neon service started [2025-03-20 03:54:02] Production.INFO: ==19161== Releasing lock... [2025-03-20 03:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:54:02] Production.INFO: ==19163== Lock acquired, processing the job... [2025-03-19 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:54:02] Production.INFO: ==19165== Lock acquired, processing the job... [2025-03-20 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 23:54:02] Production.INFO: ==19163== Releasing lock... [2025-03-19 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:54:02] Production.INFO: ==19165== Releasing lock... [2025-03-20 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:54:03] Production.INFO: ==19167== Lock acquired, processing the job... [2025-03-19 23:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:54:03] Production.INFO: ==19169== Lock acquired, processing the job... [2025-03-19 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:54:03] Production.INFO: ==19169== Releasing lock... [2025-03-19 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:54:03] Production.INFO: ==19178== Lock acquired, processing the job... [2025-03-19 23:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:54:03] Production.INFO: ==19171== Lock acquired, processing the job... [2025-03-19 23:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:54:04] Production.INFO: ==19173== Lock acquired, processing the job... [2025-03-19 23:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:54:04] Production.INFO: ==19175== Lock acquired, processing the job... [2025-03-19 23:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:54:04] Production.INFO: count ==12 [2025-03-19 23:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:54:04] Production.INFO: count ==23 [2025-03-19 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718991') start [2025-03-19 23:54:04] Production.INFO: Account Balance Start. [2025-03-19 23:54:04] Production.INFO: CreateAllLog Start [2025-03-19 23:54:04] Production.INFO: 117 [2025-03-19 23:54:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718991') end [2025-03-19 23:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:54:04] Production.INFO: 1 [2025-03-19 23:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:54:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.INFO: ==19178== Releasing lock... [2025-03-19 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:54:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.ERROR: done [2025-03-19 23:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:54:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:54:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:54:04] Production.INFO: Total Charge 0 [2025-03-19 23:54:04] Production.ERROR: done [2025-03-19 23:54:04] Production.INFO: CreateAllLog End [2025-03-19 23:54:04] Production.INFO: Account Balance End. [2025-03-19 23:54:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:54:05] Production.INFO: ==19173== Releasing lock... [2025-03-19 23:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:54:05 [end_date_ymd] => 2025-03-19 23:54:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:54:05' and `end` < '2025-03-19 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-03-19 23:54:13] Production.ERROR: CronJobId end10 [2025-03-19 23:54:13] Production.INFO: ==19171== Releasing lock... [2025-03-19 23:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:54:15] Production.INFO: call_cost start [2025-03-19 23:54:15] Production.INFO: call_cost end [2025-03-19 23:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:54:15] Production.INFO: ==19167== Releasing lock... [2025-03-19 23:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:54:18] Production.INFO: count ==1125 [2025-03-19 23:54:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:54:05 - End Time 2025-03-19 23:54:05 [2025-03-19 23:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718993', 'tblTempUsageDetail_20' ) start [2025-03-19 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718993', 'tblTempUsageDetail_20' ) end [2025-03-19 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718993', 'tblTempVendorCDR_20' ) start [2025-03-19 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718993', 'tblTempVendorCDR_20' ) end [2025-03-19 23:54:18] Production.INFO: ProcessCDR(1,14718993,1,1,2) [2025-03-19 23:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718993', 'tblTempUsageDetail_20' ) start [2025-03-19 23:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718993', 'tblTempUsageDetail_20' ) end [2025-03-19 23:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:54:21] Production.INFO: ==19175== Releasing lock... [2025-03-19 23:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:54:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 03:55:01] Production.INFO: ==19282== Lock acquired, processing the job... [2025-03-20 03:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:55:01] Production.INFO: neon service started [2025-03-20 03:55:01] Production.INFO: neon service started [2025-03-20 03:55:01] Production.INFO: ==19282== Releasing lock... [2025-03-20 03:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:55:01] Production.INFO: ==19286== Lock acquired, processing the job... [2025-03-20 03:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:55:01] Production.INFO: ==19286== Releasing lock... [2025-03-20 03:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:55:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:55:02] Production.INFO: ==19284== Lock acquired, processing the job... [2025-03-19 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:55:02] Production.INFO: ==19284== Releasing lock... [2025-03-19 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:55:03] Production.INFO: ==19289== Lock acquired, processing the job... [2025-03-19 23:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:55:03] Production.INFO: ==19291== Lock acquired, processing the job... [2025-03-19 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:55:03] Production.INFO: ==19297== Lock acquired, processing the job... [2025-03-19 23:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:55:03] Production.INFO: ==19293== Lock acquired, processing the job... [2025-03-19 23:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:55:03] Production.INFO: ==19295== Lock acquired, processing the job... [2025-03-19 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:55:03] Production.INFO: ==19299== Lock acquired, processing the job... [2025-03-19 23:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:55:03] Production.INFO: Account Balance Start. [2025-03-19 23:55:03] Production.INFO: CreateAllLog Start [2025-03-19 23:55:03] Production.INFO: 117 [2025-03-19 23:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:55:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:55:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:55:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:55:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:55:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:55:03] Production.INFO: count ==12 [2025-03-19 23:55:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:55:03] Production.INFO: count ==23 [2025-03-19 23:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14718997') start [2025-03-19 23:55:03] Production.ERROR: done [2025-03-19 23:55:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:55:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:55:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:03] Production.INFO: ==19291== Releasing lock... [2025-03-19 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:55:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:55:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14718997') end [2025-03-19 23:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:55:04] Production.INFO: 1 [2025-03-19 23:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:55:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:04] Production.INFO: ==19299== Releasing lock... [2025-03-19 23:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:55:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:55:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:55:04] Production.ERROR: done [2025-03-19 23:55:04] Production.INFO: Total Charge 0 [2025-03-19 23:55:04] Production.INFO: CreateAllLog End [2025-03-19 23:55:04] Production.INFO: Account Balance End. [2025-03-19 23:55:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:55:04] Production.INFO: ==19295== Releasing lock... [2025-03-19 23:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:55:05 [end_date_ymd] => 2025-03-19 23:55:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:55:05' and `end` < '2025-03-19 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-03-19 23:55:12] Production.ERROR: CronJobId end10 [2025-03-19 23:55:12] Production.INFO: ==19293== Releasing lock... [2025-03-19 23:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:55:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:55:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:55:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:55:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:55:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:55:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:55:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:55:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:55:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:55:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:55:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:55:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:55:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:55:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:55:14] Production.INFO: call_cost start [2025-03-19 23:55:14] Production.INFO: call_cost end [2025-03-19 23:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:55:15] Production.INFO: ==19289== Releasing lock... [2025-03-19 23:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:55:17] Production.INFO: count ==1128 [2025-03-19 23:55:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:55:05 - End Time 2025-03-19 23:55:05 [2025-03-19 23:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718998', 'tblTempUsageDetail_20' ) start [2025-03-19 23:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14718998', 'tblTempUsageDetail_20' ) end [2025-03-19 23:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718998', 'tblTempVendorCDR_20' ) start [2025-03-19 23:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14718998', 'tblTempVendorCDR_20' ) end [2025-03-19 23:55:17] Production.INFO: ProcessCDR(1,14718998,1,1,2) [2025-03-19 23:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14718998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14718998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14718998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14718998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718998', 'tblTempUsageDetail_20' ) start [2025-03-19 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14718998', 'tblTempUsageDetail_20' ) end [2025-03-19 23:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:55:21] Production.INFO: ==19297== Releasing lock... [2025-03-19 23:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:55:21] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 03:56:01] Production.INFO: ==19364== Lock acquired, processing the job... [2025-03-20 03:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:56:01] Production.INFO: neon service started [2025-03-20 03:56:01] Production.INFO: neon service started [2025-03-20 03:56:01] Production.INFO: ==19364== Releasing lock... [2025-03-20 03:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:56:02] Production.INFO: ==19366== Lock acquired, processing the job... [2025-03-19 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:56:02] Production.INFO: ==19366== Releasing lock... [2025-03-19 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:56:02] Production.INFO: ==19368== Lock acquired, processing the job... [2025-03-20 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:56:02] Production.INFO: ==19368== Releasing lock... [2025-03-20 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:56:03] Production.INFO: ==19372== Lock acquired, processing the job... [2025-03-19 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:56:03] Production.INFO: ==19374== Lock acquired, processing the job... [2025-03-19 23:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:56:03] Production.INFO: ==19379== Lock acquired, processing the job... [2025-03-19 23:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:56:03] Production.INFO: ==19370== Lock acquired, processing the job... [2025-03-19 23:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:56:03] Production.INFO: ==19372== Releasing lock... [2025-03-19 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:56:03] Production.INFO: ==19377== Lock acquired, processing the job... [2025-03-19 23:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:56:03] Production.INFO: ==19381== Lock acquired, processing the job... [2025-03-19 23:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:56:03] Production.INFO: Account Balance Start. [2025-03-19 23:56:03] Production.INFO: CreateAllLog Start [2025-03-19 23:56:03] Production.INFO: 117 [2025-03-19 23:56:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:56:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:56:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:04] Production.INFO: count ==12 [2025-03-19 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-03-19 23:56:04] Production.ERROR: done [2025-03-19 23:56:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:56:04] Production.INFO: count ==23 [2025-03-19 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719000') start [2025-03-19 23:56:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719000') end [2025-03-19 23:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:56:04] Production.INFO: 1 [2025-03-19 23:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:56:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:04] Production.INFO: ==19381== Releasing lock... [2025-03-19 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:56:04] Production.ERROR: done [2025-03-19 23:56:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:56:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:56:04] Production.INFO: Total Charge 0 [2025-03-19 23:56:04] Production.INFO: CreateAllLog End [2025-03-19 23:56:04] Production.INFO: Account Balance End. [2025-03-19 23:56:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:56:04] Production.INFO: ==19377== Releasing lock... [2025-03-19 23:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:56:05 [end_date_ymd] => 2025-03-19 23:56:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:56:05' and `end` < '2025-03-19 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-03-19 23:56:13] Production.ERROR: CronJobId end10 [2025-03-19 23:56:13] Production.INFO: ==19374== Releasing lock... [2025-03-19 23:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:56:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:56:14] Production.INFO: call_cost start [2025-03-19 23:56:14] Production.INFO: call_cost end [2025-03-19 23:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:56:15] Production.INFO: ==19370== Releasing lock... [2025-03-19 23:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:56:17] Production.INFO: count ==1121 [2025-03-19 23:56:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:56:05 - End Time 2025-03-19 23:56:05 [2025-03-19 23:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719003', 'tblTempUsageDetail_20' ) start [2025-03-19 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719003', 'tblTempUsageDetail_20' ) end [2025-03-19 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719003', 'tblTempVendorCDR_20' ) start [2025-03-19 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719003', 'tblTempVendorCDR_20' ) end [2025-03-19 23:56:18] Production.INFO: ProcessCDR(1,14719003,1,1,2) [2025-03-19 23:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719003', 'tblTempUsageDetail_20' ) start [2025-03-19 23:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719003', 'tblTempUsageDetail_20' ) end [2025-03-19 23:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:56:21] Production.INFO: ==19379== Releasing lock... [2025-03-19 23:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:56:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 03:57:01] Production.INFO: ==19441== Lock acquired, processing the job... [2025-03-20 03:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:57:01] Production.INFO: neon service started [2025-03-20 03:57:01] Production.INFO: neon service started [2025-03-20 03:57:01] Production.INFO: ==19441== Releasing lock... [2025-03-20 03:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:57:01] Production.INFO: ==19445== Lock acquired, processing the job... [2025-03-20 03:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:57:01] Production.INFO: ==19445== Releasing lock... [2025-03-20 03:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:57:01] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:57:01] Production.INFO: ==19443== Lock acquired, processing the job... [2025-03-19 23:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:57:02] Production.INFO: ==19443== Releasing lock... [2025-03-19 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:57:02] Production.INFO: ==19448== Lock acquired, processing the job... [2025-03-19 23:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:57:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:57:03] Production.INFO: ==19452== Lock acquired, processing the job... [2025-03-19 23:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:57:03] Production.INFO: ==19458== Lock acquired, processing the job... [2025-03-19 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 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-03-19 23:57:03] Production.INFO: count ==12 [2025-03-19 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-03-19 23:57:03] Production.INFO: count ==23 [2025-03-19 23:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719005') start [2025-03-19 23:57:03] Production.INFO: ==19450== Lock acquired, processing the job... [2025-03-19 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:57:03] Production.INFO: ==19454== Lock acquired, processing the job... [2025-03-19 23:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:57:03] Production.INFO: ==19456== Lock acquired, processing the job... [2025-03-19 23:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719005') end [2025-03-19 23:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:57:03] Production.INFO: 1 [2025-03-19 23:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:57:03] Production.INFO: Account Balance Start. [2025-03-19 23:57:03] Production.INFO: CreateAllLog Start [2025-03-19 23:57:03] Production.INFO: ==19458== Releasing lock... [2025-03-19 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:57:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:57:03] Production.INFO: 117 [2025-03-19 23:57:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:57:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:57:03] Production.INFO: ==19450== Releasing lock... [2025-03-19 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:03] Production.INFO: Date 2025-03-13 [2025-03-19 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:03] Production.INFO: Date 2025-03-14 [2025-03-19 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:03] Production.INFO: Date 2025-03-15 [2025-03-19 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:03] Production.ERROR: done [2025-03-19 23:57:03] Production.INFO: Date 2025-03-16 [2025-03-19 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:57:03] Production.INFO: Date 2025-03-17 [2025-03-19 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:03] Production.INFO: Date 2025-03-18 [2025-03-19 23:57:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:04] Production.ERROR: done [2025-03-19 23:57:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:57:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:57:04] Production.INFO: Total Charge 0 [2025-03-19 23:57:04] Production.INFO: CreateAllLog End [2025-03-19 23:57:04] Production.INFO: Account Balance End. [2025-03-19 23:57:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:57:04] Production.INFO: ==19454== Releasing lock... [2025-03-19 23:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:57:05 [end_date_ymd] => 2025-03-19 23:57:05 [RateCDR] => 1 ) [2025-03-19 23:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 20:57:05' and `end` < '2025-03-19 23:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-19 23:57:12] Production.ERROR: CronJobId end10 [2025-03-19 23:57:12] Production.INFO: ==19452== Releasing lock... [2025-03-19 23:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:57:14] Production.INFO: call_cost start [2025-03-19 23:57:14] Production.INFO: call_cost end [2025-03-19 23:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:57:15] Production.INFO: ==19448== Releasing lock... [2025-03-19 23:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:57:17] Production.INFO: count ==1116 [2025-03-19 23:57:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:57:05 - End Time 2025-03-19 23:57:05 [2025-03-19 23:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719008', 'tblTempUsageDetail_20' ) start [2025-03-19 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719008', 'tblTempUsageDetail_20' ) end [2025-03-19 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719008', 'tblTempVendorCDR_20' ) start [2025-03-19 23:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719008', 'tblTempVendorCDR_20' ) end [2025-03-19 23:57:17] Production.INFO: ProcessCDR(1,14719008,1,1,2) [2025-03-19 23:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719008', 'tblTempUsageDetail_20' ) start [2025-03-19 23:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719008', 'tblTempUsageDetail_20' ) end [2025-03-19 23:57:22] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:57:22] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:57:22] Production.INFO: ==19456== Releasing lock... [2025-03-19 23:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:57:22] Production.INFO: 36.25 MB #Memory Used# [2025-03-20 03:58:01] Production.INFO: ==19519== Lock acquired, processing the job... [2025-03-20 03:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:58:01] Production.INFO: neon service started [2025-03-20 03:58:01] Production.INFO: neon service started [2025-03-20 03:58:01] Production.INFO: ==19519== Releasing lock... [2025-03-20 03:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-19 23:58:02] Production.INFO: ==19521== Lock acquired, processing the job... [2025-03-19 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:58:02] Production.INFO: ==19523== Lock acquired, processing the job... [2025-03-20 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-19 23:58:02] Production.INFO: ==19521== Releasing lock... [2025-03-19 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:58:02] Production.INFO: ==19523== Releasing lock... [2025-03-20 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:58:03] Production.INFO: ==19534== Lock acquired, processing the job... [2025-03-19 23:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:58:03] Production.INFO: ==19536== Lock acquired, processing the job... [2025-03-19 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:58:03] Production.INFO: ==19525== Lock acquired, processing the job... [2025-03-19 23:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:58:03] Production.INFO: ==19527== Lock acquired, processing the job... [2025-03-19 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 23:58:03] Production.INFO: ==19530== Lock acquired, processing the job... [2025-03-19 23:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:58:03] Production.INFO: ==19532== Lock acquired, processing the job... [2025-03-19 23:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:58:03] Production.INFO: Account Balance Start. [2025-03-19 23:58:03] Production.INFO: CreateAllLog Start [2025-03-19 23:58:03] Production.INFO: 117 [2025-03-19 23:58:03] Production.INFO: count ==12 [2025-03-19 23:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:58:03] Production.INFO: count ==23 [2025-03-19 23:58:03] Production.INFO: Date 2025-03-08 [2025-03-19 23:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719009') start [2025-03-19 23:58:03] Production.ERROR: done [2025-03-19 23:58:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719009') end [2025-03-19 23:58:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:58:03] Production.INFO: 1 [2025-03-19 23:58:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:58:03] Production.INFO: Date 2025-03-09 [2025-03-19 23:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:03] Production.INFO: Date 2025-03-10 [2025-03-19 23:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:03] Production.INFO: ==19536== Releasing lock... [2025-03-19 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:58:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:58:03] Production.ERROR: done [2025-03-19 23:58:03] Production.INFO: ==19527== Releasing lock... [2025-03-19 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:58:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:58:03] Production.INFO: Date 2025-03-11 [2025-03-19 23:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:03] Production.INFO: Date 2025-03-12 [2025-03-19 23:58:03] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:04] Production.INFO: Date 2025-03-18 [2025-03-19 23:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:04] Production.INFO: Date 2025-03-19 [2025-03-19 23:58:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:58:04] Production.INFO: Total Charge 0 [2025-03-19 23:58:04] Production.INFO: CreateAllLog End [2025-03-19 23:58:04] Production.INFO: Account Balance End. [2025-03-19 23:58:04] Production.ERROR: CronJobId end 12 [2025-03-19 23:58:04] Production.INFO: ==19532== Releasing lock... [2025-03-19 23:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:58:05 [end_date_ymd] => 2025-03-19 23:58:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:58:05' and `end` < '2025-03-19 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-03-19 23:58:13] Production.ERROR: CronJobId end10 [2025-03-19 23:58:13] Production.INFO: ==19530== Releasing lock... [2025-03-19 23:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:58:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:58:15] Production.INFO: call_cost start [2025-03-19 23:58:15] Production.INFO: call_cost end [2025-03-19 23:58:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:58:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:58:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:58:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:58:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:58:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:58:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:58:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:58:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:58:16] Production.INFO: ==19525== Releasing lock... [2025-03-19 23:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:58:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:58:17] Production.INFO: count ==1108 [2025-03-19 23:58:17] Production.ERROR: pbx CDR StartTime 2025-03-19 20:58:05 - End Time 2025-03-19 23:58:05 [2025-03-19 23:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719013', 'tblTempUsageDetail_20' ) start [2025-03-19 23:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719013', 'tblTempUsageDetail_20' ) end [2025-03-19 23:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719013', 'tblTempVendorCDR_20' ) start [2025-03-19 23:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719013', 'tblTempVendorCDR_20' ) end [2025-03-19 23:58:17] Production.INFO: ProcessCDR(1,14719013,1,1,2) [2025-03-19 23:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719013', 'tblTempUsageDetail_20' ) start [2025-03-19 23:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719013', 'tblTempUsageDetail_20' ) end [2025-03-19 23:58:20] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:58:20] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:58:20] Production.INFO: ==19534== Releasing lock... [2025-03-19 23:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:58:20] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 03:59:02] Production.INFO: ==19598== Lock acquired, processing the job... [2025-03-20 03:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 03:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 03:59:02] Production.INFO: neon service started [2025-03-20 03:59:02] Production.INFO: neon service started [2025-03-20 03:59:02] Production.INFO: ==19598== Releasing lock... [2025-03-20 03:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 03:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:59:02] Production.INFO: ==19602== Lock acquired, processing the job... [2025-03-20 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:59:02] Production.INFO: ==19602== Releasing lock... [2025-03-20 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 03:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-19 23:59:02] Production.INFO: ==19600== Lock acquired, processing the job... [2025-03-19 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-19 23:59:02] Production.INFO: ==19600== Releasing lock... [2025-03-19 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-19 23:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-19 23:59:03] Production.INFO: ==19604== Lock acquired, processing the job... [2025-03-19 23:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-19 23:59:03] Production.INFO: ==19608== Lock acquired, processing the job... [2025-03-19 23:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-19 23:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-19 23:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250319Live done [2025-03-19 23:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319Live done [2025-03-19 23:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250319Live) [2025-03-19 23:59:03] Production.INFO: ==19614== Lock acquired, processing the job... [2025-03-19 23:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-19 23:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-19','2025-03-19','120250319Live') [2025-03-19 23:59:03] Production.INFO: ==19606== Lock acquired, processing the job... [2025-03-19 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-19 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-03-19 23:59:04] Production.INFO: count ==12 [2025-03-19 23:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-19 23:59:04] Production.INFO: count ==23 [2025-03-19 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719015') start [2025-03-19 23:59:04] Production.INFO: ==19610== Lock acquired, processing the job... [2025-03-19 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-19 23:59:04] Production.INFO: ==19612== Lock acquired, processing the job... [2025-03-19 23:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-19 23:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-19 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719015') end [2025-03-19 23:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-19 23:59:04] Production.INFO: 1 [2025-03-19 23:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-19 23:59:04] Production.INFO: Account Balance Start. [2025-03-19 23:59:04] Production.INFO: CreateAllLog Start [2025-03-19 23:59:04] Production.INFO: 117 [2025-03-19 23:59:04] Production.INFO: Date 2025-03-08 [2025-03-19 23:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:04] Production.INFO: Date 2025-03-09 [2025-03-19 23:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:04] Production.INFO: Date 2025-03-10 [2025-03-19 23:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:04] Production.INFO: ==19614== Releasing lock... [2025-03-19 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-19 23:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-19 23:59:04] Production.INFO: ==19606== Releasing lock... [2025-03-19 23:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-19 23:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-19 23:59:04] Production.INFO: Date 2025-03-11 [2025-03-19 23:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:04] Production.INFO: Date 2025-03-12 [2025-03-19 23:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:04] Production.INFO: Date 2025-03-13 [2025-03-19 23:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:04] Production.INFO: Date 2025-03-14 [2025-03-19 23:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:04] Production.INFO: Date 2025-03-15 [2025-03-19 23:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:04] Production.ERROR: done [2025-03-19 23:59:04] Production.INFO: Date 2025-03-16 [2025-03-19 23:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-19 23:59:04] Production.INFO: Date 2025-03-17 [2025-03-19 23:59:04] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:04] Production.ERROR: done [2025-03-19 23:59:05] Production.INFO: Date 2025-03-18 [2025-03-19 23:59:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:05] Production.INFO: Date 2025-03-19 [2025-03-19 23:59:05] Production.INFO: Reseller ==> 0 [2025-03-19 23:59:05] Production.INFO: Total Charge 0 [2025-03-19 23:59:05] Production.INFO: CreateAllLog End [2025-03-19 23:59:05] Production.INFO: Account Balance End. [2025-03-19 23:59:05] Production.ERROR: CronJobId end 12 [2025-03-19 23:59:05] Production.INFO: ==19610== Releasing lock... [2025-03-19 23:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-19 23:59:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-19 23:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 20:59:05 [end_date_ymd] => 2025-03-19 23:59:05 [RateCDR] => 1 ) [2025-03-19 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-03-19 20:59:05' and `end` < '2025-03-19 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-03-19 23:59:12] Production.ERROR: CronJobId end10 [2025-03-19 23:59:12] Production.INFO: ==19608== Releasing lock... [2025-03-19 23:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-19 23:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-19 23:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-19 23:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-19 23:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-19 23:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-19 23:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-19 23:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-19 23:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-19 23:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-19 23:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-19 23:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-19 23:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-19 23:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-19 23:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-19 23:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-19 23:59:15] Production.INFO: call_cost start [2025-03-19 23:59:15] Production.INFO: call_cost end [2025-03-19 23:59:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-19 23:59:16] Production.INFO: ============== Report Schedule START=========== [2025-03-19 23:59:16] Production.INFO: ============== Report Schedule END=========== [2025-03-19 23:59:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-19 23:59:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-19 23:59:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-19 23:59:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-19 23:59:16] Production.INFO: ============== Deal alert START=========== [2025-03-19 23:59:16] Production.INFO: ============== Deal alert END=========== [2025-03-19 23:59:16] Production.INFO: ==19604== Releasing lock... [2025-03-19 23:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-19 23:59:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-19 23:59:18] Production.INFO: count ==1098 [2025-03-19 23:59:18] Production.ERROR: pbx CDR StartTime 2025-03-19 20:59:05 - End Time 2025-03-19 23:59:05 [2025-03-19 23:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-19 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719018', 'tblTempUsageDetail_20' ) start [2025-03-19 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719018', 'tblTempUsageDetail_20' ) end [2025-03-19 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719018', 'tblTempVendorCDR_20' ) start [2025-03-19 23:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719018', 'tblTempVendorCDR_20' ) end [2025-03-19 23:59:18] Production.INFO: ProcessCDR(1,14719018,1,1,2) [2025-03-19 23:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-19 23:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-19 23:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719018', 'tblTempUsageDetail_20' ) start [2025-03-19 23:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719018', 'tblTempUsageDetail_20' ) end [2025-03-19 23:59:23] Production.ERROR: pbx prc_insertCDR start [2025-03-19 23:59:23] Production.ERROR: pbx prc_insertCDR end [2025-03-19 23:59:23] Production.INFO: ==19612== Releasing lock... [2025-03-19 23:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-19 23:59:23] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 04:00:01] Production.INFO: ==19678== Lock acquired, processing the job... [2025-03-20 04:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:00:01] Production.INFO: neon service started [2025-03-20 04:00:01] Production.INFO: neon service started [2025-03-20 04:00:01] Production.INFO: ==19678== Releasing lock... [2025-03-20 04:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:00:02] Production.INFO: ==19680== Lock acquired, processing the job... [2025-03-20 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:00:02] Production.INFO: ==19682== Lock acquired, processing the job... [2025-03-20 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:00:02] Production.INFO: ==19680== Releasing lock... [2025-03-20 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:00:02] Production.INFO: ==19682== Releasing lock... [2025-03-20 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:00:03] Production.INFO: ==19693== Lock acquired, processing the job... [2025-03-20 00:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:00:03] Production.INFO: ==19697== Lock acquired, processing the job... [2025-03-20 00:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 00:00:03] Production.INFO: ==19695== Lock acquired, processing the job... [2025-03-20 00:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:00:03] Production.INFO: Account Balance Start. [2025-03-20 00:00:03] Production.INFO: CreateAllLog Start [2025-03-20 00:00:03] Production.INFO: 117 [2025-03-20 00:00:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:00:03] Production.INFO: ==19685== Lock acquired, processing the job... [2025-03-20 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 00:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 00:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 00:00:03] Production.ERROR: CronJob PID - 19693 [2025-03-20 00:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 00:00:03] Production.ERROR: CronJob ID - 12 [2025-03-20 00:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 00:00:00 [2025-03-20 00:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 00:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 00:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 00:00:03] Production.ERROR: CronJob PID - 19695 [2025-03-20 00:00:03] Production.INFO: ==19687== Lock acquired, processing the job... [2025-03-20 00:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 00:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:00:03] Production.ERROR: CronJob ID - 16 [2025-03-20 00:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 00:00:00 [2025-03-20 00:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 00:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 00:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 00:00:03] Production.ERROR: CronJob PID - 19697 [2025-03-20 00:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 00:00:03] Production.ERROR: CronJob ID - 17 [2025-03-20 00:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 00:00:00 [2025-03-20 00:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 00:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 00:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:00:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:03] Production.INFO: ==19691== Lock acquired, processing the job... [2025-03-20 00:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:00:03] Production.INFO: ==19689== Lock acquired, processing the job... [2025-03-20 00:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:00:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:00:03] Production.INFO: ==19699== Lock acquired, processing the job... [2025-03-20 00:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 00:00:03] Production.INFO: ==19685== Releasing lock... [2025-03-20 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 00:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 00:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:00:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:00:04] Production.INFO: count ==12 [2025-03-20 00:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 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-03-20 00:00:04] Production.INFO: count ==23 [2025-03-20 00:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719020') start [2025-03-20 00:00:04] Production.ERROR: done [2025-03-20 00:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 00:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719023', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 00:00:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:00:04] Production.ERROR: done [2025-03-20 00:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719020') end [2025-03-20 00:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:00:04] Production.INFO: 1 [2025-03-20 00:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:00:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:04] Production.INFO: ==19699== Releasing lock... [2025-03-20 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:00:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:04] Production.ERROR: done [2025-03-20 00:00:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:04] Production.INFO: ==19689== Releasing lock... [2025-03-20 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:00:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:00:04] Production.INFO: Total Charge 0 [2025-03-20 00:00:04] Production.INFO: CreateAllLog End [2025-03-20 00:00:04] Production.INFO: Account Balance End. [2025-03-20 00:00:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:00:04] Production.INFO: ==19693== Releasing lock... [2025-03-20 00:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:00:05 [end_date_ymd] => 2025-03-20 00:00:05 [RateCDR] => 1 ) [2025-03-20 00:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:00:05' and `end` < '2025-03-20 00:00:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719023', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 00:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 00:00:09] Production.INFO: ProcessCDR(1,14719023,1,1,2) [2025-03-20 00:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719023,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719023,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:00:09] Production.INFO: ==19697== Releasing lock... [2025-03-20 00:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 00:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 00:00:14] Production.ERROR: CronJobId end10 [2025-03-20 00:00:14] Production.INFO: ==19691== Releasing lock... [2025-03-20 00:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:00:14] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:00:16] Production.INFO: call_cost start [2025-03-20 00:00:16] Production.INFO: call_cost end [2025-03-20 00:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:00:17] Production.INFO: ==19687== Releasing lock... [2025-03-20 00:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:00:18] Production.INFO: count ==1093 [2025-03-20 00:00:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:00:05 - End Time 2025-03-20 00:00:05 [2025-03-20 00:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719024', 'tblTempUsageDetail_20' ) start [2025-03-20 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719024', 'tblTempUsageDetail_20' ) end [2025-03-20 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719024', 'tblTempVendorCDR_20' ) start [2025-03-20 00:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719024', 'tblTempVendorCDR_20' ) end [2025-03-20 00:00:18] Production.INFO: ProcessCDR(1,14719024,1,1,2) [2025-03-20 00:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719024', 'tblTempUsageDetail_20' ) start [2025-03-20 00:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719024', 'tblTempUsageDetail_20' ) end [2025-03-20 00:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:00:24] Production.INFO: ==19695== Releasing lock... [2025-03-20 00:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:00:24] Production.INFO: 38.75 MB #Memory Used# [2025-03-20 04:01:02] Production.INFO: ==19764== Lock acquired, processing the job... [2025-03-20 04:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:01:02] Production.INFO: neon service started [2025-03-20 04:01:02] Production.INFO: neon service started [2025-03-20 04:01:02] Production.INFO: ==19764== Releasing lock... [2025-03-20 04:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:01:02] Production.INFO: ==19780== Lock acquired, processing the job... [2025-03-20 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:01:02] Production.INFO: ==19780== Releasing lock... [2025-03-20 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:01:02] Production.INFO: ==19782== Lock acquired, processing the job... [2025-03-20 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:01:03] Production.INFO: ==19782== Releasing lock... [2025-03-20 04:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:01:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:01:03] Production.INFO: ==19788== Lock acquired, processing the job... [2025-03-20 00:01:03] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Starts# [2025-03-20 00:01:03] Production.INFO: ==19784== Lock acquired, processing the job... [2025-03-20 00:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:01:04] Production.INFO: ==19786== Lock acquired, processing the job... [2025-03-20 00:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:01:04] Production.INFO: ==19790== Lock acquired, processing the job... [2025-03-20 00:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:01:04] Production.INFO: ==19796== Lock acquired, processing the job... [2025-03-20 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:01:04] Production.INFO: ==19792== Lock acquired, processing the job... [2025-03-20 00:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:01:04] Production.INFO: ==19794== Lock acquired, processing the job... [2025-03-20 00:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:01:04] Production.INFO: Account Balance Start. [2025-03-20 00:01:04] Production.INFO: CreateAllLog Start [2025-03-20 00:01:04] Production.INFO: 117 [2025-03-20 00:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:01:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:04] Production.INFO: count ==12 [2025-03-20 00:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:01:04] Production.INFO: count ==23 [2025-03-20 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719027') start [2025-03-20 00:01:04] Production.INFO: ==19786== Releasing lock... [2025-03-20 00:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:01:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719027') end [2025-03-20 00:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:01:04] Production.INFO: 1 [2025-03-20 00:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:04] Production.INFO: ==19796== Releasing lock... [2025-03-20 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:04] Production.ERROR: done [2025-03-20 00:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:05] Production.ERROR: done [2025-03-20 00:01:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:01:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:01:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:01:05] Production.INFO: Total Charge 0 [2025-03-20 00:01:05] Production.INFO: CreateAllLog End [2025-03-20 00:01:05] Production.INFO: Account Balance End. [2025-03-20 00:01:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:01:05] Production.INFO: ==19792== Releasing lock... [2025-03-20 00:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:01:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:01:06 [end_date_ymd] => 2025-03-20 00:01:06 [RateCDR] => 1 ) [2025-03-20 00:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:01:06' and `end` < '2025-03-20 00:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:01:12] Production.ERROR: tmp_tblUsageDetailsReport_120250316 done [2025-03-20 00:01:12] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250316 done [2025-03-20 00:01:12] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250316 [2025-03-20 00:01:13] Production.INFO: call prc_generateSummary(1,'2025-03-16','2025-03-16','120250316') [2025-03-20 00:01:18] Production.ERROR: CronJobId end10 [2025-03-20 00:01:18] Production.INFO: ==19790== Releasing lock... [2025-03-20 00:01:18] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:01:18] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:01:18] Production.INFO: call prc_generateVendorSummary(1,'2025-03-16','2025-03-16','120250316') [2025-03-20 00:01:19] Production.INFO: count ==762 [2025-03-20 00:01:19] Production.ERROR: pbx CDR StartTime 2025-03-19 21:01:06 - End Time 2025-03-20 00:01:06 [2025-03-20 00:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719029', 'tblTempUsageDetail_20' ) start [2025-03-20 00:01:19] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:01:19] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:01:19] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:01:19] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:01:19] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:01:19] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:01:19] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:01:19] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:01:19] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:01:19] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:01:19] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:01:19] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:01:19] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:01:19] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719029', 'tblTempUsageDetail_20' ) end [2025-03-20 00:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719029', 'tblTempVendorCDR_20' ) start [2025-03-20 00:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719029', 'tblTempVendorCDR_20' ) end [2025-03-20 00:01:19] Production.INFO: ProcessCDR(1,14719029,1,1,2) [2025-03-20 00:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:01:20] Production.INFO: call_cost start [2025-03-20 00:01:20] Production.INFO: call_cost end [2025-03-20 00:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:01:22] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:01:22] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:01:22] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:01:22] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:01:22] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:01:22] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:01:22] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:01:22] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:01:22] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:01:22] Production.INFO: ==19784== Releasing lock... [2025-03-20 00:01:22] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:01:22] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:01:23] Production.ERROR: tmp_tblUsageDetailsReport_120250317 done [2025-03-20 00:01:23] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250317 done [2025-03-20 00:01:23] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250317 [2025-03-20 00:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719029', 'tblTempUsageDetail_20' ) start [2025-03-20 00:01:25] Production.INFO: call prc_generateSummary(1,'2025-03-17','2025-03-17','120250317') [2025-03-20 00:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719029', 'tblTempUsageDetail_20' ) end [2025-03-20 00:01:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:01:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:01:25] Production.INFO: ==19794== Releasing lock... [2025-03-20 00:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:01:25] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 00:01:28] Production.INFO: call prc_generateVendorSummary(1,'2025-03-17','2025-03-17','120250317') [2025-03-20 00:01:31] Production.ERROR: tmp_tblUsageDetailsReport_120250318 done [2025-03-20 00:01:31] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250318 done [2025-03-20 00:01:31] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250318 [2025-03-20 00:01:31] Production.INFO: call prc_generateSummary(1,'2025-03-18','2025-03-18','120250318') [2025-03-20 00:01:35] Production.INFO: call prc_generateVendorSummary(1,'2025-03-18','2025-03-18','120250318') [2025-03-20 00:01:38] Production.ERROR: tmp_tblUsageDetailsReport_120250319 done [2025-03-20 00:01:38] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250319 done [2025-03-20 00:01:38] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250319 [2025-03-20 00:01:38] Production.INFO: call prc_generateSummary(1,'2025-03-19','2025-03-19','120250319') [2025-03-20 00:01:41] Production.INFO: call prc_generateVendorSummary(1,'2025-03-19','2025-03-19','120250319') [2025-03-20 00:01:45] Production.ERROR: CronJobId end9 [2025-03-20 00:01:45] Production.INFO: ==19788== Releasing lock... [2025-03-20 00:01:45] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Stops# [2025-03-20 00:01:45] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:02:01] Production.INFO: ==19856== Lock acquired, processing the job... [2025-03-20 04:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:02:01] Production.INFO: neon service started [2025-03-20 04:02:01] Production.INFO: neon service started [2025-03-20 04:02:01] Production.INFO: ==19856== Releasing lock... [2025-03-20 04:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:02:02] Production.INFO: ==19858== Lock acquired, processing the job... [2025-03-20 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:02:02] Production.INFO: ==19858== Releasing lock... [2025-03-20 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:02:02] Production.INFO: ==19860== Lock acquired, processing the job... [2025-03-20 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:02:02] Production.INFO: ==19860== Releasing lock... [2025-03-20 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:02:03] Production.INFO: ==19866== Lock acquired, processing the job... [2025-03-20 00:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:02:03] Production.INFO: ==19872== Lock acquired, processing the job... [2025-03-20 00:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:02:03] Production.INFO: ==19864== Lock acquired, processing the job... [2025-03-20 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:02:03] Production.INFO: ==19862== Lock acquired, processing the job... [2025-03-20 00:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:02:03] Production.INFO: ==19868== Lock acquired, processing the job... [2025-03-20 00:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:02:03] Production.INFO: ==19874== Lock acquired, processing the job... [2025-03-20 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:02:03] Production.INFO: Account Balance Start. [2025-03-20 00:02:03] Production.INFO: CreateAllLog Start [2025-03-20 00:02:03] Production.INFO: 117 [2025-03-20 00:02:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:02:03] Production.INFO: count ==12 [2025-03-20 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-03-20 00:02:03] Production.INFO: count ==23 [2025-03-20 00:02:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719033') start [2025-03-20 00:02:04] Production.ERROR: done [2025-03-20 00:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:02:04] Production.INFO: ==19864== Releasing lock... [2025-03-20 00:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719033') end [2025-03-20 00:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:02:04] Production.INFO: 1 [2025-03-20 00:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:04] Production.INFO: ==19874== Releasing lock... [2025-03-20 00:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:02:04] Production.ERROR: done [2025-03-20 00:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:02:04] Production.INFO: Total Charge 0 [2025-03-20 00:02:04] Production.INFO: CreateAllLog End [2025-03-20 00:02:04] Production.INFO: Account Balance End. [2025-03-20 00:02:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:02:04] Production.INFO: ==19868== Releasing lock... [2025-03-20 00:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:02:05 [end_date_ymd] => 2025-03-20 00:02:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:02:05' and `end` < '2025-03-20 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-03-20 00:02:11] Production.ERROR: CronJobId end10 [2025-03-20 00:02:11] Production.INFO: ==19866== Releasing lock... [2025-03-20 00:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:02:14] Production.INFO: call_cost start [2025-03-20 00:02:14] Production.INFO: call_cost end [2025-03-20 00:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:02:15] Production.INFO: ==19862== Releasing lock... [2025-03-20 00:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:02:18] Production.INFO: count ==762 [2025-03-20 00:02:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:02:05 - End Time 2025-03-20 00:02:05 [2025-03-20 00:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719034', 'tblTempUsageDetail_20' ) start [2025-03-20 00:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719034', 'tblTempUsageDetail_20' ) end [2025-03-20 00:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719034', 'tblTempVendorCDR_20' ) start [2025-03-20 00:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719034', 'tblTempVendorCDR_20' ) end [2025-03-20 00:02:18] Production.INFO: ProcessCDR(1,14719034,1,1,2) [2025-03-20 00:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719034', 'tblTempUsageDetail_20' ) start [2025-03-20 00:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719034', 'tblTempUsageDetail_20' ) end [2025-03-20 00:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:02:21] Production.INFO: ==19872== Releasing lock... [2025-03-20 00:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:02:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:03:02] Production.INFO: ==19934== Lock acquired, processing the job... [2025-03-20 04:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:03:02] Production.INFO: neon service started [2025-03-20 04:03:02] Production.INFO: neon service started [2025-03-20 04:03:02] Production.INFO: ==19934== Releasing lock... [2025-03-20 04:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:03:02] Production.INFO: ==19937== Lock acquired, processing the job... [2025-03-20 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:03:02] Production.INFO: ==19937== Releasing lock... [2025-03-20 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:03:02] Production.INFO: ==19939== Lock acquired, processing the job... [2025-03-20 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:03:02] Production.INFO: ==19939== Releasing lock... [2025-03-20 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:03:03] Production.INFO: ==19941== Lock acquired, processing the job... [2025-03-20 00:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:03:03] Production.INFO: ==19943== Lock acquired, processing the job... [2025-03-20 00:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:03:03] Production.INFO: ==19947== Lock acquired, processing the job... [2025-03-20 00:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:03:03] Production.INFO: Account Balance Start. [2025-03-20 00:03:03] Production.INFO: CreateAllLog Start [2025-03-20 00:03:03] Production.INFO: 117 [2025-03-20 00:03:03] Production.INFO: ==19945== Lock acquired, processing the job... [2025-03-20 00:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:03:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.INFO: ==19949== Lock acquired, processing the job... [2025-03-20 00:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.INFO: ==19951== Lock acquired, processing the job... [2025-03-20 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:03:04] Production.INFO: ==19943== Releasing lock... [2025-03-20 00:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.INFO: count ==12 [2025-03-20 00:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:03:04] Production.INFO: count ==23 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719038') start [2025-03-20 00:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:03:04] Production.ERROR: done [2025-03-20 00:03:04] Production.INFO: Total Charge 0 [2025-03-20 00:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719038') end [2025-03-20 00:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:03:04] Production.INFO: 1 [2025-03-20 00:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:03:04] Production.INFO: CreateAllLog End [2025-03-20 00:03:04] Production.INFO: ==19951== Releasing lock... [2025-03-20 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:03:04] Production.ERROR: done [2025-03-20 00:03:04] Production.INFO: Account Balance End. [2025-03-20 00:03:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:03:04] Production.INFO: ==19947== Releasing lock... [2025-03-20 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:03:05 [end_date_ymd] => 2025-03-20 00:03:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:03:05' and `end` < '2025-03-20 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-03-20 00:03:12] Production.ERROR: CronJobId end10 [2025-03-20 00:03:12] Production.INFO: ==19945== Releasing lock... [2025-03-20 00:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:03:15] Production.INFO: call_cost start [2025-03-20 00:03:15] Production.INFO: call_cost end [2025-03-20 00:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:03:16] Production.INFO: ==19941== Releasing lock... [2025-03-20 00:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:03:22] Production.INFO: count ==762 [2025-03-20 00:03:22] Production.ERROR: pbx CDR StartTime 2025-03-19 21:03:05 - End Time 2025-03-20 00:03:05 [2025-03-20 00:03:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719039', 'tblTempUsageDetail_20' ) start [2025-03-20 00:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719039', 'tblTempUsageDetail_20' ) end [2025-03-20 00:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719039', 'tblTempVendorCDR_20' ) start [2025-03-20 00:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719039', 'tblTempVendorCDR_20' ) end [2025-03-20 00:03:22] Production.INFO: ProcessCDR(1,14719039,1,1,2) [2025-03-20 00:03:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:03:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:03:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719039', 'tblTempUsageDetail_20' ) start [2025-03-20 00:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719039', 'tblTempUsageDetail_20' ) end [2025-03-20 00:03:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:03:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:03:27] Production.INFO: ==19949== Releasing lock... [2025-03-20 00:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:03:27] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 04:04:01] Production.INFO: ==20014== Lock acquired, processing the job... [2025-03-20 04:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:04:01] Production.INFO: neon service started [2025-03-20 04:04:01] Production.INFO: neon service started [2025-03-20 04:04:01] Production.INFO: ==20014== Releasing lock... [2025-03-20 04:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:04:02] Production.INFO: ==20016== Lock acquired, processing the job... [2025-03-20 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:04:02] Production.INFO: ==20018== Lock acquired, processing the job... [2025-03-20 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:04:02] Production.INFO: ==20018== Releasing lock... [2025-03-20 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:04:02] Production.INFO: ==20016== Releasing lock... [2025-03-20 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:04:03] Production.INFO: ==20027== Lock acquired, processing the job... [2025-03-20 00:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:04:03] Production.INFO: Account Balance Start. [2025-03-20 00:04:03] Production.INFO: CreateAllLog Start [2025-03-20 00:04:03] Production.INFO: 117 [2025-03-20 00:04:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:04:03] Production.INFO: ==20031== Lock acquired, processing the job... [2025-03-20 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:04:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:03] Production.INFO: count ==12 [2025-03-20 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-03-20 00:04:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:03] Production.INFO: count ==23 [2025-03-20 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719041') start [2025-03-20 00:04:03] Production.INFO: ==20021== Lock acquired, processing the job... [2025-03-20 00:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:04:03] Production.INFO: ==20023== Lock acquired, processing the job... [2025-03-20 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:04:03] Production.INFO: ==20025== Lock acquired, processing the job... [2025-03-20 00:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:04:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719041') end [2025-03-20 00:04:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:04:03] Production.INFO: 1 [2025-03-20 00:04:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:04:03] Production.INFO: ==20031== Releasing lock... [2025-03-20 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:04:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:04:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:04:03] Production.INFO: ==20029== Lock acquired, processing the job... [2025-03-20 00:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:04:03] Production.INFO: Date 2025-03-15 [2025-03-20 00:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:04] Production.INFO: ==20023== Releasing lock... [2025-03-20 00:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:04] Production.ERROR: done [2025-03-20 00:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:04:04] Production.INFO: Total Charge 0 [2025-03-20 00:04:04] Production.INFO: CreateAllLog End [2025-03-20 00:04:04] Production.ERROR: done [2025-03-20 00:04:04] Production.INFO: Account Balance End. [2025-03-20 00:04:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:04:04] Production.INFO: ==20027== Releasing lock... [2025-03-20 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:04:05 [end_date_ymd] => 2025-03-20 00:04:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:04:05' and `end` < '2025-03-20 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-03-20 00:04:11] Production.ERROR: CronJobId end10 [2025-03-20 00:04:11] Production.INFO: ==20025== Releasing lock... [2025-03-20 00:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:04:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:04:14] Production.INFO: call_cost start [2025-03-20 00:04:14] Production.INFO: call_cost end [2025-03-20 00:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:04:15] Production.INFO: ==20021== Releasing lock... [2025-03-20 00:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:04:31] Production.INFO: count ==756 [2025-03-20 00:04:32] Production.ERROR: pbx CDR StartTime 2025-03-19 21:04:05 - End Time 2025-03-20 00:04:05 [2025-03-20 00:04:32] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:04:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719044', 'tblTempUsageDetail_20' ) start [2025-03-20 00:04:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719044', 'tblTempUsageDetail_20' ) end [2025-03-20 00:04:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719044', 'tblTempVendorCDR_20' ) start [2025-03-20 00:04:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719044', 'tblTempVendorCDR_20' ) end [2025-03-20 00:04:32] Production.INFO: ProcessCDR(1,14719044,1,1,2) [2025-03-20 00:04:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:04:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:04:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:04:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:04:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719044', 'tblTempUsageDetail_20' ) start [2025-03-20 00:04:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719044', 'tblTempUsageDetail_20' ) end [2025-03-20 00:04:35] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:04:35] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:04:35] Production.INFO: ==20029== Releasing lock... [2025-03-20 00:04:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:04:35] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:05:01] Production.INFO: ==20090== Lock acquired, processing the job... [2025-03-20 04:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:05:02] Production.INFO: neon service started [2025-03-20 04:05:02] Production.INFO: neon service started [2025-03-20 04:05:02] Production.INFO: ==20090== Releasing lock... [2025-03-20 04:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:05:02] Production.INFO: ==20092== Lock acquired, processing the job... [2025-03-20 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:05:02] Production.INFO: ==20092== Releasing lock... [2025-03-20 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:05:02] Production.INFO: ==20094== Lock acquired, processing the job... [2025-03-20 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:05:02] Production.INFO: ==20094== Releasing lock... [2025-03-20 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:05:03] Production.INFO: ==20103== Lock acquired, processing the job... [2025-03-20 00:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:05:03] Production.INFO: ==20107== Lock acquired, processing the job... [2025-03-20 00:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:05:03] Production.INFO: Account Balance Start. [2025-03-20 00:05:03] Production.INFO: CreateAllLog Start [2025-03-20 00:05:03] Production.INFO: 117 [2025-03-20 00:05:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 00:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:03] Production.INFO: ==20097== Lock acquired, processing the job... [2025-03-20 00:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:05:03] Production.INFO: count ==12 [2025-03-20 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-03-20 00:05:03] Production.INFO: count ==23 [2025-03-20 00:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719046') start [2025-03-20 00:05:03] Production.INFO: ==20099== Lock acquired, processing the job... [2025-03-20 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:05:03] Production.INFO: ==20101== Lock acquired, processing the job... [2025-03-20 00:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:05:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719046') end [2025-03-20 00:05:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:05:03] Production.INFO: 1 [2025-03-20 00:05:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:05:03] Production.INFO: ==20105== Lock acquired, processing the job... [2025-03-20 00:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:05:03] Production.INFO: ==20107== Releasing lock... [2025-03-20 00:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:05:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:05:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:04] Production.INFO: ==20099== Releasing lock... [2025-03-20 00:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:04] Production.ERROR: done [2025-03-20 00:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:05:04] Production.INFO: Total Charge 0 [2025-03-20 00:05:04] Production.INFO: CreateAllLog End [2025-03-20 00:05:04] Production.ERROR: done [2025-03-20 00:05:04] Production.INFO: Account Balance End. [2025-03-20 00:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:05:04] Production.INFO: ==20103== Releasing lock... [2025-03-20 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:05:05 [end_date_ymd] => 2025-03-20 00:05:05 [RateCDR] => 1 ) [2025-03-20 00:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:05:05' and `end` < '2025-03-20 00:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:05:11] Production.ERROR: CronJobId end10 [2025-03-20 00:05:11] Production.INFO: ==20101== Releasing lock... [2025-03-20 00:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:05:14] Production.INFO: call_cost start [2025-03-20 00:05:14] Production.INFO: call_cost end [2025-03-20 00:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:05:15] Production.INFO: ==20097== Releasing lock... [2025-03-20 00:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:05:26] Production.INFO: count ==748 [2025-03-20 00:05:26] Production.ERROR: pbx CDR StartTime 2025-03-19 21:05:05 - End Time 2025-03-20 00:05:05 [2025-03-20 00:05:26] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719049', 'tblTempUsageDetail_20' ) start [2025-03-20 00:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719049', 'tblTempUsageDetail_20' ) end [2025-03-20 00:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719049', 'tblTempVendorCDR_20' ) start [2025-03-20 00:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719049', 'tblTempVendorCDR_20' ) end [2025-03-20 00:05:26] Production.INFO: ProcessCDR(1,14719049,1,1,2) [2025-03-20 00:05:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:05:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:05:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:05:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:05:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719049', 'tblTempUsageDetail_20' ) start [2025-03-20 00:05:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719049', 'tblTempUsageDetail_20' ) end [2025-03-20 00:05:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:05:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:05:29] Production.INFO: ==20105== Releasing lock... [2025-03-20 00:05:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:05:29] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:06:01] Production.INFO: ==20176== Lock acquired, processing the job... [2025-03-20 04:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:06:01] Production.INFO: neon service started [2025-03-20 04:06:01] Production.INFO: neon service started [2025-03-20 04:06:01] Production.INFO: ==20176== Releasing lock... [2025-03-20 04:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:06:01] Production.INFO: ==20178== Lock acquired, processing the job... [2025-03-20 00:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:06:02] Production.INFO: ==20178== Releasing lock... [2025-03-20 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:06:02] Production.INFO: ==20180== Lock acquired, processing the job... [2025-03-20 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:06:02] Production.INFO: ==20180== Releasing lock... [2025-03-20 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:06:03] Production.INFO: ==20188== Lock acquired, processing the job... [2025-03-20 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:06:03] Production.INFO: ==20184== Lock acquired, processing the job... [2025-03-20 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:06:03] Production.INFO: ==20182== Lock acquired, processing the job... [2025-03-20 00:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:06:03] Production.INFO: Account Balance Start. [2025-03-20 00:06:03] Production.INFO: CreateAllLog Start [2025-03-20 00:06:03] Production.INFO: 117 [2025-03-20 00:06:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:06:03] Production.INFO: ==20186== Lock acquired, processing the job... [2025-03-20 00:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:06:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.INFO: ==20190== Lock acquired, processing the job... [2025-03-20 00:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:06:03] Production.INFO: ==20192== Lock acquired, processing the job... [2025-03-20 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:06:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:06:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:06:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:06:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.INFO: count ==12 [2025-03-20 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-03-20 00:06:03] Production.INFO: count ==23 [2025-03-20 00:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719053') start [2025-03-20 00:06:03] Production.INFO: ==20184== Releasing lock... [2025-03-20 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:06:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:06:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.INFO: Date 2025-03-15 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.INFO: Date 2025-03-16 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719053') end [2025-03-20 00:06:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:06:03] Production.INFO: 1 [2025-03-20 00:06:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:06:03] Production.INFO: Date 2025-03-17 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.INFO: Date 2025-03-18 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.INFO: Date 2025-03-19 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.INFO: ==20192== Releasing lock... [2025-03-20 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:06:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:06:03] Production.ERROR: done [2025-03-20 00:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:06:03] Production.INFO: Date 2025-03-20 [2025-03-20 00:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:06:03] Production.INFO: Total Charge 0 [2025-03-20 00:06:03] Production.INFO: CreateAllLog End [2025-03-20 00:06:04] Production.ERROR: done [2025-03-20 00:06:04] Production.INFO: Account Balance End. [2025-03-20 00:06:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:06:04] Production.INFO: ==20188== Releasing lock... [2025-03-20 00:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:06:05 [end_date_ymd] => 2025-03-20 00:06:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:06:05' and `end` < '2025-03-20 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-03-20 00:06:11] Production.ERROR: CronJobId end10 [2025-03-20 00:06:11] Production.INFO: ==20186== Releasing lock... [2025-03-20 00:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:06:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:06:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:06:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:06:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:06:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:06:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:06:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:06:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:06:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:06:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:06:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:06:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:06:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:06:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:06:14] Production.INFO: call_cost start [2025-03-20 00:06:14] Production.INFO: call_cost end [2025-03-20 00:06:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:06:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:06:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:06:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:06:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:06:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:06:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:06:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:06:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:06:14] Production.INFO: ==20182== Releasing lock... [2025-03-20 00:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:06:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:06:26] Production.INFO: count ==748 [2025-03-20 00:06:26] Production.ERROR: pbx CDR StartTime 2025-03-19 21:06:05 - End Time 2025-03-20 00:06:05 [2025-03-20 00:06:26] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719054', 'tblTempUsageDetail_20' ) start [2025-03-20 00:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719054', 'tblTempUsageDetail_20' ) end [2025-03-20 00:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719054', 'tblTempVendorCDR_20' ) start [2025-03-20 00:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719054', 'tblTempVendorCDR_20' ) end [2025-03-20 00:06:26] Production.INFO: ProcessCDR(1,14719054,1,1,2) [2025-03-20 00:06:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:06:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:06:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:06:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:06:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719054', 'tblTempUsageDetail_20' ) start [2025-03-20 00:06:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719054', 'tblTempUsageDetail_20' ) end [2025-03-20 00:06:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:06:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:06:29] Production.INFO: ==20190== Releasing lock... [2025-03-20 00:06:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:06:29] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:07:01] Production.INFO: ==20255== Lock acquired, processing the job... [2025-03-20 04:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:07:01] Production.INFO: neon service started [2025-03-20 04:07:01] Production.INFO: neon service started [2025-03-20 04:07:01] Production.INFO: ==20255== Releasing lock... [2025-03-20 04:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:07:02] Production.INFO: ==20257== Lock acquired, processing the job... [2025-03-20 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:07:02] Production.INFO: ==20259== Lock acquired, processing the job... [2025-03-20 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:07:02] Production.INFO: ==20259== Releasing lock... [2025-03-20 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:07:02] Production.INFO: ==20257== Releasing lock... [2025-03-20 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:07:03] Production.INFO: ==20261== Lock acquired, processing the job... [2025-03-20 00:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:07:03] Production.INFO: ==20265== Lock acquired, processing the job... [2025-03-20 00:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:07:03] Production.INFO: ==20267== Lock acquired, processing the job... [2025-03-20 00:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:07:03] Production.INFO: ==20263== Lock acquired, processing the job... [2025-03-20 00:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:07:03] Production.INFO: Account Balance Start. [2025-03-20 00:07:03] Production.INFO: CreateAllLog Start [2025-03-20 00:07:03] Production.INFO: 117 [2025-03-20 00:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:07:03] Production.INFO: ==20270== Lock acquired, processing the job... [2025-03-20 00:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:03] Production.INFO: ==20272== Lock acquired, processing the job... [2025-03-20 00:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:07:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:03] Production.INFO: Date 2025-03-15 [2025-03-20 00:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:07:04] Production.INFO: ==20263== Releasing lock... [2025-03-20 00:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:07:04] Production.INFO: count ==12 [2025-03-20 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-03-20 00:07:04] Production.INFO: count ==23 [2025-03-20 00:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719058') start [2025-03-20 00:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:07:04] Production.ERROR: done [2025-03-20 00:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719058') end [2025-03-20 00:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:07:04] Production.INFO: 1 [2025-03-20 00:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:07:04] Production.INFO: Total Charge 0 [2025-03-20 00:07:04] Production.ERROR: done [2025-03-20 00:07:04] Production.INFO: CreateAllLog End [2025-03-20 00:07:04] Production.INFO: ==20272== Releasing lock... [2025-03-20 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:07:04] Production.INFO: Account Balance End. [2025-03-20 00:07:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:07:04] Production.INFO: ==20267== Releasing lock... [2025-03-20 00:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:07:05 [end_date_ymd] => 2025-03-20 00:07:05 [RateCDR] => 1 ) [2025-03-20 00:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:07:05' and `end` < '2025-03-20 00:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:07:12] Production.ERROR: CronJobId end10 [2025-03-20 00:07:12] Production.INFO: ==20265== Releasing lock... [2025-03-20 00:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:07:14] Production.INFO: call_cost start [2025-03-20 00:07:14] Production.INFO: call_cost end [2025-03-20 00:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:07:15] Production.INFO: ==20261== Releasing lock... [2025-03-20 00:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:07:18] Production.INFO: count ==742 [2025-03-20 00:07:19] Production.ERROR: pbx CDR StartTime 2025-03-19 21:07:05 - End Time 2025-03-20 00:07:05 [2025-03-20 00:07:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719059', 'tblTempUsageDetail_20' ) start [2025-03-20 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719059', 'tblTempUsageDetail_20' ) end [2025-03-20 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719059', 'tblTempVendorCDR_20' ) start [2025-03-20 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719059', 'tblTempVendorCDR_20' ) end [2025-03-20 00:07:19] Production.INFO: ProcessCDR(1,14719059,1,1,2) [2025-03-20 00:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719059', 'tblTempUsageDetail_20' ) start [2025-03-20 00:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719059', 'tblTempUsageDetail_20' ) end [2025-03-20 00:07:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:07:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:07:22] Production.INFO: ==20270== Releasing lock... [2025-03-20 00:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:07:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:08:02] Production.INFO: ==20341== Lock acquired, processing the job... [2025-03-20 04:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:08:02] Production.INFO: neon service started [2025-03-20 04:08:02] Production.INFO: neon service started [2025-03-20 04:08:02] Production.INFO: ==20341== Releasing lock... [2025-03-20 04:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:08:02] Production.INFO: ==20343== Lock acquired, processing the job... [2025-03-20 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:08:02] Production.INFO: ==20345== Lock acquired, processing the job... [2025-03-20 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:08:02] Production.INFO: ==20343== Releasing lock... [2025-03-20 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:08:03] Production.INFO: ==20345== Releasing lock... [2025-03-20 04:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:08:03] Production.INFO: ==20353== Lock acquired, processing the job... [2025-03-20 00:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:08:03] Production.INFO: ==20347== Lock acquired, processing the job... [2025-03-20 00:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:08:03] Production.INFO: ==20355== Lock acquired, processing the job... [2025-03-20 00:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:08:03] Production.INFO: Account Balance Start. [2025-03-20 00:08:03] Production.INFO: CreateAllLog Start [2025-03-20 00:08:03] Production.INFO: 117 [2025-03-20 00:08:03] Production.INFO: ==20349== Lock acquired, processing the job... [2025-03-20 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:08:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:08:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:08:03] Production.INFO: ==20351== Lock acquired, processing the job... [2025-03-20 00:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:03] Production.INFO: ==20357== Lock acquired, processing the job... [2025-03-20 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 00:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:04] Production.INFO: count ==12 [2025-03-20 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-03-20 00:08:04] Production.INFO: count ==23 [2025-03-20 00:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719063') start [2025-03-20 00:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:04] Production.ERROR: done [2025-03-20 00:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719063') end [2025-03-20 00:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:08:04] Production.INFO: 1 [2025-03-20 00:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:08:04] Production.INFO: ==20357== Releasing lock... [2025-03-20 00:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:08:04] Production.INFO: Total Charge 0 [2025-03-20 00:08:04] Production.INFO: CreateAllLog End [2025-03-20 00:08:04] Production.INFO: ==20349== Releasing lock... [2025-03-20 00:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:08:04] Production.ERROR: done [2025-03-20 00:08:04] Production.INFO: Account Balance End. [2025-03-20 00:08:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:08:04] Production.INFO: ==20353== Releasing lock... [2025-03-20 00:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:08:05 [end_date_ymd] => 2025-03-20 00:08:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:08:05' and `end` < '2025-03-20 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-03-20 00:08:12] Production.ERROR: CronJobId end10 [2025-03-20 00:08:12] Production.INFO: ==20351== Releasing lock... [2025-03-20 00:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:08:14] Production.INFO: call_cost start [2025-03-20 00:08:14] Production.INFO: call_cost end [2025-03-20 00:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:08:15] Production.INFO: ==20347== Releasing lock... [2025-03-20 00:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:08:17] Production.INFO: count ==742 [2025-03-20 00:08:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:08:05 - End Time 2025-03-20 00:08:05 [2025-03-20 00:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719064', 'tblTempUsageDetail_20' ) start [2025-03-20 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719064', 'tblTempUsageDetail_20' ) end [2025-03-20 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719064', 'tblTempVendorCDR_20' ) start [2025-03-20 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719064', 'tblTempVendorCDR_20' ) end [2025-03-20 00:08:18] Production.INFO: ProcessCDR(1,14719064,1,1,2) [2025-03-20 00:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719064', 'tblTempUsageDetail_20' ) start [2025-03-20 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719064', 'tblTempUsageDetail_20' ) end [2025-03-20 00:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:08:21] Production.INFO: ==20355== Releasing lock... [2025-03-20 00:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:08:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:09:01] Production.INFO: ==20419== Lock acquired, processing the job... [2025-03-20 04:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:09:01] Production.INFO: neon service started [2025-03-20 04:09:01] Production.INFO: neon service started [2025-03-20 04:09:01] Production.INFO: ==20419== Releasing lock... [2025-03-20 04:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:09:02] Production.INFO: ==20421== Lock acquired, processing the job... [2025-03-20 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:09:02] Production.INFO: ==20421== Releasing lock... [2025-03-20 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:09:02] Production.INFO: ==20423== Lock acquired, processing the job... [2025-03-20 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:09:02] Production.INFO: ==20423== Releasing lock... [2025-03-20 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:09:03] Production.INFO: ==20427== Lock acquired, processing the job... [2025-03-20 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:09:03] Production.INFO: ==20435== Lock acquired, processing the job... [2025-03-20 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:09:03] Production.INFO: ==20425== Lock acquired, processing the job... [2025-03-20 00:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:09:03] Production.INFO: ==20429== Lock acquired, processing the job... [2025-03-20 00:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 00:09:03] Production.INFO: ==20431== Lock acquired, processing the job... [2025-03-20 00:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:09:03] Production.INFO: count ==12 [2025-03-20 00:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:09:03] Production.INFO: count ==23 [2025-03-20 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719065') start [2025-03-20 00:09:03] Production.INFO: ==20433== Lock acquired, processing the job... [2025-03-20 00:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719065') end [2025-03-20 00:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:09:03] Production.INFO: 1 [2025-03-20 00:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:09:03] Production.INFO: ==20435== Releasing lock... [2025-03-20 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:09:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:09:03] Production.INFO: Account Balance Start. [2025-03-20 00:09:03] Production.INFO: CreateAllLog Start [2025-03-20 00:09:03] Production.INFO: 117 [2025-03-20 00:09:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:03] Production.INFO: ==20427== Releasing lock... [2025-03-20 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:09:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:03] Production.INFO: Date 2025-03-15 [2025-03-20 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:03] Production.INFO: Date 2025-03-16 [2025-03-20 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:03] Production.INFO: Date 2025-03-17 [2025-03-20 00:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:04] Production.ERROR: done [2025-03-20 00:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:09:04] Production.INFO: Total Charge 0 [2025-03-20 00:09:04] Production.INFO: CreateAllLog End [2025-03-20 00:09:04] Production.ERROR: done [2025-03-20 00:09:04] Production.INFO: Account Balance End. [2025-03-20 00:09:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:09:04] Production.INFO: ==20431== Releasing lock... [2025-03-20 00:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:09:05 [end_date_ymd] => 2025-03-20 00:09:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:09:05' and `end` < '2025-03-20 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-03-20 00:09:12] Production.ERROR: CronJobId end10 [2025-03-20 00:09:12] Production.INFO: ==20429== Releasing lock... [2025-03-20 00:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:09:14] Production.INFO: call_cost start [2025-03-20 00:09:14] Production.INFO: call_cost end [2025-03-20 00:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:09:15] Production.INFO: ==20425== Releasing lock... [2025-03-20 00:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:09:17] Production.INFO: count ==742 [2025-03-20 00:09:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:09:05 - End Time 2025-03-20 00:09:05 [2025-03-20 00:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719069', 'tblTempUsageDetail_20' ) start [2025-03-20 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719069', 'tblTempUsageDetail_20' ) end [2025-03-20 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719069', 'tblTempVendorCDR_20' ) start [2025-03-20 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719069', 'tblTempVendorCDR_20' ) end [2025-03-20 00:09:18] Production.INFO: ProcessCDR(1,14719069,1,1,2) [2025-03-20 00:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719069', 'tblTempUsageDetail_20' ) start [2025-03-20 00:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719069', 'tblTempUsageDetail_20' ) end [2025-03-20 00:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:09:22] Production.INFO: ==20433== Releasing lock... [2025-03-20 00:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:09:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:10:02] Production.INFO: ==20498== Lock acquired, processing the job... [2025-03-20 04:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:10:02] Production.INFO: neon service started [2025-03-20 04:10:02] Production.INFO: neon service started [2025-03-20 04:10:02] Production.INFO: ==20498== Releasing lock... [2025-03-20 04:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:10:02] Production.INFO: ==20500== Lock acquired, processing the job... [2025-03-20 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:10:02] Production.INFO: ==20500== Releasing lock... [2025-03-20 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:10:02] Production.INFO: ==20502== Lock acquired, processing the job... [2025-03-20 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:10:03] Production.INFO: ==20502== Releasing lock... [2025-03-20 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:10:03] Production.INFO: ==20505== Lock acquired, processing the job... [2025-03-20 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 00:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 00:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 00:10:03] Production.INFO: ==20505== Releasing lock... [2025-03-20 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 00:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 00:10:04] Production.INFO: ==20507== Lock acquired, processing the job... [2025-03-20 00:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:10:04] Production.INFO: ==20515== Lock acquired, processing the job... [2025-03-20 00:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:10:04] Production.INFO: ==20519== Lock acquired, processing the job... [2025-03-20 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:10:04] Production.INFO: ==20509== Lock acquired, processing the job... [2025-03-20 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:10:04] Production.INFO: ==20511== Lock acquired, processing the job... [2025-03-20 00:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:10:04] Production.INFO: ==20513== Lock acquired, processing the job... [2025-03-20 00:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:10:04] Production.INFO: count ==12 [2025-03-20 00:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:10:04] Production.INFO: count ==23 [2025-03-20 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719070') start [2025-03-20 00:10:04] Production.INFO: ==20517== Lock acquired, processing the job... [2025-03-20 00:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 00:10:04] Production.INFO: Account Balance Start. [2025-03-20 00:10:04] Production.INFO: CreateAllLog Start [2025-03-20 00:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:10:04] Production.INFO: 117 [2025-03-20 00:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719070') end [2025-03-20 00:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:10:04] Production.INFO: 1 [2025-03-20 00:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:10:04] Production.ERROR: done [2025-03-20 00:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:04] Production.INFO: ==20519== Releasing lock... [2025-03-20 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:10:04] Production.INFO: ==20509== Releasing lock... [2025-03-20 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:04] Production.ERROR: done [2025-03-20 00:10:04] Production.ERROR: done [2025-03-20 00:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 00:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719074', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 00:10:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:05] Production.INFO: Date 2025-03-16 [2025-03-20 00:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:05] Production.INFO: Date 2025-03-17 [2025-03-20 00:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:10:05] Production.INFO: Total Charge 0 [2025-03-20 00:10:05] Production.INFO: CreateAllLog End [2025-03-20 00:10:05] Production.INFO: Account Balance End. [2025-03-20 00:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:10:05] Production.INFO: ==20513== Releasing lock... [2025-03-20 00:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:10:06 [end_date_ymd] => 2025-03-20 00:10:06 [RateCDR] => 1 ) [2025-03-20 00:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:10:06' and `end` < '2025-03-20 00:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719074', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 00:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 00:10:09] Production.INFO: ProcessCDR(1,14719074,1,1,2) [2025-03-20 00:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719074,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719074,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:10:09] Production.INFO: ==20517== Releasing lock... [2025-03-20 00:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 00:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 00:10:14] Production.ERROR: CronJobId end10 [2025-03-20 00:10:14] Production.INFO: ==20511== Releasing lock... [2025-03-20 00:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:10:16] Production.INFO: call_cost start [2025-03-20 00:10:16] Production.INFO: call_cost end [2025-03-20 00:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:10:17] Production.INFO: ==20507== Releasing lock... [2025-03-20 00:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:10:18] Production.INFO: count ==749 [2025-03-20 00:10:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:10:06 - End Time 2025-03-20 00:10:06 [2025-03-20 00:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719075', 'tblTempUsageDetail_20' ) start [2025-03-20 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719075', 'tblTempUsageDetail_20' ) end [2025-03-20 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719075', 'tblTempVendorCDR_20' ) start [2025-03-20 00:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719075', 'tblTempVendorCDR_20' ) end [2025-03-20 00:10:18] Production.INFO: ProcessCDR(1,14719075,1,1,2) [2025-03-20 00:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719075', 'tblTempUsageDetail_20' ) start [2025-03-20 00:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719075', 'tblTempUsageDetail_20' ) end [2025-03-20 00:10:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:10:22] Production.INFO: ==20515== Releasing lock... [2025-03-20 00:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:10:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:11:01] Production.INFO: ==20620== Lock acquired, processing the job... [2025-03-20 04:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:11:01] Production.INFO: neon service started [2025-03-20 04:11:01] Production.INFO: neon service started [2025-03-20 04:11:01] Production.INFO: ==20620== Releasing lock... [2025-03-20 04:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:11:02] Production.INFO: ==20622== Lock acquired, processing the job... [2025-03-20 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:11:02] Production.INFO: ==20624== Lock acquired, processing the job... [2025-03-20 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:11:02] Production.INFO: ==20624== Releasing lock... [2025-03-20 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:11:02] Production.INFO: ==20622== Releasing lock... [2025-03-20 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:11:03] Production.INFO: ==20627== Lock acquired, processing the job... [2025-03-20 00:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:11:03] Production.INFO: ==20629== Lock acquired, processing the job... [2025-03-20 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:11:03] Production.INFO: ==20631== Lock acquired, processing the job... [2025-03-20 00:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:11:03] Production.INFO: ==20633== Lock acquired, processing the job... [2025-03-20 00:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:11:03] Production.INFO: ==20629== Releasing lock... [2025-03-20 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:11:03] Production.INFO: ==20635== Lock acquired, processing the job... [2025-03-20 00:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:11:03] Production.INFO: ==20637== Lock acquired, processing the job... [2025-03-20 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:11:03] Production.INFO: Account Balance Start. [2025-03-20 00:11:03] Production.INFO: CreateAllLog Start [2025-03-20 00:11:03] Production.INFO: 117 [2025-03-20 00:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:11:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:11:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:04] Production.INFO: count ==12 [2025-03-20 00:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:11:04] Production.INFO: count ==23 [2025-03-20 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719079') start [2025-03-20 00:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719079') end [2025-03-20 00:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:11:04] Production.INFO: 1 [2025-03-20 00:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:04] Production.ERROR: done [2025-03-20 00:11:04] Production.INFO: ==20637== Releasing lock... [2025-03-20 00:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:11:04] Production.INFO: Total Charge 0 [2025-03-20 00:11:04] Production.INFO: CreateAllLog End [2025-03-20 00:11:04] Production.ERROR: done [2025-03-20 00:11:04] Production.INFO: Account Balance End. [2025-03-20 00:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:11:04] Production.INFO: ==20633== Releasing lock... [2025-03-20 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:11:05 [end_date_ymd] => 2025-03-20 00:11:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:11:05' and `end` < '2025-03-20 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-03-20 00:11:11] Production.ERROR: CronJobId end10 [2025-03-20 00:11:11] Production.INFO: ==20631== Releasing lock... [2025-03-20 00:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:11:15] Production.INFO: call_cost start [2025-03-20 00:11:15] Production.INFO: call_cost end [2025-03-20 00:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:11:16] Production.INFO: ==20627== Releasing lock... [2025-03-20 00:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:11:17] Production.INFO: count ==752 [2025-03-20 00:11:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:11:05 - End Time 2025-03-20 00:11:05 [2025-03-20 00:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719080', 'tblTempUsageDetail_20' ) start [2025-03-20 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719080', 'tblTempUsageDetail_20' ) end [2025-03-20 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719080', 'tblTempVendorCDR_20' ) start [2025-03-20 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719080', 'tblTempVendorCDR_20' ) end [2025-03-20 00:11:18] Production.INFO: ProcessCDR(1,14719080,1,1,2) [2025-03-20 00:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719080', 'tblTempUsageDetail_20' ) start [2025-03-20 00:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719080', 'tblTempUsageDetail_20' ) end [2025-03-20 00:11:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:11:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:11:21] Production.INFO: ==20635== Releasing lock... [2025-03-20 00:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:11:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:12:01] Production.INFO: ==20699== Lock acquired, processing the job... [2025-03-20 04:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:12:01] Production.INFO: neon service started [2025-03-20 04:12:02] Production.INFO: neon service started [2025-03-20 04:12:02] Production.INFO: ==20699== Releasing lock... [2025-03-20 04:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:12:02] Production.INFO: ==20701== Lock acquired, processing the job... [2025-03-20 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:12:02] Production.INFO: ==20701== Releasing lock... [2025-03-20 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:12:02] Production.INFO: ==20703== Lock acquired, processing the job... [2025-03-20 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:12:02] Production.INFO: ==20703== Releasing lock... [2025-03-20 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:12:03] Production.INFO: ==20709== Lock acquired, processing the job... [2025-03-20 00:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:12:03] Production.INFO: ==20715== Lock acquired, processing the job... [2025-03-20 00:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:12:03] Production.INFO: ==20705== Lock acquired, processing the job... [2025-03-20 00:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 00:12:03] Production.INFO: ==20707== Lock acquired, processing the job... [2025-03-20 00:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:12:03] Production.INFO: count ==12 [2025-03-20 00:12:03] Production.INFO: ==20711== Lock acquired, processing the job... [2025-03-20 00:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 00:12:03] Production.INFO: count ==23 [2025-03-20 00:12:03] Production.INFO: ==20713== Lock acquired, processing the job... [2025-03-20 00:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719081') start [2025-03-20 00:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:12:04] Production.INFO: Account Balance Start. [2025-03-20 00:12:04] Production.INFO: CreateAllLog Start [2025-03-20 00:12:04] Production.INFO: 117 [2025-03-20 00:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719081') end [2025-03-20 00:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:12:04] Production.INFO: 1 [2025-03-20 00:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.INFO: ==20715== Releasing lock... [2025-03-20 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:12:04] Production.INFO: ==20707== Releasing lock... [2025-03-20 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.ERROR: done [2025-03-20 00:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.ERROR: done [2025-03-20 00:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:12:04] Production.INFO: Total Charge 0 [2025-03-20 00:12:04] Production.INFO: CreateAllLog End [2025-03-20 00:12:05] Production.INFO: Account Balance End. [2025-03-20 00:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:12:05] Production.INFO: ==20711== Releasing lock... [2025-03-20 00:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:12:05 [end_date_ymd] => 2025-03-20 00:12:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:12:05' and `end` < '2025-03-20 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-03-20 00:12:12] Production.ERROR: CronJobId end10 [2025-03-20 00:12:12] Production.INFO: ==20709== Releasing lock... [2025-03-20 00:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:12:15] Production.INFO: call_cost start [2025-03-20 00:12:15] Production.INFO: call_cost end [2025-03-20 00:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:12:16] Production.INFO: ==20705== Releasing lock... [2025-03-20 00:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:12:17] Production.INFO: count ==750 [2025-03-20 00:12:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:12:05 - End Time 2025-03-20 00:12:05 [2025-03-20 00:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719085', 'tblTempUsageDetail_20' ) start [2025-03-20 00:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719085', 'tblTempUsageDetail_20' ) end [2025-03-20 00:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719085', 'tblTempVendorCDR_20' ) start [2025-03-20 00:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719085', 'tblTempVendorCDR_20' ) end [2025-03-20 00:12:18] Production.INFO: ProcessCDR(1,14719085,1,1,2) [2025-03-20 00:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719085', 'tblTempUsageDetail_20' ) start [2025-03-20 00:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719085', 'tblTempUsageDetail_20' ) end [2025-03-20 00:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:12:21] Production.INFO: ==20713== Releasing lock... [2025-03-20 00:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:12:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:13:01] Production.INFO: ==20778== Lock acquired, processing the job... [2025-03-20 04:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:13:01] Production.INFO: neon service started [2025-03-20 04:13:01] Production.INFO: neon service started [2025-03-20 04:13:01] Production.INFO: ==20778== Releasing lock... [2025-03-20 04:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:13:01] Production.INFO: ==20780== Lock acquired, processing the job... [2025-03-20 00:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:13:01] Production.INFO: ==20782== Lock acquired, processing the job... [2025-03-20 04:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:13:01] Production.INFO: ==20782== Releasing lock... [2025-03-20 04:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:13:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:13:02] Production.INFO: ==20780== Releasing lock... [2025-03-20 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:13:02] Production.INFO: ==20787== Lock acquired, processing the job... [2025-03-20 00:13:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:13:03] Production.INFO: ==20791== Lock acquired, processing the job... [2025-03-20 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:13:03] Production.INFO: ==20785== Lock acquired, processing the job... [2025-03-20 00:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:13:03] Production.INFO: ==20789== Lock acquired, processing the job... [2025-03-20 00:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:13:03] Production.INFO: Account Balance Start. [2025-03-20 00:13:03] Production.INFO: CreateAllLog Start [2025-03-20 00:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:13:03] Production.INFO: 117 [2025-03-20 00:13:03] Production.INFO: ==20793== Lock acquired, processing the job... [2025-03-20 00:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:13:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.INFO: ==20787== Releasing lock... [2025-03-20 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:13:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.INFO: ==20795== Lock acquired, processing the job... [2025-03-20 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:13:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.INFO: Date 2025-03-15 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.INFO: Date 2025-03-16 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.INFO: Date 2025-03-17 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:13:03] Production.INFO: Date 2025-03-18 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.INFO: count ==12 [2025-03-20 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-03-20 00:13:03] Production.INFO: count ==23 [2025-03-20 00:13:03] Production.ERROR: done [2025-03-20 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719089') start [2025-03-20 00:13:03] Production.INFO: Date 2025-03-19 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:13:03] Production.INFO: Date 2025-03-20 [2025-03-20 00:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:13:03] Production.INFO: Total Charge 0 [2025-03-20 00:13:03] Production.INFO: CreateAllLog End [2025-03-20 00:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719089') end [2025-03-20 00:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:13:04] Production.INFO: 1 [2025-03-20 00:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:13:04] Production.INFO: ==20795== Releasing lock... [2025-03-20 00:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:13:04] Production.ERROR: done [2025-03-20 00:13:04] Production.INFO: Account Balance End. [2025-03-20 00:13:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:13:04] Production.INFO: ==20791== Releasing lock... [2025-03-20 00:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:13:05 [end_date_ymd] => 2025-03-20 00:13:05 [RateCDR] => 1 ) [2025-03-20 00:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:13:05' and `end` < '2025-03-20 00:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:13:11] Production.ERROR: CronJobId end10 [2025-03-20 00:13:11] Production.INFO: ==20789== Releasing lock... [2025-03-20 00:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:13:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:13:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:13:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:13:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:13:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:13:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:13:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:13:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:13:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:13:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:13:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:13:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:13:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:13:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:13:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:13:14] Production.INFO: call_cost start [2025-03-20 00:13:14] Production.INFO: call_cost end [2025-03-20 00:13:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:13:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:13:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:13:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:13:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:13:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:13:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:13:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:13:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:13:14] Production.INFO: ==20785== Releasing lock... [2025-03-20 00:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:13:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:13:17] Production.INFO: count ==755 [2025-03-20 00:13:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:13:05 - End Time 2025-03-20 00:13:05 [2025-03-20 00:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719090', 'tblTempUsageDetail_20' ) start [2025-03-20 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719090', 'tblTempUsageDetail_20' ) end [2025-03-20 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719090', 'tblTempVendorCDR_20' ) start [2025-03-20 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719090', 'tblTempVendorCDR_20' ) end [2025-03-20 00:13:18] Production.INFO: ProcessCDR(1,14719090,1,1,2) [2025-03-20 00:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719090', 'tblTempUsageDetail_20' ) start [2025-03-20 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719090', 'tblTempUsageDetail_20' ) end [2025-03-20 00:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:13:21] Production.INFO: ==20793== Releasing lock... [2025-03-20 00:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:13:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:14:02] Production.INFO: ==20857== Lock acquired, processing the job... [2025-03-20 04:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:14:02] Production.INFO: neon service started [2025-03-20 04:14:02] Production.INFO: neon service started [2025-03-20 04:14:02] Production.INFO: ==20857== Releasing lock... [2025-03-20 04:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:14:02] Production.INFO: ==20860== Lock acquired, processing the job... [2025-03-20 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:14:02] Production.INFO: ==20860== Releasing lock... [2025-03-20 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:14:02] Production.INFO: ==20863== Lock acquired, processing the job... [2025-03-20 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:14:02] Production.INFO: ==20863== Releasing lock... [2025-03-20 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:14:03] Production.INFO: ==20869== Lock acquired, processing the job... [2025-03-20 00:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:14:03] Production.INFO: ==20875== Lock acquired, processing the job... [2025-03-20 00:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:14:03] Production.INFO: ==20865== Lock acquired, processing the job... [2025-03-20 00:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:14:03] Production.INFO: ==20867== Lock acquired, processing the job... [2025-03-20 00:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:14:04] Production.INFO: ==20871== Lock acquired, processing the job... [2025-03-20 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:14:04] Production.INFO: count ==12 [2025-03-20 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-03-20 00:14:04] Production.INFO: count ==23 [2025-03-20 00:14:04] Production.INFO: ==20873== Lock acquired, processing the job... [2025-03-20 00:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719091') start [2025-03-20 00:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:14:04] Production.INFO: Account Balance Start. [2025-03-20 00:14:04] Production.INFO: CreateAllLog Start [2025-03-20 00:14:04] Production.INFO: 117 [2025-03-20 00:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719091') end [2025-03-20 00:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:14:04] Production.INFO: 1 [2025-03-20 00:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:04] Production.INFO: ==20875== Releasing lock... [2025-03-20 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:14:04] Production.INFO: ==20867== Releasing lock... [2025-03-20 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:04] Production.ERROR: done [2025-03-20 00:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:04] Production.ERROR: done [2025-03-20 00:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:14:05] Production.INFO: Total Charge 0 [2025-03-20 00:14:05] Production.INFO: CreateAllLog End [2025-03-20 00:14:05] Production.INFO: Account Balance End. [2025-03-20 00:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:14:05] Production.INFO: ==20871== Releasing lock... [2025-03-20 00:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:14:05 [end_date_ymd] => 2025-03-20 00:14:05 [RateCDR] => 1 ) [2025-03-20 00:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:14:05' and `end` < '2025-03-20 00:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:14:13] Production.ERROR: CronJobId end10 [2025-03-20 00:14:13] Production.INFO: ==20869== Releasing lock... [2025-03-20 00:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:14:15] Production.INFO: call_cost start [2025-03-20 00:14:15] Production.INFO: call_cost end [2025-03-20 00:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:14:16] Production.INFO: ==20865== Releasing lock... [2025-03-20 00:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:14:18] Production.INFO: count ==745 [2025-03-20 00:14:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:14:05 - End Time 2025-03-20 00:14:05 [2025-03-20 00:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719095', 'tblTempUsageDetail_20' ) start [2025-03-20 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719095', 'tblTempUsageDetail_20' ) end [2025-03-20 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719095', 'tblTempVendorCDR_20' ) start [2025-03-20 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719095', 'tblTempVendorCDR_20' ) end [2025-03-20 00:14:18] Production.INFO: ProcessCDR(1,14719095,1,1,2) [2025-03-20 00:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719095', 'tblTempUsageDetail_20' ) start [2025-03-20 00:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719095', 'tblTempUsageDetail_20' ) end [2025-03-20 00:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:14:21] Production.INFO: ==20873== Releasing lock... [2025-03-20 00:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:14:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:15:01] Production.INFO: ==20937== Lock acquired, processing the job... [2025-03-20 04:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:15:01] Production.INFO: neon service started [2025-03-20 04:15:01] Production.INFO: neon service started [2025-03-20 04:15:01] Production.INFO: ==20937== Releasing lock... [2025-03-20 04:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:15:01] Production.INFO: ==20939== Lock acquired, processing the job... [2025-03-20 00:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:15:02] Production.INFO: ==20939== Releasing lock... [2025-03-20 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:15:02] Production.INFO: ==20941== Lock acquired, processing the job... [2025-03-20 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:15:02] Production.INFO: ==20941== Releasing lock... [2025-03-20 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:15:03] Production.INFO: ==20951== Lock acquired, processing the job... [2025-03-20 00:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:15:03] Production.INFO: ==20945== Lock acquired, processing the job... [2025-03-20 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:15:03] Production.INFO: ==20943== Lock acquired, processing the job... [2025-03-20 00:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:15:03] Production.INFO: ==20947== Lock acquired, processing the job... [2025-03-20 00:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:15:03] Production.INFO: ==20949== Lock acquired, processing the job... [2025-03-20 00:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:15:03] Production.INFO: ==20953== Lock acquired, processing the job... [2025-03-20 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:15:03] Production.ERROR: done [2025-03-20 00:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:15:03] Production.INFO: ==20945== Releasing lock... [2025-03-20 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:15:03] Production.INFO: Account Balance Start. [2025-03-20 00:15:03] Production.INFO: CreateAllLog Start [2025-03-20 00:15:03] Production.ERROR: done [2025-03-20 00:15:03] Production.INFO: 117 [2025-03-20 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-03-20 00:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:03] Production.INFO: count ==12 [2025-03-20 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-03-20 00:15:03] Production.INFO: count ==23 [2025-03-20 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719099') start [2025-03-20 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719099') end [2025-03-20 00:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:15:03] Production.INFO: 1 [2025-03-20 00:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:15:03] Production.INFO: ==20953== Releasing lock... [2025-03-20 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:15:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:15:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:15:04] Production.INFO: Total Charge 0 [2025-03-20 00:15:04] Production.INFO: CreateAllLog End [2025-03-20 00:15:04] Production.INFO: Account Balance End. [2025-03-20 00:15:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:15:04 [end_date_ymd] => 2025-03-20 00:15:04 [RateCDR] => 1 ) [2025-03-20 00:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:15:04' and `end` < '2025-03-20 00:15:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:15:04] Production.INFO: ==20949== Releasing lock... [2025-03-20 00:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:15:10] Production.ERROR: CronJobId end10 [2025-03-20 00:15:10] Production.INFO: ==20947== Releasing lock... [2025-03-20 00:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:15:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:15:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:15:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:15:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:15:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:15:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:15:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:15:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:15:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:15:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:15:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:15:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:15:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:15:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:15:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:15:13] Production.INFO: call_cost start [2025-03-20 00:15:13] Production.INFO: call_cost end [2025-03-20 00:15:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:15:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:15:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:15:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:15:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:15:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:15:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:15:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:15:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:15:14] Production.INFO: ==20943== Releasing lock... [2025-03-20 00:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:15:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:15:16] Production.INFO: count ==741 [2025-03-20 00:15:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:15:04 - End Time 2025-03-20 00:15:04 [2025-03-20 00:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719100', 'tblTempUsageDetail_20' ) start [2025-03-20 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719100', 'tblTempUsageDetail_20' ) end [2025-03-20 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719100', 'tblTempVendorCDR_20' ) start [2025-03-20 00:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719100', 'tblTempVendorCDR_20' ) end [2025-03-20 00:15:17] Production.INFO: ProcessCDR(1,14719100,1,1,2) [2025-03-20 00:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719100', 'tblTempUsageDetail_20' ) start [2025-03-20 00:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719100', 'tblTempUsageDetail_20' ) end [2025-03-20 00:15:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:15:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:15:20] Production.INFO: ==20951== Releasing lock... [2025-03-20 00:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:15:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:16:01] Production.INFO: ==21014== Lock acquired, processing the job... [2025-03-20 04:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:16:01] Production.INFO: neon service started [2025-03-20 04:16:01] Production.INFO: neon service started [2025-03-20 04:16:01] Production.INFO: ==21014== Releasing lock... [2025-03-20 04:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:16:02] Production.INFO: ==21016== Lock acquired, processing the job... [2025-03-20 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:16:02] Production.INFO: ==21016== Releasing lock... [2025-03-20 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:16:02] Production.INFO: ==21018== Lock acquired, processing the job... [2025-03-20 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:16:02] Production.INFO: ==21018== Releasing lock... [2025-03-20 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:16:03] Production.INFO: ==21022== Lock acquired, processing the job... [2025-03-20 00:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:16:03] Production.INFO: ==21030== Lock acquired, processing the job... [2025-03-20 00:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:16:03] Production.INFO: ==21020== Lock acquired, processing the job... [2025-03-20 00:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:16:03] Production.INFO: count ==12 [2025-03-20 00:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:16:03] Production.INFO: count ==23 [2025-03-20 00:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719101') start [2025-03-20 00:16:03] Production.INFO: ==21024== Lock acquired, processing the job... [2025-03-20 00:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719101') end [2025-03-20 00:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:16:03] Production.INFO: 1 [2025-03-20 00:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:16:03] Production.INFO: ==21030== Releasing lock... [2025-03-20 00:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:16:03] Production.INFO: ==21026== Lock acquired, processing the job... [2025-03-20 00:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:16:03] Production.INFO: ==21028== Lock acquired, processing the job... [2025-03-20 00:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:16:03] Production.INFO: Account Balance Start. [2025-03-20 00:16:03] Production.INFO: CreateAllLog Start [2025-03-20 00:16:03] Production.INFO: 117 [2025-03-20 00:16:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.INFO: ==21022== Releasing lock... [2025-03-20 00:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.ERROR: done [2025-03-20 00:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.ERROR: done [2025-03-20 00:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:16:04] Production.INFO: Total Charge 0 [2025-03-20 00:16:04] Production.INFO: CreateAllLog End [2025-03-20 00:16:04] Production.INFO: Account Balance End. [2025-03-20 00:16:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:16:04] Production.INFO: ==21026== Releasing lock... [2025-03-20 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:16:05 [end_date_ymd] => 2025-03-20 00:16:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:16:05' and `end` < '2025-03-20 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-03-20 00:16:11] Production.ERROR: CronJobId end10 [2025-03-20 00:16:11] Production.INFO: ==21024== Releasing lock... [2025-03-20 00:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:16:14] Production.INFO: call_cost start [2025-03-20 00:16:14] Production.INFO: call_cost end [2025-03-20 00:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:16:15] Production.INFO: ==21020== Releasing lock... [2025-03-20 00:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:16:17] Production.INFO: count ==735 [2025-03-20 00:16:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:16:05 - End Time 2025-03-20 00:16:05 [2025-03-20 00:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719105', 'tblTempUsageDetail_20' ) start [2025-03-20 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719105', 'tblTempUsageDetail_20' ) end [2025-03-20 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719105', 'tblTempVendorCDR_20' ) start [2025-03-20 00:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719105', 'tblTempVendorCDR_20' ) end [2025-03-20 00:16:17] Production.INFO: ProcessCDR(1,14719105,1,1,2) [2025-03-20 00:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719105', 'tblTempUsageDetail_20' ) start [2025-03-20 00:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719105', 'tblTempUsageDetail_20' ) end [2025-03-20 00:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:16:21] Production.INFO: ==21028== Releasing lock... [2025-03-20 00:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:16:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:17:02] Production.INFO: ==21101== Lock acquired, processing the job... [2025-03-20 04:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:17:02] Production.INFO: neon service started [2025-03-20 04:17:02] Production.INFO: neon service started [2025-03-20 04:17:02] Production.INFO: ==21101== Releasing lock... [2025-03-20 04:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:17:02] Production.INFO: ==21103== Lock acquired, processing the job... [2025-03-20 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:17:03] Production.INFO: ==21105== Lock acquired, processing the job... [2025-03-20 04:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:17:03] Production.INFO: ==21105== Releasing lock... [2025-03-20 04:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:17:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:17:03] Production.INFO: ==21103== Releasing lock... [2025-03-20 00:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:17:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:17:04] Production.INFO: ==21108== Lock acquired, processing the job... [2025-03-20 00:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:17:04] Production.INFO: ==21110== Lock acquired, processing the job... [2025-03-20 00:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:17:04] Production.INFO: ==21118== Lock acquired, processing the job... [2025-03-20 00:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:17:04] Production.INFO: ==21112== Lock acquired, processing the job... [2025-03-20 00:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:17:04] Production.INFO: count ==12 [2025-03-20 00:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:17:04] Production.INFO: count ==23 [2025-03-20 00:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719108') start [2025-03-20 00:17:04] Production.INFO: ==21110== Releasing lock... [2025-03-20 00:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:17:04] Production.INFO: ==21116== Lock acquired, processing the job... [2025-03-20 00:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:17:04] Production.INFO: ==21114== Lock acquired, processing the job... [2025-03-20 00:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719108') end [2025-03-20 00:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:17:04] Production.INFO: 1 [2025-03-20 00:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:17:04] Production.INFO: ==21118== Releasing lock... [2025-03-20 00:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:17:04] Production.INFO: Account Balance Start. [2025-03-20 00:17:04] Production.INFO: CreateAllLog Start [2025-03-20 00:17:04] Production.INFO: 117 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-08 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-09 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.ERROR: done [2025-03-20 00:17:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-10 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-11 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.ERROR: done [2025-03-20 00:17:05] Production.INFO: Date 2025-03-12 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-13 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-14 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-15 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-16 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-17 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:17:05] Production.INFO: Total Charge 0 [2025-03-20 00:17:05] Production.INFO: CreateAllLog End [2025-03-20 00:17:05] Production.INFO: Account Balance End. [2025-03-20 00:17:06] Production.ERROR: CronJobId end 12 [2025-03-20 00:17:06] Production.INFO: ==21114== Releasing lock... [2025-03-20 00:17:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:17:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:17:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:17:06 [end_date_ymd] => 2025-03-20 00:17:06 [RateCDR] => 1 ) [2025-03-20 00: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-03-19 21:17:06' and `end` < '2025-03-20 00: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-03-20 00:17:12] Production.ERROR: CronJobId end10 [2025-03-20 00:17:12] Production.INFO: ==21112== Releasing lock... [2025-03-20 00:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:17:15] Production.INFO: call_cost start [2025-03-20 00:17:15] Production.INFO: call_cost end [2025-03-20 00:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:17:16] Production.INFO: ==21108== Releasing lock... [2025-03-20 00:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:17:18] Production.INFO: count ==729 [2025-03-20 00:17:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:17:06 - End Time 2025-03-20 00:17:06 [2025-03-20 00:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719110', 'tblTempUsageDetail_20' ) start [2025-03-20 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719110', 'tblTempUsageDetail_20' ) end [2025-03-20 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719110', 'tblTempVendorCDR_20' ) start [2025-03-20 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719110', 'tblTempVendorCDR_20' ) end [2025-03-20 00:17:18] Production.INFO: ProcessCDR(1,14719110,1,1,2) [2025-03-20 00:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719110', 'tblTempUsageDetail_20' ) start [2025-03-20 00:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719110', 'tblTempUsageDetail_20' ) end [2025-03-20 00:17:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:17:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:17:22] Production.INFO: ==21116== Releasing lock... [2025-03-20 00:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:17:22] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:18:01] Production.INFO: ==21180== Lock acquired, processing the job... [2025-03-20 04:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:18:01] Production.INFO: neon service started [2025-03-20 04:18:01] Production.INFO: neon service started [2025-03-20 04:18:01] Production.INFO: ==21180== Releasing lock... [2025-03-20 04:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:18:01] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 00:18:02] Production.INFO: ==21182== Lock acquired, processing the job... [2025-03-20 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:18:02] Production.INFO: ==21184== Lock acquired, processing the job... [2025-03-20 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:18:02] Production.INFO: ==21184== Releasing lock... [2025-03-20 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:18:02] Production.INFO: ==21182== Releasing lock... [2025-03-20 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:18:03] Production.INFO: ==21191== Lock acquired, processing the job... [2025-03-20 00:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:18:03] Production.INFO: ==21195== Lock acquired, processing the job... [2025-03-20 00:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:18:03] Production.INFO: ==21187== Lock acquired, processing the job... [2025-03-20 00:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:18:04] Production.INFO: ==21189== Lock acquired, processing the job... [2025-03-20 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:18:04] Production.INFO: ==21197== Lock acquired, processing the job... [2025-03-20 00:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:18:04] Production.INFO: ==21193== Lock acquired, processing the job... [2025-03-20 00:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:18:04] Production.INFO: Account Balance Start. [2025-03-20 00:18:04] Production.INFO: CreateAllLog Start [2025-03-20 00:18:04] Production.INFO: 117 [2025-03-20 00:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:18:04] Production.INFO: count ==12 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:18:04] Production.INFO: count ==23 [2025-03-20 00:18:04] Production.ERROR: done [2025-03-20 00:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719111') start [2025-03-20 00:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:18:04] Production.INFO: ==21189== Releasing lock... [2025-03-20 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:18:04] Production.ERROR: done [2025-03-20 00:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719111') end [2025-03-20 00:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:18:04] Production.INFO: 1 [2025-03-20 00:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:18:04] Production.INFO: ==21197== Releasing lock... [2025-03-20 00:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:18:04] Production.INFO: Total Charge 0 [2025-03-20 00:18:04] Production.INFO: CreateAllLog End [2025-03-20 00:18:05] Production.INFO: Account Balance End. [2025-03-20 00:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:18:05] Production.INFO: ==21193== Releasing lock... [2025-03-20 00:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:18:05 [end_date_ymd] => 2025-03-20 00:18:05 [RateCDR] => 1 ) [2025-03-20 00:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:18:05' and `end` < '2025-03-20 00:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:18:11] Production.ERROR: CronJobId end10 [2025-03-20 00:18:11] Production.INFO: ==21191== Releasing lock... [2025-03-20 00:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:18:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:18:14] Production.INFO: call_cost start [2025-03-20 00:18:14] Production.INFO: call_cost end [2025-03-20 00:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:18:15] Production.INFO: ==21187== Releasing lock... [2025-03-20 00:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:18:18] Production.INFO: count ==731 [2025-03-20 00:18:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:18:05 - End Time 2025-03-20 00:18:05 [2025-03-20 00:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719115', 'tblTempUsageDetail_20' ) start [2025-03-20 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719115', 'tblTempUsageDetail_20' ) end [2025-03-20 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719115', 'tblTempVendorCDR_20' ) start [2025-03-20 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719115', 'tblTempVendorCDR_20' ) end [2025-03-20 00:18:18] Production.INFO: ProcessCDR(1,14719115,1,1,2) [2025-03-20 00:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719115', 'tblTempUsageDetail_20' ) start [2025-03-20 00:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719115', 'tblTempUsageDetail_20' ) end [2025-03-20 00:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:18:21] Production.INFO: ==21195== Releasing lock... [2025-03-20 00:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:18:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:19:02] Production.INFO: ==21261== Lock acquired, processing the job... [2025-03-20 04:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:19:02] Production.INFO: neon service started [2025-03-20 04:19:02] Production.INFO: neon service started [2025-03-20 04:19:02] Production.INFO: ==21261== Releasing lock... [2025-03-20 04:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:19:02] Production.INFO: ==21266== Lock acquired, processing the job... [2025-03-20 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:19:02] Production.INFO: ==21266== Releasing lock... [2025-03-20 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:19:02] Production.INFO: ==21264== Lock acquired, processing the job... [2025-03-20 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:19:03] Production.INFO: ==21264== Releasing lock... [2025-03-20 00:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:19:03] Production.INFO: ==21274== Lock acquired, processing the job... [2025-03-20 00:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:19:04] Production.INFO: Account Balance Start. [2025-03-20 00:19:04] Production.INFO: CreateAllLog Start [2025-03-20 00:19:04] Production.INFO: 117 [2025-03-20 00:19:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.INFO: ==21278== Lock acquired, processing the job... [2025-03-20 00:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:19:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.INFO: ==21268== Lock acquired, processing the job... [2025-03-20 00:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:19:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.INFO: ==21270== Lock acquired, processing the job... [2025-03-20 00:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:19:04] Production.INFO: ==21272== Lock acquired, processing the job... [2025-03-20 00:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:19:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.INFO: ==21276== Lock acquired, processing the job... [2025-03-20 00:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 00:19:04] Production.INFO: count ==12 [2025-03-20 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-03-20 00:19:04] Production.INFO: count ==23 [2025-03-20 00:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719117') start [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719117') end [2025-03-20 00:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:19:04] Production.INFO: 1 [2025-03-20 00:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:19:04] Production.ERROR: done [2025-03-20 00:19:04] Production.INFO: ==21278== Releasing lock... [2025-03-20 00:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:19:04] Production.INFO: ==21270== Releasing lock... [2025-03-20 00:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:19:04] Production.ERROR: done [2025-03-20 00:19:04] Production.INFO: Total Charge 0 [2025-03-20 00:19:04] Production.INFO: CreateAllLog End [2025-03-20 00:19:05] Production.INFO: Account Balance End. [2025-03-20 00:19:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:19:05] Production.INFO: ==21274== Releasing lock... [2025-03-20 00:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:19:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:19:05 [end_date_ymd] => 2025-03-20 00:19:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:19:05' and `end` < '2025-03-20 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-03-20 00:19:12] Production.ERROR: CronJobId end10 [2025-03-20 00:19:12] Production.INFO: ==21272== Releasing lock... [2025-03-20 00:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:19:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:19:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:19:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:19:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:19:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:19:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:19:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:19:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:19:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:19:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:19:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:19:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:19:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:19:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:19:15] Production.INFO: call_cost start [2025-03-20 00:19:15] Production.INFO: call_cost end [2025-03-20 00:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:19:16] Production.INFO: ==21268== Releasing lock... [2025-03-20 00:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:19:18] Production.INFO: count ==729 [2025-03-20 00:19:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:19:05 - End Time 2025-03-20 00:19:05 [2025-03-20 00:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719120', 'tblTempUsageDetail_20' ) start [2025-03-20 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719120', 'tblTempUsageDetail_20' ) end [2025-03-20 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719120', 'tblTempVendorCDR_20' ) start [2025-03-20 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719120', 'tblTempVendorCDR_20' ) end [2025-03-20 00:19:18] Production.INFO: ProcessCDR(1,14719120,1,1,2) [2025-03-20 00:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719120', 'tblTempUsageDetail_20' ) start [2025-03-20 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719120', 'tblTempUsageDetail_20' ) end [2025-03-20 00:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:19:21] Production.INFO: ==21276== Releasing lock... [2025-03-20 00:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:19:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:20:01] Production.INFO: ==21344== Lock acquired, processing the job... [2025-03-20 04:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:20:01] Production.INFO: neon service started [2025-03-20 04:20:01] Production.INFO: neon service started [2025-03-20 04:20:01] Production.INFO: ==21344== Releasing lock... [2025-03-20 04:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:20:02] Production.INFO: ==21346== Lock acquired, processing the job... [2025-03-20 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:20:02] Production.INFO: ==21348== Lock acquired, processing the job... [2025-03-20 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:20:02] Production.INFO: ==21348== Releasing lock... [2025-03-20 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:20:03] Production.INFO: ==21346== Releasing lock... [2025-03-20 00:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:20:04] Production.INFO: ==21351== Lock acquired, processing the job... [2025-03-20 00:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 00:20:04] Production.INFO: ==21357== Lock acquired, processing the job... [2025-03-20 00:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 00:20:04] Production.INFO: ==21353== Lock acquired, processing the job... [2025-03-20 00:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 00:20:04] Production.INFO: ==21351== Releasing lock... [2025-03-20 00:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 00:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 00:20:04] Production.INFO: ==21361== Lock acquired, processing the job... [2025-03-20 00:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:20:04] Production.INFO: ==21365== Lock acquired, processing the job... [2025-03-20 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:20:04] Production.INFO: ==21355== Lock acquired, processing the job... [2025-03-20 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:20:04] Production.INFO: ==21359== Lock acquired, processing the job... [2025-03-20 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:20:04] Production.INFO: ==21363== Lock acquired, processing the job... [2025-03-20 00:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 00:20:04] Production.INFO: Account Balance Start. [2025-03-20 00:20:04] Production.INFO: CreateAllLog Start [2025-03-20 00:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:20:04] Production.INFO: 117 [2025-03-20 00:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:20:04] Production.INFO: count ==12 [2025-03-20 00:20:04] Production.ERROR: done [2025-03-20 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-03-20 00:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:20:04] Production.INFO: count ==23 [2025-03-20 00:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719123') start [2025-03-20 00:20:04] Production.ERROR: done [2025-03-20 00:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719123') end [2025-03-20 00:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:20:05] Production.INFO: 1 [2025-03-20 00:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:20:05] Production.INFO: Date 2025-03-11 [2025-03-20 00:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:05] Production.INFO: Date 2025-03-12 [2025-03-20 00:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:05] Production.INFO: ==21365== Releasing lock... [2025-03-20 00:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:20:05] Production.ERROR: done [2025-03-20 00:20:05] Production.INFO: ==21355== Releasing lock... [2025-03-20 00:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:20:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:20:05] Production.INFO: Date 2025-03-13 [2025-03-20 00:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:05] Production.INFO: Date 2025-03-14 [2025-03-20 00:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:05] Production.INFO: Date 2025-03-15 [2025-03-20 00:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:05] Production.INFO: Date 2025-03-16 [2025-03-20 00:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 00:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 00:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719126', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 00:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:20:05] Production.INFO: Total Charge 0 [2025-03-20 00:20:05] Production.INFO: CreateAllLog End [2025-03-20 00:20:05] Production.INFO: Account Balance End. [2025-03-20 00:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:20:05] Production.INFO: ==21359== Releasing lock... [2025-03-20 00:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:20:06 [end_date_ymd] => 2025-03-20 00:20:06 [RateCDR] => 1 ) [2025-03-20 00:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:20:06' and `end` < '2025-03-20 00:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719126', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 00:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 00:20:09] Production.INFO: ProcessCDR(1,14719126,1,1,2) [2025-03-20 00:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719126,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719126,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:20:10] Production.INFO: ==21363== Releasing lock... [2025-03-20 00:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 00:20:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 00:20:14] Production.ERROR: CronJobId end10 [2025-03-20 00:20:14] Production.INFO: ==21357== Releasing lock... [2025-03-20 00:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:20:16] Production.INFO: call_cost start [2025-03-20 00:20:16] Production.INFO: call_cost end [2025-03-20 00:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:20:17] Production.INFO: ==21353== Releasing lock... [2025-03-20 00:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:20:18] Production.INFO: count ==735 [2025-03-20 00:20:19] Production.ERROR: pbx CDR StartTime 2025-03-19 21:20:06 - End Time 2025-03-20 00:20:06 [2025-03-20 00:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719125', 'tblTempUsageDetail_20' ) start [2025-03-20 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719125', 'tblTempUsageDetail_20' ) end [2025-03-20 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719125', 'tblTempVendorCDR_20' ) start [2025-03-20 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719125', 'tblTempVendorCDR_20' ) end [2025-03-20 00:20:19] Production.INFO: ProcessCDR(1,14719125,1,1,2) [2025-03-20 00:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719125', 'tblTempUsageDetail_20' ) start [2025-03-20 00:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719125', 'tblTempUsageDetail_20' ) end [2025-03-20 00:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:20:22] Production.INFO: ==21361== Releasing lock... [2025-03-20 00:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:20:22] Production.INFO: 33.5 MB #Memory Used# [2025-03-20 04:21:02] Production.INFO: ==21439== Lock acquired, processing the job... [2025-03-20 04:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:21:02] Production.INFO: neon service started [2025-03-20 04:21:02] Production.INFO: neon service started [2025-03-20 04:21:02] Production.INFO: ==21439== Releasing lock... [2025-03-20 04:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:21:02] Production.INFO: ==21441== Lock acquired, processing the job... [2025-03-20 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:21:02] Production.INFO: ==21443== Lock acquired, processing the job... [2025-03-20 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:21:02] Production.INFO: ==21443== Releasing lock... [2025-03-20 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:21:03] Production.INFO: ==21441== Releasing lock... [2025-03-20 00:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:21:04] Production.INFO: ==21452== Lock acquired, processing the job... [2025-03-20 00:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:21:04] Production.INFO: ==21446== Lock acquired, processing the job... [2025-03-20 00:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:21:04] Production.INFO: ==21454== Lock acquired, processing the job... [2025-03-20 00:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:21:04] Production.INFO: ==21450== Lock acquired, processing the job... [2025-03-20 00:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:21:04] Production.INFO: Account Balance Start. [2025-03-20 00:21:04] Production.INFO: CreateAllLog Start [2025-03-20 00:21:04] Production.INFO: 117 [2025-03-20 00:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:21:04] Production.INFO: ==21448== Lock acquired, processing the job... [2025-03-20 00:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:21:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:21:04] Production.INFO: ==21456== Lock acquired, processing the job... [2025-03-20 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 00:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:21:04] Production.INFO: count ==12 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:21:04] Production.INFO: count ==23 [2025-03-20 00:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719129') start [2025-03-20 00:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719129') end [2025-03-20 00:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:21:04] Production.INFO: 1 [2025-03-20 00:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:21:04] Production.ERROR: done [2025-03-20 00:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:21:04] Production.INFO: ==21456== Releasing lock... [2025-03-20 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:21:04] Production.INFO: ==21448== Releasing lock... [2025-03-20 00:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:21:04] Production.ERROR: done [2025-03-20 00:21:04] Production.INFO: Total Charge 0 [2025-03-20 00:21:04] Production.INFO: CreateAllLog End [2025-03-20 00:21:05] Production.INFO: Account Balance End. [2025-03-20 00:21:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:21:05] Production.INFO: ==21452== Releasing lock... [2025-03-20 00:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:21:06 [end_date_ymd] => 2025-03-20 00:21:06 [RateCDR] => 1 ) [2025-03-20 00: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-03-19 21:21:06' and `end` < '2025-03-20 00: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-03-20 00:21:12] Production.ERROR: CronJobId end10 [2025-03-20 00:21:12] Production.INFO: ==21450== Releasing lock... [2025-03-20 00:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:21:15] Production.INFO: call_cost start [2025-03-20 00:21:15] Production.INFO: call_cost end [2025-03-20 00:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:21:16] Production.INFO: ==21446== Releasing lock... [2025-03-20 00:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:21:18] Production.INFO: count ==735 [2025-03-20 00:21:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:21:06 - End Time 2025-03-20 00:21:06 [2025-03-20 00:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719131', 'tblTempUsageDetail_20' ) start [2025-03-20 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719131', 'tblTempUsageDetail_20' ) end [2025-03-20 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719131', 'tblTempVendorCDR_20' ) start [2025-03-20 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719131', 'tblTempVendorCDR_20' ) end [2025-03-20 00:21:18] Production.INFO: ProcessCDR(1,14719131,1,1,2) [2025-03-20 00:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719131', 'tblTempUsageDetail_20' ) start [2025-03-20 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719131', 'tblTempUsageDetail_20' ) end [2025-03-20 00:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:21:21] Production.INFO: ==21454== Releasing lock... [2025-03-20 00:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:21:21] Production.INFO: 33.5 MB #Memory Used# [2025-03-20 04:22:01] Production.INFO: ==21513== Lock acquired, processing the job... [2025-03-20 04:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:22:01] Production.INFO: neon service started [2025-03-20 04:22:01] Production.INFO: neon service started [2025-03-20 04:22:01] Production.INFO: ==21513== Releasing lock... [2025-03-20 04:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:22:02] Production.INFO: ==21517== Lock acquired, processing the job... [2025-03-20 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:22:02] Production.INFO: ==21517== Releasing lock... [2025-03-20 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:22:02] Production.INFO: ==21515== Lock acquired, processing the job... [2025-03-20 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:22:02] Production.INFO: ==21515== Releasing lock... [2025-03-20 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:22:03] Production.INFO: ==21526== Lock acquired, processing the job... [2025-03-20 00:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:22:03] Production.INFO: ==21528== Lock acquired, processing the job... [2025-03-20 00:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:22:03] Production.INFO: Account Balance Start. [2025-03-20 00:22:03] Production.INFO: CreateAllLog Start [2025-03-20 00:22:03] Production.INFO: 117 [2025-03-20 00:22:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:03] Production.INFO: ==21520== Lock acquired, processing the job... [2025-03-20 00:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:22:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:03] Production.INFO: ==21522== Lock acquired, processing the job... [2025-03-20 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:22:03] Production.INFO: ==21524== Lock acquired, processing the job... [2025-03-20 00:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:22:03] Production.INFO: ==21530== Lock acquired, processing the job... [2025-03-20 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:22:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:22:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:22:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:03] Production.INFO: Date 2025-03-15 [2025-03-20 00:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:22:04] Production.INFO: count ==12 [2025-03-20 00:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:22:04] Production.INFO: count ==23 [2025-03-20 00:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:04] Production.ERROR: done [2025-03-20 00:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719135') start [2025-03-20 00:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:04] Production.ERROR: done [2025-03-20 00:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719135') end [2025-03-20 00:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:22:04] Production.INFO: 1 [2025-03-20 00:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:22:04] Production.INFO: ==21522== Releasing lock... [2025-03-20 00:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:22:04] Production.INFO: ==21530== Releasing lock... [2025-03-20 00:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:22:04] Production.INFO: Total Charge 0 [2025-03-20 00:22:04] Production.INFO: CreateAllLog End [2025-03-20 00:22:04] Production.INFO: Account Balance End. [2025-03-20 00:22:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:22:04] Production.INFO: ==21526== Releasing lock... [2025-03-20 00:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:22:05 [end_date_ymd] => 2025-03-20 00:22:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:22:05' and `end` < '2025-03-20 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-03-20 00:22:11] Production.ERROR: CronJobId end10 [2025-03-20 00:22:11] Production.INFO: ==21524== Releasing lock... [2025-03-20 00:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:22:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:22:15] Production.INFO: call_cost start [2025-03-20 00:22:15] Production.INFO: call_cost end [2025-03-20 00:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:22:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:22:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:22:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:22:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:22:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:22:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:22:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:22:16] Production.INFO: ==21520== Releasing lock... [2025-03-20 00:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:22:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:22:17] Production.INFO: count ==731 [2025-03-20 00:22:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:22:05 - End Time 2025-03-20 00:22:05 [2025-03-20 00:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719136', 'tblTempUsageDetail_20' ) start [2025-03-20 00:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719136', 'tblTempUsageDetail_20' ) end [2025-03-20 00:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719136', 'tblTempVendorCDR_20' ) start [2025-03-20 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719136', 'tblTempVendorCDR_20' ) end [2025-03-20 00:22:18] Production.INFO: ProcessCDR(1,14719136,1,1,2) [2025-03-20 00:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719136', 'tblTempUsageDetail_20' ) start [2025-03-20 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719136', 'tblTempUsageDetail_20' ) end [2025-03-20 00:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:22:21] Production.INFO: ==21528== Releasing lock... [2025-03-20 00:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:22:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:23:02] Production.INFO: ==21596== Lock acquired, processing the job... [2025-03-20 04:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:23:02] Production.INFO: neon service started [2025-03-20 04:23:02] Production.INFO: neon service started [2025-03-20 04:23:02] Production.INFO: ==21596== Releasing lock... [2025-03-20 04:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:23:02] Production.INFO: ==21598== Lock acquired, processing the job... [2025-03-20 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:23:02] Production.INFO: ==21600== Lock acquired, processing the job... [2025-03-20 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:23:02] Production.INFO: ==21600== Releasing lock... [2025-03-20 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:23:03] Production.INFO: ==21598== Releasing lock... [2025-03-20 00:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:23:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:23:03] Production.INFO: ==21603== Lock acquired, processing the job... [2025-03-20 00:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:23:04] Production.INFO: ==21605== Lock acquired, processing the job... [2025-03-20 00:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:23:04] Production.INFO: ==21607== Lock acquired, processing the job... [2025-03-20 00:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:23:04] Production.INFO: ==21609== Lock acquired, processing the job... [2025-03-20 00:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:23:04] Production.INFO: ==21611== Lock acquired, processing the job... [2025-03-20 00:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:23:04] Production.INFO: ==21613== Lock acquired, processing the job... [2025-03-20 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:23:04] Production.INFO: Account Balance Start. [2025-03-20 00:23:04] Production.INFO: CreateAllLog Start [2025-03-20 00:23:04] Production.INFO: 117 [2025-03-20 00:23:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 00: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-03-20 00:23:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:04] Production.INFO: count ==12 [2025-03-20 00: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-03-20 00:23:04] Production.INFO: count ==23 [2025-03-20 00:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719140') start [2025-03-20 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:04] Production.INFO: ==21605== Releasing lock... [2025-03-20 00:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719140') end [2025-03-20 00:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:23:04] Production.INFO: 1 [2025-03-20 00:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:04] Production.INFO: ==21613== Releasing lock... [2025-03-20 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:04] Production.ERROR: done [2025-03-20 00:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:23:05] Production.ERROR: done [2025-03-20 00:23:05] Production.INFO: Total Charge 0 [2025-03-20 00:23:05] Production.INFO: CreateAllLog End [2025-03-20 00:23:05] Production.INFO: Account Balance End. [2025-03-20 00:23:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:23:05] Production.INFO: ==21609== Releasing lock... [2025-03-20 00:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:23:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:23:05 [end_date_ymd] => 2025-03-20 00:23:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:23:05' and `end` < '2025-03-20 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-03-20 00:23:11] Production.ERROR: CronJobId end10 [2025-03-20 00:23:11] Production.INFO: ==21607== Releasing lock... [2025-03-20 00:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:23:14] Production.INFO: call_cost start [2025-03-20 00:23:14] Production.INFO: call_cost end [2025-03-20 00:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:23:15] Production.INFO: ==21603== Releasing lock... [2025-03-20 00:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:23:18] Production.INFO: count ==727 [2025-03-20 00:23:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:23:05 - End Time 2025-03-20 00:23:05 [2025-03-20 00:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719141', 'tblTempUsageDetail_20' ) start [2025-03-20 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719141', 'tblTempUsageDetail_20' ) end [2025-03-20 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719141', 'tblTempVendorCDR_20' ) start [2025-03-20 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719141', 'tblTempVendorCDR_20' ) end [2025-03-20 00:23:18] Production.INFO: ProcessCDR(1,14719141,1,1,2) [2025-03-20 00:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719141', 'tblTempUsageDetail_20' ) start [2025-03-20 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719141', 'tblTempUsageDetail_20' ) end [2025-03-20 00:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:23:21] Production.INFO: ==21611== Releasing lock... [2025-03-20 00:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:23:21] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 04:24:01] Production.INFO: ==21673== Lock acquired, processing the job... [2025-03-20 04:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:24:01] Production.INFO: neon service started [2025-03-20 04:24:01] Production.INFO: neon service started [2025-03-20 04:24:01] Production.INFO: ==21673== Releasing lock... [2025-03-20 04:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:24:02] Production.INFO: ==21675== Lock acquired, processing the job... [2025-03-20 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:24:02] Production.INFO: ==21675== Releasing lock... [2025-03-20 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:24:02] Production.INFO: ==21677== Lock acquired, processing the job... [2025-03-20 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:24:02] Production.INFO: ==21677== Releasing lock... [2025-03-20 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:24:03] Production.INFO: ==21684== Lock acquired, processing the job... [2025-03-20 00:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:24:03] Production.INFO: ==21690== Lock acquired, processing the job... [2025-03-20 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:24:03] Production.INFO: ==21680== Lock acquired, processing the job... [2025-03-20 00:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:24:03] Production.INFO: ==21682== Lock acquired, processing the job... [2025-03-20 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 00:24:03] Production.INFO: count ==12 [2025-03-20 00:24:03] Production.INFO: ==21686== Lock acquired, processing the job... [2025-03-20 00:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 00:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:24:03] Production.INFO: count ==23 [2025-03-20 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719142') start [2025-03-20 00:24:03] Production.INFO: ==21688== Lock acquired, processing the job... [2025-03-20 00:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719142') end [2025-03-20 00:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:24:03] Production.INFO: 1 [2025-03-20 00:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:24:03] Production.INFO: Account Balance Start. [2025-03-20 00:24:03] Production.INFO: CreateAllLog Start [2025-03-20 00:24:04] Production.INFO: 117 [2025-03-20 00:24:04] Production.INFO: ==21690== Releasing lock... [2025-03-20 00:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.INFO: ==21682== Releasing lock... [2025-03-20 00:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.ERROR: done [2025-03-20 00:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:24:04] Production.INFO: Total Charge 0 [2025-03-20 00:24:04] Production.ERROR: done [2025-03-20 00:24:04] Production.INFO: CreateAllLog End [2025-03-20 00:24:04] Production.INFO: Account Balance End. [2025-03-20 00:24:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:24:05] Production.INFO: ==21686== Releasing lock... [2025-03-20 00:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:24:05 [end_date_ymd] => 2025-03-20 00:24:05 [RateCDR] => 1 ) [2025-03-20 00:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:24:05' and `end` < '2025-03-20 00:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:24:11] Production.ERROR: CronJobId end10 [2025-03-20 00:24:11] Production.INFO: ==21684== Releasing lock... [2025-03-20 00:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:24:14] Production.INFO: call_cost start [2025-03-20 00:24:14] Production.INFO: call_cost end [2025-03-20 00:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:24:15] Production.INFO: ==21680== Releasing lock... [2025-03-20 00:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:24:17] Production.INFO: count ==726 [2025-03-20 00:24:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:24:05 - End Time 2025-03-20 00:24:05 [2025-03-20 00:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719146', 'tblTempUsageDetail_20' ) start [2025-03-20 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719146', 'tblTempUsageDetail_20' ) end [2025-03-20 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719146', 'tblTempVendorCDR_20' ) start [2025-03-20 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719146', 'tblTempVendorCDR_20' ) end [2025-03-20 00:24:18] Production.INFO: ProcessCDR(1,14719146,1,1,2) [2025-03-20 00:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719146', 'tblTempUsageDetail_20' ) start [2025-03-20 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719146', 'tblTempUsageDetail_20' ) end [2025-03-20 00:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:24:21] Production.INFO: ==21688== Releasing lock... [2025-03-20 00:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:24:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:25:02] Production.INFO: ==21755== Lock acquired, processing the job... [2025-03-20 04:25:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:25:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:25:02] Production.INFO: neon service started [2025-03-20 04:25:02] Production.INFO: neon service started [2025-03-20 04:25:02] Production.INFO: ==21755== Releasing lock... [2025-03-20 04:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:25:02] Production.INFO: ==21759== Lock acquired, processing the job... [2025-03-20 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:25:02] Production.INFO: ==21759== Releasing lock... [2025-03-20 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:25:02] Production.INFO: ==21757== Lock acquired, processing the job... [2025-03-20 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:25:03] Production.INFO: ==21757== Releasing lock... [2025-03-20 00:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:25:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:25:03] Production.INFO: ==21762== Lock acquired, processing the job... [2025-03-20 00:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:25:03] Production.INFO: ==21764== Lock acquired, processing the job... [2025-03-20 00:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:25:03] Production.INFO: ==21770== Lock acquired, processing the job... [2025-03-20 00:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:25:04] Production.INFO: ==21766== Lock acquired, processing the job... [2025-03-20 00:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:25:04] Production.INFO: ==21764== Releasing lock... [2025-03-20 00:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:25:04] Production.INFO: ==21768== Lock acquired, processing the job... [2025-03-20 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:25:04] Production.INFO: ==21772== Lock acquired, processing the job... [2025-03-20 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:25:04] Production.ERROR: done [2025-03-20 00:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 00:25:04] Production.INFO: count ==12 [2025-03-20 00:25:04] Production.INFO: Account Balance Start. [2025-03-20 00:25:04] Production.INFO: CreateAllLog Start [2025-03-20 00:25:04] Production.INFO: 117 [2025-03-20 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-03-20 00:25:04] Production.INFO: count ==23 [2025-03-20 00:25:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719149') start [2025-03-20 00:25:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:04] Production.ERROR: done [2025-03-20 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719149') end [2025-03-20 00:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:25:04] Production.INFO: 1 [2025-03-20 00:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:25:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:04] Production.INFO: ==21772== Releasing lock... [2025-03-20 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:25:05] Production.INFO: Total Charge 0 [2025-03-20 00:25:05] Production.INFO: CreateAllLog End [2025-03-20 00:25:05] Production.INFO: Account Balance End. [2025-03-20 00:25:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:25:05] Production.INFO: ==21768== Releasing lock... [2025-03-20 00:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:25:05 [end_date_ymd] => 2025-03-20 00:25:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:25:05' and `end` < '2025-03-20 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-03-20 00:25: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-03-20 00:25:12] Production.ERROR: CronJobId end10 [2025-03-20 00:25:12] Production.INFO: ==21766== Releasing lock... [2025-03-20 00:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:25:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:25:14] Production.INFO: call_cost start [2025-03-20 00:25:14] Production.INFO: call_cost end [2025-03-20 00:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:25:15] Production.INFO: ==21762== Releasing lock... [2025-03-20 00:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:25:18] Production.INFO: count ==725 [2025-03-20 00:25:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:25:05 - End Time 2025-03-20 00:25:05 [2025-03-20 00:25:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719151', 'tblTempUsageDetail_20' ) start [2025-03-20 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719151', 'tblTempUsageDetail_20' ) end [2025-03-20 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719151', 'tblTempVendorCDR_20' ) start [2025-03-20 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719151', 'tblTempVendorCDR_20' ) end [2025-03-20 00:25:18] Production.INFO: ProcessCDR(1,14719151,1,1,2) [2025-03-20 00:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719151', 'tblTempUsageDetail_20' ) start [2025-03-20 00:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719151', 'tblTempUsageDetail_20' ) end [2025-03-20 00:25:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:25:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:25:23] Production.INFO: ==21770== Releasing lock... [2025-03-20 00:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:25:23] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:26:01] Production.INFO: ==21871== Lock acquired, processing the job... [2025-03-20 04:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:26:01] Production.INFO: neon service started [2025-03-20 04:26:01] Production.INFO: neon service started [2025-03-20 04:26:01] Production.INFO: ==21871== Releasing lock... [2025-03-20 04:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:26:01] Production.INFO: ==21873== Lock acquired, processing the job... [2025-03-20 00:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:26:02] Production.INFO: ==21873== Releasing lock... [2025-03-20 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:26:02] Production.INFO: ==21875== Lock acquired, processing the job... [2025-03-20 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:26:02] Production.INFO: ==21875== Releasing lock... [2025-03-20 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:26:03] Production.INFO: ==21878== Lock acquired, processing the job... [2025-03-20 00:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:26:03] Production.INFO: ==21882== Lock acquired, processing the job... [2025-03-20 00:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:26:03] Production.INFO: ==21880== Lock acquired, processing the job... [2025-03-20 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:26:03] Production.INFO: ==21886== Lock acquired, processing the job... [2025-03-20 00:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:26:03] Production.INFO: ==21884== Lock acquired, processing the job... [2025-03-20 00:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:26:03] Production.INFO: ==21888== Lock acquired, processing the job... [2025-03-20 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:26:03] Production.INFO: Account Balance Start. [2025-03-20 00:26:03] Production.INFO: CreateAllLog Start [2025-03-20 00:26:03] Production.INFO: 117 [2025-03-20 00:26:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:03] Production.INFO: count ==12 [2025-03-20 00:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:26:03] Production.INFO: count ==23 [2025-03-20 00:26:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719155') start [2025-03-20 00:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:03] Production.ERROR: done [2025-03-20 00:26:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:26:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719155') end [2025-03-20 00:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:26:03] Production.INFO: 1 [2025-03-20 00:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:26:03] Production.INFO: ==21880== Releasing lock... [2025-03-20 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:04] Production.INFO: ==21888== Releasing lock... [2025-03-20 00:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:26:04] Production.ERROR: done [2025-03-20 00:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:26:04] Production.INFO: Total Charge 0 [2025-03-20 00:26:04] Production.INFO: CreateAllLog End [2025-03-20 00:26:04] Production.INFO: Account Balance End. [2025-03-20 00:26:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:26:04] Production.INFO: ==21884== Releasing lock... [2025-03-20 00:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:26:05 [end_date_ymd] => 2025-03-20 00:26:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:26:05' and `end` < '2025-03-20 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-03-20 00:26:11] Production.ERROR: CronJobId end10 [2025-03-20 00:26:11] Production.INFO: ==21882== Releasing lock... [2025-03-20 00:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:26:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:26:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:26:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:26:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:26:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:26:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:26:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:26:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:26:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:26:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:26:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:26:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:26:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:26:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:26:13] Production.INFO: call_cost start [2025-03-20 00:26:13] Production.INFO: call_cost end [2025-03-20 00:26:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:26:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:26:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:26:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:26:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:26:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:26:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:26:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:26:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:26:14] Production.INFO: ==21878== Releasing lock... [2025-03-20 00:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:26:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:26:17] Production.INFO: count ==728 [2025-03-20 00:26:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:26:05 - End Time 2025-03-20 00:26:05 [2025-03-20 00:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719156', 'tblTempUsageDetail_20' ) start [2025-03-20 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719156', 'tblTempUsageDetail_20' ) end [2025-03-20 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719156', 'tblTempVendorCDR_20' ) start [2025-03-20 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719156', 'tblTempVendorCDR_20' ) end [2025-03-20 00:26:17] Production.INFO: ProcessCDR(1,14719156,1,1,2) [2025-03-20 00:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719156', 'tblTempUsageDetail_20' ) start [2025-03-20 00:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719156', 'tblTempUsageDetail_20' ) end [2025-03-20 00:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:26:20] Production.INFO: ==21886== Releasing lock... [2025-03-20 00:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:26:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:27:01] Production.INFO: ==21944== Lock acquired, processing the job... [2025-03-20 04:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:27:01] Production.INFO: neon service started [2025-03-20 04:27:01] Production.INFO: neon service started [2025-03-20 04:27:01] Production.INFO: ==21944== Releasing lock... [2025-03-20 04:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:27:02] Production.INFO: ==21946== Lock acquired, processing the job... [2025-03-20 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:27:02] Production.INFO: ==21946== Releasing lock... [2025-03-20 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:27:02] Production.INFO: ==21948== Lock acquired, processing the job... [2025-03-20 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:27:02] Production.INFO: ==21948== Releasing lock... [2025-03-20 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:27:03] Production.INFO: ==21951== Lock acquired, processing the job... [2025-03-20 00:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:27:03] Production.INFO: ==21959== Lock acquired, processing the job... [2025-03-20 00:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:27:03] Production.INFO: ==21953== Lock acquired, processing the job... [2025-03-20 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:27:03] Production.INFO: ==21955== Lock acquired, processing the job... [2025-03-20 00:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:27:03] Production.INFO: ==21957== Lock acquired, processing the job... [2025-03-20 00:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:27:03] Production.INFO: ==21961== Lock acquired, processing the job... [2025-03-20 00:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:27:03] Production.ERROR: done [2025-03-20 00:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:27:03] Production.INFO: Account Balance Start. [2025-03-20 00:27:03] Production.INFO: CreateAllLog Start [2025-03-20 00:27:03] Production.INFO: 117 [2025-03-20 00:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 00:27:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: count ==12 [2025-03-20 00:27:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:27:04] Production.INFO: count ==23 [2025-03-20 00:27:04] Production.ERROR: done [2025-03-20 00:27:04] Production.INFO: ==21953== Releasing lock... [2025-03-20 00:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:27:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719159') start [2025-03-20 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719159') end [2025-03-20 00:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:27:04] Production.INFO: 1 [2025-03-20 00:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: ==21961== Releasing lock... [2025-03-20 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:27:04] Production.INFO: Total Charge 0 [2025-03-20 00:27:04] Production.INFO: CreateAllLog End [2025-03-20 00:27:04] Production.INFO: Account Balance End. [2025-03-20 00:27:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:27:05] Production.INFO: ==21957== Releasing lock... [2025-03-20 00:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:27:05 [end_date_ymd] => 2025-03-20 00:27:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:27:05' and `end` < '2025-03-20 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-03-20 00:27:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #11 [internal function]: App\Console\Commands\NeonAlerts->fire() #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-03-20 00:27:10] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:27:10] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:27:10] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:27:10] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:27:10] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:27:10] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:27:10] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:27:10] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:27:10] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:27:10] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:27:10] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:27:10] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:27:10] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:27:10] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:27:10] Production.INFO: call_cost start [2025-03-20 00:27:10] Production.INFO: call_cost end [2025-03-20 00:27:11] Production.ERROR: CronJobId end10 [2025-03-20 00:27:11] Production.INFO: ==21955== Releasing lock... [2025-03-20 00:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:27:11] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:27:11] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:27:11] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:27:11] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:27:11] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:27:11] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:27:11] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:27:11] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:27:11] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:27:11] Production.INFO: ==21951== Releasing lock... [2025-03-20 00:27:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:27:11] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:27:17] Production.INFO: count ==724 [2025-03-20 00:27:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:27:05 - End Time 2025-03-20 00:27:05 [2025-03-20 00:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719161', 'tblTempUsageDetail_20' ) start [2025-03-20 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719161', 'tblTempUsageDetail_20' ) end [2025-03-20 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719161', 'tblTempVendorCDR_20' ) start [2025-03-20 00:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719161', 'tblTempVendorCDR_20' ) end [2025-03-20 00:27:17] Production.INFO: ProcessCDR(1,14719161,1,1,2) [2025-03-20 00:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719161', 'tblTempUsageDetail_20' ) start [2025-03-20 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719161', 'tblTempUsageDetail_20' ) end [2025-03-20 00:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:27:21] Production.INFO: ==21959== Releasing lock... [2025-03-20 00:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:27:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:28:01] Production.INFO: ==22019== Lock acquired, processing the job... [2025-03-20 04:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:28:01] Production.INFO: neon service started [2025-03-20 04:28:01] Production.INFO: neon service started [2025-03-20 04:28:01] Production.INFO: ==22019== Releasing lock... [2025-03-20 04:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:28:01] Production.INFO: ==22021== Lock acquired, processing the job... [2025-03-20 00:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:28:02] Production.INFO: ==22023== Lock acquired, processing the job... [2025-03-20 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:28:02] Production.INFO: ==22023== Releasing lock... [2025-03-20 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:28:02] Production.INFO: ==22021== Releasing lock... [2025-03-20 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:28:03] Production.INFO: ==22026== Lock acquired, processing the job... [2025-03-20 00:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:28:03] Production.INFO: ==22028== Lock acquired, processing the job... [2025-03-20 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:28:03] Production.INFO: ==22036== Lock acquired, processing the job... [2025-03-20 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:28:03] Production.INFO: ==22030== Lock acquired, processing the job... [2025-03-20 00:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:28:03] Production.INFO: ==22032== Lock acquired, processing the job... [2025-03-20 00:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:28:03] Production.INFO: ==22034== Lock acquired, processing the job... [2025-03-20 00:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:28:03] Production.INFO: count ==12 [2025-03-20 00:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:28:03] Production.INFO: count ==23 [2025-03-20 00:28:03] Production.INFO: ==22028== Releasing lock... [2025-03-20 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:28:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:28:03] Production.INFO: Account Balance Start. [2025-03-20 00:28:03] Production.INFO: CreateAllLog Start [2025-03-20 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719164') start [2025-03-20 00:28:03] Production.INFO: 117 [2025-03-20 00:28:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719164') end [2025-03-20 00:28:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:28:03] Production.INFO: 1 [2025-03-20 00:28:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:28:03] Production.INFO: ==22036== Releasing lock... [2025-03-20 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:28:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:28:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:03] Production.ERROR: done [2025-03-20 00:28:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:28:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:04] Production.ERROR: done [2025-03-20 00:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:28:04] Production.INFO: Total Charge 0 [2025-03-20 00:28:04] Production.INFO: CreateAllLog End [2025-03-20 00:28:04] Production.INFO: Account Balance End. [2025-03-20 00:28:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:28:04] Production.INFO: ==22032== Releasing lock... [2025-03-20 00:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:28:05 [end_date_ymd] => 2025-03-20 00:28:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:28:05' and `end` < '2025-03-20 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-03-20 00:28:11] Production.ERROR: CronJobId end10 [2025-03-20 00:28:11] Production.INFO: ==22030== Releasing lock... [2025-03-20 00:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:28:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:28:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:28:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:28:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:28:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:28:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:28:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:28:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:28:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:28:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:28:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:28:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:28:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:28:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:28:13] Production.INFO: call_cost start [2025-03-20 00:28:13] Production.INFO: call_cost end [2025-03-20 00:28:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:28:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:28:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:28:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:28:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:28:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:28:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:28:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:28:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:28:14] Production.INFO: ==22026== Releasing lock... [2025-03-20 00:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:28:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:28:17] Production.INFO: count ==721 [2025-03-20 00:28:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:28:05 - End Time 2025-03-20 00:28:05 [2025-03-20 00:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719166', 'tblTempUsageDetail_20' ) start [2025-03-20 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719166', 'tblTempUsageDetail_20' ) end [2025-03-20 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719166', 'tblTempVendorCDR_20' ) start [2025-03-20 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719166', 'tblTempVendorCDR_20' ) end [2025-03-20 00:28:17] Production.INFO: ProcessCDR(1,14719166,1,1,2) [2025-03-20 00:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719166', 'tblTempUsageDetail_20' ) start [2025-03-20 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719166', 'tblTempUsageDetail_20' ) end [2025-03-20 00:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:28:21] Production.INFO: ==22034== Releasing lock... [2025-03-20 00:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:28:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:29:01] Production.INFO: ==22095== Lock acquired, processing the job... [2025-03-20 04:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:29:01] Production.INFO: neon service started [2025-03-20 04:29:01] Production.INFO: neon service started [2025-03-20 04:29:01] Production.INFO: ==22095== Releasing lock... [2025-03-20 04:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:29:02] Production.INFO: ==22097== Lock acquired, processing the job... [2025-03-20 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:29:02] Production.INFO: ==22097== Releasing lock... [2025-03-20 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:29:02] Production.INFO: ==22099== Lock acquired, processing the job... [2025-03-20 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:29:02] Production.INFO: ==22099== Releasing lock... [2025-03-20 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:29:03] Production.INFO: ==22107== Lock acquired, processing the job... [2025-03-20 00:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:29:03] Production.INFO: ==22101== Lock acquired, processing the job... [2025-03-20 00:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:29:03] Production.INFO: ==22103== Lock acquired, processing the job... [2025-03-20 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:29:03] Production.INFO: Account Balance Start. [2025-03-20 00:29:03] Production.INFO: CreateAllLog Start [2025-03-20 00:29:03] Production.INFO: 117 [2025-03-20 00:29:03] Production.INFO: ==22112== Lock acquired, processing the job... [2025-03-20 00:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:29:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:03] Production.INFO: ==22105== Lock acquired, processing the job... [2025-03-20 00:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:29:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:29:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:03] Production.INFO: count ==12 [2025-03-20 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-03-20 00:29:03] Production.INFO: count ==23 [2025-03-20 00:29:03] Production.INFO: ==22109== Lock acquired, processing the job... [2025-03-20 00:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719169') start [2025-03-20 00:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:29:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719169') end [2025-03-20 00:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:29:04] Production.INFO: 1 [2025-03-20 00:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:04] Production.INFO: ==22112== Releasing lock... [2025-03-20 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:04] Production.INFO: ==22103== Releasing lock... [2025-03-20 00:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:04] Production.ERROR: done [2025-03-20 00:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:04] Production.ERROR: done [2025-03-20 00:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:29:04] Production.INFO: Total Charge 0 [2025-03-20 00:29:04] Production.INFO: CreateAllLog End [2025-03-20 00:29:04] Production.INFO: Account Balance End. [2025-03-20 00:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:29:05] Production.INFO: ==22107== Releasing lock... [2025-03-20 00:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:29:05 [end_date_ymd] => 2025-03-20 00:29:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:29:05' and `end` < '2025-03-20 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-03-20 00:29:11] Production.ERROR: CronJobId end10 [2025-03-20 00:29:11] Production.INFO: ==22105== Releasing lock... [2025-03-20 00:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:29:14] Production.INFO: call_cost start [2025-03-20 00:29:14] Production.INFO: call_cost end [2025-03-20 00:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:29:15] Production.INFO: ==22101== Releasing lock... [2025-03-20 00:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:29:18] Production.INFO: count ==724 [2025-03-20 00:29:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:29:05 - End Time 2025-03-20 00:29:05 [2025-03-20 00:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719171', 'tblTempUsageDetail_20' ) start [2025-03-20 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719171', 'tblTempUsageDetail_20' ) end [2025-03-20 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719171', 'tblTempVendorCDR_20' ) start [2025-03-20 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719171', 'tblTempVendorCDR_20' ) end [2025-03-20 00:29:18] Production.INFO: ProcessCDR(1,14719171,1,1,2) [2025-03-20 00:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719171', 'tblTempUsageDetail_20' ) start [2025-03-20 00:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719171', 'tblTempUsageDetail_20' ) end [2025-03-20 00:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:29:21] Production.INFO: ==22109== Releasing lock... [2025-03-20 00:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:29:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:30:02] Production.INFO: ==22171== Lock acquired, processing the job... [2025-03-20 04:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:30:02] Production.INFO: neon service started [2025-03-20 04:30:02] Production.INFO: neon service started [2025-03-20 04:30:02] Production.INFO: ==22171== Releasing lock... [2025-03-20 04:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:30:02] Production.INFO: ==22174== Lock acquired, processing the job... [2025-03-20 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:30:03] Production.INFO: ==22176== Lock acquired, processing the job... [2025-03-20 04:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:30:03] Production.INFO: ==22174== Releasing lock... [2025-03-20 00:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:30:03] Production.INFO: ==22176== Releasing lock... [2025-03-20 04:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:30:04] Production.INFO: ==22184== Lock acquired, processing the job... [2025-03-20 00:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:30:04] Production.INFO: ==22190== Lock acquired, processing the job... [2025-03-20 00:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 00:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:30:04] Production.INFO: ==22178== Lock acquired, processing the job... [2025-03-20 00:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 00:30:04] Production.INFO: ==22192== Lock acquired, processing the job... [2025-03-20 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:30:04] Production.INFO: ==22182== Lock acquired, processing the job... [2025-03-20 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:30:04] Production.INFO: ==22180== Lock acquired, processing the job... [2025-03-20 00:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:30:04] Production.INFO: ==22186== Lock acquired, processing the job... [2025-03-20 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:30:04] Production.INFO: ==22188== Lock acquired, processing the job... [2025-03-20 00:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 00:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 00:30:04] Production.ERROR: CronJob PID - 22184 [2025-03-20 00:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 00:30:04] Production.ERROR: CronJob ID - 10 [2025-03-20 00:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 00:30:00 [2025-03-20 00:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 00:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 00:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 00:30:04] Production.ERROR: CronJob PID - 22190 [2025-03-20 00:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 00:30:04] Production.ERROR: CronJob ID - 17 [2025-03-20 00:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 00:30:00 [2025-03-20 00:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 00:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 00:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 00:30:04] Production.ERROR: CronJob PID - 22192 [2025-03-20 00:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 00:30:04] Production.ERROR: CronJob ID - 19 [2025-03-20 00:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 00:30:00 [2025-03-20 00:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 00:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 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-03-20 00:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 00:30:04] Production.INFO: ==22178== Releasing lock... [2025-03-20 00:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 00:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 00:30:04] Production.INFO: count ==12 [2025-03-20 00:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:30:04] Production.ERROR: done [2025-03-20 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-03-20 00:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:30:04] Production.INFO: count ==23 [2025-03-20 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719172') start [2025-03-20 00:30:04] Production.INFO: Account Balance Start. [2025-03-20 00:30:04] Production.INFO: CreateAllLog Start [2025-03-20 00:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 00:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719175', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 00:30:04] Production.INFO: 117 [2025-03-20 00:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:05] Production.INFO: Date 2025-03-12 [2025-03-20 00:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:05] Production.INFO: Date 2025-03-13 [2025-03-20 00:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:05] Production.INFO: Date 2025-03-14 [2025-03-20 00:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719172') end [2025-03-20 00:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:30:05] Production.INFO: 1 [2025-03-20 00:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:30:05] Production.INFO: Date 2025-03-15 [2025-03-20 00:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:05] Production.INFO: ==22192== Releasing lock... [2025-03-20 00:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:30:05] Production.ERROR: done [2025-03-20 00:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:30:05] Production.INFO: Date 2025-03-16 [2025-03-20 00:30:05] Production.INFO: ==22182== Releasing lock... [2025-03-20 00:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:30:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 00:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:30:05] Production.ERROR: done [2025-03-20 00:30:05] Production.INFO: Total Charge 0 [2025-03-20 00:30:05] Production.INFO: CreateAllLog End [2025-03-20 00:30:05] Production.INFO: Account Balance End. [2025-03-20 00:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:30:05] Production.INFO: ==22186== Releasing lock... [2025-03-20 00:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:30:06 [end_date_ymd] => 2025-03-20 00:30:06 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:30:06' and `end` < '2025-03-20 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-03-20 00:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719175', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 00:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 00:30:09] Production.INFO: ProcessCDR(1,14719175,1,1,2) [2025-03-20 00:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719175,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719175,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:30:09] Production.INFO: ==22190== Releasing lock... [2025-03-20 00:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 00:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 00:30:13] Production.ERROR: CronJobId end10 [2025-03-20 00:30:13] Production.INFO: ==22184== Releasing lock... [2025-03-20 00:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:30:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:30:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:30:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:30:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:30:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:30:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:30:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:30:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:30:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:30:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:30:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:30:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:30:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:30:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:30:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:30:17] Production.INFO: call_cost start [2025-03-20 00:30:17] Production.INFO: call_cost end [2025-03-20 00:30:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:30:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:30:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:30:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:30:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:30:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:30:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:30:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:30:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:30:18] Production.INFO: ==22180== Releasing lock... [2025-03-20 00:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:30:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:30:18] Production.INFO: count ==727 [2025-03-20 00:30:19] Production.ERROR: pbx CDR StartTime 2025-03-19 21:30:06 - End Time 2025-03-20 00:30:06 [2025-03-20 00:30:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719177', 'tblTempUsageDetail_20' ) start [2025-03-20 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719177', 'tblTempUsageDetail_20' ) end [2025-03-20 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719177', 'tblTempVendorCDR_20' ) start [2025-03-20 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719177', 'tblTempVendorCDR_20' ) end [2025-03-20 00:30:19] Production.INFO: ProcessCDR(1,14719177,1,1,2) [2025-03-20 00:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719177', 'tblTempUsageDetail_20' ) start [2025-03-20 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719177', 'tblTempUsageDetail_20' ) end [2025-03-20 00:30:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:30:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:30:22] Production.INFO: ==22188== Releasing lock... [2025-03-20 00:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:30:22] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:31:01] Production.INFO: ==22246== Lock acquired, processing the job... [2025-03-20 04:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:31:01] Production.INFO: neon service started [2025-03-20 04:31:01] Production.INFO: neon service started [2025-03-20 04:31:01] Production.INFO: ==22246== Releasing lock... [2025-03-20 04:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:31:02] Production.INFO: ==22250== Lock acquired, processing the job... [2025-03-20 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:31:02] Production.INFO: ==22250== Releasing lock... [2025-03-20 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:31:02] Production.INFO: ==22248== Lock acquired, processing the job... [2025-03-20 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:31:02] Production.INFO: ==22248== Releasing lock... [2025-03-20 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:31:02] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:31:03] Production.INFO: ==22252== Lock acquired, processing the job... [2025-03-20 00:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:31:03] Production.INFO: ==22254== Lock acquired, processing the job... [2025-03-20 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:31:03] Production.INFO: ==22262== Lock acquired, processing the job... [2025-03-20 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:31:03] Production.INFO: ==22256== Lock acquired, processing the job... [2025-03-20 00:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:31:03] Production.INFO: ==22258== Lock acquired, processing the job... [2025-03-20 00:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 00:31:03] Production.INFO: Account Balance Start. [2025-03-20 00:31:03] Production.INFO: CreateAllLog Start [2025-03-20 00:31:03] Production.INFO: count ==12 [2025-03-20 00:31:03] Production.INFO: 117 [2025-03-20 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-03-20 00:31:03] Production.INFO: count ==23 [2025-03-20 00:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:31:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719180') start [2025-03-20 00:31:03] Production.INFO: ==22260== Lock acquired, processing the job... [2025-03-20 00:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719180') end [2025-03-20 00:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:31:04] Production.INFO: 1 [2025-03-20 00:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.INFO: ==22254== Releasing lock... [2025-03-20 00:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:31:04] Production.INFO: ==22262== Releasing lock... [2025-03-20 00:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.ERROR: done [2025-03-20 00:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.ERROR: done [2025-03-20 00:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:31:04] Production.INFO: Total Charge 0 [2025-03-20 00:31:04] Production.INFO: CreateAllLog End [2025-03-20 00:31:04] Production.INFO: Account Balance End. [2025-03-20 00:31:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:31:04] Production.INFO: ==22258== Releasing lock... [2025-03-20 00:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:31:05 [end_date_ymd] => 2025-03-20 00:31:05 [RateCDR] => 1 ) [2025-03-20 00:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:31:05' and `end` < '2025-03-20 00:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:31:11] Production.ERROR: CronJobId end10 [2025-03-20 00:31:11] Production.INFO: ==22256== Releasing lock... [2025-03-20 00:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:31:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:31:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:31:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:31:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:31:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:31:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:31:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:31:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:31:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:31:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:31:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:31:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:31:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:31:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:31:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:31:14] Production.INFO: call_cost start [2025-03-20 00:31:14] Production.INFO: call_cost end [2025-03-20 00:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:31:15] Production.INFO: ==22252== Releasing lock... [2025-03-20 00:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:31:17] Production.INFO: count ==732 [2025-03-20 00:31:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:31:05 - End Time 2025-03-20 00:31:05 [2025-03-20 00:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719182', 'tblTempUsageDetail_20' ) start [2025-03-20 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719182', 'tblTempUsageDetail_20' ) end [2025-03-20 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719182', 'tblTempVendorCDR_20' ) start [2025-03-20 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719182', 'tblTempVendorCDR_20' ) end [2025-03-20 00:31:18] Production.INFO: ProcessCDR(1,14719182,1,1,2) [2025-03-20 00:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719182', 'tblTempUsageDetail_20' ) start [2025-03-20 00:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719182', 'tblTempUsageDetail_20' ) end [2025-03-20 00:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:31:21] Production.INFO: ==22260== Releasing lock... [2025-03-20 00:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:31:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:32:02] Production.INFO: ==22319== Lock acquired, processing the job... [2025-03-20 04:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:32:02] Production.INFO: neon service started [2025-03-20 04:32:02] Production.INFO: neon service started [2025-03-20 04:32:02] Production.INFO: ==22319== Releasing lock... [2025-03-20 04:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:32:02] Production.INFO: ==22321== Lock acquired, processing the job... [2025-03-20 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:32:02] Production.INFO: ==22323== Lock acquired, processing the job... [2025-03-20 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:32:03] Production.INFO: ==22323== Releasing lock... [2025-03-20 04:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:32:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:32:03] Production.INFO: ==22321== Releasing lock... [2025-03-20 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:32:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:32:03] Production.INFO: ==22326== Lock acquired, processing the job... [2025-03-20 00:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:32:03] Production.INFO: ==22332== Lock acquired, processing the job... [2025-03-20 00:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:32:03] Production.INFO: ==22328== Lock acquired, processing the job... [2025-03-20 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:32:03] Production.INFO: Account Balance Start. [2025-03-20 00:32:03] Production.INFO: CreateAllLog Start [2025-03-20 00:32:03] Production.INFO: 117 [2025-03-20 00:32:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.INFO: ==22330== Lock acquired, processing the job... [2025-03-20 00:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:32:04] Production.INFO: ==22336== Lock acquired, processing the job... [2025-03-20 00:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.INFO: ==22334== Lock acquired, processing the job... [2025-03-20 00:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 00:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.INFO: count ==12 [2025-03-20 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-03-20 00:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.INFO: count ==23 [2025-03-20 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719186') start [2025-03-20 00:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.INFO: ==22328== Releasing lock... [2025-03-20 00:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719186') end [2025-03-20 00:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:32:04] Production.INFO: 1 [2025-03-20 00:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.INFO: ==22336== Releasing lock... [2025-03-20 00:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:32:04] Production.ERROR: done [2025-03-20 00:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:32:04] Production.INFO: Total Charge 0 [2025-03-20 00:32:04] Production.INFO: CreateAllLog End [2025-03-20 00:32:04] Production.ERROR: done [2025-03-20 00:32:05] Production.INFO: Account Balance End. [2025-03-20 00:32:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:32:05] Production.INFO: ==22332== Releasing lock... [2025-03-20 00:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:32:05 [end_date_ymd] => 2025-03-20 00:32:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:32:05' and `end` < '2025-03-20 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-03-20 00:32:12] Production.ERROR: CronJobId end10 [2025-03-20 00:32:12] Production.INFO: ==22330== Releasing lock... [2025-03-20 00:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:32:14] Production.INFO: call_cost start [2025-03-20 00:32:14] Production.INFO: call_cost end [2025-03-20 00:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:32:15] Production.INFO: ==22326== Releasing lock... [2025-03-20 00:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:32:17] Production.INFO: count ==731 [2025-03-20 00:32:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:32:05 - End Time 2025-03-20 00:32:05 [2025-03-20 00:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719187', 'tblTempUsageDetail_20' ) start [2025-03-20 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719187', 'tblTempUsageDetail_20' ) end [2025-03-20 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719187', 'tblTempVendorCDR_20' ) start [2025-03-20 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719187', 'tblTempVendorCDR_20' ) end [2025-03-20 00:32:18] Production.INFO: ProcessCDR(1,14719187,1,1,2) [2025-03-20 00:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719187', 'tblTempUsageDetail_20' ) start [2025-03-20 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719187', 'tblTempUsageDetail_20' ) end [2025-03-20 00:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:32:21] Production.INFO: ==22334== Releasing lock... [2025-03-20 00:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:32:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:33:01] Production.INFO: ==22394== Lock acquired, processing the job... [2025-03-20 04:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:33:01] Production.INFO: neon service started [2025-03-20 04:33:01] Production.INFO: neon service started [2025-03-20 04:33:01] Production.INFO: ==22394== Releasing lock... [2025-03-20 04:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:33:02] Production.INFO: ==22398== Lock acquired, processing the job... [2025-03-20 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:33:02] Production.INFO: ==22398== Releasing lock... [2025-03-20 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:33:02] Production.INFO: ==22396== Lock acquired, processing the job... [2025-03-20 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:33:02] Production.INFO: ==22396== Releasing lock... [2025-03-20 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:33:03] Production.INFO: ==22405== Lock acquired, processing the job... [2025-03-20 00:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:33:03] Production.INFO: ==22407== Lock acquired, processing the job... [2025-03-20 00:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:33:03] Production.INFO: ==22409== Lock acquired, processing the job... [2025-03-20 00:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:33:03] Production.INFO: Account Balance Start. [2025-03-20 00:33:03] Production.INFO: CreateAllLog Start [2025-03-20 00:33:03] Production.INFO: 117 [2025-03-20 00:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:33:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:03] Production.INFO: ==22411== Lock acquired, processing the job... [2025-03-20 00:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:33:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:03] Production.INFO: ==22403== Lock acquired, processing the job... [2025-03-20 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:33:03] Production.ERROR: done [2025-03-20 00:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:33:03] Production.INFO: ==22401== Lock acquired, processing the job... [2025-03-20 00:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:33:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:03] Production.INFO: count ==12 [2025-03-20 00:33:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:33:03] Production.INFO: count ==23 [2025-03-20 00:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:03] Production.ERROR: done [2025-03-20 00:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719189') start [2025-03-20 00:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719189') end [2025-03-20 00:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:33:04] Production.INFO: 1 [2025-03-20 00:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:04] Production.INFO: ==22411== Releasing lock... [2025-03-20 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:33:04] Production.INFO: ==22403== Releasing lock... [2025-03-20 00:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:33:04] Production.INFO: Total Charge 0 [2025-03-20 00:33:04] Production.INFO: CreateAllLog End [2025-03-20 00:33:04] Production.INFO: Account Balance End. [2025-03-20 00:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:33:04] Production.INFO: ==22407== Releasing lock... [2025-03-20 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:33:05 [end_date_ymd] => 2025-03-20 00:33:05 [RateCDR] => 1 ) [2025-03-20 00:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:33:05' and `end` < '2025-03-20 00:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:33:11] Production.ERROR: CronJobId end10 [2025-03-20 00:33:11] Production.INFO: ==22405== Releasing lock... [2025-03-20 00:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:33:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:33:14] Production.INFO: call_cost start [2025-03-20 00:33:14] Production.INFO: call_cost end [2025-03-20 00:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:33:15] Production.INFO: ==22401== Releasing lock... [2025-03-20 00:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:33:17] Production.INFO: count ==728 [2025-03-20 00:33:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:33:05 - End Time 2025-03-20 00:33:05 [2025-03-20 00:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719190', 'tblTempUsageDetail_20' ) start [2025-03-20 00:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719190', 'tblTempUsageDetail_20' ) end [2025-03-20 00:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719190', 'tblTempVendorCDR_20' ) start [2025-03-20 00:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719190', 'tblTempVendorCDR_20' ) end [2025-03-20 00:33:17] Production.INFO: ProcessCDR(1,14719190,1,1,2) [2025-03-20 00:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719190', 'tblTempUsageDetail_20' ) start [2025-03-20 00:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719190', 'tblTempUsageDetail_20' ) end [2025-03-20 00:33:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:33:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:33:20] Production.INFO: ==22409== Releasing lock... [2025-03-20 00:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:33:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:34:02] Production.INFO: ==22468== Lock acquired, processing the job... [2025-03-20 04:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:34:02] Production.INFO: neon service started [2025-03-20 04:34:02] Production.INFO: neon service started [2025-03-20 04:34:02] Production.INFO: ==22468== Releasing lock... [2025-03-20 04:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:34:02] Production.INFO: ==22472== Lock acquired, processing the job... [2025-03-20 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:34:02] Production.INFO: ==22472== Releasing lock... [2025-03-20 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:34:02] Production.INFO: ==22470== Lock acquired, processing the job... [2025-03-20 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:34:03] Production.INFO: ==22470== Releasing lock... [2025-03-20 00:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:34:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:34:03] Production.INFO: ==22479== Lock acquired, processing the job... [2025-03-20 00:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:34:03] Production.INFO: ==22483== Lock acquired, processing the job... [2025-03-20 00:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:34:04] Production.INFO: ==22475== Lock acquired, processing the job... [2025-03-20 00:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:34:04] Production.INFO: ==22477== Lock acquired, processing the job... [2025-03-20 00:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:34:04] Production.INFO: ==22481== Lock acquired, processing the job... [2025-03-20 00:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:34:04] Production.INFO: ==22485== Lock acquired, processing the job... [2025-03-20 00:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:34:04] Production.INFO: Account Balance Start. [2025-03-20 00:34:04] Production.INFO: CreateAllLog Start [2025-03-20 00:34:04] Production.INFO: 117 [2025-03-20 00:34:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:04] Production.ERROR: done [2025-03-20 00:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:34:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:04] Production.INFO: count ==12 [2025-03-20 00:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:34:04] Production.INFO: count ==23 [2025-03-20 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719196') start [2025-03-20 00:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:04] Production.ERROR: done [2025-03-20 00:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719196') end [2025-03-20 00:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:34:04] Production.INFO: 1 [2025-03-20 00:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:34:04] Production.INFO: ==22485== Releasing lock... [2025-03-20 00:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:34:04] Production.INFO: ==22477== Releasing lock... [2025-03-20 00:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:05] Production.INFO: Date 2025-03-17 [2025-03-20 00:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:34:05] Production.INFO: Total Charge 0 [2025-03-20 00:34:05] Production.INFO: CreateAllLog End [2025-03-20 00:34:05] Production.INFO: Account Balance End. [2025-03-20 00:34:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:34:05] Production.INFO: ==22481== Releasing lock... [2025-03-20 00:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:34:05 [end_date_ymd] => 2025-03-20 00:34:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:34:05' and `end` < '2025-03-20 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-03-20 00:34:12] Production.ERROR: CronJobId end10 [2025-03-20 00:34:12] Production.INFO: ==22479== Releasing lock... [2025-03-20 00:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:34:15] Production.INFO: call_cost start [2025-03-20 00:34:15] Production.INFO: call_cost end [2025-03-20 00:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:34:16] Production.INFO: ==22475== Releasing lock... [2025-03-20 00:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:34:18] Production.INFO: count ==726 [2025-03-20 00:34:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:34:05 - End Time 2025-03-20 00:34:05 [2025-03-20 00:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719197', 'tblTempUsageDetail_20' ) start [2025-03-20 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719197', 'tblTempUsageDetail_20' ) end [2025-03-20 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719197', 'tblTempVendorCDR_20' ) start [2025-03-20 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719197', 'tblTempVendorCDR_20' ) end [2025-03-20 00:34:18] Production.INFO: ProcessCDR(1,14719197,1,1,2) [2025-03-20 00:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719197', 'tblTempUsageDetail_20' ) start [2025-03-20 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719197', 'tblTempUsageDetail_20' ) end [2025-03-20 00:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:34:21] Production.INFO: ==22483== Releasing lock... [2025-03-20 00:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:34:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:35:01] Production.INFO: ==22540== Lock acquired, processing the job... [2025-03-20 04:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:35:01] Production.INFO: neon service started [2025-03-20 04:35:01] Production.INFO: neon service started [2025-03-20 04:35:01] Production.INFO: ==22540== Releasing lock... [2025-03-20 04:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:35:01] Production.INFO: ==22542== Lock acquired, processing the job... [2025-03-20 00:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:35:02] Production.INFO: ==22542== Releasing lock... [2025-03-20 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:35:02] Production.INFO: ==22544== Lock acquired, processing the job... [2025-03-20 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:35:02] Production.INFO: ==22544== Releasing lock... [2025-03-20 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:35:02] Production.INFO: ==22552== Lock acquired, processing the job... [2025-03-20 00:35:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:35:03] Production.INFO: Account Balance Start. [2025-03-20 00:35:03] Production.INFO: CreateAllLog Start [2025-03-20 00:35:03] Production.INFO: 117 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-15 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: ==22546== Lock acquired, processing the job... [2025-03-20 00:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:35:03] Production.INFO: Date 2025-03-16 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-17 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-18 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-19 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: Date 2025-03-20 [2025-03-20 00:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:35:03] Production.INFO: ==22548== Lock acquired, processing the job... [2025-03-20 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:35:03] Production.INFO: Total Charge 0 [2025-03-20 00:35:03] Production.INFO: CreateAllLog End [2025-03-20 00:35:03] Production.INFO: ==22550== Lock acquired, processing the job... [2025-03-20 00:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:35:03] Production.INFO: ==22554== Lock acquired, processing the job... [2025-03-20 00:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:35:03] Production.INFO: Account Balance End. [2025-03-20 00:35:03] Production.INFO: ==22557== Lock acquired, processing the job... [2025-03-20 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:35:03] Production.ERROR: CronJobId end 12 [2025-03-20 00:35:03] Production.INFO: ==22552== Releasing lock... [2025-03-20 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:35:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:35:03] Production.INFO: ==22548== Releasing lock... [2025-03-20 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:35:03] Production.INFO: count ==12 [2025-03-20 00:35:04] Production.ERROR: done [2025-03-20 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-03-20 00:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:35:04] Production.INFO: count ==23 [2025-03-20 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719201') start [2025-03-20 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719201') end [2025-03-20 00:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:35:04] Production.INFO: 1 [2025-03-20 00:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:35:04] Production.ERROR: done [2025-03-20 00:35:04] Production.INFO: ==22557== Releasing lock... [2025-03-20 00:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:35:05 [end_date_ymd] => 2025-03-20 00:35:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:35:05' and `end` < '2025-03-20 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-03-20 00:35:12] Production.ERROR: CronJobId end10 [2025-03-20 00:35:12] Production.INFO: ==22550== Releasing lock... [2025-03-20 00:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:35:14] Production.INFO: call_cost start [2025-03-20 00:35:14] Production.INFO: call_cost end [2025-03-20 00:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:35:15] Production.INFO: ==22546== Releasing lock... [2025-03-20 00:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:35:17] Production.INFO: count ==709 [2025-03-20 00:35:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:35:05 - End Time 2025-03-20 00:35:05 [2025-03-20 00:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719202', 'tblTempUsageDetail_20' ) start [2025-03-20 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719202', 'tblTempUsageDetail_20' ) end [2025-03-20 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719202', 'tblTempVendorCDR_20' ) start [2025-03-20 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719202', 'tblTempVendorCDR_20' ) end [2025-03-20 00:35:17] Production.INFO: ProcessCDR(1,14719202,1,1,2) [2025-03-20 00:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719202', 'tblTempUsageDetail_20' ) start [2025-03-20 00:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719202', 'tblTempUsageDetail_20' ) end [2025-03-20 00:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:35:21] Production.INFO: ==22554== Releasing lock... [2025-03-20 00:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:35:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:36:02] Production.INFO: ==22618== Lock acquired, processing the job... [2025-03-20 04:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:36:02] Production.INFO: neon service started [2025-03-20 04:36:02] Production.INFO: neon service started [2025-03-20 04:36:02] Production.INFO: ==22618== Releasing lock... [2025-03-20 04:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:36:02] Production.INFO: ==22621== Lock acquired, processing the job... [2025-03-20 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:36:02] Production.INFO: ==22621== Releasing lock... [2025-03-20 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:36:02] Production.INFO: ==22623== Lock acquired, processing the job... [2025-03-20 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:36:02] Production.INFO: ==22623== Releasing lock... [2025-03-20 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:36:03] Production.INFO: ==22625== Lock acquired, processing the job... [2025-03-20 00:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:36:03] Production.INFO: ==22631== Lock acquired, processing the job... [2025-03-20 00:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:36:03] Production.INFO: ==22627== Lock acquired, processing the job... [2025-03-20 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:36:03] Production.INFO: ==22635== Lock acquired, processing the job... [2025-03-20 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:36:03] Production.INFO: ==22629== Lock acquired, processing the job... [2025-03-20 00:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:36:03] Production.INFO: Account Balance Start. [2025-03-20 00:36:03] Production.INFO: CreateAllLog Start [2025-03-20 00:36:03] Production.INFO: 117 [2025-03-20 00:36:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:36:03] Production.INFO: ==22633== Lock acquired, processing the job... [2025-03-20 00:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00: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-03-20 00:36:04] Production.INFO: count ==12 [2025-03-20 00:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 00: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-03-20 00:36:04] Production.INFO: count ==23 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719206') start [2025-03-20 00:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719206') end [2025-03-20 00:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:36:04] Production.INFO: 1 [2025-03-20 00:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:04] Production.INFO: ==22635== Releasing lock... [2025-03-20 00:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:36:04] Production.INFO: ==22627== Releasing lock... [2025-03-20 00:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:04] Production.ERROR: done [2025-03-20 00:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:04] Production.ERROR: done [2025-03-20 00:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:36:05] Production.INFO: Total Charge 0 [2025-03-20 00:36:05] Production.INFO: CreateAllLog End [2025-03-20 00:36:05] Production.INFO: Account Balance End. [2025-03-20 00:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:36:05] Production.INFO: ==22631== Releasing lock... [2025-03-20 00:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:36:05 [end_date_ymd] => 2025-03-20 00:36:05 [RateCDR] => 1 ) [2025-03-20 00:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:36:05' and `end` < '2025-03-20 00:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:36:12] Production.ERROR: CronJobId end10 [2025-03-20 00:36:12] Production.INFO: ==22629== Releasing lock... [2025-03-20 00:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:36:15] Production.INFO: call_cost start [2025-03-20 00:36:15] Production.INFO: call_cost end [2025-03-20 00:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:36:16] Production.INFO: ==22625== Releasing lock... [2025-03-20 00:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:36:18] Production.INFO: count ==708 [2025-03-20 00:36:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:36:05 - End Time 2025-03-20 00:36:05 [2025-03-20 00:36:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719207', 'tblTempUsageDetail_20' ) start [2025-03-20 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719207', 'tblTempUsageDetail_20' ) end [2025-03-20 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719207', 'tblTempVendorCDR_20' ) start [2025-03-20 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719207', 'tblTempVendorCDR_20' ) end [2025-03-20 00:36:18] Production.INFO: ProcessCDR(1,14719207,1,1,2) [2025-03-20 00:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719207', 'tblTempUsageDetail_20' ) start [2025-03-20 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719207', 'tblTempUsageDetail_20' ) end [2025-03-20 00:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:36:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:36:21] Production.INFO: ==22633== Releasing lock... [2025-03-20 00:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:36:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:37:01] Production.INFO: ==22694== Lock acquired, processing the job... [2025-03-20 04:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:37:01] Production.INFO: neon service started [2025-03-20 04:37:01] Production.INFO: neon service started [2025-03-20 04:37:01] Production.INFO: ==22694== Releasing lock... [2025-03-20 04:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:37:01] Production.INFO: ==22696== Lock acquired, processing the job... [2025-03-20 00:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:37:02] Production.INFO: ==22696== Releasing lock... [2025-03-20 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:37:02] Production.INFO: ==22698== Lock acquired, processing the job... [2025-03-20 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:37:02] Production.INFO: ==22698== Releasing lock... [2025-03-20 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:37:03] Production.INFO: ==22700== Lock acquired, processing the job... [2025-03-20 00:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:37:03] Production.INFO: ==22702== Lock acquired, processing the job... [2025-03-20 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:37:03] Production.INFO: ==22706== Lock acquired, processing the job... [2025-03-20 00:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:37:03] Production.INFO: ==22704== Lock acquired, processing the job... [2025-03-20 00:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:37:03] Production.INFO: ==22708== Lock acquired, processing the job... [2025-03-20 00:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:37:03] Production.INFO: Account Balance Start. [2025-03-20 00:37:03] Production.INFO: CreateAllLog Start [2025-03-20 00:37:03] Production.INFO: 117 [2025-03-20 00:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:03] Production.INFO: ==22710== Lock acquired, processing the job... [2025-03-20 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:03] Production.INFO: ==22702== Releasing lock... [2025-03-20 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:03] Production.ERROR: done [2025-03-20 00:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 00:37:03] Production.INFO: count ==12 [2025-03-20 00:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:37:03] Production.INFO: count ==23 [2025-03-20 00:37:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719211') start [2025-03-20 00:37:03] Production.ERROR: done [2025-03-20 00:37:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:03] Production.INFO: Date 2025-03-15 [2025-03-20 00:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:03] Production.INFO: Date 2025-03-16 [2025-03-20 00:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719211') end [2025-03-20 00:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:37:03] Production.INFO: 1 [2025-03-20 00:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:37:03] Production.INFO: Date 2025-03-17 [2025-03-20 00:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:03] Production.INFO: ==22710== Releasing lock... [2025-03-20 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:37:04] Production.INFO: Total Charge 0 [2025-03-20 00:37:04] Production.INFO: CreateAllLog End [2025-03-20 00:37:04] Production.INFO: Account Balance End. [2025-03-20 00:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:37:04] Production.INFO: ==22706== Releasing lock... [2025-03-20 00:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:37:05 [end_date_ymd] => 2025-03-20 00:37:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:37:05' and `end` < '2025-03-20 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-03-20 00:37:10] Production.ERROR: CronJobId end10 [2025-03-20 00:37:10] Production.INFO: ==22704== Releasing lock... [2025-03-20 00:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:37:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:37:13] Production.INFO: call_cost start [2025-03-20 00:37:13] Production.INFO: call_cost end [2025-03-20 00:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:37:14] Production.INFO: ==22700== Releasing lock... [2025-03-20 00:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:37:17] Production.INFO: count ==712 [2025-03-20 00:37:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:37:05 - End Time 2025-03-20 00:37:05 [2025-03-20 00:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719212', 'tblTempUsageDetail_20' ) start [2025-03-20 00:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719212', 'tblTempUsageDetail_20' ) end [2025-03-20 00:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719212', 'tblTempVendorCDR_20' ) start [2025-03-20 00:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719212', 'tblTempVendorCDR_20' ) end [2025-03-20 00:37:17] Production.INFO: ProcessCDR(1,14719212,1,1,2) [2025-03-20 00:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719212', 'tblTempUsageDetail_20' ) start [2025-03-20 00:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719212', 'tblTempUsageDetail_20' ) end [2025-03-20 00:37:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:37:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:37:22] Production.INFO: ==22708== Releasing lock... [2025-03-20 00:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:37:22] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 04:38:02] Production.INFO: ==22769== Lock acquired, processing the job... [2025-03-20 04:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:38:02] Production.INFO: neon service started [2025-03-20 04:38:02] Production.INFO: neon service started [2025-03-20 04:38:02] Production.INFO: ==22769== Releasing lock... [2025-03-20 04:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:38:02] Production.INFO: ==22771== Lock acquired, processing the job... [2025-03-20 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:38:02] Production.INFO: ==22771== Releasing lock... [2025-03-20 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:38:02] Production.INFO: ==22773== Lock acquired, processing the job... [2025-03-20 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:38:02] Production.INFO: ==22773== Releasing lock... [2025-03-20 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:38:03] Production.INFO: ==22775== Lock acquired, processing the job... [2025-03-20 00:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:38:03] Production.INFO: ==22777== Lock acquired, processing the job... [2025-03-20 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:38:03] Production.INFO: ==22781== Lock acquired, processing the job... [2025-03-20 00:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:38:03] Production.INFO: Account Balance Start. [2025-03-20 00:38:03] Production.INFO: CreateAllLog Start [2025-03-20 00:38:03] Production.INFO: 117 [2025-03-20 00:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:03] Production.INFO: ==22779== Lock acquired, processing the job... [2025-03-20 00:38:04] Production.INFO: ==22777== Releasing lock... [2025-03-20 00:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:38:04] Production.INFO: ==22783== Lock acquired, processing the job... [2025-03-20 00:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:38:04] Production.INFO: ==22785== Lock acquired, processing the job... [2025-03-20 00:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:04] Production.INFO: count ==12 [2025-03-20 00:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:38:04] Production.INFO: count ==23 [2025-03-20 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719216') start [2025-03-20 00:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:38:04] Production.INFO: Total Charge 0 [2025-03-20 00:38:04] Production.INFO: CreateAllLog End [2025-03-20 00:38:04] Production.ERROR: done [2025-03-20 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719216') end [2025-03-20 00:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:38:04] Production.INFO: 1 [2025-03-20 00:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:38:04] Production.INFO: ==22785== Releasing lock... [2025-03-20 00:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:38:04] Production.INFO: Account Balance End. [2025-03-20 00:38:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:38:05] Production.INFO: ==22781== Releasing lock... [2025-03-20 00:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:38:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:38:05] Production.ERROR: done [2025-03-20 00:38:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:38:06 [end_date_ymd] => 2025-03-20 00:38:06 [RateCDR] => 1 ) [2025-03-20 00:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:38:06' and `end` < '2025-03-20 00:38:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:38:12] Production.ERROR: CronJobId end10 [2025-03-20 00:38:12] Production.INFO: ==22779== Releasing lock... [2025-03-20 00:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:38:15] Production.INFO: call_cost start [2025-03-20 00:38:15] Production.INFO: call_cost end [2025-03-20 00:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:38:16] Production.INFO: ==22775== Releasing lock... [2025-03-20 00:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:38:18] Production.INFO: count ==719 [2025-03-20 00:38:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:38:06 - End Time 2025-03-20 00:38:06 [2025-03-20 00:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719217', 'tblTempUsageDetail_20' ) start [2025-03-20 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719217', 'tblTempUsageDetail_20' ) end [2025-03-20 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719217', 'tblTempVendorCDR_20' ) start [2025-03-20 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719217', 'tblTempVendorCDR_20' ) end [2025-03-20 00:38:18] Production.INFO: ProcessCDR(1,14719217,1,1,2) [2025-03-20 00:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719217', 'tblTempUsageDetail_20' ) start [2025-03-20 00:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719217', 'tblTempUsageDetail_20' ) end [2025-03-20 00:38:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:38:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:38:23] Production.INFO: ==22783== Releasing lock... [2025-03-20 00:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:38:23] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:39:01] Production.INFO: ==22841== Lock acquired, processing the job... [2025-03-20 04:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:39:01] Production.INFO: neon service started [2025-03-20 04:39:01] Production.INFO: neon service started [2025-03-20 04:39:01] Production.INFO: ==22841== Releasing lock... [2025-03-20 04:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:39:01] Production.INFO: ==22843== Lock acquired, processing the job... [2025-03-20 00:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:39:02] Production.INFO: ==22843== Releasing lock... [2025-03-20 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:39:02] Production.INFO: ==22845== Lock acquired, processing the job... [2025-03-20 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:39:02] Production.INFO: ==22845== Releasing lock... [2025-03-20 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:39:03] Production.INFO: ==22857== Lock acquired, processing the job... [2025-03-20 00:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:39:03] Production.INFO: ==22847== Lock acquired, processing the job... [2025-03-20 00:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:39:03] Production.INFO: ==22849== Lock acquired, processing the job... [2025-03-20 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:39:03] Production.INFO: ==22851== Lock acquired, processing the job... [2025-03-20 00:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:39:03] Production.INFO: ==22859== Lock acquired, processing the job... [2025-03-20 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:39:03] Production.INFO: ==22853== Lock acquired, processing the job... [2025-03-20 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:39:03] Production.INFO: Account Balance Start. [2025-03-20 00:39:03] Production.INFO: CreateAllLog Start [2025-03-20 00:39:03] Production.INFO: 117 [2025-03-20 00:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:39:03] Production.INFO: count ==12 [2025-03-20 00:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:39:03] Production.INFO: count ==23 [2025-03-20 00:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719220') start [2025-03-20 00:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:39:03] Production.ERROR: done [2025-03-20 00:39:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:39:03] Production.INFO: ==22849== Releasing lock... [2025-03-20 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:39:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:39:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:39:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:39:03] Production.ERROR: done [2025-03-20 00:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719220') end [2025-03-20 00:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:39:03] Production.INFO: 1 [2025-03-20 00:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:39:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:39:03] Production.INFO: ==22859== Releasing lock... [2025-03-20 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:39:04] Production.INFO: Total Charge 0 [2025-03-20 00:39:04] Production.INFO: CreateAllLog End [2025-03-20 00:39:04] Production.INFO: Account Balance End. [2025-03-20 00:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:39:04] Production.INFO: ==22853== Releasing lock... [2025-03-20 00:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:39:05 [end_date_ymd] => 2025-03-20 00:39:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:39:05' and `end` < '2025-03-20 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-03-20 00:39:11] Production.ERROR: CronJobId end10 [2025-03-20 00:39:11] Production.INFO: ==22851== Releasing lock... [2025-03-20 00:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:39:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:39:14] Production.INFO: call_cost start [2025-03-20 00:39:14] Production.INFO: call_cost end [2025-03-20 00:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:39:15] Production.INFO: ==22847== Releasing lock... [2025-03-20 00:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:39:17] Production.INFO: count ==718 [2025-03-20 00:39:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:39:05 - End Time 2025-03-20 00:39:05 [2025-03-20 00:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719222', 'tblTempUsageDetail_20' ) start [2025-03-20 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719222', 'tblTempUsageDetail_20' ) end [2025-03-20 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719222', 'tblTempVendorCDR_20' ) start [2025-03-20 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719222', 'tblTempVendorCDR_20' ) end [2025-03-20 00:39:17] Production.INFO: ProcessCDR(1,14719222,1,1,2) [2025-03-20 00:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719222', 'tblTempUsageDetail_20' ) start [2025-03-20 00:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719222', 'tblTempUsageDetail_20' ) end [2025-03-20 00:39:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:39:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:39:20] Production.INFO: ==22857== Releasing lock... [2025-03-20 00:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:39:20] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 04:40:01] Production.INFO: ==22915== Lock acquired, processing the job... [2025-03-20 04:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:40:01] Production.INFO: neon service started [2025-03-20 04:40:01] Production.INFO: neon service started [2025-03-20 04:40:01] Production.INFO: ==22915== Releasing lock... [2025-03-20 04:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:40:02] Production.INFO: ==22917== Lock acquired, processing the job... [2025-03-20 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:40:02] Production.INFO: ==22917== Releasing lock... [2025-03-20 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:40:02] Production.INFO: ==22919== Lock acquired, processing the job... [2025-03-20 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:40:02] Production.INFO: ==22919== Releasing lock... [2025-03-20 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:40:03] Production.INFO: ==22921== Lock acquired, processing the job... [2025-03-20 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 00:40:03] Production.INFO: ==22923== Lock acquired, processing the job... [2025-03-20 00:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 00:40:03] Production.INFO: ==22925== Lock acquired, processing the job... [2025-03-20 00:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 00:40:03] Production.INFO: ==22921== Releasing lock... [2025-03-20 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 00:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 00:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:40:03] Production.INFO: ==22927== Lock acquired, processing the job... [2025-03-20 00:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:40:04] Production.INFO: ==22925== Releasing lock... [2025-03-20 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:40:04] Production.INFO: ==22929== Lock acquired, processing the job... [2025-03-20 00:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:40:04] Production.INFO: ==22932== Lock acquired, processing the job... [2025-03-20 00:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:40:04] Production.INFO: Account Balance Start. [2025-03-20 00:40:04] Production.INFO: CreateAllLog Start [2025-03-20 00:40:04] Production.INFO: 117 [2025-03-20 00:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.INFO: ==22934== Lock acquired, processing the job... [2025-03-20 00:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 00:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.INFO: ==22936== Lock acquired, processing the job... [2025-03-20 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.INFO: count ==12 [2025-03-20 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-03-20 00:40:04] Production.INFO: count ==23 [2025-03-20 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719226') start [2025-03-20 00:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.ERROR: done [2025-03-20 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719226') end [2025-03-20 00:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:40:04] Production.INFO: 1 [2025-03-20 00:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:40:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:40:04] Production.INFO: ==22936== Releasing lock... [2025-03-20 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:40:05] Production.ERROR: done [2025-03-20 00:40:05] Production.INFO: Total Charge 0 [2025-03-20 00:40:05] Production.ERROR: done [2025-03-20 00:40:05] Production.INFO: CreateAllLog End [2025-03-20 00:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 00:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719228', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 00:40:05] Production.INFO: Account Balance End. [2025-03-20 00:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:40:05] Production.INFO: ==22929== Releasing lock... [2025-03-20 00:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:40:06 [end_date_ymd] => 2025-03-20 00:40:06 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:40:06' and `end` < '2025-03-20 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-03-20 00:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719228', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 00:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 00:40:09] Production.INFO: ProcessCDR(1,14719228,1,1,2) [2025-03-20 00:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719228,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719228,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:40:09] Production.INFO: ==22934== Releasing lock... [2025-03-20 00:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 00:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 00:40:13] Production.ERROR: CronJobId end10 [2025-03-20 00:40:13] Production.INFO: ==22927== Releasing lock... [2025-03-20 00:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:40:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:40:16] Production.INFO: call_cost start [2025-03-20 00:40:16] Production.INFO: call_cost end [2025-03-20 00:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:40:17] Production.INFO: ==22923== Releasing lock... [2025-03-20 00:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:40:18] Production.INFO: count ==729 [2025-03-20 00:40:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:40:06 - End Time 2025-03-20 00:40:06 [2025-03-20 00:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719227', 'tblTempUsageDetail_20' ) start [2025-03-20 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719227', 'tblTempUsageDetail_20' ) end [2025-03-20 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719227', 'tblTempVendorCDR_20' ) start [2025-03-20 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719227', 'tblTempVendorCDR_20' ) end [2025-03-20 00:40:18] Production.INFO: ProcessCDR(1,14719227,1,1,2) [2025-03-20 00:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719227', 'tblTempUsageDetail_20' ) start [2025-03-20 00:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719227', 'tblTempUsageDetail_20' ) end [2025-03-20 00:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:40:21] Production.INFO: ==22932== Releasing lock... [2025-03-20 00:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:40:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:41:02] Production.INFO: ==22990== Lock acquired, processing the job... [2025-03-20 04:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:41:02] Production.INFO: neon service started [2025-03-20 04:41:02] Production.INFO: neon service started [2025-03-20 04:41:02] Production.INFO: ==22990== Releasing lock... [2025-03-20 04:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:41:02] Production.INFO: ==22992== Lock acquired, processing the job... [2025-03-20 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:41:02] Production.INFO: ==22992== Releasing lock... [2025-03-20 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:41:03] Production.INFO: ==22994== Lock acquired, processing the job... [2025-03-20 04:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:41:03] Production.INFO: ==22994== Releasing lock... [2025-03-20 04:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:41:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:41:03] Production.INFO: ==23001== Lock acquired, processing the job... [2025-03-20 00:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:41:03] Production.INFO: ==23006== Lock acquired, processing the job... [2025-03-20 00:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:41:04] Production.INFO: ==22996== Lock acquired, processing the job... [2025-03-20 00:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:41:04] Production.INFO: ==23008== Lock acquired, processing the job... [2025-03-20 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:41:04] Production.INFO: ==22998== Lock acquired, processing the job... [2025-03-20 00:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:41:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:41:04] Production.INFO: ==23004== Lock acquired, processing the job... [2025-03-20 00:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:41:04] Production.INFO: Account Balance Start. [2025-03-20 00:41:04] Production.INFO: CreateAllLog Start [2025-03-20 00:41:04] Production.INFO: 117 [2025-03-20 00:41:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:04] Production.INFO: count ==12 [2025-03-20 00:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:41:04] Production.INFO: count ==23 [2025-03-20 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719230') start [2025-03-20 00:41:04] Production.ERROR: done [2025-03-20 00:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719230') end [2025-03-20 00:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:41:04] Production.INFO: 1 [2025-03-20 00:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:41:04] Production.INFO: ==23008== Releasing lock... [2025-03-20 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:41:04] Production.ERROR: done [2025-03-20 00:41:04] Production.INFO: ==22998== Releasing lock... [2025-03-20 00:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:05] Production.INFO: Date 2025-03-17 [2025-03-20 00:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:41:05] Production.INFO: Total Charge 0 [2025-03-20 00:41:05] Production.INFO: CreateAllLog End [2025-03-20 00:41:05] Production.INFO: Account Balance End. [2025-03-20 00:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:41:05] Production.INFO: ==23004== Releasing lock... [2025-03-20 00:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:41:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:41:06 [end_date_ymd] => 2025-03-20 00:41:06 [RateCDR] => 1 ) [2025-03-20 00: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-03-19 21:41:06' and `end` < '2025-03-20 00: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-03-20 00:41:12] Production.ERROR: CronJobId end10 [2025-03-20 00:41:12] Production.INFO: ==23001== Releasing lock... [2025-03-20 00:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:41:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:41:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:41:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:41:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:41:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:41:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:41:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:41:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:41:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:41:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:41:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:41:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:41:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:41:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:41:16] Production.INFO: call_cost start [2025-03-20 00:41:16] Production.INFO: call_cost end [2025-03-20 00:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:41:16] Production.INFO: ==22996== Releasing lock... [2025-03-20 00:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:41:18] Production.INFO: count ==736 [2025-03-20 00:41:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:41:06 - End Time 2025-03-20 00:41:06 [2025-03-20 00:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719233', 'tblTempUsageDetail_20' ) start [2025-03-20 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719233', 'tblTempUsageDetail_20' ) end [2025-03-20 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719233', 'tblTempVendorCDR_20' ) start [2025-03-20 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719233', 'tblTempVendorCDR_20' ) end [2025-03-20 00:41:18] Production.INFO: ProcessCDR(1,14719233,1,1,2) [2025-03-20 00:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719233', 'tblTempUsageDetail_20' ) start [2025-03-20 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719233', 'tblTempUsageDetail_20' ) end [2025-03-20 00:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:41:21] Production.INFO: ==23006== Releasing lock... [2025-03-20 00:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:41:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:42:01] Production.INFO: ==23100== Lock acquired, processing the job... [2025-03-20 04:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:42:01] Production.INFO: neon service started [2025-03-20 04:42:01] Production.INFO: neon service started [2025-03-20 04:42:01] Production.INFO: ==23100== Releasing lock... [2025-03-20 04:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:42:02] Production.INFO: ==23102== Lock acquired, processing the job... [2025-03-20 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:42:02] Production.INFO: ==23102== Releasing lock... [2025-03-20 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:42:02] Production.INFO: ==23104== Lock acquired, processing the job... [2025-03-20 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:42:02] Production.INFO: ==23104== Releasing lock... [2025-03-20 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:42:03] Production.INFO: ==23114== Lock acquired, processing the job... [2025-03-20 00:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:42:03] Production.INFO: ==23106== Lock acquired, processing the job... [2025-03-20 00:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:42:03] Production.INFO: ==23117== Lock acquired, processing the job... [2025-03-20 00:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:42:03] Production.INFO: ==23108== Lock acquired, processing the job... [2025-03-20 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:42:03] Production.INFO: ==23112== Lock acquired, processing the job... [2025-03-20 00:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:42:03] Production.INFO: ==23110== Lock acquired, processing the job... [2025-03-20 00:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:42:03] Production.INFO: count ==12 [2025-03-20 00:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00: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-03-20 00:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:42:03] Production.INFO: Account Balance Start. [2025-03-20 00:42:03] Production.INFO: CreateAllLog Start [2025-03-20 00:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:42:03] Production.INFO: count ==23 [2025-03-20 00:42:03] Production.INFO: 117 [2025-03-20 00:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719234') start [2025-03-20 00:42:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:03] Production.ERROR: done [2025-03-20 00:42:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719234') end [2025-03-20 00:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:42:04] Production.INFO: 1 [2025-03-20 00:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: ==23117== Releasing lock... [2025-03-20 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:42:04] Production.INFO: ==23108== Releasing lock... [2025-03-20 00:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:42:04] Production.ERROR: done [2025-03-20 00:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:42:04] Production.INFO: Total Charge 0 [2025-03-20 00:42:04] Production.INFO: CreateAllLog End [2025-03-20 00:42:04] Production.INFO: Account Balance End. [2025-03-20 00:42:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:42:04] Production.INFO: ==23112== Releasing lock... [2025-03-20 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:42:05 [end_date_ymd] => 2025-03-20 00:42:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:42:05' and `end` < '2025-03-20 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-03-20 00:42:12] Production.ERROR: CronJobId end10 [2025-03-20 00:42:12] Production.INFO: ==23110== Releasing lock... [2025-03-20 00:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:42:15] Production.INFO: call_cost start [2025-03-20 00:42:15] Production.INFO: call_cost end [2025-03-20 00:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:42:16] Production.INFO: ==23106== Releasing lock... [2025-03-20 00:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:42:17] Production.INFO: count ==737 [2025-03-20 00:42:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:42:05 - End Time 2025-03-20 00:42:05 [2025-03-20 00:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719238', 'tblTempUsageDetail_20' ) start [2025-03-20 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719238', 'tblTempUsageDetail_20' ) end [2025-03-20 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719238', 'tblTempVendorCDR_20' ) start [2025-03-20 00:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719238', 'tblTempVendorCDR_20' ) end [2025-03-20 00:42:18] Production.INFO: ProcessCDR(1,14719238,1,1,2) [2025-03-20 00:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719238', 'tblTempUsageDetail_20' ) start [2025-03-20 00:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719238', 'tblTempUsageDetail_20' ) end [2025-03-20 00:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:42:21] Production.INFO: ==23114== Releasing lock... [2025-03-20 00:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:42:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:43:02] Production.INFO: ==23176== Lock acquired, processing the job... [2025-03-20 04:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:43:02] Production.INFO: neon service started [2025-03-20 04:43:02] Production.INFO: neon service started [2025-03-20 04:43:02] Production.INFO: ==23176== Releasing lock... [2025-03-20 04:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:43:02] Production.INFO: ==23178== Lock acquired, processing the job... [2025-03-20 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:43:03] Production.INFO: ==23180== Lock acquired, processing the job... [2025-03-20 04:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:43:03] Production.INFO: ==23178== Releasing lock... [2025-03-20 00:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:43:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:43:03] Production.INFO: ==23180== Releasing lock... [2025-03-20 04:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:43:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:43:04] Production.INFO: ==23182== Lock acquired, processing the job... [2025-03-20 00:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:43:04] Production.INFO: ==23188== Lock acquired, processing the job... [2025-03-20 00:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:43:04] Production.INFO: ==23193== Lock acquired, processing the job... [2025-03-20 00:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:43:04] Production.INFO: ==23184== Lock acquired, processing the job... [2025-03-20 00:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:43:04] Production.INFO: ==23186== Lock acquired, processing the job... [2025-03-20 00:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:43:04] Production.INFO: Account Balance Start. [2025-03-20 00:43:04] Production.INFO: CreateAllLog Start [2025-03-20 00:43:04] Production.INFO: 117 [2025-03-20 00:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.INFO: ==23190== Lock acquired, processing the job... [2025-03-20 00:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.INFO: count ==12 [2025-03-20 00:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:43:04] Production.INFO: count ==23 [2025-03-20 00:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719240') start [2025-03-20 00:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.INFO: ==23184== Releasing lock... [2025-03-20 00:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719240') end [2025-03-20 00:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:43:04] Production.INFO: 1 [2025-03-20 00:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:43:04] Production.INFO: ==23193== Releasing lock... [2025-03-20 00:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.ERROR: done [2025-03-20 00:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:43:04] Production.INFO: Total Charge 0 [2025-03-20 00:43:04] Production.INFO: CreateAllLog End [2025-03-20 00:43:05] Production.ERROR: done [2025-03-20 00:43:05] Production.INFO: Account Balance End. [2025-03-20 00:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:43:05] Production.INFO: ==23188== Releasing lock... [2025-03-20 00:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:43:05 [end_date_ymd] => 2025-03-20 00:43:05 [RateCDR] => 1 ) [2025-03-20 00:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:43:05' and `end` < '2025-03-20 00:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:43:12] Production.ERROR: CronJobId end10 [2025-03-20 00:43:12] Production.INFO: ==23186== Releasing lock... [2025-03-20 00:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:43:15] Production.INFO: call_cost start [2025-03-20 00:43:15] Production.INFO: call_cost end [2025-03-20 00:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:43:16] Production.INFO: ==23182== Releasing lock... [2025-03-20 00:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:43:18] Production.INFO: count ==735 [2025-03-20 00:43:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:43:05 - End Time 2025-03-20 00:43:05 [2025-03-20 00:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719243', 'tblTempUsageDetail_20' ) start [2025-03-20 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719243', 'tblTempUsageDetail_20' ) end [2025-03-20 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719243', 'tblTempVendorCDR_20' ) start [2025-03-20 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719243', 'tblTempVendorCDR_20' ) end [2025-03-20 00:43:18] Production.INFO: ProcessCDR(1,14719243,1,1,2) [2025-03-20 00:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719243', 'tblTempUsageDetail_20' ) start [2025-03-20 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719243', 'tblTempUsageDetail_20' ) end [2025-03-20 00:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:43:21] Production.INFO: ==23190== Releasing lock... [2025-03-20 00:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:43:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 04:44:01] Production.INFO: ==23249== Lock acquired, processing the job... [2025-03-20 04:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:44:01] Production.INFO: neon service started [2025-03-20 04:44:01] Production.INFO: neon service started [2025-03-20 04:44:01] Production.INFO: ==23249== Releasing lock... [2025-03-20 04:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:44:02] Production.INFO: ==23251== Lock acquired, processing the job... [2025-03-20 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:44:02] Production.INFO: ==23251== Releasing lock... [2025-03-20 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:44:02] Production.INFO: ==23253== Lock acquired, processing the job... [2025-03-20 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:44:02] Production.INFO: ==23253== Releasing lock... [2025-03-20 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:44:03] Production.INFO: ==23258== Lock acquired, processing the job... [2025-03-20 00:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:44:03] Production.INFO: ==23260== Lock acquired, processing the job... [2025-03-20 00:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:44:03] Production.INFO: ==23256== Lock acquired, processing the job... [2025-03-20 00:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:44:03] Production.INFO: ==23262== Lock acquired, processing the job... [2025-03-20 00:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:44:03] Production.INFO: Account Balance Start. [2025-03-20 00:44:03] Production.INFO: CreateAllLog Start [2025-03-20 00:44:03] Production.INFO: 117 [2025-03-20 00:44:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:03] Production.INFO: ==23266== Lock acquired, processing the job... [2025-03-20 00:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:44:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:44:03] Production.INFO: ==23264== Lock acquired, processing the job... [2025-03-20 00:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:03] Production.INFO: ==23258== Releasing lock... [2025-03-20 00:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:44:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 00: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-03-20 00:44:03] Production.INFO: count ==12 [2025-03-20 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-03-20 00:44:04] Production.INFO: count ==23 [2025-03-20 00:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719247') start [2025-03-20 00:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:04] Production.ERROR: done [2025-03-20 00:44:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719247') end [2025-03-20 00:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:44:04] Production.INFO: 1 [2025-03-20 00:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:04] Production.INFO: ==23266== Releasing lock... [2025-03-20 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:44:04] Production.ERROR: done [2025-03-20 00:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:44:04] Production.INFO: Total Charge 0 [2025-03-20 00:44:04] Production.INFO: CreateAllLog End [2025-03-20 00:44:04] Production.INFO: Account Balance End. [2025-03-20 00:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:44:04] Production.INFO: ==23262== Releasing lock... [2025-03-20 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:44:05 [end_date_ymd] => 2025-03-20 00:44:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:44:05' and `end` < '2025-03-20 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-03-20 00:44:11] Production.ERROR: CronJobId end10 [2025-03-20 00:44:11] Production.INFO: ==23260== Releasing lock... [2025-03-20 00:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:44:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:44:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:44:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:44:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:44:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:44:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:44:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:44:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:44:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:44:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:44:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:44:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:44:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:44:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:44:14] Production.INFO: call_cost start [2025-03-20 00:44:14] Production.INFO: call_cost end [2025-03-20 00:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:44:15] Production.INFO: ==23256== Releasing lock... [2025-03-20 00:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:44:17] Production.INFO: count ==736 [2025-03-20 00:44:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:44:05 - End Time 2025-03-20 00:44:05 [2025-03-20 00:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719248', 'tblTempUsageDetail_20' ) start [2025-03-20 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719248', 'tblTempUsageDetail_20' ) end [2025-03-20 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719248', 'tblTempVendorCDR_20' ) start [2025-03-20 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719248', 'tblTempVendorCDR_20' ) end [2025-03-20 00:44:18] Production.INFO: ProcessCDR(1,14719248,1,1,2) [2025-03-20 00:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719248', 'tblTempUsageDetail_20' ) start [2025-03-20 00:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719248', 'tblTempUsageDetail_20' ) end [2025-03-20 00:44:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:44:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:44:23] Production.INFO: ==23264== Releasing lock... [2025-03-20 00:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:44:23] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:45:02] Production.INFO: ==23327== Lock acquired, processing the job... [2025-03-20 04:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:45:02] Production.INFO: neon service started [2025-03-20 04:45:02] Production.INFO: neon service started [2025-03-20 04:45:02] Production.INFO: ==23327== Releasing lock... [2025-03-20 04:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:45:02] Production.INFO: ==23331== Lock acquired, processing the job... [2025-03-20 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:45:02] Production.INFO: ==23331== Releasing lock... [2025-03-20 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:45:02] Production.INFO: ==23329== Lock acquired, processing the job... [2025-03-20 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:45:03] Production.INFO: ==23329== Releasing lock... [2025-03-20 00:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:45:03] Production.INFO: ==23336== Lock acquired, processing the job... [2025-03-20 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:45:04] Production.INFO: ==23340== Lock acquired, processing the job... [2025-03-20 00:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:45:04] Production.INFO: ==23334== Lock acquired, processing the job... [2025-03-20 00:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:45:04] Production.INFO: Account Balance Start. [2025-03-20 00:45:04] Production.INFO: CreateAllLog Start [2025-03-20 00:45:04] Production.INFO: 117 [2025-03-20 00:45:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:04] Production.INFO: ==23336== Releasing lock... [2025-03-20 00:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:45:04] Production.INFO: ==23338== Lock acquired, processing the job... [2025-03-20 00:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:04] Production.INFO: ==23342== Lock acquired, processing the job... [2025-03-20 00:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:45:04] Production.INFO: ==23344== Lock acquired, processing the job... [2025-03-20 00:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 00: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-03-20 00:45:04] Production.INFO: count ==12 [2025-03-20 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-03-20 00:45:04] Production.INFO: count ==23 [2025-03-20 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719252') start [2025-03-20 00:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:04] Production.ERROR: done [2025-03-20 00:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719252') end [2025-03-20 00:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:45:04] Production.INFO: 1 [2025-03-20 00:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:04] Production.INFO: ==23344== Releasing lock... [2025-03-20 00:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:45:05] Production.ERROR: done [2025-03-20 00:45:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:45:05] Production.INFO: Total Charge 0 [2025-03-20 00:45:05] Production.INFO: CreateAllLog End [2025-03-20 00:45:05] Production.INFO: Account Balance End. [2025-03-20 00:45:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:45:05] Production.INFO: ==23340== Releasing lock... [2025-03-20 00:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:45:06 [end_date_ymd] => 2025-03-20 00:45:06 [RateCDR] => 1 ) [2025-03-20 00:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:45:06' and `end` < '2025-03-20 00:45:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:45:13] Production.ERROR: CronJobId end10 [2025-03-20 00:45:13] Production.INFO: ==23338== Releasing lock... [2025-03-20 00:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:45:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:45:16] Production.INFO: call_cost start [2025-03-20 00:45:16] Production.INFO: call_cost end [2025-03-20 00:45:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:45:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:45:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:45:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:45:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:45:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:45:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:45:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:45:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:45:17] Production.INFO: ==23334== Releasing lock... [2025-03-20 00:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:45:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:45:18] Production.INFO: count ==735 [2025-03-20 00:45:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:45:06 - End Time 2025-03-20 00:45:06 [2025-03-20 00:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719253', 'tblTempUsageDetail_20' ) start [2025-03-20 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719253', 'tblTempUsageDetail_20' ) end [2025-03-20 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719253', 'tblTempVendorCDR_20' ) start [2025-03-20 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719253', 'tblTempVendorCDR_20' ) end [2025-03-20 00:45:18] Production.INFO: ProcessCDR(1,14719253,1,1,2) [2025-03-20 00:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719253', 'tblTempUsageDetail_20' ) start [2025-03-20 00:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719253', 'tblTempUsageDetail_20' ) end [2025-03-20 00:45:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:45:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:45:23] Production.INFO: ==23342== Releasing lock... [2025-03-20 00:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:45:23] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:46:01] Production.INFO: ==23402== Lock acquired, processing the job... [2025-03-20 04:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:46:01] Production.INFO: neon service started [2025-03-20 04:46:01] Production.INFO: neon service started [2025-03-20 04:46:01] Production.INFO: ==23402== Releasing lock... [2025-03-20 04:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:46:02] Production.INFO: ==23404== Lock acquired, processing the job... [2025-03-20 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:46:02] Production.INFO: ==23406== Lock acquired, processing the job... [2025-03-20 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:46:02] Production.INFO: ==23406== Releasing lock... [2025-03-20 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:46:02] Production.INFO: ==23404== Releasing lock... [2025-03-20 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:46:03] Production.INFO: ==23413== Lock acquired, processing the job... [2025-03-20 00:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:46:03] Production.INFO: ==23419== Lock acquired, processing the job... [2025-03-20 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:46:03] Production.INFO: count ==12 [2025-03-20 00:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:46:03] Production.INFO: ==23409== Lock acquired, processing the job... [2025-03-20 00:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:46:03] Production.INFO: count ==23 [2025-03-20 00:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719254') start [2025-03-20 00:46:03] Production.INFO: ==23411== Lock acquired, processing the job... [2025-03-20 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:46:03] Production.INFO: ==23415== Lock acquired, processing the job... [2025-03-20 00:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719254') end [2025-03-20 00:46:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:46:03] Production.INFO: 1 [2025-03-20 00:46:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:46:04] Production.INFO: ==23417== Lock acquired, processing the job... [2025-03-20 00:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:46:04] Production.INFO: ==23419== Releasing lock... [2025-03-20 00:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:46:04] Production.INFO: Account Balance Start. [2025-03-20 00:46:04] Production.INFO: CreateAllLog Start [2025-03-20 00:46:04] Production.INFO: 117 [2025-03-20 00:46:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.INFO: ==23411== Releasing lock... [2025-03-20 00:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.ERROR: done [2025-03-20 00:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.ERROR: done [2025-03-20 00:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:46:04] Production.INFO: Total Charge 0 [2025-03-20 00:46:04] Production.INFO: CreateAllLog End [2025-03-20 00:46:04] Production.INFO: Account Balance End. [2025-03-20 00:46:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:46:04] Production.INFO: ==23415== Releasing lock... [2025-03-20 00:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:46:05 [end_date_ymd] => 2025-03-20 00:46:05 [RateCDR] => 1 ) [2025-03-20 00:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:46:05' and `end` < '2025-03-20 00:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:46:11] Production.ERROR: CronJobId end10 [2025-03-20 00:46:11] Production.INFO: ==23413== Releasing lock... [2025-03-20 00:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:46:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:46:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:46:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:46:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:46:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:46:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:46:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:46:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:46:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:46:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:46:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:46:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:46:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:46:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:46:14] Production.INFO: call_cost start [2025-03-20 00:46:14] Production.INFO: call_cost end [2025-03-20 00:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:46:15] Production.INFO: ==23409== Releasing lock... [2025-03-20 00:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:46:17] Production.INFO: count ==733 [2025-03-20 00:46:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:46:05 - End Time 2025-03-20 00:46:05 [2025-03-20 00:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719258', 'tblTempUsageDetail_20' ) start [2025-03-20 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719258', 'tblTempUsageDetail_20' ) end [2025-03-20 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719258', 'tblTempVendorCDR_20' ) start [2025-03-20 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719258', 'tblTempVendorCDR_20' ) end [2025-03-20 00:46:18] Production.INFO: ProcessCDR(1,14719258,1,1,2) [2025-03-20 00:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719258', 'tblTempUsageDetail_20' ) start [2025-03-20 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719258', 'tblTempUsageDetail_20' ) end [2025-03-20 00:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:46:21] Production.INFO: ==23417== Releasing lock... [2025-03-20 00:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:46:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:47:02] Production.INFO: ==23477== Lock acquired, processing the job... [2025-03-20 04:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:47:02] Production.INFO: neon service started [2025-03-20 04:47:02] Production.INFO: neon service started [2025-03-20 04:47:02] Production.INFO: ==23477== Releasing lock... [2025-03-20 04:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:47:02] Production.INFO: ==23479== Lock acquired, processing the job... [2025-03-20 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:47:02] Production.INFO: ==23479== Releasing lock... [2025-03-20 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:47:02] Production.INFO: ==23481== Lock acquired, processing the job... [2025-03-20 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:47:02] Production.INFO: ==23481== Releasing lock... [2025-03-20 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:47:03] Production.INFO: ==23484== Lock acquired, processing the job... [2025-03-20 00:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:47:03] Production.INFO: ==23486== Lock acquired, processing the job... [2025-03-20 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:47:03] Production.INFO: ==23494== Lock acquired, processing the job... [2025-03-20 00:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:47:03] Production.INFO: ==23488== Lock acquired, processing the job... [2025-03-20 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-03-20 00:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:47:03] Production.INFO: count ==12 [2025-03-20 00:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:47:03] Production.INFO: ==23492== Lock acquired, processing the job... [2025-03-20 00:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:47:03] Production.INFO: count ==23 [2025-03-20 00:47:03] Production.INFO: ==23490== Lock acquired, processing the job... [2025-03-20 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719260') start [2025-03-20 00:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719260') end [2025-03-20 00:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:47:04] Production.INFO: 1 [2025-03-20 00:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:47:04] Production.INFO: Account Balance Start. [2025-03-20 00:47:04] Production.INFO: CreateAllLog Start [2025-03-20 00:47:04] Production.INFO: 117 [2025-03-20 00:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.INFO: ==23494== Releasing lock... [2025-03-20 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:47:04] Production.INFO: ==23486== Releasing lock... [2025-03-20 00:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.ERROR: done [2025-03-20 00:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.ERROR: done [2025-03-20 00:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:47:04] Production.INFO: Total Charge 0 [2025-03-20 00:47:05] Production.INFO: CreateAllLog End [2025-03-20 00:47:05] Production.INFO: Account Balance End. [2025-03-20 00:47:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:47:05] Production.INFO: ==23490== Releasing lock... [2025-03-20 00:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:47:05 [end_date_ymd] => 2025-03-20 00:47:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:47:05' and `end` < '2025-03-20 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-03-20 00:47:11] Production.ERROR: CronJobId end10 [2025-03-20 00:47:11] Production.INFO: ==23488== Releasing lock... [2025-03-20 00:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:47:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:47:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:47:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:47:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:47:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:47:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:47:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:47:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:47:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:47:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:47:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:47:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:47:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:47:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:47:13] Production.INFO: call_cost start [2025-03-20 00:47:13] Production.INFO: call_cost end [2025-03-20 00:47:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:47:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:47:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:47:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:47:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:47:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:47:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:47:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:47:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:47:14] Production.INFO: ==23484== Releasing lock... [2025-03-20 00:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:47:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:47:17] Production.INFO: count ==732 [2025-03-20 00:47:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:47:05 - End Time 2025-03-20 00:47:05 [2025-03-20 00:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719263', 'tblTempUsageDetail_20' ) start [2025-03-20 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719263', 'tblTempUsageDetail_20' ) end [2025-03-20 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719263', 'tblTempVendorCDR_20' ) start [2025-03-20 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719263', 'tblTempVendorCDR_20' ) end [2025-03-20 00:47:18] Production.INFO: ProcessCDR(1,14719263,1,1,2) [2025-03-20 00:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719263', 'tblTempUsageDetail_20' ) start [2025-03-20 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719263', 'tblTempUsageDetail_20' ) end [2025-03-20 00:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:47:21] Production.INFO: ==23492== Releasing lock... [2025-03-20 00:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:47:21] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 04:48:01] Production.INFO: ==23550== Lock acquired, processing the job... [2025-03-20 04:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:48:01] Production.INFO: neon service started [2025-03-20 04:48:01] Production.INFO: neon service started [2025-03-20 04:48:01] Production.INFO: ==23550== Releasing lock... [2025-03-20 04:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:48:01] Production.INFO: ==23554== Lock acquired, processing the job... [2025-03-20 04:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:48:01] Production.INFO: ==23554== Releasing lock... [2025-03-20 04:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:48:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:48:02] Production.INFO: ==23552== Lock acquired, processing the job... [2025-03-20 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:48:02] Production.INFO: ==23552== Releasing lock... [2025-03-20 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:48:03] Production.INFO: ==23556== Lock acquired, processing the job... [2025-03-20 00:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:48:03] Production.INFO: ==23558== Lock acquired, processing the job... [2025-03-20 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:48:03] Production.INFO: ==23563== Lock acquired, processing the job... [2025-03-20 00:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:48:03] Production.INFO: ==23560== Lock acquired, processing the job... [2025-03-20 00:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:48:03] Production.INFO: ==23565== Lock acquired, processing the job... [2025-03-20 00:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:48:03] Production.INFO: Account Balance Start. [2025-03-20 00:48:03] Production.INFO: CreateAllLog Start [2025-03-20 00:48:03] Production.INFO: 117 [2025-03-20 00:48:03] Production.INFO: ==23558== Releasing lock... [2025-03-20 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:48:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:48:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:48:03] Production.INFO: ==23567== Lock acquired, processing the job... [2025-03-20 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:48:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:03] Production.INFO: count ==12 [2025-03-20 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-03-20 00:48:03] Production.INFO: count ==23 [2025-03-20 00:48:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719267') start [2025-03-20 00:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:04] Production.ERROR: done [2025-03-20 00:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719267') end [2025-03-20 00:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:48:04] Production.INFO: 1 [2025-03-20 00:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:48:04] Production.INFO: ==23567== Releasing lock... [2025-03-20 00:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:48:04] Production.ERROR: done [2025-03-20 00:48:04] Production.INFO: Total Charge 0 [2025-03-20 00:48:04] Production.INFO: CreateAllLog End [2025-03-20 00:48:04] Production.INFO: Account Balance End. [2025-03-20 00:48:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:48:04] Production.INFO: ==23563== Releasing lock... [2025-03-20 00:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:48:05 [end_date_ymd] => 2025-03-20 00:48:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:48:05' and `end` < '2025-03-20 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-03-20 00:48:10] Production.ERROR: CronJobId end10 [2025-03-20 00:48:10] Production.INFO: ==23560== Releasing lock... [2025-03-20 00:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:48:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:48:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:48:12] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:48:12] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:48:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:48:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:48:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:48:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:48:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:48:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:48:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:48:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:48:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:48:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:48:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:48:13] Production.INFO: call_cost start [2025-03-20 00:48:13] Production.INFO: call_cost end [2025-03-20 00:48:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:48:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:48:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:48:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:48:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:48:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:48:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:48:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:48:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:48:14] Production.INFO: ==23556== Releasing lock... [2025-03-20 00:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:48:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:48:17] Production.INFO: count ==732 [2025-03-20 00:48:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:48:05 - End Time 2025-03-20 00:48:05 [2025-03-20 00:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719268', 'tblTempUsageDetail_20' ) start [2025-03-20 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719268', 'tblTempUsageDetail_20' ) end [2025-03-20 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719268', 'tblTempVendorCDR_20' ) start [2025-03-20 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719268', 'tblTempVendorCDR_20' ) end [2025-03-20 00:48:18] Production.INFO: ProcessCDR(1,14719268,1,1,2) [2025-03-20 00:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719268', 'tblTempUsageDetail_20' ) start [2025-03-20 00:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719268', 'tblTempUsageDetail_20' ) end [2025-03-20 00:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:48:21] Production.INFO: ==23565== Releasing lock... [2025-03-20 00:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:48:21] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 04:49:01] Production.INFO: ==23623== Lock acquired, processing the job... [2025-03-20 04:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:49:01] Production.INFO: neon service started [2025-03-20 04:49:01] Production.INFO: neon service started [2025-03-20 04:49:01] Production.INFO: ==23623== Releasing lock... [2025-03-20 04:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:49:02] Production.INFO: ==23625== Lock acquired, processing the job... [2025-03-20 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:49:02] Production.INFO: ==23625== Releasing lock... [2025-03-20 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:49:02] Production.INFO: ==23627== Lock acquired, processing the job... [2025-03-20 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:49:02] Production.INFO: ==23627== Releasing lock... [2025-03-20 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:49:03] Production.INFO: ==23629== Lock acquired, processing the job... [2025-03-20 00:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:49:03] Production.INFO: ==23633== Lock acquired, processing the job... [2025-03-20 00:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:49:03] Production.INFO: ==23639== Lock acquired, processing the job... [2025-03-20 00:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:49:03] Production.INFO: ==23631== Lock acquired, processing the job... [2025-03-20 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 00:49:03] Production.INFO: count ==12 [2025-03-20 00:49:03] Production.INFO: ==23635== Lock acquired, processing the job... [2025-03-20 00:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 00:49:03] Production.INFO: count ==23 [2025-03-20 00:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719270') start [2025-03-20 00:49:03] Production.INFO: ==23637== Lock acquired, processing the job... [2025-03-20 00:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719270') end [2025-03-20 00:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:49:03] Production.INFO: 1 [2025-03-20 00:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:49:03] Production.INFO: Account Balance Start. [2025-03-20 00:49:03] Production.INFO: CreateAllLog Start [2025-03-20 00:49:03] Production.INFO: 117 [2025-03-20 00:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.INFO: ==23639== Releasing lock... [2025-03-20 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:49:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.INFO: ==23631== Releasing lock... [2025-03-20 00:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.ERROR: done [2025-03-20 00:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.ERROR: done [2025-03-20 00:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:49:04] Production.INFO: Total Charge 0 [2025-03-20 00:49:04] Production.INFO: CreateAllLog End [2025-03-20 00:49:04] Production.INFO: Account Balance End. [2025-03-20 00:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:49:04] Production.INFO: ==23635== Releasing lock... [2025-03-20 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:49:05 [end_date_ymd] => 2025-03-20 00:49:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:49:05' and `end` < '2025-03-20 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-03-20 00:49:10] Production.ERROR: CronJobId end10 [2025-03-20 00:49:10] Production.INFO: ==23633== Releasing lock... [2025-03-20 00:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:49:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:49:13] Production.INFO: call_cost start [2025-03-20 00:49:13] Production.INFO: call_cost end [2025-03-20 00:49:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:49:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:49:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:49:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:49:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:49:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:49:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:49:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:49:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:49:14] Production.INFO: ==23629== Releasing lock... [2025-03-20 00:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:49:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:49:17] Production.INFO: count ==732 [2025-03-20 00:49:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:49:05 - End Time 2025-03-20 00:49:05 [2025-03-20 00:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719273', 'tblTempUsageDetail_20' ) start [2025-03-20 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719273', 'tblTempUsageDetail_20' ) end [2025-03-20 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719273', 'tblTempVendorCDR_20' ) start [2025-03-20 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719273', 'tblTempVendorCDR_20' ) end [2025-03-20 00:49:18] Production.INFO: ProcessCDR(1,14719273,1,1,2) [2025-03-20 00:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719273', 'tblTempUsageDetail_20' ) start [2025-03-20 00:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719273', 'tblTempUsageDetail_20' ) end [2025-03-20 00:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:49:21] Production.INFO: ==23637== Releasing lock... [2025-03-20 00:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:49:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 04:50:01] Production.INFO: ==23694== Lock acquired, processing the job... [2025-03-20 04:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:50:01] Production.INFO: neon service started [2025-03-20 04:50:01] Production.INFO: neon service started [2025-03-20 04:50:01] Production.INFO: ==23694== Releasing lock... [2025-03-20 04:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:50:01] Production.INFO: ==23698== Lock acquired, processing the job... [2025-03-20 04:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:50:01] Production.INFO: ==23698== Releasing lock... [2025-03-20 04:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:50:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:50:01] Production.INFO: ==23696== Lock acquired, processing the job... [2025-03-20 00:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:50:02] Production.INFO: ==23696== Releasing lock... [2025-03-20 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:50:03] Production.INFO: ==23701== Lock acquired, processing the job... [2025-03-20 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 00:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 00:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 00:50:03] Production.INFO: ==23701== Releasing lock... [2025-03-20 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 00:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 00:50:03] Production.INFO: ==23703== Lock acquired, processing the job... [2025-03-20 00:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:50:03] Production.INFO: ==23705== Lock acquired, processing the job... [2025-03-20 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:50:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:50:03] Production.INFO: ==23707== Lock acquired, processing the job... [2025-03-20 00:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:50:03] Production.INFO: ==23711== Lock acquired, processing the job... [2025-03-20 00:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:50:03] Production.INFO: ==23709== Lock acquired, processing the job... [2025-03-20 00:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:50:03] Production.INFO: ==23715== Lock acquired, processing the job... [2025-03-20 00:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:50:03] Production.INFO: ==23705== Releasing lock... [2025-03-20 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:50:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:50:03] Production.INFO: ==23713== Lock acquired, processing the job... [2025-03-20 00:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 00:50:03] Production.INFO: Account Balance Start. [2025-03-20 00:50:03] Production.INFO: CreateAllLog Start [2025-03-20 00:50:03] Production.INFO: 117 [2025-03-20 00:50:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 00:50:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:03] Production.INFO: count ==12 [2025-03-20 00:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:50:04] Production.INFO: count ==23 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719277') start [2025-03-20 00:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719277') end [2025-03-20 00:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:50:04] Production.INFO: 1 [2025-03-20 00:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:50:04] Production.ERROR: done [2025-03-20 00:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.INFO: ==23715== Releasing lock... [2025-03-20 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.ERROR: done [2025-03-20 00:50:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:50:04] Production.ERROR: done [2025-03-20 00:50:04] Production.INFO: Total Charge 0 [2025-03-20 00:50:04] Production.INFO: CreateAllLog End [2025-03-20 00:50:04] Production.INFO: Account Balance End. [2025-03-20 00:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 00:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719279', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 00:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:50:05] Production.INFO: ==23709== Releasing lock... [2025-03-20 00:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:50:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:50:05 [end_date_ymd] => 2025-03-20 00:50:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:50:05' and `end` < '2025-03-20 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-03-20 00:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719279', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 00:50:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 00:50:08] Production.INFO: ProcessCDR(1,14719279,1,1,2) [2025-03-20 00:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719279,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719279,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:50:09] Production.INFO: ==23713== Releasing lock... [2025-03-20 00:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 00:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 00:50:13] Production.ERROR: CronJobId end10 [2025-03-20 00:50:13] Production.INFO: ==23707== Releasing lock... [2025-03-20 00:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:50:15] Production.INFO: call_cost start [2025-03-20 00:50:15] Production.INFO: call_cost end [2025-03-20 00:50:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:50:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:50:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:50:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:50:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:50:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:50:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:50:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:50:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:50:16] Production.INFO: ==23703== Releasing lock... [2025-03-20 00:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:50:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:50:17] Production.INFO: count ==739 [2025-03-20 00:50:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:50:05 - End Time 2025-03-20 00:50:05 [2025-03-20 00:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719278', 'tblTempUsageDetail_20' ) start [2025-03-20 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719278', 'tblTempUsageDetail_20' ) end [2025-03-20 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719278', 'tblTempVendorCDR_20' ) start [2025-03-20 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719278', 'tblTempVendorCDR_20' ) end [2025-03-20 00:50:18] Production.INFO: ProcessCDR(1,14719278,1,1,2) [2025-03-20 00:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719278', 'tblTempUsageDetail_20' ) start [2025-03-20 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719278', 'tblTempUsageDetail_20' ) end [2025-03-20 00:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:50:21] Production.INFO: ==23711== Releasing lock... [2025-03-20 00:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:50:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:51:01] Production.INFO: ==23771== Lock acquired, processing the job... [2025-03-20 04:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:51:01] Production.INFO: neon service started [2025-03-20 04:51:01] Production.INFO: neon service started [2025-03-20 04:51:01] Production.INFO: ==23771== Releasing lock... [2025-03-20 04:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:51:02] Production.INFO: ==23773== Lock acquired, processing the job... [2025-03-20 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:51:02] Production.INFO: ==23773== Releasing lock... [2025-03-20 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:51:02] Production.INFO: ==23775== Lock acquired, processing the job... [2025-03-20 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:51:02] Production.INFO: ==23775== Releasing lock... [2025-03-20 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:51:03] Production.INFO: ==23785== Lock acquired, processing the job... [2025-03-20 00:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:51:03] Production.INFO: ==23787== Lock acquired, processing the job... [2025-03-20 00:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:51:03] Production.INFO: ==23777== Lock acquired, processing the job... [2025-03-20 00:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:51:03] Production.INFO: ==23779== Lock acquired, processing the job... [2025-03-20 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:51:03] Production.ERROR: done [2025-03-20 00:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:51:03] Production.INFO: ==23781== Lock acquired, processing the job... [2025-03-20 00:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 00:51:03] Production.INFO: ==23783== Lock acquired, processing the job... [2025-03-20 00:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:51:03] Production.INFO: count ==12 [2025-03-20 00:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 00:51:03] Production.INFO: count ==23 [2025-03-20 00:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719280') start [2025-03-20 00:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:51:03] Production.ERROR: done [2025-03-20 00:51:03] Production.INFO: Account Balance Start. [2025-03-20 00:51:03] Production.INFO: CreateAllLog Start [2025-03-20 00:51:03] Production.INFO: 117 [2025-03-20 00:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719280') end [2025-03-20 00:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:51:04] Production.INFO: 1 [2025-03-20 00:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:51:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: ==23787== Releasing lock... [2025-03-20 00:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: ==23779== Releasing lock... [2025-03-20 00:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:51:04] Production.INFO: Total Charge 0 [2025-03-20 00:51:04] Production.INFO: CreateAllLog End [2025-03-20 00:51:04] Production.INFO: Account Balance End. [2025-03-20 00:51:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:51:04] Production.INFO: ==23783== Releasing lock... [2025-03-20 00:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:51:05 [end_date_ymd] => 2025-03-20 00:51:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:51:05' and `end` < '2025-03-20 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-03-20 00:51:11] Production.ERROR: CronJobId end10 [2025-03-20 00:51:11] Production.INFO: ==23781== Releasing lock... [2025-03-20 00:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:51:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:51:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:51:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:51:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:51:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:51:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:51:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:51:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:51:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:51:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:51:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:51:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:51:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:51:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:51:14] Production.INFO: call_cost start [2025-03-20 00:51:14] Production.INFO: call_cost end [2025-03-20 00:51:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:51:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:51:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:51:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:51:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:51:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:51:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:51:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:51:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:51:14] Production.INFO: ==23777== Releasing lock... [2025-03-20 00:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:51:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:51:17] Production.INFO: count ==746 [2025-03-20 00:51:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:51:05 - End Time 2025-03-20 00:51:05 [2025-03-20 00:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719284', 'tblTempUsageDetail_20' ) start [2025-03-20 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719284', 'tblTempUsageDetail_20' ) end [2025-03-20 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719284', 'tblTempVendorCDR_20' ) start [2025-03-20 00:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719284', 'tblTempVendorCDR_20' ) end [2025-03-20 00:51:17] Production.INFO: ProcessCDR(1,14719284,1,1,2) [2025-03-20 00:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719284', 'tblTempUsageDetail_20' ) start [2025-03-20 00:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719284', 'tblTempUsageDetail_20' ) end [2025-03-20 00:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:51:22] Production.INFO: ==23785== Releasing lock... [2025-03-20 00:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:51:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:52:02] Production.INFO: ==23849== Lock acquired, processing the job... [2025-03-20 04:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:52:02] Production.INFO: neon service started [2025-03-20 04:52:02] Production.INFO: neon service started [2025-03-20 04:52:02] Production.INFO: ==23849== Releasing lock... [2025-03-20 04:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:52:02] Production.INFO: ==23853== Lock acquired, processing the job... [2025-03-20 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:52:02] Production.INFO: ==23853== Releasing lock... [2025-03-20 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:52:02] Production.INFO: ==23851== Lock acquired, processing the job... [2025-03-20 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:52:03] Production.INFO: ==23851== Releasing lock... [2025-03-20 00:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:52:03] Production.INFO: ==23857== Lock acquired, processing the job... [2025-03-20 00:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:52:04] Production.INFO: ==23855== Lock acquired, processing the job... [2025-03-20 00:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:52:04] Production.INFO: ==23859== Lock acquired, processing the job... [2025-03-20 00:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:52:04] Production.INFO: ==23861== Lock acquired, processing the job... [2025-03-20 00:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:52:04] Production.INFO: ==23857== Releasing lock... [2025-03-20 00:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:52:04] Production.INFO: ==23866== Lock acquired, processing the job... [2025-03-20 00:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:52:04] Production.INFO: ==23864== Lock acquired, processing the job... [2025-03-20 00:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:52:04] Production.INFO: Account Balance Start. [2025-03-20 00:52:04] Production.INFO: CreateAllLog Start [2025-03-20 00:52:04] Production.INFO: 117 [2025-03-20 00:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:04] Production.INFO: count ==12 [2025-03-20 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-03-20 00:52:04] Production.INFO: count ==23 [2025-03-20 00:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719288') start [2025-03-20 00:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:04] Production.ERROR: done [2025-03-20 00:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719288') end [2025-03-20 00:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:52:04] Production.INFO: 1 [2025-03-20 00:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:05] Production.INFO: Date 2025-03-16 [2025-03-20 00:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:05] Production.INFO: ==23866== Releasing lock... [2025-03-20 00:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:52:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:52:05] Production.INFO: Date 2025-03-17 [2025-03-20 00:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:05] Production.ERROR: done [2025-03-20 00:52:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:52:05] Production.INFO: Total Charge 0 [2025-03-20 00:52:05] Production.INFO: CreateAllLog End [2025-03-20 00:52:05] Production.INFO: Account Balance End. [2025-03-20 00:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:52:05] Production.INFO: ==23861== Releasing lock... [2025-03-20 00:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:52:05 [end_date_ymd] => 2025-03-20 00:52:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:52:05' and `end` < '2025-03-20 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-03-20 00:52:11] Production.ERROR: CronJobId end10 [2025-03-20 00:52:11] Production.INFO: ==23859== Releasing lock... [2025-03-20 00:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:52:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:52:14] Production.INFO: call_cost start [2025-03-20 00:52:14] Production.INFO: call_cost end [2025-03-20 00:52:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:52:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:52:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:52:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:52:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:52:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:52:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:52:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:52:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:52:15] Production.INFO: ==23855== Releasing lock... [2025-03-20 00:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:52:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:52:18] Production.INFO: count ==752 [2025-03-20 00:52:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:52:05 - End Time 2025-03-20 00:52:05 [2025-03-20 00:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719289', 'tblTempUsageDetail_20' ) start [2025-03-20 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719289', 'tblTempUsageDetail_20' ) end [2025-03-20 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719289', 'tblTempVendorCDR_20' ) start [2025-03-20 00:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719289', 'tblTempVendorCDR_20' ) end [2025-03-20 00:52:18] Production.INFO: ProcessCDR(1,14719289,1,1,2) [2025-03-20 00:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719289', 'tblTempUsageDetail_20' ) start [2025-03-20 00:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719289', 'tblTempUsageDetail_20' ) end [2025-03-20 00:52:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:52:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:52:23] Production.INFO: ==23864== Releasing lock... [2025-03-20 00:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:52:23] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 04:53:01] Production.INFO: ==23920== Lock acquired, processing the job... [2025-03-20 04:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:53:01] Production.INFO: neon service started [2025-03-20 04:53:01] Production.INFO: neon service started [2025-03-20 04:53:01] Production.INFO: ==23920== Releasing lock... [2025-03-20 04:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:53:02] Production.INFO: ==23922== Lock acquired, processing the job... [2025-03-20 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:53:02] Production.INFO: ==23924== Lock acquired, processing the job... [2025-03-20 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:53:02] Production.INFO: ==23924== Releasing lock... [2025-03-20 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:53:02] Production.INFO: ==23922== Releasing lock... [2025-03-20 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:53:03] Production.INFO: ==23931== Lock acquired, processing the job... [2025-03-20 00:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:53:03] Production.INFO: ==23937== Lock acquired, processing the job... [2025-03-20 00:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:53:03] Production.INFO: ==23927== Lock acquired, processing the job... [2025-03-20 00:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 00:53:03] Production.INFO: ==23929== Lock acquired, processing the job... [2025-03-20 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:53:03] Production.INFO: ==23933== Lock acquired, processing the job... [2025-03-20 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:53:04] Production.INFO: count ==12 [2025-03-20 00:53:04] Production.INFO: ==23935== Lock acquired, processing the job... [2025-03-20 00:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:53:04] Production.INFO: count ==23 [2025-03-20 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719290') start [2025-03-20 00:53:04] Production.INFO: Account Balance Start. [2025-03-20 00:53:04] Production.INFO: CreateAllLog Start [2025-03-20 00:53:04] Production.INFO: 117 [2025-03-20 00:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719290') end [2025-03-20 00:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:53:04] Production.INFO: 1 [2025-03-20 00:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:53:04] Production.INFO: ==23937== Releasing lock... [2025-03-20 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.INFO: ==23929== Releasing lock... [2025-03-20 00:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.ERROR: done [2025-03-20 00:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.ERROR: done [2025-03-20 00:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:53:04] Production.INFO: Total Charge 0 [2025-03-20 00:53:04] Production.INFO: CreateAllLog End [2025-03-20 00:53:04] Production.INFO: Account Balance End. [2025-03-20 00:53:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:53:04] Production.INFO: ==23933== Releasing lock... [2025-03-20 00:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:53:05 [end_date_ymd] => 2025-03-20 00:53:05 [RateCDR] => 1 ) [2025-03-20 00:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:53:05' and `end` < '2025-03-20 00:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:53:11] Production.ERROR: CronJobId end10 [2025-03-20 00:53:11] Production.INFO: ==23931== Releasing lock... [2025-03-20 00:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:53:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:53:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:53:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:53:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:53:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:53:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:53:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:53:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:53:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:53:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:53:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:53:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:53:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:53:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:53:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:53:14] Production.INFO: call_cost start [2025-03-20 00:53:14] Production.INFO: call_cost end [2025-03-20 00:53:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:53:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:53:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:53:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:53:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:53:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:53:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:53:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:53:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:53:15] Production.INFO: ==23927== Releasing lock... [2025-03-20 00:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:53:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:53:18] Production.INFO: count ==750 [2025-03-20 00:53:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:53:05 - End Time 2025-03-20 00:53:05 [2025-03-20 00:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719294', 'tblTempUsageDetail_20' ) start [2025-03-20 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719294', 'tblTempUsageDetail_20' ) end [2025-03-20 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719294', 'tblTempVendorCDR_20' ) start [2025-03-20 00:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719294', 'tblTempVendorCDR_20' ) end [2025-03-20 00:53:18] Production.INFO: ProcessCDR(1,14719294,1,1,2) [2025-03-20 00:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719294', 'tblTempUsageDetail_20' ) start [2025-03-20 00:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719294', 'tblTempUsageDetail_20' ) end [2025-03-20 00:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:53:21] Production.INFO: ==23935== Releasing lock... [2025-03-20 00:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:53:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 04:54:02] Production.INFO: ==23990== Lock acquired, processing the job... [2025-03-20 04:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:54:02] Production.INFO: neon service started [2025-03-20 04:54:02] Production.INFO: neon service started [2025-03-20 04:54:02] Production.INFO: ==23990== Releasing lock... [2025-03-20 04:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:54:02] Production.INFO: ==23994== Lock acquired, processing the job... [2025-03-20 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:54:02] Production.INFO: ==23994== Releasing lock... [2025-03-20 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:54:02] Production.INFO: ==23992== Lock acquired, processing the job... [2025-03-20 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:54:03] Production.INFO: ==23992== Releasing lock... [2025-03-20 00:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:54:03] Production.INFO: ==24005== Lock acquired, processing the job... [2025-03-20 00:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:54:03] Production.INFO: ==23999== Lock acquired, processing the job... [2025-03-20 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:54:04] Production.INFO: ==23997== Lock acquired, processing the job... [2025-03-20 00:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:54:04] Production.INFO: ==24001== Lock acquired, processing the job... [2025-03-20 00:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:54:04] Production.INFO: ==24003== Lock acquired, processing the job... [2025-03-20 00:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:54:04] Production.ERROR: done [2025-03-20 00:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:54:04] Production.INFO: ==24007== Lock acquired, processing the job... [2025-03-20 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:54:04] Production.INFO: Account Balance Start. [2025-03-20 00:54:04] Production.INFO: CreateAllLog Start [2025-03-20 00:54:04] Production.INFO: 117 [2025-03-20 00:54:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:04] Production.ERROR: done [2025-03-20 00:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:04] Production.INFO: count ==12 [2025-03-20 00:54:04] Production.INFO: ==23999== Releasing lock... [2025-03-20 00:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:54:04] Production.INFO: count ==23 [2025-03-20 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719298') start [2025-03-20 00:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719298') end [2025-03-20 00:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:54:04] Production.INFO: 1 [2025-03-20 00:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:04] Production.INFO: ==24007== Releasing lock... [2025-03-20 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:54:05] Production.INFO: Total Charge 0 [2025-03-20 00:54:05] Production.INFO: CreateAllLog End [2025-03-20 00:54:05] Production.INFO: Account Balance End. [2025-03-20 00:54:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:54:05] Production.INFO: ==24003== Releasing lock... [2025-03-20 00:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:54:05 [end_date_ymd] => 2025-03-20 00:54:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:54:05' and `end` < '2025-03-20 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-03-20 00:54:12] Production.ERROR: CronJobId end10 [2025-03-20 00:54:12] Production.INFO: ==24001== Releasing lock... [2025-03-20 00:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:54:15] Production.INFO: call_cost start [2025-03-20 00:54:15] Production.INFO: call_cost end [2025-03-20 00:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:54:16] Production.INFO: ==23997== Releasing lock... [2025-03-20 00:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:54:17] Production.INFO: count ==751 [2025-03-20 00:54:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:54:05 - End Time 2025-03-20 00:54:05 [2025-03-20 00:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719299', 'tblTempUsageDetail_20' ) start [2025-03-20 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719299', 'tblTempUsageDetail_20' ) end [2025-03-20 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719299', 'tblTempVendorCDR_20' ) start [2025-03-20 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719299', 'tblTempVendorCDR_20' ) end [2025-03-20 00:54:18] Production.INFO: ProcessCDR(1,14719299,1,1,2) [2025-03-20 00:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719299', 'tblTempUsageDetail_20' ) start [2025-03-20 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719299', 'tblTempUsageDetail_20' ) end [2025-03-20 00:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:54:22] Production.INFO: ==24005== Releasing lock... [2025-03-20 00:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:54:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:55:01] Production.INFO: ==24060== Lock acquired, processing the job... [2025-03-20 04:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:55:01] Production.INFO: neon service started [2025-03-20 04:55:01] Production.INFO: neon service started [2025-03-20 04:55:01] Production.INFO: ==24060== Releasing lock... [2025-03-20 04:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:55:02] Production.INFO: ==24064== Lock acquired, processing the job... [2025-03-20 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:55:02] Production.INFO: ==24062== Lock acquired, processing the job... [2025-03-20 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:55:02] Production.INFO: ==24064== Releasing lock... [2025-03-20 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:55:02] Production.INFO: ==24062== Releasing lock... [2025-03-20 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 00:55:03] Production.INFO: ==24071== Lock acquired, processing the job... [2025-03-20 00:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:55:03] Production.INFO: ==24075== Lock acquired, processing the job... [2025-03-20 00:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:55:03] Production.INFO: ==24067== Lock acquired, processing the job... [2025-03-20 00:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:55:03] Production.INFO: ==24069== Lock acquired, processing the job... [2025-03-20 00:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:55:04] Production.INFO: ==24073== Lock acquired, processing the job... [2025-03-20 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:55:04] Production.INFO: ==24077== Lock acquired, processing the job... [2025-03-20 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:55:04] Production.INFO: Account Balance Start. [2025-03-20 00:55:04] Production.INFO: CreateAllLog Start [2025-03-20 00:55:04] Production.INFO: 117 [2025-03-20 00:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:55:04] Production.INFO: count ==12 [2025-03-20 00:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:55:04] Production.INFO: count ==23 [2025-03-20 00:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.INFO: ==24069== Releasing lock... [2025-03-20 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719303') start [2025-03-20 00:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.ERROR: done [2025-03-20 00:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719303') end [2025-03-20 00:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:55:04] Production.INFO: 1 [2025-03-20 00:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.INFO: ==24077== Releasing lock... [2025-03-20 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:55:04] Production.ERROR: done [2025-03-20 00:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:55:04] Production.INFO: Total Charge 0 [2025-03-20 00:55:04] Production.INFO: CreateAllLog End [2025-03-20 00:55:04] Production.INFO: Account Balance End. [2025-03-20 00:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:55:05] Production.INFO: ==24073== Releasing lock... [2025-03-20 00:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:55:05 [end_date_ymd] => 2025-03-20 00:55:05 [RateCDR] => 1 ) [2025-03-20 00:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:55:05' and `end` < '2025-03-20 00:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:55:12] Production.ERROR: CronJobId end10 [2025-03-20 00:55:12] Production.INFO: ==24071== Releasing lock... [2025-03-20 00:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:55:14] Production.INFO: call_cost start [2025-03-20 00:55:14] Production.INFO: call_cost end [2025-03-20 00:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:55:15] Production.INFO: ==24067== Releasing lock... [2025-03-20 00:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:55:17] Production.INFO: count ==749 [2025-03-20 00:55:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:55:05 - End Time 2025-03-20 00:55:05 [2025-03-20 00:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719304', 'tblTempUsageDetail_20' ) start [2025-03-20 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719304', 'tblTempUsageDetail_20' ) end [2025-03-20 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719304', 'tblTempVendorCDR_20' ) start [2025-03-20 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719304', 'tblTempVendorCDR_20' ) end [2025-03-20 00:55:18] Production.INFO: ProcessCDR(1,14719304,1,1,2) [2025-03-20 00:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719304', 'tblTempUsageDetail_20' ) start [2025-03-20 00:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719304', 'tblTempUsageDetail_20' ) end [2025-03-20 00:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:55:21] Production.INFO: ==24075== Releasing lock... [2025-03-20 00:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:55:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:56:02] Production.INFO: ==24132== Lock acquired, processing the job... [2025-03-20 04:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:56:02] Production.INFO: neon service started [2025-03-20 04:56:02] Production.INFO: neon service started [2025-03-20 04:56:02] Production.INFO: ==24132== Releasing lock... [2025-03-20 04:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:56:02] Production.INFO: ==24134== Lock acquired, processing the job... [2025-03-20 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:56:02] Production.INFO: ==24136== Lock acquired, processing the job... [2025-03-20 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 00:56:02] Production.INFO: ==24134== Releasing lock... [2025-03-20 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:56:02] Production.INFO: ==24136== Releasing lock... [2025-03-20 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:56:03] Production.INFO: ==24145== Lock acquired, processing the job... [2025-03-20 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:56:03] Production.INFO: ==24149== Lock acquired, processing the job... [2025-03-20 00:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:56:03] Production.INFO: ==24139== Lock acquired, processing the job... [2025-03-20 00:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:56:03] Production.INFO: Account Balance Start. [2025-03-20 00:56:03] Production.INFO: CreateAllLog Start [2025-03-20 00:56:03] Production.INFO: 117 [2025-03-20 00:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:56:03] Production.INFO: ==24141== Lock acquired, processing the job... [2025-03-20 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:56:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:03] Production.INFO: count ==12 [2025-03-20 00:56:03] Production.INFO: ==24143== Lock acquired, processing the job... [2025-03-20 00:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:56:03] Production.INFO: count ==23 [2025-03-20 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719305') start [2025-03-20 00:56:04] Production.INFO: ==24147== Lock acquired, processing the job... [2025-03-20 00:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:56:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719305') end [2025-03-20 00:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:56:04] Production.INFO: 1 [2025-03-20 00:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:56:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:04] Production.INFO: ==24149== Releasing lock... [2025-03-20 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:56:04] Production.INFO: ==24141== Releasing lock... [2025-03-20 00:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:56:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:04] Production.ERROR: done [2025-03-20 00:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:56:04] Production.ERROR: done [2025-03-20 00:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:05] Production.INFO: Date 2025-03-17 [2025-03-20 00:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:05] Production.INFO: Date 2025-03-18 [2025-03-20 00:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:05] Production.INFO: Date 2025-03-19 [2025-03-20 00:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:05] Production.INFO: Date 2025-03-20 [2025-03-20 00:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 00:56:05] Production.INFO: Total Charge 0 [2025-03-20 00:56:05] Production.INFO: CreateAllLog End [2025-03-20 00:56:05] Production.INFO: Account Balance End. [2025-03-20 00:56:05] Production.ERROR: CronJobId end 12 [2025-03-20 00:56:05] Production.INFO: ==24145== Releasing lock... [2025-03-20 00:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:56:05 [end_date_ymd] => 2025-03-20 00:56:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:56:05' and `end` < '2025-03-20 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-03-20 00:56:11] Production.ERROR: CronJobId end10 [2025-03-20 00:56:11] Production.INFO: ==24143== Releasing lock... [2025-03-20 00:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:56:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:56:14] Production.INFO: call_cost start [2025-03-20 00:56:14] Production.INFO: call_cost end [2025-03-20 00:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:56:15] Production.INFO: ==24139== Releasing lock... [2025-03-20 00:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:56:18] Production.INFO: count ==751 [2025-03-20 00:56:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:56:05 - End Time 2025-03-20 00:56:05 [2025-03-20 00:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719309', 'tblTempUsageDetail_20' ) start [2025-03-20 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719309', 'tblTempUsageDetail_20' ) end [2025-03-20 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719309', 'tblTempVendorCDR_20' ) start [2025-03-20 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719309', 'tblTempVendorCDR_20' ) end [2025-03-20 00:56:18] Production.INFO: ProcessCDR(1,14719309,1,1,2) [2025-03-20 00:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719309', 'tblTempUsageDetail_20' ) start [2025-03-20 00:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719309', 'tblTempUsageDetail_20' ) end [2025-03-20 00:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:56:21] Production.INFO: ==24147== Releasing lock... [2025-03-20 00:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:56:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:57:01] Production.INFO: ==24241== Lock acquired, processing the job... [2025-03-20 04:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:57:01] Production.INFO: neon service started [2025-03-20 04:57:01] Production.INFO: neon service started [2025-03-20 04:57:01] Production.INFO: ==24241== Releasing lock... [2025-03-20 04:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:57:01] Production.INFO: ==24243== Lock acquired, processing the job... [2025-03-20 00:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:57:02] Production.INFO: ==24243== Releasing lock... [2025-03-20 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:57:02] Production.INFO: ==24245== Lock acquired, processing the job... [2025-03-20 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:57:02] Production.INFO: ==24245== Releasing lock... [2025-03-20 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:57:03] Production.INFO: ==24249== Lock acquired, processing the job... [2025-03-20 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:57:03] Production.INFO: ==24251== Lock acquired, processing the job... [2025-03-20 00:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:57:03] Production.INFO: ==24247== Lock acquired, processing the job... [2025-03-20 00:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:57:03] Production.INFO: ==24249== Releasing lock... [2025-03-20 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:57:03] Production.INFO: ==24253== Lock acquired, processing the job... [2025-03-20 00:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:57:03] Production.INFO: ==24255== Lock acquired, processing the job... [2025-03-20 00:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:57:03] Production.INFO: Account Balance Start. [2025-03-20 00:57:03] Production.INFO: CreateAllLog Start [2025-03-20 00:57:03] Production.INFO: 117 [2025-03-20 00:57:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:57:03] Production.INFO: ==24257== Lock acquired, processing the job... [2025-03-20 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:57:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:03] Production.INFO: count ==12 [2025-03-20 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-03-20 00:57:03] Production.INFO: count ==23 [2025-03-20 00:57:03] Production.ERROR: done [2025-03-20 00:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:57:03] Production.INFO: Date 2025-03-15 [2025-03-20 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719313') start [2025-03-20 00:57:03] Production.INFO: Date 2025-03-16 [2025-03-20 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719313') end [2025-03-20 00:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:57:03] Production.INFO: 1 [2025-03-20 00:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:57:03] Production.INFO: Date 2025-03-17 [2025-03-20 00:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:04] Production.ERROR: done [2025-03-20 00:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:04] Production.INFO: ==24257== Releasing lock... [2025-03-20 00:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:57:04] Production.INFO: Total Charge 0 [2025-03-20 00:57:04] Production.INFO: CreateAllLog End [2025-03-20 00:57:04] Production.INFO: Account Balance End. [2025-03-20 00:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:57:04] Production.INFO: ==24253== Releasing lock... [2025-03-20 00:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:57:05 [end_date_ymd] => 2025-03-20 00:57:05 [RateCDR] => 1 ) [2025-03-20 00:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:57:05' and `end` < '2025-03-20 00:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:57:10] Production.ERROR: CronJobId end10 [2025-03-20 00:57:10] Production.INFO: ==24251== Releasing lock... [2025-03-20 00:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:57:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:57:13] Production.INFO: call_cost start [2025-03-20 00:57:13] Production.INFO: call_cost end [2025-03-20 00:57:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:57:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:57:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:57:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:57:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:57:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:57:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:57:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:57:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:57:14] Production.INFO: ==24247== Releasing lock... [2025-03-20 00:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:57:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:57:17] Production.INFO: count ==752 [2025-03-20 00:57:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:57:05 - End Time 2025-03-20 00:57:05 [2025-03-20 00:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719314', 'tblTempUsageDetail_20' ) start [2025-03-20 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719314', 'tblTempUsageDetail_20' ) end [2025-03-20 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719314', 'tblTempVendorCDR_20' ) start [2025-03-20 00:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719314', 'tblTempVendorCDR_20' ) end [2025-03-20 00:57:17] Production.INFO: ProcessCDR(1,14719314,1,1,2) [2025-03-20 00:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719314', 'tblTempUsageDetail_20' ) start [2025-03-20 00:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719314', 'tblTempUsageDetail_20' ) end [2025-03-20 00:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:57:21] Production.INFO: ==24255== Releasing lock... [2025-03-20 00:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:57:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 04:58:01] Production.INFO: ==24314== Lock acquired, processing the job... [2025-03-20 04:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:58:01] Production.INFO: neon service started [2025-03-20 04:58:01] Production.INFO: neon service started [2025-03-20 04:58:01] Production.INFO: ==24314== Releasing lock... [2025-03-20 04:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:58:02] Production.INFO: ==24316== Lock acquired, processing the job... [2025-03-20 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:58:02] Production.INFO: ==24316== Releasing lock... [2025-03-20 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:58:02] Production.INFO: ==24318== Lock acquired, processing the job... [2025-03-20 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:58:02] Production.INFO: ==24318== Releasing lock... [2025-03-20 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:58:03] Production.INFO: ==24320== Lock acquired, processing the job... [2025-03-20 00:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:58:03] Production.INFO: ==24322== Lock acquired, processing the job... [2025-03-20 00:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:58:03] Production.INFO: ==24324== Lock acquired, processing the job... [2025-03-20 00:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:58:03] Production.INFO: ==24326== Lock acquired, processing the job... [2025-03-20 00:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:58:03] Production.INFO: ==24328== Lock acquired, processing the job... [2025-03-20 00:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:58:04] Production.INFO: Account Balance Start. [2025-03-20 00:58:04] Production.INFO: CreateAllLog Start [2025-03-20 00:58:04] Production.INFO: ==24330== Lock acquired, processing the job... [2025-03-20 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:58:04] Production.INFO: 117 [2025-03-20 00:58:04] Production.INFO: Date 2025-03-08 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:58:04] Production.INFO: Date 2025-03-09 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:58:04] Production.INFO: Date 2025-03-10 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 00:58:04] Production.INFO: ==24322== Releasing lock... [2025-03-20 00:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:58:04] Production.INFO: count ==12 [2025-03-20 00:58:04] Production.ERROR: done [2025-03-20 00:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 00:58:04] Production.INFO: count ==23 [2025-03-20 00:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719318') start [2025-03-20 00:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:58:04] Production.INFO: Total Charge 0 [2025-03-20 00:58:04] Production.INFO: CreateAllLog End [2025-03-20 00:58:04] Production.ERROR: done [2025-03-20 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719318') end [2025-03-20 00:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:58:04] Production.INFO: 1 [2025-03-20 00:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:58:04] Production.INFO: ==24330== Releasing lock... [2025-03-20 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:58:04] Production.INFO: Account Balance End. [2025-03-20 00:58:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:58:04] Production.INFO: ==24326== Releasing lock... [2025-03-20 00:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:58:05 [end_date_ymd] => 2025-03-20 00:58:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 21:58:05' and `end` < '2025-03-20 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-03-20 00:58:11] Production.ERROR: CronJobId end10 [2025-03-20 00:58:11] Production.INFO: ==24324== Releasing lock... [2025-03-20 00:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:58:14] Production.INFO: call_cost start [2025-03-20 00:58:14] Production.INFO: call_cost end [2025-03-20 00:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:58:15] Production.INFO: ==24320== Releasing lock... [2025-03-20 00:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:58:18] Production.INFO: count ==757 [2025-03-20 00:58:18] Production.ERROR: pbx CDR StartTime 2025-03-19 21:58:05 - End Time 2025-03-20 00:58:05 [2025-03-20 00:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719319', 'tblTempUsageDetail_20' ) start [2025-03-20 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719319', 'tblTempUsageDetail_20' ) end [2025-03-20 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719319', 'tblTempVendorCDR_20' ) start [2025-03-20 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719319', 'tblTempVendorCDR_20' ) end [2025-03-20 00:58:18] Production.INFO: ProcessCDR(1,14719319,1,1,2) [2025-03-20 00:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719319', 'tblTempUsageDetail_20' ) start [2025-03-20 00:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719319', 'tblTempUsageDetail_20' ) end [2025-03-20 00:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:58:21] Production.INFO: ==24328== Releasing lock... [2025-03-20 00:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:58:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 04:59:01] Production.INFO: ==24388== Lock acquired, processing the job... [2025-03-20 04:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 04:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 04:59:01] Production.INFO: neon service started [2025-03-20 04:59:01] Production.INFO: neon service started [2025-03-20 04:59:01] Production.INFO: ==24388== Releasing lock... [2025-03-20 04:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 04:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 00:59:01] Production.INFO: ==24390== Lock acquired, processing the job... [2025-03-20 00:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 00:59:02] Production.INFO: ==24390== Releasing lock... [2025-03-20 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 00:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:59:02] Production.INFO: ==24392== Lock acquired, processing the job... [2025-03-20 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:59:02] Production.INFO: ==24392== Releasing lock... [2025-03-20 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 04:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 00:59:02] Production.INFO: ==24396== Lock acquired, processing the job... [2025-03-20 00:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 00:59:02] Production.INFO: ==24402== Lock acquired, processing the job... [2025-03-20 00:59:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 00:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 00:59:03] Production.INFO: ==24394== Lock acquired, processing the job... [2025-03-20 00:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 00:59:03] Production.INFO: ==24398== Lock acquired, processing the job... [2025-03-20 00:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 00:59:03] Production.INFO: ==24400== Lock acquired, processing the job... [2025-03-20 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 00:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 00:59:03] Production.INFO: ==24396== Releasing lock... [2025-03-20 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 00:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 00:59:03] Production.INFO: ==24404== Lock acquired, processing the job... [2025-03-20 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 00:59:03] Production.INFO: Account Balance Start. [2025-03-20 00:59:03] Production.INFO: CreateAllLog Start [2025-03-20 00:59:03] Production.INFO: 117 [2025-03-20 00:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 00:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 00:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 00:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 00:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 00:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:03] Production.ERROR: done [2025-03-20 00:59:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 00:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:59:03] Production.INFO: count ==12 [2025-03-20 00:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 00:59:03] Production.INFO: count ==23 [2025-03-20 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719323') start [2025-03-20 00:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 00:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:03] Production.ERROR: done [2025-03-20 00:59:03] Production.INFO: Date 2025-03-10 [2025-03-20 00:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719323') end [2025-03-20 00:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 00:59:03] Production.INFO: 1 [2025-03-20 00:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 00:59:03] Production.INFO: ==24404== Releasing lock... [2025-03-20 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 00:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 00:59:03] Production.INFO: Date 2025-03-11 [2025-03-20 00:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:03] Production.INFO: Date 2025-03-12 [2025-03-20 00:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:03] Production.INFO: Date 2025-03-13 [2025-03-20 00:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:03] Production.INFO: Date 2025-03-14 [2025-03-20 00:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:03] Production.INFO: Date 2025-03-15 [2025-03-20 00:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:03] Production.INFO: Date 2025-03-16 [2025-03-20 00:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 00:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 00:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 00:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 00:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 00:59:04] Production.INFO: Total Charge 0 [2025-03-20 00:59:04] Production.INFO: CreateAllLog End [2025-03-20 00:59:04] Production.INFO: Account Balance End. [2025-03-20 00:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 00:59:04] Production.INFO: ==24400== Releasing lock... [2025-03-20 00:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 00:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 00:59:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 21:59:04 [end_date_ymd] => 2025-03-20 00:59:04 [RateCDR] => 1 ) [2025-03-20 00:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 21:59:04' and `end` < '2025-03-20 00:59:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 00:59:10] Production.ERROR: CronJobId end10 [2025-03-20 00:59:10] Production.INFO: ==24398== Releasing lock... [2025-03-20 00:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 00:59:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 00:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 00:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 00:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 00:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 00:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 00:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 00:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 00:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 00:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 00:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 00:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 00:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 00:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 00:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 00:59:13] Production.INFO: call_cost start [2025-03-20 00:59:13] Production.INFO: call_cost end [2025-03-20 00:59:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 00:59:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 00:59:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 00:59:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 00:59:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 00:59:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 00:59:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 00:59:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 00:59:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 00:59:14] Production.INFO: ==24394== Releasing lock... [2025-03-20 00:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 00:59:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 00:59:17] Production.INFO: count ==754 [2025-03-20 00:59:17] Production.ERROR: pbx CDR StartTime 2025-03-19 21:59:04 - End Time 2025-03-20 00:59:04 [2025-03-20 00:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719324', 'tblTempUsageDetail_20' ) start [2025-03-20 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719324', 'tblTempUsageDetail_20' ) end [2025-03-20 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719324', 'tblTempVendorCDR_20' ) start [2025-03-20 00:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719324', 'tblTempVendorCDR_20' ) end [2025-03-20 00:59:17] Production.INFO: ProcessCDR(1,14719324,1,1,2) [2025-03-20 00:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 00:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 00:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719324', 'tblTempUsageDetail_20' ) start [2025-03-20 00:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719324', 'tblTempUsageDetail_20' ) end [2025-03-20 00:59:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 00:59:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 00:59:20] Production.INFO: ==24402== Releasing lock... [2025-03-20 00:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 00:59:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:00:01] Production.INFO: ==24464== Lock acquired, processing the job... [2025-03-20 05:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:00:01] Production.INFO: neon service started [2025-03-20 05:00:01] Production.INFO: neon service started [2025-03-20 05:00:01] Production.INFO: ==24464== Releasing lock... [2025-03-20 05:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:00:02] Production.INFO: ==24466== Lock acquired, processing the job... [2025-03-20 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:00:02] Production.INFO: ==24468== Lock acquired, processing the job... [2025-03-20 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:00:02] Production.INFO: ==24468== Releasing lock... [2025-03-20 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:00:02] Production.INFO: ==24466== Releasing lock... [2025-03-20 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:00:03] Production.INFO: ==24477== Lock acquired, processing the job... [2025-03-20 01:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:00:03] Production.INFO: ==24472== Lock acquired, processing the job... [2025-03-20 01:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:00:03] Production.INFO: ==24470== Lock acquired, processing the job... [2025-03-20 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 01:00:04] Production.INFO: ==24474== Lock acquired, processing the job... [2025-03-20 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 01:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 01:00:04] Production.ERROR: CronJob PID - 24472 [2025-03-20 01:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 01:00:04] Production.ERROR: CronJob ID - 5 [2025-03-20 01:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 01:00:00 [2025-03-20 01:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 01:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 01:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 01:00:04] Production.ERROR: CronJob PID - 24477 [2025-03-20 01:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 01:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:00:04] Production.ERROR: CronJob ID - 10 [2025-03-20 01:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 01:00:00 [2025-03-20 01:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 01:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 01:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:00:04] Production.INFO: ==24479== Lock acquired, processing the job... [2025-03-20 01:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 01:00:04] Production.INFO: ==24470== Releasing lock... [2025-03-20 01:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 01:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 01:00:04] Production.INFO: ==24481== Lock acquired, processing the job... [2025-03-20 01:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:00:04] Production.INFO: Account Balance Start. [2025-03-20 01:00:04] Production.INFO: CreateAllLog Start [2025-03-20 01:00:04] Production.INFO: 117 [2025-03-20 01:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:04] Production.INFO: ==24485== Lock acquired, processing the job... [2025-03-20 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:00:04] Production.INFO: ==24483== Lock acquired, processing the job... [2025-03-20 01:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 01:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:04] Production.INFO: ==24474== Releasing lock... [2025-03-20 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:00:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:04] Production.INFO: count ==12 [2025-03-20 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-03-20 01:00:04] Production.INFO: count ==23 [2025-03-20 01:00:04] Production.ERROR: done [2025-03-20 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719328') start [2025-03-20 01:00:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:00:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719328') end [2025-03-20 01:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:00:04] Production.INFO: 1 [2025-03-20 01:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:00:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:04] Production.ERROR: done [2025-03-20 01:00:04] Production.ERROR: done [2025-03-20 01:00:04] Production.INFO: ==24485== Releasing lock... [2025-03-20 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 01:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719330', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 01:00:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 01:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 01:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:00:05] Production.INFO: Total Charge 0 [2025-03-20 01:00:05] Production.INFO: CreateAllLog End [2025-03-20 01:00:05] Production.INFO: Account Balance End. [2025-03-20 01:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:00:05] Production.INFO: ==24479== Releasing lock... [2025-03-20 01:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:00:05 [end_date_ymd] => 2025-03-20 01:00:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:00:05' and `end` < '2025-03-20 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-03-20 01:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719330', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 01:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 01:00:09] Production.INFO: ProcessCDR(1,14719330,1,1,2) [2025-03-20 01:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719330,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719330,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:00:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:00:10] Production.INFO: ==24483== Releasing lock... [2025-03-20 01:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 01:00:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 01:00:14] Production.ERROR: CronJobId end10 [2025-03-20 01:00:14] Production.INFO: ==24477== Releasing lock... [2025-03-20 01:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:00:17] Production.INFO: call_cost start [2025-03-20 01:00:17] Production.INFO: call_cost end [2025-03-20 01:00:18] Production.INFO: count ==748 [2025-03-20 01:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:00:18] Production.INFO: ==24472== Releasing lock... [2025-03-20 01:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:00:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:00:05 - End Time 2025-03-20 01:00:05 [2025-03-20 01:00:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719329', 'tblTempUsageDetail_20' ) start [2025-03-20 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719329', 'tblTempUsageDetail_20' ) end [2025-03-20 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719329', 'tblTempVendorCDR_20' ) start [2025-03-20 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719329', 'tblTempVendorCDR_20' ) end [2025-03-20 01:00:18] Production.INFO: ProcessCDR(1,14719329,1,1,2) [2025-03-20 01:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719329', 'tblTempUsageDetail_20' ) start [2025-03-20 01:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719329', 'tblTempUsageDetail_20' ) end [2025-03-20 01:00:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:00:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:00:21] Production.INFO: ==24481== Releasing lock... [2025-03-20 01:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:00:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:01:02] Production.INFO: ==24541== Lock acquired, processing the job... [2025-03-20 05:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:01:02] Production.INFO: neon service started [2025-03-20 05:01:02] Production.INFO: neon service started [2025-03-20 05:01:02] Production.INFO: ==24541== Releasing lock... [2025-03-20 05:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:01:02] Production.INFO: ==24558== Lock acquired, processing the job... [2025-03-20 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:01:02] Production.INFO: ==24558== Releasing lock... [2025-03-20 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:01:02] Production.INFO: ==24556== Lock acquired, processing the job... [2025-03-20 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:01:03] Production.INFO: ==24556== Releasing lock... [2025-03-20 01:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:01:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:01:04] Production.INFO: ==24560== Lock acquired, processing the job... [2025-03-20 01:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:01:04] Production.INFO: ==24562== Lock acquired, processing the job... [2025-03-20 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:01:04] Production.INFO: ==24568== Lock acquired, processing the job... [2025-03-20 01:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:01:04] Production.INFO: ==24562== Releasing lock... [2025-03-20 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:01:04] Production.INFO: ==24564== Lock acquired, processing the job... [2025-03-20 01:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:01:04] Production.INFO: ==24566== Lock acquired, processing the job... [2025-03-20 01:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:01:04] Production.INFO: ==24570== Lock acquired, processing the job... [2025-03-20 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:01:04] Production.ERROR: done [2025-03-20 01:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 01:01:04] Production.INFO: Account Balance Start. [2025-03-20 01:01:04] Production.INFO: CreateAllLog Start [2025-03-20 01:01:04] Production.INFO: 117 [2025-03-20 01:01:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:01:04] Production.INFO: count ==12 [2025-03-20 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-03-20 01:01:04] Production.INFO: count ==23 [2025-03-20 01:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719333') start [2025-03-20 01:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:01:04] Production.ERROR: done [2025-03-20 01:01:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719333') end [2025-03-20 01:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:01:04] Production.INFO: 1 [2025-03-20 01:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:04] Production.INFO: ==24570== Releasing lock... [2025-03-20 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:05] Production.INFO: Date 2025-03-13 [2025-03-20 01:01:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:05] Production.INFO: Date 2025-03-14 [2025-03-20 01:01:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:05] Production.INFO: Date 2025-03-15 [2025-03-20 01:01:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:05] Production.INFO: Date 2025-03-16 [2025-03-20 01:01:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:05] Production.INFO: Date 2025-03-17 [2025-03-20 01:01:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:01:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:01:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:01:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:01:05] Production.INFO: Total Charge 0 [2025-03-20 01:01:05] Production.INFO: CreateAllLog End [2025-03-20 01:01:05] Production.INFO: Account Balance End. [2025-03-20 01:01:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:01:05] Production.INFO: ==24566== Releasing lock... [2025-03-20 01:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:01:05 [end_date_ymd] => 2025-03-20 01:01:05 [RateCDR] => 1 ) [2025-03-20 01:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:01:05' and `end` < '2025-03-20 01:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:01:13] Production.ERROR: CronJobId end10 [2025-03-20 01:01:13] Production.INFO: ==24564== Releasing lock... [2025-03-20 01:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:01:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:01:15] Production.INFO: call_cost start [2025-03-20 01:01:15] Production.INFO: call_cost end [2025-03-20 01:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:01:16] Production.INFO: ==24560== Releasing lock... [2025-03-20 01:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:01:18] Production.INFO: count ==748 [2025-03-20 01:01:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:01:05 - End Time 2025-03-20 01:01:05 [2025-03-20 01:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719335', 'tblTempUsageDetail_20' ) start [2025-03-20 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719335', 'tblTempUsageDetail_20' ) end [2025-03-20 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719335', 'tblTempVendorCDR_20' ) start [2025-03-20 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719335', 'tblTempVendorCDR_20' ) end [2025-03-20 01:01:18] Production.INFO: ProcessCDR(1,14719335,1,1,2) [2025-03-20 01:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719335', 'tblTempUsageDetail_20' ) start [2025-03-20 01:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719335', 'tblTempUsageDetail_20' ) end [2025-03-20 01:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:01:21] Production.INFO: ==24568== Releasing lock... [2025-03-20 01:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:01:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:02:01] Production.INFO: ==24626== Lock acquired, processing the job... [2025-03-20 05:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:02:01] Production.INFO: neon service started [2025-03-20 05:02:01] Production.INFO: neon service started [2025-03-20 05:02:01] Production.INFO: ==24626== Releasing lock... [2025-03-20 05:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:02:02] Production.INFO: ==24628== Lock acquired, processing the job... [2025-03-20 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:02:02] Production.INFO: ==24630== Lock acquired, processing the job... [2025-03-20 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:02:02] Production.INFO: ==24630== Releasing lock... [2025-03-20 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:02:02] Production.INFO: ==24628== Releasing lock... [2025-03-20 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:02:03] Production.INFO: ==24635== Lock acquired, processing the job... [2025-03-20 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:02:03] Production.INFO: ==24633== Lock acquired, processing the job... [2025-03-20 01:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:02:03] Production.INFO: ==24643== Lock acquired, processing the job... [2025-03-20 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:02:03] Production.INFO: ==24639== Lock acquired, processing the job... [2025-03-20 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:02:03] Production.INFO: ==24637== Lock acquired, processing the job... [2025-03-20 01:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:02:04] Production.INFO: Account Balance Start. [2025-03-20 01:02:04] Production.INFO: CreateAllLog Start [2025-03-20 01:02:04] Production.INFO: 117 [2025-03-20 01:02:04] Production.INFO: ==24641== Lock acquired, processing the job... [2025-03-20 01:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:02:04] Production.INFO: count ==12 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:02:04] Production.INFO: count ==23 [2025-03-20 01:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719338') start [2025-03-20 01:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.INFO: ==24635== Releasing lock... [2025-03-20 01:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719338') end [2025-03-20 01:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:02:04] Production.INFO: 1 [2025-03-20 01:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:02:04] Production.INFO: ==24643== Releasing lock... [2025-03-20 01:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.ERROR: done [2025-03-20 01:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.ERROR: done [2025-03-20 01:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:02:05] Production.INFO: Total Charge 0 [2025-03-20 01:02:05] Production.INFO: CreateAllLog End [2025-03-20 01:02:05] Production.INFO: Account Balance End. [2025-03-20 01:02:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:02:05] Production.INFO: ==24639== Releasing lock... [2025-03-20 01:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:02:05 [end_date_ymd] => 2025-03-20 01:02:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:02:05' and `end` < '2025-03-20 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-03-20 01:02:11] Production.ERROR: CronJobId end10 [2025-03-20 01:02:11] Production.INFO: ==24637== Releasing lock... [2025-03-20 01:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:02:15] Production.INFO: call_cost start [2025-03-20 01:02:15] Production.INFO: call_cost end [2025-03-20 01:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:02:16] Production.INFO: ==24633== Releasing lock... [2025-03-20 01:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:02:17] Production.INFO: count ==745 [2025-03-20 01:02:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:02:05 - End Time 2025-03-20 01:02:05 [2025-03-20 01:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719340', 'tblTempUsageDetail_20' ) start [2025-03-20 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719340', 'tblTempUsageDetail_20' ) end [2025-03-20 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719340', 'tblTempVendorCDR_20' ) start [2025-03-20 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719340', 'tblTempVendorCDR_20' ) end [2025-03-20 01:02:18] Production.INFO: ProcessCDR(1,14719340,1,1,2) [2025-03-20 01:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719340', 'tblTempUsageDetail_20' ) start [2025-03-20 01:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719340', 'tblTempUsageDetail_20' ) end [2025-03-20 01:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:02:21] Production.INFO: ==24641== Releasing lock... [2025-03-20 01:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:02:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:03:02] Production.INFO: ==24696== Lock acquired, processing the job... [2025-03-20 05:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:03:02] Production.INFO: neon service started [2025-03-20 05:03:02] Production.INFO: neon service started [2025-03-20 05:03:02] Production.INFO: ==24696== Releasing lock... [2025-03-20 05:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:03:02] Production.INFO: ==24698== Lock acquired, processing the job... [2025-03-20 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:03:02] Production.INFO: ==24700== Lock acquired, processing the job... [2025-03-20 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:03:02] Production.INFO: ==24700== Releasing lock... [2025-03-20 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:03:03] Production.INFO: ==24698== Releasing lock... [2025-03-20 01:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:03:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:03:04] Production.INFO: ==24703== Lock acquired, processing the job... [2025-03-20 01:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:03:04] Production.INFO: ==24705== Lock acquired, processing the job... [2025-03-20 01:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:03:04] Production.INFO: ==24711== Lock acquired, processing the job... [2025-03-20 01:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:03:04] Production.INFO: ==24707== Lock acquired, processing the job... [2025-03-20 01:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:03:04] Production.INFO: ==24709== Lock acquired, processing the job... [2025-03-20 01:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:03:04] Production.INFO: ==24713== Lock acquired, processing the job... [2025-03-20 01:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:03:04] Production.INFO: ==24705== Releasing lock... [2025-03-20 01:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:03:04] Production.ERROR: done [2025-03-20 01:03:04] Production.INFO: Account Balance Start. [2025-03-20 01:03:04] Production.INFO: CreateAllLog Start [2025-03-20 01:03:04] Production.INFO: 117 [2025-03-20 01:03:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:03:04] Production.INFO: count ==12 [2025-03-20 01:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:03:04] Production.INFO: count ==23 [2025-03-20 01:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719344') start [2025-03-20 01:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:04] Production.ERROR: done [2025-03-20 01:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719344') end [2025-03-20 01:03:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:03:05] Production.INFO: 1 [2025-03-20 01:03:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:03:05] Production.INFO: Date 2025-03-15 [2025-03-20 01:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:05] Production.INFO: Date 2025-03-16 [2025-03-20 01:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:05] Production.INFO: ==24713== Releasing lock... [2025-03-20 01:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:03:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:03:05] Production.INFO: Date 2025-03-17 [2025-03-20 01:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:03:05] Production.INFO: Total Charge 0 [2025-03-20 01:03:05] Production.INFO: CreateAllLog End [2025-03-20 01:03:05] Production.INFO: Account Balance End. [2025-03-20 01:03:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:03:05] Production.INFO: ==24709== Releasing lock... [2025-03-20 01:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:03:05 [end_date_ymd] => 2025-03-20 01:03:05 [RateCDR] => 1 ) [2025-03-20 01:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:03:05' and `end` < '2025-03-20 01:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:03:13] Production.ERROR: CronJobId end10 [2025-03-20 01:03:13] Production.INFO: ==24707== Releasing lock... [2025-03-20 01:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:03:14] Production.INFO: call_cost start [2025-03-20 01:03:14] Production.INFO: call_cost end [2025-03-20 01:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:03:15] Production.INFO: ==24703== Releasing lock... [2025-03-20 01:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:03:17] Production.INFO: count ==745 [2025-03-20 01:03:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:03:05 - End Time 2025-03-20 01:03:05 [2025-03-20 01:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719345', 'tblTempUsageDetail_20' ) start [2025-03-20 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719345', 'tblTempUsageDetail_20' ) end [2025-03-20 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719345', 'tblTempVendorCDR_20' ) start [2025-03-20 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719345', 'tblTempVendorCDR_20' ) end [2025-03-20 01:03:18] Production.INFO: ProcessCDR(1,14719345,1,1,2) [2025-03-20 01:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719345', 'tblTempUsageDetail_20' ) start [2025-03-20 01:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719345', 'tblTempUsageDetail_20' ) end [2025-03-20 01:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:03:21] Production.INFO: ==24711== Releasing lock... [2025-03-20 01:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:03:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:04:01] Production.INFO: ==24779== Lock acquired, processing the job... [2025-03-20 05:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:04:01] Production.INFO: neon service started [2025-03-20 05:04:01] Production.INFO: neon service started [2025-03-20 05:04:01] Production.INFO: ==24779== Releasing lock... [2025-03-20 05:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:04:02] Production.INFO: ==24781== Lock acquired, processing the job... [2025-03-20 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:04:02] Production.INFO: ==24783== Lock acquired, processing the job... [2025-03-20 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:04:02] Production.INFO: ==24781== Releasing lock... [2025-03-20 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:04:02] Production.INFO: ==24783== Releasing lock... [2025-03-20 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:04:03] Production.INFO: ==24794== Lock acquired, processing the job... [2025-03-20 01:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:04:03] Production.INFO: ==24796== Lock acquired, processing the job... [2025-03-20 01:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:04:03] Production.INFO: ==24786== Lock acquired, processing the job... [2025-03-20 01:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:04:03] Production.INFO: ==24790== Lock acquired, processing the job... [2025-03-20 01:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:04:03] Production.INFO: ==24788== Lock acquired, processing the job... [2025-03-20 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:04:03] Production.INFO: ==24792== Lock acquired, processing the job... [2025-03-20 01:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:04:03] Production.INFO: count ==12 [2025-03-20 01:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:04:03] Production.INFO: count ==23 [2025-03-20 01:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719346') start [2025-03-20 01:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:04:03] Production.INFO: Account Balance Start. [2025-03-20 01:04:03] Production.INFO: CreateAllLog Start [2025-03-20 01:04:03] Production.INFO: 117 [2025-03-20 01:04:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.ERROR: done [2025-03-20 01:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719346') end [2025-03-20 01:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:04:04] Production.INFO: 1 [2025-03-20 01:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.INFO: ==24788== Releasing lock... [2025-03-20 01:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:04:04] Production.INFO: ==24796== Releasing lock... [2025-03-20 01:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:04:04] Production.ERROR: done [2025-03-20 01:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:04:04] Production.INFO: Total Charge 0 [2025-03-20 01:04:04] Production.INFO: CreateAllLog End [2025-03-20 01:04:04] Production.INFO: Account Balance End. [2025-03-20 01:04:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:04:04] Production.INFO: ==24792== Releasing lock... [2025-03-20 01:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:04:05 [end_date_ymd] => 2025-03-20 01:04:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:04:05' and `end` < '2025-03-20 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-03-20 01:04:12] Production.ERROR: CronJobId end10 [2025-03-20 01:04:12] Production.INFO: ==24790== Releasing lock... [2025-03-20 01:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:04:14] Production.INFO: call_cost start [2025-03-20 01:04:14] Production.INFO: call_cost end [2025-03-20 01:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:04:15] Production.INFO: ==24786== Releasing lock... [2025-03-20 01:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:04:17] Production.INFO: count ==744 [2025-03-20 01:04:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:04:05 - End Time 2025-03-20 01:04:05 [2025-03-20 01:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719350', 'tblTempUsageDetail_20' ) start [2025-03-20 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719350', 'tblTempUsageDetail_20' ) end [2025-03-20 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719350', 'tblTempVendorCDR_20' ) start [2025-03-20 01:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719350', 'tblTempVendorCDR_20' ) end [2025-03-20 01:04:18] Production.INFO: ProcessCDR(1,14719350,1,1,2) [2025-03-20 01:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719350', 'tblTempUsageDetail_20' ) start [2025-03-20 01:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719350', 'tblTempUsageDetail_20' ) end [2025-03-20 01:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:04:21] Production.INFO: ==24794== Releasing lock... [2025-03-20 01:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:04:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 05:05:02] Production.INFO: ==24855== Lock acquired, processing the job... [2025-03-20 05:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:05:02] Production.INFO: neon service started [2025-03-20 05:05:02] Production.INFO: neon service started [2025-03-20 05:05:02] Production.INFO: ==24855== Releasing lock... [2025-03-20 05:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:05:02] Production.INFO: ==24857== Lock acquired, processing the job... [2025-03-20 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:05:02] Production.INFO: ==24857== Releasing lock... [2025-03-20 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:05:03] Production.INFO: ==24859== Lock acquired, processing the job... [2025-03-20 05:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:05:03] Production.INFO: ==24859== Releasing lock... [2025-03-20 05:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:05:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:05:03] Production.INFO: ==24862== Lock acquired, processing the job... [2025-03-20 01:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:05:03] Production.INFO: ==24870== Lock acquired, processing the job... [2025-03-20 01:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:05:03] Production.INFO: ==24864== Lock acquired, processing the job... [2025-03-20 01:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:05:03] Production.INFO: ==24866== Lock acquired, processing the job... [2025-03-20 01:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:05:03] Production.INFO: ==24872== Lock acquired, processing the job... [2025-03-20 01:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:05:03] Production.INFO: ==24868== Lock acquired, processing the job... [2025-03-20 01:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:05:04] Production.INFO: Account Balance Start. [2025-03-20 01:05:04] Production.INFO: CreateAllLog Start [2025-03-20 01:05:04] Production.INFO: 117 [2025-03-20 01:05:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:05:04] Production.INFO: count ==12 [2025-03-20 01:05:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:05:04] Production.INFO: count ==23 [2025-03-20 01:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719354') start [2025-03-20 01:05:04] Production.ERROR: done [2025-03-20 01:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:05:04] Production.INFO: ==24864== Releasing lock... [2025-03-20 01:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719354') end [2025-03-20 01:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:05:04] Production.INFO: 1 [2025-03-20 01:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:05:04] Production.INFO: ==24872== Releasing lock... [2025-03-20 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:05:04] Production.ERROR: done [2025-03-20 01:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:05:04] Production.INFO: Total Charge 0 [2025-03-20 01:05:04] Production.INFO: CreateAllLog End [2025-03-20 01:05:04] Production.INFO: Account Balance End. [2025-03-20 01:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:05:04] Production.INFO: ==24868== Releasing lock... [2025-03-20 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:05:05 [end_date_ymd] => 2025-03-20 01:05:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:05:05' and `end` < '2025-03-20 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-03-20 01:05:12] Production.ERROR: CronJobId end10 [2025-03-20 01:05:12] Production.INFO: ==24866== Releasing lock... [2025-03-20 01:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:05:15] Production.INFO: call_cost start [2025-03-20 01:05:15] Production.INFO: call_cost end [2025-03-20 01:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:05:16] Production.INFO: ==24862== Releasing lock... [2025-03-20 01:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:05:17] Production.INFO: count ==744 [2025-03-20 01:05:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:05:05 - End Time 2025-03-20 01:05:05 [2025-03-20 01:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719355', 'tblTempUsageDetail_20' ) start [2025-03-20 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719355', 'tblTempUsageDetail_20' ) end [2025-03-20 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719355', 'tblTempVendorCDR_20' ) start [2025-03-20 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719355', 'tblTempVendorCDR_20' ) end [2025-03-20 01:05:18] Production.INFO: ProcessCDR(1,14719355,1,1,2) [2025-03-20 01:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719355', 'tblTempUsageDetail_20' ) start [2025-03-20 01:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719355', 'tblTempUsageDetail_20' ) end [2025-03-20 01:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:05:21] Production.INFO: ==24870== Releasing lock... [2025-03-20 01:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:05:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 05:06:01] Production.INFO: ==24926== Lock acquired, processing the job... [2025-03-20 05:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:06:01] Production.INFO: neon service started [2025-03-20 05:06:01] Production.INFO: neon service started [2025-03-20 05:06:01] Production.INFO: ==24926== Releasing lock... [2025-03-20 05:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:06:02] Production.INFO: ==24930== Lock acquired, processing the job... [2025-03-20 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:06:02] Production.INFO: ==24930== Releasing lock... [2025-03-20 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:06:02] Production.INFO: ==24928== Lock acquired, processing the job... [2025-03-20 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:06:02] Production.INFO: ==24928== Releasing lock... [2025-03-20 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:06:03] Production.INFO: ==24941== Lock acquired, processing the job... [2025-03-20 01:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:06:03] Production.INFO: ==24937== Lock acquired, processing the job... [2025-03-20 01:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:06:03] Production.INFO: ==24933== Lock acquired, processing the job... [2025-03-20 01:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:06:03] Production.INFO: ==24935== Lock acquired, processing the job... [2025-03-20 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:06:03] Production.INFO: ==24939== Lock acquired, processing the job... [2025-03-20 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:06:03] Production.INFO: ==24943== Lock acquired, processing the job... [2025-03-20 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:06:03] Production.ERROR: done [2025-03-20 01:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:06:03] Production.INFO: Account Balance Start. [2025-03-20 01:06:03] Production.INFO: CreateAllLog Start [2025-03-20 01:06:03] Production.INFO: 117 [2025-03-20 01:06:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 01:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:03] Production.INFO: count ==12 [2025-03-20 01: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-03-20 01:06:04] Production.INFO: count ==23 [2025-03-20 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719357') start [2025-03-20 01:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.ERROR: done [2025-03-20 01:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719357') end [2025-03-20 01:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:06:04] Production.INFO: 1 [2025-03-20 01:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:06:04] Production.INFO: ==24943== Releasing lock... [2025-03-20 01:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.INFO: ==24935== Releasing lock... [2025-03-20 01:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:06:04] Production.INFO: Total Charge 0 [2025-03-20 01:06:04] Production.INFO: CreateAllLog End [2025-03-20 01:06:04] Production.INFO: Account Balance End. [2025-03-20 01:06:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:06:04] Production.INFO: ==24939== Releasing lock... [2025-03-20 01:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:06:05 [end_date_ymd] => 2025-03-20 01:06:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:06:05' and `end` < '2025-03-20 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-03-20 01:06:12] Production.ERROR: CronJobId end10 [2025-03-20 01:06:12] Production.INFO: ==24937== Releasing lock... [2025-03-20 01:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:06:15] Production.INFO: call_cost start [2025-03-20 01:06:15] Production.INFO: call_cost end [2025-03-20 01:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:06:16] Production.INFO: ==24933== Releasing lock... [2025-03-20 01:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:06:17] Production.INFO: count ==753 [2025-03-20 01:06:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:06:05 - End Time 2025-03-20 01:06:05 [2025-03-20 01:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719360', 'tblTempUsageDetail_20' ) start [2025-03-20 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719360', 'tblTempUsageDetail_20' ) end [2025-03-20 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719360', 'tblTempVendorCDR_20' ) start [2025-03-20 01:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719360', 'tblTempVendorCDR_20' ) end [2025-03-20 01:06:17] Production.INFO: ProcessCDR(1,14719360,1,1,2) [2025-03-20 01:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:06:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:06:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719360', 'tblTempUsageDetail_20' ) start [2025-03-20 01:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719360', 'tblTempUsageDetail_20' ) end [2025-03-20 01:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:06:21] Production.INFO: ==24941== Releasing lock... [2025-03-20 01:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:06:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:07:01] Production.INFO: ==24995== Lock acquired, processing the job... [2025-03-20 05:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:07:01] Production.INFO: neon service started [2025-03-20 05:07:01] Production.INFO: neon service started [2025-03-20 05:07:01] Production.INFO: ==24995== Releasing lock... [2025-03-20 05:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:07:02] Production.INFO: ==24999== Lock acquired, processing the job... [2025-03-20 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:07:02] Production.INFO: ==24999== Releasing lock... [2025-03-20 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:07:02] Production.INFO: ==24997== Lock acquired, processing the job... [2025-03-20 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:07:02] Production.INFO: ==24997== Releasing lock... [2025-03-20 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:07:03] Production.INFO: ==25006== Lock acquired, processing the job... [2025-03-20 01:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:07:03] Production.INFO: ==25008== Lock acquired, processing the job... [2025-03-20 01:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:07:03] Production.INFO: Account Balance Start. [2025-03-20 01:07:03] Production.INFO: CreateAllLog Start [2025-03-20 01:07:03] Production.INFO: 117 [2025-03-20 01:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:07:03] Production.INFO: ==25010== Lock acquired, processing the job... [2025-03-20 01:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:07:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:03] Production.INFO: ==25004== Lock acquired, processing the job... [2025-03-20 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:07:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:07:03] Production.INFO: ==25002== Lock acquired, processing the job... [2025-03-20 01:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:07:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:03] Production.INFO: ==25012== Lock acquired, processing the job... [2025-03-20 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:04] Production.INFO: count ==12 [2025-03-20 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-03-20 01:07:04] Production.INFO: count ==23 [2025-03-20 01:07:04] Production.ERROR: done [2025-03-20 01:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719364') start [2025-03-20 01:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:07:04] Production.INFO: Total Charge 0 [2025-03-20 01:07:04] Production.INFO: CreateAllLog End [2025-03-20 01:07:04] Production.INFO: ==25004== Releasing lock... [2025-03-20 01:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:07:04] Production.ERROR: done [2025-03-20 01:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719364') end [2025-03-20 01:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:07:04] Production.INFO: 1 [2025-03-20 01:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:07:04] Production.INFO: ==25012== Releasing lock... [2025-03-20 01:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:07:04] Production.INFO: Account Balance End. [2025-03-20 01:07:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:07:04] Production.INFO: ==25008== Releasing lock... [2025-03-20 01:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:07:05 [end_date_ymd] => 2025-03-20 01:07:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:07:05' and `end` < '2025-03-20 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-03-20 01:07:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_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-03-20 01:07:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:07:11] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:07:11] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:07:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:07:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:07:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:07:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:07:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:07:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:07:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:07:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:07:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:07:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:07:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:07:11] Production.ERROR: CronJobId end10 [2025-03-20 01:07:11] Production.INFO: ==25006== Releasing lock... [2025-03-20 01:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:07:11] Production.INFO: call_cost start [2025-03-20 01:07:11] Production.INFO: call_cost end [2025-03-20 01:07:12] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:07:12] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:07:12] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:07:12] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:07:12] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:07:12] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:07:12] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:07:12] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:07:12] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:07:12] Production.INFO: ==25002== Releasing lock... [2025-03-20 01:07:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:07:12] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:07:17] Production.INFO: count ==753 [2025-03-20 01:07:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:07:05 - End Time 2025-03-20 01:07:05 [2025-03-20 01:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719365', 'tblTempUsageDetail_20' ) start [2025-03-20 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719365', 'tblTempUsageDetail_20' ) end [2025-03-20 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719365', 'tblTempVendorCDR_20' ) start [2025-03-20 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719365', 'tblTempVendorCDR_20' ) end [2025-03-20 01:07:18] Production.INFO: ProcessCDR(1,14719365,1,1,2) [2025-03-20 01:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719365', 'tblTempUsageDetail_20' ) start [2025-03-20 01:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719365', 'tblTempUsageDetail_20' ) end [2025-03-20 01:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:07:21] Production.INFO: ==25010== Releasing lock... [2025-03-20 01:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:07:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:08:01] Production.INFO: ==25069== Lock acquired, processing the job... [2025-03-20 05:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:08:01] Production.INFO: neon service started [2025-03-20 05:08:01] Production.INFO: neon service started [2025-03-20 05:08:01] Production.INFO: ==25069== Releasing lock... [2025-03-20 05:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:08:01] Production.INFO: ==25073== Lock acquired, processing the job... [2025-03-20 05:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:08:01] Production.INFO: ==25073== Releasing lock... [2025-03-20 05:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:08:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:08:01] Production.INFO: ==25071== Lock acquired, processing the job... [2025-03-20 01:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:08:02] Production.INFO: ==25071== Releasing lock... [2025-03-20 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:08:03] Production.INFO: ==25082== Lock acquired, processing the job... [2025-03-20 01:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:08:03] Production.INFO: ==25084== Lock acquired, processing the job... [2025-03-20 01:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:08:03] Production.INFO: ==25076== Lock acquired, processing the job... [2025-03-20 01:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:08:03] Production.INFO: Account Balance Start. [2025-03-20 01:08:03] Production.INFO: CreateAllLog Start [2025-03-20 01:08:03] Production.INFO: 117 [2025-03-20 01:08:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:08:03] Production.INFO: ==25078== Lock acquired, processing the job... [2025-03-20 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:08:03] Production.INFO: ==25086== Lock acquired, processing the job... [2025-03-20 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:08:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:08:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:03] Production.INFO: ==25080== Lock acquired, processing the job... [2025-03-20 01:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:08:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:08:03] Production.ERROR: done [2025-03-20 01:08:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:08:03] Production.INFO: count ==12 [2025-03-20 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-03-20 01:08:03] Production.INFO: count ==23 [2025-03-20 01:08:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719369') start [2025-03-20 01:08:03] Production.ERROR: done [2025-03-20 01:08:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:08:03] Production.INFO: Date 2025-03-15 [2025-03-20 01:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:08:03] Production.INFO: Date 2025-03-16 [2025-03-20 01:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719369') end [2025-03-20 01:08:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:08:03] Production.INFO: 1 [2025-03-20 01:08:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:04] Production.INFO: ==25078== Releasing lock... [2025-03-20 01:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:08:04] Production.INFO: ==25086== Releasing lock... [2025-03-20 01:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:08:04] Production.INFO: Total Charge 0 [2025-03-20 01:08:04] Production.INFO: CreateAllLog End [2025-03-20 01:08:04] Production.INFO: Account Balance End. [2025-03-20 01:08:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:08:04] Production.INFO: ==25082== Releasing lock... [2025-03-20 01:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:08:05 [end_date_ymd] => 2025-03-20 01:08:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:08:05' and `end` < '2025-03-20 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-03-20 01:08:12] Production.ERROR: CronJobId end10 [2025-03-20 01:08:12] Production.INFO: ==25080== Releasing lock... [2025-03-20 01:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:08:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:08:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:08:14] Production.INFO: call_cost start [2025-03-20 01:08:14] Production.INFO: call_cost end [2025-03-20 01:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:08:15] Production.INFO: ==25076== Releasing lock... [2025-03-20 01:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:08:17] Production.INFO: count ==758 [2025-03-20 01:08:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:08:05 - End Time 2025-03-20 01:08:05 [2025-03-20 01:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719370', 'tblTempUsageDetail_20' ) start [2025-03-20 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719370', 'tblTempUsageDetail_20' ) end [2025-03-20 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719370', 'tblTempVendorCDR_20' ) start [2025-03-20 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719370', 'tblTempVendorCDR_20' ) end [2025-03-20 01:08:17] Production.INFO: ProcessCDR(1,14719370,1,1,2) [2025-03-20 01:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719370', 'tblTempUsageDetail_20' ) start [2025-03-20 01:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719370', 'tblTempUsageDetail_20' ) end [2025-03-20 01:08:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:08:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:08:20] Production.INFO: ==25084== Releasing lock... [2025-03-20 01:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:08:20] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:09:01] Production.INFO: ==25140== Lock acquired, processing the job... [2025-03-20 05:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:09:01] Production.INFO: neon service started [2025-03-20 05:09:01] Production.INFO: neon service started [2025-03-20 05:09:01] Production.INFO: ==25140== Releasing lock... [2025-03-20 05:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:09:02] Production.INFO: ==25142== Lock acquired, processing the job... [2025-03-20 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:09:02] Production.INFO: ==25142== Releasing lock... [2025-03-20 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:09:02] Production.INFO: ==25144== Lock acquired, processing the job... [2025-03-20 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:09:02] Production.INFO: ==25144== Releasing lock... [2025-03-20 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:09:03] Production.INFO: ==25151== Lock acquired, processing the job... [2025-03-20 01:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:09:03] Production.INFO: ==25155== Lock acquired, processing the job... [2025-03-20 01:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:09:03] Production.INFO: ==25147== Lock acquired, processing the job... [2025-03-20 01:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:09:03] Production.INFO: ==25149== Lock acquired, processing the job... [2025-03-20 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:09:03] Production.INFO: ==25153== Lock acquired, processing the job... [2025-03-20 01:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:09:04] Production.INFO: ==25157== Lock acquired, processing the job... [2025-03-20 01:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:09:04] Production.ERROR: done [2025-03-20 01:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:09:04] Production.INFO: Account Balance Start. [2025-03-20 01:09:04] Production.INFO: CreateAllLog Start [2025-03-20 01:09:04] Production.INFO: 117 [2025-03-20 01:09:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.INFO: ==25149== Releasing lock... [2025-03-20 01:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:09:04] Production.INFO: count ==12 [2025-03-20 01:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.ERROR: done [2025-03-20 01:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:09:04] Production.INFO: count ==23 [2025-03-20 01:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719374') start [2025-03-20 01:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719374') end [2025-03-20 01:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:09:04] Production.INFO: 1 [2025-03-20 01:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.INFO: ==25157== Releasing lock... [2025-03-20 01:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:09:04] Production.INFO: Total Charge 0 [2025-03-20 01:09:04] Production.INFO: CreateAllLog End [2025-03-20 01:09:04] Production.INFO: Account Balance End. [2025-03-20 01:09:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:09:05] Production.INFO: ==25153== Releasing lock... [2025-03-20 01:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:09:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:09:05 [end_date_ymd] => 2025-03-20 01:09:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:09:05' and `end` < '2025-03-20 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-03-20 01:09:11] Production.ERROR: CronJobId end10 [2025-03-20 01:09:11] Production.INFO: ==25151== Releasing lock... [2025-03-20 01:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:09:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:09:15] Production.INFO: call_cost start [2025-03-20 01:09:15] Production.INFO: call_cost end [2025-03-20 01:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:09:16] Production.INFO: ==25147== Releasing lock... [2025-03-20 01:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:09:17] Production.INFO: count ==758 [2025-03-20 01:09:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:09:05 - End Time 2025-03-20 01:09:05 [2025-03-20 01:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719375', 'tblTempUsageDetail_20' ) start [2025-03-20 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719375', 'tblTempUsageDetail_20' ) end [2025-03-20 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719375', 'tblTempVendorCDR_20' ) start [2025-03-20 01:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719375', 'tblTempVendorCDR_20' ) end [2025-03-20 01:09:17] Production.INFO: ProcessCDR(1,14719375,1,1,2) [2025-03-20 01:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719375', 'tblTempUsageDetail_20' ) start [2025-03-20 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719375', 'tblTempUsageDetail_20' ) end [2025-03-20 01:09:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:09:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:09:21] Production.INFO: ==25155== Releasing lock... [2025-03-20 01:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:09:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:10:02] Production.INFO: ==25213== Lock acquired, processing the job... [2025-03-20 05:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:10:02] Production.INFO: neon service started [2025-03-20 05:10:02] Production.INFO: neon service started [2025-03-20 05:10:02] Production.INFO: ==25213== Releasing lock... [2025-03-20 05:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:10:03] Production.INFO: ==25216== Lock acquired, processing the job... [2025-03-20 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:10:03] Production.INFO: ==25218== Lock acquired, processing the job... [2025-03-20 05:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:10:03] Production.INFO: ==25218== Releasing lock... [2025-03-20 05:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:10:03] Production.INFO: ==25216== Releasing lock... [2025-03-20 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:10:04] Production.INFO: ==25226== Lock acquired, processing the job... [2025-03-20 01:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:10:04] Production.INFO: ==25220== Lock acquired, processing the job... [2025-03-20 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 01:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:10:04] Production.INFO: ==25230== Lock acquired, processing the job... [2025-03-20 01:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 01:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 01:10:04] Production.ERROR: CronJob PID - 25226 [2025-03-20 01:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 01:10:04] Production.ERROR: CronJob ID - 10 [2025-03-20 01:10:04] Production.ERROR: CronJob Last Run Time 2025-03-20 01:10:00 [2025-03-20 01:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 01:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 01:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 01:10:04] Production.ERROR: CronJob PID - 25230 [2025-03-20 01:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 01:10:04] Production.ERROR: CronJob ID - 16 [2025-03-20 01:10:04] Production.ERROR: CronJob Last Run Time 2025-03-20 01:10:00 [2025-03-20 01:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 01:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 01:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 01:10:04] Production.INFO: ==25220== Releasing lock... [2025-03-20 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 01:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 01:10:04] Production.INFO: ==25222== Lock acquired, processing the job... [2025-03-20 01:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:10:04] Production.INFO: ==25232== Lock acquired, processing the job... [2025-03-20 01:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 01:10:04] Production.INFO: ==25224== Lock acquired, processing the job... [2025-03-20 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:10:04] Production.INFO: ==25228== Lock acquired, processing the job... [2025-03-20 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:10:04] Production.INFO: ==25234== Lock acquired, processing the job... [2025-03-20 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:10:05] Production.INFO: Account Balance Start. [2025-03-20 01:10:05] Production.INFO: CreateAllLog Start [2025-03-20 01:10:05] Production.INFO: 117 [2025-03-20 01:10:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:10:05] Production.INFO: Date 2025-03-08 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.INFO: count ==12 [2025-03-20 01:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:10:05] Production.INFO: count ==23 [2025-03-20 01:10:05] Production.ERROR: done [2025-03-20 01:10:05] Production.INFO: Date 2025-03-09 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719379') start [2025-03-20 01:10:05] Production.ERROR: done [2025-03-20 01:10:05] Production.INFO: Date 2025-03-10 [2025-03-20 01:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 01:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719380', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 01:10:05] Production.INFO: ==25224== Releasing lock... [2025-03-20 01:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:10:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:10:05] Production.INFO: Date 2025-03-11 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719379') end [2025-03-20 01:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:10:05] Production.INFO: 1 [2025-03-20 01:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:10:05] Production.INFO: Date 2025-03-12 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.ERROR: done [2025-03-20 01:10:05] Production.INFO: Date 2025-03-13 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.INFO: ==25234== Releasing lock... [2025-03-20 01:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:10:05] Production.INFO: Date 2025-03-14 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.INFO: Date 2025-03-15 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.INFO: Date 2025-03-16 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.INFO: Date 2025-03-17 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:10:05] Production.INFO: Total Charge 0 [2025-03-20 01:10:05] Production.INFO: CreateAllLog End [2025-03-20 01:10:06] Production.INFO: Account Balance End. [2025-03-20 01:10:06] Production.ERROR: CronJobId end 12 [2025-03-20 01:10:06] Production.INFO: ==25228== Releasing lock... [2025-03-20 01:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:10:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:10:06 [end_date_ymd] => 2025-03-20 01:10:06 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:10:06' and `end` < '2025-03-20 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-03-20 01:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719380', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 01:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 01:10:09] Production.INFO: ProcessCDR(1,14719380,1,1,2) [2025-03-20 01:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719380,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719380,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:10:09] Production.INFO: ==25232== Releasing lock... [2025-03-20 01:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 01:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 01:10:15] Production.ERROR: CronJobId end10 [2025-03-20 01:10:15] Production.INFO: ==25226== Releasing lock... [2025-03-20 01:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:10:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:10:17] Production.INFO: call_cost start [2025-03-20 01:10:17] Production.INFO: call_cost end [2025-03-20 01:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:10:18] Production.INFO: ==25222== Releasing lock... [2025-03-20 01:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:10:18] Production.INFO: count ==767 [2025-03-20 01:10:19] Production.ERROR: pbx CDR StartTime 2025-03-19 22:10:06 - End Time 2025-03-20 01:10:06 [2025-03-20 01:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719381', 'tblTempUsageDetail_20' ) start [2025-03-20 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719381', 'tblTempUsageDetail_20' ) end [2025-03-20 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719381', 'tblTempVendorCDR_20' ) start [2025-03-20 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719381', 'tblTempVendorCDR_20' ) end [2025-03-20 01:10:19] Production.INFO: ProcessCDR(1,14719381,1,1,2) [2025-03-20 01:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719381', 'tblTempUsageDetail_20' ) start [2025-03-20 01:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719381', 'tblTempUsageDetail_20' ) end [2025-03-20 01:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:10:22] Production.INFO: ==25230== Releasing lock... [2025-03-20 01:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:10:22] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:11:01] Production.INFO: ==25291== Lock acquired, processing the job... [2025-03-20 05:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:11:01] Production.INFO: neon service started [2025-03-20 05:11:01] Production.INFO: neon service started [2025-03-20 05:11:01] Production.INFO: ==25291== Releasing lock... [2025-03-20 05:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:11:02] Production.INFO: ==25293== Lock acquired, processing the job... [2025-03-20 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:11:02] Production.INFO: ==25295== Lock acquired, processing the job... [2025-03-20 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:11:02] Production.INFO: ==25293== Releasing lock... [2025-03-20 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:11:02] Production.INFO: ==25295== Releasing lock... [2025-03-20 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:11:03] Production.INFO: ==25298== Lock acquired, processing the job... [2025-03-20 01:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:11:03] Production.INFO: ==25304== Lock acquired, processing the job... [2025-03-20 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:11:03] Production.INFO: ==25308== Lock acquired, processing the job... [2025-03-20 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:11:03] Production.INFO: Account Balance Start. [2025-03-20 01:11:03] Production.INFO: CreateAllLog Start [2025-03-20 01:11:03] Production.INFO: ==25300== Lock acquired, processing the job... [2025-03-20 01:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:11:03] Production.INFO: 117 [2025-03-20 01:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:03] Production.INFO: ==25302== Lock acquired, processing the job... [2025-03-20 01:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:11:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:11:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:11:03] Production.INFO: count ==12 [2025-03-20 01:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:03] Production.INFO: count ==23 [2025-03-20 01:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719384') start [2025-03-20 01:11:04] Production.INFO: ==25306== Lock acquired, processing the job... [2025-03-20 01:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719384') end [2025-03-20 01:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:11:04] Production.INFO: 1 [2025-03-20 01:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:11:04] Production.INFO: ==25308== Releasing lock... [2025-03-20 01:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:04] Production.INFO: ==25300== Releasing lock... [2025-03-20 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:11:04] Production.ERROR: done [2025-03-20 01:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:11:04] Production.INFO: Total Charge 0 [2025-03-20 01:11:04] Production.INFO: CreateAllLog End [2025-03-20 01:11:04] Production.ERROR: done [2025-03-20 01:11:04] Production.INFO: Account Balance End. [2025-03-20 01:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:11:04] Production.INFO: ==25304== Releasing lock... [2025-03-20 01:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:11:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:11:06 [end_date_ymd] => 2025-03-20 01:11:06 [RateCDR] => 1 ) [2025-03-20 01: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-03-19 22:11:06' and `end` < '2025-03-20 01: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-03-20 01:11:12] Production.ERROR: CronJobId end10 [2025-03-20 01:11:12] Production.INFO: ==25302== Releasing lock... [2025-03-20 01:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:11:15] Production.INFO: call_cost start [2025-03-20 01:11:15] Production.INFO: call_cost end [2025-03-20 01:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:11:16] Production.INFO: ==25298== Releasing lock... [2025-03-20 01:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:11:18] Production.INFO: count ==786 [2025-03-20 01:11:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:11:06 - End Time 2025-03-20 01:11:06 [2025-03-20 01:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719386', 'tblTempUsageDetail_20' ) start [2025-03-20 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719386', 'tblTempUsageDetail_20' ) end [2025-03-20 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719386', 'tblTempVendorCDR_20' ) start [2025-03-20 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719386', 'tblTempVendorCDR_20' ) end [2025-03-20 01:11:18] Production.INFO: ProcessCDR(1,14719386,1,1,2) [2025-03-20 01:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719386', 'tblTempUsageDetail_20' ) start [2025-03-20 01:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719386', 'tblTempUsageDetail_20' ) end [2025-03-20 01:11:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:11:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:11:22] Production.INFO: ==25306== Releasing lock... [2025-03-20 01:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:11:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:12:01] Production.INFO: ==25364== Lock acquired, processing the job... [2025-03-20 05:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:12:01] Production.INFO: neon service started [2025-03-20 05:12:01] Production.INFO: neon service started [2025-03-20 05:12:01] Production.INFO: ==25364== Releasing lock... [2025-03-20 05:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:12:01] Production.INFO: ==25366== Lock acquired, processing the job... [2025-03-20 01:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:12:02] Production.INFO: ==25366== Releasing lock... [2025-03-20 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:12:02] Production.INFO: ==25368== Lock acquired, processing the job... [2025-03-20 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:12:02] Production.INFO: ==25368== Releasing lock... [2025-03-20 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:12:03] Production.INFO: ==25379== Lock acquired, processing the job... [2025-03-20 01:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:12:03] Production.INFO: ==25381== Lock acquired, processing the job... [2025-03-20 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 01:12:03] Production.INFO: ==25373== Lock acquired, processing the job... [2025-03-20 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:12:03] Production.INFO: ==25371== Lock acquired, processing the job... [2025-03-20 01:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:12:03] Production.INFO: count ==12 [2025-03-20 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-03-20 01:12:03] Production.INFO: count ==23 [2025-03-20 01:12:03] Production.INFO: ==25377== Lock acquired, processing the job... [2025-03-20 01:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:12:03] Production.INFO: ==25375== Lock acquired, processing the job... [2025-03-20 01:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719387') start [2025-03-20 01:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:12:03] Production.ERROR: done [2025-03-20 01:12:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719387') end [2025-03-20 01:12:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:12:03] Production.INFO: 1 [2025-03-20 01:12:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:12:03] Production.INFO: Account Balance Start. [2025-03-20 01:12:03] Production.INFO: CreateAllLog Start [2025-03-20 01:12:03] Production.INFO: 117 [2025-03-20 01:12:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:03] Production.INFO: ==25381== Releasing lock... [2025-03-20 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:12:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:12:03] Production.INFO: ==25373== Releasing lock... [2025-03-20 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:12:03] Production.ERROR: done [2025-03-20 01:12:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:12:04] Production.INFO: Total Charge 0 [2025-03-20 01:12:04] Production.INFO: CreateAllLog End [2025-03-20 01:12:04] Production.INFO: Account Balance End. [2025-03-20 01:12:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:12:04] Production.INFO: ==25377== Releasing lock... [2025-03-20 01:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:12:05 [end_date_ymd] => 2025-03-20 01:12:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:12:05' and `end` < '2025-03-20 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-03-20 01:12:13] Production.ERROR: CronJobId end10 [2025-03-20 01:12:13] Production.INFO: ==25375== Releasing lock... [2025-03-20 01:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:12:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:12:15] Production.INFO: call_cost start [2025-03-20 01:12:15] Production.INFO: call_cost end [2025-03-20 01:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:12:16] Production.INFO: ==25371== Releasing lock... [2025-03-20 01:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:12:17] Production.INFO: count ==787 [2025-03-20 01:12:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:12:05 - End Time 2025-03-20 01:12:05 [2025-03-20 01:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719391', 'tblTempUsageDetail_20' ) start [2025-03-20 01:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719391', 'tblTempUsageDetail_20' ) end [2025-03-20 01:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719391', 'tblTempVendorCDR_20' ) start [2025-03-20 01:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719391', 'tblTempVendorCDR_20' ) end [2025-03-20 01:12:17] Production.INFO: ProcessCDR(1,14719391,1,1,2) [2025-03-20 01:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719391', 'tblTempUsageDetail_20' ) start [2025-03-20 01:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719391', 'tblTempUsageDetail_20' ) end [2025-03-20 01:12:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:12:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:12:22] Production.INFO: ==25379== Releasing lock... [2025-03-20 01:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:12:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:13:01] Production.INFO: ==25477== Lock acquired, processing the job... [2025-03-20 05:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:13:01] Production.INFO: neon service started [2025-03-20 05:13:01] Production.INFO: neon service started [2025-03-20 05:13:01] Production.INFO: ==25477== Releasing lock... [2025-03-20 05:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:13:02] Production.INFO: ==25479== Lock acquired, processing the job... [2025-03-20 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:13:02] Production.INFO: ==25481== Lock acquired, processing the job... [2025-03-20 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:13:02] Production.INFO: ==25479== Releasing lock... [2025-03-20 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:13:02] Production.INFO: ==25481== Releasing lock... [2025-03-20 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:13:03] Production.INFO: ==25490== Lock acquired, processing the job... [2025-03-20 01:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:13:03] Production.INFO: ==25492== Lock acquired, processing the job... [2025-03-20 01:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:13:03] Production.INFO: Account Balance Start. [2025-03-20 01:13:03] Production.INFO: CreateAllLog Start [2025-03-20 01:13:03] Production.INFO: 117 [2025-03-20 01:13:03] Production.INFO: ==25484== Lock acquired, processing the job... [2025-03-20 01:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:13:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:03] Production.INFO: ==25486== Lock acquired, processing the job... [2025-03-20 01:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:13:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:03] Production.INFO: ==25488== Lock acquired, processing the job... [2025-03-20 01:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:13:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:03] Production.INFO: ==25494== Lock acquired, processing the job... [2025-03-20 01:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:13:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:13:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:04] Production.INFO: count ==12 [2025-03-20 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-03-20 01:13:04] Production.INFO: count ==23 [2025-03-20 01:13:04] Production.ERROR: done [2025-03-20 01:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719395') start [2025-03-20 01:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:04] Production.ERROR: done [2025-03-20 01:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:04] Production.INFO: ==25486== Releasing lock... [2025-03-20 01:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719395') end [2025-03-20 01:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:13:04] Production.INFO: 1 [2025-03-20 01:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:13:04] Production.INFO: ==25494== Releasing lock... [2025-03-20 01:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:13:04] Production.INFO: Total Charge 0 [2025-03-20 01:13:04] Production.INFO: CreateAllLog End [2025-03-20 01:13:04] Production.INFO: Account Balance End. [2025-03-20 01:13:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:13:04] Production.INFO: ==25490== Releasing lock... [2025-03-20 01:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:13:05 [end_date_ymd] => 2025-03-20 01:13:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:13:05' and `end` < '2025-03-20 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-03-20 01:13:12] Production.ERROR: CronJobId end10 [2025-03-20 01:13:12] Production.INFO: ==25488== Releasing lock... [2025-03-20 01:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:13:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:13:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:13:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:13:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:13:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:13:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:13:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:13:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:13:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:13:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:13:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:13:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:13:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:13:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:13:15] Production.INFO: call_cost start [2025-03-20 01:13:15] Production.INFO: call_cost end [2025-03-20 01:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:13:16] Production.INFO: ==25484== Releasing lock... [2025-03-20 01:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:13:17] Production.INFO: count ==790 [2025-03-20 01:13:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:13:05 - End Time 2025-03-20 01:13:05 [2025-03-20 01:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719396', 'tblTempUsageDetail_20' ) start [2025-03-20 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719396', 'tblTempUsageDetail_20' ) end [2025-03-20 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719396', 'tblTempVendorCDR_20' ) start [2025-03-20 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719396', 'tblTempVendorCDR_20' ) end [2025-03-20 01:13:17] Production.INFO: ProcessCDR(1,14719396,1,1,2) [2025-03-20 01:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719396', 'tblTempUsageDetail_20' ) start [2025-03-20 01:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719396', 'tblTempUsageDetail_20' ) end [2025-03-20 01:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:13:21] Production.INFO: ==25492== Releasing lock... [2025-03-20 01:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:13:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:14:02] Production.INFO: ==25563== Lock acquired, processing the job... [2025-03-20 05:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:14:02] Production.INFO: neon service started [2025-03-20 05:14:02] Production.INFO: neon service started [2025-03-20 05:14:02] Production.INFO: ==25563== Releasing lock... [2025-03-20 05:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:14:02] Production.INFO: ==25565== Lock acquired, processing the job... [2025-03-20 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:14:03] Production.INFO: ==25567== Lock acquired, processing the job... [2025-03-20 05:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:14:03] Production.INFO: ==25567== Releasing lock... [2025-03-20 05:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:14:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:14:03] Production.INFO: ==25565== Releasing lock... [2025-03-20 01:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:14:04] Production.INFO: ==25574== Lock acquired, processing the job... [2025-03-20 01:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:14:04] Production.INFO: ==25580== Lock acquired, processing the job... [2025-03-20 01:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:14:04] Production.INFO: ==25570== Lock acquired, processing the job... [2025-03-20 01:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:14:04] Production.INFO: count ==12 [2025-03-20 01:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:14:04] Production.INFO: count ==23 [2025-03-20 01:14:04] Production.INFO: ==25572== Lock acquired, processing the job... [2025-03-20 01:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719397') start [2025-03-20 01:14:04] Production.INFO: ==25576== Lock acquired, processing the job... [2025-03-20 01:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:14:04] Production.INFO: ==25578== Lock acquired, processing the job... [2025-03-20 01:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719397') end [2025-03-20 01:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:14:04] Production.INFO: 1 [2025-03-20 01:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:14:04] Production.INFO: Account Balance Start. [2025-03-20 01:14:04] Production.INFO: CreateAllLog Start [2025-03-20 01:14:04] Production.INFO: 117 [2025-03-20 01:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:14:04] Production.INFO: ==25580== Releasing lock... [2025-03-20 01:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:14:04] Production.INFO: ==25572== Releasing lock... [2025-03-20 01:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:04] Production.ERROR: done [2025-03-20 01:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:14:05] Production.INFO: Date 2025-03-16 [2025-03-20 01:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:05] Production.INFO: Date 2025-03-17 [2025-03-20 01:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:05] Production.ERROR: done [2025-03-20 01:14:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:14:05] Production.INFO: Total Charge 0 [2025-03-20 01:14:05] Production.INFO: CreateAllLog End [2025-03-20 01:14:05] Production.INFO: Account Balance End. [2025-03-20 01:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:14:05] Production.INFO: ==25576== Releasing lock... [2025-03-20 01:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:14:06 [end_date_ymd] => 2025-03-20 01:14:06 [RateCDR] => 1 ) [2025-03-20 01: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-03-19 22:14:06' and `end` < '2025-03-20 01: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-03-20 01:14:13] Production.ERROR: CronJobId end10 [2025-03-20 01:14:13] Production.INFO: ==25574== Releasing lock... [2025-03-20 01:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:14:15] Production.INFO: call_cost start [2025-03-20 01:14:15] Production.INFO: call_cost end [2025-03-20 01:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:14:16] Production.INFO: ==25570== Releasing lock... [2025-03-20 01:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:14:18] Production.INFO: count ==794 [2025-03-20 01:14:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:14:06 - End Time 2025-03-20 01:14:06 [2025-03-20 01:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719401', 'tblTempUsageDetail_20' ) start [2025-03-20 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719401', 'tblTempUsageDetail_20' ) end [2025-03-20 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719401', 'tblTempVendorCDR_20' ) start [2025-03-20 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719401', 'tblTempVendorCDR_20' ) end [2025-03-20 01:14:18] Production.INFO: ProcessCDR(1,14719401,1,1,2) [2025-03-20 01:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719401', 'tblTempUsageDetail_20' ) start [2025-03-20 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719401', 'tblTempUsageDetail_20' ) end [2025-03-20 01:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:14:21] Production.INFO: ==25578== Releasing lock... [2025-03-20 01:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:14:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 05:15:01] Production.INFO: ==25647== Lock acquired, processing the job... [2025-03-20 05:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:15:01] Production.INFO: neon service started [2025-03-20 05:15:01] Production.INFO: neon service started [2025-03-20 05:15:01] Production.INFO: ==25647== Releasing lock... [2025-03-20 05:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:15:02] Production.INFO: ==25649== Lock acquired, processing the job... [2025-03-20 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:15:02] Production.INFO: ==25651== Lock acquired, processing the job... [2025-03-20 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:15:02] Production.INFO: ==25651== Releasing lock... [2025-03-20 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:15:02] Production.INFO: ==25649== Releasing lock... [2025-03-20 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:15:03] Production.INFO: ==25654== Lock acquired, processing the job... [2025-03-20 01:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:15:03] Production.INFO: ==25656== Lock acquired, processing the job... [2025-03-20 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:15:03] Production.INFO: ==25658== Lock acquired, processing the job... [2025-03-20 01:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:15:03] Production.INFO: ==25660== Lock acquired, processing the job... [2025-03-20 01:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:15:03] Production.INFO: ==25656== Releasing lock... [2025-03-20 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:15:03] Production.INFO: ==25662== Lock acquired, processing the job... [2025-03-20 01:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:15:03] Production.INFO: Account Balance Start. [2025-03-20 01:15:03] Production.INFO: CreateAllLog Start [2025-03-20 01:15:04] Production.INFO: 117 [2025-03-20 01:15:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.INFO: ==25664== Lock acquired, processing the job... [2025-03-20 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:15:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.INFO: count ==12 [2025-03-20 01:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:15:04] Production.INFO: count ==23 [2025-03-20 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719405') start [2025-03-20 01:15:04] Production.ERROR: done [2025-03-20 01:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.ERROR: done [2025-03-20 01:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719405') end [2025-03-20 01:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:15:04] Production.INFO: 1 [2025-03-20 01:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.INFO: ==25664== Releasing lock... [2025-03-20 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:15:04] Production.INFO: Total Charge 0 [2025-03-20 01:15:04] Production.INFO: CreateAllLog End [2025-03-20 01:15:05] Production.INFO: Account Balance End. [2025-03-20 01:15:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:15:05] Production.INFO: ==25660== Releasing lock... [2025-03-20 01:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:15:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:15:05 [end_date_ymd] => 2025-03-20 01:15:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:15:05' and `end` < '2025-03-20 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-03-20 01:15:12] Production.ERROR: CronJobId end10 [2025-03-20 01:15:12] Production.INFO: ==25658== Releasing lock... [2025-03-20 01:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:15:14] Production.INFO: call_cost start [2025-03-20 01:15:14] Production.INFO: call_cost end [2025-03-20 01:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:15:15] Production.INFO: ==25654== Releasing lock... [2025-03-20 01:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:15:17] Production.INFO: count ==789 [2025-03-20 01:15:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:15:05 - End Time 2025-03-20 01:15:05 [2025-03-20 01:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719406', 'tblTempUsageDetail_20' ) start [2025-03-20 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719406', 'tblTempUsageDetail_20' ) end [2025-03-20 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719406', 'tblTempVendorCDR_20' ) start [2025-03-20 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719406', 'tblTempVendorCDR_20' ) end [2025-03-20 01:15:18] Production.INFO: ProcessCDR(1,14719406,1,1,2) [2025-03-20 01:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719406', 'tblTempUsageDetail_20' ) start [2025-03-20 01:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719406', 'tblTempUsageDetail_20' ) end [2025-03-20 01:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:15:21] Production.INFO: ==25662== Releasing lock... [2025-03-20 01:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:15:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:16:02] Production.INFO: ==25727== Lock acquired, processing the job... [2025-03-20 05:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:16:02] Production.INFO: neon service started [2025-03-20 05:16:02] Production.INFO: neon service started [2025-03-20 05:16:02] Production.INFO: ==25727== Releasing lock... [2025-03-20 05:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:16:02] Production.INFO: ==25731== Lock acquired, processing the job... [2025-03-20 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:16:02] Production.INFO: ==25731== Releasing lock... [2025-03-20 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:16:02] Production.INFO: ==25729== Lock acquired, processing the job... [2025-03-20 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:16:03] Production.INFO: ==25729== Releasing lock... [2025-03-20 01:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:16:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:16:03] Production.INFO: ==25736== Lock acquired, processing the job... [2025-03-20 01:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:16:03] Production.INFO: ==25738== Lock acquired, processing the job... [2025-03-20 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:16:04] Production.INFO: ==25744== Lock acquired, processing the job... [2025-03-20 01:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:16:04] Production.INFO: ==25740== Lock acquired, processing the job... [2025-03-20 01:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:16:04] Production.INFO: ==25742== Lock acquired, processing the job... [2025-03-20 01:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:16:04] Production.INFO: ==25746== Lock acquired, processing the job... [2025-03-20 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:16:04] Production.INFO: ==25738== Releasing lock... [2025-03-20 01:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:16:04] Production.INFO: Account Balance Start. [2025-03-20 01:16:04] Production.INFO: CreateAllLog Start [2025-03-20 01:16:04] Production.INFO: 117 [2025-03-20 01:16:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:04] Production.ERROR: done [2025-03-20 01:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:04] Production.INFO: count ==12 [2025-03-20 01:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:16:04] Production.INFO: count ==23 [2025-03-20 01:16:04] Production.ERROR: done [2025-03-20 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719410') start [2025-03-20 01:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719410') end [2025-03-20 01:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:16:04] Production.INFO: 1 [2025-03-20 01:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:05] Production.INFO: ==25746== Releasing lock... [2025-03-20 01:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:16:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:16:05] Production.INFO: Date 2025-03-16 [2025-03-20 01:16:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:05] Production.INFO: Date 2025-03-17 [2025-03-20 01:16:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:16:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:16:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:16:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:16:05] Production.INFO: Total Charge 0 [2025-03-20 01:16:05] Production.INFO: CreateAllLog End [2025-03-20 01:16:05] Production.INFO: Account Balance End. [2025-03-20 01:16:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:16:05] Production.INFO: ==25742== Releasing lock... [2025-03-20 01:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:16:05 [end_date_ymd] => 2025-03-20 01:16:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:16:05' and `end` < '2025-03-20 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-03-20 01:16:12] Production.ERROR: CronJobId end10 [2025-03-20 01:16:12] Production.INFO: ==25740== Releasing lock... [2025-03-20 01:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:16:15] Production.INFO: call_cost start [2025-03-20 01:16:15] Production.INFO: call_cost end [2025-03-20 01:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:16:16] Production.INFO: ==25736== Releasing lock... [2025-03-20 01:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:16:17] Production.INFO: count ==786 [2025-03-20 01:16:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:16:05 - End Time 2025-03-20 01:16:05 [2025-03-20 01:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719411', 'tblTempUsageDetail_20' ) start [2025-03-20 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719411', 'tblTempUsageDetail_20' ) end [2025-03-20 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719411', 'tblTempVendorCDR_20' ) start [2025-03-20 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719411', 'tblTempVendorCDR_20' ) end [2025-03-20 01:16:18] Production.INFO: ProcessCDR(1,14719411,1,1,2) [2025-03-20 01:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719411', 'tblTempUsageDetail_20' ) start [2025-03-20 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719411', 'tblTempUsageDetail_20' ) end [2025-03-20 01:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:16:21] Production.INFO: ==25744== Releasing lock... [2025-03-20 01:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:16:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:17:01] Production.INFO: ==25812== Lock acquired, processing the job... [2025-03-20 05:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:17:01] Production.INFO: neon service started [2025-03-20 05:17:01] Production.INFO: neon service started [2025-03-20 05:17:01] Production.INFO: ==25812== Releasing lock... [2025-03-20 05:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:17:01] Production.INFO: ==25814== Lock acquired, processing the job... [2025-03-20 01:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:17:02] Production.INFO: ==25814== Releasing lock... [2025-03-20 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:17:02] Production.INFO: ==25816== Lock acquired, processing the job... [2025-03-20 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:17:02] Production.INFO: ==25816== Releasing lock... [2025-03-20 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:17:03] Production.INFO: ==25824== Lock acquired, processing the job... [2025-03-20 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:17:03] Production.INFO: ==25822== Lock acquired, processing the job... [2025-03-20 01:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:17:03] Production.INFO: ==25818== Lock acquired, processing the job... [2025-03-20 01:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:17:03] Production.INFO: Account Balance Start. [2025-03-20 01:17:03] Production.INFO: CreateAllLog Start [2025-03-20 01:17:03] Production.INFO: 117 [2025-03-20 01:17:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:17:03] Production.INFO: ==25820== Lock acquired, processing the job... [2025-03-20 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.INFO: ==25826== Lock acquired, processing the job... [2025-03-20 01:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:17:03] Production.INFO: ==25828== Lock acquired, processing the job... [2025-03-20 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:17:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:17:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:17:03] Production.INFO: Date 2025-03-15 [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.INFO: count ==12 [2025-03-20 01:17:03] Production.INFO: Date 2025-03-16 [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:17:03] Production.INFO: count ==23 [2025-03-20 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719415') start [2025-03-20 01:17:03] Production.INFO: ==25820== Releasing lock... [2025-03-20 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:17:03] Production.INFO: Date 2025-03-17 [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.INFO: Date 2025-03-18 [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.INFO: Date 2025-03-19 [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.INFO: Date 2025-03-20 [2025-03-20 01:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719415') end [2025-03-20 01:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:17:03] Production.INFO: 1 [2025-03-20 01:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:17:03] Production.INFO: Total Charge 0 [2025-03-20 01:17:03] Production.INFO: CreateAllLog End [2025-03-20 01:17:03] Production.ERROR: done [2025-03-20 01:17:03] Production.INFO: ==25828== Releasing lock... [2025-03-20 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:17:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:17:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:17:04] Production.ERROR: done [2025-03-20 01:17:04] Production.INFO: Account Balance End. [2025-03-20 01:17:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:17:04] Production.INFO: ==25824== Releasing lock... [2025-03-20 01:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:17:05 [end_date_ymd] => 2025-03-20 01:17:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:17:05' and `end` < '2025-03-20 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-03-20 01:17:12] Production.ERROR: CronJobId end10 [2025-03-20 01:17:12] Production.INFO: ==25822== Releasing lock... [2025-03-20 01:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:17:15] Production.INFO: call_cost start [2025-03-20 01:17:15] Production.INFO: call_cost end [2025-03-20 01:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:17:16] Production.INFO: ==25818== Releasing lock... [2025-03-20 01:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:17:17] Production.INFO: count ==780 [2025-03-20 01:17:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:17:05 - End Time 2025-03-20 01:17:05 [2025-03-20 01:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719416', 'tblTempUsageDetail_20' ) start [2025-03-20 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719416', 'tblTempUsageDetail_20' ) end [2025-03-20 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719416', 'tblTempVendorCDR_20' ) start [2025-03-20 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719416', 'tblTempVendorCDR_20' ) end [2025-03-20 01:17:17] Production.INFO: ProcessCDR(1,14719416,1,1,2) [2025-03-20 01:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719416', 'tblTempUsageDetail_20' ) start [2025-03-20 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719416', 'tblTempUsageDetail_20' ) end [2025-03-20 01:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:17:21] Production.INFO: ==25826== Releasing lock... [2025-03-20 01:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:17:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:18:02] Production.INFO: ==25908== Lock acquired, processing the job... [2025-03-20 05:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:18:02] Production.INFO: neon service started [2025-03-20 05:18:02] Production.INFO: neon service started [2025-03-20 05:18:02] Production.INFO: ==25908== Releasing lock... [2025-03-20 05:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 01:18:02] Production.INFO: ==25910== Lock acquired, processing the job... [2025-03-20 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:18:02] Production.INFO: ==25910== Releasing lock... [2025-03-20 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:18:02] Production.INFO: ==25912== Lock acquired, processing the job... [2025-03-20 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:18:02] Production.INFO: ==25912== Releasing lock... [2025-03-20 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:18:03] Production.INFO: ==25914== Lock acquired, processing the job... [2025-03-20 01:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:18:03] Production.INFO: ==25918== Lock acquired, processing the job... [2025-03-20 01:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:18:04] Production.INFO: ==25920== Lock acquired, processing the job... [2025-03-20 01:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:18:04] Production.INFO: ==25922== Lock acquired, processing the job... [2025-03-20 01:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:18:04] Production.INFO: Account Balance Start. [2025-03-20 01:18:04] Production.INFO: CreateAllLog Start [2025-03-20 01:18:04] Production.INFO: 117 [2025-03-20 01:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: ==25916== Lock acquired, processing the job... [2025-03-20 01:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: ==25925== Lock acquired, processing the job... [2025-03-20 01:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.ERROR: done [2025-03-20 01:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:18:04] Production.INFO: Total Charge 0 [2025-03-20 01:18:04] Production.INFO: CreateAllLog End [2025-03-20 01:18:04] Production.INFO: count ==12 [2025-03-20 01:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:18:04] Production.INFO: count ==23 [2025-03-20 01:18:04] Production.INFO: ==25916== Releasing lock... [2025-03-20 01:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:18:04] Production.ERROR: done [2025-03-20 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719420') start [2025-03-20 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719420') end [2025-03-20 01:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:18:04] Production.INFO: 1 [2025-03-20 01:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:18:05] Production.INFO: Account Balance End. [2025-03-20 01:18:05] Production.INFO: ==25925== Releasing lock... [2025-03-20 01:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:18:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:18:05] Production.INFO: ==25920== Releasing lock... [2025-03-20 01:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:18:05 [end_date_ymd] => 2025-03-20 01:18:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:18:05' and `end` < '2025-03-20 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-03-20 01:18:12] Production.ERROR: CronJobId end10 [2025-03-20 01:18:12] Production.INFO: ==25918== Releasing lock... [2025-03-20 01:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:18:15] Production.INFO: call_cost start [2025-03-20 01:18:15] Production.INFO: call_cost end [2025-03-20 01:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:18:16] Production.INFO: ==25914== Releasing lock... [2025-03-20 01:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:18:18] Production.INFO: count ==779 [2025-03-20 01:18:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:18:05 - End Time 2025-03-20 01:18:05 [2025-03-20 01:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719421', 'tblTempUsageDetail_20' ) start [2025-03-20 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719421', 'tblTempUsageDetail_20' ) end [2025-03-20 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719421', 'tblTempVendorCDR_20' ) start [2025-03-20 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719421', 'tblTempVendorCDR_20' ) end [2025-03-20 01:18:18] Production.INFO: ProcessCDR(1,14719421,1,1,2) [2025-03-20 01:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719421', 'tblTempUsageDetail_20' ) start [2025-03-20 01:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719421', 'tblTempUsageDetail_20' ) end [2025-03-20 01:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:18:21] Production.INFO: ==25922== Releasing lock... [2025-03-20 01:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:18:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:19:01] Production.INFO: ==25995== Lock acquired, processing the job... [2025-03-20 05:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:19:01] Production.INFO: neon service started [2025-03-20 05:19:01] Production.INFO: neon service started [2025-03-20 05:19:01] Production.INFO: ==25995== Releasing lock... [2025-03-20 05:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:19:01] Production.INFO: ==25999== Lock acquired, processing the job... [2025-03-20 05:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:19:01] Production.INFO: ==25999== Releasing lock... [2025-03-20 05:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:19:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:19:02] Production.INFO: ==25997== Lock acquired, processing the job... [2025-03-20 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:19:02] Production.INFO: ==25997== Releasing lock... [2025-03-20 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:19:03] Production.INFO: ==26005== Lock acquired, processing the job... [2025-03-20 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:19:03] Production.INFO: ==26003== Lock acquired, processing the job... [2025-03-20 01:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:19:03] Production.INFO: ==26007== Lock acquired, processing the job... [2025-03-20 01:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:19:03] Production.INFO: ==26009== Lock acquired, processing the job... [2025-03-20 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:19:03] Production.INFO: Account Balance Start. [2025-03-20 01:19:03] Production.INFO: CreateAllLog Start [2025-03-20 01:19:03] Production.INFO: 117 [2025-03-20 01:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:19:03] Production.INFO: ==26011== Lock acquired, processing the job... [2025-03-20 01:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:03] Production.INFO: ==26005== Releasing lock... [2025-03-20 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:19:03] Production.INFO: ==26013== Lock acquired, processing the job... [2025-03-20 01:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:19:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:19:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:03] Production.INFO: count ==12 [2025-03-20 01:19:03] Production.INFO: Date 2025-03-15 [2025-03-20 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-03-20 01:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:03] Production.INFO: count ==23 [2025-03-20 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719425') start [2025-03-20 01:19:03] Production.INFO: Date 2025-03-16 [2025-03-20 01:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719425') end [2025-03-20 01:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:19:04] Production.INFO: 1 [2025-03-20 01:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:04] Production.INFO: ==26013== Releasing lock... [2025-03-20 01:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:19:04] Production.ERROR: done [2025-03-20 01:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:19:04] Production.INFO: Total Charge 0 [2025-03-20 01:19:04] Production.INFO: CreateAllLog End [2025-03-20 01:19:04] Production.ERROR: done [2025-03-20 01:19:04] Production.INFO: Account Balance End. [2025-03-20 01:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:19:04] Production.INFO: ==26009== Releasing lock... [2025-03-20 01:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:19:05 [end_date_ymd] => 2025-03-20 01:19:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:19:05' and `end` < '2025-03-20 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-03-20 01:19:12] Production.ERROR: CronJobId end10 [2025-03-20 01:19:12] Production.INFO: ==26007== Releasing lock... [2025-03-20 01:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:19:15] Production.INFO: call_cost start [2025-03-20 01:19:15] Production.INFO: call_cost end [2025-03-20 01:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:19:16] Production.INFO: ==26003== Releasing lock... [2025-03-20 01:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:19:17] Production.INFO: count ==776 [2025-03-20 01:19:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:19:05 - End Time 2025-03-20 01:19:05 [2025-03-20 01:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719426', 'tblTempUsageDetail_20' ) start [2025-03-20 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719426', 'tblTempUsageDetail_20' ) end [2025-03-20 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719426', 'tblTempVendorCDR_20' ) start [2025-03-20 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719426', 'tblTempVendorCDR_20' ) end [2025-03-20 01:19:17] Production.INFO: ProcessCDR(1,14719426,1,1,2) [2025-03-20 01:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719426', 'tblTempUsageDetail_20' ) start [2025-03-20 01:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719426', 'tblTempUsageDetail_20' ) end [2025-03-20 01:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:19:21] Production.INFO: ==26011== Releasing lock... [2025-03-20 01:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:19:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:20:01] Production.INFO: ==26080== Lock acquired, processing the job... [2025-03-20 05:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:20:01] Production.INFO: neon service started [2025-03-20 05:20:01] Production.INFO: neon service started [2025-03-20 05:20:01] Production.INFO: ==26080== Releasing lock... [2025-03-20 05:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:20:02] Production.INFO: ==26082== Lock acquired, processing the job... [2025-03-20 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:20:02] Production.INFO: ==26084== Lock acquired, processing the job... [2025-03-20 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:20:02] Production.INFO: ==26084== Releasing lock... [2025-03-20 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:20:03] Production.INFO: ==26082== Releasing lock... [2025-03-20 01:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:20:03] Production.INFO: ==26089== Lock acquired, processing the job... [2025-03-20 01:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:20:03] Production.INFO: ==26087== Lock acquired, processing the job... [2025-03-20 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 01:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 01:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 01:20:03] Production.ERROR: CronJob PID - 26089 [2025-03-20 01:20:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 01:20:03] Production.ERROR: CronJob ID - 5 [2025-03-20 01:20:03] Production.ERROR: CronJob Last Run Time 2025-03-20 01:20:00 [2025-03-20 01:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 01:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 01:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 01:20:03] Production.INFO: ==26087== Releasing lock... [2025-03-20 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 01:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 01:20:03] Production.INFO: ==26093== Lock acquired, processing the job... [2025-03-20 01:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:20:04] Production.INFO: ==26091== Lock acquired, processing the job... [2025-03-20 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:20:04] Production.INFO: ==26101== Lock acquired, processing the job... [2025-03-20 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:20:04] Production.INFO: ==26095== Lock acquired, processing the job... [2025-03-20 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:20:04] Production.INFO: ==26099== Lock acquired, processing the job... [2025-03-20 01:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 01:20:04] Production.INFO: ==26097== Lock acquired, processing the job... [2025-03-20 01:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 01:20:04] Production.INFO: count ==12 [2025-03-20 01:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:20:04] Production.INFO: Account Balance Start. [2025-03-20 01:20:04] Production.INFO: CreateAllLog Start [2025-03-20 01:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:20:04] Production.INFO: count ==23 [2025-03-20 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719428') start [2025-03-20 01:20:04] Production.INFO: 117 [2025-03-20 01:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719428') end [2025-03-20 01:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:20:04] Production.INFO: 1 [2025-03-20 01:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:04] Production.INFO: ==26101== Releasing lock... [2025-03-20 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:05] Production.INFO: ==26091== Releasing lock... [2025-03-20 01:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:20:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:20:05] Production.ERROR: done [2025-03-20 01:20:05] Production.ERROR: done [2025-03-20 01:20:05] Production.INFO: Date 2025-03-13 [2025-03-20 01:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:20:05] Production.INFO: Date 2025-03-14 [2025-03-20 01:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:05] Production.INFO: Date 2025-03-15 [2025-03-20 01:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:05] Production.INFO: Date 2025-03-16 [2025-03-20 01:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 01:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719431', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 01:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 01:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:05] Production.ERROR: done [2025-03-20 01:20:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:20:05] Production.INFO: Total Charge 0 [2025-03-20 01:20:05] Production.INFO: CreateAllLog End [2025-03-20 01:20:05] Production.INFO: Account Balance End. [2025-03-20 01:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:20:05] Production.INFO: ==26095== Releasing lock... [2025-03-20 01:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:20:06 [end_date_ymd] => 2025-03-20 01:20:06 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:20:06' and `end` < '2025-03-20 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-03-20 01:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719431', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 01:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 01:20:09] Production.INFO: ProcessCDR(1,14719431,1,1,2) [2025-03-20 01:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719431,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719431,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:20:09] Production.INFO: ==26099== Releasing lock... [2025-03-20 01:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 01:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 01:20:14] Production.ERROR: CronJobId end10 [2025-03-20 01:20:14] Production.INFO: ==26093== Releasing lock... [2025-03-20 01:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:20:16] Production.INFO: call_cost start [2025-03-20 01:20:16] Production.INFO: call_cost end [2025-03-20 01:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:20:17] Production.INFO: ==26089== Releasing lock... [2025-03-20 01:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:20:18] Production.INFO: count ==783 [2025-03-20 01:20:19] Production.ERROR: pbx CDR StartTime 2025-03-19 22:20:06 - End Time 2025-03-20 01:20:06 [2025-03-20 01:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719432', 'tblTempUsageDetail_20' ) start [2025-03-20 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719432', 'tblTempUsageDetail_20' ) end [2025-03-20 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719432', 'tblTempVendorCDR_20' ) start [2025-03-20 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719432', 'tblTempVendorCDR_20' ) end [2025-03-20 01:20:19] Production.INFO: ProcessCDR(1,14719432,1,1,2) [2025-03-20 01:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719432', 'tblTempUsageDetail_20' ) start [2025-03-20 01:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719432', 'tblTempUsageDetail_20' ) end [2025-03-20 01:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:20:22] Production.INFO: ==26097== Releasing lock... [2025-03-20 01:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:20:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:21:01] Production.INFO: ==26165== Lock acquired, processing the job... [2025-03-20 05:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:21:01] Production.INFO: neon service started [2025-03-20 05:21:01] Production.INFO: neon service started [2025-03-20 05:21:01] Production.INFO: ==26165== Releasing lock... [2025-03-20 05:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:21:02] Production.INFO: ==26167== Lock acquired, processing the job... [2025-03-20 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:21:02] Production.INFO: ==26169== Lock acquired, processing the job... [2025-03-20 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:21:02] Production.INFO: ==26169== Releasing lock... [2025-03-20 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:21:02] Production.INFO: ==26167== Releasing lock... [2025-03-20 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:21:03] Production.INFO: ==26182== Lock acquired, processing the job... [2025-03-20 01:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:21:03] Production.INFO: ==26180== Lock acquired, processing the job... [2025-03-20 01:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 01:21:03] Production.INFO: count ==12 [2025-03-20 01:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 01:21:03] Production.INFO: count ==23 [2025-03-20 01:21:03] Production.INFO: ==26172== Lock acquired, processing the job... [2025-03-20 01:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719433') start [2025-03-20 01:21:03] Production.INFO: ==26178== Lock acquired, processing the job... [2025-03-20 01:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:21:03] Production.INFO: ==26174== Lock acquired, processing the job... [2025-03-20 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:21:03] Production.INFO: ==26176== Lock acquired, processing the job... [2025-03-20 01:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719433') end [2025-03-20 01:21:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:21:03] Production.INFO: 1 [2025-03-20 01:21:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:21:03] Production.INFO: ==26182== Releasing lock... [2025-03-20 01:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:21:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:21:03] Production.INFO: Account Balance Start. [2025-03-20 01:21:03] Production.INFO: CreateAllLog Start [2025-03-20 01:21:03] Production.ERROR: done [2025-03-20 01:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:21:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:21:03] Production.INFO: 117 [2025-03-20 01:21:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.ERROR: done [2025-03-20 01:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: ==26174== Releasing lock... [2025-03-20 01:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:21:04] Production.INFO: Total Charge 0 [2025-03-20 01:21:04] Production.INFO: CreateAllLog End [2025-03-20 01:21:04] Production.INFO: Account Balance End. [2025-03-20 01:21:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:21:04] Production.INFO: ==26178== Releasing lock... [2025-03-20 01:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:21:05 [end_date_ymd] => 2025-03-20 01:21:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:21:05' and `end` < '2025-03-20 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-03-20 01:21:12] Production.ERROR: CronJobId end10 [2025-03-20 01:21:12] Production.INFO: ==26176== Releasing lock... [2025-03-20 01:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:21:15] Production.INFO: call_cost start [2025-03-20 01:21:15] Production.INFO: call_cost end [2025-03-20 01:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:21:16] Production.INFO: ==26172== Releasing lock... [2025-03-20 01:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:21:17] Production.INFO: count ==783 [2025-03-20 01:21:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:21:05 - End Time 2025-03-20 01:21:05 [2025-03-20 01:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719437', 'tblTempUsageDetail_20' ) start [2025-03-20 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719437', 'tblTempUsageDetail_20' ) end [2025-03-20 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719437', 'tblTempVendorCDR_20' ) start [2025-03-20 01:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719437', 'tblTempVendorCDR_20' ) end [2025-03-20 01:21:17] Production.INFO: ProcessCDR(1,14719437,1,1,2) [2025-03-20 01:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719437', 'tblTempUsageDetail_20' ) start [2025-03-20 01:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719437', 'tblTempUsageDetail_20' ) end [2025-03-20 01:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:21:21] Production.INFO: ==26180== Releasing lock... [2025-03-20 01:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:21:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:22:02] Production.INFO: ==26249== Lock acquired, processing the job... [2025-03-20 05:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:22:02] Production.INFO: neon service started [2025-03-20 05:22:02] Production.INFO: neon service started [2025-03-20 05:22:02] Production.INFO: ==26249== Releasing lock... [2025-03-20 05:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:22:02] Production.INFO: ==26251== Lock acquired, processing the job... [2025-03-20 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:22:02] Production.INFO: ==26253== Lock acquired, processing the job... [2025-03-20 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:22:02] Production.INFO: ==26253== Releasing lock... [2025-03-20 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:22:02] Production.INFO: ==26251== Releasing lock... [2025-03-20 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:22:03] Production.INFO: ==26260== Lock acquired, processing the job... [2025-03-20 01:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:22:03] Production.INFO: ==26264== Lock acquired, processing the job... [2025-03-20 01:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:22:03] Production.INFO: ==26256== Lock acquired, processing the job... [2025-03-20 01:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:22:03] Production.INFO: ==26266== Lock acquired, processing the job... [2025-03-20 01:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:22:03] Production.INFO: ==26258== Lock acquired, processing the job... [2025-03-20 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:22:04] Production.INFO: ==26262== Lock acquired, processing the job... [2025-03-20 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 01:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:22:04] Production.INFO: count ==12 [2025-03-20 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-03-20 01:22:04] Production.INFO: count ==23 [2025-03-20 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719438') start [2025-03-20 01:22:04] Production.ERROR: done [2025-03-20 01:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:22:04] Production.INFO: Account Balance Start. [2025-03-20 01:22:04] Production.INFO: CreateAllLog Start [2025-03-20 01:22:04] Production.INFO: 117 [2025-03-20 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719438') end [2025-03-20 01:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:22:04] Production.INFO: 1 [2025-03-20 01:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:22:04] Production.INFO: ==26266== Releasing lock... [2025-03-20 01:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:22:04] Production.ERROR: done [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: ==26258== Releasing lock... [2025-03-20 01:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:22:04] Production.INFO: Total Charge 0 [2025-03-20 01:22:04] Production.INFO: CreateAllLog End [2025-03-20 01:22:04] Production.INFO: Account Balance End. [2025-03-20 01:22:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:22:05] Production.INFO: ==26262== Releasing lock... [2025-03-20 01:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:22:05 [end_date_ymd] => 2025-03-20 01:22:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:22:05' and `end` < '2025-03-20 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-03-20 01:22:12] Production.ERROR: CronJobId end10 [2025-03-20 01:22:12] Production.INFO: ==26260== Releasing lock... [2025-03-20 01:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:22:14] Production.INFO: call_cost start [2025-03-20 01:22:14] Production.INFO: call_cost end [2025-03-20 01:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:22:15] Production.INFO: ==26256== Releasing lock... [2025-03-20 01:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:22:17] Production.INFO: count ==784 [2025-03-20 01:22:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:22:05 - End Time 2025-03-20 01:22:05 [2025-03-20 01:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719442', 'tblTempUsageDetail_20' ) start [2025-03-20 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719442', 'tblTempUsageDetail_20' ) end [2025-03-20 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719442', 'tblTempVendorCDR_20' ) start [2025-03-20 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719442', 'tblTempVendorCDR_20' ) end [2025-03-20 01:22:18] Production.INFO: ProcessCDR(1,14719442,1,1,2) [2025-03-20 01:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719442', 'tblTempUsageDetail_20' ) start [2025-03-20 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719442', 'tblTempUsageDetail_20' ) end [2025-03-20 01:22:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:22:22] Production.INFO: ==26264== Releasing lock... [2025-03-20 01:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:22:22] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:23:01] Production.INFO: ==26339== Lock acquired, processing the job... [2025-03-20 05:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:23:01] Production.INFO: neon service started [2025-03-20 05:23:01] Production.INFO: neon service started [2025-03-20 05:23:01] Production.INFO: ==26339== Releasing lock... [2025-03-20 05:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:23:01] Production.INFO: ==26343== Lock acquired, processing the job... [2025-03-20 05:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:23:01] Production.INFO: ==26343== Releasing lock... [2025-03-20 05:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:23:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:23:02] Production.INFO: ==26341== Lock acquired, processing the job... [2025-03-20 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:23:02] Production.INFO: ==26341== Releasing lock... [2025-03-20 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:23:03] Production.INFO: ==26345== Lock acquired, processing the job... [2025-03-20 01:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:23:03] Production.INFO: ==26349== Lock acquired, processing the job... [2025-03-20 01:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:23:03] Production.INFO: ==26351== Lock acquired, processing the job... [2025-03-20 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:23:03] Production.INFO: ==26347== Lock acquired, processing the job... [2025-03-20 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:23:03] Production.INFO: ==26354== Lock acquired, processing the job... [2025-03-20 01:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:23:03] Production.INFO: Account Balance Start. [2025-03-20 01:23:03] Production.INFO: CreateAllLog Start [2025-03-20 01:23:03] Production.INFO: 117 [2025-03-20 01:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:23:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:03] Production.INFO: ==26356== Lock acquired, processing the job... [2025-03-20 01:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:23:03] Production.INFO: ==26347== Releasing lock... [2025-03-20 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:23:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:23:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:23:03] Production.INFO: count ==12 [2025-03-20 01:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:23:03] Production.INFO: count ==23 [2025-03-20 01:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719446') start [2025-03-20 01:23:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:04] Production.ERROR: done [2025-03-20 01:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719446') end [2025-03-20 01:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:23:04] Production.INFO: 1 [2025-03-20 01:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:23:04] Production.INFO: ==26356== Releasing lock... [2025-03-20 01:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:04] Production.ERROR: done [2025-03-20 01:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:23:04] Production.INFO: Total Charge 0 [2025-03-20 01:23:04] Production.INFO: CreateAllLog End [2025-03-20 01:23:04] Production.INFO: Account Balance End. [2025-03-20 01:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:23:04] Production.INFO: ==26351== Releasing lock... [2025-03-20 01:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:23:05 [end_date_ymd] => 2025-03-20 01:23:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:23:05' and `end` < '2025-03-20 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-03-20 01:23:11] Production.ERROR: CronJobId end10 [2025-03-20 01:23:11] Production.INFO: ==26349== Releasing lock... [2025-03-20 01:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:23:14] Production.INFO: call_cost start [2025-03-20 01:23:14] Production.INFO: call_cost end [2025-03-20 01:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:23:15] Production.INFO: ==26345== Releasing lock... [2025-03-20 01:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:23:17] Production.INFO: count ==783 [2025-03-20 01:23:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:23:05 - End Time 2025-03-20 01:23:05 [2025-03-20 01:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719447', 'tblTempUsageDetail_20' ) start [2025-03-20 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719447', 'tblTempUsageDetail_20' ) end [2025-03-20 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719447', 'tblTempVendorCDR_20' ) start [2025-03-20 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719447', 'tblTempVendorCDR_20' ) end [2025-03-20 01:23:18] Production.INFO: ProcessCDR(1,14719447,1,1,2) [2025-03-20 01:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719447', 'tblTempUsageDetail_20' ) start [2025-03-20 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719447', 'tblTempUsageDetail_20' ) end [2025-03-20 01:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:23:21] Production.INFO: ==26354== Releasing lock... [2025-03-20 01:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:23:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:24:01] Production.INFO: ==26421== Lock acquired, processing the job... [2025-03-20 05:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:24:01] Production.INFO: neon service started [2025-03-20 05:24:01] Production.INFO: neon service started [2025-03-20 05:24:01] Production.INFO: ==26421== Releasing lock... [2025-03-20 05:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:24:02] Production.INFO: ==26423== Lock acquired, processing the job... [2025-03-20 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:24:02] Production.INFO: ==26423== Releasing lock... [2025-03-20 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:24:02] Production.INFO: ==26425== Lock acquired, processing the job... [2025-03-20 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:24:02] Production.INFO: ==26425== Releasing lock... [2025-03-20 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:24:03] Production.INFO: ==26435== Lock acquired, processing the job... [2025-03-20 01:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:24:03] Production.INFO: ==26439== Lock acquired, processing the job... [2025-03-20 01:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:24:03] Production.INFO: ==26429== Lock acquired, processing the job... [2025-03-20 01:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:24:03] Production.INFO: ==26431== Lock acquired, processing the job... [2025-03-20 01:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 01:24:03] Production.INFO: count ==12 [2025-03-20 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-03-20 01:24:03] Production.INFO: count ==23 [2025-03-20 01:24:03] Production.INFO: ==26433== Lock acquired, processing the job... [2025-03-20 01:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719448') start [2025-03-20 01:24:04] Production.INFO: Account Balance Start. [2025-03-20 01:24:04] Production.INFO: CreateAllLog Start [2025-03-20 01:24:04] Production.INFO: 117 [2025-03-20 01:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:24:04] Production.INFO: ==26437== Lock acquired, processing the job... [2025-03-20 01:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719448') end [2025-03-20 01:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:24:04] Production.INFO: 1 [2025-03-20 01:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.INFO: ==26439== Releasing lock... [2025-03-20 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.INFO: ==26431== Releasing lock... [2025-03-20 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:24:04] Production.INFO: Total Charge 0 [2025-03-20 01:24:04] Production.INFO: CreateAllLog End [2025-03-20 01:24:04] Production.ERROR: done [2025-03-20 01:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:24:04] Production.INFO: Account Balance End. [2025-03-20 01:24:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:24:04] Production.INFO: ==26435== Releasing lock... [2025-03-20 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:24:04] Production.ERROR: done [2025-03-20 01:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:24:05 [end_date_ymd] => 2025-03-20 01:24:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:24:05' and `end` < '2025-03-20 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-03-20 01:24:12] Production.ERROR: CronJobId end10 [2025-03-20 01:24:12] Production.INFO: ==26433== Releasing lock... [2025-03-20 01:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:24:14] Production.INFO: call_cost start [2025-03-20 01:24:14] Production.INFO: call_cost end [2025-03-20 01:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:24:15] Production.INFO: ==26429== Releasing lock... [2025-03-20 01:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:24:18] Production.INFO: count ==782 [2025-03-20 01:24:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:24:05 - End Time 2025-03-20 01:24:05 [2025-03-20 01:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719452', 'tblTempUsageDetail_20' ) start [2025-03-20 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719452', 'tblTempUsageDetail_20' ) end [2025-03-20 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719452', 'tblTempVendorCDR_20' ) start [2025-03-20 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719452', 'tblTempVendorCDR_20' ) end [2025-03-20 01:24:18] Production.INFO: ProcessCDR(1,14719452,1,1,2) [2025-03-20 01:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719452', 'tblTempUsageDetail_20' ) start [2025-03-20 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719452', 'tblTempUsageDetail_20' ) end [2025-03-20 01:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:24:21] Production.INFO: ==26437== Releasing lock... [2025-03-20 01:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:24:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:25:01] Production.INFO: ==26502== Lock acquired, processing the job... [2025-03-20 05:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:25:01] Production.INFO: neon service started [2025-03-20 05:25:01] Production.INFO: neon service started [2025-03-20 05:25:01] Production.INFO: ==26502== Releasing lock... [2025-03-20 05:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:25:01] Production.INFO: ==26506== Lock acquired, processing the job... [2025-03-20 05:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:25:01] Production.INFO: ==26506== Releasing lock... [2025-03-20 05:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:25:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:25:02] Production.INFO: ==26504== Lock acquired, processing the job... [2025-03-20 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:25:02] Production.INFO: ==26504== Releasing lock... [2025-03-20 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:25:03] Production.INFO: ==26508== Lock acquired, processing the job... [2025-03-20 01:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:25:03] Production.INFO: ==26510== Lock acquired, processing the job... [2025-03-20 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:25:03] Production.INFO: ==26514== Lock acquired, processing the job... [2025-03-20 01:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:25:03] Production.INFO: ==26512== Lock acquired, processing the job... [2025-03-20 01:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:25:03] Production.INFO: Account Balance Start. [2025-03-20 01:25:03] Production.INFO: CreateAllLog Start [2025-03-20 01:25:03] Production.INFO: 117 [2025-03-20 01:25:03] Production.INFO: ==26517== Lock acquired, processing the job... [2025-03-20 01:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:25:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:03] Production.INFO: ==26519== Lock acquired, processing the job... [2025-03-20 01:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:25:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:03] Production.INFO: ==26510== Releasing lock... [2025-03-20 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:25:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:25:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:03] Production.INFO: Date 2025-03-15 [2025-03-20 01:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:03] Production.INFO: count ==12 [2025-03-20 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-03-20 01:25:03] Production.INFO: Date 2025-03-16 [2025-03-20 01:25:03] Production.INFO: count ==23 [2025-03-20 01:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:03] Production.ERROR: done [2025-03-20 01:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719456') start [2025-03-20 01:25:03] Production.INFO: Date 2025-03-17 [2025-03-20 01:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:03] Production.INFO: Date 2025-03-18 [2025-03-20 01:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719456') end [2025-03-20 01:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:25:04] Production.INFO: 1 [2025-03-20 01:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:25:04] Production.INFO: ==26519== Releasing lock... [2025-03-20 01:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:25:04] Production.ERROR: done [2025-03-20 01:25:04] Production.INFO: Total Charge 0 [2025-03-20 01:25:04] Production.INFO: CreateAllLog End [2025-03-20 01:25:04] Production.INFO: Account Balance End. [2025-03-20 01:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:25:04] Production.INFO: ==26514== Releasing lock... [2025-03-20 01:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:25:05 [end_date_ymd] => 2025-03-20 01:25:05 [RateCDR] => 1 ) [2025-03-20 01:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:25:05' and `end` < '2025-03-20 01:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:25:11] Production.ERROR: CronJobId end10 [2025-03-20 01:25:11] Production.INFO: ==26512== Releasing lock... [2025-03-20 01:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:25:14] Production.INFO: call_cost start [2025-03-20 01:25:14] Production.INFO: call_cost end [2025-03-20 01:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:25:15] Production.INFO: ==26508== Releasing lock... [2025-03-20 01:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:25:17] Production.INFO: count ==782 [2025-03-20 01:25:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:25:05 - End Time 2025-03-20 01:25:05 [2025-03-20 01:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719457', 'tblTempUsageDetail_20' ) start [2025-03-20 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719457', 'tblTempUsageDetail_20' ) end [2025-03-20 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719457', 'tblTempVendorCDR_20' ) start [2025-03-20 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719457', 'tblTempVendorCDR_20' ) end [2025-03-20 01:25:17] Production.INFO: ProcessCDR(1,14719457,1,1,2) [2025-03-20 01:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719457', 'tblTempUsageDetail_20' ) start [2025-03-20 01:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719457', 'tblTempUsageDetail_20' ) end [2025-03-20 01:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:25:20] Production.INFO: ==26517== Releasing lock... [2025-03-20 01:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:25:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:26:01] Production.INFO: ==26588== Lock acquired, processing the job... [2025-03-20 05:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:26:01] Production.INFO: neon service started [2025-03-20 05:26:01] Production.INFO: neon service started [2025-03-20 05:26:01] Production.INFO: ==26588== Releasing lock... [2025-03-20 05:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:26:02] Production.INFO: ==26590== Lock acquired, processing the job... [2025-03-20 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:26:02] Production.INFO: ==26592== Lock acquired, processing the job... [2025-03-20 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:26:02] Production.INFO: ==26592== Releasing lock... [2025-03-20 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:26:02] Production.INFO: ==26590== Releasing lock... [2025-03-20 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:26:03] Production.INFO: ==26595== Lock acquired, processing the job... [2025-03-20 01:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:26:03] Production.INFO: ==26601== Lock acquired, processing the job... [2025-03-20 01:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:26:03] Production.INFO: ==26603== Lock acquired, processing the job... [2025-03-20 01:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:26:03] Production.INFO: Account Balance Start. [2025-03-20 01:26:03] Production.INFO: CreateAllLog Start [2025-03-20 01:26:03] Production.INFO: 117 [2025-03-20 01:26:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:26:03] Production.INFO: ==26597== Lock acquired, processing the job... [2025-03-20 01:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:03] Production.INFO: ==26599== Lock acquired, processing the job... [2025-03-20 01:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:26:03] Production.INFO: ==26605== Lock acquired, processing the job... [2025-03-20 01:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:04] Production.INFO: count ==12 [2025-03-20 01:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:26:04] Production.INFO: count ==23 [2025-03-20 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719461') start [2025-03-20 01:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:04] Production.ERROR: done [2025-03-20 01:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719461') end [2025-03-20 01:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:26:04] Production.INFO: 1 [2025-03-20 01:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:04] Production.INFO: ==26605== Releasing lock... [2025-03-20 01:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:04] Production.ERROR: done [2025-03-20 01:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:26:04] Production.INFO: ==26597== Releasing lock... [2025-03-20 01:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:26:04] Production.INFO: Total Charge 0 [2025-03-20 01:26:04] Production.INFO: CreateAllLog End [2025-03-20 01:26:04] Production.INFO: Account Balance End. [2025-03-20 01:26:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:26:05] Production.INFO: ==26601== Releasing lock... [2025-03-20 01:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:26:05 [end_date_ymd] => 2025-03-20 01:26:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:26:05' and `end` < '2025-03-20 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-03-20 01:26:12] Production.ERROR: CronJobId end10 [2025-03-20 01:26:12] Production.INFO: ==26599== Releasing lock... [2025-03-20 01:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:26:15] Production.INFO: call_cost start [2025-03-20 01:26:15] Production.INFO: call_cost end [2025-03-20 01:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:26:15] Production.INFO: ==26595== Releasing lock... [2025-03-20 01:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:26:18] Production.INFO: count ==779 [2025-03-20 01:26:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:26:05 - End Time 2025-03-20 01:26:05 [2025-03-20 01:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719462', 'tblTempUsageDetail_20' ) start [2025-03-20 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719462', 'tblTempUsageDetail_20' ) end [2025-03-20 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719462', 'tblTempVendorCDR_20' ) start [2025-03-20 01:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719462', 'tblTempVendorCDR_20' ) end [2025-03-20 01:26:18] Production.INFO: ProcessCDR(1,14719462,1,1,2) [2025-03-20 01:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719462', 'tblTempUsageDetail_20' ) start [2025-03-20 01:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719462', 'tblTempUsageDetail_20' ) end [2025-03-20 01:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:26:21] Production.INFO: ==26603== Releasing lock... [2025-03-20 01:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:26:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:27:02] Production.INFO: ==26673== Lock acquired, processing the job... [2025-03-20 05:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:27:02] Production.INFO: neon service started [2025-03-20 05:27:02] Production.INFO: neon service started [2025-03-20 05:27:02] Production.INFO: ==26673== Releasing lock... [2025-03-20 05:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:27:02] Production.INFO: ==26675== Lock acquired, processing the job... [2025-03-20 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:27:02] Production.INFO: ==26677== Lock acquired, processing the job... [2025-03-20 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:27:02] Production.INFO: ==26677== Releasing lock... [2025-03-20 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:27:03] Production.INFO: ==26675== Releasing lock... [2025-03-20 01:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:27:04] Production.INFO: ==26680== Lock acquired, processing the job... [2025-03-20 01:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:27:04] Production.INFO: ==26682== Lock acquired, processing the job... [2025-03-20 01:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:27:04] Production.INFO: ==26684== Lock acquired, processing the job... [2025-03-20 01:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:27:04] Production.INFO: ==26688== Lock acquired, processing the job... [2025-03-20 01:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:27:04] Production.INFO: ==26686== Lock acquired, processing the job... [2025-03-20 01:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:27:04] Production.INFO: ==26690== Lock acquired, processing the job... [2025-03-20 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:27:04] Production.INFO: Account Balance Start. [2025-03-20 01:27:04] Production.INFO: CreateAllLog Start [2025-03-20 01:27:04] Production.INFO: 117 [2025-03-20 01:27:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:04] Production.INFO: ==26682== Releasing lock... [2025-03-20 01:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:27:04] Production.INFO: count ==12 [2025-03-20 01:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:04] Production.ERROR: done [2025-03-20 01:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:27:04] Production.INFO: count ==23 [2025-03-20 01:27:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719466') start [2025-03-20 01:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:05] Production.ERROR: done [2025-03-20 01:27:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:27:05] Production.INFO: Total Charge 0 [2025-03-20 01:27:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719466') end [2025-03-20 01:27:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:27:05] Production.INFO: 1 [2025-03-20 01:27:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:27:05] Production.INFO: CreateAllLog End [2025-03-20 01:27:05] Production.INFO: ==26690== Releasing lock... [2025-03-20 01:27:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:27:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:27:05] Production.INFO: Account Balance End. [2025-03-20 01:27:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:27:05] Production.INFO: ==26686== Releasing lock... [2025-03-20 01:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:27:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:27:06 [end_date_ymd] => 2025-03-20 01:27:06 [RateCDR] => 1 ) [2025-03-20 01:27:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:27:06' and `end` < '2025-03-20 01:27:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:27:12] Production.ERROR: CronJobId end10 [2025-03-20 01:27:12] Production.INFO: ==26684== Releasing lock... [2025-03-20 01:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:27:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:27:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:27:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:27:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:27:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:27:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:27:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:27:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:27:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:27:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:27:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:27:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:27:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:27:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:27:16] Production.INFO: call_cost start [2025-03-20 01:27:16] Production.INFO: call_cost end [2025-03-20 01:27:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:27:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:27:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:27:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:27:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:27:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:27:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:27:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:27:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:27:17] Production.INFO: ==26680== Releasing lock... [2025-03-20 01:27:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:27:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:27:18] Production.INFO: count ==781 [2025-03-20 01:27:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:27:06 - End Time 2025-03-20 01:27:06 [2025-03-20 01:27:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719467', 'tblTempUsageDetail_20' ) start [2025-03-20 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719467', 'tblTempUsageDetail_20' ) end [2025-03-20 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719467', 'tblTempVendorCDR_20' ) start [2025-03-20 01:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719467', 'tblTempVendorCDR_20' ) end [2025-03-20 01:27:18] Production.INFO: ProcessCDR(1,14719467,1,1,2) [2025-03-20 01:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719467', 'tblTempUsageDetail_20' ) start [2025-03-20 01:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719467', 'tblTempUsageDetail_20' ) end [2025-03-20 01:27:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:27:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:27:22] Production.INFO: ==26688== Releasing lock... [2025-03-20 01:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:27:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:28:01] Production.INFO: ==26794== Lock acquired, processing the job... [2025-03-20 05:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:28:01] Production.INFO: neon service started [2025-03-20 05:28:01] Production.INFO: neon service started [2025-03-20 05:28:01] Production.INFO: ==26794== Releasing lock... [2025-03-20 05:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:28:02] Production.INFO: ==26798== Lock acquired, processing the job... [2025-03-20 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:28:02] Production.INFO: ==26798== Releasing lock... [2025-03-20 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:28:02] Production.INFO: ==26796== Lock acquired, processing the job... [2025-03-20 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:28:02] Production.INFO: ==26796== Releasing lock... [2025-03-20 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:28:03] Production.INFO: ==26801== Lock acquired, processing the job... [2025-03-20 01:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:28:03] Production.INFO: ==26803== Lock acquired, processing the job... [2025-03-20 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:28:03] Production.INFO: ==26807== Lock acquired, processing the job... [2025-03-20 01:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:28:03] Production.INFO: ==26805== Lock acquired, processing the job... [2025-03-20 01:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:28:03] Production.INFO: Account Balance Start. [2025-03-20 01:28:03] Production.INFO: CreateAllLog Start [2025-03-20 01:28:03] Production.INFO: 117 [2025-03-20 01:28:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:03] Production.INFO: ==26803== Releasing lock... [2025-03-20 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:28:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:28:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:28:03] Production.INFO: ==26811== Lock acquired, processing the job... [2025-03-20 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:28:04] Production.INFO: ==26809== Lock acquired, processing the job... [2025-03-20 01:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:04] Production.INFO: count ==12 [2025-03-20 01:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:28:04] Production.INFO: count ==23 [2025-03-20 01:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719471') start [2025-03-20 01:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:28:04] Production.INFO: Total Charge 0 [2025-03-20 01:28:04] Production.INFO: CreateAllLog End [2025-03-20 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719471') end [2025-03-20 01:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:28:04] Production.INFO: 1 [2025-03-20 01:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:28:04] Production.ERROR: done [2025-03-20 01:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:28:04] Production.INFO: ==26811== Releasing lock... [2025-03-20 01:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:28:04] Production.ERROR: done [2025-03-20 01:28:04] Production.INFO: Account Balance End. [2025-03-20 01:28:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:28:04] Production.INFO: ==26807== Releasing lock... [2025-03-20 01:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:28:05 [end_date_ymd] => 2025-03-20 01:28:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:28:05' and `end` < '2025-03-20 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-03-20 01:28:12] Production.ERROR: CronJobId end10 [2025-03-20 01:28:12] Production.INFO: ==26805== Releasing lock... [2025-03-20 01:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:28:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:28:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:28:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:28:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:28:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:28:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:28:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:28:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:28:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:28:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:28:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:28:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:28:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:28:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:28:13] Production.INFO: call_cost start [2025-03-20 01:28:13] Production.INFO: call_cost end [2025-03-20 01:28:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:28:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:28:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:28:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:28:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:28:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:28:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:28:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:28:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:28:14] Production.INFO: ==26801== Releasing lock... [2025-03-20 01:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:28:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:28:18] Production.INFO: count ==780 [2025-03-20 01:28:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:28:05 - End Time 2025-03-20 01:28:05 [2025-03-20 01:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719472', 'tblTempUsageDetail_20' ) start [2025-03-20 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719472', 'tblTempUsageDetail_20' ) end [2025-03-20 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719472', 'tblTempVendorCDR_20' ) start [2025-03-20 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719472', 'tblTempVendorCDR_20' ) end [2025-03-20 01:28:18] Production.INFO: ProcessCDR(1,14719472,1,1,2) [2025-03-20 01:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719472', 'tblTempUsageDetail_20' ) start [2025-03-20 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719472', 'tblTempUsageDetail_20' ) end [2025-03-20 01:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:28:21] Production.INFO: ==26809== Releasing lock... [2025-03-20 01:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:28:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:29:02] Production.INFO: ==26876== Lock acquired, processing the job... [2025-03-20 05:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:29:02] Production.INFO: neon service started [2025-03-20 05:29:02] Production.INFO: neon service started [2025-03-20 05:29:02] Production.INFO: ==26876== Releasing lock... [2025-03-20 05:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:29:02] Production.INFO: ==26878== Lock acquired, processing the job... [2025-03-20 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:29:02] Production.INFO: ==26878== Releasing lock... [2025-03-20 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:29:03] Production.INFO: ==26880== Lock acquired, processing the job... [2025-03-20 05:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:29:03] Production.INFO: ==26880== Releasing lock... [2025-03-20 05:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:29:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:29:03] Production.INFO: ==26885== Lock acquired, processing the job... [2025-03-20 01:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:29:03] Production.INFO: ==26883== Lock acquired, processing the job... [2025-03-20 01:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:29:03] Production.INFO: ==26891== Lock acquired, processing the job... [2025-03-20 01:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:29:04] Production.INFO: ==26887== Lock acquired, processing the job... [2025-03-20 01:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:29:04] Production.INFO: ==26889== Lock acquired, processing the job... [2025-03-20 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:29:04] Production.INFO: ==26893== Lock acquired, processing the job... [2025-03-20 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:29:04] Production.INFO: Account Balance Start. [2025-03-20 01:29:04] Production.INFO: CreateAllLog Start [2025-03-20 01:29:04] Production.INFO: 117 [2025-03-20 01:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:29:04] Production.INFO: ==26885== Releasing lock... [2025-03-20 01:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 01:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:04] Production.INFO: count ==12 [2025-03-20 01:29:04] Production.ERROR: done [2025-03-20 01:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 01:29:04] Production.INFO: count ==23 [2025-03-20 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719476') start [2025-03-20 01:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719476') end [2025-03-20 01:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:29:04] Production.INFO: 1 [2025-03-20 01:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:29:04] Production.ERROR: done [2025-03-20 01:29:04] Production.INFO: ==26893== Releasing lock... [2025-03-20 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:05] Production.INFO: Date 2025-03-16 [2025-03-20 01:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:05] Production.INFO: Date 2025-03-17 [2025-03-20 01:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:29:05] Production.INFO: Total Charge 0 [2025-03-20 01:29:05] Production.INFO: CreateAllLog End [2025-03-20 01:29:05] Production.INFO: Account Balance End. [2025-03-20 01:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:29:05] Production.INFO: ==26889== Releasing lock... [2025-03-20 01:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:29:05 [end_date_ymd] => 2025-03-20 01:29:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:29:05' and `end` < '2025-03-20 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-03-20 01:29:13] Production.ERROR: CronJobId end10 [2025-03-20 01:29:13] Production.INFO: ==26887== Releasing lock... [2025-03-20 01:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:29:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:29:16] Production.INFO: call_cost start [2025-03-20 01:29:16] Production.INFO: call_cost end [2025-03-20 01:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:29:17] Production.INFO: ==26883== Releasing lock... [2025-03-20 01:29:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:29:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:29:18] Production.INFO: count ==783 [2025-03-20 01:29:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:29:05 - End Time 2025-03-20 01:29:05 [2025-03-20 01:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719477', 'tblTempUsageDetail_20' ) start [2025-03-20 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719477', 'tblTempUsageDetail_20' ) end [2025-03-20 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719477', 'tblTempVendorCDR_20' ) start [2025-03-20 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719477', 'tblTempVendorCDR_20' ) end [2025-03-20 01:29:18] Production.INFO: ProcessCDR(1,14719477,1,1,2) [2025-03-20 01:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719477', 'tblTempUsageDetail_20' ) start [2025-03-20 01:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719477', 'tblTempUsageDetail_20' ) end [2025-03-20 01:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:29:21] Production.INFO: ==26891== Releasing lock... [2025-03-20 01:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:29:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:30:01] Production.INFO: ==26965== Lock acquired, processing the job... [2025-03-20 05:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:30:01] Production.INFO: neon service started [2025-03-20 05:30:01] Production.INFO: neon service started [2025-03-20 05:30:01] Production.INFO: ==26965== Releasing lock... [2025-03-20 05:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:30:02] Production.INFO: ==26968== Lock acquired, processing the job... [2025-03-20 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:30:02] Production.INFO: ==26968== Releasing lock... [2025-03-20 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:30:02] Production.INFO: ==26970== Lock acquired, processing the job... [2025-03-20 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:30:02] Production.INFO: ==26970== Releasing lock... [2025-03-20 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:30:03] Production.INFO: ==26972== Lock acquired, processing the job... [2025-03-20 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 01:30:03] Production.INFO: ==26974== Lock acquired, processing the job... [2025-03-20 01:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 01:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 01:30:03] Production.INFO: ==26972== Releasing lock... [2025-03-20 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 01:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 01:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:30:03] Production.INFO: ==26976== Lock acquired, processing the job... [2025-03-20 01:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:30:03] Production.INFO: ==26978== Lock acquired, processing the job... [2025-03-20 01:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:30:03] Production.INFO: ==26980== Lock acquired, processing the job... [2025-03-20 01:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:30:03] Production.INFO: ==26982== Lock acquired, processing the job... [2025-03-20 01:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:30:04] Production.INFO: Account Balance Start. [2025-03-20 01:30:04] Production.INFO: CreateAllLog Start [2025-03-20 01:30:04] Production.INFO: 117 [2025-03-20 01:30:04] Production.INFO: ==26984== Lock acquired, processing the job... [2025-03-20 01:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 01:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.INFO: ==26986== Lock acquired, processing the job... [2025-03-20 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:30:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.INFO: count ==12 [2025-03-20 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-03-20 01:30:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.INFO: count ==23 [2025-03-20 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719481') start [2025-03-20 01:30:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.ERROR: done [2025-03-20 01:30:04] Production.INFO: ==26976== Releasing lock... [2025-03-20 01:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719481') end [2025-03-20 01:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:30:04] Production.INFO: 1 [2025-03-20 01:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:30:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:30:04] Production.INFO: ==26986== Releasing lock... [2025-03-20 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:30:04] Production.ERROR: done [2025-03-20 01:30:04] Production.INFO: Total Charge 0 [2025-03-20 01:30:04] Production.INFO: CreateAllLog End [2025-03-20 01:30:04] Production.ERROR: done [2025-03-20 01:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 01:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719483', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 01:30:05] Production.INFO: Account Balance End. [2025-03-20 01:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:30:05] Production.INFO: ==26980== Releasing lock... [2025-03-20 01:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:30:06 [end_date_ymd] => 2025-03-20 01:30:06 [RateCDR] => 1 ) [2025-03-20 01:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:30:06' and `end` < '2025-03-20 01:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719483', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 01:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 01:30:09] Production.INFO: ProcessCDR(1,14719483,1,1,2) [2025-03-20 01:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719483,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719483,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:30:09] Production.INFO: ==26984== Releasing lock... [2025-03-20 01:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 01:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 01:30:14] Production.ERROR: CronJobId end10 [2025-03-20 01:30:14] Production.INFO: ==26978== Releasing lock... [2025-03-20 01:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:30:16] Production.INFO: call_cost start [2025-03-20 01:30:16] Production.INFO: call_cost end [2025-03-20 01:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:30:17] Production.INFO: ==26974== Releasing lock... [2025-03-20 01:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:30:18] Production.INFO: count ==783 [2025-03-20 01:30:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:30:06 - End Time 2025-03-20 01:30:06 [2025-03-20 01:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719482', 'tblTempUsageDetail_20' ) start [2025-03-20 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719482', 'tblTempUsageDetail_20' ) end [2025-03-20 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719482', 'tblTempVendorCDR_20' ) start [2025-03-20 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719482', 'tblTempVendorCDR_20' ) end [2025-03-20 01:30:18] Production.INFO: ProcessCDR(1,14719482,1,1,2) [2025-03-20 01:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719482', 'tblTempUsageDetail_20' ) start [2025-03-20 01:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719482', 'tblTempUsageDetail_20' ) end [2025-03-20 01:30:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:30:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:30:22] Production.INFO: ==26982== Releasing lock... [2025-03-20 01:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:30:22] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:31:02] Production.INFO: ==27055== Lock acquired, processing the job... [2025-03-20 05:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:31:02] Production.INFO: neon service started [2025-03-20 05:31:02] Production.INFO: neon service started [2025-03-20 05:31:02] Production.INFO: ==27055== Releasing lock... [2025-03-20 05:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:31:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 05:31:02] Production.INFO: ==27059== Lock acquired, processing the job... [2025-03-20 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:31:02] Production.INFO: ==27059== Releasing lock... [2025-03-20 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:31:02] Production.INFO: ==27057== Lock acquired, processing the job... [2025-03-20 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:31:03] Production.INFO: ==27057== Releasing lock... [2025-03-20 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:31:03] Production.INFO: ==27062== Lock acquired, processing the job... [2025-03-20 01:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:31:03] Production.INFO: ==27064== Lock acquired, processing the job... [2025-03-20 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:31:03] Production.INFO: ==27070== Lock acquired, processing the job... [2025-03-20 01:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:31:03] Production.INFO: ==27066== Lock acquired, processing the job... [2025-03-20 01:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:31:04] Production.INFO: ==27064== Releasing lock... [2025-03-20 01:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:31:04] Production.INFO: ==27068== Lock acquired, processing the job... [2025-03-20 01:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:31:04] Production.INFO: ==27072== Lock acquired, processing the job... [2025-03-20 01:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:31:04] Production.ERROR: done [2025-03-20 01:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:31:04] Production.INFO: Account Balance Start. [2025-03-20 01:31:04] Production.INFO: CreateAllLog Start [2025-03-20 01:31:04] Production.INFO: 117 [2025-03-20 01:31:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.ERROR: done [2025-03-20 01:31:04] Production.INFO: count ==12 [2025-03-20 01:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:31:04] Production.INFO: count ==23 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719487') start [2025-03-20 01:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719487') end [2025-03-20 01:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:31:04] Production.INFO: 1 [2025-03-20 01:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.INFO: ==27072== Releasing lock... [2025-03-20 01:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:31:04] Production.INFO: Total Charge 0 [2025-03-20 01:31:04] Production.INFO: CreateAllLog End [2025-03-20 01:31:05] Production.INFO: Account Balance End. [2025-03-20 01:31:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:31:05] Production.INFO: ==27068== Releasing lock... [2025-03-20 01:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:31:05 [end_date_ymd] => 2025-03-20 01:31:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:31:05' and `end` < '2025-03-20 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-03-20 01:31:12] Production.ERROR: CronJobId end10 [2025-03-20 01:31:12] Production.INFO: ==27066== Releasing lock... [2025-03-20 01:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:31:14] Production.INFO: call_cost start [2025-03-20 01:31:14] Production.INFO: call_cost end [2025-03-20 01:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:31:15] Production.INFO: ==27062== Releasing lock... [2025-03-20 01:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:31:17] Production.INFO: count ==783 [2025-03-20 01:31:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:31:05 - End Time 2025-03-20 01:31:05 [2025-03-20 01:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719488', 'tblTempUsageDetail_20' ) start [2025-03-20 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719488', 'tblTempUsageDetail_20' ) end [2025-03-20 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719488', 'tblTempVendorCDR_20' ) start [2025-03-20 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719488', 'tblTempVendorCDR_20' ) end [2025-03-20 01:31:18] Production.INFO: ProcessCDR(1,14719488,1,1,2) [2025-03-20 01:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719488', 'tblTempUsageDetail_20' ) start [2025-03-20 01:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719488', 'tblTempUsageDetail_20' ) end [2025-03-20 01:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:31:21] Production.INFO: ==27070== Releasing lock... [2025-03-20 01:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:31:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:32:01] Production.INFO: ==27136== Lock acquired, processing the job... [2025-03-20 05:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:32:01] Production.INFO: neon service started [2025-03-20 05:32:01] Production.INFO: neon service started [2025-03-20 05:32:01] Production.INFO: ==27136== Releasing lock... [2025-03-20 05:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:32:02] Production.INFO: ==27142== Lock acquired, processing the job... [2025-03-20 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:32:02] Production.INFO: ==27142== Releasing lock... [2025-03-20 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:32:02] Production.INFO: ==27140== Lock acquired, processing the job... [2025-03-20 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:32:02] Production.INFO: ==27140== Releasing lock... [2025-03-20 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:32:03] Production.INFO: ==27151== Lock acquired, processing the job... [2025-03-20 01:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:32:03] Production.INFO: ==27155== Lock acquired, processing the job... [2025-03-20 01:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:32:03] Production.INFO: ==27144== Lock acquired, processing the job... [2025-03-20 01:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:32:03] Production.INFO: Account Balance Start. [2025-03-20 01:32:03] Production.INFO: CreateAllLog Start [2025-03-20 01:32:03] Production.INFO: 117 [2025-03-20 01:32:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:32:03] Production.INFO: ==27147== Lock acquired, processing the job... [2025-03-20 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 01:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:32:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:03] Production.INFO: count ==12 [2025-03-20 01:32:03] Production.INFO: ==27149== Lock acquired, processing the job... [2025-03-20 01:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 01:32:03] Production.INFO: count ==23 [2025-03-20 01:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719490') start [2025-03-20 01:32:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:32:04] Production.INFO: ==27153== Lock acquired, processing the job... [2025-03-20 01:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719490') end [2025-03-20 01:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:32:04] Production.INFO: 1 [2025-03-20 01:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:32:04] Production.INFO: ==27155== Releasing lock... [2025-03-20 01:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:04] Production.INFO: ==27147== Releasing lock... [2025-03-20 01:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:32:04] Production.INFO: Total Charge 0 [2025-03-20 01:32:04] Production.INFO: CreateAllLog End [2025-03-20 01:32:04] Production.ERROR: done [2025-03-20 01:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:32:04] Production.INFO: Account Balance End. [2025-03-20 01:32:04] Production.ERROR: done [2025-03-20 01:32:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:32:04] Production.INFO: ==27151== Releasing lock... [2025-03-20 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:32:05 [end_date_ymd] => 2025-03-20 01:32:05 [RateCDR] => 1 ) [2025-03-20 01:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:32:05' and `end` < '2025-03-20 01:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:32:12] Production.ERROR: CronJobId end10 [2025-03-20 01:32:12] Production.INFO: ==27149== Releasing lock... [2025-03-20 01:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:32:15] Production.INFO: call_cost start [2025-03-20 01:32:15] Production.INFO: call_cost end [2025-03-20 01:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:32:16] Production.INFO: ==27144== Releasing lock... [2025-03-20 01:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:32:17] Production.INFO: count ==783 [2025-03-20 01:32:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:32:05 - End Time 2025-03-20 01:32:05 [2025-03-20 01:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719493', 'tblTempUsageDetail_20' ) start [2025-03-20 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719493', 'tblTempUsageDetail_20' ) end [2025-03-20 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719493', 'tblTempVendorCDR_20' ) start [2025-03-20 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719493', 'tblTempVendorCDR_20' ) end [2025-03-20 01:32:18] Production.INFO: ProcessCDR(1,14719493,1,1,2) [2025-03-20 01:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719493', 'tblTempUsageDetail_20' ) start [2025-03-20 01:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719493', 'tblTempUsageDetail_20' ) end [2025-03-20 01:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:32:21] Production.INFO: ==27153== Releasing lock... [2025-03-20 01:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:32:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:33:02] Production.INFO: ==27223== Lock acquired, processing the job... [2025-03-20 05:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:33:02] Production.INFO: neon service started [2025-03-20 05:33:02] Production.INFO: neon service started [2025-03-20 05:33:02] Production.INFO: ==27223== Releasing lock... [2025-03-20 05:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:33:02] Production.INFO: ==27225== Lock acquired, processing the job... [2025-03-20 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:33:02] Production.INFO: ==27225== Releasing lock... [2025-03-20 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:33:02] Production.INFO: ==27227== Lock acquired, processing the job... [2025-03-20 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:33:02] Production.INFO: ==27227== Releasing lock... [2025-03-20 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:33:03] Production.INFO: ==27237== Lock acquired, processing the job... [2025-03-20 01:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:33:03] Production.INFO: ==27231== Lock acquired, processing the job... [2025-03-20 01:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:33:03] Production.INFO: ==27233== Lock acquired, processing the job... [2025-03-20 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:33:03] Production.INFO: ==27239== Lock acquired, processing the job... [2025-03-20 01:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:33:03] Production.INFO: ==27235== Lock acquired, processing the job... [2025-03-20 01:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:33:03] Production.INFO: Account Balance Start. [2025-03-20 01:33:03] Production.INFO: CreateAllLog Start [2025-03-20 01:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:33:03] Production.INFO: 117 [2025-03-20 01:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:33:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:33:04] Production.INFO: ==27241== Lock acquired, processing the job... [2025-03-20 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:33:04] Production.INFO: ==27233== Releasing lock... [2025-03-20 01:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: count ==12 [2025-03-20 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-03-20 01:33:04] Production.INFO: count ==23 [2025-03-20 01:33:04] Production.ERROR: done [2025-03-20 01:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719497') start [2025-03-20 01:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:33:04] Production.INFO: Total Charge 0 [2025-03-20 01:33:04] Production.INFO: CreateAllLog End [2025-03-20 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719497') end [2025-03-20 01:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:33:04] Production.INFO: 1 [2025-03-20 01:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:33:04] Production.ERROR: done [2025-03-20 01:33:04] Production.INFO: ==27241== Releasing lock... [2025-03-20 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:33:04] Production.INFO: Account Balance End. [2025-03-20 01:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:33:04] Production.INFO: ==27237== Releasing lock... [2025-03-20 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:33:05 [end_date_ymd] => 2025-03-20 01:33:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:33:05' and `end` < '2025-03-20 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-03-20 01:33:12] Production.ERROR: CronJobId end10 [2025-03-20 01:33:12] Production.INFO: ==27235== Releasing lock... [2025-03-20 01:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:33:15] Production.INFO: call_cost start [2025-03-20 01:33:15] Production.INFO: call_cost end [2025-03-20 01:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:33:16] Production.INFO: ==27231== Releasing lock... [2025-03-20 01:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:33:17] Production.INFO: count ==787 [2025-03-20 01:33:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:33:05 - End Time 2025-03-20 01:33:05 [2025-03-20 01:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719498', 'tblTempUsageDetail_20' ) start [2025-03-20 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719498', 'tblTempUsageDetail_20' ) end [2025-03-20 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719498', 'tblTempVendorCDR_20' ) start [2025-03-20 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719498', 'tblTempVendorCDR_20' ) end [2025-03-20 01:33:18] Production.INFO: ProcessCDR(1,14719498,1,1,2) [2025-03-20 01:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719498', 'tblTempUsageDetail_20' ) start [2025-03-20 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719498', 'tblTempUsageDetail_20' ) end [2025-03-20 01:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:33:21] Production.INFO: ==27239== Releasing lock... [2025-03-20 01:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:33:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:34:01] Production.INFO: ==27306== Lock acquired, processing the job... [2025-03-20 05:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:34:01] Production.INFO: neon service started [2025-03-20 05:34:01] Production.INFO: neon service started [2025-03-20 05:34:01] Production.INFO: ==27306== Releasing lock... [2025-03-20 05:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:34:01] Production.INFO: ==27308== Lock acquired, processing the job... [2025-03-20 01:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:34:02] Production.INFO: ==27310== Lock acquired, processing the job... [2025-03-20 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:34:02] Production.INFO: ==27310== Releasing lock... [2025-03-20 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:34:02] Production.INFO: ==27308== Releasing lock... [2025-03-20 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:34:03] Production.INFO: ==27314== Lock acquired, processing the job... [2025-03-20 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:34:03] Production.INFO: ==27312== Lock acquired, processing the job... [2025-03-20 01:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:34:03] Production.INFO: ==27323== Lock acquired, processing the job... [2025-03-20 01:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01: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-03-20 01:34:03] Production.INFO: ==27316== Lock acquired, processing the job... [2025-03-20 01:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:34:03] Production.INFO: count ==12 [2025-03-20 01: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-03-20 01:34:03] Production.INFO: count ==23 [2025-03-20 01:34:03] Production.INFO: ==27320== Lock acquired, processing the job... [2025-03-20 01:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:34:03] Production.INFO: ==27318== Lock acquired, processing the job... [2025-03-20 01:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719501') start [2025-03-20 01:34:03] Production.INFO: ==27314== Releasing lock... [2025-03-20 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:34:03] Production.INFO: Account Balance Start. [2025-03-20 01:34:03] Production.INFO: CreateAllLog Start [2025-03-20 01:34:03] Production.INFO: 117 [2025-03-20 01:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719501') end [2025-03-20 01:34:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:34:03] Production.INFO: 1 [2025-03-20 01:34:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:34:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:03] Production.INFO: ==27323== Releasing lock... [2025-03-20 01:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:34:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:34:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:03] Production.INFO: Date 2025-03-15 [2025-03-20 01:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:04] Production.ERROR: done [2025-03-20 01:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:04] Production.ERROR: done [2025-03-20 01:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:34:04] Production.INFO: Total Charge 0 [2025-03-20 01:34:04] Production.INFO: CreateAllLog End [2025-03-20 01:34:04] Production.INFO: Account Balance End. [2025-03-20 01:34:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:34:04] Production.INFO: ==27318== Releasing lock... [2025-03-20 01:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:34:05 [end_date_ymd] => 2025-03-20 01:34:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:34:05' and `end` < '2025-03-20 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-03-20 01:34:11] Production.ERROR: CronJobId end10 [2025-03-20 01:34:11] Production.INFO: ==27316== Releasing lock... [2025-03-20 01:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:34:14] Production.INFO: call_cost start [2025-03-20 01:34:14] Production.INFO: call_cost end [2025-03-20 01:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:34:15] Production.INFO: ==27312== Releasing lock... [2025-03-20 01:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:34:17] Production.INFO: count ==783 [2025-03-20 01:34:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:34:05 - End Time 2025-03-20 01:34:05 [2025-03-20 01:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719503', 'tblTempUsageDetail_20' ) start [2025-03-20 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719503', 'tblTempUsageDetail_20' ) end [2025-03-20 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719503', 'tblTempVendorCDR_20' ) start [2025-03-20 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719503', 'tblTempVendorCDR_20' ) end [2025-03-20 01:34:18] Production.INFO: ProcessCDR(1,14719503,1,1,2) [2025-03-20 01:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719503', 'tblTempUsageDetail_20' ) start [2025-03-20 01:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719503', 'tblTempUsageDetail_20' ) end [2025-03-20 01:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:34:21] Production.INFO: ==27320== Releasing lock... [2025-03-20 01:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:34:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:35:02] Production.INFO: ==27388== Lock acquired, processing the job... [2025-03-20 05:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:35:02] Production.INFO: neon service started [2025-03-20 05:35:02] Production.INFO: neon service started [2025-03-20 05:35:02] Production.INFO: ==27388== Releasing lock... [2025-03-20 05:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:35:02] Production.INFO: ==27390== Lock acquired, processing the job... [2025-03-20 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:35:02] Production.INFO: ==27392== Lock acquired, processing the job... [2025-03-20 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:35:02] Production.INFO: ==27390== Releasing lock... [2025-03-20 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:35:02] Production.INFO: ==27392== Releasing lock... [2025-03-20 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:35:03] Production.INFO: ==27395== Lock acquired, processing the job... [2025-03-20 01:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:35:03] Production.INFO: ==27403== Lock acquired, processing the job... [2025-03-20 01:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:35:03] Production.INFO: ==27397== Lock acquired, processing the job... [2025-03-20 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:35:03] Production.INFO: ==27401== Lock acquired, processing the job... [2025-03-20 01:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:35:03] Production.INFO: ==27399== Lock acquired, processing the job... [2025-03-20 01:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:35:03] Production.INFO: ==27405== Lock acquired, processing the job... [2025-03-20 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:35:03] Production.INFO: Account Balance Start. [2025-03-20 01:35:03] Production.INFO: CreateAllLog Start [2025-03-20 01:35:03] Production.INFO: 117 [2025-03-20 01:35:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:35:04] Production.INFO: count ==12 [2025-03-20 01:35:04] Production.ERROR: done [2025-03-20 01:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:35:04] Production.INFO: count ==23 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719507') start [2025-03-20 01:35:04] Production.ERROR: done [2025-03-20 01:35:04] Production.INFO: ==27397== Releasing lock... [2025-03-20 01:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719507') end [2025-03-20 01:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:35:04] Production.INFO: 1 [2025-03-20 01:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.INFO: ==27405== Releasing lock... [2025-03-20 01:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:35:04] Production.INFO: Total Charge 0 [2025-03-20 01:35:04] Production.INFO: CreateAllLog End [2025-03-20 01:35:05] Production.INFO: Account Balance End. [2025-03-20 01:35:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:35:05] Production.INFO: ==27401== Releasing lock... [2025-03-20 01:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:35:05 [end_date_ymd] => 2025-03-20 01:35:05 [RateCDR] => 1 ) [2025-03-20 01:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:35:05' and `end` < '2025-03-20 01:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:35:13] Production.ERROR: CronJobId end10 [2025-03-20 01:35:13] Production.INFO: ==27399== Releasing lock... [2025-03-20 01:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:35:15] Production.INFO: call_cost start [2025-03-20 01:35:15] Production.INFO: call_cost end [2025-03-20 01:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:35:16] Production.INFO: ==27395== Releasing lock... [2025-03-20 01:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:35:17] Production.INFO: count ==776 [2025-03-20 01:35:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:35:05 - End Time 2025-03-20 01:35:05 [2025-03-20 01:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719508', 'tblTempUsageDetail_20' ) start [2025-03-20 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719508', 'tblTempUsageDetail_20' ) end [2025-03-20 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719508', 'tblTempVendorCDR_20' ) start [2025-03-20 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719508', 'tblTempVendorCDR_20' ) end [2025-03-20 01:35:18] Production.INFO: ProcessCDR(1,14719508,1,1,2) [2025-03-20 01:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719508', 'tblTempUsageDetail_20' ) start [2025-03-20 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719508', 'tblTempUsageDetail_20' ) end [2025-03-20 01:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:35:21] Production.INFO: ==27403== Releasing lock... [2025-03-20 01:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:35:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:36:01] Production.INFO: ==27472== Lock acquired, processing the job... [2025-03-20 05:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:36:01] Production.INFO: neon service started [2025-03-20 05:36:01] Production.INFO: neon service started [2025-03-20 05:36:01] Production.INFO: ==27472== Releasing lock... [2025-03-20 05:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:36:01] Production.INFO: ==27474== Lock acquired, processing the job... [2025-03-20 01:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:36:02] Production.INFO: ==27474== Releasing lock... [2025-03-20 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:36:02] Production.INFO: ==27476== Lock acquired, processing the job... [2025-03-20 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:36:02] Production.INFO: ==27476== Releasing lock... [2025-03-20 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:36:03] Production.INFO: ==27485== Lock acquired, processing the job... [2025-03-20 01:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:36:03] Production.INFO: Account Balance Start. [2025-03-20 01:36:03] Production.INFO: CreateAllLog Start [2025-03-20 01:36:03] Production.INFO: 117 [2025-03-20 01:36:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.INFO: ==27489== Lock acquired, processing the job... [2025-03-20 01:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:36:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:36:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.INFO: count ==12 [2025-03-20 01:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:36:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:36:03] Production.INFO: count ==23 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719510') start [2025-03-20 01:36:03] Production.INFO: ==27479== Lock acquired, processing the job... [2025-03-20 01:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:36:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.INFO: ==27481== Lock acquired, processing the job... [2025-03-20 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:36:03] Production.INFO: ==27483== Lock acquired, processing the job... [2025-03-20 01:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719510') end [2025-03-20 01:36:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:36:03] Production.INFO: 1 [2025-03-20 01:36:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:36:03] Production.INFO: Date 2025-03-15 [2025-03-20 01:36:03] Production.INFO: ==27489== Releasing lock... [2025-03-20 01:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:36:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:36:03] Production.INFO: Date 2025-03-16 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.INFO: ==27487== Lock acquired, processing the job... [2025-03-20 01:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:36:03] Production.INFO: Date 2025-03-17 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.INFO: Date 2025-03-18 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:36:03] Production.INFO: Date 2025-03-19 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.INFO: Date 2025-03-20 [2025-03-20 01:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:36:03] Production.INFO: Total Charge 0 [2025-03-20 01:36:03] Production.INFO: CreateAllLog End [2025-03-20 01:36:03] Production.INFO: ==27481== Releasing lock... [2025-03-20 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:36:03] Production.INFO: Account Balance End. [2025-03-20 01:36:03] Production.ERROR: CronJobId end 12 [2025-03-20 01:36:03] Production.INFO: ==27485== Releasing lock... [2025-03-20 01:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:36:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:36:03] Production.ERROR: done [2025-03-20 01:36:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:36:04] Production.ERROR: done [2025-03-20 01:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:36:05 [end_date_ymd] => 2025-03-20 01:36:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:36:05' and `end` < '2025-03-20 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-03-20 01:36:11] Production.ERROR: CronJobId end10 [2025-03-20 01:36:11] Production.INFO: ==27483== Releasing lock... [2025-03-20 01:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:36:15] Production.INFO: call_cost start [2025-03-20 01:36:15] Production.INFO: call_cost end [2025-03-20 01:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:36:15] Production.INFO: ==27479== Releasing lock... [2025-03-20 01:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:36:17] Production.INFO: count ==776 [2025-03-20 01:36:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:36:05 - End Time 2025-03-20 01:36:05 [2025-03-20 01:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719513', 'tblTempUsageDetail_20' ) start [2025-03-20 01:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719513', 'tblTempUsageDetail_20' ) end [2025-03-20 01:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719513', 'tblTempVendorCDR_20' ) start [2025-03-20 01:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719513', 'tblTempVendorCDR_20' ) end [2025-03-20 01:36:17] Production.INFO: ProcessCDR(1,14719513,1,1,2) [2025-03-20 01:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719513', 'tblTempUsageDetail_20' ) start [2025-03-20 01:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719513', 'tblTempUsageDetail_20' ) end [2025-03-20 01:36:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:36:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:36:20] Production.INFO: ==27487== Releasing lock... [2025-03-20 01:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:36:20] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:37:01] Production.INFO: ==27557== Lock acquired, processing the job... [2025-03-20 05:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:37:01] Production.INFO: neon service started [2025-03-20 05:37:01] Production.INFO: neon service started [2025-03-20 05:37:01] Production.INFO: ==27557== Releasing lock... [2025-03-20 05:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:37:02] Production.INFO: ==27559== Lock acquired, processing the job... [2025-03-20 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:37:02] Production.INFO: ==27561== Lock acquired, processing the job... [2025-03-20 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:37:02] Production.INFO: ==27561== Releasing lock... [2025-03-20 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:37:02] Production.INFO: ==27559== Releasing lock... [2025-03-20 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:37:03] Production.INFO: ==27565== Lock acquired, processing the job... [2025-03-20 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:37:03] Production.INFO: ==27563== Lock acquired, processing the job... [2025-03-20 01:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:37:03] Production.INFO: ==27572== Lock acquired, processing the job... [2025-03-20 01:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:37:03] Production.INFO: ==27574== Lock acquired, processing the job... [2025-03-20 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:37:03] Production.INFO: ==27567== Lock acquired, processing the job... [2025-03-20 01:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:37:03] Production.INFO: ==27570== Lock acquired, processing the job... [2025-03-20 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:37:03] Production.INFO: ==27565== Releasing lock... [2025-03-20 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:37:03] Production.INFO: Account Balance Start. [2025-03-20 01:37:03] Production.INFO: CreateAllLog Start [2025-03-20 01:37:03] Production.INFO: 117 [2025-03-20 01:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 01:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: count ==12 [2025-03-20 01:37:04] Production.ERROR: done [2025-03-20 01:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:37:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: count ==23 [2025-03-20 01:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719516') start [2025-03-20 01:37:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719516') end [2025-03-20 01:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:37:04] Production.INFO: 1 [2025-03-20 01:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:37:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: ==27574== Releasing lock... [2025-03-20 01:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:37:04] Production.ERROR: done [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:37:04] Production.INFO: Total Charge 0 [2025-03-20 01:37:04] Production.INFO: CreateAllLog End [2025-03-20 01:37:04] Production.INFO: Account Balance End. [2025-03-20 01:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:37:04] Production.INFO: ==27570== Releasing lock... [2025-03-20 01:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:37:05 [end_date_ymd] => 2025-03-20 01:37:05 [RateCDR] => 1 ) [2025-03-20 01:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:37:05' and `end` < '2025-03-20 01:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:37:11] Production.ERROR: CronJobId end10 [2025-03-20 01:37:11] Production.INFO: ==27567== Releasing lock... [2025-03-20 01:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:37:14] Production.INFO: call_cost start [2025-03-20 01:37:14] Production.INFO: call_cost end [2025-03-20 01:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:37:15] Production.INFO: ==27563== Releasing lock... [2025-03-20 01:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:37:17] Production.INFO: count ==776 [2025-03-20 01:37:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:37:05 - End Time 2025-03-20 01:37:05 [2025-03-20 01:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719518', 'tblTempUsageDetail_20' ) start [2025-03-20 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719518', 'tblTempUsageDetail_20' ) end [2025-03-20 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719518', 'tblTempVendorCDR_20' ) start [2025-03-20 01:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719518', 'tblTempVendorCDR_20' ) end [2025-03-20 01:37:17] Production.INFO: ProcessCDR(1,14719518,1,1,2) [2025-03-20 01:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719518', 'tblTempUsageDetail_20' ) start [2025-03-20 01:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719518', 'tblTempUsageDetail_20' ) end [2025-03-20 01:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:37:21] Production.INFO: ==27572== Releasing lock... [2025-03-20 01:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:37:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:38:01] Production.INFO: ==27639== Lock acquired, processing the job... [2025-03-20 05:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:38:01] Production.INFO: neon service started [2025-03-20 05:38:01] Production.INFO: neon service started [2025-03-20 05:38:01] Production.INFO: ==27639== Releasing lock... [2025-03-20 05:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:38:01] Production.INFO: ==27643== Lock acquired, processing the job... [2025-03-20 05:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:38:01] Production.INFO: ==27643== Releasing lock... [2025-03-20 05:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:38:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:38:02] Production.INFO: ==27641== Lock acquired, processing the job... [2025-03-20 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:38:02] Production.INFO: ==27641== Releasing lock... [2025-03-20 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:38:03] Production.INFO: ==27654== Lock acquired, processing the job... [2025-03-20 01:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:38:03] Production.INFO: ==27652== Lock acquired, processing the job... [2025-03-20 01:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:38:03] Production.INFO: ==27648== Lock acquired, processing the job... [2025-03-20 01:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:38:03] Production.INFO: ==27650== Lock acquired, processing the job... [2025-03-20 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:38:03] Production.INFO: Account Balance Start. [2025-03-20 01:38:03] Production.INFO: CreateAllLog Start [2025-03-20 01:38:03] Production.INFO: 117 [2025-03-20 01:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:38:03] Production.INFO: ==27656== Lock acquired, processing the job... [2025-03-20 01:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:03] Production.INFO: ==27658== Lock acquired, processing the job... [2025-03-20 01:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:38:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 01: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-03-20 01:38:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:03] Production.INFO: count ==12 [2025-03-20 01: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-03-20 01:38:03] Production.INFO: ==27650== Releasing lock... [2025-03-20 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:38:03] Production.INFO: count ==23 [2025-03-20 01:38:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719522') start [2025-03-20 01:38:03] Production.ERROR: done [2025-03-20 01:38:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:38:03] Production.INFO: Date 2025-03-15 [2025-03-20 01:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:03] Production.INFO: Date 2025-03-16 [2025-03-20 01:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:03] Production.INFO: Date 2025-03-17 [2025-03-20 01:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719522') end [2025-03-20 01:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:38:04] Production.INFO: 1 [2025-03-20 01:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:38:04] Production.ERROR: done [2025-03-20 01:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:38:04] Production.INFO: ==27658== Releasing lock... [2025-03-20 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:38:04] Production.INFO: Total Charge 0 [2025-03-20 01:38:04] Production.INFO: CreateAllLog End [2025-03-20 01:38:04] Production.INFO: Account Balance End. [2025-03-20 01:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:38:04] Production.INFO: ==27654== Releasing lock... [2025-03-20 01:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:38:05 [end_date_ymd] => 2025-03-20 01:38:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:38:05' and `end` < '2025-03-20 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-03-20 01:38:12] Production.ERROR: CronJobId end10 [2025-03-20 01:38:12] Production.INFO: ==27652== Releasing lock... [2025-03-20 01:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:38:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:38:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:38:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:38:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:38:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:38:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:38:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:38:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:38:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:38:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:38:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:38:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:38:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:38:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:38:15] Production.INFO: call_cost start [2025-03-20 01:38:15] Production.INFO: call_cost end [2025-03-20 01:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:38:16] Production.INFO: ==27648== Releasing lock... [2025-03-20 01:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:38:17] Production.INFO: count ==776 [2025-03-20 01:38:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:38:05 - End Time 2025-03-20 01:38:05 [2025-03-20 01:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719523', 'tblTempUsageDetail_20' ) start [2025-03-20 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719523', 'tblTempUsageDetail_20' ) end [2025-03-20 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719523', 'tblTempVendorCDR_20' ) start [2025-03-20 01:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719523', 'tblTempVendorCDR_20' ) end [2025-03-20 01:38:17] Production.INFO: ProcessCDR(1,14719523,1,1,2) [2025-03-20 01:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719523', 'tblTempUsageDetail_20' ) start [2025-03-20 01:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719523', 'tblTempUsageDetail_20' ) end [2025-03-20 01:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:38:21] Production.INFO: ==27656== Releasing lock... [2025-03-20 01:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:38:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:39:01] Production.INFO: ==27722== Lock acquired, processing the job... [2025-03-20 05:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:39:01] Production.INFO: neon service started [2025-03-20 05:39:01] Production.INFO: neon service started [2025-03-20 05:39:01] Production.INFO: ==27722== Releasing lock... [2025-03-20 05:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:39:02] Production.INFO: ==27724== Lock acquired, processing the job... [2025-03-20 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:39:02] Production.INFO: ==27726== Lock acquired, processing the job... [2025-03-20 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:39:02] Production.INFO: ==27726== Releasing lock... [2025-03-20 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:39:02] Production.INFO: ==27724== Releasing lock... [2025-03-20 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:39:03] Production.INFO: ==27737== Lock acquired, processing the job... [2025-03-20 01:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:39:03] Production.INFO: ==27741== Lock acquired, processing the job... [2025-03-20 01:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:39:03] Production.INFO: ==27731== Lock acquired, processing the job... [2025-03-20 01:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:39:04] Production.INFO: Account Balance Start. [2025-03-20 01:39:04] Production.INFO: CreateAllLog Start [2025-03-20 01:39:04] Production.INFO: 117 [2025-03-20 01:39:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:39:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:39:04] Production.INFO: ==27733== Lock acquired, processing the job... [2025-03-20 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:39:04] Production.INFO: count ==12 [2025-03-20 01:39:04] Production.INFO: ==27735== Lock acquired, processing the job... [2025-03-20 01:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 01:39:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:04] Production.INFO: count ==23 [2025-03-20 01:39:04] Production.INFO: ==27739== Lock acquired, processing the job... [2025-03-20 01:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:39:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719525') start [2025-03-20 01:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719525') end [2025-03-20 01:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:39:04] Production.INFO: 1 [2025-03-20 01:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:04] Production.INFO: ==27741== Releasing lock... [2025-03-20 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:04] Production.INFO: ==27733== Releasing lock... [2025-03-20 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:04] Production.ERROR: done [2025-03-20 01:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:04] Production.ERROR: done [2025-03-20 01:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:39:05] Production.INFO: Total Charge 0 [2025-03-20 01:39:05] Production.INFO: CreateAllLog End [2025-03-20 01:39:05] Production.INFO: Account Balance End. [2025-03-20 01:39:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:39:05] Production.INFO: ==27737== Releasing lock... [2025-03-20 01:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:39:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:39:05 [end_date_ymd] => 2025-03-20 01:39:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:39:05' and `end` < '2025-03-20 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-03-20 01:39:13] Production.ERROR: CronJobId end10 [2025-03-20 01:39:13] Production.INFO: ==27735== Releasing lock... [2025-03-20 01:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:39:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:39:14] Production.INFO: call_cost start [2025-03-20 01:39:14] Production.INFO: call_cost end [2025-03-20 01:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:39:15] Production.INFO: ==27731== Releasing lock... [2025-03-20 01:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:39:18] Production.INFO: count ==776 [2025-03-20 01:39:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:39:05 - End Time 2025-03-20 01:39:05 [2025-03-20 01:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719528', 'tblTempUsageDetail_20' ) start [2025-03-20 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719528', 'tblTempUsageDetail_20' ) end [2025-03-20 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719528', 'tblTempVendorCDR_20' ) start [2025-03-20 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719528', 'tblTempVendorCDR_20' ) end [2025-03-20 01:39:18] Production.INFO: ProcessCDR(1,14719528,1,1,2) [2025-03-20 01:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719528', 'tblTempUsageDetail_20' ) start [2025-03-20 01:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719528', 'tblTempUsageDetail_20' ) end [2025-03-20 01:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:39:21] Production.INFO: ==27739== Releasing lock... [2025-03-20 01:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:39:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:40:01] Production.INFO: ==27814== Lock acquired, processing the job... [2025-03-20 05:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:40:01] Production.INFO: neon service started [2025-03-20 05:40:01] Production.INFO: neon service started [2025-03-20 05:40:01] Production.INFO: ==27814== Releasing lock... [2025-03-20 05:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:40:01] Production.INFO: ==27816== Lock acquired, processing the job... [2025-03-20 01:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:40:02] Production.INFO: ==27816== Releasing lock... [2025-03-20 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:40:02] Production.INFO: ==27818== Lock acquired, processing the job... [2025-03-20 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:40:02] Production.INFO: ==27818== Releasing lock... [2025-03-20 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:40:03] Production.INFO: ==27825== Lock acquired, processing the job... [2025-03-20 01:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:40:03] Production.INFO: ==27829== Lock acquired, processing the job... [2025-03-20 01:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:40:03] Production.INFO: ==27823== Lock acquired, processing the job... [2025-03-20 01:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:40:03] Production.INFO: ==27821== Lock acquired, processing the job... [2025-03-20 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 01:40:03] Production.INFO: ==27835== Lock acquired, processing the job... [2025-03-20 01:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:40:03] Production.INFO: ==27827== Lock acquired, processing the job... [2025-03-20 01:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:40:03] Production.INFO: Account Balance Start. [2025-03-20 01:40:03] Production.INFO: CreateAllLog Start [2025-03-20 01:40:03] Production.INFO: 117 [2025-03-20 01:40:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 01:40:03] Production.INFO: ==27825== Releasing lock... [2025-03-20 01:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:40:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 01:40:03] Production.ERROR: CronJob PID - 27823 [2025-03-20 01:40:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 01:40:03] Production.ERROR: CronJob ID - 5 [2025-03-20 01:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 01:40:00 [2025-03-20 01:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 01:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 01:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 01:40:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:03] Production.ERROR: CronJob PID - 27829 [2025-03-20 01:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 01:40:03] Production.ERROR: CronJob ID - 12 [2025-03-20 01:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 01:40:00 [2025-03-20 01:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 01:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 01:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 01:40:03] Production.ERROR: CronJob PID - 27835 [2025-03-20 01:40:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 01:40:03] Production.ERROR: CronJob ID - 19 [2025-03-20 01:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 01:40:00 [2025-03-20 01:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 01:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 01:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01: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-03-20 01:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 01:40:03] Production.INFO: ==27821== Releasing lock... [2025-03-20 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 01:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 01:40:03] Production.INFO: count ==12 [2025-03-20 01:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:40:03] Production.INFO: Date 2025-03-09 [2025-03-20 01: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-03-20 01:40:03] Production.INFO: count ==23 [2025-03-20 01:40:03] Production.INFO: ==27831== Lock acquired, processing the job... [2025-03-20 01:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:40:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:03] Production.INFO: ==27833== Lock acquired, processing the job... [2025-03-20 01:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 01:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719531') start [2025-03-20 01:40:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:40:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719531') end [2025-03-20 01:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:40:04] Production.INFO: 1 [2025-03-20 01:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:04] Production.INFO: ==27835== Releasing lock... [2025-03-20 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:04] Production.ERROR: done [2025-03-20 01:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:40:04] Production.ERROR: done [2025-03-20 01:40:04] Production.ERROR: done [2025-03-20 01:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 01:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719533', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 01:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:40:04] Production.INFO: Total Charge 0 [2025-03-20 01:40:04] Production.INFO: CreateAllLog End [2025-03-20 01:40:04] Production.INFO: Account Balance End. [2025-03-20 01:40:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:40:04] Production.INFO: ==27829== Releasing lock... [2025-03-20 01:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:40:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:40:05 [end_date_ymd] => 2025-03-20 01:40:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:40:05' and `end` < '2025-03-20 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-03-20 01:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719533', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 01:40:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 01:40:08] Production.INFO: ProcessCDR(1,14719533,1,1,2) [2025-03-20 01:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719533,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719533,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:40:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:40:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:40:08] Production.INFO: ==27833== Releasing lock... [2025-03-20 01:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 01:40:08] Production.INFO: 26 MB #Memory Used# [2025-03-20 01:40:14] Production.ERROR: CronJobId end10 [2025-03-20 01:40:14] Production.INFO: ==27827== Releasing lock... [2025-03-20 01:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:40:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:40:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:40:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:40:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:40:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:40:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:40:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:40:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:40:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:40:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:40:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:40:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:40:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:40:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:40:17] Production.INFO: call_cost start [2025-03-20 01:40:17] Production.INFO: call_cost end [2025-03-20 01:40:17] Production.INFO: count ==782 [2025-03-20 01:40:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:40:05 - End Time 2025-03-20 01:40:05 [2025-03-20 01:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719534', 'tblTempUsageDetail_20' ) start [2025-03-20 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719534', 'tblTempUsageDetail_20' ) end [2025-03-20 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719534', 'tblTempVendorCDR_20' ) start [2025-03-20 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719534', 'tblTempVendorCDR_20' ) end [2025-03-20 01:40:18] Production.INFO: ProcessCDR(1,14719534,1,1,2) [2025-03-20 01:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:40:18] Production.INFO: ==27823== Releasing lock... [2025-03-20 01:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719534', 'tblTempUsageDetail_20' ) start [2025-03-20 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719534', 'tblTempUsageDetail_20' ) end [2025-03-20 01:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:40:22] Production.INFO: ==27831== Releasing lock... [2025-03-20 01:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:40:22] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 05:41:01] Production.INFO: ==27904== Lock acquired, processing the job... [2025-03-20 05:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:41:01] Production.INFO: neon service started [2025-03-20 05:41:01] Production.INFO: neon service started [2025-03-20 05:41:01] Production.INFO: ==27904== Releasing lock... [2025-03-20 05:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:41:02] Production.INFO: ==27908== Lock acquired, processing the job... [2025-03-20 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:41:02] Production.INFO: ==27908== Releasing lock... [2025-03-20 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:41:02] Production.INFO: ==27906== Lock acquired, processing the job... [2025-03-20 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:41:02] Production.INFO: ==27906== Releasing lock... [2025-03-20 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:41:03] Production.INFO: ==27911== Lock acquired, processing the job... [2025-03-20 01:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:41:03] Production.INFO: ==27913== Lock acquired, processing the job... [2025-03-20 01:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:41:03] Production.INFO: ==27915== Lock acquired, processing the job... [2025-03-20 01:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:41:03] Production.INFO: ==27919== Lock acquired, processing the job... [2025-03-20 01:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:41:03] Production.INFO: ==27917== Lock acquired, processing the job... [2025-03-20 01:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:41:04] Production.INFO: Account Balance Start. [2025-03-20 01:41:04] Production.INFO: CreateAllLog Start [2025-03-20 01:41:04] Production.INFO: 117 [2025-03-20 01:41:04] Production.INFO: ==27921== Lock acquired, processing the job... [2025-03-20 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:41:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.INFO: ==27913== Releasing lock... [2025-03-20 01:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 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-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.INFO: count ==12 [2025-03-20 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-03-20 01:41:04] Production.INFO: count ==23 [2025-03-20 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719538') start [2025-03-20 01:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719538') end [2025-03-20 01:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:41:04] Production.INFO: 1 [2025-03-20 01:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:41:04] Production.ERROR: done [2025-03-20 01:41:04] Production.INFO: ==27921== Releasing lock... [2025-03-20 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:41:04] Production.ERROR: done [2025-03-20 01:41:04] Production.INFO: Total Charge 0 [2025-03-20 01:41:04] Production.INFO: CreateAllLog End [2025-03-20 01:41:04] Production.INFO: Account Balance End. [2025-03-20 01:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:41:05] Production.INFO: ==27917== Releasing lock... [2025-03-20 01:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:41:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:41:06 [end_date_ymd] => 2025-03-20 01:41:06 [RateCDR] => 1 ) [2025-03-20 01: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-03-19 22:41:06' and `end` < '2025-03-20 01: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-03-20 01:41:12] Production.ERROR: CronJobId end10 [2025-03-20 01:41:12] Production.INFO: ==27915== Releasing lock... [2025-03-20 01:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:41:15] Production.INFO: call_cost start [2025-03-20 01:41:15] Production.INFO: call_cost end [2025-03-20 01:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:41:16] Production.INFO: ==27911== Releasing lock... [2025-03-20 01:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:41:18] Production.INFO: count ==802 [2025-03-20 01:41:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:41:06 - End Time 2025-03-20 01:41:06 [2025-03-20 01:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719539', 'tblTempUsageDetail_20' ) start [2025-03-20 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719539', 'tblTempUsageDetail_20' ) end [2025-03-20 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719539', 'tblTempVendorCDR_20' ) start [2025-03-20 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719539', 'tblTempVendorCDR_20' ) end [2025-03-20 01:41:18] Production.INFO: ProcessCDR(1,14719539,1,1,2) [2025-03-20 01:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719539', 'tblTempUsageDetail_20' ) start [2025-03-20 01:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719539', 'tblTempUsageDetail_20' ) end [2025-03-20 01:41:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:41:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:41:22] Production.INFO: ==27919== Releasing lock... [2025-03-20 01:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:41:22] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:42:02] Production.INFO: ==27990== Lock acquired, processing the job... [2025-03-20 05:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:42:02] Production.INFO: neon service started [2025-03-20 05:42:02] Production.INFO: neon service started [2025-03-20 05:42:02] Production.INFO: ==27990== Releasing lock... [2025-03-20 05:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:42:02] Production.INFO: ==27992== Lock acquired, processing the job... [2025-03-20 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:42:03] Production.INFO: ==27992== Releasing lock... [2025-03-20 01:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:42:03] Production.INFO: ==27994== Lock acquired, processing the job... [2025-03-20 05:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:42:03] Production.INFO: ==27994== Releasing lock... [2025-03-20 05:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:42:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:42:04] Production.INFO: ==28003== Lock acquired, processing the job... [2025-03-20 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:42:04] Production.INFO: ==28007== Lock acquired, processing the job... [2025-03-20 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:42:04] Production.INFO: Account Balance Start. [2025-03-20 01:42:04] Production.INFO: CreateAllLog Start [2025-03-20 01:42:04] Production.INFO: 117 [2025-03-20 01:42:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:42:04] Production.INFO: ==27997== Lock acquired, processing the job... [2025-03-20 01:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:04] Production.INFO: count ==12 [2025-03-20 01:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:42:04] Production.INFO: count ==23 [2025-03-20 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719541') start [2025-03-20 01:42:04] Production.INFO: ==27999== Lock acquired, processing the job... [2025-03-20 01:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:04] Production.INFO: ==28001== Lock acquired, processing the job... [2025-03-20 01:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719541') end [2025-03-20 01:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:42:04] Production.INFO: 1 [2025-03-20 01:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:42:04] Production.INFO: ==28007== Releasing lock... [2025-03-20 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:04] Production.INFO: ==28005== Lock acquired, processing the job... [2025-03-20 01:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:42:05] Production.INFO: Date 2025-03-17 [2025-03-20 01:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:42:05] Production.INFO: Total Charge 0 [2025-03-20 01:42:05] Production.INFO: CreateAllLog End [2025-03-20 01:42:05] Production.INFO: ==27999== Releasing lock... [2025-03-20 01:42:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:42:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:42:05] Production.ERROR: done [2025-03-20 01:42:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:42:05] Production.ERROR: done [2025-03-20 01:42:05] Production.INFO: Account Balance End. [2025-03-20 01:42:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:42:05] Production.INFO: ==28003== Releasing lock... [2025-03-20 01:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:42:06 [end_date_ymd] => 2025-03-20 01:42:06 [RateCDR] => 1 ) [2025-03-20 01:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:42:06' and `end` < '2025-03-20 01:42:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:42:13] Production.ERROR: CronJobId end10 [2025-03-20 01:42:13] Production.INFO: ==28001== Releasing lock... [2025-03-20 01:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:42:16] Production.INFO: call_cost start [2025-03-20 01:42:16] Production.INFO: call_cost end [2025-03-20 01:42:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:42:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:42:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:42:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:42:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:42:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:42:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:42:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:42:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:42:17] Production.INFO: ==27997== Releasing lock... [2025-03-20 01:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:42:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:42:19] Production.INFO: count ==802 [2025-03-20 01:42:19] Production.ERROR: pbx CDR StartTime 2025-03-19 22:42:06 - End Time 2025-03-20 01:42:06 [2025-03-20 01:42:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719544', 'tblTempUsageDetail_20' ) start [2025-03-20 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719544', 'tblTempUsageDetail_20' ) end [2025-03-20 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719544', 'tblTempVendorCDR_20' ) start [2025-03-20 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719544', 'tblTempVendorCDR_20' ) end [2025-03-20 01:42:19] Production.INFO: ProcessCDR(1,14719544,1,1,2) [2025-03-20 01:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719544', 'tblTempUsageDetail_20' ) start [2025-03-20 01:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719544', 'tblTempUsageDetail_20' ) end [2025-03-20 01:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:42:22] Production.INFO: ==28005== Releasing lock... [2025-03-20 01:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:42:22] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:43:01] Production.INFO: ==28119== Lock acquired, processing the job... [2025-03-20 05:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:43:02] Production.INFO: neon service started [2025-03-20 05:43:02] Production.INFO: neon service started [2025-03-20 05:43:02] Production.INFO: ==28119== Releasing lock... [2025-03-20 05:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:43:02] Production.INFO: ==28121== Lock acquired, processing the job... [2025-03-20 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:43:02] Production.INFO: ==28121== Releasing lock... [2025-03-20 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:43:02] Production.INFO: ==28123== Lock acquired, processing the job... [2025-03-20 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:43:02] Production.INFO: ==28123== Releasing lock... [2025-03-20 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:43:03] Production.INFO: ==28125== Lock acquired, processing the job... [2025-03-20 01:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:43:03] Production.INFO: ==28127== Lock acquired, processing the job... [2025-03-20 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:43:03] Production.INFO: ==28135== Lock acquired, processing the job... [2025-03-20 01:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:43:03] Production.INFO: ==28129== Lock acquired, processing the job... [2025-03-20 01:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:43:03] Production.INFO: ==28131== Lock acquired, processing the job... [2025-03-20 01:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:43:03] Production.INFO: ==28133== Lock acquired, processing the job... [2025-03-20 01:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 01:43:03] Production.INFO: Account Balance Start. [2025-03-20 01:43:03] Production.INFO: CreateAllLog Start [2025-03-20 01:43:03] Production.INFO: 117 [2025-03-20 01:43:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:43:03] Production.INFO: count ==12 [2025-03-20 01:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:43:03] Production.INFO: count ==23 [2025-03-20 01:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719547') start [2025-03-20 01:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.INFO: ==28127== Releasing lock... [2025-03-20 01:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719547') end [2025-03-20 01:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:43:04] Production.INFO: 1 [2025-03-20 01:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.INFO: ==28135== Releasing lock... [2025-03-20 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:43:04] Production.ERROR: done [2025-03-20 01:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.ERROR: done [2025-03-20 01:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:43:04] Production.INFO: Total Charge 0 [2025-03-20 01:43:04] Production.INFO: CreateAllLog End [2025-03-20 01:43:04] Production.INFO: Account Balance End. [2025-03-20 01:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:43:05] Production.INFO: ==28131== Releasing lock... [2025-03-20 01:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:43:05 [end_date_ymd] => 2025-03-20 01:43:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:43:05' and `end` < '2025-03-20 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-03-20 01:43:13] Production.ERROR: CronJobId end10 [2025-03-20 01:43:13] Production.INFO: ==28129== Releasing lock... [2025-03-20 01:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:43:15] Production.INFO: call_cost start [2025-03-20 01:43:15] Production.INFO: call_cost end [2025-03-20 01:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:43:16] Production.INFO: ==28125== Releasing lock... [2025-03-20 01:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:43:17] Production.INFO: count ==797 [2025-03-20 01:43:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:43:05 - End Time 2025-03-20 01:43:05 [2025-03-20 01:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719549', 'tblTempUsageDetail_20' ) start [2025-03-20 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719549', 'tblTempUsageDetail_20' ) end [2025-03-20 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719549', 'tblTempVendorCDR_20' ) start [2025-03-20 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719549', 'tblTempVendorCDR_20' ) end [2025-03-20 01:43:18] Production.INFO: ProcessCDR(1,14719549,1,1,2) [2025-03-20 01:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719549', 'tblTempUsageDetail_20' ) start [2025-03-20 01:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719549', 'tblTempUsageDetail_20' ) end [2025-03-20 01:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:43:21] Production.INFO: ==28133== Releasing lock... [2025-03-20 01:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:43:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:44:01] Production.INFO: ==28201== Lock acquired, processing the job... [2025-03-20 05:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:44:01] Production.INFO: neon service started [2025-03-20 05:44:01] Production.INFO: neon service started [2025-03-20 05:44:01] Production.INFO: ==28201== Releasing lock... [2025-03-20 05:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:44:01] Production.INFO: ==28205== Lock acquired, processing the job... [2025-03-20 05:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:44:01] Production.INFO: ==28205== Releasing lock... [2025-03-20 05:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:44:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:44:02] Production.INFO: ==28203== Lock acquired, processing the job... [2025-03-20 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:44:02] Production.INFO: ==28203== Releasing lock... [2025-03-20 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:44:03] Production.INFO: ==28214== Lock acquired, processing the job... [2025-03-20 01:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:44:03] Production.INFO: Account Balance Start. [2025-03-20 01:44:03] Production.INFO: CreateAllLog Start [2025-03-20 01:44:03] Production.INFO: 117 [2025-03-20 01:44:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:03] Production.INFO: ==28218== Lock acquired, processing the job... [2025-03-20 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:44:03] Production.INFO: ==28207== Lock acquired, processing the job... [2025-03-20 01:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:44:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:03] Production.INFO: Date 2025-03-15 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:03] Production.INFO: ==28209== Lock acquired, processing the job... [2025-03-20 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 01:44:03] Production.INFO: Date 2025-03-16 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:03] Production.INFO: ==28212== Lock acquired, processing the job... [2025-03-20 01:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:44:03] Production.INFO: count ==12 [2025-03-20 01:44:03] Production.INFO: Date 2025-03-17 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:44:03] Production.INFO: count ==23 [2025-03-20 01:44:03] Production.INFO: ==28216== Lock acquired, processing the job... [2025-03-20 01:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719551') start [2025-03-20 01:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:44:03] Production.INFO: Date 2025-03-18 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:44:03] Production.INFO: Date 2025-03-19 [2025-03-20 01:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719551') end [2025-03-20 01:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:44:04] Production.INFO: 1 [2025-03-20 01:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:44:04] Production.INFO: Total Charge 0 [2025-03-20 01:44:04] Production.INFO: CreateAllLog End [2025-03-20 01:44:04] Production.INFO: ==28218== Releasing lock... [2025-03-20 01:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:44:04] Production.INFO: ==28209== Releasing lock... [2025-03-20 01:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:44:04] Production.INFO: Account Balance End. [2025-03-20 01:44:04] Production.ERROR: done [2025-03-20 01:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:44:04] Production.INFO: ==28214== Releasing lock... [2025-03-20 01:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:44:04] Production.ERROR: done [2025-03-20 01:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:44:05 [end_date_ymd] => 2025-03-20 01:44:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:44:05' and `end` < '2025-03-20 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-03-20 01:44:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #11 [internal function]: App\Console\Commands\NeonAlerts->fire() #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-03-20 01:44:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:44:11] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:44:11] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:44:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:44:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:44:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:44:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:44:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:44:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:44:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:44:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:44:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:44:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:44:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:44:12] Production.ERROR: CronJobId end10 [2025-03-20 01:44:12] Production.INFO: ==28212== Releasing lock... [2025-03-20 01:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:44:12] Production.INFO: call_cost start [2025-03-20 01:44:12] Production.INFO: call_cost end [2025-03-20 01:44:12] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:44:12] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:44:12] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:44:12] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:44:12] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:44:12] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:44:12] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:44:12] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:44:12] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:44:13] Production.INFO: ==28207== Releasing lock... [2025-03-20 01:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:44:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:44:18] Production.INFO: count ==797 [2025-03-20 01:44:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:44:05 - End Time 2025-03-20 01:44:05 [2025-03-20 01:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719554', 'tblTempUsageDetail_20' ) start [2025-03-20 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719554', 'tblTempUsageDetail_20' ) end [2025-03-20 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719554', 'tblTempVendorCDR_20' ) start [2025-03-20 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719554', 'tblTempVendorCDR_20' ) end [2025-03-20 01:44:18] Production.INFO: ProcessCDR(1,14719554,1,1,2) [2025-03-20 01:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719554', 'tblTempUsageDetail_20' ) start [2025-03-20 01:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719554', 'tblTempUsageDetail_20' ) end [2025-03-20 01:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:44:21] Production.INFO: ==28216== Releasing lock... [2025-03-20 01:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:44:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:45:01] Production.INFO: ==28285== Lock acquired, processing the job... [2025-03-20 05:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:45:01] Production.INFO: neon service started [2025-03-20 05:45:01] Production.INFO: neon service started [2025-03-20 05:45:01] Production.INFO: ==28285== Releasing lock... [2025-03-20 05:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:45:02] Production.INFO: ==28287== Lock acquired, processing the job... [2025-03-20 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:45:02] Production.INFO: ==28289== Lock acquired, processing the job... [2025-03-20 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:45:02] Production.INFO: ==28289== Releasing lock... [2025-03-20 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:45:02] Production.INFO: ==28287== Releasing lock... [2025-03-20 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:45:03] Production.INFO: ==28299== Lock acquired, processing the job... [2025-03-20 01:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:45:03] Production.INFO: ==28302== Lock acquired, processing the job... [2025-03-20 01:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:45:03] Production.INFO: ==28291== Lock acquired, processing the job... [2025-03-20 01:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:45:03] Production.INFO: ==28293== Lock acquired, processing the job... [2025-03-20 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:45:03] Production.INFO: ==28295== Lock acquired, processing the job... [2025-03-20 01:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:45:03] Production.INFO: ==28297== Lock acquired, processing the job... [2025-03-20 01:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:45:03] Production.INFO: Account Balance Start. [2025-03-20 01:45:03] Production.INFO: CreateAllLog Start [2025-03-20 01:45:03] Production.INFO: 117 [2025-03-20 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-03-20 01:45:03] Production.INFO: count ==12 [2025-03-20 01:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:45:03] Production.ERROR: done [2025-03-20 01:45:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:45:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 01:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:03] Production.INFO: count ==23 [2025-03-20 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719556') start [2025-03-20 01:45:04] Production.INFO: ==28293== Releasing lock... [2025-03-20 01:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719556') end [2025-03-20 01:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:45:04] Production.INFO: 1 [2025-03-20 01:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.INFO: ==28302== Releasing lock... [2025-03-20 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:45:04] Production.ERROR: done [2025-03-20 01:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:45:04] Production.INFO: Total Charge 0 [2025-03-20 01:45:04] Production.INFO: CreateAllLog End [2025-03-20 01:45:04] Production.INFO: Account Balance End. [2025-03-20 01:45:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:45:04] Production.INFO: ==28297== Releasing lock... [2025-03-20 01:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:45:05 [end_date_ymd] => 2025-03-20 01:45:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:45:05' and `end` < '2025-03-20 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-03-20 01:45:12] Production.ERROR: CronJobId end10 [2025-03-20 01:45:12] Production.INFO: ==28295== Releasing lock... [2025-03-20 01:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:45:15] Production.INFO: call_cost start [2025-03-20 01:45:15] Production.INFO: call_cost end [2025-03-20 01:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:45:15] Production.INFO: ==28291== Releasing lock... [2025-03-20 01:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:45:17] Production.INFO: count ==797 [2025-03-20 01:45:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:45:05 - End Time 2025-03-20 01:45:05 [2025-03-20 01:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719559', 'tblTempUsageDetail_20' ) start [2025-03-20 01:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719559', 'tblTempUsageDetail_20' ) end [2025-03-20 01:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719559', 'tblTempVendorCDR_20' ) start [2025-03-20 01:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719559', 'tblTempVendorCDR_20' ) end [2025-03-20 01:45:17] Production.INFO: ProcessCDR(1,14719559,1,1,2) [2025-03-20 01:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719559', 'tblTempUsageDetail_20' ) start [2025-03-20 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719559', 'tblTempUsageDetail_20' ) end [2025-03-20 01:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:45:21] Production.INFO: ==28299== Releasing lock... [2025-03-20 01:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:45:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:46:02] Production.INFO: ==28368== Lock acquired, processing the job... [2025-03-20 05:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:46:02] Production.INFO: neon service started [2025-03-20 05:46:02] Production.INFO: neon service started [2025-03-20 05:46:02] Production.INFO: ==28368== Releasing lock... [2025-03-20 05:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:46:02] Production.INFO: ==28370== Lock acquired, processing the job... [2025-03-20 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:46:02] Production.INFO: ==28372== Lock acquired, processing the job... [2025-03-20 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:46:03] Production.INFO: ==28372== Releasing lock... [2025-03-20 05:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:46:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:46:03] Production.INFO: ==28370== Releasing lock... [2025-03-20 01:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:46:03] Production.INFO: ==28377== Lock acquired, processing the job... [2025-03-20 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:46:03] Production.INFO: ==28381== Lock acquired, processing the job... [2025-03-20 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:46:04] Production.INFO: ==28375== Lock acquired, processing the job... [2025-03-20 01:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:46:04] Production.INFO: Account Balance Start. [2025-03-20 01:46:04] Production.INFO: CreateAllLog Start [2025-03-20 01:46:04] Production.INFO: 117 [2025-03-20 01:46:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:46:04] Production.INFO: ==28379== Lock acquired, processing the job... [2025-03-20 01:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: ==28377== Releasing lock... [2025-03-20 01:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: ==28385== Lock acquired, processing the job... [2025-03-20 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: ==28383== Lock acquired, processing the job... [2025-03-20 01:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: count ==12 [2025-03-20 01:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:46:04] Production.INFO: count ==23 [2025-03-20 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719563') start [2025-03-20 01:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719563') end [2025-03-20 01:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:46:04] Production.INFO: 1 [2025-03-20 01:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: ==28385== Releasing lock... [2025-03-20 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:46:04] Production.INFO: Total Charge 0 [2025-03-20 01:46:04] Production.INFO: CreateAllLog End [2025-03-20 01:46:04] Production.ERROR: done [2025-03-20 01:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:46:04] Production.INFO: Account Balance End. [2025-03-20 01:46:05] Production.ERROR: done [2025-03-20 01:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:46:05] Production.INFO: ==28381== Releasing lock... [2025-03-20 01:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:46:05 [end_date_ymd] => 2025-03-20 01:46:05 [RateCDR] => 1 ) [2025-03-20 01: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-03-19 22:46:05' and `end` < '2025-03-20 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-03-20 01:46:13] Production.ERROR: CronJobId end10 [2025-03-20 01:46:13] Production.INFO: ==28379== Releasing lock... [2025-03-20 01:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:46:15] Production.INFO: call_cost start [2025-03-20 01:46:15] Production.INFO: call_cost end [2025-03-20 01:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:46:16] Production.INFO: ==28375== Releasing lock... [2025-03-20 01:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:46:18] Production.INFO: count ==800 [2025-03-20 01:46:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:46:05 - End Time 2025-03-20 01:46:05 [2025-03-20 01:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719564', 'tblTempUsageDetail_20' ) start [2025-03-20 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719564', 'tblTempUsageDetail_20' ) end [2025-03-20 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719564', 'tblTempVendorCDR_20' ) start [2025-03-20 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719564', 'tblTempVendorCDR_20' ) end [2025-03-20 01:46:18] Production.INFO: ProcessCDR(1,14719564,1,1,2) [2025-03-20 01:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719564', 'tblTempUsageDetail_20' ) start [2025-03-20 01:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719564', 'tblTempUsageDetail_20' ) end [2025-03-20 01:46:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:46:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:46:22] Production.INFO: ==28383== Releasing lock... [2025-03-20 01:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:46:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:47:01] Production.INFO: ==28450== Lock acquired, processing the job... [2025-03-20 05:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:47:01] Production.INFO: neon service started [2025-03-20 05:47:01] Production.INFO: neon service started [2025-03-20 05:47:01] Production.INFO: ==28450== Releasing lock... [2025-03-20 05:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:47:02] Production.INFO: ==28455== Lock acquired, processing the job... [2025-03-20 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:47:02] Production.INFO: ==28455== Releasing lock... [2025-03-20 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:47:02] Production.INFO: ==28453== Lock acquired, processing the job... [2025-03-20 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:47:02] Production.INFO: ==28453== Releasing lock... [2025-03-20 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:47:03] Production.INFO: ==28457== Lock acquired, processing the job... [2025-03-20 01:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:47:03] Production.INFO: ==28467== Lock acquired, processing the job... [2025-03-20 01:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 01:47:03] Production.INFO: count ==12 [2025-03-20 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-03-20 01:47:03] Production.INFO: count ==23 [2025-03-20 01:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719566') start [2025-03-20 01:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719566') end [2025-03-20 01:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:47:03] Production.INFO: 1 [2025-03-20 01:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:47:03] Production.INFO: ==28459== Lock acquired, processing the job... [2025-03-20 01:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:47:03] Production.INFO: ==28461== Lock acquired, processing the job... [2025-03-20 01:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:47:03] Production.INFO: ==28465== Lock acquired, processing the job... [2025-03-20 01:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:47:03] Production.INFO: ==28467== Releasing lock... [2025-03-20 01:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:47:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:47:03] Production.INFO: ==28463== Lock acquired, processing the job... [2025-03-20 01:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:47:04] Production.INFO: Account Balance Start. [2025-03-20 01:47:04] Production.INFO: CreateAllLog Start [2025-03-20 01:47:04] Production.INFO: 117 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.INFO: ==28459== Releasing lock... [2025-03-20 01:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:47:04] Production.ERROR: done [2025-03-20 01:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:47:04] Production.ERROR: done [2025-03-20 01:47:04] Production.INFO: Total Charge 0 [2025-03-20 01:47:04] Production.INFO: CreateAllLog End [2025-03-20 01:47:04] Production.INFO: Account Balance End. [2025-03-20 01:47:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:47:04] Production.INFO: ==28463== Releasing lock... [2025-03-20 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:47:05 [end_date_ymd] => 2025-03-20 01:47:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:47:05' and `end` < '2025-03-20 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-03-20 01:47:12] Production.ERROR: CronJobId end10 [2025-03-20 01:47:12] Production.INFO: ==28461== Releasing lock... [2025-03-20 01:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:47:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:47:15] Production.INFO: call_cost start [2025-03-20 01:47:15] Production.INFO: call_cost end [2025-03-20 01:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:47:16] Production.INFO: ==28457== Releasing lock... [2025-03-20 01:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:47:17] Production.INFO: count ==800 [2025-03-20 01:47:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:47:05 - End Time 2025-03-20 01:47:05 [2025-03-20 01:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719569', 'tblTempUsageDetail_20' ) start [2025-03-20 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719569', 'tblTempUsageDetail_20' ) end [2025-03-20 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719569', 'tblTempVendorCDR_20' ) start [2025-03-20 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719569', 'tblTempVendorCDR_20' ) end [2025-03-20 01:47:18] Production.INFO: ProcessCDR(1,14719569,1,1,2) [2025-03-20 01:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719569', 'tblTempUsageDetail_20' ) start [2025-03-20 01:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719569', 'tblTempUsageDetail_20' ) end [2025-03-20 01:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:47:21] Production.INFO: ==28465== Releasing lock... [2025-03-20 01:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:47:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:48:02] Production.INFO: ==28533== Lock acquired, processing the job... [2025-03-20 05:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:48:02] Production.INFO: neon service started [2025-03-20 05:48:02] Production.INFO: neon service started [2025-03-20 05:48:02] Production.INFO: ==28533== Releasing lock... [2025-03-20 05:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:48:02] Production.INFO: ==28535== Lock acquired, processing the job... [2025-03-20 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:48:03] Production.INFO: ==28537== Lock acquired, processing the job... [2025-03-20 05:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:48:03] Production.INFO: ==28535== Releasing lock... [2025-03-20 01:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:48:03] Production.INFO: ==28537== Releasing lock... [2025-03-20 05:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:48:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:48:04] Production.INFO: ==28551== Lock acquired, processing the job... [2025-03-20 01:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:48:04] Production.INFO: ==28549== Lock acquired, processing the job... [2025-03-20 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:48:04] Production.INFO: Account Balance Start. [2025-03-20 01:48:04] Production.INFO: CreateAllLog Start [2025-03-20 01:48:04] Production.INFO: 117 [2025-03-20 01:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:48:04] Production.INFO: ==28542== Lock acquired, processing the job... [2025-03-20 01:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:48:04] Production.ERROR: done [2025-03-20 01:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:48:04] Production.INFO: ==28544== Lock acquired, processing the job... [2025-03-20 01:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:48:04] Production.INFO: ==28547== Lock acquired, processing the job... [2025-03-20 01:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:48:04] Production.ERROR: done [2025-03-20 01:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:48:04] Production.INFO: ==28553== Lock acquired, processing the job... [2025-03-20 01:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:48:04] Production.INFO: count ==12 [2025-03-20 01:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:48:04] Production.INFO: count ==23 [2025-03-20 01:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719574') start [2025-03-20 01:48:04] Production.INFO: ==28544== Releasing lock... [2025-03-20 01:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719574') end [2025-03-20 01:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:48:04] Production.INFO: 1 [2025-03-20 01:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:48:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:48:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:48:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:48:05] Production.INFO: Total Charge 0 [2025-03-20 01:48:05] Production.INFO: ==28553== Releasing lock... [2025-03-20 01:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:48:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:48:05] Production.INFO: CreateAllLog End [2025-03-20 01:48:05] Production.INFO: Account Balance End. [2025-03-20 01:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:48:05] Production.INFO: ==28549== Releasing lock... [2025-03-20 01:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:48:05 [end_date_ymd] => 2025-03-20 01:48:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:48:05' and `end` < '2025-03-20 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-03-20 01:48:13] Production.ERROR: CronJobId end10 [2025-03-20 01:48:13] Production.INFO: ==28547== Releasing lock... [2025-03-20 01:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:48:16] Production.INFO: call_cost start [2025-03-20 01:48:16] Production.INFO: call_cost end [2025-03-20 01:48:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:48:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:48:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:48:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:48:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:48:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:48:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:48:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:48:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:48:17] Production.INFO: ==28542== Releasing lock... [2025-03-20 01:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:48:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:48:17] Production.INFO: count ==800 [2025-03-20 01:48:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:48:05 - End Time 2025-03-20 01:48:05 [2025-03-20 01:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719573', 'tblTempUsageDetail_20' ) start [2025-03-20 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719573', 'tblTempUsageDetail_20' ) end [2025-03-20 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719573', 'tblTempVendorCDR_20' ) start [2025-03-20 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719573', 'tblTempVendorCDR_20' ) end [2025-03-20 01:48:18] Production.INFO: ProcessCDR(1,14719573,1,1,2) [2025-03-20 01:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719573', 'tblTempUsageDetail_20' ) start [2025-03-20 01:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719573', 'tblTempUsageDetail_20' ) end [2025-03-20 01:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:48:21] Production.INFO: ==28551== Releasing lock... [2025-03-20 01:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:48:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:49:01] Production.INFO: ==28621== Lock acquired, processing the job... [2025-03-20 05:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:49:01] Production.INFO: neon service started [2025-03-20 05:49:01] Production.INFO: neon service started [2025-03-20 05:49:01] Production.INFO: ==28621== Releasing lock... [2025-03-20 05:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:49:02] Production.INFO: ==28623== Lock acquired, processing the job... [2025-03-20 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:49:02] Production.INFO: ==28623== Releasing lock... [2025-03-20 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:49:02] Production.INFO: ==28625== Lock acquired, processing the job... [2025-03-20 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:49:02] Production.INFO: ==28625== Releasing lock... [2025-03-20 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:49:03] Production.INFO: ==28630== Lock acquired, processing the job... [2025-03-20 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:49:03] Production.INFO: ==28634== Lock acquired, processing the job... [2025-03-20 01:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:49:03] Production.INFO: ==28632== Lock acquired, processing the job... [2025-03-20 01:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:49:03] Production.INFO: ==28628== Lock acquired, processing the job... [2025-03-20 01:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:49:03] Production.INFO: ==28638== Lock acquired, processing the job... [2025-03-20 01:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:49:03] Production.INFO: Account Balance Start. [2025-03-20 01:49:03] Production.INFO: CreateAllLog Start [2025-03-20 01:49:03] Production.INFO: 117 [2025-03-20 01:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:49:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:03] Production.INFO: ==28636== Lock acquired, processing the job... [2025-03-20 01:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:49:03] Production.INFO: count ==12 [2025-03-20 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-03-20 01:49:03] Production.INFO: count ==23 [2025-03-20 01:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719578') start [2025-03-20 01:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:49:03] Production.INFO: ==28630== Releasing lock... [2025-03-20 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:49:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719578') end [2025-03-20 01:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:49:03] Production.INFO: 1 [2025-03-20 01:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:49:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:03] Production.INFO: ==28638== Releasing lock... [2025-03-20 01:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:04] Production.ERROR: done [2025-03-20 01:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:04] Production.ERROR: done [2025-03-20 01:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:49:04] Production.INFO: Total Charge 0 [2025-03-20 01:49:04] Production.INFO: CreateAllLog End [2025-03-20 01:49:04] Production.INFO: Account Balance End. [2025-03-20 01:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:49:04] Production.INFO: ==28634== Releasing lock... [2025-03-20 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:49:05 [end_date_ymd] => 2025-03-20 01:49:05 [RateCDR] => 1 ) [2025-03-20 01:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:49:05' and `end` < '2025-03-20 01:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:49:12] Production.ERROR: CronJobId end10 [2025-03-20 01:49:12] Production.INFO: ==28632== Releasing lock... [2025-03-20 01:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:49:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:49:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:49:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:49:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:49:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:49:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:49:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:49:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:49:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:49:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:49:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:49:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:49:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:49:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:49:14] Production.INFO: call_cost start [2025-03-20 01:49:14] Production.INFO: call_cost end [2025-03-20 01:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:49:15] Production.INFO: ==28628== Releasing lock... [2025-03-20 01:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:49:17] Production.INFO: count ==793 [2025-03-20 01:49:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:49:05 - End Time 2025-03-20 01:49:05 [2025-03-20 01:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719579', 'tblTempUsageDetail_20' ) start [2025-03-20 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719579', 'tblTempUsageDetail_20' ) end [2025-03-20 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719579', 'tblTempVendorCDR_20' ) start [2025-03-20 01:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719579', 'tblTempVendorCDR_20' ) end [2025-03-20 01:49:17] Production.INFO: ProcessCDR(1,14719579,1,1,2) [2025-03-20 01:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719579', 'tblTempUsageDetail_20' ) start [2025-03-20 01:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719579', 'tblTempUsageDetail_20' ) end [2025-03-20 01:49:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:49:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:49:20] Production.INFO: ==28636== Releasing lock... [2025-03-20 01:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:49:20] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:50:02] Production.INFO: ==28704== Lock acquired, processing the job... [2025-03-20 05:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:50:02] Production.INFO: neon service started [2025-03-20 05:50:02] Production.INFO: neon service started [2025-03-20 05:50:02] Production.INFO: ==28704== Releasing lock... [2025-03-20 05:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:50:02] Production.INFO: ==28706== Lock acquired, processing the job... [2025-03-20 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:50:03] Production.INFO: ==28708== Lock acquired, processing the job... [2025-03-20 05:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:50:03] Production.INFO: ==28708== Releasing lock... [2025-03-20 05:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:50:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:50:03] Production.INFO: ==28706== Releasing lock... [2025-03-20 01:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:50:04] Production.INFO: ==28718== Lock acquired, processing the job... [2025-03-20 01:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:50:04] Production.INFO: ==28721== Lock acquired, processing the job... [2025-03-20 01:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:50:04] Production.INFO: ==28710== Lock acquired, processing the job... [2025-03-20 01:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 01:50:04] Production.INFO: ==28725== Lock acquired, processing the job... [2025-03-20 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 01:50:04] Production.INFO: Account Balance Start. [2025-03-20 01:50:04] Production.INFO: CreateAllLog Start [2025-03-20 01:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 01:50:04] Production.ERROR: CronJob PID - 28718 [2025-03-20 01:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 01:50:04] Production.ERROR: CronJob ID - 12 [2025-03-20 01:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 01:50:00 [2025-03-20 01:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 01:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 01:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 01:50:04] Production.ERROR: CronJob PID - 28721 [2025-03-20 01:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 01:50:04] Production.ERROR: CronJob ID - 16 [2025-03-20 01:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 01:50:00 [2025-03-20 01:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 01:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 01:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 01:50:04] Production.ERROR: CronJob PID - 28725 [2025-03-20 01:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 01:50:04] Production.ERROR: CronJob ID - 19 [2025-03-20 01:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 01:50:00 [2025-03-20 01:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 01:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 01:50:04] Production.INFO: 117 [2025-03-20 01:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:04] Production.INFO: ==28712== Lock acquired, processing the job... [2025-03-20 01:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 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-03-20 01:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:04] Production.INFO: count ==12 [2025-03-20 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-03-20 01:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:50:04] Production.INFO: count ==23 [2025-03-20 01:50:04] Production.INFO: ==28714== Lock acquired, processing the job... [2025-03-20 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719581') start [2025-03-20 01:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:04] Production.INFO: ==28716== Lock acquired, processing the job... [2025-03-20 01:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:04] Production.INFO: ==28723== Lock acquired, processing the job... [2025-03-20 01:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 01:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 01:50:04] Production.INFO: ==28710== Releasing lock... [2025-03-20 01:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 01:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 01:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719581') end [2025-03-20 01:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:50:04] Production.INFO: 1 [2025-03-20 01:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:05] Production.INFO: ==28725== Releasing lock... [2025-03-20 01:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:50:05] Production.ERROR: done [2025-03-20 01:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 01:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:05] Production.INFO: ==28714== Releasing lock... [2025-03-20 01:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:50:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 01:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 01:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:05] Production.ERROR: done [2025-03-20 01:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 01:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:05] Production.ERROR: done [2025-03-20 01:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 01:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 01:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719584', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 01:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 01:50:05] Production.INFO: Total Charge 0 [2025-03-20 01:50:05] Production.INFO: CreateAllLog End [2025-03-20 01:50:05] Production.INFO: Account Balance End. [2025-03-20 01:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:50:05] Production.INFO: ==28718== Releasing lock... [2025-03-20 01:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:50:06 [end_date_ymd] => 2025-03-20 01:50:06 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:50:06' and `end` < '2025-03-20 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-03-20 01:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719584', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 01:50:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 01:50:10] Production.INFO: ProcessCDR(1,14719584,1,1,2) [2025-03-20 01:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719584,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719584,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:50:10] Production.INFO: ==28723== Releasing lock... [2025-03-20 01:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 01:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 01:50:14] Production.ERROR: CronJobId end10 [2025-03-20 01:50:14] Production.INFO: ==28716== Releasing lock... [2025-03-20 01:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:50:17] Production.INFO: call_cost start [2025-03-20 01:50:17] Production.INFO: call_cost end [2025-03-20 01:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:50:18] Production.INFO: ==28712== Releasing lock... [2025-03-20 01:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:50:18] Production.INFO: count ==790 [2025-03-20 01:50:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:50:06 - End Time 2025-03-20 01:50:06 [2025-03-20 01:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719585', 'tblTempUsageDetail_20' ) start [2025-03-20 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719585', 'tblTempUsageDetail_20' ) end [2025-03-20 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719585', 'tblTempVendorCDR_20' ) start [2025-03-20 01:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719585', 'tblTempVendorCDR_20' ) end [2025-03-20 01:50:18] Production.INFO: ProcessCDR(1,14719585,1,1,2) [2025-03-20 01:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719585', 'tblTempUsageDetail_20' ) start [2025-03-20 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719585', 'tblTempUsageDetail_20' ) end [2025-03-20 01:50:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:50:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:50:22] Production.INFO: ==28721== Releasing lock... [2025-03-20 01:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:50:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:51:01] Production.INFO: ==28794== Lock acquired, processing the job... [2025-03-20 05:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:51:01] Production.INFO: neon service started [2025-03-20 05:51:01] Production.INFO: neon service started [2025-03-20 05:51:01] Production.INFO: ==28794== Releasing lock... [2025-03-20 05:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:51:02] Production.INFO: ==28796== Lock acquired, processing the job... [2025-03-20 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:51:02] Production.INFO: ==28796== Releasing lock... [2025-03-20 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:51:02] Production.INFO: ==28798== Lock acquired, processing the job... [2025-03-20 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:51:02] Production.INFO: ==28798== Releasing lock... [2025-03-20 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:51:03] Production.INFO: ==28805== Lock acquired, processing the job... [2025-03-20 01:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:51:03] Production.INFO: ==28809== Lock acquired, processing the job... [2025-03-20 01:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:51:03] Production.INFO: ==28801== Lock acquired, processing the job... [2025-03-20 01:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:51:03] Production.INFO: ==28803== Lock acquired, processing the job... [2025-03-20 01:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:51:03] Production.INFO: ==28807== Lock acquired, processing the job... [2025-03-20 01:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:51:03] Production.INFO: ==28811== Lock acquired, processing the job... [2025-03-20 01:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:51:03] Production.ERROR: done [2025-03-20 01:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:51:03] Production.INFO: Account Balance Start. [2025-03-20 01:51:03] Production.INFO: CreateAllLog Start [2025-03-20 01:51:03] Production.INFO: 117 [2025-03-20 01:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 01:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:03] Production.INFO: count ==12 [2025-03-20 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-03-20 01:51:03] Production.INFO: count ==23 [2025-03-20 01:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719589') start [2025-03-20 01:51:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719589') end [2025-03-20 01:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:51:04] Production.INFO: 1 [2025-03-20 01:51:04] Production.ERROR: done [2025-03-20 01:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:51:04] Production.INFO: ==28803== Releasing lock... [2025-03-20 01:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:04] Production.INFO: ==28811== Releasing lock... [2025-03-20 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:51:04] Production.INFO: Total Charge 0 [2025-03-20 01:51:04] Production.INFO: CreateAllLog End [2025-03-20 01:51:04] Production.INFO: Account Balance End. [2025-03-20 01:51:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:51:04] Production.INFO: ==28807== Releasing lock... [2025-03-20 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:51:05 [end_date_ymd] => 2025-03-20 01:51:05 [RateCDR] => 1 ) [2025-03-20 01:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:51:05' and `end` < '2025-03-20 01:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:51:11] Production.ERROR: CronJobId end10 [2025-03-20 01:51:11] Production.INFO: ==28805== Releasing lock... [2025-03-20 01:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:51:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:51:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:51:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:51:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:51:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:51:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:51:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:51:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:51:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:51:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:51:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:51:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:51:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:51:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:51:14] Production.INFO: call_cost start [2025-03-20 01:51:14] Production.INFO: call_cost end [2025-03-20 01:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:51:15] Production.INFO: ==28801== Releasing lock... [2025-03-20 01:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:51:17] Production.INFO: count ==788 [2025-03-20 01:51:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:51:05 - End Time 2025-03-20 01:51:05 [2025-03-20 01:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719590', 'tblTempUsageDetail_20' ) start [2025-03-20 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719590', 'tblTempUsageDetail_20' ) end [2025-03-20 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719590', 'tblTempVendorCDR_20' ) start [2025-03-20 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719590', 'tblTempVendorCDR_20' ) end [2025-03-20 01:51:18] Production.INFO: ProcessCDR(1,14719590,1,1,2) [2025-03-20 01:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719590', 'tblTempUsageDetail_20' ) start [2025-03-20 01:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719590', 'tblTempUsageDetail_20' ) end [2025-03-20 01:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:51:21] Production.INFO: ==28809== Releasing lock... [2025-03-20 01:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:51:21] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 05:52:02] Production.INFO: ==28876== Lock acquired, processing the job... [2025-03-20 05:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:52:02] Production.INFO: neon service started [2025-03-20 05:52:02] Production.INFO: neon service started [2025-03-20 05:52:02] Production.INFO: ==28876== Releasing lock... [2025-03-20 05:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:52:02] Production.INFO: ==28880== Lock acquired, processing the job... [2025-03-20 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:52:02] Production.INFO: ==28880== Releasing lock... [2025-03-20 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:52:02] Production.INFO: ==28878== Lock acquired, processing the job... [2025-03-20 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:52:03] Production.INFO: ==28878== Releasing lock... [2025-03-20 01:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:52:03] Production.INFO: ==28882== Lock acquired, processing the job... [2025-03-20 01:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:52:03] Production.INFO: ==28886== Lock acquired, processing the job... [2025-03-20 01:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:52:03] Production.INFO: ==28888== Lock acquired, processing the job... [2025-03-20 01:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:52:03] Production.INFO: Account Balance Start. [2025-03-20 01:52:03] Production.INFO: CreateAllLog Start [2025-03-20 01:52:03] Production.INFO: 117 [2025-03-20 01:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: ==28884== Lock acquired, processing the job... [2025-03-20 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: ==28891== Lock acquired, processing the job... [2025-03-20 01:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: ==28893== Lock acquired, processing the job... [2025-03-20 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: ==28884== Releasing lock... [2025-03-20 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:52:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:52:04] Production.INFO: Total Charge 0 [2025-03-20 01:52:04] Production.INFO: CreateAllLog End [2025-03-20 01:52:04] Production.INFO: count ==12 [2025-03-20 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-03-20 01:52:04] Production.INFO: count ==23 [2025-03-20 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719594') start [2025-03-20 01:52:04] Production.ERROR: done [2025-03-20 01:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719594') end [2025-03-20 01:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:52:04] Production.INFO: 1 [2025-03-20 01:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:52:05] Production.INFO: Account Balance End. [2025-03-20 01:52:05] Production.INFO: ==28893== Releasing lock... [2025-03-20 01:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:52:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:52:05] Production.ERROR: done [2025-03-20 01:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:52:05] Production.INFO: ==28888== Releasing lock... [2025-03-20 01:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:52:06 [end_date_ymd] => 2025-03-20 01:52:06 [RateCDR] => 1 ) [2025-03-20 01:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:52:06' and `end` < '2025-03-20 01:52:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:52:13] Production.ERROR: CronJobId end10 [2025-03-20 01:52:13] Production.INFO: ==28886== Releasing lock... [2025-03-20 01:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:52:16] Production.INFO: call_cost start [2025-03-20 01:52:16] Production.INFO: call_cost end [2025-03-20 01:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:52:16] Production.INFO: ==28882== Releasing lock... [2025-03-20 01:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:52:18] Production.INFO: count ==782 [2025-03-20 01:52:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:52:06 - End Time 2025-03-20 01:52:06 [2025-03-20 01:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719595', 'tblTempUsageDetail_20' ) start [2025-03-20 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719595', 'tblTempUsageDetail_20' ) end [2025-03-20 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719595', 'tblTempVendorCDR_20' ) start [2025-03-20 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719595', 'tblTempVendorCDR_20' ) end [2025-03-20 01:52:18] Production.INFO: ProcessCDR(1,14719595,1,1,2) [2025-03-20 01:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719595', 'tblTempUsageDetail_20' ) start [2025-03-20 01:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719595', 'tblTempUsageDetail_20' ) end [2025-03-20 01:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:52:22] Production.INFO: ==28891== Releasing lock... [2025-03-20 01:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:52:22] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 05:53:01] Production.INFO: ==28964== Lock acquired, processing the job... [2025-03-20 05:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:53:01] Production.INFO: neon service started [2025-03-20 05:53:01] Production.INFO: neon service started [2025-03-20 05:53:01] Production.INFO: ==28964== Releasing lock... [2025-03-20 05:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:53:02] Production.INFO: ==28968== Lock acquired, processing the job... [2025-03-20 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:53:02] Production.INFO: ==28968== Releasing lock... [2025-03-20 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:53:02] Production.INFO: ==28966== Lock acquired, processing the job... [2025-03-20 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:53:02] Production.INFO: ==28966== Releasing lock... [2025-03-20 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:53:03] Production.INFO: ==28975== Lock acquired, processing the job... [2025-03-20 01:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:53:03] Production.INFO: ==28981== Lock acquired, processing the job... [2025-03-20 01:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:53:03] Production.INFO: ==28971== Lock acquired, processing the job... [2025-03-20 01:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:53:03] Production.INFO: count ==12 [2025-03-20 01:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:53:03] Production.INFO: count ==23 [2025-03-20 01:53:03] Production.INFO: ==28973== Lock acquired, processing the job... [2025-03-20 01:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719596') start [2025-03-20 01:53:03] Production.INFO: ==28977== Lock acquired, processing the job... [2025-03-20 01:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:53:03] Production.INFO: ==28979== Lock acquired, processing the job... [2025-03-20 01:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719596') end [2025-03-20 01:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:53:03] Production.INFO: 1 [2025-03-20 01:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:53:04] Production.INFO: Account Balance Start. [2025-03-20 01:53:04] Production.INFO: CreateAllLog Start [2025-03-20 01:53:04] Production.INFO: 117 [2025-03-20 01:53:04] Production.INFO: ==28981== Releasing lock... [2025-03-20 01:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.ERROR: done [2025-03-20 01:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:53:04] Production.INFO: ==28973== Releasing lock... [2025-03-20 01:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.ERROR: done [2025-03-20 01:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:53:04] Production.INFO: Total Charge 0 [2025-03-20 01:53:04] Production.INFO: CreateAllLog End [2025-03-20 01:53:04] Production.INFO: Account Balance End. [2025-03-20 01:53:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:53:04] Production.INFO: ==28977== Releasing lock... [2025-03-20 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:53:05 [end_date_ymd] => 2025-03-20 01:53:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:53:05' and `end` < '2025-03-20 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-03-20 01:53:11] Production.ERROR: CronJobId end10 [2025-03-20 01:53:11] Production.INFO: ==28975== Releasing lock... [2025-03-20 01:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:53:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:53:15] Production.INFO: call_cost start [2025-03-20 01:53:15] Production.INFO: call_cost end [2025-03-20 01:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:53:16] Production.INFO: ==28971== Releasing lock... [2025-03-20 01:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:53:17] Production.INFO: count ==787 [2025-03-20 01:53:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:53:05 - End Time 2025-03-20 01:53:05 [2025-03-20 01:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719600', 'tblTempUsageDetail_20' ) start [2025-03-20 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719600', 'tblTempUsageDetail_20' ) end [2025-03-20 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719600', 'tblTempVendorCDR_20' ) start [2025-03-20 01:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719600', 'tblTempVendorCDR_20' ) end [2025-03-20 01:53:18] Production.INFO: ProcessCDR(1,14719600,1,1,2) [2025-03-20 01:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719600', 'tblTempUsageDetail_20' ) start [2025-03-20 01:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719600', 'tblTempUsageDetail_20' ) end [2025-03-20 01:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:53:21] Production.INFO: ==28979== Releasing lock... [2025-03-20 01:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:53:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 05:54:02] Production.INFO: ==29048== Lock acquired, processing the job... [2025-03-20 05:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:54:02] Production.INFO: neon service started [2025-03-20 05:54:02] Production.INFO: neon service started [2025-03-20 05:54:02] Production.INFO: ==29048== Releasing lock... [2025-03-20 05:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:54:02] Production.INFO: ==29052== Lock acquired, processing the job... [2025-03-20 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:54:02] Production.INFO: ==29052== Releasing lock... [2025-03-20 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:54:02] Production.INFO: ==29050== Lock acquired, processing the job... [2025-03-20 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:54:03] Production.INFO: ==29050== Releasing lock... [2025-03-20 01:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:54:03] Production.INFO: ==29054== Lock acquired, processing the job... [2025-03-20 01:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:54:03] Production.INFO: ==29056== Lock acquired, processing the job... [2025-03-20 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:54:03] Production.INFO: ==29060== Lock acquired, processing the job... [2025-03-20 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:54:03] Production.INFO: Account Balance Start. [2025-03-20 01:54:03] Production.INFO: CreateAllLog Start [2025-03-20 01:54:03] Production.INFO: 117 [2025-03-20 01:54:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:03] Production.INFO: ==29058== Lock acquired, processing the job... [2025-03-20 01:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:54:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:54:04] Production.INFO: ==29065== Lock acquired, processing the job... [2025-03-20 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:04] Production.INFO: ==29062== Lock acquired, processing the job... [2025-03-20 01:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:04] Production.INFO: ==29056== Releasing lock... [2025-03-20 01:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:54:04] Production.INFO: count ==12 [2025-03-20 01:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:54:04] Production.INFO: count ==23 [2025-03-20 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719604') start [2025-03-20 01:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:54:04] Production.INFO: Total Charge 0 [2025-03-20 01:54:04] Production.INFO: CreateAllLog End [2025-03-20 01:54:04] Production.ERROR: done [2025-03-20 01:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719604') end [2025-03-20 01:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:54:04] Production.INFO: 1 [2025-03-20 01:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:54:04] Production.INFO: Account Balance End. [2025-03-20 01:54:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:54:04] Production.INFO: ==29060== Releasing lock... [2025-03-20 01:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:54:04] Production.INFO: ==29065== Releasing lock... [2025-03-20 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:54:04] Production.ERROR: done [2025-03-20 01:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:54:06 [end_date_ymd] => 2025-03-20 01:54:06 [RateCDR] => 1 ) [2025-03-20 01:54:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:54:06' and `end` < '2025-03-20 01:54:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:54:12] Production.ERROR: CronJobId end10 [2025-03-20 01:54:12] Production.INFO: ==29058== Releasing lock... [2025-03-20 01:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:54:14] Production.INFO: call_cost start [2025-03-20 01:54:14] Production.INFO: call_cost end [2025-03-20 01:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:54:15] Production.INFO: ==29054== Releasing lock... [2025-03-20 01:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:54:18] Production.INFO: count ==793 [2025-03-20 01:54:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:54:06 - End Time 2025-03-20 01:54:06 [2025-03-20 01:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719605', 'tblTempUsageDetail_20' ) start [2025-03-20 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719605', 'tblTempUsageDetail_20' ) end [2025-03-20 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719605', 'tblTempVendorCDR_20' ) start [2025-03-20 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719605', 'tblTempVendorCDR_20' ) end [2025-03-20 01:54:18] Production.INFO: ProcessCDR(1,14719605,1,1,2) [2025-03-20 01:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719605', 'tblTempUsageDetail_20' ) start [2025-03-20 01:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719605', 'tblTempUsageDetail_20' ) end [2025-03-20 01:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:54:22] Production.INFO: ==29062== Releasing lock... [2025-03-20 01:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:54:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:55:01] Production.INFO: ==29129== Lock acquired, processing the job... [2025-03-20 05:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:55:01] Production.INFO: neon service started [2025-03-20 05:55:01] Production.INFO: neon service started [2025-03-20 05:55:01] Production.INFO: ==29129== Releasing lock... [2025-03-20 05:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:55:02] Production.INFO: ==29133== Lock acquired, processing the job... [2025-03-20 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:55:02] Production.INFO: ==29131== Lock acquired, processing the job... [2025-03-20 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:55:02] Production.INFO: ==29133== Releasing lock... [2025-03-20 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:55:02] Production.INFO: ==29131== Releasing lock... [2025-03-20 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:55:03] Production.INFO: ==29136== Lock acquired, processing the job... [2025-03-20 01:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:55:03] Production.INFO: ==29138== Lock acquired, processing the job... [2025-03-20 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:55:03] Production.INFO: ==29144== Lock acquired, processing the job... [2025-03-20 01:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:55:03] Production.INFO: ==29140== Lock acquired, processing the job... [2025-03-20 01:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:55:03] Production.INFO: ==29138== Releasing lock... [2025-03-20 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:55:03] Production.INFO: ==29142== Lock acquired, processing the job... [2025-03-20 01:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:55:03] Production.INFO: ==29146== Lock acquired, processing the job... [2025-03-20 01:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:55:03] Production.INFO: Account Balance Start. [2025-03-20 01:55:03] Production.INFO: CreateAllLog Start [2025-03-20 01:55:03] Production.INFO: 117 [2025-03-20 01:55:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.ERROR: done [2025-03-20 01:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:55:04] Production.INFO: count ==12 [2025-03-20 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-03-20 01:55:04] Production.INFO: count ==23 [2025-03-20 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719609') start [2025-03-20 01:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.ERROR: done [2025-03-20 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719609') end [2025-03-20 01:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:55:04] Production.INFO: 1 [2025-03-20 01:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.INFO: ==29146== Releasing lock... [2025-03-20 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:55:04] Production.INFO: Total Charge 0 [2025-03-20 01:55:04] Production.INFO: CreateAllLog End [2025-03-20 01:55:04] Production.INFO: Account Balance End. [2025-03-20 01:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 01:55:05] Production.INFO: ==29142== Releasing lock... [2025-03-20 01:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:55:05 [end_date_ymd] => 2025-03-20 01:55:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:55:05' and `end` < '2025-03-20 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-03-20 01:55:12] Production.ERROR: CronJobId end10 [2025-03-20 01:55:12] Production.INFO: ==29140== Releasing lock... [2025-03-20 01:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:55:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:55:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:55:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:55:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:55:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:55:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:55:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:55:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:55:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:55:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:55:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:55:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:55:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:55:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:55:14] Production.INFO: call_cost start [2025-03-20 01:55:14] Production.INFO: call_cost end [2025-03-20 01:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:55:15] Production.INFO: ==29136== Releasing lock... [2025-03-20 01:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:55:17] Production.INFO: count ==805 [2025-03-20 01:55:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:55:05 - End Time 2025-03-20 01:55:05 [2025-03-20 01:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719610', 'tblTempUsageDetail_20' ) start [2025-03-20 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719610', 'tblTempUsageDetail_20' ) end [2025-03-20 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719610', 'tblTempVendorCDR_20' ) start [2025-03-20 01:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719610', 'tblTempVendorCDR_20' ) end [2025-03-20 01:55:18] Production.INFO: ProcessCDR(1,14719610,1,1,2) [2025-03-20 01:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719610', 'tblTempUsageDetail_20' ) start [2025-03-20 01:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719610', 'tblTempUsageDetail_20' ) end [2025-03-20 01:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:55:21] Production.INFO: ==29144== Releasing lock... [2025-03-20 01:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:55:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:56:01] Production.INFO: ==29215== Lock acquired, processing the job... [2025-03-20 05:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:56:02] Production.INFO: neon service started [2025-03-20 05:56:02] Production.INFO: neon service started [2025-03-20 05:56:02] Production.INFO: ==29215== Releasing lock... [2025-03-20 05:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:56:02] Production.INFO: ==29217== Lock acquired, processing the job... [2025-03-20 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:56:02] Production.INFO: ==29217== Releasing lock... [2025-03-20 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:56:02] Production.INFO: ==29219== Lock acquired, processing the job... [2025-03-20 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:56:02] Production.INFO: ==29219== Releasing lock... [2025-03-20 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:56:03] Production.INFO: ==29221== Lock acquired, processing the job... [2025-03-20 01:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:56:03] Production.INFO: ==29223== Lock acquired, processing the job... [2025-03-20 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:56:03] Production.INFO: ==29225== Lock acquired, processing the job... [2025-03-20 01:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:56:03] Production.INFO: ==29227== Lock acquired, processing the job... [2025-03-20 01:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:56:03] Production.INFO: ==29231== Lock acquired, processing the job... [2025-03-20 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:56:03] Production.INFO: Account Balance Start. [2025-03-20 01:56:03] Production.INFO: CreateAllLog Start [2025-03-20 01:56:03] Production.INFO: 117 [2025-03-20 01:56:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:03] Production.INFO: ==29229== Lock acquired, processing the job... [2025-03-20 01:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:56:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:56:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:03] Production.INFO: count ==12 [2025-03-20 01:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:56:04] Production.INFO: count ==23 [2025-03-20 01:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719614') start [2025-03-20 01:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 01:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:04] Production.INFO: ==29223== Releasing lock... [2025-03-20 01:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 01:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719614') end [2025-03-20 01:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:56:04] Production.INFO: 1 [2025-03-20 01:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:04] Production.INFO: ==29231== Releasing lock... [2025-03-20 01:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:04] Production.ERROR: done [2025-03-20 01:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 01:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:56:04] Production.INFO: Total Charge 0 [2025-03-20 01:56:04] Production.INFO: CreateAllLog End [2025-03-20 01:56:04] Production.ERROR: done [2025-03-20 01:56:04] Production.INFO: Account Balance End. [2025-03-20 01:56:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:56:04] Production.INFO: ==29227== Releasing lock... [2025-03-20 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:56:05 [end_date_ymd] => 2025-03-20 01:56:05 [RateCDR] => 1 ) [2025-03-20 01:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 22:56:05' and `end` < '2025-03-20 01:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 01:56:12] Production.ERROR: CronJobId end10 [2025-03-20 01:56:12] Production.INFO: ==29225== Releasing lock... [2025-03-20 01:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:56:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:56:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:56:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:56:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:56:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:56:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:56:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:56:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:56:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:56:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:56:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:56:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:56:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:56:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:56:15] Production.INFO: call_cost start [2025-03-20 01:56:15] Production.INFO: call_cost end [2025-03-20 01:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:56:16] Production.INFO: ==29221== Releasing lock... [2025-03-20 01:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:56:17] Production.INFO: count ==811 [2025-03-20 01:56:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:56:05 - End Time 2025-03-20 01:56:05 [2025-03-20 01:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719615', 'tblTempUsageDetail_20' ) start [2025-03-20 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719615', 'tblTempUsageDetail_20' ) end [2025-03-20 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719615', 'tblTempVendorCDR_20' ) start [2025-03-20 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719615', 'tblTempVendorCDR_20' ) end [2025-03-20 01:56:18] Production.INFO: ProcessCDR(1,14719615,1,1,2) [2025-03-20 01:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719615', 'tblTempUsageDetail_20' ) start [2025-03-20 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719615', 'tblTempUsageDetail_20' ) end [2025-03-20 01:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:56:21] Production.INFO: ==29229== Releasing lock... [2025-03-20 01:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:56:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:57:01] Production.INFO: ==29297== Lock acquired, processing the job... [2025-03-20 05:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:57:01] Production.INFO: neon service started [2025-03-20 05:57:01] Production.INFO: neon service started [2025-03-20 05:57:01] Production.INFO: ==29297== Releasing lock... [2025-03-20 05:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:57:01] Production.INFO: ==29299== Lock acquired, processing the job... [2025-03-20 01:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:57:02] Production.INFO: ==29299== Releasing lock... [2025-03-20 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:57:02] Production.INFO: ==29301== Lock acquired, processing the job... [2025-03-20 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:57:02] Production.INFO: ==29301== Releasing lock... [2025-03-20 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:57:02] Production.INFO: ==29305== Lock acquired, processing the job... [2025-03-20 01:57:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:57:02] Production.INFO: ==29303== Lock acquired, processing the job... [2025-03-20 01:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:57:03] Production.INFO: ==29309== Lock acquired, processing the job... [2025-03-20 01:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:57:03] Production.INFO: ==29305== Releasing lock... [2025-03-20 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:57:03] Production.INFO: Account Balance Start. [2025-03-20 01:57:03] Production.INFO: CreateAllLog Start [2025-03-20 01:57:03] Production.INFO: 117 [2025-03-20 01:57:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:03] Production.INFO: ==29307== Lock acquired, processing the job... [2025-03-20 01:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:57:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:57:03] Production.INFO: ==29311== Lock acquired, processing the job... [2025-03-20 01:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:57:03] Production.INFO: ==29313== Lock acquired, processing the job... [2025-03-20 01:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:57:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 01:57:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:03] Production.INFO: Date 2025-03-15 [2025-03-20 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:03] Production.INFO: count ==12 [2025-03-20 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-03-20 01:57:03] Production.INFO: count ==23 [2025-03-20 01:57:03] Production.ERROR: done [2025-03-20 01:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:57:03] Production.INFO: Date 2025-03-16 [2025-03-20 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:03] Production.INFO: Date 2025-03-17 [2025-03-20 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719619') start [2025-03-20 01:57:03] Production.INFO: Date 2025-03-18 [2025-03-20 01:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719619') end [2025-03-20 01:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:57:04] Production.INFO: 1 [2025-03-20 01:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:57:04] Production.ERROR: done [2025-03-20 01:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:04] Production.INFO: ==29313== Releasing lock... [2025-03-20 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:57:04] Production.INFO: Total Charge 0 [2025-03-20 01:57:04] Production.INFO: CreateAllLog End [2025-03-20 01:57:04] Production.INFO: Account Balance End. [2025-03-20 01:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:57:04] Production.INFO: ==29309== Releasing lock... [2025-03-20 01:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:57:05 [end_date_ymd] => 2025-03-20 01:57:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:57:05' and `end` < '2025-03-20 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-03-20 01:57:11] Production.ERROR: CronJobId end10 [2025-03-20 01:57:11] Production.INFO: ==29307== Releasing lock... [2025-03-20 01:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:57:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:57:12] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:57:12] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:57:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:57:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:57:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:57:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:57:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:57:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:57:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:57:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:57:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:57:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:57:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:57:12] Production.INFO: call_cost start [2025-03-20 01:57:12] Production.INFO: call_cost end [2025-03-20 01:57:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:57:13] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:57:13] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:57:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:57:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:57:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:57:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:57:13] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:57:13] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:57:13] Production.INFO: ==29303== Releasing lock... [2025-03-20 01:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:57:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:57:17] Production.INFO: count ==829 [2025-03-20 01:57:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:57:05 - End Time 2025-03-20 01:57:05 [2025-03-20 01:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719620', 'tblTempUsageDetail_20' ) start [2025-03-20 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719620', 'tblTempUsageDetail_20' ) end [2025-03-20 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719620', 'tblTempVendorCDR_20' ) start [2025-03-20 01:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719620', 'tblTempVendorCDR_20' ) end [2025-03-20 01:57:17] Production.INFO: ProcessCDR(1,14719620,1,1,2) [2025-03-20 01:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719620', 'tblTempUsageDetail_20' ) start [2025-03-20 01:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719620', 'tblTempUsageDetail_20' ) end [2025-03-20 01:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:57:21] Production.INFO: ==29311== Releasing lock... [2025-03-20 01:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:57:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 05:58:01] Production.INFO: ==29379== Lock acquired, processing the job... [2025-03-20 05:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:58:01] Production.INFO: neon service started [2025-03-20 05:58:01] Production.INFO: neon service started [2025-03-20 05:58:01] Production.INFO: ==29379== Releasing lock... [2025-03-20 05:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:58:02] Production.INFO: ==29383== Lock acquired, processing the job... [2025-03-20 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:58:02] Production.INFO: ==29383== Releasing lock... [2025-03-20 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:58:02] Production.INFO: ==29381== Lock acquired, processing the job... [2025-03-20 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 01:58:02] Production.INFO: ==29381== Releasing lock... [2025-03-20 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 01:58:03] Production.INFO: ==29390== Lock acquired, processing the job... [2025-03-20 01:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:58:03] Production.INFO: ==29392== Lock acquired, processing the job... [2025-03-20 01:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:58:03] Production.INFO: ==29394== Lock acquired, processing the job... [2025-03-20 01:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:58:03] Production.INFO: Account Balance Start. [2025-03-20 01:58:03] Production.INFO: CreateAllLog Start [2025-03-20 01:58:03] Production.INFO: 117 [2025-03-20 01:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:58:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:03] Production.INFO: ==29386== Lock acquired, processing the job... [2025-03-20 01:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:58:03] Production.INFO: ==29388== Lock acquired, processing the job... [2025-03-20 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:58:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:03] Production.INFO: ==29396== Lock acquired, processing the job... [2025-03-20 01:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:58:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 01:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 01:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:04] Production.ERROR: done [2025-03-20 01:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 01:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 01:58:04] Production.INFO: count ==12 [2025-03-20 01:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 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-03-20 01:58:04] Production.INFO: count ==23 [2025-03-20 01:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719624') start [2025-03-20 01:58:04] Production.ERROR: done [2025-03-20 01:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 01:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719624') end [2025-03-20 01:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:58:04] Production.INFO: 1 [2025-03-20 01:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 01:58:04] Production.INFO: ==29396== Releasing lock... [2025-03-20 01:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:58:04] Production.INFO: ==29388== Releasing lock... [2025-03-20 01:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 01:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 01:58:04] Production.INFO: Total Charge 0 [2025-03-20 01:58:04] Production.INFO: CreateAllLog End [2025-03-20 01:58:04] Production.INFO: Account Balance End. [2025-03-20 01:58:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:58:04] Production.INFO: ==29392== Releasing lock... [2025-03-20 01:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:58:05 [end_date_ymd] => 2025-03-20 01:58:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:58:05' and `end` < '2025-03-20 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-03-20 01:58:12] Production.ERROR: CronJobId end10 [2025-03-20 01:58:12] Production.INFO: ==29390== Releasing lock... [2025-03-20 01:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:58:14] Production.INFO: call_cost start [2025-03-20 01:58:14] Production.INFO: call_cost end [2025-03-20 01:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:58:15] Production.INFO: ==29386== Releasing lock... [2025-03-20 01:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:58:17] Production.INFO: count ==847 [2025-03-20 01:58:18] Production.ERROR: pbx CDR StartTime 2025-03-19 22:58:05 - End Time 2025-03-20 01:58:05 [2025-03-20 01:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719625', 'tblTempUsageDetail_20' ) start [2025-03-20 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719625', 'tblTempUsageDetail_20' ) end [2025-03-20 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719625', 'tblTempVendorCDR_20' ) start [2025-03-20 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719625', 'tblTempVendorCDR_20' ) end [2025-03-20 01:58:18] Production.INFO: ProcessCDR(1,14719625,1,1,2) [2025-03-20 01:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719625', 'tblTempUsageDetail_20' ) start [2025-03-20 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719625', 'tblTempUsageDetail_20' ) end [2025-03-20 01:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:58:21] Production.INFO: ==29394== Releasing lock... [2025-03-20 01:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:58:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 05:59:01] Production.INFO: ==29503== Lock acquired, processing the job... [2025-03-20 05:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 05:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 05:59:01] Production.INFO: neon service started [2025-03-20 05:59:01] Production.INFO: neon service started [2025-03-20 05:59:01] Production.INFO: ==29503== Releasing lock... [2025-03-20 05:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 05:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 01:59:01] Production.INFO: ==29505== Lock acquired, processing the job... [2025-03-20 01:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:59:02] Production.INFO: ==29507== Lock acquired, processing the job... [2025-03-20 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 01:59:02] Production.INFO: ==29505== Releasing lock... [2025-03-20 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 01:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:59:02] Production.INFO: ==29507== Releasing lock... [2025-03-20 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 05:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 01:59:02] Production.INFO: ==29509== Lock acquired, processing the job... [2025-03-20 01:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 01:59:02] Production.INFO: ==29511== Lock acquired, processing the job... [2025-03-20 01:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 01:59:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 01:59:03] Production.INFO: ==29520== Lock acquired, processing the job... [2025-03-20 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 01:59:03] Production.INFO: ==29513== Lock acquired, processing the job... [2025-03-20 01:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 01:59:03] Production.INFO: ==29511== Releasing lock... [2025-03-20 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 01:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 01:59:03] Production.INFO: ==29515== Lock acquired, processing the job... [2025-03-20 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 01:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:59:03] Production.INFO: count ==12 [2025-03-20 01:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 01:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 01:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 01:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 01:59:03] Production.INFO: count ==23 [2025-03-20 01:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 01:59:03] Production.INFO: ==29518== Lock acquired, processing the job... [2025-03-20 01:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 01:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719628') start [2025-03-20 01:59:03] Production.INFO: Account Balance Start. [2025-03-20 01:59:03] Production.INFO: CreateAllLog Start [2025-03-20 01:59:03] Production.INFO: 117 [2025-03-20 01:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 01:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719628') end [2025-03-20 01:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 01:59:03] Production.INFO: 1 [2025-03-20 01:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 01:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.INFO: Date 2025-03-10 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.INFO: ==29520== Releasing lock... [2025-03-20 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 01:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 01:59:03] Production.INFO: Date 2025-03-11 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.INFO: Date 2025-03-12 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.INFO: Date 2025-03-13 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.INFO: Date 2025-03-14 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.ERROR: done [2025-03-20 01:59:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 01:59:03] Production.INFO: Date 2025-03-15 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.INFO: Date 2025-03-16 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.INFO: Date 2025-03-17 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.ERROR: done [2025-03-20 01:59:03] Production.INFO: Date 2025-03-18 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.INFO: Date 2025-03-19 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.INFO: Date 2025-03-20 [2025-03-20 01:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 01:59:03] Production.INFO: Total Charge 0 [2025-03-20 01:59:03] Production.INFO: CreateAllLog End [2025-03-20 01:59:04] Production.INFO: Account Balance End. [2025-03-20 01:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 01:59:04] Production.INFO: ==29515== Releasing lock... [2025-03-20 01:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 01:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 01:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 22:59:05 [end_date_ymd] => 2025-03-20 01:59:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 22:59:05' and `end` < '2025-03-20 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-03-20 01:59:12] Production.ERROR: CronJobId end10 [2025-03-20 01:59:12] Production.INFO: ==29513== Releasing lock... [2025-03-20 01:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 01:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 01:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 01:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 01:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 01:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 01:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 01:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 01:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 01:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 01:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 01:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 01:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 01:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 01:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 01:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 01:59:14] Production.INFO: call_cost start [2025-03-20 01:59:14] Production.INFO: call_cost end [2025-03-20 01:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 01:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 01:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 01:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 01:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 01:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 01:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 01:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 01:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 01:59:15] Production.INFO: ==29509== Releasing lock... [2025-03-20 01:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 01:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 01:59:17] Production.INFO: count ==847 [2025-03-20 01:59:17] Production.ERROR: pbx CDR StartTime 2025-03-19 22:59:05 - End Time 2025-03-20 01:59:05 [2025-03-20 01:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 01:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719630', 'tblTempUsageDetail_20' ) start [2025-03-20 01:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719630', 'tblTempUsageDetail_20' ) end [2025-03-20 01:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719630', 'tblTempVendorCDR_20' ) start [2025-03-20 01:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719630', 'tblTempVendorCDR_20' ) end [2025-03-20 01:59:17] Production.INFO: ProcessCDR(1,14719630,1,1,2) [2025-03-20 01:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 01:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 01:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719630', 'tblTempUsageDetail_20' ) start [2025-03-20 01:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719630', 'tblTempUsageDetail_20' ) end [2025-03-20 01:59:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 01:59:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 01:59:20] Production.INFO: ==29518== Releasing lock... [2025-03-20 01:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 01:59:20] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 06:00:01] Production.INFO: ==29592== Lock acquired, processing the job... [2025-03-20 06:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:00:01] Production.INFO: neon service started [2025-03-20 06:00:01] Production.INFO: neon service started [2025-03-20 06:00:01] Production.INFO: ==29592== Releasing lock... [2025-03-20 06:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:00:02] Production.INFO: ==29596== Lock acquired, processing the job... [2025-03-20 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:00:02] Production.INFO: ==29596== Releasing lock... [2025-03-20 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:00:02] Production.INFO: ==29594== Lock acquired, processing the job... [2025-03-20 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:00:02] Production.INFO: ==29594== Releasing lock... [2025-03-20 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:00:03] Production.INFO: ==29599== Lock acquired, processing the job... [2025-03-20 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 02:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 02:00:03] Production.INFO: ==29601== Lock acquired, processing the job... [2025-03-20 02:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 02:00:03] Production.INFO: ==29599== Releasing lock... [2025-03-20 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 02:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 02:00:03] Production.INFO: ==29605== Lock acquired, processing the job... [2025-03-20 02:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:00:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:00:04] Production.INFO: ==29611== Lock acquired, processing the job... [2025-03-20 02:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 02:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:00:04] Production.INFO: ==29603== Lock acquired, processing the job... [2025-03-20 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:00:04] Production.INFO: ==29607== Lock acquired, processing the job... [2025-03-20 02:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:00:04] Production.INFO: ==29609== Lock acquired, processing the job... [2025-03-20 02:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:00:04] Production.INFO: ==29613== Lock acquired, processing the job... [2025-03-20 02:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:00:04] Production.INFO: Account Balance Start. [2025-03-20 02:00:04] Production.INFO: CreateAllLog Start [2025-03-20 02:00:04] Production.INFO: 117 [2025-03-20 02:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:04] Production.INFO: ==29603== Releasing lock... [2025-03-20 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:04] Production.ERROR: done [2025-03-20 02:00:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 02:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719635', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 02:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:00:04] Production.INFO: count ==12 [2025-03-20 02:00:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:00:04] Production.INFO: count ==23 [2025-03-20 02:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719634') start [2025-03-20 02:00:05] Production.ERROR: done [2025-03-20 02:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:00:05] Production.INFO: Date 2025-03-13 [2025-03-20 02:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719634') end [2025-03-20 02:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:00:05] Production.INFO: 1 [2025-03-20 02:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:00:05] Production.INFO: Date 2025-03-14 [2025-03-20 02:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 02:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 02:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 02:00:05] Production.INFO: ==29613== Releasing lock... [2025-03-20 02:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:05] Production.ERROR: done [2025-03-20 02:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:00:05] Production.INFO: Total Charge 0 [2025-03-20 02:00:05] Production.INFO: CreateAllLog End [2025-03-20 02:00:05] Production.INFO: Account Balance End. [2025-03-20 02:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:00:05] Production.INFO: ==29607== Releasing lock... [2025-03-20 02:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:00:06 [end_date_ymd] => 2025-03-20 02:00:06 [RateCDR] => 1 ) [2025-03-20 02:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:00:06' and `end` < '2025-03-20 02:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719635', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 02:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 02:00:09] Production.INFO: ProcessCDR(1,14719635,1,1,2) [2025-03-20 02:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719635,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719635,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:00:09] Production.INFO: ==29611== Releasing lock... [2025-03-20 02:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 02:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 02:00:15] Production.ERROR: CronJobId end10 [2025-03-20 02:00:15] Production.INFO: ==29605== Releasing lock... [2025-03-20 02:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:00:16] Production.INFO: call_cost start [2025-03-20 02:00:16] Production.INFO: call_cost end [2025-03-20 02:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:00:17] Production.INFO: ==29601== Releasing lock... [2025-03-20 02:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:00:19] Production.INFO: count ==865 [2025-03-20 02:00:19] Production.ERROR: pbx CDR StartTime 2025-03-19 23:00:06 - End Time 2025-03-20 02:00:06 [2025-03-20 02:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719636', 'tblTempUsageDetail_20' ) start [2025-03-20 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719636', 'tblTempUsageDetail_20' ) end [2025-03-20 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719636', 'tblTempVendorCDR_20' ) start [2025-03-20 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719636', 'tblTempVendorCDR_20' ) end [2025-03-20 02:00:19] Production.INFO: ProcessCDR(1,14719636,1,1,2) [2025-03-20 02:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719636', 'tblTempUsageDetail_20' ) start [2025-03-20 02:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719636', 'tblTempUsageDetail_20' ) end [2025-03-20 02:00:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:00:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:00:22] Production.INFO: ==29609== Releasing lock... [2025-03-20 02:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:00:22] Production.INFO: 35.25 MB #Memory Used# [2025-03-20 06:01:02] Production.INFO: ==29679== Lock acquired, processing the job... [2025-03-20 06:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:01:02] Production.INFO: neon service started [2025-03-20 06:01:02] Production.INFO: neon service started [2025-03-20 06:01:02] Production.INFO: ==29679== Releasing lock... [2025-03-20 06:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:01:02] Production.INFO: ==29695== Lock acquired, processing the job... [2025-03-20 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:01:03] Production.INFO: ==29697== Lock acquired, processing the job... [2025-03-20 06:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:01:03] Production.INFO: ==29695== Releasing lock... [2025-03-20 02:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:01:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:01:03] Production.INFO: ==29697== Releasing lock... [2025-03-20 06:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:01:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:01:04] Production.INFO: ==29699== Lock acquired, processing the job... [2025-03-20 02:01:04] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Starts# [2025-03-20 02:01:04] Production.INFO: ==29701== Lock acquired, processing the job... [2025-03-20 02:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:01:04] Production.INFO: ==29703== Lock acquired, processing the job... [2025-03-20 02:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:01:04] Production.INFO: ==29707== Lock acquired, processing the job... [2025-03-20 02:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:01:04] Production.INFO: ==29709== Lock acquired, processing the job... [2025-03-20 02:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:01:04] Production.INFO: ==29713== Lock acquired, processing the job... [2025-03-20 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:01:04] Production.INFO: ==29711== Lock acquired, processing the job... [2025-03-20 02:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:01:04] Production.INFO: Account Balance Start. [2025-03-20 02:01:04] Production.INFO: CreateAllLog Start [2025-03-20 02:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:01:04] Production.INFO: 117 [2025-03-20 02:01:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:01:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:01:04] Production.INFO: count ==12 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:01:04] Production.INFO: count ==23 [2025-03-20 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719640') start [2025-03-20 02:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.INFO: ==29703== Releasing lock... [2025-03-20 02:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719640') end [2025-03-20 02:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:01:04] Production.INFO: 1 [2025-03-20 02:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.INFO: ==29713== Releasing lock... [2025-03-20 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.ERROR: done [2025-03-20 02:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:01:05] Production.INFO: Total Charge 0 [2025-03-20 02:01:05] Production.INFO: CreateAllLog End [2025-03-20 02:01:05] Production.ERROR: done [2025-03-20 02:01:05] Production.INFO: Account Balance End. [2025-03-20 02:01:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:01:05] Production.INFO: ==29709== Releasing lock... [2025-03-20 02:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:01:05] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}' [2025-03-20 02:01:05] Production.INFO: output Filesystem Size Used Avail Use% Mounted devtmpfs 15G 4.0K 15G 1% /dev tmpfs 15G 0 15G 0% /dev/shm tmpfs 15G 1.5G 13G 11% /run tmpfs 15G 0 15G 0% /sys/fs/cgroup /dev/sda1 50G 36G 15G 71% / /dev/loop0 64M 64M 0 100% /var/lib/snapd/snap/core20/2379 /dev/loop4 104M 104M 0 100% /var/lib/snapd/snap/core/16928 /dev/loop5 105M 105M 0 100% /var/lib/snapd/snap/core/17200 /dev/sdb1 79G 26G 50G 34% /mysql /dev/loop6 64M 64M 0 100% /var/lib/snapd/snap/core20/2434 /dev/loop7 67M 67M 0 100% /var/lib/snapd/snap/core24/716 /dev/loop8 56M 56M 0 100% /var/lib/snapd/snap/certbot/4412 /dev/loop3 67M 67M 0 100% /var/lib/snapd/snap/core24/739 /dev/loop1 56M 56M 0 100% /var/lib/snapd/snap/certbot/4482 tmpfs 2.9G 0 2.9G 0% /run/user/0 [2025-03-20 02:01:05] Production.INFO: Delete Storage Log Start [2025-03-20 02:01:05] Production.INFO: Front End Delete Storage Log Start [2025-03-20 02:01:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:01:06 [end_date_ymd] => 2025-03-20 02:01:06 [RateCDR] => 1 ) [2025-03-20 02:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:01:06' and `end` < '2025-03-20 02:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:01:06] Production.INFO: find /var/www/html/onswitch.neon/app/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \; [2025-03-20 02:01:06] Production.INFO: Front End Delete Storage Log End [2025-03-20 02:01:06] Production.INFO: Back End(Service) Delete Storage Log Start [2025-03-20 02:01:07] Production.INFO: find /var/www/html/onswitch.neon.service/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \; [2025-03-20 02:01:07] Production.INFO: Back End(Service) Delete Storage Log End [2025-03-20 02:01:07] Production.INFO: Delete Storage Log End [2025-03-20 02:01:07] Production.INFO: Delete Temp Files Start [2025-03-20 02:01:07] Production.INFO: find /var/www/tmp* -maxdepth 1 -mtime +3 -type f -exec rm {} \; [2025-03-20 02:01:07] Production.INFO: Delete Temp Files End [2025-03-20 02:01:07] Production.INFO: Delete CDR File Start [2025-03-20 02:01:07] Production.INFO: Delete CDR File End [2025-03-20 02:01:08] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}' [2025-03-20 02:01:08] Production.INFO: output Filesystem Size Used Avail Use% Mounted devtmpfs 15G 4.0K 15G 1% /dev tmpfs 15G 0 15G 0% /dev/shm tmpfs 15G 1.5G 13G 11% /run tmpfs 15G 0 15G 0% /sys/fs/cgroup /dev/sda1 50G 36G 15G 71% / /dev/loop0 64M 64M 0 100% /var/lib/snapd/snap/core20/2379 /dev/loop4 104M 104M 0 100% /var/lib/snapd/snap/core/16928 /dev/loop5 105M 105M 0 100% /var/lib/snapd/snap/core/17200 /dev/sdb1 79G 26G 50G 34% /mysql /dev/loop6 64M 64M 0 100% /var/lib/snapd/snap/core20/2434 /dev/loop7 67M 67M 0 100% /var/lib/snapd/snap/core24/716 /dev/loop8 56M 56M 0 100% /var/lib/snapd/snap/certbot/4412 /dev/loop3 67M 67M 0 100% /var/lib/snapd/snap/core24/739 /dev/loop1 56M 56M 0 100% /var/lib/snapd/snap/certbot/4482 tmpfs 2.9G 0 2.9G 0% /run/user/0 [2025-03-20 02:01:08] Production.ERROR: CronJobId end 4 [2025-03-20 02:01:08] Production.INFO: ==29699== Releasing lock... [2025-03-20 02:01:08] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Stops# [2025-03-20 02:01:08] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 02:01:15] Production.ERROR: CronJobId end10 [2025-03-20 02:01:15] Production.INFO: ==29707== Releasing lock... [2025-03-20 02:01:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:01:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:01:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:01:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:01:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:01:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:01:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:01:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:01:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:01:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:01:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:01:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:01:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:01:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:01:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:01:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:01:16] Production.INFO: call_cost start [2025-03-20 02:01:16] Production.INFO: call_cost end [2025-03-20 02:01:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:01:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:01:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:01:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:01:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:01:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:01:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:01:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:01:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:01:17] Production.INFO: ==29701== Releasing lock... [2025-03-20 02:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:01:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:01:18] Production.INFO: count ==879 [2025-03-20 02:01:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:01:06 - End Time 2025-03-20 02:01:06 [2025-03-20 02:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719641', 'tblTempUsageDetail_20' ) start [2025-03-20 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719641', 'tblTempUsageDetail_20' ) end [2025-03-20 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719641', 'tblTempVendorCDR_20' ) start [2025-03-20 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719641', 'tblTempVendorCDR_20' ) end [2025-03-20 02:01:18] Production.INFO: ProcessCDR(1,14719641,1,1,2) [2025-03-20 02:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719641', 'tblTempUsageDetail_20' ) start [2025-03-20 02:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719641', 'tblTempUsageDetail_20' ) end [2025-03-20 02:01:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:01:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:01:22] Production.INFO: ==29711== Releasing lock... [2025-03-20 02:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:01:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:02:01] Production.INFO: ==29871== Lock acquired, processing the job... [2025-03-20 06:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:02:01] Production.INFO: neon service started [2025-03-20 06:02:01] Production.INFO: neon service started [2025-03-20 06:02:01] Production.INFO: ==29871== Releasing lock... [2025-03-20 06:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:02:02] Production.INFO: ==29875== Lock acquired, processing the job... [2025-03-20 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:02:02] Production.INFO: ==29875== Releasing lock... [2025-03-20 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:02:02] Production.INFO: ==29873== Lock acquired, processing the job... [2025-03-20 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:02:02] Production.INFO: ==29873== Releasing lock... [2025-03-20 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:02:03] Production.INFO: ==29878== Lock acquired, processing the job... [2025-03-20 02:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:02:03] Production.INFO: ==29882== Lock acquired, processing the job... [2025-03-20 02:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:02:03] Production.INFO: ==29884== Lock acquired, processing the job... [2025-03-20 02:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:02:03] Production.INFO: ==29880== Lock acquired, processing the job... [2025-03-20 02:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:02:03] Production.INFO: Account Balance Start. [2025-03-20 02:02:03] Production.INFO: CreateAllLog Start [2025-03-20 02:02:03] Production.INFO: 117 [2025-03-20 02:02:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:03] Production.INFO: ==29886== Lock acquired, processing the job... [2025-03-20 02:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:02:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:03] Production.INFO: ==29888== Lock acquired, processing the job... [2025-03-20 02:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:02:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:02:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:03] Production.INFO: Date 2025-03-14 [2025-03-20 02:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:02:03] Production.INFO: Date 2025-03-15 [2025-03-20 02:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:04] Production.INFO: count ==12 [2025-03-20 02:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:02:04] Production.INFO: count ==23 [2025-03-20 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719645') start [2025-03-20 02:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:04] Production.INFO: ==29880== Releasing lock... [2025-03-20 02:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719645') end [2025-03-20 02:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:02:04] Production.INFO: 1 [2025-03-20 02:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:02:04] Production.INFO: ==29888== Releasing lock... [2025-03-20 02:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:02:04] Production.INFO: Total Charge 0 [2025-03-20 02:02:04] Production.ERROR: done [2025-03-20 02:02:04] Production.INFO: CreateAllLog End [2025-03-20 02:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:02:04] Production.ERROR: done [2025-03-20 02:02:04] Production.INFO: Account Balance End. [2025-03-20 02:02:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:02:04] Production.INFO: ==29884== Releasing lock... [2025-03-20 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:02:05 [end_date_ymd] => 2025-03-20 02:02:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:02:05' and `end` < '2025-03-20 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-03-20 02:02:11] Production.ERROR: CronJobId end10 [2025-03-20 02:02:11] Production.INFO: ==29882== Releasing lock... [2025-03-20 02:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:02:14] Production.INFO: call_cost start [2025-03-20 02:02:14] Production.INFO: call_cost end [2025-03-20 02:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:02:15] Production.INFO: ==29878== Releasing lock... [2025-03-20 02:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:02:17] Production.INFO: count ==893 [2025-03-20 02:02:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:02:05 - End Time 2025-03-20 02:02:05 [2025-03-20 02:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719646', 'tblTempUsageDetail_20' ) start [2025-03-20 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719646', 'tblTempUsageDetail_20' ) end [2025-03-20 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719646', 'tblTempVendorCDR_20' ) start [2025-03-20 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719646', 'tblTempVendorCDR_20' ) end [2025-03-20 02:02:18] Production.INFO: ProcessCDR(1,14719646,1,1,2) [2025-03-20 02:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719646', 'tblTempUsageDetail_20' ) start [2025-03-20 02:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719646', 'tblTempUsageDetail_20' ) end [2025-03-20 02:02:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:02:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:02:23] Production.INFO: ==29886== Releasing lock... [2025-03-20 02:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:02:23] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 06:03:02] Production.INFO: ==29956== Lock acquired, processing the job... [2025-03-20 06:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:03:02] Production.INFO: neon service started [2025-03-20 06:03:02] Production.INFO: neon service started [2025-03-20 06:03:02] Production.INFO: ==29956== Releasing lock... [2025-03-20 06:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:03:02] Production.INFO: ==29960== Lock acquired, processing the job... [2025-03-20 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:03:02] Production.INFO: ==29960== Releasing lock... [2025-03-20 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:03:02] Production.INFO: ==29958== Lock acquired, processing the job... [2025-03-20 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:03:03] Production.INFO: ==29958== Releasing lock... [2025-03-20 02:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:03:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:03:03] Production.INFO: ==29964== Lock acquired, processing the job... [2025-03-20 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:03:03] Production.INFO: ==29970== Lock acquired, processing the job... [2025-03-20 02:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:03:04] Production.INFO: ==29962== Lock acquired, processing the job... [2025-03-20 02:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:03:04] Production.INFO: ==29966== Lock acquired, processing the job... [2025-03-20 02:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:03:04] Production.INFO: ==29964== Releasing lock... [2025-03-20 02:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:03:04] Production.INFO: ==29968== Lock acquired, processing the job... [2025-03-20 02:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:03:04] Production.INFO: ==29973== Lock acquired, processing the job... [2025-03-20 02:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:03:04] Production.INFO: Account Balance Start. [2025-03-20 02:03:04] Production.INFO: CreateAllLog Start [2025-03-20 02:03:04] Production.INFO: 117 [2025-03-20 02:03:04] Production.ERROR: done [2025-03-20 02:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:03:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:03:04] Production.INFO: count ==12 [2025-03-20 02:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:03:04] Production.INFO: count ==23 [2025-03-20 02:03:04] Production.ERROR: done [2025-03-20 02:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719650') start [2025-03-20 02:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719650') end [2025-03-20 02:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:03:04] Production.INFO: 1 [2025-03-20 02:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:03:04] Production.INFO: ==29973== Releasing lock... [2025-03-20 02:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:03:04] Production.INFO: Total Charge 0 [2025-03-20 02:03:04] Production.INFO: CreateAllLog End [2025-03-20 02:03:05] Production.INFO: Account Balance End. [2025-03-20 02:03:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:03:05] Production.INFO: ==29968== Releasing lock... [2025-03-20 02:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:03:05 [end_date_ymd] => 2025-03-20 02:03:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:03:05' and `end` < '2025-03-20 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-03-20 02:03:12] Production.ERROR: CronJobId end10 [2025-03-20 02:03:12] Production.INFO: ==29966== Releasing lock... [2025-03-20 02:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:03:15] Production.INFO: call_cost start [2025-03-20 02:03:15] Production.INFO: call_cost end [2025-03-20 02:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:03:15] Production.INFO: ==29962== Releasing lock... [2025-03-20 02:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:03:18] Production.INFO: count ==891 [2025-03-20 02:03:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:03:05 - End Time 2025-03-20 02:03:05 [2025-03-20 02:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719651', 'tblTempUsageDetail_20' ) start [2025-03-20 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719651', 'tblTempUsageDetail_20' ) end [2025-03-20 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719651', 'tblTempVendorCDR_20' ) start [2025-03-20 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719651', 'tblTempVendorCDR_20' ) end [2025-03-20 02:03:18] Production.INFO: ProcessCDR(1,14719651,1,1,2) [2025-03-20 02:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719651', 'tblTempUsageDetail_20' ) start [2025-03-20 02:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719651', 'tblTempUsageDetail_20' ) end [2025-03-20 02:03:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:03:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:03:22] Production.INFO: ==29970== Releasing lock... [2025-03-20 02:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:03:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 06:04:01] Production.INFO: ==30040== Lock acquired, processing the job... [2025-03-20 06:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:04:01] Production.INFO: neon service started [2025-03-20 06:04:01] Production.INFO: neon service started [2025-03-20 06:04:01] Production.INFO: ==30040== Releasing lock... [2025-03-20 06:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:04:02] Production.INFO: ==30042== Lock acquired, processing the job... [2025-03-20 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:04:02] Production.INFO: ==30044== Lock acquired, processing the job... [2025-03-20 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:04:02] Production.INFO: ==30042== Releasing lock... [2025-03-20 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:04:02] Production.INFO: ==30044== Releasing lock... [2025-03-20 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:04:03] Production.INFO: ==30051== Lock acquired, processing the job... [2025-03-20 02:04:03] Production.INFO: ==30049== Lock acquired, processing the job... [2025-03-20 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:04:03] Production.INFO: ==30047== Lock acquired, processing the job... [2025-03-20 02:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:04:03] Production.INFO: ==30053== Lock acquired, processing the job... [2025-03-20 02:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:04:03] Production.INFO: ==30055== Lock acquired, processing the job... [2025-03-20 02:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:04:03] Production.INFO: Account Balance Start. [2025-03-20 02:04:03] Production.INFO: CreateAllLog Start [2025-03-20 02:04:03] Production.INFO: 117 [2025-03-20 02:04:03] Production.INFO: ==30057== Lock acquired, processing the job... [2025-03-20 02:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:04:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.INFO: ==30049== Releasing lock... [2025-03-20 02:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.INFO: count ==12 [2025-03-20 02:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:04:04] Production.INFO: count ==23 [2025-03-20 02:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719655') start [2025-03-20 02:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719655') end [2025-03-20 02:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:04:04] Production.INFO: 1 [2025-03-20 02:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:04:04] Production.ERROR: done [2025-03-20 02:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.INFO: ==30057== Releasing lock... [2025-03-20 02:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.ERROR: done [2025-03-20 02:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:04:04] Production.INFO: Total Charge 0 [2025-03-20 02:04:04] Production.INFO: CreateAllLog End [2025-03-20 02:04:04] Production.INFO: Account Balance End. [2025-03-20 02:04:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:04:04] Production.INFO: ==30053== Releasing lock... [2025-03-20 02:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:04:05 [end_date_ymd] => 2025-03-20 02:04:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:04:05' and `end` < '2025-03-20 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-03-20 02:04:11] Production.ERROR: CronJobId end10 [2025-03-20 02:04:11] Production.INFO: ==30051== Releasing lock... [2025-03-20 02:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:04:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:04:15] Production.INFO: call_cost start [2025-03-20 02:04:15] Production.INFO: call_cost end [2025-03-20 02:04:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:04:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:04:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:04:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:04:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:04:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:04:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:04:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:04:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:04:16] Production.INFO: ==30047== Releasing lock... [2025-03-20 02:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:04:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:04:17] Production.INFO: count ==893 [2025-03-20 02:04:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:04:05 - End Time 2025-03-20 02:04:05 [2025-03-20 02:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719656', 'tblTempUsageDetail_20' ) start [2025-03-20 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719656', 'tblTempUsageDetail_20' ) end [2025-03-20 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719656', 'tblTempVendorCDR_20' ) start [2025-03-20 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719656', 'tblTempVendorCDR_20' ) end [2025-03-20 02:04:18] Production.INFO: ProcessCDR(1,14719656,1,1,2) [2025-03-20 02:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719656', 'tblTempUsageDetail_20' ) start [2025-03-20 02:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719656', 'tblTempUsageDetail_20' ) end [2025-03-20 02:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:04:21] Production.INFO: ==30055== Releasing lock... [2025-03-20 02:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:04:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 06:05:02] Production.INFO: ==30122== Lock acquired, processing the job... [2025-03-20 06:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:05:02] Production.INFO: neon service started [2025-03-20 06:05:02] Production.INFO: neon service started [2025-03-20 06:05:02] Production.INFO: ==30122== Releasing lock... [2025-03-20 06:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:05:02] Production.INFO: ==30126== Lock acquired, processing the job... [2025-03-20 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:05:02] Production.INFO: ==30126== Releasing lock... [2025-03-20 02:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:05:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:05:03] Production.INFO: ==30128== Lock acquired, processing the job... [2025-03-20 06:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:05:03] Production.INFO: ==30128== Releasing lock... [2025-03-20 06:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:05:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:05:03] Production.INFO: ==30133== Lock acquired, processing the job... [2025-03-20 02:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:05:03] Production.INFO: ==30135== Lock acquired, processing the job... [2025-03-20 02:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:05:03] Production.INFO: ==30137== Lock acquired, processing the job... [2025-03-20 02:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:05:03] Production.INFO: Account Balance Start. [2025-03-20 02:05:03] Production.INFO: CreateAllLog Start [2025-03-20 02:05:03] Production.INFO: 117 [2025-03-20 02:05:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: ==30133== Releasing lock... [2025-03-20 02:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: ==30131== Lock acquired, processing the job... [2025-03-20 02:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:05:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:05:04] Production.INFO: Total Charge 0 [2025-03-20 02:05:04] Production.INFO: CreateAllLog End [2025-03-20 02:05:04] Production.INFO: ==30139== Lock acquired, processing the job... [2025-03-20 02:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:05:04] Production.INFO: Account Balance End. [2025-03-20 02:05:04] Production.INFO: ==30141== Lock acquired, processing the job... [2025-03-20 02:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:05:04] Production.INFO: ==30137== Releasing lock... [2025-03-20 02:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:05:04] Production.INFO: count ==12 [2025-03-20 02:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:05:04] Production.INFO: count ==23 [2025-03-20 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719660') start [2025-03-20 02:05:04] Production.ERROR: done [2025-03-20 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719660') end [2025-03-20 02:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:05:04] Production.INFO: 1 [2025-03-20 02:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:05:05] Production.INFO: ==30141== Releasing lock... [2025-03-20 02:05:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:05:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:05:05] Production.ERROR: done [2025-03-20 02:05:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:05:06 [end_date_ymd] => 2025-03-20 02:05:06 [RateCDR] => 1 ) [2025-03-20 02: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-03-19 23:05:06' and `end` < '2025-03-20 02: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-03-20 02: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: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-03-20 02:05:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:05:11] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:05:11] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:05:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:05:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:05:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:05:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:05:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:05:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:05:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:05:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:05:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:05:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:05:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:05:12] Production.INFO: call_cost start [2025-03-20 02:05:12] Production.INFO: call_cost end [2025-03-20 02:05:12] Production.ERROR: CronJobId end10 [2025-03-20 02:05:12] Production.INFO: ==30135== Releasing lock... [2025-03-20 02:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:05:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:05:13] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:05:13] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:05:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:05:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:05:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:05:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:05:13] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:05:13] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:05:13] Production.INFO: ==30131== Releasing lock... [2025-03-20 02:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:05:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:05:18] Production.INFO: count ==891 [2025-03-20 02:05:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:05:06 - End Time 2025-03-20 02:05:06 [2025-03-20 02:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719661', 'tblTempUsageDetail_20' ) start [2025-03-20 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719661', 'tblTempUsageDetail_20' ) end [2025-03-20 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719661', 'tblTempVendorCDR_20' ) start [2025-03-20 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719661', 'tblTempVendorCDR_20' ) end [2025-03-20 02:05:18] Production.INFO: ProcessCDR(1,14719661,1,1,2) [2025-03-20 02:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719661', 'tblTempUsageDetail_20' ) start [2025-03-20 02:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719661', 'tblTempUsageDetail_20' ) end [2025-03-20 02:05:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:05:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:05:22] Production.INFO: ==30139== Releasing lock... [2025-03-20 02:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:05:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:06:01] Production.INFO: ==30213== Lock acquired, processing the job... [2025-03-20 06:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:06:01] Production.INFO: neon service started [2025-03-20 06:06:01] Production.INFO: neon service started [2025-03-20 06:06:01] Production.INFO: ==30213== Releasing lock... [2025-03-20 06:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:06:02] Production.INFO: ==30215== Lock acquired, processing the job... [2025-03-20 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:06:02] Production.INFO: ==30217== Lock acquired, processing the job... [2025-03-20 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:06:02] Production.INFO: ==30217== Releasing lock... [2025-03-20 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:06:02] Production.INFO: ==30215== Releasing lock... [2025-03-20 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:06:03] Production.INFO: ==30230== Lock acquired, processing the job... [2025-03-20 02:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:06:03] Production.INFO: ==30232== Lock acquired, processing the job... [2025-03-20 02:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:06:04] Production.INFO: ==30222== Lock acquired, processing the job... [2025-03-20 02:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:06:04] Production.INFO: ==30224== Lock acquired, processing the job... [2025-03-20 02:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:06:04] Production.INFO: ==30228== Lock acquired, processing the job... [2025-03-20 02:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:06:04] Production.INFO: ==30226== Lock acquired, processing the job... [2025-03-20 02:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 02:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:06:04] Production.INFO: count ==12 [2025-03-20 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-03-20 02:06:04] Production.INFO: count ==23 [2025-03-20 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719662') start [2025-03-20 02:06:04] Production.ERROR: done [2025-03-20 02:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:06:04] Production.INFO: Account Balance Start. [2025-03-20 02:06:04] Production.INFO: CreateAllLog Start [2025-03-20 02:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:06:04] Production.INFO: 117 [2025-03-20 02:06:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719662') end [2025-03-20 02:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:06:04] Production.INFO: 1 [2025-03-20 02:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.INFO: ==30232== Releasing lock... [2025-03-20 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.ERROR: done [2025-03-20 02:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.INFO: ==30224== Releasing lock... [2025-03-20 02:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:06:05] Production.INFO: Total Charge 0 [2025-03-20 02:06:05] Production.INFO: CreateAllLog End [2025-03-20 02:06:05] Production.INFO: Account Balance End. [2025-03-20 02:06:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:06:05] Production.INFO: ==30228== Releasing lock... [2025-03-20 02:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:06:05 [end_date_ymd] => 2025-03-20 02:06:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:06:05' and `end` < '2025-03-20 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-03-20 02:06:12] Production.ERROR: CronJobId end10 [2025-03-20 02:06:12] Production.INFO: ==30226== Releasing lock... [2025-03-20 02:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:06:14] Production.INFO: call_cost start [2025-03-20 02:06:14] Production.INFO: call_cost end [2025-03-20 02:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:06:15] Production.INFO: ==30222== Releasing lock... [2025-03-20 02:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:06:17] Production.INFO: count ==891 [2025-03-20 02:06:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:06:05 - End Time 2025-03-20 02:06:05 [2025-03-20 02:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719666', 'tblTempUsageDetail_20' ) start [2025-03-20 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719666', 'tblTempUsageDetail_20' ) end [2025-03-20 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719666', 'tblTempVendorCDR_20' ) start [2025-03-20 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719666', 'tblTempVendorCDR_20' ) end [2025-03-20 02:06:18] Production.INFO: ProcessCDR(1,14719666,1,1,2) [2025-03-20 02:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719666', 'tblTempUsageDetail_20' ) start [2025-03-20 02:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719666', 'tblTempUsageDetail_20' ) end [2025-03-20 02:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:06:21] Production.INFO: ==30230== Releasing lock... [2025-03-20 02:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:06:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:07:02] Production.INFO: ==30300== Lock acquired, processing the job... [2025-03-20 06:07:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:07:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:07:02] Production.INFO: neon service started [2025-03-20 06:07:02] Production.INFO: neon service started [2025-03-20 06:07:02] Production.INFO: ==30300== Releasing lock... [2025-03-20 06:07:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:07:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:07:02] Production.INFO: ==30304== Lock acquired, processing the job... [2025-03-20 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:07:02] Production.INFO: ==30304== Releasing lock... [2025-03-20 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:07:02] Production.INFO: ==30302== Lock acquired, processing the job... [2025-03-20 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:07:02] Production.INFO: ==30302== Releasing lock... [2025-03-20 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:07:03] Production.INFO: ==30309== Lock acquired, processing the job... [2025-03-20 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:07:03] Production.INFO: ==30315== Lock acquired, processing the job... [2025-03-20 02:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:07:04] Production.INFO: ==30307== Lock acquired, processing the job... [2025-03-20 02:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:07:04] Production.INFO: ==30311== Lock acquired, processing the job... [2025-03-20 02:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:07:04] Production.INFO: ==30313== Lock acquired, processing the job... [2025-03-20 02:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:07:04] Production.INFO: ==30317== Lock acquired, processing the job... [2025-03-20 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:07:04] Production.INFO: ==30309== Releasing lock... [2025-03-20 02:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:07:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:07:04] Production.INFO: Account Balance Start. [2025-03-20 02:07:04] Production.INFO: CreateAllLog Start [2025-03-20 02:07:04] Production.INFO: 117 [2025-03-20 02:07:04] Production.INFO: count ==12 [2025-03-20 02:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:07:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.INFO: count ==23 [2025-03-20 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719670') start [2025-03-20 02:07:04] Production.ERROR: done [2025-03-20 02:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:07:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719670') end [2025-03-20 02:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:07:04] Production.INFO: 1 [2025-03-20 02:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:07:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.INFO: ==30317== Releasing lock... [2025-03-20 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.ERROR: done [2025-03-20 02:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:07:04] Production.INFO: Total Charge 0 [2025-03-20 02:07:04] Production.INFO: CreateAllLog End [2025-03-20 02:07:05] Production.INFO: Account Balance End. [2025-03-20 02:07:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:07:05] Production.INFO: ==30313== Releasing lock... [2025-03-20 02:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:07:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:07:05 [end_date_ymd] => 2025-03-20 02:07:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:07:05' and `end` < '2025-03-20 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-03-20 02:07:13] Production.ERROR: CronJobId end10 [2025-03-20 02:07:13] Production.INFO: ==30311== Releasing lock... [2025-03-20 02:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:07:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:07:16] Production.INFO: call_cost start [2025-03-20 02:07:16] Production.INFO: call_cost end [2025-03-20 02:07:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:07:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:07:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:07:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:07:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:07:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:07:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:07:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:07:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:07:17] Production.INFO: ==30307== Releasing lock... [2025-03-20 02:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:07:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:07:17] Production.INFO: count ==891 [2025-03-20 02:07:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:07:05 - End Time 2025-03-20 02:07:05 [2025-03-20 02:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719671', 'tblTempUsageDetail_20' ) start [2025-03-20 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719671', 'tblTempUsageDetail_20' ) end [2025-03-20 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719671', 'tblTempVendorCDR_20' ) start [2025-03-20 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719671', 'tblTempVendorCDR_20' ) end [2025-03-20 02:07:18] Production.INFO: ProcessCDR(1,14719671,1,1,2) [2025-03-20 02:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719671', 'tblTempUsageDetail_20' ) start [2025-03-20 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719671', 'tblTempUsageDetail_20' ) end [2025-03-20 02:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:07:21] Production.INFO: ==30315== Releasing lock... [2025-03-20 02:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:07:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:08:01] Production.INFO: ==30388== Lock acquired, processing the job... [2025-03-20 06:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:08:01] Production.INFO: neon service started [2025-03-20 06:08:01] Production.INFO: neon service started [2025-03-20 06:08:01] Production.INFO: ==30388== Releasing lock... [2025-03-20 06:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:08:02] Production.INFO: ==30390== Lock acquired, processing the job... [2025-03-20 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:08:02] Production.INFO: ==30392== Lock acquired, processing the job... [2025-03-20 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:08:02] Production.INFO: ==30392== Releasing lock... [2025-03-20 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:08:02] Production.INFO: ==30390== Releasing lock... [2025-03-20 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:08:03] Production.INFO: ==30401== Lock acquired, processing the job... [2025-03-20 02:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:08:03] Production.INFO: ==30395== Lock acquired, processing the job... [2025-03-20 02:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:08:03] Production.INFO: Account Balance Start. [2025-03-20 02:08:03] Production.INFO: CreateAllLog Start [2025-03-20 02:08:03] Production.INFO: 117 [2025-03-20 02:08:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:08:03] Production.INFO: ==30403== Lock acquired, processing the job... [2025-03-20 02:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:08:03] Production.INFO: ==30397== Lock acquired, processing the job... [2025-03-20 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:08:03] Production.INFO: ==30399== Lock acquired, processing the job... [2025-03-20 02:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:08:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:03] Production.INFO: ==30405== Lock acquired, processing the job... [2025-03-20 02:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:08:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:08:03] Production.INFO: count ==12 [2025-03-20 02:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:08:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:08:03] Production.INFO: count ==23 [2025-03-20 02:08:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:08:04] Production.ERROR: done [2025-03-20 02:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719675') start [2025-03-20 02:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:08:04] Production.INFO: ==30397== Releasing lock... [2025-03-20 02:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719675') end [2025-03-20 02:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:08:04] Production.INFO: 1 [2025-03-20 02:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:04] Production.ERROR: done [2025-03-20 02:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:04] Production.INFO: ==30405== Releasing lock... [2025-03-20 02:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:08:04] Production.INFO: Total Charge 0 [2025-03-20 02:08:04] Production.INFO: CreateAllLog End [2025-03-20 02:08:04] Production.INFO: Account Balance End. [2025-03-20 02:08:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:08:04] Production.INFO: ==30401== Releasing lock... [2025-03-20 02:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:08:05 [end_date_ymd] => 2025-03-20 02:08:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:08:05' and `end` < '2025-03-20 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-03-20 02:08:12] Production.ERROR: CronJobId end10 [2025-03-20 02:08:12] Production.INFO: ==30399== Releasing lock... [2025-03-20 02:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:08:15] Production.INFO: call_cost start [2025-03-20 02:08:15] Production.INFO: call_cost end [2025-03-20 02:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:08:16] Production.INFO: ==30395== Releasing lock... [2025-03-20 02:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:08:17] Production.INFO: count ==890 [2025-03-20 02:08:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:08:05 - End Time 2025-03-20 02:08:05 [2025-03-20 02:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719676', 'tblTempUsageDetail_20' ) start [2025-03-20 02:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719676', 'tblTempUsageDetail_20' ) end [2025-03-20 02:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719676', 'tblTempVendorCDR_20' ) start [2025-03-20 02:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719676', 'tblTempVendorCDR_20' ) end [2025-03-20 02:08:17] Production.INFO: ProcessCDR(1,14719676,1,1,2) [2025-03-20 02:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719676', 'tblTempUsageDetail_20' ) start [2025-03-20 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719676', 'tblTempUsageDetail_20' ) end [2025-03-20 02:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:08:21] Production.INFO: ==30403== Releasing lock... [2025-03-20 02:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:08:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:09:02] Production.INFO: ==30475== Lock acquired, processing the job... [2025-03-20 06:09:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:09:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:09:02] Production.INFO: neon service started [2025-03-20 06:09:02] Production.INFO: neon service started [2025-03-20 06:09:02] Production.INFO: ==30475== Releasing lock... [2025-03-20 06:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:09:02] Production.INFO: ==30479== Lock acquired, processing the job... [2025-03-20 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:09:02] Production.INFO: ==30479== Releasing lock... [2025-03-20 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:09:02] Production.INFO: ==30477== Lock acquired, processing the job... [2025-03-20 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:09:02] Production.INFO: ==30477== Releasing lock... [2025-03-20 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:09:03] Production.INFO: ==30484== Lock acquired, processing the job... [2025-03-20 02:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:09:03] Production.INFO: ==30482== Lock acquired, processing the job... [2025-03-20 02:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:09:03] Production.INFO: ==30486== Lock acquired, processing the job... [2025-03-20 02:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:09:03] Production.INFO: ==30488== Lock acquired, processing the job... [2025-03-20 02:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:09:03] Production.INFO: ==30490== Lock acquired, processing the job... [2025-03-20 02:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:09:04] Production.INFO: Account Balance Start. [2025-03-20 02:09:04] Production.INFO: CreateAllLog Start [2025-03-20 02:09:04] Production.INFO: 117 [2025-03-20 02:09:04] Production.INFO: ==30484== Releasing lock... [2025-03-20 02:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:09:04] Production.INFO: ==30492== Lock acquired, processing the job... [2025-03-20 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:09:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: count ==12 [2025-03-20 02:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:09:04] Production.INFO: count ==23 [2025-03-20 02:09:04] Production.ERROR: done [2025-03-20 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719680') start [2025-03-20 02:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719680') end [2025-03-20 02:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:09:04] Production.INFO: 1 [2025-03-20 02:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:09:04] Production.ERROR: done [2025-03-20 02:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: ==30492== Releasing lock... [2025-03-20 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:09:04] Production.INFO: Total Charge 0 [2025-03-20 02:09:05] Production.INFO: CreateAllLog End [2025-03-20 02:09:05] Production.INFO: Account Balance End. [2025-03-20 02:09:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:09:05] Production.INFO: ==30488== Releasing lock... [2025-03-20 02:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:09:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:09:05 [end_date_ymd] => 2025-03-20 02:09:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:09:05' and `end` < '2025-03-20 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-03-20 02:09:12] Production.ERROR: CronJobId end10 [2025-03-20 02:09:12] Production.INFO: ==30486== Releasing lock... [2025-03-20 02:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:09:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:09:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:09:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:09:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:09:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:09:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:09:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:09:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:09:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:09:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:09:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:09:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:09:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:09:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:09:15] Production.INFO: call_cost start [2025-03-20 02:09:15] Production.INFO: call_cost end [2025-03-20 02:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:09:16] Production.INFO: ==30482== Releasing lock... [2025-03-20 02:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:09:18] Production.INFO: count ==890 [2025-03-20 02:09:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:09:05 - End Time 2025-03-20 02:09:05 [2025-03-20 02:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719681', 'tblTempUsageDetail_20' ) start [2025-03-20 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719681', 'tblTempUsageDetail_20' ) end [2025-03-20 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719681', 'tblTempVendorCDR_20' ) start [2025-03-20 02:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719681', 'tblTempVendorCDR_20' ) end [2025-03-20 02:09:18] Production.INFO: ProcessCDR(1,14719681,1,1,2) [2025-03-20 02:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719681', 'tblTempUsageDetail_20' ) start [2025-03-20 02:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719681', 'tblTempUsageDetail_20' ) end [2025-03-20 02:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:09:22] Production.INFO: ==30490== Releasing lock... [2025-03-20 02:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:09:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:10:01] Production.INFO: ==30556== Lock acquired, processing the job... [2025-03-20 06:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:10:01] Production.INFO: neon service started [2025-03-20 06:10:01] Production.INFO: neon service started [2025-03-20 06:10:01] Production.INFO: ==30556== Releasing lock... [2025-03-20 06:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:10:01] Production.INFO: ==30560== Lock acquired, processing the job... [2025-03-20 02:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:10:02] Production.INFO: ==30560== Releasing lock... [2025-03-20 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:10:02] Production.INFO: ==30562== Lock acquired, processing the job... [2025-03-20 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:10:02] Production.INFO: ==30562== Releasing lock... [2025-03-20 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:10:03] Production.INFO: ==30567== Lock acquired, processing the job... [2025-03-20 02:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:10:03] Production.INFO: ==30565== Lock acquired, processing the job... [2025-03-20 02:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 02:10:03] Production.INFO: ==30573== Lock acquired, processing the job... [2025-03-20 02:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 02:10:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 02:10:03] Production.ERROR: CronJob PID - 30567 [2025-03-20 02:10:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 02:10:03] Production.ERROR: CronJob ID - 5 [2025-03-20 02:10:03] Production.ERROR: CronJob Last Run Time 2025-03-20 02:10:00 [2025-03-20 02:10:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 02:10:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 02:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 02:10:03] Production.INFO: ==30565== Releasing lock... [2025-03-20 02:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 02:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 02:10:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:10:03] Production.INFO: ==30577== Lock acquired, processing the job... [2025-03-20 02:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 02:10:03] Production.INFO: Account Balance Start. [2025-03-20 02:10:03] Production.INFO: CreateAllLog Start [2025-03-20 02:10:03] Production.INFO: 117 [2025-03-20 02:10:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:10:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:03] Production.INFO: ==30569== Lock acquired, processing the job... [2025-03-20 02:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:10:03] Production.INFO: ==30571== Lock acquired, processing the job... [2025-03-20 02:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:10:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:03] Production.INFO: ==30575== Lock acquired, processing the job... [2025-03-20 02:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:10:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:03] Production.INFO: Date 2025-03-14 [2025-03-20 02:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:10:03] Production.INFO: ==30579== Lock acquired, processing the job... [2025-03-20 02:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:10:03] Production.INFO: Date 2025-03-15 [2025-03-20 02:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:10:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:04] Production.ERROR: done [2025-03-20 02:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 02:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719685', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 02:10:04] Production.ERROR: done [2025-03-20 02:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 02:10:04] Production.INFO: count ==12 [2025-03-20 02:10:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:10:04] Production.INFO: count ==23 [2025-03-20 02:10:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719686') start [2025-03-20 02:10:04] Production.INFO: Total Charge 0 [2025-03-20 02:10:04] Production.INFO: ==30569== Releasing lock... [2025-03-20 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:10:04] Production.ERROR: done [2025-03-20 02:10:04] Production.INFO: CreateAllLog End [2025-03-20 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719686') end [2025-03-20 02:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:10:04] Production.INFO: 1 [2025-03-20 02:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:10:04] Production.INFO: ==30579== Releasing lock... [2025-03-20 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:10:04] Production.INFO: Account Balance End. [2025-03-20 02:10:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:10:04] Production.INFO: ==30573== Releasing lock... [2025-03-20 02:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:10:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:10:06 [end_date_ymd] => 2025-03-20 02:10:06 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:10:06' and `end` < '2025-03-20 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-03-20 02:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719685', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 02:10:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 02:10:08] Production.INFO: ProcessCDR(1,14719685,1,1,2) [2025-03-20 02:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719685,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719685,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:10:09] Production.INFO: ==30577== Releasing lock... [2025-03-20 02:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 02:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 02:10:14] Production.ERROR: CronJobId end10 [2025-03-20 02:10:14] Production.INFO: ==30571== Releasing lock... [2025-03-20 02:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:10:16] Production.INFO: call_cost start [2025-03-20 02:10:16] Production.INFO: call_cost end [2025-03-20 02:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:10:17] Production.INFO: ==30567== Releasing lock... [2025-03-20 02:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:10:18] Production.INFO: count ==884 [2025-03-20 02:10:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:10:06 - End Time 2025-03-20 02:10:06 [2025-03-20 02:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719687', 'tblTempUsageDetail_20' ) start [2025-03-20 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719687', 'tblTempUsageDetail_20' ) end [2025-03-20 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719687', 'tblTempVendorCDR_20' ) start [2025-03-20 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719687', 'tblTempVendorCDR_20' ) end [2025-03-20 02:10:18] Production.INFO: ProcessCDR(1,14719687,1,1,2) [2025-03-20 02:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719687', 'tblTempUsageDetail_20' ) start [2025-03-20 02:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719687', 'tblTempUsageDetail_20' ) end [2025-03-20 02:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:10:22] Production.INFO: ==30575== Releasing lock... [2025-03-20 02:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:10:22] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 06:11:01] Production.INFO: ==30646== Lock acquired, processing the job... [2025-03-20 06:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:11:02] Production.INFO: neon service started [2025-03-20 06:11:02] Production.INFO: neon service started [2025-03-20 06:11:02] Production.INFO: ==30646== Releasing lock... [2025-03-20 06:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:11:02] Production.INFO: ==30650== Lock acquired, processing the job... [2025-03-20 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:11:02] Production.INFO: ==30650== Releasing lock... [2025-03-20 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:11:02] Production.INFO: ==30648== Lock acquired, processing the job... [2025-03-20 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:11:02] Production.INFO: ==30648== Releasing lock... [2025-03-20 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:11:03] Production.INFO: ==30661== Lock acquired, processing the job... [2025-03-20 02:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:11:03] Production.INFO: ==30663== Lock acquired, processing the job... [2025-03-20 02:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:11:04] Production.INFO: ==30653== Lock acquired, processing the job... [2025-03-20 02:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:11:04] Production.INFO: count ==12 [2025-03-20 02:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:11:04] Production.INFO: count ==23 [2025-03-20 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719688') start [2025-03-20 02:11:04] Production.INFO: ==30655== Lock acquired, processing the job... [2025-03-20 02:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:11:04] Production.INFO: ==30657== Lock acquired, processing the job... [2025-03-20 02:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:11:04] Production.INFO: ==30659== Lock acquired, processing the job... [2025-03-20 02:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:11:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719688') end [2025-03-20 02:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:11:04] Production.INFO: 1 [2025-03-20 02:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:11:04] Production.INFO: Account Balance Start. [2025-03-20 02:11:04] Production.INFO: CreateAllLog Start [2025-03-20 02:11:04] Production.ERROR: done [2025-03-20 02:11:04] Production.INFO: 117 [2025-03-20 02:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:11:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:11:04] Production.INFO: ==30663== Releasing lock... [2025-03-20 02:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:11:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.ERROR: done [2025-03-20 02:11:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.INFO: ==30655== Releasing lock... [2025-03-20 02:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:11:04] Production.INFO: Total Charge 0 [2025-03-20 02:11:04] Production.INFO: CreateAllLog End [2025-03-20 02:11:05] Production.INFO: Account Balance End. [2025-03-20 02:11:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:11:05] Production.INFO: ==30659== Releasing lock... [2025-03-20 02:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:11:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:11:05 [end_date_ymd] => 2025-03-20 02:11:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:11:05' and `end` < '2025-03-20 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-03-20 02:11:13] Production.ERROR: CronJobId end10 [2025-03-20 02:11:13] Production.INFO: ==30657== Releasing lock... [2025-03-20 02:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:11:15] Production.INFO: call_cost start [2025-03-20 02:11:15] Production.INFO: call_cost end [2025-03-20 02:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:11:16] Production.INFO: ==30653== Releasing lock... [2025-03-20 02:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:11:17] Production.INFO: count ==884 [2025-03-20 02:11:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:11:05 - End Time 2025-03-20 02:11:05 [2025-03-20 02:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719692', 'tblTempUsageDetail_20' ) start [2025-03-20 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719692', 'tblTempUsageDetail_20' ) end [2025-03-20 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719692', 'tblTempVendorCDR_20' ) start [2025-03-20 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719692', 'tblTempVendorCDR_20' ) end [2025-03-20 02:11:18] Production.INFO: ProcessCDR(1,14719692,1,1,2) [2025-03-20 02:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719692', 'tblTempUsageDetail_20' ) start [2025-03-20 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719692', 'tblTempUsageDetail_20' ) end [2025-03-20 02:11:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:11:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:11:21] Production.INFO: ==30661== Releasing lock... [2025-03-20 02:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:11:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 06:12:01] Production.INFO: ==30733== Lock acquired, processing the job... [2025-03-20 06:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:12:01] Production.INFO: neon service started [2025-03-20 06:12:01] Production.INFO: neon service started [2025-03-20 06:12:01] Production.INFO: ==30733== Releasing lock... [2025-03-20 06:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:12:01] Production.INFO: ==30735== Lock acquired, processing the job... [2025-03-20 02:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:12:02] Production.INFO: ==30735== Releasing lock... [2025-03-20 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:12:02] Production.INFO: ==30737== Lock acquired, processing the job... [2025-03-20 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:12:02] Production.INFO: ==30737== Releasing lock... [2025-03-20 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:12:03] Production.INFO: ==30739== Lock acquired, processing the job... [2025-03-20 02:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:12:03] Production.INFO: ==30741== Lock acquired, processing the job... [2025-03-20 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:12:03] Production.INFO: ==30743== Lock acquired, processing the job... [2025-03-20 02:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:12:03] Production.INFO: ==30741== Releasing lock... [2025-03-20 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:12:03] Production.INFO: ==30745== Lock acquired, processing the job... [2025-03-20 02:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:12:03] Production.INFO: ==30747== Lock acquired, processing the job... [2025-03-20 02:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:12:03] Production.INFO: ==30749== Lock acquired, processing the job... [2025-03-20 02:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:12:03] Production.INFO: Account Balance Start. [2025-03-20 02:12:03] Production.INFO: CreateAllLog Start [2025-03-20 02:12:03] Production.INFO: 117 [2025-03-20 02:12:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:12:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:03] Production.INFO: count ==12 [2025-03-20 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-03-20 02:12:03] Production.INFO: count ==23 [2025-03-20 02:12:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719696') start [2025-03-20 02:12:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:03] Production.INFO: Date 2025-03-14 [2025-03-20 02:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:03] Production.INFO: Date 2025-03-15 [2025-03-20 02:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:04] Production.ERROR: done [2025-03-20 02:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719696') end [2025-03-20 02:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:12:04] Production.INFO: 1 [2025-03-20 02:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:12:04] Production.INFO: ==30749== Releasing lock... [2025-03-20 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:12:04] Production.ERROR: done [2025-03-20 02:12:04] Production.INFO: Total Charge 0 [2025-03-20 02:12:04] Production.INFO: CreateAllLog End [2025-03-20 02:12:04] Production.INFO: Account Balance End. [2025-03-20 02:12:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:12:04] Production.INFO: ==30745== Releasing lock... [2025-03-20 02:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:12:05 [end_date_ymd] => 2025-03-20 02:12:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:12:05' and `end` < '2025-03-20 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-03-20 02:12:12] Production.ERROR: CronJobId end10 [2025-03-20 02:12:12] Production.INFO: ==30743== Releasing lock... [2025-03-20 02:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:12:15] Production.INFO: call_cost start [2025-03-20 02:12:15] Production.INFO: call_cost end [2025-03-20 02:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:12:16] Production.INFO: ==30739== Releasing lock... [2025-03-20 02:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:12:17] Production.INFO: count ==881 [2025-03-20 02:12:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:12:05 - End Time 2025-03-20 02:12:05 [2025-03-20 02:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719697', 'tblTempUsageDetail_20' ) start [2025-03-20 02:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719697', 'tblTempUsageDetail_20' ) end [2025-03-20 02:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719697', 'tblTempVendorCDR_20' ) start [2025-03-20 02:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719697', 'tblTempVendorCDR_20' ) end [2025-03-20 02:12:17] Production.INFO: ProcessCDR(1,14719697,1,1,2) [2025-03-20 02:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719697', 'tblTempUsageDetail_20' ) start [2025-03-20 02:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719697', 'tblTempUsageDetail_20' ) end [2025-03-20 02:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:12:21] Production.INFO: ==30747== Releasing lock... [2025-03-20 02:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:12:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:13:02] Production.INFO: ==30818== Lock acquired, processing the job... [2025-03-20 06:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:13:02] Production.INFO: neon service started [2025-03-20 06:13:02] Production.INFO: neon service started [2025-03-20 06:13:02] Production.INFO: ==30818== Releasing lock... [2025-03-20 06:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:13:02] Production.INFO: ==30820== Lock acquired, processing the job... [2025-03-20 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:13:02] Production.INFO: ==30820== Releasing lock... [2025-03-20 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:13:02] Production.INFO: ==30822== Lock acquired, processing the job... [2025-03-20 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:13:02] Production.INFO: ==30822== Releasing lock... [2025-03-20 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:13:03] Production.INFO: ==30825== Lock acquired, processing the job... [2025-03-20 02:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:13:03] Production.INFO: ==30827== Lock acquired, processing the job... [2025-03-20 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:13:03] Production.INFO: ==30835== Lock acquired, processing the job... [2025-03-20 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 02:13:03] Production.INFO: ==30831== Lock acquired, processing the job... [2025-03-20 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:13:03] Production.INFO: count ==12 [2025-03-20 02:13:03] Production.INFO: ==30833== Lock acquired, processing the job... [2025-03-20 02:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 02:13:03] Production.INFO: count ==23 [2025-03-20 02:13:03] Production.INFO: ==30829== Lock acquired, processing the job... [2025-03-20 02:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719700') start [2025-03-20 02:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:13:03] Production.INFO: Account Balance Start. [2025-03-20 02:13:03] Production.INFO: CreateAllLog Start [2025-03-20 02:13:03] Production.INFO: 117 [2025-03-20 02:13:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719700') end [2025-03-20 02:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:13:04] Production.INFO: 1 [2025-03-20 02:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:13:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.INFO: ==30835== Releasing lock... [2025-03-20 02:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:13:04] Production.INFO: ==30827== Releasing lock... [2025-03-20 02:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.ERROR: done [2025-03-20 02:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.ERROR: done [2025-03-20 02:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:13:04] Production.INFO: Total Charge 0 [2025-03-20 02:13:04] Production.INFO: CreateAllLog End [2025-03-20 02:13:05] Production.INFO: Account Balance End. [2025-03-20 02:13:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:13:05] Production.INFO: ==30831== Releasing lock... [2025-03-20 02:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:13:05 [end_date_ymd] => 2025-03-20 02:13:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:13:05' and `end` < '2025-03-20 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-03-20 02:13:12] Production.ERROR: CronJobId end10 [2025-03-20 02:13:12] Production.INFO: ==30829== Releasing lock... [2025-03-20 02:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:13:15] Production.INFO: call_cost start [2025-03-20 02:13:15] Production.INFO: call_cost end [2025-03-20 02:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:13:16] Production.INFO: ==30825== Releasing lock... [2025-03-20 02:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:13:17] Production.INFO: count ==881 [2025-03-20 02:13:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:13:05 - End Time 2025-03-20 02:13:05 [2025-03-20 02:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719702', 'tblTempUsageDetail_20' ) start [2025-03-20 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719702', 'tblTempUsageDetail_20' ) end [2025-03-20 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719702', 'tblTempVendorCDR_20' ) start [2025-03-20 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719702', 'tblTempVendorCDR_20' ) end [2025-03-20 02:13:18] Production.INFO: ProcessCDR(1,14719702,1,1,2) [2025-03-20 02:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719702', 'tblTempUsageDetail_20' ) start [2025-03-20 02:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719702', 'tblTempUsageDetail_20' ) end [2025-03-20 02:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:13:21] Production.INFO: ==30833== Releasing lock... [2025-03-20 02:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:13:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:14:01] Production.INFO: ==30942== Lock acquired, processing the job... [2025-03-20 06:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:14:01] Production.INFO: neon service started [2025-03-20 06:14:01] Production.INFO: neon service started [2025-03-20 06:14:01] Production.INFO: ==30942== Releasing lock... [2025-03-20 06:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:14:01] Production.INFO: ==30944== Lock acquired, processing the job... [2025-03-20 02:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:14:02] Production.INFO: ==30944== Releasing lock... [2025-03-20 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:14:02] Production.INFO: ==30946== Lock acquired, processing the job... [2025-03-20 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:14:02] Production.INFO: ==30946== Releasing lock... [2025-03-20 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:14:03] Production.INFO: ==30959== Lock acquired, processing the job... [2025-03-20 02:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:14:03] Production.INFO: ==30957== Lock acquired, processing the job... [2025-03-20 02:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:14:03] Production.INFO: ==30949== Lock acquired, processing the job... [2025-03-20 02:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:14:03] Production.INFO: ==30951== Lock acquired, processing the job... [2025-03-20 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:14:03] Production.INFO: count ==12 [2025-03-20 02:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:14:03] Production.INFO: count ==23 [2025-03-20 02:14:03] Production.INFO: ==30955== Lock acquired, processing the job... [2025-03-20 02:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719703') start [2025-03-20 02:14:03] Production.INFO: ==30953== Lock acquired, processing the job... [2025-03-20 02:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:14:03] Production.INFO: Account Balance Start. [2025-03-20 02:14:03] Production.INFO: CreateAllLog Start [2025-03-20 02:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:14:03] Production.INFO: 117 [2025-03-20 02:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719703') end [2025-03-20 02:14:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:14:03] Production.INFO: 1 [2025-03-20 02:14:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:14:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:03] Production.INFO: ==30959== Releasing lock... [2025-03-20 02:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:14:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:14:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:03] Production.ERROR: done [2025-03-20 02:14:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:14:03] Production.INFO: ==30951== Releasing lock... [2025-03-20 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:14:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:14:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:03] Production.INFO: Date 2025-03-14 [2025-03-20 02:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:03] Production.INFO: Date 2025-03-15 [2025-03-20 02:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:03] Production.ERROR: done [2025-03-20 02:14:03] Production.INFO: Date 2025-03-16 [2025-03-20 02:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:14:04] Production.INFO: Total Charge 0 [2025-03-20 02:14:04] Production.INFO: CreateAllLog End [2025-03-20 02:14:04] Production.INFO: Account Balance End. [2025-03-20 02:14:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:14:04] Production.INFO: ==30955== Releasing lock... [2025-03-20 02:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:14:05 [end_date_ymd] => 2025-03-20 02:14:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:14:05' and `end` < '2025-03-20 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-03-20 02:14:12] Production.ERROR: CronJobId end10 [2025-03-20 02:14:12] Production.INFO: ==30953== Releasing lock... [2025-03-20 02:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:14:14] Production.INFO: call_cost start [2025-03-20 02:14:14] Production.INFO: call_cost end [2025-03-20 02:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:14:15] Production.INFO: ==30949== Releasing lock... [2025-03-20 02:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:14:17] Production.INFO: count ==885 [2025-03-20 02:14:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:14:05 - End Time 2025-03-20 02:14:05 [2025-03-20 02:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719707', 'tblTempUsageDetail_20' ) start [2025-03-20 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719707', 'tblTempUsageDetail_20' ) end [2025-03-20 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719707', 'tblTempVendorCDR_20' ) start [2025-03-20 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719707', 'tblTempVendorCDR_20' ) end [2025-03-20 02:14:17] Production.INFO: ProcessCDR(1,14719707,1,1,2) [2025-03-20 02:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719707', 'tblTempUsageDetail_20' ) start [2025-03-20 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719707', 'tblTempUsageDetail_20' ) end [2025-03-20 02:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:14:21] Production.INFO: ==30957== Releasing lock... [2025-03-20 02:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:14:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:15:02] Production.INFO: ==31029== Lock acquired, processing the job... [2025-03-20 06:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:15:02] Production.INFO: neon service started [2025-03-20 06:15:02] Production.INFO: neon service started [2025-03-20 06:15:02] Production.INFO: ==31029== Releasing lock... [2025-03-20 06:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:15:02] Production.INFO: ==31031== Lock acquired, processing the job... [2025-03-20 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:15:02] Production.INFO: ==31033== Lock acquired, processing the job... [2025-03-20 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:15:02] Production.INFO: ==31033== Releasing lock... [2025-03-20 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:15:02] Production.INFO: ==31031== Releasing lock... [2025-03-20 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:15:03] Production.INFO: ==31036== Lock acquired, processing the job... [2025-03-20 02:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:15:03] Production.INFO: ==31038== Lock acquired, processing the job... [2025-03-20 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:15:03] Production.INFO: ==31046== Lock acquired, processing the job... [2025-03-20 02:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 02:15:03] Production.INFO: count ==12 [2025-03-20 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-03-20 02:15:03] Production.INFO: count ==23 [2025-03-20 02:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719710') start [2025-03-20 02:15:03] Production.INFO: ==31038== Releasing lock... [2025-03-20 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:15:04] Production.INFO: ==31040== Lock acquired, processing the job... [2025-03-20 02:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:15:04] Production.INFO: ==31042== Lock acquired, processing the job... [2025-03-20 02:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719710') end [2025-03-20 02:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:15:04] Production.INFO: 1 [2025-03-20 02:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:15:04] Production.INFO: ==31046== Releasing lock... [2025-03-20 02:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:15:04] Production.INFO: Account Balance Start. [2025-03-20 02:15:04] Production.INFO: CreateAllLog Start [2025-03-20 02:15:04] Production.INFO: 117 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.INFO: ==31044== Lock acquired, processing the job... [2025-03-20 02:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:15:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.ERROR: done [2025-03-20 02:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:15:04] Production.INFO: Total Charge 0 [2025-03-20 02:15:04] Production.INFO: CreateAllLog End [2025-03-20 02:15:04] Production.ERROR: done [2025-03-20 02:15:05] Production.INFO: Account Balance End. [2025-03-20 02:15:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:15:05] Production.INFO: ==31042== Releasing lock... [2025-03-20 02:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:15:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:15:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:15:06 [end_date_ymd] => 2025-03-20 02:15:06 [RateCDR] => 1 ) [2025-03-20 02: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-03-19 23:15:06' and `end` < '2025-03-20 02: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-03-20 02:15:12] Production.ERROR: CronJobId end10 [2025-03-20 02:15:12] Production.INFO: ==31040== Releasing lock... [2025-03-20 02:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:15:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:15:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:15:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:15:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:15:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:15:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:15:15] Production.INFO: call_cost start [2025-03-20 02:15:15] Production.INFO: call_cost end [2025-03-20 02:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:15:16] Production.INFO: ==31036== Releasing lock... [2025-03-20 02:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:15:18] Production.INFO: count ==882 [2025-03-20 02:15:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:15:06 - End Time 2025-03-20 02:15:06 [2025-03-20 02:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719712', 'tblTempUsageDetail_20' ) start [2025-03-20 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719712', 'tblTempUsageDetail_20' ) end [2025-03-20 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719712', 'tblTempVendorCDR_20' ) start [2025-03-20 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719712', 'tblTempVendorCDR_20' ) end [2025-03-20 02:15:18] Production.INFO: ProcessCDR(1,14719712,1,1,2) [2025-03-20 02:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719712', 'tblTempUsageDetail_20' ) start [2025-03-20 02:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719712', 'tblTempUsageDetail_20' ) end [2025-03-20 02:15:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:15:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:15:22] Production.INFO: ==31044== Releasing lock... [2025-03-20 02:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:15:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:16:01] Production.INFO: ==31117== Lock acquired, processing the job... [2025-03-20 06:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:16:01] Production.INFO: neon service started [2025-03-20 06:16:01] Production.INFO: neon service started [2025-03-20 06:16:01] Production.INFO: ==31117== Releasing lock... [2025-03-20 06:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:16:01] Production.INFO: ==31119== Lock acquired, processing the job... [2025-03-20 02:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:16:02] Production.INFO: ==31119== Releasing lock... [2025-03-20 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:16:02] Production.INFO: ==31121== Lock acquired, processing the job... [2025-03-20 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:16:02] Production.INFO: ==31121== Releasing lock... [2025-03-20 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:16:02] Production.INFO: ==31123== Lock acquired, processing the job... [2025-03-20 02:16:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:16:02] Production.INFO: ==31125== Lock acquired, processing the job... [2025-03-20 02:16:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:16:03] Production.INFO: ==31130== Lock acquired, processing the job... [2025-03-20 02:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:16:03] Production.INFO: ==31132== Lock acquired, processing the job... [2025-03-20 02:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:16:03] Production.INFO: ==31127== Lock acquired, processing the job... [2025-03-20 02:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:16:03] Production.INFO: ==31134== Lock acquired, processing the job... [2025-03-20 02:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:16:03] Production.INFO: ==31125== Releasing lock... [2025-03-20 02:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:16:03] Production.INFO: Account Balance Start. [2025-03-20 02:16:03] Production.INFO: CreateAllLog Start [2025-03-20 02:16:03] Production.INFO: 117 [2025-03-20 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-03-20 02:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:16:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:03] Production.INFO: count ==12 [2025-03-20 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-03-20 02:16:03] Production.INFO: count ==23 [2025-03-20 02:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719716') start [2025-03-20 02:16:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719716') end [2025-03-20 02:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:16:03] Production.INFO: 1 [2025-03-20 02:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:16:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:03] Production.ERROR: done [2025-03-20 02:16:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:16:03] Production.INFO: ==31134== Releasing lock... [2025-03-20 02:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:16:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:03] Production.ERROR: done [2025-03-20 02:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:16:04] Production.INFO: Total Charge 0 [2025-03-20 02:16:04] Production.INFO: CreateAllLog End [2025-03-20 02:16:04] Production.INFO: Account Balance End. [2025-03-20 02:16:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:16:04] Production.INFO: ==31130== Releasing lock... [2025-03-20 02:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:16:05 [end_date_ymd] => 2025-03-20 02:16:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:16:05' and `end` < '2025-03-20 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-03-20 02:16:12] Production.ERROR: CronJobId end10 [2025-03-20 02:16:12] Production.INFO: ==31127== Releasing lock... [2025-03-20 02:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:16:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:16:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:16:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:16:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:16:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:16:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:16:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:16:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:16:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:16:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:16:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:16:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:16:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:16:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:16:14] Production.INFO: call_cost start [2025-03-20 02:16:14] Production.INFO: call_cost end [2025-03-20 02:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:16:15] Production.INFO: ==31123== Releasing lock... [2025-03-20 02:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:16:17] Production.INFO: count ==873 [2025-03-20 02:16:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:16:05 - End Time 2025-03-20 02:16:05 [2025-03-20 02:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719717', 'tblTempUsageDetail_20' ) start [2025-03-20 02:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719717', 'tblTempUsageDetail_20' ) end [2025-03-20 02:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719717', 'tblTempVendorCDR_20' ) start [2025-03-20 02:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719717', 'tblTempVendorCDR_20' ) end [2025-03-20 02:16:17] Production.INFO: ProcessCDR(1,14719717,1,1,2) [2025-03-20 02:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719717', 'tblTempUsageDetail_20' ) start [2025-03-20 02:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719717', 'tblTempUsageDetail_20' ) end [2025-03-20 02:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:16:21] Production.INFO: ==31132== Releasing lock... [2025-03-20 02:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:16:21] Production.INFO: 35 MB #Memory Used# [2025-03-20 06:17:01] Production.INFO: ==31200== Lock acquired, processing the job... [2025-03-20 06:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:17:01] Production.INFO: neon service started [2025-03-20 06:17:01] Production.INFO: neon service started [2025-03-20 06:17:01] Production.INFO: ==31200== Releasing lock... [2025-03-20 06:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:17:02] Production.INFO: ==31204== Lock acquired, processing the job... [2025-03-20 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:17:02] Production.INFO: ==31204== Releasing lock... [2025-03-20 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:17:02] Production.INFO: ==31202== Lock acquired, processing the job... [2025-03-20 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:17:02] Production.INFO: ==31202== Releasing lock... [2025-03-20 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:17:03] Production.INFO: ==31207== Lock acquired, processing the job... [2025-03-20 02:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:17:03] Production.INFO: ==31209== Lock acquired, processing the job... [2025-03-20 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:17:03] Production.INFO: ==31213== Lock acquired, processing the job... [2025-03-20 02:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:17:03] Production.INFO: Account Balance Start. [2025-03-20 02:17:03] Production.INFO: CreateAllLog Start [2025-03-20 02:17:03] Production.INFO: 117 [2025-03-20 02:17:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:17:03] Production.INFO: ==31211== Lock acquired, processing the job... [2025-03-20 02:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:17:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:03] Production.INFO: ==31209== Releasing lock... [2025-03-20 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:17:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:17:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:03] Production.INFO: Date 2025-03-14 [2025-03-20 02:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:03] Production.INFO: ==31217== Lock acquired, processing the job... [2025-03-20 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:17:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:04] Production.INFO: ==31215== Lock acquired, processing the job... [2025-03-20 02:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:04] Production.INFO: count ==12 [2025-03-20 02:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:17:04] Production.INFO: count ==23 [2025-03-20 02:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719721') start [2025-03-20 02:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:17:04] Production.ERROR: done [2025-03-20 02:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719721') end [2025-03-20 02:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:17:04] Production.INFO: 1 [2025-03-20 02:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:17:04] Production.INFO: Total Charge 0 [2025-03-20 02:17:04] Production.INFO: CreateAllLog End [2025-03-20 02:17:04] Production.INFO: ==31217== Releasing lock... [2025-03-20 02:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:17:04] Production.ERROR: done [2025-03-20 02:17:04] Production.INFO: Account Balance End. [2025-03-20 02:17:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:17:04] Production.INFO: ==31213== Releasing lock... [2025-03-20 02:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:17:05 [end_date_ymd] => 2025-03-20 02:17:05 [RateCDR] => 1 ) [2025-03-20 02:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:17:05' and `end` < '2025-03-20 02:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:17:12] Production.ERROR: CronJobId end10 [2025-03-20 02:17:12] Production.INFO: ==31211== Releasing lock... [2025-03-20 02:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:17:15] Production.INFO: call_cost start [2025-03-20 02:17:15] Production.INFO: call_cost end [2025-03-20 02:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:17:16] Production.INFO: ==31207== Releasing lock... [2025-03-20 02:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:17:17] Production.INFO: count ==872 [2025-03-20 02:17:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:17:05 - End Time 2025-03-20 02:17:05 [2025-03-20 02:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719722', 'tblTempUsageDetail_20' ) start [2025-03-20 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719722', 'tblTempUsageDetail_20' ) end [2025-03-20 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719722', 'tblTempVendorCDR_20' ) start [2025-03-20 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719722', 'tblTempVendorCDR_20' ) end [2025-03-20 02:17:18] Production.INFO: ProcessCDR(1,14719722,1,1,2) [2025-03-20 02:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719722', 'tblTempUsageDetail_20' ) start [2025-03-20 02:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719722', 'tblTempUsageDetail_20' ) end [2025-03-20 02:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:17:21] Production.INFO: ==31215== Releasing lock... [2025-03-20 02:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:17:21] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 06:18:02] Production.INFO: ==31285== Lock acquired, processing the job... [2025-03-20 06:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:18:02] Production.INFO: neon service started [2025-03-20 06:18:02] Production.INFO: neon service started [2025-03-20 06:18:02] Production.INFO: ==31285== Releasing lock... [2025-03-20 06:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 02:18:02] Production.INFO: ==31287== Lock acquired, processing the job... [2025-03-20 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:18:02] Production.INFO: ==31287== Releasing lock... [2025-03-20 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:18:03] Production.INFO: ==31289== Lock acquired, processing the job... [2025-03-20 06:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:18:03] Production.INFO: ==31289== Releasing lock... [2025-03-20 06:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:18:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:18:03] Production.INFO: ==31291== Lock acquired, processing the job... [2025-03-20 02:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:18:03] Production.INFO: ==31296== Lock acquired, processing the job... [2025-03-20 02:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:18:03] Production.INFO: ==31294== Lock acquired, processing the job... [2025-03-20 02:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:18:04] Production.INFO: ==31298== Lock acquired, processing the job... [2025-03-20 02:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:18:04] Production.INFO: ==31302== Lock acquired, processing the job... [2025-03-20 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:18:04] Production.INFO: ==31300== Lock acquired, processing the job... [2025-03-20 02:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:18:04] Production.INFO: Account Balance Start. [2025-03-20 02:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:18:04] Production.INFO: CreateAllLog Start [2025-03-20 02:18:04] Production.INFO: 117 [2025-03-20 02:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.INFO: count ==12 [2025-03-20 02:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:18:04] Production.INFO: count ==23 [2025-03-20 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719726') start [2025-03-20 02:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719726') end [2025-03-20 02:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:18:04] Production.INFO: 1 [2025-03-20 02:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.INFO: ==31294== Releasing lock... [2025-03-20 02:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.INFO: ==31302== Releasing lock... [2025-03-20 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.ERROR: done [2025-03-20 02:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:18:04] Production.INFO: Total Charge 0 [2025-03-20 02:18:05] Production.INFO: CreateAllLog End [2025-03-20 02:18:05] Production.ERROR: done [2025-03-20 02:18:05] Production.INFO: Account Balance End. [2025-03-20 02:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:18:05] Production.INFO: ==31298== Releasing lock... [2025-03-20 02:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:18:06 [end_date_ymd] => 2025-03-20 02:18:06 [RateCDR] => 1 ) [2025-03-20 02:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:18:06' and `end` < '2025-03-20 02:18:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:18:13] Production.ERROR: CronJobId end10 [2025-03-20 02:18:13] Production.INFO: ==31296== Releasing lock... [2025-03-20 02:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:18:16] Production.INFO: call_cost start [2025-03-20 02:18:16] Production.INFO: call_cost end [2025-03-20 02:18:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:18:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:18:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:18:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:18:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:18:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:18:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:18:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:18:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:18:17] Production.INFO: ==31291== Releasing lock... [2025-03-20 02:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:18:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:18:18] Production.INFO: count ==870 [2025-03-20 02:18:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:18:06 - End Time 2025-03-20 02:18:06 [2025-03-20 02:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719727', 'tblTempUsageDetail_20' ) start [2025-03-20 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719727', 'tblTempUsageDetail_20' ) end [2025-03-20 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719727', 'tblTempVendorCDR_20' ) start [2025-03-20 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719727', 'tblTempVendorCDR_20' ) end [2025-03-20 02:18:19] Production.INFO: ProcessCDR(1,14719727,1,1,2) [2025-03-20 02:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719727', 'tblTempUsageDetail_20' ) start [2025-03-20 02:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719727', 'tblTempUsageDetail_20' ) end [2025-03-20 02:18:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:18:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:18:22] Production.INFO: ==31300== Releasing lock... [2025-03-20 02:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:18:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:19:01] Production.INFO: ==31379== Lock acquired, processing the job... [2025-03-20 06:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:19:01] Production.INFO: neon service started [2025-03-20 06:19:01] Production.INFO: neon service started [2025-03-20 06:19:01] Production.INFO: ==31379== Releasing lock... [2025-03-20 06:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:19:02] Production.INFO: ==31381== Lock acquired, processing the job... [2025-03-20 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:19:02] Production.INFO: ==31383== Lock acquired, processing the job... [2025-03-20 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:19:02] Production.INFO: ==31383== Releasing lock... [2025-03-20 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:19:02] Production.INFO: ==31381== Releasing lock... [2025-03-20 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:19:03] Production.INFO: ==31386== Lock acquired, processing the job... [2025-03-20 02:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:19:03] Production.INFO: ==31392== Lock acquired, processing the job... [2025-03-20 02:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:19:03] Production.INFO: ==31394== Lock acquired, processing the job... [2025-03-20 02:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:19:03] Production.INFO: ==31388== Lock acquired, processing the job... [2025-03-20 02:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:19:03] Production.INFO: ==31390== Lock acquired, processing the job... [2025-03-20 02:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:19:03] Production.INFO: Account Balance Start. [2025-03-20 02:19:03] Production.INFO: CreateAllLog Start [2025-03-20 02:19:03] Production.INFO: 117 [2025-03-20 02:19:03] Production.INFO: ==31396== Lock acquired, processing the job... [2025-03-20 02:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.ERROR: done [2025-03-20 02:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 02:19:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.INFO: ==31388== Releasing lock... [2025-03-20 02:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:19:04] Production.INFO: count ==12 [2025-03-20 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-03-20 02:19:04] Production.INFO: count ==23 [2025-03-20 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719731') start [2025-03-20 02:19:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.ERROR: done [2025-03-20 02:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719731') end [2025-03-20 02:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:19:04] Production.INFO: 1 [2025-03-20 02:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.INFO: ==31396== Releasing lock... [2025-03-20 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:19:04] Production.INFO: Total Charge 0 [2025-03-20 02:19:04] Production.INFO: CreateAllLog End [2025-03-20 02:19:04] Production.INFO: Account Balance End. [2025-03-20 02:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:19:04] Production.INFO: ==31392== Releasing lock... [2025-03-20 02:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:19:05 [end_date_ymd] => 2025-03-20 02:19:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:19:05' and `end` < '2025-03-20 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-03-20 02:19:12] Production.ERROR: CronJobId end10 [2025-03-20 02:19:12] Production.INFO: ==31390== Releasing lock... [2025-03-20 02:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:19:15] Production.INFO: call_cost start [2025-03-20 02:19:15] Production.INFO: call_cost end [2025-03-20 02:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:19:16] Production.INFO: ==31386== Releasing lock... [2025-03-20 02:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:19:17] Production.INFO: count ==870 [2025-03-20 02:19:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:19:05 - End Time 2025-03-20 02:19:05 [2025-03-20 02:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719732', 'tblTempUsageDetail_20' ) start [2025-03-20 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719732', 'tblTempUsageDetail_20' ) end [2025-03-20 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719732', 'tblTempVendorCDR_20' ) start [2025-03-20 02:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719732', 'tblTempVendorCDR_20' ) end [2025-03-20 02:19:17] Production.INFO: ProcessCDR(1,14719732,1,1,2) [2025-03-20 02:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719732', 'tblTempUsageDetail_20' ) start [2025-03-20 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719732', 'tblTempUsageDetail_20' ) end [2025-03-20 02:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:19:21] Production.INFO: ==31394== Releasing lock... [2025-03-20 02:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:19:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:20:02] Production.INFO: ==31461== Lock acquired, processing the job... [2025-03-20 06:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:20:02] Production.INFO: neon service started [2025-03-20 06:20:02] Production.INFO: neon service started [2025-03-20 06:20:02] Production.INFO: ==31461== Releasing lock... [2025-03-20 06:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:20:02] Production.INFO: ==31463== Lock acquired, processing the job... [2025-03-20 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:20:02] Production.INFO: ==31465== Lock acquired, processing the job... [2025-03-20 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:20:02] Production.INFO: ==31465== Releasing lock... [2025-03-20 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:20:03] Production.INFO: ==31463== Releasing lock... [2025-03-20 02:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:20:04] Production.INFO: ==31472== Lock acquired, processing the job... [2025-03-20 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:20:04] Production.INFO: ==31468== Lock acquired, processing the job... [2025-03-20 02:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 02:20:04] Production.INFO: ==31470== Lock acquired, processing the job... [2025-03-20 02:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:20:04] Production.INFO: ==31480== Lock acquired, processing the job... [2025-03-20 02:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 02:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 02:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 02:20:04] Production.ERROR: CronJob PID - 31472 [2025-03-20 02:20:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 02:20:04] Production.ERROR: CronJob ID - 7 [2025-03-20 02:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 02:20:00 [2025-03-20 02:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 02:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 02:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 02:20:04] Production.INFO: ==31468== Releasing lock... [2025-03-20 02:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 02:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 02:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:20:04] Production.INFO: ==31482== Lock acquired, processing the job... [2025-03-20 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:20:04] Production.INFO: ==31474== Lock acquired, processing the job... [2025-03-20 02:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:20:04] Production.INFO: ==31476== Lock acquired, processing the job... [2025-03-20 02:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:20:04] Production.INFO: ==31478== Lock acquired, processing the job... [2025-03-20 02:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:20:04] Production.INFO: ==31472== Releasing lock... [2025-03-20 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:20:04] Production.INFO: Account Balance Start. [2025-03-20 02:20:04] Production.INFO: CreateAllLog Start [2025-03-20 02:20:04] Production.INFO: 117 [2025-03-20 02:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 02:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:04] Production.INFO: count ==12 [2025-03-20 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-03-20 02:20:04] Production.INFO: count ==23 [2025-03-20 02:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719736') start [2025-03-20 02:20:05] Production.INFO: Date 2025-03-09 [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.ERROR: done [2025-03-20 02:20:05] Production.INFO: Date 2025-03-10 [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.INFO: Date 2025-03-11 [2025-03-20 02:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719736') end [2025-03-20 02:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:20:05] Production.INFO: 1 [2025-03-20 02:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 02:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719737', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 02:20:05] Production.INFO: Date 2025-03-12 [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.INFO: Date 2025-03-13 [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.INFO: Date 2025-03-14 [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.INFO: Date 2025-03-15 [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.INFO: ==31482== Releasing lock... [2025-03-20 02:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:20:05] Production.INFO: Date 2025-03-16 [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.ERROR: done [2025-03-20 02:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:20:05] Production.INFO: Total Charge 0 [2025-03-20 02:20:05] Production.INFO: CreateAllLog End [2025-03-20 02:20:05] Production.ERROR: done [2025-03-20 02:20:05] Production.INFO: Account Balance End. [2025-03-20 02:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:20:05] Production.INFO: ==31476== Releasing lock... [2025-03-20 02:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:20:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:20:07 [end_date_ymd] => 2025-03-20 02:20:07 [RateCDR] => 1 ) [2025-03-20 02:20:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:20:07' and `end` < '2025-03-20 02:20:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719737', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 02:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 02:20:09] Production.INFO: ProcessCDR(1,14719737,1,1,2) [2025-03-20 02:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719737,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719737,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:20:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:20:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:20:10] Production.INFO: ==31480== Releasing lock... [2025-03-20 02:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 02:20:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 02:20:14] Production.ERROR: CronJobId end10 [2025-03-20 02:20:14] Production.INFO: ==31474== Releasing lock... [2025-03-20 02:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:20:17] Production.INFO: call_cost start [2025-03-20 02:20:17] Production.INFO: call_cost end [2025-03-20 02:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:20:18] Production.INFO: ==31470== Releasing lock... [2025-03-20 02:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:20:19] Production.INFO: count ==870 [2025-03-20 02:20:19] Production.ERROR: pbx CDR StartTime 2025-03-19 23:20:07 - End Time 2025-03-20 02:20:07 [2025-03-20 02:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719738', 'tblTempUsageDetail_20' ) start [2025-03-20 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719738', 'tblTempUsageDetail_20' ) end [2025-03-20 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719738', 'tblTempVendorCDR_20' ) start [2025-03-20 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719738', 'tblTempVendorCDR_20' ) end [2025-03-20 02:20:19] Production.INFO: ProcessCDR(1,14719738,1,1,2) [2025-03-20 02:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719738', 'tblTempUsageDetail_20' ) start [2025-03-20 02:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719738', 'tblTempUsageDetail_20' ) end [2025-03-20 02:20:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:20:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:20:23] Production.INFO: ==31478== Releasing lock... [2025-03-20 02:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:20:23] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:21:01] Production.INFO: ==31553== Lock acquired, processing the job... [2025-03-20 06:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:21:01] Production.INFO: neon service started [2025-03-20 06:21:01] Production.INFO: neon service started [2025-03-20 06:21:01] Production.INFO: ==31553== Releasing lock... [2025-03-20 06:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:21:01] Production.INFO: ==31555== Lock acquired, processing the job... [2025-03-20 02:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:21:02] Production.INFO: ==31555== Releasing lock... [2025-03-20 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:21:02] Production.INFO: ==31557== Lock acquired, processing the job... [2025-03-20 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:21:02] Production.INFO: ==31557== Releasing lock... [2025-03-20 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:21:03] Production.INFO: ==31559== Lock acquired, processing the job... [2025-03-20 02:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:21:03] Production.INFO: ==31561== Lock acquired, processing the job... [2025-03-20 02:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:21:03] Production.INFO: ==31563== Lock acquired, processing the job... [2025-03-20 02:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:21:03] Production.INFO: ==31565== Lock acquired, processing the job... [2025-03-20 02:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:21:03] Production.INFO: ==31568== Lock acquired, processing the job... [2025-03-20 02:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:21:03] Production.INFO: Account Balance Start. [2025-03-20 02:21:03] Production.INFO: CreateAllLog Start [2025-03-20 02:21:03] Production.INFO: 117 [2025-03-20 02:21:03] Production.INFO: ==31561== Releasing lock... [2025-03-20 02:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:21:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:21:03] Production.INFO: ==31570== Lock acquired, processing the job... [2025-03-20 02:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:21:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:21:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:03] Production.INFO: count ==12 [2025-03-20 02:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:21:03] Production.INFO: count ==23 [2025-03-20 02:21:03] Production.INFO: Date 2025-03-14 [2025-03-20 02:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719742') start [2025-03-20 02:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719742') end [2025-03-20 02:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:21:04] Production.INFO: 1 [2025-03-20 02:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:21:04] Production.ERROR: done [2025-03-20 02:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:04] Production.INFO: ==31570== Releasing lock... [2025-03-20 02:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:21:04] Production.ERROR: done [2025-03-20 02:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:21:04] Production.INFO: Total Charge 0 [2025-03-20 02:21:04] Production.INFO: CreateAllLog End [2025-03-20 02:21:04] Production.INFO: Account Balance End. [2025-03-20 02:21:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:21:04] Production.INFO: ==31565== Releasing lock... [2025-03-20 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:21:05 [end_date_ymd] => 2025-03-20 02:21:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:21:05' and `end` < '2025-03-20 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-03-20 02:21:12] Production.ERROR: CronJobId end10 [2025-03-20 02:21:12] Production.INFO: ==31563== Releasing lock... [2025-03-20 02:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:21:14] Production.INFO: call_cost start [2025-03-20 02:21:14] Production.INFO: call_cost end [2025-03-20 02:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:21:15] Production.INFO: ==31559== Releasing lock... [2025-03-20 02:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:21:17] Production.INFO: count ==870 [2025-03-20 02:21:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:21:05 - End Time 2025-03-20 02:21:05 [2025-03-20 02:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719743', 'tblTempUsageDetail_20' ) start [2025-03-20 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719743', 'tblTempUsageDetail_20' ) end [2025-03-20 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719743', 'tblTempVendorCDR_20' ) start [2025-03-20 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719743', 'tblTempVendorCDR_20' ) end [2025-03-20 02:21:18] Production.INFO: ProcessCDR(1,14719743,1,1,2) [2025-03-20 02:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719743', 'tblTempUsageDetail_20' ) start [2025-03-20 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719743', 'tblTempUsageDetail_20' ) end [2025-03-20 02:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:21:21] Production.INFO: ==31568== Releasing lock... [2025-03-20 02:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:21:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:22:02] Production.INFO: ==31643== Lock acquired, processing the job... [2025-03-20 06:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:22:02] Production.INFO: neon service started [2025-03-20 06:22:02] Production.INFO: neon service started [2025-03-20 06:22:02] Production.INFO: ==31643== Releasing lock... [2025-03-20 06:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:22:02] Production.INFO: ==31649== Lock acquired, processing the job... [2025-03-20 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:22:02] Production.INFO: ==31649== Releasing lock... [2025-03-20 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:22:02] Production.INFO: ==31647== Lock acquired, processing the job... [2025-03-20 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:22:02] Production.INFO: ==31647== Releasing lock... [2025-03-20 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:22:03] Production.INFO: ==31658== Lock acquired, processing the job... [2025-03-20 02:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:22:03] Production.INFO: ==31662== Lock acquired, processing the job... [2025-03-20 02:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 02:22:04] Production.INFO: ==31652== Lock acquired, processing the job... [2025-03-20 02:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:22:04] Production.INFO: count ==12 [2025-03-20 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-03-20 02:22:04] Production.INFO: Account Balance Start. [2025-03-20 02:22:04] Production.INFO: CreateAllLog Start [2025-03-20 02:22:04] Production.INFO: count ==23 [2025-03-20 02:22:04] Production.INFO: 117 [2025-03-20 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719744') start [2025-03-20 02:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:22:04] Production.INFO: ==31654== Lock acquired, processing the job... [2025-03-20 02:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.INFO: ==31656== Lock acquired, processing the job... [2025-03-20 02:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719744') end [2025-03-20 02:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:22:04] Production.INFO: 1 [2025-03-20 02:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:22:04] Production.INFO: ==31660== Lock acquired, processing the job... [2025-03-20 02:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.INFO: ==31662== Releasing lock... [2025-03-20 02:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.INFO: ==31654== Releasing lock... [2025-03-20 02:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:22:04] Production.INFO: Total Charge 0 [2025-03-20 02:22:04] Production.INFO: CreateAllLog End [2025-03-20 02:22:04] Production.ERROR: done [2025-03-20 02:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:22:04] Production.INFO: Account Balance End. [2025-03-20 02:22:05] Production.ERROR: done [2025-03-20 02:22:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:22:05] Production.INFO: ==31658== Releasing lock... [2025-03-20 02:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:22:05 [end_date_ymd] => 2025-03-20 02:22:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:22:05' and `end` < '2025-03-20 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-03-20 02:22:13] Production.ERROR: CronJobId end10 [2025-03-20 02:22:13] Production.INFO: ==31656== Releasing lock... [2025-03-20 02:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:22:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:22:14] Production.INFO: call_cost start [2025-03-20 02:22:14] Production.INFO: call_cost end [2025-03-20 02:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:22:15] Production.INFO: ==31652== Releasing lock... [2025-03-20 02:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:22:18] Production.INFO: count ==867 [2025-03-20 02:22:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:22:05 - End Time 2025-03-20 02:22:05 [2025-03-20 02:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719748', 'tblTempUsageDetail_20' ) start [2025-03-20 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719748', 'tblTempUsageDetail_20' ) end [2025-03-20 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719748', 'tblTempVendorCDR_20' ) start [2025-03-20 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719748', 'tblTempVendorCDR_20' ) end [2025-03-20 02:22:18] Production.INFO: ProcessCDR(1,14719748,1,1,2) [2025-03-20 02:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719748', 'tblTempUsageDetail_20' ) start [2025-03-20 02:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719748', 'tblTempUsageDetail_20' ) end [2025-03-20 02:22:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:22:22] Production.INFO: ==31660== Releasing lock... [2025-03-20 02:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:22:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:23:01] Production.INFO: ==31730== Lock acquired, processing the job... [2025-03-20 06:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:23:01] Production.INFO: neon service started [2025-03-20 06:23:01] Production.INFO: neon service started [2025-03-20 06:23:01] Production.INFO: ==31730== Releasing lock... [2025-03-20 06:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:23:01] Production.INFO: ==31734== Lock acquired, processing the job... [2025-03-20 06:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:23:01] Production.INFO: ==31734== Releasing lock... [2025-03-20 06:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:23:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:23:02] Production.INFO: ==31732== Lock acquired, processing the job... [2025-03-20 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:23:02] Production.INFO: ==31732== Releasing lock... [2025-03-20 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:23:03] Production.INFO: ==31738== Lock acquired, processing the job... [2025-03-20 02:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:23:03] Production.INFO: ==31749== Lock acquired, processing the job... [2025-03-20 02:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:23:03] Production.INFO: count ==12 [2025-03-20 02:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:23:03] Production.INFO: count ==23 [2025-03-20 02:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719749') start [2025-03-20 02:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719749') end [2025-03-20 02:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:23:03] Production.INFO: 1 [2025-03-20 02:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:23:03] Production.INFO: ==31740== Lock acquired, processing the job... [2025-03-20 02:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:23:03] Production.INFO: ==31749== Releasing lock... [2025-03-20 02:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:23:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:23:03] Production.INFO: ==31742== Lock acquired, processing the job... [2025-03-20 02:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:23:03] Production.INFO: ==31744== Lock acquired, processing the job... [2025-03-20 02:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:23:03] Production.INFO: ==31747== Lock acquired, processing the job... [2025-03-20 02:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:23:03] Production.INFO: Account Balance Start. [2025-03-20 02:23:03] Production.INFO: CreateAllLog Start [2025-03-20 02:23:03] Production.INFO: 117 [2025-03-20 02:23:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:23:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:03] Production.INFO: Date 2025-03-14 [2025-03-20 02:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:04] Production.INFO: ==31740== Releasing lock... [2025-03-20 02:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:23:04] Production.ERROR: done [2025-03-20 02:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:23:04] Production.INFO: Total Charge 0 [2025-03-20 02:23:04] Production.INFO: CreateAllLog End [2025-03-20 02:23:04] Production.ERROR: done [2025-03-20 02:23:04] Production.INFO: Account Balance End. [2025-03-20 02:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:23:04] Production.INFO: ==31744== Releasing lock... [2025-03-20 02:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:23:05 [end_date_ymd] => 2025-03-20 02:23:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:23:05' and `end` < '2025-03-20 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-03-20 02:23:12] Production.ERROR: CronJobId end10 [2025-03-20 02:23:12] Production.INFO: ==31742== Releasing lock... [2025-03-20 02:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:23:14] Production.INFO: call_cost start [2025-03-20 02:23:14] Production.INFO: call_cost end [2025-03-20 02:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:23:15] Production.INFO: ==31738== Releasing lock... [2025-03-20 02:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:23:17] Production.INFO: count ==867 [2025-03-20 02:23:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:23:05 - End Time 2025-03-20 02:23:05 [2025-03-20 02:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719753', 'tblTempUsageDetail_20' ) start [2025-03-20 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719753', 'tblTempUsageDetail_20' ) end [2025-03-20 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719753', 'tblTempVendorCDR_20' ) start [2025-03-20 02:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719753', 'tblTempVendorCDR_20' ) end [2025-03-20 02:23:17] Production.INFO: ProcessCDR(1,14719753,1,1,2) [2025-03-20 02:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719753', 'tblTempUsageDetail_20' ) start [2025-03-20 02:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719753', 'tblTempUsageDetail_20' ) end [2025-03-20 02:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:23:21] Production.INFO: ==31747== Releasing lock... [2025-03-20 02:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:23:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:24:01] Production.INFO: ==31817== Lock acquired, processing the job... [2025-03-20 06:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:24:01] Production.INFO: neon service started [2025-03-20 06:24:01] Production.INFO: neon service started [2025-03-20 06:24:01] Production.INFO: ==31817== Releasing lock... [2025-03-20 06:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:24:02] Production.INFO: ==31819== Lock acquired, processing the job... [2025-03-20 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:24:02] Production.INFO: ==31819== Releasing lock... [2025-03-20 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:24:02] Production.INFO: ==31821== Lock acquired, processing the job... [2025-03-20 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:24:02] Production.INFO: ==31821== Releasing lock... [2025-03-20 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:24:03] Production.INFO: ==31828== Lock acquired, processing the job... [2025-03-20 02:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:24:03] Production.INFO: ==31834== Lock acquired, processing the job... [2025-03-20 02:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:24:03] Production.INFO: ==31824== Lock acquired, processing the job... [2025-03-20 02:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:24:03] Production.INFO: ==31826== Lock acquired, processing the job... [2025-03-20 02:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:24:03] Production.INFO: count ==12 [2025-03-20 02:24:03] Production.INFO: ==31830== Lock acquired, processing the job... [2025-03-20 02:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:24:03] Production.INFO: count ==23 [2025-03-20 02:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719754') start [2025-03-20 02:24:03] Production.INFO: ==31832== Lock acquired, processing the job... [2025-03-20 02:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:24:04] Production.INFO: Account Balance Start. [2025-03-20 02:24:04] Production.INFO: CreateAllLog Start [2025-03-20 02:24:04] Production.INFO: 117 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719754') end [2025-03-20 02:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:24:04] Production.INFO: 1 [2025-03-20 02:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: ==31834== Releasing lock... [2025-03-20 02:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:24:04] Production.INFO: ==31826== Releasing lock... [2025-03-20 02:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.ERROR: done [2025-03-20 02:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:24:04] Production.INFO: Total Charge 0 [2025-03-20 02:24:04] Production.INFO: CreateAllLog End [2025-03-20 02:24:04] Production.ERROR: done [2025-03-20 02:24:04] Production.INFO: Account Balance End. [2025-03-20 02:24:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:24:05] Production.INFO: ==31830== Releasing lock... [2025-03-20 02:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:24:05 [end_date_ymd] => 2025-03-20 02:24:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:24:05' and `end` < '2025-03-20 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-03-20 02:24:12] Production.ERROR: CronJobId end10 [2025-03-20 02:24:12] Production.INFO: ==31828== Releasing lock... [2025-03-20 02:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:24:15] Production.INFO: call_cost start [2025-03-20 02:24:15] Production.INFO: call_cost end [2025-03-20 02:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:24:16] Production.INFO: ==31824== Releasing lock... [2025-03-20 02:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:24:18] Production.INFO: count ==862 [2025-03-20 02:24:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:24:05 - End Time 2025-03-20 02:24:05 [2025-03-20 02:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719758', 'tblTempUsageDetail_20' ) start [2025-03-20 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719758', 'tblTempUsageDetail_20' ) end [2025-03-20 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719758', 'tblTempVendorCDR_20' ) start [2025-03-20 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719758', 'tblTempVendorCDR_20' ) end [2025-03-20 02:24:18] Production.INFO: ProcessCDR(1,14719758,1,1,2) [2025-03-20 02:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719758', 'tblTempUsageDetail_20' ) start [2025-03-20 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719758', 'tblTempUsageDetail_20' ) end [2025-03-20 02:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:24:21] Production.INFO: ==31832== Releasing lock... [2025-03-20 02:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:24:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 06:25:01] Production.INFO: ==31905== Lock acquired, processing the job... [2025-03-20 06:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:25:01] Production.INFO: neon service started [2025-03-20 06:25:01] Production.INFO: neon service started [2025-03-20 06:25:01] Production.INFO: ==31905== Releasing lock... [2025-03-20 06:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:25:02] Production.INFO: ==31909== Lock acquired, processing the job... [2025-03-20 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:25:02] Production.INFO: ==31909== Releasing lock... [2025-03-20 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:25:02] Production.INFO: ==31907== Lock acquired, processing the job... [2025-03-20 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:25:02] Production.INFO: ==31907== Releasing lock... [2025-03-20 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:25:03] Production.INFO: ==31912== Lock acquired, processing the job... [2025-03-20 02:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:25:03] Production.INFO: ==31914== Lock acquired, processing the job... [2025-03-20 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:25:03] Production.INFO: ==31916== Lock acquired, processing the job... [2025-03-20 02:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:25:03] Production.INFO: ==31918== Lock acquired, processing the job... [2025-03-20 02:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:25:03] Production.INFO: ==31920== Lock acquired, processing the job... [2025-03-20 02:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:25:03] Production.INFO: ==31914== Releasing lock... [2025-03-20 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:25:03] Production.INFO: Account Balance Start. [2025-03-20 02:25:03] Production.INFO: CreateAllLog Start [2025-03-20 02:25:03] Production.INFO: 117 [2025-03-20 02:25:03] Production.INFO: ==31922== Lock acquired, processing the job... [2025-03-20 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:25:03] Production.INFO: count ==12 [2025-03-20 02:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:25:04] Production.INFO: count ==23 [2025-03-20 02:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719762') start [2025-03-20 02:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:04] Production.ERROR: done [2025-03-20 02:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719762') end [2025-03-20 02:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:25:04] Production.INFO: 1 [2025-03-20 02:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:04] Production.INFO: ==31922== Releasing lock... [2025-03-20 02:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:04] Production.ERROR: done [2025-03-20 02:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:25:04] Production.INFO: Total Charge 0 [2025-03-20 02:25:04] Production.INFO: CreateAllLog End [2025-03-20 02:25:04] Production.INFO: Account Balance End. [2025-03-20 02:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:25:04] Production.INFO: ==31918== Releasing lock... [2025-03-20 02:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:25:05 [end_date_ymd] => 2025-03-20 02:25:05 [RateCDR] => 1 ) [2025-03-20 02:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:25:05' and `end` < '2025-03-20 02:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:25:12] Production.ERROR: CronJobId end10 [2025-03-20 02:25:12] Production.INFO: ==31916== Releasing lock... [2025-03-20 02:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:25:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:25:15] Production.INFO: call_cost start [2025-03-20 02:25:15] Production.INFO: call_cost end [2025-03-20 02:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:25:16] Production.INFO: ==31912== Releasing lock... [2025-03-20 02:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:25:17] Production.INFO: count ==861 [2025-03-20 02:25:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:25:05 - End Time 2025-03-20 02:25:05 [2025-03-20 02:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719763', 'tblTempUsageDetail_20' ) start [2025-03-20 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719763', 'tblTempUsageDetail_20' ) end [2025-03-20 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719763', 'tblTempVendorCDR_20' ) start [2025-03-20 02:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719763', 'tblTempVendorCDR_20' ) end [2025-03-20 02:25:17] Production.INFO: ProcessCDR(1,14719763,1,1,2) [2025-03-20 02:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719763', 'tblTempUsageDetail_20' ) start [2025-03-20 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719763', 'tblTempUsageDetail_20' ) end [2025-03-20 02:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:25:21] Production.INFO: ==31920== Releasing lock... [2025-03-20 02:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:25:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 06:26:01] Production.INFO: ==32000== Lock acquired, processing the job... [2025-03-20 06:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:26:01] Production.INFO: neon service started [2025-03-20 06:26:01] Production.INFO: neon service started [2025-03-20 06:26:01] Production.INFO: ==32000== Releasing lock... [2025-03-20 06:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:26:02] Production.INFO: ==32004== Lock acquired, processing the job... [2025-03-20 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:26:02] Production.INFO: ==32004== Releasing lock... [2025-03-20 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:26:02] Production.INFO: ==32002== Lock acquired, processing the job... [2025-03-20 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:26:02] Production.INFO: ==32002== Releasing lock... [2025-03-20 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:26:03] Production.INFO: ==32007== Lock acquired, processing the job... [2025-03-20 02:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:26:03] Production.INFO: ==32009== Lock acquired, processing the job... [2025-03-20 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:26:03] Production.INFO: ==32011== Lock acquired, processing the job... [2025-03-20 02:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:26:04] Production.INFO: ==32013== Lock acquired, processing the job... [2025-03-20 02:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:26:04] Production.INFO: ==32015== Lock acquired, processing the job... [2025-03-20 02:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:26:04] Production.INFO: Account Balance Start. [2025-03-20 02:26:04] Production.INFO: CreateAllLog Start [2025-03-20 02:26:04] Production.INFO: 117 [2025-03-20 02:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:26:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: ==32009== Releasing lock... [2025-03-20 02:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:26:04] Production.INFO: ==32017== Lock acquired, processing the job... [2025-03-20 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: count ==12 [2025-03-20 02:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:26:04] Production.INFO: count ==23 [2025-03-20 02:26:04] Production.ERROR: done [2025-03-20 02:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719767') start [2025-03-20 02:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:26:04] Production.INFO: Total Charge 0 [2025-03-20 02:26:04] Production.INFO: CreateAllLog End [2025-03-20 02:26:04] Production.ERROR: done [2025-03-20 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719767') end [2025-03-20 02:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:26:04] Production.INFO: 1 [2025-03-20 02:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:26:04] Production.INFO: Account Balance End. [2025-03-20 02:26:05] Production.INFO: ==32017== Releasing lock... [2025-03-20 02:26:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:26:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:26:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:26:05] Production.INFO: ==32013== Releasing lock... [2025-03-20 02:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:26:05 [end_date_ymd] => 2025-03-20 02:26:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:26:05' and `end` < '2025-03-20 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-03-20 02:26:12] Production.ERROR: CronJobId end10 [2025-03-20 02:26:12] Production.INFO: ==32011== Releasing lock... [2025-03-20 02:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:26:15] Production.INFO: call_cost start [2025-03-20 02:26:15] Production.INFO: call_cost end [2025-03-20 02:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:26:16] Production.INFO: ==32007== Releasing lock... [2025-03-20 02:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:26:17] Production.INFO: count ==861 [2025-03-20 02:26:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:26:05 - End Time 2025-03-20 02:26:05 [2025-03-20 02:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719768', 'tblTempUsageDetail_20' ) start [2025-03-20 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719768', 'tblTempUsageDetail_20' ) end [2025-03-20 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719768', 'tblTempVendorCDR_20' ) start [2025-03-20 02:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719768', 'tblTempVendorCDR_20' ) end [2025-03-20 02:26:18] Production.INFO: ProcessCDR(1,14719768,1,1,2) [2025-03-20 02:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719768', 'tblTempUsageDetail_20' ) start [2025-03-20 02:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719768', 'tblTempUsageDetail_20' ) end [2025-03-20 02:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:26:21] Production.INFO: ==32015== Releasing lock... [2025-03-20 02:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:26:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 06:27:01] Production.INFO: ==32086== Lock acquired, processing the job... [2025-03-20 06:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:27:01] Production.INFO: neon service started [2025-03-20 06:27:01] Production.INFO: neon service started [2025-03-20 06:27:01] Production.INFO: ==32086== Releasing lock... [2025-03-20 06:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:27:01] Production.INFO: ==32088== Lock acquired, processing the job... [2025-03-20 02:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:27:02] Production.INFO: ==32088== Releasing lock... [2025-03-20 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:27:02] Production.INFO: ==32090== Lock acquired, processing the job... [2025-03-20 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:27:02] Production.INFO: ==32090== Releasing lock... [2025-03-20 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:27:02] Production.INFO: ==32093== Lock acquired, processing the job... [2025-03-20 02:27:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:27:03] Production.INFO: ==32095== Lock acquired, processing the job... [2025-03-20 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:27:03] Production.INFO: ==32097== Lock acquired, processing the job... [2025-03-20 02:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:27:03] Production.INFO: ==32101== Lock acquired, processing the job... [2025-03-20 02:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:27:03] Production.INFO: ==32099== Lock acquired, processing the job... [2025-03-20 02:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:27:03] Production.INFO: ==32103== Lock acquired, processing the job... [2025-03-20 02:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:27:03] Production.INFO: ==32095== Releasing lock... [2025-03-20 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:27:03] Production.INFO: Account Balance Start. [2025-03-20 02:27:03] Production.INFO: CreateAllLog Start [2025-03-20 02:27:03] Production.INFO: 117 [2025-03-20 02:27:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:27:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: count ==12 [2025-03-20 02:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:27:03] Production.INFO: count ==23 [2025-03-20 02:27:03] Production.ERROR: done [2025-03-20 02:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719772') start [2025-03-20 02:27:03] Production.INFO: Date 2025-03-14 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: Date 2025-03-15 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: Date 2025-03-16 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: Date 2025-03-17 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: Date 2025-03-18 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: Date 2025-03-19 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.INFO: Date 2025-03-20 [2025-03-20 02:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:27:03] Production.ERROR: done [2025-03-20 02:27:03] Production.INFO: Total Charge 0 [2025-03-20 02:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719772') end [2025-03-20 02:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:27:03] Production.INFO: 1 [2025-03-20 02:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:27:03] Production.INFO: CreateAllLog End [2025-03-20 02:27:04] Production.INFO: ==32103== Releasing lock... [2025-03-20 02:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:27:04] Production.INFO: Account Balance End. [2025-03-20 02:27:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:27:04] Production.INFO: ==32099== Releasing lock... [2025-03-20 02:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:27:05 [end_date_ymd] => 2025-03-20 02:27:05 [RateCDR] => 1 ) [2025-03-20 02:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:27:05' and `end` < '2025-03-20 02:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:27:11] Production.ERROR: CronJobId end10 [2025-03-20 02:27:11] Production.INFO: ==32097== Releasing lock... [2025-03-20 02:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:27:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:27:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:27:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:27:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:27:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:27:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:27:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:27:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:27:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:27:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:27:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:27:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:27:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:27:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:27:14] Production.INFO: call_cost start [2025-03-20 02:27:14] Production.INFO: call_cost end [2025-03-20 02:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:27:15] Production.INFO: ==32093== Releasing lock... [2025-03-20 02:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:27:17] Production.INFO: count ==856 [2025-03-20 02:27:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:27:05 - End Time 2025-03-20 02:27:05 [2025-03-20 02:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719773', 'tblTempUsageDetail_20' ) start [2025-03-20 02:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719773', 'tblTempUsageDetail_20' ) end [2025-03-20 02:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719773', 'tblTempVendorCDR_20' ) start [2025-03-20 02:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719773', 'tblTempVendorCDR_20' ) end [2025-03-20 02:27:17] Production.INFO: ProcessCDR(1,14719773,1,1,2) [2025-03-20 02:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719773', 'tblTempUsageDetail_20' ) start [2025-03-20 02:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719773', 'tblTempUsageDetail_20' ) end [2025-03-20 02:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:27:21] Production.INFO: ==32101== Releasing lock... [2025-03-20 02:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:27:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:28:01] Production.INFO: ==32174== Lock acquired, processing the job... [2025-03-20 06:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:28:01] Production.INFO: neon service started [2025-03-20 06:28:01] Production.INFO: neon service started [2025-03-20 06:28:01] Production.INFO: ==32174== Releasing lock... [2025-03-20 06:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:28:02] Production.INFO: ==32176== Lock acquired, processing the job... [2025-03-20 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:28:02] Production.INFO: ==32176== Releasing lock... [2025-03-20 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:28:02] Production.INFO: ==32178== Lock acquired, processing the job... [2025-03-20 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:28:02] Production.INFO: ==32178== Releasing lock... [2025-03-20 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:28:03] Production.INFO: ==32181== Lock acquired, processing the job... [2025-03-20 02:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:28:03] Production.INFO: ==32185== Lock acquired, processing the job... [2025-03-20 02:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:28:03] Production.INFO: ==32189== Lock acquired, processing the job... [2025-03-20 02:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:28:03] Production.INFO: ==32183== Lock acquired, processing the job... [2025-03-20 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:28:03] Production.INFO: ==32187== Lock acquired, processing the job... [2025-03-20 02:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:28:04] Production.ERROR: done [2025-03-20 02:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:28:04] Production.INFO: ==32191== Lock acquired, processing the job... [2025-03-20 02:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:28:04] Production.INFO: Account Balance Start. [2025-03-20 02:28:04] Production.INFO: CreateAllLog Start [2025-03-20 02:28:04] Production.INFO: 117 [2025-03-20 02:28:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.ERROR: done [2025-03-20 02:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.INFO: count ==12 [2025-03-20 02:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:28:04] Production.INFO: count ==23 [2025-03-20 02:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.INFO: ==32183== Releasing lock... [2025-03-20 02:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719777') start [2025-03-20 02:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719777') end [2025-03-20 02:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:28:04] Production.INFO: 1 [2025-03-20 02:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.INFO: ==32191== Releasing lock... [2025-03-20 02:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:28:04] Production.INFO: Total Charge 0 [2025-03-20 02:28:04] Production.INFO: CreateAllLog End [2025-03-20 02:28:05] Production.INFO: Account Balance End. [2025-03-20 02:28:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:28:05] Production.INFO: ==32187== Releasing lock... [2025-03-20 02:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:28:05 [end_date_ymd] => 2025-03-20 02:28:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:28:05' and `end` < '2025-03-20 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-03-20 02:28:12] Production.ERROR: CronJobId end10 [2025-03-20 02:28:12] Production.INFO: ==32185== Releasing lock... [2025-03-20 02:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:28:14] Production.INFO: call_cost start [2025-03-20 02:28:14] Production.INFO: call_cost end [2025-03-20 02:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:28:15] Production.INFO: ==32181== Releasing lock... [2025-03-20 02:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:28:17] Production.INFO: count ==854 [2025-03-20 02:28:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:28:05 - End Time 2025-03-20 02:28:05 [2025-03-20 02:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719778', 'tblTempUsageDetail_20' ) start [2025-03-20 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719778', 'tblTempUsageDetail_20' ) end [2025-03-20 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719778', 'tblTempVendorCDR_20' ) start [2025-03-20 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719778', 'tblTempVendorCDR_20' ) end [2025-03-20 02:28:17] Production.INFO: ProcessCDR(1,14719778,1,1,2) [2025-03-20 02:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719778', 'tblTempUsageDetail_20' ) start [2025-03-20 02:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719778', 'tblTempUsageDetail_20' ) end [2025-03-20 02:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:28:21] Production.INFO: ==32189== Releasing lock... [2025-03-20 02:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:28:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 06:29:02] Production.INFO: ==32260== Lock acquired, processing the job... [2025-03-20 06:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:29:02] Production.INFO: neon service started [2025-03-20 06:29:02] Production.INFO: neon service started [2025-03-20 06:29:02] Production.INFO: ==32260== Releasing lock... [2025-03-20 06:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:29:02] Production.INFO: ==32262== Lock acquired, processing the job... [2025-03-20 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:29:03] Production.INFO: ==32262== Releasing lock... [2025-03-20 02:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:29:03] Production.INFO: ==32264== Lock acquired, processing the job... [2025-03-20 06:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:29:03] Production.INFO: ==32264== Releasing lock... [2025-03-20 06:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:29:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:29:04] Production.INFO: ==32275== Lock acquired, processing the job... [2025-03-20 02:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:29:04] Production.INFO: ==32277== Lock acquired, processing the job... [2025-03-20 02:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:29:04] Production.INFO: ==32266== Lock acquired, processing the job... [2025-03-20 02:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 02:29:04] Production.INFO: count ==12 [2025-03-20 02:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 02:29:04] Production.INFO: ==32268== Lock acquired, processing the job... [2025-03-20 02:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:29:04] Production.INFO: count ==23 [2025-03-20 02:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719779') start [2025-03-20 02:29:04] Production.INFO: ==32270== Lock acquired, processing the job... [2025-03-20 02:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:29:04] Production.INFO: ==32272== Lock acquired, processing the job... [2025-03-20 02:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719779') end [2025-03-20 02:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:29:04] Production.INFO: 1 [2025-03-20 02:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:29:04] Production.INFO: Account Balance Start. [2025-03-20 02:29:04] Production.INFO: CreateAllLog Start [2025-03-20 02:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:29:04] Production.INFO: 117 [2025-03-20 02:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.INFO: ==32277== Releasing lock... [2025-03-20 02:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.ERROR: done [2025-03-20 02:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.INFO: ==32268== Releasing lock... [2025-03-20 02:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.ERROR: done [2025-03-20 02:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:29:04] Production.INFO: Total Charge 0 [2025-03-20 02:29:05] Production.INFO: CreateAllLog End [2025-03-20 02:29:05] Production.INFO: Account Balance End. [2025-03-20 02:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:29:05] Production.INFO: ==32272== Releasing lock... [2025-03-20 02:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:29:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:29:06 [end_date_ymd] => 2025-03-20 02:29:06 [RateCDR] => 1 ) [2025-03-20 02:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:29:06' and `end` < '2025-03-20 02:29:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:29:13] Production.ERROR: CronJobId end10 [2025-03-20 02:29:13] Production.INFO: ==32270== Releasing lock... [2025-03-20 02:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:29:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:29:15] Production.INFO: call_cost start [2025-03-20 02:29:15] Production.INFO: call_cost end [2025-03-20 02:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:29:16] Production.INFO: ==32266== Releasing lock... [2025-03-20 02:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:29:18] Production.INFO: count ==851 [2025-03-20 02:29:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:29:06 - End Time 2025-03-20 02:29:06 [2025-03-20 02:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719783', 'tblTempUsageDetail_20' ) start [2025-03-20 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719783', 'tblTempUsageDetail_20' ) end [2025-03-20 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719783', 'tblTempVendorCDR_20' ) start [2025-03-20 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719783', 'tblTempVendorCDR_20' ) end [2025-03-20 02:29:18] Production.INFO: ProcessCDR(1,14719783,1,1,2) [2025-03-20 02:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719783', 'tblTempUsageDetail_20' ) start [2025-03-20 02:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719783', 'tblTempUsageDetail_20' ) end [2025-03-20 02:29:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:29:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:29:22] Production.INFO: ==32275== Releasing lock... [2025-03-20 02:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:29:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:30:01] Production.INFO: ==32384== Lock acquired, processing the job... [2025-03-20 06:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:30:01] Production.INFO: neon service started [2025-03-20 06:30:01] Production.INFO: neon service started [2025-03-20 06:30:01] Production.INFO: ==32384== Releasing lock... [2025-03-20 06:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:30:02] Production.INFO: ==32388== Lock acquired, processing the job... [2025-03-20 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:30:02] Production.INFO: ==32388== Releasing lock... [2025-03-20 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:30:02] Production.INFO: ==32386== Lock acquired, processing the job... [2025-03-20 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:30:02] Production.INFO: ==32386== Releasing lock... [2025-03-20 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:30:03] Production.INFO: ==32393== Lock acquired, processing the job... [2025-03-20 02:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:30:03] Production.INFO: ==32390== Lock acquired, processing the job... [2025-03-20 02:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 02:30:03] Production.INFO: ==32401== Lock acquired, processing the job... [2025-03-20 02:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:30:04] Production.INFO: ==32403== Lock acquired, processing the job... [2025-03-20 02:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 02:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 02:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 02:30:04] Production.ERROR: CronJob PID - 32393 [2025-03-20 02:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 02:30:04] Production.ERROR: CronJob ID - 5 [2025-03-20 02:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 02:30:00 [2025-03-20 02:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 02:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 02:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 02:30:04] Production.ERROR: CronJob PID - 32401 [2025-03-20 02:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 02:30:04] Production.ERROR: CronJob ID - 16 [2025-03-20 02:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 02:30:00 [2025-03-20 02:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 02:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 02:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 02:30:04] Production.INFO: ==32390== Releasing lock... [2025-03-20 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 02:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 02:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:30:04] Production.INFO: ==32395== Lock acquired, processing the job... [2025-03-20 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:30:04] Production.INFO: ==32405== Lock acquired, processing the job... [2025-03-20 02:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:30:04] Production.INFO: ==32397== Lock acquired, processing the job... [2025-03-20 02:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:30:04] Production.INFO: ==32399== Lock acquired, processing the job... [2025-03-20 02:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:30:04] Production.INFO: Account Balance Start. [2025-03-20 02:30:04] Production.INFO: CreateAllLog Start [2025-03-20 02:30:04] Production.INFO: 117 [2025-03-20 02:30:04] Production.INFO: count ==12 [2025-03-20 02:30:04] Production.ERROR: done [2025-03-20 02:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:30:04] Production.INFO: count ==23 [2025-03-20 02:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719785') start [2025-03-20 02:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:04] Production.ERROR: done [2025-03-20 02:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 02:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719788', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 02:30:04] Production.ERROR: done [2025-03-20 02:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:04] Production.INFO: ==32395== Releasing lock... [2025-03-20 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719785') end [2025-03-20 02:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:30:04] Production.INFO: 1 [2025-03-20 02:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:04] Production.INFO: ==32405== Releasing lock... [2025-03-20 02:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:05] Production.INFO: Date 2025-03-15 [2025-03-20 02:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:05] Production.INFO: Date 2025-03-16 [2025-03-20 02:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 02:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:30:05] Production.INFO: Total Charge 0 [2025-03-20 02:30:05] Production.INFO: CreateAllLog End [2025-03-20 02:30:05] Production.INFO: Account Balance End. [2025-03-20 02:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:30:05] Production.INFO: ==32399== Releasing lock... [2025-03-20 02:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:30:06 [end_date_ymd] => 2025-03-20 02:30:06 [RateCDR] => 1 ) [2025-03-20 02:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:30:06' and `end` < '2025-03-20 02:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719788', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 02:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 02:30:08] Production.INFO: ProcessCDR(1,14719788,1,1,2) [2025-03-20 02:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719788,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719788,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:30:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:30:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:30:08] Production.INFO: ==32403== Releasing lock... [2025-03-20 02:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 02:30:08] Production.INFO: 26 MB #Memory Used# [2025-03-20 02:30:13] Production.ERROR: CronJobId end10 [2025-03-20 02:30:13] Production.INFO: ==32397== Releasing lock... [2025-03-20 02:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:30:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:30:16] Production.INFO: call_cost start [2025-03-20 02:30:16] Production.INFO: call_cost end [2025-03-20 02:30:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:30:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:30:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:30:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:30:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:30:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:30:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:30:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:30:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:30:16] Production.INFO: ==32393== Releasing lock... [2025-03-20 02:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:30:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:30:18] Production.INFO: count ==853 [2025-03-20 02:30:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:30:06 - End Time 2025-03-20 02:30:06 [2025-03-20 02:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719789', 'tblTempUsageDetail_20' ) start [2025-03-20 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719789', 'tblTempUsageDetail_20' ) end [2025-03-20 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719789', 'tblTempVendorCDR_20' ) start [2025-03-20 02:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719789', 'tblTempVendorCDR_20' ) end [2025-03-20 02:30:18] Production.INFO: ProcessCDR(1,14719789,1,1,2) [2025-03-20 02:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719789', 'tblTempUsageDetail_20' ) start [2025-03-20 02:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719789', 'tblTempUsageDetail_20' ) end [2025-03-20 02:30:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:30:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:30:21] Production.INFO: ==32401== Releasing lock... [2025-03-20 02:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:30:21] Production.INFO: 35 MB #Memory Used# [2025-03-20 06:31:02] Production.INFO: ==32475== Lock acquired, processing the job... [2025-03-20 06:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:31:02] Production.INFO: neon service started [2025-03-20 06:31:02] Production.INFO: neon service started [2025-03-20 06:31:02] Production.INFO: ==32475== Releasing lock... [2025-03-20 06:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:31:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 06:31:02] Production.INFO: ==32479== Lock acquired, processing the job... [2025-03-20 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:31:02] Production.INFO: ==32479== Releasing lock... [2025-03-20 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:31:02] Production.INFO: ==32477== Lock acquired, processing the job... [2025-03-20 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:31:03] Production.INFO: ==32477== Releasing lock... [2025-03-20 02:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:31:03] Production.INFO: ==32481== Lock acquired, processing the job... [2025-03-20 02:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:31:04] Production.INFO: ==32485== Lock acquired, processing the job... [2025-03-20 02:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:31:04] Production.INFO: ==32488== Lock acquired, processing the job... [2025-03-20 02:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:31:04] Production.INFO: ==32483== Lock acquired, processing the job... [2025-03-20 02:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:31:04] Production.INFO: Account Balance Start. [2025-03-20 02:31:04] Production.INFO: CreateAllLog Start [2025-03-20 02:31:04] Production.INFO: 117 [2025-03-20 02:31:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.INFO: ==32490== Lock acquired, processing the job... [2025-03-20 02:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.INFO: ==32492== Lock acquired, processing the job... [2025-03-20 02:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.INFO: count ==12 [2025-03-20 02:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:31:04] Production.INFO: count ==23 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719793') start [2025-03-20 02:31:04] Production.INFO: ==32483== Releasing lock... [2025-03-20 02:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719793') end [2025-03-20 02:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:31:04] Production.INFO: 1 [2025-03-20 02:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.INFO: ==32492== Releasing lock... [2025-03-20 02:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:31:04] Production.ERROR: done [2025-03-20 02:31:04] Production.INFO: Total Charge 0 [2025-03-20 02:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:31:04] Production.INFO: CreateAllLog End [2025-03-20 02:31:05] Production.ERROR: done [2025-03-20 02:31:05] Production.INFO: Account Balance End. [2025-03-20 02:31:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:31:05] Production.INFO: ==32488== Releasing lock... [2025-03-20 02:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:31:05 [end_date_ymd] => 2025-03-20 02:31:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:31:05' and `end` < '2025-03-20 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-03-20 02:31:12] Production.ERROR: CronJobId end10 [2025-03-20 02:31:12] Production.INFO: ==32485== Releasing lock... [2025-03-20 02:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:31:14] Production.INFO: call_cost start [2025-03-20 02:31:14] Production.INFO: call_cost end [2025-03-20 02:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:31:15] Production.INFO: ==32481== Releasing lock... [2025-03-20 02:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:31:18] Production.INFO: count ==852 [2025-03-20 02:31:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:31:05 - End Time 2025-03-20 02:31:05 [2025-03-20 02:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719794', 'tblTempUsageDetail_20' ) start [2025-03-20 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719794', 'tblTempUsageDetail_20' ) end [2025-03-20 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719794', 'tblTempVendorCDR_20' ) start [2025-03-20 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719794', 'tblTempVendorCDR_20' ) end [2025-03-20 02:31:18] Production.INFO: ProcessCDR(1,14719794,1,1,2) [2025-03-20 02:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719794', 'tblTempUsageDetail_20' ) start [2025-03-20 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719794', 'tblTempUsageDetail_20' ) end [2025-03-20 02:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:31:21] Production.INFO: ==32490== Releasing lock... [2025-03-20 02:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:31:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:32:01] Production.INFO: ==32565== Lock acquired, processing the job... [2025-03-20 06:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:32:01] Production.INFO: neon service started [2025-03-20 06:32:01] Production.INFO: neon service started [2025-03-20 06:32:01] Production.INFO: ==32565== Releasing lock... [2025-03-20 06:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:32:02] Production.INFO: ==32569== Lock acquired, processing the job... [2025-03-20 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:32:02] Production.INFO: ==32569== Releasing lock... [2025-03-20 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:32:02] Production.INFO: ==32567== Lock acquired, processing the job... [2025-03-20 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:32:02] Production.INFO: ==32567== Releasing lock... [2025-03-20 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:32:03] Production.INFO: ==32578== Lock acquired, processing the job... [2025-03-20 02:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:32:03] Production.INFO: ==32580== Lock acquired, processing the job... [2025-03-20 02:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:32:03] Production.INFO: Account Balance Start. [2025-03-20 02:32:03] Production.INFO: CreateAllLog Start [2025-03-20 02:32:03] Production.INFO: 117 [2025-03-20 02:32:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:03] Production.INFO: ==32572== Lock acquired, processing the job... [2025-03-20 02:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:32:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:03] Production.INFO: ==32574== Lock acquired, processing the job... [2025-03-20 02:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:32:03] Production.INFO: ==32576== Lock acquired, processing the job... [2025-03-20 02:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:32:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:03] Production.INFO: ==32582== Lock acquired, processing the job... [2025-03-20 02:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:32:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02: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-03-20 02:32:03] Production.INFO: Date 2025-03-14 [2025-03-20 02:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:03] Production.INFO: Date 2025-03-15 [2025-03-20 02:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:04] Production.INFO: count ==12 [2025-03-20 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-03-20 02:32:04] Production.INFO: count ==23 [2025-03-20 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719796') start [2025-03-20 02:32:04] Production.ERROR: done [2025-03-20 02:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:32:04] Production.INFO: ==32574== Releasing lock... [2025-03-20 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:32:04] Production.ERROR: done [2025-03-20 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719796') end [2025-03-20 02:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:32:04] Production.INFO: 1 [2025-03-20 02:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:32:04] Production.INFO: Total Charge 0 [2025-03-20 02:32:04] Production.INFO: CreateAllLog End [2025-03-20 02:32:04] Production.INFO: ==32582== Releasing lock... [2025-03-20 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:32:04] Production.INFO: Account Balance End. [2025-03-20 02:32:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:32:04] Production.INFO: ==32578== Releasing lock... [2025-03-20 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:32:05 [end_date_ymd] => 2025-03-20 02:32:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:32:05' and `end` < '2025-03-20 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-03-20 02:32:12] Production.ERROR: CronJobId end10 [2025-03-20 02:32:12] Production.INFO: ==32576== Releasing lock... [2025-03-20 02:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:32:15] Production.INFO: call_cost start [2025-03-20 02:32:15] Production.INFO: call_cost end [2025-03-20 02:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:32:16] Production.INFO: ==32572== Releasing lock... [2025-03-20 02:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:32:17] Production.INFO: count ==849 [2025-03-20 02:32:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:32:05 - End Time 2025-03-20 02:32:05 [2025-03-20 02:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719799', 'tblTempUsageDetail_20' ) start [2025-03-20 02:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719799', 'tblTempUsageDetail_20' ) end [2025-03-20 02:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719799', 'tblTempVendorCDR_20' ) start [2025-03-20 02:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719799', 'tblTempVendorCDR_20' ) end [2025-03-20 02:32:18] Production.INFO: ProcessCDR(1,14719799,1,1,2) [2025-03-20 02:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719799', 'tblTempUsageDetail_20' ) start [2025-03-20 02:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719799', 'tblTempUsageDetail_20' ) end [2025-03-20 02:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:32:21] Production.INFO: ==32580== Releasing lock... [2025-03-20 02:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:32:21] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 06:33:02] Production.INFO: ==32652== Lock acquired, processing the job... [2025-03-20 06:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:33:02] Production.INFO: neon service started [2025-03-20 06:33:02] Production.INFO: neon service started [2025-03-20 06:33:02] Production.INFO: ==32652== Releasing lock... [2025-03-20 06:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:33:02] Production.INFO: ==32654== Lock acquired, processing the job... [2025-03-20 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:33:02] Production.INFO: ==32654== Releasing lock... [2025-03-20 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:33:03] Production.INFO: ==32656== Lock acquired, processing the job... [2025-03-20 06:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:33:03] Production.INFO: ==32656== Releasing lock... [2025-03-20 06:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:33:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:33:03] Production.INFO: ==32658== Lock acquired, processing the job... [2025-03-20 02:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:33:03] Production.INFO: ==32660== Lock acquired, processing the job... [2025-03-20 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:33:03] Production.INFO: ==32664== Lock acquired, processing the job... [2025-03-20 02:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:33:03] Production.INFO: Account Balance Start. [2025-03-20 02:33:03] Production.INFO: CreateAllLog Start [2025-03-20 02:33:03] Production.INFO: 117 [2025-03-20 02:33:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:03] Production.INFO: ==32662== Lock acquired, processing the job... [2025-03-20 02:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:33:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:33:04] Production.INFO: ==32668== Lock acquired, processing the job... [2025-03-20 02:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:04] Production.INFO: ==32666== Lock acquired, processing the job... [2025-03-20 02:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:04] Production.INFO: count ==12 [2025-03-20 02:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:33:04] Production.INFO: count ==23 [2025-03-20 02:33:04] Production.INFO: ==32660== Releasing lock... [2025-03-20 02:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719803') start [2025-03-20 02:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719803') end [2025-03-20 02:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:33:04] Production.INFO: 1 [2025-03-20 02:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:33:04] Production.INFO: ==32668== Releasing lock... [2025-03-20 02:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:33:04] Production.ERROR: done [2025-03-20 02:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:33:04] Production.INFO: Total Charge 0 [2025-03-20 02:33:04] Production.INFO: CreateAllLog End [2025-03-20 02:33:04] Production.ERROR: done [2025-03-20 02:33:05] Production.INFO: Account Balance End. [2025-03-20 02:33:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:33:05] Production.INFO: ==32664== Releasing lock... [2025-03-20 02:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:33:05 [end_date_ymd] => 2025-03-20 02:33:05 [RateCDR] => 1 ) [2025-03-20 02: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-03-19 23:33:05' and `end` < '2025-03-20 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-03-20 02:33:14] Production.ERROR: CronJobId end10 [2025-03-20 02:33:14] Production.INFO: ==32662== Releasing lock... [2025-03-20 02:33:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:33:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:33:15] Production.INFO: call_cost start [2025-03-20 02:33:15] Production.INFO: call_cost end [2025-03-20 02:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:33:16] Production.INFO: ==32658== Releasing lock... [2025-03-20 02:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:33:18] Production.INFO: count ==847 [2025-03-20 02:33:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:33:05 - End Time 2025-03-20 02:33:05 [2025-03-20 02:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719804', 'tblTempUsageDetail_20' ) start [2025-03-20 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719804', 'tblTempUsageDetail_20' ) end [2025-03-20 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719804', 'tblTempVendorCDR_20' ) start [2025-03-20 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719804', 'tblTempVendorCDR_20' ) end [2025-03-20 02:33:18] Production.INFO: ProcessCDR(1,14719804,1,1,2) [2025-03-20 02:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719804', 'tblTempUsageDetail_20' ) start [2025-03-20 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719804', 'tblTempUsageDetail_20' ) end [2025-03-20 02:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:33:21] Production.INFO: ==32666== Releasing lock... [2025-03-20 02:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:33:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:34:01] Production.INFO: ==32742== Lock acquired, processing the job... [2025-03-20 06:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:34:01] Production.INFO: neon service started [2025-03-20 06:34:01] Production.INFO: neon service started [2025-03-20 06:34:01] Production.INFO: ==32742== Releasing lock... [2025-03-20 06:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:34:02] Production.INFO: ==32746== Lock acquired, processing the job... [2025-03-20 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:34:02] Production.INFO: ==32748== Lock acquired, processing the job... [2025-03-20 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:34:02] Production.INFO: ==32748== Releasing lock... [2025-03-20 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:34:02] Production.INFO: ==32746== Releasing lock... [2025-03-20 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:34:03] Production.INFO: ==32751== Lock acquired, processing the job... [2025-03-20 02:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:34:03] Production.INFO: ==32753== Lock acquired, processing the job... [2025-03-20 02:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:34:03] Production.INFO: ==32755== Lock acquired, processing the job... [2025-03-20 02:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:34:03] Production.INFO: ==32761== Lock acquired, processing the job... [2025-03-20 02:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:34:03] Production.INFO: ==32757== Lock acquired, processing the job... [2025-03-20 02:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 02:34:03] Production.INFO: ==32759== Lock acquired, processing the job... [2025-03-20 02:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:34:03] Production.INFO: count ==12 [2025-03-20 02:34:03] Production.INFO: Account Balance Start. [2025-03-20 02:34:03] Production.INFO: CreateAllLog Start [2025-03-20 02:34:03] Production.INFO: 117 [2025-03-20 02:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 02:34:03] Production.INFO: count ==23 [2025-03-20 02:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719807') start [2025-03-20 02:34:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:04] Production.INFO: ==32753== Releasing lock... [2025-03-20 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719807') end [2025-03-20 02:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:34:04] Production.INFO: 1 [2025-03-20 02:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:04] Production.INFO: ==32761== Releasing lock... [2025-03-20 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:34:04] Production.ERROR: done [2025-03-20 02:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:34:04] Production.INFO: Total Charge 0 [2025-03-20 02:34:04] Production.INFO: CreateAllLog End [2025-03-20 02:34:04] Production.ERROR: done [2025-03-20 02:34:04] Production.INFO: Account Balance End. [2025-03-20 02:34:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:34:04] Production.INFO: ==32757== Releasing lock... [2025-03-20 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:34:05 [end_date_ymd] => 2025-03-20 02:34:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:34:05' and `end` < '2025-03-20 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-03-20 02:34:13] Production.ERROR: CronJobId end10 [2025-03-20 02:34:13] Production.INFO: ==32755== Releasing lock... [2025-03-20 02:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:34:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:34:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:34:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:34:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:34:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:34:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:34:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:34:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:34:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:34:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:34:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:34:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:34:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:34:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:34:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:34:17] Production.INFO: call_cost start [2025-03-20 02:34:17] Production.INFO: call_cost end [2025-03-20 02:34:18] Production.INFO: count ==847 [2025-03-20 02:34:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:34:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:34:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:34:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:34:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:34:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:34:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:34:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:34:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:34:18] Production.INFO: ==32751== Releasing lock... [2025-03-20 02:34:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:34:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:34:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:34:05 - End Time 2025-03-20 02:34:05 [2025-03-20 02:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719809', 'tblTempUsageDetail_20' ) start [2025-03-20 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719809', 'tblTempUsageDetail_20' ) end [2025-03-20 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719809', 'tblTempVendorCDR_20' ) start [2025-03-20 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719809', 'tblTempVendorCDR_20' ) end [2025-03-20 02:34:18] Production.INFO: ProcessCDR(1,14719809,1,1,2) [2025-03-20 02:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719809', 'tblTempUsageDetail_20' ) start [2025-03-20 02:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719809', 'tblTempUsageDetail_20' ) end [2025-03-20 02:34:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:34:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:34:22] Production.INFO: ==32759== Releasing lock... [2025-03-20 02:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:34:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:35:02] Production.INFO: ==380== Lock acquired, processing the job... [2025-03-20 06:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:35:02] Production.INFO: neon service started [2025-03-20 06:35:02] Production.INFO: neon service started [2025-03-20 06:35:02] Production.INFO: ==380== Releasing lock... [2025-03-20 06:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:35:02] Production.INFO: ==384== Lock acquired, processing the job... [2025-03-20 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:35:03] Production.INFO: ==384== Releasing lock... [2025-03-20 02:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:35:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:35:03] Production.INFO: ==386== Lock acquired, processing the job... [2025-03-20 06:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:35:03] Production.INFO: ==386== Releasing lock... [2025-03-20 06:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:35:04] Production.INFO: ==389== Lock acquired, processing the job... [2025-03-20 02:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:35:04] Production.INFO: ==399== Lock acquired, processing the job... [2025-03-20 02:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:35:04] Production.INFO: count ==12 [2025-03-20 02:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:35:04] Production.INFO: count ==23 [2025-03-20 02:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719811') start [2025-03-20 02:35:04] Production.INFO: ==393== Lock acquired, processing the job... [2025-03-20 02:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:35:04] Production.INFO: ==395== Lock acquired, processing the job... [2025-03-20 02:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:35:04] Production.INFO: ==391== Lock acquired, processing the job... [2025-03-20 02:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719811') end [2025-03-20 02:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:35:04] Production.INFO: 1 [2025-03-20 02:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:35:04] Production.INFO: ==397== Lock acquired, processing the job... [2025-03-20 02:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:35:04] Production.INFO: ==399== Releasing lock... [2025-03-20 02:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:35:04] Production.INFO: Account Balance Start. [2025-03-20 02:35:04] Production.INFO: CreateAllLog Start [2025-03-20 02:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:35:04] Production.INFO: 117 [2025-03-20 02:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:35:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:05] Production.ERROR: done [2025-03-20 02:35:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:35:05] Production.INFO: ==391== Releasing lock... [2025-03-20 02:35:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:35:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:35:05] Production.INFO: Date 2025-03-16 [2025-03-20 02:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:05] Production.INFO: Date 2025-03-17 [2025-03-20 02:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:05] Production.ERROR: done [2025-03-20 02:35:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:35:05] Production.INFO: Total Charge 0 [2025-03-20 02:35:05] Production.INFO: CreateAllLog End [2025-03-20 02:35:05] Production.INFO: Account Balance End. [2025-03-20 02:35:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:35:05] Production.INFO: ==395== Releasing lock... [2025-03-20 02:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:35:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:35:06 [end_date_ymd] => 2025-03-20 02:35:06 [RateCDR] => 1 ) [2025-03-20 02:35:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:35:06' and `end` < '2025-03-20 02:35:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:35:14] Production.ERROR: CronJobId end10 [2025-03-20 02:35:14] Production.INFO: ==393== Releasing lock... [2025-03-20 02:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:35:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:35:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:35:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:35:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:35:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:35:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:35:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:35:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:35:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:35:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:35:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:35:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:35:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:35:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:35:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:35:17] Production.INFO: call_cost start [2025-03-20 02:35:17] Production.INFO: call_cost end [2025-03-20 02:35:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:35:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:35:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:35:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:35:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:35:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:35:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:35:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:35:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:35:18] Production.INFO: ==389== Releasing lock... [2025-03-20 02:35:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:35:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:35:18] Production.INFO: count ==847 [2025-03-20 02:35:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:35:06 - End Time 2025-03-20 02:35:06 [2025-03-20 02:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719814', 'tblTempUsageDetail_20' ) start [2025-03-20 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719814', 'tblTempUsageDetail_20' ) end [2025-03-20 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719814', 'tblTempVendorCDR_20' ) start [2025-03-20 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719814', 'tblTempVendorCDR_20' ) end [2025-03-20 02:35:18] Production.INFO: ProcessCDR(1,14719814,1,1,2) [2025-03-20 02:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719814', 'tblTempUsageDetail_20' ) start [2025-03-20 02:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719814', 'tblTempUsageDetail_20' ) end [2025-03-20 02:35:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:35:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:35:22] Production.INFO: ==397== Releasing lock... [2025-03-20 02:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:35:22] Production.INFO: 34 MB #Memory Used# [2025-03-20 06:36:01] Production.INFO: ==472== Lock acquired, processing the job... [2025-03-20 06:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:36:01] Production.INFO: neon service started [2025-03-20 06:36:01] Production.INFO: neon service started [2025-03-20 06:36:01] Production.INFO: ==472== Releasing lock... [2025-03-20 06:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:36:02] Production.INFO: ==476== Lock acquired, processing the job... [2025-03-20 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:36:02] Production.INFO: ==474== Lock acquired, processing the job... [2025-03-20 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:36:02] Production.INFO: ==476== Releasing lock... [2025-03-20 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:36:03] Production.INFO: ==474== Releasing lock... [2025-03-20 02:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:36:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:36:03] Production.INFO: ==479== Lock acquired, processing the job... [2025-03-20 02:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:36:03] Production.INFO: ==481== Lock acquired, processing the job... [2025-03-20 02:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:36:04] Production.INFO: ==483== Lock acquired, processing the job... [2025-03-20 02:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:36:04] Production.INFO: ==481== Releasing lock... [2025-03-20 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:36:04] Production.INFO: ==485== Lock acquired, processing the job... [2025-03-20 02:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:36:04] Production.INFO: ==487== Lock acquired, processing the job... [2025-03-20 02:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:36:04] Production.INFO: Account Balance Start. [2025-03-20 02:36:04] Production.INFO: CreateAllLog Start [2025-03-20 02:36:04] Production.INFO: 117 [2025-03-20 02:36:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:04] Production.INFO: ==489== Lock acquired, processing the job... [2025-03-20 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:04] Production.INFO: count ==12 [2025-03-20 02:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:36:05] Production.INFO: count ==23 [2025-03-20 02:36:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:05] Production.ERROR: done [2025-03-20 02:36:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:36:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719818') start [2025-03-20 02:36:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:36:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:36:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:36:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:36:05] Production.ERROR: done [2025-03-20 02:36:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719818') end [2025-03-20 02:36:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:36:05] Production.INFO: 1 [2025-03-20 02:36:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:36:05] Production.INFO: Total Charge 0 [2025-03-20 02:36:05] Production.INFO: CreateAllLog End [2025-03-20 02:36:05] Production.INFO: ==489== Releasing lock... [2025-03-20 02:36:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:36:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:36:05] Production.INFO: Account Balance End. [2025-03-20 02:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:36:05] Production.INFO: ==485== Releasing lock... [2025-03-20 02:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:36:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:36:06 [end_date_ymd] => 2025-03-20 02:36:06 [RateCDR] => 1 ) [2025-03-20 02:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:36:06' and `end` < '2025-03-20 02:36:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:36:15] 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-03-20 02:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:36:15] Production.ERROR: CronJobId end10 [2025-03-20 02:36:15] Production.INFO: ==483== Releasing lock... [2025-03-20 02:36:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:36:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:36:15] Production.INFO: call_cost start [2025-03-20 02:36:15] Production.INFO: call_cost end [2025-03-20 02:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:36:17] Production.INFO: ==479== Releasing lock... [2025-03-20 02:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:36:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:36:18] Production.INFO: count ==850 [2025-03-20 02:36:19] Production.ERROR: pbx CDR StartTime 2025-03-19 23:36:06 - End Time 2025-03-20 02:36:06 [2025-03-20 02:36:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719819', 'tblTempUsageDetail_20' ) start [2025-03-20 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719819', 'tblTempUsageDetail_20' ) end [2025-03-20 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719819', 'tblTempVendorCDR_20' ) start [2025-03-20 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719819', 'tblTempVendorCDR_20' ) end [2025-03-20 02:36:19] Production.INFO: ProcessCDR(1,14719819,1,1,2) [2025-03-20 02:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719819', 'tblTempUsageDetail_20' ) start [2025-03-20 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719819', 'tblTempUsageDetail_20' ) end [2025-03-20 02:36:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:36:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:36:22] Production.INFO: ==487== Releasing lock... [2025-03-20 02:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:36:22] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:37:01] Production.INFO: ==557== Lock acquired, processing the job... [2025-03-20 06:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:37:01] Production.INFO: neon service started [2025-03-20 06:37:01] Production.INFO: neon service started [2025-03-20 06:37:01] Production.INFO: ==557== Releasing lock... [2025-03-20 06:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:37:02] Production.INFO: ==561== Lock acquired, processing the job... [2025-03-20 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:37:02] Production.INFO: ==563== Lock acquired, processing the job... [2025-03-20 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:37:02] Production.INFO: ==563== Releasing lock... [2025-03-20 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:37:02] Production.INFO: ==561== Releasing lock... [2025-03-20 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:37:03] Production.INFO: ==575== Lock acquired, processing the job... [2025-03-20 02:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:37:03] Production.INFO: ==571== Lock acquired, processing the job... [2025-03-20 02:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:37:03] Production.INFO: ==566== Lock acquired, processing the job... [2025-03-20 02:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:37:03] Production.INFO: ==569== Lock acquired, processing the job... [2025-03-20 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:37:03] Production.INFO: ==573== Lock acquired, processing the job... [2025-03-20 02:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:37:03] Production.INFO: ==577== Lock acquired, processing the job... [2025-03-20 02:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:37:03] Production.INFO: Account Balance Start. [2025-03-20 02:37:03] Production.INFO: CreateAllLog Start [2025-03-20 02:37:03] Production.INFO: 117 [2025-03-20 02:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:03] Production.INFO: count ==12 [2025-03-20 02:37:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:37:03] Production.INFO: count ==23 [2025-03-20 02:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719821') start [2025-03-20 02:37:03] Production.ERROR: done [2025-03-20 02:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:37:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:04] Production.ERROR: done [2025-03-20 02:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:04] Production.INFO: ==569== Releasing lock... [2025-03-20 02:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719821') end [2025-03-20 02:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:37:04] Production.INFO: 1 [2025-03-20 02:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:04] Production.INFO: ==577== Releasing lock... [2025-03-20 02:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:37:04] Production.INFO: Total Charge 0 [2025-03-20 02:37:04] Production.INFO: CreateAllLog End [2025-03-20 02:37:04] Production.INFO: Account Balance End. [2025-03-20 02:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:37:04] Production.INFO: ==573== Releasing lock... [2025-03-20 02:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:37:05 [end_date_ymd] => 2025-03-20 02:37:05 [RateCDR] => 1 ) [2025-03-20 02: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-03-19 23:37:05' and `end` < '2025-03-20 02: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-03-20 02:37:11] Production.ERROR: CronJobId end10 [2025-03-20 02:37:11] Production.INFO: ==571== Releasing lock... [2025-03-20 02:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:37:15] Production.INFO: call_cost start [2025-03-20 02:37:15] Production.INFO: call_cost end [2025-03-20 02:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:37:16] Production.INFO: ==566== Releasing lock... [2025-03-20 02:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:37:17] Production.INFO: count ==849 [2025-03-20 02:37:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:37:05 - End Time 2025-03-20 02:37:05 [2025-03-20 02:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719824', 'tblTempUsageDetail_20' ) start [2025-03-20 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719824', 'tblTempUsageDetail_20' ) end [2025-03-20 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719824', 'tblTempVendorCDR_20' ) start [2025-03-20 02:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719824', 'tblTempVendorCDR_20' ) end [2025-03-20 02:37:17] Production.INFO: ProcessCDR(1,14719824,1,1,2) [2025-03-20 02:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719824', 'tblTempUsageDetail_20' ) start [2025-03-20 02:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719824', 'tblTempUsageDetail_20' ) end [2025-03-20 02:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:37:21] Production.INFO: ==575== Releasing lock... [2025-03-20 02:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:37:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:38:01] Production.INFO: ==656== Lock acquired, processing the job... [2025-03-20 06:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:38:01] Production.INFO: neon service started [2025-03-20 06:38:01] Production.INFO: neon service started [2025-03-20 06:38:01] Production.INFO: ==656== Releasing lock... [2025-03-20 06:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:38:02] Production.INFO: ==663== Lock acquired, processing the job... [2025-03-20 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:38:02] Production.INFO: ==665== Lock acquired, processing the job... [2025-03-20 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:38:02] Production.INFO: ==663== Releasing lock... [2025-03-20 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:38:02] Production.INFO: ==665== Releasing lock... [2025-03-20 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:38:03] Production.INFO: ==676== Lock acquired, processing the job... [2025-03-20 02:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:38:03] Production.INFO: ==679== Lock acquired, processing the job... [2025-03-20 02:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:38:03] Production.INFO: ==684== Lock acquired, processing the job... [2025-03-20 02:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:38:03] Production.INFO: ==673== Lock acquired, processing the job... [2025-03-20 02:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:38:03] Production.INFO: ==681== Lock acquired, processing the job... [2025-03-20 02:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:38:03] Production.INFO: ==691== Lock acquired, processing the job... [2025-03-20 02:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:38:03] Production.INFO: Account Balance Start. [2025-03-20 02:38:03] Production.INFO: CreateAllLog Start [2025-03-20 02:38:03] Production.INFO: 117 [2025-03-20 02:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:38:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:03] Production.INFO: count ==12 [2025-03-20 02:38:03] Production.INFO: ==676== Releasing lock... [2025-03-20 02:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:38:03] Production.INFO: count ==23 [2025-03-20 02:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719828') start [2025-03-20 02:38:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:03] Production.ERROR: done [2025-03-20 02:38:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:38:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719828') end [2025-03-20 02:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:38:04] Production.INFO: 1 [2025-03-20 02:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:04] Production.INFO: ==691== Releasing lock... [2025-03-20 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:38:04] Production.ERROR: done [2025-03-20 02:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:38:04] Production.INFO: Total Charge 0 [2025-03-20 02:38:04] Production.INFO: CreateAllLog End [2025-03-20 02:38:04] Production.INFO: Account Balance End. [2025-03-20 02:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:38:04] Production.INFO: ==681== Releasing lock... [2025-03-20 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:38:05 [end_date_ymd] => 2025-03-20 02:38:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:38:05' and `end` < '2025-03-20 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-03-20 02:38:12] Production.ERROR: CronJobId end10 [2025-03-20 02:38:12] Production.INFO: ==679== Releasing lock... [2025-03-20 02:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:38:15] Production.INFO: call_cost start [2025-03-20 02:38:15] Production.INFO: call_cost end [2025-03-20 02:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:38:16] Production.INFO: ==673== Releasing lock... [2025-03-20 02:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:38:17] Production.INFO: count ==849 [2025-03-20 02:38:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:38:05 - End Time 2025-03-20 02:38:05 [2025-03-20 02:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719829', 'tblTempUsageDetail_20' ) start [2025-03-20 02:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719829', 'tblTempUsageDetail_20' ) end [2025-03-20 02:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719829', 'tblTempVendorCDR_20' ) start [2025-03-20 02:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719829', 'tblTempVendorCDR_20' ) end [2025-03-20 02:38:17] Production.INFO: ProcessCDR(1,14719829,1,1,2) [2025-03-20 02:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719829', 'tblTempUsageDetail_20' ) start [2025-03-20 02:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719829', 'tblTempUsageDetail_20' ) end [2025-03-20 02:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:38:21] Production.INFO: ==684== Releasing lock... [2025-03-20 02:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:38:21] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 06:39:02] Production.INFO: ==770== Lock acquired, processing the job... [2025-03-20 06:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:39:02] Production.INFO: neon service started [2025-03-20 06:39:02] Production.INFO: neon service started [2025-03-20 06:39:02] Production.INFO: ==770== Releasing lock... [2025-03-20 06:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:39:02] Production.INFO: ==774== Lock acquired, processing the job... [2025-03-20 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:39:02] Production.INFO: ==774== Releasing lock... [2025-03-20 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:39:02] Production.INFO: ==772== Lock acquired, processing the job... [2025-03-20 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:39:03] Production.INFO: ==772== Releasing lock... [2025-03-20 02:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:39:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:39:03] Production.INFO: ==781== Lock acquired, processing the job... [2025-03-20 02:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:39:03] Production.INFO: ==787== Lock acquired, processing the job... [2025-03-20 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:39:04] Production.INFO: ==777== Lock acquired, processing the job... [2025-03-20 02:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:39:04] Production.INFO: ==779== Lock acquired, processing the job... [2025-03-20 02:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:39:04] Production.INFO: ==783== Lock acquired, processing the job... [2025-03-20 02:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:39:04] Production.INFO: count ==12 [2025-03-20 02:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:39:04] Production.INFO: count ==23 [2025-03-20 02:39:04] Production.INFO: ==785== Lock acquired, processing the job... [2025-03-20 02:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719830') start [2025-03-20 02:39:04] Production.INFO: Account Balance Start. [2025-03-20 02:39:04] Production.INFO: CreateAllLog Start [2025-03-20 02:39:04] Production.INFO: 117 [2025-03-20 02:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:39:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719830') end [2025-03-20 02:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:39:04] Production.INFO: 1 [2025-03-20 02:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:39:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.INFO: ==787== Releasing lock... [2025-03-20 02:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:39:04] Production.INFO: ==779== Releasing lock... [2025-03-20 02:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.ERROR: done [2025-03-20 02:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:39:04] Production.INFO: Total Charge 0 [2025-03-20 02:39:04] Production.INFO: CreateAllLog End [2025-03-20 02:39:04] Production.ERROR: done [2025-03-20 02:39:05] Production.INFO: Account Balance End. [2025-03-20 02:39:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:39:05] Production.INFO: ==783== Releasing lock... [2025-03-20 02:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:39:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:39:05 [end_date_ymd] => 2025-03-20 02:39:05 [RateCDR] => 1 ) [2025-03-20 02:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:39:05' and `end` < '2025-03-20 02:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:39:11] Production.ERROR: CronJobId end10 [2025-03-20 02:39:11] Production.INFO: ==781== Releasing lock... [2025-03-20 02:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:39:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:39:14] Production.INFO: call_cost start [2025-03-20 02:39:14] Production.INFO: call_cost end [2025-03-20 02:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:39:15] Production.INFO: ==777== Releasing lock... [2025-03-20 02:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:39:18] Production.INFO: count ==791 [2025-03-20 02:39:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:39:05 - End Time 2025-03-20 02:39:05 [2025-03-20 02:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719834', 'tblTempUsageDetail_20' ) start [2025-03-20 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719834', 'tblTempUsageDetail_20' ) end [2025-03-20 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719834', 'tblTempVendorCDR_20' ) start [2025-03-20 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719834', 'tblTempVendorCDR_20' ) end [2025-03-20 02:39:18] Production.INFO: ProcessCDR(1,14719834,1,1,2) [2025-03-20 02:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719834', 'tblTempUsageDetail_20' ) start [2025-03-20 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719834', 'tblTempUsageDetail_20' ) end [2025-03-20 02:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:39:21] Production.INFO: ==785== Releasing lock... [2025-03-20 02:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:39:21] Production.INFO: 34 MB #Memory Used# [2025-03-20 06:40:01] Production.INFO: ==855== Lock acquired, processing the job... [2025-03-20 06:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:40:01] Production.INFO: neon service started [2025-03-20 06:40:01] Production.INFO: neon service started [2025-03-20 06:40:01] Production.INFO: ==855== Releasing lock... [2025-03-20 06:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:40:02] Production.INFO: ==859== Lock acquired, processing the job... [2025-03-20 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:40:02] Production.INFO: ==857== Lock acquired, processing the job... [2025-03-20 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:40:02] Production.INFO: ==859== Releasing lock... [2025-03-20 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:40:03] Production.INFO: ==857== Releasing lock... [2025-03-20 02:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:40:03] Production.INFO: ==862== Lock acquired, processing the job... [2025-03-20 02:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 02:40:03] Production.INFO: ==866== Lock acquired, processing the job... [2025-03-20 02:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 02:40:04] Production.INFO: ==864== Lock acquired, processing the job... [2025-03-20 02:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 02:40:04] Production.INFO: ==862== Releasing lock... [2025-03-20 02:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 02:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 02:40:04] Production.INFO: ==874== Lock acquired, processing the job... [2025-03-20 02:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 02:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:40:04] Production.INFO: ==868== Lock acquired, processing the job... [2025-03-20 02:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:40:04] Production.INFO: ==866== Releasing lock... [2025-03-20 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:40:04] Production.INFO: ==870== Lock acquired, processing the job... [2025-03-20 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:40:04] Production.INFO: ==872== Lock acquired, processing the job... [2025-03-20 02:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:40:04] Production.INFO: ==876== Lock acquired, processing the job... [2025-03-20 02:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:40:04] Production.ERROR: done [2025-03-20 02:40:04] Production.INFO: Account Balance Start. [2025-03-20 02:40:04] Production.INFO: CreateAllLog Start [2025-03-20 02:40:04] Production.INFO: 117 [2025-03-20 02:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 02:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719838', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 02:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:40:04] Production.INFO: count ==12 [2025-03-20 02:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:40:04] Production.INFO: count ==23 [2025-03-20 02:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719839') start [2025-03-20 02:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:40:05] Production.ERROR: done [2025-03-20 02:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:40:05] Production.INFO: Date 2025-03-12 [2025-03-20 02:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719839') end [2025-03-20 02:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:40:05] Production.INFO: 1 [2025-03-20 02:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:40:05] Production.INFO: Date 2025-03-13 [2025-03-20 02:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:40:05] Production.ERROR: done [2025-03-20 02:40:05] Production.INFO: ==876== Releasing lock... [2025-03-20 02:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:40:05] Production.INFO: Date 2025-03-14 [2025-03-20 02:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:40:05] Production.INFO: Date 2025-03-15 [2025-03-20 02:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:40:05] Production.INFO: Date 2025-03-16 [2025-03-20 02:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:40:05] Production.INFO: Date 2025-03-17 [2025-03-20 02:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:40:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:40:06] Production.INFO: Date 2025-03-20 [2025-03-20 02:40:06] Production.INFO: Reseller ==> 0 [2025-03-20 02:40:06] Production.INFO: Total Charge 0 [2025-03-20 02:40:06] Production.INFO: CreateAllLog End [2025-03-20 02:40:06] Production.INFO: Account Balance End. [2025-03-20 02:40:06] Production.ERROR: CronJobId end 12 [2025-03-20 02:40:06] Production.INFO: ==870== Releasing lock... [2025-03-20 02:40:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:40:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:40:06 [end_date_ymd] => 2025-03-20 02:40:06 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:40:06' and `end` < '2025-03-20 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-03-20 02:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719838', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 02:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 02:40:09] Production.INFO: ProcessCDR(1,14719838,1,1,2) [2025-03-20 02:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719838,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719838,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:40:09] Production.INFO: ==874== Releasing lock... [2025-03-20 02:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 02:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 02:40:14] Production.ERROR: CronJobId end10 [2025-03-20 02:40:14] Production.INFO: ==868== Releasing lock... [2025-03-20 02:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:40:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:40:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:40:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:40:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:40:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:40:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:40:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:40:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:40:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:40:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:40:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:40:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:40:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:40:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:40:18] Production.INFO: call_cost start [2025-03-20 02:40:18] Production.INFO: call_cost end [2025-03-20 02:40:18] Production.INFO: count ==715 [2025-03-20 02:40:19] Production.ERROR: pbx CDR StartTime 2025-03-19 23:40:06 - End Time 2025-03-20 02:40:06 [2025-03-20 02:40:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719840', 'tblTempUsageDetail_20' ) start [2025-03-20 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719840', 'tblTempUsageDetail_20' ) end [2025-03-20 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719840', 'tblTempVendorCDR_20' ) start [2025-03-20 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719840', 'tblTempVendorCDR_20' ) end [2025-03-20 02:40:19] Production.INFO: ProcessCDR(1,14719840,1,1,2) [2025-03-20 02:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:40:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:40:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:40:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:40:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:40:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:40:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:40:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:40:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:40:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:40:19] Production.INFO: ==864== Releasing lock... [2025-03-20 02:40:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:40:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719840', 'tblTempUsageDetail_20' ) start [2025-03-20 02:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719840', 'tblTempUsageDetail_20' ) end [2025-03-20 02:40:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:40:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:40:23] Production.INFO: ==872== Releasing lock... [2025-03-20 02:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:40:23] Production.INFO: 34 MB #Memory Used# [2025-03-20 06:41:02] Production.INFO: ==952== Lock acquired, processing the job... [2025-03-20 06:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:41:02] Production.INFO: neon service started [2025-03-20 06:41:02] Production.INFO: neon service started [2025-03-20 06:41:02] Production.INFO: ==952== Releasing lock... [2025-03-20 06:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:41:02] Production.INFO: ==957== Lock acquired, processing the job... [2025-03-20 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:41:02] Production.INFO: ==957== Releasing lock... [2025-03-20 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:41:02] Production.INFO: ==955== Lock acquired, processing the job... [2025-03-20 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:41:03] Production.INFO: ==955== Releasing lock... [2025-03-20 02:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:41:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:41:03] Production.INFO: ==959== Lock acquired, processing the job... [2025-03-20 02:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:41:03] Production.INFO: ==963== Lock acquired, processing the job... [2025-03-20 02:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:41:04] Production.INFO: ==968== Lock acquired, processing the job... [2025-03-20 02:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:41:04] Production.INFO: ==961== Lock acquired, processing the job... [2025-03-20 02:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:41:04] Production.INFO: ==966== Lock acquired, processing the job... [2025-03-20 02:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:41:04] Production.INFO: ==970== Lock acquired, processing the job... [2025-03-20 02:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:41:04] Production.ERROR: done [2025-03-20 02:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:41:04] Production.INFO: Account Balance Start. [2025-03-20 02:41:04] Production.INFO: CreateAllLog Start [2025-03-20 02:41:04] Production.INFO: 117 [2025-03-20 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-03-20 02:41:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:41:04] Production.INFO: count ==12 [2025-03-20 02:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:41:04] Production.INFO: count ==23 [2025-03-20 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719844') start [2025-03-20 02:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719844') end [2025-03-20 02:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:41:04] Production.INFO: 1 [2025-03-20 02:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:41:04] Production.ERROR: done [2025-03-20 02:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:04] Production.INFO: ==961== Releasing lock... [2025-03-20 02:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:41:05] Production.INFO: ==970== Releasing lock... [2025-03-20 02:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:41:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:41:05] Production.INFO: Date 2025-03-11 [2025-03-20 02:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:05] Production.INFO: Date 2025-03-12 [2025-03-20 02:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:05] Production.INFO: Date 2025-03-13 [2025-03-20 02:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:05] Production.INFO: Date 2025-03-14 [2025-03-20 02:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:05] Production.INFO: Date 2025-03-15 [2025-03-20 02:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:05] Production.INFO: Date 2025-03-16 [2025-03-20 02:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:05] Production.INFO: Date 2025-03-17 [2025-03-20 02:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:41:05] Production.INFO: Total Charge 0 [2025-03-20 02:41:05] Production.INFO: CreateAllLog End [2025-03-20 02:41:05] Production.INFO: Account Balance End. [2025-03-20 02:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:41:05] Production.INFO: ==966== Releasing lock... [2025-03-20 02:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:41:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:41:06 [end_date_ymd] => 2025-03-20 02:41:06 [RateCDR] => 1 ) [2025-03-20 02: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-03-19 23:41:06' and `end` < '2025-03-20 02: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-03-20 02:41:14] Production.ERROR: CronJobId end10 [2025-03-20 02:41:14] Production.INFO: ==963== Releasing lock... [2025-03-20 02:41:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:41:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:41:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:41:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:41:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:41:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:41:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:41:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:41:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:41:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:41:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:41:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:41:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:41:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:41:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:41:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:41:17] Production.INFO: call_cost start [2025-03-20 02:41:17] Production.INFO: call_cost end [2025-03-20 02:41:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:41:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:41:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:41:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:41:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:41:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:41:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:41:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:41:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:41:18] Production.INFO: ==959== Releasing lock... [2025-03-20 02:41:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:41:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:41:18] Production.INFO: count ==637 [2025-03-20 02:41:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:41:06 - End Time 2025-03-20 02:41:06 [2025-03-20 02:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719845', 'tblTempUsageDetail_20' ) start [2025-03-20 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719845', 'tblTempUsageDetail_20' ) end [2025-03-20 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719845', 'tblTempVendorCDR_20' ) start [2025-03-20 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719845', 'tblTempVendorCDR_20' ) end [2025-03-20 02:41:18] Production.INFO: ProcessCDR(1,14719845,1,1,2) [2025-03-20 02:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719845', 'tblTempUsageDetail_20' ) start [2025-03-20 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719845', 'tblTempUsageDetail_20' ) end [2025-03-20 02:41:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:41:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:41:22] Production.INFO: ==968== Releasing lock... [2025-03-20 02:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:41:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 06:42:01] Production.INFO: ==1042== Lock acquired, processing the job... [2025-03-20 06:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:42:01] Production.INFO: neon service started [2025-03-20 06:42:01] Production.INFO: neon service started [2025-03-20 06:42:01] Production.INFO: ==1042== Releasing lock... [2025-03-20 06:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:42:02] Production.INFO: ==1044== Lock acquired, processing the job... [2025-03-20 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:42:02] Production.INFO: ==1046== Lock acquired, processing the job... [2025-03-20 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:42:02] Production.INFO: ==1046== Releasing lock... [2025-03-20 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:42:02] Production.INFO: ==1044== Releasing lock... [2025-03-20 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:42:03] Production.INFO: ==1055== Lock acquired, processing the job... [2025-03-20 02:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:42:03] Production.INFO: ==1057== Lock acquired, processing the job... [2025-03-20 02:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:42:03] Production.INFO: Account Balance Start. [2025-03-20 02:42:03] Production.INFO: CreateAllLog Start [2025-03-20 02:42:04] Production.INFO: 117 [2025-03-20 02:42:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.ERROR: done [2025-03-20 02:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:42:04] Production.INFO: ==1049== Lock acquired, processing the job... [2025-03-20 02:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.INFO: ==1051== Lock acquired, processing the job... [2025-03-20 02:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:42:04] Production.INFO: ==1053== Lock acquired, processing the job... [2025-03-20 02:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.INFO: ==1059== Lock acquired, processing the job... [2025-03-20 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.ERROR: done [2025-03-20 02:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:42:04] Production.INFO: count ==12 [2025-03-20 02:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:42:04] Production.INFO: count ==23 [2025-03-20 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719847') start [2025-03-20 02:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719847') end [2025-03-20 02:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:42:04] Production.INFO: 1 [2025-03-20 02:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.INFO: ==1059== Releasing lock... [2025-03-20 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.INFO: ==1051== Releasing lock... [2025-03-20 02:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:42:04] Production.INFO: Total Charge 0 [2025-03-20 02:42:05] Production.INFO: CreateAllLog End [2025-03-20 02:42:05] Production.INFO: Account Balance End. [2025-03-20 02:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:42:05 [end_date_ymd] => 2025-03-20 02:42:05 [RateCDR] => 1 ) [2025-03-20 02:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:42:05' and `end` < '2025-03-20 02:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:42:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:42:05] Production.INFO: ==1055== Releasing lock... [2025-03-20 02:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:42:11] Production.ERROR: CronJobId end10 [2025-03-20 02:42:11] Production.INFO: ==1053== Releasing lock... [2025-03-20 02:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:42:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:42:15] Production.INFO: call_cost start [2025-03-20 02:42:15] Production.INFO: call_cost end [2025-03-20 02:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:42:16] Production.INFO: ==1049== Releasing lock... [2025-03-20 02:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:42:17] Production.INFO: count ==563 [2025-03-20 02:42:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:42:05 - End Time 2025-03-20 02:42:05 [2025-03-20 02:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719848', 'tblTempUsageDetail_20' ) start [2025-03-20 02:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719848', 'tblTempUsageDetail_20' ) end [2025-03-20 02:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719848', 'tblTempVendorCDR_20' ) start [2025-03-20 02:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719848', 'tblTempVendorCDR_20' ) end [2025-03-20 02:42:17] Production.INFO: ProcessCDR(1,14719848,1,1,2) [2025-03-20 02:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719848', 'tblTempUsageDetail_20' ) start [2025-03-20 02:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719848', 'tblTempUsageDetail_20' ) end [2025-03-20 02:42:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:42:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:42:20] Production.INFO: ==1057== Releasing lock... [2025-03-20 02:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:42:20] Production.INFO: 33 MB #Memory Used# [2025-03-20 06:43:02] Production.INFO: ==1128== Lock acquired, processing the job... [2025-03-20 06:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:43:02] Production.INFO: neon service started [2025-03-20 06:43:02] Production.INFO: neon service started [2025-03-20 06:43:02] Production.INFO: ==1128== Releasing lock... [2025-03-20 06:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:43:02] Production.INFO: ==1130== Lock acquired, processing the job... [2025-03-20 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:43:03] Production.INFO: ==1130== Releasing lock... [2025-03-20 02:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:43:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:43:03] Production.INFO: ==1134== Lock acquired, processing the job... [2025-03-20 06:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:43:03] Production.INFO: ==1134== Releasing lock... [2025-03-20 06:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:43:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:43:03] Production.INFO: ==1137== Lock acquired, processing the job... [2025-03-20 02:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:43:04] Production.INFO: ==1139== Lock acquired, processing the job... [2025-03-20 02:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:43:04] Production.INFO: ==1146== Lock acquired, processing the job... [2025-03-20 02:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:43:04] Production.INFO: ==1148== Lock acquired, processing the job... [2025-03-20 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:43:04] Production.INFO: ==1141== Lock acquired, processing the job... [2025-03-20 02:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:43:04] Production.INFO: ==1143== Lock acquired, processing the job... [2025-03-20 02:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:43:04] Production.INFO: ==1139== Releasing lock... [2025-03-20 02:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:43:04] Production.INFO: count ==12 [2025-03-20 02:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:43:04] Production.INFO: count ==23 [2025-03-20 02:43:04] Production.ERROR: done [2025-03-20 02:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:43:04] Production.INFO: Account Balance Start. [2025-03-20 02:43:04] Production.INFO: CreateAllLog Start [2025-03-20 02:43:04] Production.INFO: 117 [2025-03-20 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719853') start [2025-03-20 02:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:04] Production.ERROR: done [2025-03-20 02:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719853') end [2025-03-20 02:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:43:04] Production.INFO: 1 [2025-03-20 02:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:43:04] Production.INFO: ==1148== Releasing lock... [2025-03-20 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:05] Production.INFO: Date 2025-03-16 [2025-03-20 02:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:05] Production.INFO: Date 2025-03-17 [2025-03-20 02:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:43:05] Production.INFO: Total Charge 0 [2025-03-20 02:43:05] Production.INFO: CreateAllLog End [2025-03-20 02:43:05] Production.INFO: Account Balance End. [2025-03-20 02:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:43:05] Production.INFO: ==1143== Releasing lock... [2025-03-20 02:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:43:05 [end_date_ymd] => 2025-03-20 02:43:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:43:05' and `end` < '2025-03-20 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-03-20 02:43:14] Production.ERROR: CronJobId end10 [2025-03-20 02:43:14] Production.INFO: ==1141== Releasing lock... [2025-03-20 02:43:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:43:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:43:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:43:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:43:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:43:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:43:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:43:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:43:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:43:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:43:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:43:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:43:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:43:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:43:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:43:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:43:17] Production.INFO: call_cost start [2025-03-20 02:43:17] Production.INFO: call_cost end [2025-03-20 02:43:18] Production.INFO: count ==522 [2025-03-20 02:43:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:43:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:43:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:43:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:43:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:43:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:43:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:43:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:43:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:43:18] Production.INFO: ==1137== Releasing lock... [2025-03-20 02:43:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:43:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:43:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:43:05 - End Time 2025-03-20 02:43:05 [2025-03-20 02:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719855', 'tblTempUsageDetail_20' ) start [2025-03-20 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719855', 'tblTempUsageDetail_20' ) end [2025-03-20 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719855', 'tblTempVendorCDR_20' ) start [2025-03-20 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719855', 'tblTempVendorCDR_20' ) end [2025-03-20 02:43:18] Production.INFO: ProcessCDR(1,14719855,1,1,2) [2025-03-20 02:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719855', 'tblTempUsageDetail_20' ) start [2025-03-20 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719855', 'tblTempUsageDetail_20' ) end [2025-03-20 02:43:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:43:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:43:22] Production.INFO: ==1146== Releasing lock... [2025-03-20 02:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:43:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 06:44:01] Production.INFO: ==1225== Lock acquired, processing the job... [2025-03-20 06:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:44:01] Production.INFO: neon service started [2025-03-20 06:44:01] Production.INFO: neon service started [2025-03-20 06:44:01] Production.INFO: ==1225== Releasing lock... [2025-03-20 06:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:44:02] Production.INFO: ==1227== Lock acquired, processing the job... [2025-03-20 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:44:02] Production.INFO: ==1229== Lock acquired, processing the job... [2025-03-20 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:44:02] Production.INFO: ==1229== Releasing lock... [2025-03-20 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:44:03] Production.INFO: ==1227== Releasing lock... [2025-03-20 02:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:44:03] Production.INFO: ==1241== Lock acquired, processing the job... [2025-03-20 02:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:44:04] Production.INFO: Account Balance Start. [2025-03-20 02:44:04] Production.INFO: CreateAllLog Start [2025-03-20 02:44:04] Production.INFO: 117 [2025-03-20 02:44:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.INFO: ==1247== Lock acquired, processing the job... [2025-03-20 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:44:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.INFO: ==1232== Lock acquired, processing the job... [2025-03-20 02:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:44:04] Production.INFO: count ==12 [2025-03-20 02:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.INFO: ==1234== Lock acquired, processing the job... [2025-03-20 02:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:44:04] Production.INFO: count ==23 [2025-03-20 02:44:04] Production.INFO: ==1236== Lock acquired, processing the job... [2025-03-20 02:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719857') start [2025-03-20 02:44:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.INFO: ==1245== Lock acquired, processing the job... [2025-03-20 02:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719857') end [2025-03-20 02:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:44:04] Production.INFO: 1 [2025-03-20 02:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:44:04] Production.INFO: ==1247== Releasing lock... [2025-03-20 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:44:04] Production.INFO: ==1234== Releasing lock... [2025-03-20 02:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:44:04] Production.INFO: Total Charge 0 [2025-03-20 02:44:04] Production.INFO: CreateAllLog End [2025-03-20 02:44:05] Production.ERROR: done [2025-03-20 02:44:05] Production.INFO: Account Balance End. [2025-03-20 02:44:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:44:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:44:05] Production.INFO: ==1241== Releasing lock... [2025-03-20 02:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:44:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:44:05] Production.ERROR: done [2025-03-20 02:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:44:06 [end_date_ymd] => 2025-03-20 02:44:06 [RateCDR] => 1 ) [2025-03-20 02:44:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:44:06' and `end` < '2025-03-20 02:44:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:44:13] Production.ERROR: CronJobId end10 [2025-03-20 02:44:13] Production.INFO: ==1236== Releasing lock... [2025-03-20 02:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:44:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:44:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:44:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:44:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:44:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:44:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:44:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:44:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:44:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:44:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:44:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:44:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:44:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:44:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:44:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:44:16] Production.INFO: call_cost start [2025-03-20 02:44:16] Production.INFO: call_cost end [2025-03-20 02:44:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:44:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:44:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:44:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:44:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:44:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:44:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:44:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:44:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:44:17] Production.INFO: ==1232== Releasing lock... [2025-03-20 02:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:44:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:44:18] Production.INFO: count ==455 [2025-03-20 02:44:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:44:06 - End Time 2025-03-20 02:44:06 [2025-03-20 02:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719860', 'tblTempUsageDetail_20' ) start [2025-03-20 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719860', 'tblTempUsageDetail_20' ) end [2025-03-20 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719860', 'tblTempVendorCDR_20' ) start [2025-03-20 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719860', 'tblTempVendorCDR_20' ) end [2025-03-20 02:44:19] Production.INFO: ProcessCDR(1,14719860,1,1,2) [2025-03-20 02:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719860', 'tblTempUsageDetail_20' ) start [2025-03-20 02:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719860', 'tblTempUsageDetail_20' ) end [2025-03-20 02:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:44:22] Production.INFO: ==1245== Releasing lock... [2025-03-20 02:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:44:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 06:45:02] Production.INFO: ==1375== Lock acquired, processing the job... [2025-03-20 06:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:45:02] Production.INFO: neon service started [2025-03-20 06:45:02] Production.INFO: neon service started [2025-03-20 06:45:02] Production.INFO: ==1375== Releasing lock... [2025-03-20 06:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:45:02] Production.INFO: ==1379== Lock acquired, processing the job... [2025-03-20 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:45:02] Production.INFO: ==1379== Releasing lock... [2025-03-20 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:45:02] Production.INFO: ==1377== Lock acquired, processing the job... [2025-03-20 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:45:03] Production.INFO: ==1377== Releasing lock... [2025-03-20 02:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:45:04] Production.INFO: ==1382== Lock acquired, processing the job... [2025-03-20 02:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:45:04] Production.INFO: ==1384== Lock acquired, processing the job... [2025-03-20 02:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:45:04] Production.INFO: ==1386== Lock acquired, processing the job... [2025-03-20 02:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:45:04] Production.INFO: ==1388== Lock acquired, processing the job... [2025-03-20 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:45:04] Production.INFO: ==1390== Lock acquired, processing the job... [2025-03-20 02:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:45:04] Production.INFO: ==1392== Lock acquired, processing the job... [2025-03-20 02:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:45:04] Production.INFO: Account Balance Start. [2025-03-20 02:45:04] Production.INFO: CreateAllLog Start [2025-03-20 02:45:04] Production.INFO: 117 [2025-03-20 02:45:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:04] Production.INFO: ==1384== Releasing lock... [2025-03-20 02:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 02:45:04] Production.INFO: count ==12 [2025-03-20 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-03-20 02:45:04] Production.INFO: count ==23 [2025-03-20 02:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719864') start [2025-03-20 02:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:05] Production.INFO: Date 2025-03-13 [2025-03-20 02:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:05] Production.ERROR: done [2025-03-20 02:45:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:45:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719864') end [2025-03-20 02:45:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:45:05] Production.INFO: 1 [2025-03-20 02:45:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:45:05] Production.INFO: Date 2025-03-14 [2025-03-20 02:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:05] Production.INFO: Date 2025-03-15 [2025-03-20 02:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:05] Production.INFO: ==1392== Releasing lock... [2025-03-20 02:45:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:45:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:45:05] Production.INFO: Date 2025-03-16 [2025-03-20 02:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:05] Production.ERROR: done [2025-03-20 02:45:05] Production.INFO: Date 2025-03-17 [2025-03-20 02:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:45:05] Production.INFO: Total Charge 0 [2025-03-20 02:45:05] Production.INFO: CreateAllLog End [2025-03-20 02:45:05] Production.INFO: Account Balance End. [2025-03-20 02:45:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:45:05] Production.INFO: ==1388== Releasing lock... [2025-03-20 02:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:45:06 [end_date_ymd] => 2025-03-20 02:45:06 [RateCDR] => 1 ) [2025-03-20 02:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:45:06' and `end` < '2025-03-20 02:45:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:45:13] Production.ERROR: CronJobId end10 [2025-03-20 02:45:13] Production.INFO: ==1386== Releasing lock... [2025-03-20 02:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:45:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:45:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:45:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:45:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:45:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:45:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:45:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:45:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:45:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:45:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:45:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:45:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:45:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:45:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:45:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:45:16] Production.INFO: call_cost start [2025-03-20 02:45:16] Production.INFO: call_cost end [2025-03-20 02:45:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:45:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:45:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:45:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:45:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:45:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:45:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:45:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:45:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:45:18] Production.INFO: ==1382== Releasing lock... [2025-03-20 02:45:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:45:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:45:18] Production.INFO: count ==450 [2025-03-20 02:45:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:45:06 - End Time 2025-03-20 02:45:06 [2025-03-20 02:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719865', 'tblTempUsageDetail_20' ) start [2025-03-20 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719865', 'tblTempUsageDetail_20' ) end [2025-03-20 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719865', 'tblTempVendorCDR_20' ) start [2025-03-20 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719865', 'tblTempVendorCDR_20' ) end [2025-03-20 02:45:18] Production.INFO: ProcessCDR(1,14719865,1,1,2) [2025-03-20 02:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719865', 'tblTempUsageDetail_20' ) start [2025-03-20 02:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719865', 'tblTempUsageDetail_20' ) end [2025-03-20 02:45:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:45:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:45:22] Production.INFO: ==1390== Releasing lock... [2025-03-20 02:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:45:22] Production.INFO: 32 MB #Memory Used# [2025-03-20 06:46:01] Production.INFO: ==1475== Lock acquired, processing the job... [2025-03-20 06:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:46:01] Production.INFO: neon service started [2025-03-20 06:46:01] Production.INFO: neon service started [2025-03-20 06:46:01] Production.INFO: ==1475== Releasing lock... [2025-03-20 06:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:46:02] Production.INFO: ==1477== Lock acquired, processing the job... [2025-03-20 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:46:02] Production.INFO: ==1479== Lock acquired, processing the job... [2025-03-20 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:46:02] Production.INFO: ==1479== Releasing lock... [2025-03-20 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:46:03] Production.INFO: ==1477== Releasing lock... [2025-03-20 02:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:46:04] Production.INFO: ==1486== Lock acquired, processing the job... [2025-03-20 02:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:46:04] Production.INFO: ==1488== Lock acquired, processing the job... [2025-03-20 02:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:46:04] Production.INFO: Account Balance Start. [2025-03-20 02:46:04] Production.INFO: CreateAllLog Start [2025-03-20 02:46:04] Production.INFO: 117 [2025-03-20 02:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:46:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:46:04] Production.INFO: ==1482== Lock acquired, processing the job... [2025-03-20 02:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.INFO: ==1484== Lock acquired, processing the job... [2025-03-20 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.INFO: ==1490== Lock acquired, processing the job... [2025-03-20 02:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:46:04] Production.INFO: ==1493== Lock acquired, processing the job... [2025-03-20 02:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.INFO: count ==12 [2025-03-20 02:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:46:04] Production.INFO: count ==23 [2025-03-20 02:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719869') start [2025-03-20 02:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719869') end [2025-03-20 02:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:46:04] Production.INFO: 1 [2025-03-20 02:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:46:05] Production.ERROR: done [2025-03-20 02:46:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:46:05] Production.INFO: ==1493== Releasing lock... [2025-03-20 02:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:46:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:46:05] Production.INFO: ==1484== Releasing lock... [2025-03-20 02:46:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:46:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:46:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:46:05] Production.INFO: Total Charge 0 [2025-03-20 02:46:05] Production.INFO: CreateAllLog End [2025-03-20 02:46:05] Production.ERROR: done [2025-03-20 02:46:05] Production.INFO: Account Balance End. [2025-03-20 02:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:46:05] Production.INFO: ==1488== Releasing lock... [2025-03-20 02:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:46:06 [end_date_ymd] => 2025-03-20 02:46:06 [RateCDR] => 1 ) [2025-03-20 02:46:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:46:06' and `end` < '2025-03-20 02:46:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:46:13] Production.ERROR: CronJobId end10 [2025-03-20 02:46:13] Production.INFO: ==1486== Releasing lock... [2025-03-20 02:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:46:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:46:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:46:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:46:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:46:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:46:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:46:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:46:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:46:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:46:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:46:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:46:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:46:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:46:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:46:17] Production.INFO: call_cost start [2025-03-20 02:46:17] Production.INFO: call_cost end [2025-03-20 02:46:18] Production.INFO: count ==462 [2025-03-20 02:46:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:46:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:46:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:46:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:46:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:46:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:46:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:46:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:46:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:46:18] Production.INFO: ==1482== Releasing lock... [2025-03-20 02:46:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:46:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:46:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:46:06 - End Time 2025-03-20 02:46:06 [2025-03-20 02:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719870', 'tblTempUsageDetail_20' ) start [2025-03-20 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719870', 'tblTempUsageDetail_20' ) end [2025-03-20 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719870', 'tblTempVendorCDR_20' ) start [2025-03-20 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719870', 'tblTempVendorCDR_20' ) end [2025-03-20 02:46:18] Production.INFO: ProcessCDR(1,14719870,1,1,2) [2025-03-20 02:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719870', 'tblTempUsageDetail_20' ) start [2025-03-20 02:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719870', 'tblTempUsageDetail_20' ) end [2025-03-20 02:46:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:46:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:46:22] Production.INFO: ==1490== Releasing lock... [2025-03-20 02:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:46:22] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 06:47:01] Production.INFO: ==1612== Lock acquired, processing the job... [2025-03-20 06:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:47:01] Production.INFO: neon service started [2025-03-20 06:47:01] Production.INFO: neon service started [2025-03-20 06:47:01] Production.INFO: ==1612== Releasing lock... [2025-03-20 06:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:47:02] Production.INFO: ==1614== Lock acquired, processing the job... [2025-03-20 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:47:02] Production.INFO: ==1616== Lock acquired, processing the job... [2025-03-20 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:47:02] Production.INFO: ==1616== Releasing lock... [2025-03-20 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:47:02] Production.INFO: ==1614== Releasing lock... [2025-03-20 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:47:03] Production.INFO: ==1619== Lock acquired, processing the job... [2025-03-20 02:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:47:03] Production.INFO: ==1623== Lock acquired, processing the job... [2025-03-20 02:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:47:03] Production.INFO: ==1627== Lock acquired, processing the job... [2025-03-20 02:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:47:03] Production.INFO: ==1621== Lock acquired, processing the job... [2025-03-20 02:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:47:03] Production.INFO: ==1625== Lock acquired, processing the job... [2025-03-20 02:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:47:03] Production.INFO: ==1629== Lock acquired, processing the job... [2025-03-20 02:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:47:04] Production.ERROR: done [2025-03-20 02:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 02:47:04] Production.INFO: Account Balance Start. [2025-03-20 02:47:04] Production.INFO: CreateAllLog Start [2025-03-20 02:47:04] Production.INFO: 117 [2025-03-20 02:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:47:04] Production.INFO: count ==12 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:47:04] Production.INFO: count ==23 [2025-03-20 02:47:04] Production.ERROR: done [2025-03-20 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719874') start [2025-03-20 02:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:04] Production.INFO: ==1621== Releasing lock... [2025-03-20 02:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719874') end [2025-03-20 02:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:47:04] Production.INFO: 1 [2025-03-20 02:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:47:04] Production.INFO: ==1629== Releasing lock... [2025-03-20 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:47:05] Production.INFO: Total Charge 0 [2025-03-20 02:47:05] Production.INFO: CreateAllLog End [2025-03-20 02:47:05] Production.INFO: Account Balance End. [2025-03-20 02:47:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:47:05] Production.INFO: ==1625== Releasing lock... [2025-03-20 02:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:47:05 [end_date_ymd] => 2025-03-20 02:47:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:47:05' and `end` < '2025-03-20 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-03-20 02:47:13] Production.ERROR: CronJobId end10 [2025-03-20 02:47:13] Production.INFO: ==1623== Releasing lock... [2025-03-20 02:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:47:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:47:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:47:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:47:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:47:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:47:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:47:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:47:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:47:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:47:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:47:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:47:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:47:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:47:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:47:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:47:16] Production.INFO: call_cost start [2025-03-20 02:47:16] Production.INFO: call_cost end [2025-03-20 02:47:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:47:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:47:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:47:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:47:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:47:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:47:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:47:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:47:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:47:17] Production.INFO: ==1619== Releasing lock... [2025-03-20 02:47:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:47:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:47:17] Production.INFO: count ==472 [2025-03-20 02:47:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:47:05 - End Time 2025-03-20 02:47:05 [2025-03-20 02:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719875', 'tblTempUsageDetail_20' ) start [2025-03-20 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719875', 'tblTempUsageDetail_20' ) end [2025-03-20 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719875', 'tblTempVendorCDR_20' ) start [2025-03-20 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719875', 'tblTempVendorCDR_20' ) end [2025-03-20 02:47:18] Production.INFO: ProcessCDR(1,14719875,1,1,2) [2025-03-20 02:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719875', 'tblTempUsageDetail_20' ) start [2025-03-20 02:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719875', 'tblTempUsageDetail_20' ) end [2025-03-20 02:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:47:22] Production.INFO: ==1627== Releasing lock... [2025-03-20 02:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:47:22] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 06:48:01] Production.INFO: ==1713== Lock acquired, processing the job... [2025-03-20 06:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:48:01] Production.INFO: neon service started [2025-03-20 06:48:01] Production.INFO: neon service started [2025-03-20 06:48:01] Production.INFO: ==1713== Releasing lock... [2025-03-20 06:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:48:02] Production.INFO: ==1717== Lock acquired, processing the job... [2025-03-20 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:48:02] Production.INFO: ==1715== Lock acquired, processing the job... [2025-03-20 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:48:02] Production.INFO: ==1717== Releasing lock... [2025-03-20 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:48:03] Production.INFO: ==1715== Releasing lock... [2025-03-20 02:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:48:04] Production.INFO: ==1726== Lock acquired, processing the job... [2025-03-20 02:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:48:04] Production.INFO: ==1728== Lock acquired, processing the job... [2025-03-20 02:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:48:04] Production.INFO: ==1720== Lock acquired, processing the job... [2025-03-20 02:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:48:04] Production.INFO: Account Balance Start. [2025-03-20 02:48:04] Production.INFO: CreateAllLog Start [2025-03-20 02:48:04] Production.INFO: 117 [2025-03-20 02:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:48:04] Production.INFO: ==1722== Lock acquired, processing the job... [2025-03-20 02:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:48:04] Production.INFO: ==1724== Lock acquired, processing the job... [2025-03-20 02:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:48:04] Production.INFO: ==1730== Lock acquired, processing the job... [2025-03-20 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 02:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:04] Production.INFO: count ==12 [2025-03-20 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-03-20 02:48:04] Production.INFO: count ==23 [2025-03-20 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719877') start [2025-03-20 02:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719877') end [2025-03-20 02:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:48:04] Production.INFO: 1 [2025-03-20 02:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:48:04] Production.ERROR: done [2025-03-20 02:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:04] Production.INFO: ==1730== Releasing lock... [2025-03-20 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:48:05] Production.INFO: ==1722== Releasing lock... [2025-03-20 02:48:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:48:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:48:05] Production.ERROR: done [2025-03-20 02:48:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:48:05] Production.INFO: Total Charge 0 [2025-03-20 02:48:05] Production.INFO: CreateAllLog End [2025-03-20 02:48:05] Production.INFO: Account Balance End. [2025-03-20 02:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:48:05] Production.INFO: ==1726== Releasing lock... [2025-03-20 02:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:48:06 [end_date_ymd] => 2025-03-20 02:48:06 [RateCDR] => 1 ) [2025-03-20 02:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:48:06' and `end` < '2025-03-20 02:48:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:48:14] Production.ERROR: CronJobId end10 [2025-03-20 02:48:14] Production.INFO: ==1724== Releasing lock... [2025-03-20 02:48:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:48:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:48:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:48:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:48:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:48:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:48:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:48:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:48:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:48:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:48:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:48:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:48:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:48:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:48:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:48:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:48:16] Production.INFO: call_cost start [2025-03-20 02:48:16] Production.INFO: call_cost end [2025-03-20 02:48:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:48:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:48:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:48:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:48:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:48:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:48:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:48:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:48:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:48:17] Production.INFO: ==1720== Releasing lock... [2025-03-20 02:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:48:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:48:18] Production.INFO: count ==476 [2025-03-20 02:48:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:48:06 - End Time 2025-03-20 02:48:06 [2025-03-20 02:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719880', 'tblTempUsageDetail_20' ) start [2025-03-20 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719880', 'tblTempUsageDetail_20' ) end [2025-03-20 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719880', 'tblTempVendorCDR_20' ) start [2025-03-20 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719880', 'tblTempVendorCDR_20' ) end [2025-03-20 02:48:18] Production.INFO: ProcessCDR(1,14719880,1,1,2) [2025-03-20 02:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719880', 'tblTempUsageDetail_20' ) start [2025-03-20 02:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719880', 'tblTempUsageDetail_20' ) end [2025-03-20 02:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:48:22] Production.INFO: ==1728== Releasing lock... [2025-03-20 02:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:48:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 06:49:01] Production.INFO: ==1817== Lock acquired, processing the job... [2025-03-20 06:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:49:01] Production.INFO: neon service started [2025-03-20 06:49:01] Production.INFO: neon service started [2025-03-20 06:49:01] Production.INFO: ==1817== Releasing lock... [2025-03-20 06:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:49:01] Production.INFO: ==1819== Lock acquired, processing the job... [2025-03-20 02:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:49:02] Production.INFO: ==1821== Lock acquired, processing the job... [2025-03-20 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 02:49:02] Production.INFO: ==1819== Releasing lock... [2025-03-20 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:49:02] Production.INFO: ==1821== Releasing lock... [2025-03-20 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:49:03] Production.INFO: ==1830== Lock acquired, processing the job... [2025-03-20 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:49:03] Production.INFO: ==1835== Lock acquired, processing the job... [2025-03-20 02:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:49:03] Production.INFO: ==1833== Lock acquired, processing the job... [2025-03-20 02:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:49:03] Production.INFO: Account Balance Start. [2025-03-20 02:49:03] Production.INFO: CreateAllLog Start [2025-03-20 02:49:03] Production.INFO: 117 [2025-03-20 02:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:49:03] Production.INFO: ==1828== Lock acquired, processing the job... [2025-03-20 02:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:49:03] Production.INFO: ==1837== Lock acquired, processing the job... [2025-03-20 02:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:49:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:03] Production.INFO: ==1830== Releasing lock... [2025-03-20 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:49:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:03] Production.INFO: ==1839== Lock acquired, processing the job... [2025-03-20 02:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:49:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:04] Production.ERROR: done [2025-03-20 02:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:49:04] Production.INFO: count ==12 [2025-03-20 02:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:49:04] Production.INFO: count ==23 [2025-03-20 02:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719884') start [2025-03-20 02:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719884') end [2025-03-20 02:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:49:04] Production.INFO: 1 [2025-03-20 02:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:49:04] Production.ERROR: done [2025-03-20 02:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:04] Production.INFO: ==1839== Releasing lock... [2025-03-20 02:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:49:05] Production.INFO: Total Charge 0 [2025-03-20 02:49:05] Production.INFO: CreateAllLog End [2025-03-20 02:49:05] Production.INFO: Account Balance End. [2025-03-20 02:49:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:49:05] Production.INFO: ==1835== Releasing lock... [2025-03-20 02:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:49:05 [end_date_ymd] => 2025-03-20 02:49:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:49:05' and `end` < '2025-03-20 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-03-20 02:49:15] Production.ERROR: CronJobId end10 [2025-03-20 02:49:15] Production.INFO: ==1833== Releasing lock... [2025-03-20 02:49:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:49:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:49:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:49:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:49:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:49:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:49:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:49:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:49:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:49:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:49:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:49:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:49:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:49:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:49:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:49:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:49:17] Production.INFO: call_cost start [2025-03-20 02:49:17] Production.INFO: call_cost end [2025-03-20 02:49:17] Production.INFO: count ==484 [2025-03-20 02:49:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:49:05 - End Time 2025-03-20 02:49:05 [2025-03-20 02:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719885', 'tblTempUsageDetail_20' ) start [2025-03-20 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719885', 'tblTempUsageDetail_20' ) end [2025-03-20 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719885', 'tblTempVendorCDR_20' ) start [2025-03-20 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719885', 'tblTempVendorCDR_20' ) end [2025-03-20 02:49:18] Production.INFO: ProcessCDR(1,14719885,1,1,2) [2025-03-20 02:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:49:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:49:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:49:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:49:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:49:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:49:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:49:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:49:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:49:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:49:18] Production.INFO: ==1828== Releasing lock... [2025-03-20 02:49:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:49:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719885', 'tblTempUsageDetail_20' ) start [2025-03-20 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719885', 'tblTempUsageDetail_20' ) end [2025-03-20 02:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:49:22] Production.INFO: ==1837== Releasing lock... [2025-03-20 02:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:49:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 06:50:02] Production.INFO: ==1917== Lock acquired, processing the job... [2025-03-20 06:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:50:02] Production.INFO: neon service started [2025-03-20 06:50:02] Production.INFO: neon service started [2025-03-20 06:50:02] Production.INFO: ==1917== Releasing lock... [2025-03-20 06:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:50:02] Production.INFO: ==1921== Lock acquired, processing the job... [2025-03-20 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:50:03] Production.INFO: ==1923== Lock acquired, processing the job... [2025-03-20 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:50:03] Production.INFO: ==1923== Releasing lock... [2025-03-20 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:50:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:50:03] Production.INFO: ==1921== Releasing lock... [2025-03-20 02:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:50:04] Production.INFO: ==1934== Lock acquired, processing the job... [2025-03-20 02:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:50:04] Production.INFO: ==1926== Lock acquired, processing the job... [2025-03-20 02:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 02:50:04] Production.INFO: Account Balance Start. [2025-03-20 02:50:04] Production.INFO: CreateAllLog Start [2025-03-20 02:50:04] Production.INFO: 117 [2025-03-20 02:50:04] Production.INFO: ==1938== Lock acquired, processing the job... [2025-03-20 02:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 02:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:04] Production.INFO: ==1940== Lock acquired, processing the job... [2025-03-20 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 02:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 02:50:04] Production.ERROR: CronJob PID - 1934 [2025-03-20 02:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 02:50:04] Production.ERROR: CronJob ID - 12 [2025-03-20 02:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 02:50:00 [2025-03-20 02:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 02:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 02:50:04] Production.INFO: ==1928== Lock acquired, processing the job... [2025-03-20 02:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:04] Production.INFO: ==1930== Lock acquired, processing the job... [2025-03-20 02:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 02:50:04] Production.INFO: ==1926== Releasing lock... [2025-03-20 02:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 02:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 02:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:50:04] Production.INFO: ==1936== Lock acquired, processing the job... [2025-03-20 02:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:50:04] Production.INFO: ==1932== Lock acquired, processing the job... [2025-03-20 02:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 02:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:04] Production.INFO: count ==12 [2025-03-20 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-03-20 02:50:04] Production.INFO: count ==23 [2025-03-20 02:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719887') start [2025-03-20 02:50:05] Production.INFO: Date 2025-03-15 [2025-03-20 02:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:05] Production.ERROR: done [2025-03-20 02:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719887') end [2025-03-20 02:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:50:05] Production.INFO: 1 [2025-03-20 02:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 02:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 02:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719890', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 02:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 02:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:05] Production.INFO: ==1940== Releasing lock... [2025-03-20 02:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:50:05] Production.INFO: ==1930== Releasing lock... [2025-03-20 02:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:50:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:50:05] Production.ERROR: done [2025-03-20 02:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:50:05] Production.INFO: Total Charge 0 [2025-03-20 02:50:05] Production.INFO: CreateAllLog End [2025-03-20 02:50:05] Production.ERROR: done [2025-03-20 02:50:05] Production.INFO: Account Balance End. [2025-03-20 02:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:50:05] Production.INFO: ==1934== Releasing lock... [2025-03-20 02:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:50:06 [end_date_ymd] => 2025-03-20 02:50:06 [RateCDR] => 1 ) [2025-03-20 02:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:50:06' and `end` < '2025-03-20 02:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719890', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 02:50:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 02:50:10] Production.INFO: ProcessCDR(1,14719890,1,1,2) [2025-03-20 02:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719890,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719890,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:50:10] Production.INFO: ==1938== Releasing lock... [2025-03-20 02:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 02:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 02:50:17] Production.ERROR: CronJobId end10 [2025-03-20 02:50:17] Production.INFO: ==1932== Releasing lock... [2025-03-20 02:50:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:50:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:50:18] Production.INFO: count ==500 [2025-03-20 02:50:19] Production.ERROR: pbx CDR StartTime 2025-03-19 23:50:06 - End Time 2025-03-20 02:50:06 [2025-03-20 02:50:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719891', 'tblTempUsageDetail_20' ) start [2025-03-20 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719891', 'tblTempUsageDetail_20' ) end [2025-03-20 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719891', 'tblTempVendorCDR_20' ) start [2025-03-20 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719891', 'tblTempVendorCDR_20' ) end [2025-03-20 02:50:19] Production.INFO: ProcessCDR(1,14719891,1,1,2) [2025-03-20 02:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:50:19] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:50:19] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:50:19] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:50:19] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:50:19] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:50:19] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:50:19] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:50:19] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:50:19] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:50:19] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:50:19] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:50:19] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:50:19] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:50:19] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:50:20] Production.INFO: call_cost start [2025-03-20 02:50:20] Production.INFO: call_cost end [2025-03-20 02:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:50:21] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:50:21] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:50:21] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:50:21] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:50:21] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:50:21] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:50:21] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:50:21] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:50:21] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:50:21] Production.INFO: ==1928== Releasing lock... [2025-03-20 02:50:21] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:50:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719891', 'tblTempUsageDetail_20' ) start [2025-03-20 02:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719891', 'tblTempUsageDetail_20' ) end [2025-03-20 02:50:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:50:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:50:24] Production.INFO: ==1936== Releasing lock... [2025-03-20 02:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:50:24] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 06:51:01] Production.INFO: ==2021== Lock acquired, processing the job... [2025-03-20 06:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:51:01] Production.INFO: neon service started [2025-03-20 06:51:01] Production.INFO: neon service started [2025-03-20 06:51:01] Production.INFO: ==2021== Releasing lock... [2025-03-20 06:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:51:02] Production.INFO: ==2023== Lock acquired, processing the job... [2025-03-20 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:51:02] Production.INFO: ==2023== Releasing lock... [2025-03-20 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:51:02] Production.INFO: ==2025== Lock acquired, processing the job... [2025-03-20 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:51:02] Production.INFO: ==2025== Releasing lock... [2025-03-20 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:51:03] Production.INFO: ==2036== Lock acquired, processing the job... [2025-03-20 02:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:51:03] Production.INFO: ==2038== Lock acquired, processing the job... [2025-03-20 02:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:51:03] Production.INFO: ==2027== Lock acquired, processing the job... [2025-03-20 02:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:51:03] Production.INFO: ==2029== Lock acquired, processing the job... [2025-03-20 02:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:51:03] Production.INFO: ==2031== Lock acquired, processing the job... [2025-03-20 02:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:51:03] Production.INFO: ==2033== Lock acquired, processing the job... [2025-03-20 02:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 02:51:03] Production.INFO: count ==12 [2025-03-20 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-03-20 02:51:03] Production.INFO: count ==23 [2025-03-20 02:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719892') start [2025-03-20 02:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:51:03] Production.ERROR: done [2025-03-20 02:51:03] Production.INFO: Account Balance Start. [2025-03-20 02:51:03] Production.INFO: CreateAllLog Start [2025-03-20 02:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:51:03] Production.INFO: 117 [2025-03-20 02:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719892') end [2025-03-20 02:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:51:04] Production.INFO: 1 [2025-03-20 02:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:51:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.INFO: ==2038== Releasing lock... [2025-03-20 02:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:51:04] Production.ERROR: done [2025-03-20 02:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.INFO: ==2029== Releasing lock... [2025-03-20 02:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:51:05] Production.INFO: Total Charge 0 [2025-03-20 02:51:05] Production.INFO: CreateAllLog End [2025-03-20 02:51:05] Production.INFO: Account Balance End. [2025-03-20 02:51:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:51:05] Production.INFO: ==2033== Releasing lock... [2025-03-20 02:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:51:05 [end_date_ymd] => 2025-03-20 02:51:05 [RateCDR] => 1 ) [2025-03-20 02:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:51:05' and `end` < '2025-03-20 02:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:51:14] Production.ERROR: CronJobId end10 [2025-03-20 02:51:14] Production.INFO: ==2031== Releasing lock... [2025-03-20 02:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:51:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:51:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:51:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:51:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:51:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:51:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:51:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:51:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:51:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:51:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:51:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:51:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:51:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:51:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:51:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:51:17] Production.INFO: call_cost start [2025-03-20 02:51:17] Production.INFO: call_cost end [2025-03-20 02:51:17] Production.INFO: count ==516 [2025-03-20 02:51:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:51:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:51:05 - End Time 2025-03-20 02:51:05 [2025-03-20 02:51:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719896', 'tblTempUsageDetail_20' ) start [2025-03-20 02:51:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:51:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:51:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:51:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:51:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:51:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:51:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719896', 'tblTempUsageDetail_20' ) end [2025-03-20 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719896', 'tblTempVendorCDR_20' ) start [2025-03-20 02:51:18] Production.INFO: ==2027== Releasing lock... [2025-03-20 02:51:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:51:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719896', 'tblTempVendorCDR_20' ) end [2025-03-20 02:51:18] Production.INFO: ProcessCDR(1,14719896,1,1,2) [2025-03-20 02:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719896', 'tblTempUsageDetail_20' ) start [2025-03-20 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719896', 'tblTempUsageDetail_20' ) end [2025-03-20 02:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:51:22] Production.INFO: ==2036== Releasing lock... [2025-03-20 02:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:51:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 06:52:02] Production.INFO: ==2114== Lock acquired, processing the job... [2025-03-20 06:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:52:02] Production.INFO: neon service started [2025-03-20 06:52:02] Production.INFO: neon service started [2025-03-20 06:52:02] Production.INFO: ==2114== Releasing lock... [2025-03-20 06:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:52:02] Production.INFO: ==2118== Lock acquired, processing the job... [2025-03-20 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:52:02] Production.INFO: ==2118== Releasing lock... [2025-03-20 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:52:02] Production.INFO: ==2116== Lock acquired, processing the job... [2025-03-20 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:52:03] Production.INFO: ==2116== Releasing lock... [2025-03-20 02:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:52:03] Production.INFO: ==2127== Lock acquired, processing the job... [2025-03-20 02:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:52:04] Production.INFO: ==2123== Lock acquired, processing the job... [2025-03-20 02:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:52:04] Production.INFO: ==2133== Lock acquired, processing the job... [2025-03-20 02:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:52:04] Production.INFO: ==2125== Lock acquired, processing the job... [2025-03-20 02:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:52:04] Production.INFO: count ==12 [2025-03-20 02:52:04] Production.INFO: ==2129== Lock acquired, processing the job... [2025-03-20 02:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:52:04] Production.INFO: ==2131== Lock acquired, processing the job... [2025-03-20 02:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 02:52:04] Production.INFO: count ==23 [2025-03-20 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719897') start [2025-03-20 02:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:52:04] Production.INFO: Account Balance Start. [2025-03-20 02:52:04] Production.INFO: CreateAllLog Start [2025-03-20 02:52:04] Production.INFO: 117 [2025-03-20 02:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719897') end [2025-03-20 02:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:52:04] Production.INFO: 1 [2025-03-20 02:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:52:04] Production.INFO: ==2125== Releasing lock... [2025-03-20 02:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:04] Production.INFO: ==2133== Releasing lock... [2025-03-20 02:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:05] Production.INFO: Date 2025-03-14 [2025-03-20 02:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:05] Production.ERROR: done [2025-03-20 02:52:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:52:05] Production.INFO: Date 2025-03-15 [2025-03-20 02:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:05] Production.INFO: Date 2025-03-16 [2025-03-20 02:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:05] Production.INFO: Date 2025-03-17 [2025-03-20 02:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:05] Production.ERROR: done [2025-03-20 02:52:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:52:05] Production.INFO: Total Charge 0 [2025-03-20 02:52:05] Production.INFO: CreateAllLog End [2025-03-20 02:52:05] Production.INFO: Account Balance End. [2025-03-20 02:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:52:05] Production.INFO: ==2129== Releasing lock... [2025-03-20 02:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:52:06 [end_date_ymd] => 2025-03-20 02:52:06 [RateCDR] => 1 ) [2025-03-20 02:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:52:06' and `end` < '2025-03-20 02:52:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:52:14] Production.ERROR: CronJobId end10 [2025-03-20 02:52:14] Production.INFO: ==2127== Releasing lock... [2025-03-20 02:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:52:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:52:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:52:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:52:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:52:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:52:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:52:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:52:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:52:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:52:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:52:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:52:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:52:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:52:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:52:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:52:17] Production.INFO: call_cost start [2025-03-20 02:52:17] Production.INFO: call_cost end [2025-03-20 02:52:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:52:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:52:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:52:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:52:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:52:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:52:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:52:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:52:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:52:18] Production.INFO: ==2123== Releasing lock... [2025-03-20 02:52:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:52:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:52:18] Production.INFO: count ==524 [2025-03-20 02:52:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:52:06 - End Time 2025-03-20 02:52:06 [2025-03-20 02:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719901', 'tblTempUsageDetail_20' ) start [2025-03-20 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719901', 'tblTempUsageDetail_20' ) end [2025-03-20 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719901', 'tblTempVendorCDR_20' ) start [2025-03-20 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719901', 'tblTempVendorCDR_20' ) end [2025-03-20 02:52:19] Production.INFO: ProcessCDR(1,14719901,1,1,2) [2025-03-20 02:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719901', 'tblTempUsageDetail_20' ) start [2025-03-20 02:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719901', 'tblTempUsageDetail_20' ) end [2025-03-20 02:52:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:52:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:52:23] Production.INFO: ==2131== Releasing lock... [2025-03-20 02:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:52:23] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 06:53:01] Production.INFO: ==2217== Lock acquired, processing the job... [2025-03-20 06:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:53:01] Production.INFO: neon service started [2025-03-20 06:53:01] Production.INFO: neon service started [2025-03-20 06:53:01] Production.INFO: ==2217== Releasing lock... [2025-03-20 06:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:53:02] Production.INFO: ==2221== Lock acquired, processing the job... [2025-03-20 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:53:02] Production.INFO: ==2223== Lock acquired, processing the job... [2025-03-20 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:53:02] Production.INFO: ==2223== Releasing lock... [2025-03-20 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:53:02] Production.INFO: ==2221== Releasing lock... [2025-03-20 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:53:03] Production.INFO: ==2230== Lock acquired, processing the job... [2025-03-20 02:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:53:03] Production.INFO: ==2226== Lock acquired, processing the job... [2025-03-20 02:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:53:03] Production.INFO: ==2236== Lock acquired, processing the job... [2025-03-20 02:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:53:03] Production.INFO: ==2228== Lock acquired, processing the job... [2025-03-20 02:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:53:03] Production.INFO: ==2232== Lock acquired, processing the job... [2025-03-20 02:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:53:03] Production.INFO: ==2234== Lock acquired, processing the job... [2025-03-20 02:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:53:04] Production.INFO: Account Balance Start. [2025-03-20 02:53:04] Production.INFO: CreateAllLog Start [2025-03-20 02:53:04] Production.INFO: count ==12 [2025-03-20 02:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:53:04] Production.INFO: 117 [2025-03-20 02:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:53:04] Production.INFO: count ==23 [2025-03-20 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719903') start [2025-03-20 02:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:04] Production.INFO: ==2228== Releasing lock... [2025-03-20 02:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719903') end [2025-03-20 02:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:53:04] Production.INFO: 1 [2025-03-20 02:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:04] Production.INFO: ==2236== Releasing lock... [2025-03-20 02:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:53:04] Production.ERROR: done [2025-03-20 02:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:04] Production.ERROR: done [2025-03-20 02:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:05] Production.INFO: Date 2025-03-15 [2025-03-20 02:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:05] Production.INFO: Date 2025-03-16 [2025-03-20 02:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:05] Production.INFO: Date 2025-03-17 [2025-03-20 02:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:53:05] Production.INFO: Total Charge 0 [2025-03-20 02:53:05] Production.INFO: CreateAllLog End [2025-03-20 02:53:05] Production.INFO: Account Balance End. [2025-03-20 02:53:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:53:05] Production.INFO: ==2232== Releasing lock... [2025-03-20 02:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:53:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:53:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:53:06 [end_date_ymd] => 2025-03-20 02:53:06 [RateCDR] => 1 ) [2025-03-20 02:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:53:06' and `end` < '2025-03-20 02:53:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:53:14] Production.ERROR: CronJobId end10 [2025-03-20 02:53:14] Production.INFO: ==2230== Releasing lock... [2025-03-20 02:53:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:53:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:53:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:53:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:53:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:53:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:53:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:53:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:53:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:53:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:53:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:53:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:53:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:53:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:53:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:53:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:53:17] Production.INFO: call_cost start [2025-03-20 02:53:17] Production.INFO: call_cost end [2025-03-20 02:53:18] Production.INFO: count ==532 [2025-03-20 02:53:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:53:06 - End Time 2025-03-20 02:53:06 [2025-03-20 02:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719906', 'tblTempUsageDetail_20' ) start [2025-03-20 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719906', 'tblTempUsageDetail_20' ) end [2025-03-20 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719906', 'tblTempVendorCDR_20' ) start [2025-03-20 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719906', 'tblTempVendorCDR_20' ) end [2025-03-20 02:53:18] Production.INFO: ProcessCDR(1,14719906,1,1,2) [2025-03-20 02:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:53:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:53:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:53:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:53:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:53:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:53:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:53:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:53:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:53:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:53:18] Production.INFO: ==2226== Releasing lock... [2025-03-20 02:53:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:53:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719906', 'tblTempUsageDetail_20' ) start [2025-03-20 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719906', 'tblTempUsageDetail_20' ) end [2025-03-20 02:53:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:53:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:53:22] Production.INFO: ==2234== Releasing lock... [2025-03-20 02:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:53:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 06:54:02] Production.INFO: ==2321== Lock acquired, processing the job... [2025-03-20 06:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:54:02] Production.INFO: neon service started [2025-03-20 06:54:02] Production.INFO: neon service started [2025-03-20 06:54:02] Production.INFO: ==2321== Releasing lock... [2025-03-20 06:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:54:02] Production.INFO: ==2325== Lock acquired, processing the job... [2025-03-20 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:54:02] Production.INFO: ==2325== Releasing lock... [2025-03-20 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:54:02] Production.INFO: ==2323== Lock acquired, processing the job... [2025-03-20 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:54:03] Production.INFO: ==2323== Releasing lock... [2025-03-20 02:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:54:04] Production.INFO: ==2334== Lock acquired, processing the job... [2025-03-20 02:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:54:04] Production.INFO: Account Balance Start. [2025-03-20 02:54:04] Production.INFO: CreateAllLog Start [2025-03-20 02:54:04] Production.INFO: 117 [2025-03-20 02:54:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:04] Production.INFO: ==2338== Lock acquired, processing the job... [2025-03-20 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:04] Production.INFO: ==2330== Lock acquired, processing the job... [2025-03-20 02:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:54:04] Production.INFO: ==2328== Lock acquired, processing the job... [2025-03-20 02:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:54:04] Production.INFO: ==2332== Lock acquired, processing the job... [2025-03-20 02:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:04] Production.INFO: count ==12 [2025-03-20 02:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:54:04] Production.INFO: ==2336== Lock acquired, processing the job... [2025-03-20 02:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:54:04] Production.INFO: count ==23 [2025-03-20 02:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719908') start [2025-03-20 02:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719908') end [2025-03-20 02:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:54:04] Production.INFO: 1 [2025-03-20 02:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:54:04] Production.INFO: ==2338== Releasing lock... [2025-03-20 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:04] Production.INFO: ==2330== Releasing lock... [2025-03-20 02:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:04] Production.ERROR: done [2025-03-20 02:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:54:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:54:05] Production.INFO: Total Charge 0 [2025-03-20 02:54:05] Production.INFO: CreateAllLog End [2025-03-20 02:54:05] Production.ERROR: done [2025-03-20 02:54:05] Production.INFO: Account Balance End. [2025-03-20 02:54:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:54:05] Production.INFO: ==2334== Releasing lock... [2025-03-20 02:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:54:06 [end_date_ymd] => 2025-03-20 02:54:06 [RateCDR] => 1 ) [2025-03-20 02:54:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:54:06' and `end` < '2025-03-20 02:54:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:54:14] Production.ERROR: CronJobId end10 [2025-03-20 02:54:14] Production.INFO: ==2332== Releasing lock... [2025-03-20 02:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:54:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:54:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:54:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:54:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:54:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:54:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:54:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:54:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:54:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:54:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:54:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:54:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:54:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:54:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:54:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:54:17] Production.INFO: call_cost start [2025-03-20 02:54:17] Production.INFO: call_cost end [2025-03-20 02:54:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:54:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:54:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:54:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:54:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:54:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:54:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:54:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:54:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:54:18] Production.INFO: ==2328== Releasing lock... [2025-03-20 02:54:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:54:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:54:18] Production.INFO: count ==554 [2025-03-20 02:54:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:54:06 - End Time 2025-03-20 02:54:06 [2025-03-20 02:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719911', 'tblTempUsageDetail_20' ) start [2025-03-20 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719911', 'tblTempUsageDetail_20' ) end [2025-03-20 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719911', 'tblTempVendorCDR_20' ) start [2025-03-20 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719911', 'tblTempVendorCDR_20' ) end [2025-03-20 02:54:18] Production.INFO: ProcessCDR(1,14719911,1,1,2) [2025-03-20 02:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719911', 'tblTempUsageDetail_20' ) start [2025-03-20 02:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719911', 'tblTempUsageDetail_20' ) end [2025-03-20 02:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:54:22] Production.INFO: ==2336== Releasing lock... [2025-03-20 02:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:54:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 06:55:01] Production.INFO: ==2417== Lock acquired, processing the job... [2025-03-20 06:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:55:01] Production.INFO: neon service started [2025-03-20 06:55:01] Production.INFO: neon service started [2025-03-20 06:55:01] Production.INFO: ==2417== Releasing lock... [2025-03-20 06:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:55:02] Production.INFO: ==2419== Lock acquired, processing the job... [2025-03-20 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:55:02] Production.INFO: ==2421== Lock acquired, processing the job... [2025-03-20 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:55:02] Production.INFO: ==2421== Releasing lock... [2025-03-20 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:55:02] Production.INFO: ==2419== Releasing lock... [2025-03-20 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:55:03] Production.INFO: ==2430== Lock acquired, processing the job... [2025-03-20 02:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:55:03] Production.INFO: ==2434== Lock acquired, processing the job... [2025-03-20 02:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:55:03] Production.INFO: Account Balance Start. [2025-03-20 02:55:03] Production.INFO: CreateAllLog Start [2025-03-20 02:55:03] Production.INFO: 117 [2025-03-20 02:55:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:55:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:55:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:55:03] Production.INFO: count ==12 [2025-03-20 02:55:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:55:04] Production.INFO: count ==23 [2025-03-20 02:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719913') start [2025-03-20 02:55:04] Production.INFO: ==2424== Lock acquired, processing the job... [2025-03-20 02:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:55:04] Production.INFO: ==2426== Lock acquired, processing the job... [2025-03-20 02:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:55:04] Production.INFO: ==2428== Lock acquired, processing the job... [2025-03-20 02:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719913') end [2025-03-20 02:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:55:04] Production.INFO: 1 [2025-03-20 02:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:55:04] Production.INFO: ==2434== Releasing lock... [2025-03-20 02:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:55:04] Production.INFO: ==2432== Lock acquired, processing the job... [2025-03-20 02:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:55:04] Production.INFO: Total Charge 0 [2025-03-20 02:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:55:04] Production.INFO: CreateAllLog End [2025-03-20 02:55:04] Production.INFO: ==2426== Releasing lock... [2025-03-20 02:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:55:04] Production.ERROR: done [2025-03-20 02:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:55:04] Production.ERROR: done [2025-03-20 02:55:04] Production.INFO: Account Balance End. [2025-03-20 02:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:55:05] Production.INFO: ==2430== Releasing lock... [2025-03-20 02:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:55:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:55:06 [end_date_ymd] => 2025-03-20 02:55:06 [RateCDR] => 1 ) [2025-03-20 02:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:55:06' and `end` < '2025-03-20 02:55:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:55:13] Production.ERROR: CronJobId end10 [2025-03-20 02:55:13] Production.INFO: ==2428== Releasing lock... [2025-03-20 02:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:55:16] Production.INFO: call_cost start [2025-03-20 02:55:16] Production.INFO: call_cost end [2025-03-20 02:55:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:55:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:55:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:55:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:55:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:55:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:55:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:55:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:55:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:55:17] Production.INFO: ==2424== Releasing lock... [2025-03-20 02:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:55:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:55:18] Production.INFO: count ==554 [2025-03-20 02:55:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:55:06 - End Time 2025-03-20 02:55:06 [2025-03-20 02:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719916', 'tblTempUsageDetail_20' ) start [2025-03-20 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719916', 'tblTempUsageDetail_20' ) end [2025-03-20 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719916', 'tblTempVendorCDR_20' ) start [2025-03-20 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719916', 'tblTempVendorCDR_20' ) end [2025-03-20 02:55:18] Production.INFO: ProcessCDR(1,14719916,1,1,2) [2025-03-20 02:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719916', 'tblTempUsageDetail_20' ) start [2025-03-20 02:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719916', 'tblTempUsageDetail_20' ) end [2025-03-20 02:55:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:55:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:55:22] Production.INFO: ==2432== Releasing lock... [2025-03-20 02:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:55:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 06:56:02] Production.INFO: ==2518== Lock acquired, processing the job... [2025-03-20 06:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:56:02] Production.INFO: neon service started [2025-03-20 06:56:02] Production.INFO: neon service started [2025-03-20 06:56:02] Production.INFO: ==2518== Releasing lock... [2025-03-20 06:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:56:02] Production.INFO: ==2522== Lock acquired, processing the job... [2025-03-20 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:56:02] Production.INFO: ==2522== Releasing lock... [2025-03-20 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:56:02] Production.INFO: ==2520== Lock acquired, processing the job... [2025-03-20 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:56:03] Production.INFO: ==2520== Releasing lock... [2025-03-20 02:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:56:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 02:56:03] Production.INFO: ==2531== Lock acquired, processing the job... [2025-03-20 02:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:56:04] Production.INFO: Account Balance Start. [2025-03-20 02:56:04] Production.INFO: CreateAllLog Start [2025-03-20 02:56:04] Production.INFO: 117 [2025-03-20 02:56:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.INFO: ==2527== Lock acquired, processing the job... [2025-03-20 02:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.INFO: ==2525== Lock acquired, processing the job... [2025-03-20 02:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:56:04] Production.INFO: ==2529== Lock acquired, processing the job... [2025-03-20 02:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:56:04] Production.INFO: ==2535== Lock acquired, processing the job... [2025-03-20 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.INFO: ==2533== Lock acquired, processing the job... [2025-03-20 02:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:56:04] Production.INFO: count ==12 [2025-03-20 02:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:56:04] Production.INFO: count ==23 [2025-03-20 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719920') start [2025-03-20 02:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:56:04] Production.INFO: ==2527== Releasing lock... [2025-03-20 02:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719920') end [2025-03-20 02:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:56:04] Production.INFO: 1 [2025-03-20 02:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:56:04] Production.INFO: Total Charge 0 [2025-03-20 02:56:04] Production.INFO: CreateAllLog End [2025-03-20 02:56:04] Production.INFO: ==2535== Releasing lock... [2025-03-20 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:56:05] Production.ERROR: done [2025-03-20 02:56:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:56:05] Production.INFO: Account Balance End. [2025-03-20 02:56:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:56:05] Production.INFO: ==2531== Releasing lock... [2025-03-20 02:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:56:05] Production.ERROR: done [2025-03-20 02:56:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:56:06 [end_date_ymd] => 2025-03-20 02:56:06 [RateCDR] => 1 ) [2025-03-20 02:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:56:06' and `end` < '2025-03-20 02:56:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:56:14] Production.ERROR: CronJobId end10 [2025-03-20 02:56:14] Production.INFO: ==2529== Releasing lock... [2025-03-20 02:56:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:56:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:56:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:56:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:56:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:56:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:56:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:56:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:56:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:56:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:56:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:56:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:56:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:56:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:56:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:56:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:56:17] Production.INFO: call_cost start [2025-03-20 02:56:17] Production.INFO: call_cost end [2025-03-20 02:56:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:56:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:56:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:56:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:56:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:56:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:56:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:56:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:56:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:56:18] Production.INFO: ==2525== Releasing lock... [2025-03-20 02:56:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:56:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:56:18] Production.INFO: count ==559 [2025-03-20 02:56:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:56:06 - End Time 2025-03-20 02:56:06 [2025-03-20 02:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719921', 'tblTempUsageDetail_20' ) start [2025-03-20 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719921', 'tblTempUsageDetail_20' ) end [2025-03-20 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719921', 'tblTempVendorCDR_20' ) start [2025-03-20 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719921', 'tblTempVendorCDR_20' ) end [2025-03-20 02:56:18] Production.INFO: ProcessCDR(1,14719921,1,1,2) [2025-03-20 02:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719921', 'tblTempUsageDetail_20' ) start [2025-03-20 02:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719921', 'tblTempUsageDetail_20' ) end [2025-03-20 02:56:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:56:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:56:24] Production.INFO: ==2533== Releasing lock... [2025-03-20 02:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:56:24] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 06:57:01] Production.INFO: ==2616== Lock acquired, processing the job... [2025-03-20 06:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:57:01] Production.INFO: neon service started [2025-03-20 06:57:01] Production.INFO: neon service started [2025-03-20 06:57:01] Production.INFO: ==2616== Releasing lock... [2025-03-20 06:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:57:01] Production.INFO: ==2618== Lock acquired, processing the job... [2025-03-20 02:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:57:02] Production.INFO: ==2618== Releasing lock... [2025-03-20 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:57:02] Production.INFO: ==2620== Lock acquired, processing the job... [2025-03-20 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:57:02] Production.INFO: ==2620== Releasing lock... [2025-03-20 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:57:03] Production.INFO: ==2625== Lock acquired, processing the job... [2025-03-20 02:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:57:03] Production.INFO: ==2629== Lock acquired, processing the job... [2025-03-20 02:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:57:03] Production.INFO: ==2627== Lock acquired, processing the job... [2025-03-20 02:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:57:03] Production.INFO: ==2633== Lock acquired, processing the job... [2025-03-20 02:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:57:03] Production.INFO: ==2631== Lock acquired, processing the job... [2025-03-20 02:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:57:03] Production.INFO: ==2635== Lock acquired, processing the job... [2025-03-20 02:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:57:03] Production.INFO: Account Balance Start. [2025-03-20 02:57:03] Production.INFO: CreateAllLog Start [2025-03-20 02:57:03] Production.INFO: 117 [2025-03-20 02:57:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 02:57:03] Production.INFO: count ==12 [2025-03-20 02:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 02:57:04] Production.INFO: count ==23 [2025-03-20 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719925') start [2025-03-20 02:57:04] Production.ERROR: done [2025-03-20 02:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719925') end [2025-03-20 02:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:57:04] Production.INFO: 1 [2025-03-20 02:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:57:04] Production.INFO: ==2627== Releasing lock... [2025-03-20 02:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.INFO: ==2635== Releasing lock... [2025-03-20 02:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.ERROR: done [2025-03-20 02:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:57:04] Production.INFO: Total Charge 0 [2025-03-20 02:57:04] Production.INFO: CreateAllLog End [2025-03-20 02:57:04] Production.INFO: Account Balance End. [2025-03-20 02:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:57:04] Production.INFO: ==2631== Releasing lock... [2025-03-20 02:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:57:05 [end_date_ymd] => 2025-03-20 02:57:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:57:05' and `end` < '2025-03-20 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-03-20 02:57:13] Production.ERROR: CronJobId end10 [2025-03-20 02:57:13] Production.INFO: ==2629== Releasing lock... [2025-03-20 02:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:57:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:57:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:57:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:57:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:57:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:57:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:57:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:57:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:57:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:57:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:57:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:57:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:57:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:57:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:57:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:57:16] Production.INFO: call_cost start [2025-03-20 02:57:16] Production.INFO: call_cost end [2025-03-20 02:57:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:57:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:57:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:57:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:57:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:57:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:57:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:57:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:57:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:57:17] Production.INFO: ==2625== Releasing lock... [2025-03-20 02:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:57:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:57:17] Production.INFO: count ==567 [2025-03-20 02:57:17] Production.ERROR: pbx CDR StartTime 2025-03-19 23:57:05 - End Time 2025-03-20 02:57:05 [2025-03-20 02:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719926', 'tblTempUsageDetail_20' ) start [2025-03-20 02:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719926', 'tblTempUsageDetail_20' ) end [2025-03-20 02:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719926', 'tblTempVendorCDR_20' ) start [2025-03-20 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719926', 'tblTempVendorCDR_20' ) end [2025-03-20 02:57:18] Production.INFO: ProcessCDR(1,14719926,1,1,2) [2025-03-20 02:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719926', 'tblTempUsageDetail_20' ) start [2025-03-20 02:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719926', 'tblTempUsageDetail_20' ) end [2025-03-20 02:57:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:57:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:57:22] Production.INFO: ==2633== Releasing lock... [2025-03-20 02:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:57:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 06:58:02] Production.INFO: ==2724== Lock acquired, processing the job... [2025-03-20 06:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:58:02] Production.INFO: neon service started [2025-03-20 06:58:02] Production.INFO: neon service started [2025-03-20 06:58:02] Production.INFO: ==2724== Releasing lock... [2025-03-20 06:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:58:02] Production.INFO: ==2726== Lock acquired, processing the job... [2025-03-20 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:58:02] Production.INFO: ==2726== Releasing lock... [2025-03-20 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:58:02] Production.INFO: ==2728== Lock acquired, processing the job... [2025-03-20 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:58:03] Production.INFO: ==2728== Releasing lock... [2025-03-20 06:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:58:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:58:03] Production.INFO: ==2730== Lock acquired, processing the job... [2025-03-20 02:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:58:03] Production.INFO: ==2732== Lock acquired, processing the job... [2025-03-20 02:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:58:03] Production.INFO: ==2734== Lock acquired, processing the job... [2025-03-20 02:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:58:04] Production.INFO: ==2736== Lock acquired, processing the job... [2025-03-20 02:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:58:04] Production.INFO: ==2732== Releasing lock... [2025-03-20 02:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:58:04] Production.INFO: ==2739== Lock acquired, processing the job... [2025-03-20 02:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:58:04] Production.INFO: Account Balance Start. [2025-03-20 02:58:04] Production.INFO: CreateAllLog Start [2025-03-20 02:58:04] Production.INFO: 117 [2025-03-20 02:58:04] Production.INFO: Date 2025-03-08 [2025-03-20 02:58:04] Production.INFO: ==2741== Lock acquired, processing the job... [2025-03-20 02:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:58:04] Production.INFO: Date 2025-03-09 [2025-03-20 02:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:04] Production.INFO: Date 2025-03-10 [2025-03-20 02:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 02:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:58:04] Production.INFO: count ==12 [2025-03-20 02:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 02:58:04] Production.INFO: count ==23 [2025-03-20 02:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719930') start [2025-03-20 02:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 02:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:04] Production.ERROR: done [2025-03-20 02:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719930') end [2025-03-20 02:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:58:04] Production.INFO: 1 [2025-03-20 02:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:58:04] Production.INFO: ==2741== Releasing lock... [2025-03-20 02:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:58:05] Production.INFO: Date 2025-03-18 [2025-03-20 02:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:05] Production.ERROR: done [2025-03-20 02:58:05] Production.INFO: Date 2025-03-19 [2025-03-20 02:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:05] Production.INFO: Date 2025-03-20 [2025-03-20 02:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 02:58:05] Production.INFO: Total Charge 0 [2025-03-20 02:58:05] Production.INFO: CreateAllLog End [2025-03-20 02:58:05] Production.INFO: Account Balance End. [2025-03-20 02:58:05] Production.ERROR: CronJobId end 12 [2025-03-20 02:58:05] Production.INFO: ==2736== Releasing lock... [2025-03-20 02:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:58:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:58:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:58:06 [end_date_ymd] => 2025-03-20 02:58:06 [RateCDR] => 1 ) [2025-03-20 02:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-19 23:58:06' and `end` < '2025-03-20 02:58:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 02:58:14] Production.ERROR: CronJobId end10 [2025-03-20 02:58:14] Production.INFO: ==2734== Releasing lock... [2025-03-20 02:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:58:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:58:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:58:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:58:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:58:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:58:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:58:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:58:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:58:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:58:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:58:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:58:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:58:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:58:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:58:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:58:17] Production.INFO: call_cost start [2025-03-20 02:58:17] Production.INFO: call_cost end [2025-03-20 02:58:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:58:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:58:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:58:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:58:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:58:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:58:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:58:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:58:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:58:18] Production.INFO: ==2730== Releasing lock... [2025-03-20 02:58:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:58:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:58:18] Production.INFO: count ==575 [2025-03-20 02:58:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:58:06 - End Time 2025-03-20 02:58:06 [2025-03-20 02:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719931', 'tblTempUsageDetail_20' ) start [2025-03-20 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719931', 'tblTempUsageDetail_20' ) end [2025-03-20 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719931', 'tblTempVendorCDR_20' ) start [2025-03-20 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719931', 'tblTempVendorCDR_20' ) end [2025-03-20 02:58:18] Production.INFO: ProcessCDR(1,14719931,1,1,2) [2025-03-20 02:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719931', 'tblTempUsageDetail_20' ) start [2025-03-20 02:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719931', 'tblTempUsageDetail_20' ) end [2025-03-20 02:58:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:58:22] Production.INFO: ==2739== Releasing lock... [2025-03-20 02:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:58:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 06:59:01] Production.INFO: ==2825== Lock acquired, processing the job... [2025-03-20 06:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 06:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 06:59:01] Production.INFO: neon service started [2025-03-20 06:59:01] Production.INFO: neon service started [2025-03-20 06:59:01] Production.INFO: ==2825== Releasing lock... [2025-03-20 06:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 06:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 02:59:02] Production.INFO: ==2827== Lock acquired, processing the job... [2025-03-20 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 02:59:02] Production.INFO: ==2827== Releasing lock... [2025-03-20 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 02:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:59:02] Production.INFO: ==2829== Lock acquired, processing the job... [2025-03-20 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:59:02] Production.INFO: ==2829== Releasing lock... [2025-03-20 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 06:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 02:59:03] Production.INFO: ==2831== Lock acquired, processing the job... [2025-03-20 02:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 02:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 02:59:03] Production.INFO: ==2833== Lock acquired, processing the job... [2025-03-20 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 02:59:03] Production.INFO: ==2838== Lock acquired, processing the job... [2025-03-20 02:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 02:59:03] Production.INFO: Account Balance Start. [2025-03-20 02:59:03] Production.INFO: CreateAllLog Start [2025-03-20 02:59:03] Production.INFO: 117 [2025-03-20 02:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 02:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:03] Production.INFO: ==2835== Lock acquired, processing the job... [2025-03-20 02:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 02:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 02:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:03] Production.INFO: ==2833== Releasing lock... [2025-03-20 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 02:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 02:59:03] Production.INFO: Date 2025-03-10 [2025-03-20 02:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:03] Production.INFO: Date 2025-03-11 [2025-03-20 02:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:03] Production.INFO: ==2842== Lock acquired, processing the job... [2025-03-20 02:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 02:59:03] Production.INFO: ==2840== Lock acquired, processing the job... [2025-03-20 02:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 02:59:03] Production.INFO: Date 2025-03-12 [2025-03-20 02:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 02:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 02:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 02:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 02:59:03] Production.INFO: Date 2025-03-13 [2025-03-20 02:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 02:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 02:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:04] Production.INFO: count ==12 [2025-03-20 02:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 02:59:04] Production.INFO: count ==23 [2025-03-20 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719935') start [2025-03-20 02:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 02:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 02:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 02:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719935') end [2025-03-20 02:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 02:59:04] Production.INFO: 1 [2025-03-20 02:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 02:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 02:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 02:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 02:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 02:59:04] Production.INFO: Total Charge 0 [2025-03-20 02:59:04] Production.INFO: ==2842== Releasing lock... [2025-03-20 02:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 02:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 02:59:04] Production.INFO: CreateAllLog End [2025-03-20 02:59:04] Production.ERROR: done [2025-03-20 02:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 02:59:04] Production.ERROR: done [2025-03-20 02:59:04] Production.INFO: Account Balance End. [2025-03-20 02:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 02:59:04] Production.INFO: ==2838== Releasing lock... [2025-03-20 02:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 02:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 02:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-19 23:59:05 [end_date_ymd] => 2025-03-20 02:59:05 [RateCDR] => 1 ) [2025-03-20 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-03-19 23:59:05' and `end` < '2025-03-20 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-03-20 02:59:14] Production.ERROR: CronJobId end10 [2025-03-20 02:59:14] Production.INFO: ==2835== Releasing lock... [2025-03-20 02:59:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 02:59:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 02:59:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 02:59:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 02:59:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 02:59:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 02:59:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 02:59:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 02:59:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 02:59:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 02:59:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 02:59:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 02:59:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 02:59:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 02:59:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 02:59:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 02:59:17] Production.INFO: call_cost start [2025-03-20 02:59:17] Production.INFO: call_cost end [2025-03-20 02:59:18] Production.INFO: count ==577 [2025-03-20 02:59:18] Production.ERROR: pbx CDR StartTime 2025-03-19 23:59:05 - End Time 2025-03-20 02:59:05 [2025-03-20 02:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719936', 'tblTempUsageDetail_20' ) start [2025-03-20 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719936', 'tblTempUsageDetail_20' ) end [2025-03-20 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719936', 'tblTempVendorCDR_20' ) start [2025-03-20 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719936', 'tblTempVendorCDR_20' ) end [2025-03-20 02:59:18] Production.INFO: ProcessCDR(1,14719936,1,1,2) [2025-03-20 02:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:59:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 02:59:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 02:59:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 02:59:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 02:59:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 02:59:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 02:59:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 02:59:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 02:59:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 02:59:18] Production.INFO: ==2831== Releasing lock... [2025-03-20 02:59:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 02:59:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 02:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 02:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 02:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719936', 'tblTempUsageDetail_20' ) start [2025-03-20 02:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719936', 'tblTempUsageDetail_20' ) end [2025-03-20 02:59:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 02:59:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 02:59:22] Production.INFO: ==2840== Releasing lock... [2025-03-20 02:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 02:59:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:00:02] Production.INFO: ==2911== Lock acquired, processing the job... [2025-03-20 07:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:00:02] Production.INFO: neon service started [2025-03-20 07:00:02] Production.INFO: neon service started [2025-03-20 07:00:02] Production.INFO: ==2911== Releasing lock... [2025-03-20 07:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:00:02] Production.INFO: ==2916== Lock acquired, processing the job... [2025-03-20 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:00:02] Production.INFO: ==2916== Releasing lock... [2025-03-20 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:00:02] Production.INFO: ==2914== Lock acquired, processing the job... [2025-03-20 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:00:03] Production.INFO: ==2914== Releasing lock... [2025-03-20 03:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:00:04] Production.INFO: ==2920== Lock acquired, processing the job... [2025-03-20 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 03:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 03:00:04] Production.INFO: ==2922== Lock acquired, processing the job... [2025-03-20 03:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 03:00:04] Production.INFO: ==2920== Releasing lock... [2025-03-20 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 03:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 03:00:04] Production.INFO: ==2926== Lock acquired, processing the job... [2025-03-20 03:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:00:04] Production.INFO: ==2928== Lock acquired, processing the job... [2025-03-20 03:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:00:04] Production.INFO: ==2924== Lock acquired, processing the job... [2025-03-20 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:00:04] Production.INFO: Account Balance Start. [2025-03-20 03:00:04] Production.INFO: CreateAllLog Start [2025-03-20 03:00:04] Production.INFO: 117 [2025-03-20 03:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:04] Production.INFO: ==2930== Lock acquired, processing the job... [2025-03-20 03:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:00:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:00:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:00:04] Production.INFO: ==2932== Lock acquired, processing the job... [2025-03-20 03:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 03:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:04] Production.INFO: ==2934== Lock acquired, processing the job... [2025-03-20 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:00:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:00:05] Production.INFO: ==2924== Releasing lock... [2025-03-20 03:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:00:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 03:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 03:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:05] Production.INFO: count ==12 [2025-03-20 03:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:00:05] Production.INFO: count ==23 [2025-03-20 03:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719940') start [2025-03-20 03:00:05] Production.ERROR: done [2025-03-20 03:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:00:05] Production.INFO: Total Charge 0 [2025-03-20 03:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14719940') end [2025-03-20 03:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:00:05] Production.INFO: 1 [2025-03-20 03:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:00:05] Production.INFO: CreateAllLog End [2025-03-20 03:00:05] Production.INFO: ==2934== Releasing lock... [2025-03-20 03:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:00:05] Production.ERROR: done [2025-03-20 03:00:05] Production.ERROR: done [2025-03-20 03:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 03:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719941', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 03:00:05] Production.INFO: Account Balance End. [2025-03-20 03:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:00:05] Production.INFO: ==2928== Releasing lock... [2025-03-20 03:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:00:07 [end_date_ymd] => 2025-03-20 03:00:07 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:00:07' and `end` < '2025-03-20 03: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-03-20 03:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719941', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 03:00:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 03:00:10] Production.INFO: ProcessCDR(1,14719941,1,1,2) [2025-03-20 03:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719941,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719941,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:00:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:00:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:00:10] Production.INFO: ==2932== Releasing lock... [2025-03-20 03:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 03:00:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 03:00:15] Production.ERROR: CronJobId end10 [2025-03-20 03:00:15] Production.INFO: ==2926== Releasing lock... [2025-03-20 03:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:00:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:00:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:00:18] Production.INFO: call_cost start [2025-03-20 03:00:18] Production.INFO: call_cost end [2025-03-20 03:00:19] Production.INFO: count ==585 [2025-03-20 03:00:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:00:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:00:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:00:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:00:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:00:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:00:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:00:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:00:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:00:19] Production.INFO: ==2922== Releasing lock... [2025-03-20 03:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:00:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:00:19] Production.ERROR: pbx CDR StartTime 2025-03-20 00:00:07 - End Time 2025-03-20 03:00:07 [2025-03-20 03:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719942', 'tblTempUsageDetail_20' ) start [2025-03-20 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719942', 'tblTempUsageDetail_20' ) end [2025-03-20 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719942', 'tblTempVendorCDR_20' ) start [2025-03-20 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719942', 'tblTempVendorCDR_20' ) end [2025-03-20 03:00:19] Production.INFO: ProcessCDR(1,14719942,1,1,2) [2025-03-20 03:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719942', 'tblTempUsageDetail_20' ) start [2025-03-20 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719942', 'tblTempUsageDetail_20' ) end [2025-03-20 03:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:00:23] Production.INFO: ==2930== Releasing lock... [2025-03-20 03:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:00:23] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:01:01] Production.INFO: ==3055== Lock acquired, processing the job... [2025-03-20 07:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:01:01] Production.INFO: neon service started [2025-03-20 07:01:01] Production.INFO: neon service started [2025-03-20 07:01:01] Production.INFO: ==3055== Releasing lock... [2025-03-20 07:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:01:02] Production.INFO: ==3063== Lock acquired, processing the job... [2025-03-20 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:01:02] Production.INFO: ==3065== Lock acquired, processing the job... [2025-03-20 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:01:02] Production.INFO: ==3065== Releasing lock... [2025-03-20 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:01:02] Production.INFO: ==3063== Releasing lock... [2025-03-20 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:01:03] Production.INFO: ==3070== Lock acquired, processing the job... [2025-03-20 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:01:03] Production.INFO: ==3068== Lock acquired, processing the job... [2025-03-20 03:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:01:03] Production.INFO: ==3076== Lock acquired, processing the job... [2025-03-20 03:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:01:03] Production.INFO: ==3072== Lock acquired, processing the job... [2025-03-20 03:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:01:03] Production.INFO: ==3074== Lock acquired, processing the job... [2025-03-20 03:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:01:03] Production.INFO: ==3078== Lock acquired, processing the job... [2025-03-20 03:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:01:03] Production.INFO: ==3070== Releasing lock... [2025-03-20 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 03:01:04] Production.INFO: count ==12 [2025-03-20 03:01:04] Production.ERROR: done [2025-03-20 03:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:01:04] Production.INFO: count ==23 [2025-03-20 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719945') start [2025-03-20 03:01:04] Production.INFO: Account Balance Start. [2025-03-20 03:01:04] Production.INFO: CreateAllLog Start [2025-03-20 03:01:04] Production.INFO: 117 [2025-03-20 03:01:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719945') end [2025-03-20 03:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:01:04] Production.INFO: 1 [2025-03-20 03:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.ERROR: done [2025-03-20 03:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.INFO: ==3078== Releasing lock... [2025-03-20 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:01:04] Production.INFO: Total Charge 0 [2025-03-20 03:01:04] Production.INFO: CreateAllLog End [2025-03-20 03:01:04] Production.INFO: Account Balance End. [2025-03-20 03:01:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:01:04] Production.INFO: ==3074== Releasing lock... [2025-03-20 03:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:01:05 [end_date_ymd] => 2025-03-20 03:01:05 [RateCDR] => 1 ) [2025-03-20 03:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:01:05' and `end` < '2025-03-20 03:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:01:14] Production.ERROR: CronJobId end10 [2025-03-20 03:01:14] Production.INFO: ==3072== Releasing lock... [2025-03-20 03:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:01:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:01:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:01:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:01:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:01:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:01:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:01:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:01:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:01:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:01:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:01:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:01:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:01:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:01:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:01:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:01:16] Production.INFO: call_cost start [2025-03-20 03:01:16] Production.INFO: call_cost end [2025-03-20 03:01:17] Production.INFO: count ==593 [2025-03-20 03:01:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:01:05 - End Time 2025-03-20 03:01:05 [2025-03-20 03:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719947', 'tblTempUsageDetail_20' ) start [2025-03-20 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719947', 'tblTempUsageDetail_20' ) end [2025-03-20 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719947', 'tblTempVendorCDR_20' ) start [2025-03-20 03:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719947', 'tblTempVendorCDR_20' ) end [2025-03-20 03:01:17] Production.INFO: ProcessCDR(1,14719947,1,1,2) [2025-03-20 03:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:01:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:01:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:01:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:01:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:01:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:01:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:01:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:01:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:01:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:01:18] Production.INFO: ==3068== Releasing lock... [2025-03-20 03:01:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:01:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719947', 'tblTempUsageDetail_20' ) start [2025-03-20 03:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719947', 'tblTempUsageDetail_20' ) end [2025-03-20 03:01:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:01:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:01:21] Production.INFO: ==3076== Releasing lock... [2025-03-20 03:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:01:21] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:02:02] Production.INFO: ==3224== Lock acquired, processing the job... [2025-03-20 07:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:02:02] Production.INFO: neon service started [2025-03-20 07:02:02] Production.INFO: neon service started [2025-03-20 07:02:02] Production.INFO: ==3224== Releasing lock... [2025-03-20 07:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:02:02] Production.INFO: ==3227== Lock acquired, processing the job... [2025-03-20 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:02:02] Production.INFO: ==3227== Releasing lock... [2025-03-20 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:02:03] Production.INFO: ==3229== Lock acquired, processing the job... [2025-03-20 07:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:02:03] Production.INFO: ==3229== Releasing lock... [2025-03-20 07:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:02:04] Production.INFO: ==3239== Lock acquired, processing the job... [2025-03-20 03:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:02:04] Production.INFO: ==3243== Lock acquired, processing the job... [2025-03-20 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:02:04] Production.INFO: ==3233== Lock acquired, processing the job... [2025-03-20 03:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:02:04] Production.INFO: Account Balance Start. [2025-03-20 03:02:04] Production.INFO: CreateAllLog Start [2025-03-20 03:02:04] Production.INFO: 117 [2025-03-20 03:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:04] Production.INFO: ==3235== Lock acquired, processing the job... [2025-03-20 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 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-03-20 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:04] Production.INFO: count ==12 [2025-03-20 03:02:04] Production.INFO: ==3237== Lock acquired, processing the job... [2025-03-20 03:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 03:02:04] Production.INFO: count ==23 [2025-03-20 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719948') start [2025-03-20 03:02:04] Production.INFO: ==3241== Lock acquired, processing the job... [2025-03-20 03:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719948') end [2025-03-20 03:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:02:04] Production.INFO: 1 [2025-03-20 03:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:04] Production.INFO: ==3243== Releasing lock... [2025-03-20 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:04] Production.INFO: ==3235== Releasing lock... [2025-03-20 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:02:05] Production.INFO: Total Charge 0 [2025-03-20 03:02:05] Production.INFO: CreateAllLog End [2025-03-20 03:02:05] Production.ERROR: done [2025-03-20 03:02:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:02:05] Production.ERROR: done [2025-03-20 03:02:05] Production.INFO: Account Balance End. [2025-03-20 03:02:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:02:05] Production.INFO: ==3239== Releasing lock... [2025-03-20 03:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:02:06 [end_date_ymd] => 2025-03-20 03:02:06 [RateCDR] => 1 ) [2025-03-20 03:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:02:06' and `end` < '2025-03-20 03:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:02:13] Production.ERROR: CronJobId end10 [2025-03-20 03:02:13] Production.INFO: ==3237== Releasing lock... [2025-03-20 03:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:02:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:02:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:02:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:02:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:02:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:02:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:02:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:02:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:02:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:02:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:02:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:02:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:02:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:02:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:02:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:02:16] Production.INFO: call_cost start [2025-03-20 03:02:16] Production.INFO: call_cost end [2025-03-20 03:02:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:02:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:02:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:02:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:02:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:02:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:02:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:02:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:02:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:02:17] Production.INFO: ==3233== Releasing lock... [2025-03-20 03:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:02:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:02:18] Production.INFO: count ==594 [2025-03-20 03:02:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:02:06 - End Time 2025-03-20 03:02:06 [2025-03-20 03:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719952', 'tblTempUsageDetail_20' ) start [2025-03-20 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719952', 'tblTempUsageDetail_20' ) end [2025-03-20 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719952', 'tblTempVendorCDR_20' ) start [2025-03-20 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719952', 'tblTempVendorCDR_20' ) end [2025-03-20 03:02:18] Production.INFO: ProcessCDR(1,14719952,1,1,2) [2025-03-20 03:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719952', 'tblTempUsageDetail_20' ) start [2025-03-20 03:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719952', 'tblTempUsageDetail_20' ) end [2025-03-20 03:02:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:02:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:02:22] Production.INFO: ==3241== Releasing lock... [2025-03-20 03:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:02:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:03:01] Production.INFO: ==3310== Lock acquired, processing the job... [2025-03-20 07:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:03:01] Production.INFO: neon service started [2025-03-20 07:03:01] Production.INFO: neon service started [2025-03-20 07:03:01] Production.INFO: ==3310== Releasing lock... [2025-03-20 07:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:03:01] Production.INFO: ==3312== Lock acquired, processing the job... [2025-03-20 03:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:03:02] Production.INFO: ==3312== Releasing lock... [2025-03-20 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:03:02] Production.INFO: ==3314== Lock acquired, processing the job... [2025-03-20 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:03:02] Production.INFO: ==3314== Releasing lock... [2025-03-20 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:03:03] Production.INFO: ==3325== Lock acquired, processing the job... [2025-03-20 03:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:03:03] Production.INFO: ==3327== Lock acquired, processing the job... [2025-03-20 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:03:03] Production.INFO: ==3317== Lock acquired, processing the job... [2025-03-20 03:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:03:03] Production.INFO: ==3319== Lock acquired, processing the job... [2025-03-20 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:03:03] Production.INFO: ==3321== Lock acquired, processing the job... [2025-03-20 03:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:03:03] Production.INFO: ==3323== Lock acquired, processing the job... [2025-03-20 03:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 03:03:03] Production.INFO: count ==12 [2025-03-20 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-03-20 03:03:03] Production.INFO: count ==23 [2025-03-20 03:03:03] Production.INFO: Account Balance Start. [2025-03-20 03:03:03] Production.INFO: CreateAllLog Start [2025-03-20 03:03:03] Production.INFO: 117 [2025-03-20 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719953') start [2025-03-20 03:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:03:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:03:03] Production.ERROR: done [2025-03-20 03:03:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719953') end [2025-03-20 03:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:03:03] Production.INFO: 1 [2025-03-20 03:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:03:03] Production.INFO: ==3319== Releasing lock... [2025-03-20 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:03:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:03] Production.INFO: Date 2025-03-11 [2025-03-20 03:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:03] Production.INFO: Date 2025-03-12 [2025-03-20 03:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:03:04] Production.INFO: ==3327== Releasing lock... [2025-03-20 03:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:04] Production.ERROR: done [2025-03-20 03:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:03:04] Production.INFO: Total Charge 0 [2025-03-20 03:03:04] Production.INFO: CreateAllLog End [2025-03-20 03:03:04] Production.INFO: Account Balance End. [2025-03-20 03:03:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:03:04] Production.INFO: ==3323== Releasing lock... [2025-03-20 03:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:03:05 [end_date_ymd] => 2025-03-20 03:03:05 [RateCDR] => 1 ) [2025-03-20 03:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:03:05' and `end` < '2025-03-20 03:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:03:13] Production.ERROR: CronJobId end10 [2025-03-20 03:03:13] Production.INFO: ==3321== Releasing lock... [2025-03-20 03:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:03:15] Production.INFO: call_cost start [2025-03-20 03:03:15] Production.INFO: call_cost end [2025-03-20 03:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:03:16] Production.INFO: ==3317== Releasing lock... [2025-03-20 03:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:03:17] Production.INFO: count ==601 [2025-03-20 03:03:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:03:05 - End Time 2025-03-20 03:03:05 [2025-03-20 03:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719957', 'tblTempUsageDetail_20' ) start [2025-03-20 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719957', 'tblTempUsageDetail_20' ) end [2025-03-20 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719957', 'tblTempVendorCDR_20' ) start [2025-03-20 03:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719957', 'tblTempVendorCDR_20' ) end [2025-03-20 03:03:17] Production.INFO: ProcessCDR(1,14719957,1,1,2) [2025-03-20 03:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719957', 'tblTempUsageDetail_20' ) start [2025-03-20 03:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719957', 'tblTempUsageDetail_20' ) end [2025-03-20 03:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:03:21] Production.INFO: ==3325== Releasing lock... [2025-03-20 03:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:03:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:04:02] Production.INFO: ==3396== Lock acquired, processing the job... [2025-03-20 07:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:04:02] Production.INFO: neon service started [2025-03-20 07:04:02] Production.INFO: neon service started [2025-03-20 07:04:02] Production.INFO: ==3396== Releasing lock... [2025-03-20 07:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:04:02] Production.INFO: ==3401== Lock acquired, processing the job... [2025-03-20 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:04:02] Production.INFO: ==3401== Releasing lock... [2025-03-20 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:04:02] Production.INFO: ==3399== Lock acquired, processing the job... [2025-03-20 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:04:03] Production.INFO: ==3399== Releasing lock... [2025-03-20 03:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:04:03] Production.INFO: ==3407== Lock acquired, processing the job... [2025-03-20 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:04:04] Production.INFO: ==3411== Lock acquired, processing the job... [2025-03-20 03:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:04:04] Production.INFO: ==3415== Lock acquired, processing the job... [2025-03-20 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:04:04] Production.INFO: Account Balance Start. [2025-03-20 03:04:04] Production.INFO: CreateAllLog Start [2025-03-20 03:04:04] Production.INFO: 117 [2025-03-20 03:04:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.INFO: ==3407== Releasing lock... [2025-03-20 03:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.INFO: count ==12 [2025-03-20 03:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:04:04] Production.INFO: count ==23 [2025-03-20 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719960') start [2025-03-20 03:04:04] Production.INFO: ==3409== Lock acquired, processing the job... [2025-03-20 03:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:04:04] Production.INFO: ==3405== Lock acquired, processing the job... [2025-03-20 03:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719960') end [2025-03-20 03:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:04:04] Production.INFO: 1 [2025-03-20 03:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.INFO: ==3413== Lock acquired, processing the job... [2025-03-20 03:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:04:04] Production.INFO: ==3415== Releasing lock... [2025-03-20 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:04:04] Production.INFO: Total Charge 0 [2025-03-20 03:04:05] Production.INFO: CreateAllLog End [2025-03-20 03:04:05] Production.ERROR: done [2025-03-20 03:04:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:04:05] Production.ERROR: done [2025-03-20 03:04:05] Production.INFO: Account Balance End. [2025-03-20 03:04:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:04:05] Production.INFO: ==3411== Releasing lock... [2025-03-20 03:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:04:06 [end_date_ymd] => 2025-03-20 03:04:06 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:04:06' and `end` < '2025-03-20 03: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-03-20 03:04:14] Production.ERROR: CronJobId end10 [2025-03-20 03:04:14] Production.INFO: ==3409== Releasing lock... [2025-03-20 03:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:04:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:04:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:04:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:04:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:04:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:04:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:04:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:04:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:04:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:04:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:04:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:04:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:04:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:04:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:04:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:04:17] Production.INFO: call_cost start [2025-03-20 03:04:17] Production.INFO: call_cost end [2025-03-20 03:04:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:04:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:04:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:04:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:04:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:04:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:04:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:04:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:04:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:04:18] Production.INFO: ==3405== Releasing lock... [2025-03-20 03:04:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:04:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:04:18] Production.INFO: count ==606 [2025-03-20 03:04:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:04:06 - End Time 2025-03-20 03:04:06 [2025-03-20 03:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719962', 'tblTempUsageDetail_20' ) start [2025-03-20 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719962', 'tblTempUsageDetail_20' ) end [2025-03-20 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719962', 'tblTempVendorCDR_20' ) start [2025-03-20 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719962', 'tblTempVendorCDR_20' ) end [2025-03-20 03:04:18] Production.INFO: ProcessCDR(1,14719962,1,1,2) [2025-03-20 03:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719962', 'tblTempUsageDetail_20' ) start [2025-03-20 03:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719962', 'tblTempUsageDetail_20' ) end [2025-03-20 03:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:04:22] Production.INFO: ==3413== Releasing lock... [2025-03-20 03:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:04:22] Production.INFO: 33.5 MB #Memory Used# [2025-03-20 07:05:01] Production.INFO: ==3484== Lock acquired, processing the job... [2025-03-20 07:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:05:01] Production.INFO: neon service started [2025-03-20 07:05:01] Production.INFO: neon service started [2025-03-20 07:05:01] Production.INFO: ==3484== Releasing lock... [2025-03-20 07:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:05:01] Production.INFO: ==3490== Lock acquired, processing the job... [2025-03-20 07:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:05:01] Production.INFO: ==3490== Releasing lock... [2025-03-20 07:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:05:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:05:02] Production.INFO: ==3488== Lock acquired, processing the job... [2025-03-20 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:05:02] Production.INFO: ==3488== Releasing lock... [2025-03-20 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:05:03] Production.INFO: ==3495== Lock acquired, processing the job... [2025-03-20 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:05:03] Production.INFO: ==3499== Lock acquired, processing the job... [2025-03-20 03:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:05:03] Production.INFO: ==3501== Lock acquired, processing the job... [2025-03-20 03:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:05:03] Production.INFO: Account Balance Start. [2025-03-20 03:05:03] Production.INFO: CreateAllLog Start [2025-03-20 03:05:03] Production.INFO: ==3493== Lock acquired, processing the job... [2025-03-20 03:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:05:03] Production.INFO: 117 [2025-03-20 03:05:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:05:03] Production.INFO: ==3495== Releasing lock... [2025-03-20 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:03] Production.INFO: ==3497== Lock acquired, processing the job... [2025-03-20 03:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:05:03] Production.INFO: ==3503== Lock acquired, processing the job... [2025-03-20 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:05:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:03] Production.INFO: Date 2025-03-11 [2025-03-20 03:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:03] Production.INFO: Date 2025-03-12 [2025-03-20 03:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:03] Production.INFO: Date 2025-03-13 [2025-03-20 03:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:05:03] Production.INFO: Date 2025-03-14 [2025-03-20 03:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:03] Production.INFO: count ==12 [2025-03-20 03:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:05:03] Production.INFO: count ==23 [2025-03-20 03:05:03] Production.INFO: Date 2025-03-15 [2025-03-20 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719965') start [2025-03-20 03:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:04] Production.ERROR: done [2025-03-20 03:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719965') end [2025-03-20 03:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:05:04] Production.INFO: 1 [2025-03-20 03:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:05:04] Production.INFO: Total Charge 0 [2025-03-20 03:05:04] Production.INFO: CreateAllLog End [2025-03-20 03:05:04] Production.INFO: ==3503== Releasing lock... [2025-03-20 03:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:05:04] Production.ERROR: done [2025-03-20 03:05:04] Production.INFO: Account Balance End. [2025-03-20 03:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:05:04] Production.INFO: ==3499== Releasing lock... [2025-03-20 03:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:05:05 [end_date_ymd] => 2025-03-20 03:05:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:05:05' and `end` < '2025-03-20 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-03-20 03:05:13] Production.ERROR: CronJobId end10 [2025-03-20 03:05:13] Production.INFO: ==3497== Releasing lock... [2025-03-20 03:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:05:16] Production.INFO: call_cost start [2025-03-20 03:05:16] Production.INFO: call_cost end [2025-03-20 03:05:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:05:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:05:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:05:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:05:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:05:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:05:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:05:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:05:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:05:17] Production.INFO: ==3493== Releasing lock... [2025-03-20 03:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:05:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:05:17] Production.INFO: count ==610 [2025-03-20 03:05:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:05:05 - End Time 2025-03-20 03:05:05 [2025-03-20 03:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719967', 'tblTempUsageDetail_20' ) start [2025-03-20 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719967', 'tblTempUsageDetail_20' ) end [2025-03-20 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719967', 'tblTempVendorCDR_20' ) start [2025-03-20 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719967', 'tblTempVendorCDR_20' ) end [2025-03-20 03:05:18] Production.INFO: ProcessCDR(1,14719967,1,1,2) [2025-03-20 03:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719967', 'tblTempUsageDetail_20' ) start [2025-03-20 03:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719967', 'tblTempUsageDetail_20' ) end [2025-03-20 03:05:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:05:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:05:22] Production.INFO: ==3501== Releasing lock... [2025-03-20 03:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:05:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:06:01] Production.INFO: ==3658== Lock acquired, processing the job... [2025-03-20 07:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:06:01] Production.INFO: neon service started [2025-03-20 07:06:02] Production.INFO: neon service started [2025-03-20 07:06:02] Production.INFO: ==3658== Releasing lock... [2025-03-20 07:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:06:02] Production.INFO: ==3660== Lock acquired, processing the job... [2025-03-20 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:06:02] Production.INFO: ==3660== Releasing lock... [2025-03-20 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:06:02] Production.INFO: ==3662== Lock acquired, processing the job... [2025-03-20 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:06:02] Production.INFO: ==3662== Releasing lock... [2025-03-20 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:06:03] Production.INFO: ==3670== Lock acquired, processing the job... [2025-03-20 03:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:06:03] Production.INFO: Account Balance Start. [2025-03-20 03:06:03] Production.INFO: CreateAllLog Start [2025-03-20 03:06:03] Production.INFO: 117 [2025-03-20 03:06:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:06:03] Production.INFO: ==3672== Lock acquired, processing the job... [2025-03-20 03:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:04] Production.INFO: ==3664== Lock acquired, processing the job... [2025-03-20 03:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:06:04] Production.INFO: ==3666== Lock acquired, processing the job... [2025-03-20 03:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:06:04] Production.INFO: ==3668== Lock acquired, processing the job... [2025-03-20 03:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:04] Production.INFO: ==3674== Lock acquired, processing the job... [2025-03-20 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:06:04] Production.ERROR: done [2025-03-20 03:06:04] Production.INFO: count ==12 [2025-03-20 03:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:06:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:06:04] Production.INFO: count ==23 [2025-03-20 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719971') start [2025-03-20 03:06:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:06:04] Production.INFO: ==3666== Releasing lock... [2025-03-20 03:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:06:04] Production.ERROR: done [2025-03-20 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719971') end [2025-03-20 03:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:06:04] Production.INFO: 1 [2025-03-20 03:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:06:04] Production.INFO: ==3674== Releasing lock... [2025-03-20 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:06:04] Production.INFO: Total Charge 0 [2025-03-20 03:06:04] Production.INFO: CreateAllLog End [2025-03-20 03:06:04] Production.INFO: Account Balance End. [2025-03-20 03:06:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:06:05] Production.INFO: ==3670== Releasing lock... [2025-03-20 03:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:06:05 [end_date_ymd] => 2025-03-20 03:06:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:06:05' and `end` < '2025-03-20 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-03-20 03:06:12] Production.ERROR: CronJobId end10 [2025-03-20 03:06:12] Production.INFO: ==3668== Releasing lock... [2025-03-20 03:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:06:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:06:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:06:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:06:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:06:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:06:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:06:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:06:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:06:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:06:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:06:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:06:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:06:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:06:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:06:16] Production.INFO: call_cost start [2025-03-20 03:06:16] Production.INFO: call_cost end [2025-03-20 03:06:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:06:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:06:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:06:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:06:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:06:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:06:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:06:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:06:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:06:17] Production.INFO: ==3664== Releasing lock... [2025-03-20 03:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:06:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:06:17] Production.INFO: count ==618 [2025-03-20 03:06:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:06:05 - End Time 2025-03-20 03:06:05 [2025-03-20 03:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719972', 'tblTempUsageDetail_20' ) start [2025-03-20 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719972', 'tblTempUsageDetail_20' ) end [2025-03-20 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719972', 'tblTempVendorCDR_20' ) start [2025-03-20 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719972', 'tblTempVendorCDR_20' ) end [2025-03-20 03:06:18] Production.INFO: ProcessCDR(1,14719972,1,1,2) [2025-03-20 03:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719972', 'tblTempUsageDetail_20' ) start [2025-03-20 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719972', 'tblTempUsageDetail_20' ) end [2025-03-20 03:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:06:21] Production.INFO: ==3672== Releasing lock... [2025-03-20 03:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:06:21] Production.INFO: 33.5 MB #Memory Used# [2025-03-20 07:07:01] Production.INFO: ==3745== Lock acquired, processing the job... [2025-03-20 07:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:07:01] Production.INFO: neon service started [2025-03-20 07:07:01] Production.INFO: neon service started [2025-03-20 07:07:01] Production.INFO: ==3745== Releasing lock... [2025-03-20 07:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:07:01] Production.INFO: ==3749== Lock acquired, processing the job... [2025-03-20 07:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:07:01] Production.INFO: ==3749== Releasing lock... [2025-03-20 07:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:07:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:07:02] Production.INFO: ==3747== Lock acquired, processing the job... [2025-03-20 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:07:02] Production.INFO: ==3747== Releasing lock... [2025-03-20 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:07:03] Production.INFO: ==3753== Lock acquired, processing the job... [2025-03-20 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:07:03] Production.INFO: ==3751== Lock acquired, processing the job... [2025-03-20 03:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:07:03] Production.INFO: ==3757== Lock acquired, processing the job... [2025-03-20 03:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:07:03] Production.INFO: Account Balance Start. [2025-03-20 03:07:03] Production.INFO: CreateAllLog Start [2025-03-20 03:07:03] Production.INFO: 117 [2025-03-20 03:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.INFO: Date 2025-03-11 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.INFO: ==3755== Lock acquired, processing the job... [2025-03-20 03:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:07:03] Production.INFO: Date 2025-03-12 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.INFO: ==3753== Releasing lock... [2025-03-20 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:07:03] Production.INFO: ==3762== Lock acquired, processing the job... [2025-03-20 03:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:07:03] Production.INFO: ==3759== Lock acquired, processing the job... [2025-03-20 03:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:07:03] Production.INFO: Date 2025-03-13 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:07:03] Production.INFO: Date 2025-03-14 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:07:03] Production.INFO: Date 2025-03-15 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.INFO: Date 2025-03-16 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.INFO: Date 2025-03-17 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.INFO: Date 2025-03-18 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.INFO: Date 2025-03-19 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:07:03] Production.INFO: count ==12 [2025-03-20 03:07:03] Production.INFO: Date 2025-03-20 [2025-03-20 03:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 03:07:04] Production.INFO: count ==23 [2025-03-20 03:07:04] Production.INFO: Total Charge 0 [2025-03-20 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719976') start [2025-03-20 03:07:04] Production.INFO: CreateAllLog End [2025-03-20 03:07:04] Production.ERROR: done [2025-03-20 03:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719976') end [2025-03-20 03:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:07:04] Production.INFO: 1 [2025-03-20 03:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:07:04] Production.INFO: Account Balance End. [2025-03-20 03:07:04] Production.INFO: ==3762== Releasing lock... [2025-03-20 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:07:04] Production.ERROR: done [2025-03-20 03:07:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:07:04] Production.INFO: ==3757== Releasing lock... [2025-03-20 03:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:07:05 [end_date_ymd] => 2025-03-20 03:07:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:07:05' and `end` < '2025-03-20 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-03-20 03:07:12] Production.ERROR: CronJobId end10 [2025-03-20 03:07:12] Production.INFO: ==3755== Releasing lock... [2025-03-20 03:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:07:15] Production.INFO: call_cost start [2025-03-20 03:07:15] Production.INFO: call_cost end [2025-03-20 03:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:07:16] Production.INFO: ==3751== Releasing lock... [2025-03-20 03:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:07:17] Production.INFO: count ==626 [2025-03-20 03:07:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:07:05 - End Time 2025-03-20 03:07:05 [2025-03-20 03:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719977', 'tblTempUsageDetail_20' ) start [2025-03-20 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719977', 'tblTempUsageDetail_20' ) end [2025-03-20 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719977', 'tblTempVendorCDR_20' ) start [2025-03-20 03:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719977', 'tblTempVendorCDR_20' ) end [2025-03-20 03:07:17] Production.INFO: ProcessCDR(1,14719977,1,1,2) [2025-03-20 03:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719977', 'tblTempUsageDetail_20' ) start [2025-03-20 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719977', 'tblTempUsageDetail_20' ) end [2025-03-20 03:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:07:21] Production.INFO: ==3759== Releasing lock... [2025-03-20 03:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:07:21] Production.INFO: 33.5 MB #Memory Used# [2025-03-20 07:08:01] Production.INFO: ==3838== Lock acquired, processing the job... [2025-03-20 07:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:08:01] Production.INFO: neon service started [2025-03-20 07:08:01] Production.INFO: neon service started [2025-03-20 07:08:01] Production.INFO: ==3838== Releasing lock... [2025-03-20 07:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:08:02] Production.INFO: ==3840== Lock acquired, processing the job... [2025-03-20 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:08:02] Production.INFO: ==3840== Releasing lock... [2025-03-20 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:08:02] Production.INFO: ==3842== Lock acquired, processing the job... [2025-03-20 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:08:02] Production.INFO: ==3842== Releasing lock... [2025-03-20 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:08:03] Production.INFO: ==3849== Lock acquired, processing the job... [2025-03-20 03:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:08:03] Production.INFO: ==3855== Lock acquired, processing the job... [2025-03-20 03:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:08:03] Production.INFO: ==3845== Lock acquired, processing the job... [2025-03-20 03:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:08:03] Production.INFO: ==3847== Lock acquired, processing the job... [2025-03-20 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 03:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:08:03] Production.INFO: count ==12 [2025-03-20 03:08:03] Production.INFO: ==3851== Lock acquired, processing the job... [2025-03-20 03:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:08:04] Production.INFO: count ==23 [2025-03-20 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719978') start [2025-03-20 03:08:04] Production.INFO: ==3853== Lock acquired, processing the job... [2025-03-20 03:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:08:04] Production.INFO: Account Balance Start. [2025-03-20 03:08:04] Production.INFO: CreateAllLog Start [2025-03-20 03:08:04] Production.INFO: 117 [2025-03-20 03:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:08:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719978') end [2025-03-20 03:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:08:04] Production.INFO: 1 [2025-03-20 03:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:08:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:04] Production.INFO: ==3855== Releasing lock... [2025-03-20 03:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:08:04] Production.INFO: ==3847== Releasing lock... [2025-03-20 03:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:08:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:04] Production.ERROR: done [2025-03-20 03:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:08:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:04] Production.ERROR: done [2025-03-20 03:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:08:05] Production.INFO: Total Charge 0 [2025-03-20 03:08:05] Production.INFO: CreateAllLog End [2025-03-20 03:08:05] Production.INFO: Account Balance End. [2025-03-20 03:08:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:08:05] Production.INFO: ==3851== Releasing lock... [2025-03-20 03:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:08:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:08:06 [end_date_ymd] => 2025-03-20 03:08:06 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:08:06' and `end` < '2025-03-20 03: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-03-20 03:08:13] Production.ERROR: CronJobId end10 [2025-03-20 03:08:13] Production.INFO: ==3849== Releasing lock... [2025-03-20 03:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:08:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:08:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:08:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:08:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:08:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:08:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:08:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:08:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:08:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:08:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:08:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:08:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:08:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:08:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:08:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:08:16] Production.INFO: call_cost start [2025-03-20 03:08:16] Production.INFO: call_cost end [2025-03-20 03:08:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:08:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:08:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:08:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:08:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:08:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:08:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:08:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:08:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:08:17] Production.INFO: ==3845== Releasing lock... [2025-03-20 03:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:08:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:08:18] Production.INFO: count ==627 [2025-03-20 03:08:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:08:06 - End Time 2025-03-20 03:08:06 [2025-03-20 03:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719982', 'tblTempUsageDetail_20' ) start [2025-03-20 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719982', 'tblTempUsageDetail_20' ) end [2025-03-20 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719982', 'tblTempVendorCDR_20' ) start [2025-03-20 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719982', 'tblTempVendorCDR_20' ) end [2025-03-20 03:08:18] Production.INFO: ProcessCDR(1,14719982,1,1,2) [2025-03-20 03:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719982', 'tblTempUsageDetail_20' ) start [2025-03-20 03:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719982', 'tblTempUsageDetail_20' ) end [2025-03-20 03:08:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:08:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:08:22] Production.INFO: ==3853== Releasing lock... [2025-03-20 03:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:08:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:09:02] Production.INFO: ==4002== Lock acquired, processing the job... [2025-03-20 07:09:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:09:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:09:02] Production.INFO: neon service started [2025-03-20 07:09:02] Production.INFO: neon service started [2025-03-20 07:09:02] Production.INFO: ==4002== Releasing lock... [2025-03-20 07:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:09:02] Production.INFO: ==4004== Lock acquired, processing the job... [2025-03-20 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:09:03] Production.INFO: ==4006== Lock acquired, processing the job... [2025-03-20 07:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:09:03] Production.INFO: ==4004== Releasing lock... [2025-03-20 03:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:09:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:09:03] Production.INFO: ==4006== Releasing lock... [2025-03-20 07:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:09:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:09:04] Production.INFO: ==4019== Lock acquired, processing the job... [2025-03-20 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:09:04] Production.INFO: ==4017== Lock acquired, processing the job... [2025-03-20 03:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:09:04] Production.INFO: ==4008== Lock acquired, processing the job... [2025-03-20 03:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:09:04] Production.INFO: ==4010== Lock acquired, processing the job... [2025-03-20 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 03:09:04] Production.INFO: ==4014== Lock acquired, processing the job... [2025-03-20 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:09:04] Production.INFO: count ==12 [2025-03-20 03:09:04] Production.INFO: ==4012== Lock acquired, processing the job... [2025-03-20 03:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 03:09:04] Production.INFO: count ==23 [2025-03-20 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719983') start [2025-03-20 03:09:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:09:04] Production.INFO: Account Balance Start. [2025-03-20 03:09:04] Production.INFO: CreateAllLog Start [2025-03-20 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719983') end [2025-03-20 03:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:09:04] Production.INFO: 1 [2025-03-20 03:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:09:04] Production.INFO: 117 [2025-03-20 03:09:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:04] Production.INFO: ==4019== Releasing lock... [2025-03-20 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:09:04] Production.ERROR: done [2025-03-20 03:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:04] Production.INFO: ==4010== Releasing lock... [2025-03-20 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:05] Production.ERROR: done [2025-03-20 03:09:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:09:05] Production.INFO: Total Charge 0 [2025-03-20 03:09:05] Production.INFO: CreateAllLog End [2025-03-20 03:09:05] Production.INFO: Account Balance End. [2025-03-20 03:09:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:09:05] Production.INFO: ==4014== Releasing lock... [2025-03-20 03:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:09:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:09:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:09:06 [end_date_ymd] => 2025-03-20 03:09:06 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:09:06' and `end` < '2025-03-20 03: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-03-20 03:09:13] Production.ERROR: CronJobId end10 [2025-03-20 03:09:13] Production.INFO: ==4012== Releasing lock... [2025-03-20 03:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:09:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:09:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:09:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:09:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:09:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:09:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:09:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:09:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:09:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:09:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:09:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:09:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:09:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:09:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:09:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:09:16] Production.INFO: call_cost start [2025-03-20 03:09:16] Production.INFO: call_cost end [2025-03-20 03:09:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:09:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:09:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:09:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:09:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:09:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:09:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:09:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:09:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:09:17] Production.INFO: ==4008== Releasing lock... [2025-03-20 03:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:09:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:09:18] Production.INFO: count ==653 [2025-03-20 03:09:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:09:06 - End Time 2025-03-20 03:09:06 [2025-03-20 03:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719987', 'tblTempUsageDetail_20' ) start [2025-03-20 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719987', 'tblTempUsageDetail_20' ) end [2025-03-20 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719987', 'tblTempVendorCDR_20' ) start [2025-03-20 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719987', 'tblTempVendorCDR_20' ) end [2025-03-20 03:09:18] Production.INFO: ProcessCDR(1,14719987,1,1,2) [2025-03-20 03:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719987', 'tblTempUsageDetail_20' ) start [2025-03-20 03:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719987', 'tblTempUsageDetail_20' ) end [2025-03-20 03:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:09:22] Production.INFO: ==4017== Releasing lock... [2025-03-20 03:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:09:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:10:01] Production.INFO: ==4087== Lock acquired, processing the job... [2025-03-20 07:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:10:01] Production.INFO: neon service started [2025-03-20 07:10:01] Production.INFO: neon service started [2025-03-20 07:10:01] Production.INFO: ==4087== Releasing lock... [2025-03-20 07:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:10:02] Production.INFO: ==4092== Lock acquired, processing the job... [2025-03-20 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:10:02] Production.INFO: ==4094== Lock acquired, processing the job... [2025-03-20 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:10:02] Production.INFO: ==4094== Releasing lock... [2025-03-20 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:10:03] Production.INFO: ==4092== Releasing lock... [2025-03-20 03:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:10:03] Production.INFO: ==4097== Lock acquired, processing the job... [2025-03-20 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 03:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 03:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 03:10:04] Production.INFO: ==4097== Releasing lock... [2025-03-20 03:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 03:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 03:10:04] Production.INFO: ==4104== Lock acquired, processing the job... [2025-03-20 03:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:10:04] Production.INFO: ==4108== Lock acquired, processing the job... [2025-03-20 03:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:10:04] Production.INFO: ==4112== Lock acquired, processing the job... [2025-03-20 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:10:04] Production.INFO: ==4099== Lock acquired, processing the job... [2025-03-20 03:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:10:04] Production.INFO: ==4102== Lock acquired, processing the job... [2025-03-20 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:10:04] Production.INFO: count ==12 [2025-03-20 03:10:04] Production.ERROR: done [2025-03-20 03:10:04] Production.INFO: ==4106== Lock acquired, processing the job... [2025-03-20 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 03:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:10:04] Production.INFO: count ==23 [2025-03-20 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719988') start [2025-03-20 03:10:04] Production.INFO: ==4110== Lock acquired, processing the job... [2025-03-20 03:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 03:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:10:04] Production.INFO: Account Balance Start. [2025-03-20 03:10:04] Production.INFO: CreateAllLog Start [2025-03-20 03:10:04] Production.INFO: 117 [2025-03-20 03:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719988') end [2025-03-20 03:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:10:04] Production.INFO: 1 [2025-03-20 03:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:10:05] Production.ERROR: done [2025-03-20 03:10:05] Production.INFO: ==4112== Releasing lock... [2025-03-20 03:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:10:05] Production.INFO: Date 2025-03-09 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.INFO: Date 2025-03-10 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.ERROR: done [2025-03-20 03:10:05] Production.INFO: ==4102== Releasing lock... [2025-03-20 03:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:10:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:10:05] Production.INFO: Date 2025-03-11 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 03:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719993', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 03:10:05] Production.INFO: Date 2025-03-12 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.INFO: Date 2025-03-13 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.INFO: Date 2025-03-14 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.INFO: Date 2025-03-15 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.INFO: Date 2025-03-16 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:10:05] Production.INFO: Total Charge 0 [2025-03-20 03:10:05] Production.INFO: CreateAllLog End [2025-03-20 03:10:06] Production.INFO: Account Balance End. [2025-03-20 03:10:06] Production.ERROR: CronJobId end 12 [2025-03-20 03:10:06] Production.INFO: ==4106== Releasing lock... [2025-03-20 03:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:10:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:10:06 [end_date_ymd] => 2025-03-20 03:10:06 [RateCDR] => 1 ) [2025-03-20 03:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:10:06' and `end` < '2025-03-20 03:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14719993', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 03:10:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 03:10:10] Production.INFO: ProcessCDR(1,14719993,1,1,2) [2025-03-20 03:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14719993,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14719993,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:10:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:10:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:10:10] Production.INFO: ==4110== Releasing lock... [2025-03-20 03:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 03:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 03:10:14] Production.ERROR: CronJobId end10 [2025-03-20 03:10:14] Production.INFO: ==4104== Releasing lock... [2025-03-20 03:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:10:18] Production.INFO: call_cost start [2025-03-20 03:10:18] Production.INFO: call_cost end [2025-03-20 03:10:19] Production.INFO: count ==638 [2025-03-20 03:10:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:10:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:10:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:10:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:10:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:10:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:10:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:10:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:10:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:10:19] Production.INFO: ==4099== Releasing lock... [2025-03-20 03:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:10:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:10:19] Production.ERROR: pbx CDR StartTime 2025-03-20 00:10:06 - End Time 2025-03-20 03:10:06 [2025-03-20 03:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719992', 'tblTempUsageDetail_20' ) start [2025-03-20 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719992', 'tblTempUsageDetail_20' ) end [2025-03-20 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719992', 'tblTempVendorCDR_20' ) start [2025-03-20 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719992', 'tblTempVendorCDR_20' ) end [2025-03-20 03:10:19] Production.INFO: ProcessCDR(1,14719992,1,1,2) [2025-03-20 03:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719992', 'tblTempUsageDetail_20' ) start [2025-03-20 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719992', 'tblTempUsageDetail_20' ) end [2025-03-20 03:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:10:22] Production.INFO: ==4108== Releasing lock... [2025-03-20 03:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:10:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:11:01] Production.INFO: ==4190== Lock acquired, processing the job... [2025-03-20 07:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:11:01] Production.INFO: neon service started [2025-03-20 07:11:01] Production.INFO: neon service started [2025-03-20 07:11:01] Production.INFO: ==4190== Releasing lock... [2025-03-20 07:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:11:02] Production.INFO: ==4192== Lock acquired, processing the job... [2025-03-20 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:11:02] Production.INFO: ==4194== Lock acquired, processing the job... [2025-03-20 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:11:02] Production.INFO: ==4194== Releasing lock... [2025-03-20 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:11:02] Production.INFO: ==4192== Releasing lock... [2025-03-20 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:11:03] Production.INFO: ==4199== Lock acquired, processing the job... [2025-03-20 03:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:11:03] Production.INFO: ==4209== Lock acquired, processing the job... [2025-03-20 03:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:11:03] Production.INFO: ==4201== Lock acquired, processing the job... [2025-03-20 03:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:11:03] Production.INFO: ==4203== Lock acquired, processing the job... [2025-03-20 03:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 03:11:03] Production.INFO: count ==12 [2025-03-20 03:11:03] Production.INFO: ==4205== Lock acquired, processing the job... [2025-03-20 03:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 03:11:03] Production.INFO: count ==23 [2025-03-20 03:11:03] Production.INFO: ==4207== Lock acquired, processing the job... [2025-03-20 03:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14719995') start [2025-03-20 03:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:11:04] Production.INFO: Account Balance Start. [2025-03-20 03:11:04] Production.INFO: CreateAllLog Start [2025-03-20 03:11:04] Production.INFO: 117 [2025-03-20 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14719995') end [2025-03-20 03:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:11:04] Production.INFO: 1 [2025-03-20 03:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:11:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.INFO: ==4209== Releasing lock... [2025-03-20 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:11:04] Production.INFO: ==4201== Releasing lock... [2025-03-20 03:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.ERROR: done [2025-03-20 03:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.ERROR: done [2025-03-20 03:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:11:04] Production.INFO: Total Charge 0 [2025-03-20 03:11:04] Production.INFO: CreateAllLog End [2025-03-20 03:11:04] Production.INFO: Account Balance End. [2025-03-20 03:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:11:04] Production.INFO: ==4205== Releasing lock... [2025-03-20 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:11:05 [end_date_ymd] => 2025-03-20 03:11:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:11:05' and `end` < '2025-03-20 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-03-20 03:11:11] Production.ERROR: CronJobId end10 [2025-03-20 03:11:11] Production.INFO: ==4203== Releasing lock... [2025-03-20 03:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:11:15] Production.INFO: call_cost start [2025-03-20 03:11:15] Production.INFO: call_cost end [2025-03-20 03:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:11:16] Production.INFO: ==4199== Releasing lock... [2025-03-20 03:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:11:17] Production.INFO: count ==632 [2025-03-20 03:11:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:11:05 - End Time 2025-03-20 03:11:05 [2025-03-20 03:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719998', 'tblTempUsageDetail_20' ) start [2025-03-20 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14719998', 'tblTempUsageDetail_20' ) end [2025-03-20 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719998', 'tblTempVendorCDR_20' ) start [2025-03-20 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14719998', 'tblTempVendorCDR_20' ) end [2025-03-20 03:11:18] Production.INFO: ProcessCDR(1,14719998,1,1,2) [2025-03-20 03:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14719998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14719998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14719998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14719998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719998', 'tblTempUsageDetail_20' ) start [2025-03-20 03:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14719998', 'tblTempUsageDetail_20' ) end [2025-03-20 03:11:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:11:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:11:21] Production.INFO: ==4207== Releasing lock... [2025-03-20 03:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:11:21] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:12:01] Production.INFO: ==4279== Lock acquired, processing the job... [2025-03-20 07:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:12:01] Production.INFO: neon service started [2025-03-20 07:12:01] Production.INFO: neon service started [2025-03-20 07:12:01] Production.INFO: ==4279== Releasing lock... [2025-03-20 07:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:12:02] Production.INFO: ==4284== Lock acquired, processing the job... [2025-03-20 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:12:02] Production.INFO: ==4284== Releasing lock... [2025-03-20 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:12:02] Production.INFO: ==4282== Lock acquired, processing the job... [2025-03-20 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:12:02] Production.INFO: ==4282== Releasing lock... [2025-03-20 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:12:03] Production.INFO: ==4290== Lock acquired, processing the job... [2025-03-20 03:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:12:03] Production.INFO: ==4286== Lock acquired, processing the job... [2025-03-20 03:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:12:03] Production.INFO: ==4296== Lock acquired, processing the job... [2025-03-20 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:12:03] Production.INFO: ==4288== Lock acquired, processing the job... [2025-03-20 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:12:04] Production.INFO: ==4294== Lock acquired, processing the job... [2025-03-20 03:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03: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-03-20 03:12:04] Production.INFO: ==4292== Lock acquired, processing the job... [2025-03-20 03:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:12:04] Production.INFO: count ==12 [2025-03-20 03:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03: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-03-20 03:12:04] Production.INFO: count ==23 [2025-03-20 03:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720000') start [2025-03-20 03:12:04] Production.INFO: Account Balance Start. [2025-03-20 03:12:04] Production.INFO: CreateAllLog Start [2025-03-20 03:12:04] Production.INFO: 117 [2025-03-20 03:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720000') end [2025-03-20 03:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:12:04] Production.INFO: 1 [2025-03-20 03:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:12:04] Production.INFO: ==4296== Releasing lock... [2025-03-20 03:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:04] Production.INFO: ==4288== Releasing lock... [2025-03-20 03:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:04] Production.ERROR: done [2025-03-20 03:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:04] Production.ERROR: done [2025-03-20 03:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:12:05] Production.INFO: Total Charge 0 [2025-03-20 03:12:05] Production.INFO: CreateAllLog End [2025-03-20 03:12:05] Production.INFO: Account Balance End. [2025-03-20 03:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:12:05] Production.INFO: ==4292== Releasing lock... [2025-03-20 03:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:12:05 [end_date_ymd] => 2025-03-20 03:12:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:12:05' and `end` < '2025-03-20 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-03-20 03:12:11] Production.ERROR: CronJobId end10 [2025-03-20 03:12:11] Production.INFO: ==4290== Releasing lock... [2025-03-20 03:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:12:16] Production.INFO: call_cost start [2025-03-20 03:12:16] Production.INFO: call_cost end [2025-03-20 03:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:12:16] Production.INFO: ==4286== Releasing lock... [2025-03-20 03:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:12:17] Production.INFO: count ==632 [2025-03-20 03:12:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:12:05 - End Time 2025-03-20 03:12:05 [2025-03-20 03:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720003', 'tblTempUsageDetail_20' ) start [2025-03-20 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720003', 'tblTempUsageDetail_20' ) end [2025-03-20 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720003', 'tblTempVendorCDR_20' ) start [2025-03-20 03:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720003', 'tblTempVendorCDR_20' ) end [2025-03-20 03:12:18] Production.INFO: ProcessCDR(1,14720003,1,1,2) [2025-03-20 03:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720003', 'tblTempUsageDetail_20' ) start [2025-03-20 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720003', 'tblTempUsageDetail_20' ) end [2025-03-20 03:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:12:21] Production.INFO: ==4294== Releasing lock... [2025-03-20 03:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:12:21] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:13:02] Production.INFO: ==4446== Lock acquired, processing the job... [2025-03-20 07:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:13:02] Production.INFO: neon service started [2025-03-20 07:13:02] Production.INFO: neon service started [2025-03-20 07:13:02] Production.INFO: ==4446== Releasing lock... [2025-03-20 07:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:13:03] Production.INFO: ==4451== Lock acquired, processing the job... [2025-03-20 03:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:13:03] Production.INFO: ==4453== Lock acquired, processing the job... [2025-03-20 07:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:13:03] Production.INFO: ==4453== Releasing lock... [2025-03-20 07:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:13:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:13:03] Production.INFO: ==4451== Releasing lock... [2025-03-20 03:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:13:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:13:04] Production.INFO: ==4455== Lock acquired, processing the job... [2025-03-20 03:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:13:04] Production.INFO: ==4459== Lock acquired, processing the job... [2025-03-20 03:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:13:04] Production.INFO: ==4461== Lock acquired, processing the job... [2025-03-20 03:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:13:04] Production.INFO: ==4457== Lock acquired, processing the job... [2025-03-20 03:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:13:04] Production.INFO: Account Balance Start. [2025-03-20 03:13:04] Production.INFO: CreateAllLog Start [2025-03-20 03:13:04] Production.INFO: 117 [2025-03-20 03:13:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:04] Production.INFO: ==4463== Lock acquired, processing the job... [2025-03-20 03:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:13:04] Production.INFO: ==4465== Lock acquired, processing the job... [2025-03-20 03:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:13:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:13:04] Production.INFO: count ==12 [2025-03-20 03:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:13:04] Production.INFO: count ==23 [2025-03-20 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720007') start [2025-03-20 03:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:04] Production.INFO: ==4457== Releasing lock... [2025-03-20 03:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720007') end [2025-03-20 03:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:13:04] Production.INFO: 1 [2025-03-20 03:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:05] Production.INFO: ==4465== Releasing lock... [2025-03-20 03:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:13:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:13:05] Production.ERROR: done [2025-03-20 03:13:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:13:05] Production.INFO: Date 2025-03-15 [2025-03-20 03:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:05] Production.INFO: Date 2025-03-16 [2025-03-20 03:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:05] Production.ERROR: done [2025-03-20 03:13:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:13:05] Production.INFO: Total Charge 0 [2025-03-20 03:13:05] Production.INFO: CreateAllLog End [2025-03-20 03:13:05] Production.INFO: Account Balance End. [2025-03-20 03:13:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:13:05] Production.INFO: ==4461== Releasing lock... [2025-03-20 03:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:13:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:13:06 [end_date_ymd] => 2025-03-20 03:13:06 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:13:06' and `end` < '2025-03-20 03: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-03-20 03:13:12] Production.ERROR: CronJobId end10 [2025-03-20 03:13:12] Production.INFO: ==4459== Releasing lock... [2025-03-20 03:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:13:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:13:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:13:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:13:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:13:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:13:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:13:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:13:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:13:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:13:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:13:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:13:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:13:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:13:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:13:15] Production.INFO: call_cost start [2025-03-20 03:13:15] Production.INFO: call_cost end [2025-03-20 03:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:13:16] Production.INFO: ==4455== Releasing lock... [2025-03-20 03:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:13:18] Production.INFO: count ==631 [2025-03-20 03:13:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:13:06 - End Time 2025-03-20 03:13:06 [2025-03-20 03:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720008', 'tblTempUsageDetail_20' ) start [2025-03-20 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720008', 'tblTempUsageDetail_20' ) end [2025-03-20 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720008', 'tblTempVendorCDR_20' ) start [2025-03-20 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720008', 'tblTempVendorCDR_20' ) end [2025-03-20 03:13:18] Production.INFO: ProcessCDR(1,14720008,1,1,2) [2025-03-20 03:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720008', 'tblTempUsageDetail_20' ) start [2025-03-20 03:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720008', 'tblTempUsageDetail_20' ) end [2025-03-20 03:13:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:13:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:13:22] Production.INFO: ==4463== Releasing lock... [2025-03-20 03:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:13:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:14:01] Production.INFO: ==4531== Lock acquired, processing the job... [2025-03-20 07:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:14:01] Production.INFO: neon service started [2025-03-20 07:14:01] Production.INFO: neon service started [2025-03-20 07:14:01] Production.INFO: ==4531== Releasing lock... [2025-03-20 07:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:14:02] Production.INFO: ==4533== Lock acquired, processing the job... [2025-03-20 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:14:02] Production.INFO: ==4533== Releasing lock... [2025-03-20 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:14:02] Production.INFO: ==4535== Lock acquired, processing the job... [2025-03-20 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:14:03] Production.INFO: ==4535== Releasing lock... [2025-03-20 07:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:14:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:14:03] Production.INFO: ==4540== Lock acquired, processing the job... [2025-03-20 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:14:03] Production.INFO: ==4548== Lock acquired, processing the job... [2025-03-20 03:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:14:03] Production.INFO: ==4538== Lock acquired, processing the job... [2025-03-20 03:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:14:03] Production.INFO: ==4540== Releasing lock... [2025-03-20 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:14:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:14:03] Production.INFO: count ==12 [2025-03-20 03:14:03] Production.INFO: ==4542== Lock acquired, processing the job... [2025-03-20 03:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:14:03] Production.INFO: count ==23 [2025-03-20 03:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720010') start [2025-03-20 03:14:04] Production.INFO: ==4544== Lock acquired, processing the job... [2025-03-20 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:14:04] Production.INFO: ==4546== Lock acquired, processing the job... [2025-03-20 03:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:14:04] Production.INFO: Account Balance Start. [2025-03-20 03:14:04] Production.INFO: CreateAllLog Start [2025-03-20 03:14:04] Production.INFO: 117 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720010') end [2025-03-20 03:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:14:04] Production.INFO: 1 [2025-03-20 03:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: ==4548== Releasing lock... [2025-03-20 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:14:04] Production.ERROR: done [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:14:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:14:04] Production.INFO: Total Charge 0 [2025-03-20 03:14:04] Production.INFO: CreateAllLog End [2025-03-20 03:14:04] Production.ERROR: done [2025-03-20 03:14:04] Production.INFO: Account Balance End. [2025-03-20 03:14:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:14:04] Production.INFO: ==4544== Releasing lock... [2025-03-20 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:14:05 [end_date_ymd] => 2025-03-20 03:14:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:14:05' and `end` < '2025-03-20 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-03-20 03:14:11] Production.ERROR: CronJobId end10 [2025-03-20 03:14:11] Production.INFO: ==4542== Releasing lock... [2025-03-20 03:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:14:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:14:14] Production.INFO: call_cost start [2025-03-20 03:14:14] Production.INFO: call_cost end [2025-03-20 03:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:14:15] Production.INFO: ==4538== Releasing lock... [2025-03-20 03:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:14:17] Production.INFO: count ==631 [2025-03-20 03:14:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:14:05 - End Time 2025-03-20 03:14:05 [2025-03-20 03:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720013', 'tblTempUsageDetail_20' ) start [2025-03-20 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720013', 'tblTempUsageDetail_20' ) end [2025-03-20 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720013', 'tblTempVendorCDR_20' ) start [2025-03-20 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720013', 'tblTempVendorCDR_20' ) end [2025-03-20 03:14:18] Production.INFO: ProcessCDR(1,14720013,1,1,2) [2025-03-20 03:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720013', 'tblTempUsageDetail_20' ) start [2025-03-20 03:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720013', 'tblTempUsageDetail_20' ) end [2025-03-20 03:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:14:21] Production.INFO: ==4546== Releasing lock... [2025-03-20 03:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:14:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:15:01] Production.INFO: ==4618== Lock acquired, processing the job... [2025-03-20 07:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:15:01] Production.INFO: neon service started [2025-03-20 07:15:01] Production.INFO: neon service started [2025-03-20 07:15:01] Production.INFO: ==4618== Releasing lock... [2025-03-20 07:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:15:01] Production.INFO: ==4620== Lock acquired, processing the job... [2025-03-20 03:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:15:02] Production.INFO: ==4622== Lock acquired, processing the job... [2025-03-20 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:15:02] Production.INFO: ==4620== Releasing lock... [2025-03-20 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:15:02] Production.INFO: ==4622== Releasing lock... [2025-03-20 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:15:02] Production.INFO: ==4625== Lock acquired, processing the job... [2025-03-20 03:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:15:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:15:03] Production.INFO: ==4636== Lock acquired, processing the job... [2025-03-20 03:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:15:03] Production.INFO: ==4627== Lock acquired, processing the job... [2025-03-20 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:15:03] Production.INFO: ==4629== Lock acquired, processing the job... [2025-03-20 03:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 03:15:03] Production.INFO: ==4631== Lock acquired, processing the job... [2025-03-20 03:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:15:03] Production.INFO: count ==12 [2025-03-20 03:15:03] Production.INFO: ==4634== Lock acquired, processing the job... [2025-03-20 03:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 03:15:03] Production.INFO: count ==23 [2025-03-20 03:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720015') start [2025-03-20 03:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:15:03] Production.INFO: Account Balance Start. [2025-03-20 03:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:15:03] Production.INFO: CreateAllLog Start [2025-03-20 03:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:15:03] Production.INFO: 117 [2025-03-20 03:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720015') end [2025-03-20 03:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:15:03] Production.INFO: 1 [2025-03-20 03:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:15:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:03] Production.INFO: Date 2025-03-11 [2025-03-20 03:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:03] Production.INFO: Date 2025-03-12 [2025-03-20 03:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:03] Production.INFO: ==4636== Releasing lock... [2025-03-20 03:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:15:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:15:03] Production.INFO: ==4627== Releasing lock... [2025-03-20 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:15:03] Production.INFO: Date 2025-03-13 [2025-03-20 03:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:03] Production.INFO: Date 2025-03-14 [2025-03-20 03:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:03] Production.INFO: Date 2025-03-15 [2025-03-20 03:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:03] Production.INFO: Date 2025-03-16 [2025-03-20 03:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:04] Production.ERROR: done [2025-03-20 03:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:15:04] Production.ERROR: done [2025-03-20 03:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:15:04] Production.INFO: Total Charge 0 [2025-03-20 03:15:04] Production.INFO: CreateAllLog End [2025-03-20 03:15:04] Production.INFO: Account Balance End. [2025-03-20 03:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:15:04] Production.INFO: ==4631== Releasing lock... [2025-03-20 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:15:05 [end_date_ymd] => 2025-03-20 03:15:05 [RateCDR] => 1 ) [2025-03-20 03:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:15:05' and `end` < '2025-03-20 03:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:15:11] Production.ERROR: CronJobId end10 [2025-03-20 03:15:11] Production.INFO: ==4629== Releasing lock... [2025-03-20 03:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:15:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:15:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:15:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:15:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:15:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:15:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:15:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:15:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:15:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:15:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:15:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:15:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:15:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:15:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:15:14] Production.INFO: call_cost start [2025-03-20 03:15:14] Production.INFO: call_cost end [2025-03-20 03:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:15:15] Production.INFO: ==4625== Releasing lock... [2025-03-20 03:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:15:17] Production.INFO: count ==631 [2025-03-20 03:15:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:15:05 - End Time 2025-03-20 03:15:05 [2025-03-20 03:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720018', 'tblTempUsageDetail_20' ) start [2025-03-20 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720018', 'tblTempUsageDetail_20' ) end [2025-03-20 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720018', 'tblTempVendorCDR_20' ) start [2025-03-20 03:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720018', 'tblTempVendorCDR_20' ) end [2025-03-20 03:15:17] Production.INFO: ProcessCDR(1,14720018,1,1,2) [2025-03-20 03:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:15:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720018', 'tblTempUsageDetail_20' ) start [2025-03-20 03:15:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720018', 'tblTempUsageDetail_20' ) end [2025-03-20 03:15:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:15:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:15:20] Production.INFO: ==4634== Releasing lock... [2025-03-20 03:15:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:15:20] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:16:01] Production.INFO: ==4697== Lock acquired, processing the job... [2025-03-20 07:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:16:01] Production.INFO: neon service started [2025-03-20 07:16:01] Production.INFO: neon service started [2025-03-20 07:16:01] Production.INFO: ==4697== Releasing lock... [2025-03-20 07:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:16:02] Production.INFO: ==4699== Lock acquired, processing the job... [2025-03-20 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:16:02] Production.INFO: ==4699== Releasing lock... [2025-03-20 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:16:02] Production.INFO: ==4701== Lock acquired, processing the job... [2025-03-20 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:16:02] Production.INFO: ==4701== Releasing lock... [2025-03-20 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:16:03] Production.INFO: ==4712== Lock acquired, processing the job... [2025-03-20 03:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:16:03] Production.INFO: ==4704== Lock acquired, processing the job... [2025-03-20 03:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:16:03] Production.INFO: ==4710== Lock acquired, processing the job... [2025-03-20 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:16:03] Production.INFO: ==4706== Lock acquired, processing the job... [2025-03-20 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:16:03] Production.INFO: ==4708== Lock acquired, processing the job... [2025-03-20 03:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:16:03] Production.INFO: Account Balance Start. [2025-03-20 03:16:03] Production.INFO: CreateAllLog Start [2025-03-20 03:16:03] Production.INFO: 117 [2025-03-20 03:16:03] Production.INFO: ==4714== Lock acquired, processing the job... [2025-03-20 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:16:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 03:16:04] Production.INFO: count ==12 [2025-03-20 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-03-20 03:16:04] Production.INFO: count ==23 [2025-03-20 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720022') start [2025-03-20 03:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.ERROR: done [2025-03-20 03:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:16:04] Production.INFO: ==4706== Releasing lock... [2025-03-20 03:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720022') end [2025-03-20 03:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:16:04] Production.INFO: 1 [2025-03-20 03:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:16:04] Production.ERROR: done [2025-03-20 03:16:04] Production.INFO: ==4714== Releasing lock... [2025-03-20 03:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:16:04] Production.INFO: Total Charge 0 [2025-03-20 03:16:04] Production.INFO: CreateAllLog End [2025-03-20 03:16:05] Production.INFO: Account Balance End. [2025-03-20 03:16:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:16:05] Production.INFO: ==4710== Releasing lock... [2025-03-20 03:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:16:05 [end_date_ymd] => 2025-03-20 03:16:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:16:05' and `end` < '2025-03-20 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-03-20 03:16:11] Production.ERROR: CronJobId end10 [2025-03-20 03:16:11] Production.INFO: ==4708== Releasing lock... [2025-03-20 03:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:16:14] Production.INFO: call_cost start [2025-03-20 03:16:14] Production.INFO: call_cost end [2025-03-20 03:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:16:15] Production.INFO: ==4704== Releasing lock... [2025-03-20 03:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:16:17] Production.INFO: count ==632 [2025-03-20 03:16:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:16:05 - End Time 2025-03-20 03:16:05 [2025-03-20 03:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720023', 'tblTempUsageDetail_20' ) start [2025-03-20 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720023', 'tblTempUsageDetail_20' ) end [2025-03-20 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720023', 'tblTempVendorCDR_20' ) start [2025-03-20 03:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720023', 'tblTempVendorCDR_20' ) end [2025-03-20 03:16:17] Production.INFO: ProcessCDR(1,14720023,1,1,2) [2025-03-20 03:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720023', 'tblTempUsageDetail_20' ) start [2025-03-20 03:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720023', 'tblTempUsageDetail_20' ) end [2025-03-20 03:16:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:16:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:16:22] Production.INFO: ==4712== Releasing lock... [2025-03-20 03:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:16:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:17:01] Production.INFO: ==4848== Lock acquired, processing the job... [2025-03-20 07:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:17:01] Production.INFO: neon service started [2025-03-20 07:17:01] Production.INFO: neon service started [2025-03-20 07:17:01] Production.INFO: ==4848== Releasing lock... [2025-03-20 07:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:17:01] Production.INFO: ==4850== Lock acquired, processing the job... [2025-03-20 03:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:17:01] Production.INFO: ==4853== Lock acquired, processing the job... [2025-03-20 07:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:17:02] Production.INFO: ==4853== Releasing lock... [2025-03-20 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:17:02] Production.INFO: ==4850== Releasing lock... [2025-03-20 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:17:02] Production.INFO: ==4857== Lock acquired, processing the job... [2025-03-20 03:17:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:17:03] Production.INFO: ==4855== Lock acquired, processing the job... [2025-03-20 03:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:17:03] Production.INFO: ==4864== Lock acquired, processing the job... [2025-03-20 03:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:17:03] Production.INFO: ==4866== Lock acquired, processing the job... [2025-03-20 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:17:03] Production.INFO: ==4857== Releasing lock... [2025-03-20 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:17:03] Production.INFO: ==4859== Lock acquired, processing the job... [2025-03-20 03:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:17:03] Production.INFO: ==4861== Lock acquired, processing the job... [2025-03-20 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 03:17:03] Production.INFO: count ==12 [2025-03-20 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-03-20 03:17:03] Production.INFO: count ==23 [2025-03-20 03:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720026') start [2025-03-20 03:17:03] Production.INFO: Account Balance Start. [2025-03-20 03:17:03] Production.INFO: CreateAllLog Start [2025-03-20 03:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:17:03] Production.INFO: 117 [2025-03-20 03:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:17:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720026') end [2025-03-20 03:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:17:03] Production.INFO: 1 [2025-03-20 03:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.INFO: ==4866== Releasing lock... [2025-03-20 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:17:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:17:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.INFO: Date 2025-03-11 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.ERROR: done [2025-03-20 03:17:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:17:03] Production.INFO: Date 2025-03-12 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.INFO: Date 2025-03-13 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.INFO: Date 2025-03-14 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.INFO: Date 2025-03-15 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.INFO: Date 2025-03-16 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.ERROR: done [2025-03-20 03:17:03] Production.INFO: Date 2025-03-17 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.INFO: Date 2025-03-18 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.INFO: Date 2025-03-19 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.INFO: Date 2025-03-20 [2025-03-20 03:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:17:03] Production.INFO: Total Charge 0 [2025-03-20 03:17:03] Production.INFO: CreateAllLog End [2025-03-20 03:17:04] Production.INFO: Account Balance End. [2025-03-20 03:17:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:17:04] Production.INFO: ==4861== Releasing lock... [2025-03-20 03:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:17:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:17:04 [end_date_ymd] => 2025-03-20 03:17:04 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:17:04' and `end` < '2025-03-20 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-03-20 03:17:11] Production.ERROR: CronJobId end10 [2025-03-20 03:17:11] Production.INFO: ==4859== Releasing lock... [2025-03-20 03:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:17:15] Production.INFO: call_cost start [2025-03-20 03:17:15] Production.INFO: call_cost end [2025-03-20 03:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:17:15] Production.INFO: ==4855== Releasing lock... [2025-03-20 03:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:17:16] Production.INFO: count ==629 [2025-03-20 03:17:16] Production.ERROR: pbx CDR StartTime 2025-03-20 00:17:04 - End Time 2025-03-20 03:17:04 [2025-03-20 03:17:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:17:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720028', 'tblTempUsageDetail_20' ) start [2025-03-20 03:17:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720028', 'tblTempUsageDetail_20' ) end [2025-03-20 03:17:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720028', 'tblTempVendorCDR_20' ) start [2025-03-20 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720028', 'tblTempVendorCDR_20' ) end [2025-03-20 03:17:17] Production.INFO: ProcessCDR(1,14720028,1,1,2) [2025-03-20 03:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720028', 'tblTempUsageDetail_20' ) start [2025-03-20 03:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720028', 'tblTempUsageDetail_20' ) end [2025-03-20 03:17:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:17:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:17:20] Production.INFO: ==4864== Releasing lock... [2025-03-20 03:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:17:20] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:18:01] Production.INFO: ==4961== Lock acquired, processing the job... [2025-03-20 07:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:18:01] Production.INFO: neon service started [2025-03-20 07:18:01] Production.INFO: neon service started [2025-03-20 07:18:01] Production.INFO: ==4961== Releasing lock... [2025-03-20 07:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:18:02] Production.INFO: ==4963== Lock acquired, processing the job... [2025-03-20 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:18:02] Production.INFO: ==4963== Releasing lock... [2025-03-20 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:18:02] Production.INFO: ==4965== Lock acquired, processing the job... [2025-03-20 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:18:02] Production.INFO: ==4965== Releasing lock... [2025-03-20 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:18:02] Production.INFO: 26 MB #Memory Used# [2025-03-20 03:18:03] Production.INFO: ==4971== Lock acquired, processing the job... [2025-03-20 03:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:18:03] Production.INFO: ==4975== Lock acquired, processing the job... [2025-03-20 03:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:18:03] Production.INFO: ==4969== Lock acquired, processing the job... [2025-03-20 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:18:03] Production.INFO: ==4967== Lock acquired, processing the job... [2025-03-20 03:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:18:03] Production.INFO: ==4973== Lock acquired, processing the job... [2025-03-20 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:18:03] Production.INFO: ==4977== Lock acquired, processing the job... [2025-03-20 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:18:03] Production.INFO: Account Balance Start. [2025-03-20 03:18:03] Production.INFO: CreateAllLog Start [2025-03-20 03:18:03] Production.INFO: 117 [2025-03-20 03:18:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 03:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:03] Production.INFO: count ==12 [2025-03-20 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-03-20 03:18:03] Production.INFO: count ==23 [2025-03-20 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720029') start [2025-03-20 03:18:04] Production.ERROR: done [2025-03-20 03:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720029') end [2025-03-20 03:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:18:04] Production.INFO: 1 [2025-03-20 03:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:18:04] Production.INFO: ==4977== Releasing lock... [2025-03-20 03:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:04] Production.ERROR: done [2025-03-20 03:18:04] Production.INFO: ==4969== Releasing lock... [2025-03-20 03:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:18:04] Production.INFO: Total Charge 0 [2025-03-20 03:18:04] Production.INFO: CreateAllLog End [2025-03-20 03:18:04] Production.INFO: Account Balance End. [2025-03-20 03:18:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:18:04] Production.INFO: ==4973== Releasing lock... [2025-03-20 03:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:18:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:18:04 [end_date_ymd] => 2025-03-20 03:18:04 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:18:04' and `end` < '2025-03-20 03: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-03-20 03:18:11] Production.ERROR: CronJobId end10 [2025-03-20 03:18:11] Production.INFO: ==4971== Releasing lock... [2025-03-20 03:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:18:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:18:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:18:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:18:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:18:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:18:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:18:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:18:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:18:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:18:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:18:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:18:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:18:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:18:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:18:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:18:14] Production.INFO: call_cost start [2025-03-20 03:18:14] Production.INFO: call_cost end [2025-03-20 03:18:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:18:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:18:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:18:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:18:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:18:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:18:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:18:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:18:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:18:15] Production.INFO: ==4967== Releasing lock... [2025-03-20 03:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:18:17] Production.INFO: count ==627 [2025-03-20 03:18:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:18:04 - End Time 2025-03-20 03:18:04 [2025-03-20 03:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720033', 'tblTempUsageDetail_20' ) start [2025-03-20 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720033', 'tblTempUsageDetail_20' ) end [2025-03-20 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720033', 'tblTempVendorCDR_20' ) start [2025-03-20 03:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720033', 'tblTempVendorCDR_20' ) end [2025-03-20 03:18:17] Production.INFO: ProcessCDR(1,14720033,1,1,2) [2025-03-20 03:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:18:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720033', 'tblTempUsageDetail_20' ) start [2025-03-20 03:18:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720033', 'tblTempUsageDetail_20' ) end [2025-03-20 03:18:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:18:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:18:20] Production.INFO: ==4975== Releasing lock... [2025-03-20 03:18:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:18:20] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:19:02] Production.INFO: ==5033== Lock acquired, processing the job... [2025-03-20 07:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:19:02] Production.INFO: neon service started [2025-03-20 07:19:02] Production.INFO: neon service started [2025-03-20 07:19:02] Production.INFO: ==5033== Releasing lock... [2025-03-20 07:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:19:02] Production.INFO: ==5035== Lock acquired, processing the job... [2025-03-20 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:19:02] Production.INFO: ==5035== Releasing lock... [2025-03-20 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:19:02] Production.INFO: ==5037== Lock acquired, processing the job... [2025-03-20 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:19:03] Production.INFO: ==5037== Releasing lock... [2025-03-20 07:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:19:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:19:03] Production.INFO: ==5047== Lock acquired, processing the job... [2025-03-20 03:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:19:03] Production.INFO: ==5049== Lock acquired, processing the job... [2025-03-20 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:19:04] Production.INFO: ==5039== Lock acquired, processing the job... [2025-03-20 03:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:19:04] Production.INFO: ==5041== Lock acquired, processing the job... [2025-03-20 03:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:19:04] Production.INFO: ==5043== Lock acquired, processing the job... [2025-03-20 03:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:19:04] Production.INFO: count ==12 [2025-03-20 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-03-20 03:19:04] Production.INFO: count ==23 [2025-03-20 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720034') start [2025-03-20 03:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:19:04] Production.INFO: ==5045== Lock acquired, processing the job... [2025-03-20 03:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720034') end [2025-03-20 03:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:19:04] Production.INFO: 1 [2025-03-20 03:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:19:04] Production.ERROR: done [2025-03-20 03:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:19:04] Production.INFO: ==5049== Releasing lock... [2025-03-20 03:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:19:04] Production.INFO: ==5041== Releasing lock... [2025-03-20 03:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:19:04] Production.ERROR: done [2025-03-20 03:19:04] Production.INFO: Account Balance Start. [2025-03-20 03:19:04] Production.INFO: CreateAllLog Start [2025-03-20 03:19:04] Production.INFO: 117 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:19:04] Production.INFO: Total Charge 0 [2025-03-20 03:19:04] Production.INFO: CreateAllLog End [2025-03-20 03:19:05] Production.INFO: Account Balance End. [2025-03-20 03:19:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:19:05] Production.INFO: ==5045== Releasing lock... [2025-03-20 03:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:19:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:19:05 [end_date_ymd] => 2025-03-20 03:19:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:19:05' and `end` < '2025-03-20 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-03-20 03:19:12] Production.ERROR: CronJobId end10 [2025-03-20 03:19:12] Production.INFO: ==5043== Releasing lock... [2025-03-20 03:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:19:14] Production.INFO: call_cost start [2025-03-20 03:19:14] Production.INFO: call_cost end [2025-03-20 03:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:19:15] Production.INFO: ==5039== Releasing lock... [2025-03-20 03:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:19:17] Production.INFO: count ==627 [2025-03-20 03:19:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:19:05 - End Time 2025-03-20 03:19:05 [2025-03-20 03:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720038', 'tblTempUsageDetail_20' ) start [2025-03-20 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720038', 'tblTempUsageDetail_20' ) end [2025-03-20 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720038', 'tblTempVendorCDR_20' ) start [2025-03-20 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720038', 'tblTempVendorCDR_20' ) end [2025-03-20 03:19:18] Production.INFO: ProcessCDR(1,14720038,1,1,2) [2025-03-20 03:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720038', 'tblTempUsageDetail_20' ) start [2025-03-20 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720038', 'tblTempUsageDetail_20' ) end [2025-03-20 03:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:19:21] Production.INFO: ==5047== Releasing lock... [2025-03-20 03:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:19:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:20:01] Production.INFO: ==5111== Lock acquired, processing the job... [2025-03-20 07:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:20:01] Production.INFO: neon service started [2025-03-20 07:20:01] Production.INFO: neon service started [2025-03-20 07:20:01] Production.INFO: ==5111== Releasing lock... [2025-03-20 07:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:20:02] Production.INFO: ==5113== Lock acquired, processing the job... [2025-03-20 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:20:02] Production.INFO: ==5115== Lock acquired, processing the job... [2025-03-20 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:20:02] Production.INFO: ==5113== Releasing lock... [2025-03-20 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:20:02] Production.INFO: ==5115== Releasing lock... [2025-03-20 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:20:03] Production.INFO: ==5121== Lock acquired, processing the job... [2025-03-20 03:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:20:03] Production.INFO: ==5117== Lock acquired, processing the job... [2025-03-20 03:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 03:20:03] Production.INFO: ==5125== Lock acquired, processing the job... [2025-03-20 03:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:20:03] Production.INFO: ==5119== Lock acquired, processing the job... [2025-03-20 03:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 03:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 03:20:03] Production.ERROR: CronJob PID - 5121 [2025-03-20 03:20:03] Production.ERROR: CronJob Title - Account Block [2025-03-20 03:20:03] Production.ERROR: CronJob ID - 7 [2025-03-20 03:20:03] Production.ERROR: CronJob Last Run Time 2025-03-20 03:20:00 [2025-03-20 03:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 03:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 03:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 03:20:03] Production.ERROR: CronJob PID - 5125 [2025-03-20 03:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 03:20:03] Production.ERROR: CronJob ID - 12 [2025-03-20 03:20:03] Production.ERROR: CronJob Last Run Time 2025-03-20 03:20:00 [2025-03-20 03:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 03:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 03:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 03:20:03] Production.INFO: ==5117== Releasing lock... [2025-03-20 03:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 03:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 03:20:03] Production.INFO: ==5132== Lock acquired, processing the job... [2025-03-20 03:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:20:03] Production.INFO: ==5123== Lock acquired, processing the job... [2025-03-20 03:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:20:03] Production.INFO: Account Balance Start. [2025-03-20 03:20:03] Production.INFO: CreateAllLog Start [2025-03-20 03:20:03] Production.INFO: 117 [2025-03-20 03:20:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:20:04] Production.INFO: ==5121== Releasing lock... [2025-03-20 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 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-03-20 03:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:20:04] Production.INFO: ==5127== Lock acquired, processing the job... [2025-03-20 03:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.INFO: ==5129== Lock acquired, processing the job... [2025-03-20 03:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 03:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.INFO: count ==12 [2025-03-20 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-03-20 03:20:04] Production.INFO: count ==23 [2025-03-20 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720042') start [2025-03-20 03:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720042') end [2025-03-20 03:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:20:04] Production.INFO: 1 [2025-03-20 03:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.INFO: ==5132== Releasing lock... [2025-03-20 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.ERROR: done [2025-03-20 03:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:20:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.ERROR: done [2025-03-20 03:20:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:20:04] Production.INFO: Total Charge 0 [2025-03-20 03:20:04] Production.INFO: CreateAllLog End [2025-03-20 03:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 03:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720043', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 03:20:04] Production.ERROR: done [2025-03-20 03:20:05] Production.INFO: Account Balance End. [2025-03-20 03:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:20:05] Production.INFO: ==5125== Releasing lock... [2025-03-20 03:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:20:06 [end_date_ymd] => 2025-03-20 03:20:06 [RateCDR] => 1 ) [2025-03-20 03:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:20:06' and `end` < '2025-03-20 03:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720043', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 03:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 03:20:08] Production.INFO: ProcessCDR(1,14720043,1,1,2) [2025-03-20 03:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720043,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720043,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:20:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:20:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:20:08] Production.INFO: ==5129== Releasing lock... [2025-03-20 03:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 03:20:08] Production.INFO: 26 MB #Memory Used# [2025-03-20 03:20:13] Production.ERROR: CronJobId end10 [2025-03-20 03:20:13] Production.INFO: ==5123== Releasing lock... [2025-03-20 03:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:20:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:20:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:20:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:20:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:20:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:20:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:20:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:20:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:20:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:20:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:20:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:20:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:20:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:20:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:20:16] Production.INFO: call_cost start [2025-03-20 03:20:16] Production.INFO: call_cost end [2025-03-20 03:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:20:17] Production.INFO: ==5119== Releasing lock... [2025-03-20 03:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:20:18] Production.INFO: count ==619 [2025-03-20 03:20:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:20:06 - End Time 2025-03-20 03:20:06 [2025-03-20 03:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720044', 'tblTempUsageDetail_20' ) start [2025-03-20 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720044', 'tblTempUsageDetail_20' ) end [2025-03-20 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720044', 'tblTempVendorCDR_20' ) start [2025-03-20 03:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720044', 'tblTempVendorCDR_20' ) end [2025-03-20 03:20:18] Production.INFO: ProcessCDR(1,14720044,1,1,2) [2025-03-20 03:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720044', 'tblTempUsageDetail_20' ) start [2025-03-20 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720044', 'tblTempUsageDetail_20' ) end [2025-03-20 03:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:20:22] Production.INFO: ==5127== Releasing lock... [2025-03-20 03:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:20:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:21:02] Production.INFO: ==5188== Lock acquired, processing the job... [2025-03-20 07:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:21:02] Production.INFO: neon service started [2025-03-20 07:21:02] Production.INFO: neon service started [2025-03-20 07:21:02] Production.INFO: ==5188== Releasing lock... [2025-03-20 07:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:21:02] Production.INFO: ==5192== Lock acquired, processing the job... [2025-03-20 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:21:02] Production.INFO: ==5192== Releasing lock... [2025-03-20 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:21:02] Production.INFO: ==5190== Lock acquired, processing the job... [2025-03-20 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:21:02] Production.INFO: ==5190== Releasing lock... [2025-03-20 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:21:03] Production.INFO: ==5198== Lock acquired, processing the job... [2025-03-20 03:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:21:03] Production.INFO: ==5204== Lock acquired, processing the job... [2025-03-20 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:21:04] Production.INFO: ==5196== Lock acquired, processing the job... [2025-03-20 03:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 03:21:04] Production.INFO: ==5194== Lock acquired, processing the job... [2025-03-20 03:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:21:04] Production.INFO: count ==12 [2025-03-20 03:21:04] Production.INFO: ==5202== Lock acquired, processing the job... [2025-03-20 03:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 03:21:04] Production.INFO: count ==23 [2025-03-20 03:21:04] Production.INFO: ==5200== Lock acquired, processing the job... [2025-03-20 03:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720045') start [2025-03-20 03:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720045') end [2025-03-20 03:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:21:04] Production.INFO: 1 [2025-03-20 03:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:21:04] Production.INFO: Account Balance Start. [2025-03-20 03:21:04] Production.INFO: CreateAllLog Start [2025-03-20 03:21:04] Production.INFO: 117 [2025-03-20 03:21:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:04] Production.INFO: ==5204== Releasing lock... [2025-03-20 03:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:04] Production.ERROR: done [2025-03-20 03:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:04] Production.ERROR: done [2025-03-20 03:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:04] Production.INFO: ==5196== Releasing lock... [2025-03-20 03:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:05] Production.INFO: Date 2025-03-14 [2025-03-20 03:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:05] Production.INFO: Date 2025-03-15 [2025-03-20 03:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:05] Production.INFO: Date 2025-03-16 [2025-03-20 03:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:21:05] Production.INFO: Total Charge 0 [2025-03-20 03:21:05] Production.INFO: CreateAllLog End [2025-03-20 03:21:05] Production.INFO: Account Balance End. [2025-03-20 03:21:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:21:05] Production.INFO: ==5200== Releasing lock... [2025-03-20 03:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:21:06 [end_date_ymd] => 2025-03-20 03:21:06 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:21:06' and `end` < '2025-03-20 03: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-03-20 03:21:12] Production.ERROR: CronJobId end10 [2025-03-20 03:21:12] Production.INFO: ==5198== Releasing lock... [2025-03-20 03:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:21:15] Production.INFO: call_cost start [2025-03-20 03:21:15] Production.INFO: call_cost end [2025-03-20 03:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:21:16] Production.INFO: ==5194== Releasing lock... [2025-03-20 03:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:21:18] Production.INFO: count ==619 [2025-03-20 03:21:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:21:06 - End Time 2025-03-20 03:21:06 [2025-03-20 03:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720049', 'tblTempUsageDetail_20' ) start [2025-03-20 03:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720049', 'tblTempUsageDetail_20' ) end [2025-03-20 03:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720049', 'tblTempVendorCDR_20' ) start [2025-03-20 03:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720049', 'tblTempVendorCDR_20' ) end [2025-03-20 03:21:18] Production.INFO: ProcessCDR(1,14720049,1,1,2) [2025-03-20 03:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720049', 'tblTempUsageDetail_20' ) start [2025-03-20 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720049', 'tblTempUsageDetail_20' ) end [2025-03-20 03:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:21:21] Production.INFO: ==5202== Releasing lock... [2025-03-20 03:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:21:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:22:01] Production.INFO: ==5258== Lock acquired, processing the job... [2025-03-20 07:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:22:01] Production.INFO: neon service started [2025-03-20 07:22:01] Production.INFO: neon service started [2025-03-20 07:22:01] Production.INFO: ==5258== Releasing lock... [2025-03-20 07:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:22:02] Production.INFO: ==5260== Lock acquired, processing the job... [2025-03-20 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:22:02] Production.INFO: ==5260== Releasing lock... [2025-03-20 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:22:02] Production.INFO: ==5262== Lock acquired, processing the job... [2025-03-20 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:22:02] Production.INFO: ==5262== Releasing lock... [2025-03-20 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:22:03] Production.INFO: ==5272== Lock acquired, processing the job... [2025-03-20 03:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:22:03] Production.INFO: ==5274== Lock acquired, processing the job... [2025-03-20 03:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 03:22:03] Production.INFO: ==5264== Lock acquired, processing the job... [2025-03-20 03:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:22:03] Production.INFO: ==5266== Lock acquired, processing the job... [2025-03-20 03:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:22:03] Production.INFO: count ==12 [2025-03-20 03:22:03] Production.INFO: ==5268== Lock acquired, processing the job... [2025-03-20 03:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03: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-03-20 03:22:03] Production.INFO: count ==23 [2025-03-20 03:22:03] Production.INFO: ==5270== Lock acquired, processing the job... [2025-03-20 03:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720050') start [2025-03-20 03:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:22:03] Production.ERROR: done [2025-03-20 03:22:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720050') end [2025-03-20 03:22:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:22:03] Production.INFO: 1 [2025-03-20 03:22:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:22:03] Production.INFO: Account Balance Start. [2025-03-20 03:22:03] Production.INFO: CreateAllLog Start [2025-03-20 03:22:03] Production.ERROR: done [2025-03-20 03:22:03] Production.INFO: ==5274== Releasing lock... [2025-03-20 03:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:22:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:22:03] Production.INFO: 117 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: ==5266== Releasing lock... [2025-03-20 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:22:04] Production.INFO: Total Charge 0 [2025-03-20 03:22:04] Production.INFO: CreateAllLog End [2025-03-20 03:22:04] Production.INFO: Account Balance End. [2025-03-20 03:22:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:22:04] Production.INFO: ==5270== Releasing lock... [2025-03-20 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:22:05 [end_date_ymd] => 2025-03-20 03:22:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:22:05' and `end` < '2025-03-20 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-03-20 03:22:11] Production.ERROR: CronJobId end10 [2025-03-20 03:22:11] Production.INFO: ==5268== Releasing lock... [2025-03-20 03:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:22:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:22:14] Production.INFO: call_cost start [2025-03-20 03:22:14] Production.INFO: call_cost end [2025-03-20 03:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:22:15] Production.INFO: ==5264== Releasing lock... [2025-03-20 03:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:22:17] Production.INFO: count ==619 [2025-03-20 03:22:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:22:05 - End Time 2025-03-20 03:22:05 [2025-03-20 03:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720054', 'tblTempUsageDetail_20' ) start [2025-03-20 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720054', 'tblTempUsageDetail_20' ) end [2025-03-20 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720054', 'tblTempVendorCDR_20' ) start [2025-03-20 03:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720054', 'tblTempVendorCDR_20' ) end [2025-03-20 03:22:17] Production.INFO: ProcessCDR(1,14720054,1,1,2) [2025-03-20 03:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720054', 'tblTempUsageDetail_20' ) start [2025-03-20 03:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720054', 'tblTempUsageDetail_20' ) end [2025-03-20 03:22:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:22:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:22:20] Production.INFO: ==5272== Releasing lock... [2025-03-20 03:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:22:20] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:23:02] Production.INFO: ==5332== Lock acquired, processing the job... [2025-03-20 07:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:23:02] Production.INFO: neon service started [2025-03-20 07:23:02] Production.INFO: neon service started [2025-03-20 07:23:02] Production.INFO: ==5332== Releasing lock... [2025-03-20 07:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:23:02] Production.INFO: ==5334== Lock acquired, processing the job... [2025-03-20 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:23:02] Production.INFO: ==5336== Lock acquired, processing the job... [2025-03-20 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:23:02] Production.INFO: ==5336== Releasing lock... [2025-03-20 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:23:03] Production.INFO: ==5334== Releasing lock... [2025-03-20 03:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:23:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:23:03] Production.INFO: ==5343== Lock acquired, processing the job... [2025-03-20 03:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:23:03] Production.INFO: ==5345== Lock acquired, processing the job... [2025-03-20 03:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:23:04] Production.INFO: ==5339== Lock acquired, processing the job... [2025-03-20 03:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:23:04] Production.INFO: ==5341== Lock acquired, processing the job... [2025-03-20 03:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:23:04] Production.INFO: Account Balance Start. [2025-03-20 03:23:04] Production.INFO: CreateAllLog Start [2025-03-20 03:23:04] Production.INFO: 117 [2025-03-20 03:23:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:04] Production.INFO: ==5347== Lock acquired, processing the job... [2025-03-20 03:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:23:04] Production.INFO: ==5349== Lock acquired, processing the job... [2025-03-20 03:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:04] Production.INFO: ==5341== Releasing lock... [2025-03-20 03:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 03: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-03-20 03:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:04] Production.INFO: count ==12 [2025-03-20 03: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-03-20 03:23:04] Production.INFO: count ==23 [2025-03-20 03:23:04] Production.ERROR: done [2025-03-20 03:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720058') start [2025-03-20 03:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720058') end [2025-03-20 03:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:23:04] Production.INFO: 1 [2025-03-20 03:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:23:05] Production.ERROR: done [2025-03-20 03:23:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:05] Production.INFO: ==5349== Releasing lock... [2025-03-20 03:23:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:23:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:23:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:23:05] Production.INFO: Total Charge 0 [2025-03-20 03:23:05] Production.INFO: CreateAllLog End [2025-03-20 03:23:05] Production.INFO: Account Balance End. [2025-03-20 03:23:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:23:05] Production.INFO: ==5345== Releasing lock... [2025-03-20 03:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:23:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:23:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:23:06 [end_date_ymd] => 2025-03-20 03:23:06 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:23:06' and `end` < '2025-03-20 03: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-03-20 03:23:12] Production.ERROR: CronJobId end10 [2025-03-20 03:23:12] Production.INFO: ==5343== Releasing lock... [2025-03-20 03:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:23:15] Production.INFO: call_cost start [2025-03-20 03:23:15] Production.INFO: call_cost end [2025-03-20 03:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:23:16] Production.INFO: ==5339== Releasing lock... [2025-03-20 03:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:23:18] Production.INFO: count ==626 [2025-03-20 03:23:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:23:06 - End Time 2025-03-20 03:23:06 [2025-03-20 03:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720059', 'tblTempUsageDetail_20' ) start [2025-03-20 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720059', 'tblTempUsageDetail_20' ) end [2025-03-20 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720059', 'tblTempVendorCDR_20' ) start [2025-03-20 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720059', 'tblTempVendorCDR_20' ) end [2025-03-20 03:23:18] Production.INFO: ProcessCDR(1,14720059,1,1,2) [2025-03-20 03:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720059', 'tblTempUsageDetail_20' ) start [2025-03-20 03:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720059', 'tblTempUsageDetail_20' ) end [2025-03-20 03:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:23:21] Production.INFO: ==5347== Releasing lock... [2025-03-20 03:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:23:21] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:24:01] Production.INFO: ==5406== Lock acquired, processing the job... [2025-03-20 07:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:24:01] Production.INFO: neon service started [2025-03-20 07:24:01] Production.INFO: neon service started [2025-03-20 07:24:01] Production.INFO: ==5406== Releasing lock... [2025-03-20 07:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:24:01] Production.INFO: ==5408== Lock acquired, processing the job... [2025-03-20 03:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:24:02] Production.INFO: ==5408== Releasing lock... [2025-03-20 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:24:02] Production.INFO: ==5410== Lock acquired, processing the job... [2025-03-20 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:24:02] Production.INFO: ==5410== Releasing lock... [2025-03-20 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:24:03] Production.INFO: ==5413== Lock acquired, processing the job... [2025-03-20 03:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:24:03] Production.INFO: ==5415== Lock acquired, processing the job... [2025-03-20 03:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:24:03] Production.INFO: ==5421== Lock acquired, processing the job... [2025-03-20 03:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:24:03] Production.INFO: ==5423== Lock acquired, processing the job... [2025-03-20 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:24:03] Production.INFO: ==5417== Lock acquired, processing the job... [2025-03-20 03:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:24:03] Production.INFO: ==5419== Lock acquired, processing the job... [2025-03-20 03:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:24:03] Production.INFO: count ==12 [2025-03-20 03:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:24:03] Production.INFO: count ==23 [2025-03-20 03:24:03] Production.INFO: ==5415== Releasing lock... [2025-03-20 03:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:24:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:24:03] Production.INFO: Account Balance Start. [2025-03-20 03:24:03] Production.INFO: CreateAllLog Start [2025-03-20 03:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:24:03] Production.INFO: 117 [2025-03-20 03:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720062') start [2025-03-20 03:24:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720062') end [2025-03-20 03:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:24:03] Production.INFO: 1 [2025-03-20 03:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:24:03] Production.ERROR: done [2025-03-20 03:24:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:24:03] Production.INFO: ==5423== Releasing lock... [2025-03-20 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:24:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:04] Production.ERROR: done [2025-03-20 03:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:24:04] Production.INFO: Total Charge 0 [2025-03-20 03:24:04] Production.INFO: CreateAllLog End [2025-03-20 03:24:04] Production.INFO: Account Balance End. [2025-03-20 03:24:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:24:04] Production.INFO: ==5419== Releasing lock... [2025-03-20 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:24:05 [end_date_ymd] => 2025-03-20 03:24:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:24:05' and `end` < '2025-03-20 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-03-20 03:24:11] Production.ERROR: CronJobId end10 [2025-03-20 03:24:11] Production.INFO: ==5417== Releasing lock... [2025-03-20 03:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:24:14] Production.INFO: call_cost start [2025-03-20 03:24:14] Production.INFO: call_cost end [2025-03-20 03:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:24:15] Production.INFO: ==5413== Releasing lock... [2025-03-20 03:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:24:17] Production.INFO: count ==631 [2025-03-20 03:24:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:24:05 - End Time 2025-03-20 03:24:05 [2025-03-20 03:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720064', 'tblTempUsageDetail_20' ) start [2025-03-20 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720064', 'tblTempUsageDetail_20' ) end [2025-03-20 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720064', 'tblTempVendorCDR_20' ) start [2025-03-20 03:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720064', 'tblTempVendorCDR_20' ) end [2025-03-20 03:24:17] Production.INFO: ProcessCDR(1,14720064,1,1,2) [2025-03-20 03:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720064', 'tblTempUsageDetail_20' ) start [2025-03-20 03:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720064', 'tblTempUsageDetail_20' ) end [2025-03-20 03:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:24:21] Production.INFO: ==5421== Releasing lock... [2025-03-20 03:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:24:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 07:25:02] Production.INFO: ==5483== Lock acquired, processing the job... [2025-03-20 07:25:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:25:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:25:02] Production.INFO: neon service started [2025-03-20 07:25:02] Production.INFO: neon service started [2025-03-20 07:25:02] Production.INFO: ==5483== Releasing lock... [2025-03-20 07:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:25:02] Production.INFO: ==5485== Lock acquired, processing the job... [2025-03-20 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:25:02] Production.INFO: ==5487== Lock acquired, processing the job... [2025-03-20 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:25:02] Production.INFO: ==5487== Releasing lock... [2025-03-20 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:25:03] Production.INFO: ==5485== Releasing lock... [2025-03-20 03:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:25:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:25:04] Production.INFO: ==5492== Lock acquired, processing the job... [2025-03-20 03:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:25:04] Production.INFO: ==5500== Lock acquired, processing the job... [2025-03-20 03:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:25:04] Production.INFO: ==5490== Lock acquired, processing the job... [2025-03-20 03:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:25:04] Production.INFO: ==5494== Lock acquired, processing the job... [2025-03-20 03:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:25:04] Production.INFO: ==5496== Lock acquired, processing the job... [2025-03-20 03:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:25:04] Production.INFO: ==5498== Lock acquired, processing the job... [2025-03-20 03:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:25:04] Production.INFO: count ==12 [2025-03-20 03:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:25:04] Production.INFO: ==5492== Releasing lock... [2025-03-20 03:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:25:04] Production.INFO: count ==23 [2025-03-20 03:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:25:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720066') start [2025-03-20 03:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:25:04] Production.INFO: Account Balance Start. [2025-03-20 03:25:04] Production.INFO: CreateAllLog Start [2025-03-20 03:25:04] Production.INFO: 117 [2025-03-20 03:25:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720066') end [2025-03-20 03:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:25:04] Production.INFO: 1 [2025-03-20 03:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:25:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:04] Production.INFO: ==5500== Releasing lock... [2025-03-20 03:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:25:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:04] Production.ERROR: done [2025-03-20 03:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:05] Production.ERROR: done [2025-03-20 03:25:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:25:05] Production.INFO: Total Charge 0 [2025-03-20 03:25:05] Production.INFO: CreateAllLog End [2025-03-20 03:25:05] Production.INFO: Account Balance End. [2025-03-20 03:25:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:25:05] Production.INFO: ==5496== Releasing lock... [2025-03-20 03:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:25:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:25:06 [end_date_ymd] => 2025-03-20 03:25:06 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:25:06' and `end` < '2025-03-20 03: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-03-20 03:25:13] Production.ERROR: CronJobId end10 [2025-03-20 03:25:13] Production.INFO: ==5494== Releasing lock... [2025-03-20 03:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:25:15] Production.INFO: call_cost start [2025-03-20 03:25:15] Production.INFO: call_cost end [2025-03-20 03:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:25:16] Production.INFO: ==5490== Releasing lock... [2025-03-20 03:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:25:18] Production.INFO: count ==627 [2025-03-20 03:25:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:25:06 - End Time 2025-03-20 03:25:06 [2025-03-20 03:25:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720069', 'tblTempUsageDetail_20' ) start [2025-03-20 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720069', 'tblTempUsageDetail_20' ) end [2025-03-20 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720069', 'tblTempVendorCDR_20' ) start [2025-03-20 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720069', 'tblTempVendorCDR_20' ) end [2025-03-20 03:25:18] Production.INFO: ProcessCDR(1,14720069,1,1,2) [2025-03-20 03:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720069', 'tblTempUsageDetail_20' ) start [2025-03-20 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720069', 'tblTempUsageDetail_20' ) end [2025-03-20 03:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:25:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:25:22] Production.INFO: ==5498== Releasing lock... [2025-03-20 03:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:25:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:26:01] Production.INFO: ==5557== Lock acquired, processing the job... [2025-03-20 07:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:26:01] Production.INFO: neon service started [2025-03-20 07:26:01] Production.INFO: neon service started [2025-03-20 07:26:01] Production.INFO: ==5557== Releasing lock... [2025-03-20 07:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:26:01] Production.INFO: ==5559== Lock acquired, processing the job... [2025-03-20 03:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:26:02] Production.INFO: ==5559== Releasing lock... [2025-03-20 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:26:02] Production.INFO: ==5561== Lock acquired, processing the job... [2025-03-20 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:26:02] Production.INFO: ==5561== Releasing lock... [2025-03-20 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:26:03] Production.INFO: ==5565== Lock acquired, processing the job... [2025-03-20 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:26:03] Production.INFO: ==5571== Lock acquired, processing the job... [2025-03-20 03:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:26:03] Production.INFO: ==5563== Lock acquired, processing the job... [2025-03-20 03:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:26:03] Production.INFO: ==5567== Lock acquired, processing the job... [2025-03-20 03:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:26:03] Production.INFO: ==5569== Lock acquired, processing the job... [2025-03-20 03:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:26:03] Production.INFO: ==5573== Lock acquired, processing the job... [2025-03-20 03:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:26:03] Production.INFO: ==5565== Releasing lock... [2025-03-20 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:26:03] Production.INFO: count ==12 [2025-03-20 03: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-03-20 03:26:03] Production.ERROR: done [2025-03-20 03:26:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:26:03] Production.INFO: count ==23 [2025-03-20 03:26:03] Production.INFO: Account Balance Start. [2025-03-20 03:26:03] Production.INFO: CreateAllLog Start [2025-03-20 03:26:03] Production.INFO: 117 [2025-03-20 03:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720072') start [2025-03-20 03:26:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720072') end [2025-03-20 03:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:26:03] Production.INFO: 1 [2025-03-20 03:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:26:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:03] Production.INFO: Date 2025-03-11 [2025-03-20 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:03] Production.INFO: Date 2025-03-12 [2025-03-20 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:03] Production.INFO: ==5573== Releasing lock... [2025-03-20 03:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:26:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:26:03] Production.INFO: Date 2025-03-13 [2025-03-20 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:03] Production.ERROR: done [2025-03-20 03:26:03] Production.INFO: Date 2025-03-14 [2025-03-20 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:03] Production.INFO: Date 2025-03-15 [2025-03-20 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:03] Production.INFO: Date 2025-03-16 [2025-03-20 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:03] Production.INFO: Date 2025-03-17 [2025-03-20 03:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:26:04] Production.INFO: Total Charge 0 [2025-03-20 03:26:04] Production.INFO: CreateAllLog End [2025-03-20 03:26:04] Production.INFO: Account Balance End. [2025-03-20 03:26:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:26:04] Production.INFO: ==5569== Releasing lock... [2025-03-20 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:26:05 [end_date_ymd] => 2025-03-20 03:26:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:26:05' and `end` < '2025-03-20 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-03-20 03:26:11] Production.ERROR: CronJobId end10 [2025-03-20 03:26:11] Production.INFO: ==5567== Releasing lock... [2025-03-20 03:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:26:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:26:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:26:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:26:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:26:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:26:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:26:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:26:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:26:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:26:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:26:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:26:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:26:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:26:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:26:14] Production.INFO: call_cost start [2025-03-20 03:26:14] Production.INFO: call_cost end [2025-03-20 03:26:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:26:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:26:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:26:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:26:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:26:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:26:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:26:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:26:15] Production.INFO: ==5563== Releasing lock... [2025-03-20 03:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:26:17] Production.INFO: count ==627 [2025-03-20 03:26:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:26:05 - End Time 2025-03-20 03:26:05 [2025-03-20 03:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720074', 'tblTempUsageDetail_20' ) start [2025-03-20 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720074', 'tblTempUsageDetail_20' ) end [2025-03-20 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720074', 'tblTempVendorCDR_20' ) start [2025-03-20 03:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720074', 'tblTempVendorCDR_20' ) end [2025-03-20 03:26:17] Production.INFO: ProcessCDR(1,14720074,1,1,2) [2025-03-20 03:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720074', 'tblTempUsageDetail_20' ) start [2025-03-20 03:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720074', 'tblTempUsageDetail_20' ) end [2025-03-20 03:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:26:20] Production.INFO: ==5571== Releasing lock... [2025-03-20 03:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:26:20] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:27:01] Production.INFO: ==5633== Lock acquired, processing the job... [2025-03-20 07:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:27:01] Production.INFO: neon service started [2025-03-20 07:27:01] Production.INFO: neon service started [2025-03-20 07:27:01] Production.INFO: ==5633== Releasing lock... [2025-03-20 07:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:27:02] Production.INFO: ==5637== Lock acquired, processing the job... [2025-03-20 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:27:02] Production.INFO: ==5637== Releasing lock... [2025-03-20 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:27:02] Production.INFO: ==5635== Lock acquired, processing the job... [2025-03-20 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:27:02] Production.INFO: ==5635== Releasing lock... [2025-03-20 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:27:03] Production.INFO: ==5643== Lock acquired, processing the job... [2025-03-20 03:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:27:03] Production.INFO: ==5647== Lock acquired, processing the job... [2025-03-20 03:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:27:03] Production.INFO: ==5639== Lock acquired, processing the job... [2025-03-20 03:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:27:03] Production.INFO: ==5641== Lock acquired, processing the job... [2025-03-20 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:27:03] Production.INFO: ==5645== Lock acquired, processing the job... [2025-03-20 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:27:04] Production.INFO: ==5649== Lock acquired, processing the job... [2025-03-20 03:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:27:04] Production.ERROR: done [2025-03-20 03:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:27:04] Production.INFO: Account Balance Start. [2025-03-20 03:27:04] Production.INFO: CreateAllLog Start [2025-03-20 03:27:04] Production.INFO: 117 [2025-03-20 03:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:27:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:27:04] Production.INFO: count ==12 [2025-03-20 03:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: count ==23 [2025-03-20 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720078') start [2025-03-20 03:27:04] Production.ERROR: done [2025-03-20 03:27:04] Production.INFO: ==5641== Releasing lock... [2025-03-20 03:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:27:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720078') end [2025-03-20 03:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:27:04] Production.INFO: 1 [2025-03-20 03:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:27:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: ==5649== Releasing lock... [2025-03-20 03:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:27:04] Production.INFO: Total Charge 0 [2025-03-20 03:27:04] Production.INFO: CreateAllLog End [2025-03-20 03:27:04] Production.INFO: Account Balance End. [2025-03-20 03:27:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:27:04] Production.INFO: ==5645== Releasing lock... [2025-03-20 03:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:27:05 [end_date_ymd] => 2025-03-20 03:27:05 [RateCDR] => 1 ) [2025-03-20 03:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:27:05' and `end` < '2025-03-20 03:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:27:11] Production.ERROR: CronJobId end10 [2025-03-20 03:27:11] Production.INFO: ==5643== Releasing lock... [2025-03-20 03:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:27:14] Production.INFO: call_cost start [2025-03-20 03:27:14] Production.INFO: call_cost end [2025-03-20 03:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:27:15] Production.INFO: ==5639== Releasing lock... [2025-03-20 03:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:27:17] Production.INFO: count ==628 [2025-03-20 03:27:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:27:05 - End Time 2025-03-20 03:27:05 [2025-03-20 03:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720079', 'tblTempUsageDetail_20' ) start [2025-03-20 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720079', 'tblTempUsageDetail_20' ) end [2025-03-20 03:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720079', 'tblTempVendorCDR_20' ) start [2025-03-20 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720079', 'tblTempVendorCDR_20' ) end [2025-03-20 03:27:18] Production.INFO: ProcessCDR(1,14720079,1,1,2) [2025-03-20 03:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720079', 'tblTempUsageDetail_20' ) start [2025-03-20 03:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720079', 'tblTempUsageDetail_20' ) end [2025-03-20 03:27:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:27:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:27:22] Production.INFO: ==5647== Releasing lock... [2025-03-20 03:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:27:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:28:02] Production.INFO: ==5703== Lock acquired, processing the job... [2025-03-20 07:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:28:02] Production.INFO: neon service started [2025-03-20 07:28:02] Production.INFO: neon service started [2025-03-20 07:28:02] Production.INFO: ==5703== Releasing lock... [2025-03-20 07:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:28:02] Production.INFO: ==5705== Lock acquired, processing the job... [2025-03-20 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:28:03] Production.INFO: ==5705== Releasing lock... [2025-03-20 03:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:28:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:28:03] Production.INFO: ==5707== Lock acquired, processing the job... [2025-03-20 07:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:28:03] Production.INFO: ==5707== Releasing lock... [2025-03-20 07:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:28:03] Production.INFO: ==5714== Lock acquired, processing the job... [2025-03-20 03:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:28:04] Production.INFO: ==5710== Lock acquired, processing the job... [2025-03-20 03:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:28:04] Production.INFO: ==5720== Lock acquired, processing the job... [2025-03-20 03:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:28:04] Production.INFO: ==5712== Lock acquired, processing the job... [2025-03-20 03:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:28:04] Production.INFO: ==5716== Lock acquired, processing the job... [2025-03-20 03:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03: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-03-20 03:28:04] Production.INFO: count ==12 [2025-03-20 03:28:04] Production.INFO: ==5718== Lock acquired, processing the job... [2025-03-20 03:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:28:04] Production.INFO: count ==23 [2025-03-20 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720081') start [2025-03-20 03:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720081') end [2025-03-20 03:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:28:04] Production.INFO: 1 [2025-03-20 03:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:28:04] Production.INFO: Account Balance Start. [2025-03-20 03:28:04] Production.INFO: CreateAllLog Start [2025-03-20 03:28:04] Production.INFO: 117 [2025-03-20 03:28:04] Production.INFO: ==5720== Releasing lock... [2025-03-20 03:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:28:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:04] Production.INFO: ==5712== Releasing lock... [2025-03-20 03:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:04] Production.ERROR: done [2025-03-20 03:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:04] Production.ERROR: done [2025-03-20 03:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:05] Production.INFO: Date 2025-03-13 [2025-03-20 03:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:05] Production.INFO: Date 2025-03-14 [2025-03-20 03:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:05] Production.INFO: Date 2025-03-15 [2025-03-20 03:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:05] Production.INFO: Date 2025-03-16 [2025-03-20 03:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:28:05] Production.INFO: Total Charge 0 [2025-03-20 03:28:05] Production.INFO: CreateAllLog End [2025-03-20 03:28:05] Production.INFO: Account Balance End. [2025-03-20 03:28:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:28:05] Production.INFO: ==5716== Releasing lock... [2025-03-20 03:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:28:05 [end_date_ymd] => 2025-03-20 03:28:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:28:05' and `end` < '2025-03-20 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-03-20 03:28:13] Production.ERROR: CronJobId end10 [2025-03-20 03:28:13] Production.INFO: ==5714== Releasing lock... [2025-03-20 03:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:28:15] Production.INFO: call_cost start [2025-03-20 03:28:15] Production.INFO: call_cost end [2025-03-20 03:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:28:16] Production.INFO: ==5710== Releasing lock... [2025-03-20 03:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:28:18] Production.INFO: count ==630 [2025-03-20 03:28:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:28:05 - End Time 2025-03-20 03:28:05 [2025-03-20 03:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720084', 'tblTempUsageDetail_20' ) start [2025-03-20 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720084', 'tblTempUsageDetail_20' ) end [2025-03-20 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720084', 'tblTempVendorCDR_20' ) start [2025-03-20 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720084', 'tblTempVendorCDR_20' ) end [2025-03-20 03:28:18] Production.INFO: ProcessCDR(1,14720084,1,1,2) [2025-03-20 03:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720084', 'tblTempUsageDetail_20' ) start [2025-03-20 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720084', 'tblTempUsageDetail_20' ) end [2025-03-20 03:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:28:21] Production.INFO: ==5718== Releasing lock... [2025-03-20 03:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:28:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 07:29:01] Production.INFO: ==5781== Lock acquired, processing the job... [2025-03-20 07:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:29:01] Production.INFO: neon service started [2025-03-20 07:29:01] Production.INFO: neon service started [2025-03-20 07:29:01] Production.INFO: ==5781== Releasing lock... [2025-03-20 07:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:29:02] Production.INFO: ==5786== Lock acquired, processing the job... [2025-03-20 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:29:02] Production.INFO: ==5786== Releasing lock... [2025-03-20 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:29:02] Production.INFO: ==5784== Lock acquired, processing the job... [2025-03-20 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:29:02] Production.INFO: ==5784== Releasing lock... [2025-03-20 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:29:03] Production.INFO: ==5790== Lock acquired, processing the job... [2025-03-20 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:29:03] Production.INFO: ==5794== Lock acquired, processing the job... [2025-03-20 03:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:29:03] Production.INFO: ==5796== Lock acquired, processing the job... [2025-03-20 03:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:29:03] Production.INFO: Account Balance Start. [2025-03-20 03:29:03] Production.INFO: CreateAllLog Start [2025-03-20 03:29:03] Production.INFO: 117 [2025-03-20 03:29:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:29:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:03] Production.INFO: Date 2025-03-11 [2025-03-20 03:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:03] Production.INFO: Date 2025-03-12 [2025-03-20 03:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:03] Production.INFO: Date 2025-03-13 [2025-03-20 03:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:03] Production.INFO: ==5788== Lock acquired, processing the job... [2025-03-20 03:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:29:03] Production.INFO: ==5792== Lock acquired, processing the job... [2025-03-20 03:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:29:03] Production.INFO: Date 2025-03-14 [2025-03-20 03:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:03] Production.INFO: Date 2025-03-15 [2025-03-20 03:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:03] Production.INFO: ==5798== Lock acquired, processing the job... [2025-03-20 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:29:03] Production.INFO: ==5790== Releasing lock... [2025-03-20 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:29:03] Production.INFO: Date 2025-03-16 [2025-03-20 03:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:04] Production.INFO: count ==12 [2025-03-20 03:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:29:04] Production.INFO: count ==23 [2025-03-20 03:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720087') start [2025-03-20 03:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:04] Production.ERROR: done [2025-03-20 03:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:29:04] Production.INFO: Total Charge 0 [2025-03-20 03:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720087') end [2025-03-20 03:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:29:04] Production.INFO: 1 [2025-03-20 03:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:29:04] Production.INFO: CreateAllLog End [2025-03-20 03:29:04] Production.INFO: ==5798== Releasing lock... [2025-03-20 03:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:29:04] Production.ERROR: done [2025-03-20 03:29:04] Production.INFO: Account Balance End. [2025-03-20 03:29:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:29:04] Production.INFO: ==5794== Releasing lock... [2025-03-20 03:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:29:05 [end_date_ymd] => 2025-03-20 03:29:05 [RateCDR] => 1 ) [2025-03-20 03:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:29:05' and `end` < '2025-03-20 03:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:29:11] Production.ERROR: CronJobId end10 [2025-03-20 03:29:11] Production.INFO: ==5792== Releasing lock... [2025-03-20 03:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:29:14] Production.INFO: call_cost start [2025-03-20 03:29:14] Production.INFO: call_cost end [2025-03-20 03:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:29:15] Production.INFO: ==5788== Releasing lock... [2025-03-20 03:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:29:17] Production.INFO: count ==624 [2025-03-20 03:29:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:29:05 - End Time 2025-03-20 03:29:05 [2025-03-20 03:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720089', 'tblTempUsageDetail_20' ) start [2025-03-20 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720089', 'tblTempUsageDetail_20' ) end [2025-03-20 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720089', 'tblTempVendorCDR_20' ) start [2025-03-20 03:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720089', 'tblTempVendorCDR_20' ) end [2025-03-20 03:29:17] Production.INFO: ProcessCDR(1,14720089,1,1,2) [2025-03-20 03:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720089', 'tblTempUsageDetail_20' ) start [2025-03-20 03:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720089', 'tblTempUsageDetail_20' ) end [2025-03-20 03:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:29:21] Production.INFO: ==5796== Releasing lock... [2025-03-20 03:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:29:21] Production.INFO: 33.5 MB #Memory Used# [2025-03-20 07:30:02] Production.INFO: ==5861== Lock acquired, processing the job... [2025-03-20 07:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:30:02] Production.INFO: neon service started [2025-03-20 07:30:02] Production.INFO: neon service started [2025-03-20 07:30:02] Production.INFO: ==5861== Releasing lock... [2025-03-20 07:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:30:02] Production.INFO: ==5863== Lock acquired, processing the job... [2025-03-20 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:30:02] Production.INFO: ==5865== Lock acquired, processing the job... [2025-03-20 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:30:02] Production.INFO: ==5865== Releasing lock... [2025-03-20 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:30:03] Production.INFO: ==5863== Releasing lock... [2025-03-20 03:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:30:03] Production.INFO: ==5870== Lock acquired, processing the job... [2025-03-20 03:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:30:04] Production.INFO: ==5874== Lock acquired, processing the job... [2025-03-20 03:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:30:04] Production.INFO: ==5868== Lock acquired, processing the job... [2025-03-20 03:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 03:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 03:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 03:30:04] Production.ERROR: CronJob PID - 5870 [2025-03-20 03:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 03:30:04] Production.ERROR: CronJob ID - 5 [2025-03-20 03:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 03:30:00 [2025-03-20 03:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 03:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 03:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 03:30:04] Production.ERROR: CronJob PID - 5874 [2025-03-20 03:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 03:30:04] Production.ERROR: CronJob ID - 10 [2025-03-20 03:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 03:30:00 [2025-03-20 03:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 03:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 03:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:30:04] Production.INFO: ==5876== Lock acquired, processing the job... [2025-03-20 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 03:30:04] Production.INFO: ==5868== Releasing lock... [2025-03-20 03:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 03:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 03:30:04] Production.INFO: ==5872== Lock acquired, processing the job... [2025-03-20 03:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:30:04] Production.INFO: ==5880== Lock acquired, processing the job... [2025-03-20 03:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 03:30:04] Production.INFO: Account Balance Start. [2025-03-20 03:30:04] Production.INFO: CreateAllLog Start [2025-03-20 03:30:04] Production.INFO: 117 [2025-03-20 03:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:04] Production.INFO: ==5878== Lock acquired, processing the job... [2025-03-20 03:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:04] Production.INFO: ==5882== Lock acquired, processing the job... [2025-03-20 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:30:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:30:05] Production.INFO: ==5872== Releasing lock... [2025-03-20 03:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:30:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:30:05] Production.INFO: count ==12 [2025-03-20 03:30:05] Production.ERROR: done [2025-03-20 03:30:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:30:05] Production.INFO: count ==23 [2025-03-20 03:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720093') start [2025-03-20 03:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:30:05] Production.INFO: Total Charge 0 [2025-03-20 03:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 03:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720094', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 03:30:05] Production.INFO: CreateAllLog End [2025-03-20 03:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720093') end [2025-03-20 03:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:30:05] Production.INFO: 1 [2025-03-20 03:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:30:05] Production.INFO: ==5882== Releasing lock... [2025-03-20 03:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:30:05] Production.ERROR: done [2025-03-20 03:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:30:05] Production.INFO: Account Balance End. [2025-03-20 03:30:05] Production.ERROR: done [2025-03-20 03:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:30:05] Production.INFO: ==5876== Releasing lock... [2025-03-20 03:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:30:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:30:07 [end_date_ymd] => 2025-03-20 03:30:07 [RateCDR] => 1 ) [2025-03-20 03:30:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:30:07' and `end` < '2025-03-20 03:30:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720094', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 03:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 03:30:09] Production.INFO: ProcessCDR(1,14720094,1,1,2) [2025-03-20 03:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720094,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720094,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:30:09] Production.INFO: ==5880== Releasing lock... [2025-03-20 03:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 03:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 03:30:14] Production.ERROR: CronJobId end10 [2025-03-20 03:30:14] Production.INFO: ==5874== Releasing lock... [2025-03-20 03:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:30:16] Production.INFO: call_cost start [2025-03-20 03:30:16] Production.INFO: call_cost end [2025-03-20 03:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:30:17] Production.INFO: ==5870== Releasing lock... [2025-03-20 03:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:30:19] Production.INFO: count ==625 [2025-03-20 03:30:19] Production.ERROR: pbx CDR StartTime 2025-03-20 00:30:07 - End Time 2025-03-20 03:30:07 [2025-03-20 03:30:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720095', 'tblTempUsageDetail_20' ) start [2025-03-20 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720095', 'tblTempUsageDetail_20' ) end [2025-03-20 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720095', 'tblTempVendorCDR_20' ) start [2025-03-20 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720095', 'tblTempVendorCDR_20' ) end [2025-03-20 03:30:19] Production.INFO: ProcessCDR(1,14720095,1,1,2) [2025-03-20 03:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720095', 'tblTempUsageDetail_20' ) start [2025-03-20 03:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720095', 'tblTempUsageDetail_20' ) end [2025-03-20 03:30:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:30:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:30:23] Production.INFO: ==5878== Releasing lock... [2025-03-20 03:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:30:23] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:31:01] Production.INFO: ==5946== Lock acquired, processing the job... [2025-03-20 07:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:31:01] Production.INFO: neon service started [2025-03-20 07:31:01] Production.INFO: neon service started [2025-03-20 07:31:01] Production.INFO: ==5946== Releasing lock... [2025-03-20 07:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:31:02] Production.INFO: ==5948== Lock acquired, processing the job... [2025-03-20 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:31:02] Production.INFO: ==5950== Lock acquired, processing the job... [2025-03-20 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:31:02] Production.INFO: ==5950== Releasing lock... [2025-03-20 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:31:02] Production.INFO: ==5948== Releasing lock... [2025-03-20 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:31:02] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:31:03] Production.INFO: ==5953== Lock acquired, processing the job... [2025-03-20 03:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:31:03] Production.INFO: ==5957== Lock acquired, processing the job... [2025-03-20 03:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:31:03] Production.INFO: ==5961== Lock acquired, processing the job... [2025-03-20 03:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:31:03] Production.INFO: ==5955== Lock acquired, processing the job... [2025-03-20 03:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:31:03] Production.INFO: ==5959== Lock acquired, processing the job... [2025-03-20 03:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:31:04] Production.INFO: ==5963== Lock acquired, processing the job... [2025-03-20 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:31:04] Production.ERROR: done [2025-03-20 03:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:31:04] Production.INFO: Account Balance Start. [2025-03-20 03:31:04] Production.INFO: ==5955== Releasing lock... [2025-03-20 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:31:04] Production.INFO: CreateAllLog Start [2025-03-20 03:31:04] Production.INFO: 117 [2025-03-20 03:31:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:04] Production.INFO: count ==12 [2025-03-20 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-03-20 03:31:04] Production.INFO: count ==23 [2025-03-20 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720099') start [2025-03-20 03:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:04] Production.ERROR: done [2025-03-20 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720099') end [2025-03-20 03:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:31:04] Production.INFO: 1 [2025-03-20 03:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:04] Production.INFO: ==5963== Releasing lock... [2025-03-20 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:31:05] Production.INFO: Total Charge 0 [2025-03-20 03:31:05] Production.INFO: CreateAllLog End [2025-03-20 03:31:05] Production.INFO: Account Balance End. [2025-03-20 03:31:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:31:05] Production.INFO: ==5959== Releasing lock... [2025-03-20 03:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:31:05 [end_date_ymd] => 2025-03-20 03:31:05 [RateCDR] => 1 ) [2025-03-20 03:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:31:05' and `end` < '2025-03-20 03:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:31:12] Production.ERROR: CronJobId end10 [2025-03-20 03:31:12] Production.INFO: ==5957== Releasing lock... [2025-03-20 03:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:31:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:31:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:31:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:31:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:31:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:31:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:31:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:31:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:31:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:31:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:31:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:31:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:31:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:31:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:31:15] Production.INFO: call_cost start [2025-03-20 03:31:15] Production.INFO: call_cost end [2025-03-20 03:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:31:16] Production.INFO: ==5953== Releasing lock... [2025-03-20 03:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:31:17] Production.INFO: count ==620 [2025-03-20 03:31:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:31:05 - End Time 2025-03-20 03:31:05 [2025-03-20 03:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720100', 'tblTempUsageDetail_20' ) start [2025-03-20 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720100', 'tblTempUsageDetail_20' ) end [2025-03-20 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720100', 'tblTempVendorCDR_20' ) start [2025-03-20 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720100', 'tblTempVendorCDR_20' ) end [2025-03-20 03:31:18] Production.INFO: ProcessCDR(1,14720100,1,1,2) [2025-03-20 03:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720100', 'tblTempUsageDetail_20' ) start [2025-03-20 03:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720100', 'tblTempUsageDetail_20' ) end [2025-03-20 03:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:31:21] Production.INFO: ==5961== Releasing lock... [2025-03-20 03:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:31:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:32:02] Production.INFO: ==6024== Lock acquired, processing the job... [2025-03-20 07:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:32:02] Production.INFO: neon service started [2025-03-20 07:32:02] Production.INFO: neon service started [2025-03-20 07:32:02] Production.INFO: ==6024== Releasing lock... [2025-03-20 07:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:32:02] Production.INFO: ==6028== Lock acquired, processing the job... [2025-03-20 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:32:02] Production.INFO: ==6028== Releasing lock... [2025-03-20 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:32:02] Production.INFO: ==6026== Lock acquired, processing the job... [2025-03-20 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:32:03] Production.INFO: ==6026== Releasing lock... [2025-03-20 03:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:32:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:32:04] Production.INFO: ==6031== Lock acquired, processing the job... [2025-03-20 03:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:32:04] Production.INFO: ==6033== Lock acquired, processing the job... [2025-03-20 03:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:32:04] Production.INFO: ==6037== Lock acquired, processing the job... [2025-03-20 03:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:32:04] Production.INFO: Account Balance Start. [2025-03-20 03:32:04] Production.INFO: CreateAllLog Start [2025-03-20 03:32:04] Production.INFO: 117 [2025-03-20 03:32:04] Production.INFO: ==6035== Lock acquired, processing the job... [2025-03-20 03:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:32:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:04] Production.INFO: ==6033== Releasing lock... [2025-03-20 03:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:04] Production.INFO: ==6039== Lock acquired, processing the job... [2025-03-20 03:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:32:04] Production.INFO: ==6041== Lock acquired, processing the job... [2025-03-20 03:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:04] Production.INFO: count ==12 [2025-03-20 03:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:32:04] Production.INFO: count ==23 [2025-03-20 03:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720104') start [2025-03-20 03:32:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720104') end [2025-03-20 03:32:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:32:05] Production.INFO: 1 [2025-03-20 03:32:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:32:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:32:05] Production.INFO: Total Charge 0 [2025-03-20 03:32:05] Production.INFO: ==6041== Releasing lock... [2025-03-20 03:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:32:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:32:05] Production.ERROR: done [2025-03-20 03:32:05] Production.INFO: CreateAllLog End [2025-03-20 03:32:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:32:05] Production.ERROR: done [2025-03-20 03:32:05] Production.INFO: Account Balance End. [2025-03-20 03:32:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:32:05] Production.INFO: ==6037== Releasing lock... [2025-03-20 03:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:32:06 [end_date_ymd] => 2025-03-20 03:32:06 [RateCDR] => 1 ) [2025-03-20 03:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:32:06' and `end` < '2025-03-20 03:32:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:32:13] Production.ERROR: CronJobId end10 [2025-03-20 03:32:13] Production.INFO: ==6035== Releasing lock... [2025-03-20 03:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:32:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:32:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:32:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:32:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:32:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:32:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:32:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:32:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:32:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:32:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:32:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:32:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:32:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:32:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:32:16] Production.INFO: call_cost start [2025-03-20 03:32:16] Production.INFO: call_cost end [2025-03-20 03:32:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:32:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:32:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:32:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:32:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:32:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:32:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:32:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:32:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:32:17] Production.INFO: ==6031== Releasing lock... [2025-03-20 03:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:32:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:32:18] Production.INFO: count ==620 [2025-03-20 03:32:19] Production.ERROR: pbx CDR StartTime 2025-03-20 00:32:06 - End Time 2025-03-20 03:32:06 [2025-03-20 03:32:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720105', 'tblTempUsageDetail_20' ) start [2025-03-20 03:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720105', 'tblTempUsageDetail_20' ) end [2025-03-20 03:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720105', 'tblTempVendorCDR_20' ) start [2025-03-20 03:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720105', 'tblTempVendorCDR_20' ) end [2025-03-20 03:32:19] Production.INFO: ProcessCDR(1,14720105,1,1,2) [2025-03-20 03:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720105', 'tblTempUsageDetail_20' ) start [2025-03-20 03:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720105', 'tblTempUsageDetail_20' ) end [2025-03-20 03:32:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:32:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:32:22] Production.INFO: ==6039== Releasing lock... [2025-03-20 03:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:32:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:33:01] Production.INFO: ==6140== Lock acquired, processing the job... [2025-03-20 07:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:33:01] Production.INFO: neon service started [2025-03-20 07:33:01] Production.INFO: neon service started [2025-03-20 07:33:01] Production.INFO: ==6140== Releasing lock... [2025-03-20 07:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:33:02] Production.INFO: ==6144== Lock acquired, processing the job... [2025-03-20 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:33:02] Production.INFO: ==6144== Releasing lock... [2025-03-20 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:33:02] Production.INFO: ==6142== Lock acquired, processing the job... [2025-03-20 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:33:02] Production.INFO: ==6142== Releasing lock... [2025-03-20 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:33:03] Production.INFO: ==6149== Lock acquired, processing the job... [2025-03-20 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:33:03] Production.INFO: ==6149== Releasing lock... [2025-03-20 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:33:03] Production.INFO: ==6157== Lock acquired, processing the job... [2025-03-20 03:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:33:03] Production.INFO: ==6147== Lock acquired, processing the job... [2025-03-20 03:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03: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-03-20 03:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:33:03] Production.INFO: count ==12 [2025-03-20 03:33:03] Production.INFO: ==6151== Lock acquired, processing the job... [2025-03-20 03:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03: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-03-20 03:33:03] Production.INFO: count ==23 [2025-03-20 03:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720107') start [2025-03-20 03:33:03] Production.INFO: ==6153== Lock acquired, processing the job... [2025-03-20 03:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:33:03] Production.INFO: ==6155== Lock acquired, processing the job... [2025-03-20 03:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720107') end [2025-03-20 03:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:33:04] Production.INFO: 1 [2025-03-20 03:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:33:04] Production.INFO: Account Balance Start. [2025-03-20 03:33:04] Production.INFO: CreateAllLog Start [2025-03-20 03:33:04] Production.INFO: 117 [2025-03-20 03:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:33:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.INFO: ==6157== Releasing lock... [2025-03-20 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.ERROR: done [2025-03-20 03:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.ERROR: done [2025-03-20 03:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:33:04] Production.INFO: Total Charge 0 [2025-03-20 03:33:04] Production.INFO: CreateAllLog End [2025-03-20 03:33:05] Production.INFO: Account Balance End. [2025-03-20 03:33:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:33:05] Production.INFO: ==6153== Releasing lock... [2025-03-20 03:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:33:05 [end_date_ymd] => 2025-03-20 03:33:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:33:05' and `end` < '2025-03-20 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-03-20 03:33:12] Production.ERROR: CronJobId end10 [2025-03-20 03:33:12] Production.INFO: ==6151== Releasing lock... [2025-03-20 03:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:33:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:33:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:33:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:33:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:33:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:33:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:33:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:33:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:33:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:33:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:33:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:33:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:33:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:33:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:33:16] Production.INFO: call_cost start [2025-03-20 03:33:16] Production.INFO: call_cost end [2025-03-20 03:33:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:33:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:33:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:33:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:33:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:33:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:33:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:33:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:33:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:33:17] Production.INFO: ==6147== Releasing lock... [2025-03-20 03:33:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:33:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:33:18] Production.INFO: count ==620 [2025-03-20 03:33:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:33:05 - End Time 2025-03-20 03:33:05 [2025-03-20 03:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720110', 'tblTempUsageDetail_20' ) start [2025-03-20 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720110', 'tblTempUsageDetail_20' ) end [2025-03-20 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720110', 'tblTempVendorCDR_20' ) start [2025-03-20 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720110', 'tblTempVendorCDR_20' ) end [2025-03-20 03:33:18] Production.INFO: ProcessCDR(1,14720110,1,1,2) [2025-03-20 03:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720110', 'tblTempUsageDetail_20' ) start [2025-03-20 03:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720110', 'tblTempUsageDetail_20' ) end [2025-03-20 03:33:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:33:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:33:22] Production.INFO: ==6155== Releasing lock... [2025-03-20 03:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:33:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:34:02] Production.INFO: ==6220== Lock acquired, processing the job... [2025-03-20 07:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:34:02] Production.INFO: neon service started [2025-03-20 07:34:02] Production.INFO: neon service started [2025-03-20 07:34:02] Production.INFO: ==6220== Releasing lock... [2025-03-20 07:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:34:02] Production.INFO: ==6224== Lock acquired, processing the job... [2025-03-20 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:34:02] Production.INFO: ==6224== Releasing lock... [2025-03-20 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:34:02] Production.INFO: ==6222== Lock acquired, processing the job... [2025-03-20 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:34:02] Production.INFO: ==6222== Releasing lock... [2025-03-20 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:34:03] Production.INFO: ==6233== Lock acquired, processing the job... [2025-03-20 03:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:34:03] Production.INFO: ==6235== Lock acquired, processing the job... [2025-03-20 03:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:34:04] Production.INFO: Account Balance Start. [2025-03-20 03:34:04] Production.INFO: CreateAllLog Start [2025-03-20 03:34:04] Production.INFO: ==6227== Lock acquired, processing the job... [2025-03-20 03:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:34:04] Production.INFO: 117 [2025-03-20 03:34:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:34:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:34:04] Production.INFO: ==6229== Lock acquired, processing the job... [2025-03-20 03:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:34:04] Production.INFO: ==6231== Lock acquired, processing the job... [2025-03-20 03:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:34:04] Production.INFO: ==6237== Lock acquired, processing the job... [2025-03-20 03:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:34:04] Production.ERROR: done [2025-03-20 03:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03: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-03-20 03:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:34:04] Production.INFO: count ==12 [2025-03-20 03:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03: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-03-20 03:34:04] Production.INFO: count ==23 [2025-03-20 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720114') start [2025-03-20 03:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:34:04] Production.ERROR: done [2025-03-20 03:34:04] Production.INFO: ==6229== Releasing lock... [2025-03-20 03:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720114') end [2025-03-20 03:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:34:04] Production.INFO: 1 [2025-03-20 03:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:34:04] Production.INFO: ==6237== Releasing lock... [2025-03-20 03:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:34:04] Production.INFO: Total Charge 0 [2025-03-20 03:34:05] Production.INFO: CreateAllLog End [2025-03-20 03:34:05] Production.INFO: Account Balance End. [2025-03-20 03:34:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:34:05] Production.INFO: ==6233== Releasing lock... [2025-03-20 03:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:34:05 [end_date_ymd] => 2025-03-20 03:34:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:34:05' and `end` < '2025-03-20 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-03-20 03:34:12] Production.ERROR: CronJobId end10 [2025-03-20 03:34:12] Production.INFO: ==6231== Releasing lock... [2025-03-20 03:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:34:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:34:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:34:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:34:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:34:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:34:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:34:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:34:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:34:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:34:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:34:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:34:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:34:16] Production.INFO: call_cost start [2025-03-20 03:34:16] Production.INFO: call_cost end [2025-03-20 03:34:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:34:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:34:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:34:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:34:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:34:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:34:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:34:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:34:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:34:17] Production.INFO: ==6227== Releasing lock... [2025-03-20 03:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:34:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:34:18] Production.INFO: count ==620 [2025-03-20 03:34:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:34:05 - End Time 2025-03-20 03:34:05 [2025-03-20 03:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720115', 'tblTempUsageDetail_20' ) start [2025-03-20 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720115', 'tblTempUsageDetail_20' ) end [2025-03-20 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720115', 'tblTempVendorCDR_20' ) start [2025-03-20 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720115', 'tblTempVendorCDR_20' ) end [2025-03-20 03:34:18] Production.INFO: ProcessCDR(1,14720115,1,1,2) [2025-03-20 03:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720115', 'tblTempUsageDetail_20' ) start [2025-03-20 03:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720115', 'tblTempUsageDetail_20' ) end [2025-03-20 03:34:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:34:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:34:22] Production.INFO: ==6235== Releasing lock... [2025-03-20 03:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:34:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:35:01] Production.INFO: ==6296== Lock acquired, processing the job... [2025-03-20 07:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:35:01] Production.INFO: neon service started [2025-03-20 07:35:01] Production.INFO: neon service started [2025-03-20 07:35:01] Production.INFO: ==6296== Releasing lock... [2025-03-20 07:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:35:02] Production.INFO: ==6298== Lock acquired, processing the job... [2025-03-20 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:35:02] Production.INFO: ==6300== Lock acquired, processing the job... [2025-03-20 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:35:02] Production.INFO: ==6300== Releasing lock... [2025-03-20 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:35:02] Production.INFO: ==6298== Releasing lock... [2025-03-20 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:35:03] Production.INFO: ==6303== Lock acquired, processing the job... [2025-03-20 03:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:35:03] Production.INFO: ==6309== Lock acquired, processing the job... [2025-03-20 03:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:35:03] Production.INFO: ==6313== Lock acquired, processing the job... [2025-03-20 03:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:35:03] Production.INFO: ==6305== Lock acquired, processing the job... [2025-03-20 03:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:35:03] Production.INFO: ==6307== Lock acquired, processing the job... [2025-03-20 03:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:35:03] Production.INFO: Account Balance Start. [2025-03-20 03:35:03] Production.INFO: CreateAllLog Start [2025-03-20 03:35:03] Production.INFO: 117 [2025-03-20 03:35:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:03] Production.INFO: count ==12 [2025-03-20 03:35:03] Production.INFO: ==6311== Lock acquired, processing the job... [2025-03-20 03:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:35:03] Production.INFO: count ==23 [2025-03-20 03:35:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720118') start [2025-03-20 03:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:35:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:03] Production.INFO: Date 2025-03-11 [2025-03-20 03:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:03] Production.INFO: Date 2025-03-12 [2025-03-20 03:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720118') end [2025-03-20 03:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:35:04] Production.INFO: 1 [2025-03-20 03:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:04] Production.INFO: ==6313== Releasing lock... [2025-03-20 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:04] Production.INFO: ==6305== Releasing lock... [2025-03-20 03:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:04] Production.ERROR: done [2025-03-20 03:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:35:04] Production.INFO: Total Charge 0 [2025-03-20 03:35:04] Production.INFO: CreateAllLog End [2025-03-20 03:35:04] Production.ERROR: done [2025-03-20 03:35:04] Production.INFO: Account Balance End. [2025-03-20 03:35:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:35:04] Production.INFO: ==6309== Releasing lock... [2025-03-20 03:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:35:05 [end_date_ymd] => 2025-03-20 03:35:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:35:05' and `end` < '2025-03-20 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-03-20 03:35:13] Production.ERROR: CronJobId end10 [2025-03-20 03:35:13] Production.INFO: ==6307== Releasing lock... [2025-03-20 03:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:35:14] Production.INFO: call_cost start [2025-03-20 03:35:14] Production.INFO: call_cost end [2025-03-20 03:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:35:15] Production.INFO: ==6303== Releasing lock... [2025-03-20 03:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:35:17] Production.INFO: count ==620 [2025-03-20 03:35:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:35:05 - End Time 2025-03-20 03:35:05 [2025-03-20 03:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720120', 'tblTempUsageDetail_20' ) start [2025-03-20 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720120', 'tblTempUsageDetail_20' ) end [2025-03-20 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720120', 'tblTempVendorCDR_20' ) start [2025-03-20 03:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720120', 'tblTempVendorCDR_20' ) end [2025-03-20 03:35:17] Production.INFO: ProcessCDR(1,14720120,1,1,2) [2025-03-20 03:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720120', 'tblTempUsageDetail_20' ) start [2025-03-20 03:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720120', 'tblTempUsageDetail_20' ) end [2025-03-20 03:35:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:35:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:35:22] Production.INFO: ==6311== Releasing lock... [2025-03-20 03:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:35:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:36:01] Production.INFO: ==6375== Lock acquired, processing the job... [2025-03-20 07:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:36:01] Production.INFO: neon service started [2025-03-20 07:36:01] Production.INFO: neon service started [2025-03-20 07:36:01] Production.INFO: ==6375== Releasing lock... [2025-03-20 07:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:36:02] Production.INFO: ==6379== Lock acquired, processing the job... [2025-03-20 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:36:02] Production.INFO: ==6379== Releasing lock... [2025-03-20 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:36:02] Production.INFO: ==6377== Lock acquired, processing the job... [2025-03-20 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:36:02] Production.INFO: ==6377== Releasing lock... [2025-03-20 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:36:03] Production.INFO: ==6383== Lock acquired, processing the job... [2025-03-20 03:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:36:03] Production.INFO: ==6381== Lock acquired, processing the job... [2025-03-20 03:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:36:03] Production.INFO: ==6389== Lock acquired, processing the job... [2025-03-20 03:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:36:03] Production.INFO: ==6385== Lock acquired, processing the job... [2025-03-20 03:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:36:04] Production.INFO: ==6387== Lock acquired, processing the job... [2025-03-20 03:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:36:04] Production.INFO: ==6383== Releasing lock... [2025-03-20 03:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:36:04] Production.INFO: ==6391== Lock acquired, processing the job... [2025-03-20 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:36:04] Production.ERROR: done [2025-03-20 03:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:36:04] Production.INFO: Account Balance Start. [2025-03-20 03:36:04] Production.INFO: CreateAllLog Start [2025-03-20 03:36:04] Production.INFO: 117 [2025-03-20 03:36:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: count ==12 [2025-03-20 03:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:36:04] Production.INFO: count ==23 [2025-03-20 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720123') start [2025-03-20 03:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.ERROR: done [2025-03-20 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720123') end [2025-03-20 03:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:36:04] Production.INFO: 1 [2025-03-20 03:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: ==6391== Releasing lock... [2025-03-20 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:36:04] Production.INFO: Total Charge 0 [2025-03-20 03:36:04] Production.INFO: CreateAllLog End [2025-03-20 03:36:05] Production.INFO: Account Balance End. [2025-03-20 03:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:36:05] Production.INFO: ==6387== Releasing lock... [2025-03-20 03:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:36:05 [end_date_ymd] => 2025-03-20 03:36:05 [RateCDR] => 1 ) [2025-03-20 03:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:36:05' and `end` < '2025-03-20 03:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:36:12] Production.ERROR: CronJobId end10 [2025-03-20 03:36:12] Production.INFO: ==6385== Releasing lock... [2025-03-20 03:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:36:16] Production.INFO: call_cost start [2025-03-20 03:36:16] Production.INFO: call_cost end [2025-03-20 03:36:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:36:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:36:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:36:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:36:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:36:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:36:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:36:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:36:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:36:17] Production.INFO: ==6381== Releasing lock... [2025-03-20 03:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:36:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:36:18] Production.INFO: count ==626 [2025-03-20 03:36:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:36:05 - End Time 2025-03-20 03:36:05 [2025-03-20 03:36:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720125', 'tblTempUsageDetail_20' ) start [2025-03-20 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720125', 'tblTempUsageDetail_20' ) end [2025-03-20 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720125', 'tblTempVendorCDR_20' ) start [2025-03-20 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720125', 'tblTempVendorCDR_20' ) end [2025-03-20 03:36:18] Production.INFO: ProcessCDR(1,14720125,1,1,2) [2025-03-20 03:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720125', 'tblTempUsageDetail_20' ) start [2025-03-20 03:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720125', 'tblTempUsageDetail_20' ) end [2025-03-20 03:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:36:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:36:21] Production.INFO: ==6389== Releasing lock... [2025-03-20 03:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:36:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 07:37:01] Production.INFO: ==6459== Lock acquired, processing the job... [2025-03-20 07:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:37:01] Production.INFO: neon service started [2025-03-20 07:37:01] Production.INFO: neon service started [2025-03-20 07:37:01] Production.INFO: ==6459== Releasing lock... [2025-03-20 07:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:37:02] Production.INFO: ==6461== Lock acquired, processing the job... [2025-03-20 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:37:02] Production.INFO: ==6463== Lock acquired, processing the job... [2025-03-20 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:37:02] Production.INFO: ==6463== Releasing lock... [2025-03-20 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:37:02] Production.INFO: ==6461== Releasing lock... [2025-03-20 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:37:03] Production.INFO: ==6470== Lock acquired, processing the job... [2025-03-20 03:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:37:03] Production.INFO: ==6474== Lock acquired, processing the job... [2025-03-20 03:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:37:03] Production.INFO: ==6476== Lock acquired, processing the job... [2025-03-20 03:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:37:03] Production.INFO: ==6466== Lock acquired, processing the job... [2025-03-20 03:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:37:03] Production.INFO: ==6468== Lock acquired, processing the job... [2025-03-20 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:37:03] Production.INFO: ==6472== Lock acquired, processing the job... [2025-03-20 03:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 03:37:03] Production.INFO: count ==12 [2025-03-20 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-03-20 03:37:03] Production.INFO: count ==23 [2025-03-20 03:37:03] Production.INFO: Account Balance Start. [2025-03-20 03:37:03] Production.INFO: CreateAllLog Start [2025-03-20 03:37:03] Production.INFO: 117 [2025-03-20 03:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720127') start [2025-03-20 03:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.ERROR: done [2025-03-20 03:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720127') end [2025-03-20 03:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:37:04] Production.INFO: 1 [2025-03-20 03:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:37:04] Production.INFO: ==6476== Releasing lock... [2025-03-20 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:37:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.INFO: ==6468== Releasing lock... [2025-03-20 03:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:37:04] Production.ERROR: done [2025-03-20 03:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:37:04] Production.INFO: Total Charge 0 [2025-03-20 03:37:04] Production.INFO: CreateAllLog End [2025-03-20 03:37:05] Production.INFO: Account Balance End. [2025-03-20 03:37:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:37:05] Production.INFO: ==6472== Releasing lock... [2025-03-20 03:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:37:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:37:05 [end_date_ymd] => 2025-03-20 03:37:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:37:05' and `end` < '2025-03-20 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-03-20 03:37:12] Production.ERROR: CronJobId end10 [2025-03-20 03:37:12] Production.INFO: ==6470== Releasing lock... [2025-03-20 03:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:37:15] Production.INFO: call_cost start [2025-03-20 03:37:15] Production.INFO: call_cost end [2025-03-20 03:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:37:16] Production.INFO: ==6466== Releasing lock... [2025-03-20 03:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:37:17] Production.INFO: count ==623 [2025-03-20 03:37:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:37:05 - End Time 2025-03-20 03:37:05 [2025-03-20 03:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720130', 'tblTempUsageDetail_20' ) start [2025-03-20 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720130', 'tblTempUsageDetail_20' ) end [2025-03-20 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720130', 'tblTempVendorCDR_20' ) start [2025-03-20 03:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720130', 'tblTempVendorCDR_20' ) end [2025-03-20 03:37:17] Production.INFO: ProcessCDR(1,14720130,1,1,2) [2025-03-20 03:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720130', 'tblTempUsageDetail_20' ) start [2025-03-20 03:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720130', 'tblTempUsageDetail_20' ) end [2025-03-20 03:37:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:37:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:37:23] Production.INFO: ==6474== Releasing lock... [2025-03-20 03:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:37:23] Production.INFO: 33.5 MB #Memory Used# [2025-03-20 07:38:02] Production.INFO: ==6533== Lock acquired, processing the job... [2025-03-20 07:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:38:02] Production.INFO: neon service started [2025-03-20 07:38:02] Production.INFO: neon service started [2025-03-20 07:38:02] Production.INFO: ==6533== Releasing lock... [2025-03-20 07:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:38:02] Production.INFO: ==6537== Lock acquired, processing the job... [2025-03-20 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:38:02] Production.INFO: ==6537== Releasing lock... [2025-03-20 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:38:02] Production.INFO: ==6535== Lock acquired, processing the job... [2025-03-20 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:38:03] Production.INFO: ==6535== Releasing lock... [2025-03-20 03:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:38:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:38:04] Production.INFO: ==6540== Lock acquired, processing the job... [2025-03-20 03:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:38:04] Production.INFO: ==6546== Lock acquired, processing the job... [2025-03-20 03:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:38:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:38:04] Production.INFO: Account Balance Start. [2025-03-20 03:38:04] Production.INFO: CreateAllLog Start [2025-03-20 03:38:04] Production.INFO: 117 [2025-03-20 03:38:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:38:04] Production.INFO: ==6542== Lock acquired, processing the job... [2025-03-20 03:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:38:04] Production.INFO: ==6544== Lock acquired, processing the job... [2025-03-20 03:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:38:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:04] Production.INFO: ==6548== Lock acquired, processing the job... [2025-03-20 03:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:38:04] Production.INFO: ==6550== Lock acquired, processing the job... [2025-03-20 03:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 03:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:04] Production.INFO: count ==12 [2025-03-20 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-03-20 03:38:04] Production.INFO: count ==23 [2025-03-20 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720134') start [2025-03-20 03:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:04] Production.INFO: ==6542== Releasing lock... [2025-03-20 03:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720134') end [2025-03-20 03:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:38:04] Production.INFO: 1 [2025-03-20 03:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:04] Production.INFO: ==6550== Releasing lock... [2025-03-20 03:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:38:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:38:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:05] Production.ERROR: done [2025-03-20 03:38:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:38:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:38:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:38:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:38:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:38:05] Production.INFO: Total Charge 0 [2025-03-20 03:38:05] Production.INFO: CreateAllLog End [2025-03-20 03:38:05] Production.ERROR: done [2025-03-20 03:38:05] Production.INFO: Account Balance End. [2025-03-20 03:38:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:38:05] Production.INFO: ==6546== Releasing lock... [2025-03-20 03:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:38:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:38:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:38:06 [end_date_ymd] => 2025-03-20 03:38:06 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:38:06' and `end` < '2025-03-20 03: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-03-20 03:38:13] Production.ERROR: CronJobId end10 [2025-03-20 03:38:13] Production.INFO: ==6544== Releasing lock... [2025-03-20 03:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:38:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:38:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:38:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:38:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:38:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:38:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:38:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:38:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:38:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:38:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:38:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:38:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:38:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:38:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:38:16] Production.INFO: call_cost start [2025-03-20 03:38:16] Production.INFO: call_cost end [2025-03-20 03:38:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:38:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:38:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:38:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:38:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:38:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:38:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:38:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:38:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:38:17] Production.INFO: ==6540== Releasing lock... [2025-03-20 03:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:38:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:38:18] Production.INFO: count ==618 [2025-03-20 03:38:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:38:06 - End Time 2025-03-20 03:38:06 [2025-03-20 03:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720135', 'tblTempUsageDetail_20' ) start [2025-03-20 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720135', 'tblTempUsageDetail_20' ) end [2025-03-20 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720135', 'tblTempVendorCDR_20' ) start [2025-03-20 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720135', 'tblTempVendorCDR_20' ) end [2025-03-20 03:38:18] Production.INFO: ProcessCDR(1,14720135,1,1,2) [2025-03-20 03:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720135', 'tblTempUsageDetail_20' ) start [2025-03-20 03:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720135', 'tblTempUsageDetail_20' ) end [2025-03-20 03:38:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:38:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:38:22] Production.INFO: ==6548== Releasing lock... [2025-03-20 03:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:38:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:39:01] Production.INFO: ==6617== Lock acquired, processing the job... [2025-03-20 07:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:39:01] Production.INFO: neon service started [2025-03-20 07:39:01] Production.INFO: neon service started [2025-03-20 07:39:01] Production.INFO: ==6617== Releasing lock... [2025-03-20 07:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:39:02] Production.INFO: ==6619== Lock acquired, processing the job... [2025-03-20 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:39:02] Production.INFO: ==6619== Releasing lock... [2025-03-20 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:39:02] Production.INFO: ==6621== Lock acquired, processing the job... [2025-03-20 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:39:02] Production.INFO: ==6621== Releasing lock... [2025-03-20 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:39:03] Production.INFO: ==6630== Lock acquired, processing the job... [2025-03-20 03:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:39:03] Production.INFO: ==6632== Lock acquired, processing the job... [2025-03-20 03:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:39:03] Production.INFO: ==6624== Lock acquired, processing the job... [2025-03-20 03:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:39:03] Production.INFO: Account Balance Start. [2025-03-20 03:39:03] Production.INFO: CreateAllLog Start [2025-03-20 03:39:03] Production.INFO: 117 [2025-03-20 03:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:03] Production.INFO: ==6626== Lock acquired, processing the job... [2025-03-20 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:39:03] Production.INFO: ==6634== Lock acquired, processing the job... [2025-03-20 03:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:39:03] Production.INFO: ==6628== Lock acquired, processing the job... [2025-03-20 03:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:39:03] Production.INFO: Date 2025-03-11 [2025-03-20 03:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:39:03] Production.INFO: Date 2025-03-12 [2025-03-20 03:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:04] Production.ERROR: done [2025-03-20 03:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:04] Production.INFO: count ==12 [2025-03-20 03:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:39:04] Production.INFO: count ==23 [2025-03-20 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720139') start [2025-03-20 03:39:04] Production.ERROR: done [2025-03-20 03:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720139') end [2025-03-20 03:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:39:04] Production.INFO: 1 [2025-03-20 03:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:39:04] Production.INFO: ==6626== Releasing lock... [2025-03-20 03:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:04] Production.INFO: ==6634== Releasing lock... [2025-03-20 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:39:04] Production.INFO: Total Charge 0 [2025-03-20 03:39:04] Production.INFO: CreateAllLog End [2025-03-20 03:39:04] Production.INFO: Account Balance End. [2025-03-20 03:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:39:04] Production.INFO: ==6630== Releasing lock... [2025-03-20 03:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:39:05 [end_date_ymd] => 2025-03-20 03:39:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:39:05' and `end` < '2025-03-20 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-03-20 03:39:14] Production.ERROR: CronJobId end10 [2025-03-20 03:39:14] Production.INFO: ==6628== Releasing lock... [2025-03-20 03:39:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:39:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:39:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:39:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:39:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:39:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:39:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:39:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:39:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:39:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:39:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:39:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:39:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:39:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:39:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:39:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:39:16] Production.INFO: call_cost start [2025-03-20 03:39:16] Production.INFO: call_cost end [2025-03-20 03:39:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:39:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:39:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:39:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:39:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:39:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:39:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:39:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:39:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:39:17] Production.INFO: ==6624== Releasing lock... [2025-03-20 03:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:39:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:39:17] Production.INFO: count ==612 [2025-03-20 03:39:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:39:05 - End Time 2025-03-20 03:39:05 [2025-03-20 03:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720140', 'tblTempUsageDetail_20' ) start [2025-03-20 03:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720140', 'tblTempUsageDetail_20' ) end [2025-03-20 03:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720140', 'tblTempVendorCDR_20' ) start [2025-03-20 03:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720140', 'tblTempVendorCDR_20' ) end [2025-03-20 03:39:17] Production.INFO: ProcessCDR(1,14720140,1,1,2) [2025-03-20 03:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720140', 'tblTempUsageDetail_20' ) start [2025-03-20 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720140', 'tblTempUsageDetail_20' ) end [2025-03-20 03:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:39:21] Production.INFO: ==6632== Releasing lock... [2025-03-20 03:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:39:21] Production.INFO: 33.5 MB #Memory Used# [2025-03-20 07:40:02] Production.INFO: ==6694== Lock acquired, processing the job... [2025-03-20 07:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:40:02] Production.INFO: neon service started [2025-03-20 07:40:02] Production.INFO: neon service started [2025-03-20 07:40:02] Production.INFO: ==6694== Releasing lock... [2025-03-20 07:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:40:02] Production.INFO: ==6696== Lock acquired, processing the job... [2025-03-20 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:40:02] Production.INFO: ==6698== Lock acquired, processing the job... [2025-03-20 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:40:02] Production.INFO: ==6698== Releasing lock... [2025-03-20 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:40:03] Production.INFO: ==6696== Releasing lock... [2025-03-20 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:40:04] Production.INFO: ==6703== Lock acquired, processing the job... [2025-03-20 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 03:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 03:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 03:40:04] Production.INFO: ==6703== Releasing lock... [2025-03-20 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 03:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 03:40:04] Production.INFO: ==6713== Lock acquired, processing the job... [2025-03-20 03:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:40:04] Production.INFO: ==6715== Lock acquired, processing the job... [2025-03-20 03:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 03:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:40:04] Production.INFO: ==6705== Lock acquired, processing the job... [2025-03-20 03:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:40:04] Production.INFO: ==6707== Lock acquired, processing the job... [2025-03-20 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:40:04] Production.INFO: ==6709== Lock acquired, processing the job... [2025-03-20 03:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:40:04] Production.INFO: ==6711== Lock acquired, processing the job... [2025-03-20 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:40:04] Production.INFO: ==6717== Lock acquired, processing the job... [2025-03-20 03:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:40:04] Production.INFO: Account Balance Start. [2025-03-20 03:40:04] Production.INFO: CreateAllLog Start [2025-03-20 03:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:40:04] Production.INFO: 117 [2025-03-20 03:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.INFO: count ==12 [2025-03-20 03:40:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:40:05] Production.INFO: Date 2025-03-09 [2025-03-20 03:40:05] Production.INFO: count ==23 [2025-03-20 03:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720144') start [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.ERROR: done [2025-03-20 03:40:05] Production.INFO: Date 2025-03-10 [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720144') end [2025-03-20 03:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:40:05] Production.INFO: 1 [2025-03-20 03:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:40:05] Production.ERROR: done [2025-03-20 03:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 03:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720145', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 03:40:05] Production.INFO: ==6717== Releasing lock... [2025-03-20 03:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:40:05] Production.INFO: Date 2025-03-11 [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.INFO: Date 2025-03-12 [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.INFO: ==6707== Releasing lock... [2025-03-20 03:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:40:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:40:05] Production.INFO: Date 2025-03-13 [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.INFO: Date 2025-03-14 [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.INFO: Date 2025-03-15 [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.INFO: Date 2025-03-16 [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.ERROR: done [2025-03-20 03:40:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:40:05] Production.INFO: Total Charge 0 [2025-03-20 03:40:05] Production.INFO: CreateAllLog End [2025-03-20 03:40:05] Production.INFO: Account Balance End. [2025-03-20 03:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:40:05] Production.INFO: ==6711== Releasing lock... [2025-03-20 03:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:40:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:40:07 [end_date_ymd] => 2025-03-20 03:40:07 [RateCDR] => 1 ) [2025-03-20 03:40:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:40:07' and `end` < '2025-03-20 03:40:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720145', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 03:40:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 03:40:10] Production.INFO: ProcessCDR(1,14720145,1,1,2) [2025-03-20 03:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720145,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720145,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:40:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:40:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:40:10] Production.INFO: ==6715== Releasing lock... [2025-03-20 03:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 03:40:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 03:40:15] Production.ERROR: CronJobId end10 [2025-03-20 03:40:15] Production.INFO: ==6709== Releasing lock... [2025-03-20 03:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:40:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:40:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:40:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:40:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:40:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:40:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:40:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:40:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:40:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:40:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:40:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:40:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:40:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:40:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:40:18] Production.INFO: call_cost start [2025-03-20 03:40:18] Production.INFO: call_cost end [2025-03-20 03:40:19] Production.INFO: count ==598 [2025-03-20 03:40:19] Production.ERROR: pbx CDR StartTime 2025-03-20 00:40:07 - End Time 2025-03-20 03:40:07 [2025-03-20 03:40:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720146', 'tblTempUsageDetail_20' ) start [2025-03-20 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720146', 'tblTempUsageDetail_20' ) end [2025-03-20 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720146', 'tblTempVendorCDR_20' ) start [2025-03-20 03:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720146', 'tblTempVendorCDR_20' ) end [2025-03-20 03:40:19] Production.INFO: ProcessCDR(1,14720146,1,1,2) [2025-03-20 03:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:40:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:40:20] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:40:20] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:40:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:40:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:40:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:40:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:40:20] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:40:20] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:40:20] Production.INFO: ==6705== Releasing lock... [2025-03-20 03:40:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:40:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720146', 'tblTempUsageDetail_20' ) start [2025-03-20 03:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720146', 'tblTempUsageDetail_20' ) end [2025-03-20 03:40:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:40:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:40:23] Production.INFO: ==6713== Releasing lock... [2025-03-20 03:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:40:23] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:41:01] Production.INFO: ==6776== Lock acquired, processing the job... [2025-03-20 07:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:41:01] Production.INFO: neon service started [2025-03-20 07:41:01] Production.INFO: neon service started [2025-03-20 07:41:01] Production.INFO: ==6776== Releasing lock... [2025-03-20 07:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:41:01] Production.INFO: ==6778== Lock acquired, processing the job... [2025-03-20 03:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:41:02] Production.INFO: ==6778== Releasing lock... [2025-03-20 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:41:02] Production.INFO: ==6780== Lock acquired, processing the job... [2025-03-20 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:41:02] Production.INFO: ==6780== Releasing lock... [2025-03-20 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:41:03] Production.INFO: ==6783== Lock acquired, processing the job... [2025-03-20 03:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:41:03] Production.INFO: ==6787== Lock acquired, processing the job... [2025-03-20 03:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:41:03] Production.INFO: ==6785== Lock acquired, processing the job... [2025-03-20 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:41:03] Production.INFO: ==6791== Lock acquired, processing the job... [2025-03-20 03:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:41:03] Production.INFO: ==6789== Lock acquired, processing the job... [2025-03-20 03:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:41:03] Production.INFO: ==6793== Lock acquired, processing the job... [2025-03-20 03:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:41:03] Production.INFO: ==6785== Releasing lock... [2025-03-20 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:41:03] Production.INFO: Account Balance Start. [2025-03-20 03:41:03] Production.INFO: CreateAllLog Start [2025-03-20 03:41:03] Production.INFO: 117 [2025-03-20 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-03-20 03:41:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:03] Production.INFO: count ==12 [2025-03-20 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-03-20 03:41:03] Production.INFO: count ==23 [2025-03-20 03:41:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720150') start [2025-03-20 03:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:04] Production.ERROR: done [2025-03-20 03:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720150') end [2025-03-20 03:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:41:04] Production.INFO: 1 [2025-03-20 03:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:04] Production.INFO: ==6793== Releasing lock... [2025-03-20 03:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:41:04] Production.ERROR: done [2025-03-20 03:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:41:04] Production.INFO: Total Charge 0 [2025-03-20 03:41:04] Production.INFO: CreateAllLog End [2025-03-20 03:41:04] Production.INFO: Account Balance End. [2025-03-20 03:41:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:41:04] Production.INFO: ==6789== Releasing lock... [2025-03-20 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:41:05 [end_date_ymd] => 2025-03-20 03:41:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:41:05' and `end` < '2025-03-20 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-03-20 03:41:13] Production.ERROR: CronJobId end10 [2025-03-20 03:41:13] Production.INFO: ==6787== Releasing lock... [2025-03-20 03:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:41:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:41:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:41:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:41:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:41:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:41:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:41:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:41:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:41:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:41:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:41:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:41:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:41:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:41:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:41:16] Production.INFO: call_cost start [2025-03-20 03:41:16] Production.INFO: call_cost end [2025-03-20 03:41:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:41:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:41:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:41:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:41:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:41:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:41:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:41:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:41:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:41:17] Production.INFO: ==6783== Releasing lock... [2025-03-20 03:41:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:41:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:41:17] Production.INFO: count ==594 [2025-03-20 03:41:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:41:05 - End Time 2025-03-20 03:41:05 [2025-03-20 03:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720151', 'tblTempUsageDetail_20' ) start [2025-03-20 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720151', 'tblTempUsageDetail_20' ) end [2025-03-20 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720151', 'tblTempVendorCDR_20' ) start [2025-03-20 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720151', 'tblTempVendorCDR_20' ) end [2025-03-20 03:41:17] Production.INFO: ProcessCDR(1,14720151,1,1,2) [2025-03-20 03:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720151', 'tblTempUsageDetail_20' ) start [2025-03-20 03:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720151', 'tblTempUsageDetail_20' ) end [2025-03-20 03:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:41:21] Production.INFO: ==6791== Releasing lock... [2025-03-20 03:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:41:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 07:42:02] Production.INFO: ==6857== Lock acquired, processing the job... [2025-03-20 07:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:42:02] Production.INFO: neon service started [2025-03-20 07:42:02] Production.INFO: neon service started [2025-03-20 07:42:02] Production.INFO: ==6857== Releasing lock... [2025-03-20 07:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:42:02] Production.INFO: ==6859== Lock acquired, processing the job... [2025-03-20 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:42:02] Production.INFO: ==6859== Releasing lock... [2025-03-20 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:42:03] Production.INFO: ==6861== Lock acquired, processing the job... [2025-03-20 07:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:42:03] Production.INFO: ==6861== Releasing lock... [2025-03-20 07:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:42:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:42:04] Production.INFO: ==6868== Lock acquired, processing the job... [2025-03-20 03:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:42:04] Production.INFO: ==6863== Lock acquired, processing the job... [2025-03-20 03:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:42:04] Production.INFO: ==6870== Lock acquired, processing the job... [2025-03-20 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:42:04] Production.INFO: Account Balance Start. [2025-03-20 03:42:04] Production.INFO: CreateAllLog Start [2025-03-20 03:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:42:04] Production.INFO: 117 [2025-03-20 03:42:04] Production.INFO: ==6865== Lock acquired, processing the job... [2025-03-20 03:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:42:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: ==6872== Lock acquired, processing the job... [2025-03-20 03:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:42:04] Production.INFO: ==6874== Lock acquired, processing the job... [2025-03-20 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: count ==12 [2025-03-20 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-03-20 03:42:04] Production.INFO: count ==23 [2025-03-20 03:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720155') start [2025-03-20 03:42:04] Production.INFO: ==6865== Releasing lock... [2025-03-20 03:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:42:04] Production.INFO: Total Charge 0 [2025-03-20 03:42:04] Production.INFO: CreateAllLog End [2025-03-20 03:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720155') end [2025-03-20 03:42:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:42:05] Production.INFO: 1 [2025-03-20 03:42:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:42:05] Production.ERROR: done [2025-03-20 03:42:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:42:05] Production.INFO: ==6874== Releasing lock... [2025-03-20 03:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:42:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:42:05] Production.ERROR: done [2025-03-20 03:42:05] Production.INFO: Account Balance End. [2025-03-20 03:42:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:42:05] Production.INFO: ==6870== Releasing lock... [2025-03-20 03:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:42:06 [end_date_ymd] => 2025-03-20 03:42:06 [RateCDR] => 1 ) [2025-03-20 03:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:42:06' and `end` < '2025-03-20 03:42:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:42:13] Production.ERROR: CronJobId end10 [2025-03-20 03:42:13] Production.INFO: ==6868== Releasing lock... [2025-03-20 03:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:42:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:42:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:42:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:42:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:42:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:42:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:42:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:42:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:42:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:42:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:42:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:42:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:42:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:42:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:42:16] Production.INFO: call_cost start [2025-03-20 03:42:16] Production.INFO: call_cost end [2025-03-20 03:42:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:42:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:42:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:42:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:42:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:42:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:42:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:42:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:42:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:42:17] Production.INFO: ==6863== Releasing lock... [2025-03-20 03:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:42:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:42:18] Production.INFO: count ==592 [2025-03-20 03:42:19] Production.ERROR: pbx CDR StartTime 2025-03-20 00:42:06 - End Time 2025-03-20 03:42:06 [2025-03-20 03:42:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720156', 'tblTempUsageDetail_20' ) start [2025-03-20 03:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720156', 'tblTempUsageDetail_20' ) end [2025-03-20 03:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720156', 'tblTempVendorCDR_20' ) start [2025-03-20 03:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720156', 'tblTempVendorCDR_20' ) end [2025-03-20 03:42:19] Production.INFO: ProcessCDR(1,14720156,1,1,2) [2025-03-20 03:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720156', 'tblTempUsageDetail_20' ) start [2025-03-20 03:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720156', 'tblTempUsageDetail_20' ) end [2025-03-20 03:42:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:42:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:42:24] Production.INFO: ==6872== Releasing lock... [2025-03-20 03:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:42:24] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:43:01] Production.INFO: ==6937== Lock acquired, processing the job... [2025-03-20 07:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:43:01] Production.INFO: neon service started [2025-03-20 07:43:01] Production.INFO: neon service started [2025-03-20 07:43:01] Production.INFO: ==6937== Releasing lock... [2025-03-20 07:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:43:02] Production.INFO: ==6939== Lock acquired, processing the job... [2025-03-20 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:43:02] Production.INFO: ==6941== Lock acquired, processing the job... [2025-03-20 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:43:02] Production.INFO: ==6941== Releasing lock... [2025-03-20 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:43:02] Production.INFO: ==6939== Releasing lock... [2025-03-20 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:43:03] Production.INFO: ==6946== Lock acquired, processing the job... [2025-03-20 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:43:03] Production.INFO: ==6948== Lock acquired, processing the job... [2025-03-20 03:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:43:03] Production.INFO: ==6952== Lock acquired, processing the job... [2025-03-20 03:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:43:04] Production.INFO: ==6944== Lock acquired, processing the job... [2025-03-20 03:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:43:04] Production.INFO: ==6954== Lock acquired, processing the job... [2025-03-20 03:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:43:04] Production.INFO: ==6950== Lock acquired, processing the job... [2025-03-20 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:43:04] Production.INFO: count ==12 [2025-03-20 03:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:43:04] Production.INFO: ==6946== Releasing lock... [2025-03-20 03:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:43:04] Production.ERROR: done [2025-03-20 03:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:43:04] Production.INFO: count ==23 [2025-03-20 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720158') start [2025-03-20 03:43:04] Production.INFO: Account Balance Start. [2025-03-20 03:43:04] Production.INFO: CreateAllLog Start [2025-03-20 03:43:04] Production.INFO: 117 [2025-03-20 03:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.ERROR: done [2025-03-20 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720158') end [2025-03-20 03:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:43:04] Production.INFO: 1 [2025-03-20 03:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: ==6954== Releasing lock... [2025-03-20 03:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:43:04] Production.INFO: Total Charge 0 [2025-03-20 03:43:05] Production.INFO: CreateAllLog End [2025-03-20 03:43:05] Production.INFO: Account Balance End. [2025-03-20 03:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:43:05] Production.INFO: ==6950== Releasing lock... [2025-03-20 03:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:43:05 [end_date_ymd] => 2025-03-20 03:43:05 [RateCDR] => 1 ) [2025-03-20 03:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:43:05' and `end` < '2025-03-20 03:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:43:13] Production.ERROR: CronJobId end10 [2025-03-20 03:43:13] Production.INFO: ==6948== Releasing lock... [2025-03-20 03:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:43:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:43:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:43:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:43:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:43:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:43:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:43:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:43:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:43:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:43:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:43:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:43:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:43:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:43:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:43:17] Production.INFO: call_cost start [2025-03-20 03:43:17] Production.INFO: call_cost end [2025-03-20 03:43:18] Production.INFO: count ==592 [2025-03-20 03:43:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:43:05 - End Time 2025-03-20 03:43:05 [2025-03-20 03:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720161', 'tblTempUsageDetail_20' ) start [2025-03-20 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720161', 'tblTempUsageDetail_20' ) end [2025-03-20 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720161', 'tblTempVendorCDR_20' ) start [2025-03-20 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720161', 'tblTempVendorCDR_20' ) end [2025-03-20 03:43:18] Production.INFO: ProcessCDR(1,14720161,1,1,2) [2025-03-20 03:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:43:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:43:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:43:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:43:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:43:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:43:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:43:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:43:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:43:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:43:18] Production.INFO: ==6944== Releasing lock... [2025-03-20 03:43:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:43:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720161', 'tblTempUsageDetail_20' ) start [2025-03-20 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720161', 'tblTempUsageDetail_20' ) end [2025-03-20 03:43:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:43:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:43:22] Production.INFO: ==6952== Releasing lock... [2025-03-20 03:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:43:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:44:02] Production.INFO: ==7014== Lock acquired, processing the job... [2025-03-20 07:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:44:02] Production.INFO: neon service started [2025-03-20 07:44:02] Production.INFO: neon service started [2025-03-20 07:44:02] Production.INFO: ==7014== Releasing lock... [2025-03-20 07:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:44:02] Production.INFO: ==7016== Lock acquired, processing the job... [2025-03-20 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:44:03] Production.INFO: ==7016== Releasing lock... [2025-03-20 03:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:44:03] Production.INFO: ==7018== Lock acquired, processing the job... [2025-03-20 07:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:44:03] Production.INFO: ==7018== Releasing lock... [2025-03-20 07:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:44:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:44:04] Production.INFO: ==7026== Lock acquired, processing the job... [2025-03-20 03:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:44:04] Production.INFO: ==7030== Lock acquired, processing the job... [2025-03-20 03:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:44:04] Production.INFO: Account Balance Start. [2025-03-20 03:44:04] Production.INFO: CreateAllLog Start [2025-03-20 03:44:04] Production.INFO: ==7020== Lock acquired, processing the job... [2025-03-20 03:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:44:04] Production.INFO: 117 [2025-03-20 03:44:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03: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-03-20 03:44:04] Production.INFO: ==7022== Lock acquired, processing the job... [2025-03-20 03:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:44:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.INFO: count ==12 [2025-03-20 03:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:44:04] Production.INFO: count ==23 [2025-03-20 03:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:44:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.INFO: ==7024== Lock acquired, processing the job... [2025-03-20 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720163') start [2025-03-20 03:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.INFO: ==7028== Lock acquired, processing the job... [2025-03-20 03:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720163') end [2025-03-20 03:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:44:04] Production.INFO: 1 [2025-03-20 03:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.INFO: ==7030== Releasing lock... [2025-03-20 03:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:44:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:44:04] Production.INFO: Total Charge 0 [2025-03-20 03:44:04] Production.INFO: CreateAllLog End [2025-03-20 03:44:04] Production.INFO: ==7022== Releasing lock... [2025-03-20 03:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:44:04] Production.ERROR: done [2025-03-20 03:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:44:05] Production.ERROR: done [2025-03-20 03:44:05] Production.INFO: Account Balance End. [2025-03-20 03:44:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:44:05] Production.INFO: ==7026== Releasing lock... [2025-03-20 03:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:44:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:44:06 [end_date_ymd] => 2025-03-20 03:44:06 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:44:06' and `end` < '2025-03-20 03: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-03-20 03:44:13] Production.ERROR: CronJobId end10 [2025-03-20 03:44:13] Production.INFO: ==7024== Releasing lock... [2025-03-20 03:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:44:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:44:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:44:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:44:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:44:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:44:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:44:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:44:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:44:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:44:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:44:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:44:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:44:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:44:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:44:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:44:16] Production.INFO: call_cost start [2025-03-20 03:44:16] Production.INFO: call_cost end [2025-03-20 03:44:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:44:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:44:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:44:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:44:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:44:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:44:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:44:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:44:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:44:17] Production.INFO: ==7020== Releasing lock... [2025-03-20 03:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:44:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:44:18] Production.INFO: count ==591 [2025-03-20 03:44:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:44:06 - End Time 2025-03-20 03:44:06 [2025-03-20 03:44:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720166', 'tblTempUsageDetail_20' ) start [2025-03-20 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720166', 'tblTempUsageDetail_20' ) end [2025-03-20 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720166', 'tblTempVendorCDR_20' ) start [2025-03-20 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720166', 'tblTempVendorCDR_20' ) end [2025-03-20 03:44:18] Production.INFO: ProcessCDR(1,14720166,1,1,2) [2025-03-20 03:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720166', 'tblTempUsageDetail_20' ) start [2025-03-20 03:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720166', 'tblTempUsageDetail_20' ) end [2025-03-20 03:44:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:44:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:44:22] Production.INFO: ==7028== Releasing lock... [2025-03-20 03:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:44:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:45:01] Production.INFO: ==7095== Lock acquired, processing the job... [2025-03-20 07:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:45:01] Production.INFO: neon service started [2025-03-20 07:45:01] Production.INFO: neon service started [2025-03-20 07:45:01] Production.INFO: ==7095== Releasing lock... [2025-03-20 07:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:45:02] Production.INFO: ==7099== Lock acquired, processing the job... [2025-03-20 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:45:02] Production.INFO: ==7097== Lock acquired, processing the job... [2025-03-20 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:45:02] Production.INFO: ==7099== Releasing lock... [2025-03-20 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:45:02] Production.INFO: ==7097== Releasing lock... [2025-03-20 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:45:03] Production.INFO: ==7108== Lock acquired, processing the job... [2025-03-20 03:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:45:03] Production.INFO: ==7112== Lock acquired, processing the job... [2025-03-20 03:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:45:03] Production.INFO: ==7102== Lock acquired, processing the job... [2025-03-20 03:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:45:03] Production.INFO: count ==12 [2025-03-20 03:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:45:03] Production.INFO: count ==23 [2025-03-20 03:45:03] Production.INFO: Account Balance Start. [2025-03-20 03:45:03] Production.INFO: CreateAllLog Start [2025-03-20 03:45:03] Production.INFO: 117 [2025-03-20 03:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720167') start [2025-03-20 03:45:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:45:03] Production.INFO: ==7104== Lock acquired, processing the job... [2025-03-20 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:03] Production.INFO: ==7106== Lock acquired, processing the job... [2025-03-20 03:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:45:03] Production.INFO: ==7110== Lock acquired, processing the job... [2025-03-20 03:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:45:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720167') end [2025-03-20 03:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:45:03] Production.INFO: 1 [2025-03-20 03:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:45:04] Production.INFO: ==7112== Releasing lock... [2025-03-20 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:04] Production.INFO: ==7104== Releasing lock... [2025-03-20 03:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:45:04] Production.ERROR: done [2025-03-20 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:45:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:45:04] Production.ERROR: done [2025-03-20 03:45:05] Production.INFO: Total Charge 0 [2025-03-20 03:45:05] Production.INFO: CreateAllLog End [2025-03-20 03:45:05] Production.INFO: Account Balance End. [2025-03-20 03:45:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:45:05] Production.INFO: ==7108== Releasing lock... [2025-03-20 03:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:45:05 [end_date_ymd] => 2025-03-20 03:45:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:45:05' and `end` < '2025-03-20 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-03-20 03:45:12] Production.ERROR: CronJobId end10 [2025-03-20 03:45:12] Production.INFO: ==7106== Releasing lock... [2025-03-20 03:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:45:15] Production.INFO: call_cost start [2025-03-20 03:45:15] Production.INFO: call_cost end [2025-03-20 03:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:45:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:45:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:45:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:45:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:45:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:45:16] Production.INFO: ==7102== Releasing lock... [2025-03-20 03:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:45:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:45:17] Production.INFO: count ==595 [2025-03-20 03:45:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:45:05 - End Time 2025-03-20 03:45:05 [2025-03-20 03:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720171', 'tblTempUsageDetail_20' ) start [2025-03-20 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720171', 'tblTempUsageDetail_20' ) end [2025-03-20 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720171', 'tblTempVendorCDR_20' ) start [2025-03-20 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720171', 'tblTempVendorCDR_20' ) end [2025-03-20 03:45:18] Production.INFO: ProcessCDR(1,14720171,1,1,2) [2025-03-20 03:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720171', 'tblTempUsageDetail_20' ) start [2025-03-20 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720171', 'tblTempUsageDetail_20' ) end [2025-03-20 03:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:45:21] Production.INFO: ==7110== Releasing lock... [2025-03-20 03:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:45:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 07:46:02] Production.INFO: ==7208== Lock acquired, processing the job... [2025-03-20 07:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:46:02] Production.INFO: neon service started [2025-03-20 07:46:02] Production.INFO: neon service started [2025-03-20 07:46:02] Production.INFO: ==7208== Releasing lock... [2025-03-20 07:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:46:02] Production.INFO: ==7213== Lock acquired, processing the job... [2025-03-20 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:46:02] Production.INFO: ==7213== Releasing lock... [2025-03-20 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:46:03] Production.INFO: ==7215== Lock acquired, processing the job... [2025-03-20 07:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:46:03] Production.INFO: ==7215== Releasing lock... [2025-03-20 07:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:46:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:46:03] Production.INFO: ==7217== Lock acquired, processing the job... [2025-03-20 03:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:46:03] Production.INFO: ==7219== Lock acquired, processing the job... [2025-03-20 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:46:04] Production.INFO: ==7221== Lock acquired, processing the job... [2025-03-20 03:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:46:04] Production.INFO: ==7223== Lock acquired, processing the job... [2025-03-20 03:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:46:04] Production.INFO: ==7227== Lock acquired, processing the job... [2025-03-20 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:46:04] Production.INFO: ==7225== Lock acquired, processing the job... [2025-03-20 03:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 03:46:04] Production.INFO: Account Balance Start. [2025-03-20 03:46:04] Production.INFO: CreateAllLog Start [2025-03-20 03:46:04] Production.INFO: 117 [2025-03-20 03:46:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:46:04] Production.INFO: count ==12 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 03:46:04] Production.INFO: count ==23 [2025-03-20 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720175') start [2025-03-20 03:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.INFO: ==7219== Releasing lock... [2025-03-20 03:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720175') end [2025-03-20 03:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:46:04] Production.INFO: 1 [2025-03-20 03:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:46:04] Production.INFO: ==7227== Releasing lock... [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:46:04] Production.ERROR: done [2025-03-20 03:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.ERROR: done [2025-03-20 03:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:46:04] Production.INFO: Total Charge 0 [2025-03-20 03:46:04] Production.INFO: CreateAllLog End [2025-03-20 03:46:05] Production.INFO: Account Balance End. [2025-03-20 03:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:46:05] Production.INFO: ==7223== Releasing lock... [2025-03-20 03:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:46:05 [end_date_ymd] => 2025-03-20 03:46:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:46:05' and `end` < '2025-03-20 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-03-20 03:46:15] Production.ERROR: CronJobId end10 [2025-03-20 03:46:15] Production.INFO: ==7221== Releasing lock... [2025-03-20 03:46:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:46:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:46:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:46:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:46:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:46:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:46:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:46:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:46:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:46:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:46:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:46:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:46:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:46:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:46:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:46:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:46:16] Production.INFO: call_cost start [2025-03-20 03:46:16] Production.INFO: call_cost end [2025-03-20 03:46:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:46:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:46:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:46:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:46:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:46:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:46:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:46:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:46:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:46:17] Production.INFO: ==7217== Releasing lock... [2025-03-20 03:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:46:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:46:18] Production.INFO: count ==593 [2025-03-20 03:46:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:46:05 - End Time 2025-03-20 03:46:05 [2025-03-20 03:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720176', 'tblTempUsageDetail_20' ) start [2025-03-20 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720176', 'tblTempUsageDetail_20' ) end [2025-03-20 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720176', 'tblTempVendorCDR_20' ) start [2025-03-20 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720176', 'tblTempVendorCDR_20' ) end [2025-03-20 03:46:18] Production.INFO: ProcessCDR(1,14720176,1,1,2) [2025-03-20 03:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720176', 'tblTempUsageDetail_20' ) start [2025-03-20 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720176', 'tblTempUsageDetail_20' ) end [2025-03-20 03:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:46:21] Production.INFO: ==7225== Releasing lock... [2025-03-20 03:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:46:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 07:47:01] Production.INFO: ==7292== Lock acquired, processing the job... [2025-03-20 07:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:47:01] Production.INFO: neon service started [2025-03-20 07:47:01] Production.INFO: neon service started [2025-03-20 07:47:01] Production.INFO: ==7292== Releasing lock... [2025-03-20 07:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:47:02] Production.INFO: ==7294== Lock acquired, processing the job... [2025-03-20 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:47:02] Production.INFO: ==7294== Releasing lock... [2025-03-20 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:47:02] Production.INFO: ==7296== Lock acquired, processing the job... [2025-03-20 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:47:02] Production.INFO: ==7296== Releasing lock... [2025-03-20 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:47:03] Production.INFO: ==7302== Lock acquired, processing the job... [2025-03-20 03:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:47:03] Production.INFO: ==7309== Lock acquired, processing the job... [2025-03-20 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:47:03] Production.INFO: ==7300== Lock acquired, processing the job... [2025-03-20 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:47:03] Production.INFO: ==7298== Lock acquired, processing the job... [2025-03-20 03:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 03:47:03] Production.INFO: count ==12 [2025-03-20 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-03-20 03:47:03] Production.INFO: count ==23 [2025-03-20 03:47:03] Production.INFO: ==7305== Lock acquired, processing the job... [2025-03-20 03:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720177') start [2025-03-20 03:47:03] Production.INFO: ==7307== Lock acquired, processing the job... [2025-03-20 03:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720177') end [2025-03-20 03:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:47:03] Production.INFO: 1 [2025-03-20 03:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:47:03] Production.INFO: ==7309== Releasing lock... [2025-03-20 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:47:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:47:03] Production.INFO: Account Balance Start. [2025-03-20 03:47:03] Production.INFO: CreateAllLog Start [2025-03-20 03:47:03] Production.INFO: 117 [2025-03-20 03:47:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:47:03] Production.INFO: ==7300== Releasing lock... [2025-03-20 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:47:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.ERROR: done [2025-03-20 03:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.ERROR: done [2025-03-20 03:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:47:04] Production.INFO: Total Charge 0 [2025-03-20 03:47:04] Production.INFO: CreateAllLog End [2025-03-20 03:47:05] Production.INFO: Account Balance End. [2025-03-20 03:47:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:47:05] Production.INFO: ==7305== Releasing lock... [2025-03-20 03:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:47:05 [end_date_ymd] => 2025-03-20 03:47:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:47:05' and `end` < '2025-03-20 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-03-20 03:47:12] Production.ERROR: CronJobId end10 [2025-03-20 03:47:12] Production.INFO: ==7302== Releasing lock... [2025-03-20 03:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:47:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:47:15] Production.INFO: call_cost start [2025-03-20 03:47:15] Production.INFO: call_cost end [2025-03-20 03:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:47:16] Production.INFO: ==7298== Releasing lock... [2025-03-20 03:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:47:17] Production.INFO: count ==591 [2025-03-20 03:47:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:47:05 - End Time 2025-03-20 03:47:05 [2025-03-20 03:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720181', 'tblTempUsageDetail_20' ) start [2025-03-20 03:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720181', 'tblTempUsageDetail_20' ) end [2025-03-20 03:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720181', 'tblTempVendorCDR_20' ) start [2025-03-20 03:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720181', 'tblTempVendorCDR_20' ) end [2025-03-20 03:47:17] Production.INFO: ProcessCDR(1,14720181,1,1,2) [2025-03-20 03:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720181', 'tblTempUsageDetail_20' ) start [2025-03-20 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720181', 'tblTempUsageDetail_20' ) end [2025-03-20 03:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:47:21] Production.INFO: ==7307== Releasing lock... [2025-03-20 03:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:47:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:48:02] Production.INFO: ==7377== Lock acquired, processing the job... [2025-03-20 07:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:48:02] Production.INFO: neon service started [2025-03-20 07:48:02] Production.INFO: neon service started [2025-03-20 07:48:02] Production.INFO: ==7377== Releasing lock... [2025-03-20 07:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:48:02] Production.INFO: ==7379== Lock acquired, processing the job... [2025-03-20 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:48:02] Production.INFO: ==7381== Lock acquired, processing the job... [2025-03-20 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:48:02] Production.INFO: ==7381== Releasing lock... [2025-03-20 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:48:02] Production.INFO: ==7379== Releasing lock... [2025-03-20 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:48:03] Production.INFO: ==7388== Lock acquired, processing the job... [2025-03-20 03:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:48:03] Production.INFO: ==7396== Lock acquired, processing the job... [2025-03-20 03:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:48:04] Production.INFO: count ==12 [2025-03-20 03:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:48:04] Production.INFO: count ==23 [2025-03-20 03:48:04] Production.INFO: ==7388== Releasing lock... [2025-03-20 03:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720183') start [2025-03-20 03:48:04] Production.INFO: ==7386== Lock acquired, processing the job... [2025-03-20 03:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720183') end [2025-03-20 03:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:48:04] Production.INFO: 1 [2025-03-20 03:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:48:04] Production.INFO: ==7390== Lock acquired, processing the job... [2025-03-20 03:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:48:04] Production.INFO: ==7392== Lock acquired, processing the job... [2025-03-20 03:48:04] Production.INFO: ==7394== Lock acquired, processing the job... [2025-03-20 03:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:48:04] Production.INFO: ==7396== Releasing lock... [2025-03-20 03:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:48:04] Production.INFO: Account Balance Start. [2025-03-20 03:48:04] Production.INFO: CreateAllLog Start [2025-03-20 03:48:04] Production.INFO: 117 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.ERROR: done [2025-03-20 03:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:48:05] Production.INFO: Total Charge 0 [2025-03-20 03:48:05] Production.INFO: CreateAllLog End [2025-03-20 03:48:05] Production.ERROR: done [2025-03-20 03:48:05] Production.INFO: Account Balance End. [2025-03-20 03:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:48:05] Production.INFO: ==7392== Releasing lock... [2025-03-20 03:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:48:06 [end_date_ymd] => 2025-03-20 03:48:06 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:48:06' and `end` < '2025-03-20 03: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-03-20 03:48:13] Production.ERROR: CronJobId end10 [2025-03-20 03:48:13] Production.INFO: ==7390== Releasing lock... [2025-03-20 03:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:48:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:48:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:48:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:48:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:48:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:48:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:48:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:48:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:48:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:48:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:48:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:48:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:48:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:48:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:48:16] Production.INFO: call_cost start [2025-03-20 03:48:16] Production.INFO: call_cost end [2025-03-20 03:48:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:48:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:48:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:48:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:48:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:48:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:48:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:48:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:48:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:48:17] Production.INFO: ==7386== Releasing lock... [2025-03-20 03:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:48:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:48:18] Production.INFO: count ==589 [2025-03-20 03:48:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:48:06 - End Time 2025-03-20 03:48:06 [2025-03-20 03:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720186', 'tblTempUsageDetail_20' ) start [2025-03-20 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720186', 'tblTempUsageDetail_20' ) end [2025-03-20 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720186', 'tblTempVendorCDR_20' ) start [2025-03-20 03:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720186', 'tblTempVendorCDR_20' ) end [2025-03-20 03:48:18] Production.INFO: ProcessCDR(1,14720186,1,1,2) [2025-03-20 03:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720186', 'tblTempUsageDetail_20' ) start [2025-03-20 03:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720186', 'tblTempUsageDetail_20' ) end [2025-03-20 03:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:48:22] Production.INFO: ==7394== Releasing lock... [2025-03-20 03:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:48:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:49:01] Production.INFO: ==7497== Lock acquired, processing the job... [2025-03-20 07:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:49:01] Production.INFO: neon service started [2025-03-20 07:49:01] Production.INFO: neon service started [2025-03-20 07:49:01] Production.INFO: ==7497== Releasing lock... [2025-03-20 07:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:49:01] Production.INFO: ==7499== Lock acquired, processing the job... [2025-03-20 03:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:49:02] Production.INFO: ==7499== Releasing lock... [2025-03-20 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:49:02] Production.INFO: ==7501== Lock acquired, processing the job... [2025-03-20 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:49:02] Production.INFO: ==7501== Releasing lock... [2025-03-20 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:49:03] Production.INFO: ==7513== Lock acquired, processing the job... [2025-03-20 03:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:49:03] Production.INFO: ==7515== Lock acquired, processing the job... [2025-03-20 03:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:49:03] Production.INFO: ==7504== Lock acquired, processing the job... [2025-03-20 03:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:49:03] Production.INFO: ==7508== Lock acquired, processing the job... [2025-03-20 03:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:49:03] Production.INFO: ==7506== Lock acquired, processing the job... [2025-03-20 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:49:03] Production.INFO: ==7510== Lock acquired, processing the job... [2025-03-20 03:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 03:49:03] Production.INFO: count ==12 [2025-03-20 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-03-20 03:49:03] Production.INFO: count ==23 [2025-03-20 03:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720188') start [2025-03-20 03:49:03] Production.INFO: Account Balance Start. [2025-03-20 03:49:03] Production.INFO: CreateAllLog Start [2025-03-20 03:49:03] Production.INFO: 117 [2025-03-20 03:49:03] Production.ERROR: done [2025-03-20 03:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720188') end [2025-03-20 03:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:49:04] Production.INFO: 1 [2025-03-20 03:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:49:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.ERROR: done [2025-03-20 03:49:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.INFO: ==7515== Releasing lock... [2025-03-20 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:49:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.INFO: ==7506== Releasing lock... [2025-03-20 03:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:49:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:49:04] Production.INFO: Total Charge 0 [2025-03-20 03:49:04] Production.INFO: CreateAllLog End [2025-03-20 03:49:04] Production.INFO: Account Balance End. [2025-03-20 03:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:49:04] Production.INFO: ==7510== Releasing lock... [2025-03-20 03:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:49:05 [end_date_ymd] => 2025-03-20 03:49:05 [RateCDR] => 1 ) [2025-03-20 03:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:49:05' and `end` < '2025-03-20 03:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:49:13] Production.ERROR: CronJobId end10 [2025-03-20 03:49:13] Production.INFO: ==7508== Releasing lock... [2025-03-20 03:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:49:16] Production.INFO: call_cost start [2025-03-20 03:49:16] Production.INFO: call_cost end [2025-03-20 03:49:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:49:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:49:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:49:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:49:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:49:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:49:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:49:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:49:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:49:17] Production.INFO: ==7504== Releasing lock... [2025-03-20 03:49:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:49:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:49:17] Production.INFO: count ==588 [2025-03-20 03:49:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:49:05 - End Time 2025-03-20 03:49:05 [2025-03-20 03:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720191', 'tblTempUsageDetail_20' ) start [2025-03-20 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720191', 'tblTempUsageDetail_20' ) end [2025-03-20 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720191', 'tblTempVendorCDR_20' ) start [2025-03-20 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720191', 'tblTempVendorCDR_20' ) end [2025-03-20 03:49:17] Production.INFO: ProcessCDR(1,14720191,1,1,2) [2025-03-20 03:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720191', 'tblTempUsageDetail_20' ) start [2025-03-20 03:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720191', 'tblTempUsageDetail_20' ) end [2025-03-20 03:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:49:21] Production.INFO: ==7513== Releasing lock... [2025-03-20 03:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:49:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:50:01] Production.INFO: ==7582== Lock acquired, processing the job... [2025-03-20 07:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:50:02] Production.INFO: neon service started [2025-03-20 07:50:02] Production.INFO: neon service started [2025-03-20 07:50:02] Production.INFO: ==7582== Releasing lock... [2025-03-20 07:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:50:02] Production.INFO: ==7584== Lock acquired, processing the job... [2025-03-20 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:50:02] Production.INFO: ==7586== Lock acquired, processing the job... [2025-03-20 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:50:02] Production.INFO: ==7586== Releasing lock... [2025-03-20 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:50:03] Production.INFO: ==7584== Releasing lock... [2025-03-20 03:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:50:04] Production.INFO: ==7589== Lock acquired, processing the job... [2025-03-20 03:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 03:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 03:50:04] Production.INFO: ==7597== Lock acquired, processing the job... [2025-03-20 03:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 03:50:04] Production.INFO: ==7589== Releasing lock... [2025-03-20 03:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 03:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 03:50:04] Production.INFO: Account Balance Start. [2025-03-20 03:50:04] Production.INFO: CreateAllLog Start [2025-03-20 03:50:04] Production.INFO: 117 [2025-03-20 03:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:50:04] Production.INFO: ==7603== Lock acquired, processing the job... [2025-03-20 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:04] Production.INFO: ==7591== Lock acquired, processing the job... [2025-03-20 03:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:04] Production.INFO: ==7593== Lock acquired, processing the job... [2025-03-20 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:50:04] Production.INFO: ==7595== Lock acquired, processing the job... [2025-03-20 03:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 03:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:04] Production.INFO: count ==12 [2025-03-20 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-03-20 03:50:04] Production.INFO: ==7599== Lock acquired, processing the job... [2025-03-20 03:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:50:04] Production.INFO: count ==23 [2025-03-20 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720193') start [2025-03-20 03:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:04] Production.INFO: ==7601== Lock acquired, processing the job... [2025-03-20 03:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 03:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720193') end [2025-03-20 03:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:50:04] Production.INFO: 1 [2025-03-20 03:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:50:04] Production.INFO: ==7603== Releasing lock... [2025-03-20 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:50:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 03:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:05] Production.ERROR: done [2025-03-20 03:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:05] Production.INFO: ==7593== Releasing lock... [2025-03-20 03:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:50:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:50:05] Production.ERROR: done [2025-03-20 03:50:05] Production.ERROR: done [2025-03-20 03:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 03:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720197', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 03:50:05] Production.INFO: Total Charge 0 [2025-03-20 03:50:05] Production.INFO: CreateAllLog End [2025-03-20 03:50:05] Production.INFO: Account Balance End. [2025-03-20 03:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:50:05] Production.INFO: ==7597== Releasing lock... [2025-03-20 03:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:50:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:50:07 [end_date_ymd] => 2025-03-20 03:50:07 [RateCDR] => 1 ) [2025-03-20 03:50:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:50:07' and `end` < '2025-03-20 03:50:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720197', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 03:50:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 03:50:10] Production.INFO: ProcessCDR(1,14720197,1,1,2) [2025-03-20 03:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720197,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:50:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720197,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:50:11] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:50:11] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:50:11] Production.INFO: ==7601== Releasing lock... [2025-03-20 03:50:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 03:50:11] Production.INFO: 26 MB #Memory Used# [2025-03-20 03:50:15] Production.ERROR: CronJobId end10 [2025-03-20 03:50:15] Production.INFO: ==7595== Releasing lock... [2025-03-20 03:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:50:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:50:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:50:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:50:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:50:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:50:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:50:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:50:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:50:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:50:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:50:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:50:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:50:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:50:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:50:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:50:18] Production.INFO: call_cost start [2025-03-20 03:50:18] Production.INFO: call_cost end [2025-03-20 03:50:19] Production.INFO: count ==575 [2025-03-20 03:50:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:50:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:50:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:50:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:50:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:50:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:50:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:50:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:50:19] Production.ERROR: pbx CDR StartTime 2025-03-20 00:50:07 - End Time 2025-03-20 03:50:07 [2025-03-20 03:50:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720196', 'tblTempUsageDetail_20' ) start [2025-03-20 03:50:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:50:19] Production.INFO: ==7591== Releasing lock... [2025-03-20 03:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:50:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720196', 'tblTempUsageDetail_20' ) end [2025-03-20 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720196', 'tblTempVendorCDR_20' ) start [2025-03-20 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720196', 'tblTempVendorCDR_20' ) end [2025-03-20 03:50:19] Production.INFO: ProcessCDR(1,14720196,1,1,2) [2025-03-20 03:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720196', 'tblTempUsageDetail_20' ) start [2025-03-20 03:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720196', 'tblTempUsageDetail_20' ) end [2025-03-20 03:50:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:50:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:50:23] Production.INFO: ==7599== Releasing lock... [2025-03-20 03:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:50:23] Production.INFO: 33 MB #Memory Used# [2025-03-20 07:51:01] Production.INFO: ==7670== Lock acquired, processing the job... [2025-03-20 07:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:51:01] Production.INFO: neon service started [2025-03-20 07:51:01] Production.INFO: neon service started [2025-03-20 07:51:01] Production.INFO: ==7670== Releasing lock... [2025-03-20 07:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:51:02] Production.INFO: ==7673== Lock acquired, processing the job... [2025-03-20 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:51:02] Production.INFO: ==7675== Lock acquired, processing the job... [2025-03-20 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:51:02] Production.INFO: ==7675== Releasing lock... [2025-03-20 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:51:02] Production.INFO: ==7673== Releasing lock... [2025-03-20 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:51:03] Production.INFO: ==7689== Lock acquired, processing the job... [2025-03-20 03:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:51:03] Production.INFO: ==7691== Lock acquired, processing the job... [2025-03-20 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:51:03] Production.INFO: ==7681== Lock acquired, processing the job... [2025-03-20 03:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:51:03] Production.INFO: ==7683== Lock acquired, processing the job... [2025-03-20 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:51:03] Production.INFO: ==7685== Lock acquired, processing the job... [2025-03-20 03:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:51:03] Production.INFO: ==7687== Lock acquired, processing the job... [2025-03-20 03:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03: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-03-20 03:51:04] Production.ERROR: done [2025-03-20 03:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:51:04] Production.INFO: Account Balance Start. [2025-03-20 03:51:04] Production.INFO: CreateAllLog Start [2025-03-20 03:51:04] Production.INFO: count ==12 [2025-03-20 03:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:51:04] Production.INFO: 117 [2025-03-20 03:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:51:04] Production.INFO: count ==23 [2025-03-20 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720198') start [2025-03-20 03:51:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.ERROR: done [2025-03-20 03:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.INFO: ==7683== Releasing lock... [2025-03-20 03:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720198') end [2025-03-20 03:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:51:04] Production.INFO: 1 [2025-03-20 03:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.INFO: ==7691== Releasing lock... [2025-03-20 03:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:51:04] Production.INFO: Total Charge 0 [2025-03-20 03:51:04] Production.INFO: CreateAllLog End [2025-03-20 03:51:04] Production.INFO: Account Balance End. [2025-03-20 03:51:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:51:04] Production.INFO: ==7687== Releasing lock... [2025-03-20 03:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:51:05 [end_date_ymd] => 2025-03-20 03:51:05 [RateCDR] => 1 ) [2025-03-20 03:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:51:05' and `end` < '2025-03-20 03:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:51:14] Production.ERROR: CronJobId end10 [2025-03-20 03:51:14] Production.INFO: ==7685== Releasing lock... [2025-03-20 03:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:51:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:51:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:51:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:51:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:51:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:51:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:51:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:51:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:51:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:51:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:51:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:51:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:51:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:51:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:51:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:51:16] Production.INFO: call_cost start [2025-03-20 03:51:16] Production.INFO: call_cost end [2025-03-20 03:51:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:51:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:51:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:51:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:51:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:51:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:51:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:51:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:51:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:51:17] Production.INFO: ==7681== Releasing lock... [2025-03-20 03:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:51:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:51:18] Production.INFO: count ==570 [2025-03-20 03:51:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:51:05 - End Time 2025-03-20 03:51:05 [2025-03-20 03:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720202', 'tblTempUsageDetail_20' ) start [2025-03-20 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720202', 'tblTempUsageDetail_20' ) end [2025-03-20 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720202', 'tblTempVendorCDR_20' ) start [2025-03-20 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720202', 'tblTempVendorCDR_20' ) end [2025-03-20 03:51:18] Production.INFO: ProcessCDR(1,14720202,1,1,2) [2025-03-20 03:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720202', 'tblTempUsageDetail_20' ) start [2025-03-20 03:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720202', 'tblTempUsageDetail_20' ) end [2025-03-20 03:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:51:22] Production.INFO: ==7689== Releasing lock... [2025-03-20 03:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:51:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 07:52:02] Production.INFO: ==7766== Lock acquired, processing the job... [2025-03-20 07:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:52:02] Production.INFO: neon service started [2025-03-20 07:52:02] Production.INFO: neon service started [2025-03-20 07:52:02] Production.INFO: ==7766== Releasing lock... [2025-03-20 07:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:52:02] Production.INFO: ==7768== Lock acquired, processing the job... [2025-03-20 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:52:02] Production.INFO: ==7768== Releasing lock... [2025-03-20 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:52:03] Production.INFO: ==7770== Lock acquired, processing the job... [2025-03-20 07:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:52:03] Production.INFO: ==7770== Releasing lock... [2025-03-20 07:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:52:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:52:03] Production.INFO: ==7772== Lock acquired, processing the job... [2025-03-20 03:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:52:04] Production.INFO: ==7774== Lock acquired, processing the job... [2025-03-20 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:52:04] Production.INFO: ==7777== Lock acquired, processing the job... [2025-03-20 03:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:52:04] Production.INFO: ==7779== Lock acquired, processing the job... [2025-03-20 03:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:52:04] Production.INFO: ==7781== Lock acquired, processing the job... [2025-03-20 03:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:52:04] Production.INFO: ==7783== Lock acquired, processing the job... [2025-03-20 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:52:04] Production.INFO: Account Balance Start. [2025-03-20 03:52:04] Production.INFO: CreateAllLog Start [2025-03-20 03:52:04] Production.INFO: 117 [2025-03-20 03:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:52:04] Production.INFO: ==7774== Releasing lock... [2025-03-20 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 03:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:52:04] Production.INFO: count ==12 [2025-03-20 03:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 03:52:04] Production.INFO: count ==23 [2025-03-20 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720206') start [2025-03-20 03:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:52:04] Production.ERROR: done [2025-03-20 03:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720206') end [2025-03-20 03:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:52:04] Production.INFO: 1 [2025-03-20 03:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:52:04] Production.INFO: ==7783== Releasing lock... [2025-03-20 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:52:04] Production.ERROR: done [2025-03-20 03:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:52:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:52:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:52:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:52:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:52:05] Production.INFO: Total Charge 0 [2025-03-20 03:52:05] Production.INFO: CreateAllLog End [2025-03-20 03:52:05] Production.INFO: Account Balance End. [2025-03-20 03:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:52:05] Production.INFO: ==7779== Releasing lock... [2025-03-20 03:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:52:06 [end_date_ymd] => 2025-03-20 03:52:06 [RateCDR] => 1 ) [2025-03-20 03: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-03-20 00:52:06' and `end` < '2025-03-20 03: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-03-20 03:52:13] Production.ERROR: CronJobId end10 [2025-03-20 03:52:13] Production.INFO: ==7777== Releasing lock... [2025-03-20 03:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:52:15] Production.INFO: call_cost start [2025-03-20 03:52:15] Production.INFO: call_cost end [2025-03-20 03:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:52:16] Production.INFO: ==7772== Releasing lock... [2025-03-20 03:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:52:18] Production.INFO: count ==561 [2025-03-20 03:52:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:52:06 - End Time 2025-03-20 03:52:06 [2025-03-20 03:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720207', 'tblTempUsageDetail_20' ) start [2025-03-20 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720207', 'tblTempUsageDetail_20' ) end [2025-03-20 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720207', 'tblTempVendorCDR_20' ) start [2025-03-20 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720207', 'tblTempVendorCDR_20' ) end [2025-03-20 03:52:18] Production.INFO: ProcessCDR(1,14720207,1,1,2) [2025-03-20 03:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720207', 'tblTempUsageDetail_20' ) start [2025-03-20 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720207', 'tblTempUsageDetail_20' ) end [2025-03-20 03:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:52:22] Production.INFO: ==7781== Releasing lock... [2025-03-20 03:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:52:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 07:53:01] Production.INFO: ==7858== Lock acquired, processing the job... [2025-03-20 07:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:53:01] Production.INFO: neon service started [2025-03-20 07:53:01] Production.INFO: neon service started [2025-03-20 07:53:01] Production.INFO: ==7858== Releasing lock... [2025-03-20 07:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:53:02] Production.INFO: ==7860== Lock acquired, processing the job... [2025-03-20 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:53:02] Production.INFO: ==7862== Lock acquired, processing the job... [2025-03-20 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:53:02] Production.INFO: ==7862== Releasing lock... [2025-03-20 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:53:02] Production.INFO: ==7860== Releasing lock... [2025-03-20 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:53:03] Production.INFO: ==7865== Lock acquired, processing the job... [2025-03-20 03:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:53:03] Production.INFO: ==7867== Lock acquired, processing the job... [2025-03-20 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:53:03] Production.INFO: ==7873== Lock acquired, processing the job... [2025-03-20 03:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:53:03] Production.INFO: ==7869== Lock acquired, processing the job... [2025-03-20 03:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:53:03] Production.INFO: ==7867== Releasing lock... [2025-03-20 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:53:03] Production.INFO: ==7871== Lock acquired, processing the job... [2025-03-20 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:53:03] Production.INFO: ==7875== Lock acquired, processing the job... [2025-03-20 03:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 03:53:03] Production.ERROR: done [2025-03-20 03:53:03] Production.INFO: count ==12 [2025-03-20 03:53:03] Production.INFO: Account Balance Start. [2025-03-20 03:53:03] Production.INFO: CreateAllLog Start [2025-03-20 03:53:03] Production.INFO: 117 [2025-03-20 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-03-20 03:53:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:53:04] Production.INFO: count ==23 [2025-03-20 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720210') start [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.ERROR: done [2025-03-20 03:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720210') end [2025-03-20 03:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:53:04] Production.INFO: 1 [2025-03-20 03:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.INFO: ==7875== Releasing lock... [2025-03-20 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:53:04] Production.INFO: Total Charge 0 [2025-03-20 03:53:04] Production.INFO: CreateAllLog End [2025-03-20 03:53:04] Production.INFO: Account Balance End. [2025-03-20 03:53:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:53:04] Production.INFO: ==7871== Releasing lock... [2025-03-20 03:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:53:05 [end_date_ymd] => 2025-03-20 03:53:05 [RateCDR] => 1 ) [2025-03-20 03:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:53:05' and `end` < '2025-03-20 03:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:53:13] Production.ERROR: CronJobId end10 [2025-03-20 03:53:13] Production.INFO: ==7869== Releasing lock... [2025-03-20 03:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:53:15] Production.INFO: call_cost start [2025-03-20 03:53:15] Production.INFO: call_cost end [2025-03-20 03:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:53:16] Production.INFO: ==7865== Releasing lock... [2025-03-20 03:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:53:17] Production.INFO: count ==561 [2025-03-20 03:53:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:53:05 - End Time 2025-03-20 03:53:05 [2025-03-20 03:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720212', 'tblTempUsageDetail_20' ) start [2025-03-20 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720212', 'tblTempUsageDetail_20' ) end [2025-03-20 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720212', 'tblTempVendorCDR_20' ) start [2025-03-20 03:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720212', 'tblTempVendorCDR_20' ) end [2025-03-20 03:53:17] Production.INFO: ProcessCDR(1,14720212,1,1,2) [2025-03-20 03:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720212', 'tblTempUsageDetail_20' ) start [2025-03-20 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720212', 'tblTempUsageDetail_20' ) end [2025-03-20 03:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:53:21] Production.INFO: ==7873== Releasing lock... [2025-03-20 03:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:53:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 07:54:02] Production.INFO: ==7945== Lock acquired, processing the job... [2025-03-20 07:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:54:02] Production.INFO: neon service started [2025-03-20 07:54:02] Production.INFO: neon service started [2025-03-20 07:54:02] Production.INFO: ==7945== Releasing lock... [2025-03-20 07:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:54:02] Production.INFO: ==7950== Lock acquired, processing the job... [2025-03-20 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:54:02] Production.INFO: ==7950== Releasing lock... [2025-03-20 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:54:02] Production.INFO: ==7948== Lock acquired, processing the job... [2025-03-20 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:54:03] Production.INFO: ==7948== Releasing lock... [2025-03-20 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:54:03] Production.INFO: ==7954== Lock acquired, processing the job... [2025-03-20 03:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:54:04] Production.INFO: ==7958== Lock acquired, processing the job... [2025-03-20 03:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:54:04] Production.INFO: ==7960== Lock acquired, processing the job... [2025-03-20 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:54:04] Production.INFO: Account Balance Start. [2025-03-20 03:54:04] Production.INFO: CreateAllLog Start [2025-03-20 03:54:04] Production.INFO: 117 [2025-03-20 03:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:54:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.INFO: ==7956== Lock acquired, processing the job... [2025-03-20 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.INFO: ==7962== Lock acquired, processing the job... [2025-03-20 03:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.INFO: ==7964== Lock acquired, processing the job... [2025-03-20 03:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 03:54:04] Production.INFO: Total Charge 0 [2025-03-20 03:54:04] Production.INFO: count ==12 [2025-03-20 03:54:04] Production.INFO: ==7956== Releasing lock... [2025-03-20 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:54:04] Production.INFO: CreateAllLog End [2025-03-20 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-03-20 03:54:04] Production.INFO: count ==23 [2025-03-20 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720216') start [2025-03-20 03:54:05] Production.ERROR: done [2025-03-20 03:54:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720216') end [2025-03-20 03:54:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:54:05] Production.INFO: 1 [2025-03-20 03:54:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:54:05] Production.INFO: ==7964== Releasing lock... [2025-03-20 03:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:54:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:54:05] Production.ERROR: done [2025-03-20 03:54:05] Production.INFO: Account Balance End. [2025-03-20 03:54:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:54:05] Production.INFO: ==7960== Releasing lock... [2025-03-20 03:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:54:06 [end_date_ymd] => 2025-03-20 03:54:06 [RateCDR] => 1 ) [2025-03-20 03:54:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:54:06' and `end` < '2025-03-20 03:54:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:54:13] Production.ERROR: CronJobId end10 [2025-03-20 03:54:13] Production.INFO: ==7958== Releasing lock... [2025-03-20 03:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:54:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:54:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:54:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:54:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:54:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:54:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:54:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:54:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:54:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:54:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:54:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:54:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:54:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:54:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:54:16] Production.INFO: call_cost start [2025-03-20 03:54:16] Production.INFO: call_cost end [2025-03-20 03:54:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:54:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:54:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:54:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:54:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:54:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:54:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:54:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:54:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:54:17] Production.INFO: ==7954== Releasing lock... [2025-03-20 03:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:54:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:54:18] Production.INFO: count ==560 [2025-03-20 03:54:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:54:06 - End Time 2025-03-20 03:54:06 [2025-03-20 03:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720217', 'tblTempUsageDetail_20' ) start [2025-03-20 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720217', 'tblTempUsageDetail_20' ) end [2025-03-20 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720217', 'tblTempVendorCDR_20' ) start [2025-03-20 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720217', 'tblTempVendorCDR_20' ) end [2025-03-20 03:54:18] Production.INFO: ProcessCDR(1,14720217,1,1,2) [2025-03-20 03:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720217', 'tblTempUsageDetail_20' ) start [2025-03-20 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720217', 'tblTempUsageDetail_20' ) end [2025-03-20 03:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:54:22] Production.INFO: ==7962== Releasing lock... [2025-03-20 03:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:54:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 07:55:01] Production.INFO: ==8037== Lock acquired, processing the job... [2025-03-20 07:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:55:01] Production.INFO: neon service started [2025-03-20 07:55:01] Production.INFO: neon service started [2025-03-20 07:55:01] Production.INFO: ==8037== Releasing lock... [2025-03-20 07:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:55:01] Production.INFO: ==8040== Lock acquired, processing the job... [2025-03-20 03:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:55:02] Production.INFO: ==8040== Releasing lock... [2025-03-20 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:55:02] Production.INFO: ==8042== Lock acquired, processing the job... [2025-03-20 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:55:02] Production.INFO: ==8042== Releasing lock... [2025-03-20 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:55:03] Production.INFO: ==8046== Lock acquired, processing the job... [2025-03-20 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:55:03] Production.INFO: ==8050== Lock acquired, processing the job... [2025-03-20 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:55:03] Production.INFO: ==8044== Lock acquired, processing the job... [2025-03-20 03:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:55:03] Production.INFO: Account Balance Start. [2025-03-20 03:55:03] Production.INFO: CreateAllLog Start [2025-03-20 03:55:03] Production.INFO: 117 [2025-03-20 03:55:03] Production.INFO: ==8048== Lock acquired, processing the job... [2025-03-20 03:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:55:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:55:03] Production.INFO: ==8052== Lock acquired, processing the job... [2025-03-20 03:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:55:03] Production.INFO: ==8054== Lock acquired, processing the job... [2025-03-20 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:55:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:55:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 03:55:03] Production.INFO: count ==12 [2025-03-20 03:55:03] Production.INFO: Date 2025-03-11 [2025-03-20 03:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:55:03] Production.INFO: Date 2025-03-12 [2025-03-20 03:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 03:55:03] Production.INFO: count ==23 [2025-03-20 03:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720221') start [2025-03-20 03:55:03] Production.INFO: ==8046== Releasing lock... [2025-03-20 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:55:03] Production.INFO: Date 2025-03-13 [2025-03-20 03:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:55:03] Production.INFO: Date 2025-03-14 [2025-03-20 03:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:55:04] Production.ERROR: done [2025-03-20 03:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:55:04] Production.INFO: Total Charge 0 [2025-03-20 03:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720221') end [2025-03-20 03:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:55:04] Production.INFO: 1 [2025-03-20 03:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:55:04] Production.INFO: CreateAllLog End [2025-03-20 03:55:04] Production.INFO: ==8054== Releasing lock... [2025-03-20 03:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:55:04] Production.ERROR: done [2025-03-20 03:55:04] Production.INFO: Account Balance End. [2025-03-20 03:55:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:55:04] Production.INFO: ==8050== Releasing lock... [2025-03-20 03:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:55:05 [end_date_ymd] => 2025-03-20 03:55:05 [RateCDR] => 1 ) [2025-03-20 03:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:55:05' and `end` < '2025-03-20 03:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:55:13] Production.ERROR: CronJobId end10 [2025-03-20 03:55:13] Production.INFO: ==8048== Releasing lock... [2025-03-20 03:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:55:15] Production.INFO: call_cost start [2025-03-20 03:55:15] Production.INFO: call_cost end [2025-03-20 03:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:55:16] Production.INFO: ==8044== Releasing lock... [2025-03-20 03:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:55:17] Production.INFO: count ==558 [2025-03-20 03:55:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:55:05 - End Time 2025-03-20 03:55:05 [2025-03-20 03:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720222', 'tblTempUsageDetail_20' ) start [2025-03-20 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720222', 'tblTempUsageDetail_20' ) end [2025-03-20 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720222', 'tblTempVendorCDR_20' ) start [2025-03-20 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720222', 'tblTempVendorCDR_20' ) end [2025-03-20 03:55:17] Production.INFO: ProcessCDR(1,14720222,1,1,2) [2025-03-20 03:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720222', 'tblTempUsageDetail_20' ) start [2025-03-20 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720222', 'tblTempUsageDetail_20' ) end [2025-03-20 03:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:55:21] Production.INFO: ==8052== Releasing lock... [2025-03-20 03:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:55:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 07:56:02] Production.INFO: ==8130== Lock acquired, processing the job... [2025-03-20 07:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:56:02] Production.INFO: neon service started [2025-03-20 07:56:02] Production.INFO: neon service started [2025-03-20 07:56:02] Production.INFO: ==8130== Releasing lock... [2025-03-20 07:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:56:02] Production.INFO: ==8132== Lock acquired, processing the job... [2025-03-20 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:56:02] Production.INFO: ==8134== Lock acquired, processing the job... [2025-03-20 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:56:02] Production.INFO: ==8134== Releasing lock... [2025-03-20 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:56:03] Production.INFO: ==8132== Releasing lock... [2025-03-20 03:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:56:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:56:04] Production.INFO: ==8137== Lock acquired, processing the job... [2025-03-20 03:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:56:04] Production.INFO: ==8143== Lock acquired, processing the job... [2025-03-20 03:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:56:04] Production.INFO: ==8139== Lock acquired, processing the job... [2025-03-20 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:56:04] Production.INFO: Account Balance Start. [2025-03-20 03:56:04] Production.INFO: CreateAllLog Start [2025-03-20 03:56:04] Production.INFO: 117 [2025-03-20 03:56:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:56:04] Production.INFO: ==8141== Lock acquired, processing the job... [2025-03-20 03:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:56:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:56:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:04] Production.INFO: ==8145== Lock acquired, processing the job... [2025-03-20 03:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:56:04] Production.INFO: ==8147== Lock acquired, processing the job... [2025-03-20 03:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:04] Production.INFO: ==8139== Releasing lock... [2025-03-20 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:56: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-03-20 03:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:56:05] Production.INFO: count ==12 [2025-03-20 03: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-03-20 03:56:05] Production.INFO: count ==23 [2025-03-20 03:56:05] Production.INFO: Total Charge 0 [2025-03-20 03:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720226') start [2025-03-20 03:56:05] Production.INFO: CreateAllLog End [2025-03-20 03:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720226') end [2025-03-20 03:56:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:56:05] Production.INFO: 1 [2025-03-20 03:56:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:56:05] Production.ERROR: done [2025-03-20 03:56:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:56:05] Production.INFO: ==8147== Releasing lock... [2025-03-20 03:56:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:56:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:56:05] Production.ERROR: done [2025-03-20 03:56:05] Production.INFO: Account Balance End. [2025-03-20 03:56:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:56:05] Production.INFO: ==8143== Releasing lock... [2025-03-20 03:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:56:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:56:06 [end_date_ymd] => 2025-03-20 03:56:06 [RateCDR] => 1 ) [2025-03-20 03:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:56:06' and `end` < '2025-03-20 03:56:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:56:13] Production.ERROR: CronJobId end10 [2025-03-20 03:56:13] Production.INFO: ==8141== Releasing lock... [2025-03-20 03:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:56:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:56:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:56:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:56:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:56:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:56:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:56:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:56:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:56:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:56:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:56:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:56:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:56:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:56:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:56:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:56:16] Production.INFO: call_cost start [2025-03-20 03:56:16] Production.INFO: call_cost end [2025-03-20 03:56:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:56:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:56:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:56:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:56:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:56:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:56:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:56:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:56:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:56:17] Production.INFO: ==8137== Releasing lock... [2025-03-20 03:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:56:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:56:18] Production.INFO: count ==560 [2025-03-20 03:56:19] Production.ERROR: pbx CDR StartTime 2025-03-20 00:56:06 - End Time 2025-03-20 03:56:06 [2025-03-20 03:56:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720227', 'tblTempUsageDetail_20' ) start [2025-03-20 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720227', 'tblTempUsageDetail_20' ) end [2025-03-20 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720227', 'tblTempVendorCDR_20' ) start [2025-03-20 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720227', 'tblTempVendorCDR_20' ) end [2025-03-20 03:56:19] Production.INFO: ProcessCDR(1,14720227,1,1,2) [2025-03-20 03:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720227', 'tblTempUsageDetail_20' ) start [2025-03-20 03:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720227', 'tblTempUsageDetail_20' ) end [2025-03-20 03:56:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:56:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:56:23] Production.INFO: ==8145== Releasing lock... [2025-03-20 03:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:56:23] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 07:57:01] Production.INFO: ==8220== Lock acquired, processing the job... [2025-03-20 07:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:57:01] Production.INFO: neon service started [2025-03-20 07:57:01] Production.INFO: neon service started [2025-03-20 07:57:01] Production.INFO: ==8220== Releasing lock... [2025-03-20 07:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:57:02] Production.INFO: ==8222== Lock acquired, processing the job... [2025-03-20 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:57:02] Production.INFO: ==8224== Lock acquired, processing the job... [2025-03-20 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 03:57:02] Production.INFO: ==8222== Releasing lock... [2025-03-20 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:57:02] Production.INFO: ==8224== Releasing lock... [2025-03-20 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:57:03] Production.INFO: ==8232== Lock acquired, processing the job... [2025-03-20 03:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:57:03] Production.INFO: ==8226== Lock acquired, processing the job... [2025-03-20 03:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:57:03] Production.INFO: ==8237== Lock acquired, processing the job... [2025-03-20 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:57:03] Production.INFO: Account Balance Start. [2025-03-20 03:57:03] Production.INFO: CreateAllLog Start [2025-03-20 03:57:03] Production.INFO: 117 [2025-03-20 03:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:57:03] Production.INFO: ==8228== Lock acquired, processing the job... [2025-03-20 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:57:03] Production.INFO: Date 2025-03-08 [2025-03-20 03:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 03:57:03] Production.INFO: Date 2025-03-09 [2025-03-20 03:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:03] Production.INFO: ==8230== Lock acquired, processing the job... [2025-03-20 03:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:57:03] Production.INFO: count ==12 [2025-03-20 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-03-20 03:57:03] Production.INFO: count ==23 [2025-03-20 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720230') start [2025-03-20 03:57:03] Production.INFO: Date 2025-03-10 [2025-03-20 03:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:03] Production.INFO: ==8234== Lock acquired, processing the job... [2025-03-20 03:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:57:03] Production.INFO: Date 2025-03-11 [2025-03-20 03:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:03] Production.INFO: Date 2025-03-12 [2025-03-20 03:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720230') end [2025-03-20 03:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:57:04] Production.INFO: 1 [2025-03-20 03:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:04] Production.INFO: ==8237== Releasing lock... [2025-03-20 03:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 03:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:57:04] Production.INFO: ==8228== Releasing lock... [2025-03-20 03:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 03:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 03:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 03:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:04] Production.ERROR: done [2025-03-20 03:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 03:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 03:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:57:04] Production.ERROR: done [2025-03-20 03:57:04] Production.INFO: Total Charge 0 [2025-03-20 03:57:04] Production.INFO: CreateAllLog End [2025-03-20 03:57:04] Production.INFO: Account Balance End. [2025-03-20 03:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 03:57:04] Production.INFO: ==8232== Releasing lock... [2025-03-20 03:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:57:05 [end_date_ymd] => 2025-03-20 03:57:05 [RateCDR] => 1 ) [2025-03-20 03:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:57:05' and `end` < '2025-03-20 03:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:57:13] Production.ERROR: CronJobId end10 [2025-03-20 03:57:13] Production.INFO: ==8230== Releasing lock... [2025-03-20 03:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:57:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:57:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:57:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:57:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:57:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:57:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:57:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:57:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:57:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:57:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:57:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:57:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:57:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:57:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:57:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:57:16] Production.INFO: call_cost start [2025-03-20 03:57:16] Production.INFO: call_cost end [2025-03-20 03:57:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:57:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:57:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:57:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:57:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:57:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:57:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:57:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:57:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:57:17] Production.INFO: ==8226== Releasing lock... [2025-03-20 03:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:57:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:57:17] Production.INFO: count ==556 [2025-03-20 03:57:17] Production.ERROR: pbx CDR StartTime 2025-03-20 00:57:05 - End Time 2025-03-20 03:57:05 [2025-03-20 03:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720232', 'tblTempUsageDetail_20' ) start [2025-03-20 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720232', 'tblTempUsageDetail_20' ) end [2025-03-20 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720232', 'tblTempVendorCDR_20' ) start [2025-03-20 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720232', 'tblTempVendorCDR_20' ) end [2025-03-20 03:57:18] Production.INFO: ProcessCDR(1,14720232,1,1,2) [2025-03-20 03:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720232', 'tblTempUsageDetail_20' ) start [2025-03-20 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720232', 'tblTempUsageDetail_20' ) end [2025-03-20 03:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:57:21] Production.INFO: ==8234== Releasing lock... [2025-03-20 03:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:57:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 07:58:02] Production.INFO: ==8314== Lock acquired, processing the job... [2025-03-20 07:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:58:02] Production.INFO: neon service started [2025-03-20 07:58:02] Production.INFO: neon service started [2025-03-20 07:58:02] Production.INFO: ==8314== Releasing lock... [2025-03-20 07:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:58:02] Production.INFO: ==8317== Lock acquired, processing the job... [2025-03-20 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 03:58:03] Production.INFO: ==8317== Releasing lock... [2025-03-20 03:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:58:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:58:03] Production.INFO: ==8319== Lock acquired, processing the job... [2025-03-20 07:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:58:03] Production.INFO: ==8319== Releasing lock... [2025-03-20 07:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:58:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:58:04] Production.INFO: ==8329== Lock acquired, processing the job... [2025-03-20 03:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:58:04] Production.INFO: ==8331== Lock acquired, processing the job... [2025-03-20 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 03:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:58:04] Production.INFO: ==8321== Lock acquired, processing the job... [2025-03-20 03:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:58:04] Production.INFO: ==8323== Lock acquired, processing the job... [2025-03-20 03:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:58:04] Production.INFO: count ==12 [2025-03-20 03:58:04] Production.INFO: ==8327== Lock acquired, processing the job... [2025-03-20 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 03:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 03:58:04] Production.INFO: count ==23 [2025-03-20 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720233') start [2025-03-20 03:58:04] Production.INFO: ==8325== Lock acquired, processing the job... [2025-03-20 03:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720233') end [2025-03-20 03:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:58:04] Production.INFO: 1 [2025-03-20 03:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:58:04] Production.INFO: Account Balance Start. [2025-03-20 03:58:04] Production.INFO: CreateAllLog Start [2025-03-20 03:58:04] Production.INFO: 117 [2025-03-20 03:58:04] Production.INFO: ==8331== Releasing lock... [2025-03-20 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:58:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:58:04] Production.ERROR: done [2025-03-20 03:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.INFO: Date 2025-03-10 [2025-03-20 03:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.ERROR: done [2025-03-20 03:58:05] Production.INFO: Date 2025-03-11 [2025-03-20 03:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.INFO: ==8323== Releasing lock... [2025-03-20 03:58:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:58:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:58:05] Production.INFO: Date 2025-03-12 [2025-03-20 03:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.INFO: Date 2025-03-13 [2025-03-20 03:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.INFO: Date 2025-03-14 [2025-03-20 03:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.INFO: Date 2025-03-15 [2025-03-20 03:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.INFO: Date 2025-03-16 [2025-03-20 03:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:58:05] Production.INFO: Total Charge 0 [2025-03-20 03:58:05] Production.INFO: CreateAllLog End [2025-03-20 03:58:05] Production.INFO: Account Balance End. [2025-03-20 03:58:06] Production.ERROR: CronJobId end 12 [2025-03-20 03:58:06] Production.INFO: ==8327== Releasing lock... [2025-03-20 03:58:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:58:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:58:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:58:06 [end_date_ymd] => 2025-03-20 03:58:06 [RateCDR] => 1 ) [2025-03-20 03:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 00:58:06' and `end` < '2025-03-20 03:58:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 03:58:13] Production.ERROR: CronJobId end10 [2025-03-20 03:58:13] Production.INFO: ==8325== Releasing lock... [2025-03-20 03:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:58:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:58:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:58:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:58:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:58:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:58:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:58:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:58:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:58:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:58:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:58:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:58:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:58:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:58:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:58:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:58:17] Production.INFO: call_cost start [2025-03-20 03:58:17] Production.INFO: call_cost end [2025-03-20 03:58:18] Production.INFO: count ==552 [2025-03-20 03:58:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:58:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:58:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:58:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:58:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:58:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:58:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:58:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:58:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:58:18] Production.INFO: ==8321== Releasing lock... [2025-03-20 03:58:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:58:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:58:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:58:06 - End Time 2025-03-20 03:58:06 [2025-03-20 03:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720237', 'tblTempUsageDetail_20' ) start [2025-03-20 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720237', 'tblTempUsageDetail_20' ) end [2025-03-20 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720237', 'tblTempVendorCDR_20' ) start [2025-03-20 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720237', 'tblTempVendorCDR_20' ) end [2025-03-20 03:58:18] Production.INFO: ProcessCDR(1,14720237,1,1,2) [2025-03-20 03:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720237', 'tblTempUsageDetail_20' ) start [2025-03-20 03:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720237', 'tblTempUsageDetail_20' ) end [2025-03-20 03:58:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:58:22] Production.INFO: ==8329== Releasing lock... [2025-03-20 03:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:58:22] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 07:59:01] Production.INFO: ==8403== Lock acquired, processing the job... [2025-03-20 07:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 07:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 07:59:01] Production.INFO: neon service started [2025-03-20 07:59:01] Production.INFO: neon service started [2025-03-20 07:59:01] Production.INFO: ==8403== Releasing lock... [2025-03-20 07:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 07:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 03:59:02] Production.INFO: ==8405== Lock acquired, processing the job... [2025-03-20 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:59:02] Production.INFO: ==8407== Lock acquired, processing the job... [2025-03-20 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:59:02] Production.INFO: ==8407== Releasing lock... [2025-03-20 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 07:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 03:59:03] Production.INFO: ==8405== Releasing lock... [2025-03-20 03:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 03:59:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 03:59:03] Production.INFO: ==8410== Lock acquired, processing the job... [2025-03-20 03:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 03:59:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 03:59:04] Production.INFO: ==8420== Lock acquired, processing the job... [2025-03-20 03:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 03:59:04] Production.INFO: ==8412== Lock acquired, processing the job... [2025-03-20 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 03:59:04] Production.INFO: count ==12 [2025-03-20 03:59:04] Production.INFO: ==8414== Lock acquired, processing the job... [2025-03-20 03:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 03:59:04] Production.INFO: ==8416== Lock acquired, processing the job... [2025-03-20 03:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 03:59:04] Production.INFO: count ==23 [2025-03-20 03:59:04] Production.INFO: ==8418== Lock acquired, processing the job... [2025-03-20 03:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 03:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720239') start [2025-03-20 03:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 03:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 03:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 03:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 03:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 03:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720239') end [2025-03-20 03:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 03:59:04] Production.INFO: 1 [2025-03-20 03:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 03:59:04] Production.INFO: Account Balance Start. [2025-03-20 03:59:04] Production.INFO: CreateAllLog Start [2025-03-20 03:59:04] Production.INFO: 117 [2025-03-20 03:59:04] Production.INFO: Date 2025-03-08 [2025-03-20 03:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:04] Production.INFO: ==8420== Releasing lock... [2025-03-20 03:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 03:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 03:59:04] Production.INFO: Date 2025-03-09 [2025-03-20 03:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:04] Production.INFO: Date 2025-03-10 [2025-03-20 03:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:04] Production.INFO: Date 2025-03-11 [2025-03-20 03:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:04] Production.INFO: Date 2025-03-12 [2025-03-20 03:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:04] Production.INFO: Date 2025-03-13 [2025-03-20 03:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 03:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:04] Production.ERROR: done [2025-03-20 03:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 03:59:04] Production.INFO: ==8412== Releasing lock... [2025-03-20 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 03:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 03:59:05] Production.INFO: Date 2025-03-15 [2025-03-20 03:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:05] Production.INFO: Date 2025-03-16 [2025-03-20 03:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:05] Production.INFO: Date 2025-03-17 [2025-03-20 03:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:05] Production.INFO: Date 2025-03-18 [2025-03-20 03:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:05] Production.ERROR: done [2025-03-20 03:59:05] Production.INFO: Date 2025-03-19 [2025-03-20 03:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:05] Production.INFO: Date 2025-03-20 [2025-03-20 03:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 03:59:05] Production.INFO: Total Charge 0 [2025-03-20 03:59:05] Production.INFO: CreateAllLog End [2025-03-20 03:59:05] Production.INFO: Account Balance End. [2025-03-20 03:59:05] Production.ERROR: CronJobId end 12 [2025-03-20 03:59:05] Production.INFO: ==8416== Releasing lock... [2025-03-20 03:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 03:59:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 03:59:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 00:59:06 [end_date_ymd] => 2025-03-20 03:59:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 00:59:06' and `end` < '2025-03-20 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-03-20 03:59:15] Production.ERROR: CronJobId end10 [2025-03-20 03:59:15] Production.INFO: ==8414== Releasing lock... [2025-03-20 03:59:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 03:59:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 03:59:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 03:59:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 03:59:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 03:59:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 03:59:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 03:59:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 03:59:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 03:59:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 03:59:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 03:59:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 03:59:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 03:59:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 03:59:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 03:59:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 03:59:17] Production.INFO: call_cost start [2025-03-20 03:59:17] Production.INFO: call_cost end [2025-03-20 03:59:18] Production.INFO: count ==550 [2025-03-20 03:59:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 03:59:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 03:59:18] Production.ERROR: pbx CDR StartTime 2025-03-20 00:59:06 - End Time 2025-03-20 03:59:06 [2025-03-20 03:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720242', 'tblTempUsageDetail_20' ) start [2025-03-20 03:59:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 03:59:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 03:59:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 03:59:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 03:59:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 03:59:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 03:59:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 03:59:19] Production.INFO: ==8410== Releasing lock... [2025-03-20 03:59:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 03:59:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720242', 'tblTempUsageDetail_20' ) end [2025-03-20 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720242', 'tblTempVendorCDR_20' ) start [2025-03-20 03:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720242', 'tblTempVendorCDR_20' ) end [2025-03-20 03:59:19] Production.INFO: ProcessCDR(1,14720242,1,1,2) [2025-03-20 03:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 03:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 03:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720242', 'tblTempUsageDetail_20' ) start [2025-03-20 03:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720242', 'tblTempUsageDetail_20' ) end [2025-03-20 03:59:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 03:59:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 03:59:22] Production.INFO: ==8418== Releasing lock... [2025-03-20 03:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 03:59:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 08:00:02] Production.INFO: ==8491== Lock acquired, processing the job... [2025-03-20 08:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:00:02] Production.INFO: neon service started [2025-03-20 08:00:02] Production.INFO: neon service started [2025-03-20 08:00:02] Production.INFO: ==8491== Releasing lock... [2025-03-20 08:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:00:02] Production.INFO: ==8495== Lock acquired, processing the job... [2025-03-20 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:00:02] Production.INFO: ==8495== Releasing lock... [2025-03-20 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:00:02] Production.INFO: ==8493== Lock acquired, processing the job... [2025-03-20 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:00:03] Production.INFO: ==8493== Releasing lock... [2025-03-20 04:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:00:04] Production.INFO: ==8504== Lock acquired, processing the job... [2025-03-20 04:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:00:04] Production.INFO: ==8506== Lock acquired, processing the job... [2025-03-20 04:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:00:04] Production.INFO: ==8508== Lock acquired, processing the job... [2025-03-20 04:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:00:04] Production.INFO: Account Balance Start. [2025-03-20 04:00:04] Production.INFO: CreateAllLog Start [2025-03-20 04:00:04] Production.INFO: 117 [2025-03-20 04:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:04] Production.INFO: ==8498== Lock acquired, processing the job... [2025-03-20 04:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 04:00:04] Production.INFO: ==8500== Lock acquired, processing the job... [2025-03-20 04:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:04] Production.INFO: ==8502== Lock acquired, processing the job... [2025-03-20 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:05] Production.INFO: ==8510== Lock acquired, processing the job... [2025-03-20 04:00:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 04:00:05] Production.INFO: Date 2025-03-12 [2025-03-20 04:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:05] Production.INFO: ==8512== Lock acquired, processing the job... [2025-03-20 04:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:00:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:00:05] Production.INFO: Date 2025-03-13 [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:00:05] Production.ERROR: CronJob PID - 8500 [2025-03-20 04:00:05] Production.ERROR: CronJob Title - System Alerts [2025-03-20 04:00:05] Production.ERROR: CronJob ID - 5 [2025-03-20 04:00:05] Production.ERROR: CronJob Last Run Time 2025-03-20 04:00:00 [2025-03-20 04:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:00:05] Production.ERROR: CronJob PID - 8502 [2025-03-20 04:00:05] Production.ERROR: CronJob Title - Account Block [2025-03-20 04:00:05] Production.ERROR: CronJob ID - 7 [2025-03-20 04:00:05] Production.ERROR: CronJob Last Run Time 2025-03-20 04:00:00 [2025-03-20 04:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:00:05] Production.ERROR: CronJob PID - 8504 [2025-03-20 04:00:05] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 04:00:05] Production.ERROR: CronJob ID - 10 [2025-03-20 04:00:05] Production.ERROR: CronJob Last Run Time 2025-03-20 04:00:00 [2025-03-20 04:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:00:05] Production.ERROR: CronJob PID - 8506 [2025-03-20 04:00:05] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 04:00:05] Production.ERROR: CronJob ID - 12 [2025-03-20 04:00:05] Production.ERROR: CronJob Last Run Time 2025-03-20 04:00:00 [2025-03-20 04:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:00:05] Production.ERROR: CronJob PID - 8508 [2025-03-20 04:00:05] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 04:00:05] Production.ERROR: CronJob ID - 16 [2025-03-20 04:00:05] Production.ERROR: CronJob Last Run Time 2025-03-20 04:00:00 [2025-03-20 04:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:00:05] Production.ERROR: CronJob PID - 8510 [2025-03-20 04:00:05] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 04:00:05] Production.ERROR: CronJob ID - 17 [2025-03-20 04:00:05] Production.ERROR: CronJob Last Run Time 2025-03-20 04:00:00 [2025-03-20 04:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:00:05] Production.ERROR: CronJob PID - 8512 [2025-03-20 04:00:05] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 04:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:05] Production.ERROR: CronJob ID - 19 [2025-03-20 04:00:05] Production.ERROR: CronJob Last Run Time 2025-03-20 04:00:00 [2025-03-20 04:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:00:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:00:05] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:00:05] Production.INFO: Date 2025-03-14 [2025-03-20 04:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:05] Production.INFO: count ==12 [2025-03-20 04:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:00:05] Production.INFO: count ==23 [2025-03-20 04:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720244') start [2025-03-20 04:00:05] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 04:00:05] Production.INFO: ==8498== Releasing lock... [2025-03-20 04:00:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 04:00:05] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 04:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 04:00:05] Production.ERROR: done [2025-03-20 04:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720244') end [2025-03-20 04:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:00:05] Production.INFO: 1 [2025-03-20 04:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:05] Production.ERROR: done [2025-03-20 04:00:05] Production.INFO: ==8512== Releasing lock... [2025-03-20 04:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:00:05] Production.ERROR: done [2025-03-20 04:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:05] Production.INFO: ==8502== Releasing lock... [2025-03-20 04:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 04:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720248', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 04:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:00:05] Production.INFO: Total Charge 0 [2025-03-20 04:00:05] Production.INFO: CreateAllLog End [2025-03-20 04:00:06] Production.INFO: Account Balance End. [2025-03-20 04:00:06] Production.ERROR: CronJobId end 12 [2025-03-20 04:00:06] Production.INFO: ==8506== Releasing lock... [2025-03-20 04:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:00:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:00:06 [end_date_ymd] => 2025-03-20 04:00:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:00:06' and `end` < '2025-03-20 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-03-20 04:00:11] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720248', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 04:00:11] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 04:00:11] Production.INFO: ProcessCDR(1,14720248,1,1,2) [2025-03-20 04:00:11] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720248,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:00:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720248,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:00:11] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:00:11] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:00:11] Production.INFO: ==8510== Releasing lock... [2025-03-20 04:00:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 04:00:11] Production.INFO: 26 MB #Memory Used# [2025-03-20 04:00:16] Production.ERROR: CronJobId end10 [2025-03-20 04:00:16] Production.INFO: ==8504== Releasing lock... [2025-03-20 04:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:00:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:00:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:00:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:00:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:00:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:00:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:00:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:00:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:00:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:00:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:00:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:00:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:00:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:00:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:00:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:00:19] Production.INFO: call_cost start [2025-03-20 04:00:19] Production.INFO: call_cost end [2025-03-20 04:00:19] Production.INFO: count ==550 [2025-03-20 04:00:19] Production.ERROR: pbx CDR StartTime 2025-03-20 01:00:06 - End Time 2025-03-20 04:00:06 [2025-03-20 04:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720247', 'tblTempUsageDetail_20' ) start [2025-03-20 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720247', 'tblTempUsageDetail_20' ) end [2025-03-20 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720247', 'tblTempVendorCDR_20' ) start [2025-03-20 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720247', 'tblTempVendorCDR_20' ) end [2025-03-20 04:00:19] Production.INFO: ProcessCDR(1,14720247,1,1,2) [2025-03-20 04:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:00:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:00:20] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:00:20] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:00:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:00:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:00:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:00:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:00:20] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:00:20] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:00:20] Production.INFO: ==8500== Releasing lock... [2025-03-20 04:00:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:00:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720247', 'tblTempUsageDetail_20' ) start [2025-03-20 04:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720247', 'tblTempUsageDetail_20' ) end [2025-03-20 04:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:00:23] Production.INFO: ==8508== Releasing lock... [2025-03-20 04:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:00:23] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 08:01:01] Production.INFO: ==8578== Lock acquired, processing the job... [2025-03-20 08:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:01:01] Production.INFO: neon service started [2025-03-20 08:01:01] Production.INFO: neon service started [2025-03-20 08:01:01] Production.INFO: ==8578== Releasing lock... [2025-03-20 08:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:01:02] Production.INFO: ==8593== Lock acquired, processing the job... [2025-03-20 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:01:02] Production.INFO: ==8593== Releasing lock... [2025-03-20 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:01:02] Production.INFO: ==8591== Lock acquired, processing the job... [2025-03-20 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:01:02] Production.INFO: ==8591== Releasing lock... [2025-03-20 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:01:03] Production.INFO: ==8595== Lock acquired, processing the job... [2025-03-20 04:01:03] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Starts# [2025-03-20 04:01:03] Production.INFO: ==8597== Lock acquired, processing the job... [2025-03-20 04:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:01:03] Production.INFO: ==8601== Lock acquired, processing the job... [2025-03-20 04:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:01:04] Production.INFO: ==8599== Lock acquired, processing the job... [2025-03-20 04:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:01:04] Production.INFO: DBcleanup Starts. [2025-03-20 04:01:04] Production.INFO: Usage Download Log Start. [2025-03-20 04:01:04] Production.INFO: ==8603== Lock acquired, processing the job... [2025-03-20 04:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:01:04] Production.INFO: Usage Download Log End. [2025-03-20 04:01:04] Production.INFO: Cronjob History Delete Start. [2025-03-20 04:01:04] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-03-20','Cronjob') [2025-03-20 04:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:01:04] Production.INFO: ==8605== Lock acquired, processing the job... [2025-03-20 04:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:01:04] Production.INFO: Account Balance Start. [2025-03-20 04:01:04] Production.INFO: CreateAllLog Start [2025-03-20 04:01:04] Production.INFO: 117 [2025-03-20 04:01:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:01:04] Production.INFO: ==8608== Lock acquired, processing the job... [2025-03-20 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:01:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.INFO: count ==12 [2025-03-20 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-03-20 04:01:04] Production.INFO: count ==23 [2025-03-20 04:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720253') start [2025-03-20 04:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.ERROR: done [2025-03-20 04:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:01:04] Production.INFO: ==8599== Releasing lock... [2025-03-20 04:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720253') end [2025-03-20 04:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:01:04] Production.INFO: 1 [2025-03-20 04:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:01:04] Production.INFO: Total Charge 0 [2025-03-20 04:01:04] Production.INFO: CreateAllLog End [2025-03-20 04:01:04] Production.INFO: ==8608== Releasing lock... [2025-03-20 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:01:04] Production.ERROR: done [2025-03-20 04:01:05] Production.INFO: Account Balance End. [2025-03-20 04:01:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:01:05] Production.INFO: ==8603== Releasing lock... [2025-03-20 04:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:01:05 [end_date_ymd] => 2025-03-20 04:01:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:01:05' and `end` < '2025-03-20 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-03-20 04:01:17] Production.INFO: Cronjob History Delete End. [2025-03-20 04:01:17] Production.INFO: Job Log Delete Start. [2025-03-20 04:01:17] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-03-20','Job') [2025-03-20 04:01:17] Production.INFO: Job Log Delete End. [2025-03-20 04:01:17] Production.INFO: Customer RateSheet History Delete Starts. [2025-03-20 04:01:17] Production.INFO: Customer RateSheet History Delete End. [2025-03-20 04:01:17] Production.INFO: Vendor RateSheet History Delete Start. [2025-03-20 04:01:17] Production.INFO: Vendor RateSheet History Delete End. [2025-03-20 04:01:17] Production.INFO: All Old Rate Delete Start [2025-03-20 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Start. [2025-03-20 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Done. [2025-03-20 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Start. [2025-03-20 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Done. [2025-03-20 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Start. [2025-03-20 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Done. [2025-03-20 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Start. [2025-03-20 04:01:17] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Done. [2025-03-20 04:01:17] Production.INFO: All Old Rate Delete End [2025-03-20 04:01:17] Production.INFO: Customer CDR Delete Start. [2025-03-20 04:01:17] Production.INFO: Customer CDR Delete End. [2025-03-20 04:01:17] Production.INFO: Customer Failed Call Start. [2025-03-20 04:01:17] Production.INFO: Customer Failed Call Delete End. [2025-03-20 04:01:17] Production.INFO: Vendor CDR Delete Start. [2025-03-20 04:01:17] Production.INFO: Vendor CDR Delete End. [2025-03-20 04:01:17] Production.INFO: Vendor CDR Delete Start. [2025-03-20 04:01:17] Production.INFO: Vendor CDR Delete End. [2025-03-20 04:01:17] Production.INFO: RateLog Delete Start. [2025-03-20 04:01:17] Production.INFO: RateLog Delete End. [2025-03-20 04:01:17] Production.INFO: Archive Old Rate Delete Start. [2025-03-20 04:01:17] Production.INFO: Archive Old Rate Delete End. [2025-03-20 04:01:17] Production.INFO: Tickets Delete Start. [2025-03-20 04:01:17] Production.INFO: Tickets Delete End. [2025-03-20 04:01:17] Production.INFO: DBcleanup Done. [2025-03-20 04:01:17] Production.ERROR: CronJobId end 3 [2025-03-20 04:01:17] Production.INFO: ==8595== Releasing lock... [2025-03-20 04:01:17] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Stops# [2025-03-20 04:01:17] Production.INFO: 26 MB #Memory Used# [2025-03-20 04:01:18] Production.INFO: count ==550 [2025-03-20 04:01:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:01:05 - End Time 2025-03-20 04:01:05 [2025-03-20 04:01:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720254', 'tblTempUsageDetail_20' ) start [2025-03-20 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720254', 'tblTempUsageDetail_20' ) end [2025-03-20 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720254', 'tblTempVendorCDR_20' ) start [2025-03-20 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720254', 'tblTempVendorCDR_20' ) end [2025-03-20 04:01:18] Production.INFO: ProcessCDR(1,14720254,1,1,2) [2025-03-20 04:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:01:19] Production.ERROR: CronJobId end10 [2025-03-20 04:01:19] Production.INFO: ==8601== Releasing lock... [2025-03-20 04:01:19] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:01:19] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:01:22] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:01:22] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:01:22] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:01:22] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:01:22] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:01:22] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:01:22] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:01:22] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:01:22] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:01:22] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:01:22] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:01:22] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:01:22] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:01:22] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:01:22] Production.INFO: call_cost start [2025-03-20 04:01:22] Production.INFO: call_cost end [2025-03-20 04:01:23] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:01:23] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:01:23] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:01:23] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:01:23] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:01:23] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:01:23] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:01:23] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:01:23] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:01:23] Production.INFO: ==8597== Releasing lock... [2025-03-20 04:01:23] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:01:23] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720254', 'tblTempUsageDetail_20' ) start [2025-03-20 04:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720254', 'tblTempUsageDetail_20' ) end [2025-03-20 04:01:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:01:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:01:23] Production.INFO: ==8605== Releasing lock... [2025-03-20 04:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:01:23] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 08:02:02] Production.INFO: ==8680== Lock acquired, processing the job... [2025-03-20 08:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:02:02] Production.INFO: neon service started [2025-03-20 08:02:02] Production.INFO: neon service started [2025-03-20 08:02:02] Production.INFO: ==8680== Releasing lock... [2025-03-20 08:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:02:02] Production.INFO: ==8684== Lock acquired, processing the job... [2025-03-20 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:02:02] Production.INFO: ==8684== Releasing lock... [2025-03-20 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:02:03] Production.INFO: ==8682== Lock acquired, processing the job... [2025-03-20 04:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:02:03] Production.INFO: ==8682== Releasing lock... [2025-03-20 04:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:02:04] Production.INFO: ==8686== Lock acquired, processing the job... [2025-03-20 04:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:02:04] Production.INFO: ==8695== Lock acquired, processing the job... [2025-03-20 04:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:02:04] Production.INFO: ==8692== Lock acquired, processing the job... [2025-03-20 04:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:02:04] Production.INFO: ==8688== Lock acquired, processing the job... [2025-03-20 04:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:02:04] Production.INFO: ==8690== Lock acquired, processing the job... [2025-03-20 04:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:02:04] Production.ERROR: done [2025-03-20 04:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:02:04] Production.INFO: ==8697== Lock acquired, processing the job... [2025-03-20 04:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:02:04] Production.INFO: Account Balance Start. [2025-03-20 04:02:04] Production.INFO: CreateAllLog Start [2025-03-20 04:02:04] Production.INFO: 117 [2025-03-20 04:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:04] Production.ERROR: done [2025-03-20 04:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:04] Production.INFO: count ==12 [2025-03-20 04:02:04] Production.INFO: ==8688== Releasing lock... [2025-03-20 04:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:02:04] Production.INFO: count ==23 [2025-03-20 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720259') start [2025-03-20 04:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720259') end [2025-03-20 04:02:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:02:05] Production.INFO: 1 [2025-03-20 04:02:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:02:05] Production.INFO: ==8697== Releasing lock... [2025-03-20 04:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:02:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:02:05] Production.INFO: Date 2025-03-15 [2025-03-20 04:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:02:05] Production.INFO: Total Charge 0 [2025-03-20 04:02:05] Production.INFO: CreateAllLog End [2025-03-20 04:02:05] Production.INFO: Account Balance End. [2025-03-20 04:02:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:02:05] Production.INFO: ==8692== Releasing lock... [2025-03-20 04:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:02:06 [end_date_ymd] => 2025-03-20 04:02:06 [RateCDR] => 1 ) [2025-03-20 04:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:02:06' and `end` < '2025-03-20 04:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:02:14] Production.ERROR: CronJobId end10 [2025-03-20 04:02:14] Production.INFO: ==8690== Releasing lock... [2025-03-20 04:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:02:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:02:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:02:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:02:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:02:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:02:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:02:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:02:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:02:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:02:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:02:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:02:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:02:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:02:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:02:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:02:16] Production.INFO: call_cost start [2025-03-20 04:02:16] Production.INFO: call_cost end [2025-03-20 04:02:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:02:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:02:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:02:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:02:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:02:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:02:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:02:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:02:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:02:17] Production.INFO: ==8686== Releasing lock... [2025-03-20 04:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:02:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:02:18] Production.INFO: count ==550 [2025-03-20 04:02:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:02:06 - End Time 2025-03-20 04:02:06 [2025-03-20 04:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720258', 'tblTempUsageDetail_20' ) start [2025-03-20 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720258', 'tblTempUsageDetail_20' ) end [2025-03-20 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720258', 'tblTempVendorCDR_20' ) start [2025-03-20 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720258', 'tblTempVendorCDR_20' ) end [2025-03-20 04:02:18] Production.INFO: ProcessCDR(1,14720258,1,1,2) [2025-03-20 04:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720258', 'tblTempUsageDetail_20' ) start [2025-03-20 04:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720258', 'tblTempUsageDetail_20' ) end [2025-03-20 04:02:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:02:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:02:22] Production.INFO: ==8695== Releasing lock... [2025-03-20 04:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:02:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 08:03:01] Production.INFO: ==8765== Lock acquired, processing the job... [2025-03-20 08:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:03:01] Production.INFO: neon service started [2025-03-20 08:03:01] Production.INFO: neon service started [2025-03-20 08:03:01] Production.INFO: ==8765== Releasing lock... [2025-03-20 08:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:03:02] Production.INFO: ==8769== Lock acquired, processing the job... [2025-03-20 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:03:02] Production.INFO: ==8769== Releasing lock... [2025-03-20 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:03:02] Production.INFO: ==8767== Lock acquired, processing the job... [2025-03-20 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:03:02] Production.INFO: ==8767== Releasing lock... [2025-03-20 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:03:03] Production.INFO: ==8772== Lock acquired, processing the job... [2025-03-20 04:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:03:03] Production.INFO: ==8774== Lock acquired, processing the job... [2025-03-20 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:03:03] Production.INFO: ==8776== Lock acquired, processing the job... [2025-03-20 04:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:03:03] Production.INFO: ==8782== Lock acquired, processing the job... [2025-03-20 04:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:03:04] Production.INFO: ==8778== Lock acquired, processing the job... [2025-03-20 04:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 04:03:04] Production.INFO: count ==12 [2025-03-20 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-03-20 04:03:04] Production.INFO: count ==23 [2025-03-20 04:03:04] Production.INFO: ==8780== Lock acquired, processing the job... [2025-03-20 04:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:03:04] Production.INFO: Account Balance Start. [2025-03-20 04:03:04] Production.INFO: CreateAllLog Start [2025-03-20 04:03:04] Production.INFO: 117 [2025-03-20 04:03:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720262') start [2025-03-20 04:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.INFO: ==8774== Releasing lock... [2025-03-20 04:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720262') end [2025-03-20 04:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:03:04] Production.INFO: 1 [2025-03-20 04:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.INFO: ==8782== Releasing lock... [2025-03-20 04:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.ERROR: done [2025-03-20 04:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:03:04] Production.ERROR: done [2025-03-20 04:03:04] Production.INFO: Total Charge 0 [2025-03-20 04:03:04] Production.INFO: CreateAllLog End [2025-03-20 04:03:05] Production.INFO: Account Balance End. [2025-03-20 04:03:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:03:05] Production.INFO: ==8778== Releasing lock... [2025-03-20 04:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:03:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:03:06 [end_date_ymd] => 2025-03-20 04:03:06 [RateCDR] => 1 ) [2025-03-20 04:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:03:06' and `end` < '2025-03-20 04:03:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:03:13] Production.ERROR: CronJobId end10 [2025-03-20 04:03:13] Production.INFO: ==8776== Releasing lock... [2025-03-20 04:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:03:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:03:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:03:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:03:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:03:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:03:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:03:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:03:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:03:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:03:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:03:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:03:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:03:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:03:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:03:16] Production.INFO: call_cost start [2025-03-20 04:03:16] Production.INFO: call_cost end [2025-03-20 04:03:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:03:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:03:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:03:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:03:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:03:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:03:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:03:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:03:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:03:17] Production.INFO: ==8772== Releasing lock... [2025-03-20 04:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:03:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:03:18] Production.INFO: count ==550 [2025-03-20 04:03:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:03:06 - End Time 2025-03-20 04:03:06 [2025-03-20 04:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720264', 'tblTempUsageDetail_20' ) start [2025-03-20 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720264', 'tblTempUsageDetail_20' ) end [2025-03-20 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720264', 'tblTempVendorCDR_20' ) start [2025-03-20 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720264', 'tblTempVendorCDR_20' ) end [2025-03-20 04:03:18] Production.INFO: ProcessCDR(1,14720264,1,1,2) [2025-03-20 04:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720264', 'tblTempUsageDetail_20' ) start [2025-03-20 04:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720264', 'tblTempUsageDetail_20' ) end [2025-03-20 04:03:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:03:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:03:22] Production.INFO: ==8780== Releasing lock... [2025-03-20 04:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:03:22] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 08:04:01] Production.INFO: ==8895== Lock acquired, processing the job... [2025-03-20 08:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:04:01] Production.INFO: neon service started [2025-03-20 08:04:01] Production.INFO: neon service started [2025-03-20 08:04:01] Production.INFO: ==8895== Releasing lock... [2025-03-20 08:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:04:01] Production.INFO: ==8897== Lock acquired, processing the job... [2025-03-20 04:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:04:02] Production.INFO: ==8897== Releasing lock... [2025-03-20 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:04:02] Production.INFO: ==8899== Lock acquired, processing the job... [2025-03-20 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:04:02] Production.INFO: ==8899== Releasing lock... [2025-03-20 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:04:03] Production.INFO: ==8910== Lock acquired, processing the job... [2025-03-20 04:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:04:03] Production.INFO: ==8912== Lock acquired, processing the job... [2025-03-20 04:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:04:03] Production.INFO: ==8901== Lock acquired, processing the job... [2025-03-20 04:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:04:03] Production.INFO: ==8908== Lock acquired, processing the job... [2025-03-20 04:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 04:04:03] Production.INFO: count ==12 [2025-03-20 04:04:03] Production.INFO: ==8903== Lock acquired, processing the job... [2025-03-20 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 04:04:03] Production.INFO: ==8906== Lock acquired, processing the job... [2025-03-20 04:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:04:03] Production.INFO: count ==23 [2025-03-20 04:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:04:03] Production.INFO: Account Balance Start. [2025-03-20 04:04:03] Production.INFO: CreateAllLog Start [2025-03-20 04:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720265') start [2025-03-20 04:04:03] Production.INFO: 117 [2025-03-20 04:04:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:04:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:03] Production.ERROR: done [2025-03-20 04:04:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:04:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720265') end [2025-03-20 04:04:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:04:03] Production.INFO: 1 [2025-03-20 04:04:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:04:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:03] Production.INFO: Date 2025-03-15 [2025-03-20 04:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:03] Production.INFO: Date 2025-03-16 [2025-03-20 04:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:03] Production.INFO: ==8912== Releasing lock... [2025-03-20 04:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:04:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:04:03] Production.ERROR: done [2025-03-20 04:04:03] Production.INFO: Date 2025-03-17 [2025-03-20 04:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:03] Production.INFO: ==8903== Releasing lock... [2025-03-20 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:04:04] Production.INFO: Total Charge 0 [2025-03-20 04:04:04] Production.INFO: CreateAllLog End [2025-03-20 04:04:04] Production.INFO: Account Balance End. [2025-03-20 04:04:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:04:04] Production.INFO: ==8908== Releasing lock... [2025-03-20 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:04:05 [end_date_ymd] => 2025-03-20 04:04:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:04:05' and `end` < '2025-03-20 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-03-20 04:04:12] Production.ERROR: CronJobId end10 [2025-03-20 04:04:12] Production.INFO: ==8906== Releasing lock... [2025-03-20 04:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:04:15] Production.INFO: call_cost start [2025-03-20 04:04:15] Production.INFO: call_cost end [2025-03-20 04:04:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:04:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:04:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:04:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:04:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:04:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:04:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:04:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:04:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:04:16] Production.INFO: ==8901== Releasing lock... [2025-03-20 04:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:04:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:04:17] Production.INFO: count ==550 [2025-03-20 04:04:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:04:05 - End Time 2025-03-20 04:04:05 [2025-03-20 04:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720269', 'tblTempUsageDetail_20' ) start [2025-03-20 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720269', 'tblTempUsageDetail_20' ) end [2025-03-20 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720269', 'tblTempVendorCDR_20' ) start [2025-03-20 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720269', 'tblTempVendorCDR_20' ) end [2025-03-20 04:04:17] Production.INFO: ProcessCDR(1,14720269,1,1,2) [2025-03-20 04:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720269', 'tblTempUsageDetail_20' ) start [2025-03-20 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720269', 'tblTempUsageDetail_20' ) end [2025-03-20 04:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:04:21] Production.INFO: ==8910== Releasing lock... [2025-03-20 04:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:04:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 08:05:01] Production.INFO: ==8979== Lock acquired, processing the job... [2025-03-20 08:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:05:01] Production.INFO: neon service started [2025-03-20 08:05:01] Production.INFO: neon service started [2025-03-20 08:05:01] Production.INFO: ==8979== Releasing lock... [2025-03-20 08:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:05:02] Production.INFO: ==8981== Lock acquired, processing the job... [2025-03-20 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:05:02] Production.INFO: ==8981== Releasing lock... [2025-03-20 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:05:02] Production.INFO: ==8983== Lock acquired, processing the job... [2025-03-20 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:05:02] Production.INFO: ==8983== Releasing lock... [2025-03-20 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:05:03] Production.INFO: ==8989== Lock acquired, processing the job... [2025-03-20 04:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:05:03] Production.INFO: ==8985== Lock acquired, processing the job... [2025-03-20 04:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:05:03] Production.INFO: ==8987== Lock acquired, processing the job... [2025-03-20 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:05:03] Production.INFO: ==8996== Lock acquired, processing the job... [2025-03-20 04:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:05:03] Production.INFO: ==8991== Lock acquired, processing the job... [2025-03-20 04:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 04:05:03] Production.INFO: ==8994== Lock acquired, processing the job... [2025-03-20 04:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:05:03] Production.INFO: count ==12 [2025-03-20 04:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:05:03] Production.INFO: Account Balance Start. [2025-03-20 04:05:03] Production.INFO: CreateAllLog Start [2025-03-20 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-03-20 04:05:03] Production.INFO: 117 [2025-03-20 04:05:03] Production.INFO: count ==23 [2025-03-20 04:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720271') start [2025-03-20 04:05:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720271') end [2025-03-20 04:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:05:04] Production.INFO: 1 [2025-03-20 04:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.INFO: ==8996== Releasing lock... [2025-03-20 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:05:04] Production.ERROR: done [2025-03-20 04:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.INFO: ==8987== Releasing lock... [2025-03-20 04:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.ERROR: done [2025-03-20 04:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:05:04] Production.INFO: Total Charge 0 [2025-03-20 04:05:04] Production.INFO: CreateAllLog End [2025-03-20 04:05:04] Production.INFO: Account Balance End. [2025-03-20 04:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:05:04] Production.INFO: ==8991== Releasing lock... [2025-03-20 04:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:05:05 [end_date_ymd] => 2025-03-20 04:05:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:05:05' and `end` < '2025-03-20 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-03-20 04:05:12] Production.ERROR: CronJobId end10 [2025-03-20 04:05:12] Production.INFO: ==8989== Releasing lock... [2025-03-20 04:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:05:15] Production.INFO: call_cost start [2025-03-20 04:05:15] Production.INFO: call_cost end [2025-03-20 04:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:05:16] Production.INFO: ==8985== Releasing lock... [2025-03-20 04:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:05:17] Production.INFO: count ==547 [2025-03-20 04:05:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:05:05 - End Time 2025-03-20 04:05:05 [2025-03-20 04:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720274', 'tblTempUsageDetail_20' ) start [2025-03-20 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720274', 'tblTempUsageDetail_20' ) end [2025-03-20 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720274', 'tblTempVendorCDR_20' ) start [2025-03-20 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720274', 'tblTempVendorCDR_20' ) end [2025-03-20 04:05:18] Production.INFO: ProcessCDR(1,14720274,1,1,2) [2025-03-20 04:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720274', 'tblTempUsageDetail_20' ) start [2025-03-20 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720274', 'tblTempUsageDetail_20' ) end [2025-03-20 04:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:05:21] Production.INFO: ==8994== Releasing lock... [2025-03-20 04:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:05:21] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 08:06:02] Production.INFO: ==9060== Lock acquired, processing the job... [2025-03-20 08:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:06:02] Production.INFO: neon service started [2025-03-20 08:06:02] Production.INFO: neon service started [2025-03-20 08:06:02] Production.INFO: ==9060== Releasing lock... [2025-03-20 08:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:06:02] Production.INFO: ==9063== Lock acquired, processing the job... [2025-03-20 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:06:03] Production.INFO: ==9063== Releasing lock... [2025-03-20 04:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:06:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:06:03] Production.INFO: ==9065== Lock acquired, processing the job... [2025-03-20 08:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:06:03] Production.INFO: ==9065== Releasing lock... [2025-03-20 08:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:06:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:06:03] Production.INFO: ==9071== Lock acquired, processing the job... [2025-03-20 04:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:06:03] Production.INFO: ==9075== Lock acquired, processing the job... [2025-03-20 04:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:06:04] Production.INFO: ==9067== Lock acquired, processing the job... [2025-03-20 04:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:06:04] Production.INFO: ==9069== Lock acquired, processing the job... [2025-03-20 04:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:06:04] Production.ERROR: done [2025-03-20 04:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:06:04] Production.INFO: ==9073== Lock acquired, processing the job... [2025-03-20 04:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:06:04] Production.INFO: ==9077== Lock acquired, processing the job... [2025-03-20 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:06:04] Production.ERROR: done [2025-03-20 04:06:04] Production.INFO: Account Balance Start. [2025-03-20 04:06:04] Production.INFO: CreateAllLog Start [2025-03-20 04:06:04] Production.INFO: 117 [2025-03-20 04:06:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 04:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:04] Production.INFO: count ==12 [2025-03-20 04:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 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-03-20 04:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:04] Production.INFO: count ==23 [2025-03-20 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720278') start [2025-03-20 04:06:04] Production.INFO: ==9069== Releasing lock... [2025-03-20 04:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720278') end [2025-03-20 04:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:06:04] Production.INFO: 1 [2025-03-20 04:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:04] Production.INFO: ==9077== Releasing lock... [2025-03-20 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:06:05] Production.INFO: Total Charge 0 [2025-03-20 04:06:05] Production.INFO: CreateAllLog End [2025-03-20 04:06:05] Production.INFO: Account Balance End. [2025-03-20 04:06:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:06:05] Production.INFO: ==9073== Releasing lock... [2025-03-20 04:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:06:05 [end_date_ymd] => 2025-03-20 04:06:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:06:05' and `end` < '2025-03-20 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-03-20 04:06:12] Production.ERROR: CronJobId end10 [2025-03-20 04:06:12] Production.INFO: ==9071== Releasing lock... [2025-03-20 04:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:06:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:06:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:06:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:06:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:06:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:06:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:06:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:06:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:06:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:06:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:06:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:06:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:06:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:06:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:06:16] Production.INFO: call_cost start [2025-03-20 04:06:16] Production.INFO: call_cost end [2025-03-20 04:06:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:06:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:06:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:06:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:06:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:06:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:06:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:06:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:06:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:06:17] Production.INFO: ==9067== Releasing lock... [2025-03-20 04:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:06:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:06:17] Production.INFO: count ==541 [2025-03-20 04:06:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:06:05 - End Time 2025-03-20 04:06:05 [2025-03-20 04:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720279', 'tblTempUsageDetail_20' ) start [2025-03-20 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720279', 'tblTempUsageDetail_20' ) end [2025-03-20 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720279', 'tblTempVendorCDR_20' ) start [2025-03-20 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720279', 'tblTempVendorCDR_20' ) end [2025-03-20 04:06:18] Production.INFO: ProcessCDR(1,14720279,1,1,2) [2025-03-20 04:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720279', 'tblTempUsageDetail_20' ) start [2025-03-20 04:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720279', 'tblTempUsageDetail_20' ) end [2025-03-20 04:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:06:21] Production.INFO: ==9075== Releasing lock... [2025-03-20 04:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:06:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:07:01] Production.INFO: ==9145== Lock acquired, processing the job... [2025-03-20 08:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:07:01] Production.INFO: neon service started [2025-03-20 08:07:01] Production.INFO: neon service started [2025-03-20 08:07:01] Production.INFO: ==9145== Releasing lock... [2025-03-20 08:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:07:02] Production.INFO: ==9149== Lock acquired, processing the job... [2025-03-20 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:07:02] Production.INFO: ==9149== Releasing lock... [2025-03-20 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:07:02] Production.INFO: ==9147== Lock acquired, processing the job... [2025-03-20 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:07:02] Production.INFO: ==9147== Releasing lock... [2025-03-20 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:07:03] Production.INFO: ==9152== Lock acquired, processing the job... [2025-03-20 04:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:07:03] Production.INFO: ==9156== Lock acquired, processing the job... [2025-03-20 04:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:07:03] Production.INFO: ==9158== Lock acquired, processing the job... [2025-03-20 04:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:07:03] Production.INFO: Account Balance Start. [2025-03-20 04:07:03] Production.INFO: CreateAllLog Start [2025-03-20 04:07:03] Production.INFO: 117 [2025-03-20 04:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:03] Production.INFO: ==9154== Lock acquired, processing the job... [2025-03-20 04:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:07:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:03] Production.INFO: ==9160== Lock acquired, processing the job... [2025-03-20 04:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:07:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:04] Production.INFO: ==9162== Lock acquired, processing the job... [2025-03-20 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:07:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:07:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:04] Production.INFO: count ==12 [2025-03-20 04:07:04] Production.INFO: ==9154== Releasing lock... [2025-03-20 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 04:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:04] Production.INFO: count ==23 [2025-03-20 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720283') start [2025-03-20 04:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:07:04] Production.INFO: Total Charge 0 [2025-03-20 04:07:04] Production.INFO: CreateAllLog End [2025-03-20 04:07:04] Production.ERROR: done [2025-03-20 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720283') end [2025-03-20 04:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:07:04] Production.INFO: 1 [2025-03-20 04:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:07:04] Production.INFO: ==9162== Releasing lock... [2025-03-20 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:07:04] Production.INFO: Account Balance End. [2025-03-20 04:07:04] Production.ERROR: done [2025-03-20 04:07:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:07:04] Production.INFO: ==9158== Releasing lock... [2025-03-20 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:07:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:07:06 [end_date_ymd] => 2025-03-20 04:07:06 [RateCDR] => 1 ) [2025-03-20 04: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-03-20 01:07:06' and `end` < '2025-03-20 04: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-03-20 04:07:11] Production.ERROR: CronJobId end10 [2025-03-20 04:07:11] Production.INFO: ==9156== Releasing lock... [2025-03-20 04:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:07:14] Production.INFO: call_cost start [2025-03-20 04:07:14] Production.INFO: call_cost end [2025-03-20 04:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:07:15] Production.INFO: ==9152== Releasing lock... [2025-03-20 04:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:07:18] Production.INFO: count ==538 [2025-03-20 04:07:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:07:06 - End Time 2025-03-20 04:07:06 [2025-03-20 04:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720284', 'tblTempUsageDetail_20' ) start [2025-03-20 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720284', 'tblTempUsageDetail_20' ) end [2025-03-20 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720284', 'tblTempVendorCDR_20' ) start [2025-03-20 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720284', 'tblTempVendorCDR_20' ) end [2025-03-20 04:07:18] Production.INFO: ProcessCDR(1,14720284,1,1,2) [2025-03-20 04:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720284', 'tblTempUsageDetail_20' ) start [2025-03-20 04:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720284', 'tblTempUsageDetail_20' ) end [2025-03-20 04:07:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:07:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:07:22] Production.INFO: ==9160== Releasing lock... [2025-03-20 04:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:07:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:08:02] Production.INFO: ==9231== Lock acquired, processing the job... [2025-03-20 08:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:08:02] Production.INFO: neon service started [2025-03-20 08:08:02] Production.INFO: neon service started [2025-03-20 08:08:02] Production.INFO: ==9231== Releasing lock... [2025-03-20 08:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:08:02] Production.INFO: ==9235== Lock acquired, processing the job... [2025-03-20 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:08:02] Production.INFO: ==9233== Lock acquired, processing the job... [2025-03-20 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:08:02] Production.INFO: ==9235== Releasing lock... [2025-03-20 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:08:03] Production.INFO: ==9233== Releasing lock... [2025-03-20 04:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:08:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:08:04] Production.INFO: ==9244== Lock acquired, processing the job... [2025-03-20 04:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:08:04] Production.INFO: ==9246== Lock acquired, processing the job... [2025-03-20 04:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:08:04] Production.INFO: Account Balance Start. [2025-03-20 04:08:04] Production.INFO: CreateAllLog Start [2025-03-20 04:08:04] Production.INFO: 117 [2025-03-20 04:08:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:04] Production.INFO: ==9238== Lock acquired, processing the job... [2025-03-20 04:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:08:04] Production.INFO: ==9240== Lock acquired, processing the job... [2025-03-20 04:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:08:04] Production.INFO: ==9242== Lock acquired, processing the job... [2025-03-20 04:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:08:04] Production.INFO: ==9248== Lock acquired, processing the job... [2025-03-20 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:08:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:08:04] Production.ERROR: done [2025-03-20 04:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:08:04] Production.INFO: count ==12 [2025-03-20 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-03-20 04:08:04] Production.INFO: count ==23 [2025-03-20 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720288') start [2025-03-20 04:08:04] Production.INFO: ==9240== Releasing lock... [2025-03-20 04:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:08:04] Production.ERROR: done [2025-03-20 04:08:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720288') end [2025-03-20 04:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:08:04] Production.INFO: 1 [2025-03-20 04:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:04] Production.INFO: ==9248== Releasing lock... [2025-03-20 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:08:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:08:05] Production.INFO: Total Charge 0 [2025-03-20 04:08:05] Production.INFO: CreateAllLog End [2025-03-20 04:08:05] Production.INFO: Account Balance End. [2025-03-20 04:08:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:08:05] Production.INFO: ==9244== Releasing lock... [2025-03-20 04:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:08:05 [end_date_ymd] => 2025-03-20 04:08:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:08:05' and `end` < '2025-03-20 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-03-20 04:08:12] Production.ERROR: CronJobId end10 [2025-03-20 04:08:12] Production.INFO: ==9242== Releasing lock... [2025-03-20 04:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:08:15] Production.INFO: call_cost start [2025-03-20 04:08:15] Production.INFO: call_cost end [2025-03-20 04:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:08:16] Production.INFO: ==9238== Releasing lock... [2025-03-20 04:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:08:17] Production.INFO: count ==534 [2025-03-20 04:08:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:08:05 - End Time 2025-03-20 04:08:05 [2025-03-20 04:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720289', 'tblTempUsageDetail_20' ) start [2025-03-20 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720289', 'tblTempUsageDetail_20' ) end [2025-03-20 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720289', 'tblTempVendorCDR_20' ) start [2025-03-20 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720289', 'tblTempVendorCDR_20' ) end [2025-03-20 04:08:18] Production.INFO: ProcessCDR(1,14720289,1,1,2) [2025-03-20 04:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720289', 'tblTempUsageDetail_20' ) start [2025-03-20 04:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720289', 'tblTempUsageDetail_20' ) end [2025-03-20 04:08:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:08:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:08:23] Production.INFO: ==9246== Releasing lock... [2025-03-20 04:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:08:23] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:09:01] Production.INFO: ==9316== Lock acquired, processing the job... [2025-03-20 08:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:09:01] Production.INFO: neon service started [2025-03-20 08:09:01] Production.INFO: neon service started [2025-03-20 08:09:01] Production.INFO: ==9316== Releasing lock... [2025-03-20 08:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:09:02] Production.INFO: ==9320== Lock acquired, processing the job... [2025-03-20 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:09:02] Production.INFO: ==9320== Releasing lock... [2025-03-20 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:09:02] Production.INFO: ==9318== Lock acquired, processing the job... [2025-03-20 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:09:02] Production.INFO: ==9318== Releasing lock... [2025-03-20 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:09:03] Production.INFO: ==9331== Lock acquired, processing the job... [2025-03-20 04:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:09:03] Production.INFO: ==9333== Lock acquired, processing the job... [2025-03-20 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 04:09:03] Production.INFO: ==9323== Lock acquired, processing the job... [2025-03-20 04:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:09:03] Production.INFO: count ==12 [2025-03-20 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-03-20 04:09:03] Production.INFO: count ==23 [2025-03-20 04:09:03] Production.INFO: ==9325== Lock acquired, processing the job... [2025-03-20 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:09:03] Production.INFO: ==9327== Lock acquired, processing the job... [2025-03-20 04:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:09:03] Production.INFO: ==9329== Lock acquired, processing the job... [2025-03-20 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720290') start [2025-03-20 04:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:09:04] Production.ERROR: done [2025-03-20 04:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:09:04] Production.INFO: Account Balance Start. [2025-03-20 04:09:04] Production.INFO: CreateAllLog Start [2025-03-20 04:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720290') end [2025-03-20 04:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:09:04] Production.INFO: 1 [2025-03-20 04:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:09:04] Production.INFO: 117 [2025-03-20 04:09:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: ==9333== Releasing lock... [2025-03-20 04:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:09:04] Production.ERROR: done [2025-03-20 04:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: ==9325== Releasing lock... [2025-03-20 04:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:09:04] Production.INFO: Total Charge 0 [2025-03-20 04:09:04] Production.INFO: CreateAllLog End [2025-03-20 04:09:04] Production.INFO: Account Balance End. [2025-03-20 04:09:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:09:04] Production.INFO: ==9329== Releasing lock... [2025-03-20 04:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:09:05 [end_date_ymd] => 2025-03-20 04:09:05 [RateCDR] => 1 ) [2025-03-20 04:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:09:05' and `end` < '2025-03-20 04:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:09:12] Production.ERROR: CronJobId end10 [2025-03-20 04:09:12] Production.INFO: ==9327== Releasing lock... [2025-03-20 04:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:09:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:09:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:09:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:09:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:09:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:09:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:09:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:09:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:09:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:09:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:09:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:09:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:09:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:09:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:09:15] Production.INFO: call_cost start [2025-03-20 04:09:15] Production.INFO: call_cost end [2025-03-20 04:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:09:16] Production.INFO: ==9323== Releasing lock... [2025-03-20 04:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:09:17] Production.INFO: count ==534 [2025-03-20 04:09:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:09:05 - End Time 2025-03-20 04:09:05 [2025-03-20 04:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720294', 'tblTempUsageDetail_20' ) start [2025-03-20 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720294', 'tblTempUsageDetail_20' ) end [2025-03-20 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720294', 'tblTempVendorCDR_20' ) start [2025-03-20 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720294', 'tblTempVendorCDR_20' ) end [2025-03-20 04:09:18] Production.INFO: ProcessCDR(1,14720294,1,1,2) [2025-03-20 04:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720294', 'tblTempUsageDetail_20' ) start [2025-03-20 04:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720294', 'tblTempUsageDetail_20' ) end [2025-03-20 04:09:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:09:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:09:21] Production.INFO: ==9331== Releasing lock... [2025-03-20 04:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:09:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:10:02] Production.INFO: ==9403== Lock acquired, processing the job... [2025-03-20 08:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:10:02] Production.INFO: neon service started [2025-03-20 08:10:02] Production.INFO: neon service started [2025-03-20 08:10:02] Production.INFO: ==9403== Releasing lock... [2025-03-20 08:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:10:02] Production.INFO: ==9405== Lock acquired, processing the job... [2025-03-20 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:10:02] Production.INFO: ==9405== Releasing lock... [2025-03-20 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:10:03] Production.INFO: ==9407== Lock acquired, processing the job... [2025-03-20 08:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:10:03] Production.INFO: ==9407== Releasing lock... [2025-03-20 08:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:10:04] Production.INFO: ==9410== Lock acquired, processing the job... [2025-03-20 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 04:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 04:10:04] Production.INFO: ==9412== Lock acquired, processing the job... [2025-03-20 04:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:10:04] Production.INFO: ==9416== Lock acquired, processing the job... [2025-03-20 04:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 04:10:04] Production.INFO: ==9410== Releasing lock... [2025-03-20 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 04:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 04:10:04] Production.INFO: ==9420== Lock acquired, processing the job... [2025-03-20 04:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:10:04] Production.INFO: ==9414== Lock acquired, processing the job... [2025-03-20 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:10:04] Production.INFO: ==9422== Lock acquired, processing the job... [2025-03-20 04:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 04:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:10:04] Production.INFO: ==9418== Lock acquired, processing the job... [2025-03-20 04:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:10:04] Production.INFO: Account Balance Start. [2025-03-20 04:10:04] Production.INFO: CreateAllLog Start [2025-03-20 04:10:04] Production.INFO: 117 [2025-03-20 04:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:04] Production.INFO: ==9424== Lock acquired, processing the job... [2025-03-20 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:10:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 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-03-20 04:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:10:04] Production.INFO: count ==12 [2025-03-20 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-03-20 04:10:04] Production.INFO: count ==23 [2025-03-20 04:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720298') start [2025-03-20 04:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:04] Production.ERROR: done [2025-03-20 04:10:04] Production.INFO: ==9414== Releasing lock... [2025-03-20 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:10:05] Production.ERROR: done [2025-03-20 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720298') end [2025-03-20 04:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:10:05] Production.INFO: 1 [2025-03-20 04:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 04:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720299', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 04:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:10:05] Production.INFO: Date 2025-03-14 [2025-03-20 04:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:05] Production.INFO: Date 2025-03-15 [2025-03-20 04:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:05] Production.ERROR: done [2025-03-20 04:10:05] Production.INFO: ==9424== Releasing lock... [2025-03-20 04:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:10:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:10:05] Production.INFO: Total Charge 0 [2025-03-20 04:10:05] Production.INFO: CreateAllLog End [2025-03-20 04:10:05] Production.INFO: Account Balance End. [2025-03-20 04:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:10:05] Production.INFO: ==9418== Releasing lock... [2025-03-20 04:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:10:06 [end_date_ymd] => 2025-03-20 04:10:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:10:06' and `end` < '2025-03-20 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-03-20 04:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720299', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 04:10:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 04:10:10] Production.INFO: ProcessCDR(1,14720299,1,1,2) [2025-03-20 04:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720299,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720299,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:10:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:10:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:10:10] Production.INFO: ==9422== Releasing lock... [2025-03-20 04:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 04:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 04:10:15] Production.ERROR: CronJobId end10 [2025-03-20 04:10:15] Production.INFO: ==9416== Releasing lock... [2025-03-20 04:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:10:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:10:17] Production.INFO: call_cost start [2025-03-20 04:10:17] Production.INFO: call_cost end [2025-03-20 04:10:18] Production.INFO: count ==521 [2025-03-20 04:10:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:10:06 - End Time 2025-03-20 04:10:06 [2025-03-20 04:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720300', 'tblTempUsageDetail_20' ) start [2025-03-20 04:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720300', 'tblTempUsageDetail_20' ) end [2025-03-20 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720300', 'tblTempVendorCDR_20' ) start [2025-03-20 04:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720300', 'tblTempVendorCDR_20' ) end [2025-03-20 04:10:18] Production.INFO: ProcessCDR(1,14720300,1,1,2) [2025-03-20 04:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:10:18] Production.INFO: ==9412== Releasing lock... [2025-03-20 04:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720300', 'tblTempUsageDetail_20' ) start [2025-03-20 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720300', 'tblTempUsageDetail_20' ) end [2025-03-20 04:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:10:22] Production.INFO: ==9420== Releasing lock... [2025-03-20 04:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:10:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:11:01] Production.INFO: ==9492== Lock acquired, processing the job... [2025-03-20 08:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:11:01] Production.INFO: neon service started [2025-03-20 08:11:01] Production.INFO: neon service started [2025-03-20 08:11:01] Production.INFO: ==9492== Releasing lock... [2025-03-20 08:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:11:02] Production.INFO: ==9494== Lock acquired, processing the job... [2025-03-20 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:11:02] Production.INFO: ==9496== Lock acquired, processing the job... [2025-03-20 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:11:02] Production.INFO: ==9496== Releasing lock... [2025-03-20 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:11:02] Production.INFO: ==9494== Releasing lock... [2025-03-20 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:11:03] Production.INFO: ==9499== Lock acquired, processing the job... [2025-03-20 04:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:11:03] Production.INFO: ==9501== Lock acquired, processing the job... [2025-03-20 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:11:03] Production.INFO: ==9505== Lock acquired, processing the job... [2025-03-20 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:11:03] Production.INFO: Account Balance Start. [2025-03-20 04:11:03] Production.INFO: CreateAllLog Start [2025-03-20 04:11:03] Production.INFO: 117 [2025-03-20 04:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:03] Production.INFO: ==9501== Releasing lock... [2025-03-20 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:11:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:03] Production.INFO: ==9503== Lock acquired, processing the job... [2025-03-20 04:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:11:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:04] Production.INFO: ==9507== Lock acquired, processing the job... [2025-03-20 04:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:04] Production.INFO: ==9509== Lock acquired, processing the job... [2025-03-20 04:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:04] Production.INFO: count ==12 [2025-03-20 04:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:11:04] Production.INFO: count ==23 [2025-03-20 04:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720304') start [2025-03-20 04:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:04] Production.ERROR: done [2025-03-20 04:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720304') end [2025-03-20 04:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:11:04] Production.INFO: 1 [2025-03-20 04:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:11:04] Production.ERROR: done [2025-03-20 04:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:11:04] Production.INFO: Total Charge 0 [2025-03-20 04:11:04] Production.INFO: ==9509== Releasing lock... [2025-03-20 04:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:11:04] Production.INFO: CreateAllLog End [2025-03-20 04:11:05] Production.INFO: Account Balance End. [2025-03-20 04:11:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:11:05] Production.INFO: ==9505== Releasing lock... [2025-03-20 04:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:11:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:11:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:11:06 [end_date_ymd] => 2025-03-20 04:11:06 [RateCDR] => 1 ) [2025-03-20 04: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-03-20 01:11:06' and `end` < '2025-03-20 04: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-03-20 04:11:11] Production.ERROR: CronJobId end10 [2025-03-20 04:11:11] Production.INFO: ==9503== Releasing lock... [2025-03-20 04:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:11:15] Production.INFO: call_cost start [2025-03-20 04:11:15] Production.INFO: call_cost end [2025-03-20 04:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:11:16] Production.INFO: ==9499== Releasing lock... [2025-03-20 04:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:11:18] Production.INFO: count ==498 [2025-03-20 04:11:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:11:06 - End Time 2025-03-20 04:11:06 [2025-03-20 04:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720305', 'tblTempUsageDetail_20' ) start [2025-03-20 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720305', 'tblTempUsageDetail_20' ) end [2025-03-20 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720305', 'tblTempVendorCDR_20' ) start [2025-03-20 04:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720305', 'tblTempVendorCDR_20' ) end [2025-03-20 04:11:18] Production.INFO: ProcessCDR(1,14720305,1,1,2) [2025-03-20 04:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720305', 'tblTempUsageDetail_20' ) start [2025-03-20 04:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720305', 'tblTempUsageDetail_20' ) end [2025-03-20 04:11:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:11:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:11:21] Production.INFO: ==9507== Releasing lock... [2025-03-20 04:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:11:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:12:02] Production.INFO: ==9581== Lock acquired, processing the job... [2025-03-20 08:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:12:02] Production.INFO: neon service started [2025-03-20 08:12:02] Production.INFO: neon service started [2025-03-20 08:12:02] Production.INFO: ==9581== Releasing lock... [2025-03-20 08:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:12:02] Production.INFO: ==9585== Lock acquired, processing the job... [2025-03-20 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:12:02] Production.INFO: ==9585== Releasing lock... [2025-03-20 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:12:02] Production.INFO: ==9583== Lock acquired, processing the job... [2025-03-20 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:12:03] Production.INFO: ==9583== Releasing lock... [2025-03-20 04:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:12:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:12:03] Production.INFO: ==9590== Lock acquired, processing the job... [2025-03-20 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:12:04] Production.INFO: ==9588== Lock acquired, processing the job... [2025-03-20 04:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:12:04] Production.INFO: ==9598== Lock acquired, processing the job... [2025-03-20 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:12:04] Production.INFO: ==9592== Lock acquired, processing the job... [2025-03-20 04:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:12:04] Production.INFO: ==9594== Lock acquired, processing the job... [2025-03-20 04:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:12:04] Production.INFO: Account Balance Start. [2025-03-20 04:12:04] Production.INFO: CreateAllLog Start [2025-03-20 04:12:04] Production.INFO: 117 [2025-03-20 04:12:04] Production.INFO: ==9590== Releasing lock... [2025-03-20 04:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:12:04] Production.INFO: ==9596== Lock acquired, processing the job... [2025-03-20 04:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.INFO: count ==12 [2025-03-20 04:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:12:04] Production.INFO: count ==23 [2025-03-20 04:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720308') start [2025-03-20 04:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720308') end [2025-03-20 04:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:12:04] Production.INFO: 1 [2025-03-20 04:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:12:04] Production.INFO: Total Charge 0 [2025-03-20 04:12:04] Production.INFO: CreateAllLog End [2025-03-20 04:12:04] Production.INFO: ==9598== Releasing lock... [2025-03-20 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:12:04] Production.ERROR: done [2025-03-20 04:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:12:05] Production.ERROR: done [2025-03-20 04:12:05] Production.INFO: Account Balance End. [2025-03-20 04:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:12:05] Production.INFO: ==9594== Releasing lock... [2025-03-20 04:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:12:06 [end_date_ymd] => 2025-03-20 04:12:06 [RateCDR] => 1 ) [2025-03-20 04: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-03-20 01:12:06' and `end` < '2025-03-20 04: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-03-20 04:12:13] Production.ERROR: CronJobId end10 [2025-03-20 04:12:13] Production.INFO: ==9592== Releasing lock... [2025-03-20 04:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:12:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:12:15] Production.INFO: call_cost start [2025-03-20 04:12:15] Production.INFO: call_cost end [2025-03-20 04:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:12:16] Production.INFO: ==9588== Releasing lock... [2025-03-20 04:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:12:18] Production.INFO: count ==497 [2025-03-20 04:12:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:12:06 - End Time 2025-03-20 04:12:06 [2025-03-20 04:12:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720310', 'tblTempUsageDetail_20' ) start [2025-03-20 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720310', 'tblTempUsageDetail_20' ) end [2025-03-20 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720310', 'tblTempVendorCDR_20' ) start [2025-03-20 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720310', 'tblTempVendorCDR_20' ) end [2025-03-20 04:12:18] Production.INFO: ProcessCDR(1,14720310,1,1,2) [2025-03-20 04:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720310', 'tblTempUsageDetail_20' ) start [2025-03-20 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720310', 'tblTempUsageDetail_20' ) end [2025-03-20 04:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:12:21] Production.INFO: ==9596== Releasing lock... [2025-03-20 04:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:12:21] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:13:01] Production.INFO: ==9675== Lock acquired, processing the job... [2025-03-20 08:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:13:01] Production.INFO: neon service started [2025-03-20 08:13:01] Production.INFO: neon service started [2025-03-20 08:13:01] Production.INFO: ==9675== Releasing lock... [2025-03-20 08:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:13:02] Production.INFO: ==9679== Lock acquired, processing the job... [2025-03-20 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:13:02] Production.INFO: ==9679== Releasing lock... [2025-03-20 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:13:02] Production.INFO: ==9677== Lock acquired, processing the job... [2025-03-20 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:13:02] Production.INFO: ==9677== Releasing lock... [2025-03-20 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:13:03] Production.INFO: ==9682== Lock acquired, processing the job... [2025-03-20 04:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:13:03] Production.INFO: ==9684== Lock acquired, processing the job... [2025-03-20 04:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:13:03] Production.INFO: ==9690== Lock acquired, processing the job... [2025-03-20 04:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:13:03] Production.INFO: ==9684== Releasing lock... [2025-03-20 04:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:13:03] Production.INFO: ==9686== Lock acquired, processing the job... [2025-03-20 04:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:13:03] Production.INFO: ==9688== Lock acquired, processing the job... [2025-03-20 04:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:13:03] Production.INFO: ==9692== Lock acquired, processing the job... [2025-03-20 04:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:13:03] Production.INFO: Account Balance Start. [2025-03-20 04:13:03] Production.INFO: CreateAllLog Start [2025-03-20 04:13:03] Production.INFO: 117 [2025-03-20 04:13:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:03] Production.ERROR: done [2025-03-20 04:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:13:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:13:04] Production.INFO: count ==12 [2025-03-20 04:13:04] Production.ERROR: done [2025-03-20 04:13:04] Production.INFO: Date 2025-03-10 [2025-03-20 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-03-20 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:04] Production.INFO: count ==23 [2025-03-20 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720314') start [2025-03-20 04:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720314') end [2025-03-20 04:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:13:04] Production.INFO: 1 [2025-03-20 04:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:04] Production.INFO: ==9692== Releasing lock... [2025-03-20 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:13:04] Production.INFO: Total Charge 0 [2025-03-20 04:13:04] Production.INFO: CreateAllLog End [2025-03-20 04:13:04] Production.INFO: Account Balance End. [2025-03-20 04:13:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:13:04] Production.INFO: ==9688== Releasing lock... [2025-03-20 04:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:13:05 [end_date_ymd] => 2025-03-20 04:13:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:13:05' and `end` < '2025-03-20 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-03-20 04:13:12] Production.ERROR: CronJobId end10 [2025-03-20 04:13:12] Production.INFO: ==9686== Releasing lock... [2025-03-20 04:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:13:15] Production.INFO: call_cost start [2025-03-20 04:13:15] Production.INFO: call_cost end [2025-03-20 04:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:13:16] Production.INFO: ==9682== Releasing lock... [2025-03-20 04:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:13:17] Production.INFO: count ==495 [2025-03-20 04:13:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:13:05 - End Time 2025-03-20 04:13:05 [2025-03-20 04:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720315', 'tblTempUsageDetail_20' ) start [2025-03-20 04:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720315', 'tblTempUsageDetail_20' ) end [2025-03-20 04:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720315', 'tblTempVendorCDR_20' ) start [2025-03-20 04:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720315', 'tblTempVendorCDR_20' ) end [2025-03-20 04:13:17] Production.INFO: ProcessCDR(1,14720315,1,1,2) [2025-03-20 04:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720315', 'tblTempUsageDetail_20' ) start [2025-03-20 04:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720315', 'tblTempUsageDetail_20' ) end [2025-03-20 04:13:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:13:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:13:20] Production.INFO: ==9690== Releasing lock... [2025-03-20 04:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:13:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:14:02] Production.INFO: ==9760== Lock acquired, processing the job... [2025-03-20 08:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:14:02] Production.INFO: neon service started [2025-03-20 08:14:02] Production.INFO: neon service started [2025-03-20 08:14:02] Production.INFO: ==9760== Releasing lock... [2025-03-20 08:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:14:02] Production.INFO: ==9762== Lock acquired, processing the job... [2025-03-20 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:14:02] Production.INFO: ==9764== Lock acquired, processing the job... [2025-03-20 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:14:02] Production.INFO: ==9762== Releasing lock... [2025-03-20 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:14:03] Production.INFO: ==9764== Releasing lock... [2025-03-20 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:14:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:14:03] Production.INFO: ==9766== Lock acquired, processing the job... [2025-03-20 04:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:14:03] Production.INFO: ==9768== Lock acquired, processing the job... [2025-03-20 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:14:03] Production.INFO: ==9773== Lock acquired, processing the job... [2025-03-20 04:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:14:03] Production.INFO: ==9771== Lock acquired, processing the job... [2025-03-20 04:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:14:04] Production.INFO: ==9775== Lock acquired, processing the job... [2025-03-20 04:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:14:04] Production.INFO: Account Balance Start. [2025-03-20 04:14:04] Production.INFO: CreateAllLog Start [2025-03-20 04:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:14:04] Production.INFO: 117 [2025-03-20 04:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:14:04] Production.INFO: ==9777== Lock acquired, processing the job... [2025-03-20 04:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.INFO: ==9768== Releasing lock... [2025-03-20 04:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.INFO: count ==12 [2025-03-20 04:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:14:04] Production.INFO: count ==23 [2025-03-20 04:14:04] Production.ERROR: done [2025-03-20 04:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720319') start [2025-03-20 04:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720319') end [2025-03-20 04:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:14:04] Production.INFO: 1 [2025-03-20 04:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:14:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:14:04] Production.ERROR: done [2025-03-20 04:14:04] Production.INFO: ==9777== Releasing lock... [2025-03-20 04:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:14:05] Production.INFO: Total Charge 0 [2025-03-20 04:14:05] Production.INFO: CreateAllLog End [2025-03-20 04:14:05] Production.INFO: Account Balance End. [2025-03-20 04:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:14:05] Production.INFO: ==9773== Releasing lock... [2025-03-20 04:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:14:05 [end_date_ymd] => 2025-03-20 04:14:05 [RateCDR] => 1 ) [2025-03-20 04:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:14:05' and `end` < '2025-03-20 04:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:14:12] Production.ERROR: CronJobId end10 [2025-03-20 04:14:12] Production.INFO: ==9771== Releasing lock... [2025-03-20 04:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:14:15] Production.INFO: call_cost start [2025-03-20 04:14:15] Production.INFO: call_cost end [2025-03-20 04:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:14:16] Production.INFO: ==9766== Releasing lock... [2025-03-20 04:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:14:18] Production.INFO: count ==495 [2025-03-20 04:14:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:14:05 - End Time 2025-03-20 04:14:05 [2025-03-20 04:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720320', 'tblTempUsageDetail_20' ) start [2025-03-20 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720320', 'tblTempUsageDetail_20' ) end [2025-03-20 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720320', 'tblTempVendorCDR_20' ) start [2025-03-20 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720320', 'tblTempVendorCDR_20' ) end [2025-03-20 04:14:18] Production.INFO: ProcessCDR(1,14720320,1,1,2) [2025-03-20 04:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720320', 'tblTempUsageDetail_20' ) start [2025-03-20 04:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720320', 'tblTempUsageDetail_20' ) end [2025-03-20 04:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:14:21] Production.INFO: ==9775== Releasing lock... [2025-03-20 04:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:14:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:15:01] Production.INFO: ==9850== Lock acquired, processing the job... [2025-03-20 08:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:15:01] Production.INFO: neon service started [2025-03-20 08:15:01] Production.INFO: neon service started [2025-03-20 08:15:01] Production.INFO: ==9850== Releasing lock... [2025-03-20 08:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:15:02] Production.INFO: ==9852== Lock acquired, processing the job... [2025-03-20 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:15:02] Production.INFO: ==9854== Lock acquired, processing the job... [2025-03-20 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:15:02] Production.INFO: ==9854== Releasing lock... [2025-03-20 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:15:02] Production.INFO: ==9852== Releasing lock... [2025-03-20 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:15:03] Production.INFO: ==9857== Lock acquired, processing the job... [2025-03-20 04:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:15:03] Production.INFO: ==9859== Lock acquired, processing the job... [2025-03-20 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:15:03] Production.INFO: ==9863== Lock acquired, processing the job... [2025-03-20 04:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:15:03] Production.INFO: Account Balance Start. [2025-03-20 04:15:03] Production.INFO: CreateAllLog Start [2025-03-20 04:15:03] Production.INFO: 117 [2025-03-20 04:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:03] Production.INFO: ==9861== Lock acquired, processing the job... [2025-03-20 04:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:15:03] Production.INFO: ==9859== Releasing lock... [2025-03-20 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:15:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:15:03] Production.INFO: ==9867== Lock acquired, processing the job... [2025-03-20 04:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:15:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:03] Production.INFO: ==9865== Lock acquired, processing the job... [2025-03-20 04:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:15:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:15:04] Production.INFO: count ==12 [2025-03-20 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-03-20 04:15:04] Production.INFO: count ==23 [2025-03-20 04:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720324') start [2025-03-20 04:15:04] Production.ERROR: done [2025-03-20 04:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720324') end [2025-03-20 04:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:15:04] Production.INFO: 1 [2025-03-20 04:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:15:04] Production.INFO: Total Charge 0 [2025-03-20 04:15:04] Production.INFO: ==9867== Releasing lock... [2025-03-20 04:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:15:04] Production.INFO: CreateAllLog End [2025-03-20 04:15:04] Production.ERROR: done [2025-03-20 04:15:04] Production.INFO: Account Balance End. [2025-03-20 04:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:15:04] Production.INFO: ==9863== Releasing lock... [2025-03-20 04:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:15:05 [end_date_ymd] => 2025-03-20 04:15:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:15:05' and `end` < '2025-03-20 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-03-20 04:15:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #11 [internal function]: App\Console\Commands\NeonAlerts->fire() #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #9 [internal function]: App\Console\Commands\NeonAlerts->fire() #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 {main} [2025-03-20 04:15:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:15:11] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:15:11] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:15:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:15:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:15:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:15:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:15:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:15:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:15:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:15:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:15:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:15:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:15:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:15:12] Production.INFO: call_cost start [2025-03-20 04:15:12] Production.INFO: call_cost end [2025-03-20 04:15:12] Production.ERROR: CronJobId end10 [2025-03-20 04:15:12] Production.INFO: ==9861== Releasing lock... [2025-03-20 04:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:15:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:15:13] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:15:13] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:15:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:15:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:15:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:15:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:15:13] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:15:13] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:15:13] Production.INFO: ==9857== Releasing lock... [2025-03-20 04:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:15:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:15:17] Production.INFO: count ==495 [2025-03-20 04:15:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:15:05 - End Time 2025-03-20 04:15:05 [2025-03-20 04:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720325', 'tblTempUsageDetail_20' ) start [2025-03-20 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720325', 'tblTempUsageDetail_20' ) end [2025-03-20 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720325', 'tblTempVendorCDR_20' ) start [2025-03-20 04:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720325', 'tblTempVendorCDR_20' ) end [2025-03-20 04:15:17] Production.INFO: ProcessCDR(1,14720325,1,1,2) [2025-03-20 04:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720325', 'tblTempUsageDetail_20' ) start [2025-03-20 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720325', 'tblTempUsageDetail_20' ) end [2025-03-20 04:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:15:21] Production.INFO: ==9865== Releasing lock... [2025-03-20 04:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:15:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:16:02] Production.INFO: ==9940== Lock acquired, processing the job... [2025-03-20 08:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:16:02] Production.INFO: neon service started [2025-03-20 08:16:02] Production.INFO: neon service started [2025-03-20 08:16:02] Production.INFO: ==9940== Releasing lock... [2025-03-20 08:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:16:02] Production.INFO: ==9944== Lock acquired, processing the job... [2025-03-20 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:16:02] Production.INFO: ==9944== Releasing lock... [2025-03-20 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:16:02] Production.INFO: ==9942== Lock acquired, processing the job... [2025-03-20 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:16:02] Production.INFO: ==9942== Releasing lock... [2025-03-20 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:16:03] Production.INFO: ==9947== Lock acquired, processing the job... [2025-03-20 04:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:16:03] Production.INFO: ==9949== Lock acquired, processing the job... [2025-03-20 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:16:03] Production.INFO: ==9951== Lock acquired, processing the job... [2025-03-20 04:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:16:04] Production.INFO: ==9949== Releasing lock... [2025-03-20 04:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:16:04] Production.INFO: ==9953== Lock acquired, processing the job... [2025-03-20 04:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:16:04] Production.INFO: ==9955== Lock acquired, processing the job... [2025-03-20 04:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:16:04] Production.INFO: Account Balance Start. [2025-03-20 04:16:04] Production.INFO: CreateAllLog Start [2025-03-20 04:16:04] Production.INFO: 117 [2025-03-20 04:16:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.INFO: ==9957== Lock acquired, processing the job... [2025-03-20 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:16:04] Production.INFO: count ==12 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:16:04] Production.INFO: count ==23 [2025-03-20 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720329') start [2025-03-20 04:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.ERROR: done [2025-03-20 04:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720329') end [2025-03-20 04:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:16:04] Production.INFO: 1 [2025-03-20 04:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:16:04] Production.INFO: Total Charge 0 [2025-03-20 04:16:04] Production.INFO: CreateAllLog End [2025-03-20 04:16:04] Production.INFO: ==9957== Releasing lock... [2025-03-20 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:16:04] Production.ERROR: done [2025-03-20 04:16:05] Production.INFO: Account Balance End. [2025-03-20 04:16:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:16:05] Production.INFO: ==9953== Releasing lock... [2025-03-20 04:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:16:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:16:06 [end_date_ymd] => 2025-03-20 04:16:06 [RateCDR] => 1 ) [2025-03-20 04:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:16:06' and `end` < '2025-03-20 04:16:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:16:11] Production.ERROR: CronJobId end10 [2025-03-20 04:16:11] Production.INFO: ==9951== Releasing lock... [2025-03-20 04:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:16:15] Production.INFO: call_cost start [2025-03-20 04:16:15] Production.INFO: call_cost end [2025-03-20 04:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:16:16] Production.INFO: ==9947== Releasing lock... [2025-03-20 04:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:16:18] Production.INFO: count ==495 [2025-03-20 04:16:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:16:06 - End Time 2025-03-20 04:16:06 [2025-03-20 04:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720330', 'tblTempUsageDetail_20' ) start [2025-03-20 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720330', 'tblTempUsageDetail_20' ) end [2025-03-20 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720330', 'tblTempVendorCDR_20' ) start [2025-03-20 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720330', 'tblTempVendorCDR_20' ) end [2025-03-20 04:16:18] Production.INFO: ProcessCDR(1,14720330,1,1,2) [2025-03-20 04:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720330', 'tblTempUsageDetail_20' ) start [2025-03-20 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720330', 'tblTempUsageDetail_20' ) end [2025-03-20 04:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:16:21] Production.INFO: ==9955== Releasing lock... [2025-03-20 04:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:16:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:17:01] Production.INFO: ==10022== Lock acquired, processing the job... [2025-03-20 08:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:17:01] Production.INFO: neon service started [2025-03-20 08:17:01] Production.INFO: neon service started [2025-03-20 08:17:01] Production.INFO: ==10022== Releasing lock... [2025-03-20 08:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:17:01] Production.INFO: ==10025== Lock acquired, processing the job... [2025-03-20 04:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:17:02] Production.INFO: ==10025== Releasing lock... [2025-03-20 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:17:02] Production.INFO: ==10027== Lock acquired, processing the job... [2025-03-20 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:17:02] Production.INFO: ==10027== Releasing lock... [2025-03-20 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:17:03] Production.INFO: ==10029== Lock acquired, processing the job... [2025-03-20 04:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:17:03] Production.INFO: ==10039== Lock acquired, processing the job... [2025-03-20 04:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:17:03] Production.INFO: ==10031== Lock acquired, processing the job... [2025-03-20 04:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:17:03] Production.INFO: ==10033== Lock acquired, processing the job... [2025-03-20 04:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:17:03] Production.INFO: ==10035== Lock acquired, processing the job... [2025-03-20 04:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:17:03] Production.INFO: count ==12 [2025-03-20 04:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:17:03] Production.INFO: count ==23 [2025-03-20 04:17:03] Production.INFO: ==10037== Lock acquired, processing the job... [2025-03-20 04:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720332') start [2025-03-20 04:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:17:03] Production.INFO: Account Balance Start. [2025-03-20 04:17:03] Production.INFO: CreateAllLog Start [2025-03-20 04:17:03] Production.INFO: 117 [2025-03-20 04:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:17:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720332') end [2025-03-20 04:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:17:03] Production.INFO: 1 [2025-03-20 04:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:17:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:03] Production.INFO: ==10039== Releasing lock... [2025-03-20 04:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:17:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:17:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:04] Production.ERROR: done [2025-03-20 04:17:04] Production.INFO: ==10031== Releasing lock... [2025-03-20 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:17:04] Production.INFO: Total Charge 0 [2025-03-20 04:17:04] Production.ERROR: done [2025-03-20 04:17:04] Production.INFO: CreateAllLog End [2025-03-20 04:17:04] Production.INFO: Account Balance End. [2025-03-20 04:17:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:17:04] Production.INFO: ==10035== Releasing lock... [2025-03-20 04:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:17:05 [end_date_ymd] => 2025-03-20 04:17:05 [RateCDR] => 1 ) [2025-03-20 04:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:17:05' and `end` < '2025-03-20 04:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:17:12] Production.ERROR: CronJobId end10 [2025-03-20 04:17:12] Production.INFO: ==10033== Releasing lock... [2025-03-20 04:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:17:15] Production.INFO: call_cost start [2025-03-20 04:17:15] Production.INFO: call_cost end [2025-03-20 04:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:17:16] Production.INFO: ==10029== Releasing lock... [2025-03-20 04:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:17:17] Production.INFO: count ==495 [2025-03-20 04:17:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:17:05 - End Time 2025-03-20 04:17:05 [2025-03-20 04:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720335', 'tblTempUsageDetail_20' ) start [2025-03-20 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720335', 'tblTempUsageDetail_20' ) end [2025-03-20 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720335', 'tblTempVendorCDR_20' ) start [2025-03-20 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720335', 'tblTempVendorCDR_20' ) end [2025-03-20 04:17:17] Production.INFO: ProcessCDR(1,14720335,1,1,2) [2025-03-20 04:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720335', 'tblTempUsageDetail_20' ) start [2025-03-20 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720335', 'tblTempUsageDetail_20' ) end [2025-03-20 04:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:17:21] Production.INFO: ==10037== Releasing lock... [2025-03-20 04:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:17:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:18:02] Production.INFO: ==10118== Lock acquired, processing the job... [2025-03-20 08:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:18:02] Production.INFO: neon service started [2025-03-20 08:18:02] Production.INFO: neon service started [2025-03-20 08:18:02] Production.INFO: ==10118== Releasing lock... [2025-03-20 08:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 04:18:02] Production.INFO: ==10120== Lock acquired, processing the job... [2025-03-20 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:18:02] Production.INFO: ==10122== Lock acquired, processing the job... [2025-03-20 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:18:02] Production.INFO: ==10122== Releasing lock... [2025-03-20 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:18:03] Production.INFO: ==10120== Releasing lock... [2025-03-20 04:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:18:03] Production.INFO: ==10127== Lock acquired, processing the job... [2025-03-20 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:18:04] Production.INFO: ==10135== Lock acquired, processing the job... [2025-03-20 04:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:18:04] Production.INFO: ==10125== Lock acquired, processing the job... [2025-03-20 04:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:18:04] Production.INFO: count ==12 [2025-03-20 04:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:18:04] Production.INFO: count ==23 [2025-03-20 04:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720336') start [2025-03-20 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720336') end [2025-03-20 04:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:18:04] Production.INFO: 1 [2025-03-20 04:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:18:04] Production.INFO: ==10129== Lock acquired, processing the job... [2025-03-20 04:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:18:04] Production.INFO: ==10127== Releasing lock... [2025-03-20 04:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:18:04] Production.INFO: ==10135== Releasing lock... [2025-03-20 04:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:18:04] Production.INFO: ==10131== Lock acquired, processing the job... [2025-03-20 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:18:04] Production.INFO: ==10133== Lock acquired, processing the job... [2025-03-20 04:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:18:04] Production.INFO: Account Balance Start. [2025-03-20 04:18:04] Production.INFO: CreateAllLog Start [2025-03-20 04:18:04] Production.INFO: 117 [2025-03-20 04:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.ERROR: done [2025-03-20 04:18:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:18:05] Production.INFO: Date 2025-03-10 [2025-03-20 04:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.INFO: Date 2025-03-11 [2025-03-20 04:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.ERROR: done [2025-03-20 04:18:05] Production.INFO: Date 2025-03-12 [2025-03-20 04:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.INFO: Date 2025-03-13 [2025-03-20 04:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.INFO: Date 2025-03-14 [2025-03-20 04:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.INFO: Date 2025-03-15 [2025-03-20 04:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:18:05] Production.INFO: Total Charge 0 [2025-03-20 04:18:05] Production.INFO: CreateAllLog End [2025-03-20 04:18:05] Production.INFO: Account Balance End. [2025-03-20 04:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:18:05] Production.INFO: ==10131== Releasing lock... [2025-03-20 04:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:18:06 [end_date_ymd] => 2025-03-20 04:18:06 [RateCDR] => 1 ) [2025-03-20 04:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:18:06' and `end` < '2025-03-20 04:18:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:18:12] Production.ERROR: CronJobId end10 [2025-03-20 04:18:12] Production.INFO: ==10129== Releasing lock... [2025-03-20 04:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:18:15] Production.INFO: call_cost start [2025-03-20 04:18:15] Production.INFO: call_cost end [2025-03-20 04:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:18:16] Production.INFO: ==10125== Releasing lock... [2025-03-20 04:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:18:18] Production.INFO: count ==495 [2025-03-20 04:18:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:18:06 - End Time 2025-03-20 04:18:06 [2025-03-20 04:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720340', 'tblTempUsageDetail_20' ) start [2025-03-20 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720340', 'tblTempUsageDetail_20' ) end [2025-03-20 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720340', 'tblTempVendorCDR_20' ) start [2025-03-20 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720340', 'tblTempVendorCDR_20' ) end [2025-03-20 04:18:18] Production.INFO: ProcessCDR(1,14720340,1,1,2) [2025-03-20 04:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720340', 'tblTempUsageDetail_20' ) start [2025-03-20 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720340', 'tblTempUsageDetail_20' ) end [2025-03-20 04:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:18:21] Production.INFO: ==10133== Releasing lock... [2025-03-20 04:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:18:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:19:01] Production.INFO: ==10208== Lock acquired, processing the job... [2025-03-20 08:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:19:01] Production.INFO: neon service started [2025-03-20 08:19:01] Production.INFO: neon service started [2025-03-20 08:19:01] Production.INFO: ==10208== Releasing lock... [2025-03-20 08:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:19:02] Production.INFO: ==10212== Lock acquired, processing the job... [2025-03-20 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:19:02] Production.INFO: ==10210== Lock acquired, processing the job... [2025-03-20 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:19:02] Production.INFO: ==10212== Releasing lock... [2025-03-20 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:19:02] Production.INFO: ==10210== Releasing lock... [2025-03-20 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:19:03] Production.INFO: ==10219== Lock acquired, processing the job... [2025-03-20 04:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:19:03] Production.INFO: ==10221== Lock acquired, processing the job... [2025-03-20 04:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:19:03] Production.INFO: Account Balance Start. [2025-03-20 04:19:03] Production.INFO: CreateAllLog Start [2025-03-20 04:19:03] Production.INFO: 117 [2025-03-20 04:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:03] Production.INFO: ==10215== Lock acquired, processing the job... [2025-03-20 04:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:19:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:03] Production.INFO: ==10217== Lock acquired, processing the job... [2025-03-20 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:19:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:19:03] Production.INFO: ==10223== Lock acquired, processing the job... [2025-03-20 04:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:19:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:19:03] Production.INFO: ==10225== Lock acquired, processing the job... [2025-03-20 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:19:03] Production.INFO: Date 2025-03-15 [2025-03-20 04:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:19:04] Production.INFO: count ==12 [2025-03-20 04:19:04] Production.ERROR: done [2025-03-20 04:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:19:04] Production.INFO: ==10217== Releasing lock... [2025-03-20 04:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:04] Production.INFO: count ==23 [2025-03-20 04:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720344') start [2025-03-20 04:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:04] Production.ERROR: done [2025-03-20 04:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:19:04] Production.INFO: Total Charge 0 [2025-03-20 04:19:04] Production.INFO: CreateAllLog End [2025-03-20 04:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720344') end [2025-03-20 04:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:19:04] Production.INFO: 1 [2025-03-20 04:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:19:04] Production.INFO: ==10225== Releasing lock... [2025-03-20 04:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:19:04] Production.INFO: Account Balance End. [2025-03-20 04:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:19:04] Production.INFO: ==10221== Releasing lock... [2025-03-20 04:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:19:05 [end_date_ymd] => 2025-03-20 04:19:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:19:05' and `end` < '2025-03-20 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-03-20 04:19:12] Production.ERROR: CronJobId end10 [2025-03-20 04:19:12] Production.INFO: ==10219== Releasing lock... [2025-03-20 04:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:19:15] Production.INFO: call_cost start [2025-03-20 04:19:15] Production.INFO: call_cost end [2025-03-20 04:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:19:16] Production.INFO: ==10215== Releasing lock... [2025-03-20 04:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:19:17] Production.INFO: count ==495 [2025-03-20 04:19:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:19:05 - End Time 2025-03-20 04:19:05 [2025-03-20 04:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720345', 'tblTempUsageDetail_20' ) start [2025-03-20 04:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720345', 'tblTempUsageDetail_20' ) end [2025-03-20 04:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720345', 'tblTempVendorCDR_20' ) start [2025-03-20 04:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720345', 'tblTempVendorCDR_20' ) end [2025-03-20 04:19:17] Production.INFO: ProcessCDR(1,14720345,1,1,2) [2025-03-20 04:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720345', 'tblTempUsageDetail_20' ) start [2025-03-20 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720345', 'tblTempUsageDetail_20' ) end [2025-03-20 04:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:19:21] Production.INFO: ==10223== Releasing lock... [2025-03-20 04:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:19:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:20:02] Production.INFO: ==10333== Lock acquired, processing the job... [2025-03-20 08:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:20:02] Production.INFO: neon service started [2025-03-20 08:20:02] Production.INFO: neon service started [2025-03-20 08:20:02] Production.INFO: ==10333== Releasing lock... [2025-03-20 08:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:20:02] Production.INFO: ==10335== Lock acquired, processing the job... [2025-03-20 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:20:02] Production.INFO: ==10335== Releasing lock... [2025-03-20 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:20:02] Production.INFO: ==10337== Lock acquired, processing the job... [2025-03-20 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:20:03] Production.INFO: ==10337== Releasing lock... [2025-03-20 08:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:20:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:20:04] Production.INFO: ==10341== Lock acquired, processing the job... [2025-03-20 04:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:20:04] Production.INFO: ==10339== Lock acquired, processing the job... [2025-03-20 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 04:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 04:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:20:04] Production.ERROR: CronJob PID - 10341 [2025-03-20 04:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 04:20:04] Production.ERROR: CronJob ID - 5 [2025-03-20 04:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 04:20:00 [2025-03-20 04:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 04:20:04] Production.INFO: ==10352== Lock acquired, processing the job... [2025-03-20 04:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 04:20:04] Production.INFO: ==10339== Releasing lock... [2025-03-20 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 04:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 04:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:20:04] Production.INFO: ==10343== Lock acquired, processing the job... [2025-03-20 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:20:04] Production.INFO: ==10354== Lock acquired, processing the job... [2025-03-20 04:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:20:04] Production.INFO: ==10345== Lock acquired, processing the job... [2025-03-20 04:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:20:04] Production.INFO: ==10347== Lock acquired, processing the job... [2025-03-20 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:20:04] Production.INFO: ==10350== Lock acquired, processing the job... [2025-03-20 04:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:20:04] Production.INFO: Account Balance Start. [2025-03-20 04:20:04] Production.INFO: CreateAllLog Start [2025-03-20 04:20:04] Production.INFO: 117 [2025-03-20 04:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 04:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:20:04] Production.INFO: count ==12 [2025-03-20 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-03-20 04:20:04] Production.INFO: count ==23 [2025-03-20 04:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720348') start [2025-03-20 04:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:04] Production.ERROR: done [2025-03-20 04:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:05] Production.INFO: Date 2025-03-13 [2025-03-20 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720348') end [2025-03-20 04:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:20:05] Production.INFO: 1 [2025-03-20 04:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 04:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720350', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 04:20:05] Production.INFO: ==10354== Releasing lock... [2025-03-20 04:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:20:05] Production.ERROR: done [2025-03-20 04:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:20:05] Production.INFO: ==10343== Releasing lock... [2025-03-20 04:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:20:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:20:05] Production.INFO: Date 2025-03-14 [2025-03-20 04:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:05] Production.INFO: Date 2025-03-15 [2025-03-20 04:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:05] Production.ERROR: done [2025-03-20 04:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:20:05] Production.INFO: Total Charge 0 [2025-03-20 04:20:05] Production.INFO: CreateAllLog End [2025-03-20 04:20:05] Production.INFO: Account Balance End. [2025-03-20 04:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:20:05] Production.INFO: ==10347== Releasing lock... [2025-03-20 04:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:20:06 [end_date_ymd] => 2025-03-20 04:20:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:20:06' and `end` < '2025-03-20 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-03-20 04:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720350', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 04:20:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 04:20:10] Production.INFO: ProcessCDR(1,14720350,1,1,2) [2025-03-20 04:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720350,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720350,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:20:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:20:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:20:10] Production.INFO: ==10352== Releasing lock... [2025-03-20 04:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 04:20:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 04:20:14] Production.ERROR: CronJobId end10 [2025-03-20 04:20:14] Production.INFO: ==10345== Releasing lock... [2025-03-20 04:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:20:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:20:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:20:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:20:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:20:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:20:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:20:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:20:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:20:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:20:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:20:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:20:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:20:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:20:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:20:17] Production.INFO: call_cost start [2025-03-20 04:20:17] Production.INFO: call_cost end [2025-03-20 04:20:18] Production.INFO: count ==487 [2025-03-20 04:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:20:18] Production.INFO: ==10341== Releasing lock... [2025-03-20 04:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:20:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:20:06 - End Time 2025-03-20 04:20:06 [2025-03-20 04:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720351', 'tblTempUsageDetail_20' ) start [2025-03-20 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720351', 'tblTempUsageDetail_20' ) end [2025-03-20 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720351', 'tblTempVendorCDR_20' ) start [2025-03-20 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720351', 'tblTempVendorCDR_20' ) end [2025-03-20 04:20:18] Production.INFO: ProcessCDR(1,14720351,1,1,2) [2025-03-20 04:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720351', 'tblTempUsageDetail_20' ) start [2025-03-20 04:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720351', 'tblTempUsageDetail_20' ) end [2025-03-20 04:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:20:22] Production.INFO: ==10350== Releasing lock... [2025-03-20 04:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:20:22] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:21:01] Production.INFO: ==10421== Lock acquired, processing the job... [2025-03-20 08:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:21:01] Production.INFO: neon service started [2025-03-20 08:21:01] Production.INFO: neon service started [2025-03-20 08:21:01] Production.INFO: ==10421== Releasing lock... [2025-03-20 08:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:21:01] Production.INFO: ==10423== Lock acquired, processing the job... [2025-03-20 04:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:21:02] Production.INFO: ==10423== Releasing lock... [2025-03-20 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:21:02] Production.INFO: ==10425== Lock acquired, processing the job... [2025-03-20 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:21:02] Production.INFO: ==10425== Releasing lock... [2025-03-20 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:21:03] Production.INFO: ==10430== Lock acquired, processing the job... [2025-03-20 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:21:03] Production.INFO: ==10428== Lock acquired, processing the job... [2025-03-20 04:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:21:03] Production.INFO: ==10438== Lock acquired, processing the job... [2025-03-20 04:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:21:03] Production.INFO: ==10432== Lock acquired, processing the job... [2025-03-20 04:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:21:03] Production.INFO: ==10430== Releasing lock... [2025-03-20 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:21:03] Production.INFO: ==10434== Lock acquired, processing the job... [2025-03-20 04:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:21:03] Production.INFO: ==10436== Lock acquired, processing the job... [2025-03-20 04:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:21:03] Production.INFO: count ==12 [2025-03-20 04:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:21:03] Production.INFO: count ==23 [2025-03-20 04:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:21:03] Production.INFO: Account Balance Start. [2025-03-20 04:21:03] Production.INFO: CreateAllLog Start [2025-03-20 04:21:03] Production.INFO: 117 [2025-03-20 04:21:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720354') start [2025-03-20 04:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720354') end [2025-03-20 04:21:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:21:03] Production.INFO: 1 [2025-03-20 04:21:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:21:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:03] Production.INFO: ==10438== Releasing lock... [2025-03-20 04:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:21:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:21:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:21:03] Production.ERROR: done [2025-03-20 04:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:21:03] Production.INFO: Date 2025-03-15 [2025-03-20 04:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:03] Production.INFO: Date 2025-03-16 [2025-03-20 04:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:04] Production.ERROR: done [2025-03-20 04:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:21:04] Production.INFO: Total Charge 0 [2025-03-20 04:21:04] Production.INFO: CreateAllLog End [2025-03-20 04:21:04] Production.INFO: Account Balance End. [2025-03-20 04:21:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:21:04] Production.INFO: ==10434== Releasing lock... [2025-03-20 04:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:21:05 [end_date_ymd] => 2025-03-20 04:21:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:21:05' and `end` < '2025-03-20 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-03-20 04:21:13] Production.ERROR: CronJobId end10 [2025-03-20 04:21:13] Production.INFO: ==10432== Releasing lock... [2025-03-20 04:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:21:15] Production.INFO: call_cost start [2025-03-20 04:21:15] Production.INFO: call_cost end [2025-03-20 04:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:21:16] Production.INFO: ==10428== Releasing lock... [2025-03-20 04:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:21:17] Production.INFO: count ==487 [2025-03-20 04:21:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:21:05 - End Time 2025-03-20 04:21:05 [2025-03-20 04:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720356', 'tblTempUsageDetail_20' ) start [2025-03-20 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720356', 'tblTempUsageDetail_20' ) end [2025-03-20 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720356', 'tblTempVendorCDR_20' ) start [2025-03-20 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720356', 'tblTempVendorCDR_20' ) end [2025-03-20 04:21:17] Production.INFO: ProcessCDR(1,14720356,1,1,2) [2025-03-20 04:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720356', 'tblTempUsageDetail_20' ) start [2025-03-20 04:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720356', 'tblTempUsageDetail_20' ) end [2025-03-20 04:21:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:21:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:21:20] Production.INFO: ==10436== Releasing lock... [2025-03-20 04:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:21:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:22:01] Production.INFO: ==10505== Lock acquired, processing the job... [2025-03-20 08:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:22:02] Production.INFO: neon service started [2025-03-20 08:22:02] Production.INFO: neon service started [2025-03-20 08:22:02] Production.INFO: ==10505== Releasing lock... [2025-03-20 08:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:22:02] Production.INFO: ==10509== Lock acquired, processing the job... [2025-03-20 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:22:02] Production.INFO: ==10507== Lock acquired, processing the job... [2025-03-20 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:22:02] Production.INFO: ==10509== Releasing lock... [2025-03-20 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:22:02] Production.INFO: ==10507== Releasing lock... [2025-03-20 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:22:03] Production.INFO: ==10512== Lock acquired, processing the job... [2025-03-20 04:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:22:03] Production.INFO: ==10522== Lock acquired, processing the job... [2025-03-20 04:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04: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-03-20 04:22:04] Production.INFO: count ==12 [2025-03-20 04:22:04] Production.INFO: ==10514== Lock acquired, processing the job... [2025-03-20 04:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 04:22:04] Production.INFO: count ==23 [2025-03-20 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720358') start [2025-03-20 04:22:04] Production.INFO: ==10518== Lock acquired, processing the job... [2025-03-20 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:22:04] Production.INFO: ==10516== Lock acquired, processing the job... [2025-03-20 04:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:22:04] Production.INFO: ==10520== Lock acquired, processing the job... [2025-03-20 04:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720358') end [2025-03-20 04:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:22:04] Production.INFO: 1 [2025-03-20 04:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:22:04] Production.INFO: ==10522== Releasing lock... [2025-03-20 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:22:04] Production.INFO: Account Balance Start. [2025-03-20 04:22:04] Production.INFO: CreateAllLog Start [2025-03-20 04:22:04] Production.INFO: 117 [2025-03-20 04:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:04] Production.ERROR: done [2025-03-20 04:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:22:04] Production.INFO: ==10514== Releasing lock... [2025-03-20 04:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:04] Production.ERROR: done [2025-03-20 04:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:22:05] Production.INFO: Total Charge 0 [2025-03-20 04:22:05] Production.INFO: CreateAllLog End [2025-03-20 04:22:05] Production.INFO: Account Balance End. [2025-03-20 04:22:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:22:05] Production.INFO: ==10518== Releasing lock... [2025-03-20 04:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:22:05 [end_date_ymd] => 2025-03-20 04:22:05 [RateCDR] => 1 ) [2025-03-20 04:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:22:05' and `end` < '2025-03-20 04:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:22:12] Production.ERROR: CronJobId end10 [2025-03-20 04:22:12] Production.INFO: ==10516== Releasing lock... [2025-03-20 04:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:22:14] Production.INFO: call_cost start [2025-03-20 04:22:14] Production.INFO: call_cost end [2025-03-20 04:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:22:15] Production.INFO: ==10512== Releasing lock... [2025-03-20 04:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:22:18] Production.INFO: count ==486 [2025-03-20 04:22:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:22:05 - End Time 2025-03-20 04:22:05 [2025-03-20 04:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720361', 'tblTempUsageDetail_20' ) start [2025-03-20 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720361', 'tblTempUsageDetail_20' ) end [2025-03-20 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720361', 'tblTempVendorCDR_20' ) start [2025-03-20 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720361', 'tblTempVendorCDR_20' ) end [2025-03-20 04:22:18] Production.INFO: ProcessCDR(1,14720361,1,1,2) [2025-03-20 04:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720361', 'tblTempUsageDetail_20' ) start [2025-03-20 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720361', 'tblTempUsageDetail_20' ) end [2025-03-20 04:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:22:21] Production.INFO: ==10520== Releasing lock... [2025-03-20 04:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:22:21] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:23:01] Production.INFO: ==10585== Lock acquired, processing the job... [2025-03-20 08:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:23:01] Production.INFO: neon service started [2025-03-20 08:23:01] Production.INFO: neon service started [2025-03-20 08:23:01] Production.INFO: ==10585== Releasing lock... [2025-03-20 08:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:23:01] Production.INFO: ==10587== Lock acquired, processing the job... [2025-03-20 04:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:23:02] Production.INFO: ==10587== Releasing lock... [2025-03-20 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:23:02] Production.INFO: ==10589== Lock acquired, processing the job... [2025-03-20 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:23:02] Production.INFO: ==10589== Releasing lock... [2025-03-20 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:23:02] Production.INFO: ==10592== Lock acquired, processing the job... [2025-03-20 04:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:23:02] Production.INFO: ==10594== Lock acquired, processing the job... [2025-03-20 04:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:23:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:23:02] Production.INFO: ==10596== Lock acquired, processing the job... [2025-03-20 04:23:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:23:02] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:23:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:23:02] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:23:02] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:23:03] Production.INFO: ==10594== Releasing lock... [2025-03-20 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:23:03] Production.INFO: ==10598== Lock acquired, processing the job... [2025-03-20 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:23:03] Production.INFO: ==10602== Lock acquired, processing the job... [2025-03-20 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:23:03] Production.INFO: ==10600== Lock acquired, processing the job... [2025-03-20 04:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:23:03] Production.INFO: Account Balance Start. [2025-03-20 04:23:03] Production.INFO: CreateAllLog Start [2025-03-20 04:23:03] Production.INFO: 117 [2025-03-20 04:23:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 04:23:03] Production.INFO: count ==12 [2025-03-20 04:23:03] Production.INFO: Date 2025-03-09 [2025-03-20 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-03-20 04:23:03] Production.INFO: count ==23 [2025-03-20 04:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720365') start [2025-03-20 04:23:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720365') end [2025-03-20 04:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:23:04] Production.INFO: 1 [2025-03-20 04:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:23:04] Production.ERROR: done [2025-03-20 04:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:04] Production.INFO: ==10602== Releasing lock... [2025-03-20 04:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:04] Production.ERROR: done [2025-03-20 04:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:23:04] Production.INFO: Total Charge 0 [2025-03-20 04:23:04] Production.INFO: CreateAllLog End [2025-03-20 04:23:04] Production.INFO: Account Balance End. [2025-03-20 04:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:23:04] Production.INFO: ==10598== Releasing lock... [2025-03-20 04:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:23:05 [end_date_ymd] => 2025-03-20 04:23:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:23:05' and `end` < '2025-03-20 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-03-20 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_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-03-20 04:23:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:23:11] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:23:11] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:23:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:23:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:23:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:23:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:23:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:23:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:23:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:23:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:23:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:23:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:23:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:23:11] Production.INFO: call_cost start [2025-03-20 04:23:11] Production.INFO: call_cost end [2025-03-20 04:23:12] Production.ERROR: CronJobId end10 [2025-03-20 04:23:12] Production.INFO: ==10596== Releasing lock... [2025-03-20 04:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:23:12] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:23:12] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:23:12] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:23:12] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:23:12] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:23:12] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:23:12] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:23:12] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:23:12] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:23:12] Production.INFO: ==10592== Releasing lock... [2025-03-20 04:23:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:23:12] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:23:17] Production.INFO: count ==486 [2025-03-20 04:23:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:23:05 - End Time 2025-03-20 04:23:05 [2025-03-20 04:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720366', 'tblTempUsageDetail_20' ) start [2025-03-20 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720366', 'tblTempUsageDetail_20' ) end [2025-03-20 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720366', 'tblTempVendorCDR_20' ) start [2025-03-20 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720366', 'tblTempVendorCDR_20' ) end [2025-03-20 04:23:17] Production.INFO: ProcessCDR(1,14720366,1,1,2) [2025-03-20 04:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720366', 'tblTempUsageDetail_20' ) start [2025-03-20 04:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720366', 'tblTempUsageDetail_20' ) end [2025-03-20 04:23:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:23:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:23:20] Production.INFO: ==10600== Releasing lock... [2025-03-20 04:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:23:20] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:24:02] Production.INFO: ==10670== Lock acquired, processing the job... [2025-03-20 08:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:24:02] Production.INFO: neon service started [2025-03-20 08:24:02] Production.INFO: neon service started [2025-03-20 08:24:02] Production.INFO: ==10670== Releasing lock... [2025-03-20 08:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:24:02] Production.INFO: ==10674== Lock acquired, processing the job... [2025-03-20 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:24:02] Production.INFO: ==10674== Releasing lock... [2025-03-20 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:24:02] Production.INFO: ==10672== Lock acquired, processing the job... [2025-03-20 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:24:02] Production.INFO: ==10672== Releasing lock... [2025-03-20 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:24:03] Production.INFO: ==10685== Lock acquired, processing the job... [2025-03-20 04:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:24:04] Production.INFO: ==10687== Lock acquired, processing the job... [2025-03-20 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:24:04] Production.ERROR: done [2025-03-20 04:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:24:04] Production.INFO: ==10677== Lock acquired, processing the job... [2025-03-20 04:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:24:04] Production.INFO: ==10679== Lock acquired, processing the job... [2025-03-20 04:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:24:04] Production.INFO: ==10683== Lock acquired, processing the job... [2025-03-20 04:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:24:04] Production.INFO: ==10681== Lock acquired, processing the job... [2025-03-20 04:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:24:04] Production.INFO: count ==12 [2025-03-20 04:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:24:04] Production.INFO: count ==23 [2025-03-20 04:24:04] Production.ERROR: done [2025-03-20 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720367') start [2025-03-20 04:24:04] Production.INFO: Account Balance Start. [2025-03-20 04:24:04] Production.INFO: CreateAllLog Start [2025-03-20 04:24:04] Production.INFO: 117 [2025-03-20 04:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720367') end [2025-03-20 04:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:24:04] Production.INFO: 1 [2025-03-20 04:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:24:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: ==10687== Releasing lock... [2025-03-20 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: ==10679== Releasing lock... [2025-03-20 04:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:24:04] Production.INFO: Total Charge 0 [2025-03-20 04:24:04] Production.INFO: CreateAllLog End [2025-03-20 04:24:05] Production.INFO: Account Balance End. [2025-03-20 04:24:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:24:05] Production.INFO: ==10683== Releasing lock... [2025-03-20 04:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:24:05 [end_date_ymd] => 2025-03-20 04:24:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:24:05' and `end` < '2025-03-20 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-03-20 04:24:12] Production.ERROR: CronJobId end10 [2025-03-20 04:24:12] Production.INFO: ==10681== Releasing lock... [2025-03-20 04:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:24:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:24:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:24:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:24:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:24:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:24:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:24:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:24:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:24:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:24:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:24:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:24:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:24:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:24:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:24:15] Production.INFO: call_cost start [2025-03-20 04:24:15] Production.INFO: call_cost end [2025-03-20 04:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:24:16] Production.INFO: ==10677== Releasing lock... [2025-03-20 04:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:24:17] Production.INFO: count ==486 [2025-03-20 04:24:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:24:05 - End Time 2025-03-20 04:24:05 [2025-03-20 04:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720368', 'tblTempUsageDetail_20' ) start [2025-03-20 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720368', 'tblTempUsageDetail_20' ) end [2025-03-20 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720368', 'tblTempVendorCDR_20' ) start [2025-03-20 04:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720368', 'tblTempVendorCDR_20' ) end [2025-03-20 04:24:17] Production.INFO: ProcessCDR(1,14720368,1,1,2) [2025-03-20 04:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720368', 'tblTempUsageDetail_20' ) start [2025-03-20 04:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720368', 'tblTempUsageDetail_20' ) end [2025-03-20 04:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:24:21] Production.INFO: ==10685== Releasing lock... [2025-03-20 04:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:24:21] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:25:01] Production.INFO: ==10749== Lock acquired, processing the job... [2025-03-20 08:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:25:01] Production.INFO: neon service started [2025-03-20 08:25:01] Production.INFO: neon service started [2025-03-20 08:25:01] Production.INFO: ==10749== Releasing lock... [2025-03-20 08:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:25:01] Production.INFO: ==10753== Lock acquired, processing the job... [2025-03-20 08:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:25:01] Production.INFO: ==10753== Releasing lock... [2025-03-20 08:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:25:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:25:02] Production.INFO: ==10751== Lock acquired, processing the job... [2025-03-20 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:25:02] Production.INFO: ==10751== Releasing lock... [2025-03-20 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:25:02] Production.INFO: ==10756== Lock acquired, processing the job... [2025-03-20 04:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:25:03] Production.INFO: ==10758== Lock acquired, processing the job... [2025-03-20 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:25:03] Production.INFO: ==10760== Lock acquired, processing the job... [2025-03-20 04:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:25:03] Production.INFO: ==10758== Releasing lock... [2025-03-20 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:25:03] Production.INFO: ==10766== Lock acquired, processing the job... [2025-03-20 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:25:03] Production.INFO: ==10762== Lock acquired, processing the job... [2025-03-20 04:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:25:03] Production.INFO: ==10764== Lock acquired, processing the job... [2025-03-20 04:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 04:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:25:03] Production.INFO: Account Balance Start. [2025-03-20 04:25:03] Production.INFO: CreateAllLog Start [2025-03-20 04:25:03] Production.INFO: 117 [2025-03-20 04:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:25:03] Production.INFO: count ==12 [2025-03-20 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-03-20 04:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:03] Production.INFO: count ==23 [2025-03-20 04:25:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720374') start [2025-03-20 04:25:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720374') end [2025-03-20 04:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:25:03] Production.INFO: 1 [2025-03-20 04:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:25:03] Production.INFO: Date 2025-03-15 [2025-03-20 04:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:03] Production.INFO: Date 2025-03-16 [2025-03-20 04:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:03] Production.INFO: ==10766== Releasing lock... [2025-03-20 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:25:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:04] Production.ERROR: done [2025-03-20 04:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:25:04] Production.INFO: Total Charge 0 [2025-03-20 04:25:04] Production.INFO: CreateAllLog End [2025-03-20 04:25:04] Production.ERROR: done [2025-03-20 04:25:04] Production.INFO: Account Balance End. [2025-03-20 04:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:25:04] Production.INFO: ==10762== Releasing lock... [2025-03-20 04:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:25:05 [end_date_ymd] => 2025-03-20 04:25:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:25:05' and `end` < '2025-03-20 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-03-20 04:25:11] Production.ERROR: CronJobId end10 [2025-03-20 04:25:11] Production.INFO: ==10760== Releasing lock... [2025-03-20 04:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:25:14] Production.INFO: call_cost start [2025-03-20 04:25:14] Production.INFO: call_cost end [2025-03-20 04:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:25:15] Production.INFO: ==10756== Releasing lock... [2025-03-20 04:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:25:17] Production.INFO: count ==486 [2025-03-20 04:25:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:25:05 - End Time 2025-03-20 04:25:05 [2025-03-20 04:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720376', 'tblTempUsageDetail_20' ) start [2025-03-20 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720376', 'tblTempUsageDetail_20' ) end [2025-03-20 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720376', 'tblTempVendorCDR_20' ) start [2025-03-20 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720376', 'tblTempVendorCDR_20' ) end [2025-03-20 04:25:17] Production.INFO: ProcessCDR(1,14720376,1,1,2) [2025-03-20 04:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720376', 'tblTempUsageDetail_20' ) start [2025-03-20 04:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720376', 'tblTempUsageDetail_20' ) end [2025-03-20 04:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:25:20] Production.INFO: ==10764== Releasing lock... [2025-03-20 04:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:25:20] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:26:01] Production.INFO: ==10833== Lock acquired, processing the job... [2025-03-20 08:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:26:01] Production.INFO: neon service started [2025-03-20 08:26:01] Production.INFO: neon service started [2025-03-20 08:26:01] Production.INFO: ==10833== Releasing lock... [2025-03-20 08:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:26:02] Production.INFO: ==10837== Lock acquired, processing the job... [2025-03-20 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:26:02] Production.INFO: ==10837== Releasing lock... [2025-03-20 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:26:02] Production.INFO: ==10835== Lock acquired, processing the job... [2025-03-20 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:26:02] Production.INFO: ==10835== Releasing lock... [2025-03-20 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:26:03] Production.INFO: ==10846== Lock acquired, processing the job... [2025-03-20 04:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:26:03] Production.INFO: ==10848== Lock acquired, processing the job... [2025-03-20 04:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:26:04] Production.INFO: ==10840== Lock acquired, processing the job... [2025-03-20 04:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:26:04] Production.INFO: Account Balance Start. [2025-03-20 04:26:04] Production.INFO: CreateAllLog Start [2025-03-20 04:26:04] Production.INFO: 117 [2025-03-20 04:26:04] Production.INFO: ==10844== Lock acquired, processing the job... [2025-03-20 04:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:26:04] Production.INFO: ==10842== Lock acquired, processing the job... [2025-03-20 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:26:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:26:04] Production.INFO: ==10850== Lock acquired, processing the job... [2025-03-20 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:26:04] Production.ERROR: done [2025-03-20 04:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:26:04] Production.INFO: count ==12 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:26:04] Production.INFO: count ==23 [2025-03-20 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720379') start [2025-03-20 04:26:04] Production.ERROR: done [2025-03-20 04:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720379') end [2025-03-20 04:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:26:04] Production.INFO: 1 [2025-03-20 04:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:26:04] Production.INFO: ==10850== Releasing lock... [2025-03-20 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:26:04] Production.INFO: ==10842== Releasing lock... [2025-03-20 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:26:05] Production.INFO: Total Charge 0 [2025-03-20 04:26:05] Production.INFO: CreateAllLog End [2025-03-20 04:26:05] Production.INFO: Account Balance End. [2025-03-20 04:26:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:26:05] Production.INFO: ==10846== Releasing lock... [2025-03-20 04:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:26:05 [end_date_ymd] => 2025-03-20 04:26:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:26:05' and `end` < '2025-03-20 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-03-20 04:26:11] Production.ERROR: CronJobId end10 [2025-03-20 04:26:11] Production.INFO: ==10844== Releasing lock... [2025-03-20 04:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:26:14] Production.INFO: call_cost start [2025-03-20 04:26:14] Production.INFO: call_cost end [2025-03-20 04:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:26:15] Production.INFO: ==10840== Releasing lock... [2025-03-20 04:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:26:17] Production.INFO: count ==486 [2025-03-20 04:26:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:26:05 - End Time 2025-03-20 04:26:05 [2025-03-20 04:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720381', 'tblTempUsageDetail_20' ) start [2025-03-20 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720381', 'tblTempUsageDetail_20' ) end [2025-03-20 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720381', 'tblTempVendorCDR_20' ) start [2025-03-20 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720381', 'tblTempVendorCDR_20' ) end [2025-03-20 04:26:18] Production.INFO: ProcessCDR(1,14720381,1,1,2) [2025-03-20 04:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720381', 'tblTempUsageDetail_20' ) start [2025-03-20 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720381', 'tblTempUsageDetail_20' ) end [2025-03-20 04:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:26:21] Production.INFO: ==10848== Releasing lock... [2025-03-20 04:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:26:21] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:27:01] Production.INFO: ==10913== Lock acquired, processing the job... [2025-03-20 08:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:27:01] Production.INFO: neon service started [2025-03-20 08:27:01] Production.INFO: neon service started [2025-03-20 08:27:01] Production.INFO: ==10913== Releasing lock... [2025-03-20 08:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:27:01] Production.INFO: ==10915== Lock acquired, processing the job... [2025-03-20 04:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:27:02] Production.INFO: ==10915== Releasing lock... [2025-03-20 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:27:02] Production.INFO: ==10917== Lock acquired, processing the job... [2025-03-20 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:27:02] Production.INFO: ==10917== Releasing lock... [2025-03-20 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:27:02] Production.INFO: ==10926== Lock acquired, processing the job... [2025-03-20 04:27:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:27:03] Production.INFO: ==10930== Lock acquired, processing the job... [2025-03-20 04:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:27:03] Production.INFO: ==10920== Lock acquired, processing the job... [2025-03-20 04:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:27:03] Production.INFO: Account Balance Start. [2025-03-20 04:27:03] Production.INFO: CreateAllLog Start [2025-03-20 04:27:03] Production.INFO: 117 [2025-03-20 04:27:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:27:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.INFO: ==10924== Lock acquired, processing the job... [2025-03-20 04:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:27:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:27:03] Production.INFO: ==10922== Lock acquired, processing the job... [2025-03-20 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:27:03] Production.INFO: count ==12 [2025-03-20 04:27:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:27:03] Production.INFO: count ==23 [2025-03-20 04:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720384') start [2025-03-20 04:27:03] Production.INFO: ==10928== Lock acquired, processing the job... [2025-03-20 04:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:27:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:27:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:27:03] Production.INFO: Date 2025-03-15 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720384') end [2025-03-20 04:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:27:03] Production.INFO: 1 [2025-03-20 04:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:27:03] Production.INFO: Date 2025-03-16 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.INFO: Date 2025-03-17 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.INFO: ==10930== Releasing lock... [2025-03-20 04:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:27:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:27:03] Production.INFO: Date 2025-03-18 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.INFO: Date 2025-03-19 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.INFO: Date 2025-03-20 [2025-03-20 04:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:27:03] Production.INFO: Total Charge 0 [2025-03-20 04:27:03] Production.INFO: CreateAllLog End [2025-03-20 04:27:03] Production.INFO: ==10922== Releasing lock... [2025-03-20 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:27:03] Production.ERROR: done [2025-03-20 04:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:27:04] Production.INFO: Account Balance End. [2025-03-20 04:27:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:27:04] Production.INFO: ==10926== Releasing lock... [2025-03-20 04:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:27:04] Production.ERROR: done [2025-03-20 04:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:27:05 [end_date_ymd] => 2025-03-20 04:27:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:27:05' and `end` < '2025-03-20 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-03-20 04:27:10] Production.ERROR: CronJobId end10 [2025-03-20 04:27:10] Production.INFO: ==10924== Releasing lock... [2025-03-20 04:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:27:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:27:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:27:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:27:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:27:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:27:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:27:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:27:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:27:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:27:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:27:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:27:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:27:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:27:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:27:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:27:13] Production.INFO: call_cost start [2025-03-20 04:27:13] Production.INFO: call_cost end [2025-03-20 04:27:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:27:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:27:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:27:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:27:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:27:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:27:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:27:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:27:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:27:14] Production.INFO: ==10920== Releasing lock... [2025-03-20 04:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:27:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:27:17] Production.INFO: count ==484 [2025-03-20 04:27:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:27:05 - End Time 2025-03-20 04:27:05 [2025-03-20 04:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720386', 'tblTempUsageDetail_20' ) start [2025-03-20 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720386', 'tblTempUsageDetail_20' ) end [2025-03-20 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720386', 'tblTempVendorCDR_20' ) start [2025-03-20 04:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720386', 'tblTempVendorCDR_20' ) end [2025-03-20 04:27:17] Production.INFO: ProcessCDR(1,14720386,1,1,2) [2025-03-20 04:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720386', 'tblTempUsageDetail_20' ) start [2025-03-20 04:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720386', 'tblTempUsageDetail_20' ) end [2025-03-20 04:27:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:27:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:27:20] Production.INFO: ==10928== Releasing lock... [2025-03-20 04:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:27:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:28:01] Production.INFO: ==10996== Lock acquired, processing the job... [2025-03-20 08:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:28:01] Production.INFO: neon service started [2025-03-20 08:28:01] Production.INFO: neon service started [2025-03-20 08:28:01] Production.INFO: ==10996== Releasing lock... [2025-03-20 08:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:28:02] Production.INFO: ==10998== Lock acquired, processing the job... [2025-03-20 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:28:02] Production.INFO: ==10998== Releasing lock... [2025-03-20 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:28:02] Production.INFO: ==11000== Lock acquired, processing the job... [2025-03-20 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:28:02] Production.INFO: ==11000== Releasing lock... [2025-03-20 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:28:03] Production.INFO: ==11006== Lock acquired, processing the job... [2025-03-20 04:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:28:03] Production.INFO: ==11010== Lock acquired, processing the job... [2025-03-20 04:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:28:03] Production.INFO: ==11002== Lock acquired, processing the job... [2025-03-20 04:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:28:03] Production.INFO: ==11004== Lock acquired, processing the job... [2025-03-20 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:28:03] Production.INFO: ==11008== Lock acquired, processing the job... [2025-03-20 04:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:28:03] Production.INFO: ==11013== Lock acquired, processing the job... [2025-03-20 04:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:28:03] Production.ERROR: done [2025-03-20 04:28:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:28:03] Production.INFO: Account Balance Start. [2025-03-20 04:28:03] Production.INFO: CreateAllLog Start [2025-03-20 04:28:03] Production.INFO: 117 [2025-03-20 04:28:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.ERROR: done [2025-03-20 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-03-20 04:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.INFO: count ==12 [2025-03-20 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-03-20 04:28:04] Production.INFO: count ==23 [2025-03-20 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720390') start [2025-03-20 04:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720390') end [2025-03-20 04:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:28:04] Production.INFO: 1 [2025-03-20 04:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.INFO: ==11013== Releasing lock... [2025-03-20 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:28:04] Production.INFO: ==11004== Releasing lock... [2025-03-20 04:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:28:04] Production.INFO: Total Charge 0 [2025-03-20 04:28:04] Production.INFO: CreateAllLog End [2025-03-20 04:28:05] Production.INFO: Account Balance End. [2025-03-20 04:28:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:28:05] Production.INFO: ==11008== Releasing lock... [2025-03-20 04:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:28:05 [end_date_ymd] => 2025-03-20 04:28:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:28:05' and `end` < '2025-03-20 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-03-20 04:28:11] Production.ERROR: CronJobId end10 [2025-03-20 04:28:11] Production.INFO: ==11006== Releasing lock... [2025-03-20 04:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:28:14] Production.INFO: call_cost start [2025-03-20 04:28:14] Production.INFO: call_cost end [2025-03-20 04:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:28:15] Production.INFO: ==11002== Releasing lock... [2025-03-20 04:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:28:17] Production.INFO: count ==484 [2025-03-20 04:28:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:28:05 - End Time 2025-03-20 04:28:05 [2025-03-20 04:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720391', 'tblTempUsageDetail_20' ) start [2025-03-20 04:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720391', 'tblTempUsageDetail_20' ) end [2025-03-20 04:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720391', 'tblTempVendorCDR_20' ) start [2025-03-20 04:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720391', 'tblTempVendorCDR_20' ) end [2025-03-20 04:28:17] Production.INFO: ProcessCDR(1,14720391,1,1,2) [2025-03-20 04:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720391', 'tblTempUsageDetail_20' ) start [2025-03-20 04:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720391', 'tblTempUsageDetail_20' ) end [2025-03-20 04:28:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:28:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:28:20] Production.INFO: ==11010== Releasing lock... [2025-03-20 04:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:28:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:29:02] Production.INFO: ==11080== Lock acquired, processing the job... [2025-03-20 08:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:29:02] Production.INFO: neon service started [2025-03-20 08:29:02] Production.INFO: neon service started [2025-03-20 08:29:02] Production.INFO: ==11080== Releasing lock... [2025-03-20 08:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:29:02] Production.INFO: ==11084== Lock acquired, processing the job... [2025-03-20 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:29:02] Production.INFO: ==11084== Releasing lock... [2025-03-20 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:29:02] Production.INFO: ==11082== Lock acquired, processing the job... [2025-03-20 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:29:03] Production.INFO: ==11082== Releasing lock... [2025-03-20 04:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:29:03] Production.INFO: ==11089== Lock acquired, processing the job... [2025-03-20 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:29:03] Production.INFO: ==11091== Lock acquired, processing the job... [2025-03-20 04:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:29:04] Production.INFO: ==11097== Lock acquired, processing the job... [2025-03-20 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:29:04] Production.INFO: ==11089== Releasing lock... [2025-03-20 04:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:29:04] Production.INFO: ==11087== Lock acquired, processing the job... [2025-03-20 04:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:29:04] Production.INFO: ==11093== Lock acquired, processing the job... [2025-03-20 04:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:29:04] Production.INFO: ==11095== Lock acquired, processing the job... [2025-03-20 04:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:29:04] Production.INFO: count ==12 [2025-03-20 04:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:29:04] Production.INFO: count ==23 [2025-03-20 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720393') start [2025-03-20 04:29:04] Production.INFO: Account Balance Start. [2025-03-20 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720393') end [2025-03-20 04:29:04] Production.INFO: CreateAllLog Start [2025-03-20 04:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:29:04] Production.INFO: 1 [2025-03-20 04:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:29:04] Production.INFO: 117 [2025-03-20 04:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:04] Production.INFO: ==11097== Releasing lock... [2025-03-20 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:29:04] Production.ERROR: done [2025-03-20 04:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:04] Production.ERROR: done [2025-03-20 04:29:05] Production.INFO: Date 2025-03-11 [2025-03-20 04:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:05] Production.INFO: Date 2025-03-12 [2025-03-20 04:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:05] Production.INFO: Date 2025-03-13 [2025-03-20 04:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:05] Production.INFO: Date 2025-03-14 [2025-03-20 04:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:05] Production.INFO: Date 2025-03-15 [2025-03-20 04:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:29:05] Production.INFO: Total Charge 0 [2025-03-20 04:29:05] Production.INFO: CreateAllLog End [2025-03-20 04:29:05] Production.INFO: Account Balance End. [2025-03-20 04:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:29:05] Production.INFO: ==11093== Releasing lock... [2025-03-20 04:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:29:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:29:06 [end_date_ymd] => 2025-03-20 04:29:06 [RateCDR] => 1 ) [2025-03-20 04:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:29:06' and `end` < '2025-03-20 04:29:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:29:11] Production.ERROR: CronJobId end10 [2025-03-20 04:29:11] Production.INFO: ==11091== Releasing lock... [2025-03-20 04:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:29:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:29:15] Production.INFO: call_cost start [2025-03-20 04:29:15] Production.INFO: call_cost end [2025-03-20 04:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:29:16] Production.INFO: ==11087== Releasing lock... [2025-03-20 04:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:29:18] Production.INFO: count ==481 [2025-03-20 04:29:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:29:06 - End Time 2025-03-20 04:29:06 [2025-03-20 04:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720396', 'tblTempUsageDetail_20' ) start [2025-03-20 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720396', 'tblTempUsageDetail_20' ) end [2025-03-20 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720396', 'tblTempVendorCDR_20' ) start [2025-03-20 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720396', 'tblTempVendorCDR_20' ) end [2025-03-20 04:29:18] Production.INFO: ProcessCDR(1,14720396,1,1,2) [2025-03-20 04:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720396', 'tblTempUsageDetail_20' ) start [2025-03-20 04:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720396', 'tblTempUsageDetail_20' ) end [2025-03-20 04:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:29:21] Production.INFO: ==11095== Releasing lock... [2025-03-20 04:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:29:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:30:01] Production.INFO: ==11157== Lock acquired, processing the job... [2025-03-20 08:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:30:01] Production.INFO: neon service started [2025-03-20 08:30:01] Production.INFO: neon service started [2025-03-20 08:30:01] Production.INFO: ==11157== Releasing lock... [2025-03-20 08:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:30:02] Production.INFO: ==11159== Lock acquired, processing the job... [2025-03-20 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:30:02] Production.INFO: ==11159== Releasing lock... [2025-03-20 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:30:02] Production.INFO: ==11161== Lock acquired, processing the job... [2025-03-20 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:30:02] Production.INFO: ==11161== Releasing lock... [2025-03-20 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:30:03] Production.INFO: ==11163== Lock acquired, processing the job... [2025-03-20 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 04:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 04:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 04:30:03] Production.INFO: ==11163== Releasing lock... [2025-03-20 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 04:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 04:30:03] Production.INFO: ==11165== Lock acquired, processing the job... [2025-03-20 04:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:30:04] Production.INFO: ==11167== Lock acquired, processing the job... [2025-03-20 04:30:04] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Starts# [2025-03-20 04:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:30:04] Production.INFO: ==11169== Lock acquired, processing the job... [2025-03-20 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:30:04] Production.INFO: ==11171== Lock acquired, processing the job... [2025-03-20 04:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:30:04] Production.INFO: ==11173== Lock acquired, processing the job... [2025-03-20 04:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:30:04] Production.INFO: ==11176== Lock acquired, processing the job... [2025-03-20 04:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:30:04] Production.INFO: ==11178== Lock acquired, processing the job... [2025-03-20 04:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 04:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-03-20,'','0') [2025-03-20 04:30:04] Production.INFO: Array ( [0] => stdClass Object ( [AccountID] => 19 [NextInvoiceDate] => 2025-03-20 [AccountName] => Craig Travel [ServiceID] => 0 ) [1] => stdClass Object ( [AccountID] => 121 [NextInvoiceDate] => 2025-03-20 [AccountName] => Dominos 10462 (Anwar Hossain) [ServiceID] => 0 ) [2] => stdClass Object ( [AccountID] => 258 [NextInvoiceDate] => 2025-03-10 [AccountName] => Lion Motors [ServiceID] => 0 ) ) [2025-03-20 04:30:04] Production.INFO: AccountID =19 FirstInvoiceSend 0 [2025-03-20 04:30:04] Production.INFO: LastInvoiceDate 2025-02-20 NextInvoiceDate 2025-03-20 [2025-03-20 04:30:04] Production.INFO: LastChargeDate 2025-02-20 NextChargeDate 2025-03-19 [2025-03-20 04:30:04] Production.INFO: Account Balance Start. [2025-03-20 04:30:04] Production.INFO: CreateAllLog Start [2025-03-20 04:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:30:04] Production.INFO: 117 [2025-03-20 04:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:04] Production.INFO: ==11180== Lock acquired, processing the job... [2025-03-20 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:30:04] Production.INFO: ==11169== Releasing lock... [2025-03-20 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:04] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-03-20 04:30:04] Production.INFO: ========================== Invoice Send Start ============================= [2025-03-20 04:30:04] Production.INFO: Invoice::sendInvoice(1,19,2025-02-20,2025-03-20,billing@onswitchit.ca) [2025-03-20 04:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:30:04] Production.INFO: start Date =2025-02-20 EndDate =2025-03-19 23:59:59 [2025-03-20 04:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:30:04] Production.INFO: count ==12 [2025-03-20 04:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 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-03-20 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-03-20 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-03-20 04:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:04] Production.INFO: count ==23 [2025-03-20 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-03-20 04:30:04] Production.ERROR: done [2025-03-20 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720401') start [2025-03-20 04:30:04] Production.INFO: AlreadyBilled [2025-03-20 04:30:04] Production.ERROR: done [2025-03-20 04:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:30:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 04:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720402', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 04:30:04] Production.INFO: original start date ==>2025-02-20 changed start date ==>2025-02-20 00:00:00 original end date ==>2025-03-19 23:59:59 changed end date ==>2025-03-19 23:59:59 [2025-03-20 04:30:05] Production.INFO: Date 2025-03-15 [2025-03-20 04:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720401') end [2025-03-20 04:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:30:05] Production.INFO: 1 [2025-03-20 04:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:05] Production.INFO: ==11180== Releasing lock... [2025-03-20 04:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:30:05] Production.INFO: CompanyGatewayID 1 TotalCharges ==>34.47000000 [2025-03-20 04:30:05] Production.INFO: Invoice::getAccountUsageTotal(1,19,2025-02-20,2025-03-19 23:59:59) [2025-03-20 04:30:05] Production.INFO: TotalCharges - 34.47 [2025-03-20 04:30:05] Production.INFO: TotalUsageCharges - 34.47 [2025-03-20 04:30:05] Production.ERROR: done [2025-03-20 04:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:30:05] Production.INFO: Usage Over [2025-03-20 04:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:05] Production.INFO: Call prc_getAccountSubscription(19,0) [2025-03-20 04:30:05] Production.INFO: SUBSCRIPTION 2 [2025-03-20 04:30:05] Production.INFO: ============================Subscription Start ================= [2025-03-20 04:30:05] Production.INFO: SubscriptionID - 1 [2025-03-20 04:30:05] Production.INFO: isAdvanceSubscription - 1 [2025-03-20 04:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:05] Production.INFO: SubscriptionStartDate =2025-03-20 - SubscriptionEndDate = 2025-04-19 [2025-03-20 04:30:05] Production.INFO: NewNextChargeDate =2025-04-19 00:00:00 [2025-03-20 04:30:05] Production.INFO: EndDate =2025-03-19 00:00:00 [2025-03-20 04:30:05] Production.INFO: NewEndDate1 =2025-03-20 [2025-03-20 04:30:05] Production.INFO: SubscriptionDate [2025-03-20 04:30:05] Production.INFO: Array ( [StartDate] => 2025-03-20 [EndDate] => 2025-04-19 00:00:00 [AlreadyCharged] => 0 ) [2025-03-20 04:30:05] Production.INFO: Total Charge 0 [2025-03-20 04:30:05] Production.INFO: AccountSubscription StartDate 2017-04-20 StartDate 2025-02-20 [2025-03-20 04:30:05] Production.INFO: SubscriptionID - 2025-03-20=====2025-04-19 00:00:00 [2025-03-20 04:30:05] Production.INFO: AccountSubscriptionID - 27 === 2017-04-20=====2026-03-20 [2025-03-20 04:30:05] Production.INFO: regular Advance Subscription [2025-03-20 04:30:05] Production.INFO: First Time False 2017-04-20 2025-03-20 [2025-03-20 04:30:05] Production.INFO: StartDate 2025-03-20 AccountSubscription->StartDate 2017-04-20 EndDate 2025-04-19 00:00:00 AccountSubscription->EndDate 2026-03-20 [2025-03-20 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-20 04:30:05] Production.INFO: CreateAllLog End [2025-03-20 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(27,2025-03-20,2025-04-19 00:00:00,,0) [2025-03-20 04:30:05] Production.INFO: SubscriptionCharge - 10 [2025-03-20 04:30:05] Production.INFO: Already Invoice Subscription 0 [2025-03-20 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(19,1,1,2025-03-20,2025-04-19 00:00:00,License for a Pay As You Go Cloud Phone extension,220,10,22,27) [2025-03-20 04:30:05] Production.INFO: DiscountAmount 0.000000 [2025-03-20 04:30:05] Production.INFO: DiscountType [2025-03-20 04:30:05] Production.INFO: SubscriptionCharge 220 [2025-03-20 04:30:05] Production.INFO: New SubscriptionCharge 220 [2025-03-20 04:30:05] Production.INFO: TotalSubscriptionCharge - 220.00 [2025-03-20 04:30:05] Production.INFO: ============================Subscription End ================= [2025-03-20 04:30:05] Production.INFO: ============================Subscription Start ================= [2025-03-20 04:30:05] Production.INFO: SubscriptionID - 4 [2025-03-20 04:30:05] Production.INFO: isAdvanceSubscription - 4 [2025-03-20 04:30:05] Production.INFO: SubscriptionStartDate =2025-03-20 - SubscriptionEndDate = 2025-04-19 [2025-03-20 04:30:05] Production.INFO: NewNextChargeDate =2025-04-19 00:00:00 [2025-03-20 04:30:05] Production.INFO: EndDate =2025-03-19 00:00:00 [2025-03-20 04:30:05] Production.INFO: NewEndDate1 =2025-03-20 [2025-03-20 04:30:05] Production.INFO: SubscriptionDate [2025-03-20 04:30:05] Production.INFO: Array ( [StartDate] => 2025-03-20 [EndDate] => 2025-04-19 00:00:00 [AlreadyCharged] => 0 ) [2025-03-20 04:30:05] Production.INFO: AccountSubscription StartDate 2017-04-20 StartDate 2025-02-20 [2025-03-20 04:30:05] Production.INFO: SubscriptionID - 2025-03-20=====2025-04-19 00:00:00 [2025-03-20 04:30:05] Production.INFO: AccountSubscriptionID - 28 === 2017-04-20=====2026-03-20 [2025-03-20 04:30:05] Production.INFO: regular Advance Subscription [2025-03-20 04:30:05] Production.INFO: First Time False 2017-04-20 2025-03-20 [2025-03-20 04:30:05] Production.INFO: StartDate 2025-03-20 AccountSubscription->StartDate 2017-04-20 EndDate 2025-04-19 00:00:00 AccountSubscription->EndDate 2026-03-20 [2025-03-20 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-20 04:30:05] Production.INFO: Account Balance End. [2025-03-20 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(28,2025-03-20,2025-04-19 00:00:00,,0) [2025-03-20 04:30:05] Production.INFO: SubscriptionCharge - 2.5 [2025-03-20 04:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:30:05] Production.INFO: ==11173== Releasing lock... [2025-03-20 04:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:30:05] Production.INFO: Already Invoice Subscription 0 [2025-03-20 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(19,1,4,2025-03-20,2025-04-19 00:00:00,e911 address registration (14164840926 - 1092 MOUNT PLEASANT RD TORONTO, ON M4P2M6),2.5,2.5,1,28) [2025-03-20 04:30:05] Production.INFO: DiscountAmount 0.000000 [2025-03-20 04:30:05] Production.INFO: DiscountType [2025-03-20 04:30:05] Production.INFO: SubscriptionCharge 2.5 [2025-03-20 04:30:05] Production.INFO: New SubscriptionCharge 2.5 [2025-03-20 04:30:05] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-03-20 04:30:05] Production.INFO: ============================Subscription End ================= [2025-03-20 04:30:05] Production.INFO: SUBSCRIPTION Over [2025-03-20 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(19,0,2025-02-20,2025-03-20 23:59:59) [2025-03-20 04:30:05] Production.INFO: AccountOneOffCharge 0 [2025-03-20 04:30:05] Production.INFO: AccountOneOffCharge Over [2025-03-20 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-03-20 04:30:05] Production.INFO: New UsageDates 2025-02-20 - 2025-03-19 23:59:59 [2025-03-20 04:30:05] Production.INFO: SubTotal 256.97 [2025-03-20 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0 [2025-03-20 04:30:05] Production.INFO: AccountOneOffCharge Tax Over [2025-03-20 04:30:05] Production.INFO: TotalTax 33.4061 [2025-03-20 04:30:05] Production.INFO: InvoiceGrandTotal 290.3761 [2025-03-20 04:30:05] Production.INFO: InvoiceTaxAmount 33.41 [2025-03-20 04:30:05] Production.INFO: GrandTotal 290.38 [2025-03-20 04:30:05] Production.INFO: SubTotal 256.97 [2025-03-20 04:30:05] Production.INFO: TotalDue -326.64 [2025-03-20 04:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:05] Production.INFO: original start date ==>2025-02-20 changed start date ==>2025-02-20 00:00:00 original end date ==>2025-03-19 23:59:59 changed end date ==>2025-03-19 23:59:59 [2025-03-20 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'19','0','1','2025-02-20 00:00:00','2025-03-19 23:59:59',0) [2025-03-20 04:30:05] Production.INFO: PDF Generation start [2025-03-20 04:30:06] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/19/Invoices/2025/03/20/Invoice-craig-travel-inv11739-from-02-20-2025-to-03-19-2025-10680.pdf [2025-03-20 04:30:06] Production.INFO: On Linux [2025-03-20 04:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:30:06 [end_date_ymd] => 2025-03-20 04:30:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:30:06' and `end` < '2025-03-20 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-03-20 04:30:09] 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/19/Invoices/2025/03/20/footer-craig-travel-inv11739-from-02-20-2025-to-03-19-2025-10680.html" "/var/www/tmp/1/19/Invoices/2025/03/20/Invoice-craig-travel-inv11739-from-02-20-2025-to-03-19-2025-10680.html" "/var/www/tmp/1/19/Invoices/2025/03/20/Invoice-craig-travel-inv11739-from-02-20-2025-to-03-19-2025-10680.pdf" [2025-03-20 04:30:09] Production.INFO: [2025-03-20 04:30:09] Production.INFO: /var/www/tmp/1/19/Invoices/2025/03/20/Invoice-craig-travel-inv11739-from-02-20-2025-to-03-19-2025-10680.html [2025-03-20 04:30:09] Production.INFO: /var/www/tmp/1/19/Invoices/2025/03/20/header-craig-travel-inv11739-from-02-20-2025-to-03-19-2025-10680.html [2025-03-20 04:30:09] Production.INFO: /var/www/tmp/1/19/Invoices/2025/03/20/footer-craig-travel-inv11739-from-02-20-2025-to-03-19-2025-10680.html [2025-03-20 04:30:09] Production.INFO: Invoice generation PDF path [2025-03-20 04:30:09] Production.INFO: PDF fullPath 1/19/Invoices/2025/03/20/Invoice-craig-travel-inv11739-from-02-20-2025-to-03-19-2025-10680.pdf [2025-03-20 04:30:09] Production.INFO: Generate Usage File Start [2025-03-20 04:30:09] Production.INFO: Usage File fullPath 1/19/InvoiceUsageFile/2025/03/20/craig-travel-20-02-2025-00-00-00-TO-19-03-2025-23-59-59_4507__89122c00-0565-11f0-afce-d50dd7104ddf.csv [2025-03-20 04:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720402', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 04:30:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 04:30:10] Production.INFO: ProcessCDR(1,14720402,1,1,2) [2025-03-20 04:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720402,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720402,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:30:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:30:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:30:10] Production.INFO: ==11178== Releasing lock... [2025-03-20 04:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 04:30:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 04:30:13] Production.INFO: Sending Email to Staff over [2025-03-20 04:30:13] Production.INFO: Email Status 1 [2025-03-20 04:30:13] Production.INFO: Sending Email to Customer [2025-03-20 04:30:14] Production.INFO: Email Try 10680 1 [2025-03-20 04:30:14] Production.INFO: =========== Email Sending over =========== [2025-03-20 04:30:14] Production.INFO: =========== Returning as Success =========== AccountID 19 [2025-03-20 04:30:14] Production.INFO: Invoice::sendInvoice done [2025-03-20 04:30:14] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-03-20 04:30:14] Production.INFO: Invoice Committed AccountID = 19 [2025-03-20 04:30:14] Production.INFO: =========== Updating InvoiceDate =========== [2025-03-20 04:30:14] Production.INFO: NextInvoice 2025-03-20 2025-04-19 [2025-03-20 04:30:14] Production.INFO: new dates [2025-03-20 04:30:14] Production.INFO: LastInvoiceDate 2025-03-20 NextInvoiceDate 2025-04-20 [2025-03-20 04:30:14] Production.INFO: LastChargeDate 2025-03-20 NextChargeDate 2025-04-19 [2025-03-20 04:30:14] Production.INFO: =========== Updated InvoiceDate =========== [2025-03-20 04:30:14] Production.INFO: ========================== Invoice Send End ============================= [2025-03-20 04:30:14] Production.INFO: AccountID =121 FirstInvoiceSend 0 [2025-03-20 04:30:14] Production.INFO: LastInvoiceDate 2025-02-20 NextInvoiceDate 2025-03-20 [2025-03-20 04:30:14] Production.INFO: LastChargeDate 2025-02-20 NextChargeDate 2025-03-19 [2025-03-20 04:30:14] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-03-20 04:30:14] Production.INFO: ========================== Invoice Send Start ============================= [2025-03-20 04:30:14] Production.INFO: Invoice::sendInvoice(1,121,2025-02-20,2025-03-20,billing@onswitchit.ca) [2025-03-20 04:30:14] Production.INFO: start Date =2025-02-20 EndDate =2025-03-19 23:59:59 [2025-03-20 04:30:14] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-03-20 04:30:14] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2025-03-20 04:30:14] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-03-20 04:30:14] Production.INFO: AlreadyBilled [2025-03-20 04:30:14] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:14] Production.INFO: original start date ==>2025-02-20 changed start date ==>2025-02-20 00:00:00 original end date ==>2025-03-19 23:59:59 changed end date ==>2025-03-19 23:59:59 [2025-03-20 04:30:14] Production.INFO: Invoice::getAccountUsageTotal(1,121,2025-02-20,2025-03-19 23:59:59) [2025-03-20 04:30:14] Production.INFO: TotalCharges - 0 [2025-03-20 04:30:14] Production.INFO: TotalUsageCharges - 0.00 [2025-03-20 04:30:14] Production.INFO: Usage Over [2025-03-20 04:30:14] Production.INFO: Call prc_getAccountSubscription(121,0) [2025-03-20 04:30:14] Production.INFO: SUBSCRIPTION 3 [2025-03-20 04:30:14] Production.INFO: ============================Subscription Start ================= [2025-03-20 04:30:14] Production.INFO: SubscriptionID - 5 [2025-03-20 04:30:14] Production.INFO: isAdvanceSubscription - 5 [2025-03-20 04:30:14] Production.INFO: SubscriptionStartDate =2025-03-20 - SubscriptionEndDate = 2025-04-19 [2025-03-20 04:30:14] Production.INFO: NewNextChargeDate =2025-04-19 00:00:00 [2025-03-20 04:30:14] Production.INFO: EndDate =2025-03-19 00:00:00 [2025-03-20 04:30:14] Production.INFO: NewEndDate1 =2025-03-20 [2025-03-20 04:30:14] Production.INFO: SubscriptionDate [2025-03-20 04:30:14] Production.INFO: Array ( [StartDate] => 2025-03-20 [EndDate] => 2025-04-19 00:00:00 [AlreadyCharged] => 0 ) [2025-03-20 04:30:14] Production.INFO: AccountSubscription StartDate 2019-09-06 StartDate 2025-02-20 [2025-03-20 04:30:14] Production.INFO: SubscriptionID - 2025-03-20=====2025-04-19 00:00:00 [2025-03-20 04:30:14] Production.INFO: AccountSubscriptionID - 416 === 2019-09-06=====2026-03-20 [2025-03-20 04:30:14] Production.INFO: regular Advance Subscription [2025-03-20 04:30:14] Production.INFO: First Time False 2019-09-06 2025-03-20 [2025-03-20 04:30:14] Production.INFO: StartDate 2025-03-20 AccountSubscription->StartDate 2019-09-06 EndDate 2025-04-19 00:00:00 AccountSubscription->EndDate 2026-03-20 [2025-03-20 04:30:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-20 04:30:14] Production.INFO: AccountSubscription::getSubscriptionAmount(416,2025-03-20,2025-04-19 00:00:00,,0) [2025-03-20 04:30:14] Production.INFO: SubscriptionCharge - 75 [2025-03-20 04:30:14] Production.INFO: Already Invoice Subscription 0 [2025-03-20 04:30:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(121,1,5,2025-03-20,2025-04-19 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,416) [2025-03-20 04:30:14] Production.INFO: DiscountAmount 0.000000 [2025-03-20 04:30:14] Production.INFO: DiscountType [2025-03-20 04:30:14] Production.INFO: SubscriptionCharge 75 [2025-03-20 04:30:14] Production.INFO: New SubscriptionCharge 75 [2025-03-20 04:30:14] Production.INFO: TotalSubscriptionCharge - 75.00 [2025-03-20 04:30:14] Production.INFO: ============================Subscription End ================= [2025-03-20 04:30:14] Production.INFO: ============================Subscription Start ================= [2025-03-20 04:30:14] Production.INFO: SubscriptionID - 4 [2025-03-20 04:30:14] Production.INFO: isAdvanceSubscription - 4 [2025-03-20 04:30:14] Production.INFO: SubscriptionStartDate =2025-03-20 - SubscriptionEndDate = 2025-04-19 [2025-03-20 04:30:14] Production.INFO: NewNextChargeDate =2025-04-19 00:00:00 [2025-03-20 04:30:14] Production.INFO: EndDate =2025-03-19 00:00:00 [2025-03-20 04:30:14] Production.INFO: NewEndDate1 =2025-03-20 [2025-03-20 04:30:14] Production.INFO: SubscriptionDate [2025-03-20 04:30:14] Production.INFO: Array ( [StartDate] => 2025-03-20 [EndDate] => 2025-04-19 00:00:00 [AlreadyCharged] => 0 ) [2025-03-20 04:30:14] Production.INFO: AccountSubscription StartDate 2019-09-06 StartDate 2025-02-20 [2025-03-20 04:30:14] Production.INFO: SubscriptionID - 2025-03-20=====2025-04-19 00:00:00 [2025-03-20 04:30:14] Production.INFO: AccountSubscriptionID - 417 === 2019-09-06=====2026-03-20 [2025-03-20 04:30:14] Production.INFO: regular Advance Subscription [2025-03-20 04:30:14] Production.INFO: First Time False 2019-09-06 2025-03-20 [2025-03-20 04:30:14] Production.INFO: StartDate 2025-03-20 AccountSubscription->StartDate 2019-09-06 EndDate 2025-04-19 00:00:00 AccountSubscription->EndDate 2026-03-20 [2025-03-20 04:30:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-20 04:30:14] Production.INFO: AccountSubscription::getSubscriptionAmount(417,2025-03-20,2025-04-19 00:00:00,,0) [2025-03-20 04:30:14] Production.INFO: SubscriptionCharge - 2.5 [2025-03-20 04:30:14] Production.INFO: Already Invoice Subscription 0 [2025-03-20 04:30:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(121,1,4,2025-03-20,2025-04-19 00:00:00,e911 address registration (17056457700 - 195 Wellington St 1 Bracebridge, ON P1L1C2),2.5,2.5,1,417) [2025-03-20 04:30:14] Production.INFO: DiscountAmount 0.000000 [2025-03-20 04:30:14] Production.INFO: DiscountType [2025-03-20 04:30:14] Production.INFO: SubscriptionCharge 2.5 [2025-03-20 04:30:14] Production.INFO: New SubscriptionCharge 2.5 [2025-03-20 04:30:14] Production.INFO: TotalSubscriptionCharge - 2.50 [2025-03-20 04:30:14] Production.INFO: ============================Subscription End ================= [2025-03-20 04:30:14] Production.INFO: ============================Subscription Start ================= [2025-03-20 04:30:14] Production.INFO: SubscriptionID - 11 [2025-03-20 04:30:14] Production.INFO: isAdvanceSubscription - 11 [2025-03-20 04:30:14] Production.INFO: SubscriptionStartDate =2025-03-20 - SubscriptionEndDate = 2025-04-19 [2025-03-20 04:30:14] Production.INFO: NewNextChargeDate =2025-04-19 00:00:00 [2025-03-20 04:30:14] Production.INFO: EndDate =2025-03-19 00:00:00 [2025-03-20 04:30:14] Production.INFO: NewEndDate1 =2025-03-20 [2025-03-20 04:30:14] Production.INFO: SubscriptionDate [2025-03-20 04:30:14] Production.INFO: Array ( [StartDate] => 2025-03-20 [EndDate] => 2025-04-19 00:00:00 [AlreadyCharged] => 0 ) [2025-03-20 04:30:14] Production.INFO: AccountSubscription StartDate 2019-09-06 StartDate 2025-02-20 [2025-03-20 04:30:14] Production.INFO: SubscriptionID - 2025-03-20=====2025-04-19 00:00:00 [2025-03-20 04:30:14] Production.INFO: AccountSubscriptionID - 418 === 2019-09-06=====2026-03-20 [2025-03-20 04:30:14] Production.INFO: regular Advance Subscription [2025-03-20 04:30:14] Production.INFO: First Time False 2019-09-06 2025-03-20 [2025-03-20 04:30:14] Production.INFO: StartDate 2025-03-20 AccountSubscription->StartDate 2019-09-06 EndDate 2025-04-19 00:00:00 AccountSubscription->EndDate 2026-03-20 [2025-03-20 04:30:14] Production.INFO: days diff - 31 subscription days 31 quarter days 90 [2025-03-20 04:30:14] Production.INFO: AccountSubscription::getSubscriptionAmount(418,2025-03-20,2025-04-19 00:00:00,,0) [2025-03-20 04:30:14] Production.INFO: SubscriptionCharge - -5 [2025-03-20 04:30:14] Production.INFO: Already Invoice Subscription 0 [2025-03-20 04:30:14] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(121,1,11,2025-03-20,2025-04-19 00:00:00,Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service,-10,-5,2,418) [2025-03-20 04:30:14] Production.INFO: DiscountAmount 0.000000 [2025-03-20 04:30:14] Production.INFO: DiscountType [2025-03-20 04:30:14] Production.INFO: SubscriptionCharge -10 [2025-03-20 04:30:14] Production.INFO: New SubscriptionCharge -10 [2025-03-20 04:30:14] Production.INFO: TotalSubscriptionCharge - -10.00 [2025-03-20 04:30:14] Production.INFO: ============================Subscription End ================= [2025-03-20 04:30:14] Production.INFO: SUBSCRIPTION Over [2025-03-20 04:30:14] Production.INFO: Call prc_getAccountOneOffCharge(121,0,2025-02-20,2025-03-20 23:59:59) [2025-03-20 04:30:14] Production.INFO: AccountOneOffCharge 0 [2025-03-20 04:30:14] Production.INFO: AccountOneOffCharge Over [2025-03-20 04:30:14] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start [2025-03-20 04:30:14] Production.INFO: New UsageDates 2025-02-20 - 2025-03-19 23:59:59 [2025-03-20 04:30:14] Production.INFO: SubTotal 67.5 [2025-03-20 04:30:14] Production.INFO: SubTotalWithouttaxTotal 0 [2025-03-20 04:30:14] Production.INFO: AccountOneOffCharge Tax Over [2025-03-20 04:30:14] Production.INFO: TotalTax 8.775 [2025-03-20 04:30:14] Production.INFO: InvoiceGrandTotal 76.275 [2025-03-20 04:30:15] Production.INFO: InvoiceTaxAmount 8.78 [2025-03-20 04:30:15] Production.INFO: GrandTotal 76.28 [2025-03-20 04:30:15] Production.INFO: SubTotal 67.50 [2025-03-20 04:30:15] Production.INFO: TotalDue -76.28 [2025-03-20 04:30:15] Production.INFO: Reseller ==> 0 [2025-03-20 04:30:15] Production.INFO: original start date ==>2025-02-20 changed start date ==>2025-02-20 00:00:00 original end date ==>2025-03-19 23:59:59 changed end date ==>2025-03-19 23:59:59 [2025-03-20 04:30:15] Production.INFO: CALL prc_getInvoiceUsage(1,'121','0','1','2025-02-20 00:00:00','2025-03-19 23:59:59',0) [2025-03-20 04:30:15] Production.INFO: PDF Generation start [2025-03-20 04:30:15] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/121/Invoices/2025/03/20/Invoice-dominos-10462-anwar-hossain-inv11740-from-02-20-2025-to-03-19-2025-10681.pdf [2025-03-20 04:30:15] Production.INFO: On Linux [2025-03-20 04:30:16] Production.ERROR: CronJobId end10 [2025-03-20 04:30:16] Production.INFO: ==11171== Releasing lock... [2025-03-20 04:30:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:30:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:30:17] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/121/Invoices/2025/03/20/footer-dominos-10462-anwar-hossain-inv11740-from-02-20-2025-to-03-19-2025-10681.html" "/var/www/tmp/1/121/Invoices/2025/03/20/Invoice-dominos-10462-anwar-hossain-inv11740-from-02-20-2025-to-03-19-2025-10681.html" "/var/www/tmp/1/121/Invoices/2025/03/20/Invoice-dominos-10462-anwar-hossain-inv11740-from-02-20-2025-to-03-19-2025-10681.pdf" [2025-03-20 04:30:17] Production.INFO: [2025-03-20 04:30:17] Production.INFO: /var/www/tmp/1/121/Invoices/2025/03/20/Invoice-dominos-10462-anwar-hossain-inv11740-from-02-20-2025-to-03-19-2025-10681.html [2025-03-20 04:30:17] Production.INFO: /var/www/tmp/1/121/Invoices/2025/03/20/header-dominos-10462-anwar-hossain-inv11740-from-02-20-2025-to-03-19-2025-10681.html [2025-03-20 04:30:17] Production.INFO: /var/www/tmp/1/121/Invoices/2025/03/20/footer-dominos-10462-anwar-hossain-inv11740-from-02-20-2025-to-03-19-2025-10681.html [2025-03-20 04:30:17] Production.INFO: Invoice generation PDF path [2025-03-20 04:30:17] Production.INFO: PDF fullPath 1/121/Invoices/2025/03/20/Invoice-dominos-10462-anwar-hossain-inv11740-from-02-20-2025-to-03-19-2025-10681.pdf [2025-03-20 04:30:17] Production.INFO: Generate Usage File Start [2025-03-20 04:30:17] Production.INFO: Usage File fullPath 1/121/InvoiceUsageFile/2025/03/20/dominos-10462-anwar-hossain-20-02-2025-00-00-00-TO-19-03-2025-23-59-59_4929__8d8d2ee0-0565-11f0-9e9e-7519a6e5ef49.csv [2025-03-20 04:30:18] Production.INFO: count ==483 [2025-03-20 04:30:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:30:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:30:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:30:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:30:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:30:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:30:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:30:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:30:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:30:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:30:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:30:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:30:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:30:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:30:18] Production.INFO: Sending Email to Staff over [2025-03-20 04:30:18] Production.INFO: Email Status 1 [2025-03-20 04:30:18] Production.INFO: Sending Email to Customer [2025-03-20 04:30:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:30:06 - End Time 2025-03-20 04:30:06 [2025-03-20 04:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720403', 'tblTempUsageDetail_20' ) start [2025-03-20 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720403', 'tblTempUsageDetail_20' ) end [2025-03-20 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720403', 'tblTempVendorCDR_20' ) start [2025-03-20 04:30:19] Production.INFO: call_cost start [2025-03-20 04:30:19] Production.INFO: call_cost end [2025-03-20 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720403', 'tblTempVendorCDR_20' ) end [2025-03-20 04:30:19] Production.INFO: ProcessCDR(1,14720403,1,1,2) [2025-03-20 04:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:30:19] Production.INFO: Email Try 10681 1 [2025-03-20 04:30:19] Production.INFO: =========== Email Sending over =========== [2025-03-20 04:30:19] Production.INFO: =========== Returning as Success =========== AccountID 121 [2025-03-20 04:30:19] Production.INFO: Invoice::sendInvoice done [2025-03-20 04:30:19] Production.INFO: Invoice created - Array ( [status] => success [message] => Invoice Created Successfully. [accounts] => ) [2025-03-20 04:30:19] Production.INFO: Invoice Committed AccountID = 121 [2025-03-20 04:30:19] Production.INFO: =========== Updating InvoiceDate =========== [2025-03-20 04:30:19] Production.INFO: NextInvoice 2025-03-20 2025-04-19 [2025-03-20 04:30:19] Production.INFO: new dates [2025-03-20 04:30:19] Production.INFO: LastInvoiceDate 2025-03-20 NextInvoiceDate 2025-04-20 [2025-03-20 04:30:19] Production.INFO: LastChargeDate 2025-03-20 NextChargeDate 2025-04-19 [2025-03-20 04:30:19] Production.INFO: =========== Updated InvoiceDate =========== [2025-03-20 04:30:19] Production.INFO: ========================== Invoice Send End ============================= [2025-03-20 04:30:19] Production.INFO: AccountID =258 FirstInvoiceSend 0 [2025-03-20 04:30:19] Production.INFO: LastInvoiceDate 2025-02-10 NextInvoiceDate 2025-03-10 [2025-03-20 04:30:19] Production.INFO: LastChargeDate 2025-02-10 NextChargeDate 2025-03-09 [2025-03-20 04:30:19] Production.INFO: isCDRLoaded Array ( [0] => stdClass Object ( [isLoaded] => 1 ) ) [2025-03-20 04:30:19] Production.INFO: ========================== Invoice Send Start ============================= [2025-03-20 04:30:19] Production.INFO: Invoice::sendInvoice(1,258,2025-02-10,2025-03-10,billing@onswitchit.ca) [2025-03-20 04:30:19] Production.INFO: start Date =2025-02-10 EndDate =2025-03-09 23:59:59 [2025-03-20 04:30:19] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV [2025-03-20 04:30:19] Production.INFO: InvoiceTemplate->Terms =



This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.


[2025-03-20 04:30:19] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled [2025-03-20 04:30:19] Production.INFO: Invoice::sendInvoice done [2025-03-20 04:30:19] Production.INFO: Invoice rollback AccountID = 258 [2025-03-20 04:30:19] Production.INFO: ========================== Error ============================= [2025-03-20 04:30:19] Production.INFO: Invoice with Error - Array ( [status] => failure [message] => Lion Motors Account is already billed on this duration ) [2025-03-20 04:30:19] Production.INFO: ========================== Invoice Send End ============================= [2025-03-20 04:30:19] Production.INFO: ========================== Recurring invoice Start ============================= [2025-03-20 04:30:19] Production.INFO: recurring invoices ID [2025-03-20 04:30:19] Production.INFO: [2025-03-20 04:30:19] Production.INFO: recurring errorsArray ( ) [2025-03-20 04:30:19] Production.INFO: ========================== Recurring invoice End ============================= [2025-03-20 04:30:19] Production.INFO: ========================== Job Updated ============================= [2025-03-20 04:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:30:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:30:20] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:30:20] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:30:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:30:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:30:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:30:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:30:20] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:30:20] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:30:20] Production.INFO: ==11165== Releasing lock... [2025-03-20 04:30:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:30:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:30:21] Production.INFO: ========================== Job Email Sent ============================= [2025-03-20 04:30:22] Production.ERROR: **Email Sent Status 1 [2025-03-20 04:30:22] Production.ERROR: **Email Sent message Email has been sent [2025-03-20 04:30:22] Production.ERROR: CronJobId end6 [2025-03-20 04:30:22] Production.INFO: ==11167== Releasing lock... [2025-03-20 04:30:22] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops# [2025-03-20 04:30:22] Production.INFO: 41.75 MB #Memory Used# [2025-03-20 04:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720403', 'tblTempUsageDetail_20' ) start [2025-03-20 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720403', 'tblTempUsageDetail_20' ) end [2025-03-20 04:30:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:30:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:30:22] Production.INFO: ==11176== Releasing lock... [2025-03-20 04:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:30:22] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:31:02] Production.INFO: ==11278== Lock acquired, processing the job... [2025-03-20 08:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:31:02] Production.INFO: neon service started [2025-03-20 08:31:02] Production.INFO: neon service started [2025-03-20 08:31:02] Production.INFO: ==11278== Releasing lock... [2025-03-20 08:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:31:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 08:31:02] Production.INFO: ==11282== Lock acquired, processing the job... [2025-03-20 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:31:02] Production.INFO: ==11282== Releasing lock... [2025-03-20 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:31:02] Production.INFO: ==11280== Lock acquired, processing the job... [2025-03-20 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:31:03] Production.INFO: ==11280== Releasing lock... [2025-03-20 04:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:31:04] Production.INFO: ==11290== Lock acquired, processing the job... [2025-03-20 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:31:04] Production.INFO: ==11293== Lock acquired, processing the job... [2025-03-20 04:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:31:04] Production.INFO: ==11284== Lock acquired, processing the job... [2025-03-20 04:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:31:04] Production.INFO: Account Balance Start. [2025-03-20 04:31:04] Production.INFO: CreateAllLog Start [2025-03-20 04:31:04] Production.INFO: 117 [2025-03-20 04:31:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:31:04] Production.INFO: ==11286== Lock acquired, processing the job... [2025-03-20 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:04] Production.INFO: ==11288== Lock acquired, processing the job... [2025-03-20 04:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:04] Production.INFO: ==11295== Lock acquired, processing the job... [2025-03-20 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:31:04] Production.ERROR: done [2025-03-20 04:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:31:04] Production.INFO: count ==12 [2025-03-20 04:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:31:04] Production.INFO: count ==23 [2025-03-20 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720407') start [2025-03-20 04:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:04] Production.ERROR: done [2025-03-20 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720407') end [2025-03-20 04:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:31:04] Production.INFO: 1 [2025-03-20 04:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:04] Production.INFO: ==11295== Releasing lock... [2025-03-20 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:04] Production.INFO: ==11286== Releasing lock... [2025-03-20 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:31:05] Production.INFO: Total Charge 0 [2025-03-20 04:31:05] Production.INFO: CreateAllLog End [2025-03-20 04:31:05] Production.INFO: Account Balance End. [2025-03-20 04:31:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:31:05] Production.INFO: ==11290== Releasing lock... [2025-03-20 04:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:31:05 [end_date_ymd] => 2025-03-20 04:31:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:31:05' and `end` < '2025-03-20 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-03-20 04:31:12] Production.ERROR: CronJobId end10 [2025-03-20 04:31:12] Production.INFO: ==11288== Releasing lock... [2025-03-20 04:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:31:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:31:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:31:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:31:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:31:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:31:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:31:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:31:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:31:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:31:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:31:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:31:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:31:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:31:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:31:15] Production.INFO: call_cost start [2025-03-20 04:31:15] Production.INFO: call_cost end [2025-03-20 04:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:31:16] Production.INFO: ==11284== Releasing lock... [2025-03-20 04:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:31:17] Production.INFO: count ==483 [2025-03-20 04:31:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:31:05 - End Time 2025-03-20 04:31:05 [2025-03-20 04:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720408', 'tblTempUsageDetail_20' ) start [2025-03-20 04:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720408', 'tblTempUsageDetail_20' ) end [2025-03-20 04:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720408', 'tblTempVendorCDR_20' ) start [2025-03-20 04:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720408', 'tblTempVendorCDR_20' ) end [2025-03-20 04:31:17] Production.INFO: ProcessCDR(1,14720408,1,1,2) [2025-03-20 04:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720408', 'tblTempUsageDetail_20' ) start [2025-03-20 04:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720408', 'tblTempUsageDetail_20' ) end [2025-03-20 04:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:31:21] Production.INFO: ==11293== Releasing lock... [2025-03-20 04:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:31:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:32:01] Production.INFO: ==11354== Lock acquired, processing the job... [2025-03-20 08:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:32:01] Production.INFO: neon service started [2025-03-20 08:32:01] Production.INFO: neon service started [2025-03-20 08:32:01] Production.INFO: ==11354== Releasing lock... [2025-03-20 08:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:32:02] Production.INFO: ==11356== Lock acquired, processing the job... [2025-03-20 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:32:02] Production.INFO: ==11358== Lock acquired, processing the job... [2025-03-20 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:32:02] Production.INFO: ==11358== Releasing lock... [2025-03-20 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:32:02] Production.INFO: ==11356== Releasing lock... [2025-03-20 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:32:03] Production.INFO: ==11363== Lock acquired, processing the job... [2025-03-20 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:32:03] Production.INFO: ==11367== Lock acquired, processing the job... [2025-03-20 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:32:03] Production.INFO: Account Balance Start. [2025-03-20 04:32:03] Production.INFO: CreateAllLog Start [2025-03-20 04:32:03] Production.INFO: 117 [2025-03-20 04:32:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:03] Production.INFO: ==11361== Lock acquired, processing the job... [2025-03-20 04:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:32:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:03] Production.INFO: ==11365== Lock acquired, processing the job... [2025-03-20 04:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:32:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:32:03] Production.INFO: ==11369== Lock acquired, processing the job... [2025-03-20 04:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:32:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:32:03] Production.INFO: ==11371== Lock acquired, processing the job... [2025-03-20 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:32:03] Production.INFO: ==11363== Releasing lock... [2025-03-20 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:32:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 04: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-03-20 04:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:04] Production.INFO: count ==12 [2025-03-20 04:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:32:04] Production.INFO: count ==23 [2025-03-20 04:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720412') start [2025-03-20 04:32:04] Production.ERROR: done [2025-03-20 04:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720412') end [2025-03-20 04:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:32:04] Production.INFO: 1 [2025-03-20 04:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:32:04] Production.ERROR: done [2025-03-20 04:32:04] Production.INFO: ==11371== Releasing lock... [2025-03-20 04:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:32:04] Production.INFO: Total Charge 0 [2025-03-20 04:32:04] Production.INFO: CreateAllLog End [2025-03-20 04:32:04] Production.INFO: Account Balance End. [2025-03-20 04:32:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:32:04] Production.INFO: ==11367== Releasing lock... [2025-03-20 04:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:32:05 [end_date_ymd] => 2025-03-20 04:32:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:32:05' and `end` < '2025-03-20 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-03-20 04:32:11] Production.ERROR: CronJobId end10 [2025-03-20 04:32:11] Production.INFO: ==11365== Releasing lock... [2025-03-20 04:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:32:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:32:14] Production.INFO: call_cost start [2025-03-20 04:32:14] Production.INFO: call_cost end [2025-03-20 04:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:32:15] Production.INFO: ==11361== Releasing lock... [2025-03-20 04:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:32:18] Production.INFO: count ==480 [2025-03-20 04:32:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:32:05 - End Time 2025-03-20 04:32:05 [2025-03-20 04:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720413', 'tblTempUsageDetail_20' ) start [2025-03-20 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720413', 'tblTempUsageDetail_20' ) end [2025-03-20 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720413', 'tblTempVendorCDR_20' ) start [2025-03-20 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720413', 'tblTempVendorCDR_20' ) end [2025-03-20 04:32:18] Production.INFO: ProcessCDR(1,14720413,1,1,2) [2025-03-20 04:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720413', 'tblTempUsageDetail_20' ) start [2025-03-20 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720413', 'tblTempUsageDetail_20' ) end [2025-03-20 04:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:32:21] Production.INFO: ==11369== Releasing lock... [2025-03-20 04:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:32:21] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 08:33:02] Production.INFO: ==11433== Lock acquired, processing the job... [2025-03-20 08:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:33:02] Production.INFO: neon service started [2025-03-20 08:33:02] Production.INFO: neon service started [2025-03-20 08:33:02] Production.INFO: ==11433== Releasing lock... [2025-03-20 08:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:33:02] Production.INFO: ==11435== Lock acquired, processing the job... [2025-03-20 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:33:02] Production.INFO: ==11435== Releasing lock... [2025-03-20 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:33:02] Production.INFO: ==11437== Lock acquired, processing the job... [2025-03-20 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:33:03] Production.INFO: ==11437== Releasing lock... [2025-03-20 08:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:33:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:33:03] Production.INFO: ==11448== Lock acquired, processing the job... [2025-03-20 04:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:33:04] Production.INFO: ==11440== Lock acquired, processing the job... [2025-03-20 04:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:33:04] Production.INFO: ==11442== Lock acquired, processing the job... [2025-03-20 04:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:33:04] Production.INFO: ==11444== Lock acquired, processing the job... [2025-03-20 04:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:33:04] Production.ERROR: done [2025-03-20 04:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:33:04] Production.INFO: ==11446== Lock acquired, processing the job... [2025-03-20 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:33:04] Production.INFO: ==11450== Lock acquired, processing the job... [2025-03-20 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:33:04] Production.INFO: Account Balance Start. [2025-03-20 04:33:04] Production.INFO: CreateAllLog Start [2025-03-20 04:33:04] Production.INFO: 117 [2025-03-20 04:33:04] Production.ERROR: done [2025-03-20 04:33:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:33:04] Production.INFO: count ==12 [2025-03-20 04:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:33:04] Production.INFO: count ==23 [2025-03-20 04:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720417') start [2025-03-20 04:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:04] Production.INFO: ==11442== Releasing lock... [2025-03-20 04:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720417') end [2025-03-20 04:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:33:04] Production.INFO: 1 [2025-03-20 04:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:33:04] Production.INFO: ==11450== Releasing lock... [2025-03-20 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:33:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:33:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:33:05] Production.INFO: Total Charge 0 [2025-03-20 04:33:05] Production.INFO: CreateAllLog End [2025-03-20 04:33:05] Production.INFO: Account Balance End. [2025-03-20 04:33:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:33:05] Production.INFO: ==11446== Releasing lock... [2025-03-20 04:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:33:05 [end_date_ymd] => 2025-03-20 04:33:05 [RateCDR] => 1 ) [2025-03-20 04:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:33:05' and `end` < '2025-03-20 04:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:33:13] Production.ERROR: CronJobId end10 [2025-03-20 04:33:13] Production.INFO: ==11444== Releasing lock... [2025-03-20 04:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:33:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:33:15] Production.INFO: call_cost start [2025-03-20 04:33:15] Production.INFO: call_cost end [2025-03-20 04:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:33:16] Production.INFO: ==11440== Releasing lock... [2025-03-20 04:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:33:17] Production.INFO: count ==479 [2025-03-20 04:33:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:33:05 - End Time 2025-03-20 04:33:05 [2025-03-20 04:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720418', 'tblTempUsageDetail_20' ) start [2025-03-20 04:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720418', 'tblTempUsageDetail_20' ) end [2025-03-20 04:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720418', 'tblTempVendorCDR_20' ) start [2025-03-20 04:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720418', 'tblTempVendorCDR_20' ) end [2025-03-20 04:33:17] Production.INFO: ProcessCDR(1,14720418,1,1,2) [2025-03-20 04:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720418', 'tblTempUsageDetail_20' ) start [2025-03-20 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720418', 'tblTempUsageDetail_20' ) end [2025-03-20 04:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:33:21] Production.INFO: ==11448== Releasing lock... [2025-03-20 04:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:33:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:34:01] Production.INFO: ==11513== Lock acquired, processing the job... [2025-03-20 08:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:34:01] Production.INFO: neon service started [2025-03-20 08:34:01] Production.INFO: neon service started [2025-03-20 08:34:01] Production.INFO: ==11513== Releasing lock... [2025-03-20 08:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:34:02] Production.INFO: ==11515== Lock acquired, processing the job... [2025-03-20 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:34:02] Production.INFO: ==11517== Lock acquired, processing the job... [2025-03-20 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:34:02] Production.INFO: ==11517== Releasing lock... [2025-03-20 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:34:02] Production.INFO: ==11515== Releasing lock... [2025-03-20 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:34:03] Production.INFO: ==11520== Lock acquired, processing the job... [2025-03-20 04:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:34:03] Production.INFO: ==11523== Lock acquired, processing the job... [2025-03-20 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:34:03] Production.INFO: ==11527== Lock acquired, processing the job... [2025-03-20 04:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:34:03] Production.INFO: Account Balance Start. [2025-03-20 04:34:03] Production.INFO: CreateAllLog Start [2025-03-20 04:34:03] Production.INFO: 117 [2025-03-20 04:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:03] Production.INFO: ==11529== Lock acquired, processing the job... [2025-03-20 04:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:34:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:34:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:03] Production.INFO: Date 2025-03-15 [2025-03-20 04:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:03] Production.INFO: ==11525== Lock acquired, processing the job... [2025-03-20 04:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:04] Production.INFO: ==11523== Releasing lock... [2025-03-20 04:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:34:04] Production.INFO: ==11531== Lock acquired, processing the job... [2025-03-20 04:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:34:04] Production.INFO: Total Charge 0 [2025-03-20 04:34:04] Production.INFO: CreateAllLog End [2025-03-20 04: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-03-20 04:34:04] Production.ERROR: done [2025-03-20 04:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:34:04] Production.INFO: count ==12 [2025-03-20 04:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:34:04] Production.INFO: count ==23 [2025-03-20 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720422') start [2025-03-20 04:34:04] Production.INFO: Account Balance End. [2025-03-20 04:34:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:34:04] Production.INFO: ==11527== Releasing lock... [2025-03-20 04:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:34:04] Production.ERROR: done [2025-03-20 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720422') end [2025-03-20 04:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:34:04] Production.INFO: 1 [2025-03-20 04:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:34:04] Production.INFO: ==11531== Releasing lock... [2025-03-20 04:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:34:05 [end_date_ymd] => 2025-03-20 04:34:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:34:05' and `end` < '2025-03-20 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-03-20 04:34:12] Production.ERROR: CronJobId end10 [2025-03-20 04:34:12] Production.INFO: ==11525== Releasing lock... [2025-03-20 04:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:34:14] Production.INFO: call_cost start [2025-03-20 04:34:14] Production.INFO: call_cost end [2025-03-20 04:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:34:15] Production.INFO: ==11520== Releasing lock... [2025-03-20 04:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:34:17] Production.INFO: count ==479 [2025-03-20 04:34:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:34:05 - End Time 2025-03-20 04:34:05 [2025-03-20 04:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720423', 'tblTempUsageDetail_20' ) start [2025-03-20 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720423', 'tblTempUsageDetail_20' ) end [2025-03-20 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720423', 'tblTempVendorCDR_20' ) start [2025-03-20 04:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720423', 'tblTempVendorCDR_20' ) end [2025-03-20 04:34:17] Production.INFO: ProcessCDR(1,14720423,1,1,2) [2025-03-20 04:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720423', 'tblTempUsageDetail_20' ) start [2025-03-20 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720423', 'tblTempUsageDetail_20' ) end [2025-03-20 04:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:34:21] Production.INFO: ==11529== Releasing lock... [2025-03-20 04:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:34:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:35:02] Production.INFO: ==11634== Lock acquired, processing the job... [2025-03-20 08:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:35:02] Production.INFO: neon service started [2025-03-20 08:35:02] Production.INFO: neon service started [2025-03-20 08:35:02] Production.INFO: ==11634== Releasing lock... [2025-03-20 08:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:35:02] Production.INFO: ==11636== Lock acquired, processing the job... [2025-03-20 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:35:02] Production.INFO: ==11638== Lock acquired, processing the job... [2025-03-20 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:35:02] Production.INFO: ==11638== Releasing lock... [2025-03-20 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:35:03] Production.INFO: ==11636== Releasing lock... [2025-03-20 04:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:35:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:35:04] Production.INFO: ==11645== Lock acquired, processing the job... [2025-03-20 04:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:35:04] Production.INFO: ==11649== Lock acquired, processing the job... [2025-03-20 04:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:35:04] Production.INFO: ==11643== Lock acquired, processing the job... [2025-03-20 04:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:35:04] Production.INFO: ==11641== Lock acquired, processing the job... [2025-03-20 04:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:35:04] Production.INFO: ==11651== Lock acquired, processing the job... [2025-03-20 04:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:35:04] Production.INFO: ==11647== Lock acquired, processing the job... [2025-03-20 04:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:35:04] Production.INFO: Account Balance Start. [2025-03-20 04:35:04] Production.INFO: CreateAllLog Start [2025-03-20 04:35:04] Production.INFO: 117 [2025-03-20 04:35:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 04: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-03-20 04:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:04] Production.INFO: count ==12 [2025-03-20 04:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:35:04] Production.ERROR: done [2025-03-20 04:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:04] Production.INFO: count ==23 [2025-03-20 04:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720425') start [2025-03-20 04:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:04] Production.INFO: ==11643== Releasing lock... [2025-03-20 04:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:04] Production.ERROR: done [2025-03-20 04:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720425') end [2025-03-20 04:35:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:35:05] Production.INFO: 1 [2025-03-20 04:35:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:35:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:05] Production.INFO: ==11651== Releasing lock... [2025-03-20 04:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:35:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:35:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:35:05] Production.INFO: Total Charge 0 [2025-03-20 04:35:05] Production.INFO: CreateAllLog End [2025-03-20 04:35:05] Production.INFO: Account Balance End. [2025-03-20 04:35:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:35:05] Production.INFO: ==11647== Releasing lock... [2025-03-20 04:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:35:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:35:06 [end_date_ymd] => 2025-03-20 04:35:06 [RateCDR] => 1 ) [2025-03-20 04: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-03-20 01:35:06' and `end` < '2025-03-20 04: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-03-20 04:35:12] Production.ERROR: CronJobId end10 [2025-03-20 04:35:12] Production.INFO: ==11645== Releasing lock... [2025-03-20 04:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:35:15] Production.INFO: call_cost start [2025-03-20 04:35:15] Production.INFO: call_cost end [2025-03-20 04:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:35:16] Production.INFO: ==11641== Releasing lock... [2025-03-20 04:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:35:18] Production.INFO: count ==478 [2025-03-20 04:35:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:35:06 - End Time 2025-03-20 04:35:06 [2025-03-20 04:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720428', 'tblTempUsageDetail_20' ) start [2025-03-20 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720428', 'tblTempUsageDetail_20' ) end [2025-03-20 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720428', 'tblTempVendorCDR_20' ) start [2025-03-20 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720428', 'tblTempVendorCDR_20' ) end [2025-03-20 04:35:18] Production.INFO: ProcessCDR(1,14720428,1,1,2) [2025-03-20 04:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720428', 'tblTempUsageDetail_20' ) start [2025-03-20 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720428', 'tblTempUsageDetail_20' ) end [2025-03-20 04:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:35:21] Production.INFO: ==11649== Releasing lock... [2025-03-20 04:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:35:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:36:01] Production.INFO: ==11708== Lock acquired, processing the job... [2025-03-20 08:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:36:01] Production.INFO: neon service started [2025-03-20 08:36:01] Production.INFO: neon service started [2025-03-20 08:36:01] Production.INFO: ==11708== Releasing lock... [2025-03-20 08:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:36:01] Production.INFO: ==11710== Lock acquired, processing the job... [2025-03-20 04:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:36:02] Production.INFO: ==11710== Releasing lock... [2025-03-20 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:36:02] Production.INFO: ==11713== Lock acquired, processing the job... [2025-03-20 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:36:02] Production.INFO: ==11713== Releasing lock... [2025-03-20 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:36:02] Production.INFO: ==11719== Lock acquired, processing the job... [2025-03-20 04:36:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:36:03] Production.INFO: ==11719== Releasing lock... [2025-03-20 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:36:03] Production.INFO: ==11725== Lock acquired, processing the job... [2025-03-20 04:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:36:03] Production.INFO: ==11717== Lock acquired, processing the job... [2025-03-20 04:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:36:03] Production.INFO: ==11721== Lock acquired, processing the job... [2025-03-20 04:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:36:03] Production.INFO: ==11723== Lock acquired, processing the job... [2025-03-20 04:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:36:03] Production.INFO: ==11727== Lock acquired, processing the job... [2025-03-20 04:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:36:03] Production.INFO: Account Balance Start. [2025-03-20 04:36:03] Production.INFO: CreateAllLog Start [2025-03-20 04:36:03] Production.INFO: 117 [2025-03-20 04:36:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 04:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:36:03] Production.INFO: count ==12 [2025-03-20 04:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:03] Production.ERROR: done [2025-03-20 04:36:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:36:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:03] Production.INFO: count ==23 [2025-03-20 04:36:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720432') start [2025-03-20 04:36:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:04] Production.ERROR: done [2025-03-20 04:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720432') end [2025-03-20 04:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:36:04] Production.INFO: 1 [2025-03-20 04:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:36:04] Production.INFO: ==11727== Releasing lock... [2025-03-20 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:36:04] Production.INFO: Total Charge 0 [2025-03-20 04:36:04] Production.INFO: CreateAllLog End [2025-03-20 04:36:04] Production.INFO: Account Balance End. [2025-03-20 04:36:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:36:04] Production.INFO: ==11723== Releasing lock... [2025-03-20 04:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:36:05 [end_date_ymd] => 2025-03-20 04:36:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:36:05' and `end` < '2025-03-20 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-03-20 04:36:12] Production.ERROR: CronJobId end10 [2025-03-20 04:36:12] Production.INFO: ==11721== Releasing lock... [2025-03-20 04:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:36:14] Production.INFO: call_cost start [2025-03-20 04:36:14] Production.INFO: call_cost end [2025-03-20 04:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:36:15] Production.INFO: ==11717== Releasing lock... [2025-03-20 04:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:36:17] Production.INFO: count ==478 [2025-03-20 04:36:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:36:05 - End Time 2025-03-20 04:36:05 [2025-03-20 04:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720433', 'tblTempUsageDetail_20' ) start [2025-03-20 04:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720433', 'tblTempUsageDetail_20' ) end [2025-03-20 04:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720433', 'tblTempVendorCDR_20' ) start [2025-03-20 04:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720433', 'tblTempVendorCDR_20' ) end [2025-03-20 04:36:17] Production.INFO: ProcessCDR(1,14720433,1,1,2) [2025-03-20 04:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720433', 'tblTempUsageDetail_20' ) start [2025-03-20 04:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720433', 'tblTempUsageDetail_20' ) end [2025-03-20 04:36:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:36:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:36:20] Production.INFO: ==11725== Releasing lock... [2025-03-20 04:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:36:20] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:37:02] Production.INFO: ==11793== Lock acquired, processing the job... [2025-03-20 08:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:37:02] Production.INFO: neon service started [2025-03-20 08:37:02] Production.INFO: neon service started [2025-03-20 08:37:02] Production.INFO: ==11793== Releasing lock... [2025-03-20 08:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:37:02] Production.INFO: ==11795== Lock acquired, processing the job... [2025-03-20 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:37:02] Production.INFO: ==11795== Releasing lock... [2025-03-20 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:37:02] Production.INFO: ==11797== Lock acquired, processing the job... [2025-03-20 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:37:03] Production.INFO: ==11797== Releasing lock... [2025-03-20 08:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:37:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:37:03] Production.INFO: ==11801== Lock acquired, processing the job... [2025-03-20 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:37:03] Production.INFO: ==11799== Lock acquired, processing the job... [2025-03-20 04:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:37:03] Production.INFO: ==11803== Lock acquired, processing the job... [2025-03-20 04:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:37:03] Production.INFO: ==11805== Lock acquired, processing the job... [2025-03-20 04:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:37:03] Production.INFO: ==11807== Lock acquired, processing the job... [2025-03-20 04:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:37:03] Production.INFO: ==11809== Lock acquired, processing the job... [2025-03-20 04:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:37:03] Production.INFO: Account Balance Start. [2025-03-20 04:37:03] Production.INFO: CreateAllLog Start [2025-03-20 04:37:03] Production.INFO: 117 [2025-03-20 04:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.INFO: count ==12 [2025-03-20 04:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:37:04] Production.INFO: count ==23 [2025-03-20 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720436') start [2025-03-20 04:37:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720436') end [2025-03-20 04:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:37:04] Production.INFO: 1 [2025-03-20 04:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:37:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.ERROR: done [2025-03-20 04:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:37:04] Production.INFO: ==11809== Releasing lock... [2025-03-20 04:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:37:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.ERROR: done [2025-03-20 04:37:04] Production.INFO: ==11801== Releasing lock... [2025-03-20 04:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:37:04] Production.INFO: Total Charge 0 [2025-03-20 04:37:04] Production.INFO: CreateAllLog End [2025-03-20 04:37:04] Production.INFO: Account Balance End. [2025-03-20 04:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:37:04] Production.INFO: ==11805== Releasing lock... [2025-03-20 04:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:37:05 [end_date_ymd] => 2025-03-20 04:37:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:37:05' and `end` < '2025-03-20 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-03-20 04:37:12] Production.ERROR: CronJobId end10 [2025-03-20 04:37:12] Production.INFO: ==11803== Releasing lock... [2025-03-20 04:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:37:14] Production.INFO: call_cost start [2025-03-20 04:37:14] Production.INFO: call_cost end [2025-03-20 04:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:37:15] Production.INFO: ==11799== Releasing lock... [2025-03-20 04:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:37:17] Production.INFO: count ==477 [2025-03-20 04:37:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:37:05 - End Time 2025-03-20 04:37:05 [2025-03-20 04:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720438', 'tblTempUsageDetail_20' ) start [2025-03-20 04:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720438', 'tblTempUsageDetail_20' ) end [2025-03-20 04:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720438', 'tblTempVendorCDR_20' ) start [2025-03-20 04:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720438', 'tblTempVendorCDR_20' ) end [2025-03-20 04:37:17] Production.INFO: ProcessCDR(1,14720438,1,1,2) [2025-03-20 04:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720438', 'tblTempUsageDetail_20' ) start [2025-03-20 04:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720438', 'tblTempUsageDetail_20' ) end [2025-03-20 04:37:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:37:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:37:21] Production.INFO: ==11807== Releasing lock... [2025-03-20 04:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:37:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:38:01] Production.INFO: ==11870== Lock acquired, processing the job... [2025-03-20 08:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:38:01] Production.INFO: neon service started [2025-03-20 08:38:01] Production.INFO: neon service started [2025-03-20 08:38:01] Production.INFO: ==11870== Releasing lock... [2025-03-20 08:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:38:01] Production.INFO: ==11872== Lock acquired, processing the job... [2025-03-20 04:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:38:02] Production.INFO: ==11872== Releasing lock... [2025-03-20 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:38:02] Production.INFO: ==11874== Lock acquired, processing the job... [2025-03-20 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:38:02] Production.INFO: ==11874== Releasing lock... [2025-03-20 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:38:03] Production.INFO: ==11881== Lock acquired, processing the job... [2025-03-20 04:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:38:03] Production.INFO: ==11883== Lock acquired, processing the job... [2025-03-20 04:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:38:03] Production.INFO: Account Balance Start. [2025-03-20 04:38:03] Production.INFO: CreateAllLog Start [2025-03-20 04:38:03] Production.INFO: 117 [2025-03-20 04:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:38:03] Production.INFO: ==11877== Lock acquired, processing the job... [2025-03-20 04:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:38:03] Production.INFO: ==11879== Lock acquired, processing the job... [2025-03-20 04:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:38:03] Production.INFO: ==11887== Lock acquired, processing the job... [2025-03-20 04:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:38:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:38:03] Production.INFO: ==11885== Lock acquired, processing the job... [2025-03-20 04:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:38:03] Production.INFO: count ==12 [2025-03-20 04:38:03] Production.INFO: Date 2025-03-12 [2025-03-20 04: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-03-20 04:38:03] Production.INFO: count ==23 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720442') start [2025-03-20 04:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:38:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.INFO: Date 2025-03-15 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720442') end [2025-03-20 04:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:38:03] Production.INFO: 1 [2025-03-20 04:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:38:03] Production.INFO: Date 2025-03-16 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.INFO: Date 2025-03-17 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.INFO: ==11887== Releasing lock... [2025-03-20 04:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:38:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:38:03] Production.INFO: ==11879== Releasing lock... [2025-03-20 04:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:38:03] Production.INFO: Date 2025-03-18 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.INFO: Date 2025-03-19 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:03] Production.INFO: Date 2025-03-20 [2025-03-20 04:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:38:04] Production.INFO: Total Charge 0 [2025-03-20 04:38:04] Production.INFO: CreateAllLog End [2025-03-20 04:38:04] Production.ERROR: done [2025-03-20 04:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:38:04] Production.ERROR: done [2025-03-20 04:38:04] Production.INFO: Account Balance End. [2025-03-20 04:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:38:04] Production.INFO: ==11883== Releasing lock... [2025-03-20 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:38:05 [end_date_ymd] => 2025-03-20 04:38:05 [RateCDR] => 1 ) [2025-03-20 04:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:38:05' and `end` < '2025-03-20 04:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:38:11] Production.ERROR: CronJobId end10 [2025-03-20 04:38:11] Production.INFO: ==11881== Releasing lock... [2025-03-20 04:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:38:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:38:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:38:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:38:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:38:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:38:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:38:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:38:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:38:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:38:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:38:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:38:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:38:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:38:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:38:14] Production.INFO: call_cost start [2025-03-20 04:38:14] Production.INFO: call_cost end [2025-03-20 04:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:38:15] Production.INFO: ==11877== Releasing lock... [2025-03-20 04:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:38:17] Production.INFO: count ==476 [2025-03-20 04:38:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:38:05 - End Time 2025-03-20 04:38:05 [2025-03-20 04:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720443', 'tblTempUsageDetail_20' ) start [2025-03-20 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720443', 'tblTempUsageDetail_20' ) end [2025-03-20 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720443', 'tblTempVendorCDR_20' ) start [2025-03-20 04:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720443', 'tblTempVendorCDR_20' ) end [2025-03-20 04:38:17] Production.INFO: ProcessCDR(1,14720443,1,1,2) [2025-03-20 04:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720443', 'tblTempUsageDetail_20' ) start [2025-03-20 04:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720443', 'tblTempUsageDetail_20' ) end [2025-03-20 04:38:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:38:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:38:20] Production.INFO: ==11885== Releasing lock... [2025-03-20 04:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:38:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:39:01] Production.INFO: ==11949== Lock acquired, processing the job... [2025-03-20 08:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:39:01] Production.INFO: neon service started [2025-03-20 08:39:02] Production.INFO: neon service started [2025-03-20 08:39:02] Production.INFO: ==11949== Releasing lock... [2025-03-20 08:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:39:02] Production.INFO: ==11951== Lock acquired, processing the job... [2025-03-20 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:39:02] Production.INFO: ==11951== Releasing lock... [2025-03-20 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:39:02] Production.INFO: ==11953== Lock acquired, processing the job... [2025-03-20 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:39:02] Production.INFO: ==11953== Releasing lock... [2025-03-20 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:39:03] Production.INFO: ==11962== Lock acquired, processing the job... [2025-03-20 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:39:03] Production.INFO: ==11955== Lock acquired, processing the job... [2025-03-20 04:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:39:03] Production.INFO: ==11967== Lock acquired, processing the job... [2025-03-20 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:39:03] Production.INFO: ==11957== Lock acquired, processing the job... [2025-03-20 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:39:03] Production.INFO: ==11959== Lock acquired, processing the job... [2025-03-20 04:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:39:03] Production.INFO: Account Balance Start. [2025-03-20 04:39:03] Production.INFO: CreateAllLog Start [2025-03-20 04:39:03] Production.INFO: 117 [2025-03-20 04:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 04:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:03] Production.INFO: count ==12 [2025-03-20 04:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 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-03-20 04:39:03] Production.INFO: count ==23 [2025-03-20 04:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720445') start [2025-03-20 04:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:39:03] Production.INFO: ==11965== Lock acquired, processing the job... [2025-03-20 04:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:39:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:39:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720445') end [2025-03-20 04:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:39:03] Production.INFO: 1 [2025-03-20 04:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:39:04] Production.INFO: ==11957== Releasing lock... [2025-03-20 04:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:04] Production.INFO: ==11967== Releasing lock... [2025-03-20 04:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:39:04] Production.INFO: Total Charge 0 [2025-03-20 04:39:04] Production.INFO: CreateAllLog End [2025-03-20 04:39:04] Production.INFO: Account Balance End. [2025-03-20 04:39:04] Production.ERROR: done [2025-03-20 04:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:39:04] Production.INFO: ==11962== Releasing lock... [2025-03-20 04:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:39:04] Production.ERROR: done [2025-03-20 04:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:39:05 [end_date_ymd] => 2025-03-20 04:39:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:39:05' and `end` < '2025-03-20 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-03-20 04:39:11] Production.ERROR: CronJobId end10 [2025-03-20 04:39:11] Production.INFO: ==11959== Releasing lock... [2025-03-20 04:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:39:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:39:14] Production.INFO: call_cost start [2025-03-20 04:39:14] Production.INFO: call_cost end [2025-03-20 04:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:39:15] Production.INFO: ==11955== Releasing lock... [2025-03-20 04:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:39:17] Production.INFO: count ==476 [2025-03-20 04:39:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:39:05 - End Time 2025-03-20 04:39:05 [2025-03-20 04:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720448', 'tblTempUsageDetail_20' ) start [2025-03-20 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720448', 'tblTempUsageDetail_20' ) end [2025-03-20 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720448', 'tblTempVendorCDR_20' ) start [2025-03-20 04:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720448', 'tblTempVendorCDR_20' ) end [2025-03-20 04:39:17] Production.INFO: ProcessCDR(1,14720448,1,1,2) [2025-03-20 04:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720448', 'tblTempUsageDetail_20' ) start [2025-03-20 04:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720448', 'tblTempUsageDetail_20' ) end [2025-03-20 04:39:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:39:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:39:20] Production.INFO: ==11965== Releasing lock... [2025-03-20 04:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:39:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:40:01] Production.INFO: ==12028== Lock acquired, processing the job... [2025-03-20 08:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:40:01] Production.INFO: neon service started [2025-03-20 08:40:01] Production.INFO: neon service started [2025-03-20 08:40:01] Production.INFO: ==12028== Releasing lock... [2025-03-20 08:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:40:01] Production.INFO: ==12030== Lock acquired, processing the job... [2025-03-20 04:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:40:02] Production.INFO: ==12032== Lock acquired, processing the job... [2025-03-20 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:40:02] Production.INFO: ==12032== Releasing lock... [2025-03-20 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:40:02] Production.INFO: ==12030== Releasing lock... [2025-03-20 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:40:03] Production.INFO: ==12038== Lock acquired, processing the job... [2025-03-20 04:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:40:03] Production.INFO: ==12049== Lock acquired, processing the job... [2025-03-20 04:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:40:03] Production.INFO: ==12047== Lock acquired, processing the job... [2025-03-20 04:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 04:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:40:03] Production.INFO: ==12034== Lock acquired, processing the job... [2025-03-20 04:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 04: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-03-20 04:40:03] Production.INFO: ==12036== Lock acquired, processing the job... [2025-03-20 04:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:40:03] Production.INFO: count ==12 [2025-03-20 04: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-03-20 04:40:03] Production.INFO: count ==23 [2025-03-20 04:40:03] Production.INFO: ==12043== Lock acquired, processing the job... [2025-03-20 04:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:40:03] Production.INFO: ==12041== Lock acquired, processing the job... [2025-03-20 04:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:40:03] Production.INFO: ==12045== Lock acquired, processing the job... [2025-03-20 04:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720449') start [2025-03-20 04:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:40:03] Production.ERROR: CronJob PID - 12036 [2025-03-20 04:40:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 04:40:03] Production.ERROR: CronJob ID - 5 [2025-03-20 04:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 04:40:00 [2025-03-20 04:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:40:03] Production.ERROR: CronJob PID - 12038 [2025-03-20 04:40:03] Production.ERROR: CronJob Title - Account Block [2025-03-20 04:40:03] Production.ERROR: CronJob ID - 7 [2025-03-20 04:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 04:40:00 [2025-03-20 04:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:40:03] Production.ERROR: CronJob PID - 12041 [2025-03-20 04:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 04:40:03] Production.ERROR: CronJob ID - 10 [2025-03-20 04:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 04:40:00 [2025-03-20 04:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:40:03] Production.ERROR: CronJob PID - 12043 [2025-03-20 04:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 04:40:03] Production.ERROR: CronJob ID - 12 [2025-03-20 04:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 04:40:00 [2025-03-20 04:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:40:03] Production.ERROR: CronJob PID - 12045 [2025-03-20 04:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 04:40:03] Production.ERROR: CronJob ID - 16 [2025-03-20 04:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 04:40:00 [2025-03-20 04:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:40:03] Production.ERROR: CronJob PID - 12047 [2025-03-20 04:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 04:40:03] Production.ERROR: CronJob ID - 17 [2025-03-20 04:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 04:40:00 [2025-03-20 04:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 04:40:03] Production.ERROR: CronJob PID - 12049 [2025-03-20 04:40:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 04:40:03] Production.ERROR: CronJob ID - 19 [2025-03-20 04:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 04:40:00 [2025-03-20 04:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 04:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 04:40:03] Production.INFO: Account Balance Start. [2025-03-20 04:40:03] Production.INFO: CreateAllLog Start [2025-03-20 04:40:03] Production.INFO: 117 [2025-03-20 04:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720449') end [2025-03-20 04:40:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:40:03] Production.INFO: 1 [2025-03-20 04:40:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:40:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 04:40:04] Production.INFO: ==12034== Releasing lock... [2025-03-20 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 04:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 04:40:04] Production.INFO: ==12049== Releasing lock... [2025-03-20 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:40:04] Production.INFO: ==12038== Releasing lock... [2025-03-20 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:40:04] Production.ERROR: done [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 04:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720453', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 04:40:04] Production.ERROR: done [2025-03-20 04:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:40:04] Production.INFO: Total Charge 0 [2025-03-20 04:40:04] Production.INFO: CreateAllLog End [2025-03-20 04:40:04] Production.ERROR: done [2025-03-20 04:40:04] Production.INFO: Account Balance End. [2025-03-20 04:40:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:40:04] Production.INFO: ==12043== Releasing lock... [2025-03-20 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:40:06 [end_date_ymd] => 2025-03-20 04:40:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:40:06' and `end` < '2025-03-20 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-03-20 04:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720453', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 04:40:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 04:40:08] Production.INFO: ProcessCDR(1,14720453,1,1,2) [2025-03-20 04:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720453,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720453,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:40:09] Production.INFO: ==12047== Releasing lock... [2025-03-20 04:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 04:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 04:40:13] Production.ERROR: CronJobId end10 [2025-03-20 04:40:13] Production.INFO: ==12041== Releasing lock... [2025-03-20 04:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:40:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:40:16] Production.INFO: call_cost start [2025-03-20 04:40:16] Production.INFO: call_cost end [2025-03-20 04:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:40:17] Production.INFO: ==12036== Releasing lock... [2025-03-20 04:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:40:18] Production.INFO: count ==468 [2025-03-20 04:40:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:40:06 - End Time 2025-03-20 04:40:06 [2025-03-20 04:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720454', 'tblTempUsageDetail_20' ) start [2025-03-20 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720454', 'tblTempUsageDetail_20' ) end [2025-03-20 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720454', 'tblTempVendorCDR_20' ) start [2025-03-20 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720454', 'tblTempVendorCDR_20' ) end [2025-03-20 04:40:18] Production.INFO: ProcessCDR(1,14720454,1,1,2) [2025-03-20 04:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720454', 'tblTempUsageDetail_20' ) start [2025-03-20 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720454', 'tblTempUsageDetail_20' ) end [2025-03-20 04:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:40:21] Production.INFO: ==12045== Releasing lock... [2025-03-20 04:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:40:21] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:41:02] Production.INFO: ==12115== Lock acquired, processing the job... [2025-03-20 08:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:41:02] Production.INFO: neon service started [2025-03-20 08:41:02] Production.INFO: neon service started [2025-03-20 08:41:02] Production.INFO: ==12115== Releasing lock... [2025-03-20 08:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:41:02] Production.INFO: ==12117== Lock acquired, processing the job... [2025-03-20 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:41:02] Production.INFO: ==12117== Releasing lock... [2025-03-20 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:41:02] Production.INFO: ==12119== Lock acquired, processing the job... [2025-03-20 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:41:02] Production.INFO: ==12119== Releasing lock... [2025-03-20 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:41:03] Production.INFO: ==12121== Lock acquired, processing the job... [2025-03-20 04:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:41:03] Production.INFO: ==12129== Lock acquired, processing the job... [2025-03-20 04:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:41:03] Production.INFO: ==12123== Lock acquired, processing the job... [2025-03-20 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:41:04] Production.INFO: ==12125== Lock acquired, processing the job... [2025-03-20 04:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:41:04] Production.INFO: ==12127== Lock acquired, processing the job... [2025-03-20 04:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:41:04] Production.INFO: ==12131== Lock acquired, processing the job... [2025-03-20 04:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:41:04] Production.ERROR: done [2025-03-20 04:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:41:04] Production.INFO: Account Balance Start. [2025-03-20 04:41:04] Production.INFO: CreateAllLog Start [2025-03-20 04:41:04] Production.INFO: 117 [2025-03-20 04:41:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.ERROR: done [2025-03-20 04:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.INFO: ==12123== Releasing lock... [2025-03-20 04:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:41:04] Production.INFO: count ==12 [2025-03-20 04:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.INFO: count ==23 [2025-03-20 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720458') start [2025-03-20 04:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720458') end [2025-03-20 04:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:41:04] Production.INFO: 1 [2025-03-20 04:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.INFO: ==12131== Releasing lock... [2025-03-20 04:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:41:04] Production.INFO: Total Charge 0 [2025-03-20 04:41:04] Production.INFO: CreateAllLog End [2025-03-20 04:41:05] Production.INFO: Account Balance End. [2025-03-20 04:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:41:05] Production.INFO: ==12127== Releasing lock... [2025-03-20 04:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:41:05 [end_date_ymd] => 2025-03-20 04:41:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:41:05' and `end` < '2025-03-20 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-03-20 04:41:13] Production.ERROR: CronJobId end10 [2025-03-20 04:41:13] Production.INFO: ==12125== Releasing lock... [2025-03-20 04:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:41:14] Production.INFO: call_cost start [2025-03-20 04:41:14] Production.INFO: call_cost end [2025-03-20 04:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:41:15] Production.INFO: ==12121== Releasing lock... [2025-03-20 04:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:41:17] Production.INFO: count ==451 [2025-03-20 04:41:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:41:05 - End Time 2025-03-20 04:41:05 [2025-03-20 04:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720459', 'tblTempUsageDetail_20' ) start [2025-03-20 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720459', 'tblTempUsageDetail_20' ) end [2025-03-20 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720459', 'tblTempVendorCDR_20' ) start [2025-03-20 04:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720459', 'tblTempVendorCDR_20' ) end [2025-03-20 04:41:17] Production.INFO: ProcessCDR(1,14720459,1,1,2) [2025-03-20 04:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720459', 'tblTempUsageDetail_20' ) start [2025-03-20 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720459', 'tblTempUsageDetail_20' ) end [2025-03-20 04:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:41:21] Production.INFO: ==12129== Releasing lock... [2025-03-20 04:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:41:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:42:01] Production.INFO: ==12197== Lock acquired, processing the job... [2025-03-20 08:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:42:01] Production.INFO: neon service started [2025-03-20 08:42:01] Production.INFO: neon service started [2025-03-20 08:42:01] Production.INFO: ==12197== Releasing lock... [2025-03-20 08:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:42:01] Production.INFO: ==12199== Lock acquired, processing the job... [2025-03-20 04:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:42:02] Production.INFO: ==12199== Releasing lock... [2025-03-20 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:42:02] Production.INFO: ==12201== Lock acquired, processing the job... [2025-03-20 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:42:02] Production.INFO: ==12201== Releasing lock... [2025-03-20 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:42:03] Production.INFO: ==12204== Lock acquired, processing the job... [2025-03-20 04:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:42:03] Production.INFO: ==12206== Lock acquired, processing the job... [2025-03-20 04:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:42:03] Production.INFO: ==12210== Lock acquired, processing the job... [2025-03-20 04:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:42:03] Production.INFO: ==12208== Lock acquired, processing the job... [2025-03-20 04:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:42:03] Production.INFO: ==12212== Lock acquired, processing the job... [2025-03-20 04:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:42:03] Production.INFO: Account Balance Start. [2025-03-20 04:42:03] Production.INFO: CreateAllLog Start [2025-03-20 04:42:03] Production.INFO: 117 [2025-03-20 04:42:03] Production.INFO: ==12214== Lock acquired, processing the job... [2025-03-20 04:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:42:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:42:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:42:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:03] Production.INFO: count ==12 [2025-03-20 04: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-03-20 04:42:03] Production.INFO: count ==23 [2025-03-20 04:42:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720463') start [2025-03-20 04:42:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:03] Production.INFO: ==12206== Releasing lock... [2025-03-20 04:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:42:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:42:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720463') end [2025-03-20 04:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:42:04] Production.INFO: 1 [2025-03-20 04:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:04] Production.INFO: ==12214== Releasing lock... [2025-03-20 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:42:04] Production.ERROR: done [2025-03-20 04:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:42:04] Production.INFO: Total Charge 0 [2025-03-20 04:42:04] Production.INFO: CreateAllLog End [2025-03-20 04:42:04] Production.ERROR: done [2025-03-20 04:42:04] Production.INFO: Account Balance End. [2025-03-20 04:42:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:42:04] Production.INFO: ==12210== Releasing lock... [2025-03-20 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:42:05 [end_date_ymd] => 2025-03-20 04:42:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:42:05' and `end` < '2025-03-20 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-03-20 04:42:12] Production.ERROR: CronJobId end10 [2025-03-20 04:42:12] Production.INFO: ==12208== Releasing lock... [2025-03-20 04:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:42:15] Production.INFO: call_cost start [2025-03-20 04:42:15] Production.INFO: call_cost end [2025-03-20 04:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:42:16] Production.INFO: ==12204== Releasing lock... [2025-03-20 04:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:42:17] Production.INFO: count ==451 [2025-03-20 04:42:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:42:05 - End Time 2025-03-20 04:42:05 [2025-03-20 04:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720464', 'tblTempUsageDetail_20' ) start [2025-03-20 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720464', 'tblTempUsageDetail_20' ) end [2025-03-20 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720464', 'tblTempVendorCDR_20' ) start [2025-03-20 04:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720464', 'tblTempVendorCDR_20' ) end [2025-03-20 04:42:17] Production.INFO: ProcessCDR(1,14720464,1,1,2) [2025-03-20 04:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720464', 'tblTempUsageDetail_20' ) start [2025-03-20 04:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720464', 'tblTempUsageDetail_20' ) end [2025-03-20 04:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:42:21] Production.INFO: ==12212== Releasing lock... [2025-03-20 04:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:42:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:43:01] Production.INFO: ==12276== Lock acquired, processing the job... [2025-03-20 08:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:43:01] Production.INFO: neon service started [2025-03-20 08:43:01] Production.INFO: neon service started [2025-03-20 08:43:01] Production.INFO: ==12276== Releasing lock... [2025-03-20 08:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:43:02] Production.INFO: ==12280== Lock acquired, processing the job... [2025-03-20 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:43:02] Production.INFO: ==12278== Lock acquired, processing the job... [2025-03-20 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:43:02] Production.INFO: ==12280== Releasing lock... [2025-03-20 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:43:02] Production.INFO: ==12278== Releasing lock... [2025-03-20 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:43:03] Production.INFO: ==12289== Lock acquired, processing the job... [2025-03-20 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:43:03] Production.INFO: Account Balance Start. [2025-03-20 04:43:03] Production.INFO: CreateAllLog Start [2025-03-20 04:43:03] Production.INFO: 117 [2025-03-20 04:43:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:43:03] Production.INFO: ==12293== Lock acquired, processing the job... [2025-03-20 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:43:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:03] Production.INFO: count ==12 [2025-03-20 04:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:43:03] Production.INFO: count ==23 [2025-03-20 04:43:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720466') start [2025-03-20 04:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:04] Production.INFO: ==12283== Lock acquired, processing the job... [2025-03-20 04:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:43:04] Production.INFO: ==12285== Lock acquired, processing the job... [2025-03-20 04:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:43:04] Production.INFO: ==12287== Lock acquired, processing the job... [2025-03-20 04:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720466') end [2025-03-20 04:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:43:04] Production.INFO: 1 [2025-03-20 04:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:43:04] Production.INFO: ==12291== Lock acquired, processing the job... [2025-03-20 04:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:04] Production.INFO: ==12293== Releasing lock... [2025-03-20 04:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:43:04] Production.INFO: Total Charge 0 [2025-03-20 04:43:04] Production.INFO: CreateAllLog End [2025-03-20 04:43:04] Production.INFO: ==12285== Releasing lock... [2025-03-20 04:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:43:04] Production.ERROR: done [2025-03-20 04:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:43:04] Production.ERROR: done [2025-03-20 04:43:04] Production.INFO: Account Balance End. [2025-03-20 04:43:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:43:04] Production.INFO: ==12289== Releasing lock... [2025-03-20 04:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:43:05 [end_date_ymd] => 2025-03-20 04:43:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:43:05' and `end` < '2025-03-20 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-03-20 04:43:12] Production.ERROR: CronJobId end10 [2025-03-20 04:43:12] Production.INFO: ==12287== Releasing lock... [2025-03-20 04:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:43:14] Production.INFO: call_cost start [2025-03-20 04:43:14] Production.INFO: call_cost end [2025-03-20 04:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:43:15] Production.INFO: ==12283== Releasing lock... [2025-03-20 04:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:43:17] Production.INFO: count ==451 [2025-03-20 04:43:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:43:05 - End Time 2025-03-20 04:43:05 [2025-03-20 04:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720469', 'tblTempUsageDetail_20' ) start [2025-03-20 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720469', 'tblTempUsageDetail_20' ) end [2025-03-20 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720469', 'tblTempVendorCDR_20' ) start [2025-03-20 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720469', 'tblTempVendorCDR_20' ) end [2025-03-20 04:43:17] Production.INFO: ProcessCDR(1,14720469,1,1,2) [2025-03-20 04:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720469', 'tblTempUsageDetail_20' ) start [2025-03-20 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720469', 'tblTempUsageDetail_20' ) end [2025-03-20 04:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:43:21] Production.INFO: ==12291== Releasing lock... [2025-03-20 04:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:43:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:44:01] Production.INFO: ==12355== Lock acquired, processing the job... [2025-03-20 08:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:44:01] Production.INFO: neon service started [2025-03-20 08:44:01] Production.INFO: neon service started [2025-03-20 08:44:01] Production.INFO: ==12355== Releasing lock... [2025-03-20 08:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:44:01] Production.INFO: ==12359== Lock acquired, processing the job... [2025-03-20 08:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:44:01] Production.INFO: ==12359== Releasing lock... [2025-03-20 08:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:44:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:44:01] Production.INFO: ==12357== Lock acquired, processing the job... [2025-03-20 04:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:44:02] Production.INFO: ==12357== Releasing lock... [2025-03-20 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:44:03] Production.INFO: ==12368== Lock acquired, processing the job... [2025-03-20 04:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:44:03] Production.INFO: ==12370== Lock acquired, processing the job... [2025-03-20 04:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:44:03] Production.INFO: ==12362== Lock acquired, processing the job... [2025-03-20 04:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:44:03] Production.INFO: ==12364== Lock acquired, processing the job... [2025-03-20 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:44:03] Production.INFO: Account Balance Start. [2025-03-20 04:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:44:03] Production.INFO: CreateAllLog Start [2025-03-20 04:44:03] Production.INFO: 117 [2025-03-20 04:44:03] Production.INFO: ==12366== Lock acquired, processing the job... [2025-03-20 04:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:44:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:44:03] Production.INFO: ==12372== Lock acquired, processing the job... [2025-03-20 04:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:44:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:44:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:44:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:44:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:44:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:44:03] Production.INFO: count ==12 [2025-03-20 04:44:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:44:03] Production.INFO: count ==23 [2025-03-20 04:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720473') start [2025-03-20 04:44:03] Production.INFO: ==12364== Releasing lock... [2025-03-20 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:44:03] Production.ERROR: done [2025-03-20 04:44:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:44:03] Production.INFO: Date 2025-03-15 [2025-03-20 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720473') end [2025-03-20 04:44:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:44:03] Production.INFO: 1 [2025-03-20 04:44:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:44:03] Production.INFO: Date 2025-03-16 [2025-03-20 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:44:03] Production.ERROR: done [2025-03-20 04:44:03] Production.INFO: ==12372== Releasing lock... [2025-03-20 04:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:44:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:44:03] Production.INFO: Date 2025-03-17 [2025-03-20 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:44:03] Production.INFO: Date 2025-03-18 [2025-03-20 04:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:44:04] Production.INFO: Total Charge 0 [2025-03-20 04:44:04] Production.INFO: CreateAllLog End [2025-03-20 04:44:04] Production.INFO: Account Balance End. [2025-03-20 04:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:44:04] Production.INFO: ==12368== Releasing lock... [2025-03-20 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:44:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:44:04 [end_date_ymd] => 2025-03-20 04:44:04 [RateCDR] => 1 ) [2025-03-20 04:44:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:44:04' and `end` < '2025-03-20 04:44:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:44:10] Production.ERROR: CronJobId end10 [2025-03-20 04:44:10] Production.INFO: ==12366== Releasing lock... [2025-03-20 04:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:44:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:44:14] Production.INFO: call_cost start [2025-03-20 04:44:14] Production.INFO: call_cost end [2025-03-20 04:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:44:15] Production.INFO: ==12362== Releasing lock... [2025-03-20 04:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:44:17] Production.INFO: count ==451 [2025-03-20 04:44:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:44:04 - End Time 2025-03-20 04:44:04 [2025-03-20 04:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720474', 'tblTempUsageDetail_20' ) start [2025-03-20 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720474', 'tblTempUsageDetail_20' ) end [2025-03-20 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720474', 'tblTempVendorCDR_20' ) start [2025-03-20 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720474', 'tblTempVendorCDR_20' ) end [2025-03-20 04:44:17] Production.INFO: ProcessCDR(1,14720474,1,1,2) [2025-03-20 04:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720474', 'tblTempUsageDetail_20' ) start [2025-03-20 04:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720474', 'tblTempUsageDetail_20' ) end [2025-03-20 04:44:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:44:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:44:20] Production.INFO: ==12370== Releasing lock... [2025-03-20 04:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:44:20] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:45:01] Production.INFO: ==12431== Lock acquired, processing the job... [2025-03-20 08:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:45:01] Production.INFO: neon service started [2025-03-20 08:45:01] Production.INFO: neon service started [2025-03-20 08:45:01] Production.INFO: ==12431== Releasing lock... [2025-03-20 08:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:45:02] Production.INFO: ==12433== Lock acquired, processing the job... [2025-03-20 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:45:02] Production.INFO: ==12433== Releasing lock... [2025-03-20 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:45:02] Production.INFO: ==12435== Lock acquired, processing the job... [2025-03-20 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:45:02] Production.INFO: ==12435== Releasing lock... [2025-03-20 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:45:03] Production.INFO: ==12438== Lock acquired, processing the job... [2025-03-20 04:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:45:03] Production.INFO: ==12446== Lock acquired, processing the job... [2025-03-20 04:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:45:03] Production.INFO: ==12440== Lock acquired, processing the job... [2025-03-20 04:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:45:03] Production.INFO: ==12442== Lock acquired, processing the job... [2025-03-20 04:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:45:03] Production.INFO: ==12444== Lock acquired, processing the job... [2025-03-20 04:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:45:03] Production.INFO: ==12448== Lock acquired, processing the job... [2025-03-20 04:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:45:03] Production.INFO: Account Balance Start. [2025-03-20 04:45:03] Production.INFO: CreateAllLog Start [2025-03-20 04:45:03] Production.INFO: 117 [2025-03-20 04:45:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.INFO: count ==12 [2025-03-20 04:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:45:04] Production.INFO: count ==23 [2025-03-20 04:45:04] Production.ERROR: done [2025-03-20 04:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720478') start [2025-03-20 04:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.INFO: ==12440== Releasing lock... [2025-03-20 04:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:45:04] Production.ERROR: done [2025-03-20 04:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720478') end [2025-03-20 04:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:45:04] Production.INFO: 1 [2025-03-20 04:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:45:04] Production.INFO: ==12448== Releasing lock... [2025-03-20 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:45:04] Production.INFO: Total Charge 0 [2025-03-20 04:45:04] Production.INFO: CreateAllLog End [2025-03-20 04:45:04] Production.INFO: Account Balance End. [2025-03-20 04:45:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:45:04] Production.INFO: ==12444== Releasing lock... [2025-03-20 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:45:05 [end_date_ymd] => 2025-03-20 04:45:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:45:05' and `end` < '2025-03-20 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-03-20 04:45:12] Production.ERROR: CronJobId end10 [2025-03-20 04:45:12] Production.INFO: ==12442== Releasing lock... [2025-03-20 04:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:45:14] Production.INFO: call_cost start [2025-03-20 04:45:14] Production.INFO: call_cost end [2025-03-20 04:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:45:15] Production.INFO: ==12438== Releasing lock... [2025-03-20 04:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:45:17] Production.INFO: count ==451 [2025-03-20 04:45:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:45:05 - End Time 2025-03-20 04:45:05 [2025-03-20 04:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720479', 'tblTempUsageDetail_20' ) start [2025-03-20 04:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720479', 'tblTempUsageDetail_20' ) end [2025-03-20 04:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720479', 'tblTempVendorCDR_20' ) start [2025-03-20 04:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720479', 'tblTempVendorCDR_20' ) end [2025-03-20 04:45:17] Production.INFO: ProcessCDR(1,14720479,1,1,2) [2025-03-20 04:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720479', 'tblTempUsageDetail_20' ) start [2025-03-20 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720479', 'tblTempUsageDetail_20' ) end [2025-03-20 04:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:45:21] Production.INFO: ==12446== Releasing lock... [2025-03-20 04:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:45:21] Production.INFO: 32.25 MB #Memory Used# [2025-03-20 08:46:02] Production.INFO: ==12505== Lock acquired, processing the job... [2025-03-20 08:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:46:02] Production.INFO: neon service started [2025-03-20 08:46:02] Production.INFO: neon service started [2025-03-20 08:46:02] Production.INFO: ==12505== Releasing lock... [2025-03-20 08:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:46:02] Production.INFO: ==12507== Lock acquired, processing the job... [2025-03-20 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:46:03] Production.INFO: ==12509== Lock acquired, processing the job... [2025-03-20 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:46:03] Production.INFO: ==12509== Releasing lock... [2025-03-20 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:46:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:46:03] Production.INFO: ==12507== Releasing lock... [2025-03-20 04:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:46:04] Production.INFO: ==12514== Lock acquired, processing the job... [2025-03-20 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:46:04] Production.INFO: ==12512== Lock acquired, processing the job... [2025-03-20 04:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:46:04] Production.INFO: ==12516== Lock acquired, processing the job... [2025-03-20 04:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:46:04] Production.INFO: ==12514== Releasing lock... [2025-03-20 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:46:04] Production.INFO: ==12518== Lock acquired, processing the job... [2025-03-20 04:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:46:04] Production.INFO: ==12520== Lock acquired, processing the job... [2025-03-20 04:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:46:04] Production.INFO: ==12522== Lock acquired, processing the job... [2025-03-20 04:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:46:04] Production.INFO: Account Balance Start. [2025-03-20 04:46:04] Production.INFO: CreateAllLog Start [2025-03-20 04:46:04] Production.INFO: 117 [2025-03-20 04:46:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:04] Production.INFO: count ==12 [2025-03-20 04:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:46:04] Production.INFO: count ==23 [2025-03-20 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720483') start [2025-03-20 04:46:04] Production.ERROR: done [2025-03-20 04:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720483') end [2025-03-20 04:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:46:04] Production.INFO: 1 [2025-03-20 04:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:46:05] Production.INFO: Date 2025-03-13 [2025-03-20 04:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:05] Production.INFO: ==12522== Releasing lock... [2025-03-20 04:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:46:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:46:05] Production.INFO: Date 2025-03-14 [2025-03-20 04:46:05] Production.ERROR: done [2025-03-20 04:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:05] Production.INFO: Date 2025-03-15 [2025-03-20 04:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:46:05] Production.INFO: Total Charge 0 [2025-03-20 04:46:05] Production.INFO: CreateAllLog End [2025-03-20 04:46:05] Production.INFO: Account Balance End. [2025-03-20 04:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:46:05] Production.INFO: ==12518== Releasing lock... [2025-03-20 04:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:46:06 [end_date_ymd] => 2025-03-20 04:46:06 [RateCDR] => 1 ) [2025-03-20 04: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-03-20 01:46:06' and `end` < '2025-03-20 04: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-03-20 04:46:12] Production.ERROR: CronJobId end10 [2025-03-20 04:46:12] Production.INFO: ==12516== Releasing lock... [2025-03-20 04:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:46:15] Production.INFO: call_cost start [2025-03-20 04:46:15] Production.INFO: call_cost end [2025-03-20 04:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:46:16] Production.INFO: ==12512== Releasing lock... [2025-03-20 04:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:46:19] Production.INFO: count ==448 [2025-03-20 04:46:19] Production.ERROR: pbx CDR StartTime 2025-03-20 01:46:06 - End Time 2025-03-20 04:46:06 [2025-03-20 04:46:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720484', 'tblTempUsageDetail_20' ) start [2025-03-20 04:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720484', 'tblTempUsageDetail_20' ) end [2025-03-20 04:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720484', 'tblTempVendorCDR_20' ) start [2025-03-20 04:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720484', 'tblTempVendorCDR_20' ) end [2025-03-20 04:46:19] Production.INFO: ProcessCDR(1,14720484,1,1,2) [2025-03-20 04:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720484', 'tblTempUsageDetail_20' ) start [2025-03-20 04:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720484', 'tblTempUsageDetail_20' ) end [2025-03-20 04:46:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:46:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:46:23] Production.INFO: ==12520== Releasing lock... [2025-03-20 04:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:46:23] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:47:01] Production.INFO: ==12577== Lock acquired, processing the job... [2025-03-20 08:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:47:01] Production.INFO: neon service started [2025-03-20 08:47:01] Production.INFO: neon service started [2025-03-20 08:47:01] Production.INFO: ==12577== Releasing lock... [2025-03-20 08:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:47:02] Production.INFO: ==12579== Lock acquired, processing the job... [2025-03-20 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:47:02] Production.INFO: ==12579== Releasing lock... [2025-03-20 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:47:02] Production.INFO: ==12581== Lock acquired, processing the job... [2025-03-20 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:47:02] Production.INFO: ==12581== Releasing lock... [2025-03-20 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:47:03] Production.INFO: ==12584== Lock acquired, processing the job... [2025-03-20 04:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:47:03] Production.INFO: ==12586== Lock acquired, processing the job... [2025-03-20 04:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:47:03] Production.INFO: ==12590== Lock acquired, processing the job... [2025-03-20 04:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:47:03] Production.INFO: ==12588== Lock acquired, processing the job... [2025-03-20 04:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:47:03] Production.INFO: Account Balance Start. [2025-03-20 04:47:03] Production.INFO: CreateAllLog Start [2025-03-20 04:47:03] Production.INFO: 117 [2025-03-20 04:47:03] Production.INFO: ==12592== Lock acquired, processing the job... [2025-03-20 04:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:47:03] Production.INFO: ==12594== Lock acquired, processing the job... [2025-03-20 04:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:47:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:04] Production.INFO: count ==12 [2025-03-20 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-03-20 04:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:47:04] Production.INFO: count ==23 [2025-03-20 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720488') start [2025-03-20 04:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:04] Production.INFO: ==12586== Releasing lock... [2025-03-20 04:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720488') end [2025-03-20 04:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:47:04] Production.INFO: 1 [2025-03-20 04:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:04] Production.INFO: ==12594== Releasing lock... [2025-03-20 04:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:47:04] Production.ERROR: done [2025-03-20 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:47:04] Production.INFO: Total Charge 0 [2025-03-20 04:47:04] Production.INFO: CreateAllLog End [2025-03-20 04:47:04] Production.ERROR: done [2025-03-20 04:47:04] Production.INFO: Account Balance End. [2025-03-20 04:47:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:47:04] Production.INFO: ==12590== Releasing lock... [2025-03-20 04:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:47:06 [end_date_ymd] => 2025-03-20 04:47:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:47:06' and `end` < '2025-03-20 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-03-20 04:47:11] Production.ERROR: CronJobId end10 [2025-03-20 04:47:11] Production.INFO: ==12588== Releasing lock... [2025-03-20 04:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:47:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:47:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:47:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:47:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:47:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:47:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:47:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:47:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:47:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:47:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:47:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:47:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:47:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:47:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:47:14] Production.INFO: call_cost start [2025-03-20 04:47:14] Production.INFO: call_cost end [2025-03-20 04:47:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:47:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:47:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:47:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:47:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:47:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:47:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:47:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:47:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:47:15] Production.INFO: ==12584== Releasing lock... [2025-03-20 04:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:47:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:47:18] Production.INFO: count ==448 [2025-03-20 04:47:19] Production.ERROR: pbx CDR StartTime 2025-03-20 01:47:06 - End Time 2025-03-20 04:47:06 [2025-03-20 04:47:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720489', 'tblTempUsageDetail_20' ) start [2025-03-20 04:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720489', 'tblTempUsageDetail_20' ) end [2025-03-20 04:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720489', 'tblTempVendorCDR_20' ) start [2025-03-20 04:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720489', 'tblTempVendorCDR_20' ) end [2025-03-20 04:47:19] Production.INFO: ProcessCDR(1,14720489,1,1,2) [2025-03-20 04:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720489', 'tblTempUsageDetail_20' ) start [2025-03-20 04:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720489', 'tblTempUsageDetail_20' ) end [2025-03-20 04:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:47:22] Production.INFO: ==12592== Releasing lock... [2025-03-20 04:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:47:22] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:48:02] Production.INFO: ==12654== Lock acquired, processing the job... [2025-03-20 08:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:48:02] Production.INFO: neon service started [2025-03-20 08:48:02] Production.INFO: neon service started [2025-03-20 08:48:02] Production.INFO: ==12654== Releasing lock... [2025-03-20 08:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:48:03] Production.INFO: ==12658== Lock acquired, processing the job... [2025-03-20 08:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:48:03] Production.INFO: ==12658== Releasing lock... [2025-03-20 08:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:48:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:48:03] Production.INFO: ==12656== Lock acquired, processing the job... [2025-03-20 04:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:48:03] Production.INFO: ==12656== Releasing lock... [2025-03-20 04:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:48:04] Production.INFO: ==12669== Lock acquired, processing the job... [2025-03-20 04:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:48:04] Production.INFO: ==12671== Lock acquired, processing the job... [2025-03-20 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:48:04] Production.INFO: ==12661== Lock acquired, processing the job... [2025-03-20 04:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:48:04] Production.INFO: ==12663== Lock acquired, processing the job... [2025-03-20 04:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:48:04] Production.INFO: ==12665== Lock acquired, processing the job... [2025-03-20 04:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:48:04] Production.INFO: ==12667== Lock acquired, processing the job... [2025-03-20 04:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 04:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:48:04] Production.INFO: Account Balance Start. [2025-03-20 04:48:04] Production.INFO: CreateAllLog Start [2025-03-20 04:48:04] Production.INFO: 117 [2025-03-20 04:48:04] Production.INFO: count ==12 [2025-03-20 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-03-20 04:48:04] Production.INFO: count ==23 [2025-03-20 04:48:04] Production.ERROR: done [2025-03-20 04:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720490') start [2025-03-20 04:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720490') end [2025-03-20 04:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:48:04] Production.INFO: 1 [2025-03-20 04:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:48:04] Production.ERROR: done [2025-03-20 04:48:04] Production.INFO: ==12671== Releasing lock... [2025-03-20 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:48:04] Production.INFO: ==12663== Releasing lock... [2025-03-20 04:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:05] Production.INFO: Date 2025-03-13 [2025-03-20 04:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:05] Production.INFO: Date 2025-03-14 [2025-03-20 04:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:05] Production.INFO: Date 2025-03-15 [2025-03-20 04:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:48:05] Production.INFO: Total Charge 0 [2025-03-20 04:48:05] Production.INFO: CreateAllLog End [2025-03-20 04:48:05] Production.INFO: Account Balance End. [2025-03-20 04:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:48:05] Production.INFO: ==12667== Releasing lock... [2025-03-20 04:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:48:06 [end_date_ymd] => 2025-03-20 04:48:06 [RateCDR] => 1 ) [2025-03-20 04:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:48:06' and `end` < '2025-03-20 04:48:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:48:12] Production.ERROR: CronJobId end10 [2025-03-20 04:48:12] Production.INFO: ==12665== Releasing lock... [2025-03-20 04:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:48:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:48:15] Production.INFO: call_cost start [2025-03-20 04:48:15] Production.INFO: call_cost end [2025-03-20 04:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:48:16] Production.INFO: ==12661== Releasing lock... [2025-03-20 04:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:48:18] Production.INFO: count ==448 [2025-03-20 04:48:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:48:06 - End Time 2025-03-20 04:48:06 [2025-03-20 04:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720494', 'tblTempUsageDetail_20' ) start [2025-03-20 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720494', 'tblTempUsageDetail_20' ) end [2025-03-20 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720494', 'tblTempVendorCDR_20' ) start [2025-03-20 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720494', 'tblTempVendorCDR_20' ) end [2025-03-20 04:48:18] Production.INFO: ProcessCDR(1,14720494,1,1,2) [2025-03-20 04:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720494', 'tblTempUsageDetail_20' ) start [2025-03-20 04:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720494', 'tblTempUsageDetail_20' ) end [2025-03-20 04:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:48:22] Production.INFO: ==12669== Releasing lock... [2025-03-20 04:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:48:22] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:49:01] Production.INFO: ==12728== Lock acquired, processing the job... [2025-03-20 08:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:49:01] Production.INFO: neon service started [2025-03-20 08:49:01] Production.INFO: neon service started [2025-03-20 08:49:01] Production.INFO: ==12728== Releasing lock... [2025-03-20 08:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:49:02] Production.INFO: ==12730== Lock acquired, processing the job... [2025-03-20 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:49:02] Production.INFO: ==12730== Releasing lock... [2025-03-20 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:49:02] Production.INFO: ==12732== Lock acquired, processing the job... [2025-03-20 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:49:02] Production.INFO: ==12732== Releasing lock... [2025-03-20 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:49:03] Production.INFO: ==12734== Lock acquired, processing the job... [2025-03-20 04:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:49:03] Production.INFO: ==12736== Lock acquired, processing the job... [2025-03-20 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:49:03] Production.INFO: ==12743== Lock acquired, processing the job... [2025-03-20 04:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:49:03] Production.INFO: ==12739== Lock acquired, processing the job... [2025-03-20 04:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:49:03] Production.INFO: ==12741== Lock acquired, processing the job... [2025-03-20 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:49:03] Production.INFO: ==12745== Lock acquired, processing the job... [2025-03-20 04:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:49:03] Production.INFO: ==12736== Releasing lock... [2025-03-20 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:49:03] Production.ERROR: done [2025-03-20 04:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:49:03] Production.INFO: Account Balance Start. [2025-03-20 04:49:03] Production.INFO: CreateAllLog Start [2025-03-20 04:49:03] Production.INFO: 117 [2025-03-20 04:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:04] Production.INFO: count ==12 [2025-03-20 04:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:49:04] Production.ERROR: done [2025-03-20 04:49:04] Production.INFO: count ==23 [2025-03-20 04:49:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720498') start [2025-03-20 04:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720498') end [2025-03-20 04:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:49:04] Production.INFO: 1 [2025-03-20 04:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:04] Production.INFO: ==12745== Releasing lock... [2025-03-20 04:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:49:04] Production.INFO: Total Charge 0 [2025-03-20 04:49:04] Production.INFO: CreateAllLog End [2025-03-20 04:49:04] Production.INFO: Account Balance End. [2025-03-20 04:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:49:04] Production.INFO: ==12741== Releasing lock... [2025-03-20 04:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:49:05 [end_date_ymd] => 2025-03-20 04:49:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:49:05' and `end` < '2025-03-20 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-03-20 04:49:13] Production.ERROR: CronJobId end10 [2025-03-20 04:49:13] Production.INFO: ==12739== Releasing lock... [2025-03-20 04:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:49:15] Production.INFO: call_cost start [2025-03-20 04:49:15] Production.INFO: call_cost end [2025-03-20 04:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:49:16] Production.INFO: ==12734== Releasing lock... [2025-03-20 04:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:49:17] Production.INFO: count ==448 [2025-03-20 04:49:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:49:05 - End Time 2025-03-20 04:49:05 [2025-03-20 04:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720499', 'tblTempUsageDetail_20' ) start [2025-03-20 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720499', 'tblTempUsageDetail_20' ) end [2025-03-20 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720499', 'tblTempVendorCDR_20' ) start [2025-03-20 04:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720499', 'tblTempVendorCDR_20' ) end [2025-03-20 04:49:18] Production.INFO: ProcessCDR(1,14720499,1,1,2) [2025-03-20 04:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720499', 'tblTempUsageDetail_20' ) start [2025-03-20 04:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720499', 'tblTempUsageDetail_20' ) end [2025-03-20 04:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:49:21] Production.INFO: ==12743== Releasing lock... [2025-03-20 04:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:49:21] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:50:02] Production.INFO: ==12837== Lock acquired, processing the job... [2025-03-20 08:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:50:02] Production.INFO: neon service started [2025-03-20 08:50:02] Production.INFO: neon service started [2025-03-20 08:50:02] Production.INFO: ==12837== Releasing lock... [2025-03-20 08:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:50:02] Production.INFO: ==12839== Lock acquired, processing the job... [2025-03-20 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:50:03] Production.INFO: ==12841== Lock acquired, processing the job... [2025-03-20 08:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:50:03] Production.INFO: ==12841== Releasing lock... [2025-03-20 08:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:50:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:50:03] Production.INFO: ==12839== Releasing lock... [2025-03-20 04:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:50:04] Production.INFO: ==12844== Lock acquired, processing the job... [2025-03-20 04:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 04:50:04] Production.INFO: ==12846== Lock acquired, processing the job... [2025-03-20 04:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 04:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 04:50:04] Production.INFO: ==12844== Releasing lock... [2025-03-20 04:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 04:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 04:50:04] Production.INFO: ==12848== Lock acquired, processing the job... [2025-03-20 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:50:04] Production.INFO: ==12858== Lock acquired, processing the job... [2025-03-20 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 04:50:04] Production.INFO: ==12848== Releasing lock... [2025-03-20 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:50:04] Production.INFO: count ==12 [2025-03-20 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-03-20 04:50:04] Production.INFO: ==12852== Lock acquired, processing the job... [2025-03-20 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:50:04] Production.INFO: count ==23 [2025-03-20 04:50:04] Production.INFO: ==12850== Lock acquired, processing the job... [2025-03-20 04:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720502') start [2025-03-20 04:50:04] Production.INFO: ==12854== Lock acquired, processing the job... [2025-03-20 04:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:50:04] Production.INFO: ==12856== Lock acquired, processing the job... [2025-03-20 04:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720502') end [2025-03-20 04:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:50:04] Production.INFO: 1 [2025-03-20 04:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:50:04] Production.INFO: Account Balance Start. [2025-03-20 04:50:04] Production.INFO: CreateAllLog Start [2025-03-20 04:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:50:04] Production.INFO: 117 [2025-03-20 04:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:50:05] Production.INFO: Date 2025-03-08 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.INFO: Date 2025-03-09 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.INFO: ==12858== Releasing lock... [2025-03-20 04:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:50:05] Production.INFO: Date 2025-03-10 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.INFO: Date 2025-03-11 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.INFO: Date 2025-03-12 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.INFO: Date 2025-03-13 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.ERROR: done [2025-03-20 04:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:50:05] Production.INFO: Date 2025-03-14 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.ERROR: done [2025-03-20 04:50:05] Production.INFO: Date 2025-03-15 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.ERROR: done [2025-03-20 04:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 04:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720504', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 04:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:50:05] Production.INFO: Total Charge 0 [2025-03-20 04:50:05] Production.INFO: CreateAllLog End [2025-03-20 04:50:05] Production.INFO: Account Balance End. [2025-03-20 04:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:50:05] Production.INFO: ==12852== Releasing lock... [2025-03-20 04:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:50:06 [end_date_ymd] => 2025-03-20 04:50:06 [RateCDR] => 1 ) [2025-03-20 04:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:50:06' and `end` < '2025-03-20 04:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720504', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 04:50:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 04:50:10] Production.INFO: ProcessCDR(1,14720504,1,1,2) [2025-03-20 04:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720504,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720504,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:50:10] Production.INFO: ==12856== Releasing lock... [2025-03-20 04:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 04:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 04:50:15] Production.ERROR: CronJobId end10 [2025-03-20 04:50:15] Production.INFO: ==12850== Releasing lock... [2025-03-20 04:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:50:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:50:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:50:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:50:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:50:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:50:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:50:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:50:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:50:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:50:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:50:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:50:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:50:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:50:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:50:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:50:17] Production.INFO: call_cost start [2025-03-20 04:50:17] Production.INFO: call_cost end [2025-03-20 04:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:50:18] Production.INFO: ==12846== Releasing lock... [2025-03-20 04:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:50:19] Production.INFO: count ==448 [2025-03-20 04:50:20] Production.ERROR: pbx CDR StartTime 2025-03-20 01:50:06 - End Time 2025-03-20 04:50:06 [2025-03-20 04:50:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720505', 'tblTempUsageDetail_20' ) start [2025-03-20 04:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720505', 'tblTempUsageDetail_20' ) end [2025-03-20 04:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720505', 'tblTempVendorCDR_20' ) start [2025-03-20 04:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720505', 'tblTempVendorCDR_20' ) end [2025-03-20 04:50:20] Production.INFO: ProcessCDR(1,14720505,1,1,2) [2025-03-20 04:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720505', 'tblTempUsageDetail_20' ) start [2025-03-20 04:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720505', 'tblTempUsageDetail_20' ) end [2025-03-20 04:50:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:50:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:50:23] Production.INFO: ==12854== Releasing lock... [2025-03-20 04:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:50:23] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:51:01] Production.INFO: ==12916== Lock acquired, processing the job... [2025-03-20 08:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:51:01] Production.INFO: neon service started [2025-03-20 08:51:01] Production.INFO: neon service started [2025-03-20 08:51:01] Production.INFO: ==12916== Releasing lock... [2025-03-20 08:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:51:02] Production.INFO: ==12918== Lock acquired, processing the job... [2025-03-20 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:51:02] Production.INFO: ==12920== Lock acquired, processing the job... [2025-03-20 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 04:51:02] Production.INFO: ==12918== Releasing lock... [2025-03-20 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:51:02] Production.INFO: ==12920== Releasing lock... [2025-03-20 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:51:03] Production.INFO: ==12923== Lock acquired, processing the job... [2025-03-20 04:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:51:03] Production.INFO: ==12925== Lock acquired, processing the job... [2025-03-20 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:51:03] Production.INFO: ==12927== Lock acquired, processing the job... [2025-03-20 04:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:51:03] Production.INFO: ==12933== Lock acquired, processing the job... [2025-03-20 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:51:03] Production.INFO: ==12929== Lock acquired, processing the job... [2025-03-20 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:51:03] Production.INFO: ==12931== Lock acquired, processing the job... [2025-03-20 04:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:51:03] Production.INFO: Account Balance Start. [2025-03-20 04:51:03] Production.INFO: CreateAllLog Start [2025-03-20 04:51:03] Production.INFO: 117 [2025-03-20 04:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:51:03] Production.INFO: ==12925== Releasing lock... [2025-03-20 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:51:03] Production.INFO: count ==12 [2025-03-20 04:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:51:03] Production.INFO: count ==23 [2025-03-20 04:51:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720508') start [2025-03-20 04:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720508') end [2025-03-20 04:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:51:04] Production.INFO: 1 [2025-03-20 04:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.INFO: ==12933== Releasing lock... [2025-03-20 04:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:51:04] Production.ERROR: done [2025-03-20 04:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:51:04] Production.INFO: Total Charge 0 [2025-03-20 04:51:04] Production.INFO: CreateAllLog End [2025-03-20 04:51:04] Production.ERROR: done [2025-03-20 04:51:04] Production.INFO: Account Balance End. [2025-03-20 04:51:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:51:04] Production.INFO: ==12929== Releasing lock... [2025-03-20 04:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:51:05 [end_date_ymd] => 2025-03-20 04:51:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:51:05' and `end` < '2025-03-20 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-03-20 04:51:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-03-20 04:51:11] Production.ERROR: CronJobId end10 [2025-03-20 04:51:11] Production.INFO: ==12927== Releasing lock... [2025-03-20 04:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:51:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:51:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:51:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:51:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:51:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:51:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:51:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:51:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:51:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:51:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:51:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:51:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:51:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:51:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:51:14] Production.INFO: call_cost start [2025-03-20 04:51:14] Production.INFO: call_cost end [2025-03-20 04:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:51:15] Production.INFO: ==12923== Releasing lock... [2025-03-20 04:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:51:17] Production.INFO: count ==448 [2025-03-20 04:51:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:51:05 - End Time 2025-03-20 04:51:05 [2025-03-20 04:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720510', 'tblTempUsageDetail_20' ) start [2025-03-20 04:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720510', 'tblTempUsageDetail_20' ) end [2025-03-20 04:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720510', 'tblTempVendorCDR_20' ) start [2025-03-20 04:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720510', 'tblTempVendorCDR_20' ) end [2025-03-20 04:51:18] Production.INFO: ProcessCDR(1,14720510,1,1,2) [2025-03-20 04:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720510', 'tblTempUsageDetail_20' ) start [2025-03-20 04:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720510', 'tblTempUsageDetail_20' ) end [2025-03-20 04:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:51:21] Production.INFO: ==12931== Releasing lock... [2025-03-20 04:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:51:21] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:52:02] Production.INFO: ==12991== Lock acquired, processing the job... [2025-03-20 08:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:52:02] Production.INFO: neon service started [2025-03-20 08:52:02] Production.INFO: neon service started [2025-03-20 08:52:02] Production.INFO: ==12991== Releasing lock... [2025-03-20 08:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:52:02] Production.INFO: ==12993== Lock acquired, processing the job... [2025-03-20 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:52:03] Production.INFO: ==12993== Releasing lock... [2025-03-20 04:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:52:03] Production.INFO: ==12995== Lock acquired, processing the job... [2025-03-20 08:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:52:03] Production.INFO: ==12995== Releasing lock... [2025-03-20 08:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:52:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:52:04] Production.INFO: ==13005== Lock acquired, processing the job... [2025-03-20 04:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:52:04] Production.INFO: ==12997== Lock acquired, processing the job... [2025-03-20 04:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:52:04] Production.INFO: ==13008== Lock acquired, processing the job... [2025-03-20 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:52:04] Production.INFO: ==12999== Lock acquired, processing the job... [2025-03-20 04:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:52:04] Production.INFO: ==13001== Lock acquired, processing the job... [2025-03-20 04:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:52:04] Production.INFO: ==13003== Lock acquired, processing the job... [2025-03-20 04:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:52:04] Production.INFO: Account Balance Start. [2025-03-20 04:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:52:04] Production.INFO: CreateAllLog Start [2025-03-20 04:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:52:04] Production.INFO: 117 [2025-03-20 04:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:04] Production.INFO: count ==12 [2025-03-20 04:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:52:04] Production.INFO: count ==23 [2025-03-20 04:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720511') start [2025-03-20 04:52:04] Production.ERROR: done [2025-03-20 04:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720511') end [2025-03-20 04:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:52:04] Production.INFO: 1 [2025-03-20 04:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:52:04] Production.INFO: ==12999== Releasing lock... [2025-03-20 04:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:04] Production.INFO: ==13008== Releasing lock... [2025-03-20 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:52:04] Production.ERROR: done [2025-03-20 04:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:52:05] Production.INFO: Total Charge 0 [2025-03-20 04:52:05] Production.INFO: CreateAllLog End [2025-03-20 04:52:05] Production.INFO: Account Balance End. [2025-03-20 04:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:52:05] Production.INFO: ==13003== Releasing lock... [2025-03-20 04:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:52:05 [end_date_ymd] => 2025-03-20 04:52:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:52:05' and `end` < '2025-03-20 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-03-20 04:52:12] Production.ERROR: CronJobId end10 [2025-03-20 04:52:12] Production.INFO: ==13001== Releasing lock... [2025-03-20 04:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:52:15] Production.INFO: call_cost start [2025-03-20 04:52:15] Production.INFO: call_cost end [2025-03-20 04:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:52:16] Production.INFO: ==12997== Releasing lock... [2025-03-20 04:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:52:17] Production.INFO: count ==441 [2025-03-20 04:52:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:52:05 - End Time 2025-03-20 04:52:05 [2025-03-20 04:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720515', 'tblTempUsageDetail_20' ) start [2025-03-20 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720515', 'tblTempUsageDetail_20' ) end [2025-03-20 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720515', 'tblTempVendorCDR_20' ) start [2025-03-20 04:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720515', 'tblTempVendorCDR_20' ) end [2025-03-20 04:52:18] Production.INFO: ProcessCDR(1,14720515,1,1,2) [2025-03-20 04:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720515', 'tblTempUsageDetail_20' ) start [2025-03-20 04:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720515', 'tblTempUsageDetail_20' ) end [2025-03-20 04:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:52:21] Production.INFO: ==13005== Releasing lock... [2025-03-20 04:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:52:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 08:53:01] Production.INFO: ==13081== Lock acquired, processing the job... [2025-03-20 08:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:53:01] Production.INFO: neon service started [2025-03-20 08:53:02] Production.INFO: neon service started [2025-03-20 08:53:02] Production.INFO: ==13081== Releasing lock... [2025-03-20 08:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:53:02] Production.INFO: ==13085== Lock acquired, processing the job... [2025-03-20 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:53:02] Production.INFO: ==13085== Releasing lock... [2025-03-20 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:53:02] Production.INFO: ==13083== Lock acquired, processing the job... [2025-03-20 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:53:02] Production.INFO: ==13083== Releasing lock... [2025-03-20 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:53:03] Production.INFO: ==13088== Lock acquired, processing the job... [2025-03-20 04:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:53:03] Production.INFO: ==13090== Lock acquired, processing the job... [2025-03-20 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:53:03] Production.INFO: ==13094== Lock acquired, processing the job... [2025-03-20 04:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:53:03] Production.INFO: Account Balance Start. [2025-03-20 04:53:03] Production.INFO: CreateAllLog Start [2025-03-20 04:53:03] Production.INFO: 117 [2025-03-20 04:53:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.INFO: ==13092== Lock acquired, processing the job... [2025-03-20 04:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.INFO: ==13096== Lock acquired, processing the job... [2025-03-20 04:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:53:04] Production.INFO: ==13098== Lock acquired, processing the job... [2025-03-20 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.INFO: ==13090== Releasing lock... [2025-03-20 04:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 04:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.INFO: count ==12 [2025-03-20 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-03-20 04:53:04] Production.INFO: count ==23 [2025-03-20 04:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720519') start [2025-03-20 04:53:04] Production.INFO: Total Charge 0 [2025-03-20 04:53:04] Production.INFO: CreateAllLog End [2025-03-20 04:53:04] Production.ERROR: done [2025-03-20 04:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720519') end [2025-03-20 04:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:53:04] Production.INFO: 1 [2025-03-20 04:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:53:04] Production.INFO: ==13098== Releasing lock... [2025-03-20 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:53:04] Production.ERROR: done [2025-03-20 04:53:05] Production.INFO: Account Balance End. [2025-03-20 04:53:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:53:05] Production.INFO: ==13094== Releasing lock... [2025-03-20 04:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:53:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:53:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:53:06 [end_date_ymd] => 2025-03-20 04:53:06 [RateCDR] => 1 ) [2025-03-20 04:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:53:06' and `end` < '2025-03-20 04:53:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:53:15] Production.ERROR: CronJobId end10 [2025-03-20 04:53:15] Production.INFO: ==13092== Releasing lock... [2025-03-20 04:53:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:53:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:53:15] Production.INFO: call_cost start [2025-03-20 04:53:15] Production.INFO: call_cost end [2025-03-20 04:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:53:16] Production.INFO: ==13088== Releasing lock... [2025-03-20 04:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:53:19] Production.INFO: count ==437 [2025-03-20 04:53:19] Production.ERROR: pbx CDR StartTime 2025-03-20 01:53:06 - End Time 2025-03-20 04:53:06 [2025-03-20 04:53:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720520', 'tblTempUsageDetail_20' ) start [2025-03-20 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720520', 'tblTempUsageDetail_20' ) end [2025-03-20 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720520', 'tblTempVendorCDR_20' ) start [2025-03-20 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720520', 'tblTempVendorCDR_20' ) end [2025-03-20 04:53:19] Production.INFO: ProcessCDR(1,14720520,1,1,2) [2025-03-20 04:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720520', 'tblTempUsageDetail_20' ) start [2025-03-20 04:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720520', 'tblTempUsageDetail_20' ) end [2025-03-20 04:53:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:53:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:53:22] Production.INFO: ==13096== Releasing lock... [2025-03-20 04:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:53:22] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 08:54:01] Production.INFO: ==13153== Lock acquired, processing the job... [2025-03-20 08:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:54:01] Production.INFO: neon service started [2025-03-20 08:54:01] Production.INFO: neon service started [2025-03-20 08:54:01] Production.INFO: ==13153== Releasing lock... [2025-03-20 08:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:54:01] Production.INFO: ==13155== Lock acquired, processing the job... [2025-03-20 04:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:54:02] Production.INFO: ==13155== Releasing lock... [2025-03-20 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:54:02] Production.INFO: ==13157== Lock acquired, processing the job... [2025-03-20 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:54:02] Production.INFO: ==13157== Releasing lock... [2025-03-20 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:54:02] Production.INFO: ==13160== Lock acquired, processing the job... [2025-03-20 04:54:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:54:02] Production.INFO: ==13162== Lock acquired, processing the job... [2025-03-20 04:54:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:54:02] Production.INFO: ==13164== Lock acquired, processing the job... [2025-03-20 04:54:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:54:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:54:03] Production.INFO: ==13162== Releasing lock... [2025-03-20 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:54:03] Production.INFO: ==13166== Lock acquired, processing the job... [2025-03-20 04:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:54:03] Production.INFO: ==13168== Lock acquired, processing the job... [2025-03-20 04:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:54:03] Production.INFO: ==13170== Lock acquired, processing the job... [2025-03-20 04:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:54:03] Production.INFO: Account Balance Start. [2025-03-20 04:54:03] Production.INFO: CreateAllLog Start [2025-03-20 04:54:03] Production.INFO: 117 [2025-03-20 04:54:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:54:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:03] Production.ERROR: done [2025-03-20 04:54:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:54:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:04] Production.ERROR: done [2025-03-20 04:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:54:04] Production.INFO: Total Charge 0 [2025-03-20 04:54:04] Production.INFO: CreateAllLog End [2025-03-20 04:54:04] Production.INFO: Account Balance End. [2025-03-20 04:54:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:54:04] Production.INFO: ==13166== Releasing lock... [2025-03-20 04:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:54:04] Production.INFO: count ==12 [2025-03-20 04:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:54:04] Production.INFO: count ==23 [2025-03-20 04:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720524') start [2025-03-20 04:54:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720524') end [2025-03-20 04:54:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:54:05] Production.INFO: 1 [2025-03-20 04:54:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:54:05 [end_date_ymd] => 2025-03-20 04:54:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:54:05' and `end` < '2025-03-20 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-03-20 04:54:05] Production.INFO: ==13170== Releasing lock... [2025-03-20 04:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:54:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:54:14] Production.ERROR: CronJobId end10 [2025-03-20 04:54:14] Production.INFO: ==13164== Releasing lock... [2025-03-20 04:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:54:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:54:15] Production.INFO: call_cost start [2025-03-20 04:54:15] Production.INFO: call_cost end [2025-03-20 04:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:54:15] Production.INFO: ==13160== Releasing lock... [2025-03-20 04:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:54:17] Production.INFO: count ==427 [2025-03-20 04:54:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:54:05 - End Time 2025-03-20 04:54:05 [2025-03-20 04:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720525', 'tblTempUsageDetail_20' ) start [2025-03-20 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720525', 'tblTempUsageDetail_20' ) end [2025-03-20 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720525', 'tblTempVendorCDR_20' ) start [2025-03-20 04:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720525', 'tblTempVendorCDR_20' ) end [2025-03-20 04:54:18] Production.INFO: ProcessCDR(1,14720525,1,1,2) [2025-03-20 04:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720525', 'tblTempUsageDetail_20' ) start [2025-03-20 04:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720525', 'tblTempUsageDetail_20' ) end [2025-03-20 04:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:54:21] Production.INFO: ==13168== Releasing lock... [2025-03-20 04:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:54:21] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:55:01] Production.INFO: ==13231== Lock acquired, processing the job... [2025-03-20 08:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:55:01] Production.INFO: neon service started [2025-03-20 08:55:01] Production.INFO: neon service started [2025-03-20 08:55:01] Production.INFO: ==13231== Releasing lock... [2025-03-20 08:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:55:02] Production.INFO: ==13234== Lock acquired, processing the job... [2025-03-20 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:55:02] Production.INFO: ==13234== Releasing lock... [2025-03-20 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:55:02] Production.INFO: ==13236== Lock acquired, processing the job... [2025-03-20 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:55:02] Production.INFO: ==13236== Releasing lock... [2025-03-20 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:55:03] Production.INFO: ==13244== Lock acquired, processing the job... [2025-03-20 04:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:55:03] Production.INFO: ==13242== Lock acquired, processing the job... [2025-03-20 04:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:55:03] Production.INFO: ==13238== Lock acquired, processing the job... [2025-03-20 04:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:55:03] Production.INFO: Account Balance Start. [2025-03-20 04:55:03] Production.INFO: CreateAllLog Start [2025-03-20 04:55:03] Production.INFO: 117 [2025-03-20 04:55:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:55:03] Production.INFO: ==13240== Lock acquired, processing the job... [2025-03-20 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:55:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:55:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:03] Production.INFO: ==13246== Lock acquired, processing the job... [2025-03-20 04:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:55:03] Production.INFO: Date 2025-03-12 [2025-03-20 04:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:03] Production.INFO: ==13248== Lock acquired, processing the job... [2025-03-20 04:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:55:03] Production.INFO: Date 2025-03-13 [2025-03-20 04:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:55:03] Production.INFO: Date 2025-03-14 [2025-03-20 04:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:55:04] Production.INFO: count ==12 [2025-03-20 04:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 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-03-20 04:55:04] Production.INFO: count ==23 [2025-03-20 04:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720529') start [2025-03-20 04:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:04] Production.INFO: ==13240== Releasing lock... [2025-03-20 04:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720529') end [2025-03-20 04:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:55:04] Production.INFO: 1 [2025-03-20 04:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:55:04] Production.INFO: Total Charge 0 [2025-03-20 04:55:04] Production.INFO: CreateAllLog End [2025-03-20 04:55:04] Production.INFO: ==13248== Releasing lock... [2025-03-20 04:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:55:04] Production.ERROR: done [2025-03-20 04:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:55:04] Production.ERROR: done [2025-03-20 04:55:04] Production.INFO: Account Balance End. [2025-03-20 04:55:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:55:04] Production.INFO: ==13244== Releasing lock... [2025-03-20 04:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:55:05 [end_date_ymd] => 2025-03-20 04:55:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:55:05' and `end` < '2025-03-20 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-03-20 04:55:11] Production.ERROR: CronJobId end10 [2025-03-20 04:55:11] Production.INFO: ==13242== Releasing lock... [2025-03-20 04:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:55:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:55:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:55:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:55:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:55:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:55:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:55:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:55:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:55:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:55:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:55:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:55:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:55:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:55:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:55:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:55:14] Production.INFO: call_cost start [2025-03-20 04:55:14] Production.INFO: call_cost end [2025-03-20 04:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:55:15] Production.INFO: ==13238== Releasing lock... [2025-03-20 04:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:55:18] Production.INFO: count ==420 [2025-03-20 04:55:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:55:05 - End Time 2025-03-20 04:55:05 [2025-03-20 04:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720530', 'tblTempUsageDetail_20' ) start [2025-03-20 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720530', 'tblTempUsageDetail_20' ) end [2025-03-20 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720530', 'tblTempVendorCDR_20' ) start [2025-03-20 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720530', 'tblTempVendorCDR_20' ) end [2025-03-20 04:55:18] Production.INFO: ProcessCDR(1,14720530,1,1,2) [2025-03-20 04:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720530', 'tblTempUsageDetail_20' ) start [2025-03-20 04:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720530', 'tblTempUsageDetail_20' ) end [2025-03-20 04:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:55:21] Production.INFO: ==13246== Releasing lock... [2025-03-20 04:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:55:21] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:56:02] Production.INFO: ==13312== Lock acquired, processing the job... [2025-03-20 08:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:56:02] Production.INFO: neon service started [2025-03-20 08:56:02] Production.INFO: neon service started [2025-03-20 08:56:02] Production.INFO: ==13312== Releasing lock... [2025-03-20 08:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:56:03] Production.INFO: ==13314== Lock acquired, processing the job... [2025-03-20 04:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:56:03] Production.INFO: ==13316== Lock acquired, processing the job... [2025-03-20 08:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:56:03] Production.INFO: ==13316== Releasing lock... [2025-03-20 08:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:56:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:56:03] Production.INFO: ==13314== Releasing lock... [2025-03-20 04:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:56:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:56:04] Production.INFO: ==13325== Lock acquired, processing the job... [2025-03-20 04:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:56:04] Production.INFO: Account Balance Start. [2025-03-20 04:56:04] Production.INFO: CreateAllLog Start [2025-03-20 04:56:04] Production.INFO: ==13329== Lock acquired, processing the job... [2025-03-20 04:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:56:04] Production.INFO: 117 [2025-03-20 04:56:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 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-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:04] Production.INFO: count ==12 [2025-03-20 04:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:56:04] Production.INFO: count ==23 [2025-03-20 04:56:04] Production.INFO: ==13319== Lock acquired, processing the job... [2025-03-20 04:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720532') start [2025-03-20 04:56:04] Production.INFO: ==13321== Lock acquired, processing the job... [2025-03-20 04:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:04] Production.INFO: ==13323== Lock acquired, processing the job... [2025-03-20 04:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720532') end [2025-03-20 04:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:56:04] Production.INFO: 1 [2025-03-20 04:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:56:04] Production.INFO: ==13327== Lock acquired, processing the job... [2025-03-20 04:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:56:04] Production.INFO: ==13329== Releasing lock... [2025-03-20 04:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:04] Production.INFO: ==13321== Releasing lock... [2025-03-20 04:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:05] Production.INFO: Date 2025-03-20 [2025-03-20 04:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 04:56:05] Production.INFO: Total Charge 0 [2025-03-20 04:56:05] Production.INFO: CreateAllLog End [2025-03-20 04:56:05] Production.ERROR: done [2025-03-20 04:56:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:56:05] Production.ERROR: done [2025-03-20 04:56:05] Production.INFO: Account Balance End. [2025-03-20 04:56:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:56:05] Production.INFO: ==13325== Releasing lock... [2025-03-20 04:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:56:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:56:06 [end_date_ymd] => 2025-03-20 04:56:06 [RateCDR] => 1 ) [2025-03-20 04:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:56:06' and `end` < '2025-03-20 04:56:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:56:12] Production.ERROR: CronJobId end10 [2025-03-20 04:56:12] Production.INFO: ==13323== Releasing lock... [2025-03-20 04:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:56:14] Production.INFO: call_cost start [2025-03-20 04:56:14] Production.INFO: call_cost end [2025-03-20 04:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:56:15] Production.INFO: ==13319== Releasing lock... [2025-03-20 04:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:56:21] Production.INFO: count ==414 [2025-03-20 04:56:21] Production.ERROR: pbx CDR StartTime 2025-03-20 01:56:06 - End Time 2025-03-20 04:56:06 [2025-03-20 04:56:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720535', 'tblTempUsageDetail_20' ) start [2025-03-20 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720535', 'tblTempUsageDetail_20' ) end [2025-03-20 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720535', 'tblTempVendorCDR_20' ) start [2025-03-20 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720535', 'tblTempVendorCDR_20' ) end [2025-03-20 04:56:21] Production.INFO: ProcessCDR(1,14720535,1,1,2) [2025-03-20 04:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720535', 'tblTempUsageDetail_20' ) start [2025-03-20 04:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720535', 'tblTempUsageDetail_20' ) end [2025-03-20 04:56:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:56:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:56:24] Production.INFO: ==13327== Releasing lock... [2025-03-20 04:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:56:24] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 08:57:01] Production.INFO: ==13384== Lock acquired, processing the job... [2025-03-20 08:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:57:01] Production.INFO: neon service started [2025-03-20 08:57:01] Production.INFO: neon service started [2025-03-20 08:57:01] Production.INFO: ==13384== Releasing lock... [2025-03-20 08:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:57:02] Production.INFO: ==13386== Lock acquired, processing the job... [2025-03-20 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:57:02] Production.INFO: ==13388== Lock acquired, processing the job... [2025-03-20 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:57:02] Production.INFO: ==13388== Releasing lock... [2025-03-20 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:57:02] Production.INFO: ==13386== Releasing lock... [2025-03-20 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:57:03] Production.INFO: ==13395== Lock acquired, processing the job... [2025-03-20 04:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:57:03] Production.INFO: ==13399== Lock acquired, processing the job... [2025-03-20 04:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:57:03] Production.INFO: ==13391== Lock acquired, processing the job... [2025-03-20 04:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:57:03] Production.INFO: ==13393== Lock acquired, processing the job... [2025-03-20 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:57:04] Production.INFO: ==13397== Lock acquired, processing the job... [2025-03-20 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:57:04] Production.INFO: ==13401== Lock acquired, processing the job... [2025-03-20 04:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:57:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:57:04] Production.INFO: Account Balance Start. [2025-03-20 04:57:04] Production.INFO: CreateAllLog Start [2025-03-20 04:57:04] Production.INFO: 117 [2025-03-20 04:57:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04: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-03-20 04:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.INFO: count ==12 [2025-03-20 04:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 04:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:57:04] Production.ERROR: done [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.INFO: ==13393== Releasing lock... [2025-03-20 04:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.ERROR: done [2025-03-20 04:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.INFO: count ==23 [2025-03-20 04:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720539') start [2025-03-20 04:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:57:04] Production.INFO: Total Charge 0 [2025-03-20 04:57:04] Production.INFO: CreateAllLog End [2025-03-20 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720539') end [2025-03-20 04:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:57:04] Production.INFO: 1 [2025-03-20 04:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:57:04] Production.INFO: ==13401== Releasing lock... [2025-03-20 04:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:57:04] Production.INFO: Account Balance End. [2025-03-20 04:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:57:04] Production.INFO: ==13397== Releasing lock... [2025-03-20 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:57:05 [end_date_ymd] => 2025-03-20 04:57:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:57:05' and `end` < '2025-03-20 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-03-20 04:57:11] Production.ERROR: CronJobId end10 [2025-03-20 04:57:11] Production.INFO: ==13395== Releasing lock... [2025-03-20 04:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:57:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:57:15] Production.INFO: call_cost start [2025-03-20 04:57:15] Production.INFO: call_cost end [2025-03-20 04:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:57:16] Production.INFO: ==13391== Releasing lock... [2025-03-20 04:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:57:17] Production.INFO: count ==400 [2025-03-20 04:57:18] Production.ERROR: pbx CDR StartTime 2025-03-20 01:57:05 - End Time 2025-03-20 04:57:05 [2025-03-20 04:57:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720540', 'tblTempUsageDetail_20' ) start [2025-03-20 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720540', 'tblTempUsageDetail_20' ) end [2025-03-20 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720540', 'tblTempVendorCDR_20' ) start [2025-03-20 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720540', 'tblTempVendorCDR_20' ) end [2025-03-20 04:57:18] Production.INFO: ProcessCDR(1,14720540,1,1,2) [2025-03-20 04:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720540', 'tblTempUsageDetail_20' ) start [2025-03-20 04:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720540', 'tblTempUsageDetail_20' ) end [2025-03-20 04:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:57:21] Production.INFO: ==13399== Releasing lock... [2025-03-20 04:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:57:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 08:58:02] Production.INFO: ==13456== Lock acquired, processing the job... [2025-03-20 08:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:58:02] Production.INFO: neon service started [2025-03-20 08:58:02] Production.INFO: neon service started [2025-03-20 08:58:02] Production.INFO: ==13456== Releasing lock... [2025-03-20 08:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:58:02] Production.INFO: ==13458== Lock acquired, processing the job... [2025-03-20 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:58:02] Production.INFO: ==13460== Lock acquired, processing the job... [2025-03-20 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:58:02] Production.INFO: ==13460== Releasing lock... [2025-03-20 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:58:03] Production.INFO: ==13458== Releasing lock... [2025-03-20 04:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:58:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 04:58:04] Production.INFO: ==13469== Lock acquired, processing the job... [2025-03-20 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 04:58:04] Production.INFO: ==13467== Lock acquired, processing the job... [2025-03-20 04:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:58:04] Production.INFO: Account Balance Start. [2025-03-20 04:58:04] Production.INFO: CreateAllLog Start [2025-03-20 04:58:04] Production.INFO: 117 [2025-03-20 04:58:04] Production.INFO: Date 2025-03-08 [2025-03-20 04:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:58:04] Production.INFO: ==13463== Lock acquired, processing the job... [2025-03-20 04:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:58:04] Production.INFO: Date 2025-03-09 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:58:04] Production.INFO: Date 2025-03-10 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:58:04] Production.INFO: ==13465== Lock acquired, processing the job... [2025-03-20 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:58:04] Production.INFO: ==13473== Lock acquired, processing the job... [2025-03-20 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:58:04] Production.INFO: ==13471== Lock acquired, processing the job... [2025-03-20 04:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:58:04] Production.INFO: count ==12 [2025-03-20 04:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 04:58:04] Production.INFO: count ==23 [2025-03-20 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720544') start [2025-03-20 04:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:58:04] Production.ERROR: done [2025-03-20 04:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720544') end [2025-03-20 04:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:58:04] Production.INFO: 1 [2025-03-20 04:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:58:04] Production.INFO: ==13465== Releasing lock... [2025-03-20 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:58:05] Production.INFO: ==13473== Releasing lock... [2025-03-20 04:58:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:58:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:58:05] Production.ERROR: done [2025-03-20 04:58:05] Production.INFO: Total Charge 0 [2025-03-20 04:58:05] Production.INFO: CreateAllLog End [2025-03-20 04:58:05] Production.INFO: Account Balance End. [2025-03-20 04:58:05] Production.ERROR: CronJobId end 12 [2025-03-20 04:58:05] Production.INFO: ==13469== Releasing lock... [2025-03-20 04:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:58:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:58:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:58:06 [end_date_ymd] => 2025-03-20 04:58:06 [RateCDR] => 1 ) [2025-03-20 04:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 01:58:06' and `end` < '2025-03-20 04:58:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:58:12] Production.ERROR: CronJobId end10 [2025-03-20 04:58:12] Production.INFO: ==13467== Releasing lock... [2025-03-20 04:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:58:14] Production.INFO: call_cost start [2025-03-20 04:58:14] Production.INFO: call_cost end [2025-03-20 04:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:58:15] Production.INFO: ==13463== Releasing lock... [2025-03-20 04:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:58:20] Production.INFO: count ==385 [2025-03-20 04:58:20] Production.ERROR: pbx CDR StartTime 2025-03-20 01:58:06 - End Time 2025-03-20 04:58:06 [2025-03-20 04:58:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720545', 'tblTempUsageDetail_20' ) start [2025-03-20 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720545', 'tblTempUsageDetail_20' ) end [2025-03-20 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720545', 'tblTempVendorCDR_20' ) start [2025-03-20 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720545', 'tblTempVendorCDR_20' ) end [2025-03-20 04:58:20] Production.INFO: ProcessCDR(1,14720545,1,1,2) [2025-03-20 04:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720545', 'tblTempUsageDetail_20' ) start [2025-03-20 04:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720545', 'tblTempUsageDetail_20' ) end [2025-03-20 04:58:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:58:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:58:23] Production.INFO: ==13471== Releasing lock... [2025-03-20 04:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:58:23] Production.INFO: 31.75 MB #Memory Used# [2025-03-20 08:59:01] Production.INFO: ==13526== Lock acquired, processing the job... [2025-03-20 08:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 08:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 08:59:01] Production.INFO: neon service started [2025-03-20 08:59:01] Production.INFO: neon service started [2025-03-20 08:59:01] Production.INFO: ==13526== Releasing lock... [2025-03-20 08:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 08:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 04:59:02] Production.INFO: ==13528== Lock acquired, processing the job... [2025-03-20 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 04:59:02] Production.INFO: ==13528== Releasing lock... [2025-03-20 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 04:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:59:02] Production.INFO: ==13530== Lock acquired, processing the job... [2025-03-20 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:59:02] Production.INFO: ==13530== Releasing lock... [2025-03-20 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 08:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 04:59:03] Production.INFO: ==13533== Lock acquired, processing the job... [2025-03-20 04:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 04:59:03] Production.INFO: ==13535== Lock acquired, processing the job... [2025-03-20 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 04:59:03] Production.INFO: ==13541== Lock acquired, processing the job... [2025-03-20 04:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 04:59:03] Production.INFO: ==13537== Lock acquired, processing the job... [2025-03-20 04:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 04:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 04:59:03] Production.INFO: ==13543== Lock acquired, processing the job... [2025-03-20 04:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 04:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 04:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 04:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 04:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 04:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 04:59:03] Production.INFO: ==13539== Lock acquired, processing the job... [2025-03-20 04:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 04:59:03] Production.INFO: Account Balance Start. [2025-03-20 04:59:03] Production.INFO: CreateAllLog Start [2025-03-20 04:59:03] Production.INFO: 117 [2025-03-20 04:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 04:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:03] Production.INFO: count ==12 [2025-03-20 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-03-20 04:59:03] Production.INFO: count ==23 [2025-03-20 04:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 04:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720548') start [2025-03-20 04:59:03] Production.INFO: Date 2025-03-10 [2025-03-20 04:59:03] Production.INFO: ==13535== Releasing lock... [2025-03-20 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 04:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 04:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:03] Production.ERROR: done [2025-03-20 04:59:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 04:59:03] Production.INFO: Date 2025-03-11 [2025-03-20 04:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:04] Production.INFO: Date 2025-03-12 [2025-03-20 04:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:04] Production.INFO: Date 2025-03-13 [2025-03-20 04:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720548') end [2025-03-20 04:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 04:59:04] Production.INFO: 1 [2025-03-20 04:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 04:59:04] Production.INFO: ==13543== Releasing lock... [2025-03-20 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 04:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 04:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 04:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:04] Production.ERROR: done [2025-03-20 04:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 04:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 04:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 04:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 04:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 04:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 04:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 04:59:04] Production.INFO: Total Charge 0 [2025-03-20 04:59:04] Production.INFO: CreateAllLog End [2025-03-20 04:59:04] Production.INFO: Account Balance End. [2025-03-20 04:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 04:59:04] Production.INFO: ==13539== Releasing lock... [2025-03-20 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 04:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 04:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 01:59:05 [end_date_ymd] => 2025-03-20 04:59:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 01:59:05' and `end` < '2025-03-20 04:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 04:59:12] Production.ERROR: CronJobId end10 [2025-03-20 04:59:12] Production.INFO: ==13537== Releasing lock... [2025-03-20 04:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 04:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 04:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 04:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 04:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 04:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 04:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 04:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 04:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 04:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 04:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 04:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 04:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 04:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 04:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 04:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 04:59:14] Production.INFO: call_cost start [2025-03-20 04:59:14] Production.INFO: call_cost end [2025-03-20 04:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 04:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 04:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 04:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 04:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 04:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 04:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 04:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 04:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 04:59:15] Production.INFO: ==13533== Releasing lock... [2025-03-20 04:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 04:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 04:59:17] Production.INFO: count ==381 [2025-03-20 04:59:17] Production.ERROR: pbx CDR StartTime 2025-03-20 01:59:05 - End Time 2025-03-20 04:59:05 [2025-03-20 04:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 04:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720550', 'tblTempUsageDetail_20' ) start [2025-03-20 04:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720550', 'tblTempUsageDetail_20' ) end [2025-03-20 04:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720550', 'tblTempVendorCDR_20' ) start [2025-03-20 04:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720550', 'tblTempVendorCDR_20' ) end [2025-03-20 04:59:17] Production.INFO: ProcessCDR(1,14720550,1,1,2) [2025-03-20 04:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 04:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 04:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720550', 'tblTempUsageDetail_20' ) start [2025-03-20 04:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720550', 'tblTempUsageDetail_20' ) end [2025-03-20 04:59:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 04:59:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 04:59:21] Production.INFO: ==13541== Releasing lock... [2025-03-20 04:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 04:59:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:00:02] Production.INFO: ==13599== Lock acquired, processing the job... [2025-03-20 09:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:00:02] Production.INFO: neon service started [2025-03-20 09:00:02] Production.INFO: neon service started [2025-03-20 09:00:02] Production.INFO: ==13599== Releasing lock... [2025-03-20 09:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:00:02] Production.INFO: ==13601== Lock acquired, processing the job... [2025-03-20 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:00:02] Production.INFO: ==13601== Releasing lock... [2025-03-20 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:00:03] Production.INFO: ==13603== Lock acquired, processing the job... [2025-03-20 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:00:03] Production.INFO: ==13603== Releasing lock... [2025-03-20 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:00:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:00:04] Production.INFO: ==13612== Lock acquired, processing the job... [2025-03-20 05:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:00:04] Production.INFO: ==13618== Lock acquired, processing the job... [2025-03-20 05:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 05:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:00:04] Production.INFO: ==13620== Lock acquired, processing the job... [2025-03-20 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:00:04] Production.INFO: ==13606== Lock acquired, processing the job... [2025-03-20 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 05:00:04] Production.INFO: ==13608== Lock acquired, processing the job... [2025-03-20 05:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:00:04] Production.INFO: ==13610== Lock acquired, processing the job... [2025-03-20 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 05:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 05:00:04] Production.ERROR: CronJob PID - 13612 [2025-03-20 05:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 05:00:04] Production.ERROR: CronJob ID - 10 [2025-03-20 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 05:00:00 [2025-03-20 05:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 05:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 05:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 05:00:04] Production.ERROR: CronJob PID - 13618 [2025-03-20 05:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 05:00:04] Production.ERROR: CronJob ID - 17 [2025-03-20 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 05:00:00 [2025-03-20 05:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 05:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 05:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 05:00:04] Production.ERROR: CronJob PID - 13620 [2025-03-20 05:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 05:00:04] Production.ERROR: CronJob ID - 19 [2025-03-20 05:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 05:00:00 [2025-03-20 05:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 05:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 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-03-20 05:00:04] Production.INFO: ==13614== Lock acquired, processing the job... [2025-03-20 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:00:04] Production.INFO: count ==12 [2025-03-20 05:00:04] Production.INFO: ==13616== Lock acquired, processing the job... [2025-03-20 05:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 05:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 05:00:04] Production.INFO: ==13606== Releasing lock... [2025-03-20 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 05:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 05:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:00:04] Production.ERROR: done [2025-03-20 05:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:00:04] Production.INFO: Account Balance Start. [2025-03-20 05:00:04] Production.INFO: CreateAllLog Start [2025-03-20 05:00:04] Production.INFO: 117 [2025-03-20 05:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:00:04] Production.INFO: count ==23 [2025-03-20 05:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 05:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720555', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720551') start [2025-03-20 05:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720551') end [2025-03-20 05:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:00:04] Production.INFO: 1 [2025-03-20 05:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:05] Production.INFO: Date 2025-03-11 [2025-03-20 05:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:05] Production.INFO: ==13620== Releasing lock... [2025-03-20 05:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:00:05] Production.INFO: Date 2025-03-12 [2025-03-20 05:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:05] Production.INFO: Date 2025-03-13 [2025-03-20 05:00:05] Production.INFO: ==13610== Releasing lock... [2025-03-20 05:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:05] Production.ERROR: done [2025-03-20 05:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:00:05] Production.INFO: Date 2025-03-14 [2025-03-20 05:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 05:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 05:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 05:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 05:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 05:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:05] Production.ERROR: done [2025-03-20 05:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 05:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:00:05] Production.INFO: Total Charge 0 [2025-03-20 05:00:05] Production.INFO: CreateAllLog End [2025-03-20 05:00:05] Production.INFO: Account Balance End. [2025-03-20 05:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:00:05] Production.INFO: ==13614== Releasing lock... [2025-03-20 05:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:00:06 [end_date_ymd] => 2025-03-20 05:00:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:00:06' and `end` < '2025-03-20 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-03-20 05:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720555', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 05:00:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 05:00:08] Production.INFO: ProcessCDR(1,14720555,1,1,2) [2025-03-20 05:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720555,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720555,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:00:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:00:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:00:08] Production.INFO: ==13618== Releasing lock... [2025-03-20 05:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 05:00:08] Production.INFO: 26 MB #Memory Used# [2025-03-20 05:00:14] Production.ERROR: CronJobId end10 [2025-03-20 05:00:14] Production.INFO: ==13612== Releasing lock... [2025-03-20 05:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:00:17] Production.INFO: call_cost start [2025-03-20 05:00:17] Production.INFO: call_cost end [2025-03-20 05:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:00:18] Production.INFO: ==13608== Releasing lock... [2025-03-20 05:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:00:19] Production.INFO: count ==361 [2025-03-20 05:00:19] Production.ERROR: pbx CDR StartTime 2025-03-20 02:00:06 - End Time 2025-03-20 05:00:06 [2025-03-20 05:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720556', 'tblTempUsageDetail_20' ) start [2025-03-20 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720556', 'tblTempUsageDetail_20' ) end [2025-03-20 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720556', 'tblTempVendorCDR_20' ) start [2025-03-20 05:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720556', 'tblTempVendorCDR_20' ) end [2025-03-20 05:00:19] Production.INFO: ProcessCDR(1,14720556,1,1,2) [2025-03-20 05:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720556', 'tblTempUsageDetail_20' ) start [2025-03-20 05:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720556', 'tblTempUsageDetail_20' ) end [2025-03-20 05:00:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:00:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:00:22] Production.INFO: ==13616== Releasing lock... [2025-03-20 05:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:00:22] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:01:01] Production.INFO: ==13678== Lock acquired, processing the job... [2025-03-20 09:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:01:01] Production.INFO: neon service started [2025-03-20 09:01:01] Production.INFO: neon service started [2025-03-20 09:01:01] Production.INFO: ==13678== Releasing lock... [2025-03-20 09:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:01:02] Production.INFO: ==13690== Lock acquired, processing the job... [2025-03-20 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:01:02] Production.INFO: ==13690== Releasing lock... [2025-03-20 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:01:02] Production.INFO: ==13692== Lock acquired, processing the job... [2025-03-20 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:01:02] Production.INFO: ==13692== Releasing lock... [2025-03-20 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:01:03] Production.INFO: ==13699== Lock acquired, processing the job... [2025-03-20 05:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:01:03] Production.INFO: ==13695== Lock acquired, processing the job... [2025-03-20 05:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:01:03] Production.INFO: ==13705== Lock acquired, processing the job... [2025-03-20 05:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:01:03] Production.INFO: ==13697== Lock acquired, processing the job... [2025-03-20 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 05:01:03] Production.INFO: ==13701== Lock acquired, processing the job... [2025-03-20 05:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:01:03] Production.INFO: ==13703== Lock acquired, processing the job... [2025-03-20 05:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:01:03] Production.INFO: count ==12 [2025-03-20 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-03-20 05:01:03] Production.INFO: count ==23 [2025-03-20 05:01:03] Production.INFO: Account Balance Start. [2025-03-20 05:01:03] Production.INFO: CreateAllLog Start [2025-03-20 05:01:03] Production.INFO: 117 [2025-03-20 05:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720558') start [2025-03-20 05:01:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:03] Production.INFO: ==13697== Releasing lock... [2025-03-20 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720558') end [2025-03-20 05:01:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:01:03] Production.INFO: 1 [2025-03-20 05:01:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:01:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.INFO: ==13705== Releasing lock... [2025-03-20 05:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:01:04] Production.ERROR: done [2025-03-20 05:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.ERROR: done [2025-03-20 05:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:01:04] Production.INFO: Total Charge 0 [2025-03-20 05:01:04] Production.INFO: CreateAllLog End [2025-03-20 05:01:04] Production.INFO: Account Balance End. [2025-03-20 05:01:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:01:04] Production.INFO: ==13701== Releasing lock... [2025-03-20 05:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:01:05 [end_date_ymd] => 2025-03-20 05:01:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:01:05' and `end` < '2025-03-20 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-03-20 05:01:12] Production.ERROR: CronJobId end10 [2025-03-20 05:01:12] Production.INFO: ==13699== Releasing lock... [2025-03-20 05:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:01:15] Production.INFO: call_cost start [2025-03-20 05:01:15] Production.INFO: call_cost end [2025-03-20 05:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:01:16] Production.INFO: ==13695== Releasing lock... [2025-03-20 05:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:01:17] Production.INFO: count ==345 [2025-03-20 05:01:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:01:05 - End Time 2025-03-20 05:01:05 [2025-03-20 05:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720561', 'tblTempUsageDetail_20' ) start [2025-03-20 05:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720561', 'tblTempUsageDetail_20' ) end [2025-03-20 05:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720561', 'tblTempVendorCDR_20' ) start [2025-03-20 05:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720561', 'tblTempVendorCDR_20' ) end [2025-03-20 05:01:17] Production.INFO: ProcessCDR(1,14720561,1,1,2) [2025-03-20 05:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720561', 'tblTempUsageDetail_20' ) start [2025-03-20 05:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720561', 'tblTempUsageDetail_20' ) end [2025-03-20 05:01:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:01:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:01:20] Production.INFO: ==13703== Releasing lock... [2025-03-20 05:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:01:20] Production.INFO: 31 MB #Memory Used# [2025-03-20 09:02:02] Production.INFO: ==13761== Lock acquired, processing the job... [2025-03-20 09:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:02:02] Production.INFO: neon service started [2025-03-20 09:02:02] Production.INFO: neon service started [2025-03-20 09:02:02] Production.INFO: ==13761== Releasing lock... [2025-03-20 09:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:02:02] Production.INFO: ==13763== Lock acquired, processing the job... [2025-03-20 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:02:02] Production.INFO: ==13763== Releasing lock... [2025-03-20 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:02:02] Production.INFO: ==13765== Lock acquired, processing the job... [2025-03-20 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:02:03] Production.INFO: ==13765== Releasing lock... [2025-03-20 09:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:02:03] Production.INFO: ==13778== Lock acquired, processing the job... [2025-03-20 05:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:02:03] Production.INFO: ==13776== Lock acquired, processing the job... [2025-03-20 05:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 05:02:03] Production.INFO: count ==12 [2025-03-20 05:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:02:03] Production.INFO: count ==23 [2025-03-20 05:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720562') start [2025-03-20 05:02:03] Production.INFO: ==13768== Lock acquired, processing the job... [2025-03-20 05:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:02:04] Production.INFO: ==13770== Lock acquired, processing the job... [2025-03-20 05:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:02:04] Production.INFO: ==13772== Lock acquired, processing the job... [2025-03-20 05:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:02:04] Production.INFO: ==13774== Lock acquired, processing the job... [2025-03-20 05:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720562') end [2025-03-20 05:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:02:04] Production.INFO: 1 [2025-03-20 05:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:02:04] Production.INFO: Account Balance Start. [2025-03-20 05:02:04] Production.INFO: CreateAllLog Start [2025-03-20 05:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:02:04] Production.INFO: 117 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: ==13778== Releasing lock... [2025-03-20 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:02:04] Production.ERROR: done [2025-03-20 05:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:02:04] Production.INFO: ==13770== Releasing lock... [2025-03-20 05:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.ERROR: done [2025-03-20 05:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:02:04] Production.INFO: Total Charge 0 [2025-03-20 05:02:04] Production.INFO: CreateAllLog End [2025-03-20 05:02:05] Production.INFO: Account Balance End. [2025-03-20 05:02:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:02:05] Production.INFO: ==13774== Releasing lock... [2025-03-20 05:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:02:05 [end_date_ymd] => 2025-03-20 05:02:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:02:05' and `end` < '2025-03-20 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-03-20 05:02:13] Production.ERROR: CronJobId end10 [2025-03-20 05:02:13] Production.INFO: ==13772== Releasing lock... [2025-03-20 05:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:02:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:02:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:02:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:02:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:02:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:02:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:02:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:02:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:02:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:02:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:02:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:02:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:02:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:02:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:02:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:02:16] Production.INFO: call_cost start [2025-03-20 05:02:16] Production.INFO: call_cost end [2025-03-20 05:02:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:02:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:02:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:02:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:02:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:02:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:02:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:02:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:02:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:02:17] Production.INFO: ==13768== Releasing lock... [2025-03-20 05:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:02:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:02:19] Production.INFO: count ==342 [2025-03-20 05:02:19] Production.ERROR: pbx CDR StartTime 2025-03-20 02:02:05 - End Time 2025-03-20 05:02:05 [2025-03-20 05:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720566', 'tblTempUsageDetail_20' ) start [2025-03-20 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720566', 'tblTempUsageDetail_20' ) end [2025-03-20 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720566', 'tblTempVendorCDR_20' ) start [2025-03-20 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720566', 'tblTempVendorCDR_20' ) end [2025-03-20 05:02:19] Production.INFO: ProcessCDR(1,14720566,1,1,2) [2025-03-20 05:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720566', 'tblTempUsageDetail_20' ) start [2025-03-20 05:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720566', 'tblTempUsageDetail_20' ) end [2025-03-20 05:02:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:02:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:02:23] Production.INFO: ==13776== Releasing lock... [2025-03-20 05:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:02:23] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:03:01] Production.INFO: ==13833== Lock acquired, processing the job... [2025-03-20 09:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:03:01] Production.INFO: neon service started [2025-03-20 09:03:01] Production.INFO: neon service started [2025-03-20 09:03:01] Production.INFO: ==13833== Releasing lock... [2025-03-20 09:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:03:01] Production.INFO: ==13837== Lock acquired, processing the job... [2025-03-20 09:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:03:01] Production.INFO: ==13837== Releasing lock... [2025-03-20 09:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:03:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:03:02] Production.INFO: ==13835== Lock acquired, processing the job... [2025-03-20 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:03:02] Production.INFO: ==13835== Releasing lock... [2025-03-20 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:03:03] Production.INFO: ==13842== Lock acquired, processing the job... [2025-03-20 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:03:03] Production.INFO: ==13840== Lock acquired, processing the job... [2025-03-20 05:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:03:03] Production.INFO: ==13848== Lock acquired, processing the job... [2025-03-20 05:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:03:03] Production.INFO: ==13844== Lock acquired, processing the job... [2025-03-20 05:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:03:03] Production.INFO: ==13842== Releasing lock... [2025-03-20 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:03:03] Production.INFO: ==13846== Lock acquired, processing the job... [2025-03-20 05:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:03:03] Production.INFO: ==13850== Lock acquired, processing the job... [2025-03-20 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:03:03] Production.INFO: Account Balance Start. [2025-03-20 05:03:03] Production.INFO: CreateAllLog Start [2025-03-20 05:03:03] Production.INFO: 117 [2025-03-20 05:03:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:03:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:03] Production.INFO: count ==12 [2025-03-20 05: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-03-20 05:03:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:03:03] Production.INFO: count ==23 [2025-03-20 05:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720570') start [2025-03-20 05:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:04] Production.ERROR: done [2025-03-20 05:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720570') end [2025-03-20 05:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:03:04] Production.INFO: 1 [2025-03-20 05:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:03:04] Production.INFO: ==13850== Releasing lock... [2025-03-20 05:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:04] Production.ERROR: done [2025-03-20 05:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:03:04] Production.INFO: Total Charge 0 [2025-03-20 05:03:04] Production.INFO: CreateAllLog End [2025-03-20 05:03:04] Production.INFO: Account Balance End. [2025-03-20 05:03:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:03:04] Production.INFO: ==13846== Releasing lock... [2025-03-20 05:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:03:05 [end_date_ymd] => 2025-03-20 05:03:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:03:05' and `end` < '2025-03-20 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-03-20 05:03:12] Production.ERROR: CronJobId end10 [2025-03-20 05:03:12] Production.INFO: ==13844== Releasing lock... [2025-03-20 05:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:03:13] Production.INFO: call_cost start [2025-03-20 05:03:13] Production.INFO: call_cost end [2025-03-20 05:03:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:03:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:03:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:03:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:03:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:03:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:03:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:03:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:03:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:03:14] Production.INFO: ==13840== Releasing lock... [2025-03-20 05:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:03:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:03:17] Production.INFO: count ==339 [2025-03-20 05:03:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:03:05 - End Time 2025-03-20 05:03:05 [2025-03-20 05:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720571', 'tblTempUsageDetail_20' ) start [2025-03-20 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720571', 'tblTempUsageDetail_20' ) end [2025-03-20 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720571', 'tblTempVendorCDR_20' ) start [2025-03-20 05:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720571', 'tblTempVendorCDR_20' ) end [2025-03-20 05:03:17] Production.INFO: ProcessCDR(1,14720571,1,1,2) [2025-03-20 05:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720571', 'tblTempUsageDetail_20' ) start [2025-03-20 05:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720571', 'tblTempUsageDetail_20' ) end [2025-03-20 05:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:03:21] Production.INFO: ==13848== Releasing lock... [2025-03-20 05:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:03:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:04:01] Production.INFO: ==13909== Lock acquired, processing the job... [2025-03-20 09:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:04:02] Production.INFO: neon service started [2025-03-20 09:04:02] Production.INFO: neon service started [2025-03-20 09:04:02] Production.INFO: ==13909== Releasing lock... [2025-03-20 09:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:04:02] Production.INFO: ==13913== Lock acquired, processing the job... [2025-03-20 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:04:02] Production.INFO: ==13913== Releasing lock... [2025-03-20 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:04:02] Production.INFO: ==13911== Lock acquired, processing the job... [2025-03-20 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:04:02] Production.INFO: ==13911== Releasing lock... [2025-03-20 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:04:03] Production.INFO: ==13916== Lock acquired, processing the job... [2025-03-20 05:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:04:03] Production.INFO: ==13926== Lock acquired, processing the job... [2025-03-20 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:04:03] Production.INFO: ==13920== Lock acquired, processing the job... [2025-03-20 05:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:04:03] Production.INFO: ==13918== Lock acquired, processing the job... [2025-03-20 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:04:04] Production.INFO: ==13922== Lock acquired, processing the job... [2025-03-20 05:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:04:04] Production.INFO: ==13924== Lock acquired, processing the job... [2025-03-20 05:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:04:04] Production.INFO: Account Balance Start. [2025-03-20 05:04:04] Production.INFO: count ==12 [2025-03-20 05:04:04] Production.INFO: CreateAllLog Start [2025-03-20 05:04:04] Production.INFO: 117 [2025-03-20 05:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:04:04] Production.INFO: count ==23 [2025-03-20 05:04:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720573') start [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720573') end [2025-03-20 05:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:04:04] Production.INFO: 1 [2025-03-20 05:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.INFO: ==13926== Releasing lock... [2025-03-20 05:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.ERROR: done [2025-03-20 05:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.INFO: ==13918== Releasing lock... [2025-03-20 05:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.ERROR: done [2025-03-20 05:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:04:04] Production.INFO: Total Charge 0 [2025-03-20 05:04:04] Production.INFO: CreateAllLog End [2025-03-20 05:04:05] Production.INFO: Account Balance End. [2025-03-20 05:04:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:04:05] Production.INFO: ==13922== Releasing lock... [2025-03-20 05:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:04:05 [end_date_ymd] => 2025-03-20 05:04:05 [RateCDR] => 1 ) [2025-03-20 05:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:04:05' and `end` < '2025-03-20 05:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:04:12] Production.ERROR: CronJobId end10 [2025-03-20 05:04:12] Production.INFO: ==13920== Releasing lock... [2025-03-20 05:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:04:14] Production.INFO: call_cost start [2025-03-20 05:04:14] Production.INFO: call_cost end [2025-03-20 05:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:04:15] Production.INFO: ==13916== Releasing lock... [2025-03-20 05:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:04:18] Production.INFO: count ==337 [2025-03-20 05:04:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:04:05 - End Time 2025-03-20 05:04:05 [2025-03-20 05:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720576', 'tblTempUsageDetail_20' ) start [2025-03-20 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720576', 'tblTempUsageDetail_20' ) end [2025-03-20 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720576', 'tblTempVendorCDR_20' ) start [2025-03-20 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720576', 'tblTempVendorCDR_20' ) end [2025-03-20 05:04:18] Production.INFO: ProcessCDR(1,14720576,1,1,2) [2025-03-20 05:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720576', 'tblTempUsageDetail_20' ) start [2025-03-20 05:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720576', 'tblTempUsageDetail_20' ) end [2025-03-20 05:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:04:21] Production.INFO: ==13924== Releasing lock... [2025-03-20 05:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:04:21] Production.INFO: 31 MB #Memory Used# [2025-03-20 09:05:01] Production.INFO: ==13981== Lock acquired, processing the job... [2025-03-20 09:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:05:01] Production.INFO: neon service started [2025-03-20 09:05:01] Production.INFO: neon service started [2025-03-20 09:05:01] Production.INFO: ==13981== Releasing lock... [2025-03-20 09:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:05:01] Production.INFO: ==13983== Lock acquired, processing the job... [2025-03-20 05:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:05:02] Production.INFO: ==13983== Releasing lock... [2025-03-20 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:05:02] Production.INFO: ==13985== Lock acquired, processing the job... [2025-03-20 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:05:02] Production.INFO: ==13985== Releasing lock... [2025-03-20 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:05:03] Production.INFO: ==13989== Lock acquired, processing the job... [2025-03-20 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:05:03] Production.INFO: ==13997== Lock acquired, processing the job... [2025-03-20 05:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:05:03] Production.INFO: ==13987== Lock acquired, processing the job... [2025-03-20 05:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 05:05:03] Production.INFO: ==13991== Lock acquired, processing the job... [2025-03-20 05:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:05:03] Production.INFO: ==13993== Lock acquired, processing the job... [2025-03-20 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:05:03] Production.INFO: count ==12 [2025-03-20 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-03-20 05:05:03] Production.INFO: count ==23 [2025-03-20 05:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720578') start [2025-03-20 05:05:03] Production.INFO: ==13995== Lock acquired, processing the job... [2025-03-20 05:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:05:03] Production.INFO: ==13989== Releasing lock... [2025-03-20 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:05:03] Production.INFO: Account Balance Start. [2025-03-20 05:05:03] Production.INFO: CreateAllLog Start [2025-03-20 05:05:03] Production.INFO: 117 [2025-03-20 05:05:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:05:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720578') end [2025-03-20 05:05:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:05:03] Production.INFO: 1 [2025-03-20 05:05:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:05:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.INFO: Date 2025-03-13 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.INFO: ==13997== Releasing lock... [2025-03-20 05:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:05:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:05:03] Production.INFO: Date 2025-03-14 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.INFO: Date 2025-03-15 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.INFO: Date 2025-03-16 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.INFO: Date 2025-03-17 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.INFO: Date 2025-03-18 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.ERROR: done [2025-03-20 05:05:03] Production.INFO: Date 2025-03-19 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:05:03] Production.INFO: Date 2025-03-20 [2025-03-20 05:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:05:04] Production.INFO: Total Charge 0 [2025-03-20 05:05:04] Production.INFO: CreateAllLog End [2025-03-20 05:05:04] Production.ERROR: done [2025-03-20 05:05:04] Production.INFO: Account Balance End. [2025-03-20 05:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:05:04] Production.INFO: ==13993== Releasing lock... [2025-03-20 05:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:05:05 [end_date_ymd] => 2025-03-20 05:05:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:05:05' and `end` < '2025-03-20 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-03-20 05:05:12] Production.ERROR: CronJobId end10 [2025-03-20 05:05:12] Production.INFO: ==13991== Releasing lock... [2025-03-20 05:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:05:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:05:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:05:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:05:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:05:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:05:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:05:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:05:14] Production.INFO: call_cost start [2025-03-20 05:05:14] Production.INFO: call_cost end [2025-03-20 05:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:05:15] Production.INFO: ==13987== Releasing lock... [2025-03-20 05:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:05:17] Production.INFO: count ==337 [2025-03-20 05:05:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:05:05 - End Time 2025-03-20 05:05:05 [2025-03-20 05:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720581', 'tblTempUsageDetail_20' ) start [2025-03-20 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720581', 'tblTempUsageDetail_20' ) end [2025-03-20 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720581', 'tblTempVendorCDR_20' ) start [2025-03-20 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720581', 'tblTempVendorCDR_20' ) end [2025-03-20 05:05:17] Production.INFO: ProcessCDR(1,14720581,1,1,2) [2025-03-20 05:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720581', 'tblTempUsageDetail_20' ) start [2025-03-20 05:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720581', 'tblTempUsageDetail_20' ) end [2025-03-20 05:05:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:05:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:05:20] Production.INFO: ==13995== Releasing lock... [2025-03-20 05:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:05:20] Production.INFO: 31 MB #Memory Used# [2025-03-20 09:06:01] Production.INFO: ==14091== Lock acquired, processing the job... [2025-03-20 09:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:06:01] Production.INFO: neon service started [2025-03-20 09:06:01] Production.INFO: neon service started [2025-03-20 09:06:01] Production.INFO: ==14091== Releasing lock... [2025-03-20 09:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:06:02] Production.INFO: ==14095== Lock acquired, processing the job... [2025-03-20 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:06:02] Production.INFO: ==14095== Releasing lock... [2025-03-20 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:06:02] Production.INFO: ==14093== Lock acquired, processing the job... [2025-03-20 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:06:02] Production.INFO: ==14093== Releasing lock... [2025-03-20 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:06:03] Production.INFO: ==14098== Lock acquired, processing the job... [2025-03-20 05:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:06:03] Production.INFO: ==14100== Lock acquired, processing the job... [2025-03-20 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:06:03] Production.INFO: ==14102== Lock acquired, processing the job... [2025-03-20 05:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:06:03] Production.INFO: ==14104== Lock acquired, processing the job... [2025-03-20 05:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:06:03] Production.INFO: ==14106== Lock acquired, processing the job... [2025-03-20 05:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:06:03] Production.INFO: Account Balance Start. [2025-03-20 05:06:03] Production.INFO: CreateAllLog Start [2025-03-20 05:06:04] Production.INFO: 117 [2025-03-20 05:06:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.INFO: ==14108== Lock acquired, processing the job... [2025-03-20 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.INFO: ==14100== Releasing lock... [2025-03-20 05:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:06:04] Production.INFO: count ==23 [2025-03-20 05:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720585') start [2025-03-20 05:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.ERROR: done [2025-03-20 05:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:06:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720585') end [2025-03-20 05:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.INFO: 1 [2025-03-20 05:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:06:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.INFO: ==14108== Releasing lock... [2025-03-20 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:06:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:06:04] Production.ERROR: done [2025-03-20 05:06:04] Production.INFO: Total Charge 0 [2025-03-20 05:06:04] Production.INFO: CreateAllLog End [2025-03-20 05:06:04] Production.INFO: Account Balance End. [2025-03-20 05:06:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:06:05] Production.INFO: ==14104== Releasing lock... [2025-03-20 05:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:06:05 [end_date_ymd] => 2025-03-20 05:06:05 [RateCDR] => 1 ) [2025-03-20 05:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:06:05' and `end` < '2025-03-20 05:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:06:11] Production.ERROR: CronJobId end10 [2025-03-20 05:06:11] Production.INFO: ==14102== Releasing lock... [2025-03-20 05:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:06:14] Production.INFO: call_cost start [2025-03-20 05:06:14] Production.INFO: call_cost end [2025-03-20 05:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:06:15] Production.INFO: ==14098== Releasing lock... [2025-03-20 05:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:06:18] Production.INFO: count ==337 [2025-03-20 05:06:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:06:05 - End Time 2025-03-20 05:06:05 [2025-03-20 05:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720586', 'tblTempUsageDetail_20' ) start [2025-03-20 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720586', 'tblTempUsageDetail_20' ) end [2025-03-20 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720586', 'tblTempVendorCDR_20' ) start [2025-03-20 05:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720586', 'tblTempVendorCDR_20' ) end [2025-03-20 05:06:18] Production.INFO: ProcessCDR(1,14720586,1,1,2) [2025-03-20 05:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720586', 'tblTempUsageDetail_20' ) start [2025-03-20 05:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720586', 'tblTempUsageDetail_20' ) end [2025-03-20 05:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:06:21] Production.INFO: ==14106== Releasing lock... [2025-03-20 05:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:06:21] Production.INFO: 31 MB #Memory Used# [2025-03-20 09:07:01] Production.INFO: ==14166== Lock acquired, processing the job... [2025-03-20 09:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:07:01] Production.INFO: neon service started [2025-03-20 09:07:01] Production.INFO: neon service started [2025-03-20 09:07:01] Production.INFO: ==14166== Releasing lock... [2025-03-20 09:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:07:02] Production.INFO: ==14168== Lock acquired, processing the job... [2025-03-20 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:07:02] Production.INFO: ==14170== Lock acquired, processing the job... [2025-03-20 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:07:02] Production.INFO: ==14170== Releasing lock... [2025-03-20 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:07:02] Production.INFO: ==14168== Releasing lock... [2025-03-20 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:07:03] Production.INFO: ==14175== Lock acquired, processing the job... [2025-03-20 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:07:03] Production.INFO: ==14177== Lock acquired, processing the job... [2025-03-20 05:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:07:03] Production.INFO: ==14181== Lock acquired, processing the job... [2025-03-20 05:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:07:03] Production.INFO: ==14173== Lock acquired, processing the job... [2025-03-20 05:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:07:03] Production.INFO: ==14179== Lock acquired, processing the job... [2025-03-20 05:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:07:03] Production.INFO: ==14183== Lock acquired, processing the job... [2025-03-20 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:07:03] Production.INFO: ==14175== Releasing lock... [2025-03-20 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:07:03] Production.ERROR: done [2025-03-20 05:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:07:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:07:03] Production.INFO: Account Balance Start. [2025-03-20 05:07:03] Production.INFO: CreateAllLog Start [2025-03-20 05:07:03] Production.INFO: 117 [2025-03-20 05:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 05:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:03] Production.ERROR: done [2025-03-20 05:07:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:03] Production.INFO: Date 2025-03-13 [2025-03-20 05:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:04] Production.INFO: count ==23 [2025-03-20 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720589') start [2025-03-20 05:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720589') end [2025-03-20 05:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:07:04] Production.INFO: 1 [2025-03-20 05:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:04] Production.INFO: ==14183== Releasing lock... [2025-03-20 05:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:07:04] Production.INFO: Total Charge 0 [2025-03-20 05:07:04] Production.INFO: CreateAllLog End [2025-03-20 05:07:04] Production.INFO: Account Balance End. [2025-03-20 05:07:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:07:04] Production.INFO: ==14179== Releasing lock... [2025-03-20 05:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:07:05 [end_date_ymd] => 2025-03-20 05:07:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:07:05' and `end` < '2025-03-20 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-03-20 05:07:11] Production.ERROR: CronJobId end10 [2025-03-20 05:07:11] Production.INFO: ==14177== Releasing lock... [2025-03-20 05:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:07:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:07:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:07:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:07:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:07:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:07:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:07:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:07:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:07:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:07:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:07:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:07:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:07:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:07:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:07:14] Production.INFO: call_cost start [2025-03-20 05:07:14] Production.INFO: call_cost end [2025-03-20 05:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:07:15] Production.INFO: ==14173== Releasing lock... [2025-03-20 05:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:07:17] Production.INFO: count ==337 [2025-03-20 05:07:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:07:05 - End Time 2025-03-20 05:07:05 [2025-03-20 05:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720591', 'tblTempUsageDetail_20' ) start [2025-03-20 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720591', 'tblTempUsageDetail_20' ) end [2025-03-20 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720591', 'tblTempVendorCDR_20' ) start [2025-03-20 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720591', 'tblTempVendorCDR_20' ) end [2025-03-20 05:07:17] Production.INFO: ProcessCDR(1,14720591,1,1,2) [2025-03-20 05:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720591', 'tblTempUsageDetail_20' ) start [2025-03-20 05:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720591', 'tblTempUsageDetail_20' ) end [2025-03-20 05:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:07:21] Production.INFO: ==14181== Releasing lock... [2025-03-20 05:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:07:21] Production.INFO: 31 MB #Memory Used# [2025-03-20 09:08:01] Production.INFO: ==14241== Lock acquired, processing the job... [2025-03-20 09:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:08:01] Production.INFO: neon service started [2025-03-20 09:08:01] Production.INFO: neon service started [2025-03-20 09:08:01] Production.INFO: ==14241== Releasing lock... [2025-03-20 09:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:08:02] Production.INFO: ==14245== Lock acquired, processing the job... [2025-03-20 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:08:02] Production.INFO: ==14245== Releasing lock... [2025-03-20 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:08:02] Production.INFO: ==14243== Lock acquired, processing the job... [2025-03-20 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:08:02] Production.INFO: ==14243== Releasing lock... [2025-03-20 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:08:03] Production.INFO: ==14254== Lock acquired, processing the job... [2025-03-20 05:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:08:03] Production.INFO: ==14256== Lock acquired, processing the job... [2025-03-20 05:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:08:03] Production.INFO: ==14248== Lock acquired, processing the job... [2025-03-20 05:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:08:03] Production.INFO: Account Balance Start. [2025-03-20 05:08:03] Production.INFO: CreateAllLog Start [2025-03-20 05:08:03] Production.INFO: 117 [2025-03-20 05:08:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:08:03] Production.INFO: ==14250== Lock acquired, processing the job... [2025-03-20 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:03] Production.INFO: ==14252== Lock acquired, processing the job... [2025-03-20 05:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:08:03] Production.INFO: ==14258== Lock acquired, processing the job... [2025-03-20 05:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:08:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:08:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:03] Production.ERROR: done [2025-03-20 05:08:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:08:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:08:04] Production.INFO: count ==23 [2025-03-20 05:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720595') start [2025-03-20 05:08:04] Production.ERROR: done [2025-03-20 05:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:04] Production.INFO: ==14250== Releasing lock... [2025-03-20 05:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720595') end [2025-03-20 05:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:08:04] Production.INFO: 1 [2025-03-20 05:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:08:04] Production.INFO: ==14258== Releasing lock... [2025-03-20 05:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:08:04] Production.INFO: Total Charge 0 [2025-03-20 05:08:04] Production.INFO: CreateAllLog End [2025-03-20 05:08:04] Production.INFO: Account Balance End. [2025-03-20 05:08:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:08:04] Production.INFO: ==14254== Releasing lock... [2025-03-20 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:08:05 [end_date_ymd] => 2025-03-20 05:08:05 [RateCDR] => 1 ) [2025-03-20 05:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:08:05' and `end` < '2025-03-20 05:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:08:11] Production.ERROR: CronJobId end10 [2025-03-20 05:08:11] Production.INFO: ==14252== Releasing lock... [2025-03-20 05:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:08:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:08:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:08:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:08:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:08:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:08:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:08:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:08:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:08:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:08:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:08:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:08:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:08:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:08:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:08:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:08:13] Production.INFO: call_cost start [2025-03-20 05:08:13] Production.INFO: call_cost end [2025-03-20 05:08:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:08:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:08:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:08:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:08:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:08:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:08:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:08:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:08:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:08:14] Production.INFO: ==14248== Releasing lock... [2025-03-20 05:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:08:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:08:17] Production.INFO: count ==342 [2025-03-20 05:08:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:08:05 - End Time 2025-03-20 05:08:05 [2025-03-20 05:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720596', 'tblTempUsageDetail_20' ) start [2025-03-20 05:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720596', 'tblTempUsageDetail_20' ) end [2025-03-20 05:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720596', 'tblTempVendorCDR_20' ) start [2025-03-20 05:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720596', 'tblTempVendorCDR_20' ) end [2025-03-20 05:08:17] Production.INFO: ProcessCDR(1,14720596,1,1,2) [2025-03-20 05:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720596', 'tblTempUsageDetail_20' ) start [2025-03-20 05:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720596', 'tblTempUsageDetail_20' ) end [2025-03-20 05:08:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:08:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:08:20] Production.INFO: ==14256== Releasing lock... [2025-03-20 05:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:08:20] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:09:02] Production.INFO: ==14312== Lock acquired, processing the job... [2025-03-20 09:09:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:09:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:09:02] Production.INFO: neon service started [2025-03-20 09:09:02] Production.INFO: neon service started [2025-03-20 09:09:02] Production.INFO: ==14312== Releasing lock... [2025-03-20 09:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:09:02] Production.INFO: ==14314== Lock acquired, processing the job... [2025-03-20 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:09:02] Production.INFO: ==14314== Releasing lock... [2025-03-20 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:09:03] Production.INFO: ==14316== Lock acquired, processing the job... [2025-03-20 09:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:09:03] Production.INFO: ==14316== Releasing lock... [2025-03-20 09:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:09:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:09:03] Production.INFO: ==14324== Lock acquired, processing the job... [2025-03-20 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:09:03] Production.INFO: ==14320== Lock acquired, processing the job... [2025-03-20 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:09:04] Production.INFO: ==14318== Lock acquired, processing the job... [2025-03-20 05:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:09:04] Production.INFO: Account Balance Start. [2025-03-20 05:09:04] Production.INFO: CreateAllLog Start [2025-03-20 05:09:04] Production.INFO: 117 [2025-03-20 05:09:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:09:04] Production.INFO: ==14322== Lock acquired, processing the job... [2025-03-20 05:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:09:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:09:04] Production.INFO: ==14326== Lock acquired, processing the job... [2025-03-20 05:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.INFO: ==14328== Lock acquired, processing the job... [2025-03-20 05:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.INFO: count ==12 [2025-03-20 05:09:04] Production.INFO: ==14320== Releasing lock... [2025-03-20 05:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:09:04] Production.INFO: count ==23 [2025-03-20 05:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720600') start [2025-03-20 05:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720600') end [2025-03-20 05:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:09:04] Production.INFO: 1 [2025-03-20 05:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:09:04] Production.INFO: Total Charge 0 [2025-03-20 05:09:04] Production.ERROR: done [2025-03-20 05:09:04] Production.INFO: CreateAllLog End [2025-03-20 05:09:04] Production.INFO: ==14328== Releasing lock... [2025-03-20 05:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:09:04] Production.ERROR: done [2025-03-20 05:09:05] Production.INFO: Account Balance End. [2025-03-20 05:09:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:09:05] Production.INFO: ==14324== Releasing lock... [2025-03-20 05:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:09:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:09:05 [end_date_ymd] => 2025-03-20 05:09:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:09:05' and `end` < '2025-03-20 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-03-20 05:09:12] Production.ERROR: CronJobId end10 [2025-03-20 05:09:12] Production.INFO: ==14322== Releasing lock... [2025-03-20 05:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:09:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:09:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:09:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:09:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:09:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:09:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:09:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:09:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:09:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:09:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:09:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:09:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:09:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:09:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:09:15] Production.INFO: call_cost start [2025-03-20 05:09:15] Production.INFO: call_cost end [2025-03-20 05:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:09:16] Production.INFO: ==14318== Releasing lock... [2025-03-20 05:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:09:18] Production.INFO: count ==342 [2025-03-20 05:09:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:09:05 - End Time 2025-03-20 05:09:05 [2025-03-20 05:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720601', 'tblTempUsageDetail_20' ) start [2025-03-20 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720601', 'tblTempUsageDetail_20' ) end [2025-03-20 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720601', 'tblTempVendorCDR_20' ) start [2025-03-20 05:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720601', 'tblTempVendorCDR_20' ) end [2025-03-20 05:09:18] Production.INFO: ProcessCDR(1,14720601,1,1,2) [2025-03-20 05:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720601', 'tblTempUsageDetail_20' ) start [2025-03-20 05:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720601', 'tblTempUsageDetail_20' ) end [2025-03-20 05:09:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:09:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:09:21] Production.INFO: ==14326== Releasing lock... [2025-03-20 05:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:09:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:10:01] Production.INFO: ==14384== Lock acquired, processing the job... [2025-03-20 09:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:10:01] Production.INFO: neon service started [2025-03-20 09:10:01] Production.INFO: neon service started [2025-03-20 09:10:01] Production.INFO: ==14384== Releasing lock... [2025-03-20 09:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:10:02] Production.INFO: ==14386== Lock acquired, processing the job... [2025-03-20 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:10:02] Production.INFO: ==14388== Lock acquired, processing the job... [2025-03-20 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:10:02] Production.INFO: ==14388== Releasing lock... [2025-03-20 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:10:02] Production.INFO: ==14386== Releasing lock... [2025-03-20 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:10:03] Production.INFO: ==14393== Lock acquired, processing the job... [2025-03-20 05:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:10:03] Production.INFO: ==14391== Lock acquired, processing the job... [2025-03-20 05:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 05:10:03] Production.INFO: ==14395== Lock acquired, processing the job... [2025-03-20 05:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 05:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 05:10:04] Production.ERROR: CronJob PID - 14393 [2025-03-20 05:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 05:10:04] Production.ERROR: CronJob ID - 5 [2025-03-20 05:10:04] Production.ERROR: CronJob Last Run Time 2025-03-20 05:10:00 [2025-03-20 05:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 05:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 05:10:04] Production.INFO: ==14397== Lock acquired, processing the job... [2025-03-20 05:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 05:10:04] Production.INFO: ==14391== Releasing lock... [2025-03-20 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 05:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 05:10:04] Production.INFO: ==14399== Lock acquired, processing the job... [2025-03-20 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:10:04] Production.INFO: ==14401== Lock acquired, processing the job... [2025-03-20 05:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:10:04] Production.INFO: ==14403== Lock acquired, processing the job... [2025-03-20 05:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 05:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:10:04] Production.INFO: ==14405== Lock acquired, processing the job... [2025-03-20 05:10:04] Production.INFO: Account Balance Start. [2025-03-20 05:10:04] Production.INFO: CreateAllLog Start [2025-03-20 05:10:04] Production.INFO: 117 [2025-03-20 05:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:10:04] Production.INFO: ==14395== Releasing lock... [2025-03-20 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:10:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:10:04] Production.INFO: count ==23 [2025-03-20 05:10:04] Production.ERROR: done [2025-03-20 05:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720605') start [2025-03-20 05:10:04] Production.ERROR: done [2025-03-20 05:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 05:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720606', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 05:10:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:04] Production.ERROR: done [2025-03-20 05:10:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 05:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 05:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720605') end [2025-03-20 05:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:10:05] Production.INFO: 1 [2025-03-20 05:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 05:10:05] Production.INFO: ==14405== Releasing lock... [2025-03-20 05:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:10:05] Production.INFO: Total Charge 0 [2025-03-20 05:10:05] Production.INFO: CreateAllLog End [2025-03-20 05:10:05] Production.INFO: Account Balance End. [2025-03-20 05:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:10:05] Production.INFO: ==14399== Releasing lock... [2025-03-20 05:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:10:06 [end_date_ymd] => 2025-03-20 05:10:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:10:06' and `end` < '2025-03-20 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-03-20 05:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720606', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 05:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 05:10:09] Production.INFO: ProcessCDR(1,14720606,1,1,2) [2025-03-20 05:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720606,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720606,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:10:09] Production.INFO: ==14403== Releasing lock... [2025-03-20 05:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 05:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 05:10:14] Production.ERROR: CronJobId end10 [2025-03-20 05:10:14] Production.INFO: ==14397== Releasing lock... [2025-03-20 05:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:10:17] Production.INFO: call_cost start [2025-03-20 05:10:17] Production.INFO: call_cost end [2025-03-20 05:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:10:18] Production.INFO: ==14393== Releasing lock... [2025-03-20 05:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:10:18] Production.INFO: count ==342 [2025-03-20 05:10:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:10:06 - End Time 2025-03-20 05:10:06 [2025-03-20 05:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720607', 'tblTempUsageDetail_20' ) start [2025-03-20 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720607', 'tblTempUsageDetail_20' ) end [2025-03-20 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720607', 'tblTempVendorCDR_20' ) start [2025-03-20 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720607', 'tblTempVendorCDR_20' ) end [2025-03-20 05:10:18] Production.INFO: ProcessCDR(1,14720607,1,1,2) [2025-03-20 05:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720607', 'tblTempUsageDetail_20' ) start [2025-03-20 05:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720607', 'tblTempUsageDetail_20' ) end [2025-03-20 05:10:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:10:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:10:21] Production.INFO: ==14401== Releasing lock... [2025-03-20 05:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:10:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:11:02] Production.INFO: ==14463== Lock acquired, processing the job... [2025-03-20 09:11:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:11:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:11:02] Production.INFO: neon service started [2025-03-20 09:11:02] Production.INFO: neon service started [2025-03-20 09:11:02] Production.INFO: ==14463== Releasing lock... [2025-03-20 09:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:11:02] Production.INFO: ==14467== Lock acquired, processing the job... [2025-03-20 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:11:02] Production.INFO: ==14467== Releasing lock... [2025-03-20 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:11:02] Production.INFO: ==14465== Lock acquired, processing the job... [2025-03-20 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:11:03] Production.INFO: ==14465== Releasing lock... [2025-03-20 05:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:11:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:11:03] Production.INFO: ==14470== Lock acquired, processing the job... [2025-03-20 05:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:11:03] Production.INFO: ==14478== Lock acquired, processing the job... [2025-03-20 05:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:11:03] Production.INFO: ==14476== Lock acquired, processing the job... [2025-03-20 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:11:03] Production.INFO: Account Balance Start. [2025-03-20 05:11:03] Production.INFO: CreateAllLog Start [2025-03-20 05:11:03] Production.INFO: 117 [2025-03-20 05:11:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.INFO: ==14472== Lock acquired, processing the job... [2025-03-20 05:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:11:04] Production.INFO: ==14474== Lock acquired, processing the job... [2025-03-20 05:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:11:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.ERROR: done [2025-03-20 05:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:11:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.INFO: ==14480== Lock acquired, processing the job... [2025-03-20 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:11:04] Production.ERROR: done [2025-03-20 05:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.INFO: count ==12 [2025-03-20 05:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:11:04] Production.INFO: count ==23 [2025-03-20 05:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720611') start [2025-03-20 05:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.INFO: ==14472== Releasing lock... [2025-03-20 05:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720611') end [2025-03-20 05:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:11:04] Production.INFO: 1 [2025-03-20 05:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.INFO: ==14480== Releasing lock... [2025-03-20 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:11:04] Production.INFO: Total Charge 0 [2025-03-20 05:11:04] Production.INFO: CreateAllLog End [2025-03-20 05:11:04] Production.INFO: Account Balance End. [2025-03-20 05:11:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:11:05] Production.INFO: ==14476== Releasing lock... [2025-03-20 05:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:11:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:11:05 [end_date_ymd] => 2025-03-20 05:11:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:11:05' and `end` < '2025-03-20 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-03-20 05:11:12] Production.ERROR: CronJobId end10 [2025-03-20 05:11:12] Production.INFO: ==14474== Releasing lock... [2025-03-20 05:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:11:15] Production.INFO: call_cost start [2025-03-20 05:11:15] Production.INFO: call_cost end [2025-03-20 05:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:11:16] Production.INFO: ==14470== Releasing lock... [2025-03-20 05:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:11:17] Production.INFO: count ==342 [2025-03-20 05:11:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:11:05 - End Time 2025-03-20 05:11:05 [2025-03-20 05:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720612', 'tblTempUsageDetail_20' ) start [2025-03-20 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720612', 'tblTempUsageDetail_20' ) end [2025-03-20 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720612', 'tblTempVendorCDR_20' ) start [2025-03-20 05:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720612', 'tblTempVendorCDR_20' ) end [2025-03-20 05:11:17] Production.INFO: ProcessCDR(1,14720612,1,1,2) [2025-03-20 05:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720612', 'tblTempUsageDetail_20' ) start [2025-03-20 05:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720612', 'tblTempUsageDetail_20' ) end [2025-03-20 05:11:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:11:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:11:20] Production.INFO: ==14478== Releasing lock... [2025-03-20 05:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:11:20] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:12:01] Production.INFO: ==14533== Lock acquired, processing the job... [2025-03-20 09:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:12:01] Production.INFO: neon service started [2025-03-20 09:12:01] Production.INFO: neon service started [2025-03-20 09:12:01] Production.INFO: ==14533== Releasing lock... [2025-03-20 09:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:12:02] Production.INFO: ==14538== Lock acquired, processing the job... [2025-03-20 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:12:02] Production.INFO: ==14536== Lock acquired, processing the job... [2025-03-20 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:12:02] Production.INFO: ==14538== Releasing lock... [2025-03-20 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:12:02] Production.INFO: ==14536== Releasing lock... [2025-03-20 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:12:03] Production.INFO: ==14544== Lock acquired, processing the job... [2025-03-20 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:12:03] Production.INFO: ==14548== Lock acquired, processing the job... [2025-03-20 05:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:12:03] Production.INFO: ==14552== Lock acquired, processing the job... [2025-03-20 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:12:03] Production.INFO: Account Balance Start. [2025-03-20 05:12:03] Production.INFO: CreateAllLog Start [2025-03-20 05:12:03] Production.INFO: 117 [2025-03-20 05:12:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:03] Production.INFO: ==14542== Lock acquired, processing the job... [2025-03-20 05:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:12:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:03] Production.INFO: ==14544== Releasing lock... [2025-03-20 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:12:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:12:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:03] Production.INFO: ==14546== Lock acquired, processing the job... [2025-03-20 05:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:12:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:03] Production.INFO: count ==12 [2025-03-20 05:12:03] Production.INFO: ==14550== Lock acquired, processing the job... [2025-03-20 05:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:12:03] Production.INFO: count ==23 [2025-03-20 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720615') start [2025-03-20 05:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720615') end [2025-03-20 05:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:12:04] Production.INFO: 1 [2025-03-20 05:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:04] Production.INFO: ==14552== Releasing lock... [2025-03-20 05:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:12:04] Production.ERROR: done [2025-03-20 05:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:12:04] Production.INFO: Total Charge 0 [2025-03-20 05:12:04] Production.INFO: CreateAllLog End [2025-03-20 05:12:04] Production.ERROR: done [2025-03-20 05:12:04] Production.INFO: Account Balance End. [2025-03-20 05:12:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:12:04] Production.INFO: ==14548== Releasing lock... [2025-03-20 05:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:12:05 [end_date_ymd] => 2025-03-20 05:12:05 [RateCDR] => 1 ) [2025-03-20 05:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:12:05' and `end` < '2025-03-20 05:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:12:11] Production.ERROR: CronJobId end10 [2025-03-20 05:12:11] Production.INFO: ==14546== Releasing lock... [2025-03-20 05:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:12:14] Production.INFO: call_cost start [2025-03-20 05:12:14] Production.INFO: call_cost end [2025-03-20 05:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:12:15] Production.INFO: ==14542== Releasing lock... [2025-03-20 05:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:12:17] Production.INFO: count ==342 [2025-03-20 05:12:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:12:05 - End Time 2025-03-20 05:12:05 [2025-03-20 05:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720617', 'tblTempUsageDetail_20' ) start [2025-03-20 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720617', 'tblTempUsageDetail_20' ) end [2025-03-20 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720617', 'tblTempVendorCDR_20' ) start [2025-03-20 05:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720617', 'tblTempVendorCDR_20' ) end [2025-03-20 05:12:17] Production.INFO: ProcessCDR(1,14720617,1,1,2) [2025-03-20 05:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720617', 'tblTempUsageDetail_20' ) start [2025-03-20 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720617', 'tblTempUsageDetail_20' ) end [2025-03-20 05:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:12:21] Production.INFO: ==14550== Releasing lock... [2025-03-20 05:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:12:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:13:02] Production.INFO: ==14611== Lock acquired, processing the job... [2025-03-20 09:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:13:02] Production.INFO: neon service started [2025-03-20 09:13:02] Production.INFO: neon service started [2025-03-20 09:13:02] Production.INFO: ==14611== Releasing lock... [2025-03-20 09:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:13:02] Production.INFO: ==14615== Lock acquired, processing the job... [2025-03-20 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:13:02] Production.INFO: ==14615== Releasing lock... [2025-03-20 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:13:02] Production.INFO: ==14613== Lock acquired, processing the job... [2025-03-20 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:13:03] Production.INFO: ==14613== Releasing lock... [2025-03-20 05:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:13:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:13:03] Production.INFO: ==14624== Lock acquired, processing the job... [2025-03-20 05:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:13:03] Production.INFO: Account Balance Start. [2025-03-20 05:13:03] Production.INFO: CreateAllLog Start [2025-03-20 05:13:03] Production.INFO: 117 [2025-03-20 05:13:03] Production.INFO: ==14628== Lock acquired, processing the job... [2025-03-20 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:13:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:13:04] Production.INFO: count ==12 [2025-03-20 05:13:04] Production.INFO: ==14618== Lock acquired, processing the job... [2025-03-20 05:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:13:04] Production.INFO: count ==23 [2025-03-20 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720619') start [2025-03-20 05:13:04] Production.INFO: ==14620== Lock acquired, processing the job... [2025-03-20 05:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:13:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.INFO: ==14622== Lock acquired, processing the job... [2025-03-20 05:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:13:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.INFO: ==14626== Lock acquired, processing the job... [2025-03-20 05:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720619') end [2025-03-20 05:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:13:04] Production.INFO: 1 [2025-03-20 05:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:13:04] Production.INFO: ==14628== Releasing lock... [2025-03-20 05:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.INFO: ==14620== Releasing lock... [2025-03-20 05:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.ERROR: done [2025-03-20 05:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:13:04] Production.INFO: Total Charge 0 [2025-03-20 05:13:04] Production.INFO: CreateAllLog End [2025-03-20 05:13:04] Production.ERROR: done [2025-03-20 05:13:05] Production.INFO: Account Balance End. [2025-03-20 05:13:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:13:05] Production.INFO: ==14624== Releasing lock... [2025-03-20 05:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:13:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:13:06 [end_date_ymd] => 2025-03-20 05:13:06 [RateCDR] => 1 ) [2025-03-20 05:13:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:13:06' and `end` < '2025-03-20 05:13:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:13:13] Production.ERROR: CronJobId end10 [2025-03-20 05:13:13] Production.INFO: ==14622== Releasing lock... [2025-03-20 05:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:13:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:13:15] Production.INFO: call_cost start [2025-03-20 05:13:15] Production.INFO: call_cost end [2025-03-20 05:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:13:16] Production.INFO: ==14618== Releasing lock... [2025-03-20 05:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:13:18] Production.INFO: count ==342 [2025-03-20 05:13:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:13:06 - End Time 2025-03-20 05:13:06 [2025-03-20 05:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720622', 'tblTempUsageDetail_20' ) start [2025-03-20 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720622', 'tblTempUsageDetail_20' ) end [2025-03-20 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720622', 'tblTempVendorCDR_20' ) start [2025-03-20 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720622', 'tblTempVendorCDR_20' ) end [2025-03-20 05:13:18] Production.INFO: ProcessCDR(1,14720622,1,1,2) [2025-03-20 05:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720622', 'tblTempUsageDetail_20' ) start [2025-03-20 05:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720622', 'tblTempUsageDetail_20' ) end [2025-03-20 05:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:13:21] Production.INFO: ==14626== Releasing lock... [2025-03-20 05:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:13:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:14:01] Production.INFO: ==14685== Lock acquired, processing the job... [2025-03-20 09:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:14:01] Production.INFO: neon service started [2025-03-20 09:14:01] Production.INFO: neon service started [2025-03-20 09:14:01] Production.INFO: ==14685== Releasing lock... [2025-03-20 09:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:14:02] Production.INFO: ==14689== Lock acquired, processing the job... [2025-03-20 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:14:02] Production.INFO: ==14689== Releasing lock... [2025-03-20 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:14:02] Production.INFO: ==14687== Lock acquired, processing the job... [2025-03-20 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:14:02] Production.INFO: ==14687== Releasing lock... [2025-03-20 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:14:03] Production.INFO: ==14692== Lock acquired, processing the job... [2025-03-20 05:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:14:03] Production.INFO: ==14694== Lock acquired, processing the job... [2025-03-20 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:14:03] Production.INFO: ==14696== Lock acquired, processing the job... [2025-03-20 05:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:14:03] Production.INFO: ==14698== Lock acquired, processing the job... [2025-03-20 05:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:14:03] Production.INFO: ==14700== Lock acquired, processing the job... [2025-03-20 05:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:14:03] Production.INFO: Account Balance Start. [2025-03-20 05:14:03] Production.INFO: CreateAllLog Start [2025-03-20 05:14:03] Production.INFO: 117 [2025-03-20 05:14:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:14:03] Production.INFO: ==14702== Lock acquired, processing the job... [2025-03-20 05:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:14:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:14:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:14:03] Production.INFO: ==14694== Releasing lock... [2025-03-20 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:14:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:14:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:14:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 05: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-03-20 05:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:14:04] Production.INFO: count ==12 [2025-03-20 05:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:14:04] Production.INFO: count ==23 [2025-03-20 05:14:04] Production.ERROR: done [2025-03-20 05:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720626') start [2025-03-20 05:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:14:04] Production.ERROR: done [2025-03-20 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720626') end [2025-03-20 05:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:14:04] Production.INFO: 1 [2025-03-20 05:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:14:04] Production.INFO: ==14702== Releasing lock... [2025-03-20 05:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:14:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:14:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:14:04] Production.INFO: Total Charge 0 [2025-03-20 05:14:04] Production.INFO: CreateAllLog End [2025-03-20 05:14:04] Production.INFO: Account Balance End. [2025-03-20 05:14:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:14:04] Production.INFO: ==14698== Releasing lock... [2025-03-20 05:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:14:05 [end_date_ymd] => 2025-03-20 05:14:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:14:05' and `end` < '2025-03-20 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-03-20 05:14:12] Production.ERROR: CronJobId end10 [2025-03-20 05:14:12] Production.INFO: ==14696== Releasing lock... [2025-03-20 05:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:14:14] Production.INFO: call_cost start [2025-03-20 05:14:14] Production.INFO: call_cost end [2025-03-20 05:14:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:14:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:14:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:14:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:14:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:14:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:14:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:14:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:14:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:14:15] Production.INFO: ==14692== Releasing lock... [2025-03-20 05:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:14:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:14:17] Production.INFO: count ==337 [2025-03-20 05:14:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:14:05 - End Time 2025-03-20 05:14:05 [2025-03-20 05:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720627', 'tblTempUsageDetail_20' ) start [2025-03-20 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720627', 'tblTempUsageDetail_20' ) end [2025-03-20 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720627', 'tblTempVendorCDR_20' ) start [2025-03-20 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720627', 'tblTempVendorCDR_20' ) end [2025-03-20 05:14:17] Production.INFO: ProcessCDR(1,14720627,1,1,2) [2025-03-20 05:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720627', 'tblTempUsageDetail_20' ) start [2025-03-20 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720627', 'tblTempUsageDetail_20' ) end [2025-03-20 05:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:14:21] Production.INFO: ==14700== Releasing lock... [2025-03-20 05:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:14:21] Production.INFO: 31 MB #Memory Used# [2025-03-20 09:15:02] Production.INFO: ==14757== Lock acquired, processing the job... [2025-03-20 09:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:15:02] Production.INFO: neon service started [2025-03-20 09:15:02] Production.INFO: neon service started [2025-03-20 09:15:02] Production.INFO: ==14757== Releasing lock... [2025-03-20 09:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:15:02] Production.INFO: ==14759== Lock acquired, processing the job... [2025-03-20 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:15:02] Production.INFO: ==14761== Lock acquired, processing the job... [2025-03-20 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:15:02] Production.INFO: ==14761== Releasing lock... [2025-03-20 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:15:03] Production.INFO: ==14759== Releasing lock... [2025-03-20 05:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:15:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:15:03] Production.INFO: ==14766== Lock acquired, processing the job... [2025-03-20 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:15:04] Production.INFO: ==14772== Lock acquired, processing the job... [2025-03-20 05:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:15:04] Production.INFO: ==14764== Lock acquired, processing the job... [2025-03-20 05:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:15:04] Production.INFO: ==14766== Releasing lock... [2025-03-20 05:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:15:04] Production.INFO: ==14768== Lock acquired, processing the job... [2025-03-20 05:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:15:04] Production.INFO: ==14774== Lock acquired, processing the job... [2025-03-20 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:15:04] Production.INFO: ==14770== Lock acquired, processing the job... [2025-03-20 05:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:15:04] Production.INFO: Account Balance Start. [2025-03-20 05:15:04] Production.INFO: CreateAllLog Start [2025-03-20 05:15:04] Production.INFO: 117 [2025-03-20 05:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 05:15:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:04] Production.INFO: count ==12 [2025-03-20 05:15:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:15:04] Production.INFO: count ==23 [2025-03-20 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720631') start [2025-03-20 05:15:04] Production.ERROR: done [2025-03-20 05:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720631') end [2025-03-20 05:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:15:04] Production.INFO: 1 [2025-03-20 05:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:04] Production.INFO: ==14774== Releasing lock... [2025-03-20 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:15:04] Production.ERROR: done [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:15:05] Production.INFO: Total Charge 0 [2025-03-20 05:15:05] Production.INFO: CreateAllLog End [2025-03-20 05:15:05] Production.INFO: Account Balance End. [2025-03-20 05:15:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:15:05] Production.INFO: ==14770== Releasing lock... [2025-03-20 05:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:15:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:15:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:15:06 [end_date_ymd] => 2025-03-20 05:15:06 [RateCDR] => 1 ) [2025-03-20 05:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:15:06' and `end` < '2025-03-20 05:15:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:15:13] Production.ERROR: CronJobId end10 [2025-03-20 05:15:13] Production.INFO: ==14768== Releasing lock... [2025-03-20 05:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:15:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:15:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:15:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:15:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:15:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:15:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:15:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:15:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:15:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:15:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:15:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:15:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:15:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:15:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:15:17] Production.INFO: call_cost start [2025-03-20 05:15:17] Production.INFO: call_cost end [2025-03-20 05:15:18] Production.INFO: count ==334 [2025-03-20 05:15:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:15:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:15:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:15:06 - End Time 2025-03-20 05:15:06 [2025-03-20 05:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720632', 'tblTempUsageDetail_20' ) start [2025-03-20 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720632', 'tblTempUsageDetail_20' ) end [2025-03-20 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720632', 'tblTempVendorCDR_20' ) start [2025-03-20 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720632', 'tblTempVendorCDR_20' ) end [2025-03-20 05:15:18] Production.INFO: ProcessCDR(1,14720632,1,1,2) [2025-03-20 05:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:15:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:15:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:15:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:15:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:15:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:15:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:15:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:15:18] Production.INFO: ==14764== Releasing lock... [2025-03-20 05:15:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:15:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720632', 'tblTempUsageDetail_20' ) start [2025-03-20 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720632', 'tblTempUsageDetail_20' ) end [2025-03-20 05:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:15:21] Production.INFO: ==14772== Releasing lock... [2025-03-20 05:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:15:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:16:01] Production.INFO: ==14833== Lock acquired, processing the job... [2025-03-20 09:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:16:01] Production.INFO: neon service started [2025-03-20 09:16:01] Production.INFO: neon service started [2025-03-20 09:16:01] Production.INFO: ==14833== Releasing lock... [2025-03-20 09:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:16:02] Production.INFO: ==14835== Lock acquired, processing the job... [2025-03-20 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:16:02] Production.INFO: ==14837== Lock acquired, processing the job... [2025-03-20 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:16:02] Production.INFO: ==14837== Releasing lock... [2025-03-20 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:16:02] Production.INFO: ==14835== Releasing lock... [2025-03-20 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:16:03] Production.INFO: ==14842== Lock acquired, processing the job... [2025-03-20 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:16:03] Production.INFO: ==14840== Lock acquired, processing the job... [2025-03-20 05:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:16:04] Production.INFO: ==14844== Lock acquired, processing the job... [2025-03-20 05:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:16:04] Production.INFO: ==14846== Lock acquired, processing the job... [2025-03-20 05:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:16:04] Production.INFO: ==14850== Lock acquired, processing the job... [2025-03-20 05:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:16:04] Production.INFO: ==14848== Lock acquired, processing the job... [2025-03-20 05:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:16:04] Production.INFO: Account Balance Start. [2025-03-20 05:16:04] Production.INFO: CreateAllLog Start [2025-03-20 05:16:04] Production.INFO: 117 [2025-03-20 05:16:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:04] Production.INFO: count ==12 [2025-03-20 05:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:16:04] Production.INFO: count ==23 [2025-03-20 05:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720635') start [2025-03-20 05:16:04] Production.INFO: ==14842== Releasing lock... [2025-03-20 05:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720635') end [2025-03-20 05:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:16:04] Production.INFO: 1 [2025-03-20 05:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:04] Production.INFO: ==14850== Releasing lock... [2025-03-20 05:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:04] Production.ERROR: done [2025-03-20 05:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:04] Production.ERROR: done [2025-03-20 05:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:05] Production.INFO: Date 2025-03-18 [2025-03-20 05:16:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:05] Production.INFO: Date 2025-03-19 [2025-03-20 05:16:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:05] Production.INFO: Date 2025-03-20 [2025-03-20 05:16:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:16:05] Production.INFO: Total Charge 0 [2025-03-20 05:16:05] Production.INFO: CreateAllLog End [2025-03-20 05:16:05] Production.INFO: Account Balance End. [2025-03-20 05:16:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:16:05] Production.INFO: ==14846== Releasing lock... [2025-03-20 05:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:16:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:16:06 [end_date_ymd] => 2025-03-20 05:16:06 [RateCDR] => 1 ) [2025-03-20 05:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:16:06' and `end` < '2025-03-20 05:16:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:16:13] Production.ERROR: CronJobId end10 [2025-03-20 05:16:13] Production.INFO: ==14844== Releasing lock... [2025-03-20 05:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:16:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:16:15] Production.INFO: call_cost start [2025-03-20 05:16:15] Production.INFO: call_cost end [2025-03-20 05:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:16:16] Production.INFO: ==14840== Releasing lock... [2025-03-20 05:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:16:18] Production.INFO: count ==332 [2025-03-20 05:16:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:16:06 - End Time 2025-03-20 05:16:06 [2025-03-20 05:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720637', 'tblTempUsageDetail_20' ) start [2025-03-20 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720637', 'tblTempUsageDetail_20' ) end [2025-03-20 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720637', 'tblTempVendorCDR_20' ) start [2025-03-20 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720637', 'tblTempVendorCDR_20' ) end [2025-03-20 05:16:18] Production.INFO: ProcessCDR(1,14720637,1,1,2) [2025-03-20 05:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720637', 'tblTempUsageDetail_20' ) start [2025-03-20 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720637', 'tblTempUsageDetail_20' ) end [2025-03-20 05:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:16:21] Production.INFO: ==14848== Releasing lock... [2025-03-20 05:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:16:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:17:02] Production.INFO: ==14906== Lock acquired, processing the job... [2025-03-20 09:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:17:02] Production.INFO: neon service started [2025-03-20 09:17:02] Production.INFO: neon service started [2025-03-20 09:17:02] Production.INFO: ==14906== Releasing lock... [2025-03-20 09:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:17:02] Production.INFO: ==14910== Lock acquired, processing the job... [2025-03-20 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:17:02] Production.INFO: ==14910== Releasing lock... [2025-03-20 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:17:02] Production.INFO: ==14908== Lock acquired, processing the job... [2025-03-20 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:17:03] Production.INFO: ==14908== Releasing lock... [2025-03-20 05:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:17:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:17:03] Production.INFO: ==14913== Lock acquired, processing the job... [2025-03-20 05:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:17:03] Production.INFO: ==14915== Lock acquired, processing the job... [2025-03-20 05:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:17:03] Production.INFO: ==14919== Lock acquired, processing the job... [2025-03-20 05:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:17:04] Production.INFO: Account Balance Start. [2025-03-20 05:17:04] Production.INFO: CreateAllLog Start [2025-03-20 05:17:04] Production.INFO: 117 [2025-03-20 05:17:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.INFO: ==14917== Lock acquired, processing the job... [2025-03-20 05:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:17:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.INFO: ==14921== Lock acquired, processing the job... [2025-03-20 05:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:17:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:17:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:17:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.INFO: ==14923== Lock acquired, processing the job... [2025-03-20 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:17:04] Production.INFO: ==14915== Releasing lock... [2025-03-20 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:17:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:17:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:17:04] Production.INFO: count ==23 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720641') start [2025-03-20 05:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.ERROR: done [2025-03-20 05:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720641') end [2025-03-20 05:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:17:04] Production.INFO: 1 [2025-03-20 05:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:17:04] Production.INFO: Total Charge 0 [2025-03-20 05:17:04] Production.INFO: CreateAllLog End [2025-03-20 05:17:04] Production.INFO: ==14923== Releasing lock... [2025-03-20 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:17:04] Production.ERROR: done [2025-03-20 05:17:05] Production.INFO: Account Balance End. [2025-03-20 05:17:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:17:05] Production.INFO: ==14919== Releasing lock... [2025-03-20 05:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:17:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:17:05 [end_date_ymd] => 2025-03-20 05:17:05 [RateCDR] => 1 ) [2025-03-20 05:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:17:05' and `end` < '2025-03-20 05:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:17:13] Production.ERROR: CronJobId end10 [2025-03-20 05:17:13] Production.INFO: ==14917== Releasing lock... [2025-03-20 05:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:17:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:17:15] Production.INFO: call_cost start [2025-03-20 05:17:15] Production.INFO: call_cost end [2025-03-20 05:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:17:16] Production.INFO: ==14913== Releasing lock... [2025-03-20 05:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:17:18] Production.INFO: count ==332 [2025-03-20 05:17:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:17:05 - End Time 2025-03-20 05:17:05 [2025-03-20 05:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720642', 'tblTempUsageDetail_20' ) start [2025-03-20 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720642', 'tblTempUsageDetail_20' ) end [2025-03-20 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720642', 'tblTempVendorCDR_20' ) start [2025-03-20 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720642', 'tblTempVendorCDR_20' ) end [2025-03-20 05:17:18] Production.INFO: ProcessCDR(1,14720642,1,1,2) [2025-03-20 05:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720642', 'tblTempUsageDetail_20' ) start [2025-03-20 05:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720642', 'tblTempUsageDetail_20' ) end [2025-03-20 05:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:17:21] Production.INFO: ==14921== Releasing lock... [2025-03-20 05:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:17:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:18:01] Production.INFO: ==14994== Lock acquired, processing the job... [2025-03-20 09:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:18:01] Production.INFO: neon service started [2025-03-20 09:18:01] Production.INFO: neon service started [2025-03-20 09:18:01] Production.INFO: ==14994== Releasing lock... [2025-03-20 09:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:18:02] Production.INFO: ==14997== Lock acquired, processing the job... [2025-03-20 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:18:02] Production.INFO: ==14997== Releasing lock... [2025-03-20 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:18:02] Production.INFO: ==14999== Lock acquired, processing the job... [2025-03-20 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:18:02] Production.INFO: ==14999== Releasing lock... [2025-03-20 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:18:02] Production.INFO: 26 MB #Memory Used# [2025-03-20 05:18:03] Production.INFO: ==15005== Lock acquired, processing the job... [2025-03-20 05:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:18:03] Production.INFO: ==15001== Lock acquired, processing the job... [2025-03-20 05:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:18:03] Production.INFO: ==15011== Lock acquired, processing the job... [2025-03-20 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:18:03] Production.INFO: ==15003== Lock acquired, processing the job... [2025-03-20 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:18:03] Production.INFO: count ==12 [2025-03-20 05:18:03] Production.INFO: ==15007== Lock acquired, processing the job... [2025-03-20 05:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:18:03] Production.INFO: count ==23 [2025-03-20 05:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720644') start [2025-03-20 05:18:03] Production.INFO: ==15009== Lock acquired, processing the job... [2025-03-20 05:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720644') end [2025-03-20 05:18:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:18:03] Production.INFO: 1 [2025-03-20 05:18:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:18:03] Production.INFO: Account Balance Start. [2025-03-20 05:18:03] Production.INFO: CreateAllLog Start [2025-03-20 05:18:03] Production.INFO: 117 [2025-03-20 05:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: ==15011== Releasing lock... [2025-03-20 05:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: ==15003== Releasing lock... [2025-03-20 05:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:18:04] Production.ERROR: done [2025-03-20 05:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:18:04] Production.INFO: Total Charge 0 [2025-03-20 05:18:04] Production.INFO: CreateAllLog End [2025-03-20 05:18:04] Production.ERROR: done [2025-03-20 05:18:04] Production.INFO: Account Balance End. [2025-03-20 05:18:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:18:04] Production.INFO: ==15007== Releasing lock... [2025-03-20 05:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:18:05 [end_date_ymd] => 2025-03-20 05:18:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:18:05' and `end` < '2025-03-20 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-03-20 05:18:13] Production.ERROR: CronJobId end10 [2025-03-20 05:18:13] Production.INFO: ==15005== Releasing lock... [2025-03-20 05:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:18:16] Production.INFO: call_cost start [2025-03-20 05:18:16] Production.INFO: call_cost end [2025-03-20 05:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:18:16] Production.INFO: ==15001== Releasing lock... [2025-03-20 05:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:18:17] Production.INFO: count ==332 [2025-03-20 05:18:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:18:05 - End Time 2025-03-20 05:18:05 [2025-03-20 05:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720647', 'tblTempUsageDetail_20' ) start [2025-03-20 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720647', 'tblTempUsageDetail_20' ) end [2025-03-20 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720647', 'tblTempVendorCDR_20' ) start [2025-03-20 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720647', 'tblTempVendorCDR_20' ) end [2025-03-20 05:18:18] Production.INFO: ProcessCDR(1,14720647,1,1,2) [2025-03-20 05:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720647', 'tblTempUsageDetail_20' ) start [2025-03-20 05:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720647', 'tblTempUsageDetail_20' ) end [2025-03-20 05:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:18:21] Production.INFO: ==15009== Releasing lock... [2025-03-20 05:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:18:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:19:02] Production.INFO: ==15067== Lock acquired, processing the job... [2025-03-20 09:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:19:02] Production.INFO: neon service started [2025-03-20 09:19:02] Production.INFO: neon service started [2025-03-20 09:19:02] Production.INFO: ==15067== Releasing lock... [2025-03-20 09:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:19:02] Production.INFO: ==15071== Lock acquired, processing the job... [2025-03-20 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:19:02] Production.INFO: ==15071== Releasing lock... [2025-03-20 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:19:02] Production.INFO: ==15069== Lock acquired, processing the job... [2025-03-20 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:19:03] Production.INFO: ==15069== Releasing lock... [2025-03-20 05:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:19:03] Production.INFO: ==15078== Lock acquired, processing the job... [2025-03-20 05:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:19:03] Production.INFO: ==15080== Lock acquired, processing the job... [2025-03-20 05:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:19:04] Production.INFO: Account Balance Start. [2025-03-20 05:19:04] Production.INFO: CreateAllLog Start [2025-03-20 05:19:04] Production.INFO: 117 [2025-03-20 05:19:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:19:04] Production.INFO: ==15074== Lock acquired, processing the job... [2025-03-20 05:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.INFO: ==15076== Lock acquired, processing the job... [2025-03-20 05:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:19:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:19:04] Production.INFO: ==15082== Lock acquired, processing the job... [2025-03-20 05:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.INFO: ==15084== Lock acquired, processing the job... [2025-03-20 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 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-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:19:04] Production.INFO: count ==23 [2025-03-20 05:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720651') start [2025-03-20 05:19:04] Production.INFO: ==15076== Releasing lock... [2025-03-20 05:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:19:04] Production.ERROR: done [2025-03-20 05:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:19:04] Production.INFO: Total Charge 0 [2025-03-20 05:19:04] Production.INFO: CreateAllLog End [2025-03-20 05:19:04] Production.ERROR: done [2025-03-20 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720651') end [2025-03-20 05:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:19:04] Production.INFO: 1 [2025-03-20 05:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:19:04] Production.INFO: Account Balance End. [2025-03-20 05:19:05] Production.INFO: ==15084== Releasing lock... [2025-03-20 05:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:19:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:19:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:19:05] Production.INFO: ==15080== Releasing lock... [2025-03-20 05:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:19:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:19:05 [end_date_ymd] => 2025-03-20 05:19:05 [RateCDR] => 1 ) [2025-03-20 05:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:19:05' and `end` < '2025-03-20 05:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:19:12] Production.ERROR: CronJobId end10 [2025-03-20 05:19:12] Production.INFO: ==15078== Releasing lock... [2025-03-20 05:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:19:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:19:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:19:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:19:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:19:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:19:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:19:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:19:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:19:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:19:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:19:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:19:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:19:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:19:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:19:15] Production.INFO: call_cost start [2025-03-20 05:19:15] Production.INFO: call_cost end [2025-03-20 05:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:19:16] Production.INFO: ==15074== Releasing lock... [2025-03-20 05:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:19:17] Production.INFO: count ==332 [2025-03-20 05:19:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:19:05 - End Time 2025-03-20 05:19:05 [2025-03-20 05:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720652', 'tblTempUsageDetail_20' ) start [2025-03-20 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720652', 'tblTempUsageDetail_20' ) end [2025-03-20 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720652', 'tblTempVendorCDR_20' ) start [2025-03-20 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720652', 'tblTempVendorCDR_20' ) end [2025-03-20 05:19:18] Production.INFO: ProcessCDR(1,14720652,1,1,2) [2025-03-20 05:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720652', 'tblTempUsageDetail_20' ) start [2025-03-20 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720652', 'tblTempUsageDetail_20' ) end [2025-03-20 05:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:19:21] Production.INFO: ==15082== Releasing lock... [2025-03-20 05:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:19:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:20:01] Production.INFO: ==15140== Lock acquired, processing the job... [2025-03-20 09:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:20:01] Production.INFO: neon service started [2025-03-20 09:20:01] Production.INFO: neon service started [2025-03-20 09:20:01] Production.INFO: ==15140== Releasing lock... [2025-03-20 09:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:20:02] Production.INFO: ==15142== Lock acquired, processing the job... [2025-03-20 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:20:02] Production.INFO: ==15142== Releasing lock... [2025-03-20 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:20:02] Production.INFO: ==15144== Lock acquired, processing the job... [2025-03-20 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:20:02] Production.INFO: ==15144== Releasing lock... [2025-03-20 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:20:03] Production.INFO: ==15146== Lock acquired, processing the job... [2025-03-20 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 05:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 05:20:03] Production.INFO: ==15148== Lock acquired, processing the job... [2025-03-20 05:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 05:20:03] Production.INFO: ==15146== Releasing lock... [2025-03-20 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 05:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 05:20:03] Production.INFO: ==15150== Lock acquired, processing the job... [2025-03-20 05:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:20:03] Production.INFO: ==15152== Lock acquired, processing the job... [2025-03-20 05:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:20:03] Production.INFO: ==15159== Lock acquired, processing the job... [2025-03-20 05:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 05:20:03] Production.INFO: ==15155== Lock acquired, processing the job... [2025-03-20 05:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:20:03] Production.INFO: ==15157== Lock acquired, processing the job... [2025-03-20 05:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:20:03] Production.INFO: ==15161== Lock acquired, processing the job... [2025-03-20 05:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:20:04] Production.INFO: Account Balance Start. [2025-03-20 05:20:04] Production.INFO: CreateAllLog Start [2025-03-20 05:20:04] Production.INFO: 117 [2025-03-20 05:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:20:04] Production.INFO: count ==12 [2025-03-20 05:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:20:04] Production.INFO: count ==23 [2025-03-20 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720656') start [2025-03-20 05:20:04] Production.ERROR: done [2025-03-20 05:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:20:04] Production.ERROR: done [2025-03-20 05:20:04] Production.INFO: ==15150== Releasing lock... [2025-03-20 05:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720656') end [2025-03-20 05:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:20:04] Production.INFO: 1 [2025-03-20 05:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 05:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720657', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 05:20:04] Production.INFO: ==15161== Releasing lock... [2025-03-20 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:20:04] Production.ERROR: done [2025-03-20 05:20:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:20:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:20:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:20:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:20:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:20:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:20:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:20:05] Production.INFO: Total Charge 0 [2025-03-20 05:20:05] Production.INFO: CreateAllLog End [2025-03-20 05:20:05] Production.INFO: Account Balance End. [2025-03-20 05:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:20:05] Production.INFO: ==15155== Releasing lock... [2025-03-20 05:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:20:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:20:05 [end_date_ymd] => 2025-03-20 05:20:05 [RateCDR] => 1 ) [2025-03-20 05:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:20:05' and `end` < '2025-03-20 05:20:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720657', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 05:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 05:20:09] Production.INFO: ProcessCDR(1,14720657,1,1,2) [2025-03-20 05:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720657,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720657,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:20:09] Production.INFO: ==15159== Releasing lock... [2025-03-20 05:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 05:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 05:20:15] Production.ERROR: CronJobId end10 [2025-03-20 05:20:15] Production.INFO: ==15152== Releasing lock... [2025-03-20 05:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:20:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:20:17] Production.INFO: call_cost start [2025-03-20 05:20:17] Production.INFO: call_cost end [2025-03-20 05:20:18] Production.INFO: count ==332 [2025-03-20 05:20:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:20:05 - End Time 2025-03-20 05:20:05 [2025-03-20 05:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720658', 'tblTempUsageDetail_20' ) start [2025-03-20 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720658', 'tblTempUsageDetail_20' ) end [2025-03-20 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720658', 'tblTempVendorCDR_20' ) start [2025-03-20 05:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720658', 'tblTempVendorCDR_20' ) end [2025-03-20 05:20:18] Production.INFO: ProcessCDR(1,14720658,1,1,2) [2025-03-20 05:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:20:18] Production.INFO: ==15148== Releasing lock... [2025-03-20 05:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720658', 'tblTempUsageDetail_20' ) start [2025-03-20 05:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720658', 'tblTempUsageDetail_20' ) end [2025-03-20 05:20:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:20:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:20:21] Production.INFO: ==15157== Releasing lock... [2025-03-20 05:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:20:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:21:02] Production.INFO: ==15257== Lock acquired, processing the job... [2025-03-20 09:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:21:02] Production.INFO: neon service started [2025-03-20 09:21:02] Production.INFO: neon service started [2025-03-20 09:21:02] Production.INFO: ==15257== Releasing lock... [2025-03-20 09:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:21:02] Production.INFO: ==15259== Lock acquired, processing the job... [2025-03-20 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:21:02] Production.INFO: ==15261== Lock acquired, processing the job... [2025-03-20 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:21:02] Production.INFO: ==15261== Releasing lock... [2025-03-20 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:21:03] Production.INFO: ==15259== Releasing lock... [2025-03-20 05:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:21:04] Production.INFO: ==15264== Lock acquired, processing the job... [2025-03-20 05:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:21:04] Production.INFO: ==15270== Lock acquired, processing the job... [2025-03-20 05:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:21:04] Production.INFO: ==15266== Lock acquired, processing the job... [2025-03-20 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:21:04] Production.INFO: ==15268== Lock acquired, processing the job... [2025-03-20 05:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:21:04] Production.INFO: ==15272== Lock acquired, processing the job... [2025-03-20 05:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:21:04] Production.INFO: Account Balance Start. [2025-03-20 05:21:04] Production.INFO: CreateAllLog Start [2025-03-20 05:21:04] Production.INFO: 117 [2025-03-20 05:21:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:21:04] Production.INFO: ==15274== Lock acquired, processing the job... [2025-03-20 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:21:04] Production.INFO: ==15266== Releasing lock... [2025-03-20 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:21:04] Production.ERROR: done [2025-03-20 05:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:21:04] Production.INFO: count ==12 [2025-03-20 05:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:21:04] Production.INFO: count ==23 [2025-03-20 05:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720662') start [2025-03-20 05:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:21:05] Production.ERROR: done [2025-03-20 05:21:05] Production.INFO: Total Charge 0 [2025-03-20 05:21:05] Production.INFO: CreateAllLog End [2025-03-20 05:21:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720662') end [2025-03-20 05:21:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:21:05] Production.INFO: 1 [2025-03-20 05:21:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:21:05] Production.INFO: ==15274== Releasing lock... [2025-03-20 05:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:21:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:21:05] Production.INFO: Account Balance End. [2025-03-20 05:21:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:21:05] Production.INFO: ==15270== Releasing lock... [2025-03-20 05:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:21:06 [end_date_ymd] => 2025-03-20 05:21:06 [RateCDR] => 1 ) [2025-03-20 05: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-03-20 02:21:06' and `end` < '2025-03-20 05: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-03-20 05:21:12] Production.ERROR: CronJobId end10 [2025-03-20 05:21:12] Production.INFO: ==15268== Releasing lock... [2025-03-20 05:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:21:15] Production.INFO: call_cost start [2025-03-20 05:21:15] Production.INFO: call_cost end [2025-03-20 05:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:21:15] Production.INFO: ==15264== Releasing lock... [2025-03-20 05:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:21:18] Production.INFO: count ==332 [2025-03-20 05:21:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:21:06 - End Time 2025-03-20 05:21:06 [2025-03-20 05:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720663', 'tblTempUsageDetail_20' ) start [2025-03-20 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720663', 'tblTempUsageDetail_20' ) end [2025-03-20 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720663', 'tblTempVendorCDR_20' ) start [2025-03-20 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720663', 'tblTempVendorCDR_20' ) end [2025-03-20 05:21:18] Production.INFO: ProcessCDR(1,14720663,1,1,2) [2025-03-20 05:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720663', 'tblTempUsageDetail_20' ) start [2025-03-20 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720663', 'tblTempUsageDetail_20' ) end [2025-03-20 05:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:21:21] Production.INFO: ==15272== Releasing lock... [2025-03-20 05:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:21:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:22:01] Production.INFO: ==15328== Lock acquired, processing the job... [2025-03-20 09:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:22:01] Production.INFO: neon service started [2025-03-20 09:22:01] Production.INFO: neon service started [2025-03-20 09:22:01] Production.INFO: ==15328== Releasing lock... [2025-03-20 09:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:22:02] Production.INFO: ==15331== Lock acquired, processing the job... [2025-03-20 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:22:02] Production.INFO: ==15333== Lock acquired, processing the job... [2025-03-20 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:22:02] Production.INFO: ==15333== Releasing lock... [2025-03-20 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:22:02] Production.INFO: ==15331== Releasing lock... [2025-03-20 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:22:03] Production.INFO: ==15335== Lock acquired, processing the job... [2025-03-20 05:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:22:03] Production.INFO: ==15337== Lock acquired, processing the job... [2025-03-20 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:22:03] Production.INFO: ==15339== Lock acquired, processing the job... [2025-03-20 05:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:22:03] Production.INFO: ==15341== Lock acquired, processing the job... [2025-03-20 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:22:03] Production.INFO: ==15343== Lock acquired, processing the job... [2025-03-20 05:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:22:03] Production.INFO: ==15337== Releasing lock... [2025-03-20 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:22:03] Production.INFO: Account Balance Start. [2025-03-20 05:22:03] Production.INFO: CreateAllLog Start [2025-03-20 05:22:03] Production.INFO: 117 [2025-03-20 05:22:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:03] Production.INFO: ==15345== Lock acquired, processing the job... [2025-03-20 05:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:04] Production.INFO: count ==12 [2025-03-20 05:22:04] Production.ERROR: done [2025-03-20 05:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:22:04] Production.INFO: count ==23 [2025-03-20 05:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720667') start [2025-03-20 05:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:04] Production.ERROR: done [2025-03-20 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720667') end [2025-03-20 05:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:22:04] Production.INFO: 1 [2025-03-20 05:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:22:04] Production.INFO: ==15345== Releasing lock... [2025-03-20 05:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:22:04] Production.INFO: Total Charge 0 [2025-03-20 05:22:04] Production.INFO: CreateAllLog End [2025-03-20 05:22:04] Production.INFO: Account Balance End. [2025-03-20 05:22:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:22:04] Production.INFO: ==15341== Releasing lock... [2025-03-20 05:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:22:05 [end_date_ymd] => 2025-03-20 05:22:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:22:05' and `end` < '2025-03-20 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-03-20 05:22:11] Production.ERROR: CronJobId end10 [2025-03-20 05:22:11] Production.INFO: ==15339== Releasing lock... [2025-03-20 05:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:22:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:22:14] Production.INFO: call_cost start [2025-03-20 05:22:14] Production.INFO: call_cost end [2025-03-20 05:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:22:15] Production.INFO: ==15335== Releasing lock... [2025-03-20 05:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:22:17] Production.INFO: count ==332 [2025-03-20 05:22:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:22:05 - End Time 2025-03-20 05:22:05 [2025-03-20 05:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720668', 'tblTempUsageDetail_20' ) start [2025-03-20 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720668', 'tblTempUsageDetail_20' ) end [2025-03-20 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720668', 'tblTempVendorCDR_20' ) start [2025-03-20 05:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720668', 'tblTempVendorCDR_20' ) end [2025-03-20 05:22:17] Production.INFO: ProcessCDR(1,14720668,1,1,2) [2025-03-20 05:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720668', 'tblTempUsageDetail_20' ) start [2025-03-20 05:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720668', 'tblTempUsageDetail_20' ) end [2025-03-20 05:22:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:22:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:22:21] Production.INFO: ==15343== Releasing lock... [2025-03-20 05:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:22:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:23:02] Production.INFO: ==15404== Lock acquired, processing the job... [2025-03-20 09:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:23:02] Production.INFO: neon service started [2025-03-20 09:23:02] Production.INFO: neon service started [2025-03-20 09:23:02] Production.INFO: ==15404== Releasing lock... [2025-03-20 09:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:23:02] Production.INFO: ==15406== Lock acquired, processing the job... [2025-03-20 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:23:02] Production.INFO: ==15406== Releasing lock... [2025-03-20 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:23:02] Production.INFO: ==15408== Lock acquired, processing the job... [2025-03-20 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:23:02] Production.INFO: ==15408== Releasing lock... [2025-03-20 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:23:03] Production.INFO: ==15414== Lock acquired, processing the job... [2025-03-20 05:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:23:03] Production.INFO: ==15418== Lock acquired, processing the job... [2025-03-20 05:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:23:03] Production.INFO: ==15410== Lock acquired, processing the job... [2025-03-20 05:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:23:03] Production.INFO: ==15412== Lock acquired, processing the job... [2025-03-20 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:23:03] Production.INFO: ==15416== Lock acquired, processing the job... [2025-03-20 05:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:23:03] Production.INFO: ==15420== Lock acquired, processing the job... [2025-03-20 05:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:23:04] Production.INFO: Account Balance Start. [2025-03-20 05:23:04] Production.INFO: CreateAllLog Start [2025-03-20 05:23:04] Production.INFO: 117 [2025-03-20 05:23:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.ERROR: done [2025-03-20 05:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:23:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:23:04] Production.INFO: count ==23 [2025-03-20 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720672') start [2025-03-20 05:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.ERROR: done [2025-03-20 05:23:04] Production.INFO: ==15412== Releasing lock... [2025-03-20 05:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720672') end [2025-03-20 05:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:23:04] Production.INFO: 1 [2025-03-20 05:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:23:04] Production.INFO: ==15420== Releasing lock... [2025-03-20 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:23:04] Production.INFO: Total Charge 0 [2025-03-20 05:23:04] Production.INFO: CreateAllLog End [2025-03-20 05:23:05] Production.INFO: Account Balance End. [2025-03-20 05:23:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:23:05] Production.INFO: ==15416== Releasing lock... [2025-03-20 05:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:23:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:23:05 [end_date_ymd] => 2025-03-20 05:23:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:23:05' and `end` < '2025-03-20 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-03-20 05:23:12] Production.ERROR: CronJobId end10 [2025-03-20 05:23:12] Production.INFO: ==15414== Releasing lock... [2025-03-20 05:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:23:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:23:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:23:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:23:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:23:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:23:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:23:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:23:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:23:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:23:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:23:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:23:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:23:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:23:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:23:15] Production.INFO: call_cost start [2025-03-20 05:23:15] Production.INFO: call_cost end [2025-03-20 05:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:23:16] Production.INFO: ==15410== Releasing lock... [2025-03-20 05:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:23:17] Production.INFO: count ==332 [2025-03-20 05:23:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:23:05 - End Time 2025-03-20 05:23:05 [2025-03-20 05:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720673', 'tblTempUsageDetail_20' ) start [2025-03-20 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720673', 'tblTempUsageDetail_20' ) end [2025-03-20 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720673', 'tblTempVendorCDR_20' ) start [2025-03-20 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720673', 'tblTempVendorCDR_20' ) end [2025-03-20 05:23:18] Production.INFO: ProcessCDR(1,14720673,1,1,2) [2025-03-20 05:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720673', 'tblTempUsageDetail_20' ) start [2025-03-20 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720673', 'tblTempUsageDetail_20' ) end [2025-03-20 05:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:23:21] Production.INFO: ==15418== Releasing lock... [2025-03-20 05:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:23:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:24:01] Production.INFO: ==15480== Lock acquired, processing the job... [2025-03-20 09:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:24:01] Production.INFO: neon service started [2025-03-20 09:24:01] Production.INFO: neon service started [2025-03-20 09:24:01] Production.INFO: ==15480== Releasing lock... [2025-03-20 09:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:24:01] Production.INFO: ==15484== Lock acquired, processing the job... [2025-03-20 09:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:24:01] Production.INFO: ==15484== Releasing lock... [2025-03-20 09:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:24:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:24:02] Production.INFO: ==15482== Lock acquired, processing the job... [2025-03-20 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:24:02] Production.INFO: ==15482== Releasing lock... [2025-03-20 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:24:03] Production.INFO: ==15495== Lock acquired, processing the job... [2025-03-20 05:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:24:03] Production.INFO: ==15497== Lock acquired, processing the job... [2025-03-20 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 05:24:03] Production.INFO: ==15487== Lock acquired, processing the job... [2025-03-20 05:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:24:03] Production.INFO: count ==12 [2025-03-20 05:24:03] Production.INFO: ==15489== Lock acquired, processing the job... [2025-03-20 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 05:24:03] Production.INFO: count ==23 [2025-03-20 05:24:03] Production.INFO: ==15491== Lock acquired, processing the job... [2025-03-20 05:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:24:03] Production.INFO: ==15493== Lock acquired, processing the job... [2025-03-20 05:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720674') start [2025-03-20 05:24:03] Production.ERROR: done [2025-03-20 05:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:24:03] Production.INFO: Account Balance Start. [2025-03-20 05:24:03] Production.INFO: CreateAllLog Start [2025-03-20 05:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720674') end [2025-03-20 05:24:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:24:03] Production.INFO: 1 [2025-03-20 05:24:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:24:03] Production.INFO: 117 [2025-03-20 05:24:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:24:03] Production.INFO: ==15497== Releasing lock... [2025-03-20 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:24:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.ERROR: done [2025-03-20 05:24:04] Production.INFO: ==15489== Releasing lock... [2025-03-20 05:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:24:04] Production.INFO: Total Charge 0 [2025-03-20 05:24:04] Production.INFO: CreateAllLog End [2025-03-20 05:24:04] Production.INFO: Account Balance End. [2025-03-20 05:24:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:24:04] Production.INFO: ==15493== Releasing lock... [2025-03-20 05:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:24:05 [end_date_ymd] => 2025-03-20 05:24:05 [RateCDR] => 1 ) [2025-03-20 05:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:24:05' and `end` < '2025-03-20 05:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:24:11] Production.ERROR: CronJobId end10 [2025-03-20 05:24:11] Production.INFO: ==15491== Releasing lock... [2025-03-20 05:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:24:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:24:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:24:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:24:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:24:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:24:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:24:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:24:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:24:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:24:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:24:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:24:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:24:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:24:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:24:14] Production.INFO: call_cost start [2025-03-20 05:24:14] Production.INFO: call_cost end [2025-03-20 05:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:24:15] Production.INFO: ==15487== Releasing lock... [2025-03-20 05:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:24:17] Production.INFO: count ==332 [2025-03-20 05:24:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:24:05 - End Time 2025-03-20 05:24:05 [2025-03-20 05:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720678', 'tblTempUsageDetail_20' ) start [2025-03-20 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720678', 'tblTempUsageDetail_20' ) end [2025-03-20 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720678', 'tblTempVendorCDR_20' ) start [2025-03-20 05:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720678', 'tblTempVendorCDR_20' ) end [2025-03-20 05:24:17] Production.INFO: ProcessCDR(1,14720678,1,1,2) [2025-03-20 05:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720678,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720678,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720678', 'tblTempUsageDetail_20' ) start [2025-03-20 05:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720678', 'tblTempUsageDetail_20' ) end [2025-03-20 05:24:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:24:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:24:21] Production.INFO: ==15495== Releasing lock... [2025-03-20 05:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:24:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:25:01] Production.INFO: ==15550== Lock acquired, processing the job... [2025-03-20 09:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:25:01] Production.INFO: neon service started [2025-03-20 09:25:01] Production.INFO: neon service started [2025-03-20 09:25:01] Production.INFO: ==15550== Releasing lock... [2025-03-20 09:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:25:02] Production.INFO: ==15554== Lock acquired, processing the job... [2025-03-20 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:25:02] Production.INFO: ==15554== Releasing lock... [2025-03-20 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:25:02] Production.INFO: ==15552== Lock acquired, processing the job... [2025-03-20 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:25:02] Production.INFO: ==15552== Releasing lock... [2025-03-20 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:25:03] Production.INFO: ==15557== Lock acquired, processing the job... [2025-03-20 05:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:25:03] Production.INFO: ==15559== Lock acquired, processing the job... [2025-03-20 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:25:03] Production.INFO: ==15561== Lock acquired, processing the job... [2025-03-20 05:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:25:03] Production.INFO: ==15565== Lock acquired, processing the job... [2025-03-20 05:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:25:03] Production.INFO: ==15563== Lock acquired, processing the job... [2025-03-20 05:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:25:03] Production.INFO: ==15567== Lock acquired, processing the job... [2025-03-20 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:25:04] Production.INFO: Account Balance Start. [2025-03-20 05:25:04] Production.INFO: CreateAllLog Start [2025-03-20 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-03-20 05:25:04] Production.INFO: 117 [2025-03-20 05:25:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:25:04] Production.INFO: count ==23 [2025-03-20 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720681') start [2025-03-20 05:25:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.INFO: ==15559== Releasing lock... [2025-03-20 05:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:25:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720681') end [2025-03-20 05:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:25:04] Production.INFO: 1 [2025-03-20 05:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.INFO: ==15567== Releasing lock... [2025-03-20 05:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:25:04] Production.ERROR: done [2025-03-20 05:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.ERROR: done [2025-03-20 05:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:25:04] Production.INFO: Total Charge 0 [2025-03-20 05:25:04] Production.INFO: CreateAllLog End [2025-03-20 05:25:04] Production.INFO: Account Balance End. [2025-03-20 05:25:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:25:05] Production.INFO: ==15563== Releasing lock... [2025-03-20 05:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:25:05 [end_date_ymd] => 2025-03-20 05:25:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:25:05' and `end` < '2025-03-20 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-03-20 05:25:13] Production.ERROR: CronJobId end10 [2025-03-20 05:25:13] Production.INFO: ==15561== Releasing lock... [2025-03-20 05:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:25:15] Production.INFO: call_cost start [2025-03-20 05:25:15] Production.INFO: call_cost end [2025-03-20 05:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:25:16] Production.INFO: ==15557== Releasing lock... [2025-03-20 05:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:25:17] Production.INFO: count ==332 [2025-03-20 05:25:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:25:05 - End Time 2025-03-20 05:25:05 [2025-03-20 05:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720683', 'tblTempUsageDetail_20' ) start [2025-03-20 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720683', 'tblTempUsageDetail_20' ) end [2025-03-20 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720683', 'tblTempVendorCDR_20' ) start [2025-03-20 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720683', 'tblTempVendorCDR_20' ) end [2025-03-20 05:25:18] Production.INFO: ProcessCDR(1,14720683,1,1,2) [2025-03-20 05:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720683', 'tblTempUsageDetail_20' ) start [2025-03-20 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720683', 'tblTempUsageDetail_20' ) end [2025-03-20 05:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:25:21] Production.INFO: ==15565== Releasing lock... [2025-03-20 05:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:25:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:26:02] Production.INFO: ==15628== Lock acquired, processing the job... [2025-03-20 09:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:26:02] Production.INFO: neon service started [2025-03-20 09:26:02] Production.INFO: neon service started [2025-03-20 09:26:02] Production.INFO: ==15628== Releasing lock... [2025-03-20 09:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:26:02] Production.INFO: ==15630== Lock acquired, processing the job... [2025-03-20 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:26:03] Production.INFO: ==15630== Releasing lock... [2025-03-20 05:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:26:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:26:03] Production.INFO: ==15632== Lock acquired, processing the job... [2025-03-20 09:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:26:03] Production.INFO: ==15632== Releasing lock... [2025-03-20 09:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:26:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:26:03] Production.INFO: ==15638== Lock acquired, processing the job... [2025-03-20 05:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:26:03] Production.INFO: ==15644== Lock acquired, processing the job... [2025-03-20 05:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:26:03] Production.INFO: ==15634== Lock acquired, processing the job... [2025-03-20 05:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 05:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:26:04] Production.INFO: ==15636== Lock acquired, processing the job... [2025-03-20 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:26:04] Production.INFO: count ==12 [2025-03-20 05:26:04] Production.INFO: ==15640== Lock acquired, processing the job... [2025-03-20 05:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 05:26:04] Production.INFO: count ==23 [2025-03-20 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720684') start [2025-03-20 05:26:04] Production.INFO: ==15642== Lock acquired, processing the job... [2025-03-20 05:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:26:04] Production.INFO: Account Balance Start. [2025-03-20 05:26:04] Production.INFO: CreateAllLog Start [2025-03-20 05:26:04] Production.INFO: 117 [2025-03-20 05:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:26:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720684') end [2025-03-20 05:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:26:04] Production.INFO: 1 [2025-03-20 05:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:26:04] Production.INFO: ==15644== Releasing lock... [2025-03-20 05:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: ==15636== Releasing lock... [2025-03-20 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:26:04] Production.INFO: Total Charge 0 [2025-03-20 05:26:04] Production.INFO: CreateAllLog End [2025-03-20 05:26:04] Production.ERROR: done [2025-03-20 05:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:26:04] Production.ERROR: done [2025-03-20 05:26:04] Production.INFO: Account Balance End. [2025-03-20 05:26:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:26:04] Production.INFO: ==15640== Releasing lock... [2025-03-20 05:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:26:05 [end_date_ymd] => 2025-03-20 05:26:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:26:05' and `end` < '2025-03-20 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-03-20 05:26:12] Production.ERROR: CronJobId end10 [2025-03-20 05:26:12] Production.INFO: ==15638== Releasing lock... [2025-03-20 05:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:26:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:26:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:26:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:26:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:26:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:26:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:26:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:26:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:26:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:26:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:26:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:26:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:26:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:26:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:26:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:26:15] Production.INFO: call_cost start [2025-03-20 05:26:15] Production.INFO: call_cost end [2025-03-20 05:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:26:16] Production.INFO: ==15634== Releasing lock... [2025-03-20 05:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:26:18] Production.INFO: count ==332 [2025-03-20 05:26:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:26:05 - End Time 2025-03-20 05:26:05 [2025-03-20 05:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720688', 'tblTempUsageDetail_20' ) start [2025-03-20 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720688', 'tblTempUsageDetail_20' ) end [2025-03-20 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720688', 'tblTempVendorCDR_20' ) start [2025-03-20 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720688', 'tblTempVendorCDR_20' ) end [2025-03-20 05:26:18] Production.INFO: ProcessCDR(1,14720688,1,1,2) [2025-03-20 05:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720688', 'tblTempUsageDetail_20' ) start [2025-03-20 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720688', 'tblTempUsageDetail_20' ) end [2025-03-20 05:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:26:21] Production.INFO: ==15642== Releasing lock... [2025-03-20 05:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:26:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:27:01] Production.INFO: ==15699== Lock acquired, processing the job... [2025-03-20 09:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:27:01] Production.INFO: neon service started [2025-03-20 09:27:01] Production.INFO: neon service started [2025-03-20 09:27:01] Production.INFO: ==15699== Releasing lock... [2025-03-20 09:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:27:02] Production.INFO: ==15701== Lock acquired, processing the job... [2025-03-20 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:27:02] Production.INFO: ==15701== Releasing lock... [2025-03-20 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:27:02] Production.INFO: ==15703== Lock acquired, processing the job... [2025-03-20 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:27:02] Production.INFO: ==15703== Releasing lock... [2025-03-20 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:27:03] Production.INFO: ==15712== Lock acquired, processing the job... [2025-03-20 05:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:27:03] Production.INFO: Account Balance Start. [2025-03-20 05:27:03] Production.INFO: CreateAllLog Start [2025-03-20 05:27:03] Production.INFO: 117 [2025-03-20 05:27:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:03] Production.INFO: ==15716== Lock acquired, processing the job... [2025-03-20 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:27:03] Production.INFO: ==15706== Lock acquired, processing the job... [2025-03-20 05:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:27:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:03] Production.INFO: ==15708== Lock acquired, processing the job... [2025-03-20 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:27:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:03] Production.INFO: ==15710== Lock acquired, processing the job... [2025-03-20 05:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:27:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:27:03] Production.INFO: Date 2025-03-13 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:03] Production.INFO: count ==12 [2025-03-20 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-03-20 05:27:03] Production.INFO: count ==23 [2025-03-20 05:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720690') start [2025-03-20 05:27:03] Production.INFO: Date 2025-03-14 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:27:03] Production.INFO: ==15714== Lock acquired, processing the job... [2025-03-20 05:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:27:03] Production.INFO: Date 2025-03-15 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:27:03] Production.INFO: Date 2025-03-16 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:03] Production.INFO: Date 2025-03-17 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720690') end [2025-03-20 05:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:27:03] Production.INFO: 1 [2025-03-20 05:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:27:03] Production.INFO: Date 2025-03-18 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:03] Production.INFO: ==15716== Releasing lock... [2025-03-20 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:27:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:27:03] Production.INFO: Date 2025-03-19 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:03] Production.INFO: Date 2025-03-20 [2025-03-20 05:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:27:04] Production.INFO: ==15708== Releasing lock... [2025-03-20 05:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:27:04] Production.INFO: Total Charge 0 [2025-03-20 05:27:04] Production.INFO: CreateAllLog End [2025-03-20 05:27:04] Production.ERROR: done [2025-03-20 05:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:27:04] Production.ERROR: done [2025-03-20 05:27:04] Production.INFO: Account Balance End. [2025-03-20 05:27:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:27:04] Production.INFO: ==15712== Releasing lock... [2025-03-20 05:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:27:05 [end_date_ymd] => 2025-03-20 05:27:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:27:05' and `end` < '2025-03-20 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-03-20 05:27:12] Production.ERROR: CronJobId end10 [2025-03-20 05:27:12] Production.INFO: ==15710== Releasing lock... [2025-03-20 05:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:27:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:27:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:27:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:27:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:27:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:27:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:27:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:27:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:27:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:27:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:27:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:27:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:27:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:27:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:27:14] Production.INFO: call_cost start [2025-03-20 05:27:14] Production.INFO: call_cost end [2025-03-20 05:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:27:15] Production.INFO: ==15706== Releasing lock... [2025-03-20 05:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:27:17] Production.INFO: count ==332 [2025-03-20 05:27:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:27:05 - End Time 2025-03-20 05:27:05 [2025-03-20 05:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720693', 'tblTempUsageDetail_20' ) start [2025-03-20 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720693', 'tblTempUsageDetail_20' ) end [2025-03-20 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720693', 'tblTempVendorCDR_20' ) start [2025-03-20 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720693', 'tblTempVendorCDR_20' ) end [2025-03-20 05:27:17] Production.INFO: ProcessCDR(1,14720693,1,1,2) [2025-03-20 05:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720693', 'tblTempUsageDetail_20' ) start [2025-03-20 05:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720693', 'tblTempUsageDetail_20' ) end [2025-03-20 05:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:27:21] Production.INFO: ==15714== Releasing lock... [2025-03-20 05:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:27:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:28:02] Production.INFO: ==15769== Lock acquired, processing the job... [2025-03-20 09:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:28:02] Production.INFO: neon service started [2025-03-20 09:28:02] Production.INFO: neon service started [2025-03-20 09:28:02] Production.INFO: ==15769== Releasing lock... [2025-03-20 09:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:28:02] Production.INFO: ==15771== Lock acquired, processing the job... [2025-03-20 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:28:02] Production.INFO: ==15771== Releasing lock... [2025-03-20 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:28:03] Production.INFO: ==15773== Lock acquired, processing the job... [2025-03-20 09:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:28:03] Production.INFO: ==15773== Releasing lock... [2025-03-20 09:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:28:03] Production.INFO: ==15776== Lock acquired, processing the job... [2025-03-20 05:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:28:03] Production.INFO: ==15780== Lock acquired, processing the job... [2025-03-20 05:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:28:03] Production.INFO: ==15778== Lock acquired, processing the job... [2025-03-20 05:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:28:04] Production.INFO: ==15786== Lock acquired, processing the job... [2025-03-20 05:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:28:04] Production.INFO: ==15782== Lock acquired, processing the job... [2025-03-20 05:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:28:04] Production.INFO: ==15778== Releasing lock... [2025-03-20 05:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:28:04] Production.INFO: ==15784== Lock acquired, processing the job... [2025-03-20 05:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:28:04] Production.INFO: Account Balance Start. [2025-03-20 05:28:04] Production.INFO: CreateAllLog Start [2025-03-20 05:28:04] Production.INFO: 117 [2025-03-20 05:28:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:28:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:04] Production.INFO: count ==23 [2025-03-20 05:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720696') start [2025-03-20 05:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720696') end [2025-03-20 05:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:28:04] Production.INFO: 1 [2025-03-20 05:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:04] Production.INFO: ==15786== Releasing lock... [2025-03-20 05:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:04] Production.ERROR: done [2025-03-20 05:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:05] Production.INFO: Date 2025-03-19 [2025-03-20 05:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:05] Production.ERROR: done [2025-03-20 05:28:05] Production.INFO: Date 2025-03-20 [2025-03-20 05:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:28:05] Production.INFO: Total Charge 0 [2025-03-20 05:28:05] Production.INFO: CreateAllLog End [2025-03-20 05:28:05] Production.INFO: Account Balance End. [2025-03-20 05:28:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:28:05] Production.INFO: ==15782== Releasing lock... [2025-03-20 05:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:28:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:28:06 [end_date_ymd] => 2025-03-20 05:28:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:28:06' and `end` < '2025-03-20 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-03-20 05:28:12] Production.ERROR: CronJobId end10 [2025-03-20 05:28:12] Production.INFO: ==15780== Releasing lock... [2025-03-20 05:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:28:14] Production.INFO: call_cost start [2025-03-20 05:28:14] Production.INFO: call_cost end [2025-03-20 05:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:28:15] Production.INFO: ==15776== Releasing lock... [2025-03-20 05:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:28:18] Production.INFO: count ==332 [2025-03-20 05:28:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:28:06 - End Time 2025-03-20 05:28:06 [2025-03-20 05:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720698', 'tblTempUsageDetail_20' ) start [2025-03-20 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720698', 'tblTempUsageDetail_20' ) end [2025-03-20 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720698', 'tblTempVendorCDR_20' ) start [2025-03-20 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720698', 'tblTempVendorCDR_20' ) end [2025-03-20 05:28:18] Production.INFO: ProcessCDR(1,14720698,1,1,2) [2025-03-20 05:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720698', 'tblTempUsageDetail_20' ) start [2025-03-20 05:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720698', 'tblTempUsageDetail_20' ) end [2025-03-20 05:28:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:28:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:28:22] Production.INFO: ==15784== Releasing lock... [2025-03-20 05:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:28:22] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:29:01] Production.INFO: ==15844== Lock acquired, processing the job... [2025-03-20 09:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:29:01] Production.INFO: neon service started [2025-03-20 09:29:01] Production.INFO: neon service started [2025-03-20 09:29:01] Production.INFO: ==15844== Releasing lock... [2025-03-20 09:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:29:02] Production.INFO: ==15846== Lock acquired, processing the job... [2025-03-20 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:29:02] Production.INFO: ==15848== Lock acquired, processing the job... [2025-03-20 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:29:02] Production.INFO: ==15848== Releasing lock... [2025-03-20 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:29:02] Production.INFO: ==15846== Releasing lock... [2025-03-20 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:29:03] Production.INFO: ==15853== Lock acquired, processing the job... [2025-03-20 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:29:03] Production.INFO: ==15857== Lock acquired, processing the job... [2025-03-20 05:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:29:03] Production.INFO: Account Balance Start. [2025-03-20 05:29:03] Production.INFO: CreateAllLog Start [2025-03-20 05:29:03] Production.INFO: 117 [2025-03-20 05:29:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:29:03] Production.INFO: ==15861== Lock acquired, processing the job... [2025-03-20 05:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.INFO: ==15853== Releasing lock... [2025-03-20 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:29:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:29:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:29:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.INFO: count ==12 [2025-03-20 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-03-20 05:29:03] Production.INFO: count ==23 [2025-03-20 05:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720701') start [2025-03-20 05:29:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.INFO: ==15851== Lock acquired, processing the job... [2025-03-20 05:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:29:03] Production.INFO: Date 2025-03-13 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.INFO: ==15855== Lock acquired, processing the job... [2025-03-20 05:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:29:03] Production.INFO: Date 2025-03-14 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720701') end [2025-03-20 05:29:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:29:03] Production.INFO: 1 [2025-03-20 05:29:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:29:03] Production.INFO: Date 2025-03-15 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:29:03] Production.INFO: ==15861== Releasing lock... [2025-03-20 05:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:29:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:29:03] Production.INFO: Date 2025-03-16 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.INFO: ==15859== Lock acquired, processing the job... [2025-03-20 05:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:29:03] Production.INFO: Date 2025-03-17 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.INFO: Date 2025-03-18 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:29:03] Production.INFO: Date 2025-03-19 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.INFO: Date 2025-03-20 [2025-03-20 05:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:29:03] Production.INFO: Total Charge 0 [2025-03-20 05:29:04] Production.INFO: CreateAllLog End [2025-03-20 05:29:04] Production.INFO: Account Balance End. [2025-03-20 05:29:04] Production.ERROR: done [2025-03-20 05:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:29:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:29:04] Production.INFO: ==15857== Releasing lock... [2025-03-20 05:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:29:04] Production.ERROR: done [2025-03-20 05:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:29:05 [end_date_ymd] => 2025-03-20 05:29:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:29:05' and `end` < '2025-03-20 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-03-20 05:29:12] Production.ERROR: CronJobId end10 [2025-03-20 05:29:12] Production.INFO: ==15855== Releasing lock... [2025-03-20 05:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:29:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:29:15] Production.INFO: call_cost start [2025-03-20 05:29:15] Production.INFO: call_cost end [2025-03-20 05:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:29:16] Production.INFO: ==15851== Releasing lock... [2025-03-20 05:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:29:17] Production.INFO: count ==332 [2025-03-20 05:29:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:29:05 - End Time 2025-03-20 05:29:05 [2025-03-20 05:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720703', 'tblTempUsageDetail_20' ) start [2025-03-20 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720703', 'tblTempUsageDetail_20' ) end [2025-03-20 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720703', 'tblTempVendorCDR_20' ) start [2025-03-20 05:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720703', 'tblTempVendorCDR_20' ) end [2025-03-20 05:29:17] Production.INFO: ProcessCDR(1,14720703,1,1,2) [2025-03-20 05:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720703', 'tblTempUsageDetail_20' ) start [2025-03-20 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720703', 'tblTempUsageDetail_20' ) end [2025-03-20 05:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:29:21] Production.INFO: ==15859== Releasing lock... [2025-03-20 05:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:29:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:30:02] Production.INFO: ==15918== Lock acquired, processing the job... [2025-03-20 09:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:30:02] Production.INFO: neon service started [2025-03-20 09:30:02] Production.INFO: neon service started [2025-03-20 09:30:02] Production.INFO: ==15918== Releasing lock... [2025-03-20 09:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:30:02] Production.INFO: ==15922== Lock acquired, processing the job... [2025-03-20 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:30:02] Production.INFO: ==15922== Releasing lock... [2025-03-20 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:30:02] Production.INFO: ==15920== Lock acquired, processing the job... [2025-03-20 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:30:03] Production.INFO: ==15920== Releasing lock... [2025-03-20 05:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:30:04] Production.INFO: ==15926== Lock acquired, processing the job... [2025-03-20 05:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:30:04] Production.INFO: ==15924== Lock acquired, processing the job... [2025-03-20 05:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 05:30:04] Production.INFO: ==15928== Lock acquired, processing the job... [2025-03-20 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:30:04] Production.INFO: ==15930== Lock acquired, processing the job... [2025-03-20 05:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 05:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 05:30:04] Production.ERROR: CronJob PID - 15926 [2025-03-20 05:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 05:30:04] Production.ERROR: CronJob ID - 5 [2025-03-20 05:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 05:30:00 [2025-03-20 05:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 05:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 05:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 05:30:04] Production.ERROR: CronJob PID - 15928 [2025-03-20 05:30:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 05:30:04] Production.ERROR: CronJob ID - 7 [2025-03-20 05:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 05:30:00 [2025-03-20 05:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 05:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 05:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:30:04] Production.INFO: ==15932== Lock acquired, processing the job... [2025-03-20 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 05:30:04] Production.INFO: ==15924== Releasing lock... [2025-03-20 05:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 05:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 05:30:04] Production.INFO: ==15934== Lock acquired, processing the job... [2025-03-20 05:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:30:04] Production.INFO: ==15939== Lock acquired, processing the job... [2025-03-20 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:30:04] Production.INFO: ==15937== Lock acquired, processing the job... [2025-03-20 05:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 05:30:04] Production.INFO: Account Balance Start. [2025-03-20 05:30:04] Production.INFO: CreateAllLog Start [2025-03-20 05:30:04] Production.INFO: 117 [2025-03-20 05:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:30:04] Production.INFO: ==15928== Releasing lock... [2025-03-20 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:30:04] Production.INFO: count ==23 [2025-03-20 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720707') start [2025-03-20 05:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:05] Production.INFO: Date 2025-03-13 [2025-03-20 05:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:05] Production.INFO: Date 2025-03-14 [2025-03-20 05:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:05] Production.INFO: Date 2025-03-15 [2025-03-20 05:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:05] Production.INFO: Date 2025-03-16 [2025-03-20 05:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 05:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:05] Production.ERROR: done [2025-03-20 05:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 05:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720707') end [2025-03-20 05:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:30:05] Production.INFO: 1 [2025-03-20 05:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:30:05] Production.ERROR: done [2025-03-20 05:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 05:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720708', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 05:30:05] Production.INFO: ==15939== Releasing lock... [2025-03-20 05:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 05:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 05:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:30:05] Production.INFO: Total Charge 0 [2025-03-20 05:30:05] Production.INFO: CreateAllLog End [2025-03-20 05:30:05] Production.ERROR: done [2025-03-20 05:30:05] Production.INFO: Account Balance End. [2025-03-20 05:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:30:05] Production.INFO: ==15932== Releasing lock... [2025-03-20 05:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:30:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:30:07 [end_date_ymd] => 2025-03-20 05:30:07 [RateCDR] => 1 ) [2025-03-20 05:30:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:30:07' and `end` < '2025-03-20 05:30:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720708', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 05:30:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 05:30:10] Production.INFO: ProcessCDR(1,14720708,1,1,2) [2025-03-20 05:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720708,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720708,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:30:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:30:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:30:10] Production.INFO: ==15937== Releasing lock... [2025-03-20 05:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 05:30:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 05:30:15] Production.ERROR: CronJobId end10 [2025-03-20 05:30:15] Production.INFO: ==15930== Releasing lock... [2025-03-20 05:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:30:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:30:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:30:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:30:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:30:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:30:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:30:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:30:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:30:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:30:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:30:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:30:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:30:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:30:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:30:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:30:18] Production.INFO: call_cost start [2025-03-20 05:30:18] Production.INFO: call_cost end [2025-03-20 05:30:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:30:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:30:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:30:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:30:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:30:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:30:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:30:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:30:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:30:19] Production.INFO: ==15926== Releasing lock... [2025-03-20 05:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:30:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:30:19] Production.INFO: count ==330 [2025-03-20 05:30:19] Production.ERROR: pbx CDR StartTime 2025-03-20 02:30:07 - End Time 2025-03-20 05:30:07 [2025-03-20 05:30:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720709', 'tblTempUsageDetail_20' ) start [2025-03-20 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720709', 'tblTempUsageDetail_20' ) end [2025-03-20 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720709', 'tblTempVendorCDR_20' ) start [2025-03-20 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720709', 'tblTempVendorCDR_20' ) end [2025-03-20 05:30:19] Production.INFO: ProcessCDR(1,14720709,1,1,2) [2025-03-20 05:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720709', 'tblTempUsageDetail_20' ) start [2025-03-20 05:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720709', 'tblTempUsageDetail_20' ) end [2025-03-20 05:30:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:30:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:30:23] Production.INFO: ==15934== Releasing lock... [2025-03-20 05:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:30:23] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:31:01] Production.INFO: ==15994== Lock acquired, processing the job... [2025-03-20 09:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:31:01] Production.INFO: neon service started [2025-03-20 09:31:01] Production.INFO: neon service started [2025-03-20 09:31:01] Production.INFO: ==15994== Releasing lock... [2025-03-20 09:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:31:02] Production.INFO: ==15996== Lock acquired, processing the job... [2025-03-20 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:31:02] Production.INFO: ==15996== Releasing lock... [2025-03-20 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:31:02] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:31:02] Production.INFO: ==15998== Lock acquired, processing the job... [2025-03-20 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:31:02] Production.INFO: ==15998== Releasing lock... [2025-03-20 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:31:03] Production.INFO: ==16000== Lock acquired, processing the job... [2025-03-20 05:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:31:03] Production.INFO: ==16002== Lock acquired, processing the job... [2025-03-20 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:31:03] Production.INFO: ==16004== Lock acquired, processing the job... [2025-03-20 05:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:31:03] Production.INFO: ==16002== Releasing lock... [2025-03-20 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:31:03] Production.INFO: ==16011== Lock acquired, processing the job... [2025-03-20 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:31:03] Production.INFO: ==16006== Lock acquired, processing the job... [2025-03-20 05:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:31:03] Production.INFO: ==16009== Lock acquired, processing the job... [2025-03-20 05:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:31:03] Production.INFO: Account Balance Start. [2025-03-20 05:31:03] Production.INFO: CreateAllLog Start [2025-03-20 05:31:03] Production.INFO: 117 [2025-03-20 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-03-20 05:31:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:03] Production.INFO: count ==12 [2025-03-20 05:31:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:31:03] Production.INFO: count ==23 [2025-03-20 05:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720713') start [2025-03-20 05:31:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:03] Production.INFO: Date 2025-03-13 [2025-03-20 05:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720713') end [2025-03-20 05:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:31:04] Production.INFO: 1 [2025-03-20 05:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:31:04] Production.ERROR: done [2025-03-20 05:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:04] Production.INFO: ==16011== Releasing lock... [2025-03-20 05:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:04] Production.ERROR: done [2025-03-20 05:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:31:04] Production.INFO: Total Charge 0 [2025-03-20 05:31:04] Production.INFO: CreateAllLog End [2025-03-20 05:31:04] Production.INFO: Account Balance End. [2025-03-20 05:31:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:31:04] Production.INFO: ==16006== Releasing lock... [2025-03-20 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:31:05 [end_date_ymd] => 2025-03-20 05:31:05 [RateCDR] => 1 ) [2025-03-20 05:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:31:05' and `end` < '2025-03-20 05:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:31:12] Production.ERROR: CronJobId end10 [2025-03-20 05:31:12] Production.INFO: ==16004== Releasing lock... [2025-03-20 05:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:31:15] Production.INFO: call_cost start [2025-03-20 05:31:15] Production.INFO: call_cost end [2025-03-20 05:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:31:16] Production.INFO: ==16000== Releasing lock... [2025-03-20 05:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:31:17] Production.INFO: count ==330 [2025-03-20 05:31:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:31:05 - End Time 2025-03-20 05:31:05 [2025-03-20 05:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720714', 'tblTempUsageDetail_20' ) start [2025-03-20 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720714', 'tblTempUsageDetail_20' ) end [2025-03-20 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720714', 'tblTempVendorCDR_20' ) start [2025-03-20 05:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720714', 'tblTempVendorCDR_20' ) end [2025-03-20 05:31:17] Production.INFO: ProcessCDR(1,14720714,1,1,2) [2025-03-20 05:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720714', 'tblTempUsageDetail_20' ) start [2025-03-20 05:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720714', 'tblTempUsageDetail_20' ) end [2025-03-20 05:31:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:31:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:31:20] Production.INFO: ==16009== Releasing lock... [2025-03-20 05:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:31:20] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:32:02] Production.INFO: ==16065== Lock acquired, processing the job... [2025-03-20 09:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:32:02] Production.INFO: neon service started [2025-03-20 09:32:02] Production.INFO: neon service started [2025-03-20 09:32:02] Production.INFO: ==16065== Releasing lock... [2025-03-20 09:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:32:02] Production.INFO: ==16069== Lock acquired, processing the job... [2025-03-20 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:32:02] Production.INFO: ==16069== Releasing lock... [2025-03-20 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:32:02] Production.INFO: ==16067== Lock acquired, processing the job... [2025-03-20 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:32:03] Production.INFO: ==16067== Releasing lock... [2025-03-20 05:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:32:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:32:04] Production.INFO: ==16082== Lock acquired, processing the job... [2025-03-20 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:32:04] Production.INFO: ==16078== Lock acquired, processing the job... [2025-03-20 05:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 05:32:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:32:04] Production.INFO: count ==23 [2025-03-20 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720715') start [2025-03-20 05:32:04] Production.INFO: Account Balance Start. [2025-03-20 05:32:04] Production.INFO: CreateAllLog Start [2025-03-20 05:32:04] Production.INFO: 117 [2025-03-20 05:32:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.INFO: ==16072== Lock acquired, processing the job... [2025-03-20 05:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.INFO: ==16074== Lock acquired, processing the job... [2025-03-20 05:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720715') end [2025-03-20 05:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:32:04] Production.INFO: 1 [2025-03-20 05:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:32:04] Production.INFO: ==16076== Lock acquired, processing the job... [2025-03-20 05:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:32:04] Production.INFO: ==16082== Releasing lock... [2025-03-20 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.INFO: ==16080== Lock acquired, processing the job... [2025-03-20 05:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.INFO: ==16074== Releasing lock... [2025-03-20 05:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:32:04] Production.ERROR: done [2025-03-20 05:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:32:04] Production.INFO: Total Charge 0 [2025-03-20 05:32:05] Production.INFO: CreateAllLog End [2025-03-20 05:32:05] Production.ERROR: done [2025-03-20 05:32:05] Production.INFO: Account Balance End. [2025-03-20 05:32:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:32:05] Production.INFO: ==16078== Releasing lock... [2025-03-20 05:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:32:06 [end_date_ymd] => 2025-03-20 05:32:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:32:06' and `end` < '2025-03-20 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-03-20 05:32:14] Production.ERROR: CronJobId end10 [2025-03-20 05:32:14] Production.INFO: ==16076== Releasing lock... [2025-03-20 05:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:32:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:32:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:32:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:32:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:32:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:32:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:32:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:32:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:32:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:32:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:32:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:32:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:32:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:32:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:32:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:32:15] Production.INFO: call_cost start [2025-03-20 05:32:15] Production.INFO: call_cost end [2025-03-20 05:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:32:16] Production.INFO: ==16072== Releasing lock... [2025-03-20 05:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:32:18] Production.INFO: count ==332 [2025-03-20 05:32:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:32:06 - End Time 2025-03-20 05:32:06 [2025-03-20 05:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720719', 'tblTempUsageDetail_20' ) start [2025-03-20 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720719', 'tblTempUsageDetail_20' ) end [2025-03-20 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720719', 'tblTempVendorCDR_20' ) start [2025-03-20 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720719', 'tblTempVendorCDR_20' ) end [2025-03-20 05:32:18] Production.INFO: ProcessCDR(1,14720719,1,1,2) [2025-03-20 05:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720719', 'tblTempUsageDetail_20' ) start [2025-03-20 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720719', 'tblTempUsageDetail_20' ) end [2025-03-20 05:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:32:21] Production.INFO: ==16080== Releasing lock... [2025-03-20 05:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:32:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:33:01] Production.INFO: ==16141== Lock acquired, processing the job... [2025-03-20 09:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:33:01] Production.INFO: neon service started [2025-03-20 09:33:01] Production.INFO: neon service started [2025-03-20 09:33:01] Production.INFO: ==16141== Releasing lock... [2025-03-20 09:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:33:01] Production.INFO: ==16143== Lock acquired, processing the job... [2025-03-20 05:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:33:02] Production.INFO: ==16143== Releasing lock... [2025-03-20 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:33:02] Production.INFO: ==16145== Lock acquired, processing the job... [2025-03-20 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:33:02] Production.INFO: ==16145== Releasing lock... [2025-03-20 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:33:03] Production.INFO: ==16152== Lock acquired, processing the job... [2025-03-20 05:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:33:03] Production.INFO: ==16158== Lock acquired, processing the job... [2025-03-20 05:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:33:03] Production.INFO: count ==12 [2025-03-20 05:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:33:03] Production.INFO: count ==23 [2025-03-20 05:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720720') start [2025-03-20 05:33:03] Production.INFO: ==16148== Lock acquired, processing the job... [2025-03-20 05:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:33:03] Production.INFO: ==16150== Lock acquired, processing the job... [2025-03-20 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:33:03] Production.INFO: ==16154== Lock acquired, processing the job... [2025-03-20 05:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720720') end [2025-03-20 05:33:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:33:03] Production.INFO: 1 [2025-03-20 05:33:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:33:03] Production.INFO: ==16156== Lock acquired, processing the job... [2025-03-20 05:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:33:03] Production.INFO: ==16158== Releasing lock... [2025-03-20 05:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:33:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:33:03] Production.INFO: Account Balance Start. [2025-03-20 05:33:03] Production.INFO: CreateAllLog Start [2025-03-20 05:33:03] Production.INFO: 117 [2025-03-20 05:33:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.INFO: ==16150== Releasing lock... [2025-03-20 05:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.ERROR: done [2025-03-20 05:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:33:04] Production.INFO: Total Charge 0 [2025-03-20 05:33:04] Production.INFO: CreateAllLog End [2025-03-20 05:33:04] Production.ERROR: done [2025-03-20 05:33:04] Production.INFO: Account Balance End. [2025-03-20 05:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:33:04] Production.INFO: ==16154== Releasing lock... [2025-03-20 05:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:33:05 [end_date_ymd] => 2025-03-20 05:33:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:33:05' and `end` < '2025-03-20 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-03-20 05:33:12] Production.ERROR: CronJobId end10 [2025-03-20 05:33:12] Production.INFO: ==16152== Releasing lock... [2025-03-20 05:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:33:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:33:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:33:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:33:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:33:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:33:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:33:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:33:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:33:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:33:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:33:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:33:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:33:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:33:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:33:14] Production.INFO: call_cost start [2025-03-20 05:33:14] Production.INFO: call_cost end [2025-03-20 05:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:33:15] Production.INFO: ==16148== Releasing lock... [2025-03-20 05:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:33:17] Production.INFO: count ==335 [2025-03-20 05:33:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:33:05 - End Time 2025-03-20 05:33:05 [2025-03-20 05:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720724', 'tblTempUsageDetail_20' ) start [2025-03-20 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720724', 'tblTempUsageDetail_20' ) end [2025-03-20 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720724', 'tblTempVendorCDR_20' ) start [2025-03-20 05:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720724', 'tblTempVendorCDR_20' ) end [2025-03-20 05:33:17] Production.INFO: ProcessCDR(1,14720724,1,1,2) [2025-03-20 05:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720724,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720724,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720724', 'tblTempUsageDetail_20' ) start [2025-03-20 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720724', 'tblTempUsageDetail_20' ) end [2025-03-20 05:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:33:21] Production.INFO: ==16156== Releasing lock... [2025-03-20 05:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:33:21] Production.INFO: 31 MB #Memory Used# [2025-03-20 09:34:02] Production.INFO: ==16213== Lock acquired, processing the job... [2025-03-20 09:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:34:02] Production.INFO: neon service started [2025-03-20 09:34:02] Production.INFO: neon service started [2025-03-20 09:34:02] Production.INFO: ==16213== Releasing lock... [2025-03-20 09:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:34:02] Production.INFO: ==16216== Lock acquired, processing the job... [2025-03-20 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:34:02] Production.INFO: ==16216== Releasing lock... [2025-03-20 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:34:02] Production.INFO: ==16218== Lock acquired, processing the job... [2025-03-20 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:34:02] Production.INFO: ==16218== Releasing lock... [2025-03-20 09:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:34:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:34:03] Production.INFO: ==16224== Lock acquired, processing the job... [2025-03-20 05:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:34:03] Production.INFO: ==16226== Lock acquired, processing the job... [2025-03-20 05:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:34:03] Production.INFO: Account Balance Start. [2025-03-20 05:34:03] Production.INFO: CreateAllLog Start [2025-03-20 05:34:03] Production.INFO: 117 [2025-03-20 05:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:34:03] Production.INFO: ==16220== Lock acquired, processing the job... [2025-03-20 05:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:34:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:34:04] Production.INFO: ==16222== Lock acquired, processing the job... [2025-03-20 05:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:34:04] Production.INFO: ==16228== Lock acquired, processing the job... [2025-03-20 05:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:34:04] Production.INFO: ==16230== Lock acquired, processing the job... [2025-03-20 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:34:04] Production.INFO: count ==12 [2025-03-20 05:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:34:04] Production.INFO: count ==23 [2025-03-20 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720728') start [2025-03-20 05:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:34:04] Production.INFO: Total Charge 0 [2025-03-20 05:34:04] Production.INFO: ==16222== Releasing lock... [2025-03-20 05:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:34:04] Production.INFO: CreateAllLog End [2025-03-20 05:34:04] Production.ERROR: done [2025-03-20 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720728') end [2025-03-20 05:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:34:04] Production.INFO: 1 [2025-03-20 05:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:34:04] Production.INFO: ==16230== Releasing lock... [2025-03-20 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:34:04] Production.ERROR: done [2025-03-20 05:34:05] Production.INFO: Account Balance End. [2025-03-20 05:34:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:34:05] Production.INFO: ==16226== Releasing lock... [2025-03-20 05:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:34:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:34:06 [end_date_ymd] => 2025-03-20 05:34:06 [RateCDR] => 1 ) [2025-03-20 05: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-03-20 02:34:06' and `end` < '2025-03-20 05: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-03-20 05:34:12] Production.ERROR: CronJobId end10 [2025-03-20 05:34:12] Production.INFO: ==16224== Releasing lock... [2025-03-20 05:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:34:15] Production.INFO: call_cost start [2025-03-20 05:34:15] Production.INFO: call_cost end [2025-03-20 05:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:34:16] Production.INFO: ==16220== Releasing lock... [2025-03-20 05:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:34:18] Production.INFO: count ==335 [2025-03-20 05:34:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:34:06 - End Time 2025-03-20 05:34:06 [2025-03-20 05:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720729', 'tblTempUsageDetail_20' ) start [2025-03-20 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720729', 'tblTempUsageDetail_20' ) end [2025-03-20 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720729', 'tblTempVendorCDR_20' ) start [2025-03-20 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720729', 'tblTempVendorCDR_20' ) end [2025-03-20 05:34:18] Production.INFO: ProcessCDR(1,14720729,1,1,2) [2025-03-20 05:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720729', 'tblTempUsageDetail_20' ) start [2025-03-20 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720729', 'tblTempUsageDetail_20' ) end [2025-03-20 05:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:34:21] Production.INFO: ==16228== Releasing lock... [2025-03-20 05:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:34:21] Production.INFO: 31 MB #Memory Used# [2025-03-20 09:35:01] Production.INFO: ==16293== Lock acquired, processing the job... [2025-03-20 09:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:35:01] Production.INFO: neon service started [2025-03-20 09:35:01] Production.INFO: neon service started [2025-03-20 09:35:01] Production.INFO: ==16293== Releasing lock... [2025-03-20 09:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:35:01] Production.INFO: ==16295== Lock acquired, processing the job... [2025-03-20 05:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:35:02] Production.INFO: ==16295== Releasing lock... [2025-03-20 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:35:02] Production.INFO: ==16297== Lock acquired, processing the job... [2025-03-20 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:35:02] Production.INFO: ==16297== Releasing lock... [2025-03-20 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:35:03] Production.INFO: ==16304== Lock acquired, processing the job... [2025-03-20 05:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:35:03] Production.INFO: ==16300== Lock acquired, processing the job... [2025-03-20 05:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:35:03] Production.INFO: ==16310== Lock acquired, processing the job... [2025-03-20 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:35:03] Production.INFO: ==16302== Lock acquired, processing the job... [2025-03-20 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 05:35:03] Production.INFO: ==16308== Lock acquired, processing the job... [2025-03-20 05:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:35:03] Production.INFO: ==16306== Lock acquired, processing the job... [2025-03-20 05:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:35:03] Production.INFO: count ==12 [2025-03-20 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-03-20 05:35:03] Production.INFO: count ==23 [2025-03-20 05:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720731') start [2025-03-20 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720731') end [2025-03-20 05:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:35:03] Production.INFO: 1 [2025-03-20 05:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:35:03] Production.INFO: Account Balance Start. [2025-03-20 05:35:03] Production.INFO: CreateAllLog Start [2025-03-20 05:35:03] Production.INFO: 117 [2025-03-20 05:35:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:03] Production.INFO: ==16310== Releasing lock... [2025-03-20 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:35:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:35:03] Production.INFO: ==16302== Releasing lock... [2025-03-20 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:35:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:04] Production.ERROR: done [2025-03-20 05:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:04] Production.ERROR: done [2025-03-20 05:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:35:04] Production.INFO: Total Charge 0 [2025-03-20 05:35:04] Production.INFO: CreateAllLog End [2025-03-20 05:35:04] Production.INFO: Account Balance End. [2025-03-20 05:35:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:35:04] Production.INFO: ==16306== Releasing lock... [2025-03-20 05:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:35:05 [end_date_ymd] => 2025-03-20 05:35:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:35:05' and `end` < '2025-03-20 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-03-20 05:35:12] Production.ERROR: CronJobId end10 [2025-03-20 05:35:12] Production.INFO: ==16304== Releasing lock... [2025-03-20 05:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:35:15] Production.INFO: call_cost start [2025-03-20 05:35:15] Production.INFO: call_cost end [2025-03-20 05:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:35:16] Production.INFO: ==16300== Releasing lock... [2025-03-20 05:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:35:17] Production.INFO: count ==332 [2025-03-20 05:35:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:35:05 - End Time 2025-03-20 05:35:05 [2025-03-20 05:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720734', 'tblTempUsageDetail_20' ) start [2025-03-20 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720734', 'tblTempUsageDetail_20' ) end [2025-03-20 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720734', 'tblTempVendorCDR_20' ) start [2025-03-20 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720734', 'tblTempVendorCDR_20' ) end [2025-03-20 05:35:17] Production.INFO: ProcessCDR(1,14720734,1,1,2) [2025-03-20 05:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720734', 'tblTempUsageDetail_20' ) start [2025-03-20 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720734', 'tblTempUsageDetail_20' ) end [2025-03-20 05:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:35:21] Production.INFO: ==16308== Releasing lock... [2025-03-20 05:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:35:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:36:01] Production.INFO: ==16370== Lock acquired, processing the job... [2025-03-20 09:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:36:01] Production.INFO: neon service started [2025-03-20 09:36:01] Production.INFO: neon service started [2025-03-20 09:36:01] Production.INFO: ==16370== Releasing lock... [2025-03-20 09:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:36:02] Production.INFO: ==16374== Lock acquired, processing the job... [2025-03-20 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:36:02] Production.INFO: ==16374== Releasing lock... [2025-03-20 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:36:02] Production.INFO: ==16372== Lock acquired, processing the job... [2025-03-20 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:36:02] Production.INFO: ==16372== Releasing lock... [2025-03-20 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:36:03] Production.INFO: ==16385== Lock acquired, processing the job... [2025-03-20 05:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:36:03] Production.INFO: ==16387== Lock acquired, processing the job... [2025-03-20 05:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:36:03] Production.INFO: ==16377== Lock acquired, processing the job... [2025-03-20 05:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:36:04] Production.INFO: ==16379== Lock acquired, processing the job... [2025-03-20 05:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:36:04] Production.INFO: ==16381== Lock acquired, processing the job... [2025-03-20 05:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:36:04] Production.INFO: ==16383== Lock acquired, processing the job... [2025-03-20 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:36:04] Production.INFO: count ==12 [2025-03-20 05:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:36:04] Production.INFO: count ==23 [2025-03-20 05:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:36:04] Production.ERROR: done [2025-03-20 05:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720735') start [2025-03-20 05:36:04] Production.INFO: Account Balance Start. [2025-03-20 05:36:04] Production.INFO: CreateAllLog Start [2025-03-20 05:36:04] Production.INFO: 117 [2025-03-20 05:36:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720735') end [2025-03-20 05:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:36:04] Production.INFO: 1 [2025-03-20 05:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.ERROR: done [2025-03-20 05:36:04] Production.INFO: ==16387== Releasing lock... [2025-03-20 05:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.INFO: ==16379== Releasing lock... [2025-03-20 05:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:36:04] Production.INFO: Total Charge 0 [2025-03-20 05:36:04] Production.INFO: CreateAllLog End [2025-03-20 05:36:05] Production.INFO: Account Balance End. [2025-03-20 05:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:36:05] Production.INFO: ==16383== Releasing lock... [2025-03-20 05:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:36:05 [end_date_ymd] => 2025-03-20 05:36:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:36:05' and `end` < '2025-03-20 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-03-20 05:36:12] Production.ERROR: CronJobId end10 [2025-03-20 05:36:12] Production.INFO: ==16381== Releasing lock... [2025-03-20 05:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:36:15] Production.INFO: call_cost start [2025-03-20 05:36:15] Production.INFO: call_cost end [2025-03-20 05:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:36:16] Production.INFO: ==16377== Releasing lock... [2025-03-20 05:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:36:17] Production.INFO: count ==330 [2025-03-20 05:36:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:36:05 - End Time 2025-03-20 05:36:05 [2025-03-20 05:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720739', 'tblTempUsageDetail_20' ) start [2025-03-20 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720739', 'tblTempUsageDetail_20' ) end [2025-03-20 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720739', 'tblTempVendorCDR_20' ) start [2025-03-20 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720739', 'tblTempVendorCDR_20' ) end [2025-03-20 05:36:17] Production.INFO: ProcessCDR(1,14720739,1,1,2) [2025-03-20 05:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720739', 'tblTempUsageDetail_20' ) start [2025-03-20 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720739', 'tblTempUsageDetail_20' ) end [2025-03-20 05:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:36:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:36:21] Production.INFO: ==16385== Releasing lock... [2025-03-20 05:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:36:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:37:01] Production.INFO: ==16483== Lock acquired, processing the job... [2025-03-20 09:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:37:01] Production.INFO: neon service started [2025-03-20 09:37:01] Production.INFO: neon service started [2025-03-20 09:37:01] Production.INFO: ==16483== Releasing lock... [2025-03-20 09:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:37:01] Production.INFO: ==16485== Lock acquired, processing the job... [2025-03-20 05:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:37:02] Production.INFO: ==16485== Releasing lock... [2025-03-20 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:37:02] Production.INFO: ==16487== Lock acquired, processing the job... [2025-03-20 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:37:02] Production.INFO: ==16487== Releasing lock... [2025-03-20 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:37:02] Production.INFO: ==16500== Lock acquired, processing the job... [2025-03-20 05:37:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:37:03] Production.INFO: count ==12 [2025-03-20 05:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:37:03] Production.INFO: count ==23 [2025-03-20 05:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720740') start [2025-03-20 05:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720740') end [2025-03-20 05:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:37:03] Production.INFO: 1 [2025-03-20 05:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:37:03] Production.INFO: ==16500== Releasing lock... [2025-03-20 05:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:37:03] Production.INFO: ==16496== Lock acquired, processing the job... [2025-03-20 05:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:37:03] Production.INFO: ==16490== Lock acquired, processing the job... [2025-03-20 05:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:37:03] Production.INFO: ==16492== Lock acquired, processing the job... [2025-03-20 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:37:03] Production.INFO: Account Balance Start. [2025-03-20 05:37:03] Production.INFO: CreateAllLog Start [2025-03-20 05:37:03] Production.INFO: 117 [2025-03-20 05:37:03] Production.INFO: ==16494== Lock acquired, processing the job... [2025-03-20 05:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:37:03] Production.INFO: ==16498== Lock acquired, processing the job... [2025-03-20 05:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:37:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:03] Production.INFO: Date 2025-03-13 [2025-03-20 05:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:03] Production.INFO: Date 2025-03-14 [2025-03-20 05:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:03] Production.INFO: Date 2025-03-15 [2025-03-20 05:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:03] Production.INFO: ==16492== Releasing lock... [2025-03-20 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:37:03] Production.INFO: Date 2025-03-16 [2025-03-20 05:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:04] Production.ERROR: done [2025-03-20 05:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:37:04] Production.INFO: Total Charge 0 [2025-03-20 05:37:04] Production.INFO: CreateAllLog End [2025-03-20 05:37:04] Production.ERROR: done [2025-03-20 05:37:04] Production.INFO: Account Balance End. [2025-03-20 05:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:37:04] Production.INFO: ==16496== Releasing lock... [2025-03-20 05:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:37:05 [end_date_ymd] => 2025-03-20 05:37:05 [RateCDR] => 1 ) [2025-03-20 05:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:37:05' and `end` < '2025-03-20 05:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:37:13] Production.ERROR: CronJobId end10 [2025-03-20 05:37:13] Production.INFO: ==16494== Releasing lock... [2025-03-20 05:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:37:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:37:14] Production.INFO: call_cost start [2025-03-20 05:37:14] Production.INFO: call_cost end [2025-03-20 05:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:37:15] Production.INFO: ==16490== Releasing lock... [2025-03-20 05:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:37:17] Production.INFO: count ==330 [2025-03-20 05:37:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:37:05 - End Time 2025-03-20 05:37:05 [2025-03-20 05:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720744', 'tblTempUsageDetail_20' ) start [2025-03-20 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720744', 'tblTempUsageDetail_20' ) end [2025-03-20 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720744', 'tblTempVendorCDR_20' ) start [2025-03-20 05:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720744', 'tblTempVendorCDR_20' ) end [2025-03-20 05:37:17] Production.INFO: ProcessCDR(1,14720744,1,1,2) [2025-03-20 05:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720744', 'tblTempUsageDetail_20' ) start [2025-03-20 05:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720744', 'tblTempUsageDetail_20' ) end [2025-03-20 05:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:37:21] Production.INFO: ==16498== Releasing lock... [2025-03-20 05:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:37:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:38:01] Production.INFO: ==16562== Lock acquired, processing the job... [2025-03-20 09:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:38:01] Production.INFO: neon service started [2025-03-20 09:38:01] Production.INFO: neon service started [2025-03-20 09:38:01] Production.INFO: ==16562== Releasing lock... [2025-03-20 09:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:38:02] Production.INFO: ==16566== Lock acquired, processing the job... [2025-03-20 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:38:02] Production.INFO: ==16566== Releasing lock... [2025-03-20 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:38:02] Production.INFO: ==16564== Lock acquired, processing the job... [2025-03-20 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:38:02] Production.INFO: ==16564== Releasing lock... [2025-03-20 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:38:03] Production.INFO: ==16575== Lock acquired, processing the job... [2025-03-20 05:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:38:03] Production.INFO: Account Balance Start. [2025-03-20 05:38:03] Production.INFO: CreateAllLog Start [2025-03-20 05:38:03] Production.INFO: 117 [2025-03-20 05:38:03] Production.INFO: ==16579== Lock acquired, processing the job... [2025-03-20 05:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:03] Production.INFO: ==16569== Lock acquired, processing the job... [2025-03-20 05:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:38:03] Production.INFO: ==16571== Lock acquired, processing the job... [2025-03-20 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:38:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:38:03] Production.INFO: ==16573== Lock acquired, processing the job... [2025-03-20 05:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:38:04] Production.INFO: ==16577== Lock acquired, processing the job... [2025-03-20 05:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:38:04] Production.INFO: count ==12 [2025-03-20 05:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:38:04] Production.INFO: count ==23 [2025-03-20 05:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720746') start [2025-03-20 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720746') end [2025-03-20 05:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:38:04] Production.INFO: 1 [2025-03-20 05:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:38:04] Production.INFO: ==16579== Releasing lock... [2025-03-20 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:38:04] Production.INFO: ==16571== Releasing lock... [2025-03-20 05:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:38:04] Production.ERROR: done [2025-03-20 05:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:38:04] Production.INFO: Total Charge 0 [2025-03-20 05:38:04] Production.INFO: CreateAllLog End [2025-03-20 05:38:04] Production.ERROR: done [2025-03-20 05:38:04] Production.INFO: Account Balance End. [2025-03-20 05:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:38:04] Production.INFO: ==16575== Releasing lock... [2025-03-20 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:38:05 [end_date_ymd] => 2025-03-20 05:38:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:38:05' and `end` < '2025-03-20 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-03-20 05:38:13] Production.ERROR: CronJobId end10 [2025-03-20 05:38:13] Production.INFO: ==16573== Releasing lock... [2025-03-20 05:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:38:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:38:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:38:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:38:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:38:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:38:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:38:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:38:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:38:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:38:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:38:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:38:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:38:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:38:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:38:16] Production.INFO: call_cost start [2025-03-20 05:38:16] Production.INFO: call_cost end [2025-03-20 05:38:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:38:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:38:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:38:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:38:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:38:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:38:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:38:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:38:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:38:17] Production.INFO: ==16569== Releasing lock... [2025-03-20 05:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:38:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:38:18] Production.INFO: count ==330 [2025-03-20 05:38:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:38:05 - End Time 2025-03-20 05:38:05 [2025-03-20 05:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720749', 'tblTempUsageDetail_20' ) start [2025-03-20 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720749', 'tblTempUsageDetail_20' ) end [2025-03-20 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720749', 'tblTempVendorCDR_20' ) start [2025-03-20 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720749', 'tblTempVendorCDR_20' ) end [2025-03-20 05:38:18] Production.INFO: ProcessCDR(1,14720749,1,1,2) [2025-03-20 05:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720749', 'tblTempUsageDetail_20' ) start [2025-03-20 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720749', 'tblTempUsageDetail_20' ) end [2025-03-20 05:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:38:21] Production.INFO: ==16577== Releasing lock... [2025-03-20 05:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:38:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:39:02] Production.INFO: ==16643== Lock acquired, processing the job... [2025-03-20 09:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:39:02] Production.INFO: neon service started [2025-03-20 09:39:02] Production.INFO: neon service started [2025-03-20 09:39:02] Production.INFO: ==16643== Releasing lock... [2025-03-20 09:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:39:02] Production.INFO: ==16645== Lock acquired, processing the job... [2025-03-20 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:39:02] Production.INFO: ==16647== Lock acquired, processing the job... [2025-03-20 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 05:39:02] Production.INFO: ==16645== Releasing lock... [2025-03-20 05:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:39:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:39:03] Production.INFO: ==16647== Releasing lock... [2025-03-20 09:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:39:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:39:03] Production.INFO: ==16656== Lock acquired, processing the job... [2025-03-20 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:39:04] Production.INFO: ==16660== Lock acquired, processing the job... [2025-03-20 05:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:39:04] Production.INFO: Account Balance Start. [2025-03-20 05:39:04] Production.INFO: CreateAllLog Start [2025-03-20 05:39:04] Production.INFO: ==16650== Lock acquired, processing the job... [2025-03-20 05:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:39:04] Production.INFO: 117 [2025-03-20 05:39:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.INFO: ==16652== Lock acquired, processing the job... [2025-03-20 05:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:39:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.INFO: ==16654== Lock acquired, processing the job... [2025-03-20 05:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:39:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:39:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:39:04] Production.INFO: count ==23 [2025-03-20 05:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720751') start [2025-03-20 05:39:04] Production.INFO: ==16658== Lock acquired, processing the job... [2025-03-20 05:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720751') end [2025-03-20 05:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:39:04] Production.INFO: 1 [2025-03-20 05:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.INFO: ==16660== Releasing lock... [2025-03-20 05:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:39:04] Production.INFO: ==16652== Releasing lock... [2025-03-20 05:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:39:04] Production.INFO: Total Charge 0 [2025-03-20 05:39:04] Production.INFO: CreateAllLog End [2025-03-20 05:39:04] Production.ERROR: done [2025-03-20 05:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:39:05] Production.ERROR: done [2025-03-20 05:39:05] Production.INFO: Account Balance End. [2025-03-20 05:39:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:39:05] Production.INFO: ==16656== Releasing lock... [2025-03-20 05:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:39:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:39:05 [end_date_ymd] => 2025-03-20 05:39:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:39:05' and `end` < '2025-03-20 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-03-20 05:39:12] Production.ERROR: CronJobId end10 [2025-03-20 05:39:12] Production.INFO: ==16654== Releasing lock... [2025-03-20 05:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:39:15] Production.INFO: call_cost start [2025-03-20 05:39:15] Production.INFO: call_cost end [2025-03-20 05:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:39:16] Production.INFO: ==16650== Releasing lock... [2025-03-20 05:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:39:18] Production.INFO: count ==330 [2025-03-20 05:39:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:39:05 - End Time 2025-03-20 05:39:05 [2025-03-20 05:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720754', 'tblTempUsageDetail_20' ) start [2025-03-20 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720754', 'tblTempUsageDetail_20' ) end [2025-03-20 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720754', 'tblTempVendorCDR_20' ) start [2025-03-20 05:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720754', 'tblTempVendorCDR_20' ) end [2025-03-20 05:39:18] Production.INFO: ProcessCDR(1,14720754,1,1,2) [2025-03-20 05:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720754', 'tblTempUsageDetail_20' ) start [2025-03-20 05:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720754', 'tblTempUsageDetail_20' ) end [2025-03-20 05:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:39:21] Production.INFO: ==16658== Releasing lock... [2025-03-20 05:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:39:21] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 09:40:01] Production.INFO: ==16722== Lock acquired, processing the job... [2025-03-20 09:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:40:01] Production.INFO: neon service started [2025-03-20 09:40:01] Production.INFO: neon service started [2025-03-20 09:40:01] Production.INFO: ==16722== Releasing lock... [2025-03-20 09:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:40:02] Production.INFO: ==16724== Lock acquired, processing the job... [2025-03-20 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:40:02] Production.INFO: ==16726== Lock acquired, processing the job... [2025-03-20 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:40:02] Production.INFO: ==16726== Releasing lock... [2025-03-20 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:40:02] Production.INFO: ==16724== Releasing lock... [2025-03-20 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:40:03] Production.INFO: ==16731== Lock acquired, processing the job... [2025-03-20 05:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:40:03] Production.INFO: ==16729== Lock acquired, processing the job... [2025-03-20 05:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 05:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 05:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 05:40:03] Production.ERROR: CronJob PID - 16731 [2025-03-20 05:40:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 05:40:03] Production.ERROR: CronJob ID - 5 [2025-03-20 05:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 05:40:00 [2025-03-20 05:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 05:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 05:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 05:40:03] Production.INFO: ==16729== Releasing lock... [2025-03-20 05:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 05:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 05:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:40:04] Production.INFO: ==16733== Lock acquired, processing the job... [2025-03-20 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:40:04] Production.INFO: ==16739== Lock acquired, processing the job... [2025-03-20 05:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:40:04] Production.INFO: ==16735== Lock acquired, processing the job... [2025-03-20 05:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:40:04] Production.INFO: ==16737== Lock acquired, processing the job... [2025-03-20 05:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:40:04] Production.INFO: ==16743== Lock acquired, processing the job... [2025-03-20 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:40:04] Production.INFO: ==16741== Lock acquired, processing the job... [2025-03-20 05:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 05:40:04] Production.INFO: Account Balance Start. [2025-03-20 05:40:04] Production.INFO: CreateAllLog Start [2025-03-20 05:40:04] Production.INFO: 117 [2025-03-20 05:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:40:04] Production.INFO: ==16733== Releasing lock... [2025-03-20 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:40:04] Production.INFO: count ==23 [2025-03-20 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720758') start [2025-03-20 05:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720758') end [2025-03-20 05:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:40:04] Production.INFO: 1 [2025-03-20 05:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:04] Production.ERROR: done [2025-03-20 05:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:40:04] Production.INFO: ==16743== Releasing lock... [2025-03-20 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:04] Production.ERROR: done [2025-03-20 05:40:04] Production.ERROR: done [2025-03-20 05:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 05:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720759', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 05:40:05] Production.INFO: Date 2025-03-14 [2025-03-20 05:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:05] Production.INFO: Date 2025-03-15 [2025-03-20 05:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:05] Production.INFO: Date 2025-03-16 [2025-03-20 05:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:05] Production.INFO: Date 2025-03-17 [2025-03-20 05:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:05] Production.INFO: Date 2025-03-18 [2025-03-20 05:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 05:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 05:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:40:05] Production.INFO: Total Charge 0 [2025-03-20 05:40:05] Production.INFO: CreateAllLog End [2025-03-20 05:40:05] Production.INFO: Account Balance End. [2025-03-20 05:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:40:05] Production.INFO: ==16737== Releasing lock... [2025-03-20 05:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:40:06 [end_date_ymd] => 2025-03-20 05:40:06 [RateCDR] => 1 ) [2025-03-20 05:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:40:06' and `end` < '2025-03-20 05:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720759', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 05:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 05:40:09] Production.INFO: ProcessCDR(1,14720759,1,1,2) [2025-03-20 05:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720759,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720759,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:40:09] Production.INFO: ==16741== Releasing lock... [2025-03-20 05:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 05:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 05:40:14] Production.ERROR: CronJobId end10 [2025-03-20 05:40:14] Production.INFO: ==16735== Releasing lock... [2025-03-20 05:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:40:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:40:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:40:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:40:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:40:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:40:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:40:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:40:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:40:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:40:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:40:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:40:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:40:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:40:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:40:16] Production.INFO: call_cost start [2025-03-20 05:40:16] Production.INFO: call_cost end [2025-03-20 05:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:40:17] Production.INFO: ==16731== Releasing lock... [2025-03-20 05:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:40:18] Production.INFO: count ==328 [2025-03-20 05:40:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:40:06 - End Time 2025-03-20 05:40:06 [2025-03-20 05:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720760', 'tblTempUsageDetail_20' ) start [2025-03-20 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720760', 'tblTempUsageDetail_20' ) end [2025-03-20 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720760', 'tblTempVendorCDR_20' ) start [2025-03-20 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720760', 'tblTempVendorCDR_20' ) end [2025-03-20 05:40:18] Production.INFO: ProcessCDR(1,14720760,1,1,2) [2025-03-20 05:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720760', 'tblTempUsageDetail_20' ) start [2025-03-20 05:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720760', 'tblTempUsageDetail_20' ) end [2025-03-20 05:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:40:22] Production.INFO: ==16739== Releasing lock... [2025-03-20 05:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:40:22] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:41:02] Production.INFO: ==16802== Lock acquired, processing the job... [2025-03-20 09:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:41:02] Production.INFO: neon service started [2025-03-20 09:41:02] Production.INFO: neon service started [2025-03-20 09:41:02] Production.INFO: ==16802== Releasing lock... [2025-03-20 09:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:41:02] Production.INFO: ==16806== Lock acquired, processing the job... [2025-03-20 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:41:02] Production.INFO: ==16806== Releasing lock... [2025-03-20 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:41:02] Production.INFO: ==16804== Lock acquired, processing the job... [2025-03-20 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:41:02] Production.INFO: ==16804== Releasing lock... [2025-03-20 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:41:03] Production.INFO: ==16813== Lock acquired, processing the job... [2025-03-20 05:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:41:03] Production.INFO: ==16815== Lock acquired, processing the job... [2025-03-20 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:41:03] Production.INFO: ==16809== Lock acquired, processing the job... [2025-03-20 05:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:41:03] Production.INFO: Account Balance Start. [2025-03-20 05:41:03] Production.INFO: CreateAllLog Start [2025-03-20 05:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:41:03] Production.INFO: 117 [2025-03-20 05:41:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.INFO: ==16811== Lock acquired, processing the job... [2025-03-20 05:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:41:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.INFO: ==16817== Lock acquired, processing the job... [2025-03-20 05:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:41:04] Production.INFO: ==16819== Lock acquired, processing the job... [2025-03-20 05:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 05:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:41:04] Production.INFO: count ==23 [2025-03-20 05:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720764') start [2025-03-20 05:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.INFO: ==16811== Releasing lock... [2025-03-20 05:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720764') end [2025-03-20 05:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:41:04] Production.INFO: 1 [2025-03-20 05:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.INFO: ==16819== Releasing lock... [2025-03-20 05:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:41:04] Production.ERROR: done [2025-03-20 05:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:41:04] Production.ERROR: done [2025-03-20 05:41:04] Production.INFO: Total Charge 0 [2025-03-20 05:41:04] Production.INFO: CreateAllLog End [2025-03-20 05:41:05] Production.INFO: Account Balance End. [2025-03-20 05:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:41:05] Production.INFO: ==16815== Releasing lock... [2025-03-20 05:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:41:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:41:06 [end_date_ymd] => 2025-03-20 05:41:06 [RateCDR] => 1 ) [2025-03-20 05: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-03-20 02:41:06' and `end` < '2025-03-20 05: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-03-20 05:41:12] Production.ERROR: CronJobId end10 [2025-03-20 05:41:12] Production.INFO: ==16813== Releasing lock... [2025-03-20 05:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:41:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:41:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:41:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:41:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:41:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:41:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:41:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:41:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:41:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:41:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:41:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:41:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:41:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:41:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:41:15] Production.INFO: call_cost start [2025-03-20 05:41:15] Production.INFO: call_cost end [2025-03-20 05:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:41:16] Production.INFO: ==16809== Releasing lock... [2025-03-20 05:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:41:18] Production.INFO: count ==328 [2025-03-20 05:41:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:41:06 - End Time 2025-03-20 05:41:06 [2025-03-20 05:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720765', 'tblTempUsageDetail_20' ) start [2025-03-20 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720765', 'tblTempUsageDetail_20' ) end [2025-03-20 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720765', 'tblTempVendorCDR_20' ) start [2025-03-20 05:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720765', 'tblTempVendorCDR_20' ) end [2025-03-20 05:41:18] Production.INFO: ProcessCDR(1,14720765,1,1,2) [2025-03-20 05:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720765', 'tblTempUsageDetail_20' ) start [2025-03-20 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720765', 'tblTempUsageDetail_20' ) end [2025-03-20 05:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:41:21] Production.INFO: ==16817== Releasing lock... [2025-03-20 05:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:41:21] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 09:42:01] Production.INFO: ==16877== Lock acquired, processing the job... [2025-03-20 09:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:42:01] Production.INFO: neon service started [2025-03-20 09:42:01] Production.INFO: neon service started [2025-03-20 09:42:01] Production.INFO: ==16877== Releasing lock... [2025-03-20 09:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:42:01] Production.INFO: ==16879== Lock acquired, processing the job... [2025-03-20 05:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:42:02] Production.INFO: ==16879== Releasing lock... [2025-03-20 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:42:02] Production.INFO: ==16881== Lock acquired, processing the job... [2025-03-20 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:42:02] Production.INFO: ==16881== Releasing lock... [2025-03-20 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:42:03] Production.INFO: ==16891== Lock acquired, processing the job... [2025-03-20 05:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:42:03] Production.INFO: ==16894== Lock acquired, processing the job... [2025-03-20 05:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:42:03] Production.INFO: ==16883== Lock acquired, processing the job... [2025-03-20 05:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:42:03] Production.INFO: ==16887== Lock acquired, processing the job... [2025-03-20 05:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:42:03] Production.INFO: ==16885== Lock acquired, processing the job... [2025-03-20 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:42:03] Production.INFO: ==16889== Lock acquired, processing the job... [2025-03-20 05:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 05:42:03] Production.INFO: count ==12 [2025-03-20 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-03-20 05:42:03] Production.INFO: count ==23 [2025-03-20 05:42:03] Production.INFO: Account Balance Start. [2025-03-20 05:42:03] Production.INFO: CreateAllLog Start [2025-03-20 05:42:03] Production.INFO: 117 [2025-03-20 05:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720766') start [2025-03-20 05:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:42:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:03] Production.ERROR: done [2025-03-20 05:42:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:42:03] Production.INFO: Date 2025-03-13 [2025-03-20 05:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:03] Production.INFO: Date 2025-03-14 [2025-03-20 05:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720766') end [2025-03-20 05:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:42:04] Production.INFO: 1 [2025-03-20 05:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:04] Production.INFO: ==16885== Releasing lock... [2025-03-20 05:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:42:04] Production.ERROR: done [2025-03-20 05:42:04] Production.INFO: ==16894== Releasing lock... [2025-03-20 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:42:04] Production.INFO: Total Charge 0 [2025-03-20 05:42:04] Production.INFO: CreateAllLog End [2025-03-20 05:42:04] Production.INFO: Account Balance End. [2025-03-20 05:42:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:42:04] Production.INFO: ==16889== Releasing lock... [2025-03-20 05:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:42:05 [end_date_ymd] => 2025-03-20 05:42:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:42:05' and `end` < '2025-03-20 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-03-20 05:42:12] Production.ERROR: CronJobId end10 [2025-03-20 05:42:12] Production.INFO: ==16887== Releasing lock... [2025-03-20 05:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:42:15] Production.INFO: call_cost start [2025-03-20 05:42:15] Production.INFO: call_cost end [2025-03-20 05:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:42:16] Production.INFO: ==16883== Releasing lock... [2025-03-20 05:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:42:17] Production.INFO: count ==325 [2025-03-20 05:42:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:42:05 - End Time 2025-03-20 05:42:05 [2025-03-20 05:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720770', 'tblTempUsageDetail_20' ) start [2025-03-20 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720770', 'tblTempUsageDetail_20' ) end [2025-03-20 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720770', 'tblTempVendorCDR_20' ) start [2025-03-20 05:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720770', 'tblTempVendorCDR_20' ) end [2025-03-20 05:42:17] Production.INFO: ProcessCDR(1,14720770,1,1,2) [2025-03-20 05:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720770', 'tblTempUsageDetail_20' ) start [2025-03-20 05:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720770', 'tblTempUsageDetail_20' ) end [2025-03-20 05:42:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:42:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:42:21] Production.INFO: ==16891== Releasing lock... [2025-03-20 05:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:42:21] Production.INFO: 31.75 MB #Memory Used# [2025-03-20 09:43:02] Production.INFO: ==16957== Lock acquired, processing the job... [2025-03-20 09:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:43:02] Production.INFO: neon service started [2025-03-20 09:43:02] Production.INFO: neon service started [2025-03-20 09:43:02] Production.INFO: ==16957== Releasing lock... [2025-03-20 09:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:43:02] Production.INFO: ==16961== Lock acquired, processing the job... [2025-03-20 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:43:02] Production.INFO: ==16961== Releasing lock... [2025-03-20 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:43:02] Production.INFO: ==16959== Lock acquired, processing the job... [2025-03-20 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:43:03] Production.INFO: ==16959== Releasing lock... [2025-03-20 05:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:43:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:43:03] Production.INFO: ==16970== Lock acquired, processing the job... [2025-03-20 05:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:43:04] Production.INFO: ==16974== Lock acquired, processing the job... [2025-03-20 05:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:43:04] Production.INFO: Account Balance Start. [2025-03-20 05:43:04] Production.INFO: CreateAllLog Start [2025-03-20 05:43:04] Production.INFO: 117 [2025-03-20 05:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.INFO: ==16964== Lock acquired, processing the job... [2025-03-20 05:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:43:04] Production.INFO: count ==12 [2025-03-20 05:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:43:04] Production.INFO: count ==23 [2025-03-20 05:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720772') start [2025-03-20 05:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:43:04] Production.INFO: ==16966== Lock acquired, processing the job... [2025-03-20 05:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.INFO: ==16968== Lock acquired, processing the job... [2025-03-20 05:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.INFO: ==16972== Lock acquired, processing the job... [2025-03-20 05:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720772') end [2025-03-20 05:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:43:04] Production.INFO: 1 [2025-03-20 05:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.INFO: ==16974== Releasing lock... [2025-03-20 05:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.INFO: ==16966== Releasing lock... [2025-03-20 05:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:43:04] Production.ERROR: done [2025-03-20 05:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:43:04] Production.INFO: Total Charge 0 [2025-03-20 05:43:04] Production.INFO: CreateAllLog End [2025-03-20 05:43:04] Production.ERROR: done [2025-03-20 05:43:04] Production.INFO: Account Balance End. [2025-03-20 05:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:43:05] Production.INFO: ==16970== Releasing lock... [2025-03-20 05:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:43:05 [end_date_ymd] => 2025-03-20 05:43:05 [RateCDR] => 1 ) [2025-03-20 05:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:43:05' and `end` < '2025-03-20 05:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:43:13] Production.ERROR: CronJobId end10 [2025-03-20 05:43:13] Production.INFO: ==16968== Releasing lock... [2025-03-20 05:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:43:15] Production.INFO: call_cost start [2025-03-20 05:43:15] Production.INFO: call_cost end [2025-03-20 05:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:43:16] Production.INFO: ==16964== Releasing lock... [2025-03-20 05:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:43:18] Production.INFO: count ==325 [2025-03-20 05:43:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:43:05 - End Time 2025-03-20 05:43:05 [2025-03-20 05:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720775', 'tblTempUsageDetail_20' ) start [2025-03-20 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720775', 'tblTempUsageDetail_20' ) end [2025-03-20 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720775', 'tblTempVendorCDR_20' ) start [2025-03-20 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720775', 'tblTempVendorCDR_20' ) end [2025-03-20 05:43:18] Production.INFO: ProcessCDR(1,14720775,1,1,2) [2025-03-20 05:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720775', 'tblTempUsageDetail_20' ) start [2025-03-20 05:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720775', 'tblTempUsageDetail_20' ) end [2025-03-20 05:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:43:21] Production.INFO: ==16972== Releasing lock... [2025-03-20 05:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:43:21] Production.INFO: 31.75 MB #Memory Used# [2025-03-20 09:44:01] Production.INFO: ==17037== Lock acquired, processing the job... [2025-03-20 09:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:44:01] Production.INFO: neon service started [2025-03-20 09:44:01] Production.INFO: neon service started [2025-03-20 09:44:01] Production.INFO: ==17037== Releasing lock... [2025-03-20 09:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:44:01] Production.INFO: ==17040== Lock acquired, processing the job... [2025-03-20 05:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:44:02] Production.INFO: ==17040== Releasing lock... [2025-03-20 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:44:02] Production.INFO: ==17042== Lock acquired, processing the job... [2025-03-20 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:44:02] Production.INFO: ==17042== Releasing lock... [2025-03-20 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:44:03] Production.INFO: ==17052== Lock acquired, processing the job... [2025-03-20 05:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:44:03] Production.INFO: ==17054== Lock acquired, processing the job... [2025-03-20 05:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:44:03] Production.INFO: ==17044== Lock acquired, processing the job... [2025-03-20 05:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:44:03] Production.INFO: ==17046== Lock acquired, processing the job... [2025-03-20 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:44:03] Production.INFO: ==17048== Lock acquired, processing the job... [2025-03-20 05:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:44:03] Production.INFO: ==17050== Lock acquired, processing the job... [2025-03-20 05:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:44:03] Production.INFO: count ==12 [2025-03-20 05:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:44:03] Production.INFO: count ==23 [2025-03-20 05:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720776') start [2025-03-20 05:44:03] Production.ERROR: done [2025-03-20 05:44:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720776') end [2025-03-20 05:44:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:44:03] Production.INFO: 1 [2025-03-20 05:44:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:44:03] Production.INFO: Account Balance Start. [2025-03-20 05:44:03] Production.INFO: CreateAllLog Start [2025-03-20 05:44:03] Production.INFO: 117 [2025-03-20 05:44:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:44:03] Production.INFO: ==17054== Releasing lock... [2025-03-20 05:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:44:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.ERROR: done [2025-03-20 05:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.INFO: ==17046== Releasing lock... [2025-03-20 05:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:44:04] Production.INFO: Total Charge 0 [2025-03-20 05:44:04] Production.INFO: CreateAllLog End [2025-03-20 05:44:04] Production.INFO: Account Balance End. [2025-03-20 05:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:44:04] Production.INFO: ==17050== Releasing lock... [2025-03-20 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:44:05 [end_date_ymd] => 2025-03-20 05:44:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:44:05' and `end` < '2025-03-20 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-03-20 05:44:12] Production.ERROR: CronJobId end10 [2025-03-20 05:44:12] Production.INFO: ==17048== Releasing lock... [2025-03-20 05:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:44:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:44:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:44:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:44:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:44:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:44:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:44:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:44:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:44:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:44:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:44:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:44:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:44:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:44:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:44:15] Production.INFO: call_cost start [2025-03-20 05:44:15] Production.INFO: call_cost end [2025-03-20 05:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:44:16] Production.INFO: ==17044== Releasing lock... [2025-03-20 05:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:44:17] Production.INFO: count ==313 [2025-03-20 05:44:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:44:05 - End Time 2025-03-20 05:44:05 [2025-03-20 05:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720780', 'tblTempUsageDetail_20' ) start [2025-03-20 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720780', 'tblTempUsageDetail_20' ) end [2025-03-20 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720780', 'tblTempVendorCDR_20' ) start [2025-03-20 05:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720780', 'tblTempVendorCDR_20' ) end [2025-03-20 05:44:17] Production.INFO: ProcessCDR(1,14720780,1,1,2) [2025-03-20 05:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720780', 'tblTempUsageDetail_20' ) start [2025-03-20 05:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720780', 'tblTempUsageDetail_20' ) end [2025-03-20 05:44:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:44:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:44:20] Production.INFO: ==17052== Releasing lock... [2025-03-20 05:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:44:20] Production.INFO: 30.5 MB #Memory Used# [2025-03-20 09:45:01] Production.INFO: ==17113== Lock acquired, processing the job... [2025-03-20 09:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:45:01] Production.INFO: neon service started [2025-03-20 09:45:01] Production.INFO: neon service started [2025-03-20 09:45:01] Production.INFO: ==17113== Releasing lock... [2025-03-20 09:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:45:02] Production.INFO: ==17117== Lock acquired, processing the job... [2025-03-20 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:45:02] Production.INFO: ==17117== Releasing lock... [2025-03-20 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:45:02] Production.INFO: ==17115== Lock acquired, processing the job... [2025-03-20 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:45:02] Production.INFO: ==17115== Releasing lock... [2025-03-20 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:45:03] Production.INFO: ==17124== Lock acquired, processing the job... [2025-03-20 05:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:45:03] Production.INFO: ==17130== Lock acquired, processing the job... [2025-03-20 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 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-03-20 05:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:45:03] Production.INFO: count ==12 [2025-03-20 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-03-20 05:45:03] Production.INFO: count ==23 [2025-03-20 05:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720781') start [2025-03-20 05:45:04] Production.INFO: ==17120== Lock acquired, processing the job... [2025-03-20 05:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:45:04] Production.INFO: ==17122== Lock acquired, processing the job... [2025-03-20 05:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720781') end [2025-03-20 05:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:45:04] Production.INFO: 1 [2025-03-20 05:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:45:04] Production.INFO: ==17130== Releasing lock... [2025-03-20 05:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:45:04] Production.INFO: ==17126== Lock acquired, processing the job... [2025-03-20 05:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:45:04] Production.INFO: ==17128== Lock acquired, processing the job... [2025-03-20 05:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:45:04] Production.INFO: Account Balance Start. [2025-03-20 05:45:04] Production.INFO: CreateAllLog Start [2025-03-20 05:45:04] Production.INFO: 117 [2025-03-20 05:45:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:04] Production.INFO: ==17122== Releasing lock... [2025-03-20 05:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:45:04] Production.ERROR: done [2025-03-20 05:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:05] Production.ERROR: done [2025-03-20 05:45:05] Production.INFO: Date 2025-03-18 [2025-03-20 05:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:05] Production.INFO: Date 2025-03-19 [2025-03-20 05:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:05] Production.INFO: Date 2025-03-20 [2025-03-20 05:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:45:05] Production.INFO: Total Charge 0 [2025-03-20 05:45:05] Production.INFO: CreateAllLog End [2025-03-20 05:45:05] Production.INFO: Account Balance End. [2025-03-20 05:45:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:45:05] Production.INFO: ==17126== Releasing lock... [2025-03-20 05:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:45:06 [end_date_ymd] => 2025-03-20 05:45:06 [RateCDR] => 1 ) [2025-03-20 05:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:45:06' and `end` < '2025-03-20 05:45:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:45:12] Production.ERROR: CronJobId end10 [2025-03-20 05:45:12] Production.INFO: ==17124== Releasing lock... [2025-03-20 05:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:45:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:45:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:45:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:45:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:45:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:45:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:45:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:45:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:45:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:45:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:45:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:45:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:45:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:45:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:45:16] Production.INFO: call_cost start [2025-03-20 05:45:16] Production.INFO: call_cost end [2025-03-20 05:45:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:45:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:45:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:45:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:45:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:45:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:45:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:45:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:45:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:45:17] Production.INFO: ==17120== Releasing lock... [2025-03-20 05:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:45:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:45:18] Production.INFO: count ==308 [2025-03-20 05:45:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:45:06 - End Time 2025-03-20 05:45:06 [2025-03-20 05:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720785', 'tblTempUsageDetail_20' ) start [2025-03-20 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720785', 'tblTempUsageDetail_20' ) end [2025-03-20 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720785', 'tblTempVendorCDR_20' ) start [2025-03-20 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720785', 'tblTempVendorCDR_20' ) end [2025-03-20 05:45:18] Production.INFO: ProcessCDR(1,14720785,1,1,2) [2025-03-20 05:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720785', 'tblTempUsageDetail_20' ) start [2025-03-20 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720785', 'tblTempUsageDetail_20' ) end [2025-03-20 05:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:45:21] Production.INFO: ==17128== Releasing lock... [2025-03-20 05:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:45:21] Production.INFO: 31 MB #Memory Used# [2025-03-20 09:46:01] Production.INFO: ==17195== Lock acquired, processing the job... [2025-03-20 09:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:46:01] Production.INFO: neon service started [2025-03-20 09:46:01] Production.INFO: neon service started [2025-03-20 09:46:01] Production.INFO: ==17195== Releasing lock... [2025-03-20 09:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:46:02] Production.INFO: ==17197== Lock acquired, processing the job... [2025-03-20 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:46:02] Production.INFO: ==17199== Lock acquired, processing the job... [2025-03-20 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:46:02] Production.INFO: ==17199== Releasing lock... [2025-03-20 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:46:02] Production.INFO: ==17197== Releasing lock... [2025-03-20 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:46:03] Production.INFO: ==17208== Lock acquired, processing the job... [2025-03-20 05:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:46:03] Production.INFO: ==17210== Lock acquired, processing the job... [2025-03-20 05:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:46:03] Production.INFO: ==17202== Lock acquired, processing the job... [2025-03-20 05:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:46:03] Production.INFO: Account Balance Start. [2025-03-20 05:46:03] Production.INFO: CreateAllLog Start [2025-03-20 05:46:03] Production.INFO: 117 [2025-03-20 05:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:46:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:03] Production.INFO: ==17206== Lock acquired, processing the job... [2025-03-20 05:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:46:03] Production.INFO: ==17204== Lock acquired, processing the job... [2025-03-20 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:46:03] Production.INFO: ==17212== Lock acquired, processing the job... [2025-03-20 05:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:46:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:46:03] Production.INFO: Date 2025-03-13 [2025-03-20 05:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:03] Production.INFO: count ==12 [2025-03-20 05:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 05:46:03] Production.INFO: count ==23 [2025-03-20 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720788') start [2025-03-20 05:46:04] Production.ERROR: done [2025-03-20 05:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720788') end [2025-03-20 05:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:46:04] Production.INFO: 1 [2025-03-20 05:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:04] Production.INFO: ==17212== Releasing lock... [2025-03-20 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:46:04] Production.INFO: ==17204== Releasing lock... [2025-03-20 05:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:46:04] Production.ERROR: done [2025-03-20 05:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:46:04] Production.INFO: Total Charge 0 [2025-03-20 05:46:04] Production.INFO: CreateAllLog End [2025-03-20 05:46:04] Production.INFO: Account Balance End. [2025-03-20 05:46:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:46:04] Production.INFO: ==17208== Releasing lock... [2025-03-20 05:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:46:05 [end_date_ymd] => 2025-03-20 05:46:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:46:05' and `end` < '2025-03-20 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-03-20 05:46:12] Production.ERROR: CronJobId end10 [2025-03-20 05:46:12] Production.INFO: ==17206== Releasing lock... [2025-03-20 05:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:46:15] Production.INFO: call_cost start [2025-03-20 05:46:15] Production.INFO: call_cost end [2025-03-20 05:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:46:16] Production.INFO: ==17202== Releasing lock... [2025-03-20 05:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:46:17] Production.INFO: count ==302 [2025-03-20 05:46:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:46:05 - End Time 2025-03-20 05:46:05 [2025-03-20 05:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720790', 'tblTempUsageDetail_20' ) start [2025-03-20 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720790', 'tblTempUsageDetail_20' ) end [2025-03-20 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720790', 'tblTempVendorCDR_20' ) start [2025-03-20 05:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720790', 'tblTempVendorCDR_20' ) end [2025-03-20 05:46:17] Production.INFO: ProcessCDR(1,14720790,1,1,2) [2025-03-20 05:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720790', 'tblTempUsageDetail_20' ) start [2025-03-20 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720790', 'tblTempUsageDetail_20' ) end [2025-03-20 05:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:46:21] Production.INFO: ==17210== Releasing lock... [2025-03-20 05:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:46:21] Production.INFO: 31 MB #Memory Used# [2025-03-20 09:47:01] Production.INFO: ==17282== Lock acquired, processing the job... [2025-03-20 09:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:47:01] Production.INFO: neon service started [2025-03-20 09:47:01] Production.INFO: neon service started [2025-03-20 09:47:01] Production.INFO: ==17282== Releasing lock... [2025-03-20 09:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:47:02] Production.INFO: ==17288== Lock acquired, processing the job... [2025-03-20 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:47:02] Production.INFO: ==17288== Releasing lock... [2025-03-20 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:47:02] Production.INFO: ==17286== Lock acquired, processing the job... [2025-03-20 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:47:02] Production.INFO: ==17286== Releasing lock... [2025-03-20 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:47:03] Production.INFO: ==17296== Lock acquired, processing the job... [2025-03-20 05:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:47:03] Production.INFO: ==17292== Lock acquired, processing the job... [2025-03-20 05:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:47:03] Production.INFO: ==17294== Lock acquired, processing the job... [2025-03-20 05:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:47:03] Production.INFO: ==17301== Lock acquired, processing the job... [2025-03-20 05:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:47:03] Production.INFO: ==17298== Lock acquired, processing the job... [2025-03-20 05:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:47:04] Production.INFO: ==17303== Lock acquired, processing the job... [2025-03-20 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:47:04] Production.INFO: Account Balance Start. [2025-03-20 05:47:04] Production.INFO: CreateAllLog Start [2025-03-20 05:47:04] Production.INFO: 117 [2025-03-20 05:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.INFO: ==17294== Releasing lock... [2025-03-20 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.INFO: count ==12 [2025-03-20 05:47:04] Production.ERROR: done [2025-03-20 05:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:47:04] Production.INFO: count ==23 [2025-03-20 05:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720794') start [2025-03-20 05:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720794') end [2025-03-20 05:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:47:04] Production.INFO: 1 [2025-03-20 05:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.INFO: ==17303== Releasing lock... [2025-03-20 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:47:04] Production.ERROR: done [2025-03-20 05:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:47:04] Production.INFO: Total Charge 0 [2025-03-20 05:47:04] Production.INFO: CreateAllLog End [2025-03-20 05:47:04] Production.INFO: Account Balance End. [2025-03-20 05:47:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:47:04] Production.INFO: ==17298== Releasing lock... [2025-03-20 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:47:05 [end_date_ymd] => 2025-03-20 05:47:05 [RateCDR] => 1 ) [2025-03-20 05:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:47:05' and `end` < '2025-03-20 05:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:47:12] Production.ERROR: CronJobId end10 [2025-03-20 05:47:12] Production.INFO: ==17296== Releasing lock... [2025-03-20 05:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:47:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:47:15] Production.INFO: call_cost start [2025-03-20 05:47:15] Production.INFO: call_cost end [2025-03-20 05:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:47:16] Production.INFO: ==17292== Releasing lock... [2025-03-20 05:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:47:17] Production.INFO: count ==290 [2025-03-20 05:47:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:47:05 - End Time 2025-03-20 05:47:05 [2025-03-20 05:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720795', 'tblTempUsageDetail_20' ) start [2025-03-20 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720795', 'tblTempUsageDetail_20' ) end [2025-03-20 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720795', 'tblTempVendorCDR_20' ) start [2025-03-20 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720795', 'tblTempVendorCDR_20' ) end [2025-03-20 05:47:18] Production.INFO: ProcessCDR(1,14720795,1,1,2) [2025-03-20 05:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720795', 'tblTempUsageDetail_20' ) start [2025-03-20 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720795', 'tblTempUsageDetail_20' ) end [2025-03-20 05:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:47:21] Production.INFO: ==17301== Releasing lock... [2025-03-20 05:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:47:21] Production.INFO: 30.5 MB #Memory Used# [2025-03-20 09:48:02] Production.INFO: ==17363== Lock acquired, processing the job... [2025-03-20 09:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:48:02] Production.INFO: neon service started [2025-03-20 09:48:02] Production.INFO: neon service started [2025-03-20 09:48:02] Production.INFO: ==17363== Releasing lock... [2025-03-20 09:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:48:03] Production.INFO: ==17365== Lock acquired, processing the job... [2025-03-20 05:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:48:03] Production.INFO: ==17367== Lock acquired, processing the job... [2025-03-20 09:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:48:03] Production.INFO: ==17367== Releasing lock... [2025-03-20 09:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:48:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:48:03] Production.INFO: ==17365== Releasing lock... [2025-03-20 05:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:48:04] Production.INFO: ==17378== Lock acquired, processing the job... [2025-03-20 05:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:48:04] Production.INFO: ==17376== Lock acquired, processing the job... [2025-03-20 05:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:48:04] Production.INFO: Account Balance Start. [2025-03-20 05:48:04] Production.INFO: CreateAllLog Start [2025-03-20 05:48:04] Production.INFO: 117 [2025-03-20 05:48:04] Production.INFO: ==17370== Lock acquired, processing the job... [2025-03-20 05:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:48:04] Production.INFO: ==17372== Lock acquired, processing the job... [2025-03-20 05:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:48:04] Production.INFO: ==17374== Lock acquired, processing the job... [2025-03-20 05:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:48:04] Production.ERROR: done [2025-03-20 05:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:48:04] Production.INFO: ==17380== Lock acquired, processing the job... [2025-03-20 05:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:05] Production.INFO: Date 2025-03-11 [2025-03-20 05:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:05] Production.ERROR: done [2025-03-20 05:48:05] Production.INFO: Date 2025-03-12 [2025-03-20 05:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:05] Production.INFO: ==17372== Releasing lock... [2025-03-20 05:48:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:48:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:48: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-03-20 05:48:05] Production.INFO: Date 2025-03-13 [2025-03-20 05:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:05] Production.INFO: count ==12 [2025-03-20 05:48: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-03-20 05:48:05] Production.INFO: count ==23 [2025-03-20 05:48:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720799') start [2025-03-20 05:48:05] Production.INFO: Date 2025-03-14 [2025-03-20 05:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:05] Production.INFO: Date 2025-03-15 [2025-03-20 05:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720799') end [2025-03-20 05:48:05] Production.INFO: Date 2025-03-16 [2025-03-20 05:48:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:48:05] Production.INFO: 1 [2025-03-20 05:48:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:05] Production.INFO: Date 2025-03-17 [2025-03-20 05:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:05] Production.INFO: ==17380== Releasing lock... [2025-03-20 05:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:48:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:48:05] Production.INFO: Date 2025-03-18 [2025-03-20 05:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:05] Production.INFO: Date 2025-03-19 [2025-03-20 05:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:05] Production.INFO: Date 2025-03-20 [2025-03-20 05:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:48:05] Production.INFO: Total Charge 0 [2025-03-20 05:48:05] Production.INFO: CreateAllLog End [2025-03-20 05:48:05] Production.INFO: Account Balance End. [2025-03-20 05:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:48:05] Production.INFO: ==17376== Releasing lock... [2025-03-20 05:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:48:06 [end_date_ymd] => 2025-03-20 05:48:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:48:06' and `end` < '2025-03-20 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-03-20 05:48:13] Production.ERROR: CronJobId end10 [2025-03-20 05:48:13] Production.INFO: ==17374== Releasing lock... [2025-03-20 05:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:48:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:48:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:48:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:48:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:48:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:48:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:48:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:48:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:48:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:48:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:48:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:48:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:48:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:48:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:48:17] Production.INFO: call_cost start [2025-03-20 05:48:17] Production.INFO: call_cost end [2025-03-20 05:48:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:48:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:48:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:48:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:48:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:48:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:48:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:48:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:48:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:48:18] Production.INFO: ==17370== Releasing lock... [2025-03-20 05:48:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:48:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:48:18] Production.INFO: count ==283 [2025-03-20 05:48:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:48:06 - End Time 2025-03-20 05:48:06 [2025-03-20 05:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720800', 'tblTempUsageDetail_20' ) start [2025-03-20 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720800', 'tblTempUsageDetail_20' ) end [2025-03-20 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720800', 'tblTempVendorCDR_20' ) start [2025-03-20 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720800', 'tblTempVendorCDR_20' ) end [2025-03-20 05:48:18] Production.INFO: ProcessCDR(1,14720800,1,1,2) [2025-03-20 05:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720800', 'tblTempUsageDetail_20' ) start [2025-03-20 05:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720800', 'tblTempUsageDetail_20' ) end [2025-03-20 05:48:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:48:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:48:22] Production.INFO: ==17378== Releasing lock... [2025-03-20 05:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:48:22] Production.INFO: 31 MB #Memory Used# [2025-03-20 09:49:01] Production.INFO: ==17444== Lock acquired, processing the job... [2025-03-20 09:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:49:01] Production.INFO: neon service started [2025-03-20 09:49:02] Production.INFO: neon service started [2025-03-20 09:49:02] Production.INFO: ==17444== Releasing lock... [2025-03-20 09:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:49:02] Production.INFO: ==17446== Lock acquired, processing the job... [2025-03-20 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:49:02] Production.INFO: ==17448== Lock acquired, processing the job... [2025-03-20 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:49:02] Production.INFO: ==17448== Releasing lock... [2025-03-20 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:49:02] Production.INFO: ==17446== Releasing lock... [2025-03-20 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:49:03] Production.INFO: ==17453== Lock acquired, processing the job... [2025-03-20 05:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:49:03] Production.INFO: ==17455== Lock acquired, processing the job... [2025-03-20 05:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:49:03] Production.INFO: ==17459== Lock acquired, processing the job... [2025-03-20 05:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:49:03] Production.INFO: Account Balance Start. [2025-03-20 05:49:03] Production.INFO: CreateAllLog Start [2025-03-20 05:49:03] Production.INFO: 117 [2025-03-20 05:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:03] Production.INFO: ==17457== Lock acquired, processing the job... [2025-03-20 05:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:49:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:03] Production.INFO: ==17461== Lock acquired, processing the job... [2025-03-20 05:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:49:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:49:04] Production.INFO: ==17455== Releasing lock... [2025-03-20 05:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:49:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:04] Production.INFO: ==17463== Lock acquired, processing the job... [2025-03-20 05:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:04] Production.ERROR: done [2025-03-20 05:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:49:04] Production.ERROR: done [2025-03-20 05:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:04] Production.INFO: count ==12 [2025-03-20 05:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 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-03-20 05:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:49:04] Production.INFO: count ==23 [2025-03-20 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720804') start [2025-03-20 05:49:04] Production.INFO: Total Charge 0 [2025-03-20 05:49:04] Production.INFO: CreateAllLog End [2025-03-20 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720804') end [2025-03-20 05:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:49:04] Production.INFO: 1 [2025-03-20 05:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:49:04] Production.INFO: ==17463== Releasing lock... [2025-03-20 05:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:49:04] Production.INFO: Account Balance End. [2025-03-20 05:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:49:04] Production.INFO: ==17459== Releasing lock... [2025-03-20 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:49:05 [end_date_ymd] => 2025-03-20 05:49:05 [RateCDR] => 1 ) [2025-03-20 05:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:49:05' and `end` < '2025-03-20 05:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:49:13] Production.ERROR: CronJobId end10 [2025-03-20 05:49:13] Production.INFO: ==17457== Releasing lock... [2025-03-20 05:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:49:15] Production.INFO: call_cost start [2025-03-20 05:49:15] Production.INFO: call_cost end [2025-03-20 05:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:49:16] Production.INFO: ==17453== Releasing lock... [2025-03-20 05:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:49:17] Production.INFO: count ==273 [2025-03-20 05:49:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:49:05 - End Time 2025-03-20 05:49:05 [2025-03-20 05:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720805', 'tblTempUsageDetail_20' ) start [2025-03-20 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720805', 'tblTempUsageDetail_20' ) end [2025-03-20 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720805', 'tblTempVendorCDR_20' ) start [2025-03-20 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720805', 'tblTempVendorCDR_20' ) end [2025-03-20 05:49:18] Production.INFO: ProcessCDR(1,14720805,1,1,2) [2025-03-20 05:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720805', 'tblTempUsageDetail_20' ) start [2025-03-20 05:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720805', 'tblTempUsageDetail_20' ) end [2025-03-20 05:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:49:21] Production.INFO: ==17461== Releasing lock... [2025-03-20 05:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:49:21] Production.INFO: 30.5 MB #Memory Used# [2025-03-20 09:50:01] Production.INFO: ==17525== Lock acquired, processing the job... [2025-03-20 09:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:50:01] Production.INFO: neon service started [2025-03-20 09:50:01] Production.INFO: neon service started [2025-03-20 09:50:01] Production.INFO: ==17525== Releasing lock... [2025-03-20 09:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:50:01] Production.INFO: ==17527== Lock acquired, processing the job... [2025-03-20 05:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:50:02] Production.INFO: ==17527== Releasing lock... [2025-03-20 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:50:02] Production.INFO: ==17529== Lock acquired, processing the job... [2025-03-20 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:50:02] Production.INFO: ==17529== Releasing lock... [2025-03-20 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:50:03] Production.INFO: ==17542== Lock acquired, processing the job... [2025-03-20 05:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:50:03] Production.INFO: ==17544== Lock acquired, processing the job... [2025-03-20 05:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 05:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:50:03] Production.INFO: ==17532== Lock acquired, processing the job... [2025-03-20 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 05:50:03] Production.INFO: ==17534== Lock acquired, processing the job... [2025-03-20 05:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:50:03] Production.INFO: ==17536== Lock acquired, processing the job... [2025-03-20 05:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 05:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 05:50:03] Production.ERROR: CronJob PID - 17542 [2025-03-20 05:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 05:50:03] Production.ERROR: CronJob ID - 16 [2025-03-20 05:50:03] Production.ERROR: CronJob Last Run Time 2025-03-20 05:50:00 [2025-03-20 05:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 05:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 05:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 05:50:03] Production.ERROR: CronJob PID - 17544 [2025-03-20 05:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 05:50:03] Production.ERROR: CronJob ID - 17 [2025-03-20 05:50:03] Production.INFO: ==17538== Lock acquired, processing the job... [2025-03-20 05:50:03] Production.ERROR: CronJob Last Run Time 2025-03-20 05:50:00 [2025-03-20 05:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 05:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 05:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 05:50:03] Production.INFO: ==17532== Releasing lock... [2025-03-20 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 05:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 05:50:03] Production.INFO: ==17540== Lock acquired, processing the job... [2025-03-20 05:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:50:03] Production.INFO: ==17546== Lock acquired, processing the job... [2025-03-20 05:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:50:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:50:03] Production.ERROR: done [2025-03-20 05:50:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 05:50:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720808', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 05:50:03] Production.INFO: Account Balance Start. [2025-03-20 05:50:03] Production.INFO: CreateAllLog Start [2025-03-20 05:50:03] Production.ERROR: done [2025-03-20 05:50:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:50:03] Production.INFO: 117 [2025-03-20 05:50:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:50:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:50:04] Production.INFO: count ==23 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720810') start [2025-03-20 05:50:04] Production.ERROR: done [2025-03-20 05:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720810') end [2025-03-20 05:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:50:04] Production.INFO: 1 [2025-03-20 05:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.INFO: ==17546== Releasing lock... [2025-03-20 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:50:04] Production.INFO: ==17536== Releasing lock... [2025-03-20 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:50:04] Production.INFO: Total Charge 0 [2025-03-20 05:50:04] Production.INFO: CreateAllLog End [2025-03-20 05:50:04] Production.INFO: Account Balance End. [2025-03-20 05:50:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:50:04] Production.INFO: ==17540== Releasing lock... [2025-03-20 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:50:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:50:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:50:05 [end_date_ymd] => 2025-03-20 05:50:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:50:05' and `end` < '2025-03-20 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-03-20 05:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720808', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 05:50:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 05:50:08] Production.INFO: ProcessCDR(1,14720808,1,1,2) [2025-03-20 05:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720808,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720808,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:50:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:50:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:50:08] Production.INFO: ==17544== Releasing lock... [2025-03-20 05:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 05:50:08] Production.INFO: 26 MB #Memory Used# [2025-03-20 05:50:13] Production.ERROR: CronJobId end10 [2025-03-20 05:50:13] Production.INFO: ==17538== Releasing lock... [2025-03-20 05:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:50:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:50:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:50:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:50:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:50:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:50:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:50:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:50:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:50:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:50:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:50:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:50:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:50:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:50:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:50:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:50:16] Production.INFO: call_cost start [2025-03-20 05:50:16] Production.INFO: call_cost end [2025-03-20 05:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:50:17] Production.INFO: ==17534== Releasing lock... [2025-03-20 05:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:50:17] Production.INFO: count ==257 [2025-03-20 05:50:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:50:05 - End Time 2025-03-20 05:50:05 [2025-03-20 05:50:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720811', 'tblTempUsageDetail_20' ) start [2025-03-20 05:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720811', 'tblTempUsageDetail_20' ) end [2025-03-20 05:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720811', 'tblTempVendorCDR_20' ) start [2025-03-20 05:50:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720811', 'tblTempVendorCDR_20' ) end [2025-03-20 05:50:17] Production.INFO: ProcessCDR(1,14720811,1,1,2) [2025-03-20 05:50:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:50:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:50:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720811', 'tblTempUsageDetail_20' ) start [2025-03-20 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720811', 'tblTempUsageDetail_20' ) end [2025-03-20 05:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:50:21] Production.INFO: ==17542== Releasing lock... [2025-03-20 05:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:50:21] Production.INFO: 30 MB #Memory Used# [2025-03-20 09:51:01] Production.INFO: ==17608== Lock acquired, processing the job... [2025-03-20 09:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:51:01] Production.INFO: neon service started [2025-03-20 09:51:01] Production.INFO: neon service started [2025-03-20 09:51:01] Production.INFO: ==17608== Releasing lock... [2025-03-20 09:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:51:02] Production.INFO: ==17613== Lock acquired, processing the job... [2025-03-20 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:51:02] Production.INFO: ==17613== Releasing lock... [2025-03-20 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:51:02] Production.INFO: ==17611== Lock acquired, processing the job... [2025-03-20 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:51:02] Production.INFO: ==17611== Releasing lock... [2025-03-20 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:51:03] Production.INFO: ==17621== Lock acquired, processing the job... [2025-03-20 05:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:51:03] Production.INFO: ==17623== Lock acquired, processing the job... [2025-03-20 05:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:51:03] Production.INFO: Account Balance Start. [2025-03-20 05:51:03] Production.INFO: ==17615== Lock acquired, processing the job... [2025-03-20 05:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:51:03] Production.INFO: CreateAllLog Start [2025-03-20 05:51:03] Production.INFO: 117 [2025-03-20 05:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:03] Production.INFO: ==17617== Lock acquired, processing the job... [2025-03-20 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:51:03] Production.INFO: ==17619== Lock acquired, processing the job... [2025-03-20 05:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:51:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:51:03] Production.INFO: ==17625== Lock acquired, processing the job... [2025-03-20 05:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:51:04] Production.ERROR: done [2025-03-20 05:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 05:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:51:04] Production.INFO: count ==23 [2025-03-20 05:51:04] Production.ERROR: done [2025-03-20 05:51:04] Production.INFO: ==17617== Releasing lock... [2025-03-20 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720815') start [2025-03-20 05:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720815') end [2025-03-20 05:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:51:04] Production.INFO: 1 [2025-03-20 05:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:04] Production.INFO: ==17625== Releasing lock... [2025-03-20 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:51:04] Production.INFO: Total Charge 0 [2025-03-20 05:51:04] Production.INFO: CreateAllLog End [2025-03-20 05:51:04] Production.INFO: Account Balance End. [2025-03-20 05:51:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:51:04] Production.INFO: ==17621== Releasing lock... [2025-03-20 05:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:51:05 [end_date_ymd] => 2025-03-20 05:51:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:51:05' and `end` < '2025-03-20 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-03-20 05:51:12] Production.ERROR: CronJobId end10 [2025-03-20 05:51:12] Production.INFO: ==17619== Releasing lock... [2025-03-20 05:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:51:15] Production.INFO: call_cost start [2025-03-20 05:51:15] Production.INFO: call_cost end [2025-03-20 05:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:51:16] Production.INFO: ==17615== Releasing lock... [2025-03-20 05:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:51:17] Production.INFO: count ==235 [2025-03-20 05:51:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:51:05 - End Time 2025-03-20 05:51:05 [2025-03-20 05:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720816', 'tblTempUsageDetail_20' ) start [2025-03-20 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720816', 'tblTempUsageDetail_20' ) end [2025-03-20 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720816', 'tblTempVendorCDR_20' ) start [2025-03-20 05:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720816', 'tblTempVendorCDR_20' ) end [2025-03-20 05:51:17] Production.INFO: ProcessCDR(1,14720816,1,1,2) [2025-03-20 05:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720816', 'tblTempUsageDetail_20' ) start [2025-03-20 05:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720816', 'tblTempUsageDetail_20' ) end [2025-03-20 05:51:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:51:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:51:21] Production.INFO: ==17623== Releasing lock... [2025-03-20 05:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:51:21] Production.INFO: 30.75 MB #Memory Used# [2025-03-20 09:52:02] Production.INFO: ==17728== Lock acquired, processing the job... [2025-03-20 09:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:52:02] Production.INFO: neon service started [2025-03-20 09:52:02] Production.INFO: neon service started [2025-03-20 09:52:02] Production.INFO: ==17728== Releasing lock... [2025-03-20 09:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:52:02] Production.INFO: ==17733== Lock acquired, processing the job... [2025-03-20 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:52:02] Production.INFO: ==17733== Releasing lock... [2025-03-20 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:52:02] Production.INFO: ==17731== Lock acquired, processing the job... [2025-03-20 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:52:03] Production.INFO: ==17731== Releasing lock... [2025-03-20 05:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:52:04] Production.INFO: ==17737== Lock acquired, processing the job... [2025-03-20 05:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:52:04] Production.INFO: ==17739== Lock acquired, processing the job... [2025-03-20 05:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:52:04] Production.INFO: ==17743== Lock acquired, processing the job... [2025-03-20 05:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:52:04] Production.INFO: Account Balance Start. [2025-03-20 05:52:04] Production.INFO: CreateAllLog Start [2025-03-20 05:52:04] Production.INFO: 117 [2025-03-20 05:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.INFO: ==17739== Releasing lock... [2025-03-20 05:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.INFO: ==17741== Lock acquired, processing the job... [2025-03-20 05:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:52:04] Production.INFO: ==17745== Lock acquired, processing the job... [2025-03-20 05:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.INFO: ==17747== Lock acquired, processing the job... [2025-03-20 05:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:52:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:52:05] Production.INFO: Total Charge 0 [2025-03-20 05:52:05] Production.INFO: count ==12 [2025-03-20 05:52:05] Production.ERROR: done [2025-03-20 05:52:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05: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-03-20 05:52:05] Production.INFO: count ==23 [2025-03-20 05:52:05] Production.INFO: CreateAllLog End [2025-03-20 05:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720820') start [2025-03-20 05:52:05] Production.ERROR: done [2025-03-20 05:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720820') end [2025-03-20 05:52:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:52:05] Production.INFO: 1 [2025-03-20 05:52:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:52:05] Production.INFO: Account Balance End. [2025-03-20 05:52:05] Production.INFO: ==17747== Releasing lock... [2025-03-20 05:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:52:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:52:05] Production.INFO: ==17743== Releasing lock... [2025-03-20 05:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:52:06 [end_date_ymd] => 2025-03-20 05:52:06 [RateCDR] => 1 ) [2025-03-20 05: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-03-20 02:52:06' and `end` < '2025-03-20 05: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-03-20 05:52:13] Production.ERROR: CronJobId end10 [2025-03-20 05:52:13] Production.INFO: ==17741== Releasing lock... [2025-03-20 05:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:52:16] Production.INFO: call_cost start [2025-03-20 05:52:16] Production.INFO: call_cost end [2025-03-20 05:52:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:52:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:52:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:52:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:52:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:52:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:52:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:52:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:52:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:52:17] Production.INFO: ==17737== Releasing lock... [2025-03-20 05:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:52:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:52:18] Production.INFO: count ==225 [2025-03-20 05:52:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:52:06 - End Time 2025-03-20 05:52:06 [2025-03-20 05:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720821', 'tblTempUsageDetail_20' ) start [2025-03-20 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720821', 'tblTempUsageDetail_20' ) end [2025-03-20 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720821', 'tblTempVendorCDR_20' ) start [2025-03-20 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720821', 'tblTempVendorCDR_20' ) end [2025-03-20 05:52:18] Production.INFO: ProcessCDR(1,14720821,1,1,2) [2025-03-20 05:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720821', 'tblTempUsageDetail_20' ) start [2025-03-20 05:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720821', 'tblTempUsageDetail_20' ) end [2025-03-20 05:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:52:22] Production.INFO: ==17745== Releasing lock... [2025-03-20 05:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:52:22] Production.INFO: 30.25 MB #Memory Used# [2025-03-20 09:53:01] Production.INFO: ==17816== Lock acquired, processing the job... [2025-03-20 09:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:53:01] Production.INFO: neon service started [2025-03-20 09:53:01] Production.INFO: neon service started [2025-03-20 09:53:01] Production.INFO: ==17816== Releasing lock... [2025-03-20 09:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:53:02] Production.INFO: ==17818== Lock acquired, processing the job... [2025-03-20 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:53:02] Production.INFO: ==17820== Lock acquired, processing the job... [2025-03-20 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:53:02] Production.INFO: ==17820== Releasing lock... [2025-03-20 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:53:03] Production.INFO: ==17818== Releasing lock... [2025-03-20 05:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:53:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:53:03] Production.INFO: ==17827== Lock acquired, processing the job... [2025-03-20 05:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:53:03] Production.INFO: ==17829== Lock acquired, processing the job... [2025-03-20 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:53:04] Production.INFO: Account Balance Start. [2025-03-20 05:53:04] Production.INFO: CreateAllLog Start [2025-03-20 05:53:04] Production.INFO: 117 [2025-03-20 05:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.INFO: ==17823== Lock acquired, processing the job... [2025-03-20 05:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.INFO: ==17825== Lock acquired, processing the job... [2025-03-20 05:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.INFO: ==17833== Lock acquired, processing the job... [2025-03-20 05:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:53:04] Production.INFO: ==17831== Lock acquired, processing the job... [2025-03-20 05:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.INFO: count ==12 [2025-03-20 05:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:53:04] Production.INFO: count ==23 [2025-03-20 05:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720825') start [2025-03-20 05:53:04] Production.INFO: Total Charge 0 [2025-03-20 05:53:04] Production.INFO: CreateAllLog End [2025-03-20 05:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720825') end [2025-03-20 05:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:53:04] Production.INFO: 1 [2025-03-20 05:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:53:04] Production.INFO: ==17825== Releasing lock... [2025-03-20 05:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:53:04] Production.INFO: ==17833== Releasing lock... [2025-03-20 05:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:53:04] Production.ERROR: done [2025-03-20 05:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:53:05] Production.ERROR: done [2025-03-20 05:53:05] Production.INFO: Account Balance End. [2025-03-20 05:53:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:53:05] Production.INFO: ==17829== Releasing lock... [2025-03-20 05:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:53:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:53:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:53:06 [end_date_ymd] => 2025-03-20 05:53:06 [RateCDR] => 1 ) [2025-03-20 05:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:53:06' and `end` < '2025-03-20 05:53:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:53:12] Production.ERROR: CronJobId end10 [2025-03-20 05:53:12] Production.INFO: ==17827== Releasing lock... [2025-03-20 05:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:53:15] Production.INFO: call_cost start [2025-03-20 05:53:15] Production.INFO: call_cost end [2025-03-20 05:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:53:16] Production.INFO: ==17823== Releasing lock... [2025-03-20 05:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:53:18] Production.INFO: count ==215 [2025-03-20 05:53:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:53:06 - End Time 2025-03-20 05:53:06 [2025-03-20 05:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720826', 'tblTempUsageDetail_20' ) start [2025-03-20 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720826', 'tblTempUsageDetail_20' ) end [2025-03-20 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720826', 'tblTempVendorCDR_20' ) start [2025-03-20 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720826', 'tblTempVendorCDR_20' ) end [2025-03-20 05:53:18] Production.INFO: ProcessCDR(1,14720826,1,1,2) [2025-03-20 05:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720826', 'tblTempUsageDetail_20' ) start [2025-03-20 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720826', 'tblTempUsageDetail_20' ) end [2025-03-20 05:53:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:53:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:53:21] Production.INFO: ==17831== Releasing lock... [2025-03-20 05:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:53:21] Production.INFO: 30 MB #Memory Used# [2025-03-20 09:54:02] Production.INFO: ==17895== Lock acquired, processing the job... [2025-03-20 09:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:54:02] Production.INFO: neon service started [2025-03-20 09:54:02] Production.INFO: neon service started [2025-03-20 09:54:02] Production.INFO: ==17895== Releasing lock... [2025-03-20 09:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:54:02] Production.INFO: ==17897== Lock acquired, processing the job... [2025-03-20 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:54:03] Production.INFO: ==17897== Releasing lock... [2025-03-20 05:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:54:03] Production.INFO: ==17899== Lock acquired, processing the job... [2025-03-20 09:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:54:03] Production.INFO: ==17899== Releasing lock... [2025-03-20 09:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:54:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:54:04] Production.INFO: ==17908== Lock acquired, processing the job... [2025-03-20 05:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:54:04] Production.INFO: ==17902== Lock acquired, processing the job... [2025-03-20 05:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:54:04] Production.INFO: ==17912== Lock acquired, processing the job... [2025-03-20 05:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:54:04] Production.INFO: Account Balance Start. [2025-03-20 05:54:04] Production.INFO: CreateAllLog Start [2025-03-20 05:54:04] Production.INFO: 117 [2025-03-20 05:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:54:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.INFO: ==17904== Lock acquired, processing the job... [2025-03-20 05:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:54:04] Production.INFO: ==17906== Lock acquired, processing the job... [2025-03-20 05:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.INFO: count ==12 [2025-03-20 05:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:54:04] Production.INFO: count ==23 [2025-03-20 05:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720829') start [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.INFO: ==17910== Lock acquired, processing the job... [2025-03-20 05:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720829') end [2025-03-20 05:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:54:04] Production.INFO: 1 [2025-03-20 05:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.INFO: ==17912== Releasing lock... [2025-03-20 05:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.INFO: ==17904== Releasing lock... [2025-03-20 05:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:54:04] Production.INFO: Total Charge 0 [2025-03-20 05:54:04] Production.INFO: CreateAllLog End [2025-03-20 05:54:05] Production.ERROR: done [2025-03-20 05:54:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:54:05] Production.INFO: Account Balance End. [2025-03-20 05:54:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:54:05] Production.INFO: ==17908== Releasing lock... [2025-03-20 05:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:54:05] Production.ERROR: done [2025-03-20 05:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:54:06 [end_date_ymd] => 2025-03-20 05:54:06 [RateCDR] => 1 ) [2025-03-20 05: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-03-20 02:54:06' and `end` < '2025-03-20 05: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-03-20 05:54:13] Production.ERROR: CronJobId end10 [2025-03-20 05:54:13] Production.INFO: ==17906== Releasing lock... [2025-03-20 05:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:54:15] Production.INFO: call_cost start [2025-03-20 05:54:15] Production.INFO: call_cost end [2025-03-20 05:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:54:16] Production.INFO: ==17902== Releasing lock... [2025-03-20 05:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:54:18] Production.INFO: count ==206 [2025-03-20 05:54:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:54:06 - End Time 2025-03-20 05:54:06 [2025-03-20 05:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720831', 'tblTempUsageDetail_20' ) start [2025-03-20 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720831', 'tblTempUsageDetail_20' ) end [2025-03-20 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720831', 'tblTempVendorCDR_20' ) start [2025-03-20 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720831', 'tblTempVendorCDR_20' ) end [2025-03-20 05:54:18] Production.INFO: ProcessCDR(1,14720831,1,1,2) [2025-03-20 05:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720831', 'tblTempUsageDetail_20' ) start [2025-03-20 05:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720831', 'tblTempUsageDetail_20' ) end [2025-03-20 05:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:54:22] Production.INFO: ==17910== Releasing lock... [2025-03-20 05:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:54:22] Production.INFO: 29.75 MB #Memory Used# [2025-03-20 09:55:01] Production.INFO: ==17980== Lock acquired, processing the job... [2025-03-20 09:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:55:01] Production.INFO: neon service started [2025-03-20 09:55:01] Production.INFO: neon service started [2025-03-20 09:55:01] Production.INFO: ==17980== Releasing lock... [2025-03-20 09:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:55:02] Production.INFO: ==17982== Lock acquired, processing the job... [2025-03-20 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:55:02] Production.INFO: ==17982== Releasing lock... [2025-03-20 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:55:02] Production.INFO: ==17984== Lock acquired, processing the job... [2025-03-20 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:55:02] Production.INFO: ==17984== Releasing lock... [2025-03-20 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:55:03] Production.INFO: ==17986== Lock acquired, processing the job... [2025-03-20 05:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:55:03] Production.INFO: ==17988== Lock acquired, processing the job... [2025-03-20 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:55:03] Production.INFO: ==17992== Lock acquired, processing the job... [2025-03-20 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:55:03] Production.INFO: ==17994== Lock acquired, processing the job... [2025-03-20 05:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:55:03] Production.INFO: Account Balance Start. [2025-03-20 05:55:03] Production.INFO: CreateAllLog Start [2025-03-20 05:55:03] Production.INFO: 117 [2025-03-20 05:55:03] Production.INFO: ==17990== Lock acquired, processing the job... [2025-03-20 05:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:55:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.INFO: ==17996== Lock acquired, processing the job... [2025-03-20 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.ERROR: done [2025-03-20 05:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 05:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.INFO: ==17988== Releasing lock... [2025-03-20 05:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:55:04] Production.INFO: count ==12 [2025-03-20 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-03-20 05:55:04] Production.INFO: count ==23 [2025-03-20 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720835') start [2025-03-20 05:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:55:04] Production.ERROR: done [2025-03-20 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720835') end [2025-03-20 05:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:55:04] Production.INFO: 1 [2025-03-20 05:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:55:04] Production.INFO: Total Charge 0 [2025-03-20 05:55:04] Production.INFO: ==17996== Releasing lock... [2025-03-20 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:55:04] Production.INFO: CreateAllLog End [2025-03-20 05:55:04] Production.INFO: Account Balance End. [2025-03-20 05:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:55:05] Production.INFO: ==17992== Releasing lock... [2025-03-20 05:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:55:05 [end_date_ymd] => 2025-03-20 05:55:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:55:05' and `end` < '2025-03-20 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-03-20 05:55:12] Production.ERROR: CronJobId end10 [2025-03-20 05:55:12] Production.INFO: ==17990== Releasing lock... [2025-03-20 05:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:55:15] Production.INFO: call_cost start [2025-03-20 05:55:15] Production.INFO: call_cost end [2025-03-20 05:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:55:16] Production.INFO: ==17986== Releasing lock... [2025-03-20 05:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:55:18] Production.INFO: count ==207 [2025-03-20 05:55:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:55:05 - End Time 2025-03-20 05:55:05 [2025-03-20 05:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720836', 'tblTempUsageDetail_20' ) start [2025-03-20 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720836', 'tblTempUsageDetail_20' ) end [2025-03-20 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720836', 'tblTempVendorCDR_20' ) start [2025-03-20 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720836', 'tblTempVendorCDR_20' ) end [2025-03-20 05:55:18] Production.INFO: ProcessCDR(1,14720836,1,1,2) [2025-03-20 05:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720836', 'tblTempUsageDetail_20' ) start [2025-03-20 05:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720836', 'tblTempUsageDetail_20' ) end [2025-03-20 05:55:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:55:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:55:23] Production.INFO: ==17994== Releasing lock... [2025-03-20 05:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:55:23] Production.INFO: 29.75 MB #Memory Used# [2025-03-20 09:56:01] Production.INFO: ==18062== Lock acquired, processing the job... [2025-03-20 09:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:56:01] Production.INFO: neon service started [2025-03-20 09:56:01] Production.INFO: neon service started [2025-03-20 09:56:01] Production.INFO: ==18062== Releasing lock... [2025-03-20 09:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:56:02] Production.INFO: ==18064== Lock acquired, processing the job... [2025-03-20 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:56:02] Production.INFO: ==18066== Lock acquired, processing the job... [2025-03-20 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:56:02] Production.INFO: ==18066== Releasing lock... [2025-03-20 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:56:02] Production.INFO: ==18064== Releasing lock... [2025-03-20 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:56:03] Production.INFO: ==18071== Lock acquired, processing the job... [2025-03-20 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:56:03] Production.INFO: ==18079== Lock acquired, processing the job... [2025-03-20 05:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 05:56:03] Production.INFO: ==18069== Lock acquired, processing the job... [2025-03-20 05:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:56:03] Production.INFO: count ==12 [2025-03-20 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-03-20 05:56:03] Production.INFO: count ==23 [2025-03-20 05:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720838') start [2025-03-20 05:56:03] Production.INFO: ==18071== Releasing lock... [2025-03-20 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720838') end [2025-03-20 05:56:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:56:03] Production.INFO: 1 [2025-03-20 05:56:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:56:03] Production.INFO: ==18073== Lock acquired, processing the job... [2025-03-20 05:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:56:03] Production.INFO: ==18079== Releasing lock... [2025-03-20 05:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:56:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:56:03] Production.INFO: ==18075== Lock acquired, processing the job... [2025-03-20 05:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:56:03] Production.INFO: ==18077== Lock acquired, processing the job... [2025-03-20 05:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:56:04] Production.INFO: Account Balance Start. [2025-03-20 05:56:04] Production.INFO: CreateAllLog Start [2025-03-20 05:56:04] Production.INFO: 117 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-08 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.ERROR: done [2025-03-20 05:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.ERROR: done [2025-03-20 05:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:56:04] Production.INFO: Total Charge 0 [2025-03-20 05:56:04] Production.INFO: CreateAllLog End [2025-03-20 05:56:05] Production.INFO: Account Balance End. [2025-03-20 05:56:05] Production.ERROR: CronJobId end 12 [2025-03-20 05:56:05] Production.INFO: ==18075== Releasing lock... [2025-03-20 05:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:56:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:56:06 [end_date_ymd] => 2025-03-20 05:56:06 [RateCDR] => 1 ) [2025-03-20 05:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:56:06' and `end` < '2025-03-20 05:56:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:56:12] Production.ERROR: CronJobId end10 [2025-03-20 05:56:12] Production.INFO: ==18073== Releasing lock... [2025-03-20 05:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:56:15] Production.INFO: call_cost start [2025-03-20 05:56:15] Production.INFO: call_cost end [2025-03-20 05:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:56:16] Production.INFO: ==18069== Releasing lock... [2025-03-20 05:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:56:18] Production.INFO: count ==202 [2025-03-20 05:56:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:56:06 - End Time 2025-03-20 05:56:06 [2025-03-20 05:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720841', 'tblTempUsageDetail_20' ) start [2025-03-20 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720841', 'tblTempUsageDetail_20' ) end [2025-03-20 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720841', 'tblTempVendorCDR_20' ) start [2025-03-20 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720841', 'tblTempVendorCDR_20' ) end [2025-03-20 05:56:18] Production.INFO: ProcessCDR(1,14720841,1,1,2) [2025-03-20 05:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720841', 'tblTempUsageDetail_20' ) start [2025-03-20 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720841', 'tblTempUsageDetail_20' ) end [2025-03-20 05:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:56:21] Production.INFO: ==18077== Releasing lock... [2025-03-20 05:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:56:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-20 09:57:01] Production.INFO: ==18144== Lock acquired, processing the job... [2025-03-20 09:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:57:01] Production.INFO: neon service started [2025-03-20 09:57:01] Production.INFO: neon service started [2025-03-20 09:57:01] Production.INFO: ==18144== Releasing lock... [2025-03-20 09:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:57:02] Production.INFO: ==18146== Lock acquired, processing the job... [2025-03-20 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:57:02] Production.INFO: ==18146== Releasing lock... [2025-03-20 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:57:02] Production.INFO: ==18148== Lock acquired, processing the job... [2025-03-20 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:57:02] Production.INFO: ==18148== Releasing lock... [2025-03-20 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:57:03] Production.INFO: ==18150== Lock acquired, processing the job... [2025-03-20 05:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:57:03] Production.INFO: ==18152== Lock acquired, processing the job... [2025-03-20 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:57:03] Production.INFO: ==18161== Lock acquired, processing the job... [2025-03-20 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:57:03] Production.INFO: ==18154== Lock acquired, processing the job... [2025-03-20 05:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 05:57:03] Production.INFO: count ==12 [2025-03-20 05:57:03] Production.INFO: ==18159== Lock acquired, processing the job... [2025-03-20 05:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 05:57:03] Production.INFO: count ==23 [2025-03-20 05:57:03] Production.INFO: ==18156== Lock acquired, processing the job... [2025-03-20 05:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720844') start [2025-03-20 05:57:03] Production.INFO: ==18152== Releasing lock... [2025-03-20 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:57:03] Production.INFO: Account Balance Start. [2025-03-20 05:57:03] Production.INFO: CreateAllLog Start [2025-03-20 05:57:03] Production.INFO: 117 [2025-03-20 05:57:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720844') end [2025-03-20 05:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:57:04] Production.INFO: 1 [2025-03-20 05:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.INFO: ==18161== Releasing lock... [2025-03-20 05:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:57:04] Production.ERROR: done [2025-03-20 05:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:57:04] Production.ERROR: done [2025-03-20 05:57:04] Production.INFO: Total Charge 0 [2025-03-20 05:57:04] Production.INFO: CreateAllLog End [2025-03-20 05:57:04] Production.INFO: Account Balance End. [2025-03-20 05:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:57:04] Production.INFO: ==18156== Releasing lock... [2025-03-20 05:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:57:05 [end_date_ymd] => 2025-03-20 05:57:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:57:05' and `end` < '2025-03-20 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-03-20 05:57:12] Production.ERROR: CronJobId end10 [2025-03-20 05:57:12] Production.INFO: ==18154== Releasing lock... [2025-03-20 05:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:57:15] Production.INFO: call_cost start [2025-03-20 05:57:15] Production.INFO: call_cost end [2025-03-20 05:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:57:16] Production.INFO: ==18150== Releasing lock... [2025-03-20 05:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:57:17] Production.INFO: count ==193 [2025-03-20 05:57:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:57:05 - End Time 2025-03-20 05:57:05 [2025-03-20 05:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720846', 'tblTempUsageDetail_20' ) start [2025-03-20 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720846', 'tblTempUsageDetail_20' ) end [2025-03-20 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720846', 'tblTempVendorCDR_20' ) start [2025-03-20 05:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720846', 'tblTempVendorCDR_20' ) end [2025-03-20 05:57:17] Production.INFO: ProcessCDR(1,14720846,1,1,2) [2025-03-20 05:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720846', 'tblTempUsageDetail_20' ) start [2025-03-20 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720846', 'tblTempUsageDetail_20' ) end [2025-03-20 05:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:57:21] Production.INFO: ==18159== Releasing lock... [2025-03-20 05:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:57:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-20 09:58:02] Production.INFO: ==18226== Lock acquired, processing the job... [2025-03-20 09:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:58:02] Production.INFO: neon service started [2025-03-20 09:58:02] Production.INFO: neon service started [2025-03-20 09:58:02] Production.INFO: ==18226== Releasing lock... [2025-03-20 09:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:58:03] Production.INFO: ==18228== Lock acquired, processing the job... [2025-03-20 05:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:58:03] Production.INFO: ==18230== Lock acquired, processing the job... [2025-03-20 09:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:58:03] Production.INFO: ==18230== Releasing lock... [2025-03-20 09:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:58:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:58:03] Production.INFO: ==18228== Releasing lock... [2025-03-20 05:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:58:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 05:58:04] Production.INFO: ==18233== Lock acquired, processing the job... [2025-03-20 05:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:58:04] Production.INFO: ==18235== Lock acquired, processing the job... [2025-03-20 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:58:04] Production.INFO: ==18241== Lock acquired, processing the job... [2025-03-20 05:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:58:04] Production.INFO: ==18235== Releasing lock... [2025-03-20 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:58:04] Production.INFO: ==18237== Lock acquired, processing the job... [2025-03-20 05:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:58:04] Production.INFO: ==18239== Lock acquired, processing the job... [2025-03-20 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:58:04] Production.INFO: ==18243== Lock acquired, processing the job... [2025-03-20 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:58:05] Production.ERROR: done [2025-03-20 05:58:05] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:58:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:58:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:58:05] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:58:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:58:05] Production.INFO: Account Balance Start. [2025-03-20 05:58:05] Production.INFO: CreateAllLog Start [2025-03-20 05:58:05] Production.INFO: 117 [2025-03-20 05:58:05] Production.INFO: Date 2025-03-08 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58: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-03-20 05:58:05] Production.INFO: Date 2025-03-09 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:05] Production.INFO: count ==12 [2025-03-20 05:58: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-03-20 05:58:05] Production.INFO: count ==23 [2025-03-20 05:58:05] Production.ERROR: done [2025-03-20 05:58:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720850') start [2025-03-20 05:58:05] Production.INFO: Date 2025-03-10 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:05] Production.INFO: Date 2025-03-11 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:05] Production.INFO: Date 2025-03-12 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720850') end [2025-03-20 05:58:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:58:05] Production.INFO: 1 [2025-03-20 05:58:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:58:05] Production.INFO: Date 2025-03-13 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:05] Production.INFO: ==18243== Releasing lock... [2025-03-20 05:58:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:58:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:58:05] Production.INFO: Date 2025-03-14 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:05] Production.INFO: Date 2025-03-15 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:05] Production.INFO: Date 2025-03-16 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:05] Production.INFO: Date 2025-03-17 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:05] Production.INFO: Date 2025-03-18 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:05] Production.INFO: Date 2025-03-19 [2025-03-20 05:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:06] Production.INFO: Date 2025-03-20 [2025-03-20 05:58:06] Production.INFO: Reseller ==> 0 [2025-03-20 05:58:06] Production.INFO: Total Charge 0 [2025-03-20 05:58:06] Production.INFO: CreateAllLog End [2025-03-20 05:58:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:58:06 [end_date_ymd] => 2025-03-20 05:58:06 [RateCDR] => 1 ) [2025-03-20 05:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 02:58:06' and `end` < '2025-03-20 05:58:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 05:58:06] Production.INFO: Account Balance End. [2025-03-20 05:58:06] Production.ERROR: CronJobId end 12 [2025-03-20 05:58:06] Production.INFO: ==18239== Releasing lock... [2025-03-20 05:58:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:58:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:58:12] Production.ERROR: CronJobId end10 [2025-03-20 05:58:12] Production.INFO: ==18237== Releasing lock... [2025-03-20 05:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:58:15] Production.INFO: call_cost start [2025-03-20 05:58:15] Production.INFO: call_cost end [2025-03-20 05:58:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:58:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:58:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:58:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:58:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:58:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:58:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:58:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:58:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:58:16] Production.INFO: ==18233== Releasing lock... [2025-03-20 05:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:58:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:58:18] Production.INFO: count ==183 [2025-03-20 05:58:18] Production.ERROR: pbx CDR StartTime 2025-03-20 02:58:06 - End Time 2025-03-20 05:58:06 [2025-03-20 05:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720851', 'tblTempUsageDetail_20' ) start [2025-03-20 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720851', 'tblTempUsageDetail_20' ) end [2025-03-20 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720851', 'tblTempVendorCDR_20' ) start [2025-03-20 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720851', 'tblTempVendorCDR_20' ) end [2025-03-20 05:58:18] Production.INFO: ProcessCDR(1,14720851,1,1,2) [2025-03-20 05:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720851', 'tblTempUsageDetail_20' ) start [2025-03-20 05:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720851', 'tblTempUsageDetail_20' ) end [2025-03-20 05:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:58:21] Production.INFO: ==18241== Releasing lock... [2025-03-20 05:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:58:21] Production.INFO: 30 MB #Memory Used# [2025-03-20 09:59:01] Production.INFO: ==18309== Lock acquired, processing the job... [2025-03-20 09:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 09:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 09:59:01] Production.INFO: neon service started [2025-03-20 09:59:01] Production.INFO: neon service started [2025-03-20 09:59:01] Production.INFO: ==18309== Releasing lock... [2025-03-20 09:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 09:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 05:59:02] Production.INFO: ==18312== Lock acquired, processing the job... [2025-03-20 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 05:59:02] Production.INFO: ==18312== Releasing lock... [2025-03-20 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 05:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:59:02] Production.INFO: ==18314== Lock acquired, processing the job... [2025-03-20 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:59:02] Production.INFO: ==18314== Releasing lock... [2025-03-20 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 09:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 05:59:03] Production.INFO: ==18324== Lock acquired, processing the job... [2025-03-20 05:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 05:59:03] Production.INFO: ==18322== Lock acquired, processing the job... [2025-03-20 05:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 05:59:03] Production.INFO: ==18318== Lock acquired, processing the job... [2025-03-20 05:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 05:59:03] Production.INFO: ==18316== Lock acquired, processing the job... [2025-03-20 05:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 05:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 05:59:03] Production.INFO: ==18320== Lock acquired, processing the job... [2025-03-20 05:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 05:59:03] Production.INFO: Account Balance Start. [2025-03-20 05:59:03] Production.INFO: CreateAllLog Start [2025-03-20 05:59:03] Production.INFO: 117 [2025-03-20 05:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 05:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:03] Production.INFO: ==18326== Lock acquired, processing the job... [2025-03-20 05:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 05:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 05:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:03] Production.INFO: Date 2025-03-10 [2025-03-20 05:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 05:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:59:03] Production.INFO: Date 2025-03-11 [2025-03-20 05:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:03] Production.INFO: count ==12 [2025-03-20 05:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 05:59:03] Production.INFO: count ==23 [2025-03-20 05:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720853') start [2025-03-20 05:59:03] Production.INFO: Date 2025-03-12 [2025-03-20 05:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:03] Production.INFO: Date 2025-03-13 [2025-03-20 05:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 05:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 05:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 05:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 05:59:03] Production.INFO: Date 2025-03-14 [2025-03-20 05:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:03] Production.INFO: Date 2025-03-15 [2025-03-20 05:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:04] Production.ERROR: done [2025-03-20 05:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720853') end [2025-03-20 05:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 05:59:04] Production.INFO: 1 [2025-03-20 05:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 05:59:04] Production.INFO: ==18318== Releasing lock... [2025-03-20 05:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 05:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 05:59:04] Production.INFO: ==18326== Releasing lock... [2025-03-20 05:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 05:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 05:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 05:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 05:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:04] Production.ERROR: done [2025-03-20 05:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 05:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 05:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 05:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 05:59:04] Production.INFO: Total Charge 0 [2025-03-20 05:59:04] Production.INFO: CreateAllLog End [2025-03-20 05:59:04] Production.INFO: Account Balance End. [2025-03-20 05:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 05:59:04] Production.INFO: ==18322== Releasing lock... [2025-03-20 05:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 05:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 05:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 02:59:05 [end_date_ymd] => 2025-03-20 05:59:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 02:59:05' and `end` < '2025-03-20 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-03-20 05:59:12] Production.ERROR: CronJobId end10 [2025-03-20 05:59:12] Production.INFO: ==18320== Releasing lock... [2025-03-20 05:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 05:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 05:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 05:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 05:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 05:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 05:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 05:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 05:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 05:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 05:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 05:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 05:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 05:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 05:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 05:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 05:59:14] Production.INFO: call_cost start [2025-03-20 05:59:14] Production.INFO: call_cost end [2025-03-20 05:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 05:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 05:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 05:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 05:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 05:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 05:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 05:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 05:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 05:59:15] Production.INFO: ==18316== Releasing lock... [2025-03-20 05:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 05:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 05:59:17] Production.INFO: count ==178 [2025-03-20 05:59:17] Production.ERROR: pbx CDR StartTime 2025-03-20 02:59:05 - End Time 2025-03-20 05:59:05 [2025-03-20 05:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720856', 'tblTempUsageDetail_20' ) start [2025-03-20 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720856', 'tblTempUsageDetail_20' ) end [2025-03-20 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720856', 'tblTempVendorCDR_20' ) start [2025-03-20 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720856', 'tblTempVendorCDR_20' ) end [2025-03-20 05:59:17] Production.INFO: ProcessCDR(1,14720856,1,1,2) [2025-03-20 05:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 05:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 05:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720856', 'tblTempUsageDetail_20' ) start [2025-03-20 05:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720856', 'tblTempUsageDetail_20' ) end [2025-03-20 05:59:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 05:59:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 05:59:21] Production.INFO: ==18324== Releasing lock... [2025-03-20 05:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 05:59:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-20 10:00:02] Production.INFO: ==18392== Lock acquired, processing the job... [2025-03-20 10:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:00:02] Production.INFO: neon service started [2025-03-20 10:00:02] Production.INFO: neon service started [2025-03-20 10:00:02] Production.INFO: ==18392== Releasing lock... [2025-03-20 10:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:00:02] Production.INFO: ==18394== Lock acquired, processing the job... [2025-03-20 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:00:03] Production.INFO: ==18396== Lock acquired, processing the job... [2025-03-20 10:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:00:03] Production.INFO: ==18396== Releasing lock... [2025-03-20 10:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:00:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:00:03] Production.INFO: ==18394== Releasing lock... [2025-03-20 06:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:00:04] Production.INFO: ==18405== Lock acquired, processing the job... [2025-03-20 06:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:00:04] Production.INFO: ==18399== Lock acquired, processing the job... [2025-03-20 06:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 06:00:04] Production.INFO: ==18407== Lock acquired, processing the job... [2025-03-20 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:00:04] Production.INFO: ==18409== Lock acquired, processing the job... [2025-03-20 06:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 06:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:00:04] Production.ERROR: CronJob PID - 18405 [2025-03-20 06:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 06:00:04] Production.ERROR: CronJob ID - 10 [2025-03-20 06:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:00:00 [2025-03-20 06:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 06:00:04] Production.INFO: ==18399== Releasing lock... [2025-03-20 06:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 06:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 06:00:04] Production.INFO: ==18401== Lock acquired, processing the job... [2025-03-20 06:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:00:04] Production.INFO: ==18403== Lock acquired, processing the job... [2025-03-20 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:00:04] Production.INFO: Account Balance Start. [2025-03-20 06:00:04] Production.INFO: CreateAllLog Start [2025-03-20 06:00:04] Production.INFO: 117 [2025-03-20 06:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:00:04] Production.INFO: ==18411== Lock acquired, processing the job... [2025-03-20 06:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 06:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:00:04] Production.INFO: ==18413== Lock acquired, processing the job... [2025-03-20 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:00:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:00:05] Production.INFO: Date 2025-03-10 [2025-03-20 06:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 06: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-03-20 06:00:05] Production.ERROR: done [2025-03-20 06:00:05] Production.INFO: Date 2025-03-11 [2025-03-20 06:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:00:05] Production.INFO: count ==12 [2025-03-20 06:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 06: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-03-20 06:00:05] Production.INFO: count ==23 [2025-03-20 06:00:05] Production.INFO: Date 2025-03-12 [2025-03-20 06:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720860') start [2025-03-20 06:00:05] Production.INFO: ==18403== Releasing lock... [2025-03-20 06:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:00:05] Production.ERROR: done [2025-03-20 06:00:05] Production.INFO: Date 2025-03-13 [2025-03-20 06:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720860') end [2025-03-20 06:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:00:05] Production.INFO: 1 [2025-03-20 06:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:00:05] Production.ERROR: done [2025-03-20 06:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 06:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720861', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 06:00:05] Production.INFO: Date 2025-03-14 [2025-03-20 06:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:00:05] Production.INFO: ==18413== Releasing lock... [2025-03-20 06:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 06:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 06:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 06:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:00:06] Production.INFO: Total Charge 0 [2025-03-20 06:00:06] Production.INFO: CreateAllLog End [2025-03-20 06:00:06] Production.INFO: Account Balance End. [2025-03-20 06:00:06] Production.ERROR: CronJobId end 12 [2025-03-20 06:00:06] Production.INFO: ==18407== Releasing lock... [2025-03-20 06:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:00:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:00:06 [end_date_ymd] => 2025-03-20 06:00:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:00:06' and `end` < '2025-03-20 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-03-20 06:00:11] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720861', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 06:00:11] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 06:00:11] Production.INFO: ProcessCDR(1,14720861,1,1,2) [2025-03-20 06:00:11] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720861,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:00:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720861,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:00:11] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:00:11] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:00:11] Production.INFO: ==18411== Releasing lock... [2025-03-20 06:00:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 06:00:11] Production.INFO: 26 MB #Memory Used# [2025-03-20 06:00:16] Production.ERROR: CronJobId end10 [2025-03-20 06:00:16] Production.INFO: ==18405== Releasing lock... [2025-03-20 06:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:00:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:00:19] Production.INFO: count ==160 [2025-03-20 06:00:19] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:00:19] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:00:19] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:00:19] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:00:19] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:00:19] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:00:19] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:00:19] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:00:19] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:00:19] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:00:19] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:00:19] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:00:19] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:00:19] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:00:19] Production.ERROR: pbx CDR StartTime 2025-03-20 03:00:06 - End Time 2025-03-20 06:00:06 [2025-03-20 06:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720862', 'tblTempUsageDetail_20' ) start [2025-03-20 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720862', 'tblTempUsageDetail_20' ) end [2025-03-20 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720862', 'tblTempVendorCDR_20' ) start [2025-03-20 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720862', 'tblTempVendorCDR_20' ) end [2025-03-20 06:00:19] Production.INFO: ProcessCDR(1,14720862,1,1,2) [2025-03-20 06:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:00:19] Production.INFO: call_cost start [2025-03-20 06:00:19] Production.INFO: call_cost end [2025-03-20 06:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:00:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:00:20] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:00:20] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:00:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:00:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:00:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:00:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:00:20] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:00:20] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:00:20] Production.INFO: ==18401== Releasing lock... [2025-03-20 06:00:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:00:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720862', 'tblTempUsageDetail_20' ) start [2025-03-20 06:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720862', 'tblTempUsageDetail_20' ) end [2025-03-20 06:00:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:00:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:00:23] Production.INFO: ==18409== Releasing lock... [2025-03-20 06:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:00:23] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 10:01:01] Production.INFO: ==18488== Lock acquired, processing the job... [2025-03-20 10:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:01:01] Production.INFO: neon service started [2025-03-20 10:01:01] Production.INFO: neon service started [2025-03-20 10:01:01] Production.INFO: ==18488== Releasing lock... [2025-03-20 10:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:01:02] Production.INFO: ==18494== Lock acquired, processing the job... [2025-03-20 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:01:02] Production.INFO: ==18496== Lock acquired, processing the job... [2025-03-20 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:01:02] Production.INFO: ==18494== Releasing lock... [2025-03-20 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:01:02] Production.INFO: ==18496== Releasing lock... [2025-03-20 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:01:03] Production.INFO: ==18506== Lock acquired, processing the job... [2025-03-20 06:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:01:03] Production.INFO: ==18498== Lock acquired, processing the job... [2025-03-20 06:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:01:03] Production.INFO: ==18508== Lock acquired, processing the job... [2025-03-20 06:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:01:03] Production.INFO: ==18500== Lock acquired, processing the job... [2025-03-20 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:01:03] Production.INFO: ==18502== Lock acquired, processing the job... [2025-03-20 06:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 06:01:03] Production.INFO: ==18504== Lock acquired, processing the job... [2025-03-20 06:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:01:03] Production.INFO: count ==12 [2025-03-20 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-03-20 06:01:03] Production.INFO: count ==23 [2025-03-20 06:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720863') start [2025-03-20 06:01:03] Production.INFO: Account Balance Start. [2025-03-20 06:01:03] Production.INFO: CreateAllLog Start [2025-03-20 06:01:03] Production.INFO: 117 [2025-03-20 06:01:03] Production.ERROR: done [2025-03-20 06:01:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720863') end [2025-03-20 06:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:01:04] Production.INFO: 1 [2025-03-20 06:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:01:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: ==18508== Releasing lock... [2025-03-20 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:01:04] Production.ERROR: done [2025-03-20 06:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: ==18500== Releasing lock... [2025-03-20 06:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:01:04] Production.INFO: Total Charge 0 [2025-03-20 06:01:04] Production.INFO: CreateAllLog End [2025-03-20 06:01:04] Production.INFO: Account Balance End. [2025-03-20 06:01:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:01:04] Production.INFO: ==18504== Releasing lock... [2025-03-20 06:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:01:05 [end_date_ymd] => 2025-03-20 06:01:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:01:05' and `end` < '2025-03-20 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-03-20 06:01:13] Production.ERROR: CronJobId end10 [2025-03-20 06:01:13] Production.INFO: ==18502== Releasing lock... [2025-03-20 06:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:01:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:01:15] Production.INFO: call_cost start [2025-03-20 06:01:15] Production.INFO: call_cost end [2025-03-20 06:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:01:16] Production.INFO: ==18498== Releasing lock... [2025-03-20 06:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:01:17] Production.INFO: count ==150 [2025-03-20 06:01:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:01:05 - End Time 2025-03-20 06:01:05 [2025-03-20 06:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720867', 'tblTempUsageDetail_20' ) start [2025-03-20 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720867', 'tblTempUsageDetail_20' ) end [2025-03-20 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720867', 'tblTempVendorCDR_20' ) start [2025-03-20 06:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720867', 'tblTempVendorCDR_20' ) end [2025-03-20 06:01:17] Production.INFO: ProcessCDR(1,14720867,1,1,2) [2025-03-20 06:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720867', 'tblTempUsageDetail_20' ) start [2025-03-20 06:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720867', 'tblTempUsageDetail_20' ) end [2025-03-20 06:01:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:01:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:01:20] Production.INFO: ==18506== Releasing lock... [2025-03-20 06:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:01:20] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 10:02:02] Production.INFO: ==18574== Lock acquired, processing the job... [2025-03-20 10:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:02:02] Production.INFO: neon service started [2025-03-20 10:02:02] Production.INFO: neon service started [2025-03-20 10:02:02] Production.INFO: ==18574== Releasing lock... [2025-03-20 10:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:02:02] Production.INFO: ==18578== Lock acquired, processing the job... [2025-03-20 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:02:02] Production.INFO: ==18578== Releasing lock... [2025-03-20 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:02:02] Production.INFO: ==18576== Lock acquired, processing the job... [2025-03-20 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:02:03] Production.INFO: ==18576== Releasing lock... [2025-03-20 06:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:02:04] Production.INFO: ==18585== Lock acquired, processing the job... [2025-03-20 06:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:02:04] Production.INFO: ==18587== Lock acquired, processing the job... [2025-03-20 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:02:04] Production.INFO: ==18581== Lock acquired, processing the job... [2025-03-20 06:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:02:04] Production.INFO: ==18583== Lock acquired, processing the job... [2025-03-20 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:02:04] Production.INFO: Account Balance Start. [2025-03-20 06:02:04] Production.INFO: CreateAllLog Start [2025-03-20 06:02:04] Production.INFO: 117 [2025-03-20 06:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:02:04] Production.INFO: ==18589== Lock acquired, processing the job... [2025-03-20 06:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:02:04] Production.INFO: ==18591== Lock acquired, processing the job... [2025-03-20 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:02:04] Production.INFO: count ==12 [2025-03-20 06:02:04] Production.INFO: ==18583== Releasing lock... [2025-03-20 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:02:04] Production.INFO: count ==23 [2025-03-20 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720871') start [2025-03-20 06:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720871') end [2025-03-20 06:02:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:02:05] Production.INFO: 1 [2025-03-20 06:02:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:02:05] Production.ERROR: done [2025-03-20 06:02:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:02:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:02:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:02:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:02:05] Production.INFO: Total Charge 0 [2025-03-20 06:02:05] Production.INFO: CreateAllLog End [2025-03-20 06:02:05] Production.INFO: ==18591== Releasing lock... [2025-03-20 06:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:02:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:02:05] Production.ERROR: done [2025-03-20 06:02:05] Production.INFO: Account Balance End. [2025-03-20 06:02:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:02:05] Production.INFO: ==18587== Releasing lock... [2025-03-20 06:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:02:06 [end_date_ymd] => 2025-03-20 06:02:06 [RateCDR] => 1 ) [2025-03-20 06:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:02:06' and `end` < '2025-03-20 06:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:02:14] Production.ERROR: CronJobId end10 [2025-03-20 06:02:14] Production.INFO: ==18585== Releasing lock... [2025-03-20 06:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:02:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:02:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:02:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:02:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:02:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:02:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:02:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:02:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:02:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:02:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:02:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:02:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:02:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:02:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:02:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:02:16] Production.INFO: call_cost start [2025-03-20 06:02:16] Production.INFO: call_cost end [2025-03-20 06:02:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:02:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:02:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:02:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:02:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:02:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:02:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:02:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:02:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:02:17] Production.INFO: ==18581== Releasing lock... [2025-03-20 06:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:02:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:02:18] Production.INFO: count ==145 [2025-03-20 06:02:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:02:06 - End Time 2025-03-20 06:02:06 [2025-03-20 06:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720872', 'tblTempUsageDetail_20' ) start [2025-03-20 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720872', 'tblTempUsageDetail_20' ) end [2025-03-20 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720872', 'tblTempVendorCDR_20' ) start [2025-03-20 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720872', 'tblTempVendorCDR_20' ) end [2025-03-20 06:02:18] Production.INFO: ProcessCDR(1,14720872,1,1,2) [2025-03-20 06:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720872', 'tblTempUsageDetail_20' ) start [2025-03-20 06:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720872', 'tblTempUsageDetail_20' ) end [2025-03-20 06:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:02:22] Production.INFO: ==18589== Releasing lock... [2025-03-20 06:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:02:22] Production.INFO: 29.75 MB #Memory Used# [2025-03-20 10:03:01] Production.INFO: ==18651== Lock acquired, processing the job... [2025-03-20 10:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:03:01] Production.INFO: neon service started [2025-03-20 10:03:01] Production.INFO: neon service started [2025-03-20 10:03:01] Production.INFO: ==18651== Releasing lock... [2025-03-20 10:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:03:02] Production.INFO: ==18653== Lock acquired, processing the job... [2025-03-20 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:03:02] Production.INFO: ==18653== Releasing lock... [2025-03-20 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:03:02] Production.INFO: ==18655== Lock acquired, processing the job... [2025-03-20 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:03:02] Production.INFO: ==18655== Releasing lock... [2025-03-20 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:03:03] Production.INFO: ==18666== Lock acquired, processing the job... [2025-03-20 06:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:03:03] Production.INFO: ==18668== Lock acquired, processing the job... [2025-03-20 06:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:03:03] Production.INFO: ==18660== Lock acquired, processing the job... [2025-03-20 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:03:03] Production.INFO: ==18658== Lock acquired, processing the job... [2025-03-20 06:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 06:03:03] Production.INFO: ==18662== Lock acquired, processing the job... [2025-03-20 06:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:03:03] Production.INFO: count ==12 [2025-03-20 06:03:03] Production.INFO: ==18664== Lock acquired, processing the job... [2025-03-20 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 06:03:03] Production.INFO: count ==23 [2025-03-20 06:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720873') start [2025-03-20 06:03:03] Production.ERROR: done [2025-03-20 06:03:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720873') end [2025-03-20 06:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:03:03] Production.INFO: 1 [2025-03-20 06:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:03:03] Production.INFO: Account Balance Start. [2025-03-20 06:03:03] Production.INFO: CreateAllLog Start [2025-03-20 06:03:03] Production.INFO: 117 [2025-03-20 06:03:03] Production.INFO: ==18668== Releasing lock... [2025-03-20 06:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:03:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:03:03] Production.ERROR: done [2025-03-20 06:03:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: ==18660== Releasing lock... [2025-03-20 06:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:03:04] Production.INFO: Total Charge 0 [2025-03-20 06:03:04] Production.INFO: CreateAllLog End [2025-03-20 06:03:04] Production.INFO: Account Balance End. [2025-03-20 06:03:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:03:04] Production.INFO: ==18664== Releasing lock... [2025-03-20 06:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:03:05 [end_date_ymd] => 2025-03-20 06:03:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:03:05' and `end` < '2025-03-20 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-03-20 06:03:12] Production.ERROR: CronJobId end10 [2025-03-20 06:03:12] Production.INFO: ==18662== Releasing lock... [2025-03-20 06:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:03:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:03:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:03:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:03:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:03:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:03:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:03:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:03:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:03:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:03:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:03:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:03:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:03:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:03:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:03:15] Production.INFO: call_cost start [2025-03-20 06:03:15] Production.INFO: call_cost end [2025-03-20 06:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:03:16] Production.INFO: ==18658== Releasing lock... [2025-03-20 06:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:03:17] Production.INFO: count ==135 [2025-03-20 06:03:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:03:05 - End Time 2025-03-20 06:03:05 [2025-03-20 06:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720877', 'tblTempUsageDetail_20' ) start [2025-03-20 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720877', 'tblTempUsageDetail_20' ) end [2025-03-20 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720877', 'tblTempVendorCDR_20' ) start [2025-03-20 06:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720877', 'tblTempVendorCDR_20' ) end [2025-03-20 06:03:17] Production.INFO: ProcessCDR(1,14720877,1,1,2) [2025-03-20 06:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720877', 'tblTempUsageDetail_20' ) start [2025-03-20 06:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720877', 'tblTempUsageDetail_20' ) end [2025-03-20 06:03:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:03:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:03:20] Production.INFO: ==18666== Releasing lock... [2025-03-20 06:03:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:03:20] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 10:04:02] Production.INFO: ==18733== Lock acquired, processing the job... [2025-03-20 10:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:04:02] Production.INFO: neon service started [2025-03-20 10:04:02] Production.INFO: neon service started [2025-03-20 10:04:02] Production.INFO: ==18733== Releasing lock... [2025-03-20 10:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:04:02] Production.INFO: ==18737== Lock acquired, processing the job... [2025-03-20 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:04:02] Production.INFO: ==18737== Releasing lock... [2025-03-20 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:04:02] Production.INFO: ==18735== Lock acquired, processing the job... [2025-03-20 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:04:03] Production.INFO: ==18735== Releasing lock... [2025-03-20 06:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:04:03] Production.INFO: ==18740== Lock acquired, processing the job... [2025-03-20 06:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:04:03] Production.INFO: ==18742== Lock acquired, processing the job... [2025-03-20 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:04:04] Production.INFO: ==18744== Lock acquired, processing the job... [2025-03-20 06:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:04:04] Production.INFO: ==18748== Lock acquired, processing the job... [2025-03-20 06:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:04:04] Production.INFO: ==18746== Lock acquired, processing the job... [2025-03-20 06:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:04:04] Production.INFO: ==18750== Lock acquired, processing the job... [2025-03-20 06:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:04:04] Production.INFO: Account Balance Start. [2025-03-20 06:04:04] Production.INFO: CreateAllLog Start [2025-03-20 06:04:04] Production.INFO: 117 [2025-03-20 06:04:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.INFO: ==18742== Releasing lock... [2025-03-20 06:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.INFO: count ==12 [2025-03-20 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-03-20 06:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.INFO: count ==23 [2025-03-20 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720881') start [2025-03-20 06:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.ERROR: done [2025-03-20 06:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720881') end [2025-03-20 06:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:04:04] Production.INFO: 1 [2025-03-20 06:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:04:04] Production.INFO: Total Charge 0 [2025-03-20 06:04:05] Production.INFO: ==18750== Releasing lock... [2025-03-20 06:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:04:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:04:05] Production.INFO: CreateAllLog End [2025-03-20 06:04:05] Production.ERROR: done [2025-03-20 06:04:05] Production.INFO: Account Balance End. [2025-03-20 06:04:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:04:05] Production.INFO: ==18746== Releasing lock... [2025-03-20 06:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:04:06 [end_date_ymd] => 2025-03-20 06:04:06 [RateCDR] => 1 ) [2025-03-20 06: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-03-20 03:04:06' and `end` < '2025-03-20 06: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-03-20 06:04:13] Production.ERROR: CronJobId end10 [2025-03-20 06:04:13] Production.INFO: ==18744== Releasing lock... [2025-03-20 06:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:04:15] Production.INFO: call_cost start [2025-03-20 06:04:15] Production.INFO: call_cost end [2025-03-20 06:04:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:04:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:04:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:04:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:04:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:04:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:04:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:04:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:04:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:04:16] Production.INFO: ==18740== Releasing lock... [2025-03-20 06:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:04:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:04:18] Production.INFO: count ==125 [2025-03-20 06:04:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:04:06 - End Time 2025-03-20 06:04:06 [2025-03-20 06:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720882', 'tblTempUsageDetail_20' ) start [2025-03-20 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720882', 'tblTempUsageDetail_20' ) end [2025-03-20 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720882', 'tblTempVendorCDR_20' ) start [2025-03-20 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720882', 'tblTempVendorCDR_20' ) end [2025-03-20 06:04:18] Production.INFO: ProcessCDR(1,14720882,1,1,2) [2025-03-20 06:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720882,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720882,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720882', 'tblTempUsageDetail_20' ) start [2025-03-20 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720882', 'tblTempUsageDetail_20' ) end [2025-03-20 06:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:04:21] Production.INFO: ==18748== Releasing lock... [2025-03-20 06:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:04:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 10:05:01] Production.INFO: ==18816== Lock acquired, processing the job... [2025-03-20 10:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:05:01] Production.INFO: neon service started [2025-03-20 10:05:01] Production.INFO: neon service started [2025-03-20 10:05:01] Production.INFO: ==18816== Releasing lock... [2025-03-20 10:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:05:02] Production.INFO: ==18818== Lock acquired, processing the job... [2025-03-20 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:05:02] Production.INFO: ==18818== Releasing lock... [2025-03-20 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:05:02] Production.INFO: ==18820== Lock acquired, processing the job... [2025-03-20 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:05:02] Production.INFO: ==18820== Releasing lock... [2025-03-20 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:05:03] Production.INFO: ==18833== Lock acquired, processing the job... [2025-03-20 06:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:05:03] Production.INFO: ==18823== Lock acquired, processing the job... [2025-03-20 06:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:05:03] Production.INFO: ==18831== Lock acquired, processing the job... [2025-03-20 06:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 06:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:05:03] Production.INFO: ==18825== Lock acquired, processing the job... [2025-03-20 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:05:03] Production.INFO: count ==12 [2025-03-20 06:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 06:05:03] Production.INFO: count ==23 [2025-03-20 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720883') start [2025-03-20 06:05:03] Production.INFO: ==18827== Lock acquired, processing the job... [2025-03-20 06:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:05:03] Production.INFO: ==18829== Lock acquired, processing the job... [2025-03-20 06:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720883') end [2025-03-20 06:05:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:05:03] Production.INFO: 1 [2025-03-20 06:05:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:05:03] Production.INFO: Account Balance Start. [2025-03-20 06:05:03] Production.INFO: CreateAllLog Start [2025-03-20 06:05:03] Production.INFO: 117 [2025-03-20 06:05:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.INFO: ==18833== Releasing lock... [2025-03-20 06:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:05:04] Production.ERROR: done [2025-03-20 06:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:05:04] Production.INFO: ==18825== Releasing lock... [2025-03-20 06:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.ERROR: done [2025-03-20 06:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:05:04] Production.INFO: Total Charge 0 [2025-03-20 06:05:04] Production.INFO: CreateAllLog End [2025-03-20 06:05:04] Production.INFO: Account Balance End. [2025-03-20 06:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:05:04] Production.INFO: ==18829== Releasing lock... [2025-03-20 06:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:05:05 [end_date_ymd] => 2025-03-20 06:05:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:05:05' and `end` < '2025-03-20 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-03-20 06:05:12] Production.ERROR: CronJobId end10 [2025-03-20 06:05:12] Production.INFO: ==18827== Releasing lock... [2025-03-20 06:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:05:15] Production.INFO: call_cost start [2025-03-20 06:05:15] Production.INFO: call_cost end [2025-03-20 06:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:05:16] Production.INFO: ==18823== Releasing lock... [2025-03-20 06:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:05:17] Production.INFO: count ==120 [2025-03-20 06:05:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:05:05 - End Time 2025-03-20 06:05:05 [2025-03-20 06:05:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720887', 'tblTempUsageDetail_20' ) start [2025-03-20 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720887', 'tblTempUsageDetail_20' ) end [2025-03-20 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720887', 'tblTempVendorCDR_20' ) start [2025-03-20 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720887', 'tblTempVendorCDR_20' ) end [2025-03-20 06:05:17] Production.INFO: ProcessCDR(1,14720887,1,1,2) [2025-03-20 06:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720887', 'tblTempUsageDetail_20' ) start [2025-03-20 06:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720887', 'tblTempUsageDetail_20' ) end [2025-03-20 06:05:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:05:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:05:21] Production.INFO: ==18831== Releasing lock... [2025-03-20 06:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:05:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:06:02] Production.INFO: ==18896== Lock acquired, processing the job... [2025-03-20 10:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:06:02] Production.INFO: neon service started [2025-03-20 10:06:02] Production.INFO: neon service started [2025-03-20 10:06:02] Production.INFO: ==18896== Releasing lock... [2025-03-20 10:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:06:02] Production.INFO: ==18898== Lock acquired, processing the job... [2025-03-20 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:06:02] Production.INFO: ==18898== Releasing lock... [2025-03-20 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:06:03] Production.INFO: ==18900== Lock acquired, processing the job... [2025-03-20 10:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:06:03] Production.INFO: ==18900== Releasing lock... [2025-03-20 10:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:06:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:06:03] Production.INFO: ==18907== Lock acquired, processing the job... [2025-03-20 06:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:06:04] Production.INFO: ==18913== Lock acquired, processing the job... [2025-03-20 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:06:04] Production.INFO: ==18903== Lock acquired, processing the job... [2025-03-20 06:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:06:04] Production.INFO: ==18905== Lock acquired, processing the job... [2025-03-20 06:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 06:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:06:04] Production.INFO: ==18909== Lock acquired, processing the job... [2025-03-20 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:06:04] Production.INFO: count ==12 [2025-03-20 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-03-20 06:06:04] Production.INFO: count ==23 [2025-03-20 06:06:04] Production.INFO: ==18911== Lock acquired, processing the job... [2025-03-20 06:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720888') start [2025-03-20 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720888') end [2025-03-20 06:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:06:04] Production.INFO: 1 [2025-03-20 06:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:06:04] Production.INFO: Account Balance Start. [2025-03-20 06:06:04] Production.INFO: CreateAllLog Start [2025-03-20 06:06:04] Production.INFO: 117 [2025-03-20 06:06:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:04] Production.INFO: ==18913== Releasing lock... [2025-03-20 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:04] Production.INFO: ==18905== Releasing lock... [2025-03-20 06:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:04] Production.ERROR: done [2025-03-20 06:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:05] Production.ERROR: done [2025-03-20 06:06:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:06:05] Production.INFO: Total Charge 0 [2025-03-20 06:06:05] Production.INFO: CreateAllLog End [2025-03-20 06:06:05] Production.INFO: Account Balance End. [2025-03-20 06:06:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:06:05] Production.INFO: ==18909== Releasing lock... [2025-03-20 06:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:06:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:06:06 [end_date_ymd] => 2025-03-20 06:06:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:06:06' and `end` < '2025-03-20 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-03-20 06:06:12] Production.ERROR: CronJobId end10 [2025-03-20 06:06:12] Production.INFO: ==18907== Releasing lock... [2025-03-20 06:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:06:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:06:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:06:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:06:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:06:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:06:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:06:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:06:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:06:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:06:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:06:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:06:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:06:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:06:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:06:14] Production.INFO: call_cost start [2025-03-20 06:06:14] Production.INFO: call_cost end [2025-03-20 06:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:06:15] Production.INFO: ==18903== Releasing lock... [2025-03-20 06:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:06:18] Production.INFO: count ==111 [2025-03-20 06:06:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:06:06 - End Time 2025-03-20 06:06:06 [2025-03-20 06:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720892', 'tblTempUsageDetail_20' ) start [2025-03-20 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720892', 'tblTempUsageDetail_20' ) end [2025-03-20 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720892', 'tblTempVendorCDR_20' ) start [2025-03-20 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720892', 'tblTempVendorCDR_20' ) end [2025-03-20 06:06:18] Production.INFO: ProcessCDR(1,14720892,1,1,2) [2025-03-20 06:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720892', 'tblTempUsageDetail_20' ) start [2025-03-20 06:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720892', 'tblTempUsageDetail_20' ) end [2025-03-20 06:06:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:06:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:06:23] Production.INFO: ==18911== Releasing lock... [2025-03-20 06:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:06:23] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:07:01] Production.INFO: ==18978== Lock acquired, processing the job... [2025-03-20 10:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:07:01] Production.INFO: neon service started [2025-03-20 10:07:01] Production.INFO: neon service started [2025-03-20 10:07:01] Production.INFO: ==18978== Releasing lock... [2025-03-20 10:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:07:02] Production.INFO: ==18980== Lock acquired, processing the job... [2025-03-20 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:07:02] Production.INFO: ==18980== Releasing lock... [2025-03-20 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:07:02] Production.INFO: ==18982== Lock acquired, processing the job... [2025-03-20 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:07:02] Production.INFO: ==18982== Releasing lock... [2025-03-20 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:07:03] Production.INFO: ==18989== Lock acquired, processing the job... [2025-03-20 06:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:07:03] Production.INFO: ==18995== Lock acquired, processing the job... [2025-03-20 06:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:07:03] Production.INFO: ==18985== Lock acquired, processing the job... [2025-03-20 06:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:07:03] Production.INFO: ==18987== Lock acquired, processing the job... [2025-03-20 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:07:03] Production.INFO: ==18991== Lock acquired, processing the job... [2025-03-20 06:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:07:03] Production.INFO: ==18993== Lock acquired, processing the job... [2025-03-20 06:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 06:07:03] Production.INFO: count ==12 [2025-03-20 06:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 06:07:03] Production.INFO: count ==23 [2025-03-20 06:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720894') start [2025-03-20 06:07:04] Production.INFO: Account Balance Start. [2025-03-20 06:07:04] Production.INFO: CreateAllLog Start [2025-03-20 06:07:04] Production.INFO: 117 [2025-03-20 06:07:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720894') end [2025-03-20 06:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:07:04] Production.INFO: 1 [2025-03-20 06:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:07:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.INFO: ==18995== Releasing lock... [2025-03-20 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:07:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:07:04] Production.INFO: ==18987== Releasing lock... [2025-03-20 06:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.ERROR: done [2025-03-20 06:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.ERROR: done [2025-03-20 06:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:07:04] Production.INFO: Total Charge 0 [2025-03-20 06:07:04] Production.INFO: CreateAllLog End [2025-03-20 06:07:05] Production.INFO: Account Balance End. [2025-03-20 06:07:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:07:05] Production.INFO: ==18991== Releasing lock... [2025-03-20 06:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:07:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:07:05 [end_date_ymd] => 2025-03-20 06:07:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:07:05' and `end` < '2025-03-20 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-03-20 06:07:11] Production.ERROR: CronJobId end10 [2025-03-20 06:07:11] Production.INFO: ==18989== Releasing lock... [2025-03-20 06:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:07:15] Production.INFO: call_cost start [2025-03-20 06:07:15] Production.INFO: call_cost end [2025-03-20 06:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:07:16] Production.INFO: ==18985== Releasing lock... [2025-03-20 06:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:07:17] Production.INFO: count ==101 [2025-03-20 06:07:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:07:05 - End Time 2025-03-20 06:07:05 [2025-03-20 06:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720897', 'tblTempUsageDetail_20' ) start [2025-03-20 06:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720897', 'tblTempUsageDetail_20' ) end [2025-03-20 06:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720897', 'tblTempVendorCDR_20' ) start [2025-03-20 06:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720897', 'tblTempVendorCDR_20' ) end [2025-03-20 06:07:17] Production.INFO: ProcessCDR(1,14720897,1,1,2) [2025-03-20 06:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720897', 'tblTempUsageDetail_20' ) start [2025-03-20 06:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720897', 'tblTempUsageDetail_20' ) end [2025-03-20 06:07:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:07:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:07:21] Production.INFO: ==18993== Releasing lock... [2025-03-20 06:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:07:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 10:08:02] Production.INFO: ==19106== Lock acquired, processing the job... [2025-03-20 10:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:08:02] Production.INFO: neon service started [2025-03-20 10:08:02] Production.INFO: neon service started [2025-03-20 10:08:02] Production.INFO: ==19106== Releasing lock... [2025-03-20 10:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:08:02] Production.INFO: ==19108== Lock acquired, processing the job... [2025-03-20 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:08:02] Production.INFO: ==19111== Lock acquired, processing the job... [2025-03-20 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:08:02] Production.INFO: ==19111== Releasing lock... [2025-03-20 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:08:03] Production.INFO: ==19108== Releasing lock... [2025-03-20 06:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:08:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:08:04] Production.INFO: ==19115== Lock acquired, processing the job... [2025-03-20 06:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:08:04] Production.INFO: ==19117== Lock acquired, processing the job... [2025-03-20 06:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:08:04] Production.INFO: ==19123== Lock acquired, processing the job... [2025-03-20 06:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:08:04] Production.INFO: ==19119== Lock acquired, processing the job... [2025-03-20 06:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:08:04] Production.INFO: ==19121== Lock acquired, processing the job... [2025-03-20 06:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:08:04] Production.INFO: ==19125== Lock acquired, processing the job... [2025-03-20 06:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:08:04] Production.ERROR: done [2025-03-20 06:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:08:04] Production.INFO: Account Balance Start. [2025-03-20 06:08:04] Production.INFO: CreateAllLog Start [2025-03-20 06:08:04] Production.INFO: 117 [2025-03-20 06:08:04] Production.INFO: ==19117== Releasing lock... [2025-03-20 06:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:08:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 06:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:04] Production.INFO: count ==12 [2025-03-20 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-03-20 06:08:04] Production.INFO: count ==23 [2025-03-20 06:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720900') start [2025-03-20 06:08:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:04] Production.ERROR: done [2025-03-20 06:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720900') end [2025-03-20 06:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:08:04] Production.INFO: 1 [2025-03-20 06:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:08:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:04] Production.INFO: ==19125== Releasing lock... [2025-03-20 06:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:05] Production.INFO: Date 2025-03-15 [2025-03-20 06:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:05] Production.INFO: Date 2025-03-16 [2025-03-20 06:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:05] Production.INFO: Date 2025-03-17 [2025-03-20 06:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:08:05] Production.INFO: Total Charge 0 [2025-03-20 06:08:05] Production.INFO: CreateAllLog End [2025-03-20 06:08:05] Production.INFO: Account Balance End. [2025-03-20 06:08:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:08:05] Production.INFO: ==19121== Releasing lock... [2025-03-20 06:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:08:05 [end_date_ymd] => 2025-03-20 06:08:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:08:05' and `end` < '2025-03-20 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-03-20 06:08:12] Production.ERROR: CronJobId end10 [2025-03-20 06:08:12] Production.INFO: ==19119== Releasing lock... [2025-03-20 06:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:08:14] Production.INFO: call_cost start [2025-03-20 06:08:14] Production.INFO: call_cost end [2025-03-20 06:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:08:15] Production.INFO: ==19115== Releasing lock... [2025-03-20 06:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:08:18] Production.INFO: count ==96 [2025-03-20 06:08:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:08:05 - End Time 2025-03-20 06:08:05 [2025-03-20 06:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720902', 'tblTempUsageDetail_20' ) start [2025-03-20 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720902', 'tblTempUsageDetail_20' ) end [2025-03-20 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720902', 'tblTempVendorCDR_20' ) start [2025-03-20 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720902', 'tblTempVendorCDR_20' ) end [2025-03-20 06:08:18] Production.INFO: ProcessCDR(1,14720902,1,1,2) [2025-03-20 06:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720902', 'tblTempUsageDetail_20' ) start [2025-03-20 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720902', 'tblTempUsageDetail_20' ) end [2025-03-20 06:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:08:21] Production.INFO: ==19123== Releasing lock... [2025-03-20 06:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:08:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 10:09:01] Production.INFO: ==19184== Lock acquired, processing the job... [2025-03-20 10:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:09:01] Production.INFO: neon service started [2025-03-20 10:09:01] Production.INFO: neon service started [2025-03-20 10:09:01] Production.INFO: ==19184== Releasing lock... [2025-03-20 10:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:09:02] Production.INFO: ==19186== Lock acquired, processing the job... [2025-03-20 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:09:02] Production.INFO: ==19186== Releasing lock... [2025-03-20 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:09:02] Production.INFO: ==19188== Lock acquired, processing the job... [2025-03-20 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:09:02] Production.INFO: ==19188== Releasing lock... [2025-03-20 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:09:03] Production.INFO: ==19190== Lock acquired, processing the job... [2025-03-20 06:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:09:03] Production.INFO: ==19192== Lock acquired, processing the job... [2025-03-20 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:09:03] Production.INFO: ==19196== Lock acquired, processing the job... [2025-03-20 06:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:09:03] Production.INFO: ==19194== Lock acquired, processing the job... [2025-03-20 06:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:09:03] Production.INFO: Account Balance Start. [2025-03-20 06:09:03] Production.INFO: CreateAllLog Start [2025-03-20 06:09:03] Production.INFO: 117 [2025-03-20 06:09:03] Production.INFO: ==19198== Lock acquired, processing the job... [2025-03-20 06:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:09:03] Production.INFO: ==19200== Lock acquired, processing the job... [2025-03-20 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:09:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:09:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:09:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:03] Production.INFO: count ==12 [2025-03-20 06:09:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:09:03] Production.INFO: count ==23 [2025-03-20 06:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720906') start [2025-03-20 06:09:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:03] Production.INFO: Date 2025-03-15 [2025-03-20 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720906') end [2025-03-20 06:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:09:03] Production.INFO: 1 [2025-03-20 06:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:09:03] Production.INFO: Date 2025-03-16 [2025-03-20 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:03] Production.INFO: Date 2025-03-17 [2025-03-20 06:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:03] Production.INFO: ==19200== Releasing lock... [2025-03-20 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:09:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:09:03] Production.INFO: ==19192== Releasing lock... [2025-03-20 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:09:03] Production.ERROR: done [2025-03-20 06:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:09:04] Production.INFO: Total Charge 0 [2025-03-20 06:09:04] Production.INFO: CreateAllLog End [2025-03-20 06:09:04] Production.ERROR: done [2025-03-20 06:09:04] Production.INFO: Account Balance End. [2025-03-20 06:09:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:09:04] Production.INFO: ==19196== Releasing lock... [2025-03-20 06:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:09:05 [end_date_ymd] => 2025-03-20 06:09:05 [RateCDR] => 1 ) [2025-03-20 06:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:09:05' and `end` < '2025-03-20 06:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:09:12] Production.ERROR: CronJobId end10 [2025-03-20 06:09:12] Production.INFO: ==19194== Releasing lock... [2025-03-20 06:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:09:14] Production.INFO: call_cost start [2025-03-20 06:09:14] Production.INFO: call_cost end [2025-03-20 06:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:09:15] Production.INFO: ==19190== Releasing lock... [2025-03-20 06:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:09:17] Production.INFO: count ==87 [2025-03-20 06:09:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:09:05 - End Time 2025-03-20 06:09:05 [2025-03-20 06:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720907', 'tblTempUsageDetail_20' ) start [2025-03-20 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720907', 'tblTempUsageDetail_20' ) end [2025-03-20 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720907', 'tblTempVendorCDR_20' ) start [2025-03-20 06:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720907', 'tblTempVendorCDR_20' ) end [2025-03-20 06:09:17] Production.INFO: ProcessCDR(1,14720907,1,1,2) [2025-03-20 06:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720907', 'tblTempUsageDetail_20' ) start [2025-03-20 06:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720907', 'tblTempUsageDetail_20' ) end [2025-03-20 06:09:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:09:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:09:20] Production.INFO: ==19198== Releasing lock... [2025-03-20 06:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:09:20] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:10:02] Production.INFO: ==19267== Lock acquired, processing the job... [2025-03-20 10:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:10:02] Production.INFO: neon service started [2025-03-20 10:10:02] Production.INFO: neon service started [2025-03-20 10:10:02] Production.INFO: ==19267== Releasing lock... [2025-03-20 10:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:10:02] Production.INFO: ==19269== Lock acquired, processing the job... [2025-03-20 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:10:03] Production.INFO: ==19269== Releasing lock... [2025-03-20 06:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:10:03] Production.INFO: ==19271== Lock acquired, processing the job... [2025-03-20 10:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:10:03] Production.INFO: ==19271== Releasing lock... [2025-03-20 10:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:10:04] Production.INFO: ==19276== Lock acquired, processing the job... [2025-03-20 06:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:10:04] Production.INFO: ==19273== Lock acquired, processing the job... [2025-03-20 06:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 06:10:04] Production.INFO: ==19286== Lock acquired, processing the job... [2025-03-20 06:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 06:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 06:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:10:04] Production.ERROR: CronJob PID - 19276 [2025-03-20 06:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 06:10:04] Production.ERROR: CronJob ID - 5 [2025-03-20 06:10:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:10:00 [2025-03-20 06:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 06:10:04] Production.INFO: ==19273== Releasing lock... [2025-03-20 06:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 06:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 06:10:04] Production.INFO: ==19288== Lock acquired, processing the job... [2025-03-20 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:10:04] Production.INFO: ==19278== Lock acquired, processing the job... [2025-03-20 06:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:10:04] Production.INFO: ==19280== Lock acquired, processing the job... [2025-03-20 06:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:10:04] Production.INFO: ==19284== Lock acquired, processing the job... [2025-03-20 06:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:10:04] Production.INFO: ==19282== Lock acquired, processing the job... [2025-03-20 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 06:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:10:04] Production.INFO: count ==12 [2025-03-20 06:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 06:10:04] Production.INFO: count ==23 [2025-03-20 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720909') start [2025-03-20 06:10:04] Production.INFO: Account Balance Start. [2025-03-20 06:10:04] Production.INFO: CreateAllLog Start [2025-03-20 06:10:04] Production.INFO: 117 [2025-03-20 06:10:05] Production.INFO: Date 2025-03-08 [2025-03-20 06:10:05] Production.ERROR: done [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.INFO: Date 2025-03-09 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.INFO: Date 2025-03-10 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720909') end [2025-03-20 06:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:10:05] Production.INFO: 1 [2025-03-20 06:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:10:05] Production.INFO: Date 2025-03-11 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 06:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720912', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 06:10:05] Production.INFO: ==19288== Releasing lock... [2025-03-20 06:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:10:05] Production.ERROR: done [2025-03-20 06:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:10:05] Production.INFO: ==19278== Releasing lock... [2025-03-20 06:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:10:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:10:05] Production.INFO: Date 2025-03-12 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.INFO: Date 2025-03-13 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.INFO: Date 2025-03-14 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.INFO: Date 2025-03-15 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.ERROR: done [2025-03-20 06:10:05] Production.INFO: Date 2025-03-16 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.INFO: Date 2025-03-17 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:10:05] Production.INFO: Total Charge 0 [2025-03-20 06:10:05] Production.INFO: CreateAllLog End [2025-03-20 06:10:05] Production.INFO: Account Balance End. [2025-03-20 06:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:10:05] Production.INFO: ==19282== Releasing lock... [2025-03-20 06:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:10:06 [end_date_ymd] => 2025-03-20 06:10:06 [RateCDR] => 1 ) [2025-03-20 06:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:10:06' and `end` < '2025-03-20 06:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720912', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 06:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 06:10:09] Production.INFO: ProcessCDR(1,14720912,1,1,2) [2025-03-20 06:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720912,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720912,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:10:09] Production.INFO: ==19286== Releasing lock... [2025-03-20 06:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 06:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 06:10:14] Production.ERROR: CronJobId end10 [2025-03-20 06:10:14] Production.INFO: ==19280== Releasing lock... [2025-03-20 06:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:10:16] Production.INFO: call_cost start [2025-03-20 06:10:16] Production.INFO: call_cost end [2025-03-20 06:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:10:17] Production.INFO: ==19276== Releasing lock... [2025-03-20 06:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:10:18] Production.INFO: count ==87 [2025-03-20 06:10:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:10:06 - End Time 2025-03-20 06:10:06 [2025-03-20 06:10:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720913', 'tblTempUsageDetail_20' ) start [2025-03-20 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720913', 'tblTempUsageDetail_20' ) end [2025-03-20 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720913', 'tblTempVendorCDR_20' ) start [2025-03-20 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720913', 'tblTempVendorCDR_20' ) end [2025-03-20 06:10:18] Production.INFO: ProcessCDR(1,14720913,1,1,2) [2025-03-20 06:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720913', 'tblTempUsageDetail_20' ) start [2025-03-20 06:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720913', 'tblTempUsageDetail_20' ) end [2025-03-20 06:10:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:10:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:10:22] Production.INFO: ==19284== Releasing lock... [2025-03-20 06:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:10:22] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:11:01] Production.INFO: ==19354== Lock acquired, processing the job... [2025-03-20 10:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:11:01] Production.INFO: neon service started [2025-03-20 10:11:01] Production.INFO: neon service started [2025-03-20 10:11:01] Production.INFO: ==19354== Releasing lock... [2025-03-20 10:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:11:02] Production.INFO: ==19356== Lock acquired, processing the job... [2025-03-20 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:11:02] Production.INFO: ==19358== Lock acquired, processing the job... [2025-03-20 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:11:02] Production.INFO: ==19356== Releasing lock... [2025-03-20 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:11:02] Production.INFO: ==19358== Releasing lock... [2025-03-20 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:11:03] Production.INFO: ==19360== Lock acquired, processing the job... [2025-03-20 06:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:11:03] Production.INFO: ==19364== Lock acquired, processing the job... [2025-03-20 06:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:11:03] Production.INFO: ==19366== Lock acquired, processing the job... [2025-03-20 06:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:11:03] Production.INFO: ==19362== Lock acquired, processing the job... [2025-03-20 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:11:03] Production.INFO: Account Balance Start. [2025-03-20 06:11:03] Production.INFO: CreateAllLog Start [2025-03-20 06:11:03] Production.INFO: 117 [2025-03-20 06:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:03] Production.INFO: ==19370== Lock acquired, processing the job... [2025-03-20 06:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:11:03] Production.INFO: ==19368== Lock acquired, processing the job... [2025-03-20 06:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:11:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:11:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:11:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:03] Production.INFO: count ==12 [2025-03-20 06:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:11:03] Production.INFO: count ==23 [2025-03-20 06:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720917') start [2025-03-20 06:11:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:03] Production.INFO: ==19362== Releasing lock... [2025-03-20 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720917') end [2025-03-20 06:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:11:04] Production.INFO: 1 [2025-03-20 06:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:11:04] Production.ERROR: done [2025-03-20 06:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:04] Production.INFO: ==19370== Releasing lock... [2025-03-20 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:04] Production.ERROR: done [2025-03-20 06:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:11:04] Production.INFO: Total Charge 0 [2025-03-20 06:11:04] Production.INFO: CreateAllLog End [2025-03-20 06:11:04] Production.INFO: Account Balance End. [2025-03-20 06:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:11:04] Production.INFO: ==19366== Releasing lock... [2025-03-20 06:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:11:05 [end_date_ymd] => 2025-03-20 06:11:05 [RateCDR] => 1 ) [2025-03-20 06:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:11:05' and `end` < '2025-03-20 06:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:11:11] Production.ERROR: CronJobId end10 [2025-03-20 06:11:11] Production.INFO: ==19364== Releasing lock... [2025-03-20 06:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:11:14] Production.INFO: call_cost start [2025-03-20 06:11:14] Production.INFO: call_cost end [2025-03-20 06:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:11:15] Production.INFO: ==19360== Releasing lock... [2025-03-20 06:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:11:17] Production.INFO: count ==87 [2025-03-20 06:11:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:11:05 - End Time 2025-03-20 06:11:05 [2025-03-20 06:11:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720918', 'tblTempUsageDetail_20' ) start [2025-03-20 06:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720918', 'tblTempUsageDetail_20' ) end [2025-03-20 06:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720918', 'tblTempVendorCDR_20' ) start [2025-03-20 06:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720918', 'tblTempVendorCDR_20' ) end [2025-03-20 06:11:17] Production.INFO: ProcessCDR(1,14720918,1,1,2) [2025-03-20 06:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720918', 'tblTempUsageDetail_20' ) start [2025-03-20 06:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720918', 'tblTempUsageDetail_20' ) end [2025-03-20 06:11:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:11:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:11:20] Production.INFO: ==19368== Releasing lock... [2025-03-20 06:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:11:20] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:12:02] Production.INFO: ==19429== Lock acquired, processing the job... [2025-03-20 10:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:12:02] Production.INFO: neon service started [2025-03-20 10:12:02] Production.INFO: neon service started [2025-03-20 10:12:02] Production.INFO: ==19429== Releasing lock... [2025-03-20 10:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:12:02] Production.INFO: ==19433== Lock acquired, processing the job... [2025-03-20 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:12:02] Production.INFO: ==19435== Lock acquired, processing the job... [2025-03-20 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:12:02] Production.INFO: ==19433== Releasing lock... [2025-03-20 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:12:02] Production.INFO: ==19435== Releasing lock... [2025-03-20 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:12:03] Production.INFO: ==19440== Lock acquired, processing the job... [2025-03-20 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:12:03] Production.INFO: ==19438== Lock acquired, processing the job... [2025-03-20 06:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:12:03] Production.INFO: ==19446== Lock acquired, processing the job... [2025-03-20 06:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:12:03] Production.INFO: ==19442== Lock acquired, processing the job... [2025-03-20 06:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:12:04] Production.INFO: ==19444== Lock acquired, processing the job... [2025-03-20 06:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:12:04] Production.INFO: ==19448== Lock acquired, processing the job... [2025-03-20 06:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:12:04] Production.INFO: ==19440== Releasing lock... [2025-03-20 06:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:12:04] Production.INFO: Account Balance Start. [2025-03-20 06:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:12:04] Production.INFO: CreateAllLog Start [2025-03-20 06:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:12:04] Production.INFO: 117 [2025-03-20 06:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.ERROR: done [2025-03-20 06:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:12:04] Production.INFO: count ==12 [2025-03-20 06:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:12:04] Production.INFO: count ==23 [2025-03-20 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720922') start [2025-03-20 06:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720922') end [2025-03-20 06:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:12:04] Production.INFO: 1 [2025-03-20 06:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.ERROR: done [2025-03-20 06:12:04] Production.INFO: ==19448== Releasing lock... [2025-03-20 06:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:12:04] Production.INFO: Total Charge 0 [2025-03-20 06:12:04] Production.INFO: CreateAllLog End [2025-03-20 06:12:04] Production.INFO: Account Balance End. [2025-03-20 06:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:12:05] Production.INFO: ==19444== Releasing lock... [2025-03-20 06:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:12:05 [end_date_ymd] => 2025-03-20 06:12:05 [RateCDR] => 1 ) [2025-03-20 06:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:12:05' and `end` < '2025-03-20 06:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:12:13] Production.ERROR: CronJobId end10 [2025-03-20 06:12:13] Production.INFO: ==19442== Releasing lock... [2025-03-20 06:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:12:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:12:15] Production.INFO: call_cost start [2025-03-20 06:12:15] Production.INFO: call_cost end [2025-03-20 06:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:12:16] Production.INFO: ==19438== Releasing lock... [2025-03-20 06:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:12:17] Production.INFO: count ==87 [2025-03-20 06:12:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:12:05 - End Time 2025-03-20 06:12:05 [2025-03-20 06:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720923', 'tblTempUsageDetail_20' ) start [2025-03-20 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720923', 'tblTempUsageDetail_20' ) end [2025-03-20 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720923', 'tblTempVendorCDR_20' ) start [2025-03-20 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720923', 'tblTempVendorCDR_20' ) end [2025-03-20 06:12:17] Production.INFO: ProcessCDR(1,14720923,1,1,2) [2025-03-20 06:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720923', 'tblTempUsageDetail_20' ) start [2025-03-20 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720923', 'tblTempUsageDetail_20' ) end [2025-03-20 06:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:12:21] Production.INFO: ==19446== Releasing lock... [2025-03-20 06:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:12:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:13:01] Production.INFO: ==19509== Lock acquired, processing the job... [2025-03-20 10:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:13:01] Production.INFO: neon service started [2025-03-20 10:13:01] Production.INFO: neon service started [2025-03-20 10:13:01] Production.INFO: ==19509== Releasing lock... [2025-03-20 10:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:13:02] Production.INFO: ==19513== Lock acquired, processing the job... [2025-03-20 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:13:02] Production.INFO: ==19511== Lock acquired, processing the job... [2025-03-20 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:13:02] Production.INFO: ==19513== Releasing lock... [2025-03-20 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:13:02] Production.INFO: ==19511== Releasing lock... [2025-03-20 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:13:03] Production.INFO: ==19518== Lock acquired, processing the job... [2025-03-20 06:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:13:03] Production.INFO: ==19520== Lock acquired, processing the job... [2025-03-20 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:13:03] Production.INFO: ==19524== Lock acquired, processing the job... [2025-03-20 06:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:13:03] Production.INFO: Account Balance Start. [2025-03-20 06:13:03] Production.INFO: CreateAllLog Start [2025-03-20 06:13:03] Production.INFO: 117 [2025-03-20 06:13:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:03] Production.INFO: ==19522== Lock acquired, processing the job... [2025-03-20 06:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:13:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:03] Production.INFO: ==19520== Releasing lock... [2025-03-20 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:13:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:03] Production.INFO: ==19526== Lock acquired, processing the job... [2025-03-20 06:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:13:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:03] Production.INFO: ==19528== Lock acquired, processing the job... [2025-03-20 06:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:13:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:13:04] Production.INFO: count ==12 [2025-03-20 06:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:04] Production.INFO: count ==23 [2025-03-20 06:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720927') start [2025-03-20 06:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720927') end [2025-03-20 06:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:13:04] Production.INFO: 1 [2025-03-20 06:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:13:04] Production.ERROR: done [2025-03-20 06:13:04] Production.INFO: ==19528== Releasing lock... [2025-03-20 06:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:13:04] Production.INFO: Total Charge 0 [2025-03-20 06:13:04] Production.INFO: CreateAllLog End [2025-03-20 06:13:04] Production.ERROR: done [2025-03-20 06:13:04] Production.INFO: Account Balance End. [2025-03-20 06:13:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:13:04] Production.INFO: ==19524== Releasing lock... [2025-03-20 06:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:13:05 [end_date_ymd] => 2025-03-20 06:13:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:13:05' and `end` < '2025-03-20 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-03-20 06:13:12] Production.ERROR: CronJobId end10 [2025-03-20 06:13:12] Production.INFO: ==19522== Releasing lock... [2025-03-20 06:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:13:15] Production.INFO: call_cost start [2025-03-20 06:13:15] Production.INFO: call_cost end [2025-03-20 06:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:13:16] Production.INFO: ==19518== Releasing lock... [2025-03-20 06:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:13:17] Production.INFO: count ==87 [2025-03-20 06:13:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:13:05 - End Time 2025-03-20 06:13:05 [2025-03-20 06:13:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720928', 'tblTempUsageDetail_20' ) start [2025-03-20 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720928', 'tblTempUsageDetail_20' ) end [2025-03-20 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720928', 'tblTempVendorCDR_20' ) start [2025-03-20 06:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720928', 'tblTempVendorCDR_20' ) end [2025-03-20 06:13:17] Production.INFO: ProcessCDR(1,14720928,1,1,2) [2025-03-20 06:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720928', 'tblTempUsageDetail_20' ) start [2025-03-20 06:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720928', 'tblTempUsageDetail_20' ) end [2025-03-20 06:13:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:13:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:13:21] Production.INFO: ==19526== Releasing lock... [2025-03-20 06:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:13:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:14:02] Production.INFO: ==19590== Lock acquired, processing the job... [2025-03-20 10:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:14:02] Production.INFO: neon service started [2025-03-20 10:14:02] Production.INFO: neon service started [2025-03-20 10:14:02] Production.INFO: ==19590== Releasing lock... [2025-03-20 10:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:14:02] Production.INFO: ==19592== Lock acquired, processing the job... [2025-03-20 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:14:02] Production.INFO: ==19594== Lock acquired, processing the job... [2025-03-20 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:14:02] Production.INFO: ==19594== Releasing lock... [2025-03-20 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:14:03] Production.INFO: ==19592== Releasing lock... [2025-03-20 06:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:14:03] Production.INFO: ==19607== Lock acquired, processing the job... [2025-03-20 06:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:14:03] Production.INFO: Account Balance Start. [2025-03-20 06:14:03] Production.INFO: CreateAllLog Start [2025-03-20 06:14:03] Production.INFO: 117 [2025-03-20 06:14:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.INFO: ==19612== Lock acquired, processing the job... [2025-03-20 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.INFO: ==19601== Lock acquired, processing the job... [2025-03-20 06:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.INFO: ==19605== Lock acquired, processing the job... [2025-03-20 06:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 06:14:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.INFO: ==19603== Lock acquired, processing the job... [2025-03-20 06:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:14:04] Production.INFO: count ==12 [2025-03-20 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-03-20 06:14:04] Production.INFO: count ==23 [2025-03-20 06:14:04] Production.INFO: ==19609== Lock acquired, processing the job... [2025-03-20 06:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:14:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720930') start [2025-03-20 06:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:14:04] Production.INFO: Total Charge 0 [2025-03-20 06:14:04] Production.INFO: CreateAllLog End [2025-03-20 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720930') end [2025-03-20 06:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:14:04] Production.INFO: 1 [2025-03-20 06:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:14:04] Production.INFO: ==19612== Releasing lock... [2025-03-20 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:14:04] Production.INFO: Account Balance End. [2025-03-20 06:14:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:14:04] Production.INFO: ==19607== Releasing lock... [2025-03-20 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:14:04] Production.ERROR: done [2025-03-20 06:14:04] Production.INFO: ==19603== Releasing lock... [2025-03-20 06:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:14:05] Production.ERROR: done [2025-03-20 06:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:14:06 [end_date_ymd] => 2025-03-20 06:14:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:14:06' and `end` < '2025-03-20 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-03-20 06:14:12] Production.ERROR: CronJobId end10 [2025-03-20 06:14:12] Production.INFO: ==19605== Releasing lock... [2025-03-20 06:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:14:15] Production.INFO: call_cost start [2025-03-20 06:14:15] Production.INFO: call_cost end [2025-03-20 06:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:14:16] Production.INFO: ==19601== Releasing lock... [2025-03-20 06:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:14:18] Production.INFO: count ==87 [2025-03-20 06:14:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:14:06 - End Time 2025-03-20 06:14:06 [2025-03-20 06:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720933', 'tblTempUsageDetail_20' ) start [2025-03-20 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720933', 'tblTempUsageDetail_20' ) end [2025-03-20 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720933', 'tblTempVendorCDR_20' ) start [2025-03-20 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720933', 'tblTempVendorCDR_20' ) end [2025-03-20 06:14:18] Production.INFO: ProcessCDR(1,14720933,1,1,2) [2025-03-20 06:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720933', 'tblTempUsageDetail_20' ) start [2025-03-20 06:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720933', 'tblTempUsageDetail_20' ) end [2025-03-20 06:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:14:21] Production.INFO: ==19609== Releasing lock... [2025-03-20 06:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:14:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:15:01] Production.INFO: ==19669== Lock acquired, processing the job... [2025-03-20 10:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:15:01] Production.INFO: neon service started [2025-03-20 10:15:01] Production.INFO: neon service started [2025-03-20 10:15:01] Production.INFO: ==19669== Releasing lock... [2025-03-20 10:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:15:02] Production.INFO: ==19671== Lock acquired, processing the job... [2025-03-20 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:15:02] Production.INFO: ==19673== Lock acquired, processing the job... [2025-03-20 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:15:02] Production.INFO: ==19673== Releasing lock... [2025-03-20 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:15:02] Production.INFO: ==19671== Releasing lock... [2025-03-20 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:15:03] Production.INFO: ==19676== Lock acquired, processing the job... [2025-03-20 06:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:15:03] Production.INFO: ==19682== Lock acquired, processing the job... [2025-03-20 06:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:15:03] Production.INFO: ==19688== Lock acquired, processing the job... [2025-03-20 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:15:03] Production.INFO: ==19679== Lock acquired, processing the job... [2025-03-20 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 06:15:03] Production.INFO: count ==12 [2025-03-20 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-03-20 06:15:03] Production.INFO: count ==23 [2025-03-20 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720935') start [2025-03-20 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720935') end [2025-03-20 06:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:15:03] Production.INFO: 1 [2025-03-20 06:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:15:03] Production.INFO: ==19686== Lock acquired, processing the job... [2025-03-20 06:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:15:03] Production.INFO: ==19684== Lock acquired, processing the job... [2025-03-20 06:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:15:03] Production.INFO: ==19688== Releasing lock... [2025-03-20 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:15:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:15:03] Production.INFO: Account Balance Start. [2025-03-20 06:15:03] Production.INFO: CreateAllLog Start [2025-03-20 06:15:03] Production.INFO: 117 [2025-03-20 06:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.INFO: ==19679== Releasing lock... [2025-03-20 06:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:15:04] Production.ERROR: done [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.ERROR: done [2025-03-20 06:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:15:04] Production.INFO: Total Charge 0 [2025-03-20 06:15:04] Production.INFO: CreateAllLog End [2025-03-20 06:15:04] Production.INFO: Account Balance End. [2025-03-20 06:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:15:04] Production.INFO: ==19684== Releasing lock... [2025-03-20 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:15:05 [end_date_ymd] => 2025-03-20 06:15:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:15:05' and `end` < '2025-03-20 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-03-20 06:15:11] Production.ERROR: CronJobId end10 [2025-03-20 06:15:11] Production.INFO: ==19682== Releasing lock... [2025-03-20 06:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:15:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:15:14] Production.INFO: call_cost start [2025-03-20 06:15:14] Production.INFO: call_cost end [2025-03-20 06:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:15:15] Production.INFO: ==19676== Releasing lock... [2025-03-20 06:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:15:17] Production.INFO: count ==87 [2025-03-20 06:15:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:15:05 - End Time 2025-03-20 06:15:05 [2025-03-20 06:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720938', 'tblTempUsageDetail_20' ) start [2025-03-20 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720938', 'tblTempUsageDetail_20' ) end [2025-03-20 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720938', 'tblTempVendorCDR_20' ) start [2025-03-20 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720938', 'tblTempVendorCDR_20' ) end [2025-03-20 06:15:17] Production.INFO: ProcessCDR(1,14720938,1,1,2) [2025-03-20 06:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720938', 'tblTempUsageDetail_20' ) start [2025-03-20 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720938', 'tblTempUsageDetail_20' ) end [2025-03-20 06:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:15:21] Production.INFO: ==19686== Releasing lock... [2025-03-20 06:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:15:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:16:02] Production.INFO: ==19749== Lock acquired, processing the job... [2025-03-20 10:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:16:02] Production.INFO: neon service started [2025-03-20 10:16:02] Production.INFO: neon service started [2025-03-20 10:16:02] Production.INFO: ==19749== Releasing lock... [2025-03-20 10:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:16:02] Production.INFO: ==19751== Lock acquired, processing the job... [2025-03-20 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:16:02] Production.INFO: ==19753== Lock acquired, processing the job... [2025-03-20 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:16:02] Production.INFO: ==19751== Releasing lock... [2025-03-20 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:16:02] Production.INFO: ==19753== Releasing lock... [2025-03-20 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:16:03] Production.INFO: ==19761== Lock acquired, processing the job... [2025-03-20 06:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:16:03] Production.INFO: ==19755== Lock acquired, processing the job... [2025-03-20 06:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:16:03] Production.INFO: ==19763== Lock acquired, processing the job... [2025-03-20 06:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:16:03] Production.INFO: ==19757== Lock acquired, processing the job... [2025-03-20 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:16:03] Production.INFO: ==19759== Lock acquired, processing the job... [2025-03-20 06:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:16:03] Production.INFO: Account Balance Start. [2025-03-20 06:16:03] Production.INFO: CreateAllLog Start [2025-03-20 06:16:03] Production.INFO: 117 [2025-03-20 06:16:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:03] Production.INFO: ==19766== Lock acquired, processing the job... [2025-03-20 06:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:04] Production.ERROR: done [2025-03-20 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-03-20 06:16:04] Production.INFO: ==19757== Releasing lock... [2025-03-20 06:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:16:04] Production.INFO: count ==12 [2025-03-20 06:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:16:04] Production.INFO: count ==23 [2025-03-20 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720942') start [2025-03-20 06:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720942') end [2025-03-20 06:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:16:04] Production.INFO: 1 [2025-03-20 06:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:16:04] Production.ERROR: done [2025-03-20 06:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:04] Production.INFO: ==19766== Releasing lock... [2025-03-20 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:16:04] Production.INFO: Total Charge 0 [2025-03-20 06:16:04] Production.INFO: CreateAllLog End [2025-03-20 06:16:04] Production.INFO: Account Balance End. [2025-03-20 06:16:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:16:04] Production.INFO: ==19761== Releasing lock... [2025-03-20 06:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:16:05 [end_date_ymd] => 2025-03-20 06:16:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:16:05' and `end` < '2025-03-20 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-03-20 06:16:13] Production.ERROR: CronJobId end10 [2025-03-20 06:16:13] Production.INFO: ==19759== Releasing lock... [2025-03-20 06:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:16:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:16:15] Production.INFO: call_cost start [2025-03-20 06:16:15] Production.INFO: call_cost end [2025-03-20 06:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:16:16] Production.INFO: ==19755== Releasing lock... [2025-03-20 06:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:16:17] Production.INFO: count ==86 [2025-03-20 06:16:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:16:05 - End Time 2025-03-20 06:16:05 [2025-03-20 06:16:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720943', 'tblTempUsageDetail_20' ) start [2025-03-20 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720943', 'tblTempUsageDetail_20' ) end [2025-03-20 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720943', 'tblTempVendorCDR_20' ) start [2025-03-20 06:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720943', 'tblTempVendorCDR_20' ) end [2025-03-20 06:16:17] Production.INFO: ProcessCDR(1,14720943,1,1,2) [2025-03-20 06:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720943', 'tblTempUsageDetail_20' ) start [2025-03-20 06:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720943', 'tblTempUsageDetail_20' ) end [2025-03-20 06:16:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:16:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:16:20] Production.INFO: ==19763== Releasing lock... [2025-03-20 06:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:16:20] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:17:01] Production.INFO: ==19824== Lock acquired, processing the job... [2025-03-20 10:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:17:01] Production.INFO: neon service started [2025-03-20 10:17:01] Production.INFO: neon service started [2025-03-20 10:17:01] Production.INFO: ==19824== Releasing lock... [2025-03-20 10:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:17:01] Production.INFO: ==19826== Lock acquired, processing the job... [2025-03-20 06:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:17:02] Production.INFO: ==19826== Releasing lock... [2025-03-20 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:17:02] Production.INFO: ==19828== Lock acquired, processing the job... [2025-03-20 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:17:02] Production.INFO: ==19828== Releasing lock... [2025-03-20 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:17:03] Production.INFO: ==19833== Lock acquired, processing the job... [2025-03-20 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:17:03] Production.INFO: ==19831== Lock acquired, processing the job... [2025-03-20 06:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:17:03] Production.INFO: ==19841== Lock acquired, processing the job... [2025-03-20 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:17:03] Production.INFO: ==19835== Lock acquired, processing the job... [2025-03-20 06:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:17:03] Production.INFO: ==19839== Lock acquired, processing the job... [2025-03-20 06:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 06:17:03] Production.INFO: ==19837== Lock acquired, processing the job... [2025-03-20 06:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:17:03] Production.INFO: count ==12 [2025-03-20 06:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:17:03] Production.INFO: count ==23 [2025-03-20 06:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720945') start [2025-03-20 06:17:03] Production.INFO: ==19833== Releasing lock... [2025-03-20 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720945') end [2025-03-20 06:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:17:03] Production.INFO: 1 [2025-03-20 06:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:17:03] Production.INFO: Account Balance Start. [2025-03-20 06:17:03] Production.INFO: CreateAllLog Start [2025-03-20 06:17:03] Production.INFO: 117 [2025-03-20 06:17:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:03] Production.INFO: ==19841== Releasing lock... [2025-03-20 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:17:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:17:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:03] Production.ERROR: done [2025-03-20 06:17:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:17:03] Production.INFO: Date 2025-03-15 [2025-03-20 06:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:04] Production.ERROR: done [2025-03-20 06:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:17:04] Production.INFO: Total Charge 0 [2025-03-20 06:17:04] Production.INFO: CreateAllLog End [2025-03-20 06:17:04] Production.INFO: Account Balance End. [2025-03-20 06:17:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:17:04] Production.INFO: ==19837== Releasing lock... [2025-03-20 06:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:17:05 [end_date_ymd] => 2025-03-20 06:17:05 [RateCDR] => 1 ) [2025-03-20 06:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:17:05' and `end` < '2025-03-20 06:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:17:13] Production.ERROR: CronJobId end10 [2025-03-20 06:17:13] Production.INFO: ==19835== Releasing lock... [2025-03-20 06:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:17:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:17:14] Production.INFO: call_cost start [2025-03-20 06:17:14] Production.INFO: call_cost end [2025-03-20 06:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:17:15] Production.INFO: ==19831== Releasing lock... [2025-03-20 06:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:17:17] Production.INFO: count ==86 [2025-03-20 06:17:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:17:05 - End Time 2025-03-20 06:17:05 [2025-03-20 06:17:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720948', 'tblTempUsageDetail_20' ) start [2025-03-20 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720948', 'tblTempUsageDetail_20' ) end [2025-03-20 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720948', 'tblTempVendorCDR_20' ) start [2025-03-20 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720948', 'tblTempVendorCDR_20' ) end [2025-03-20 06:17:17] Production.INFO: ProcessCDR(1,14720948,1,1,2) [2025-03-20 06:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720948', 'tblTempUsageDetail_20' ) start [2025-03-20 06:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720948', 'tblTempUsageDetail_20' ) end [2025-03-20 06:17:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:17:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:17:20] Production.INFO: ==19839== Releasing lock... [2025-03-20 06:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:17:20] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:18:01] Production.INFO: ==19904== Lock acquired, processing the job... [2025-03-20 10:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:18:02] Production.INFO: neon service started [2025-03-20 10:18:02] Production.INFO: neon service started [2025-03-20 10:18:02] Production.INFO: ==19904== Releasing lock... [2025-03-20 10:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 06:18:02] Production.INFO: ==19906== Lock acquired, processing the job... [2025-03-20 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:18:02] Production.INFO: ==19908== Lock acquired, processing the job... [2025-03-20 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:18:02] Production.INFO: ==19908== Releasing lock... [2025-03-20 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:18:03] Production.INFO: ==19906== Releasing lock... [2025-03-20 06:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:18:03] Production.INFO: ==19917== Lock acquired, processing the job... [2025-03-20 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:18:04] Production.INFO: Account Balance Start. [2025-03-20 06:18:04] Production.INFO: ==19911== Lock acquired, processing the job... [2025-03-20 06:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:18:04] Production.INFO: CreateAllLog Start [2025-03-20 06:18:04] Production.INFO: 117 [2025-03-20 06:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.INFO: ==19921== Lock acquired, processing the job... [2025-03-20 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.INFO: ==19913== Lock acquired, processing the job... [2025-03-20 06:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.INFO: ==19915== Lock acquired, processing the job... [2025-03-20 06:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 06:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.INFO: count ==12 [2025-03-20 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-03-20 06:18:04] Production.INFO: count ==23 [2025-03-20 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720951') start [2025-03-20 06:18:04] Production.INFO: ==19919== Lock acquired, processing the job... [2025-03-20 06:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720951') end [2025-03-20 06:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:18:04] Production.INFO: 1 [2025-03-20 06:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.INFO: ==19921== Releasing lock... [2025-03-20 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:18:04] Production.INFO: ==19913== Releasing lock... [2025-03-20 06:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.ERROR: done [2025-03-20 06:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.ERROR: done [2025-03-20 06:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:18:04] Production.INFO: Total Charge 0 [2025-03-20 06:18:04] Production.INFO: CreateAllLog End [2025-03-20 06:18:05] Production.INFO: Account Balance End. [2025-03-20 06:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:18:05] Production.INFO: ==19917== Releasing lock... [2025-03-20 06:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:18:05 [end_date_ymd] => 2025-03-20 06:18:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:18:05' and `end` < '2025-03-20 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-03-20 06:18:13] Production.ERROR: CronJobId end10 [2025-03-20 06:18:13] Production.INFO: ==19915== Releasing lock... [2025-03-20 06:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:18:15] Production.INFO: call_cost start [2025-03-20 06:18:15] Production.INFO: call_cost end [2025-03-20 06:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:18:16] Production.INFO: ==19911== Releasing lock... [2025-03-20 06:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:18:17] Production.INFO: count ==86 [2025-03-20 06:18:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:18:05 - End Time 2025-03-20 06:18:05 [2025-03-20 06:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720953', 'tblTempUsageDetail_20' ) start [2025-03-20 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720953', 'tblTempUsageDetail_20' ) end [2025-03-20 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720953', 'tblTempVendorCDR_20' ) start [2025-03-20 06:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720953', 'tblTempVendorCDR_20' ) end [2025-03-20 06:18:17] Production.INFO: ProcessCDR(1,14720953,1,1,2) [2025-03-20 06:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:18:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:18:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720953', 'tblTempUsageDetail_20' ) start [2025-03-20 06:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720953', 'tblTempUsageDetail_20' ) end [2025-03-20 06:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:18:21] Production.INFO: ==19919== Releasing lock... [2025-03-20 06:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:18:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:19:01] Production.INFO: ==19980== Lock acquired, processing the job... [2025-03-20 10:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:19:01] Production.INFO: neon service started [2025-03-20 10:19:01] Production.INFO: neon service started [2025-03-20 10:19:01] Production.INFO: ==19980== Releasing lock... [2025-03-20 10:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:19:01] Production.INFO: ==19982== Lock acquired, processing the job... [2025-03-20 06:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:19:02] Production.INFO: ==19984== Lock acquired, processing the job... [2025-03-20 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:19:02] Production.INFO: ==19982== Releasing lock... [2025-03-20 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:19:02] Production.INFO: ==19984== Releasing lock... [2025-03-20 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:19:03] Production.INFO: ==19986== Lock acquired, processing the job... [2025-03-20 06:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:19:03] Production.INFO: ==19988== Lock acquired, processing the job... [2025-03-20 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:19:03] Production.INFO: ==19997== Lock acquired, processing the job... [2025-03-20 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:19:03] Production.INFO: ==19990== Lock acquired, processing the job... [2025-03-20 06:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:19:03] Production.INFO: count ==12 [2025-03-20 06:19:03] Production.INFO: ==19994== Lock acquired, processing the job... [2025-03-20 06:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:19:03] Production.INFO: ==19992== Lock acquired, processing the job... [2025-03-20 06:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:19:03] Production.INFO: count ==23 [2025-03-20 06:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720956') start [2025-03-20 06:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:19:03] Production.INFO: Account Balance Start. [2025-03-20 06:19:03] Production.INFO: CreateAllLog Start [2025-03-20 06:19:03] Production.INFO: 117 [2025-03-20 06:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720956') end [2025-03-20 06:19:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:19:03] Production.INFO: 1 [2025-03-20 06:19:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:03] Production.INFO: ==19988== Releasing lock... [2025-03-20 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:19:03] Production.INFO: ==19997== Releasing lock... [2025-03-20 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:19:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:19:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:03] Production.ERROR: done [2025-03-20 06:19:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:19:03] Production.INFO: Date 2025-03-15 [2025-03-20 06:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:19:04] Production.ERROR: done [2025-03-20 06:19:04] Production.INFO: Total Charge 0 [2025-03-20 06:19:04] Production.INFO: CreateAllLog End [2025-03-20 06:19:04] Production.INFO: Account Balance End. [2025-03-20 06:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:19:04] Production.INFO: ==19992== Releasing lock... [2025-03-20 06:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:19:05 [end_date_ymd] => 2025-03-20 06:19:05 [RateCDR] => 1 ) [2025-03-20 06:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:19:05' and `end` < '2025-03-20 06:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:19:13] Production.ERROR: CronJobId end10 [2025-03-20 06:19:13] Production.INFO: ==19990== Releasing lock... [2025-03-20 06:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:19:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:19:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:19:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:19:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:19:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:19:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:19:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:19:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:19:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:19:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:19:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:19:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:19:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:19:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:19:15] Production.INFO: call_cost start [2025-03-20 06:19:15] Production.INFO: call_cost end [2025-03-20 06:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:19:16] Production.INFO: ==19986== Releasing lock... [2025-03-20 06:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:19:17] Production.INFO: count ==91 [2025-03-20 06:19:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:19:05 - End Time 2025-03-20 06:19:05 [2025-03-20 06:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720958', 'tblTempUsageDetail_20' ) start [2025-03-20 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720958', 'tblTempUsageDetail_20' ) end [2025-03-20 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720958', 'tblTempVendorCDR_20' ) start [2025-03-20 06:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720958', 'tblTempVendorCDR_20' ) end [2025-03-20 06:19:17] Production.INFO: ProcessCDR(1,14720958,1,1,2) [2025-03-20 06:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720958', 'tblTempUsageDetail_20' ) start [2025-03-20 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720958', 'tblTempUsageDetail_20' ) end [2025-03-20 06:19:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:19:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:19:21] Production.INFO: ==19994== Releasing lock... [2025-03-20 06:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:19:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:20:02] Production.INFO: ==20053== Lock acquired, processing the job... [2025-03-20 10:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:20:02] Production.INFO: neon service started [2025-03-20 10:20:02] Production.INFO: neon service started [2025-03-20 10:20:02] Production.INFO: ==20053== Releasing lock... [2025-03-20 10:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:20:02] Production.INFO: ==20055== Lock acquired, processing the job... [2025-03-20 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:20:03] Production.INFO: ==20055== Releasing lock... [2025-03-20 06:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:20:03] Production.INFO: ==20057== Lock acquired, processing the job... [2025-03-20 10:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:20:03] Production.INFO: ==20057== Releasing lock... [2025-03-20 10:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:20:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:20:04] Production.INFO: ==20060== Lock acquired, processing the job... [2025-03-20 06:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 06:20:04] Production.INFO: ==20062== Lock acquired, processing the job... [2025-03-20 06:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:20:04] Production.INFO: ==20064== Lock acquired, processing the job... [2025-03-20 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 06:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:20:04] Production.ERROR: CronJob PID - 20062 [2025-03-20 06:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 06:20:04] Production.ERROR: CronJob ID - 5 [2025-03-20 06:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:20:00 [2025-03-20 06:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 06:20:04] Production.INFO: ==20060== Releasing lock... [2025-03-20 06:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 06:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 06:20:04] Production.INFO: ==20068== Lock acquired, processing the job... [2025-03-20 06:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:20:04] Production.INFO: ==20066== Lock acquired, processing the job... [2025-03-20 06:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:20:04] Production.INFO: Account Balance Start. [2025-03-20 06:20:04] Production.INFO: CreateAllLog Start [2025-03-20 06:20:04] Production.INFO: 117 [2025-03-20 06:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:20:04] Production.INFO: ==20070== Lock acquired, processing the job... [2025-03-20 06:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:20:04] Production.INFO: ==20072== Lock acquired, processing the job... [2025-03-20 06:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 06:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:20:04] Production.INFO: ==20074== Lock acquired, processing the job... [2025-03-20 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:20:04] Production.INFO: ==20064== Releasing lock... [2025-03-20 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:20:05] Production.INFO: count ==12 [2025-03-20 06:20:05] Production.INFO: Date 2025-03-14 [2025-03-20 06:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 06: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-03-20 06:20:05] Production.INFO: Date 2025-03-15 [2025-03-20 06:20:05] Production.INFO: count ==23 [2025-03-20 06:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720962') start [2025-03-20 06:20:05] Production.INFO: Date 2025-03-16 [2025-03-20 06:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 06:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:20:05] Production.ERROR: done [2025-03-20 06:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:20:05] Production.ERROR: done [2025-03-20 06:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720962') end [2025-03-20 06:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:20:05] Production.INFO: 1 [2025-03-20 06:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 06:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720963', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 06:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:20:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:20:05] Production.INFO: Total Charge 0 [2025-03-20 06:20:05] Production.INFO: CreateAllLog End [2025-03-20 06:20:05] Production.INFO: ==20074== Releasing lock... [2025-03-20 06:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:20:05] Production.ERROR: done [2025-03-20 06:20:05] Production.INFO: Account Balance End. [2025-03-20 06:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:20:05] Production.INFO: ==20068== Releasing lock... [2025-03-20 06:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:20:06 [end_date_ymd] => 2025-03-20 06:20:06 [RateCDR] => 1 ) [2025-03-20 06:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:20:06' and `end` < '2025-03-20 06:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14720963', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 06:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 06:20:09] Production.INFO: ProcessCDR(1,14720963,1,1,2) [2025-03-20 06:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14720963,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14720963,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:20:10] Production.INFO: ==20072== Releasing lock... [2025-03-20 06:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 06:20:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 06:20:14] Production.ERROR: CronJobId end10 [2025-03-20 06:20:14] Production.INFO: ==20066== Releasing lock... [2025-03-20 06:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:20:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:20:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:20:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:20:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:20:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:20:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:20:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:20:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:20:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:20:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:20:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:20:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:20:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:20:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:20:18] Production.INFO: call_cost start [2025-03-20 06:20:18] Production.INFO: call_cost end [2025-03-20 06:20:19] Production.INFO: count ==91 [2025-03-20 06:20:19] Production.ERROR: pbx CDR StartTime 2025-03-20 03:20:06 - End Time 2025-03-20 06:20:06 [2025-03-20 06:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720964', 'tblTempUsageDetail_20' ) start [2025-03-20 06:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720964', 'tblTempUsageDetail_20' ) end [2025-03-20 06:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720964', 'tblTempVendorCDR_20' ) start [2025-03-20 06:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720964', 'tblTempVendorCDR_20' ) end [2025-03-20 06:20:19] Production.INFO: ProcessCDR(1,14720964,1,1,2) [2025-03-20 06:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:20:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:20:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:20:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:20:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:20:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:20:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:20:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:20:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:20:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:20:19] Production.INFO: ==20062== Releasing lock... [2025-03-20 06:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:20:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720964', 'tblTempUsageDetail_20' ) start [2025-03-20 06:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720964', 'tblTempUsageDetail_20' ) end [2025-03-20 06:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:20:22] Production.INFO: ==20070== Releasing lock... [2025-03-20 06:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:20:22] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:21:01] Production.INFO: ==20132== Lock acquired, processing the job... [2025-03-20 10:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:21:01] Production.INFO: neon service started [2025-03-20 10:21:01] Production.INFO: neon service started [2025-03-20 10:21:01] Production.INFO: ==20132== Releasing lock... [2025-03-20 10:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:21:02] Production.INFO: ==20134== Lock acquired, processing the job... [2025-03-20 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:21:02] Production.INFO: ==20136== Lock acquired, processing the job... [2025-03-20 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:21:02] Production.INFO: ==20136== Releasing lock... [2025-03-20 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:21:02] Production.INFO: ==20134== Releasing lock... [2025-03-20 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:21:03] Production.INFO: ==20141== Lock acquired, processing the job... [2025-03-20 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:21:03] Production.INFO: ==20147== Lock acquired, processing the job... [2025-03-20 06:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:21:03] Production.INFO: ==20139== Lock acquired, processing the job... [2025-03-20 06:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:21:03] Production.INFO: ==20143== Lock acquired, processing the job... [2025-03-20 06:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:21:04] Production.INFO: ==20145== Lock acquired, processing the job... [2025-03-20 06:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:21:04] Production.INFO: ==20149== Lock acquired, processing the job... [2025-03-20 06:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:21:04] Production.INFO: ==20141== Releasing lock... [2025-03-20 06:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:21:04] Production.INFO: Account Balance Start. [2025-03-20 06:21:04] Production.INFO: CreateAllLog Start [2025-03-20 06:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:21:04] Production.INFO: 117 [2025-03-20 06: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-03-20 06:21:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:04] Production.INFO: count ==12 [2025-03-20 06: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-03-20 06:21:04] Production.INFO: count ==23 [2025-03-20 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720968') start [2025-03-20 06:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:04] Production.ERROR: done [2025-03-20 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720968') end [2025-03-20 06:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:21:04] Production.INFO: 1 [2025-03-20 06:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:04] Production.INFO: ==20149== Releasing lock... [2025-03-20 06:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:21:04] Production.ERROR: done [2025-03-20 06:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:21:05] Production.INFO: Total Charge 0 [2025-03-20 06:21:05] Production.INFO: CreateAllLog End [2025-03-20 06:21:05] Production.INFO: Account Balance End. [2025-03-20 06:21:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:21:05] Production.INFO: ==20145== Releasing lock... [2025-03-20 06:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:21:05 [end_date_ymd] => 2025-03-20 06:21:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:21:05' and `end` < '2025-03-20 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-03-20 06:21:12] Production.ERROR: CronJobId end10 [2025-03-20 06:21:12] Production.INFO: ==20143== Releasing lock... [2025-03-20 06:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:21:14] Production.INFO: call_cost start [2025-03-20 06:21:14] Production.INFO: call_cost end [2025-03-20 06:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:21:15] Production.INFO: ==20139== Releasing lock... [2025-03-20 06:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:21:18] Production.INFO: count ==91 [2025-03-20 06:21:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:21:05 - End Time 2025-03-20 06:21:05 [2025-03-20 06:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720969', 'tblTempUsageDetail_20' ) start [2025-03-20 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720969', 'tblTempUsageDetail_20' ) end [2025-03-20 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720969', 'tblTempVendorCDR_20' ) start [2025-03-20 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720969', 'tblTempVendorCDR_20' ) end [2025-03-20 06:21:18] Production.INFO: ProcessCDR(1,14720969,1,1,2) [2025-03-20 06:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720969', 'tblTempUsageDetail_20' ) start [2025-03-20 06:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720969', 'tblTempUsageDetail_20' ) end [2025-03-20 06:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:21:21] Production.INFO: ==20147== Releasing lock... [2025-03-20 06:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:21:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:22:02] Production.INFO: ==20207== Lock acquired, processing the job... [2025-03-20 10:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:22:02] Production.INFO: neon service started [2025-03-20 10:22:02] Production.INFO: neon service started [2025-03-20 10:22:02] Production.INFO: ==20207== Releasing lock... [2025-03-20 10:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:22:02] Production.INFO: ==20209== Lock acquired, processing the job... [2025-03-20 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:22:02] Production.INFO: ==20209== Releasing lock... [2025-03-20 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:22:03] Production.INFO: ==20211== Lock acquired, processing the job... [2025-03-20 10:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:22:03] Production.INFO: ==20211== Releasing lock... [2025-03-20 10:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:22:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:22:03] Production.INFO: ==20217== Lock acquired, processing the job... [2025-03-20 06:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:22:04] Production.INFO: ==20224== Lock acquired, processing the job... [2025-03-20 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:22:04] Production.INFO: ==20213== Lock acquired, processing the job... [2025-03-20 06:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:22:04] Production.INFO: ==20215== Lock acquired, processing the job... [2025-03-20 06:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:22:04] Production.INFO: count ==12 [2025-03-20 06:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:22:04] Production.INFO: count ==23 [2025-03-20 06:22:04] Production.INFO: ==20219== Lock acquired, processing the job... [2025-03-20 06:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720970') start [2025-03-20 06:22:04] Production.INFO: ==20222== Lock acquired, processing the job... [2025-03-20 06:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720970') end [2025-03-20 06:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:22:04] Production.INFO: 1 [2025-03-20 06:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:22:04] Production.INFO: Account Balance Start. [2025-03-20 06:22:04] Production.INFO: CreateAllLog Start [2025-03-20 06:22:04] Production.INFO: 117 [2025-03-20 06:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:04] Production.INFO: ==20224== Releasing lock... [2025-03-20 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:04] Production.INFO: ==20215== Releasing lock... [2025-03-20 06:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:22:04] Production.ERROR: done [2025-03-20 06:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:05] Production.ERROR: done [2025-03-20 06:22:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:22:05] Production.INFO: Total Charge 0 [2025-03-20 06:22:05] Production.INFO: CreateAllLog End [2025-03-20 06:22:05] Production.INFO: Account Balance End. [2025-03-20 06:22:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:22:05] Production.INFO: ==20219== Releasing lock... [2025-03-20 06:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:22:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:22:06 [end_date_ymd] => 2025-03-20 06:22:06 [RateCDR] => 1 ) [2025-03-20 06: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-03-20 03:22:06' and `end` < '2025-03-20 06: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-03-20 06:22:12] Production.ERROR: CronJobId end10 [2025-03-20 06:22:12] Production.INFO: ==20217== Releasing lock... [2025-03-20 06:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:22:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:22:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:22:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:22:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:22:15] Production.INFO: call_cost start [2025-03-20 06:22:15] Production.INFO: call_cost end [2025-03-20 06:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:22:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:22:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:22:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:22:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:22:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:22:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:22:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:22:16] Production.INFO: ==20213== Releasing lock... [2025-03-20 06:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:22:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:22:18] Production.INFO: count ==91 [2025-03-20 06:22:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:22:06 - End Time 2025-03-20 06:22:06 [2025-03-20 06:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720974', 'tblTempUsageDetail_20' ) start [2025-03-20 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720974', 'tblTempUsageDetail_20' ) end [2025-03-20 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720974', 'tblTempVendorCDR_20' ) start [2025-03-20 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720974', 'tblTempVendorCDR_20' ) end [2025-03-20 06:22:18] Production.INFO: ProcessCDR(1,14720974,1,1,2) [2025-03-20 06:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720974', 'tblTempUsageDetail_20' ) start [2025-03-20 06:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720974', 'tblTempUsageDetail_20' ) end [2025-03-20 06:22:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:22:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:22:22] Production.INFO: ==20222== Releasing lock... [2025-03-20 06:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:22:22] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:23:01] Production.INFO: ==20320== Lock acquired, processing the job... [2025-03-20 10:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:23:01] Production.INFO: neon service started [2025-03-20 10:23:01] Production.INFO: neon service started [2025-03-20 10:23:01] Production.INFO: ==20320== Releasing lock... [2025-03-20 10:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:23:02] Production.INFO: ==20322== Lock acquired, processing the job... [2025-03-20 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:23:02] Production.INFO: ==20324== Lock acquired, processing the job... [2025-03-20 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:23:02] Production.INFO: ==20324== Releasing lock... [2025-03-20 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:23:02] Production.INFO: ==20322== Releasing lock... [2025-03-20 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:23:03] Production.INFO: ==20331== Lock acquired, processing the job... [2025-03-20 06:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:23:03] Production.INFO: ==20327== Lock acquired, processing the job... [2025-03-20 06:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:23:03] Production.INFO: ==20335== Lock acquired, processing the job... [2025-03-20 06:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:23:03] Production.INFO: ==20329== Lock acquired, processing the job... [2025-03-20 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:23:03] Production.INFO: ==20333== Lock acquired, processing the job... [2025-03-20 06:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:23:03] Production.INFO: ==20337== Lock acquired, processing the job... [2025-03-20 06:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:23:03] Production.INFO: Account Balance Start. [2025-03-20 06:23:03] Production.INFO: ==20329== Releasing lock... [2025-03-20 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:23:03] Production.INFO: CreateAllLog Start [2025-03-20 06:23:04] Production.INFO: 117 [2025-03-20 06:23:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.INFO: count ==12 [2025-03-20 06:23:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.ERROR: done [2025-03-20 06:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:23:04] Production.INFO: count ==23 [2025-03-20 06:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720978') start [2025-03-20 06:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.ERROR: done [2025-03-20 06:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720978') end [2025-03-20 06:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:23:04] Production.INFO: 1 [2025-03-20 06:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.INFO: ==20337== Releasing lock... [2025-03-20 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:23:04] Production.INFO: Total Charge 0 [2025-03-20 06:23:04] Production.INFO: CreateAllLog End [2025-03-20 06:23:04] Production.INFO: Account Balance End. [2025-03-20 06:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:23:04] Production.INFO: ==20333== Releasing lock... [2025-03-20 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:23:05 [end_date_ymd] => 2025-03-20 06:23:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:23:05' and `end` < '2025-03-20 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-03-20 06:23:13] Production.ERROR: CronJobId end10 [2025-03-20 06:23:13] Production.INFO: ==20331== Releasing lock... [2025-03-20 06:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:23:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:23:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:23:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:23:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:23:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:23:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:23:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:23:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:23:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:23:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:23:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:23:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:23:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:23:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:23:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:23:16] Production.INFO: call_cost start [2025-03-20 06:23:16] Production.INFO: call_cost end [2025-03-20 06:23:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:23:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:23:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:23:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:23:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:23:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:23:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:23:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:23:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:23:17] Production.INFO: ==20327== Releasing lock... [2025-03-20 06:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:23:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:23:17] Production.INFO: count ==82 [2025-03-20 06:23:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:23:05 - End Time 2025-03-20 06:23:05 [2025-03-20 06:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720979', 'tblTempUsageDetail_20' ) start [2025-03-20 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720979', 'tblTempUsageDetail_20' ) end [2025-03-20 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720979', 'tblTempVendorCDR_20' ) start [2025-03-20 06:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720979', 'tblTempVendorCDR_20' ) end [2025-03-20 06:23:17] Production.INFO: ProcessCDR(1,14720979,1,1,2) [2025-03-20 06:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720979', 'tblTempUsageDetail_20' ) start [2025-03-20 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720979', 'tblTempUsageDetail_20' ) end [2025-03-20 06:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:23:21] Production.INFO: ==20335== Releasing lock... [2025-03-20 06:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:23:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:24:02] Production.INFO: ==20391== Lock acquired, processing the job... [2025-03-20 10:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:24:02] Production.INFO: neon service started [2025-03-20 10:24:02] Production.INFO: neon service started [2025-03-20 10:24:02] Production.INFO: ==20391== Releasing lock... [2025-03-20 10:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:24:02] Production.INFO: ==20395== Lock acquired, processing the job... [2025-03-20 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:24:02] Production.INFO: ==20395== Releasing lock... [2025-03-20 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:24:02] Production.INFO: ==20393== Lock acquired, processing the job... [2025-03-20 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:24:03] Production.INFO: ==20393== Releasing lock... [2025-03-20 06:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:24:04] Production.INFO: ==20398== Lock acquired, processing the job... [2025-03-20 06:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:24:04] Production.INFO: ==20406== Lock acquired, processing the job... [2025-03-20 06:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:24:04] Production.INFO: ==20400== Lock acquired, processing the job... [2025-03-20 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:24:04] Production.INFO: ==20402== Lock acquired, processing the job... [2025-03-20 06:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:24:04] Production.INFO: ==20404== Lock acquired, processing the job... [2025-03-20 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:24:04] Production.INFO: ==20408== Lock acquired, processing the job... [2025-03-20 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:24:04] Production.INFO: Account Balance Start. [2025-03-20 06:24:04] Production.INFO: CreateAllLog Start [2025-03-20 06:24:04] Production.INFO: 117 [2025-03-20 06:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:24:04] Production.INFO: count ==12 [2025-03-20 06:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:24:04] Production.INFO: count ==23 [2025-03-20 06:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720982') start [2025-03-20 06:24:04] Production.ERROR: done [2025-03-20 06:24:04] Production.INFO: ==20400== Releasing lock... [2025-03-20 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14720982') end [2025-03-20 06:24:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:24:05] Production.INFO: 1 [2025-03-20 06:24:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:24:05] Production.INFO: Date 2025-03-09 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.ERROR: done [2025-03-20 06:24:05] Production.INFO: Date 2025-03-10 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.INFO: Date 2025-03-11 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.INFO: ==20408== Releasing lock... [2025-03-20 06:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:24:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:24:05] Production.INFO: Date 2025-03-12 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.INFO: Date 2025-03-13 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.INFO: Date 2025-03-14 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.INFO: Date 2025-03-15 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.INFO: Date 2025-03-16 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.INFO: Date 2025-03-17 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:24:05] Production.INFO: Total Charge 0 [2025-03-20 06:24:05] Production.INFO: CreateAllLog End [2025-03-20 06:24:05] Production.INFO: Account Balance End. [2025-03-20 06:24:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:24:05] Production.INFO: ==20404== Releasing lock... [2025-03-20 06:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:24:06 [end_date_ymd] => 2025-03-20 06:24:06 [RateCDR] => 1 ) [2025-03-20 06:24:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:24:06' and `end` < '2025-03-20 06:24:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:24:13] Production.ERROR: CronJobId end10 [2025-03-20 06:24:13] Production.INFO: ==20402== Releasing lock... [2025-03-20 06:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:24:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:24:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:24:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:24:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:24:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:24:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:24:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:24:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:24:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:24:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:24:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:24:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:24:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:24:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:24:16] Production.INFO: call_cost start [2025-03-20 06:24:16] Production.INFO: call_cost end [2025-03-20 06:24:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:24:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:24:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:24:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:24:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:24:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:24:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:24:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:24:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:24:17] Production.INFO: ==20398== Releasing lock... [2025-03-20 06:24:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:24:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:24:18] Production.INFO: count ==79 [2025-03-20 06:24:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:24:06 - End Time 2025-03-20 06:24:06 [2025-03-20 06:24:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720984', 'tblTempUsageDetail_20' ) start [2025-03-20 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720984', 'tblTempUsageDetail_20' ) end [2025-03-20 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720984', 'tblTempVendorCDR_20' ) start [2025-03-20 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720984', 'tblTempVendorCDR_20' ) end [2025-03-20 06:24:18] Production.INFO: ProcessCDR(1,14720984,1,1,2) [2025-03-20 06:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720984', 'tblTempUsageDetail_20' ) start [2025-03-20 06:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720984', 'tblTempUsageDetail_20' ) end [2025-03-20 06:24:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:24:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:24:22] Production.INFO: ==20406== Releasing lock... [2025-03-20 06:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:24:22] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 10:25:01] Production.INFO: ==20464== Lock acquired, processing the job... [2025-03-20 10:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:25:01] Production.INFO: neon service started [2025-03-20 10:25:01] Production.INFO: neon service started [2025-03-20 10:25:01] Production.INFO: ==20464== Releasing lock... [2025-03-20 10:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:25:02] Production.INFO: ==20466== Lock acquired, processing the job... [2025-03-20 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:25:02] Production.INFO: ==20466== Releasing lock... [2025-03-20 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:25:02] Production.INFO: ==20468== Lock acquired, processing the job... [2025-03-20 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:25:02] Production.INFO: ==20468== Releasing lock... [2025-03-20 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:25:03] Production.INFO: ==20478== Lock acquired, processing the job... [2025-03-20 06:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:25:03] Production.INFO: ==20470== Lock acquired, processing the job... [2025-03-20 06:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:25:03] Production.INFO: ==20480== Lock acquired, processing the job... [2025-03-20 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:25:03] Production.INFO: ==20474== Lock acquired, processing the job... [2025-03-20 06:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:25:03] Production.INFO: ==20472== Lock acquired, processing the job... [2025-03-20 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:25:03] Production.INFO: ==20476== Lock acquired, processing the job... [2025-03-20 06:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:25:03] Production.ERROR: done [2025-03-20 06:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:25:03] Production.INFO: Account Balance Start. [2025-03-20 06:25:03] Production.INFO: CreateAllLog Start [2025-03-20 06:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:25:03] Production.INFO: 117 [2025-03-20 06:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 06:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:03] Production.INFO: count ==12 [2025-03-20 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-03-20 06:25:03] Production.INFO: count ==23 [2025-03-20 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720985') start [2025-03-20 06:25:03] Production.ERROR: done [2025-03-20 06:25:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720985') end [2025-03-20 06:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:25:03] Production.INFO: 1 [2025-03-20 06:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:25:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:04] Production.INFO: ==20480== Releasing lock... [2025-03-20 06:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:04] Production.INFO: ==20472== Releasing lock... [2025-03-20 06:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:25:04] Production.INFO: Total Charge 0 [2025-03-20 06:25:04] Production.INFO: CreateAllLog End [2025-03-20 06:25:04] Production.INFO: Account Balance End. [2025-03-20 06:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:25:04] Production.INFO: ==20476== Releasing lock... [2025-03-20 06:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:25:05 [end_date_ymd] => 2025-03-20 06:25:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:25:05' and `end` < '2025-03-20 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-03-20 06:25:12] Production.ERROR: CronJobId end10 [2025-03-20 06:25:12] Production.INFO: ==20474== Releasing lock... [2025-03-20 06:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:25:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:25:14] Production.INFO: call_cost start [2025-03-20 06:25:14] Production.INFO: call_cost end [2025-03-20 06:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:25:15] Production.INFO: ==20470== Releasing lock... [2025-03-20 06:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:25:17] Production.INFO: count ==84 [2025-03-20 06:25:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:25:05 - End Time 2025-03-20 06:25:05 [2025-03-20 06:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720989', 'tblTempUsageDetail_20' ) start [2025-03-20 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720989', 'tblTempUsageDetail_20' ) end [2025-03-20 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720989', 'tblTempVendorCDR_20' ) start [2025-03-20 06:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720989', 'tblTempVendorCDR_20' ) end [2025-03-20 06:25:17] Production.INFO: ProcessCDR(1,14720989,1,1,2) [2025-03-20 06:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720989', 'tblTempUsageDetail_20' ) start [2025-03-20 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720989', 'tblTempUsageDetail_20' ) end [2025-03-20 06:25:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:25:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:25:21] Production.INFO: ==20478== Releasing lock... [2025-03-20 06:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:25:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 10:26:02] Production.INFO: ==20541== Lock acquired, processing the job... [2025-03-20 10:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:26:02] Production.INFO: neon service started [2025-03-20 10:26:02] Production.INFO: neon service started [2025-03-20 10:26:02] Production.INFO: ==20541== Releasing lock... [2025-03-20 10:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:26:02] Production.INFO: ==20543== Lock acquired, processing the job... [2025-03-20 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:26:02] Production.INFO: ==20543== Releasing lock... [2025-03-20 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:26:02] Production.INFO: ==20545== Lock acquired, processing the job... [2025-03-20 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:26:03] Production.INFO: ==20545== Releasing lock... [2025-03-20 10:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:26:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:26:03] Production.INFO: ==20559== Lock acquired, processing the job... [2025-03-20 06:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:26:03] Production.INFO: ==20555== Lock acquired, processing the job... [2025-03-20 06:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:26:03] Production.INFO: ==20549== Lock acquired, processing the job... [2025-03-20 06:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:26:04] Production.INFO: Account Balance Start. [2025-03-20 06:26:04] Production.INFO: CreateAllLog Start [2025-03-20 06:26:04] Production.INFO: 117 [2025-03-20 06:26:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:26:04] Production.INFO: ==20551== Lock acquired, processing the job... [2025-03-20 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:26:04] Production.INFO: count ==12 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:26:04] Production.INFO: count ==23 [2025-03-20 06:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720990') start [2025-03-20 06:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.INFO: ==20553== Lock acquired, processing the job... [2025-03-20 06:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720990') end [2025-03-20 06:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:26:04] Production.INFO: 1 [2025-03-20 06:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.INFO: ==20557== Lock acquired, processing the job... [2025-03-20 06:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.INFO: ==20559== Releasing lock... [2025-03-20 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.INFO: ==20551== Releasing lock... [2025-03-20 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:26:04] Production.INFO: Total Charge 0 [2025-03-20 06:26:04] Production.INFO: CreateAllLog End [2025-03-20 06:26:04] Production.ERROR: done [2025-03-20 06:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:26:04] Production.INFO: Account Balance End. [2025-03-20 06:26:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:26:04] Production.INFO: ==20555== Releasing lock... [2025-03-20 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:26:04] Production.ERROR: done [2025-03-20 06:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:26:05 [end_date_ymd] => 2025-03-20 06:26:05 [RateCDR] => 1 ) [2025-03-20 06:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:26:05' and `end` < '2025-03-20 06:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:26:13] Production.ERROR: CronJobId end10 [2025-03-20 06:26:13] Production.INFO: ==20553== Releasing lock... [2025-03-20 06:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:26:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:26:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:26:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:26:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:26:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:26:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:26:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:26:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:26:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:26:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:26:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:26:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:26:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:26:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:26:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:26:16] Production.INFO: call_cost start [2025-03-20 06:26:16] Production.INFO: call_cost end [2025-03-20 06:26:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:26:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:26:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:26:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:26:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:26:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:26:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:26:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:26:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:26:17] Production.INFO: ==20549== Releasing lock... [2025-03-20 06:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:26:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:26:18] Production.INFO: count ==84 [2025-03-20 06:26:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:26:05 - End Time 2025-03-20 06:26:05 [2025-03-20 06:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720994', 'tblTempUsageDetail_20' ) start [2025-03-20 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720994', 'tblTempUsageDetail_20' ) end [2025-03-20 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720994', 'tblTempVendorCDR_20' ) start [2025-03-20 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720994', 'tblTempVendorCDR_20' ) end [2025-03-20 06:26:18] Production.INFO: ProcessCDR(1,14720994,1,1,2) [2025-03-20 06:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720994', 'tblTempUsageDetail_20' ) start [2025-03-20 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720994', 'tblTempUsageDetail_20' ) end [2025-03-20 06:26:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:26:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:26:21] Production.INFO: ==20557== Releasing lock... [2025-03-20 06:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:26:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 10:27:01] Production.INFO: ==20616== Lock acquired, processing the job... [2025-03-20 10:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:27:01] Production.INFO: neon service started [2025-03-20 10:27:01] Production.INFO: neon service started [2025-03-20 10:27:01] Production.INFO: ==20616== Releasing lock... [2025-03-20 10:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:27:02] Production.INFO: ==20620== Lock acquired, processing the job... [2025-03-20 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:27:02] Production.INFO: ==20620== Releasing lock... [2025-03-20 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:27:02] Production.INFO: ==20618== Lock acquired, processing the job... [2025-03-20 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:27:02] Production.INFO: ==20618== Releasing lock... [2025-03-20 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:27:03] Production.INFO: ==20622== Lock acquired, processing the job... [2025-03-20 06:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:27:03] Production.INFO: ==20624== Lock acquired, processing the job... [2025-03-20 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:27:03] Production.INFO: ==20626== Lock acquired, processing the job... [2025-03-20 06:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:27:03] Production.INFO: ==20628== Lock acquired, processing the job... [2025-03-20 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:27:03] Production.INFO: ==20630== Lock acquired, processing the job... [2025-03-20 06:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:27:03] Production.INFO: Account Balance Start. [2025-03-20 06:27:03] Production.INFO: CreateAllLog Start [2025-03-20 06:27:03] Production.INFO: 117 [2025-03-20 06:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:27:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:03] Production.INFO: ==20632== Lock acquired, processing the job... [2025-03-20 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:27:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:03] Production.INFO: ==20624== Releasing lock... [2025-03-20 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:27:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:27:03] Production.INFO: count ==12 [2025-03-20 06:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:27:03] Production.INFO: count ==23 [2025-03-20 06:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14720998') start [2025-03-20 06:27:04] Production.ERROR: done [2025-03-20 06:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14720998') end [2025-03-20 06:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:27:04] Production.INFO: 1 [2025-03-20 06:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:04] Production.INFO: ==20632== Releasing lock... [2025-03-20 06:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:04] Production.ERROR: done [2025-03-20 06:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:27:04] Production.INFO: Total Charge 0 [2025-03-20 06:27:04] Production.INFO: CreateAllLog End [2025-03-20 06:27:04] Production.INFO: Account Balance End. [2025-03-20 06:27:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:27:04] Production.INFO: ==20628== Releasing lock... [2025-03-20 06:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:27:05 [end_date_ymd] => 2025-03-20 06:27:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:27:05' and `end` < '2025-03-20 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-03-20 06:27:12] Production.ERROR: CronJobId end10 [2025-03-20 06:27:12] Production.INFO: ==20626== Releasing lock... [2025-03-20 06:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:27:15] Production.INFO: call_cost start [2025-03-20 06:27:15] Production.INFO: call_cost end [2025-03-20 06:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:27:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:27:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:27:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:27:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:27:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:27:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:27:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:27:16] Production.INFO: ==20622== Releasing lock... [2025-03-20 06:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:27:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:27:17] Production.INFO: count ==83 [2025-03-20 06:27:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:27:05 - End Time 2025-03-20 06:27:05 [2025-03-20 06:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720999', 'tblTempUsageDetail_20' ) start [2025-03-20 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14720999', 'tblTempUsageDetail_20' ) end [2025-03-20 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720999', 'tblTempVendorCDR_20' ) start [2025-03-20 06:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14720999', 'tblTempVendorCDR_20' ) end [2025-03-20 06:27:17] Production.INFO: ProcessCDR(1,14720999,1,1,2) [2025-03-20 06:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14720999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14720999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14720999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14720999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720999', 'tblTempUsageDetail_20' ) start [2025-03-20 06:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14720999', 'tblTempUsageDetail_20' ) end [2025-03-20 06:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:27:21] Production.INFO: ==20630== Releasing lock... [2025-03-20 06:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:27:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:28:02] Production.INFO: ==20690== Lock acquired, processing the job... [2025-03-20 10:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:28:02] Production.INFO: neon service started [2025-03-20 10:28:02] Production.INFO: neon service started [2025-03-20 10:28:02] Production.INFO: ==20690== Releasing lock... [2025-03-20 10:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:28:02] Production.INFO: ==20695== Lock acquired, processing the job... [2025-03-20 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:28:02] Production.INFO: ==20695== Releasing lock... [2025-03-20 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:28:02] Production.INFO: ==20693== Lock acquired, processing the job... [2025-03-20 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:28:03] Production.INFO: ==20693== Releasing lock... [2025-03-20 06:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:28:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:28:03] Production.INFO: ==20699== Lock acquired, processing the job... [2025-03-20 06:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:28:03] Production.INFO: ==20697== Lock acquired, processing the job... [2025-03-20 06:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:28:03] Production.INFO: ==20703== Lock acquired, processing the job... [2025-03-20 06:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:28:04] Production.INFO: Account Balance Start. [2025-03-20 06:28:04] Production.INFO: CreateAllLog Start [2025-03-20 06:28:04] Production.INFO: ==20701== Lock acquired, processing the job... [2025-03-20 06:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:28:04] Production.INFO: 117 [2025-03-20 06:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:28:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.INFO: ==20706== Lock acquired, processing the job... [2025-03-20 06:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:28:04] Production.INFO: ==20699== Releasing lock... [2025-03-20 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.INFO: ==20708== Lock acquired, processing the job... [2025-03-20 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:28:04] Production.INFO: count ==12 [2025-03-20 06:28:04] Production.ERROR: done [2025-03-20 06:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 06:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:28:04] Production.INFO: count ==23 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721003') start [2025-03-20 06:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.ERROR: done [2025-03-20 06:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721003') end [2025-03-20 06:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:28:04] Production.INFO: 1 [2025-03-20 06:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:28:04] Production.INFO: ==20708== Releasing lock... [2025-03-20 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:28:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:28:05] Production.INFO: Total Charge 0 [2025-03-20 06:28:05] Production.INFO: CreateAllLog End [2025-03-20 06:28:05] Production.INFO: Account Balance End. [2025-03-20 06:28:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:28:05] Production.INFO: ==20703== Releasing lock... [2025-03-20 06:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:28:05 [end_date_ymd] => 2025-03-20 06:28:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:28:05' and `end` < '2025-03-20 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-03-20 06:28:11] Production.ERROR: CronJobId end10 [2025-03-20 06:28:11] Production.INFO: ==20701== Releasing lock... [2025-03-20 06:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:28:15] Production.INFO: call_cost start [2025-03-20 06:28:15] Production.INFO: call_cost end [2025-03-20 06:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:28:16] Production.INFO: ==20697== Releasing lock... [2025-03-20 06:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:28:18] Production.INFO: count ==80 [2025-03-20 06:28:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:28:05 - End Time 2025-03-20 06:28:05 [2025-03-20 06:28:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721004', 'tblTempUsageDetail_20' ) start [2025-03-20 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721004', 'tblTempUsageDetail_20' ) end [2025-03-20 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721004', 'tblTempVendorCDR_20' ) start [2025-03-20 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721004', 'tblTempVendorCDR_20' ) end [2025-03-20 06:28:18] Production.INFO: ProcessCDR(1,14721004,1,1,2) [2025-03-20 06:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721004', 'tblTempUsageDetail_20' ) start [2025-03-20 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721004', 'tblTempUsageDetail_20' ) end [2025-03-20 06:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:28:21] Production.INFO: ==20706== Releasing lock... [2025-03-20 06:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:28:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:29:01] Production.INFO: ==20763== Lock acquired, processing the job... [2025-03-20 10:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:29:01] Production.INFO: neon service started [2025-03-20 10:29:01] Production.INFO: neon service started [2025-03-20 10:29:01] Production.INFO: ==20763== Releasing lock... [2025-03-20 10:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:29:02] Production.INFO: ==20765== Lock acquired, processing the job... [2025-03-20 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:29:02] Production.INFO: ==20765== Releasing lock... [2025-03-20 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:29:02] Production.INFO: ==20767== Lock acquired, processing the job... [2025-03-20 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:29:02] Production.INFO: ==20767== Releasing lock... [2025-03-20 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:29:03] Production.INFO: ==20780== Lock acquired, processing the job... [2025-03-20 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:29:03] Production.INFO: ==20778== Lock acquired, processing the job... [2025-03-20 06:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:29:03] Production.INFO: ==20769== Lock acquired, processing the job... [2025-03-20 06:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:29:03] Production.INFO: ==20772== Lock acquired, processing the job... [2025-03-20 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:29:03] Production.INFO: ==20774== Lock acquired, processing the job... [2025-03-20 06:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 06:29:03] Production.INFO: ==20776== Lock acquired, processing the job... [2025-03-20 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:29:03] Production.INFO: count ==12 [2025-03-20 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-03-20 06:29:03] Production.INFO: count ==23 [2025-03-20 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721005') start [2025-03-20 06:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:29:03] Production.INFO: Account Balance Start. [2025-03-20 06:29:03] Production.INFO: CreateAllLog Start [2025-03-20 06:29:03] Production.INFO: 117 [2025-03-20 06:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:29:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721005') end [2025-03-20 06:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:29:04] Production.INFO: 1 [2025-03-20 06:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.ERROR: done [2025-03-20 06:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.ERROR: done [2025-03-20 06:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.INFO: ==20780== Releasing lock... [2025-03-20 06:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.INFO: ==20772== Releasing lock... [2025-03-20 06:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:29:04] Production.INFO: Total Charge 0 [2025-03-20 06:29:04] Production.INFO: CreateAllLog End [2025-03-20 06:29:04] Production.INFO: Account Balance End. [2025-03-20 06:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:29:05] Production.INFO: ==20776== Releasing lock... [2025-03-20 06:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:29:05 [end_date_ymd] => 2025-03-20 06:29:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:29:05' and `end` < '2025-03-20 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-03-20 06:29:12] Production.ERROR: CronJobId end10 [2025-03-20 06:29:12] Production.INFO: ==20774== Releasing lock... [2025-03-20 06:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:29:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:29:16] Production.INFO: call_cost start [2025-03-20 06:29:16] Production.INFO: call_cost end [2025-03-20 06:29:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:29:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:29:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:29:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:29:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:29:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:29:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:29:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:29:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:29:17] Production.INFO: ==20769== Releasing lock... [2025-03-20 06:29:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:29:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:29:17] Production.INFO: count ==80 [2025-03-20 06:29:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:29:05 - End Time 2025-03-20 06:29:05 [2025-03-20 06:29:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721009', 'tblTempUsageDetail_20' ) start [2025-03-20 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721009', 'tblTempUsageDetail_20' ) end [2025-03-20 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721009', 'tblTempVendorCDR_20' ) start [2025-03-20 06:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721009', 'tblTempVendorCDR_20' ) end [2025-03-20 06:29:17] Production.INFO: ProcessCDR(1,14721009,1,1,2) [2025-03-20 06:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721009', 'tblTempUsageDetail_20' ) start [2025-03-20 06:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721009', 'tblTempUsageDetail_20' ) end [2025-03-20 06:29:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:29:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:29:20] Production.INFO: ==20778== Releasing lock... [2025-03-20 06:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:29:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:30:02] Production.INFO: ==20835== Lock acquired, processing the job... [2025-03-20 10:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:30:02] Production.INFO: neon service started [2025-03-20 10:30:02] Production.INFO: neon service started [2025-03-20 10:30:02] Production.INFO: ==20835== Releasing lock... [2025-03-20 10:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:30:02] Production.INFO: ==20837== Lock acquired, processing the job... [2025-03-20 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:30:02] Production.INFO: ==20839== Lock acquired, processing the job... [2025-03-20 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:30:02] Production.INFO: ==20839== Releasing lock... [2025-03-20 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:30:03] Production.INFO: ==20837== Releasing lock... [2025-03-20 06:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:30:04] Production.INFO: ==20841== Lock acquired, processing the job... [2025-03-20 06:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 06:30:04] Production.INFO: ==20845== Lock acquired, processing the job... [2025-03-20 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:30:04] Production.INFO: ==20847== Lock acquired, processing the job... [2025-03-20 06:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:30:04] Production.INFO: ==20843== Lock acquired, processing the job... [2025-03-20 06:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:30:04] Production.INFO: ==20851== Lock acquired, processing the job... [2025-03-20 06:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 06:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:30:04] Production.ERROR: CronJob PID - 20845 [2025-03-20 06:30:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 06:30:04] Production.ERROR: CronJob ID - 7 [2025-03-20 06:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:30:00 [2025-03-20 06:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:30:04] Production.ERROR: CronJob PID - 20847 [2025-03-20 06:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 06:30:04] Production.ERROR: CronJob ID - 10 [2025-03-20 06:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:30:00 [2025-03-20 06:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 06:30:04] Production.INFO: ==20841== Releasing lock... [2025-03-20 06:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 06:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 06:30:04] Production.INFO: ==20849== Lock acquired, processing the job... [2025-03-20 06:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:30:04] Production.INFO: ==20855== Lock acquired, processing the job... [2025-03-20 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:30:04] Production.INFO: ==20853== Lock acquired, processing the job... [2025-03-20 06:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 06:30:04] Production.INFO: Account Balance Start. [2025-03-20 06:30:04] Production.INFO: CreateAllLog Start [2025-03-20 06:30:04] Production.ERROR: done [2025-03-20 06:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:30:04] Production.INFO: 117 [2025-03-20 06:30:04] Production.INFO: ==20845== Releasing lock... [2025-03-20 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:04] Production.INFO: count ==12 [2025-03-20 06:30:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:30:05] Production.INFO: count ==23 [2025-03-20 06:30:05] Production.ERROR: done [2025-03-20 06:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721013') start [2025-03-20 06:30:05] Production.INFO: Date 2025-03-10 [2025-03-20 06:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:05] Production.INFO: Date 2025-03-11 [2025-03-20 06:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:05] Production.INFO: Date 2025-03-12 [2025-03-20 06:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:05] Production.INFO: Date 2025-03-13 [2025-03-20 06:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:05] Production.ERROR: done [2025-03-20 06:30:05] Production.INFO: Date 2025-03-14 [2025-03-20 06:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721013') end [2025-03-20 06:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:30:05] Production.INFO: 1 [2025-03-20 06:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:30:05] Production.INFO: Date 2025-03-15 [2025-03-20 06:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:05] Production.INFO: Date 2025-03-16 [2025-03-20 06:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:05] Production.INFO: ==20855== Releasing lock... [2025-03-20 06:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 06:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721015', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 06:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 06:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:30:05] Production.INFO: Total Charge 0 [2025-03-20 06:30:05] Production.INFO: CreateAllLog End [2025-03-20 06:30:05] Production.INFO: Account Balance End. [2025-03-20 06:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:30:05] Production.INFO: ==20849== Releasing lock... [2025-03-20 06:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:30:06 [end_date_ymd] => 2025-03-20 06:30:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:30:06' and `end` < '2025-03-20 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-03-20 06:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721015', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 06:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 06:30:09] Production.INFO: ProcessCDR(1,14721015,1,1,2) [2025-03-20 06:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721015,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721015,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:30:09] Production.INFO: ==20853== Releasing lock... [2025-03-20 06:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 06:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 06:30:14] Production.ERROR: CronJobId end10 [2025-03-20 06:30:14] Production.INFO: ==20847== Releasing lock... [2025-03-20 06:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:30:16] Production.INFO: call_cost start [2025-03-20 06:30:16] Production.INFO: call_cost end [2025-03-20 06:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:30:17] Production.INFO: ==20843== Releasing lock... [2025-03-20 06:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:30:18] Production.INFO: count ==72 [2025-03-20 06:30:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:30:06 - End Time 2025-03-20 06:30:06 [2025-03-20 06:30:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721014', 'tblTempUsageDetail_20' ) start [2025-03-20 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721014', 'tblTempUsageDetail_20' ) end [2025-03-20 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721014', 'tblTempVendorCDR_20' ) start [2025-03-20 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721014', 'tblTempVendorCDR_20' ) end [2025-03-20 06:30:18] Production.INFO: ProcessCDR(1,14721014,1,1,2) [2025-03-20 06:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721014', 'tblTempUsageDetail_20' ) start [2025-03-20 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721014', 'tblTempUsageDetail_20' ) end [2025-03-20 06:30:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:30:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:30:21] Production.INFO: ==20851== Releasing lock... [2025-03-20 06:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:30:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 10:31:01] Production.INFO: ==20911== Lock acquired, processing the job... [2025-03-20 10:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:31:01] Production.INFO: neon service started [2025-03-20 10:31:01] Production.INFO: neon service started [2025-03-20 10:31:01] Production.INFO: ==20911== Releasing lock... [2025-03-20 10:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:31:01] Production.INFO: ==20913== Lock acquired, processing the job... [2025-03-20 06:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:31:02] Production.INFO: ==20913== Releasing lock... [2025-03-20 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:31:02] Production.INFO: ==20915== Lock acquired, processing the job... [2025-03-20 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:31:02] Production.INFO: ==20915== Releasing lock... [2025-03-20 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:31:03] Production.INFO: ==20918== Lock acquired, processing the job... [2025-03-20 06:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:31:03] Production.INFO: ==20920== Lock acquired, processing the job... [2025-03-20 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:31:03] Production.INFO: ==20922== Lock acquired, processing the job... [2025-03-20 06:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:31:03] Production.INFO: ==20924== Lock acquired, processing the job... [2025-03-20 06:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:31:03] Production.INFO: Account Balance Start. [2025-03-20 06:31:03] Production.INFO: CreateAllLog Start [2025-03-20 06:31:03] Production.INFO: 117 [2025-03-20 06:31:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:31:03] Production.INFO: ==20926== Lock acquired, processing the job... [2025-03-20 06:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:31:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:03] Production.INFO: ==20928== Lock acquired, processing the job... [2025-03-20 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:31:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:03] Production.INFO: ==20920== Releasing lock... [2025-03-20 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 06:31:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:03] Production.INFO: count ==12 [2025-03-20 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-03-20 06:31:03] Production.INFO: count ==23 [2025-03-20 06:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721019') start [2025-03-20 06:31:03] Production.INFO: Date 2025-03-15 [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:03] Production.ERROR: done [2025-03-20 06:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721019') end [2025-03-20 06:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:31:03] Production.INFO: 1 [2025-03-20 06:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:31:03] Production.INFO: Date 2025-03-16 [2025-03-20 06:31:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:03] Production.INFO: Date 2025-03-17 [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:03] Production.INFO: Date 2025-03-18 [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:03] Production.INFO: ==20928== Releasing lock... [2025-03-20 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:31:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:31:03] Production.INFO: Date 2025-03-19 [2025-03-20 06:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:04] Production.ERROR: done [2025-03-20 06:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:31:04] Production.INFO: Total Charge 0 [2025-03-20 06:31:04] Production.INFO: CreateAllLog End [2025-03-20 06:31:04] Production.INFO: Account Balance End. [2025-03-20 06:31:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:31:04] Production.INFO: ==20924== Releasing lock... [2025-03-20 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:31:05 [end_date_ymd] => 2025-03-20 06:31:05 [RateCDR] => 1 ) [2025-03-20 06:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:31:05' and `end` < '2025-03-20 06:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:31:11] Production.ERROR: CronJobId end10 [2025-03-20 06:31:11] Production.INFO: ==20922== Releasing lock... [2025-03-20 06:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:31:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:31:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:31:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:31:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:31:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:31:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:31:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:31:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:31:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:31:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:31:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:31:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:31:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:31:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:31:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:31:13] Production.INFO: call_cost start [2025-03-20 06:31:13] Production.INFO: call_cost end [2025-03-20 06:31:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:31:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:31:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:31:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:31:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:31:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:31:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:31:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:31:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:31:14] Production.INFO: ==20918== Releasing lock... [2025-03-20 06:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:31:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:31:17] Production.INFO: count ==74 [2025-03-20 06:31:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:31:05 - End Time 2025-03-20 06:31:05 [2025-03-20 06:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721020', 'tblTempUsageDetail_20' ) start [2025-03-20 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721020', 'tblTempUsageDetail_20' ) end [2025-03-20 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721020', 'tblTempVendorCDR_20' ) start [2025-03-20 06:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721020', 'tblTempVendorCDR_20' ) end [2025-03-20 06:31:17] Production.INFO: ProcessCDR(1,14721020,1,1,2) [2025-03-20 06:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721020,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721020,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721020', 'tblTempUsageDetail_20' ) start [2025-03-20 06:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721020', 'tblTempUsageDetail_20' ) end [2025-03-20 06:31:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:31:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:31:20] Production.INFO: ==20926== Releasing lock... [2025-03-20 06:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:31:20] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 10:32:02] Production.INFO: ==20983== Lock acquired, processing the job... [2025-03-20 10:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:32:02] Production.INFO: neon service started [2025-03-20 10:32:02] Production.INFO: neon service started [2025-03-20 10:32:02] Production.INFO: ==20983== Releasing lock... [2025-03-20 10:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:32:02] Production.INFO: ==20985== Lock acquired, processing the job... [2025-03-20 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:32:02] Production.INFO: ==20985== Releasing lock... [2025-03-20 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:32:03] Production.INFO: ==20987== Lock acquired, processing the job... [2025-03-20 10:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:32:03] Production.INFO: ==20987== Releasing lock... [2025-03-20 10:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:32:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:32:03] Production.INFO: ==20989== Lock acquired, processing the job... [2025-03-20 06:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:32:03] Production.INFO: ==20993== Lock acquired, processing the job... [2025-03-20 06:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:32:03] Production.INFO: ==20998== Lock acquired, processing the job... [2025-03-20 06:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:32:03] Production.INFO: ==20995== Lock acquired, processing the job... [2025-03-20 06:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:32:04] Production.INFO: ==20991== Lock acquired, processing the job... [2025-03-20 06:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:32:04] Production.INFO: Account Balance Start. [2025-03-20 06:32:04] Production.INFO: CreateAllLog Start [2025-03-20 06:32:04] Production.INFO: 117 [2025-03-20 06:32:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: ==21000== Lock acquired, processing the job... [2025-03-20 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.ERROR: done [2025-03-20 06:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: count ==12 [2025-03-20 06:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:32:04] Production.INFO: count ==23 [2025-03-20 06:32:04] Production.ERROR: done [2025-03-20 06:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: ==20991== Releasing lock... [2025-03-20 06:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721024') start [2025-03-20 06:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:32:04] Production.INFO: Total Charge 0 [2025-03-20 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721024') end [2025-03-20 06:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:32:04] Production.INFO: 1 [2025-03-20 06:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:32:04] Production.INFO: CreateAllLog End [2025-03-20 06:32:04] Production.INFO: ==21000== Releasing lock... [2025-03-20 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:32:05] Production.INFO: Account Balance End. [2025-03-20 06:32:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:32:05] Production.INFO: ==20995== Releasing lock... [2025-03-20 06:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:32:05 [end_date_ymd] => 2025-03-20 06:32:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:32:05' and `end` < '2025-03-20 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-03-20 06:32:12] Production.ERROR: CronJobId end10 [2025-03-20 06:32:12] Production.INFO: ==20993== Releasing lock... [2025-03-20 06:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:32:15] Production.INFO: call_cost start [2025-03-20 06:32:15] Production.INFO: call_cost end [2025-03-20 06:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:32:16] Production.INFO: ==20989== Releasing lock... [2025-03-20 06:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:32:17] Production.INFO: count ==84 [2025-03-20 06:32:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:32:05 - End Time 2025-03-20 06:32:05 [2025-03-20 06:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721025', 'tblTempUsageDetail_20' ) start [2025-03-20 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721025', 'tblTempUsageDetail_20' ) end [2025-03-20 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721025', 'tblTempVendorCDR_20' ) start [2025-03-20 06:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721025', 'tblTempVendorCDR_20' ) end [2025-03-20 06:32:17] Production.INFO: ProcessCDR(1,14721025,1,1,2) [2025-03-20 06:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721025,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721025,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721025', 'tblTempUsageDetail_20' ) start [2025-03-20 06:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721025', 'tblTempUsageDetail_20' ) end [2025-03-20 06:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:32:21] Production.INFO: ==20998== Releasing lock... [2025-03-20 06:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:32:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:33:01] Production.INFO: ==21057== Lock acquired, processing the job... [2025-03-20 10:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:33:01] Production.INFO: neon service started [2025-03-20 10:33:01] Production.INFO: neon service started [2025-03-20 10:33:01] Production.INFO: ==21057== Releasing lock... [2025-03-20 10:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:33:02] Production.INFO: ==21061== Lock acquired, processing the job... [2025-03-20 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:33:02] Production.INFO: ==21061== Releasing lock... [2025-03-20 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:33:02] Production.INFO: ==21059== Lock acquired, processing the job... [2025-03-20 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:33:02] Production.INFO: ==21059== Releasing lock... [2025-03-20 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:33:03] Production.INFO: ==21066== Lock acquired, processing the job... [2025-03-20 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:33:03] Production.INFO: ==21068== Lock acquired, processing the job... [2025-03-20 06:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:33:03] Production.INFO: ==21064== Lock acquired, processing the job... [2025-03-20 06:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:33:03] Production.INFO: ==21066== Releasing lock... [2025-03-20 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:33:03] Production.INFO: ==21070== Lock acquired, processing the job... [2025-03-20 06:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:33:03] Production.INFO: ==21072== Lock acquired, processing the job... [2025-03-20 06:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:33:03] Production.INFO: ==21074== Lock acquired, processing the job... [2025-03-20 06:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:33:03] Production.INFO: Account Balance Start. [2025-03-20 06:33:03] Production.INFO: CreateAllLog Start [2025-03-20 06:33:03] Production.INFO: 117 [2025-03-20 06:33:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:03] Production.INFO: count ==12 [2025-03-20 06:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:33:03] Production.INFO: count ==23 [2025-03-20 06:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721029') start [2025-03-20 06:33:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721029') end [2025-03-20 06:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:33:04] Production.INFO: 1 [2025-03-20 06:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:04] Production.INFO: ==21074== Releasing lock... [2025-03-20 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:04] Production.ERROR: done [2025-03-20 06:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:33:04] Production.INFO: Total Charge 0 [2025-03-20 06:33:04] Production.INFO: CreateAllLog End [2025-03-20 06:33:04] Production.ERROR: done [2025-03-20 06:33:04] Production.INFO: Account Balance End. [2025-03-20 06:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:33:04] Production.INFO: ==21070== Releasing lock... [2025-03-20 06:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:33:05 [end_date_ymd] => 2025-03-20 06:33:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:33:05' and `end` < '2025-03-20 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-03-20 06:33:12] Production.ERROR: CronJobId end10 [2025-03-20 06:33:12] Production.INFO: ==21068== Releasing lock... [2025-03-20 06:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:33:14] Production.INFO: call_cost start [2025-03-20 06:33:14] Production.INFO: call_cost end [2025-03-20 06:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:33:15] Production.INFO: ==21064== Releasing lock... [2025-03-20 06:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:33:17] Production.INFO: count ==84 [2025-03-20 06:33:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:33:05 - End Time 2025-03-20 06:33:05 [2025-03-20 06:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721030', 'tblTempUsageDetail_20' ) start [2025-03-20 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721030', 'tblTempUsageDetail_20' ) end [2025-03-20 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721030', 'tblTempVendorCDR_20' ) start [2025-03-20 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721030', 'tblTempVendorCDR_20' ) end [2025-03-20 06:33:17] Production.INFO: ProcessCDR(1,14721030,1,1,2) [2025-03-20 06:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721030,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721030,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721030', 'tblTempUsageDetail_20' ) start [2025-03-20 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721030', 'tblTempUsageDetail_20' ) end [2025-03-20 06:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:33:21] Production.INFO: ==21072== Releasing lock... [2025-03-20 06:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:33:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:34:02] Production.INFO: ==21131== Lock acquired, processing the job... [2025-03-20 10:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:34:02] Production.INFO: neon service started [2025-03-20 10:34:02] Production.INFO: neon service started [2025-03-20 10:34:02] Production.INFO: ==21131== Releasing lock... [2025-03-20 10:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:34:02] Production.INFO: ==21133== Lock acquired, processing the job... [2025-03-20 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:34:02] Production.INFO: ==21133== Releasing lock... [2025-03-20 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:34:03] Production.INFO: ==21135== Lock acquired, processing the job... [2025-03-20 10:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:34:03] Production.INFO: ==21135== Releasing lock... [2025-03-20 10:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:34:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:34:03] Production.INFO: ==21137== Lock acquired, processing the job... [2025-03-20 06:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:34:03] Production.INFO: ==21147== Lock acquired, processing the job... [2025-03-20 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:34:03] Production.INFO: ==21139== Lock acquired, processing the job... [2025-03-20 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:34:03] Production.INFO: ==21141== Lock acquired, processing the job... [2025-03-20 06:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:34:03] Production.INFO: ==21143== Lock acquired, processing the job... [2025-03-20 06:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:34:03] Production.INFO: ==21145== Lock acquired, processing the job... [2025-03-20 06:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:34:04] Production.INFO: Account Balance Start. [2025-03-20 06:34:04] Production.INFO: CreateAllLog Start [2025-03-20 06:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:34:04] Production.INFO: 117 [2025-03-20 06:34:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:04] Production.INFO: count ==12 [2025-03-20 06:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:34:04] Production.INFO: count ==23 [2025-03-20 06:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721032') start [2025-03-20 06:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721032') end [2025-03-20 06:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:34:04] Production.INFO: 1 [2025-03-20 06:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:04] Production.INFO: ==21147== Releasing lock... [2025-03-20 06:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:34:04] Production.ERROR: done [2025-03-20 06:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:34:04] Production.INFO: ==21139== Releasing lock... [2025-03-20 06:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:04] Production.ERROR: done [2025-03-20 06:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:34:05] Production.INFO: Total Charge 0 [2025-03-20 06:34:05] Production.INFO: CreateAllLog End [2025-03-20 06:34:05] Production.INFO: Account Balance End. [2025-03-20 06:34:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:34:05] Production.INFO: ==21143== Releasing lock... [2025-03-20 06:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:34:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:34:06 [end_date_ymd] => 2025-03-20 06:34:06 [RateCDR] => 1 ) [2025-03-20 06: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-03-20 03:34:06' and `end` < '2025-03-20 06: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-03-20 06:34:13] Production.ERROR: CronJobId end10 [2025-03-20 06:34:13] Production.INFO: ==21141== Releasing lock... [2025-03-20 06:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:34:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:34:15] Production.INFO: call_cost start [2025-03-20 06:34:15] Production.INFO: call_cost end [2025-03-20 06:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:34:16] Production.INFO: ==21137== Releasing lock... [2025-03-20 06:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:34:18] Production.INFO: count ==84 [2025-03-20 06:34:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:34:06 - End Time 2025-03-20 06:34:06 [2025-03-20 06:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721035', 'tblTempUsageDetail_20' ) start [2025-03-20 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721035', 'tblTempUsageDetail_20' ) end [2025-03-20 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721035', 'tblTempVendorCDR_20' ) start [2025-03-20 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721035', 'tblTempVendorCDR_20' ) end [2025-03-20 06:34:18] Production.INFO: ProcessCDR(1,14721035,1,1,2) [2025-03-20 06:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721035,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721035,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721035', 'tblTempUsageDetail_20' ) start [2025-03-20 06:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721035', 'tblTempUsageDetail_20' ) end [2025-03-20 06:34:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:34:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:34:21] Production.INFO: ==21145== Releasing lock... [2025-03-20 06:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:34:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 10:35:01] Production.INFO: ==21204== Lock acquired, processing the job... [2025-03-20 10:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:35:01] Production.INFO: neon service started [2025-03-20 10:35:01] Production.INFO: neon service started [2025-03-20 10:35:01] Production.INFO: ==21204== Releasing lock... [2025-03-20 10:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:35:01] Production.INFO: ==21208== Lock acquired, processing the job... [2025-03-20 10:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:35:01] Production.INFO: ==21208== Releasing lock... [2025-03-20 10:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:35:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:35:02] Production.INFO: ==21206== Lock acquired, processing the job... [2025-03-20 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:35:02] Production.INFO: ==21206== Releasing lock... [2025-03-20 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:35:03] Production.INFO: ==21213== Lock acquired, processing the job... [2025-03-20 06:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:35:03] Production.INFO: ==21210== Lock acquired, processing the job... [2025-03-20 06:35:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10793 #Starts# [2025-03-20 06:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:35:03] Production.INFO: -- Xero Api Check -- [2025-03-20 06:35:03] Production.INFO: ==21221== Lock acquired, processing the job... [2025-03-20 06:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:35:03] Production.INFO: ==21223== Lock acquired, processing the job... [2025-03-20 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:35:03] Production.INFO: ==21215== Lock acquired, processing the job... [2025-03-20 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:35:03] Production.INFO: ==21217== Lock acquired, processing the job... [2025-03-20 06:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:35:03] Production.INFO: ==21219== Lock acquired, processing the job... [2025-03-20 06:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 06:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:35:03] Production.INFO: Account Balance Start. [2025-03-20 06:35:03] Production.INFO: CreateAllLog Start [2025-03-20 06:35:03] Production.INFO: count ==12 [2025-03-20 06:35:03] Production.INFO: 117 [2025-03-20 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-03-20 06:35:03] Production.INFO: count ==23 [2025-03-20 06:35:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721037') start [2025-03-20 06:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:03] Production.ERROR: done [2025-03-20 06:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: ==21215== Releasing lock... [2025-03-20 06:35:04] Production.ERROR: done [2025-03-20 06:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721037') end [2025-03-20 06:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:35:04] Production.INFO: 1 [2025-03-20 06:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: ==21223== Releasing lock... [2025-03-20 06:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:35:04] Production.INFO: Total Charge 0 [2025-03-20 06:35:04] Production.INFO: CreateAllLog End [2025-03-20 06: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] => 855 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.244272 [namelookup_time] => 0.540481 [connect_time] => 0.617079 [pretransfer_time] => 1.006655 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2214 [speed_upload] => 65 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.244225 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.50 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 34686 ) [2025-03-20 06:35:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjY5MDQsImV4cCI6MTc0MjQ2NzIwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY2OTA0LCJhdF9oYXNoIjoiWTliMGZ0YkZHUGVkZmtLbTY0WUFZUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzM4MDUzNjgxLCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJzaWQiOiIyYjY5YWM1ZWQ4MjY0YTY3YjdkMDAzOWM3MWMyOGRhOSIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.lm0J9sYyz3M2v-8Rwy3E9N4z2p79yx5xh2MSZxfkb1KCgt7jTOE4owJwCTX8DH2PMtqoO7taKRZyWsWw6XPnOt-rJdp8psOmVBneplq8zq0zHMuskq2Jf5IRFf7eiKmgS5NXzrCYLAc_xfVyIcLjaVM4i2fSEbZm0SUpqS48mwwo-Fg_tyewMdOS4-fA7FM-b_pUdx8lA5AIYbmQCYAwWFkPEtsZs0GZtS6aBQTuTODPYCkDafTfLUX191iTqzWRmuNyCIb0UYigA-UTULJO5H_ZdpGPyheHH-Owi7Bk49GU1SW9LyvBhb--kShqD0i9QyR62SaTXTsV8_o1pnfH_Q [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjY5MDQsImV4cCI6MTc0MjQ2ODcwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczODA1MzY4MSwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjJiNjlhYzVlZDgyNjRhNjdiN2QwMDM5YzcxYzI4ZGE5Iiwic2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJqdGkiOiI2ODlBQTc4QThDNUQ2NTFDNzBBOTFDMTBBNTlEMjRGRCIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMjc4M2YzN2MtNjY4OS00YzA0LWExZjMtYmEyOWYwNzYyNzhmIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.YGbCPDTa0D88TFEiYMPD-kzOzT2VUoAa8sEk5aPL3N0nvvpfcONj61ylbo1CmlkJUMzEzdN_TYr5Uc3mXWOsVDp1zeA_zp0AWorsJt41YidJVu_cYykKaxYrrNHXswDGBT1ITZY6Ed1fLSpNmmf2R-sNGvU8HOnqEafBaW8qMpfjtW-0bzUwb7eIOkMjusXTSfh-GofaFJnyY5aMiGaJYDORfhen0-8OwtgqWG1we5v33i4pzDIbBSXsHwH9KqH1BI007pOHsWdOXxZg8SYCEw2rtRnX214Lq7_WbuEaQ-fp8pbzsENsbbv1nSpU8-hLDXfXv73QcvdKlYzXQsQNeQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => e89QMTzX_U8CurPZ1Arac0n7x4sfYm6VpIlPUMZLQ5k [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 06:35:04] Production.INFO: Account Balance End. [2025-03-20 06:35:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjY5MDQsImV4cCI6MTc0MjQ2NzIwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY2OTA0LCJhdF9oYXNoIjoiWTliMGZ0YkZHUGVkZmtLbTY0WUFZUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzM4MDUzNjgxLCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJzaWQiOiIyYjY5YWM1ZWQ4MjY0YTY3YjdkMDAzOWM3MWMyOGRhOSIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.lm0J9sYyz3M2v-8Rwy3E9N4z2p79yx5xh2MSZxfkb1KCgt7jTOE4owJwCTX8DH2PMtqoO7taKRZyWsWw6XPnOt-rJdp8psOmVBneplq8zq0zHMuskq2Jf5IRFf7eiKmgS5NXzrCYLAc_xfVyIcLjaVM4i2fSEbZm0SUpqS48mwwo-Fg_tyewMdOS4-fA7FM-b_pUdx8lA5AIYbmQCYAwWFkPEtsZs0GZtS6aBQTuTODPYCkDafTfLUX191iTqzWRmuNyCIb0UYigA-UTULJO5H_ZdpGPyheHH-Owi7Bk49GU1SW9LyvBhb--kShqD0i9QyR62SaTXTsV8_o1pnfH_Q [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjY5MDQsImV4cCI6MTc0MjQ2ODcwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczODA1MzY4MSwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjJiNjlhYzVlZDgyNjRhNjdiN2QwMDM5YzcxYzI4ZGE5Iiwic2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJqdGkiOiI2ODlBQTc4QThDNUQ2NTFDNzBBOTFDMTBBNTlEMjRGRCIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMjc4M2YzN2MtNjY4OS00YzA0LWExZjMtYmEyOWYwNzYyNzhmIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.YGbCPDTa0D88TFEiYMPD-kzOzT2VUoAa8sEk5aPL3N0nvvpfcONj61ylbo1CmlkJUMzEzdN_TYr5Uc3mXWOsVDp1zeA_zp0AWorsJt41YidJVu_cYykKaxYrrNHXswDGBT1ITZY6Ed1fLSpNmmf2R-sNGvU8HOnqEafBaW8qMpfjtW-0bzUwb7eIOkMjusXTSfh-GofaFJnyY5aMiGaJYDORfhen0-8OwtgqWG1we5v33i4pzDIbBSXsHwH9KqH1BI007pOHsWdOXxZg8SYCEw2rtRnX214Lq7_WbuEaQ-fp8pbzsENsbbv1nSpU8-hLDXfXv73QcvdKlYzXQsQNeQ [expires_in] => 1800 [token_type] => Bearer [refresh_token] => e89QMTzX_U8CurPZ1Arac0n7x4sfYm6VpIlPUMZLQ5k [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 06:35:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:35:04] Production.INFO: ==21219== Releasing lock... [2025-03-20 06:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:35:04] Production.INFO: AccountID 67 [2025-03-20 06:35:04] Production.INFO: AccountName Stars & Maple Tours [2025-03-20 06:35:04] Production.INFO: Checkcustomer [2025-03-20 06:35:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-03-20 06:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:35:05 [end_date_ymd] => 2025-03-20 06:35:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:35:05' and `end` < '2025-03-20 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-03-20 06:35:07] Production.INFO: -- count --0 [2025-03-20 06:35:10] Production.INFO: ==== Contact Information 1 [2025-03-20 06:35:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-03-20 06:35:12] Production.ERROR: CronJobId end10 [2025-03-20 06:35:12] Production.INFO: ==21217== Releasing lock... [2025-03-20 06:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:35:12] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:35:12] Production.INFO: AccountID 78 [2025-03-20 06:35:12] Production.INFO: AccountName Halcyon Travel [2025-03-20 06:35:12] Production.INFO: Checkcustomer [2025-03-20 06:35:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 06:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:35:15] Production.INFO: call_cost start [2025-03-20 06:35:15] Production.INFO: call_cost end [2025-03-20 06:35:15] Production.INFO: -- count --0 [2025-03-20 06:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:35:16] Production.INFO: ==21213== Releasing lock... [2025-03-20 06:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:35:17] Production.INFO: count ==84 [2025-03-20 06:35:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:35:05 - End Time 2025-03-20 06:35:05 [2025-03-20 06:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721040', 'tblTempUsageDetail_20' ) start [2025-03-20 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721040', 'tblTempUsageDetail_20' ) end [2025-03-20 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721040', 'tblTempVendorCDR_20' ) start [2025-03-20 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721040', 'tblTempVendorCDR_20' ) end [2025-03-20 06:35:17] Production.INFO: ProcessCDR(1,14721040,1,1,2) [2025-03-20 06:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:35:18] Production.INFO: ==== Contact Information 1 [2025-03-20 06:35:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 06:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721040', 'tblTempUsageDetail_20' ) start [2025-03-20 06:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721040', 'tblTempUsageDetail_20' ) end [2025-03-20 06:35:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:35:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:35:20] Production.INFO: ==21221== Releasing lock... [2025-03-20 06:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:35:20] Production.INFO: 29 MB #Memory Used# [2025-03-20 06:35:21] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:35:21] Production.INFO: AccountID 102 [2025-03-20 06:35:21] Production.INFO: AccountName Dominos 39013 (Mudassar Zia) [2025-03-20 06:35:21] Production.INFO: Checkcustomer [2025-03-20 06:35:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29" [2025-03-20 06:35:23] Production.INFO: -- count --0 [2025-03-20 06:35:26] Production.INFO: ==== Contact Information 1 [2025-03-20 06:35:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29" [2025-03-20 06:35:29] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:35:29] Production.INFO: AccountID 14 [2025-03-20 06:35:29] Production.INFO: AccountName Dominos 10515 (Ronny Khan) [2025-03-20 06:35:29] Production.INFO: Checkcustomer [2025-03-20 06:35:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-03-20 06:35:32] Production.INFO: -- count --0 [2025-03-20 06:35:35] Production.INFO: ==== Contact Information 1 [2025-03-20 06:35:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-03-20 06:35:38] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:35:38] Production.INFO: AccountID 93 [2025-03-20 06:35:38] Production.INFO: AccountName Personas [2025-03-20 06:35:38] Production.INFO: Checkcustomer [2025-03-20 06:35:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-03-20 06:35:40] Production.INFO: -- count --0 [2025-03-20 06:35:42] Production.INFO: ==== Contact Information 1 [2025-03-20 06:35:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-03-20 06:35:45] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:35:45] Production.INFO: AccountID 151 [2025-03-20 06:35:45] Production.INFO: AccountName Dominos 10584 (Rick Singh) [2025-03-20 06:35:45] Production.INFO: Checkcustomer [2025-03-20 06:35:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29" [2025-03-20 06:35:47] Production.INFO: -- count --0 [2025-03-20 06:35:50] Production.INFO: ==== Contact Information 1 [2025-03-20 06:35:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29" [2025-03-20 06:35:53] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:35:53] Production.INFO: AccountID 263 [2025-03-20 06:35:53] Production.INFO: AccountName Dominos 10173 (Abdul Karim) [2025-03-20 06:35:53] Production.INFO: Checkcustomer [2025-03-20 06:35:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010173%20%28Abdul%20Karim%29" [2025-03-20 06:35:56] Production.INFO: -- count --0 [2025-03-20 06:35:58] Production.INFO: ==== Contact Information 1 [2025-03-20 06:35:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010173%20%28Abdul%20Karim%29" [2025-03-20 06:36:01] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:36:01] Production.INFO: AccountID 57 [2025-03-20 06:36:01] Production.INFO: AccountName Dominos 39041 (Rishi Kakar) [2025-03-20 06:36:01] Production.INFO: Checkcustomer [2025-03-20 06:36:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29" [2025-03-20 10:36:01] Production.INFO: ==21295== Lock acquired, processing the job... [2025-03-20 10:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:36:01] Production.INFO: neon service started [2025-03-20 10:36:02] Production.INFO: neon service started [2025-03-20 10:36:02] Production.INFO: ==21295== Releasing lock... [2025-03-20 10:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:36:02] Production.INFO: ==21297== Lock acquired, processing the job... [2025-03-20 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:36:02] Production.INFO: ==21297== Releasing lock... [2025-03-20 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:36:02] Production.INFO: ==21299== Lock acquired, processing the job... [2025-03-20 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:36:02] Production.INFO: ==21299== Releasing lock... [2025-03-20 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:36:03] Production.INFO: ==21304== Lock acquired, processing the job... [2025-03-20 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:36:03] Production.INFO: ==21308== Lock acquired, processing the job... [2025-03-20 06:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:36:03] Production.INFO: ==21302== Lock acquired, processing the job... [2025-03-20 06:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:36:03] Production.INFO: Account Balance Start. [2025-03-20 06:36:03] Production.INFO: CreateAllLog Start [2025-03-20 06:36:03] Production.INFO: 117 [2025-03-20 06:36:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:03] Production.INFO: ==21304== Releasing lock... [2025-03-20 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:36:03] Production.INFO: ==21306== Lock acquired, processing the job... [2025-03-20 06:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:36:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:03] Production.INFO: ==21310== Lock acquired, processing the job... [2025-03-20 06:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:36:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:04] Production.INFO: ==21312== Lock acquired, processing the job... [2025-03-20 06:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:36:04] Production.INFO: Total Charge 0 [2025-03-20 06:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:36:04] Production.INFO: CreateAllLog End [2025-03-20 06:36:04] Production.INFO: count ==12 [2025-03-20 06:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:36:04] Production.INFO: count ==23 [2025-03-20 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721044') start [2025-03-20 06:36:04] Production.ERROR: done [2025-03-20 06:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721044') end [2025-03-20 06:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:36:04] Production.INFO: 1 [2025-03-20 06:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:36:04] Production.ERROR: done [2025-03-20 06:36:04] Production.INFO: ==21312== Releasing lock... [2025-03-20 06:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:36:04] Production.INFO: Account Balance End. [2025-03-20 06:36:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:36:04] Production.INFO: ==21308== Releasing lock... [2025-03-20 06:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:36:04] Production.INFO: -- count --0 [2025-03-20 06:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:36:05 [end_date_ymd] => 2025-03-20 06:36:05 [RateCDR] => 1 ) [2025-03-20 06:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:36:05' and `end` < '2025-03-20 06:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:36:07] Production.INFO: ==== Contact Information 1 [2025-03-20 06:36:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29" [2025-03-20 06:36:10] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:36:10] Production.INFO: AccountID 107 [2025-03-20 06:36:10] Production.INFO: AccountName Dominos 10179 (Akshay Naik) [2025-03-20 06:36:10] Production.INFO: Checkcustomer [2025-03-20 06:36:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-03-20 06:36:12] Production.INFO: -- count --0 [2025-03-20 06:36:12] Production.ERROR: CronJobId end10 [2025-03-20 06:36:12] Production.INFO: ==21306== Releasing lock... [2025-03-20 06:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:36:15] Production.INFO: ==== Contact Information 1 [2025-03-20 06:36:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-03-20 06:36:15] Production.INFO: call_cost start [2025-03-20 06:36:15] Production.INFO: call_cost end [2025-03-20 06:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:36:16] Production.INFO: ==21302== Releasing lock... [2025-03-20 06:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:36:17] Production.INFO: count ==76 [2025-03-20 06:36:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:36:05 - End Time 2025-03-20 06:36:05 [2025-03-20 06:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721045', 'tblTempUsageDetail_20' ) start [2025-03-20 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721045', 'tblTempUsageDetail_20' ) end [2025-03-20 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721045', 'tblTempVendorCDR_20' ) start [2025-03-20 06:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721045', 'tblTempVendorCDR_20' ) end [2025-03-20 06:36:17] Production.INFO: ProcessCDR(1,14721045,1,1,2) [2025-03-20 06:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:36:18] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:36:18] Production.INFO: AccountID 140 [2025-03-20 06:36:18] Production.INFO: AccountName PharmaSave (Uxbridge) [2025-03-20 06:36:18] Production.INFO: Checkcustomer [2025-03-20 06:36:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-03-20 06:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:36:20] Production.INFO: -- count --0 [2025-03-20 06:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721045', 'tblTempUsageDetail_20' ) start [2025-03-20 06:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721045', 'tblTempUsageDetail_20' ) end [2025-03-20 06:36:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:36:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:36:21] Production.INFO: ==21310== Releasing lock... [2025-03-20 06:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:36:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 06:36:23] Production.INFO: ==== Contact Information 1 [2025-03-20 06:36:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-03-20 06:36:26] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:36:26] Production.INFO: AccountID 161 [2025-03-20 06:36:26] Production.INFO: AccountName Dominos 10476 (Sandeep Chaudhari) [2025-03-20 06:36:26] Production.INFO: Checkcustomer [2025-03-20 06:36:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29" [2025-03-20 06:36:28] Production.INFO: -- count --0 [2025-03-20 06:36:31] Production.INFO: ==== Contact Information 1 [2025-03-20 06:36:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29" [2025-03-20 06:36:34] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:36:34] Production.INFO: AccountID 32 [2025-03-20 06:36:34] Production.INFO: AccountName Dominos 10353 (Ronny Khan) [2025-03-20 06:36:34] Production.INFO: Checkcustomer [2025-03-20 06:36:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29" [2025-03-20 06:36:37] Production.INFO: -- count --0 [2025-03-20 06:36:40] Production.INFO: ==== Contact Information 1 [2025-03-20 06:36:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29" [2025-03-20 06:36:43] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:36:43] Production.INFO: AccountID 136 [2025-03-20 06:36:43] Production.INFO: AccountName Dominos 10483 (Ronny Khan) [2025-03-20 06:36:43] Production.INFO: Checkcustomer [2025-03-20 06:36:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-03-20 06:36:45] Production.INFO: -- count --0 [2025-03-20 06:36:48] Production.INFO: ==== Contact Information 1 [2025-03-20 06:36:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-03-20 06:36:50] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:36:50] Production.INFO: AccountID 146 [2025-03-20 06:36:50] Production.INFO: AccountName Destawed [2025-03-20 06:36:50] Production.INFO: Checkcustomer [2025-03-20 06:36:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed" [2025-03-20 06:36:53] Production.INFO: -- count --0 [2025-03-20 06:36:56] Production.INFO: ==== Contact Information 1 [2025-03-20 06:36:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed" [2025-03-20 06:36:59] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:36:59] Production.INFO: AccountID 184 [2025-03-20 06:36:59] Production.INFO: AccountName TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure) [2025-03-20 06:36:59] Production.INFO: Checkcustomer [2025-03-20 06:36:59] 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-03-20 10:37:01] Production.INFO: ==21386== Lock acquired, processing the job... [2025-03-20 10:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:37:01] Production.INFO: neon service started [2025-03-20 10:37:01] Production.INFO: neon service started [2025-03-20 10:37:01] Production.INFO: ==21386== Releasing lock... [2025-03-20 10:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:37:01] Production.INFO: -- count --0 [2025-03-20 06:37:02] Production.INFO: ==21389== Lock acquired, processing the job... [2025-03-20 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:37:02] Production.INFO: ==21391== Lock acquired, processing the job... [2025-03-20 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:37:02] Production.INFO: ==21391== Releasing lock... [2025-03-20 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:37:02] Production.INFO: ==21389== Releasing lock... [2025-03-20 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:37:02] Production.INFO: ==21394== Lock acquired, processing the job... [2025-03-20 06:37:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:37:03] Production.INFO: ==21400== Lock acquired, processing the job... [2025-03-20 06:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:37:03] Production.INFO: ==21398== Lock acquired, processing the job... [2025-03-20 06:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:37:03] Production.INFO: Account Balance Start. [2025-03-20 06:37:03] Production.INFO: CreateAllLog Start [2025-03-20 06:37:03] Production.INFO: 117 [2025-03-20 06:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.INFO: ==21396== Lock acquired, processing the job... [2025-03-20 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:37:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.INFO: Date 2025-03-15 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.INFO: ==21402== Lock acquired, processing the job... [2025-03-20 06:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:37:03] Production.INFO: ==21404== Lock acquired, processing the job... [2025-03-20 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:37:03] Production.INFO: Date 2025-03-16 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.INFO: Date 2025-03-17 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.INFO: Date 2025-03-18 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.INFO: Date 2025-03-19 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 06:37:03] Production.INFO: Date 2025-03-20 [2025-03-20 06:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:37:03] Production.INFO: count ==12 [2025-03-20 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-03-20 06:37:03] Production.INFO: count ==23 [2025-03-20 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721049') start [2025-03-20 06:37:03] Production.INFO: Total Charge 0 [2025-03-20 06:37:03] Production.INFO: CreateAllLog End [2025-03-20 06:37:03] Production.INFO: ==21396== Releasing lock... [2025-03-20 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721049') end [2025-03-20 06:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:37:03] Production.INFO: 1 [2025-03-20 06:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:37:03] Production.INFO: ==21404== Releasing lock... [2025-03-20 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:37:03] Production.ERROR: done [2025-03-20 06:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:37:03] Production.INFO: Account Balance End. [2025-03-20 06:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:37:04] Production.INFO: ==21400== Releasing lock... [2025-03-20 06:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:37:04] Production.ERROR: done [2025-03-20 06:37:04] Production.INFO: ==== Contact Information 1 [2025-03-20 06:37: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-03-20 06:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:37:05 [end_date_ymd] => 2025-03-20 06:37:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:37:05' and `end` < '2025-03-20 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-03-20 06:37:06] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:37:06] Production.INFO: AccountID 185 [2025-03-20 06:37:06] Production.INFO: AccountName TTC (College-Subway) - Construction Site (Cancom - Think Secure) [2025-03-20 06:37:06] Production.INFO: Checkcustomer [2025-03-20 06:37:06] 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-03-20 06:37:09] Production.INFO: -- count --0 [2025-03-20 06:37:11] Production.ERROR: CronJobId end10 [2025-03-20 06:37:11] Production.INFO: ==21398== Releasing lock... [2025-03-20 06:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:37:12] Production.INFO: ==== Contact Information 1 [2025-03-20 06:37:12] 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-03-20 06:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:37:14] Production.INFO: call_cost start [2025-03-20 06:37:14] Production.INFO: call_cost end [2025-03-20 06:37:14] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:37:14] Production.INFO: AccountID 187 [2025-03-20 06:37:14] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers [2025-03-20 06:37:14] Production.INFO: Checkcustomer [2025-03-20 06:37:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers" [2025-03-20 06:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:37:15] Production.INFO: ==21394== Releasing lock... [2025-03-20 06:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:37:17] Production.INFO: count ==75 [2025-03-20 06:37:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:37:05 - End Time 2025-03-20 06:37:05 [2025-03-20 06:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721050', 'tblTempUsageDetail_20' ) start [2025-03-20 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721050', 'tblTempUsageDetail_20' ) end [2025-03-20 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721050', 'tblTempVendorCDR_20' ) start [2025-03-20 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721050', 'tblTempVendorCDR_20' ) end [2025-03-20 06:37:17] Production.INFO: ProcessCDR(1,14721050,1,1,2) [2025-03-20 06:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:37:17] Production.INFO: -- count --0 [2025-03-20 06:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:37:19] Production.INFO: ==== Contact Information 1 [2025-03-20 06:37:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers" [2025-03-20 06:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721050', 'tblTempUsageDetail_20' ) start [2025-03-20 06:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721050', 'tblTempUsageDetail_20' ) end [2025-03-20 06:37:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:37:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:37:20] Production.INFO: ==21402== Releasing lock... [2025-03-20 06:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:37:20] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 06:37:22] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:37:22] Production.INFO: AccountID 230 [2025-03-20 06:37:22] Production.INFO: AccountName Harbourfront Medicine Cabinet [2025-03-20 06:37:22] Production.INFO: Checkcustomer [2025-03-20 06:37:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet" [2025-03-20 06:37:25] Production.INFO: -- count --0 [2025-03-20 06:37:28] Production.INFO: ==== Contact Information 1 [2025-03-20 06:37:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet" [2025-03-20 06:37:31] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:37:31] Production.INFO: AccountID 20 [2025-03-20 06:37:31] Production.INFO: AccountName Dominos 10514 (Sandeep Chaudhari) [2025-03-20 06:37:31] Production.INFO: Checkcustomer [2025-03-20 06:37:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29" [2025-03-20 06:37:34] Production.INFO: -- count --0 [2025-03-20 06:37:36] Production.INFO: ==== Contact Information 1 [2025-03-20 06:37:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29" [2025-03-20 06:37:39] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:37:39] Production.INFO: AccountID 21 [2025-03-20 06:37:39] Production.INFO: AccountName Aaxel Insurance Brokers (Peel Ltd.) [2025-03-20 06:37:39] Production.INFO: Checkcustomer [2025-03-20 06:37:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29" [2025-03-20 06:37:42] Production.INFO: -- count --0 [2025-03-20 06:37:45] Production.INFO: ==== Contact Information 1 [2025-03-20 06:37:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29" [2025-03-20 06:37:47] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:37:47] Production.INFO: AccountID 43 [2025-03-20 06:37:47] Production.INFO: AccountName Wattpad [2025-03-20 06:37:47] Production.INFO: Checkcustomer [2025-03-20 06:37:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad" [2025-03-20 06:37:50] Production.INFO: -- count --0 [2025-03-20 06:37:53] Production.INFO: ==== Contact Information 1 [2025-03-20 06:37:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad" [2025-03-20 06:37:56] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:37:56] Production.INFO: AccountID 49 [2025-03-20 06:37:56] Production.INFO: AccountName Technologies for Learning Group [2025-03-20 06:37:56] Production.INFO: Checkcustomer [2025-03-20 06:37:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group" [2025-03-20 06:37:58] Production.INFO: -- count --0 [2025-03-20 06:38:01] Production.INFO: ==== Contact Information 1 [2025-03-20 06:38:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group" [2025-03-20 10:38:01] Production.INFO: ==21481== Lock acquired, processing the job... [2025-03-20 10:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:38:01] Production.INFO: neon service started [2025-03-20 10:38:01] Production.INFO: neon service started [2025-03-20 10:38:01] Production.INFO: ==21481== Releasing lock... [2025-03-20 10:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:38:02] Production.INFO: ==21483== Lock acquired, processing the job... [2025-03-20 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:38:02] Production.INFO: ==21483== Releasing lock... [2025-03-20 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:38:02] Production.INFO: ==21485== Lock acquired, processing the job... [2025-03-20 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:38:02] Production.INFO: ==21485== Releasing lock... [2025-03-20 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:38:03] Production.INFO: ==21487== Lock acquired, processing the job... [2025-03-20 06:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:38:03] Production.INFO: ==21491== Lock acquired, processing the job... [2025-03-20 06:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:38:03] Production.INFO: ==21494== Lock acquired, processing the job... [2025-03-20 06:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:38:03] Production.INFO: ==21489== Lock acquired, processing the job... [2025-03-20 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:38:03] Production.INFO: Account Balance Start. [2025-03-20 06:38:03] Production.INFO: CreateAllLog Start [2025-03-20 06:38:03] Production.INFO: 117 [2025-03-20 06:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:38:03] Production.INFO: ==21496== Lock acquired, processing the job... [2025-03-20 06:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:03] Production.INFO: ==21498== Lock acquired, processing the job... [2025-03-20 06:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:38:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.INFO: ==21489== Releasing lock... [2025-03-20 06:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:38:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:38:04] Production.INFO: count ==12 [2025-03-20 06:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:38:04] Production.INFO: count ==23 [2025-03-20 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721054') start [2025-03-20 06:38:04] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:38:04] Production.INFO: AccountID 137 [2025-03-20 06:38:04] Production.INFO: AccountName Dominos 10558 (David Mills) [2025-03-20 06:38:04] Production.INFO: Checkcustomer [2025-03-20 06:38:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29" [2025-03-20 06:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721054') end [2025-03-20 06:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:38:04] Production.INFO: 1 [2025-03-20 06:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:38:04] Production.ERROR: done [2025-03-20 06:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.INFO: ==21498== Releasing lock... [2025-03-20 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.ERROR: done [2025-03-20 06:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:38:04] Production.INFO: Total Charge 0 [2025-03-20 06:38:04] Production.INFO: CreateAllLog End [2025-03-20 06:38:04] Production.INFO: Account Balance End. [2025-03-20 06:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:38:04] Production.INFO: ==21494== Releasing lock... [2025-03-20 06:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:38:05 [end_date_ymd] => 2025-03-20 06:38:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:38:05' and `end` < '2025-03-20 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-03-20 06:38:07] Production.INFO: -- count --0 [2025-03-20 06:38:09] Production.INFO: ==== Contact Information 1 [2025-03-20 06:38:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29" [2025-03-20 06:38:12] Production.ERROR: CronJobId end10 [2025-03-20 06:38:12] Production.INFO: ==21491== Releasing lock... [2025-03-20 06:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:38:12] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:38:12] Production.INFO: AccountID 138 [2025-03-20 06:38:12] Production.INFO: AccountName Dominos 10567 (Sandeep Chaudhari) [2025-03-20 06:38:12] Production.INFO: Checkcustomer [2025-03-20 06:38:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29" [2025-03-20 06:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:38:15] Production.INFO: call_cost start [2025-03-20 06:38:15] Production.INFO: call_cost end [2025-03-20 06:38:15] Production.INFO: -- count --0 [2025-03-20 06:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:38:15] Production.INFO: ==21487== Releasing lock... [2025-03-20 06:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:38:17] Production.INFO: ==== Contact Information 1 [2025-03-20 06:38:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29" [2025-03-20 06:38:17] Production.INFO: count ==75 [2025-03-20 06:38:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:38:05 - End Time 2025-03-20 06:38:05 [2025-03-20 06:38:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721055', 'tblTempUsageDetail_20' ) start [2025-03-20 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721055', 'tblTempUsageDetail_20' ) end [2025-03-20 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721055', 'tblTempVendorCDR_20' ) start [2025-03-20 06:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721055', 'tblTempVendorCDR_20' ) end [2025-03-20 06:38:17] Production.INFO: ProcessCDR(1,14721055,1,1,2) [2025-03-20 06:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:38:20] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:38:20] Production.INFO: AccountID 192 [2025-03-20 06:38:20] Production.INFO: AccountName Ontario Turtle Conservation Centre [2025-03-20 06:38:20] Production.INFO: Checkcustomer [2025-03-20 06:38:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre" [2025-03-20 06:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721055', 'tblTempUsageDetail_20' ) start [2025-03-20 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721055', 'tblTempUsageDetail_20' ) end [2025-03-20 06:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:38:21] Production.INFO: ==21496== Releasing lock... [2025-03-20 06:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:38:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 06:38:23] Production.INFO: -- count --0 [2025-03-20 06:38:25] Production.INFO: ==== Contact Information 1 [2025-03-20 06:38:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre" [2025-03-20 06:38:28] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:38:28] Production.INFO: AccountID 260 [2025-03-20 06:38:28] Production.INFO: AccountName Dominos 10136 (Muzafar Ahmad) [2025-03-20 06:38:28] Production.INFO: Checkcustomer [2025-03-20 06:38:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010136%20%28Muzafar%20Ahmad%29" [2025-03-20 06:38:30] Production.INFO: -- count --0 [2025-03-20 06:38:33] Production.INFO: ==== Contact Information 1 [2025-03-20 06:38:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010136%20%28Muzafar%20Ahmad%29" [2025-03-20 06:38:35] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:38:35] Production.INFO: AccountID 52 [2025-03-20 06:38:35] Production.INFO: AccountName Dunbloor Medical Centre [2025-03-20 06:38:35] Production.INFO: Checkcustomer [2025-03-20 06:38:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre" [2025-03-20 06:38:38] Production.INFO: -- count --0 [2025-03-20 06:38:41] Production.INFO: ==== Contact Information 1 [2025-03-20 06:38:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre" [2025-03-20 06:38:44] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:38:44] Production.INFO: AccountID 54 [2025-03-20 06:38:44] Production.INFO: AccountName Dominos 10296 (Gurinder Saini) [2025-03-20 06:38:44] Production.INFO: Checkcustomer [2025-03-20 06:38:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29" [2025-03-20 06:38:47] Production.INFO: -- count --0 [2025-03-20 06:38:50] Production.INFO: ==== Contact Information 1 [2025-03-20 06:38:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29" [2025-03-20 06:38:52] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:38:52] Production.INFO: AccountID 83 [2025-03-20 06:38:52] Production.INFO: AccountName Dominos 10455 (Ricky Singh) [2025-03-20 06:38:52] Production.INFO: Checkcustomer [2025-03-20 06:38:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29" [2025-03-20 06:38:55] Production.INFO: -- count --0 [2025-03-20 06:38:58] Production.INFO: ==== Contact Information 1 [2025-03-20 06:38:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29" [2025-03-20 06:39:01] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:39:01] Production.INFO: AccountID 84 [2025-03-20 06:39:01] Production.INFO: AccountName Dominos 10534 (Sandeep Chaudhari) [2025-03-20 06:39:01] Production.INFO: Checkcustomer [2025-03-20 06:39:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29" [2025-03-20 10:39:02] Production.INFO: ==21615== Lock acquired, processing the job... [2025-03-20 10:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:39:02] Production.INFO: neon service started [2025-03-20 10:39:02] Production.INFO: neon service started [2025-03-20 10:39:02] Production.INFO: ==21615== Releasing lock... [2025-03-20 10:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:39:03] Production.INFO: ==21617== Lock acquired, processing the job... [2025-03-20 06:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:39:03] Production.INFO: ==21620== Lock acquired, processing the job... [2025-03-20 10:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:39:03] Production.INFO: ==21620== Releasing lock... [2025-03-20 10:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:39:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:39:03] Production.INFO: ==21617== Releasing lock... [2025-03-20 06:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:39:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:39:04] Production.INFO: ==21624== Lock acquired, processing the job... [2025-03-20 06:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:39:04] Production.INFO: ==21632== Lock acquired, processing the job... [2025-03-20 06:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:39:04] Production.INFO: ==21630== Lock acquired, processing the job... [2025-03-20 06:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:39:04] Production.INFO: -- count --0 [2025-03-20 06:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:39:04] Production.INFO: Account Balance Start. [2025-03-20 06:39:04] Production.INFO: CreateAllLog Start [2025-03-20 06:39:04] Production.INFO: 117 [2025-03-20 06:39:04] Production.INFO: ==21626== Lock acquired, processing the job... [2025-03-20 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:39:04] Production.INFO: ==21628== Lock acquired, processing the job... [2025-03-20 06:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:39:04] Production.INFO: ==21634== Lock acquired, processing the job... [2025-03-20 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:39:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.ERROR: done [2025-03-20 06:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:39:04] Production.INFO: count ==12 [2025-03-20 06:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.INFO: count ==23 [2025-03-20 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721059') start [2025-03-20 06:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.ERROR: done [2025-03-20 06:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.INFO: ==21626== Releasing lock... [2025-03-20 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721059') end [2025-03-20 06:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:39:04] Production.INFO: 1 [2025-03-20 06:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:04] Production.INFO: ==21634== Releasing lock... [2025-03-20 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:39:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:39:05] Production.INFO: Total Charge 0 [2025-03-20 06:39:05] Production.INFO: CreateAllLog End [2025-03-20 06:39:05] Production.INFO: Account Balance End. [2025-03-20 06:39:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:39:05] Production.INFO: ==21630== Releasing lock... [2025-03-20 06:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:39:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:39:05 [end_date_ymd] => 2025-03-20 06:39:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:39:05' and `end` < '2025-03-20 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-03-20 06:39:07] Production.INFO: ==== Contact Information 1 [2025-03-20 06:39:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29" [2025-03-20 06:39:09] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:39:09] Production.INFO: AccountID 131 [2025-03-20 06:39:09] Production.INFO: AccountName Infinite Possibilities [2025-03-20 06:39:09] Production.INFO: Checkcustomer [2025-03-20 06:39:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities" [2025-03-20 06:39:12] Production.INFO: -- count --0 [2025-03-20 06:39:13] Production.ERROR: CronJobId end10 [2025-03-20 06:39:13] Production.INFO: ==21628== Releasing lock... [2025-03-20 06:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:39:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:39:14] Production.INFO: call_cost start [2025-03-20 06:39:14] Production.INFO: call_cost end [2025-03-20 06:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:39:15] Production.INFO: ==== Contact Information 1 [2025-03-20 06:39:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities" [2025-03-20 06:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:39:15] Production.INFO: ==21624== Releasing lock... [2025-03-20 06:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:39:18] Production.INFO: count ==75 [2025-03-20 06:39:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:39:05 - End Time 2025-03-20 06:39:05 [2025-03-20 06:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721060', 'tblTempUsageDetail_20' ) start [2025-03-20 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721060', 'tblTempUsageDetail_20' ) end [2025-03-20 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721060', 'tblTempVendorCDR_20' ) start [2025-03-20 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721060', 'tblTempVendorCDR_20' ) end [2025-03-20 06:39:18] Production.INFO: ProcessCDR(1,14721060,1,1,2) [2025-03-20 06:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:39:18] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:39:18] Production.INFO: AccountID 189 [2025-03-20 06:39:18] Production.INFO: AccountName Bauman Group Inc. [2025-03-20 06:39:18] Production.INFO: Checkcustomer [2025-03-20 06:39:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc." [2025-03-20 06:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721060', 'tblTempUsageDetail_20' ) start [2025-03-20 06:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721060', 'tblTempUsageDetail_20' ) end [2025-03-20 06:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:39:21] Production.INFO: ==21632== Releasing lock... [2025-03-20 06:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:39:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 06:39:21] Production.INFO: -- count --0 [2025-03-20 06:39:24] Production.INFO: ==== Contact Information 1 [2025-03-20 06:39:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc." [2025-03-20 06:39:26] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:39:26] Production.INFO: AccountID 191 [2025-03-20 06:39:26] Production.INFO: AccountName Lake Life Financial Solutions Inc. [2025-03-20 06:39:26] Production.INFO: Checkcustomer [2025-03-20 06:39:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc." [2025-03-20 06:39:29] Production.INFO: -- count --0 [2025-03-20 06:39:32] Production.INFO: ==== Contact Information 1 [2025-03-20 06:39:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc." [2025-03-20 06:39:35] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:39:35] Production.INFO: AccountID 70 [2025-03-20 06:39:35] Production.INFO: AccountName Dominos 10293 (David Mills) [2025-03-20 06:39:35] Production.INFO: Checkcustomer [2025-03-20 06:39:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29" [2025-03-20 06:39:38] Production.INFO: -- count --0 [2025-03-20 06:39:41] Production.INFO: ==== Contact Information 1 [2025-03-20 06:39:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29" [2025-03-20 06:39:43] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:39:43] Production.INFO: AccountID 98 [2025-03-20 06:39:43] Production.INFO: AccountName Dominos 10537 (Brandon Meyers) [2025-03-20 06:39:43] Production.INFO: Checkcustomer [2025-03-20 06:39:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29" [2025-03-20 06:39:46] Production.INFO: -- count --0 [2025-03-20 06:39:48] Production.INFO: ==== Contact Information 1 [2025-03-20 06:39:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29" [2025-03-20 06:39:51] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:39:51] Production.INFO: AccountID 106 [2025-03-20 06:39:51] Production.INFO: AccountName G4 Broker [2025-03-20 06:39:51] Production.INFO: Checkcustomer [2025-03-20 06:39:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker" [2025-03-20 06:39:54] Production.INFO: -- count --0 [2025-03-20 06:39:56] Production.INFO: ==== Contact Information 1 [2025-03-20 06:39:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker" [2025-03-20 06:39:58] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:39:58] Production.INFO: AccountID 119 [2025-03-20 06:39:58] Production.INFO: AccountName Dominos 10402 (Anwar Hossain) [2025-03-20 06:39:58] Production.INFO: Checkcustomer [2025-03-20 06:39:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29" [2025-03-20 06:40:01] Production.INFO: -- count --0 [2025-03-20 10:40:01] Production.INFO: ==21710== Lock acquired, processing the job... [2025-03-20 10:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:40:01] Production.INFO: neon service started [2025-03-20 10:40:01] Production.INFO: neon service started [2025-03-20 10:40:01] Production.INFO: ==21710== Releasing lock... [2025-03-20 10:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:40:02] Production.INFO: ==21712== Lock acquired, processing the job... [2025-03-20 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:40:02] Production.INFO: ==21712== Releasing lock... [2025-03-20 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:40:02] Production.INFO: ==21714== Lock acquired, processing the job... [2025-03-20 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:40:02] Production.INFO: ==21714== Releasing lock... [2025-03-20 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:40:03] Production.INFO: ==21720== Lock acquired, processing the job... [2025-03-20 06:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:40:03] Production.INFO: ==21726== Lock acquired, processing the job... [2025-03-20 06:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:40:03] Production.INFO: ==21728== Lock acquired, processing the job... [2025-03-20 06:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 06:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:40:03] Production.INFO: ==21716== Lock acquired, processing the job... [2025-03-20 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 06:40:03] Production.INFO: ==== Contact Information 1 [2025-03-20 06:40:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29" [2025-03-20 06:40:03] Production.INFO: ==21718== Lock acquired, processing the job... [2025-03-20 06:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:40:03] Production.INFO: ==21722== Lock acquired, processing the job... [2025-03-20 06:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:40:04] Production.INFO: ==21724== Lock acquired, processing the job... [2025-03-20 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 06:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:40:04] Production.ERROR: CronJob PID - 21718 [2025-03-20 06:40:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 06:40:04] Production.ERROR: CronJob ID - 5 [2025-03-20 06:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:40:00 [2025-03-20 06:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:40:04] Production.ERROR: CronJob PID - 21720 [2025-03-20 06:40:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 06:40:04] Production.ERROR: CronJob ID - 7 [2025-03-20 06:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:40:00 [2025-03-20 06:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:40:04] Production.ERROR: CronJob PID - 21726 [2025-03-20 06:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 06:40:04] Production.ERROR: CronJob ID - 16 [2025-03-20 06:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:40:00 [2025-03-20 06:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:40:04] Production.ERROR: CronJob PID - 21728 [2025-03-20 06:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 06:40:04] Production.ERROR: CronJob ID - 17 [2025-03-20 06:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:40:00 [2025-03-20 06:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 06:40:04] Production.INFO: ==21716== Releasing lock... [2025-03-20 06:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 06:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 06:40:04] Production.INFO: ==21720== Releasing lock... [2025-03-20 06:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:40:04] Production.INFO: ==21731== Lock acquired, processing the job... [2025-03-20 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:40:04] Production.ERROR: done [2025-03-20 06:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:40:04] Production.INFO: Account Balance Start. [2025-03-20 06:40:04] Production.INFO: CreateAllLog Start [2025-03-20 06:40:04] Production.INFO: 117 [2025-03-20 06:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:40:04] Production.INFO: count ==12 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.ERROR: done [2025-03-20 06:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:40:04] Production.INFO: count ==23 [2025-03-20 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721063') start [2025-03-20 06:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.ERROR: done [2025-03-20 06:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 06:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721066', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 06:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721063') end [2025-03-20 06:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:40:04] Production.INFO: 1 [2025-03-20 06:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:40:04] Production.INFO: ==21731== Releasing lock... [2025-03-20 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:40:04] Production.INFO: Total Charge 0 [2025-03-20 06:40:05] Production.INFO: CreateAllLog End [2025-03-20 06:40:05] Production.INFO: Account Balance End. [2025-03-20 06:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:40:05] Production.INFO: ==21724== Releasing lock... [2025-03-20 06:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:40:06 [end_date_ymd] => 2025-03-20 06:40:06 [RateCDR] => 1 ) [2025-03-20 06:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:40:06' and `end` < '2025-03-20 06:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:40:06] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:40:06] Production.INFO: AccountID 123 [2025-03-20 06:40:06] Production.INFO: AccountName Dominos 10547 (Nathan Krishnan) [2025-03-20 06:40:06] Production.INFO: Checkcustomer [2025-03-20 06:40:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29" [2025-03-20 06:40:09] Production.INFO: -- count --0 [2025-03-20 06:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721066', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 06:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 06:40:09] Production.INFO: ProcessCDR(1,14721066,1,1,2) [2025-03-20 06:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721066,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721066,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:40:09] Production.INFO: ==21728== Releasing lock... [2025-03-20 06:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 06:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 06:40:12] Production.INFO: ==== Contact Information 1 [2025-03-20 06:40:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29" [2025-03-20 06:40:14] Production.ERROR: CronJobId end10 [2025-03-20 06:40:15] Production.INFO: ==21722== Releasing lock... [2025-03-20 06:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:40:15] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:40:15] Production.INFO: AccountID 229 [2025-03-20 06:40:15] Production.INFO: AccountName Dominos 10096 (Albert Chan) [2025-03-20 06:40:15] Production.INFO: Checkcustomer [2025-03-20 06:40:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29" [2025-03-20 06:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:40:16] Production.INFO: call_cost start [2025-03-20 06:40:16] Production.INFO: call_cost end [2025-03-20 06:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:40:17] Production.INFO: ==21718== Releasing lock... [2025-03-20 06:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:40:18] Production.INFO: -- count --0 [2025-03-20 06:40:18] Production.INFO: count ==75 [2025-03-20 06:40:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:40:06 - End Time 2025-03-20 06:40:06 [2025-03-20 06:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721065', 'tblTempUsageDetail_20' ) start [2025-03-20 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721065', 'tblTempUsageDetail_20' ) end [2025-03-20 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721065', 'tblTempVendorCDR_20' ) start [2025-03-20 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721065', 'tblTempVendorCDR_20' ) end [2025-03-20 06:40:18] Production.INFO: ProcessCDR(1,14721065,1,1,2) [2025-03-20 06:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:40:21] Production.INFO: ==== Contact Information 1 [2025-03-20 06:40:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29" [2025-03-20 06:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721065', 'tblTempUsageDetail_20' ) start [2025-03-20 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721065', 'tblTempUsageDetail_20' ) end [2025-03-20 06:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:40:21] Production.INFO: ==21726== Releasing lock... [2025-03-20 06:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:40:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 06:40:23] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:40:23] Production.INFO: AccountID 5 [2025-03-20 06:40:23] Production.INFO: AccountName DMCI [2025-03-20 06:40:23] Production.INFO: Checkcustomer [2025-03-20 06:40:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI" [2025-03-20 06:40:26] Production.INFO: -- count --0 [2025-03-20 06:40:28] Production.INFO: ==== Contact Information 1 [2025-03-20 06:40:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI" [2025-03-20 06:40:31] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:40:31] Production.INFO: AccountID 13 [2025-03-20 06:40:31] Production.INFO: AccountName Rosedale Diner [2025-03-20 06:40:31] Production.INFO: Checkcustomer [2025-03-20 06:40:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner" [2025-03-20 06:40:34] Production.INFO: -- count --0 [2025-03-20 06:40:37] Production.INFO: ==== Contact Information 1 [2025-03-20 06:40:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner" [2025-03-20 06:40:39] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:40:39] Production.INFO: AccountID 73 [2025-03-20 06:40:39] Production.INFO: AccountName Discovery Point Nursery [2025-03-20 06:40:39] Production.INFO: Checkcustomer [2025-03-20 06:40:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery" [2025-03-20 06:40:42] Production.INFO: -- count --0 [2025-03-20 06:40:45] Production.INFO: ==== Contact Information 1 [2025-03-20 06:40:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery" [2025-03-20 06:40:47] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:40:47] Production.INFO: AccountID 139 [2025-03-20 06:40:47] Production.INFO: AccountName Dominos 10560 (Ricky Singh) [2025-03-20 06:40:47] Production.INFO: Checkcustomer [2025-03-20 06:40:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29" [2025-03-20 06:40:51] Production.INFO: -- count --0 [2025-03-20 06:40:53] Production.INFO: ==== Contact Information 1 [2025-03-20 06:40:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29" [2025-03-20 06:40:56] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:40:56] Production.INFO: AccountID 65 [2025-03-20 06:40:56] Production.INFO: AccountName AOPG Inc. [2025-03-20 06:40:56] Production.INFO: Checkcustomer [2025-03-20 06:40:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc." [2025-03-20 06:40:58] Production.INFO: -- count --0 [2025-03-20 06:41:01] Production.INFO: ==== Contact Information 1 [2025-03-20 06:41:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc." [2025-03-20 10:41:02] Production.INFO: ==21808== Lock acquired, processing the job... [2025-03-20 10:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:41:02] Production.INFO: neon service started [2025-03-20 10:41:02] Production.INFO: neon service started [2025-03-20 10:41:02] Production.INFO: ==21808== Releasing lock... [2025-03-20 10:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:41:02] Production.INFO: ==21810== Lock acquired, processing the job... [2025-03-20 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:41:02] Production.INFO: ==21812== Lock acquired, processing the job... [2025-03-20 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:41:02] Production.INFO: ==21812== Releasing lock... [2025-03-20 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:41:03] Production.INFO: ==21810== Releasing lock... [2025-03-20 06:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:41:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:41:03] Production.INFO: ==21817== Lock acquired, processing the job... [2025-03-20 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:41:04] Production.INFO: ==21823== Lock acquired, processing the job... [2025-03-20 06:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:41:04] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:41:04] Production.INFO: AccountID 250 [2025-03-20 06:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:41:04] Production.INFO: AccountName Bennison Smith Law [2025-03-20 06:41:04] Production.INFO: ==21815== Lock acquired, processing the job... [2025-03-20 06:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:41:04] Production.INFO: Checkcustomer [2025-03-20 06:41:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 06:41:04] Production.INFO: ==21819== Lock acquired, processing the job... [2025-03-20 06:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:41:04] Production.INFO: ==21821== Lock acquired, processing the job... [2025-03-20 06:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:41:04] Production.INFO: ==21826== Lock acquired, processing the job... [2025-03-20 06:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:41:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:41:04] Production.INFO: Account Balance Start. [2025-03-20 06:41:04] Production.INFO: CreateAllLog Start [2025-03-20 06:41:04] Production.INFO: 117 [2025-03-20 06:41:04] Production.INFO: ==21817== Releasing lock... [2025-03-20 06:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:41:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:41:04] Production.INFO: count ==12 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:41:04] Production.INFO: count ==23 [2025-03-20 06:41:04] Production.ERROR: done [2025-03-20 06:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721070') start [2025-03-20 06:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721070') end [2025-03-20 06:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:41:04] Production.INFO: 1 [2025-03-20 06:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:04] Production.INFO: ==21826== Releasing lock... [2025-03-20 06:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:04] Production.ERROR: done [2025-03-20 06:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:41:05] Production.INFO: Total Charge 0 [2025-03-20 06:41:05] Production.INFO: CreateAllLog End [2025-03-20 06:41:05] Production.INFO: Account Balance End. [2025-03-20 06:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:41:05] Production.INFO: ==21821== Releasing lock... [2025-03-20 06:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:41:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:41:06 [end_date_ymd] => 2025-03-20 06:41:06 [RateCDR] => 1 ) [2025-03-20 06: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-03-20 03:41:06' and `end` < '2025-03-20 06: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-03-20 06:41:06] Production.INFO: -- count --0 [2025-03-20 06:41:09] Production.INFO: ==== Contact Information 1 [2025-03-20 06:41:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 06:41:12] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:41:12] Production.INFO: AccountID 53 [2025-03-20 06:41:12] Production.INFO: AccountName Plus Travel Group [2025-03-20 06:41:12] Production.INFO: Checkcustomer [2025-03-20 06:41:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 06:41:13] Production.ERROR: CronJobId end10 [2025-03-20 06:41:13] Production.INFO: ==21819== Releasing lock... [2025-03-20 06:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:41:14] Production.INFO: call_cost start [2025-03-20 06:41:14] Production.INFO: call_cost end [2025-03-20 06:41:15] Production.INFO: -- count --0 [2025-03-20 06:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:41:15] Production.INFO: ==21815== Releasing lock... [2025-03-20 06:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:41:18] Production.INFO: count ==75 [2025-03-20 06:41:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:41:06 - End Time 2025-03-20 06:41:06 [2025-03-20 06:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721071', 'tblTempUsageDetail_20' ) start [2025-03-20 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721071', 'tblTempUsageDetail_20' ) end [2025-03-20 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721071', 'tblTempVendorCDR_20' ) start [2025-03-20 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721071', 'tblTempVendorCDR_20' ) end [2025-03-20 06:41:18] Production.INFO: ProcessCDR(1,14721071,1,1,2) [2025-03-20 06:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:41:18] Production.INFO: ==== Contact Information 1 [2025-03-20 06:41:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 06:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721071,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:41:20] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:41:20] Production.INFO: AccountID 211 [2025-03-20 06:41:20] Production.INFO: AccountName Dominos 39052 (Sandeep Chaudhari) [2025-03-20 06:41:20] Production.INFO: Checkcustomer [2025-03-20 06:41:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039052%20%28Sandeep%20Chaudhari%29" [2025-03-20 06:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721071,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721071', 'tblTempUsageDetail_20' ) start [2025-03-20 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721071', 'tblTempUsageDetail_20' ) end [2025-03-20 06:41:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:41:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:41:21] Production.INFO: ==21823== Releasing lock... [2025-03-20 06:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:41:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 06:41:23] Production.INFO: -- count --0 [2025-03-20 06:41:26] Production.INFO: ==== Contact Information 1 [2025-03-20 06:41:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039052%20%28Sandeep%20Chaudhari%29" [2025-03-20 06:41:29] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:41:29] Production.INFO: AccountID 227 [2025-03-20 06:41:29] Production.INFO: AccountName Quiznos 15184 (Akshay Naik) [2025-03-20 06:41:29] Production.INFO: Checkcustomer [2025-03-20 06:41:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29" [2025-03-20 06:41:32] Production.INFO: -- count --0 [2025-03-20 06:41:35] Production.INFO: ==== Contact Information 1 [2025-03-20 06:41:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29" [2025-03-20 06:41:38] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:41:38] Production.INFO: AccountID 241 [2025-03-20 06:41:38] Production.INFO: AccountName Quiznos 15192 (Akshay Naik) [2025-03-20 06:41:38] Production.INFO: Checkcustomer [2025-03-20 06:41:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-03-20 06:41:40] Production.INFO: -- count --0 [2025-03-20 06:41:43] Production.INFO: ==== Contact Information 1 [2025-03-20 06:41:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-03-20 06:41:45] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:41:45] Production.INFO: AccountID 254 [2025-03-20 06:41:45] Production.INFO: AccountName Robson Carpenter LLP [2025-03-20 06:41:45] Production.INFO: Checkcustomer [2025-03-20 06:41:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 06:41:48] Production.INFO: -- count --0 [2025-03-20 06:41:51] Production.INFO: ==== Contact Information 1 [2025-03-20 06:41:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 06:41:54] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:41:54] Production.INFO: -- Xero Add Inovice -- [2025-03-20 06:41:54] Production.INFO: CheckInvoice xerov2: INV11734 [2025-03-20 06:41:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11734 [2025-03-20 06:41:56] Production.INFO: ========================== Exception occured ============================= [2025-03-20 06:41:56] 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->CheckInvoice() #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-03-20 06:41:56] Production.INFO: ========================== Exception updated in job and email sent ============================= [2025-03-20 06:41:56] Production.INFO: ==21210== Releasing lock... [2025-03-20 06:41:56] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10793 #Stops# [2025-03-20 06:41:56] Production.INFO: 27.25 MB #Memory Used# [2025-03-20 10:42:01] Production.INFO: ==21902== Lock acquired, processing the job... [2025-03-20 10:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:42:01] Production.INFO: neon service started [2025-03-20 10:42:01] Production.INFO: neon service started [2025-03-20 10:42:01] Production.INFO: ==21902== Releasing lock... [2025-03-20 10:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:42:02] Production.INFO: ==21906== Lock acquired, processing the job... [2025-03-20 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:42:02] Production.INFO: ==21906== Releasing lock... [2025-03-20 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:42:02] Production.INFO: ==21904== Lock acquired, processing the job... [2025-03-20 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:42:02] Production.INFO: ==21904== Releasing lock... [2025-03-20 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:42:03] Production.INFO: ==21908== Lock acquired, processing the job... [2025-03-20 06:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:42:03] Production.INFO: ==21917== Lock acquired, processing the job... [2025-03-20 06:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:42:03] Production.INFO: ==21910== Lock acquired, processing the job... [2025-03-20 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:42:03] Production.INFO: ==21919== Lock acquired, processing the job... [2025-03-20 06:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:42:03] Production.INFO: ==21912== Lock acquired, processing the job... [2025-03-20 06:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:42:03] Production.INFO: ==21914== Lock acquired, processing the job... [2025-03-20 06:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:42:03] Production.INFO: Account Balance Start. [2025-03-20 06:42:03] Production.INFO: CreateAllLog Start [2025-03-20 06:42:03] Production.INFO: 117 [2025-03-20 06:42:03] Production.INFO: ==21910== Releasing lock... [2025-03-20 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:42:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:42:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:42:04] Production.INFO: count ==12 [2025-03-20 06:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:42:04] Production.INFO: count ==23 [2025-03-20 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721074') start [2025-03-20 06:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:42:04] Production.ERROR: done [2025-03-20 06:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721074') end [2025-03-20 06:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:42:04] Production.INFO: 1 [2025-03-20 06:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:42:04] Production.INFO: Total Charge 0 [2025-03-20 06:42:04] Production.INFO: CreateAllLog End [2025-03-20 06:42:04] Production.INFO: ==21919== Releasing lock... [2025-03-20 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:42:04] Production.ERROR: done [2025-03-20 06:42:04] Production.INFO: Account Balance End. [2025-03-20 06:42:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:42:04] Production.INFO: ==21914== Releasing lock... [2025-03-20 06:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:42:05 [end_date_ymd] => 2025-03-20 06:42:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:42:05' and `end` < '2025-03-20 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-03-20 06:42:12] Production.ERROR: CronJobId end10 [2025-03-20 06:42:12] Production.INFO: ==21912== Releasing lock... [2025-03-20 06:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:42:14] Production.INFO: call_cost start [2025-03-20 06:42:14] Production.INFO: call_cost end [2025-03-20 06:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:42:15] Production.INFO: ==21908== Releasing lock... [2025-03-20 06:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:42:17] Production.INFO: count ==74 [2025-03-20 06:42:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:42:05 - End Time 2025-03-20 06:42:05 [2025-03-20 06:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721076', 'tblTempUsageDetail_20' ) start [2025-03-20 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721076', 'tblTempUsageDetail_20' ) end [2025-03-20 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721076', 'tblTempVendorCDR_20' ) start [2025-03-20 06:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721076', 'tblTempVendorCDR_20' ) end [2025-03-20 06:42:17] Production.INFO: ProcessCDR(1,14721076,1,1,2) [2025-03-20 06:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721076,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721076,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721076', 'tblTempUsageDetail_20' ) start [2025-03-20 06:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721076', 'tblTempUsageDetail_20' ) end [2025-03-20 06:42:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:42:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:42:20] Production.INFO: ==21917== Releasing lock... [2025-03-20 06:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:42:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:43:02] Production.INFO: ==21972== Lock acquired, processing the job... [2025-03-20 10:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:43:02] Production.INFO: neon service started [2025-03-20 10:43:02] Production.INFO: neon service started [2025-03-20 10:43:02] Production.INFO: ==21972== Releasing lock... [2025-03-20 10:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:43:02] Production.INFO: ==21975== Lock acquired, processing the job... [2025-03-20 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:43:02] Production.INFO: ==21975== Releasing lock... [2025-03-20 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:43:02] Production.INFO: ==21977== Lock acquired, processing the job... [2025-03-20 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:43:02] Production.INFO: ==21977== Releasing lock... [2025-03-20 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:43:03] Production.INFO: ==21983== Lock acquired, processing the job... [2025-03-20 06:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:43:03] Production.INFO: ==21987== Lock acquired, processing the job... [2025-03-20 06:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:43:03] Production.INFO: ==21979== Lock acquired, processing the job... [2025-03-20 06:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:43:03] Production.INFO: ==21981== Lock acquired, processing the job... [2025-03-20 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:43:03] Production.INFO: ==21985== Lock acquired, processing the job... [2025-03-20 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:43:03] Production.INFO: ==21989== Lock acquired, processing the job... [2025-03-20 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:43:04] Production.ERROR: done [2025-03-20 06:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:43:04] Production.INFO: Account Balance Start. [2025-03-20 06:43:04] Production.INFO: CreateAllLog Start [2025-03-20 06:43:04] Production.INFO: 117 [2025-03-20 06:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:04] Production.INFO: count ==12 [2025-03-20 06:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:43:04] Production.INFO: count ==23 [2025-03-20 06:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721079') start [2025-03-20 06:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:04] Production.INFO: ==21981== Releasing lock... [2025-03-20 06:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:43:04] Production.ERROR: done [2025-03-20 06:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721079') end [2025-03-20 06:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:43:04] Production.INFO: 1 [2025-03-20 06:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:43:04] Production.INFO: ==21989== Releasing lock... [2025-03-20 06:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:43:05] Production.INFO: Total Charge 0 [2025-03-20 06:43:05] Production.INFO: CreateAllLog End [2025-03-20 06:43:05] Production.INFO: Account Balance End. [2025-03-20 06:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:43:05] Production.INFO: ==21985== Releasing lock... [2025-03-20 06:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:43:05 [end_date_ymd] => 2025-03-20 06:43:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:43:05' and `end` < '2025-03-20 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-03-20 06:43:11] Production.ERROR: CronJobId end10 [2025-03-20 06:43:11] Production.INFO: ==21983== Releasing lock... [2025-03-20 06:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:43:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:43:15] Production.INFO: call_cost start [2025-03-20 06:43:15] Production.INFO: call_cost end [2025-03-20 06:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:43:16] Production.INFO: ==21979== Releasing lock... [2025-03-20 06:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:43:17] Production.INFO: count ==71 [2025-03-20 06:43:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:43:05 - End Time 2025-03-20 06:43:05 [2025-03-20 06:43:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721081', 'tblTempUsageDetail_20' ) start [2025-03-20 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721081', 'tblTempUsageDetail_20' ) end [2025-03-20 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721081', 'tblTempVendorCDR_20' ) start [2025-03-20 06:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721081', 'tblTempVendorCDR_20' ) end [2025-03-20 06:43:17] Production.INFO: ProcessCDR(1,14721081,1,1,2) [2025-03-20 06:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721081,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721081,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721081', 'tblTempUsageDetail_20' ) start [2025-03-20 06:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721081', 'tblTempUsageDetail_20' ) end [2025-03-20 06:43:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:43:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:43:21] Production.INFO: ==21987== Releasing lock... [2025-03-20 06:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:43:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 10:44:01] Production.INFO: ==22043== Lock acquired, processing the job... [2025-03-20 10:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:44:01] Production.INFO: neon service started [2025-03-20 10:44:01] Production.INFO: neon service started [2025-03-20 10:44:01] Production.INFO: ==22043== Releasing lock... [2025-03-20 10:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:44:02] Production.INFO: ==22045== Lock acquired, processing the job... [2025-03-20 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:44:02] Production.INFO: ==22045== Releasing lock... [2025-03-20 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:44:02] Production.INFO: ==22047== Lock acquired, processing the job... [2025-03-20 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:44:02] Production.INFO: ==22047== Releasing lock... [2025-03-20 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:44:03] Production.INFO: ==22050== Lock acquired, processing the job... [2025-03-20 06:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:44:03] Production.INFO: ==22052== Lock acquired, processing the job... [2025-03-20 06:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:44:03] Production.INFO: ==22056== Lock acquired, processing the job... [2025-03-20 06:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:44:03] Production.INFO: Account Balance Start. [2025-03-20 06:44:03] Production.INFO: CreateAllLog Start [2025-03-20 06:44:03] Production.INFO: 117 [2025-03-20 06:44:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:03] Production.INFO: ==22054== Lock acquired, processing the job... [2025-03-20 06:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:44:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:03] Production.INFO: ==22052== Releasing lock... [2025-03-20 06:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:44:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:03] Production.INFO: ==22058== Lock acquired, processing the job... [2025-03-20 06:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:44:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:03] Production.INFO: Date 2025-03-15 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:03] Production.INFO: ==22060== Lock acquired, processing the job... [2025-03-20 06:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:44:03] Production.INFO: Date 2025-03-16 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:03] Production.INFO: Date 2025-03-17 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:03] Production.INFO: Date 2025-03-18 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:03] Production.INFO: Date 2025-03-19 [2025-03-20 06:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:44:04] Production.INFO: Total Charge 0 [2025-03-20 06:44:04] Production.INFO: count ==12 [2025-03-20 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-03-20 06:44:04] Production.INFO: count ==23 [2025-03-20 06:44:04] Production.INFO: CreateAllLog End [2025-03-20 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721085') start [2025-03-20 06:44:04] Production.ERROR: done [2025-03-20 06:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721085') end [2025-03-20 06:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:44:04] Production.INFO: 1 [2025-03-20 06:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:44:04] Production.INFO: ==22060== Releasing lock... [2025-03-20 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:44:04] Production.INFO: Account Balance End. [2025-03-20 06:44:04] Production.ERROR: done [2025-03-20 06:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:44:04] Production.INFO: ==22056== Releasing lock... [2025-03-20 06:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:44:05 [end_date_ymd] => 2025-03-20 06:44:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:44:05' and `end` < '2025-03-20 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-03-20 06:44:12] Production.ERROR: CronJobId end10 [2025-03-20 06:44:12] Production.INFO: ==22054== Releasing lock... [2025-03-20 06:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:44:15] Production.INFO: call_cost start [2025-03-20 06:44:15] Production.INFO: call_cost end [2025-03-20 06:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:44:16] Production.INFO: ==22050== Releasing lock... [2025-03-20 06:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:44:17] Production.INFO: count ==71 [2025-03-20 06:44:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:44:05 - End Time 2025-03-20 06:44:05 [2025-03-20 06:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721086', 'tblTempUsageDetail_20' ) start [2025-03-20 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721086', 'tblTempUsageDetail_20' ) end [2025-03-20 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721086', 'tblTempVendorCDR_20' ) start [2025-03-20 06:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721086', 'tblTempVendorCDR_20' ) end [2025-03-20 06:44:17] Production.INFO: ProcessCDR(1,14721086,1,1,2) [2025-03-20 06:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721086', 'tblTempUsageDetail_20' ) start [2025-03-20 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721086', 'tblTempUsageDetail_20' ) end [2025-03-20 06:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:44:21] Production.INFO: ==22058== Releasing lock... [2025-03-20 06:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:44:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 10:45:02] Production.INFO: ==22118== Lock acquired, processing the job... [2025-03-20 10:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:45:02] Production.INFO: neon service started [2025-03-20 10:45:02] Production.INFO: neon service started [2025-03-20 10:45:02] Production.INFO: ==22118== Releasing lock... [2025-03-20 10:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:45:02] Production.INFO: ==22122== Lock acquired, processing the job... [2025-03-20 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:45:02] Production.INFO: ==22122== Releasing lock... [2025-03-20 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:45:02] Production.INFO: ==22120== Lock acquired, processing the job... [2025-03-20 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:45:03] Production.INFO: ==22120== Releasing lock... [2025-03-20 06:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:45:03] Production.INFO: ==22125== Lock acquired, processing the job... [2025-03-20 06:45:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10794 #Starts# [2025-03-20 06:45:04] Production.INFO: ==22127== Lock acquired, processing the job... [2025-03-20 06:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:45:04] Production.INFO: ==22130== Lock acquired, processing the job... [2025-03-20 06:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:45:04] Production.INFO: -- Xero Api Check -- [2025-03-20 06:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:45:04] Production.INFO: ==22132== Lock acquired, processing the job... [2025-03-20 06:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:45:04] Production.INFO: ==22134== Lock acquired, processing the job... [2025-03-20 06:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:45:04] Production.INFO: Account Balance Start. [2025-03-20 06:45:04] Production.INFO: CreateAllLog Start [2025-03-20 06:45:04] Production.INFO: ==22136== Lock acquired, processing the job... [2025-03-20 06:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:45:04] Production.INFO: 117 [2025-03-20 06:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:45:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:45:04] Production.INFO: ==22138== Lock acquired, processing the job... [2025-03-20 06:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:04] Production.INFO: count ==12 [2025-03-20 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-03-20 06:45:04] Production.INFO: count ==23 [2025-03-20 06:45:04] Production.INFO: ==22130== Releasing lock... [2025-03-20 06:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721090') start [2025-03-20 06:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:04] Production.ERROR: done [2025-03-20 06:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721090') end [2025-03-20 06:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:45:04] Production.INFO: 1 [2025-03-20 06:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:45:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:04] Production.INFO: ==22138== Releasing lock... [2025-03-20 06:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:45:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:45: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.910687 [namelookup_time] => 0.285414 [connect_time] => 0.361026 [pretransfer_time] => 0.694639 [size_upload] => 82 [size_download] => 2755 [speed_download] => 3025 [speed_upload] => 90 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 0.910642 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.32 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 52192 ) [2025-03-20 06:45:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njc1MDQsImV4cCI6MTc0MjQ2NzgwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY3NTA0LCJhdF9oYXNoIjoicTVuRkthZVcxQzQ5NmpwNXJxNnR6USIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzM4MDUzNjgxLCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJzaWQiOiIyYjY5YWM1ZWQ4MjY0YTY3YjdkMDAzOWM3MWMyOGRhOSIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RsMr48bXHHiBDMIq9jfVoFyH0N1gcKudlAscUNd5erAv3hV4Nx-joVjbI3G7tS0r37U0j6o6nXULIrlqfyKZO0oHzXaB5RxS99WKP8PL3aKhN0bxA_t_MIPpbhmKBGUjUCguBKC84LVrdcI7Rw5Xza_VJG41kqcd-XZyEJHF54Nk5RQOQSz_tv0lUVa_85mXHugNKGi04_pLZWmthJiijRsKwBh29jGfxTTyid8HdrLlmjv6OEKm0GoHGsqY9uRYtopDq1zEd4ISuJGW3qZm04AIH8xcqqwLRQ8G78QzbiVCmISnsOuuSLkCXBYAfOp0y3XwrKwwsgQmxjO5UJfufQ [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njc1MDQsImV4cCI6MTc0MjQ2OTMwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczODA1MzY4MSwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjJiNjlhYzVlZDgyNjRhNjdiN2QwMDM5YzcxYzI4ZGE5Iiwic2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJqdGkiOiI2ODlBQTc4QThDNUQ2NTFDNzBBOTFDMTBBNTlEMjRGRCIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMjc4M2YzN2MtNjY4OS00YzA0LWExZjMtYmEyOWYwNzYyNzhmIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.vm9y6nM-zvE5LXaOTcZ6YUz3F6GV_BJGefvQ1wz7Ke2qnvf94k5cDyo3lJzDmckvB4TBiz-ouVfNpblhfzrCZCCmC4i6EGcpsKE3X77BR6me_AmcP84AmzuIhF-6MbBAWHT7CG8fdeFZFjl0Jodh47PetRnC8ikm4eLdJVcF6V1wMRAtS12QhBRmZSltmT3i2CuUI9L51njkLjq37i_LGW3BJaxuWl8654thEKVPR01GAOIIzKxZuiR9DKXQrEZ16Wsy4coSGAngKUdOnB-C8HYjLmdhzL_sea7VkFn9tytF1bK761O6Sc7EEhnJbK-N93sUwARB45CnbHyLQeTW6A [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 3iNzXw37ywjN5wu2C_Suqdhh_j1OZLvOm3mzIi7JAKM [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 06:45:05] Production.ERROR: done [2025-03-20 06:45:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njc1MDQsImV4cCI6MTc0MjQ2NzgwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY3NTA0LCJhdF9oYXNoIjoicTVuRkthZVcxQzQ5NmpwNXJxNnR6USIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzM4MDUzNjgxLCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJzaWQiOiIyYjY5YWM1ZWQ4MjY0YTY3YjdkMDAzOWM3MWMyOGRhOSIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RsMr48bXHHiBDMIq9jfVoFyH0N1gcKudlAscUNd5erAv3hV4Nx-joVjbI3G7tS0r37U0j6o6nXULIrlqfyKZO0oHzXaB5RxS99WKP8PL3aKhN0bxA_t_MIPpbhmKBGUjUCguBKC84LVrdcI7Rw5Xza_VJG41kqcd-XZyEJHF54Nk5RQOQSz_tv0lUVa_85mXHugNKGi04_pLZWmthJiijRsKwBh29jGfxTTyid8HdrLlmjv6OEKm0GoHGsqY9uRYtopDq1zEd4ISuJGW3qZm04AIH8xcqqwLRQ8G78QzbiVCmISnsOuuSLkCXBYAfOp0y3XwrKwwsgQmxjO5UJfufQ [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njc1MDQsImV4cCI6MTc0MjQ2OTMwNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczODA1MzY4MSwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjJiNjlhYzVlZDgyNjRhNjdiN2QwMDM5YzcxYzI4ZGE5Iiwic2lkIjoiMmI2OWFjNWVkODI2NGE2N2I3ZDAwMzljNzFjMjhkYTkiLCJqdGkiOiI2ODlBQTc4QThDNUQ2NTFDNzBBOTFDMTBBNTlEMjRGRCIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMjc4M2YzN2MtNjY4OS00YzA0LWExZjMtYmEyOWYwNzYyNzhmIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.vm9y6nM-zvE5LXaOTcZ6YUz3F6GV_BJGefvQ1wz7Ke2qnvf94k5cDyo3lJzDmckvB4TBiz-ouVfNpblhfzrCZCCmC4i6EGcpsKE3X77BR6me_AmcP84AmzuIhF-6MbBAWHT7CG8fdeFZFjl0Jodh47PetRnC8ikm4eLdJVcF6V1wMRAtS12QhBRmZSltmT3i2CuUI9L51njkLjq37i_LGW3BJaxuWl8654thEKVPR01GAOIIzKxZuiR9DKXQrEZ16Wsy4coSGAngKUdOnB-C8HYjLmdhzL_sea7VkFn9tytF1bK761O6Sc7EEhnJbK-N93sUwARB45CnbHyLQeTW6A [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 3iNzXw37ywjN5wu2C_Suqdhh_j1OZLvOm3mzIi7JAKM [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 06:45:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:45:05] Production.INFO: Total Charge 0 [2025-03-20 06:45:05] Production.INFO: CreateAllLog End [2025-03-20 06:45:05] Production.INFO: Account Balance End. [2025-03-20 06:45:05] Production.INFO: AccountID 67 [2025-03-20 06:45:05] Production.INFO: AccountName Stars & Maple Tours [2025-03-20 06:45:05] Production.INFO: Checkcustomer [2025-03-20 06:45:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-03-20 06:45:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:45:05] Production.INFO: ==22134== Releasing lock... [2025-03-20 06:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:45:06 [end_date_ymd] => 2025-03-20 06:45:06 [RateCDR] => 1 ) [2025-03-20 06:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:45:06' and `end` < '2025-03-20 06:45:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:45:08] Production.INFO: -- count --0 [2025-03-20 06:45:11] Production.INFO: ==== Contact Information 1 [2025-03-20 06:45:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-03-20 06:45:12] Production.ERROR: CronJobId end10 [2025-03-20 06:45:12] Production.INFO: ==22132== Releasing lock... [2025-03-20 06:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:45:14] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:45:14] Production.INFO: AccountID 78 [2025-03-20 06:45:14] Production.INFO: AccountName Halcyon Travel [2025-03-20 06:45:14] Production.INFO: Checkcustomer [2025-03-20 06:45:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 06:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:45:15] Production.INFO: call_cost start [2025-03-20 06:45:15] Production.INFO: call_cost end [2025-03-20 06:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:45:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:45:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:45:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:45:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:45:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:45:16] Production.INFO: ==22127== Releasing lock... [2025-03-20 06:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:45:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:45:17] Production.INFO: -- count --0 [2025-03-20 06:45:18] Production.INFO: count ==64 [2025-03-20 06:45:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:45:06 - End Time 2025-03-20 06:45:06 [2025-03-20 06:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721091', 'tblTempUsageDetail_20' ) start [2025-03-20 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721091', 'tblTempUsageDetail_20' ) end [2025-03-20 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721091', 'tblTempVendorCDR_20' ) start [2025-03-20 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721091', 'tblTempVendorCDR_20' ) end [2025-03-20 06:45:18] Production.INFO: ProcessCDR(1,14721091,1,1,2) [2025-03-20 06:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:45:20] Production.INFO: ==== Contact Information 1 [2025-03-20 06:45:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 06:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721091', 'tblTempUsageDetail_20' ) start [2025-03-20 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721091', 'tblTempUsageDetail_20' ) end [2025-03-20 06:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:45:21] Production.INFO: ==22136== Releasing lock... [2025-03-20 06:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:45:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 06:45:23] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:45:23] Production.INFO: AccountID 102 [2025-03-20 06:45:23] Production.INFO: AccountName Dominos 39013 (Mudassar Zia) [2025-03-20 06:45:23] Production.INFO: Checkcustomer [2025-03-20 06:45:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29" [2025-03-20 06:45:26] Production.INFO: -- count --0 [2025-03-20 06:45:29] Production.INFO: ==== Contact Information 1 [2025-03-20 06:45:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29" [2025-03-20 06:45:31] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:45:31] Production.INFO: AccountID 14 [2025-03-20 06:45:31] Production.INFO: AccountName Dominos 10515 (Ronny Khan) [2025-03-20 06:45:31] Production.INFO: Checkcustomer [2025-03-20 06:45:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-03-20 06:45:33] Production.INFO: -- count --0 [2025-03-20 06:45:36] Production.INFO: ==== Contact Information 1 [2025-03-20 06:45:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-03-20 06:45:39] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:45:39] Production.INFO: AccountID 93 [2025-03-20 06:45:39] Production.INFO: AccountName Personas [2025-03-20 06:45:39] Production.INFO: Checkcustomer [2025-03-20 06:45:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-03-20 06:45:42] Production.INFO: -- count --0 [2025-03-20 06:45:44] Production.INFO: ==== Contact Information 1 [2025-03-20 06:45:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-03-20 06:45:47] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:45:47] Production.INFO: AccountID 151 [2025-03-20 06:45:47] Production.INFO: AccountName Dominos 10584 (Rick Singh) [2025-03-20 06:45:47] Production.INFO: Checkcustomer [2025-03-20 06:45:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29" [2025-03-20 06:45:50] Production.INFO: -- count --0 [2025-03-20 06:45:52] Production.INFO: ==== Contact Information 1 [2025-03-20 06:45:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29" [2025-03-20 06:45:54] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:45:54] Production.INFO: AccountID 263 [2025-03-20 06:45:54] Production.INFO: AccountName Dominos 10173 (Abdul Karim) [2025-03-20 06:45:54] Production.INFO: Checkcustomer [2025-03-20 06:45:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010173%20%28Abdul%20Karim%29" [2025-03-20 06:45:57] Production.INFO: -- count --0 [2025-03-20 06:46:00] Production.INFO: ==== Contact Information 1 [2025-03-20 06:46:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010173%20%28Abdul%20Karim%29" [2025-03-20 10:46:01] Production.INFO: ==22209== Lock acquired, processing the job... [2025-03-20 10:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:46:01] Production.INFO: neon service started [2025-03-20 10:46:01] Production.INFO: neon service started [2025-03-20 10:46:01] Production.INFO: ==22209== Releasing lock... [2025-03-20 10:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:46:02] Production.INFO: ==22211== Lock acquired, processing the job... [2025-03-20 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:46:02] Production.INFO: ==22213== Lock acquired, processing the job... [2025-03-20 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:46:02] Production.INFO: ==22213== Releasing lock... [2025-03-20 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:46:02] Production.INFO: ==22211== Releasing lock... [2025-03-20 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:46:03] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:46:03] Production.INFO: AccountID 57 [2025-03-20 06:46:03] Production.INFO: AccountName Dominos 39041 (Rishi Kakar) [2025-03-20 06:46:03] Production.INFO: Checkcustomer [2025-03-20 06:46:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29" [2025-03-20 06:46:03] Production.INFO: ==22219== Lock acquired, processing the job... [2025-03-20 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:46:03] Production.INFO: ==22221== Lock acquired, processing the job... [2025-03-20 06:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:46:03] Production.INFO: ==22227== Lock acquired, processing the job... [2025-03-20 06:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:46:03] Production.INFO: ==22217== Lock acquired, processing the job... [2025-03-20 06:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 06:46:03] Production.INFO: ==22219== Releasing lock... [2025-03-20 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:46:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:46:03] Production.INFO: count ==12 [2025-03-20 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-03-20 06:46:03] Production.INFO: ==22223== Lock acquired, processing the job... [2025-03-20 06:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:46:03] Production.INFO: count ==23 [2025-03-20 06:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:46:03] Production.INFO: ==22225== Lock acquired, processing the job... [2025-03-20 06:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721093') start [2025-03-20 06:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721093') end [2025-03-20 06:46:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:46:03] Production.INFO: 1 [2025-03-20 06:46:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:46:03] Production.INFO: Account Balance Start. [2025-03-20 06:46:03] Production.INFO: CreateAllLog Start [2025-03-20 06:46:03] Production.INFO: ==22227== Releasing lock... [2025-03-20 06:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:46:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:46:03] Production.INFO: 117 [2025-03-20 06:46:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.ERROR: done [2025-03-20 06:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:46:04] Production.INFO: Total Charge 0 [2025-03-20 06:46:04] Production.INFO: CreateAllLog End [2025-03-20 06:46:04] Production.ERROR: done [2025-03-20 06:46:04] Production.INFO: Account Balance End. [2025-03-20 06:46:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:46:04] Production.INFO: ==22223== Releasing lock... [2025-03-20 06:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:46:05 [end_date_ymd] => 2025-03-20 06:46:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:46:05' and `end` < '2025-03-20 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-03-20 06:46:06] Production.INFO: -- count --0 [2025-03-20 06:46:08] Production.INFO: ==== Contact Information 1 [2025-03-20 06:46:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29" [2025-03-20 06:46:10] Production.ERROR: CronJobId end10 [2025-03-20 06:46:10] Production.INFO: ==22221== Releasing lock... [2025-03-20 06:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:46:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:46:11] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:46:11] Production.INFO: AccountID 107 [2025-03-20 06:46:11] Production.INFO: AccountName Dominos 10179 (Akshay Naik) [2025-03-20 06:46:11] Production.INFO: Checkcustomer [2025-03-20 06:46:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-03-20 06:46:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:46:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:46:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:46:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:46:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:46:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:46:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:46:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:46:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:46:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:46:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:46:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:46:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:46:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:46:14] Production.INFO: call_cost start [2025-03-20 06:46:14] Production.INFO: call_cost end [2025-03-20 06:46:14] Production.INFO: -- count --0 [2025-03-20 06:46:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:46:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:46:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:46:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:46:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:46:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:46:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:46:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:46:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:46:14] Production.INFO: ==22217== Releasing lock... [2025-03-20 06:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:46:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:46:17] Production.INFO: count ==64 [2025-03-20 06:46:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:46:05 - End Time 2025-03-20 06:46:05 [2025-03-20 06:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721096', 'tblTempUsageDetail_20' ) start [2025-03-20 06:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721096', 'tblTempUsageDetail_20' ) end [2025-03-20 06:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721096', 'tblTempVendorCDR_20' ) start [2025-03-20 06:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721096', 'tblTempVendorCDR_20' ) end [2025-03-20 06:46:17] Production.INFO: ProcessCDR(1,14721096,1,1,2) [2025-03-20 06:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:46:17] Production.INFO: ==== Contact Information 1 [2025-03-20 06:46:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-03-20 06:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721096', 'tblTempUsageDetail_20' ) start [2025-03-20 06:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721096', 'tblTempUsageDetail_20' ) end [2025-03-20 06:46:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:46:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:46:20] Production.INFO: ==22225== Releasing lock... [2025-03-20 06:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:46:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 06:46:20] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:46:20] Production.INFO: AccountID 140 [2025-03-20 06:46:20] Production.INFO: AccountName PharmaSave (Uxbridge) [2025-03-20 06:46:20] Production.INFO: Checkcustomer [2025-03-20 06:46:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-03-20 06:46:23] Production.INFO: -- count --0 [2025-03-20 06:46:26] Production.INFO: ==== Contact Information 1 [2025-03-20 06:46:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-03-20 06:46:28] Production.INFO: -- Create Customer Error --Undefined property: stdClass::$Contacts [2025-03-20 06:46:28] Production.INFO: -- Xero Add Inovice -- [2025-03-20 06:46:28] Production.INFO: CheckInvoice xerov2: INV11734 [2025-03-20 06:46:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11734 [2025-03-20 06:46:31] Production.INFO: ========================== Exception occured ============================= [2025-03-20 06:46:31] 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->CheckInvoice() #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-03-20 06:46:31] Production.INFO: ========================== Exception updated in job and email sent ============================= [2025-03-20 06:46:31] Production.INFO: ==22125== Releasing lock... [2025-03-20 06:46:31] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10794 #Stops# [2025-03-20 06:46:31] Production.INFO: 27.25 MB #Memory Used# [2025-03-20 10:47:01] Production.INFO: ==22294== Lock acquired, processing the job... [2025-03-20 10:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:47:01] Production.INFO: neon service started [2025-03-20 10:47:02] Production.INFO: neon service started [2025-03-20 10:47:02] Production.INFO: ==22294== Releasing lock... [2025-03-20 10:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:47:02] Production.INFO: ==22296== Lock acquired, processing the job... [2025-03-20 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:47:02] Production.INFO: ==22296== Releasing lock... [2025-03-20 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:47:02] Production.INFO: ==22298== Lock acquired, processing the job... [2025-03-20 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:47:02] Production.INFO: ==22298== Releasing lock... [2025-03-20 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:47:03] Production.INFO: ==22311== Lock acquired, processing the job... [2025-03-20 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:47:03] Production.INFO: ==22309== Lock acquired, processing the job... [2025-03-20 06:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:47:03] Production.INFO: count ==12 [2025-03-20 06:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:47:03] Production.INFO: count ==23 [2025-03-20 06:47:03] Production.INFO: ==22301== Lock acquired, processing the job... [2025-03-20 06:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721097') start [2025-03-20 06:47:03] Production.INFO: ==22303== Lock acquired, processing the job... [2025-03-20 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:47:03] Production.INFO: ==22305== Lock acquired, processing the job... [2025-03-20 06:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:47:03] Production.INFO: ==22307== Lock acquired, processing the job... [2025-03-20 06:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721097') end [2025-03-20 06:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:47:03] Production.INFO: 1 [2025-03-20 06:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:47:03] Production.INFO: ==22311== Releasing lock... [2025-03-20 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:47:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:47:04] Production.ERROR: done [2025-03-20 06:47:04] Production.INFO: Account Balance Start. [2025-03-20 06:47:04] Production.INFO: CreateAllLog Start [2025-03-20 06:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:47:04] Production.INFO: 117 [2025-03-20 06:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.ERROR: done [2025-03-20 06:47:04] Production.INFO: ==22303== Releasing lock... [2025-03-20 06:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:47:04] Production.INFO: Total Charge 0 [2025-03-20 06:47:04] Production.INFO: CreateAllLog End [2025-03-20 06:47:04] Production.INFO: Account Balance End. [2025-03-20 06:47:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:47:04] Production.INFO: ==22307== Releasing lock... [2025-03-20 06:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:47:05 [end_date_ymd] => 2025-03-20 06:47:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:47:05' and `end` < '2025-03-20 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-03-20 06:47:11] Production.ERROR: CronJobId end10 [2025-03-20 06:47:11] Production.INFO: ==22305== Releasing lock... [2025-03-20 06:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:47:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:47:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:47:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:47:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:47:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:47:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:47:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:47:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:47:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:47:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:47:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:47:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:47:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:47:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:47:14] Production.INFO: call_cost start [2025-03-20 06:47:14] Production.INFO: call_cost end [2025-03-20 06:47:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:47:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:47:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:47:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:47:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:47:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:47:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:47:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:47:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:47:15] Production.INFO: ==22301== Releasing lock... [2025-03-20 06:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:47:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:47:17] Production.INFO: count ==64 [2025-03-20 06:47:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:47:05 - End Time 2025-03-20 06:47:05 [2025-03-20 06:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721101', 'tblTempUsageDetail_20' ) start [2025-03-20 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721101', 'tblTempUsageDetail_20' ) end [2025-03-20 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721101', 'tblTempVendorCDR_20' ) start [2025-03-20 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721101', 'tblTempVendorCDR_20' ) end [2025-03-20 06:47:17] Production.INFO: ProcessCDR(1,14721101,1,1,2) [2025-03-20 06:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:47:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721101', 'tblTempUsageDetail_20' ) start [2025-03-20 06:47:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721101', 'tblTempUsageDetail_20' ) end [2025-03-20 06:47:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:47:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:47:20] Production.INFO: ==22309== Releasing lock... [2025-03-20 06:47:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:47:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:48:01] Production.INFO: ==22366== Lock acquired, processing the job... [2025-03-20 10:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:48:01] Production.INFO: neon service started [2025-03-20 10:48:01] Production.INFO: neon service started [2025-03-20 10:48:01] Production.INFO: ==22366== Releasing lock... [2025-03-20 10:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:48:01] Production.INFO: ==22368== Lock acquired, processing the job... [2025-03-20 06:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:48:02] Production.INFO: ==22368== Releasing lock... [2025-03-20 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:48:02] Production.INFO: ==22370== Lock acquired, processing the job... [2025-03-20 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:48:02] Production.INFO: ==22370== Releasing lock... [2025-03-20 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:48:03] Production.INFO: ==22379== Lock acquired, processing the job... [2025-03-20 06:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:48:03] Production.INFO: ==22383== Lock acquired, processing the job... [2025-03-20 06:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:48:03] Production.INFO: Account Balance Start. [2025-03-20 06:48:03] Production.INFO: CreateAllLog Start [2025-03-20 06:48:03] Production.INFO: 117 [2025-03-20 06:48:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.INFO: ==22375== Lock acquired, processing the job... [2025-03-20 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 06:48:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.INFO: ==22377== Lock acquired, processing the job... [2025-03-20 06:48:03] Production.INFO: ==22373== Lock acquired, processing the job... [2025-03-20 06:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:48:03] Production.INFO: count ==12 [2025-03-20 06:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:48:03] Production.INFO: count ==23 [2025-03-20 06:48:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721103') start [2025-03-20 06:48:03] Production.INFO: ==22381== Lock acquired, processing the job... [2025-03-20 06:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:48:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721103') end [2025-03-20 06:48:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:48:03] Production.INFO: 1 [2025-03-20 06:48:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:48:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:48:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.INFO: Date 2025-03-15 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.INFO: Date 2025-03-16 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.INFO: ==22383== Releasing lock... [2025-03-20 06:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:48:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:48:03] Production.INFO: ==22375== Releasing lock... [2025-03-20 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:48:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:48:03] Production.INFO: Date 2025-03-17 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.INFO: Date 2025-03-18 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.INFO: Date 2025-03-19 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.INFO: Date 2025-03-20 [2025-03-20 06:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:48:03] Production.INFO: Total Charge 0 [2025-03-20 06:48:03] Production.INFO: CreateAllLog End [2025-03-20 06:48:03] Production.ERROR: done [2025-03-20 06:48:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:48:04] Production.ERROR: done [2025-03-20 06:48:04] Production.INFO: Account Balance End. [2025-03-20 06:48:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:48:04] Production.INFO: ==22379== Releasing lock... [2025-03-20 06:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:48:05 [end_date_ymd] => 2025-03-20 06:48:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:48:05' and `end` < '2025-03-20 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-03-20 06:48:12] Production.ERROR: CronJobId end10 [2025-03-20 06:48:12] Production.INFO: ==22377== Releasing lock... [2025-03-20 06:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:48:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:48:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:48:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:48:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:48:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:48:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:48:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:48:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:48:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:48:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:48:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:48:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:48:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:48:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:48:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:48:14] Production.INFO: call_cost start [2025-03-20 06:48:14] Production.INFO: call_cost end [2025-03-20 06:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:48:15] Production.INFO: ==22373== Releasing lock... [2025-03-20 06:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:48:17] Production.INFO: count ==64 [2025-03-20 06:48:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:48:05 - End Time 2025-03-20 06:48:05 [2025-03-20 06:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721106', 'tblTempUsageDetail_20' ) start [2025-03-20 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721106', 'tblTempUsageDetail_20' ) end [2025-03-20 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721106', 'tblTempVendorCDR_20' ) start [2025-03-20 06:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721106', 'tblTempVendorCDR_20' ) end [2025-03-20 06:48:17] Production.INFO: ProcessCDR(1,14721106,1,1,2) [2025-03-20 06:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721106', 'tblTempUsageDetail_20' ) start [2025-03-20 06:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721106', 'tblTempUsageDetail_20' ) end [2025-03-20 06:48:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:48:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:48:20] Production.INFO: ==22381== Releasing lock... [2025-03-20 06:48:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:48:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:49:01] Production.INFO: ==22438== Lock acquired, processing the job... [2025-03-20 10:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:49:01] Production.INFO: neon service started [2025-03-20 10:49:01] Production.INFO: neon service started [2025-03-20 10:49:01] Production.INFO: ==22438== Releasing lock... [2025-03-20 10:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:49:02] Production.INFO: ==22440== Lock acquired, processing the job... [2025-03-20 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:49:02] Production.INFO: ==22440== Releasing lock... [2025-03-20 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:49:02] Production.INFO: ==22442== Lock acquired, processing the job... [2025-03-20 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:49:02] Production.INFO: ==22442== Releasing lock... [2025-03-20 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:49:03] Production.INFO: ==22444== Lock acquired, processing the job... [2025-03-20 06:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:49:03] Production.INFO: ==22446== Lock acquired, processing the job... [2025-03-20 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:49:03] Production.INFO: ==22448== Lock acquired, processing the job... [2025-03-20 06:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:49:03] Production.INFO: ==22450== Lock acquired, processing the job... [2025-03-20 06:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:49:03] Production.INFO: ==22452== Lock acquired, processing the job... [2025-03-20 06:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:49:03] Production.INFO: ==22454== Lock acquired, processing the job... [2025-03-20 06:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:49:03] Production.INFO: Account Balance Start. [2025-03-20 06:49:03] Production.INFO: CreateAllLog Start [2025-03-20 06:49:03] Production.INFO: 117 [2025-03-20 06:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:49:03] Production.INFO: count ==12 [2025-03-20 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-03-20 06:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:49:03] Production.INFO: count ==23 [2025-03-20 06:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721110') start [2025-03-20 06:49:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721110') end [2025-03-20 06:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:49:03] Production.INFO: 1 [2025-03-20 06:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:49:03] Production.INFO: ==22446== Releasing lock... [2025-03-20 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:49:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:04] Production.INFO: ==22454== Releasing lock... [2025-03-20 06:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:49:04] Production.ERROR: done [2025-03-20 06:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:04] Production.ERROR: done [2025-03-20 06:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:49:04] Production.INFO: Total Charge 0 [2025-03-20 06:49:04] Production.INFO: CreateAllLog End [2025-03-20 06:49:04] Production.INFO: Account Balance End. [2025-03-20 06:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:49:04] Production.INFO: ==22450== Releasing lock... [2025-03-20 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:49:05 [end_date_ymd] => 2025-03-20 06:49:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:49:05' and `end` < '2025-03-20 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-03-20 06:49:12] Production.ERROR: CronJobId end10 [2025-03-20 06:49:12] Production.INFO: ==22448== Releasing lock... [2025-03-20 06:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:49:15] Production.INFO: call_cost start [2025-03-20 06:49:15] Production.INFO: call_cost end [2025-03-20 06:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:49:15] Production.INFO: ==22444== Releasing lock... [2025-03-20 06:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:49:17] Production.INFO: count ==64 [2025-03-20 06:49:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:49:05 - End Time 2025-03-20 06:49:05 [2025-03-20 06:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721111', 'tblTempUsageDetail_20' ) start [2025-03-20 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721111', 'tblTempUsageDetail_20' ) end [2025-03-20 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721111', 'tblTempVendorCDR_20' ) start [2025-03-20 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721111', 'tblTempVendorCDR_20' ) end [2025-03-20 06:49:17] Production.INFO: ProcessCDR(1,14721111,1,1,2) [2025-03-20 06:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721111', 'tblTempUsageDetail_20' ) start [2025-03-20 06:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721111', 'tblTempUsageDetail_20' ) end [2025-03-20 06:49:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:49:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:49:21] Production.INFO: ==22452== Releasing lock... [2025-03-20 06:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:49:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:50:02] Production.INFO: ==22513== Lock acquired, processing the job... [2025-03-20 10:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:50:02] Production.INFO: neon service started [2025-03-20 10:50:02] Production.INFO: neon service started [2025-03-20 10:50:02] Production.INFO: ==22513== Releasing lock... [2025-03-20 10:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:50:02] Production.INFO: ==22515== Lock acquired, processing the job... [2025-03-20 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:50:03] Production.INFO: ==22515== Releasing lock... [2025-03-20 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:50:03] Production.INFO: ==22517== Lock acquired, processing the job... [2025-03-20 10:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:50:03] Production.INFO: ==22517== Releasing lock... [2025-03-20 10:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:50:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:50:04] Production.INFO: ==22523== Lock acquired, processing the job... [2025-03-20 06:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:50:04] Production.INFO: ==22530== Lock acquired, processing the job... [2025-03-20 06:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:50:04] Production.INFO: ==22534== Lock acquired, processing the job... [2025-03-20 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:50:04] Production.INFO: ==22519== Lock acquired, processing the job... [2025-03-20 06:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 06:50:04] Production.INFO: ==22521== Lock acquired, processing the job... [2025-03-20 06:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:50:04] Production.INFO: ==22526== Lock acquired, processing the job... [2025-03-20 06:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 06:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:50:04] Production.ERROR: CronJob PID - 22521 [2025-03-20 06:50:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 06:50:04] Production.ERROR: CronJob ID - 5 [2025-03-20 06:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:50:00 [2025-03-20 06:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:50:04] Production.ERROR: CronJob PID - 22523 [2025-03-20 06:50:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 06:50:04] Production.ERROR: CronJob ID - 7 [2025-03-20 06:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:50:00 [2025-03-20 06:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:50:04] Production.ERROR: CronJob PID - 22530 [2025-03-20 06:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 06:50:04] Production.ERROR: CronJob ID - 16 [2025-03-20 06:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:50:00 [2025-03-20 06:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 06:50:04] Production.ERROR: CronJob PID - 22534 [2025-03-20 06:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 06:50:04] Production.ERROR: CronJob ID - 19 [2025-03-20 06:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 06:50:00 [2025-03-20 06:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 06:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 06:50:04] Production.INFO: ==22528== Lock acquired, processing the job... [2025-03-20 06:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 06:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:50:04] Production.INFO: count ==12 [2025-03-20 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-03-20 06:50:04] Production.INFO: count ==23 [2025-03-20 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721113') start [2025-03-20 06:50:04] Production.INFO: ==22532== Lock acquired, processing the job... [2025-03-20 06:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 06:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 06:50:04] Production.INFO: ==22519== Releasing lock... [2025-03-20 06:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 06:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 06:50:05] Production.ERROR: done [2025-03-20 06:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:50:05] Production.INFO: ==22523== Releasing lock... [2025-03-20 06:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:50:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:50:05] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:50:05] Production.INFO: Account Balance Start. [2025-03-20 06:50:05] Production.INFO: CreateAllLog Start [2025-03-20 06:50:05] Production.INFO: 117 [2025-03-20 06:50:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:50:05] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:50:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:50:05] Production.INFO: Date 2025-03-08 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721113') end [2025-03-20 06:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:50:05] Production.INFO: 1 [2025-03-20 06:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:50:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:50:05] Production.INFO: Date 2025-03-09 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.INFO: ==22534== Releasing lock... [2025-03-20 06:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:50:05] Production.ERROR: done [2025-03-20 06:50:05] Production.INFO: Date 2025-03-10 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.INFO: Date 2025-03-11 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.ERROR: done [2025-03-20 06:50:05] Production.INFO: Date 2025-03-12 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 06:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721117', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 06:50:05] Production.INFO: Date 2025-03-13 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.INFO: Date 2025-03-14 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.INFO: Date 2025-03-15 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:50:05] Production.INFO: Total Charge 0 [2025-03-20 06:50:05] Production.INFO: CreateAllLog End [2025-03-20 06:50:05] Production.INFO: Account Balance End. [2025-03-20 06:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:50:05] Production.INFO: ==22528== Releasing lock... [2025-03-20 06:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:50:06 [end_date_ymd] => 2025-03-20 06:50:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:50:06' and `end` < '2025-03-20 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-03-20 06:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721117', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 06:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 06:50:09] Production.INFO: ProcessCDR(1,14721117,1,1,2) [2025-03-20 06:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721117,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721117,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:50:10] Production.INFO: ==22532== Releasing lock... [2025-03-20 06:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 06:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 06:50:15] Production.ERROR: CronJobId end10 [2025-03-20 06:50:15] Production.INFO: ==22526== Releasing lock... [2025-03-20 06:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:50:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:50:17] Production.INFO: call_cost start [2025-03-20 06:50:17] Production.INFO: call_cost end [2025-03-20 06:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:50:18] Production.INFO: ==22521== Releasing lock... [2025-03-20 06:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:50:19] Production.INFO: count ==64 [2025-03-20 06:50:19] Production.ERROR: pbx CDR StartTime 2025-03-20 03:50:06 - End Time 2025-03-20 06:50:06 [2025-03-20 06:50:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721116', 'tblTempUsageDetail_20' ) start [2025-03-20 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721116', 'tblTempUsageDetail_20' ) end [2025-03-20 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721116', 'tblTempVendorCDR_20' ) start [2025-03-20 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721116', 'tblTempVendorCDR_20' ) end [2025-03-20 06:50:19] Production.INFO: ProcessCDR(1,14721116,1,1,2) [2025-03-20 06:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721116', 'tblTempUsageDetail_20' ) start [2025-03-20 06:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721116', 'tblTempUsageDetail_20' ) end [2025-03-20 06:50:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:50:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:50:22] Production.INFO: ==22530== Releasing lock... [2025-03-20 06:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:50:22] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:51:01] Production.INFO: ==22588== Lock acquired, processing the job... [2025-03-20 10:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:51:01] Production.INFO: neon service started [2025-03-20 10:51:01] Production.INFO: neon service started [2025-03-20 10:51:01] Production.INFO: ==22588== Releasing lock... [2025-03-20 10:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:51:02] Production.INFO: ==22590== Lock acquired, processing the job... [2025-03-20 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:51:02] Production.INFO: ==22592== Lock acquired, processing the job... [2025-03-20 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 06:51:02] Production.INFO: ==22590== Releasing lock... [2025-03-20 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:51:02] Production.INFO: ==22592== Releasing lock... [2025-03-20 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:51:03] Production.INFO: ==22596== Lock acquired, processing the job... [2025-03-20 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:51:03] Production.INFO: ==22598== Lock acquired, processing the job... [2025-03-20 06:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:51:03] Production.INFO: ==22594== Lock acquired, processing the job... [2025-03-20 06:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:51:03] Production.INFO: ==22603== Lock acquired, processing the job... [2025-03-20 06:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:51:03] Production.INFO: ==22596== Releasing lock... [2025-03-20 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:51:03] Production.INFO: ==22600== Lock acquired, processing the job... [2025-03-20 06:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:51:03] Production.INFO: ==22605== Lock acquired, processing the job... [2025-03-20 06:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:51:03] Production.INFO: Account Balance Start. [2025-03-20 06:51:03] Production.INFO: CreateAllLog Start [2025-03-20 06:51:03] Production.INFO: 117 [2025-03-20 06:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 06:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:03] Production.INFO: count ==12 [2025-03-20 06:51:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:51:03] Production.INFO: count ==23 [2025-03-20 06:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721121') start [2025-03-20 06:51:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:04] Production.ERROR: done [2025-03-20 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721121') end [2025-03-20 06:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:51:04] Production.INFO: 1 [2025-03-20 06:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:04] Production.INFO: ==22605== Releasing lock... [2025-03-20 06:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:04] Production.ERROR: done [2025-03-20 06:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:51:04] Production.INFO: Total Charge 0 [2025-03-20 06:51:04] Production.INFO: CreateAllLog End [2025-03-20 06:51:04] Production.INFO: Account Balance End. [2025-03-20 06:51:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:51:04] Production.INFO: ==22600== Releasing lock... [2025-03-20 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:51:05 [end_date_ymd] => 2025-03-20 06:51:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:51:05' and `end` < '2025-03-20 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-03-20 06:51:11] Production.ERROR: CronJobId end10 [2025-03-20 06:51:11] Production.INFO: ==22598== Releasing lock... [2025-03-20 06:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:51:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:51:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:51:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:51:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:51:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:51:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:51:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:51:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:51:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:51:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:51:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:51:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:51:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:51:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:51:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:51:13] Production.INFO: call_cost start [2025-03-20 06:51:13] Production.INFO: call_cost end [2025-03-20 06:51:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:51:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:51:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:51:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:51:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:51:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:51:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:51:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:51:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:51:14] Production.INFO: ==22594== Releasing lock... [2025-03-20 06:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:51:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:51:17] Production.INFO: count ==64 [2025-03-20 06:51:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:51:05 - End Time 2025-03-20 06:51:05 [2025-03-20 06:51:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721122', 'tblTempUsageDetail_20' ) start [2025-03-20 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721122', 'tblTempUsageDetail_20' ) end [2025-03-20 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721122', 'tblTempVendorCDR_20' ) start [2025-03-20 06:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721122', 'tblTempVendorCDR_20' ) end [2025-03-20 06:51:17] Production.INFO: ProcessCDR(1,14721122,1,1,2) [2025-03-20 06:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721122,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721122,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721122', 'tblTempUsageDetail_20' ) start [2025-03-20 06:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721122', 'tblTempUsageDetail_20' ) end [2025-03-20 06:51:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:51:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:51:20] Production.INFO: ==22603== Releasing lock... [2025-03-20 06:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:51:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:52:02] Production.INFO: ==22659== Lock acquired, processing the job... [2025-03-20 10:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:52:02] Production.INFO: neon service started [2025-03-20 10:52:02] Production.INFO: neon service started [2025-03-20 10:52:02] Production.INFO: ==22659== Releasing lock... [2025-03-20 10:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:52:02] Production.INFO: ==22663== Lock acquired, processing the job... [2025-03-20 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:52:02] Production.INFO: ==22663== Releasing lock... [2025-03-20 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:52:02] Production.INFO: ==22661== Lock acquired, processing the job... [2025-03-20 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:52:03] Production.INFO: ==22661== Releasing lock... [2025-03-20 06:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:52:03] Production.INFO: ==22668== Lock acquired, processing the job... [2025-03-20 06:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:52:04] Production.INFO: ==22670== Lock acquired, processing the job... [2025-03-20 06:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:52:04] Production.INFO: ==22677== Lock acquired, processing the job... [2025-03-20 06:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:52:04] Production.INFO: ==22672== Lock acquired, processing the job... [2025-03-20 06:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:52:04] Production.INFO: ==22675== Lock acquired, processing the job... [2025-03-20 06:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:52:04] Production.INFO: ==22679== Lock acquired, processing the job... [2025-03-20 06:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:52:04] Production.INFO: ==22670== Releasing lock... [2025-03-20 06:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:52:04] Production.INFO: Account Balance Start. [2025-03-20 06:52:04] Production.INFO: CreateAllLog Start [2025-03-20 06:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:52:04] Production.INFO: 117 [2025-03-20 06:52:04] Production.INFO: count ==12 [2025-03-20 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-03-20 06:52:04] Production.INFO: count ==23 [2025-03-20 06:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721125') start [2025-03-20 06:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:04] Production.ERROR: done [2025-03-20 06:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721125') end [2025-03-20 06:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:52:04] Production.INFO: 1 [2025-03-20 06:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:52:04] Production.INFO: ==22679== Releasing lock... [2025-03-20 06:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:04] Production.ERROR: done [2025-03-20 06:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:05] Production.INFO: Date 2025-03-15 [2025-03-20 06:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:05] Production.INFO: Date 2025-03-16 [2025-03-20 06:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:05] Production.INFO: Date 2025-03-17 [2025-03-20 06:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:52:05] Production.INFO: Total Charge 0 [2025-03-20 06:52:05] Production.INFO: CreateAllLog End [2025-03-20 06:52:05] Production.INFO: Account Balance End. [2025-03-20 06:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:52:05] Production.INFO: ==22675== Releasing lock... [2025-03-20 06:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:52:05 [end_date_ymd] => 2025-03-20 06:52:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:52:05' and `end` < '2025-03-20 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-03-20 06:52:13] Production.ERROR: CronJobId end10 [2025-03-20 06:52:13] Production.INFO: ==22672== Releasing lock... [2025-03-20 06:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:52:15] Production.INFO: call_cost start [2025-03-20 06:52:15] Production.INFO: call_cost end [2025-03-20 06:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:52:16] Production.INFO: ==22668== Releasing lock... [2025-03-20 06:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:52:18] Production.INFO: count ==64 [2025-03-20 06:52:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:52:05 - End Time 2025-03-20 06:52:05 [2025-03-20 06:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721127', 'tblTempUsageDetail_20' ) start [2025-03-20 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721127', 'tblTempUsageDetail_20' ) end [2025-03-20 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721127', 'tblTempVendorCDR_20' ) start [2025-03-20 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721127', 'tblTempVendorCDR_20' ) end [2025-03-20 06:52:18] Production.INFO: ProcessCDR(1,14721127,1,1,2) [2025-03-20 06:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721127,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721127,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721127', 'tblTempUsageDetail_20' ) start [2025-03-20 06:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721127', 'tblTempUsageDetail_20' ) end [2025-03-20 06:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:52:21] Production.INFO: ==22677== Releasing lock... [2025-03-20 06:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:52:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:53:01] Production.INFO: ==22744== Lock acquired, processing the job... [2025-03-20 10:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:53:01] Production.INFO: neon service started [2025-03-20 10:53:01] Production.INFO: neon service started [2025-03-20 10:53:01] Production.INFO: ==22744== Releasing lock... [2025-03-20 10:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:53:02] Production.INFO: ==22748== Lock acquired, processing the job... [2025-03-20 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:53:02] Production.INFO: ==22748== Releasing lock... [2025-03-20 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:53:02] Production.INFO: ==22746== Lock acquired, processing the job... [2025-03-20 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:53:02] Production.INFO: ==22746== Releasing lock... [2025-03-20 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:53:03] Production.INFO: ==22752== Lock acquired, processing the job... [2025-03-20 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:53:03] Production.INFO: ==22754== Lock acquired, processing the job... [2025-03-20 06:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:53:03] Production.INFO: ==22761== Lock acquired, processing the job... [2025-03-20 06:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 06:53:03] Production.INFO: ==22752== Releasing lock... [2025-03-20 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:53:03] Production.INFO: count ==12 [2025-03-20 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-03-20 06:53:03] Production.INFO: count ==23 [2025-03-20 06:53:03] Production.INFO: ==22750== Lock acquired, processing the job... [2025-03-20 06:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:53:03] Production.INFO: ==22756== Lock acquired, processing the job... [2025-03-20 06:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721129') start [2025-03-20 06:53:03] Production.INFO: ==22758== Lock acquired, processing the job... [2025-03-20 06:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721129') end [2025-03-20 06:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:53:03] Production.INFO: 1 [2025-03-20 06:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:53:03] Production.INFO: Account Balance Start. [2025-03-20 06:53:03] Production.INFO: CreateAllLog Start [2025-03-20 06:53:03] Production.INFO: 117 [2025-03-20 06:53:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:53:03] Production.INFO: ==22761== Releasing lock... [2025-03-20 06:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:53:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:53:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:04] Production.ERROR: done [2025-03-20 06:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:53:04] Production.INFO: Total Charge 0 [2025-03-20 06:53:04] Production.INFO: CreateAllLog End [2025-03-20 06:53:04] Production.ERROR: done [2025-03-20 06:53:04] Production.INFO: Account Balance End. [2025-03-20 06:53:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:53:04] Production.INFO: ==22756== Releasing lock... [2025-03-20 06:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:53:05 [end_date_ymd] => 2025-03-20 06:53:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:53:05' and `end` < '2025-03-20 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-03-20 06:53:12] Production.ERROR: CronJobId end10 [2025-03-20 06:53:12] Production.INFO: ==22754== Releasing lock... [2025-03-20 06:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:53:15] Production.INFO: call_cost start [2025-03-20 06:53:15] Production.INFO: call_cost end [2025-03-20 06:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:53:16] Production.INFO: ==22750== Releasing lock... [2025-03-20 06:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:53:17] Production.INFO: count ==66 [2025-03-20 06:53:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:53:05 - End Time 2025-03-20 06:53:05 [2025-03-20 06:53:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721132', 'tblTempUsageDetail_20' ) start [2025-03-20 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721132', 'tblTempUsageDetail_20' ) end [2025-03-20 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721132', 'tblTempVendorCDR_20' ) start [2025-03-20 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721132', 'tblTempVendorCDR_20' ) end [2025-03-20 06:53:17] Production.INFO: ProcessCDR(1,14721132,1,1,2) [2025-03-20 06:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721132,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721132,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721132', 'tblTempUsageDetail_20' ) start [2025-03-20 06:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721132', 'tblTempUsageDetail_20' ) end [2025-03-20 06:53:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:53:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:53:20] Production.INFO: ==22758== Releasing lock... [2025-03-20 06:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:53:20] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:54:02] Production.INFO: ==22855== Lock acquired, processing the job... [2025-03-20 10:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:54:02] Production.INFO: neon service started [2025-03-20 10:54:02] Production.INFO: neon service started [2025-03-20 10:54:02] Production.INFO: ==22855== Releasing lock... [2025-03-20 10:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:54:02] Production.INFO: ==22857== Lock acquired, processing the job... [2025-03-20 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:54:02] Production.INFO: ==22857== Releasing lock... [2025-03-20 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:54:03] Production.INFO: ==22859== Lock acquired, processing the job... [2025-03-20 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:54:03] Production.INFO: ==22859== Releasing lock... [2025-03-20 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:54:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:54:03] Production.INFO: ==22867== Lock acquired, processing the job... [2025-03-20 06:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:54:03] Production.INFO: ==22872== Lock acquired, processing the job... [2025-03-20 06:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:54:03] Production.INFO: Account Balance Start. [2025-03-20 06:54:03] Production.INFO: CreateAllLog Start [2025-03-20 06:54:03] Production.INFO: 117 [2025-03-20 06:54:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:54:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:03] Production.INFO: ==22861== Lock acquired, processing the job... [2025-03-20 06:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:54:03] Production.INFO: count ==12 [2025-03-20 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-03-20 06:54:03] Production.INFO: ==22863== Lock acquired, processing the job... [2025-03-20 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:54:04] Production.INFO: count ==23 [2025-03-20 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721134') start [2025-03-20 06:54:04] Production.INFO: ==22870== Lock acquired, processing the job... [2025-03-20 06:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:04] Production.INFO: ==22865== Lock acquired, processing the job... [2025-03-20 06:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721134') end [2025-03-20 06:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:54:04] Production.INFO: 1 [2025-03-20 06:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:54:04] Production.INFO: ==22872== Releasing lock... [2025-03-20 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:04] Production.ERROR: done [2025-03-20 06:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:54:04] Production.INFO: ==22863== Releasing lock... [2025-03-20 06:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:04] Production.ERROR: done [2025-03-20 06:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:54:04] Production.INFO: Total Charge 0 [2025-03-20 06:54:04] Production.INFO: CreateAllLog End [2025-03-20 06:54:04] Production.INFO: Account Balance End. [2025-03-20 06:54:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:54:05] Production.INFO: ==22867== Releasing lock... [2025-03-20 06:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:54:05 [end_date_ymd] => 2025-03-20 06:54:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:54:05' and `end` < '2025-03-20 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-03-20 06:54:12] Production.ERROR: CronJobId end10 [2025-03-20 06:54:12] Production.INFO: ==22865== Releasing lock... [2025-03-20 06:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:54:15] Production.INFO: call_cost start [2025-03-20 06:54:15] Production.INFO: call_cost end [2025-03-20 06:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:54:16] Production.INFO: ==22861== Releasing lock... [2025-03-20 06:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:54:17] Production.INFO: count ==66 [2025-03-20 06:54:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:54:05 - End Time 2025-03-20 06:54:05 [2025-03-20 06:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721137', 'tblTempUsageDetail_20' ) start [2025-03-20 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721137', 'tblTempUsageDetail_20' ) end [2025-03-20 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721137', 'tblTempVendorCDR_20' ) start [2025-03-20 06:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721137', 'tblTempVendorCDR_20' ) end [2025-03-20 06:54:17] Production.INFO: ProcessCDR(1,14721137,1,1,2) [2025-03-20 06:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721137', 'tblTempUsageDetail_20' ) start [2025-03-20 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721137', 'tblTempUsageDetail_20' ) end [2025-03-20 06:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:54:21] Production.INFO: ==22870== Releasing lock... [2025-03-20 06:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:54:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:55:01] Production.INFO: ==22930== Lock acquired, processing the job... [2025-03-20 10:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:55:01] Production.INFO: neon service started [2025-03-20 10:55:01] Production.INFO: neon service started [2025-03-20 10:55:01] Production.INFO: ==22930== Releasing lock... [2025-03-20 10:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:55:02] Production.INFO: ==22932== Lock acquired, processing the job... [2025-03-20 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:55:02] Production.INFO: ==22934== Lock acquired, processing the job... [2025-03-20 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:55:02] Production.INFO: ==22934== Releasing lock... [2025-03-20 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:55:02] Production.INFO: ==22932== Releasing lock... [2025-03-20 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:55:03] Production.INFO: ==22937== Lock acquired, processing the job... [2025-03-20 06:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:55:03] Production.INFO: ==22939== Lock acquired, processing the job... [2025-03-20 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:55:03] Production.INFO: ==22941== Lock acquired, processing the job... [2025-03-20 06:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:55:03] Production.INFO: ==22939== Releasing lock... [2025-03-20 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:55:03] Production.INFO: ==22945== Lock acquired, processing the job... [2025-03-20 06:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:55:03] Production.INFO: ==22943== Lock acquired, processing the job... [2025-03-20 06:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:55:04] Production.INFO: Account Balance Start. [2025-03-20 06:55:04] Production.INFO: CreateAllLog Start [2025-03-20 06:55:04] Production.INFO: 117 [2025-03-20 06:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:55:04] Production.INFO: ==22947== Lock acquired, processing the job... [2025-03-20 06:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:55:04] Production.INFO: count ==12 [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:55:04] Production.INFO: count ==23 [2025-03-20 06:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721141') start [2025-03-20 06:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:55:04] Production.ERROR: done [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721141') end [2025-03-20 06:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:55:04] Production.INFO: 1 [2025-03-20 06:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:55:04] Production.INFO: ==22947== Releasing lock... [2025-03-20 06:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.ERROR: done [2025-03-20 06:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:55:04] Production.INFO: Total Charge 0 [2025-03-20 06:55:04] Production.INFO: CreateAllLog End [2025-03-20 06:55:05] Production.INFO: Account Balance End. [2025-03-20 06:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:55:05] Production.INFO: ==22943== Releasing lock... [2025-03-20 06:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:55:05 [end_date_ymd] => 2025-03-20 06:55:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:55:05' and `end` < '2025-03-20 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-03-20 06:55:12] Production.ERROR: CronJobId end10 [2025-03-20 06:55:12] Production.INFO: ==22941== Releasing lock... [2025-03-20 06:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:55:15] Production.INFO: call_cost start [2025-03-20 06:55:15] Production.INFO: call_cost end [2025-03-20 06:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:55:15] Production.INFO: ==22937== Releasing lock... [2025-03-20 06:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:55:17] Production.INFO: count ==69 [2025-03-20 06:55:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:55:05 - End Time 2025-03-20 06:55:05 [2025-03-20 06:55:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721142', 'tblTempUsageDetail_20' ) start [2025-03-20 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721142', 'tblTempUsageDetail_20' ) end [2025-03-20 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721142', 'tblTempVendorCDR_20' ) start [2025-03-20 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721142', 'tblTempVendorCDR_20' ) end [2025-03-20 06:55:17] Production.INFO: ProcessCDR(1,14721142,1,1,2) [2025-03-20 06:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721142', 'tblTempUsageDetail_20' ) start [2025-03-20 06:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721142', 'tblTempUsageDetail_20' ) end [2025-03-20 06:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:55:21] Production.INFO: ==22945== Releasing lock... [2025-03-20 06:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:55:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 10:56:02] Production.INFO: ==23003== Lock acquired, processing the job... [2025-03-20 10:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:56:02] Production.INFO: neon service started [2025-03-20 10:56:02] Production.INFO: neon service started [2025-03-20 10:56:02] Production.INFO: ==23003== Releasing lock... [2025-03-20 10:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:56:02] Production.INFO: ==23005== Lock acquired, processing the job... [2025-03-20 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:56:02] Production.INFO: ==23007== Lock acquired, processing the job... [2025-03-20 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:56:02] Production.INFO: ==23007== Releasing lock... [2025-03-20 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:56:03] Production.INFO: ==23005== Releasing lock... [2025-03-20 06:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:56:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:56:04] Production.INFO: ==23018== Lock acquired, processing the job... [2025-03-20 06:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:56:04] Production.INFO: ==23016== Lock acquired, processing the job... [2025-03-20 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:56:04] Production.INFO: ==23010== Lock acquired, processing the job... [2025-03-20 06:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:56:04] Production.INFO: Account Balance Start. [2025-03-20 06:56:04] Production.INFO: CreateAllLog Start [2025-03-20 06:56:04] Production.INFO: 117 [2025-03-20 06:56:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:56:04] Production.INFO: ==23012== Lock acquired, processing the job... [2025-03-20 06:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:56:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:56:04] Production.INFO: ==23014== Lock acquired, processing the job... [2025-03-20 06:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:56:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:56:04] Production.INFO: ==23020== Lock acquired, processing the job... [2025-03-20 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:56:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:56:04] Production.ERROR: done [2025-03-20 06:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:56:04] Production.INFO: count ==12 [2025-03-20 06:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 06:56:04] Production.INFO: count ==23 [2025-03-20 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721146') start [2025-03-20 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721146') end [2025-03-20 06:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:56:04] Production.INFO: 1 [2025-03-20 06:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:56:04] Production.ERROR: done [2025-03-20 06:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:56:04] Production.INFO: ==23012== Releasing lock... [2025-03-20 06:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:56:04] Production.INFO: ==23020== Releasing lock... [2025-03-20 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:56:05] Production.INFO: Date 2025-03-16 [2025-03-20 06:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:56:05] Production.INFO: Date 2025-03-17 [2025-03-20 06:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:56:05] Production.INFO: Date 2025-03-18 [2025-03-20 06:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:56:05] Production.INFO: Date 2025-03-19 [2025-03-20 06:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:56:05] Production.INFO: Date 2025-03-20 [2025-03-20 06:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 06:56:05] Production.INFO: Total Charge 0 [2025-03-20 06:56:05] Production.INFO: CreateAllLog End [2025-03-20 06:56:05] Production.INFO: Account Balance End. [2025-03-20 06:56:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:56:05] Production.INFO: ==23016== Releasing lock... [2025-03-20 06:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:56:05 [end_date_ymd] => 2025-03-20 06:56:05 [RateCDR] => 1 ) [2025-03-20 06: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-03-20 03:56:05' and `end` < '2025-03-20 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-03-20 06:56:12] Production.ERROR: CronJobId end10 [2025-03-20 06:56:12] Production.INFO: ==23014== Releasing lock... [2025-03-20 06:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:56:15] Production.INFO: call_cost start [2025-03-20 06:56:15] Production.INFO: call_cost end [2025-03-20 06:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:56:16] Production.INFO: ==23010== Releasing lock... [2025-03-20 06:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:56:18] Production.INFO: count ==64 [2025-03-20 06:56:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:56:05 - End Time 2025-03-20 06:56:05 [2025-03-20 06:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721147', 'tblTempUsageDetail_20' ) start [2025-03-20 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721147', 'tblTempUsageDetail_20' ) end [2025-03-20 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721147', 'tblTempVendorCDR_20' ) start [2025-03-20 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721147', 'tblTempVendorCDR_20' ) end [2025-03-20 06:56:18] Production.INFO: ProcessCDR(1,14721147,1,1,2) [2025-03-20 06:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721147', 'tblTempUsageDetail_20' ) start [2025-03-20 06:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721147', 'tblTempUsageDetail_20' ) end [2025-03-20 06:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:56:21] Production.INFO: ==23018== Releasing lock... [2025-03-20 06:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:56:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:57:01] Production.INFO: ==23075== Lock acquired, processing the job... [2025-03-20 10:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:57:01] Production.INFO: neon service started [2025-03-20 10:57:01] Production.INFO: neon service started [2025-03-20 10:57:01] Production.INFO: ==23075== Releasing lock... [2025-03-20 10:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:57:01] Production.INFO: ==23077== Lock acquired, processing the job... [2025-03-20 06:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 06:57:02] Production.INFO: ==23077== Releasing lock... [2025-03-20 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:57:02] Production.INFO: ==23079== Lock acquired, processing the job... [2025-03-20 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:57:02] Production.INFO: ==23079== Releasing lock... [2025-03-20 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:57:03] Production.INFO: ==23081== Lock acquired, processing the job... [2025-03-20 06:57:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10795 #Starts# [2025-03-20 06:57:03] Production.INFO: ==23083== Lock acquired, processing the job... [2025-03-20 06:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:57:03] Production.INFO: -- Xero Api Check -- [2025-03-20 06:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:57:03] Production.INFO: ==23085== Lock acquired, processing the job... [2025-03-20 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:57:03] Production.INFO: ==23087== Lock acquired, processing the job... [2025-03-20 06:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:57:03] Production.INFO: ==23090== Lock acquired, processing the job... [2025-03-20 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:57:03] Production.INFO: ==23092== Lock acquired, processing the job... [2025-03-20 06:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:57:03] Production.INFO: Account Balance Start. [2025-03-20 06:57:03] Production.INFO: CreateAllLog Start [2025-03-20 06:57:03] Production.INFO: 117 [2025-03-20 06:57:03] Production.INFO: Date 2025-03-08 [2025-03-20 06:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:03] Production.INFO: ==23094== Lock acquired, processing the job... [2025-03-20 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:57:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:57:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:04] Production.INFO: ==23085== Releasing lock... [2025-03-20 06:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 06: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-03-20 06:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:04] Production.INFO: count ==12 [2025-03-20 06: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-03-20 06:57:04] Production.INFO: count ==23 [2025-03-20 06:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721151') start [2025-03-20 06:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:04] Production.ERROR: done [2025-03-20 06:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721151') end [2025-03-20 06:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:57:04] Production.INFO: 1 [2025-03-20 06:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:57:04] Production.INFO: Total Charge 0 [2025-03-20 06:57:04] Production.INFO: CreateAllLog End [2025-03-20 06:57: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.237786 [namelookup_time] => 0.542868 [connect_time] => 0.620813 [pretransfer_time] => 1.01 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2225 [speed_upload] => 66 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.237727 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.32 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 52348 ) [2025-03-20 06:57:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgyMjQsImV4cCI6MTc0MjQ2ODUyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY4MjI0LCJhdF9oYXNoIjoiZU9vVEN6MWJVel91eVNoSkxHMTJIUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.nDwRKIB3EuJwXjnCUsrM0qdnJpcMZY3qcTlATBQDO-lq8-EL5C9AoVJfdEq7zcQlrjEI8zyEA_tBcPHHnEF9KRPg8PWcnq2vTURXvpvwxZc1LQ9pmw3VB-EIPCV3dCdQxlqsvTH2pERGGhyKQuPqlmGIP4a-ULxhLPA-z-UUE5Iw_hB1i3GCMaaZJZmJXCsa-3VoR-ILeruHZPSzT5bfESaxw2VLV6CT8qr2zmDaftZR4l7dXPDXp-dC5Mfurg6b9GxjOQb9nEFJY-flzqK_BNy3SzmdoD27PlTOEwwGUYRfsn6Mp8g_euUHxKFFlKLhHkasPxtRjXv11NrR0kR0aQ [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgyMjQsImV4cCI6MTc0MjQ3MDAyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.mf9kjOEqetIQkQniRN0zmerkJeoKa57QqVtoOSvjfH60OrzVsQkkyc2UJWh3PlVOuJCeKTIDsr7WYtSWBwUKei9qqOcS62PilmFWqC8wL0G4_xsFfcEnXTgSQFxGYir5KCHunVzxxx4grwtk-fa4KhV71wXtJHnDt9ckOfe5gWrx9Szc6REimmHe6FbjutTqn-e70JAXpmzJs7pHalIzeQzdCnQESfEyXhBp5SqkFtEGBpFrWUatDkKpXti_BeAto_KTsNNfn8VRQM-4w9Cl1deSxbmep92aZqxR2ZYnusqHGsYgJd6ml9BRrb2XxWRE9nfaUHH0MAlFLEyFeLQFKA [expires_in] => 1800 [token_type] => Bearer [refresh_token] => rY_gxodqxF0ECRjikjjjTtgKQn9YT54d_8RPJmskcIM [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 06:57:04] Production.INFO: ==23094== Releasing lock... [2025-03-20 06:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:57:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgyMjQsImV4cCI6MTc0MjQ2ODUyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY4MjI0LCJhdF9oYXNoIjoiZU9vVEN6MWJVel91eVNoSkxHMTJIUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.nDwRKIB3EuJwXjnCUsrM0qdnJpcMZY3qcTlATBQDO-lq8-EL5C9AoVJfdEq7zcQlrjEI8zyEA_tBcPHHnEF9KRPg8PWcnq2vTURXvpvwxZc1LQ9pmw3VB-EIPCV3dCdQxlqsvTH2pERGGhyKQuPqlmGIP4a-ULxhLPA-z-UUE5Iw_hB1i3GCMaaZJZmJXCsa-3VoR-ILeruHZPSzT5bfESaxw2VLV6CT8qr2zmDaftZR4l7dXPDXp-dC5Mfurg6b9GxjOQb9nEFJY-flzqK_BNy3SzmdoD27PlTOEwwGUYRfsn6Mp8g_euUHxKFFlKLhHkasPxtRjXv11NrR0kR0aQ [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgyMjQsImV4cCI6MTc0MjQ3MDAyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.mf9kjOEqetIQkQniRN0zmerkJeoKa57QqVtoOSvjfH60OrzVsQkkyc2UJWh3PlVOuJCeKTIDsr7WYtSWBwUKei9qqOcS62PilmFWqC8wL0G4_xsFfcEnXTgSQFxGYir5KCHunVzxxx4grwtk-fa4KhV71wXtJHnDt9ckOfe5gWrx9Szc6REimmHe6FbjutTqn-e70JAXpmzJs7pHalIzeQzdCnQESfEyXhBp5SqkFtEGBpFrWUatDkKpXti_BeAto_KTsNNfn8VRQM-4w9Cl1deSxbmep92aZqxR2ZYnusqHGsYgJd6ml9BRrb2XxWRE9nfaUHH0MAlFLEyFeLQFKA [expires_in] => 1800 [token_type] => Bearer [refresh_token] => rY_gxodqxF0ECRjikjjjTtgKQn9YT54d_8RPJmskcIM [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 06:57:04] Production.ERROR: done [2025-03-20 06:57:04] Production.INFO: AccountID 67 [2025-03-20 06:57:04] Production.INFO: AccountName Stars & Maple Tours [2025-03-20 06:57:04] Production.INFO: Checkcustomer [2025-03-20 06:57:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-03-20 06:57:04] Production.INFO: Account Balance End. [2025-03-20 06:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:57:04] Production.INFO: ==23090== Releasing lock... [2025-03-20 06:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:57:05 [end_date_ymd] => 2025-03-20 06:57:05 [RateCDR] => 1 ) [2025-03-20 06:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 03:57:05' and `end` < '2025-03-20 06:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 06:57:07] Production.INFO: Contact id print CheckCustomer Case===42f3da1b-13b4-4bab-b989-2a74b97947bd [2025-03-20 06:57:07] Production.INFO: -- count --1 [2025-03-20 06:57:07] Production.INFO: -- Xero Add Inovice -- [2025-03-20 06:57:07] Production.INFO: CheckInvoice xerov2: INV11734 [2025-03-20 06:57:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11734 [2025-03-20 06:57:10] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 06:57:10] Production.INFO: Invoice SubTotal 32.000000 [2025-03-20 06:57:10] Production.INFO: Invoice DetTotal 32 [2025-03-20 06:57:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-03-20 06:57:12] Production.ERROR: CronJobId end10 [2025-03-20 06:57:12] Production.INFO: ==23087== Releasing lock... [2025-03-20 06:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:57:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 06:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:57:14] Production.INFO: call_cost start [2025-03-20 06:57:14] Production.INFO: call_cost end [2025-03-20 06:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:57:15] Production.INFO: ==23083== Releasing lock... [2025-03-20 06:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:57:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 06:57:17] Production.INFO: count ==65 [2025-03-20 06:57:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:57:05 - End Time 2025-03-20 06:57:05 [2025-03-20 06:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721152', 'tblTempUsageDetail_20' ) start [2025-03-20 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721152', 'tblTempUsageDetail_20' ) end [2025-03-20 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721152', 'tblTempVendorCDR_20' ) start [2025-03-20 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721152', 'tblTempVendorCDR_20' ) end [2025-03-20 06:57:17] Production.INFO: ProcessCDR(1,14721152,1,1,2) [2025-03-20 06:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:57:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 06:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721152', 'tblTempUsageDetail_20' ) start [2025-03-20 06:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721152', 'tblTempUsageDetail_20' ) end [2025-03-20 06:57:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:57:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:57:22] Production.INFO: ==23092== Releasing lock... [2025-03-20 06:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:57:22] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 06:57:23] 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-03-20 06:57:27] Production.INFO: ==== result ===== [2025-03-20 06:57:27] Production.INFO: { "Id": "1567230a-d29c-4c98-87e2-583e847e4d4c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468247487)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2cf9f5d4-2568-4fcb-bf1a-baf9be6e1a50", "InvoiceNumber": "INV11734", "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": "2025-03-19T00:00:00", "Date": "\/Date(1742342400000+0000)\/", "DueDateString": "2025-04-18T00:00:00", "DueDate": "\/Date(1744934400000+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": "5845ce16-387b-497b-bc40-6095698d819f", "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": "8ee67e9c-f11f-43e8-842d-f2d3ce86a120", "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": "2d821a37-ec5b-49d4-a76c-2d17d3a432ec", "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": "156c9173-2966-4887-8dbf-2d9b884015bf", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.00, "TotalTax": 4.16, "Total": 36.16, "UpdatedDateUTC": "\/Date(1742468247337+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 06:57:27] Production.INFO: -- Create Invoice id --2cf9f5d4-2568-4fcb-bf1a-baf9be6e1a50 [2025-03-20 06:57:27] Production.INFO: -- Create Invoice Done -- [2025-03-20 06:57:27] Production.INFO: -- Xero End Inovice -- [2025-03-20 06:57:27] Production.INFO: ==23081== Releasing lock... [2025-03-20 06:57:27] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10795 #Stops# [2025-03-20 06:57:27] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 10:58:02] Production.INFO: ==23158== Lock acquired, processing the job... [2025-03-20 10:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:58:02] Production.INFO: neon service started [2025-03-20 10:58:02] Production.INFO: neon service started [2025-03-20 10:58:02] Production.INFO: ==23158== Releasing lock... [2025-03-20 10:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:58:02] Production.INFO: ==23161== Lock acquired, processing the job... [2025-03-20 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:58:02] Production.INFO: ==23163== Lock acquired, processing the job... [2025-03-20 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:58:02] Production.INFO: ==23163== Releasing lock... [2025-03-20 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:58:02] Production.INFO: ==23161== Releasing lock... [2025-03-20 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:58:03] Production.INFO: ==23173== Lock acquired, processing the job... [2025-03-20 06:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:58:03] Production.INFO: ==23175== Lock acquired, processing the job... [2025-03-20 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:58:03] Production.INFO: ==23165== Lock acquired, processing the job... [2025-03-20 06:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:58:03] Production.INFO: ==23167== Lock acquired, processing the job... [2025-03-20 06:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:58:04] Production.INFO: ==23169== Lock acquired, processing the job... [2025-03-20 06:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:58:04] Production.INFO: ==23171== Lock acquired, processing the job... [2025-03-20 06:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:58:04] Production.INFO: count ==12 [2025-03-20 06:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 06:58:04] Production.INFO: count ==23 [2025-03-20 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721153') start [2025-03-20 06:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:58:04] Production.INFO: Account Balance Start. [2025-03-20 06:58:04] Production.INFO: CreateAllLog Start [2025-03-20 06:58:04] Production.INFO: 117 [2025-03-20 06:58:04] Production.INFO: Date 2025-03-08 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.ERROR: done [2025-03-20 06:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721153') end [2025-03-20 06:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:58:04] Production.INFO: 1 [2025-03-20 06:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:58:04] Production.INFO: Date 2025-03-09 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.INFO: Date 2025-03-10 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.INFO: ==23175== Releasing lock... [2025-03-20 06:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:58:04] Production.INFO: ==23167== Releasing lock... [2025-03-20 06:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.ERROR: done [2025-03-20 06:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 06:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 06:58:04] Production.INFO: Total Charge 0 [2025-03-20 06:58:04] Production.INFO: CreateAllLog End [2025-03-20 06:58:05] Production.INFO: Account Balance End. [2025-03-20 06:58:05] Production.ERROR: CronJobId end 12 [2025-03-20 06:58:05] Production.INFO: ==23171== Releasing lock... [2025-03-20 06:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:58:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:58:05 [end_date_ymd] => 2025-03-20 06:58:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:58:05' and `end` < '2025-03-20 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-03-20 06:58:11] Production.ERROR: CronJobId end10 [2025-03-20 06:58:11] Production.INFO: ==23169== Releasing lock... [2025-03-20 06:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:58:14] Production.INFO: call_cost start [2025-03-20 06:58:14] Production.INFO: call_cost end [2025-03-20 06:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:58:15] Production.INFO: ==23165== Releasing lock... [2025-03-20 06:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:58:18] Production.INFO: count ==66 [2025-03-20 06:58:18] Production.ERROR: pbx CDR StartTime 2025-03-20 03:58:05 - End Time 2025-03-20 06:58:05 [2025-03-20 06:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721157', 'tblTempUsageDetail_20' ) start [2025-03-20 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721157', 'tblTempUsageDetail_20' ) end [2025-03-20 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721157', 'tblTempVendorCDR_20' ) start [2025-03-20 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721157', 'tblTempVendorCDR_20' ) end [2025-03-20 06:58:18] Production.INFO: ProcessCDR(1,14721157,1,1,2) [2025-03-20 06:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721157', 'tblTempUsageDetail_20' ) start [2025-03-20 06:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721157', 'tblTempUsageDetail_20' ) end [2025-03-20 06:58:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:58:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:58:22] Production.INFO: ==23173== Releasing lock... [2025-03-20 06:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:58:22] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 10:59:01] Production.INFO: ==23227== Lock acquired, processing the job... [2025-03-20 10:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 10:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 10:59:01] Production.INFO: neon service started [2025-03-20 10:59:01] Production.INFO: neon service started [2025-03-20 10:59:01] Production.INFO: ==23227== Releasing lock... [2025-03-20 10:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 10:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 06:59:01] Production.INFO: ==23230== Lock acquired, processing the job... [2025-03-20 06:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:59:02] Production.INFO: ==23232== Lock acquired, processing the job... [2025-03-20 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:59:02] Production.INFO: ==23232== Releasing lock... [2025-03-20 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 10:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 06:59:02] Production.INFO: ==23230== Releasing lock... [2025-03-20 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 06:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 06:59:03] Production.INFO: ==23242== Lock acquired, processing the job... [2025-03-20 06:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 06:59:03] Production.INFO: ==23246== Lock acquired, processing the job... [2025-03-20 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 06:59:03] Production.INFO: ==23234== Lock acquired, processing the job... [2025-03-20 06:59:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10796 #Starts# [2025-03-20 06:59:03] Production.INFO: Account Balance Start. [2025-03-20 06:59:03] Production.INFO: CreateAllLog Start [2025-03-20 06:59:03] Production.INFO: 117 [2025-03-20 06:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.INFO: -- Xero Api Check -- [2025-03-20 06:59:03] Production.INFO: count ==12 [2025-03-20 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-03-20 06:59:03] Production.INFO: count ==23 [2025-03-20 06:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721158') start [2025-03-20 06:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.INFO: Date 2025-03-10 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.INFO: ==23238== Lock acquired, processing the job... [2025-03-20 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 06:59:03] Production.INFO: ==23236== Lock acquired, processing the job... [2025-03-20 06:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 06:59:03] Production.INFO: Date 2025-03-11 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.INFO: ==23240== Lock acquired, processing the job... [2025-03-20 06:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 06:59:03] Production.INFO: Date 2025-03-12 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721158') end [2025-03-20 06:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 06:59:03] Production.INFO: 1 [2025-03-20 06:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 06:59:03] Production.INFO: ==23244== Lock acquired, processing the job... [2025-03-20 06:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 06:59:03] Production.INFO: ==23246== Releasing lock... [2025-03-20 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 06:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 06:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 06:59:03] Production.INFO: Date 2025-03-13 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 06:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 06:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 06:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 06:59:03] Production.INFO: Date 2025-03-14 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 06:59:03] Production.INFO: Date 2025-03-15 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.INFO: Date 2025-03-16 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.INFO: Date 2025-03-17 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.INFO: ==23238== Releasing lock... [2025-03-20 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 06:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 06:59:03] Production.INFO: Date 2025-03-18 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.INFO: Date 2025-03-19 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.INFO: Date 2025-03-20 [2025-03-20 06:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 06:59:03] Production.INFO: Total Charge 0 [2025-03-20 06:59:03] Production.INFO: CreateAllLog End [2025-03-20 06:59:03] Production.ERROR: done [2025-03-20 06:59:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 06:59:04] Production.ERROR: done [2025-03-20 06:59:04] Production.INFO: Account Balance End. [2025-03-20 06:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 06:59:04] Production.INFO: ==23242== Releasing lock... [2025-03-20 06:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 06:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 06: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] => 854 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.184007 [namelookup_time] => 0.530884 [connect_time] => 0.60888 [pretransfer_time] => 0.979243 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2326 [speed_upload] => 69 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.18394 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.50 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 35248 ) [2025-03-20 06:59:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgzNDQsImV4cCI6MTc0MjQ2ODY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY4MzQ0LCJhdF9oYXNoIjoieEplR1ZldkRmc2xiVlUtdTBJampMUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.kATOn7agQtxpfjMOuP1joabrf7umIuj32ascEr1H5A49a-6iqW81dORX4djcp6SqovCadblhbiMxOWmXyHMHyWUG-TbW6VOCCy01OQdKPTehovUO5_OU50_WPDI_XKQHStV1Irz9wTQ5BuDX6iGz--Wmm93vt_HK_wCAbNkzt5UCBDzUSueLua89x50VyOshjL1FA1yrgKK2q3F5LRHkjzeFFeJHU2EcLlSDFZuu_IcksyopE6aX8SVXPemzu04SpAd7rAGVfrtNCQKMGxF78klrCBVIJNbOfZxXndKuDNJp_9XgIuP9-1ch1tTWN29XHojr68P6P3uqEEtNFYvyLA [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgzNDQsImV4cCI6MTc0MjQ3MDE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ex5mKI06o4gR_mrsOwoASUPZcMLKZ1TJLqLZIvdzcBp4Xi7I3omzPS1CmkFSWTWf8XbpTc4hbOSaVRC9JnsNRy5jo1QCGZ0AkJAA5aRW7Sc_f0NAxjlVDHsSCVJQgzL89N_PzsS6fKWNo6ODMZufMoeaz0DZlDqR8mGcbsoNq9e--GoJCN2YXDcDzo6hBQn71ueeBQVByU9ssFkUR1T7MsKv3s80jbFMfj3QsP9CYngv5sPxJGOR5lv8u6_xuDAlDK0h2uIWl-IKjfabLLpREpkenM1tHGyTWWH6tFtn3wwlOVfF2VCfEcvEJBmJXPuktB_CaD8xMchXPTuzxwNpig [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 98eMbx8tnYyaDw46Y9x5rPB8bUjnJLTWpWZhsIJlz0Y [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 06:59:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgzNDQsImV4cCI6MTc0MjQ2ODY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY4MzQ0LCJhdF9oYXNoIjoieEplR1ZldkRmc2xiVlUtdTBJampMUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.kATOn7agQtxpfjMOuP1joabrf7umIuj32ascEr1H5A49a-6iqW81dORX4djcp6SqovCadblhbiMxOWmXyHMHyWUG-TbW6VOCCy01OQdKPTehovUO5_OU50_WPDI_XKQHStV1Irz9wTQ5BuDX6iGz--Wmm93vt_HK_wCAbNkzt5UCBDzUSueLua89x50VyOshjL1FA1yrgKK2q3F5LRHkjzeFFeJHU2EcLlSDFZuu_IcksyopE6aX8SVXPemzu04SpAd7rAGVfrtNCQKMGxF78klrCBVIJNbOfZxXndKuDNJp_9XgIuP9-1ch1tTWN29XHojr68P6P3uqEEtNFYvyLA [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NjgzNDQsImV4cCI6MTc0MjQ3MDE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ex5mKI06o4gR_mrsOwoASUPZcMLKZ1TJLqLZIvdzcBp4Xi7I3omzPS1CmkFSWTWf8XbpTc4hbOSaVRC9JnsNRy5jo1QCGZ0AkJAA5aRW7Sc_f0NAxjlVDHsSCVJQgzL89N_PzsS6fKWNo6ODMZufMoeaz0DZlDqR8mGcbsoNq9e--GoJCN2YXDcDzo6hBQn71ueeBQVByU9ssFkUR1T7MsKv3s80jbFMfj3QsP9CYngv5sPxJGOR5lv8u6_xuDAlDK0h2uIWl-IKjfabLLpREpkenM1tHGyTWWH6tFtn3wwlOVfF2VCfEcvEJBmJXPuktB_CaD8xMchXPTuzxwNpig [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 98eMbx8tnYyaDw46Y9x5rPB8bUjnJLTWpWZhsIJlz0Y [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 06:59:04] Production.INFO: AccountID 78 [2025-03-20 06:59:04] Production.INFO: AccountName Halcyon Travel [2025-03-20 06:59:04] Production.INFO: Checkcustomer [2025-03-20 06:59:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 06:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 03:59:05 [end_date_ymd] => 2025-03-20 06:59:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 03:59:05' and `end` < '2025-03-20 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-03-20 06:59:07] Production.INFO: Contact id print CheckCustomer Case===2fb0f102-2ef2-41cf-8d40-4c3f58cf996f [2025-03-20 06:59:07] Production.INFO: -- count --1 [2025-03-20 06:59:07] Production.INFO: AccountID 102 [2025-03-20 06:59:07] Production.INFO: AccountName Dominos 39013 (Mudassar Zia) [2025-03-20 06:59:07] Production.INFO: Checkcustomer [2025-03-20 06:59:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29" [2025-03-20 06:59:11] Production.INFO: Contact id print CheckCustomer Case===8893c88d-0603-4dd4-9524-da8cd6ed65c9 [2025-03-20 06:59:11] Production.INFO: -- count --1 [2025-03-20 06:59:11] Production.INFO: AccountID 14 [2025-03-20 06:59:11] Production.INFO: AccountName Dominos 10515 (Ronny Khan) [2025-03-20 06:59:11] Production.INFO: Checkcustomer [2025-03-20 06:59:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-03-20 06:59:12] Production.ERROR: CronJobId end10 [2025-03-20 06:59:12] Production.INFO: ==23240== Releasing lock... [2025-03-20 06:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 06:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 06:59:14] Production.INFO: Contact id print CheckCustomer Case===de29a9c7-cecf-49b7-b42f-7b106467f0ce [2025-03-20 06:59:14] Production.INFO: -- count --1 [2025-03-20 06:59:14] Production.INFO: AccountID 93 [2025-03-20 06:59:14] Production.INFO: AccountName Personas [2025-03-20 06:59:14] Production.INFO: Checkcustomer [2025-03-20 06:59:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-03-20 06:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 06:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 06:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 06:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 06:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 06:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 06:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 06:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 06:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 06:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 06:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 06:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 06:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 06:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 06:59:14] Production.INFO: call_cost start [2025-03-20 06:59:14] Production.INFO: call_cost end [2025-03-20 06:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 06:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 06:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 06:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 06:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 06:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 06:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 06:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 06:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 06:59:15] Production.INFO: ==23236== Releasing lock... [2025-03-20 06:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 06:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 06:59:17] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f [2025-03-20 06:59:17] Production.INFO: -- count --1 [2025-03-20 06:59:17] Production.INFO: AccountID 151 [2025-03-20 06:59:17] Production.INFO: AccountName Dominos 10584 (Rick Singh) [2025-03-20 06:59:17] Production.INFO: Checkcustomer [2025-03-20 06:59:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29" [2025-03-20 06:59:17] Production.INFO: count ==68 [2025-03-20 06:59:17] Production.ERROR: pbx CDR StartTime 2025-03-20 03:59:05 - End Time 2025-03-20 06:59:05 [2025-03-20 06:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721162', 'tblTempUsageDetail_20' ) start [2025-03-20 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721162', 'tblTempUsageDetail_20' ) end [2025-03-20 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721162', 'tblTempVendorCDR_20' ) start [2025-03-20 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721162', 'tblTempVendorCDR_20' ) end [2025-03-20 06:59:17] Production.INFO: ProcessCDR(1,14721162,1,1,2) [2025-03-20 06:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 06:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:59:20] Production.INFO: Contact id print CheckCustomer Case===1e8b6299-6571-4c51-87f6-a0280833b109 [2025-03-20 06:59:20] Production.INFO: -- count --1 [2025-03-20 06:59:20] Production.INFO: AccountID 263 [2025-03-20 06:59:20] Production.INFO: AccountName Dominos 10173 (Abdul Karim) [2025-03-20 06:59:20] Production.INFO: Checkcustomer [2025-03-20 06:59:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010173%20%28Abdul%20Karim%29" [2025-03-20 06:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 06:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721162', 'tblTempUsageDetail_20' ) start [2025-03-20 06:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721162', 'tblTempUsageDetail_20' ) end [2025-03-20 06:59:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 06:59:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 06:59:22] Production.INFO: ==23244== Releasing lock... [2025-03-20 06:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 06:59:22] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 06:59:22] Production.INFO: -- count --0 [2025-03-20 06:59:25] Production.INFO: ==== Contact Information 1 [2025-03-20 06:59:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010173%20%28Abdul%20Karim%29" [2025-03-20 06:59:28] Production.INFO: ContactID 50a0f1e0-c4eb-4ccb-b75a-a120cb3261f3 [2025-03-20 06:59:28] Production.INFO: -- Create Customer id --50a0f1e0-c4eb-4ccb-b75a-a120cb3261f3 [2025-03-20 06:59:28] Production.INFO: -- Create Customer name --test customer [2025-03-20 06:59:28] Production.INFO: AccountID 57 [2025-03-20 06:59:28] Production.INFO: AccountName Dominos 39041 (Rishi Kakar) [2025-03-20 06:59:28] Production.INFO: Checkcustomer [2025-03-20 06:59:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29" [2025-03-20 06:59:31] Production.INFO: Contact id print CheckCustomer Case===e874c379-a70c-405c-bc58-0ac6921c29ba [2025-03-20 06:59:31] Production.INFO: -- count --1 [2025-03-20 06:59:31] Production.INFO: AccountID 107 [2025-03-20 06:59:31] Production.INFO: AccountName Dominos 10179 (Akshay Naik) [2025-03-20 06:59:31] Production.INFO: Checkcustomer [2025-03-20 06:59:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-03-20 06:59:33] Production.INFO: Contact id print CheckCustomer Case===669bb033-93e4-4d2e-aa92-454e682a5c09 [2025-03-20 06:59:33] Production.INFO: -- count --1 [2025-03-20 06:59:33] Production.INFO: AccountID 140 [2025-03-20 06:59:33] Production.INFO: AccountName PharmaSave (Uxbridge) [2025-03-20 06:59:33] Production.INFO: Checkcustomer [2025-03-20 06:59:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-03-20 06:59:36] Production.INFO: Contact id print CheckCustomer Case===ac797c62-9d84-4beb-9f18-85a8d961b94f [2025-03-20 06:59:36] Production.INFO: -- count --1 [2025-03-20 06:59:36] Production.INFO: AccountID 161 [2025-03-20 06:59:36] Production.INFO: AccountName Dominos 10476 (Sandeep Chaudhari) [2025-03-20 06:59:36] Production.INFO: Checkcustomer [2025-03-20 06:59:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29" [2025-03-20 06:59:39] Production.INFO: Contact id print CheckCustomer Case===fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1 [2025-03-20 06:59:39] Production.INFO: -- count --1 [2025-03-20 06:59:39] Production.INFO: -- Xero Add Inovice -- [2025-03-20 06:59:39] Production.INFO: CheckInvoice xerov2: INV11735 [2025-03-20 06:59:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11735 [2025-03-20 06:59:42] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 06:59:42] Production.INFO: Invoice SubTotal 15.320000 [2025-03-20 06:59:42] Production.INFO: Invoice DetTotal 15.32 [2025-03-20 06:59:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 06:59:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 06:59:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 06:59:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 06:59:54] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-19-2025 To 03-18-2025",Quantity : 1,UnitAmount : 2.820000,LineAmount : 2.820000},{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-03-20 06:59:57] Production.INFO: ==== result ===== [2025-03-20 06:59:57] Production.INFO: { "Id": "993d50e3-c6b8-4d0a-a2db-985ed1612903", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468397330)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fac0faab-451a-4e6c-9972-719749ffb643", "InvoiceNumber": "INV11735", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 17.32, "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": "2025-03-19T00:00:00", "Date": "\/Date(1742342400000+0000)\/", "DueDateString": "2025-04-18T00:00:00", "DueDate": "\/Date(1744934400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-19-2025 To 03-18-2025", "UnitAmount": 2.82, "TaxType": "TAX020", "TaxAmount": 0.37, "LineAmount": 2.82, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "23a53e51-169f-407a-8deb-29c93dfe5a5e", "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": "4a35df33-7ed1-4475-880b-eab51cb1c963", "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": "6d94cfc0-a5ac-4e27-939d-4d8663ec7a36", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 15.32, "TotalTax": 2.00, "Total": 17.32, "UpdatedDateUTC": "\/Date(1742468397267+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 06:59:57] Production.INFO: -- Create Invoice id --fac0faab-451a-4e6c-9972-719749ffb643 [2025-03-20 06:59:57] Production.INFO: -- Create Invoice Done -- [2025-03-20 06:59:57] Production.INFO: CheckInvoice xerov2: INV11736 [2025-03-20 06:59:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11736 [2025-03-20 07:00:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:00:00] Production.INFO: Invoice SubTotal 60.000000 [2025-03-20 07:00:00] Production.INFO: Invoice DetTotal 60 [2025-03-20 07:00:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29" [2025-03-20 11:00:02] Production.INFO: ==23320== Lock acquired, processing the job... [2025-03-20 11:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:00:02] Production.INFO: neon service started [2025-03-20 11:00:02] Production.INFO: neon service started [2025-03-20 11:00:02] Production.INFO: ==23320== Releasing lock... [2025-03-20 11:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:00:02] Production.INFO: ==23322== Lock acquired, processing the job... [2025-03-20 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:00:02] Production.INFO: ==23324== Lock acquired, processing the job... [2025-03-20 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:00:02] Production.INFO: ==23322== Releasing lock... [2025-03-20 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:00:03] Production.INFO: ==23324== Releasing lock... [2025-03-20 11:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:00:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:00:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:00:04] Production.INFO: ==23336== Lock acquired, processing the job... [2025-03-20 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:00:04] Production.INFO: ==23328== Lock acquired, processing the job... [2025-03-20 07:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 07:00:04] Production.INFO: ==23340== Lock acquired, processing the job... [2025-03-20 07:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 07:00:04] Production.INFO: ==23342== Lock acquired, processing the job... [2025-03-20 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 07:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 07:00:04] Production.ERROR: CronJob PID - 23336 [2025-03-20 07:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 07:00:04] Production.ERROR: CronJob ID - 12 [2025-03-20 07:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 07:00:00 [2025-03-20 07:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 07:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 07:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 07:00:04] Production.ERROR: CronJob PID - 23340 [2025-03-20 07:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 07:00:04] Production.ERROR: CronJob ID - 17 [2025-03-20 07:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 07:00:00 [2025-03-20 07:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 07:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 07:00:04] Production.INFO: Account Balance Start. [2025-03-20 07:00:04] Production.INFO: CreateAllLog Start [2025-03-20 07:00:04] Production.INFO: 117 [2025-03-20 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-03-20 07:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:00:04] Production.INFO: count ==12 [2025-03-20 07:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:04] Production.INFO: ==23332== Lock acquired, processing the job... [2025-03-20 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 07:00:04] Production.INFO: count ==23 [2025-03-20 07:00:04] Production.INFO: ==23330== Lock acquired, processing the job... [2025-03-20 07:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 07:00:04] Production.INFO: ==23328== Releasing lock... [2025-03-20 07:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 07:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 07:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721164') start [2025-03-20 07:00:04] Production.INFO: ==23334== Lock acquired, processing the job... [2025-03-20 07:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:04] Production.INFO: ==23338== Lock acquired, processing the job... [2025-03-20 07:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:00:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721164') end [2025-03-20 07:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:00:04] Production.INFO: 1 [2025-03-20 07:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:00:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:05] Production.INFO: ==23342== Releasing lock... [2025-03-20 07:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:00:05] Production.ERROR: done [2025-03-20 07:00:05] Production.INFO: Date 2025-03-14 [2025-03-20 07:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 07:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721167', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 07:00:05] Production.INFO: ==23332== Releasing lock... [2025-03-20 07:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 07:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 07:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 07:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 07:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:05] Production.ERROR: done [2025-03-20 07:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:00:05] Production.INFO: Total Charge 0 [2025-03-20 07:00:05] Production.INFO: CreateAllLog End [2025-03-20 07:00:05] Production.ERROR: done [2025-03-20 07:00:05] Production.INFO: Account Balance End. [2025-03-20 07:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:00:05] Production.INFO: ==23336== Releasing lock... [2025-03-20 07:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:00:06 [end_date_ymd] => 2025-03-20 07:00:06 [RateCDR] => 1 ) [2025-03-20 07: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-03-20 04:00:06' and `end` < '2025-03-20 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-03-20 07:00:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:00:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721167', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 07:00:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 07:00:10] Production.INFO: ProcessCDR(1,14721167,1,1,2) [2025-03-20 07:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721167,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721167,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:00:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:00:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:00:10] Production.INFO: ==23340== Releasing lock... [2025-03-20 07:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 07:00:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 07:00:13] 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-03-20 07:00:16] Production.INFO: ==== result ===== [2025-03-20 07:00:16] Production.INFO: { "Id": "4cc6195a-4810-4807-a077-6828b8520b0a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468416075)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "341e8883-e033-477b-b1d3-f5d3d4229ab1", "InvoiceNumber": "INV11736", "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": "2025-03-19T00:00:00", "Date": "\/Date(1742342400000+0000)\/", "DueDateString": "2025-04-18T00:00:00", "DueDate": "\/Date(1744934400000+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": "1fad0583-3d0b-4e16-9399-cfaaba6a145d", "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": "2ed3a9ce-bc46-4a37-9385-7e79b41a9fe4", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 60.00, "TotalTax": 3.00, "Total": 63.00, "UpdatedDateUTC": "\/Date(1742468416013+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:00:16] Production.INFO: -- Create Invoice id --341e8883-e033-477b-b1d3-f5d3d4229ab1 [2025-03-20 07:00:16] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:00:16] Production.INFO: CheckInvoice xerov2: INV11729 [2025-03-20 07:00:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11729 [2025-03-20 07:00:16] Production.ERROR: CronJobId end10 [2025-03-20 07:00:16] Production.INFO: ==23334== Releasing lock... [2025-03-20 07:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:00:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:00:19] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:00:19] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:00:19] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:00:19] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:00:19] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:00:19] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:00:19] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:00:19] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:00:19] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:00:19] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:00:19] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:00:19] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:00:19] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:00:19] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:00:19] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:00:19] Production.INFO: count ==69 [2025-03-20 07:00:19] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:00:19] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:00:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-03-20 07:00:19] Production.ERROR: pbx CDR StartTime 2025-03-20 04:00:06 - End Time 2025-03-20 07:00:06 [2025-03-20 07:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721168', 'tblTempUsageDetail_20' ) start [2025-03-20 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721168', 'tblTempUsageDetail_20' ) end [2025-03-20 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721168', 'tblTempVendorCDR_20' ) start [2025-03-20 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721168', 'tblTempVendorCDR_20' ) end [2025-03-20 07:00:19] Production.INFO: ProcessCDR(1,14721168,1,1,2) [2025-03-20 07:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:00:19] Production.INFO: call_cost start [2025-03-20 07:00:19] Production.INFO: call_cost end [2025-03-20 07:00:21] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:00:21] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:00:21] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:00:21] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:00:21] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:00:21] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:00:21] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:00:21] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:00:21] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:00:21] Production.INFO: ==23330== Releasing lock... [2025-03-20 07:00:21] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:00:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721168,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:00:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721168,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721168', 'tblTempUsageDetail_20' ) start [2025-03-20 07:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721168', 'tblTempUsageDetail_20' ) end [2025-03-20 07:00:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:00:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:00:24] Production.INFO: ==23338== Releasing lock... [2025-03-20 07:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:00:24] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 07:00:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:00:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:00:31] 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-03-20 07:00:35] Production.INFO: ==== result ===== [2025-03-20 07:00:35] Production.INFO: { "Id": "b5cc21d5-c203-4890-ab6f-57b9cdf01ef9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468435197)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b965ed4c-739d-4d21-8f6a-cddc75bac0b3", "InvoiceNumber": "INV11729", "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": "2025-03-18T00:00:00", "Date": "\/Date(1742256000000+0000)\/", "DueDateString": "2025-04-17T00:00:00", "DueDate": "\/Date(1744848000000+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": "470b7e56-6048-4619-a635-fa91716b1be6", "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": "75289dd5-454e-4577-b3aa-6bed4b49d387", "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": "bcb22be0-7f08-408a-b91c-4651a30c13d1", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742468435120+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:00:35] Production.INFO: -- Create Invoice id --b965ed4c-739d-4d21-8f6a-cddc75bac0b3 [2025-03-20 07:00:35] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:00:35] Production.INFO: CheckInvoice xerov2: INV11725 [2025-03-20 07:00:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11725 [2025-03-20 07:00:37] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:00:37] Production.INFO: Invoice SubTotal 57.000000 [2025-03-20 07:00:37] Production.INFO: Invoice DetTotal 57 [2025-03-20 07:00:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-03-20 07:00:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:00:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:00:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:00:49] 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-03-20 07:00:52] Production.INFO: ==== result ===== [2025-03-20 07:00:52] Production.INFO: { "Id": "1a5add54-d442-4d77-b9e5-eaa3e3a8db35", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468452056)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9c2cee76-5a8a-4037-8d99-94bf66bf529c", "InvoiceNumber": "INV11725", "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": "2025-03-17T00:00:00", "Date": "\/Date(1742169600000+0000)\/", "DueDateString": "2025-04-16T00:00:00", "DueDate": "\/Date(1744761600000+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": "ae42395a-d92e-45b5-a345-1b7e51edabc7", "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": "6bbeceaa-6022-4394-85cc-9853a69759ba", "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": "09015711-2334-466c-a8e8-513f73c5886d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.00, "TotalTax": 7.42, "Total": 64.42, "UpdatedDateUTC": "\/Date(1742468451993+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:00:52] Production.INFO: -- Create Invoice id --9c2cee76-5a8a-4037-8d99-94bf66bf529c [2025-03-20 07:00:52] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:00:52] Production.INFO: CheckInvoice xerov2: INV11726 [2025-03-20 07:00:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11726 [2025-03-20 07:00:55] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:00:55] Production.INFO: Invoice SubTotal 67.500000 [2025-03-20 07:00:55] Production.INFO: Invoice DetTotal 67.5 [2025-03-20 07:00:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29" [2025-03-20 07:00:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 11:01:01] Production.INFO: ==23424== Lock acquired, processing the job... [2025-03-20 11:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:01:01] Production.INFO: neon service started [2025-03-20 11:01:01] Production.INFO: neon service started [2025-03-20 11:01:01] Production.INFO: ==23424== Releasing lock... [2025-03-20 11:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:01:01] Production.INFO: ==23431== Lock acquired, processing the job... [2025-03-20 07:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:01:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:01:02] Production.INFO: ==23431== Releasing lock... [2025-03-20 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:01:02] Production.INFO: ==23433== Lock acquired, processing the job... [2025-03-20 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:01:02] Production.INFO: ==23433== Releasing lock... [2025-03-20 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:01:03] Production.INFO: ==23437== Lock acquired, processing the job... [2025-03-20 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:01:03] Production.INFO: ==23443== Lock acquired, processing the job... [2025-03-20 07:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:01:03] Production.INFO: ==23435== Lock acquired, processing the job... [2025-03-20 07:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:01:03] Production.INFO: ==23439== Lock acquired, processing the job... [2025-03-20 07:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:01:03] Production.INFO: ==23441== Lock acquired, processing the job... [2025-03-20 07:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:01:03] Production.INFO: ==23445== Lock acquired, processing the job... [2025-03-20 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:01:03] Production.INFO: ==23437== Releasing lock... [2025-03-20 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:01:03] Production.INFO: Account Balance Start. [2025-03-20 07:01:03] Production.INFO: CreateAllLog Start [2025-03-20 07:01:03] Production.INFO: 117 [2025-03-20 07:01:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:01:03] Production.ERROR: done [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 07:01:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.INFO: count ==12 [2025-03-20 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-03-20 07:01:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:01:03] Production.INFO: count ==23 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721172') start [2025-03-20 07:01:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.INFO: Date 2025-03-15 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.ERROR: done [2025-03-20 07:01:03] Production.INFO: Date 2025-03-16 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.INFO: Date 2025-03-17 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.INFO: Date 2025-03-18 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.INFO: Date 2025-03-19 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.INFO: Date 2025-03-20 [2025-03-20 07:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:01:03] Production.INFO: Total Charge 0 [2025-03-20 07:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721172') end [2025-03-20 07:01:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:01:03] Production.INFO: 1 [2025-03-20 07:01:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:01:03] Production.INFO: CreateAllLog End [2025-03-20 07:01:03] Production.INFO: ==23445== Releasing lock... [2025-03-20 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:01:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:01:04] Production.INFO: Account Balance End. [2025-03-20 07:01:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:01:04] Production.INFO: ==23441== Releasing lock... [2025-03-20 07:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:01:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:01:04 [end_date_ymd] => 2025-03-20 07:01:04 [RateCDR] => 1 ) [2025-03-20 07:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:01:04' and `end` < '2025-03-20 07:01:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:01:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:01:08] 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-03-20 07:01:11] Production.INFO: ==== result ===== [2025-03-20 07:01:11] Production.INFO: { "Id": "eeb3190e-1a71-4918-a81d-84aa1eeb24d5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468471446)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "82fbb8e6-f01f-4253-bbb0-51670207e1ac", "InvoiceNumber": "INV11726", "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": "2025-03-17T00:00:00", "Date": "\/Date(1742169600000+0000)\/", "DueDateString": "2025-04-16T00:00:00", "DueDate": "\/Date(1744761600000+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": "1d7b234d-d0ca-495d-b132-cced7b728d1f", "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": "b1dba280-e64d-4918-96c1-82cb56a968ca", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1742468471400+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:01:11] Production.INFO: -- Create Invoice id --82fbb8e6-f01f-4253-bbb0-51670207e1ac [2025-03-20 07:01:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:01:11] Production.INFO: CheckInvoice xerov2: INV11728 [2025-03-20 07:01:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11728 [2025-03-20 07:01:12] Production.ERROR: CronJobId end10 [2025-03-20 07:01:12] Production.INFO: ==23439== Releasing lock... [2025-03-20 07:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:01:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:01:14] Production.INFO: Invoice SubTotal 91.540000 [2025-03-20 07:01:14] Production.INFO: Invoice DetTotal 91.54 [2025-03-20 07:01:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010173%20%28Abdul%20Karim%29" [2025-03-20 07:01:14] Production.INFO: call_cost start [2025-03-20 07:01:14] Production.INFO: call_cost end [2025-03-20 07:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:01:15] Production.INFO: ==23435== Releasing lock... [2025-03-20 07:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:01:16] Production.INFO: count ==69 [2025-03-20 07:01:16] Production.ERROR: pbx CDR StartTime 2025-03-20 04:01:04 - End Time 2025-03-20 07:01:04 [2025-03-20 07:01:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:01:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721173', 'tblTempUsageDetail_20' ) start [2025-03-20 07:01:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721173', 'tblTempUsageDetail_20' ) end [2025-03-20 07:01:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721173', 'tblTempVendorCDR_20' ) start [2025-03-20 07:01:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721173', 'tblTempVendorCDR_20' ) end [2025-03-20 07:01:16] Production.INFO: ProcessCDR(1,14721173,1,1,2) [2025-03-20 07:01:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:01:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721173,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721173,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721173', 'tblTempUsageDetail_20' ) start [2025-03-20 07:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721173', 'tblTempUsageDetail_20' ) end [2025-03-20 07:01:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:01:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:01:20] Production.INFO: ==23443== Releasing lock... [2025-03-20 07:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:01:20] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 07:01:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:01:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:01:26] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 12.650000,LineAmount : 12.650000},{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.990000,LineAmount : 75.990000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (4032047955 - 175 Chestermere Station Way Unit 109 Chestermere, AB T1X0A4)",Quantity : 1,UnitAmount : 0.400000,LineAmount : 0.400000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (4032047955 - 175 Chestermere Station Way Unit 109 Chestermere, AB T1X0A4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:01:29] Production.INFO: ==== result ===== [2025-03-20 07:01:29] Production.INFO: { "Id": "5d6b8095-b534-434e-b542-f8bbcf28e91e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468489391)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "556ab142-4944-4cb5-b8e4-b67eb343ac83", "InvoiceNumber": "INV11728", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 96.12, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "50a0f1e0-c4eb-4ccb-b75a-a120cb3261f3", "ContactStatus": "ACTIVE", "Name": "Dominos 10173 (Abdul Karim)", "FirstName": "Abdul", "LastName": "Karim", "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(1742468365130+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-17T00:00:00", "Date": "\/Date(1742169600000+0000)\/", "DueDateString": "2025-04-16T00:00:00", "DueDate": "\/Date(1744761600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 12.65, "TaxType": "TAX012", "TaxAmount": 0.63, "LineAmount": 12.65, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "28bb8a0f-52f6-4904-ac2a-79ba212a0a1b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.99, "TaxType": "TAX012", "TaxAmount": 3.80, "LineAmount": 75.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b2c83085-9de8-4524-a5c8-553f69c1a5b1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (4032047955 - 175 Chestermere Station Way Unit 109 Chestermere, AB T1X0A4)", "UnitAmount": 0.40, "TaxType": "TAX012", "TaxAmount": 0.02, "LineAmount": 0.40, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b8351be7-c85d-4abd-814e-7aaef73241dc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (4032047955 - 175 Chestermere Station Way Unit 109 Chestermere, AB T1X0A4)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "15c3bc94-206a-4cc9-9e7c-fede789a7685", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 91.54, "TotalTax": 4.58, "Total": 96.12, "UpdatedDateUTC": "\/Date(1742468489267+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:01:29] Production.INFO: -- Create Invoice id --556ab142-4944-4cb5-b8e4-b67eb343ac83 [2025-03-20 07:01:29] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:01:29] Production.INFO: CheckInvoice xerov2: INV11720 [2025-03-20 07:01:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11720 [2025-03-20 07:01:32] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:01:32] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 07:01:32] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 07:01:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29" [2025-03-20 07:01:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:01:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:01:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:01:44] 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-03-20 07:01:47] Production.INFO: ==== result ===== [2025-03-20 07:01:47] Production.INFO: { "Id": "25e9b946-882f-4a1b-b3dd-9ebd4009c877", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468507367)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "25aecd35-2190-449b-93aa-7b52720b573b", "InvoiceNumber": "INV11720", "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": "2025-03-16T00:00:00", "Date": "\/Date(1742083200000+0000)\/", "DueDateString": "2025-04-15T00:00:00", "DueDate": "\/Date(1744675200000+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": "909a5250-b265-4ec4-be44-e344f58b7199", "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": "41191b84-2919-407e-8a0b-44b1311da2b8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742468507307+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:01:47] Production.INFO: -- Create Invoice id --25aecd35-2190-449b-93aa-7b52720b573b [2025-03-20 07:01:47] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:01:47] Production.INFO: CheckInvoice xerov2: INV11722 [2025-03-20 07:01:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11722 [2025-03-20 07:01:50] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:01:50] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:01:50] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:01:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-03-20 07:01:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:01:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:02:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 11:02:01] Production.INFO: ==23597== Lock acquired, processing the job... [2025-03-20 11:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:02:02] Production.INFO: neon service started [2025-03-20 11:02:02] Production.INFO: neon service started [2025-03-20 11:02:02] Production.INFO: ==23597== Releasing lock... [2025-03-20 11:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:02:02] Production.INFO: ==23599== Lock acquired, processing the job... [2025-03-20 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:02:02] Production.INFO: ==23599== Releasing lock... [2025-03-20 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:02:02] Production.INFO: ==23601== Lock acquired, processing the job... [2025-03-20 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:02:02] Production.INFO: ==23601== Releasing lock... [2025-03-20 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:02: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-03-20 07:02:03] Production.INFO: ==23604== Lock acquired, processing the job... [2025-03-20 07:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:02:03] Production.INFO: ==23606== Lock acquired, processing the job... [2025-03-20 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:02:03] Production.INFO: ==23613== Lock acquired, processing the job... [2025-03-20 07:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:02:03] Production.INFO: ==23608== Lock acquired, processing the job... [2025-03-20 07:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:02:03] Production.INFO: ==23611== Lock acquired, processing the job... [2025-03-20 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:02:03] Production.INFO: ==23615== Lock acquired, processing the job... [2025-03-20 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:02:03] Production.INFO: ==23606== Releasing lock... [2025-03-20 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:02:03] Production.INFO: Account Balance Start. [2025-03-20 07:02:03] Production.INFO: CreateAllLog Start [2025-03-20 07:02:04] Production.INFO: 117 [2025-03-20 07:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.INFO: count ==12 [2025-03-20 07:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:02:04] Production.INFO: count ==23 [2025-03-20 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721177') start [2025-03-20 07:02:04] Production.ERROR: done [2025-03-20 07:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721177') end [2025-03-20 07:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:02:04] Production.INFO: 1 [2025-03-20 07:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.INFO: ==23615== Releasing lock... [2025-03-20 07:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.ERROR: done [2025-03-20 07:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:02:04] Production.INFO: Total Charge 0 [2025-03-20 07:02:04] Production.INFO: CreateAllLog End [2025-03-20 07:02:04] Production.INFO: Account Balance End. [2025-03-20 07:02:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:02:04] Production.INFO: ==23611== Releasing lock... [2025-03-20 07:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:02:05 [end_date_ymd] => 2025-03-20 07:02:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:02:05' and `end` < '2025-03-20 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-03-20 07:02:06] Production.INFO: ==== result ===== [2025-03-20 07:02:06] Production.INFO: { "Id": "94b238db-f611-48af-a66b-f8f645304dd4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468526768)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6be3b32b-b975-481c-b212-bde27ecd9faa", "InvoiceNumber": "INV11722", "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": "2025-03-16T00:00:00", "Date": "\/Date(1742083200000+0000)\/", "DueDateString": "2025-04-15T00:00:00", "DueDate": "\/Date(1744675200000+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": "99c77155-0ceb-41e8-a8e3-a40439852c55", "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": "19f7d502-cdae-4205-8671-a74a72449d7c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742468526720+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:02:06] Production.INFO: -- Create Invoice id --6be3b32b-b975-481c-b212-bde27ecd9faa [2025-03-20 07:02:06] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:02:06] Production.INFO: CheckInvoice xerov2: INV11723 [2025-03-20 07:02:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11723 [2025-03-20 07:02:09] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:02:09] Production.INFO: Invoice SubTotal 32.500000 [2025-03-20 07:02:09] Production.INFO: Invoice DetTotal 32.5 [2025-03-20 07:02:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-03-20 07:02:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:02:12] Production.ERROR: CronJobId end10 [2025-03-20 07:02:12] Production.INFO: ==23608== Releasing lock... [2025-03-20 07:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:02:15] Production.INFO: call_cost start [2025-03-20 07:02:15] Production.INFO: call_cost end [2025-03-20 07:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:02:16] Production.INFO: ==23604== Releasing lock... [2025-03-20 07:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:02:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:02:18] Production.INFO: count ==69 [2025-03-20 07:02:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:02:05 - End Time 2025-03-20 07:02:05 [2025-03-20 07:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721178', 'tblTempUsageDetail_20' ) start [2025-03-20 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721178', 'tblTempUsageDetail_20' ) end [2025-03-20 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721178', 'tblTempVendorCDR_20' ) start [2025-03-20 07:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721178', 'tblTempVendorCDR_20' ) end [2025-03-20 07:02:18] Production.INFO: ProcessCDR(1,14721178,1,1,2) [2025-03-20 07:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:02:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721178,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721178,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721178', 'tblTempUsageDetail_20' ) start [2025-03-20 07:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721178', 'tblTempUsageDetail_20' ) end [2025-03-20 07:02:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:02:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:02:21] Production.INFO: ==23613== Releasing lock... [2025-03-20 07:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:02:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 07:02:21] 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-03-20 07:02:25] Production.INFO: ==== result ===== [2025-03-20 07:02:25] Production.INFO: { "Id": "f134f6e0-998b-4f74-ba7e-253935ce9ec9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468545417)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fb03b584-b8d3-45a5-aecb-40508fc93d6a", "InvoiceNumber": "INV11723", "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": "2025-03-16T00:00:00", "Date": "\/Date(1742083200000+0000)\/", "DueDateString": "2025-04-15T00:00:00", "DueDate": "\/Date(1744675200000+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": "d683036a-ed2f-4219-b059-108a61591639", "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": "c9b33c85-231d-4968-a325-84c5cf779c32", "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": "375721c2-dea4-4686-b662-06bbb1137cac", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.50, "TotalTax": 4.23, "Total": 36.73, "UpdatedDateUTC": "\/Date(1742468545353+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:02:25] Production.INFO: -- Create Invoice id --fb03b584-b8d3-45a5-aecb-40508fc93d6a [2025-03-20 07:02:25] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:02:25] Production.INFO: CheckInvoice xerov2: INV11724 [2025-03-20 07:02:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11724 [2025-03-20 07:02:28] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:02:28] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:02:28] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:02:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:02:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:02:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:02:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:02:40] 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-03-20 07:02:43] Production.INFO: ==== result ===== [2025-03-20 07:02:43] Production.INFO: { "Id": "123fded7-0b2e-4a61-a073-a8a15877aa4e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742468563380)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "97e95653-4feb-48c9-a3d3-5a22e88a97a2", "InvoiceNumber": "INV11724", "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": "2025-03-16T00:00:00", "Date": "\/Date(1742083200000+0000)\/", "DueDateString": "2025-04-15T00:00:00", "DueDate": "\/Date(1744675200000+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": "51250a8c-dc7c-4775-b7b2-ef28e0e6aa40", "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": "ff218d19-5f28-47e3-b9d4-91dfbf24fd6d", "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": "2405f129-3458-4396-be87-908226d4e2e8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742468563303+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:02:43] Production.INFO: -- Create Invoice id --97e95653-4feb-48c9-a3d3-5a22e88a97a2 [2025-03-20 07:02:43] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:02:43] Production.INFO: -- Xero End Inovice -- [2025-03-20 07:02:43] Production.INFO: ==23234== Releasing lock... [2025-03-20 07:02:43] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10796 #Stops# [2025-03-20 07:02:43] Production.INFO: 33 MB #Memory Used# [2025-03-20 11:03:01] Production.INFO: ==23686== Lock acquired, processing the job... [2025-03-20 11:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:03:01] Production.INFO: neon service started [2025-03-20 11:03:01] Production.INFO: neon service started [2025-03-20 11:03:01] Production.INFO: ==23686== Releasing lock... [2025-03-20 11:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:03:01] Production.INFO: ==23688== Lock acquired, processing the job... [2025-03-20 07:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:03:02] Production.INFO: ==23688== Releasing lock... [2025-03-20 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:03:02] Production.INFO: ==23690== Lock acquired, processing the job... [2025-03-20 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:03:02] Production.INFO: ==23690== Releasing lock... [2025-03-20 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:03:03] Production.INFO: ==23701== Lock acquired, processing the job... [2025-03-20 07:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:03:03] Production.INFO: ==23703== Lock acquired, processing the job... [2025-03-20 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:03:03] Production.INFO: ==23692== Lock acquired, processing the job... [2025-03-20 07:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:03:03] Production.INFO: ==23694== Lock acquired, processing the job... [2025-03-20 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:03:03] Production.INFO: ==23697== Lock acquired, processing the job... [2025-03-20 07:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:03:03] Production.INFO: count ==12 [2025-03-20 07:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:03:03] Production.INFO: count ==23 [2025-03-20 07:03:03] Production.INFO: ==23699== Lock acquired, processing the job... [2025-03-20 07:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721179') start [2025-03-20 07:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:03:03] Production.ERROR: done [2025-03-20 07:03:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:03:03] Production.INFO: ==23694== Releasing lock... [2025-03-20 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:03:03] Production.INFO: Account Balance Start. [2025-03-20 07:03:03] Production.INFO: CreateAllLog Start [2025-03-20 07:03:03] Production.INFO: 117 [2025-03-20 07:03:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721179') end [2025-03-20 07:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:03:03] Production.INFO: 1 [2025-03-20 07:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:03:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:03] Production.INFO: ==23703== Releasing lock... [2025-03-20 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:03:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:03:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:04] Production.ERROR: done [2025-03-20 07:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:03:04] Production.INFO: Total Charge 0 [2025-03-20 07:03:04] Production.INFO: CreateAllLog End [2025-03-20 07:03:04] Production.INFO: Account Balance End. [2025-03-20 07:03:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:03:04] Production.INFO: ==23699== Releasing lock... [2025-03-20 07:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:03:05 [end_date_ymd] => 2025-03-20 07:03:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:03:05' and `end` < '2025-03-20 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-03-20 07:03:12] Production.ERROR: CronJobId end10 [2025-03-20 07:03:12] Production.INFO: ==23697== Releasing lock... [2025-03-20 07:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:03:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:03:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:03:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:03:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:03:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:03:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:03:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:03:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:03:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:03:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:03:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:03:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:03:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:03:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:03:14] Production.INFO: call_cost start [2025-03-20 07:03:14] Production.INFO: call_cost end [2025-03-20 07:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:03:15] Production.INFO: ==23692== Releasing lock... [2025-03-20 07:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:03:17] Production.INFO: count ==69 [2025-03-20 07:03:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:03:05 - End Time 2025-03-20 07:03:05 [2025-03-20 07:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721183', 'tblTempUsageDetail_20' ) start [2025-03-20 07:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721183', 'tblTempUsageDetail_20' ) end [2025-03-20 07:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721183', 'tblTempVendorCDR_20' ) start [2025-03-20 07:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721183', 'tblTempVendorCDR_20' ) end [2025-03-20 07:03:17] Production.INFO: ProcessCDR(1,14721183,1,1,2) [2025-03-20 07:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721183,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:03:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721183,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721183', 'tblTempUsageDetail_20' ) start [2025-03-20 07:03:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721183', 'tblTempUsageDetail_20' ) end [2025-03-20 07:03:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:03:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:03:20] Production.INFO: ==23701== Releasing lock... [2025-03-20 07:03:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:03:20] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 11:04:01] Production.INFO: ==23764== Lock acquired, processing the job... [2025-03-20 11:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:04:01] Production.INFO: neon service started [2025-03-20 11:04:01] Production.INFO: neon service started [2025-03-20 11:04:01] Production.INFO: ==23764== Releasing lock... [2025-03-20 11:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:04:02] Production.INFO: ==23768== Lock acquired, processing the job... [2025-03-20 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:04:02] Production.INFO: ==23768== Releasing lock... [2025-03-20 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:04:02] Production.INFO: ==23766== Lock acquired, processing the job... [2025-03-20 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:04:02] Production.INFO: ==23766== Releasing lock... [2025-03-20 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:04:03] Production.INFO: ==23772== Lock acquired, processing the job... [2025-03-20 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:04:03] Production.INFO: ==23774== Lock acquired, processing the job... [2025-03-20 07:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:04:03] Production.INFO: ==23778== Lock acquired, processing the job... [2025-03-20 07:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:04:03] Production.INFO: ==23776== Lock acquired, processing the job... [2025-03-20 07:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:04:03] Production.INFO: ==23770== Lock acquired, processing the job... [2025-03-20 07:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:04:03] Production.INFO: ==23772== Releasing lock... [2025-03-20 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:04:04] Production.INFO: Account Balance Start. [2025-03-20 07:04:04] Production.INFO: CreateAllLog Start [2025-03-20 07:04:04] Production.INFO: 117 [2025-03-20 07:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:04:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:04:04] Production.INFO: ==23780== Lock acquired, processing the job... [2025-03-20 07:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.ERROR: done [2025-03-20 07:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.INFO: count ==12 [2025-03-20 07:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:04:04] Production.INFO: count ==23 [2025-03-20 07:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721187') start [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.ERROR: done [2025-03-20 07:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721187') end [2025-03-20 07:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:04:04] Production.INFO: 1 [2025-03-20 07:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:04:04] Production.INFO: ==23780== Releasing lock... [2025-03-20 07:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:04:04] Production.INFO: Total Charge 0 [2025-03-20 07:04:04] Production.INFO: CreateAllLog End [2025-03-20 07:04:04] Production.INFO: Account Balance End. [2025-03-20 07:04:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:04:05] Production.INFO: ==23776== Releasing lock... [2025-03-20 07:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:04:05 [end_date_ymd] => 2025-03-20 07:04:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:04:05' and `end` < '2025-03-20 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-03-20 07:04:13] Production.ERROR: CronJobId end10 [2025-03-20 07:04:13] Production.INFO: ==23774== Releasing lock... [2025-03-20 07:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:04:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:04:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:04:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:04:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:04:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:04:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:04:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:04:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:04:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:04:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:04:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:04:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:04:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:04:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:04:17] Production.INFO: call_cost start [2025-03-20 07:04:17] Production.INFO: call_cost end [2025-03-20 07:04:17] Production.INFO: count ==69 [2025-03-20 07:04:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:04:05 - End Time 2025-03-20 07:04:05 [2025-03-20 07:04:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721188', 'tblTempUsageDetail_20' ) start [2025-03-20 07:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721188', 'tblTempUsageDetail_20' ) end [2025-03-20 07:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721188', 'tblTempVendorCDR_20' ) start [2025-03-20 07:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721188', 'tblTempVendorCDR_20' ) end [2025-03-20 07:04:17] Production.INFO: ProcessCDR(1,14721188,1,1,2) [2025-03-20 07:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:04:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:04:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:04:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:04:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:04:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:04:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:04:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:04:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:04:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:04:18] Production.INFO: ==23770== Releasing lock... [2025-03-20 07:04:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:04:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721188', 'tblTempUsageDetail_20' ) start [2025-03-20 07:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721188', 'tblTempUsageDetail_20' ) end [2025-03-20 07:04:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:04:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:04:21] Production.INFO: ==23778== Releasing lock... [2025-03-20 07:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:04:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 11:05:02] Production.INFO: ==23913== Lock acquired, processing the job... [2025-03-20 11:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:05:02] Production.INFO: neon service started [2025-03-20 11:05:02] Production.INFO: neon service started [2025-03-20 11:05:02] Production.INFO: ==23913== Releasing lock... [2025-03-20 11:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:05:02] Production.INFO: ==23917== Lock acquired, processing the job... [2025-03-20 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:05:03] Production.INFO: ==23917== Releasing lock... [2025-03-20 07:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:05:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:05:03] Production.INFO: ==23919== Lock acquired, processing the job... [2025-03-20 11:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:05:03] Production.INFO: ==23919== Releasing lock... [2025-03-20 11:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:05:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:05:04] Production.INFO: ==23923== Lock acquired, processing the job... [2025-03-20 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:05:04] Production.INFO: ==23932== Lock acquired, processing the job... [2025-03-20 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 07:05:04] Production.INFO: count ==12 [2025-03-20 07:05:04] Production.INFO: ==23921== Lock acquired, processing the job... [2025-03-20 07:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 07:05:04] Production.INFO: count ==23 [2025-03-20 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721190') start [2025-03-20 07:05:04] Production.INFO: ==23923== Releasing lock... [2025-03-20 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:05:04] Production.INFO: ==23925== Lock acquired, processing the job... [2025-03-20 07:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721190') end [2025-03-20 07:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:05:04] Production.INFO: 1 [2025-03-20 07:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:05:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:05:04] Production.INFO: ==23927== Lock acquired, processing the job... [2025-03-20 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:05:04] Production.INFO: ==23932== Releasing lock... [2025-03-20 07:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:05:04] Production.INFO: ==23930== Lock acquired, processing the job... [2025-03-20 07:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:05:04] Production.INFO: Account Balance Start. [2025-03-20 07:05:04] Production.INFO: CreateAllLog Start [2025-03-20 07:05:04] Production.INFO: 117 [2025-03-20 07:05:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:04] Production.ERROR: done [2025-03-20 07:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:05:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.INFO: Date 2025-03-10 [2025-03-20 07:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.INFO: Date 2025-03-11 [2025-03-20 07:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.INFO: Date 2025-03-12 [2025-03-20 07:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.ERROR: done [2025-03-20 07:05:05] Production.INFO: Date 2025-03-13 [2025-03-20 07:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.INFO: Date 2025-03-14 [2025-03-20 07:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.INFO: Date 2025-03-15 [2025-03-20 07:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.INFO: Date 2025-03-16 [2025-03-20 07:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.INFO: Date 2025-03-17 [2025-03-20 07:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.INFO: Date 2025-03-18 [2025-03-20 07:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:05:05] Production.INFO: Total Charge 0 [2025-03-20 07:05:05] Production.INFO: CreateAllLog End [2025-03-20 07:05:05] Production.INFO: Account Balance End. [2025-03-20 07:05:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:05:05] Production.INFO: ==23927== Releasing lock... [2025-03-20 07:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:05:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:05:06 [end_date_ymd] => 2025-03-20 07:05:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:05:06' and `end` < '2025-03-20 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-03-20 07:05:14] Production.ERROR: CronJobId end10 [2025-03-20 07:05:14] Production.INFO: ==23925== Releasing lock... [2025-03-20 07:05:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:05:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:05:16] Production.INFO: call_cost start [2025-03-20 07:05:16] Production.INFO: call_cost end [2025-03-20 07:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:05:16] Production.INFO: ==23921== Releasing lock... [2025-03-20 07:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:05:19] Production.INFO: count ==69 [2025-03-20 07:05:19] Production.ERROR: pbx CDR StartTime 2025-03-20 04:05:06 - End Time 2025-03-20 07:05:06 [2025-03-20 07:05:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721193', 'tblTempUsageDetail_20' ) start [2025-03-20 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721193', 'tblTempUsageDetail_20' ) end [2025-03-20 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721193', 'tblTempVendorCDR_20' ) start [2025-03-20 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721193', 'tblTempVendorCDR_20' ) end [2025-03-20 07:05:19] Production.INFO: ProcessCDR(1,14721193,1,1,2) [2025-03-20 07:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721193', 'tblTempUsageDetail_20' ) start [2025-03-20 07:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721193', 'tblTempUsageDetail_20' ) end [2025-03-20 07:05:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:05:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:05:22] Production.INFO: ==23930== Releasing lock... [2025-03-20 07:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:05:22] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 11:06:01] Production.INFO: ==23990== Lock acquired, processing the job... [2025-03-20 11:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:06:01] Production.INFO: neon service started [2025-03-20 11:06:01] Production.INFO: neon service started [2025-03-20 11:06:01] Production.INFO: ==23990== Releasing lock... [2025-03-20 11:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:06:02] Production.INFO: ==23992== Lock acquired, processing the job... [2025-03-20 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:06:02] Production.INFO: ==23992== Releasing lock... [2025-03-20 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:06:02] Production.INFO: ==23994== Lock acquired, processing the job... [2025-03-20 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:06:02] Production.INFO: ==23994== Releasing lock... [2025-03-20 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:06:03] Production.INFO: ==24002== Lock acquired, processing the job... [2025-03-20 07:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:06:03] Production.INFO: ==24006== Lock acquired, processing the job... [2025-03-20 07:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:06:03] Production.INFO: ==23996== Lock acquired, processing the job... [2025-03-20 07:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:06:03] Production.INFO: ==23998== Lock acquired, processing the job... [2025-03-20 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:06:03] Production.INFO: ==24000== Lock acquired, processing the job... [2025-03-20 07:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:06:03] Production.INFO: Account Balance Start. [2025-03-20 07:06:03] Production.INFO: CreateAllLog Start [2025-03-20 07:06:03] Production.INFO: 117 [2025-03-20 07:06:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:03] Production.INFO: ==24004== Lock acquired, processing the job... [2025-03-20 07:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:06:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 07:06:03] Production.INFO: count ==12 [2025-03-20 07:06:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:06:03] Production.INFO: count ==23 [2025-03-20 07:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721195') start [2025-03-20 07:06:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721195') end [2025-03-20 07:06:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:06:03] Production.INFO: 1 [2025-03-20 07:06:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:06:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:04] Production.INFO: ==24006== Releasing lock... [2025-03-20 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:06:04] Production.INFO: ==23998== Releasing lock... [2025-03-20 07:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:04] Production.ERROR: done [2025-03-20 07:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:04] Production.ERROR: done [2025-03-20 07:06:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:06:04] Production.INFO: Total Charge 0 [2025-03-20 07:06:04] Production.INFO: CreateAllLog End [2025-03-20 07:06:04] Production.INFO: Account Balance End. [2025-03-20 07:06:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:06:04] Production.INFO: ==24002== Releasing lock... [2025-03-20 07:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:06:05 [end_date_ymd] => 2025-03-20 07:06:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:06:05' and `end` < '2025-03-20 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-03-20 07:06:11] Production.ERROR: CronJobId end10 [2025-03-20 07:06:11] Production.INFO: ==24000== Releasing lock... [2025-03-20 07:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:06:14] Production.INFO: call_cost start [2025-03-20 07:06:14] Production.INFO: call_cost end [2025-03-20 07:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:06:15] Production.INFO: ==23996== Releasing lock... [2025-03-20 07:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:06:17] Production.INFO: count ==69 [2025-03-20 07:06:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:06:05 - End Time 2025-03-20 07:06:05 [2025-03-20 07:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721198', 'tblTempUsageDetail_20' ) start [2025-03-20 07:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721198', 'tblTempUsageDetail_20' ) end [2025-03-20 07:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721198', 'tblTempVendorCDR_20' ) start [2025-03-20 07:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721198', 'tblTempVendorCDR_20' ) end [2025-03-20 07:06:17] Production.INFO: ProcessCDR(1,14721198,1,1,2) [2025-03-20 07:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:06:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:06:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721198', 'tblTempUsageDetail_20' ) start [2025-03-20 07:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721198', 'tblTempUsageDetail_20' ) end [2025-03-20 07:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:06:21] Production.INFO: ==24004== Releasing lock... [2025-03-20 07:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:06:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 11:07:02] Production.INFO: ==24063== Lock acquired, processing the job... [2025-03-20 11:07:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:07:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:07:02] Production.INFO: neon service started [2025-03-20 11:07:02] Production.INFO: neon service started [2025-03-20 11:07:02] Production.INFO: ==24063== Releasing lock... [2025-03-20 11:07:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:07:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:07:02] Production.INFO: ==24065== Lock acquired, processing the job... [2025-03-20 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:07:03] Production.INFO: ==24067== Lock acquired, processing the job... [2025-03-20 11:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:07:03] Production.INFO: ==24067== Releasing lock... [2025-03-20 11:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:07:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:07:03] Production.INFO: ==24065== Releasing lock... [2025-03-20 07:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:07:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:07:04] Production.INFO: ==24070== Lock acquired, processing the job... [2025-03-20 07:07:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10797 #Starts# [2025-03-20 07:07:04] Production.INFO: ==24074== Lock acquired, processing the job... [2025-03-20 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:07:04] Production.INFO: -- Xero Api Check -- [2025-03-20 07:07:04] Production.INFO: ==24072== Lock acquired, processing the job... [2025-03-20 07:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:07:04] Production.INFO: ==24076== Lock acquired, processing the job... [2025-03-20 07:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:07:04] Production.INFO: ==24082== Lock acquired, processing the job... [2025-03-20 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:07:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:07:04] Production.INFO: ==24078== Lock acquired, processing the job... [2025-03-20 07:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:07:04] Production.INFO: ==24080== Lock acquired, processing the job... [2025-03-20 07:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 07:07:04] Production.INFO: Account Balance Start. [2025-03-20 07:07:04] Production.INFO: CreateAllLog Start [2025-03-20 07:07:04] Production.INFO: count ==12 [2025-03-20 07:07:04] Production.INFO: 117 [2025-03-20 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-03-20 07:07:04] Production.INFO: count ==23 [2025-03-20 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721201') start [2025-03-20 07:07:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:04] Production.INFO: ==24074== Releasing lock... [2025-03-20 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:07:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721201') end [2025-03-20 07:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:07:04] Production.INFO: 1 [2025-03-20 07:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:07:04] Production.INFO: ==24082== Releasing lock... [2025-03-20 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:07:05] Production.INFO: Date 2025-03-11 [2025-03-20 07:07:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:05] Production.INFO: Date 2025-03-12 [2025-03-20 07:07:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:05] Production.INFO: Date 2025-03-13 [2025-03-20 07:07:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:05] Production.ERROR: done [2025-03-20 07:07:05] Production.INFO: Date 2025-03-14 [2025-03-20 07:07:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:07:05] Production.INFO: Date 2025-03-15 [2025-03-20 07:07:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:05] Production.INFO: Date 2025-03-16 [2025-03-20 07:07:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:05] Production.INFO: Date 2025-03-17 [2025-03-20 07:07:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:05] Production.ERROR: done [2025-03-20 07:07:05] Production.INFO: Date 2025-03-18 [2025-03-20 07:07:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:07:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:07:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:07:05] Production.INFO: Total Charge 0 [2025-03-20 07:07:05] Production.INFO: CreateAllLog End [2025-03-20 07:07:05] Production.INFO: Account Balance End. [2025-03-20 07:07:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:07:05] Production.INFO: ==24078== Releasing lock... [2025-03-20 07:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:07:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:07: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] => 856 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.580418 [namelookup_time] => 0.531468 [connect_time] => 0.606586 [pretransfer_time] => 0.985623 [size_upload] => 82 [size_download] => 2755 [speed_download] => 1743 [speed_upload] => 51 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.580342 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.32 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 52580 ) [2025-03-20 07:07:06] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njg4MjUsImV4cCI6MTc0MjQ2OTEyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY4ODI1LCJhdF9oYXNoIjoiYXF5WFZINFFXVUtwMWwtOW1sY0tKQSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RbJ42kCGAj_pLTyqIjO4a3AD23HXGqDbZO1pYZroS1IpcshpUitClXBGNphcJbS6xOrK72KA4foQBZbD6w27782WzogLkop0MFRMtqoAT41eZJz4sQM5DUcJNtSj-zRM7YkZs9XDker65e_xCCMVcZ-Jp_9OalEOMY5zMbg5POSnBmdIptJrEEO92QYxic06UU5csn9bkGfFMs83a80D_ya4pIgkH77Pd00kRW6IndZvnMHUxbBeugLb6lIxgTWpqj0S_IPXhA-C6XjANVJviDFpAhhlRECyrO3tX5OK1sa3hrRxWdDML0rWCye4dsWNtzAWJdFWTJ2xJCHu-IkO6g [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njg4MjUsImV4cCI6MTc0MjQ3MDYyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Ps-72RFV22tUimcBnu-UzmaTRFdPixdalqSVEikKuheDxaTmBVC_Ied00-ae-7h86-HR-6AIdnMtWiHgnh67-aRpLhgP0rwaOsu3RjEcJbX2oRTf_kxhvp7_T3bRvTkEbKX7Db_SiXoCMFzNDWfZhMZKa0Jl0xq9DKkLAfxbdFyjsk-Bob28Z0QZLVVW0Kx3eSx5RoiBhEZKhrjTsiwcXgkeFp9_prNVYDCAp8UcDg3jK3UxWIKJo7jSzmkx6_a-mq3bw2p6vYN_GOECiYSyAURfwbTtYeteAe4wCLIE4WIRBYf9h-1lYc2HMfTi3oSmit32kQBSa-R1TCWwB0LMsw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => K7xT0OEYNt_rT46vmD034YPh6IqJ5PqtgU4SoT8b34o [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 07:07:06] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njg4MjUsImV4cCI6MTc0MjQ2OTEyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDY4ODI1LCJhdF9oYXNoIjoiYXF5WFZINFFXVUtwMWwtOW1sY0tKQSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RbJ42kCGAj_pLTyqIjO4a3AD23HXGqDbZO1pYZroS1IpcshpUitClXBGNphcJbS6xOrK72KA4foQBZbD6w27782WzogLkop0MFRMtqoAT41eZJz4sQM5DUcJNtSj-zRM7YkZs9XDker65e_xCCMVcZ-Jp_9OalEOMY5zMbg5POSnBmdIptJrEEO92QYxic06UU5csn9bkGfFMs83a80D_ya4pIgkH77Pd00kRW6IndZvnMHUxbBeugLb6lIxgTWpqj0S_IPXhA-C6XjANVJviDFpAhhlRECyrO3tX5OK1sa3hrRxWdDML0rWCye4dsWNtzAWJdFWTJ2xJCHu-IkO6g [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0Njg4MjUsImV4cCI6MTc0MjQ3MDYyNSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Ps-72RFV22tUimcBnu-UzmaTRFdPixdalqSVEikKuheDxaTmBVC_Ied00-ae-7h86-HR-6AIdnMtWiHgnh67-aRpLhgP0rwaOsu3RjEcJbX2oRTf_kxhvp7_T3bRvTkEbKX7Db_SiXoCMFzNDWfZhMZKa0Jl0xq9DKkLAfxbdFyjsk-Bob28Z0QZLVVW0Kx3eSx5RoiBhEZKhrjTsiwcXgkeFp9_prNVYDCAp8UcDg3jK3UxWIKJo7jSzmkx6_a-mq3bw2p6vYN_GOECiYSyAURfwbTtYeteAe4wCLIE4WIRBYf9h-1lYc2HMfTi3oSmit32kQBSa-R1TCWwB0LMsw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => K7xT0OEYNt_rT46vmD034YPh6IqJ5PqtgU4SoT8b34o [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 07:07:06] Production.INFO: AccountID 32 [2025-03-20 07:07:06] Production.INFO: AccountName Dominos 10353 (Ronny Khan) [2025-03-20 07:07:06] Production.INFO: Checkcustomer [2025-03-20 07:07:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29" [2025-03-20 07:07:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:07:06 [end_date_ymd] => 2025-03-20 07:07:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:07:06' and `end` < '2025-03-20 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-03-20 07:07:09] Production.INFO: Contact id print CheckCustomer Case===a80d32c8-bbaa-43c9-b4d0-a7fff9d3ef21 [2025-03-20 07:07:09] Production.INFO: -- count --1 [2025-03-20 07:07:09] Production.INFO: AccountID 136 [2025-03-20 07:07:09] Production.INFO: AccountName Dominos 10483 (Ronny Khan) [2025-03-20 07:07:09] Production.INFO: Checkcustomer [2025-03-20 07:07:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-03-20 07:07:11] Production.INFO: Contact id print CheckCustomer Case===39e8e2e7-bbd0-4c58-9676-ff9889ed0960 [2025-03-20 07:07:11] Production.INFO: -- count --1 [2025-03-20 07:07:11] Production.INFO: AccountID 146 [2025-03-20 07:07:11] Production.INFO: AccountName Destawed [2025-03-20 07:07:11] Production.INFO: Checkcustomer [2025-03-20 07:07:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed" [2025-03-20 07:07:12] Production.ERROR: CronJobId end10 [2025-03-20 07:07:12] Production.INFO: ==24076== Releasing lock... [2025-03-20 07:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:07:14] Production.INFO: Contact id print CheckCustomer Case===4fde2a4c-1ac0-4a92-9312-bc67898ee56e [2025-03-20 07:07:14] Production.INFO: -- count --1 [2025-03-20 07:07:14] Production.INFO: AccountID 184 [2025-03-20 07:07:14] Production.INFO: AccountName TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure) [2025-03-20 07:07:14] Production.INFO: Checkcustomer [2025-03-20 07:07:14] 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-03-20 07:07:15] Production.INFO: call_cost start [2025-03-20 07:07:15] Production.INFO: call_cost end [2025-03-20 07:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:07:15] Production.INFO: ==24072== Releasing lock... [2025-03-20 07:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:07:17] Production.INFO: Contact id print CheckCustomer Case===bc13c86d-cd70-4f32-948a-d1f4850061a0 [2025-03-20 07:07:17] Production.INFO: -- count --1 [2025-03-20 07:07:17] Production.INFO: AccountID 185 [2025-03-20 07:07:17] Production.INFO: AccountName TTC (College-Subway) - Construction Site (Cancom - Think Secure) [2025-03-20 07:07:17] Production.INFO: Checkcustomer [2025-03-20 07:07:17] 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-03-20 07:07:18] Production.INFO: count ==69 [2025-03-20 07:07:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:07:06 - End Time 2025-03-20 07:07:06 [2025-03-20 07:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721203', 'tblTempUsageDetail_20' ) start [2025-03-20 07:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721203', 'tblTempUsageDetail_20' ) end [2025-03-20 07:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721203', 'tblTempVendorCDR_20' ) start [2025-03-20 07:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721203', 'tblTempVendorCDR_20' ) end [2025-03-20 07:07:18] Production.INFO: ProcessCDR(1,14721203,1,1,2) [2025-03-20 07:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:07:20] Production.INFO: Contact id print CheckCustomer Case===8c5c7d93-c398-4829-91b3-8174fe21f9a7 [2025-03-20 07:07:20] Production.INFO: -- count --1 [2025-03-20 07:07:20] Production.INFO: AccountID 187 [2025-03-20 07:07:20] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers [2025-03-20 07:07:20] Production.INFO: Checkcustomer [2025-03-20 07:07: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-03-20 07:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721203', 'tblTempUsageDetail_20' ) start [2025-03-20 07:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721203', 'tblTempUsageDetail_20' ) end [2025-03-20 07:07:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:07:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:07:22] Production.INFO: ==24080== Releasing lock... [2025-03-20 07:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:07:22] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 07:07:23] Production.INFO: Contact id print CheckCustomer Case===b306e9f3-f561-41b4-bd54-ad2d17a96c90 [2025-03-20 07:07:23] Production.INFO: -- count --1 [2025-03-20 07:07:23] Production.INFO: AccountID 230 [2025-03-20 07:07:23] Production.INFO: AccountName Harbourfront Medicine Cabinet [2025-03-20 07:07:23] Production.INFO: Checkcustomer [2025-03-20 07:07:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet" [2025-03-20 07:07:26] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774 [2025-03-20 07:07:26] Production.INFO: -- count --1 [2025-03-20 07:07:26] Production.INFO: AccountID 20 [2025-03-20 07:07:26] Production.INFO: AccountName Dominos 10514 (Sandeep Chaudhari) [2025-03-20 07:07:26] Production.INFO: Checkcustomer [2025-03-20 07:07:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:07:29] Production.INFO: Contact id print CheckCustomer Case===f2764bcf-df27-4f1c-86cf-e8005ea19444 [2025-03-20 07:07:29] Production.INFO: -- count --1 [2025-03-20 07:07:29] Production.INFO: AccountID 21 [2025-03-20 07:07:29] Production.INFO: AccountName Aaxel Insurance Brokers (Peel Ltd.) [2025-03-20 07:07:29] Production.INFO: Checkcustomer [2025-03-20 07:07:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29" [2025-03-20 07:07:32] Production.INFO: Contact id print CheckCustomer Case===ae39ade0-cb7f-4596-8b84-41b21b906e54 [2025-03-20 07:07:32] Production.INFO: -- count --1 [2025-03-20 07:07:32] Production.INFO: AccountID 43 [2025-03-20 07:07:32] Production.INFO: AccountName Wattpad [2025-03-20 07:07:32] Production.INFO: Checkcustomer [2025-03-20 07:07:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad" [2025-03-20 07:07:35] Production.INFO: Contact id print CheckCustomer Case===8c586c5d-b401-441c-8cc4-7ca5911a8c28 [2025-03-20 07:07:35] Production.INFO: -- count --1 [2025-03-20 07:07:35] Production.INFO: AccountID 49 [2025-03-20 07:07:35] Production.INFO: AccountName Technologies for Learning Group [2025-03-20 07:07:35] Production.INFO: Checkcustomer [2025-03-20 07:07:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group" [2025-03-20 07:07:38] Production.INFO: Contact id print CheckCustomer Case===548d87cf-625c-4b68-be89-595b2161a774 [2025-03-20 07:07:38] Production.INFO: -- count --1 [2025-03-20 07:07:38] Production.INFO: AccountID 137 [2025-03-20 07:07:38] Production.INFO: AccountName Dominos 10558 (David Mills) [2025-03-20 07:07:38] Production.INFO: Checkcustomer [2025-03-20 07:07:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29" [2025-03-20 07:07:40] Production.INFO: Contact id print CheckCustomer Case===2149c89a-278c-4dda-ad9d-2a94478559a8 [2025-03-20 07:07:40] Production.INFO: -- count --1 [2025-03-20 07:07:40] Production.INFO: AccountID 138 [2025-03-20 07:07:40] Production.INFO: AccountName Dominos 10567 (Sandeep Chaudhari) [2025-03-20 07:07:40] Production.INFO: Checkcustomer [2025-03-20 07:07:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:07:43] Production.INFO: Contact id print CheckCustomer Case===e7245c9e-f77f-4765-a131-4eff2704ecf0 [2025-03-20 07:07:43] Production.INFO: -- count --1 [2025-03-20 07:07:43] Production.INFO: AccountID 192 [2025-03-20 07:07:43] Production.INFO: AccountName Ontario Turtle Conservation Centre [2025-03-20 07:07:43] Production.INFO: Checkcustomer [2025-03-20 07:07:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre" [2025-03-20 07:07:45] Production.INFO: Contact id print CheckCustomer Case===24cd1aba-5ae0-4087-aad8-a6d157b1a548 [2025-03-20 07:07:45] Production.INFO: -- count --1 [2025-03-20 07:07:45] Production.INFO: AccountID 260 [2025-03-20 07:07:45] Production.INFO: AccountName Dominos 10136 (Muzafar Ahmad) [2025-03-20 07:07:45] Production.INFO: Checkcustomer [2025-03-20 07:07:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010136%20%28Muzafar%20Ahmad%29" [2025-03-20 07:07:48] Production.INFO: -- count --0 [2025-03-20 07:07:51] Production.INFO: ==== Contact Information 1 [2025-03-20 07:07:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010136%20%28Muzafar%20Ahmad%29" [2025-03-20 07:07:53] Production.INFO: ContactID 2d268a43-b1b6-4222-a260-19561b762b7c [2025-03-20 07:07:53] Production.INFO: -- Create Customer id --2d268a43-b1b6-4222-a260-19561b762b7c [2025-03-20 07:07:53] Production.INFO: -- Create Customer name --test customer [2025-03-20 07:07:53] Production.INFO: AccountID 52 [2025-03-20 07:07:53] Production.INFO: AccountName Dunbloor Medical Centre [2025-03-20 07:07:53] Production.INFO: Checkcustomer [2025-03-20 07:07:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre" [2025-03-20 07:07:56] Production.INFO: Contact id print CheckCustomer Case===afd1bd01-a006-445e-9a92-85deb57a3bc0 [2025-03-20 07:07:56] Production.INFO: -- count --1 [2025-03-20 07:07:56] Production.INFO: AccountID 54 [2025-03-20 07:07:56] Production.INFO: AccountName Dominos 10296 (Gurinder Saini) [2025-03-20 07:07:56] Production.INFO: Checkcustomer [2025-03-20 07:07:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29" [2025-03-20 07:07:59] Production.INFO: Contact id print CheckCustomer Case===6c1941a7-23be-4018-9a2e-523e55d27a57 [2025-03-20 07:07:59] Production.INFO: -- count --1 [2025-03-20 07:07:59] Production.INFO: AccountID 83 [2025-03-20 07:07:59] Production.INFO: AccountName Dominos 10455 (Ricky Singh) [2025-03-20 07:07:59] Production.INFO: Checkcustomer [2025-03-20 07:07:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29" [2025-03-20 11:08:01] Production.INFO: ==24155== Lock acquired, processing the job... [2025-03-20 11:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:08:01] Production.INFO: neon service started [2025-03-20 11:08:01] Production.INFO: neon service started [2025-03-20 11:08:01] Production.INFO: ==24155== Releasing lock... [2025-03-20 11:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:08:02] Production.INFO: ==24160== Lock acquired, processing the job... [2025-03-20 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:08:02] Production.INFO: ==24160== Releasing lock... [2025-03-20 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:08:02] Production.INFO: ==24158== Lock acquired, processing the job... [2025-03-20 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:08:02] Production.INFO: Contact id print CheckCustomer Case===40d799a0-fa8e-497f-be5e-788af7a33b55 [2025-03-20 07:08:02] Production.INFO: -- count --1 [2025-03-20 07:08:02] Production.INFO: AccountID 84 [2025-03-20 07:08:02] Production.INFO: AccountName Dominos 10534 (Sandeep Chaudhari) [2025-03-20 07:08:02] Production.INFO: Checkcustomer [2025-03-20 07:08:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:08:02] Production.INFO: ==24158== Releasing lock... [2025-03-20 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:08:03] Production.INFO: ==24167== Lock acquired, processing the job... [2025-03-20 07:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:08:03] Production.INFO: ==24169== Lock acquired, processing the job... [2025-03-20 07:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:08:03] Production.INFO: ==24163== Lock acquired, processing the job... [2025-03-20 07:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:08:03] Production.INFO: Account Balance Start. [2025-03-20 07:08:03] Production.INFO: CreateAllLog Start [2025-03-20 07:08:03] Production.INFO: 117 [2025-03-20 07:08:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:08:03] Production.INFO: ==24165== Lock acquired, processing the job... [2025-03-20 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:08:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:03] Production.INFO: ==24171== Lock acquired, processing the job... [2025-03-20 07:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:08:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:08:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:03] Production.INFO: ==24173== Lock acquired, processing the job... [2025-03-20 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:08:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:03] Production.INFO: Date 2025-03-15 [2025-03-20 07:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:03] Production.INFO: Date 2025-03-16 [2025-03-20 07:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:04] Production.INFO: count ==12 [2025-03-20 07:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:04] Production.INFO: count ==23 [2025-03-20 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721207') start [2025-03-20 07:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:04] Production.INFO: ==24165== Releasing lock... [2025-03-20 07:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:08:04] Production.ERROR: done [2025-03-20 07:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721207') end [2025-03-20 07:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:08:04] Production.INFO: 1 [2025-03-20 07:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:08:04] Production.INFO: Total Charge 0 [2025-03-20 07:08:04] Production.INFO: CreateAllLog End [2025-03-20 07:08:04] Production.INFO: ==24173== Releasing lock... [2025-03-20 07:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:08:04] Production.ERROR: done [2025-03-20 07:08:04] Production.INFO: Account Balance End. [2025-03-20 07:08:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:08:04] Production.INFO: ==24169== Releasing lock... [2025-03-20 07:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:08:04] Production.INFO: Contact id print CheckCustomer Case===8f094a5b-f8d1-4cb4-be2e-59f80f574839 [2025-03-20 07:08:04] Production.INFO: -- count --1 [2025-03-20 07:08:04] Production.INFO: AccountID 131 [2025-03-20 07:08:04] Production.INFO: AccountName Infinite Possibilities [2025-03-20 07:08:04] Production.INFO: Checkcustomer [2025-03-20 07:08:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities" [2025-03-20 07:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:08:05 [end_date_ymd] => 2025-03-20 07:08:05 [RateCDR] => 1 ) [2025-03-20 07:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:08:05' and `end` < '2025-03-20 07:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:08:07] Production.INFO: Contact id print CheckCustomer Case===a00da236-4e1c-4856-8599-fd3ed8268a07 [2025-03-20 07:08:07] Production.INFO: -- count --1 [2025-03-20 07:08:07] Production.INFO: AccountID 189 [2025-03-20 07:08:07] Production.INFO: AccountName Bauman Group Inc. [2025-03-20 07:08:07] Production.INFO: Checkcustomer [2025-03-20 07:08:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc." [2025-03-20 07:08:10] Production.INFO: Contact id print CheckCustomer Case===55837711-2979-41d6-b74d-0bee4c711dc6 [2025-03-20 07:08:10] Production.INFO: -- count --1 [2025-03-20 07:08:10] Production.INFO: AccountID 191 [2025-03-20 07:08:10] Production.INFO: AccountName Lake Life Financial Solutions Inc. [2025-03-20 07:08:10] Production.INFO: Checkcustomer [2025-03-20 07:08:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc." [2025-03-20 07:08:11] Production.ERROR: CronJobId end10 [2025-03-20 07:08:11] Production.INFO: ==24167== Releasing lock... [2025-03-20 07:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:08:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:08:13] Production.INFO: Contact id print CheckCustomer Case===2ab5d3da-c85d-4d7e-91cc-61b21f64178e [2025-03-20 07:08:13] Production.INFO: -- count --1 [2025-03-20 07:08:13] Production.INFO: AccountID 70 [2025-03-20 07:08:13] Production.INFO: AccountName Dominos 10293 (David Mills) [2025-03-20 07:08:13] Production.INFO: Checkcustomer [2025-03-20 07:08:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29" [2025-03-20 07:08:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:08:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:08:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:08:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:08:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:08:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:08:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:08:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:08:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:08:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:08:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:08:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:08:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:08:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:08:14] Production.INFO: call_cost start [2025-03-20 07:08:14] Production.INFO: call_cost end [2025-03-20 07:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:08:15] Production.INFO: ==24163== Releasing lock... [2025-03-20 07:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:08:15] Production.INFO: Contact id print CheckCustomer Case===dd25779b-67aa-4626-b1f4-381418d46919 [2025-03-20 07:08:15] Production.INFO: -- count --1 [2025-03-20 07:08:15] Production.INFO: AccountID 98 [2025-03-20 07:08:15] Production.INFO: AccountName Dominos 10537 (Brandon Meyers) [2025-03-20 07:08:15] Production.INFO: Checkcustomer [2025-03-20 07:08:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29" [2025-03-20 07:08:18] Production.INFO: Contact id print CheckCustomer Case===e432f2ff-87d1-4a0f-b87d-a33325db6e89 [2025-03-20 07:08:18] Production.INFO: -- count --1 [2025-03-20 07:08:18] Production.INFO: AccountID 106 [2025-03-20 07:08:18] Production.INFO: AccountName G4 Broker [2025-03-20 07:08:18] Production.INFO: Checkcustomer [2025-03-20 07:08:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker" [2025-03-20 07:08:19] Production.INFO: count ==68 [2025-03-20 07:08:19] Production.ERROR: pbx CDR StartTime 2025-03-20 04:08:05 - End Time 2025-03-20 07:08:05 [2025-03-20 07:08:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721208', 'tblTempUsageDetail_20' ) start [2025-03-20 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721208', 'tblTempUsageDetail_20' ) end [2025-03-20 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721208', 'tblTempVendorCDR_20' ) start [2025-03-20 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721208', 'tblTempVendorCDR_20' ) end [2025-03-20 07:08:19] Production.INFO: ProcessCDR(1,14721208,1,1,2) [2025-03-20 07:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:08:21] Production.INFO: Contact id print CheckCustomer Case===3cfda7a3-4db5-4680-a967-42dbcc00679b [2025-03-20 07:08:21] Production.INFO: -- count --1 [2025-03-20 07:08:21] Production.INFO: AccountID 119 [2025-03-20 07:08:21] Production.INFO: AccountName Dominos 10402 (Anwar Hossain) [2025-03-20 07:08:21] Production.INFO: Checkcustomer [2025-03-20 07:08:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29" [2025-03-20 07:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721208', 'tblTempUsageDetail_20' ) start [2025-03-20 07:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721208', 'tblTempUsageDetail_20' ) end [2025-03-20 07:08:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:08:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:08:22] Production.INFO: ==24171== Releasing lock... [2025-03-20 07:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:08:22] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 07:08:24] Production.INFO: Contact id print CheckCustomer Case===638629e4-7df5-47ca-ab31-ab7d228ee597 [2025-03-20 07:08:24] Production.INFO: -- count --1 [2025-03-20 07:08:24] Production.INFO: AccountID 123 [2025-03-20 07:08:24] Production.INFO: AccountName Dominos 10547 (Nathan Krishnan) [2025-03-20 07:08:24] Production.INFO: Checkcustomer [2025-03-20 07:08:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29" [2025-03-20 07:08:26] Production.INFO: Contact id print CheckCustomer Case===b7a54595-13f3-43f4-ba4f-ba957a026442 [2025-03-20 07:08:26] Production.INFO: -- count --1 [2025-03-20 07:08:26] Production.INFO: AccountID 229 [2025-03-20 07:08:26] Production.INFO: AccountName Dominos 10096 (Albert Chan) [2025-03-20 07:08:26] Production.INFO: Checkcustomer [2025-03-20 07:08:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29" [2025-03-20 07:08:29] Production.INFO: Contact id print CheckCustomer Case===dc1089bc-e9ac-4fac-8919-44bc3549e60a [2025-03-20 07:08:29] Production.INFO: -- count --1 [2025-03-20 07:08:29] Production.INFO: AccountID 5 [2025-03-20 07:08:29] Production.INFO: AccountName DMCI [2025-03-20 07:08:29] Production.INFO: Checkcustomer [2025-03-20 07:08:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI" [2025-03-20 07:08:33] Production.INFO: Contact id print CheckCustomer Case===7bc9d577-a1e5-4866-a22c-25fb311cbded [2025-03-20 07:08:33] Production.INFO: -- count --1 [2025-03-20 07:08:33] Production.INFO: AccountID 13 [2025-03-20 07:08:33] Production.INFO: AccountName Rosedale Diner [2025-03-20 07:08:33] Production.INFO: Checkcustomer [2025-03-20 07:08:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner" [2025-03-20 07:08:35] Production.INFO: Contact id print CheckCustomer Case===d315b223-0318-473a-8190-ce14e673da0e [2025-03-20 07:08:35] Production.INFO: -- count --1 [2025-03-20 07:08:35] Production.INFO: AccountID 73 [2025-03-20 07:08:35] Production.INFO: AccountName Discovery Point Nursery [2025-03-20 07:08:35] Production.INFO: Checkcustomer [2025-03-20 07:08:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery" [2025-03-20 07:08:38] Production.INFO: Contact id print CheckCustomer Case===cb58377f-8ea7-4ab2-9952-d9be1c41b3e2 [2025-03-20 07:08:38] Production.INFO: -- count --1 [2025-03-20 07:08:38] Production.INFO: AccountID 139 [2025-03-20 07:08:38] Production.INFO: AccountName Dominos 10560 (Ricky Singh) [2025-03-20 07:08:38] Production.INFO: Checkcustomer [2025-03-20 07:08:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29" [2025-03-20 07:08:41] Production.INFO: Contact id print CheckCustomer Case===7c24a24f-0252-42cb-b4ca-aa9aa79c4f0b [2025-03-20 07:08:41] Production.INFO: -- count --1 [2025-03-20 07:08:41] Production.INFO: AccountID 65 [2025-03-20 07:08:41] Production.INFO: AccountName AOPG Inc. [2025-03-20 07:08:41] Production.INFO: Checkcustomer [2025-03-20 07:08:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc." [2025-03-20 07:08:43] Production.INFO: Contact id print CheckCustomer Case===d7433a1b-abec-492c-bcf0-79c422ee5e45 [2025-03-20 07:08:43] Production.INFO: -- count --1 [2025-03-20 07:08:43] Production.INFO: AccountID 250 [2025-03-20 07:08:43] Production.INFO: AccountName Bennison Smith Law [2025-03-20 07:08:43] Production.INFO: Checkcustomer [2025-03-20 07:08:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 07:08:46] Production.INFO: -- count --0 [2025-03-20 07:08:49] Production.INFO: ==== Contact Information 1 [2025-03-20 07:08:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 07:08:52] Production.INFO: ContactID 5304e7ac-dae0-4da0-8e3e-3bf1912a47f6 [2025-03-20 07:08:52] Production.INFO: -- Create Customer id --5304e7ac-dae0-4da0-8e3e-3bf1912a47f6 [2025-03-20 07:08:52] Production.INFO: -- Create Customer name --test customer [2025-03-20 07:08:52] Production.INFO: AccountID 53 [2025-03-20 07:08:52] Production.INFO: AccountName Plus Travel Group [2025-03-20 07:08:52] Production.INFO: Checkcustomer [2025-03-20 07:08:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 07:08:55] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47 [2025-03-20 07:08:55] Production.INFO: -- count --1 [2025-03-20 07:08:55] Production.INFO: AccountID 211 [2025-03-20 07:08:55] Production.INFO: AccountName Dominos 39052 (Sandeep Chaudhari) [2025-03-20 07:08:55] Production.INFO: Checkcustomer [2025-03-20 07:08:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039052%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:08:58] Production.INFO: Contact id print CheckCustomer Case===fef41f69-d586-4623-95ec-1702df71d8e3 [2025-03-20 07:08:58] Production.INFO: -- count --1 [2025-03-20 07:08:58] Production.INFO: AccountID 227 [2025-03-20 07:08:58] Production.INFO: AccountName Quiznos 15184 (Akshay Naik) [2025-03-20 07:08:58] Production.INFO: Checkcustomer [2025-03-20 07:08:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29" [2025-03-20 07:09:00] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b [2025-03-20 07:09:00] Production.INFO: -- count --1 [2025-03-20 07:09:00] Production.INFO: AccountID 241 [2025-03-20 07:09:00] Production.INFO: AccountName Quiznos 15192 (Akshay Naik) [2025-03-20 07:09:00] Production.INFO: Checkcustomer [2025-03-20 07:09:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-03-20 11:09:02] Production.INFO: ==24325== Lock acquired, processing the job... [2025-03-20 11:09:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:09:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:09:02] Production.INFO: neon service started [2025-03-20 11:09:02] Production.INFO: neon service started [2025-03-20 11:09:02] Production.INFO: ==24325== Releasing lock... [2025-03-20 11:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:09:02] Production.INFO: ==24327== Lock acquired, processing the job... [2025-03-20 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:09:02] Production.INFO: ==24329== Lock acquired, processing the job... [2025-03-20 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:09:02] Production.INFO: ==24329== Releasing lock... [2025-03-20 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:09:03] Production.INFO: ==24327== Releasing lock... [2025-03-20 07:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:09:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:09:03] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e [2025-03-20 07:09:03] Production.INFO: -- count --1 [2025-03-20 07:09:03] Production.INFO: AccountID 254 [2025-03-20 07:09:03] Production.INFO: AccountName Robson Carpenter LLP [2025-03-20 07:09:03] Production.INFO: Checkcustomer [2025-03-20 07:09:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 07:09:03] Production.INFO: ==24333== Lock acquired, processing the job... [2025-03-20 07:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:09:03] Production.INFO: ==24335== Lock acquired, processing the job... [2025-03-20 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:09:03] Production.INFO: ==24339== Lock acquired, processing the job... [2025-03-20 07:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:09:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:09:04] Production.INFO: Account Balance Start. [2025-03-20 07:09:04] Production.INFO: CreateAllLog Start [2025-03-20 07:09:04] Production.INFO: 117 [2025-03-20 07:09:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: ==24335== Releasing lock... [2025-03-20 07:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:09:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: ==24337== Lock acquired, processing the job... [2025-03-20 07:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:09:04] Production.INFO: Total Charge 0 [2025-03-20 07:09:04] Production.INFO: CreateAllLog End [2025-03-20 07:09:04] Production.INFO: ==24341== Lock acquired, processing the job... [2025-03-20 07:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:09:04] Production.INFO: ==24343== Lock acquired, processing the job... [2025-03-20 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:09:04] Production.INFO: Account Balance End. [2025-03-20 07:09:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:09:04] Production.INFO: ==24339== Releasing lock... [2025-03-20 07:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 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-03-20 07:09:04] Production.INFO: count ==12 [2025-03-20 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-03-20 07:09:04] Production.INFO: count ==23 [2025-03-20 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721212') start [2025-03-20 07:09:04] Production.ERROR: done [2025-03-20 07:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721212') end [2025-03-20 07:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:09:04] Production.INFO: 1 [2025-03-20 07:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:09:05] Production.INFO: ==24343== Releasing lock... [2025-03-20 07:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:09:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:09:05] Production.ERROR: done [2025-03-20 07:09:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:09:06 [end_date_ymd] => 2025-03-20 07:09:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:09:06' and `end` < '2025-03-20 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-03-20 07:09:06] Production.INFO: -- count --0 [2025-03-20 07:09:09] Production.INFO: ==== Contact Information 1 [2025-03-20 07:09:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 07:09:12] Production.ERROR: CronJobId end10 [2025-03-20 07:09:12] Production.INFO: ==24337== Releasing lock... [2025-03-20 07:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:09:12] Production.INFO: ContactID 026264ad-30db-4a13-9750-7dee8e32341c [2025-03-20 07:09:12] Production.INFO: -- Create Customer id --026264ad-30db-4a13-9750-7dee8e32341c [2025-03-20 07:09:12] Production.INFO: -- Create Customer name --test customer [2025-03-20 07:09:12] Production.INFO: AccountID 155 [2025-03-20 07:09:12] Production.INFO: AccountName Dominos 10388 (Sandeep Chaudhari) [2025-03-20 07:09:12] Production.INFO: Checkcustomer [2025-03-20 07:09:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010388%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:09:15] Production.INFO: call_cost start [2025-03-20 07:09:15] Production.INFO: call_cost end [2025-03-20 07:09:15] Production.INFO: Contact id print CheckCustomer Case===f7e4d9d4-d7d6-4a37-b185-fce2c2d150b9 [2025-03-20 07:09:15] Production.INFO: -- count --1 [2025-03-20 07:09:15] Production.INFO: AccountID 157 [2025-03-20 07:09:15] Production.INFO: AccountName Dominos 10588 (Gurinder Saini) [2025-03-20 07:09:15] Production.INFO: Checkcustomer [2025-03-20 07:09:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010588%20%28Gurinder%20Saini%29" [2025-03-20 07:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:09:16] Production.INFO: ==24333== Releasing lock... [2025-03-20 07:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:09:17] Production.INFO: Contact id print CheckCustomer Case===1ac67d8d-8981-4be8-9709-0bb5a101fe05 [2025-03-20 07:09:17] Production.INFO: -- count --1 [2025-03-20 07:09:17] Production.INFO: AccountID 232 [2025-03-20 07:09:17] Production.INFO: AccountName Jenopher Inc. [2025-03-20 07:09:17] Production.INFO: Checkcustomer [2025-03-20 07:09:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc." [2025-03-20 07:09:18] Production.INFO: count ==68 [2025-03-20 07:09:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:09:06 - End Time 2025-03-20 07:09:06 [2025-03-20 07:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721213', 'tblTempUsageDetail_20' ) start [2025-03-20 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721213', 'tblTempUsageDetail_20' ) end [2025-03-20 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721213', 'tblTempVendorCDR_20' ) start [2025-03-20 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721213', 'tblTempVendorCDR_20' ) end [2025-03-20 07:09:18] Production.INFO: ProcessCDR(1,14721213,1,1,2) [2025-03-20 07:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:09:20] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359 [2025-03-20 07:09:20] Production.INFO: -- count --1 [2025-03-20 07:09:20] Production.INFO: AccountID 124 [2025-03-20 07:09:20] Production.INFO: AccountName Dominos 39009 (Mudassar Zia) [2025-03-20 07:09:20] Production.INFO: Checkcustomer [2025-03-20 07:09:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29" [2025-03-20 07:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721213', 'tblTempUsageDetail_20' ) start [2025-03-20 07:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721213', 'tblTempUsageDetail_20' ) end [2025-03-20 07:09:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:09:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:09:22] Production.INFO: ==24341== Releasing lock... [2025-03-20 07:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:09:22] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 07:09:22] Production.INFO: Contact id print CheckCustomer Case===40c47681-8e37-4e12-be60-e7c71250891f [2025-03-20 07:09:22] Production.INFO: -- count --1 [2025-03-20 07:09:22] Production.INFO: AccountID 153 [2025-03-20 07:09:22] Production.INFO: AccountName Dominos 10191 (Chandresh Patel) [2025-03-20 07:09:22] Production.INFO: Checkcustomer [2025-03-20 07:09:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29" [2025-03-20 07:09:26] Production.INFO: Contact id print CheckCustomer Case===a1f84b26-3d74-4603-893d-c86292f301ef [2025-03-20 07:09:26] Production.INFO: -- count --1 [2025-03-20 07:09:26] Production.INFO: AccountID 154 [2025-03-20 07:09:26] Production.INFO: AccountName Dominos 10385 (Sandeep Chaudhari) [2025-03-20 07:09:26] Production.INFO: Checkcustomer [2025-03-20 07:09:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:09:29] Production.INFO: Contact id print CheckCustomer Case===f21476d6-c1e8-4e8b-b2a8-87f68276aedf [2025-03-20 07:09:29] Production.INFO: -- count --1 [2025-03-20 07:09:29] Production.INFO: AccountID 30 [2025-03-20 07:09:29] Production.INFO: AccountName Compass ELC - Lindsay [2025-03-20 07:09:29] Production.INFO: Checkcustomer [2025-03-20 07:09:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Lindsay" [2025-03-20 07:09:31] Production.INFO: Contact id print CheckCustomer Case===7cca29b1-b852-4195-aea8-d23ee3e0a552 [2025-03-20 07:09:31] Production.INFO: -- count --1 [2025-03-20 07:09:31] Production.INFO: AccountID 182 [2025-03-20 07:09:31] Production.INFO: AccountName Dominos 39049 (Sandeep Chaudhari) [2025-03-20 07:09:31] Production.INFO: Checkcustomer [2025-03-20 07:09:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:09:34] Production.INFO: Contact id print CheckCustomer Case===1c0b2017-4eb0-4996-8c28-357329632ba9 [2025-03-20 07:09:34] Production.INFO: -- count --1 [2025-03-20 07:09:34] Production.INFO: AccountID 188 [2025-03-20 07:09:34] Production.INFO: AccountName All Care Insurance Brokers Ltd. [2025-03-20 07:09:34] Production.INFO: Checkcustomer [2025-03-20 07:09:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd." [2025-03-20 07:09:37] Production.INFO: Contact id print CheckCustomer Case===6d542d8f-684c-435c-82fd-abdec98b3c10 [2025-03-20 07:09:37] Production.INFO: -- count --1 [2025-03-20 07:09:37] Production.INFO: AccountID 218 [2025-03-20 07:09:37] Production.INFO: AccountName Dominos 10164 (Jordan Hodgson) [2025-03-20 07:09:37] Production.INFO: Checkcustomer [2025-03-20 07:09:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010164%20%28Jordan%20Hodgson%29" [2025-03-20 07:09:39] Production.INFO: Contact id print CheckCustomer Case===9ba9e65f-7bc8-430d-b449-05e224b3e5f6 [2025-03-20 07:09:39] Production.INFO: -- count --1 [2025-03-20 07:09:39] Production.INFO: AccountID 79 [2025-03-20 07:09:39] Production.INFO: AccountName Axxima [2025-03-20 07:09:39] Production.INFO: Checkcustomer [2025-03-20 07:09:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima" [2025-03-20 07:09:42] Production.INFO: Contact id print CheckCustomer Case===5a62af79-4890-44a7-9d0e-f81cfe9497c1 [2025-03-20 07:09:42] Production.INFO: -- count --1 [2025-03-20 07:09:42] Production.INFO: -- Xero Add Inovice -- [2025-03-20 07:09:42] Production.INFO: CheckInvoice xerov2: INV11712 [2025-03-20 07:09:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11712 [2025-03-20 07:09:45] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:09:45] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:09:45] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:09:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29" [2025-03-20 07:09:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:09:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:09:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:09:57] 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-03-20 07:10:00] Production.INFO: ==== result ===== [2025-03-20 07:10:00] Production.INFO: { "Id": "a608ef04-5127-42ec-8ad0-3d80e07d2b1f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469000834)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "12f9bb20-fb62-4353-84d9-917bf275bc61", "InvoiceNumber": "INV11712", "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": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+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": "cca2ffcf-ecec-4f0c-bb64-f460796f57d0", "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": "5feb7c21-017f-4941-a2fa-81983799a4cd", "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": "50417631-090f-4aa2-9c3f-6a4226755276", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742469000787+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:10:00] Production.INFO: -- Create Invoice id --12f9bb20-fb62-4353-84d9-917bf275bc61 [2025-03-20 07:10:00] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:10:00] Production.INFO: CheckInvoice xerov2: INV11713 [2025-03-20 07:10:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11713 [2025-03-20 11:10:01] Production.INFO: ==24455== Lock acquired, processing the job... [2025-03-20 11:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:10:01] Production.INFO: neon service started [2025-03-20 11:10:01] Production.INFO: neon service started [2025-03-20 11:10:01] Production.INFO: ==24455== Releasing lock... [2025-03-20 11:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:10:02] Production.INFO: ==24457== Lock acquired, processing the job... [2025-03-20 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:10:02] Production.INFO: ==24457== Releasing lock... [2025-03-20 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:10:02] Production.INFO: ==24459== Lock acquired, processing the job... [2025-03-20 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:10:02] Production.INFO: ==24459== Releasing lock... [2025-03-20 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:10:03] Production.INFO: ==24466== Lock acquired, processing the job... [2025-03-20 07:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:10:03] Production.INFO: ==24470== Lock acquired, processing the job... [2025-03-20 07:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:10:03] Production.INFO: ==24462== Lock acquired, processing the job... [2025-03-20 07:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 07:10:03] Production.INFO: ==24464== Lock acquired, processing the job... [2025-03-20 07:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:10:03] Production.INFO: ==24468== Lock acquired, processing the job... [2025-03-20 07:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 07:10:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 07:10:03] Production.ERROR: CronJob PID - 24466 [2025-03-20 07:10:03] Production.ERROR: CronJob Title - Account Block [2025-03-20 07:10:03] Production.ERROR: CronJob ID - 7 [2025-03-20 07:10:03] Production.ERROR: CronJob Last Run Time 2025-03-20 07:10:00 [2025-03-20 07:10:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 07:10:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 07:10:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 07:10:03] Production.ERROR: CronJob PID - 24470 [2025-03-20 07:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 07:10:03] Production.ERROR: CronJob ID - 12 [2025-03-20 07:10:03] Production.ERROR: CronJob Last Run Time 2025-03-20 07:10:00 [2025-03-20 07:10:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 07:10:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 07:10:03] Production.INFO: Account Balance Start. [2025-03-20 07:10:03] Production.INFO: CreateAllLog Start [2025-03-20 07:10:03] Production.INFO: 117 [2025-03-20 07:10:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 07:10:03] Production.INFO: ==24462== Releasing lock... [2025-03-20 07:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 07:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 07:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:10:04] Production.INFO: ==24472== Lock acquired, processing the job... [2025-03-20 07:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:10:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:10:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:10:04] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:10:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-03-20 07:10:04] Production.INFO: ==24474== Lock acquired, processing the job... [2025-03-20 07:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 07:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:10:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.INFO: ==24476== Lock acquired, processing the job... [2025-03-20 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:10:04] Production.INFO: ==24466== Releasing lock... [2025-03-20 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 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-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.INFO: count ==12 [2025-03-20 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-03-20 07:10:04] Production.ERROR: done [2025-03-20 07:10:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:10:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.INFO: count ==23 [2025-03-20 07:10:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721217') start [2025-03-20 07:10:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:10:04] Production.INFO: Total Charge 0 [2025-03-20 07:10:04] Production.INFO: CreateAllLog End [2025-03-20 07:10:04] Production.ERROR: done [2025-03-20 07:10:05] Production.ERROR: done [2025-03-20 07:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721217') end [2025-03-20 07:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:10:05] Production.INFO: 1 [2025-03-20 07:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 07:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721219', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 07:10:05] Production.INFO: ==24476== Releasing lock... [2025-03-20 07:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:10:05] Production.INFO: Account Balance End. [2025-03-20 07:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:10:05] Production.INFO: ==24470== Releasing lock... [2025-03-20 07:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:10:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:10:05 [end_date_ymd] => 2025-03-20 07:10:05 [RateCDR] => 1 ) [2025-03-20 07:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:10:05' and `end` < '2025-03-20 07:10:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:10:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721219', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 07:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 07:10:09] Production.INFO: ProcessCDR(1,14721219,1,1,2) [2025-03-20 07:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721219,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721219,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:10:09] Production.INFO: ==24474== Releasing lock... [2025-03-20 07:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 07:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 07:10:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:10:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:10:13] Production.ERROR: CronJobId end10 [2025-03-20 07:10:13] Production.INFO: ==24468== Releasing lock... [2025-03-20 07:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:10:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:10:15] 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-03-20 07:10:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:10:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:10:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:10:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:10:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:10:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:10:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:10:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:10:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:10:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:10:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:10:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:10:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:10:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:10:16] Production.INFO: call_cost start [2025-03-20 07:10:16] Production.INFO: call_cost end [2025-03-20 07:10:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:10:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:10:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:10:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:10:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:10:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:10:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:10:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:10:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:10:17] Production.INFO: ==24464== Releasing lock... [2025-03-20 07:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:10:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:10:18] Production.INFO: ==== result ===== [2025-03-20 07:10:18] Production.INFO: { "Id": "0422ddc9-dd27-40a2-beaf-a41ef946bb79", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469018722)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5c8fb352-e8bc-412e-9ca5-4c0330a6cd0d", "InvoiceNumber": "INV11713", "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": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+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": "0d9f5ccc-ab3d-4bc2-a44d-6d7345635855", "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": "83f03c4b-d835-4d94-af9a-0063d36ebb24", "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": "9c35e396-e565-4605-83ff-6b06e0fda7b0", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742469018660+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:10:18] Production.INFO: -- Create Invoice id --5c8fb352-e8bc-412e-9ca5-4c0330a6cd0d [2025-03-20 07:10:18] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:10:18] Production.INFO: CheckInvoice xerov2: INV11714 [2025-03-20 07:10:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11714 [2025-03-20 07:10:20] Production.INFO: count ==68 [2025-03-20 07:10:20] Production.ERROR: pbx CDR StartTime 2025-03-20 04:10:05 - End Time 2025-03-20 07:10:05 [2025-03-20 07:10:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721218', 'tblTempUsageDetail_20' ) start [2025-03-20 07:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721218', 'tblTempUsageDetail_20' ) end [2025-03-20 07:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721218', 'tblTempVendorCDR_20' ) start [2025-03-20 07:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721218', 'tblTempVendorCDR_20' ) end [2025-03-20 07:10:20] Production.INFO: ProcessCDR(1,14721218,1,1,2) [2025-03-20 07:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:10:21] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:10:21] Production.INFO: Invoice SubTotal 18.000000 [2025-03-20 07:10:21] Production.INFO: Invoice DetTotal 18 [2025-03-20 07:10:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed" [2025-03-20 07:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721218', 'tblTempUsageDetail_20' ) start [2025-03-20 07:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721218', 'tblTempUsageDetail_20' ) end [2025-03-20 07:10:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:10:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:10:24] Production.INFO: ==24472== Releasing lock... [2025-03-20 07:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:10:24] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 07:10:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:10:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:10:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:10:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 6,UnitAmount : 2.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-83-DESTAWED)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-833-457-SUIT)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000} [2025-03-20 07:10:35] Production.INFO: ==== result ===== [2025-03-20 07:10:35] Production.INFO: { "Id": "a88fbd99-89df-4e96-9ca6-8ec0b60221ed", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469035795)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ea49f2ae-02fb-4473-92f8-8f34f5b59ca6", "InvoiceNumber": "INV11714", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 20.34, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "4fde2a4c-1ac0-4a92-9312-bc67898ee56e", "ContactStatus": "ACTIVE", "Name": "Destawed", "FirstName": "Amitt", "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(1646681546973+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "DiscountRate": 0.00, "LineItemID": "04e47b07-8521-418d-bd03-9d2b2b0ac4fb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (1-83-DESTAWED)", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 0.39, "LineAmount": 3.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a1af296b-84a5-4d7c-b9d2-e56b1dbb457d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (1-833-457-SUIT)", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 0.39, "LineAmount": 3.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "89ca46c8-6006-4978-87e0-a22e47d4f86f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 18.00, "TotalTax": 2.34, "Total": 20.34, "UpdatedDateUTC": "\/Date(1742469035733+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:10:35] Production.INFO: -- Create Invoice id --ea49f2ae-02fb-4473-92f8-8f34f5b59ca6 [2025-03-20 07:10:35] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:10:35] Production.INFO: CheckInvoice xerov2: INV11715 [2025-03-20 07:10:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11715 [2025-03-20 07:10:38] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:10:38] Production.INFO: Invoice SubTotal 76.860000 [2025-03-20 07:10:38] Production.INFO: Invoice DetTotal 76.86 [2025-03-20 07:10:38] 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-03-20 07:10:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:10:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:10:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:10:50] 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-03-20 07:10:53] Production.INFO: ==== result ===== [2025-03-20 07:10:53] Production.INFO: { "Id": "4c060c82-ea39-422c-9227-7fc5c7e7891e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469053673)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "11d7a30a-a3df-4987-8ac2-e15b1051d383", "InvoiceNumber": "INV11715", "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": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+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": "8403afdc-bbe4-4d9f-810d-5b8d7c71c9f5", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 76.86, "TotalTax": 9.99, "Total": 86.85, "UpdatedDateUTC": "\/Date(1742469053610+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:10:53] Production.INFO: -- Create Invoice id --11d7a30a-a3df-4987-8ac2-e15b1051d383 [2025-03-20 07:10:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:10:53] Production.INFO: CheckInvoice xerov2: INV11716 [2025-03-20 07:10:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11716 [2025-03-20 07:10:56] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:10:56] Production.INFO: Invoice SubTotal 76.860000 [2025-03-20 07:10:56] Production.INFO: Invoice DetTotal 76.86 [2025-03-20 07:10:56] 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-03-20 07:10:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 11:11:02] Production.INFO: ==24553== Lock acquired, processing the job... [2025-03-20 11:11:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:11:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:11:02] Production.INFO: neon service started [2025-03-20 11:11:02] Production.INFO: neon service started [2025-03-20 11:11:02] Production.INFO: ==24553== Releasing lock... [2025-03-20 11:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:11:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:11:02] Production.INFO: ==24556== Lock acquired, processing the job... [2025-03-20 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:11:02] Production.INFO: ==24558== Lock acquired, processing the job... [2025-03-20 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:11:02] Production.INFO: ==24558== Releasing lock... [2025-03-20 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:11:03] Production.INFO: ==24556== Releasing lock... [2025-03-20 07:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:11:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:11:03] Production.INFO: ==24560== Lock acquired, processing the job... [2025-03-20 07:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:11:03] Production.INFO: ==24564== Lock acquired, processing the job... [2025-03-20 07:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:11:04] Production.INFO: ==24566== Lock acquired, processing the job... [2025-03-20 07:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:11:04] Production.INFO: Account Balance Start. [2025-03-20 07:11:04] Production.INFO: CreateAllLog Start [2025-03-20 07:11:04] Production.INFO: 117 [2025-03-20 07:11:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: ==24562== Lock acquired, processing the job... [2025-03-20 07:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:11:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: ==24568== Lock acquired, processing the job... [2025-03-20 07:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:11:04] Production.INFO: ==24570== Lock acquired, processing the job... [2025-03-20 07:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: count ==12 [2025-03-20 07:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:11:04] Production.INFO: count ==23 [2025-03-20 07:11:04] Production.INFO: ==24562== Releasing lock... [2025-03-20 07:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721223') start [2025-03-20 07:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:11:04] Production.INFO: Total Charge 0 [2025-03-20 07:11:04] Production.INFO: CreateAllLog End [2025-03-20 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721223') end [2025-03-20 07:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:11:04] Production.INFO: 1 [2025-03-20 07:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:11:04] Production.ERROR: done [2025-03-20 07:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:11:04] Production.INFO: ==24570== Releasing lock... [2025-03-20 07:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:11:05] Production.INFO: Account Balance End. [2025-03-20 07:11:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:11:05] Production.INFO: ==24566== Releasing lock... [2025-03-20 07:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:11:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:11:05] Production.ERROR: done [2025-03-20 07:11:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:11:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:11:06 [end_date_ymd] => 2025-03-20 07:11:06 [RateCDR] => 1 ) [2025-03-20 07: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-03-20 04:11:06' and `end` < '2025-03-20 07: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-03-20 07:11:08] 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-03-20 07:11:11] Production.ERROR: CronJobId end10 [2025-03-20 07:11:11] Production.INFO: ==24564== Releasing lock... [2025-03-20 07:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:11:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:11:11] Production.INFO: ==== result ===== [2025-03-20 07:11:11] Production.INFO: { "Id": "4b6871de-e851-4b18-a309-6c60fe127a89", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469071470)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "95fa8e11-9279-4426-8ada-7c1e4e1bc4fd", "InvoiceNumber": "INV11716", "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": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+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": "bc5e285b-618b-4c71-8e4a-61f76ca797a0", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 76.86, "TotalTax": 9.99, "Total": 86.85, "UpdatedDateUTC": "\/Date(1742469071423+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:11:11] Production.INFO: -- Create Invoice id --95fa8e11-9279-4426-8ada-7c1e4e1bc4fd [2025-03-20 07:11:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:11:11] Production.INFO: CheckInvoice xerov2: INV11717 [2025-03-20 07:11:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11717 [2025-03-20 07:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:11:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:11:14] Production.INFO: Invoice SubTotal 40.500000 [2025-03-20 07:11:14] Production.INFO: Invoice DetTotal 40.5 [2025-03-20 07:11:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers" [2025-03-20 07:11:14] Production.INFO: call_cost start [2025-03-20 07:11:14] Production.INFO: call_cost end [2025-03-20 07:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:11:15] Production.INFO: ==24560== Releasing lock... [2025-03-20 07:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:11:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:11:19] Production.INFO: count ==68 [2025-03-20 07:11:19] Production.ERROR: pbx CDR StartTime 2025-03-20 04:11:06 - End Time 2025-03-20 07:11:06 [2025-03-20 07:11:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721224', 'tblTempUsageDetail_20' ) start [2025-03-20 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721224', 'tblTempUsageDetail_20' ) end [2025-03-20 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721224', 'tblTempVendorCDR_20' ) start [2025-03-20 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721224', 'tblTempVendorCDR_20' ) end [2025-03-20 07:11:19] Production.INFO: ProcessCDR(1,14721224,1,1,2) [2025-03-20 07:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:11:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721224,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721224,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721224', 'tblTempUsageDetail_20' ) start [2025-03-20 07:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721224', 'tblTempUsageDetail_20' ) end [2025-03-20 07:11:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:11:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:11:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:11:23] Production.INFO: ==24568== Releasing lock... [2025-03-20 07:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:11:23] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 07:11:26] 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-03-20 07:11:29] Production.INFO: ==== result ===== [2025-03-20 07:11:29] Production.INFO: { "Id": "4a8f429f-ef62-43ab-bc72-2d6d1a2740f2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469089343)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a96356a1-b0f3-4ade-b766-90d1eff5c00c", "InvoiceNumber": "INV11717", "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": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-03-22T00:00:00", "DueDate": "\/Date(1742601600000+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": "28209455-fcf9-4d51-8b36-29886d7df2e4", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 40.50, "TotalTax": 5.27, "Total": 45.77, "UpdatedDateUTC": "\/Date(1742469089297+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:11:29] Production.INFO: -- Create Invoice id --a96356a1-b0f3-4ade-b766-90d1eff5c00c [2025-03-20 07:11:29] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:11:29] Production.INFO: CheckInvoice xerov2: INV11718 [2025-03-20 07:11:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11718 [2025-03-20 07:11:32] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:11:32] Production.INFO: Invoice SubTotal 70.000000 [2025-03-20 07:11:32] Production.INFO: Invoice DetTotal 70 [2025-03-20 07:11:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet" [2025-03-20 07:11:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:11:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:11:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:11:44] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Phone channel for capacity-based billing",Quantity : 7,UnitAmount : 10.000000,LineAmount : 70.000000} [2025-03-20 07:11:47] Production.INFO: ==== result ===== [2025-03-20 07:11:47] Production.INFO: { "Id": "1ee4c55a-1be5-4767-930c-71bcd0f34771", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469107117)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8c70cbe5-b40c-4e2b-a5e9-9210a0bef428", "InvoiceNumber": "INV11718", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 79.10, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e4609e79-2a2f-49b0-a0f8-9766de2b1774", "ContactStatus": "ACTIVE", "Name": "Harbourfront Medicine Cabinet", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "205 Ava Rd", "City": "Toronto", "Region": "ON", "PostalCode": "M6C 1W8", "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(1730664962810+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-15T00:00:00", "Date": "\/Date(1741996800000+0000)\/", "DueDateString": "2025-04-14T00:00:00", "DueDate": "\/Date(1744588800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Phone channel for capacity-based billing", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "LineItemID": "45fca9f9-a934-4170-b48a-09340b555793", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 70.00, "TotalTax": 9.10, "Total": 79.10, "UpdatedDateUTC": "\/Date(1742469107040+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:11:47] Production.INFO: -- Create Invoice id --8c70cbe5-b40c-4e2b-a5e9-9210a0bef428 [2025-03-20 07:11:47] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:11:47] Production.INFO: CheckInvoice xerov2: INV11700 [2025-03-20 07:11:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11700 [2025-03-20 07:11:49] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:11:49] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:11:49] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:11:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:11:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:11:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:11:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 11:12:01] Production.INFO: ==24727== Lock acquired, processing the job... [2025-03-20 11:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:12:01] Production.INFO: neon service started [2025-03-20 11:12:01] Production.INFO: neon service started [2025-03-20 11:12:01] Production.INFO: ==24727== Releasing lock... [2025-03-20 11:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:12:01] 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-03-20 11:12:02] Production.INFO: ==24731== Lock acquired, processing the job... [2025-03-20 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:12:02] Production.INFO: ==24731== Releasing lock... [2025-03-20 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:12:02] Production.INFO: ==24729== Lock acquired, processing the job... [2025-03-20 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:12:02] Production.INFO: ==24729== Releasing lock... [2025-03-20 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:12:03] Production.INFO: ==24736== Lock acquired, processing the job... [2025-03-20 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:12:03] Production.INFO: ==24740== Lock acquired, processing the job... [2025-03-20 07:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:12:03] Production.INFO: ==24734== Lock acquired, processing the job... [2025-03-20 07:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:12:03] Production.INFO: Account Balance Start. [2025-03-20 07:12:03] Production.INFO: CreateAllLog Start [2025-03-20 07:12:03] Production.INFO: 117 [2025-03-20 07:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:12:03] Production.INFO: ==24738== Lock acquired, processing the job... [2025-03-20 07:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:12:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:03] Production.INFO: ==24742== Lock acquired, processing the job... [2025-03-20 07:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:12:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:12:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:03] Production.INFO: ==24744== Lock acquired, processing the job... [2025-03-20 07:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:12:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:12:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:03] Production.INFO: ==24736== Releasing lock... [2025-03-20 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:12:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:03] Production.INFO: Date 2025-03-15 [2025-03-20 07:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:04] Production.ERROR: done [2025-03-20 07:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 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-03-20 07:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:04] Production.ERROR: done [2025-03-20 07:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:12:04] Production.INFO: count ==12 [2025-03-20 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-03-20 07:12:04] Production.INFO: count ==23 [2025-03-20 07:12:04] Production.INFO: Total Charge 0 [2025-03-20 07:12:04] Production.INFO: CreateAllLog End [2025-03-20 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721228') start [2025-03-20 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721228') end [2025-03-20 07:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:12:04] Production.INFO: 1 [2025-03-20 07:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:12:04] Production.INFO: Account Balance End. [2025-03-20 07:12:04] Production.INFO: ==24744== Releasing lock... [2025-03-20 07:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:12:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:12:04] Production.INFO: ==24740== Releasing lock... [2025-03-20 07:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:12:04] Production.INFO: ==== result ===== [2025-03-20 07:12:04] Production.INFO: { "Id": "fb3b868d-9948-49a6-a60d-e7e630c84a44", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469124874)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "07e114c8-e5aa-4c91-be3e-4634babad022", "InvoiceNumber": "INV11700", "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": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+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": "5b7a14d5-c095-4226-9085-86a88869423d", "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": "1f2d14b7-ddf2-466f-a06e-a460e62cddc1", "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": "c4a832fa-f4c8-4436-a8d2-012d566daee0", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742469124813+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:12:05] Production.INFO: -- Create Invoice id --07e114c8-e5aa-4c91-be3e-4634babad022 [2025-03-20 07:12:05] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:12:05] Production.INFO: CheckInvoice xerov2: INV11701 [2025-03-20 07:12:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11701 [2025-03-20 07:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:12:05 [end_date_ymd] => 2025-03-20 07:12:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:12:05' and `end` < '2025-03-20 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-03-20 07:12:08] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:12:08] Production.INFO: Invoice SubTotal 172.800000 [2025-03-20 07:12:08] Production.INFO: Invoice DetTotal 172.8 [2025-03-20 07:12: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-03-20 07:12:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:12:11] Production.ERROR: CronJobId end10 [2025-03-20 07:12:11] Production.INFO: ==24738== Releasing lock... [2025-03-20 07:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:12:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:12:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:12:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:12:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:12:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:12:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:12:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:12:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:12:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:12:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:12:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:12:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:12:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:12:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:12:13] Production.INFO: call_cost start [2025-03-20 07:12:13] Production.INFO: call_cost end [2025-03-20 07:12:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:12:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:12:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:12:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:12:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:12:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:12:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:12:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:12:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:12:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:12:14] Production.INFO: ==24734== Releasing lock... [2025-03-20 07:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:12:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:12:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:12:17] Production.INFO: count ==74 [2025-03-20 07:12:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:12:05 - End Time 2025-03-20 07:12:05 [2025-03-20 07:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721229', 'tblTempUsageDetail_20' ) start [2025-03-20 07:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721229', 'tblTempUsageDetail_20' ) end [2025-03-20 07:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721229', 'tblTempVendorCDR_20' ) start [2025-03-20 07:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721229', 'tblTempVendorCDR_20' ) end [2025-03-20 07:12:17] Production.INFO: ProcessCDR(1,14721229,1,1,2) [2025-03-20 07:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721229,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:12:19] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-14-2025 To 03-13-2025",Quantity : 1,UnitAmount : 53.050000,LineAmount : 53.050000},{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-03-20 07:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721229,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721229', 'tblTempUsageDetail_20' ) start [2025-03-20 07:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721229', 'tblTempUsageDetail_20' ) end [2025-03-20 07:12:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:12:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:12:21] Production.INFO: ==24742== Releasing lock... [2025-03-20 07:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:12:21] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 07:12:22] Production.INFO: ==== result ===== [2025-03-20 07:12:22] Production.INFO: { "Id": "3dcf2199-9408-4416-befa-22a02f4bde27", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469142855)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ff19333e-1c60-4008-9b42-10d75b66402d", "InvoiceNumber": "INV11701", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 195.27, "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": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-14-2025 To 03-13-2025", "UnitAmount": 53.05, "TaxType": "TAX020", "TaxAmount": 6.90, "LineAmount": 53.05, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "75e0c0a3-0286-4f90-8619-b406c0311e32", "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": "b16c3678-eac8-4fc2-a12d-cd73b00b1682", "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": "0a4ba3a9-1f08-4445-9bc4-02751a6b6cf3", "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": "23af5b05-1fa5-4fc0-8637-7df7d57a29c6", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 172.80, "TotalTax": 22.47, "Total": 195.27, "UpdatedDateUTC": "\/Date(1742469142793+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:12:22] Production.INFO: -- Create Invoice id --ff19333e-1c60-4008-9b42-10d75b66402d [2025-03-20 07:12:22] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:12:22] Production.INFO: CheckInvoice xerov2: INV11702 [2025-03-20 07:12:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11702 [2025-03-20 07:12:26] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:12:26] Production.INFO: Invoice SubTotal 200.500000 [2025-03-20 07:12:26] Production.INFO: Invoice DetTotal 200.5 [2025-03-20 07:12:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad" [2025-03-20 07:12:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:12:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:12:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:12:37] 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-03-20 07:12:41] Production.INFO: ==== result ===== [2025-03-20 07:12:41] Production.INFO: { "Id": "978273f7-3f96-4a3a-95b8-6c0c7c7dd5ff", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469161262)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "96082640-1791-45ad-8529-9b5696f7988d", "InvoiceNumber": "INV11702", "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": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+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": "fe0513bd-9e96-4269-b40d-7fba4412ad7b", "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": "8d1509b7-9b66-44c3-beff-564e7610e488", "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": "c227882d-73fd-47d2-9b59-d65c9cd05afe", "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": "3cc2d4fa-4a53-40f7-a1cb-e4a066884992", "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": "0cac944d-4591-45d1-aec2-534a077789a5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 200.50, "TotalTax": 26.08, "Total": 226.58, "UpdatedDateUTC": "\/Date(1742469161213+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:12:41] Production.INFO: -- Create Invoice id --96082640-1791-45ad-8529-9b5696f7988d [2025-03-20 07:12:41] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:12:41] Production.INFO: CheckInvoice xerov2: INV11703 [2025-03-20 07:12:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11703 [2025-03-20 07:12:44] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:12:44] Production.INFO: Invoice SubTotal 51.500000 [2025-03-20 07:12:44] Production.INFO: Invoice DetTotal 51.5 [2025-03-20 07:12:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group" [2025-03-20 07:12:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:12:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:12:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:12:56] 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-03-20 07:12:59] Production.INFO: ==== result ===== [2025-03-20 07:12:59] Production.INFO: { "Id": "9913b8ad-d12d-41c2-8be9-5c1bdeaa9fa5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469179452)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "70c0c523-b2dd-4603-a3e5-7b0ccb75596f", "InvoiceNumber": "INV11703", "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": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-03-21T00:00:00", "DueDate": "\/Date(1742515200000+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": "b63073e4-ee8b-4ea8-8781-7711f71753f2", "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": "3b049540-0739-4366-a934-ab6acd64c73b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 51.50, "TotalTax": 6.70, "Total": 58.20, "UpdatedDateUTC": "\/Date(1742469179420+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:12:59] Production.INFO: -- Create Invoice id --70c0c523-b2dd-4603-a3e5-7b0ccb75596f [2025-03-20 07:12:59] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:12:59] Production.INFO: CheckInvoice xerov2: INV11704 [2025-03-20 07:12:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11704 [2025-03-20 11:13:02] Production.INFO: ==24832== Lock acquired, processing the job... [2025-03-20 11:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:13:02] Production.INFO: neon service started [2025-03-20 11:13:02] Production.INFO: neon service started [2025-03-20 11:13:02] Production.INFO: ==24832== Releasing lock... [2025-03-20 11:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:13:02] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 11:13:02] Production.INFO: ==24837== Lock acquired, processing the job... [2025-03-20 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:13:02] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:13:02] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:13:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29" [2025-03-20 11:13:02] Production.INFO: ==24837== Releasing lock... [2025-03-20 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:13:02] Production.INFO: ==24835== Lock acquired, processing the job... [2025-03-20 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:13:02] Production.INFO: ==24835== Releasing lock... [2025-03-20 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:13:03] Production.INFO: ==24839== Lock acquired, processing the job... [2025-03-20 07:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:13:03] Production.INFO: ==24841== Lock acquired, processing the job... [2025-03-20 07:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:13:03] Production.INFO: ==24843== Lock acquired, processing the job... [2025-03-20 07:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:13:03] Production.INFO: ==24845== Lock acquired, processing the job... [2025-03-20 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:13:03] Production.INFO: ==24847== Lock acquired, processing the job... [2025-03-20 07:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:13:04] Production.INFO: ==24849== Lock acquired, processing the job... [2025-03-20 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:13:04] Production.INFO: Account Balance Start. [2025-03-20 07:13:04] Production.INFO: CreateAllLog Start [2025-03-20 07:13:04] Production.INFO: ==24841== Releasing lock... [2025-03-20 07:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:13:04] Production.INFO: 117 [2025-03-20 07:13:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 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-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.INFO: count ==12 [2025-03-20 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-03-20 07:13:04] Production.INFO: count ==23 [2025-03-20 07:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.ERROR: done [2025-03-20 07:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721233') start [2025-03-20 07:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721233') end [2025-03-20 07:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:13:04] Production.INFO: 1 [2025-03-20 07:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.ERROR: done [2025-03-20 07:13:04] Production.INFO: ==24849== Releasing lock... [2025-03-20 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:13:04] Production.INFO: Total Charge 0 [2025-03-20 07:13:04] Production.INFO: CreateAllLog End [2025-03-20 07:13:05] Production.INFO: Account Balance End. [2025-03-20 07:13:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:13:05] Production.INFO: ==24845== Releasing lock... [2025-03-20 07:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:13:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:13:05 [end_date_ymd] => 2025-03-20 07:13:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:13:05' and `end` < '2025-03-20 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-03-20 07:13:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:13:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:13:12] Production.ERROR: CronJobId end10 [2025-03-20 07:13:12] Production.INFO: ==24843== Releasing lock... [2025-03-20 07:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:13:14] 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-03-20 07:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:13:14] Production.INFO: call_cost start [2025-03-20 07:13:14] Production.INFO: call_cost end [2025-03-20 07:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:13:15] Production.INFO: ==24839== Releasing lock... [2025-03-20 07:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:13:17] Production.INFO: ==== result ===== [2025-03-20 07:13:17] Production.INFO: { "Id": "8082228e-c0cf-4001-8f1a-9bcdf2f9f071", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469197604)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6970d70d-2ada-43a4-89f7-16bbcaaccd4b", "InvoiceNumber": "INV11704", "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": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+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": "5038efe1-217b-45dc-9c73-7c48945c9f55", "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": "31baa566-c917-42ba-9ae8-fd453cf0104d", "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": "8b16a306-3241-402d-8525-3277adf7bf6a", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742469197557+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:13:17] Production.INFO: -- Create Invoice id --6970d70d-2ada-43a4-89f7-16bbcaaccd4b [2025-03-20 07:13:17] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:13:17] Production.INFO: CheckInvoice xerov2: INV11705 [2025-03-20 07:13:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11705 [2025-03-20 07:13:19] Production.INFO: count ==74 [2025-03-20 07:13:19] Production.ERROR: pbx CDR StartTime 2025-03-20 04:13:05 - End Time 2025-03-20 07:13:05 [2025-03-20 07:13:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721234', 'tblTempUsageDetail_20' ) start [2025-03-20 07:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721234', 'tblTempUsageDetail_20' ) end [2025-03-20 07:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721234', 'tblTempVendorCDR_20' ) start [2025-03-20 07:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721234', 'tblTempVendorCDR_20' ) end [2025-03-20 07:13:19] Production.INFO: ProcessCDR(1,14721234,1,1,2) [2025-03-20 07:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:13:20] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:13:20] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:13:20] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:13:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721234,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721234,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721234', 'tblTempUsageDetail_20' ) start [2025-03-20 07:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721234', 'tblTempUsageDetail_20' ) end [2025-03-20 07:13:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:13:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:13:22] Production.INFO: ==24847== Releasing lock... [2025-03-20 07:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:13:22] Production.INFO: 28.75 MB #Memory Used# [2025-03-20 07:13:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:13:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:13:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:13: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 (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-03-20 07:13:36] Production.INFO: ==== result ===== [2025-03-20 07:13:36] Production.INFO: { "Id": "b2e14723-44d4-4ca3-b602-4471958232ca", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469216524)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "3c79a2ad-2ffb-472a-87a1-5470c59cdfca", "InvoiceNumber": "INV11705", "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": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+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": "486fea53-0510-46e4-b3af-c9f32df6f7c6", "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": "2ea46bdb-2821-47bb-bf79-873b30fc93f2", "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": "97ebebc0-e5fa-49b7-abf2-536d55c9125a", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742469216307+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:13:36] Production.INFO: -- Create Invoice id --3c79a2ad-2ffb-472a-87a1-5470c59cdfca [2025-03-20 07:13:36] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:13:36] Production.INFO: CheckInvoice xerov2: INV11706 [2025-03-20 07:13:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11706 [2025-03-20 07:13:39] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:13:39] Production.INFO: Invoice SubTotal 79.750000 [2025-03-20 07:13:39] Production.INFO: Invoice DetTotal 79.75 [2025-03-20 07:13:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre" [2025-03-20 07:13:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:13:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:13:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:13:51] 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-03-20 07:13:54] Production.INFO: ==== result ===== [2025-03-20 07:13:54] Production.INFO: { "Id": "09b7b41c-473b-4349-ab17-51da2f8d35e0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469234667)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ba3eb619-3181-44a5-88b6-8822360d0977", "InvoiceNumber": "INV11706", "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": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+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": "b37ac8a5-eea5-43b8-9ba9-43409fea8967", "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": "530d0e72-d11a-4a2a-9f13-ca1c0807f422", "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": "d2fd8c44-eb57-45d6-bda0-41f33cc95772", "AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8", "ValidationErrors": [] } ], "SubTotal": 79.75, "TotalTax": 10.37, "Total": 90.12, "UpdatedDateUTC": "\/Date(1742469234620+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:13:54] Production.INFO: -- Create Invoice id --ba3eb619-3181-44a5-88b6-8822360d0977 [2025-03-20 07:13:54] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:13:54] Production.INFO: CheckInvoice xerov2: INV11708 [2025-03-20 07:13:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11708 [2025-03-20 07:13:57] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:13:57] Production.INFO: Invoice SubTotal 76.490000 [2025-03-20 07:13:57] Production.INFO: Invoice DetTotal 76.49 [2025-03-20 07:13:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010136%20%28Muzafar%20Ahmad%29" [2025-03-20 07:14:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 11:14:01] Production.INFO: ==24950== Lock acquired, processing the job... [2025-03-20 11:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:14:01] Production.INFO: neon service started [2025-03-20 11:14:01] Production.INFO: neon service started [2025-03-20 11:14:01] Production.INFO: ==24950== Releasing lock... [2025-03-20 11:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:14:01] Production.INFO: ==24954== Lock acquired, processing the job... [2025-03-20 11:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:14:01] Production.INFO: ==24954== Releasing lock... [2025-03-20 11:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:14:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:14:02] Production.INFO: ==24952== Lock acquired, processing the job... [2025-03-20 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:14:02] Production.INFO: ==24952== Releasing lock... [2025-03-20 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:14:03] Production.INFO: ==24962== Lock acquired, processing the job... [2025-03-20 07:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:14:03] Production.INFO: ==24957== Lock acquired, processing the job... [2025-03-20 07:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:14:03] Production.INFO: ==24966== Lock acquired, processing the job... [2025-03-20 07:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:14:03] Production.INFO: ==24959== Lock acquired, processing the job... [2025-03-20 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:14:03] Production.INFO: ==24964== Lock acquired, processing the job... [2025-03-20 07:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:14:03] Production.INFO: ==24968== Lock acquired, processing the job... [2025-03-20 07:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:14:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:14:03] Production.INFO: Account Balance Start. [2025-03-20 07:14:03] Production.INFO: CreateAllLog Start [2025-03-20 07:14:03] Production.INFO: 117 [2025-03-20 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-03-20 07:14:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:03] Production.INFO: count ==12 [2025-03-20 07:14:03] Production.ERROR: done [2025-03-20 07:14:03] Production.INFO: ==24959== Releasing lock... [2025-03-20 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:14:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:14:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 07:14:03] Production.INFO: count ==23 [2025-03-20 07:14:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721237') start [2025-03-20 07:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:04] Production.ERROR: done [2025-03-20 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721237') end [2025-03-20 07:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:14:04] Production.INFO: 1 [2025-03-20 07:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:04] Production.INFO: ==24968== Releasing lock... [2025-03-20 07:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:14:04] Production.INFO: Total Charge 0 [2025-03-20 07:14:04] Production.INFO: CreateAllLog End [2025-03-20 07:14:04] Production.INFO: Account Balance End. [2025-03-20 07:14:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:14:04] Production.INFO: ==24964== Releasing lock... [2025-03-20 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:14:05 [end_date_ymd] => 2025-03-20 07:14:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:14:05' and `end` < '2025-03-20 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-03-20 07:14:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:14:09] Production.INFO: =========Invoices String here======{taxType:"TAX012",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 03-10-2025 To 03-13-2025",Quantity : 1,UnitAmount : 0.030000,LineAmount : 0.030000},{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX012",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.000000,LineAmount : 75.000000},{taxType:"TAX012",AccountCode : 203,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -0.680000,LineAmount : -1.360000},{taxType:"TAX012",AccountCode : 203,"Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service",Quantity : 2,UnitAmount : -5.000000,LineAmount : -10.000000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (4035015000 - 608 2nd St W Unit 1 Brooks, AB T1R1A8)",Quantity : 1,UnitAmount : 0.320000,LineAmount : 0.320000},{taxType:"TAX012",AccountCode : 203,"Description": "e911 address registration (4035015000 - 608 2nd St W Unit 1 Brooks, AB T1R1A8)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:14:12] Production.INFO: ==== result ===== [2025-03-20 07:14:12] Production.INFO: { "Id": "621ce041-93ba-49e9-a6df-20cfd1f4b2ea", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469252485)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6e86b227-8a2e-4590-a35b-b422e535bc9d", "InvoiceNumber": "INV11708", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 80.32, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "2d268a43-b1b6-4222-a260-19561b762b7c", "ContactStatus": "ACTIVE", "Name": "Dominos 10136 (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(1742468871023+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-14T00:00:00", "Date": "\/Date(1741910400000+0000)\/", "DueDateString": "2025-04-13T00:00:00", "DueDate": "\/Date(1744502400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 03-10-2025 To 03-13-2025", "UnitAmount": 0.03, "TaxType": "TAX012", "TaxAmount": 0.00, "LineAmount": 0.03, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ef41dc0d-6ff5-450c-b762-e891980ee75f", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 10.00, "TaxType": "TAX012", "TaxAmount": 0.50, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "d8e324b3-4920-4f8e-8cb9-d06011be4e4b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.00, "TaxType": "TAX012", "TaxAmount": 3.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "639f7d1f-1c74-4314-8583-e65942cd987a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service", "UnitAmount": -0.68, "TaxType": "TAX012", "TaxAmount": -0.07, "LineAmount": -1.36, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "a862de81-793b-437a-9819-2c91e706c20c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service", "UnitAmount": -5.00, "TaxType": "TAX012", "TaxAmount": -0.50, "LineAmount": -10.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "ebe0f5f0-ef73-45be-86aa-0452b13f8266", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (4035015000 - 608 2nd St W Unit 1 Brooks, AB T1R1A8)", "UnitAmount": 0.32, "TaxType": "TAX012", "TaxAmount": 0.02, "LineAmount": 0.32, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e0ebcf4f-9120-4a45-9e44-b52e58cae469", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (4035015000 - 608 2nd St W Unit 1 Brooks, AB T1R1A8)", "UnitAmount": 2.50, "TaxType": "TAX012", "TaxAmount": 0.13, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3d3347aa-e60b-4061-b827-bf0407c4a74c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 76.49, "TotalTax": 3.83, "Total": 80.32, "UpdatedDateUTC": "\/Date(1742469252423+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:14:12] Production.INFO: -- Create Invoice id --6e86b227-8a2e-4590-a35b-b422e535bc9d [2025-03-20 07:14:12] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:14:12] Production.INFO: CheckInvoice xerov2: INV11686 [2025-03-20 07:14:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11686 [2025-03-20 07:14:12] Production.ERROR: CronJobId end10 [2025-03-20 07:14:12] Production.INFO: ==24962== Releasing lock... [2025-03-20 07:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:14:15] Production.INFO: call_cost start [2025-03-20 07:14:15] Production.INFO: call_cost end [2025-03-20 07:14:15] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:14:15] Production.INFO: Invoice SubTotal 78.850000 [2025-03-20 07:14:15] Production.INFO: Invoice DetTotal 78.85 [2025-03-20 07:14:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre" [2025-03-20 07:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:14:16] Production.INFO: ==24957== Releasing lock... [2025-03-20 07:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:14:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:14:19] Production.INFO: count ==75 [2025-03-20 07:14:19] Production.ERROR: pbx CDR StartTime 2025-03-20 04:14:05 - End Time 2025-03-20 07:14:05 [2025-03-20 07:14:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721239', 'tblTempUsageDetail_20' ) start [2025-03-20 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721239', 'tblTempUsageDetail_20' ) end [2025-03-20 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721239', 'tblTempVendorCDR_20' ) start [2025-03-20 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721239', 'tblTempVendorCDR_20' ) end [2025-03-20 07:14:19] Production.INFO: ProcessCDR(1,14721239,1,1,2) [2025-03-20 07:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721239,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:14:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721239,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721239', 'tblTempUsageDetail_20' ) start [2025-03-20 07:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721239', 'tblTempUsageDetail_20' ) end [2025-03-20 07:14:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:14:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:14:24] Production.INFO: ==24966== Releasing lock... [2025-03-20 07:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:14:24] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 07:14:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:14:27] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-13-2025 To 03-12-2025",Quantity : 1,UnitAmount : 6.350000,LineAmount : 6.350000},{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-03-20 07:14:30] Production.INFO: ==== result ===== [2025-03-20 07:14:30] Production.INFO: { "Id": "ff79e8ab-6259-46e3-a826-7c69d1944564", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469270603)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e3b6ad64-c4b2-49a5-8a43-0a46fbd91db8", "InvoiceNumber": "INV11686", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 89.11, "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": "2025-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-13-2025 To 03-12-2025", "UnitAmount": 6.35, "TaxType": "TAX020", "TaxAmount": 0.83, "LineAmount": 6.35, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2d4a2bcc-f2e1-4575-9fcf-98a3a8fe2bd5", "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": "3e35694f-f5db-4bd9-9bea-6a09e3831614", "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": "bc5a8e42-8dd8-434e-8d38-a2e1f4db0c4c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 78.85, "TotalTax": 10.26, "Total": 89.11, "UpdatedDateUTC": "\/Date(1742469270493+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:14:30] Production.INFO: -- Create Invoice id --e3b6ad64-c4b2-49a5-8a43-0a46fbd91db8 [2025-03-20 07:14:30] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:14:30] Production.INFO: CheckInvoice xerov2: INV11687 [2025-03-20 07:14:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11687 [2025-03-20 07:14:33] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:14:33] Production.INFO: Invoice SubTotal 328.800000 [2025-03-20 07:14:33] Production.INFO: Invoice DetTotal 328.8 [2025-03-20 07:14:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29" [2025-03-20 07:14:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:14:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:14:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:14:45] 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 : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-03-20 07:14:48] Production.INFO: ==== result ===== [2025-03-20 07:14:48] Production.INFO: { "Id": "b1c60570-39e2-4ccb-a2fe-f47fa853c9f7", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469288744)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "33ceb74b-0023-4d58-8cde-427b5afc41d3", "InvoiceNumber": "INV11687", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 371.55, "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": "2025-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+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": "0defcb28-d500-4b0c-9535-c282f2d5caca", "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": "70e06d99-1be5-47c8-b84e-479edf16d8de", "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": "68c5fcf7-7ecf-45f4-a326-09bd19c0f82e", "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.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "6b307082-5ce0-48c5-88f0-67e8c731bf2b", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 328.80, "TotalTax": 42.75, "Total": 371.55, "UpdatedDateUTC": "\/Date(1742469288697+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:14:48] Production.INFO: -- Create Invoice id --33ceb74b-0023-4d58-8cde-427b5afc41d3 [2025-03-20 07:14:48] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:14:48] Production.INFO: CheckInvoice xerov2: INV11690 [2025-03-20 07:14:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11690 [2025-03-20 07:14:51] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:14:51] Production.INFO: Invoice SubTotal 60.000000 [2025-03-20 07:14:51] Production.INFO: Invoice DetTotal 60 [2025-03-20 07:14:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29" [2025-03-20 07:14:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:14:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:15:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 11:15:01] Production.INFO: ==25068== Lock acquired, processing the job... [2025-03-20 11:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:15:01] Production.INFO: neon service started [2025-03-20 11:15:01] Production.INFO: neon service started [2025-03-20 11:15:01] Production.INFO: ==25068== Releasing lock... [2025-03-20 11:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:15:02] Production.INFO: ==25072== Lock acquired, processing the job... [2025-03-20 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:15:02] Production.INFO: ==25072== Releasing lock... [2025-03-20 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:15:02] Production.INFO: ==25070== Lock acquired, processing the job... [2025-03-20 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:15:02] 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-03-20 07:15:02] Production.INFO: ==25070== Releasing lock... [2025-03-20 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:15:03] Production.INFO: ==25076== Lock acquired, processing the job... [2025-03-20 07:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:15:03] Production.INFO: ==25078== Lock acquired, processing the job... [2025-03-20 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:15:03] Production.INFO: ==25082== Lock acquired, processing the job... [2025-03-20 07:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:15:03] Production.INFO: ==25080== Lock acquired, processing the job... [2025-03-20 07:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:15:03] Production.INFO: ==25084== Lock acquired, processing the job... [2025-03-20 07:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:15:03] Production.INFO: ==25086== Lock acquired, processing the job... [2025-03-20 07:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:15:04] Production.INFO: Account Balance Start. [2025-03-20 07:15:04] Production.INFO: CreateAllLog Start [2025-03-20 07:15:04] Production.INFO: 117 [2025-03-20 07:15:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:15:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:15:04] Production.INFO: ==25078== Releasing lock... [2025-03-20 07:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:15:04] Production.INFO: count ==12 [2025-03-20 07:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:15:04] Production.INFO: count ==23 [2025-03-20 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721243') start [2025-03-20 07:15:04] Production.ERROR: done [2025-03-20 07:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721243') end [2025-03-20 07:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:15:04] Production.INFO: 1 [2025-03-20 07:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:15:04] Production.INFO: ==25086== Releasing lock... [2025-03-20 07:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:15:04] Production.ERROR: done [2025-03-20 07:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:15:04] Production.INFO: Total Charge 0 [2025-03-20 07:15:04] Production.INFO: CreateAllLog End [2025-03-20 07:15:04] Production.INFO: Account Balance End. [2025-03-20 07:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:15:04] Production.INFO: ==25082== Releasing lock... [2025-03-20 07:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:15:05 [end_date_ymd] => 2025-03-20 07:15:05 [RateCDR] => 1 ) [2025-03-20 07:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:15:05' and `end` < '2025-03-20 07:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:15:05] Production.INFO: ==== result ===== [2025-03-20 07:15:05] Production.INFO: { "Id": "9a109915-b23b-438e-af3a-53d323950da4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469305678)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "cc5571d2-7308-456e-9c2f-684ccfb24ca0", "InvoiceNumber": "INV11690", "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": "2025-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+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": "4a9f6a4c-94c0-47af-bd03-c5640f450ac6", "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": "2e60f581-711c-4a30-8608-52f0b4757b67", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 60.00, "TotalTax": 7.80, "Total": 67.80, "UpdatedDateUTC": "\/Date(1742469305617+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:15:05] Production.INFO: -- Create Invoice id --cc5571d2-7308-456e-9c2f-684ccfb24ca0 [2025-03-20 07:15:05] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:15:05] Production.INFO: CheckInvoice xerov2: INV11691 [2025-03-20 07:15:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11691 [2025-03-20 07:15:08] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:15:08] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:15:08] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:15:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:15:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:15:12] Production.ERROR: CronJobId end10 [2025-03-20 07:15:12] Production.INFO: ==25080== Releasing lock... [2025-03-20 07:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:15:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:15:15] Production.INFO: call_cost start [2025-03-20 07:15:15] Production.INFO: call_cost end [2025-03-20 07:15:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:15:16] Production.INFO: ==25076== Releasing lock... [2025-03-20 07:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:15:17] Production.INFO: count ==75 [2025-03-20 07:15:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:15:05 - End Time 2025-03-20 07:15:05 [2025-03-20 07:15:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721244', 'tblTempUsageDetail_20' ) start [2025-03-20 07:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721244', 'tblTempUsageDetail_20' ) end [2025-03-20 07:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721244', 'tblTempVendorCDR_20' ) start [2025-03-20 07:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721244', 'tblTempVendorCDR_20' ) end [2025-03-20 07:15:17] Production.INFO: ProcessCDR(1,14721244,1,1,2) [2025-03-20 07:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:15:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721244', 'tblTempUsageDetail_20' ) start [2025-03-20 07:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721244', 'tblTempUsageDetail_20' ) end [2025-03-20 07:15:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:15:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:15:21] Production.INFO: ==25084== Releasing lock... [2025-03-20 07:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:15:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 07:15: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 (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-03-20 07:15:25] Production.INFO: ==== result ===== [2025-03-20 07:15:25] Production.INFO: { "Id": "92dedfe2-abf0-4e4c-bcee-3f6c6c3418b3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469325008)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2e2a82db-c96e-4725-ad92-98030e744ff9", "InvoiceNumber": "INV11691", "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": "2025-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+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": "aab4f94c-aed6-48f7-92ad-a9a2deddd6ee", "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": "c4f6f9c4-6b6d-497d-b167-a3198cb652f8", "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": "b6c9f383-7081-48c0-aec5-d14066bd5c76", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742469324913+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:15:25] Production.INFO: -- Create Invoice id --2e2a82db-c96e-4725-ad92-98030e744ff9 [2025-03-20 07:15:25] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:15:25] Production.INFO: CheckInvoice xerov2: INV11692 [2025-03-20 07:15:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11692 [2025-03-20 07:15:27] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:15:27] Production.INFO: Invoice SubTotal 5.000000 [2025-03-20 07:15:27] Production.INFO: Invoice DetTotal 5 [2025-03-20 07:15:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities" [2025-03-20 07:15:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:15:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:15:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:15:39] 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-03-20 07:15:42] Production.INFO: ==== result ===== [2025-03-20 07:15:42] Production.INFO: { "Id": "669676eb-9ceb-4a9f-beb6-f905fd9a5b23", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469342171)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2f73d65a-1287-45db-872a-62a6860202e6", "InvoiceNumber": "INV11692", "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": "2025-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+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": "24a8ee79-ad5a-4f10-84c7-cfd9ec1dd1dc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 5.00, "TotalTax": 0.65, "Total": 5.65, "UpdatedDateUTC": "\/Date(1742469342047+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:15:42] Production.INFO: -- Create Invoice id --2f73d65a-1287-45db-872a-62a6860202e6 [2025-03-20 07:15:42] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:15:42] Production.INFO: CheckInvoice xerov2: INV11694 [2025-03-20 07:15:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11694 [2025-03-20 07:15:44] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:15:44] Production.INFO: Invoice SubTotal 221.200000 [2025-03-20 07:15:44] Production.INFO: Invoice DetTotal 221.2 [2025-03-20 07:15:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc." [2025-03-20 07:15:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:15:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:15:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:15:58] 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-03-20 07:16:01] Production.INFO: ==== result ===== [2025-03-20 07:16:01] Production.INFO: { "Id": "c1b4e84d-2269-49e7-b4cd-d6ba91c2a818", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469361316)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "365c3188-d40b-4d05-a3d4-65932a8a36ae", "InvoiceNumber": "INV11694", "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": "2025-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+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": "d0674b94-780c-46b0-9532-3c5c661d0bf4", "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": "e3101d61-1981-453e-9068-237fa9f2fa3a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 221.20, "TotalTax": 28.76, "Total": 249.96, "UpdatedDateUTC": "\/Date(1742469361223+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:16:01] Production.INFO: -- Create Invoice id --365c3188-d40b-4d05-a3d4-65932a8a36ae [2025-03-20 07:16:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:16:01] Production.INFO: CheckInvoice xerov2: INV11696 [2025-03-20 07:16:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11696 [2025-03-20 11:16:02] Production.INFO: ==25236== Lock acquired, processing the job... [2025-03-20 11:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:16:02] Production.INFO: neon service started [2025-03-20 11:16:02] Production.INFO: neon service started [2025-03-20 11:16:02] Production.INFO: ==25236== Releasing lock... [2025-03-20 11:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:16:02] Production.INFO: ==25239== Lock acquired, processing the job... [2025-03-20 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:16:03] Production.INFO: ==25239== Releasing lock... [2025-03-20 07:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:16:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:16:03] Production.INFO: ==25241== Lock acquired, processing the job... [2025-03-20 11:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:16:03] Production.INFO: ==25241== Releasing lock... [2025-03-20 11:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:16:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:16:03] Production.INFO: ==25245== Lock acquired, processing the job... [2025-03-20 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:16:03] Production.INFO: ==25251== Lock acquired, processing the job... [2025-03-20 07:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:16:03] Production.INFO: ==25243== Lock acquired, processing the job... [2025-03-20 07:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:16:04] Production.INFO: ==25247== Lock acquired, processing the job... [2025-03-20 07:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:16:04] Production.INFO: ==25253== Lock acquired, processing the job... [2025-03-20 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:16:04] Production.INFO: ==25249== Lock acquired, processing the job... [2025-03-20 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:16:04] Production.INFO: Account Balance Start. [2025-03-20 07:16:04] Production.INFO: CreateAllLog Start [2025-03-20 07:16:04] Production.INFO: 117 [2025-03-20 07:16:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.INFO: count ==12 [2025-03-20 07:16:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.ERROR: done [2025-03-20 07:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:16:04] Production.INFO: count ==23 [2025-03-20 07:16:04] Production.INFO: Invoice SubTotal 38.500000 [2025-03-20 07:16:04] Production.INFO: Invoice DetTotal 38.5 [2025-03-20 07:16:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc." [2025-03-20 07:16:04] Production.INFO: ==25245== Releasing lock... [2025-03-20 07:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721248') start [2025-03-20 07:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721248') end [2025-03-20 07:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:16:04] Production.INFO: 1 [2025-03-20 07:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.ERROR: done [2025-03-20 07:16:04] Production.INFO: ==25253== Releasing lock... [2025-03-20 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:16:05] Production.INFO: Total Charge 0 [2025-03-20 07:16:05] Production.INFO: CreateAllLog End [2025-03-20 07:16:05] Production.INFO: Account Balance End. [2025-03-20 07:16:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:16:05] Production.INFO: ==25249== Releasing lock... [2025-03-20 07:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:16:05 [end_date_ymd] => 2025-03-20 07:16:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:16:05' and `end` < '2025-03-20 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-03-20 07:16:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:16:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:16:11] Production.ERROR: CronJobId end10 [2025-03-20 07:16:11] Production.INFO: ==25247== Releasing lock... [2025-03-20 07:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:16:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:16:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:16:14] Production.INFO: call_cost start [2025-03-20 07:16:14] Production.INFO: call_cost end [2025-03-20 07:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:16:15] Production.INFO: ==25243== Releasing lock... [2025-03-20 07:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:16:16] 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-03-20 07:16:18] Production.INFO: count ==75 [2025-03-20 07:16:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:16:05 - End Time 2025-03-20 07:16:05 [2025-03-20 07:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721249', 'tblTempUsageDetail_20' ) start [2025-03-20 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721249', 'tblTempUsageDetail_20' ) end [2025-03-20 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721249', 'tblTempVendorCDR_20' ) start [2025-03-20 07:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721249', 'tblTempVendorCDR_20' ) end [2025-03-20 07:16:18] Production.INFO: ProcessCDR(1,14721249,1,1,2) [2025-03-20 07:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:16:19] Production.INFO: ==== result ===== [2025-03-20 07:16:19] Production.INFO: { "Id": "ac8a6b25-22d9-4d24-b5d9-1035893e5bcf", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469379846)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "0b9b0635-049c-48e8-b8d9-0c69a271e2f1", "InvoiceNumber": "INV11696", "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": "2025-03-13T00:00:00", "Date": "\/Date(1741824000000+0000)\/", "DueDateString": "2025-04-12T00:00:00", "DueDate": "\/Date(1744416000000+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": "c3c20db6-39b8-41ee-9fbb-501affbfba17", "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": "675cd177-b4fd-408d-8c53-f3f7b2f77154", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 38.50, "TotalTax": 5.01, "Total": 43.51, "UpdatedDateUTC": "\/Date(1742469379690+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:16:19] Production.INFO: -- Create Invoice id --0b9b0635-049c-48e8-b8d9-0c69a271e2f1 [2025-03-20 07:16:19] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:16:19] Production.INFO: CheckInvoice xerov2: INV11684 [2025-03-20 07:16:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11684 [2025-03-20 07:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721249', 'tblTempUsageDetail_20' ) start [2025-03-20 07:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721249', 'tblTempUsageDetail_20' ) end [2025-03-20 07:16:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:16:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:16:22] Production.INFO: ==25251== Releasing lock... [2025-03-20 07:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:16:22] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 07:16:22] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:16:22] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:16:22] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:16:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29" [2025-03-20 07:16:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:16:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:16:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:16: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-03-20 07:16:37] Production.INFO: ==== result ===== [2025-03-20 07:16:37] Production.INFO: { "Id": "aad319c7-7b02-44ab-a257-0963a7fda9a3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469397389)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "4838351e-f571-48cb-844e-d75a20f4b7a8", "InvoiceNumber": "INV11684", "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": "2025-03-12T00:00:00", "Date": "\/Date(1741737600000+0000)\/", "DueDateString": "2025-04-11T00:00:00", "DueDate": "\/Date(1744329600000+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": "41afef34-faa4-4f2c-8a7d-05d05919354b", "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": "a968d1da-2449-412d-a1d6-ad87551b7829", "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": "6a6e0f56-3afd-4431-8b10-6bbabf2a766c", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742469397343+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:16:37] Production.INFO: -- Create Invoice id --4838351e-f571-48cb-844e-d75a20f4b7a8 [2025-03-20 07:16:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:16:37] Production.INFO: CheckInvoice xerov2: INV11678 [2025-03-20 07:16:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11678 [2025-03-20 07:16:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:16:40] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 07:16:40] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 07:16:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29" [2025-03-20 07:16:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:16:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:16:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:16:52] 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-03-20 07:16:56] Production.INFO: ==== result ===== [2025-03-20 07:16:56] Production.INFO: { "Id": "947bb2fd-bcb3-48c1-a435-ec6c2e098a83", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469416087)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "082b98d9-89b7-43ed-9630-299246aa70eb", "InvoiceNumber": "INV11678", "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": "2025-03-11T00:00:00", "Date": "\/Date(1741651200000+0000)\/", "DueDateString": "2025-04-10T00:00:00", "DueDate": "\/Date(1744243200000+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": "624eac9f-5102-4009-88eb-42d6c18884d7", "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": "5d4175b9-4a1f-49ac-af8e-b5244fa18878", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742469416040+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:16:56] Production.INFO: -- Create Invoice id --082b98d9-89b7-43ed-9630-299246aa70eb [2025-03-20 07:16:56] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:16:56] Production.INFO: CheckInvoice xerov2: INV11679 [2025-03-20 07:16:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11679 [2025-03-20 07:16:58] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:16:58] Production.INFO: Invoice SubTotal 9.500000 [2025-03-20 07:16:58] Production.INFO: Invoice DetTotal 9.5 [2025-03-20 07:16:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker" [2025-03-20 07:17:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 11:17:01] Production.INFO: ==25328== Lock acquired, processing the job... [2025-03-20 11:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:17:01] Production.INFO: neon service started [2025-03-20 11:17:01] Production.INFO: neon service started [2025-03-20 11:17:01] Production.INFO: ==25328== Releasing lock... [2025-03-20 11:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:17:02] Production.INFO: ==25330== Lock acquired, processing the job... [2025-03-20 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:17:02] Production.INFO: ==25332== Lock acquired, processing the job... [2025-03-20 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:17:02] Production.INFO: ==25332== Releasing lock... [2025-03-20 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:17:02] Production.INFO: ==25330== Releasing lock... [2025-03-20 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:17:03] Production.INFO: ==25334== Lock acquired, processing the job... [2025-03-20 07:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:17:03] Production.INFO: ==25336== Lock acquired, processing the job... [2025-03-20 07:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:17:03] Production.INFO: ==25345== Lock acquired, processing the job... [2025-03-20 07:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:17:03] Production.INFO: ==25343== Lock acquired, processing the job... [2025-03-20 07:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:17:03] Production.INFO: ==25338== Lock acquired, processing the job... [2025-03-20 07:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:17:03] Production.INFO: ==25341== Lock acquired, processing the job... [2025-03-20 07:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 07:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:17:03] Production.INFO: count ==12 [2025-03-20 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-03-20 07:17:03] Production.INFO: count ==23 [2025-03-20 07:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721252') start [2025-03-20 07:17:03] Production.INFO: Account Balance Start. [2025-03-20 07:17:03] Production.INFO: CreateAllLog Start [2025-03-20 07:17:03] Production.INFO: 117 [2025-03-20 07:17:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:17:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:04] Production.INFO: ==25336== Releasing lock... [2025-03-20 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:17:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721252') end [2025-03-20 07:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:17:04] Production.INFO: 1 [2025-03-20 07:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:17:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:04] Production.INFO: ==25345== Releasing lock... [2025-03-20 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:17:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:04] Production.ERROR: done [2025-03-20 07:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:17:04] Production.INFO: Total Charge 0 [2025-03-20 07:17:04] Production.INFO: CreateAllLog End [2025-03-20 07:17:04] Production.ERROR: done [2025-03-20 07:17:04] Production.INFO: Account Balance End. [2025-03-20 07:17:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:17:04] Production.INFO: ==25341== Releasing lock... [2025-03-20 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:17:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:17:05 [end_date_ymd] => 2025-03-20 07:17:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:17:05' and `end` < '2025-03-20 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-03-20 07:17:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:17:11] Production.ERROR: CronJobId end10 [2025-03-20 07:17:11] Production.INFO: ==25338== Releasing lock... [2025-03-20 07:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:17:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:17:11] 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-03-20 07:17:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:17:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:17:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:17:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:17:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:17:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:17:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:17:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:17:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:17:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:17:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:17:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:17:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:17:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:17:14] Production.INFO: call_cost start [2025-03-20 07:17:14] Production.INFO: call_cost end [2025-03-20 07:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:17:15] Production.INFO: ==25334== Releasing lock... [2025-03-20 07:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:17:15] Production.INFO: ==== result ===== [2025-03-20 07:17:15] Production.INFO: { "Id": "82d44ac1-c291-4b76-9b31-a62e968adde3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469435063)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "34893296-6260-4f34-840e-df92d6e72974", "InvoiceNumber": "INV11679", "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": "2025-03-11T00:00:00", "Date": "\/Date(1741651200000+0000)\/", "DueDateString": "2025-04-10T00:00:00", "DueDate": "\/Date(1744243200000+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": "53de3047-b261-4e56-b6e9-25609fed0188", "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": "ffafdfcd-2e44-4190-b753-3df67e7fdf59", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 9.50, "TotalTax": 1.24, "Total": 10.74, "UpdatedDateUTC": "\/Date(1742469435017+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:17:15] Production.INFO: -- Create Invoice id --34893296-6260-4f34-840e-df92d6e72974 [2025-03-20 07:17:15] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:17:15] Production.INFO: CheckInvoice xerov2: INV11680 [2025-03-20 07:17:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11680 [2025-03-20 07:17:17] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:17:17] Production.INFO: Invoice SubTotal 65.000000 [2025-03-20 07:17:17] Production.INFO: Invoice DetTotal 65 [2025-03-20 07:17:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29" [2025-03-20 07:17:18] Production.INFO: count ==75 [2025-03-20 07:17:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:17:05 - End Time 2025-03-20 07:17:05 [2025-03-20 07:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721254', 'tblTempUsageDetail_20' ) start [2025-03-20 07:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721254', 'tblTempUsageDetail_20' ) end [2025-03-20 07:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721254', 'tblTempVendorCDR_20' ) start [2025-03-20 07:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721254', 'tblTempVendorCDR_20' ) end [2025-03-20 07:17:18] Production.INFO: ProcessCDR(1,14721254,1,1,2) [2025-03-20 07:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:17:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721254', 'tblTempUsageDetail_20' ) start [2025-03-20 07:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721254', 'tblTempUsageDetail_20' ) end [2025-03-20 07:17:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:17:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:17:21] Production.INFO: ==25343== Releasing lock... [2025-03-20 07:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:17:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 07:17:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:17:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:17:29] 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-03-20 07:17:32] Production.INFO: ==== result ===== [2025-03-20 07:17:32] Production.INFO: { "Id": "d3fc1455-988a-435a-9002-e17577ebdcf1", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469452735)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "044a083f-5a90-4449-ad4c-f57df6ffb4a5", "InvoiceNumber": "INV11680", "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": "2025-03-11T00:00:00", "Date": "\/Date(1741651200000+0000)\/", "DueDateString": "2025-04-10T00:00:00", "DueDate": "\/Date(1744243200000+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": "72ef1755-96bf-4c43-a384-d9c5d128929c", "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": "a27b2404-2067-4f5b-a11b-51b8a71aaf2a", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 65.00, "TotalTax": 8.45, "Total": 73.45, "UpdatedDateUTC": "\/Date(1742469452690+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:17:32] Production.INFO: -- Create Invoice id --044a083f-5a90-4449-ad4c-f57df6ffb4a5 [2025-03-20 07:17:32] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:17:32] Production.INFO: CheckInvoice xerov2: INV11681 [2025-03-20 07:17:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11681 [2025-03-20 07:17:35] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:17:35] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 07:17:35] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 07:17:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29" [2025-03-20 07:17:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:17:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:17:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:17: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 (14162515251 - 3345 LAKESHORE BLVD W ETOBICOKE, ON M8W1N1 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:17:51] Production.INFO: ==== result ===== [2025-03-20 07:17:51] Production.INFO: { "Id": "b7eeacbe-b097-4420-aece-aec4c40ddd93", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469471268)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "26e79fa9-6997-4c3c-a4f9-2c1bd294c6ee", "InvoiceNumber": "INV11681", "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": "2025-03-11T00:00:00", "Date": "\/Date(1741651200000+0000)\/", "DueDateString": "2025-04-10T00:00:00", "DueDate": "\/Date(1744243200000+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": "55d769da-55fa-4117-a218-5e8273330c32", "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": "0431c232-2848-4dc2-adc5-0e3d0428ba82", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742469471173+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:17:51] Production.INFO: -- Create Invoice id --26e79fa9-6997-4c3c-a4f9-2c1bd294c6ee [2025-03-20 07:17:51] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:17:51] Production.INFO: CheckInvoice xerov2: INV11683 [2025-03-20 07:17:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11683 [2025-03-20 07:17:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:17:54] Production.INFO: Invoice SubTotal 78.490000 [2025-03-20 07:17:54] Production.INFO: Invoice DetTotal 78.49 [2025-03-20 07:17:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29" [2025-03-20 07:17:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:18:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 11:18:02] Production.INFO: ==25417== Lock acquired, processing the job... [2025-03-20 11:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:18:02] Production.INFO: neon service started [2025-03-20 11:18:02] Production.INFO: neon service started [2025-03-20 11:18:02] Production.INFO: ==25417== Releasing lock... [2025-03-20 11:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 11:18:02] Production.INFO: ==25421== Lock acquired, processing the job... [2025-03-20 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:18:02] Production.INFO: ==25421== Releasing lock... [2025-03-20 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:18:02] Production.INFO: ==25419== Lock acquired, processing the job... [2025-03-20 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:18:03] Production.INFO: ==25419== Releasing lock... [2025-03-20 07:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:18:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:18:04] Production.INFO: ==25425== Lock acquired, processing the job... [2025-03-20 07:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:18:04] Production.INFO: ==25431== Lock acquired, processing the job... [2025-03-20 07:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:18:04] Production.INFO: Account Balance Start. [2025-03-20 07:18:04] Production.INFO: CreateAllLog Start [2025-03-20 07:18:04] Production.INFO: 117 [2025-03-20 07:18:04] Production.INFO: ==25429== Lock acquired, processing the job... [2025-03-20 07:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:18:04] Production.INFO: ==25427== Lock acquired, processing the job... [2025-03-20 07:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.INFO: ==25433== Lock acquired, processing the job... [2025-03-20 07:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.INFO: ==25435== Lock acquired, processing the job... [2025-03-20 07:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.INFO: ==25427== Releasing lock... [2025-03-20 07:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:18:04] Production.INFO: Total Charge 0 [2025-03-20 07:18:04] Production.INFO: count ==12 [2025-03-20 07:18:04] Production.INFO: CreateAllLog End [2025-03-20 07:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:18:05] Production.INFO: count ==23 [2025-03-20 07:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721258') start [2025-03-20 07:18:05] Production.ERROR: done [2025-03-20 07:18:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:18:05] Production.INFO: Account Balance End. [2025-03-20 07:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721258') end [2025-03-20 07:18:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:18:05] Production.INFO: 1 [2025-03-20 07:18:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:18:05] Production.INFO: ==25431== Releasing lock... [2025-03-20 07:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:18:05] Production.ERROR: done [2025-03-20 07:18:05] Production.INFO: ==25435== Releasing lock... [2025-03-20 07:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:18:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:18:06 [end_date_ymd] => 2025-03-20 07:18:06 [RateCDR] => 1 ) [2025-03-20 07:18:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:18:06' and `end` < '2025-03-20 07:18:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:18:06] 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} [2025-03-20 07:18:09] Production.INFO: ==== result ===== [2025-03-20 07:18:09] Production.INFO: { "Id": "e6bbc78e-e970-41a0-8ef1-7f079e500743", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469489209)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "929756bd-0605-4052-9bba-dcfae80e6bea", "InvoiceNumber": "INV11683", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 88.70, "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": "2025-03-11T00:00:00", "Date": "\/Date(1741651200000+0000)\/", "DueDateString": "2025-04-10T00:00:00", "DueDate": "\/Date(1744243200000+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": "e33d9675-1635-4df5-a58b-01794edb6897", "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": "ee0430ef-db5e-48bc-81a8-f611905fa5c0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 78.49, "TotalTax": 10.21, "Total": 88.70, "UpdatedDateUTC": "\/Date(1742469489163+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:18:09] Production.INFO: -- Create Invoice id --929756bd-0605-4052-9bba-dcfae80e6bea [2025-03-20 07:18:09] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:18:09] Production.INFO: CheckInvoice xerov2: INV11672 [2025-03-20 07:18:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11672 [2025-03-20 07:18:12] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:18:12] Production.INFO: Invoice SubTotal 38.870000 [2025-03-20 07:18:12] Production.INFO: Invoice DetTotal 38.87 [2025-03-20 07:18:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI" [2025-03-20 07:18:13] Production.ERROR: CronJobId end10 [2025-03-20 07:18:13] Production.INFO: ==25429== Releasing lock... [2025-03-20 07:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:18:15] Production.INFO: call_cost start [2025-03-20 07:18:15] Production.INFO: call_cost end [2025-03-20 07:18:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:18:16] Production.INFO: ==25425== Releasing lock... [2025-03-20 07:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:18:18] Production.INFO: count ==75 [2025-03-20 07:18:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:18:06 - End Time 2025-03-20 07:18:06 [2025-03-20 07:18:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721259', 'tblTempUsageDetail_20' ) start [2025-03-20 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721259', 'tblTempUsageDetail_20' ) end [2025-03-20 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721259', 'tblTempVendorCDR_20' ) start [2025-03-20 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721259', 'tblTempVendorCDR_20' ) end [2025-03-20 07:18:18] Production.INFO: ProcessCDR(1,14721259,1,1,2) [2025-03-20 07:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:18:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721259', 'tblTempUsageDetail_20' ) start [2025-03-20 07:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721259', 'tblTempUsageDetail_20' ) end [2025-03-20 07:18:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:18:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:18:21] Production.INFO: ==25433== Releasing lock... [2025-03-20 07:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:18:21] Production.INFO: 28.5 MB #Memory Used# [2025-03-20 07:18:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:18:24] 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-03-20 07:18:27] Production.INFO: ==== result ===== [2025-03-20 07:18:27] Production.INFO: { "Id": "75d132c7-35b6-4ff5-b474-c1260135da15", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469507859)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f096c0ac-9d61-4a93-a6fb-2c5ae23cfd5a", "InvoiceNumber": "INV11672", "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": "2025-03-10T00:00:00", "Date": "\/Date(1741564800000+0000)\/", "DueDateString": "2025-04-09T00:00:00", "DueDate": "\/Date(1744156800000+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": "bd753421-1d21-4c1e-8d95-ae21fb576eba", "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": "a2ee724b-4b49-49df-a1d6-ec23768d412b", "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": "9ce431a7-a4f4-4d17-a641-509d03766672", "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": "2c345006-e169-49ff-b2d2-9dd06767b63e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 38.87, "TotalTax": 5.05, "Total": 43.92, "UpdatedDateUTC": "\/Date(1742469507813+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:18:27] Production.INFO: -- Create Invoice id --f096c0ac-9d61-4a93-a6fb-2c5ae23cfd5a [2025-03-20 07:18:27] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:18:27] Production.INFO: CheckInvoice xerov2: INV11673 [2025-03-20 07:18:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11673 [2025-03-20 07:18:30] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:18:30] Production.INFO: Invoice SubTotal 14.500000 [2025-03-20 07:18:30] Production.INFO: Invoice DetTotal 14.5 [2025-03-20 07:18:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner" [2025-03-20 07:18:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:18:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:18:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:18:42] 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 (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-03-20 07:18:45] Production.INFO: ==== result ===== [2025-03-20 07:18:45] Production.INFO: { "Id": "822b2d70-4041-45d8-9509-ca3c31f9891e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469525836)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "050f9b35-8241-46de-be21-727d6aafefd7", "InvoiceNumber": "INV11673", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 16.39, "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": "2025-03-10T00:00:00", "Date": "\/Date(1741564800000+0000)\/", "DueDateString": "2025-04-09T00:00:00", "DueDate": "\/Date(1744156800000+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": "be03e133-267b-4830-8d44-f51de43ea926", "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": "d4cc3e96-8278-4c40-bbdd-3625001b7722", "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": "5dfa99da-0221-4d52-b9b5-9709e0e33acd", "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": "504588b9-f29f-439e-bf8f-7b88abb70f3f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 14.50, "TotalTax": 1.89, "Total": 16.39, "UpdatedDateUTC": "\/Date(1742469525650+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:18:45] Production.INFO: -- Create Invoice id --050f9b35-8241-46de-be21-727d6aafefd7 [2025-03-20 07:18:45] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:18:45] Production.INFO: CheckInvoice xerov2: INV11675 [2025-03-20 07:18:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11675 [2025-03-20 07:18:48] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:18:48] Production.INFO: Invoice SubTotal 11.230000 [2025-03-20 07:18:48] Production.INFO: Invoice DetTotal 11.23 [2025-03-20 07:18:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery" [2025-03-20 07:18:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:18:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:18:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:19:01] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-10-2025 To 03-09-2025",Quantity : 1,UnitAmount : 1.730000,LineAmount : 1.730000},{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-03-20 11:19:01] Production.INFO: ==25514== Lock acquired, processing the job... [2025-03-20 11:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:19:01] Production.INFO: neon service started [2025-03-20 11:19:01] Production.INFO: neon service started [2025-03-20 11:19:01] Production.INFO: ==25514== Releasing lock... [2025-03-20 11:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:19:02] Production.INFO: ==25516== Lock acquired, processing the job... [2025-03-20 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:19:02] Production.INFO: ==25518== Lock acquired, processing the job... [2025-03-20 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:19:02] Production.INFO: ==25518== Releasing lock... [2025-03-20 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:19:02] Production.INFO: ==25516== Releasing lock... [2025-03-20 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:19:03] Production.INFO: ==25523== Lock acquired, processing the job... [2025-03-20 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:19:03] Production.INFO: ==25529== Lock acquired, processing the job... [2025-03-20 07:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:19:03] Production.INFO: ==25527== Lock acquired, processing the job... [2025-03-20 07:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:19:03] Production.INFO: ==25521== Lock acquired, processing the job... [2025-03-20 07:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:19:03] Production.INFO: ==25525== Lock acquired, processing the job... [2025-03-20 07:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:19:03] Production.INFO: ==25531== Lock acquired, processing the job... [2025-03-20 07:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:19:03] Production.INFO: ==25523== Releasing lock... [2025-03-20 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:19:03] Production.INFO: Account Balance Start. [2025-03-20 07:19:03] Production.INFO: CreateAllLog Start [2025-03-20 07:19:03] Production.INFO: 117 [2025-03-20 07:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:03] Production.ERROR: done [2025-03-20 07:19:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:19:04] Production.INFO: count ==12 [2025-03-20 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-03-20 07:19:04] Production.INFO: count ==23 [2025-03-20 07:19:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721263') start [2025-03-20 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:04] Production.ERROR: done [2025-03-20 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721263') end [2025-03-20 07:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:19:04] Production.INFO: 1 [2025-03-20 07:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:19:04] Production.INFO: ==25531== Releasing lock... [2025-03-20 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:19:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:04] Production.INFO: ==== result ===== [2025-03-20 07:19:04] Production.INFO: { "Id": "0a504676-78dd-4e8b-9d73-abcc523ccc7c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469544638)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "72d0da24-8f2a-420d-9005-f4b7578527ba", "InvoiceNumber": "INV11675", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 12.69, "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": "2025-03-10T00:00:00", "Date": "\/Date(1741564800000+0000)\/", "DueDateString": "2025-04-09T00:00:00", "DueDate": "\/Date(1744156800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-10-2025 To 03-09-2025", "UnitAmount": 1.73, "TaxType": "TAX020", "TaxAmount": 0.22, "LineAmount": 1.73, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2842127e-ef22-413c-82f3-e5be32514e3b", "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": "b52d8c8c-a0ba-4bce-b16e-7e7a0f09e41f", "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": "b4257995-e31f-4082-8844-d29853ccbb70", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 11.23, "TotalTax": 1.46, "Total": 12.69, "UpdatedDateUTC": "\/Date(1742469544573+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:19:04] Production.INFO: -- Create Invoice id --72d0da24-8f2a-420d-9005-f4b7578527ba [2025-03-20 07:19:04] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:19:04] Production.INFO: Total Charge 0 [2025-03-20 07:19:04] Production.INFO: CheckInvoice xerov2: INV11676 [2025-03-20 07:19:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11676 [2025-03-20 07:19:04] Production.INFO: CreateAllLog End [2025-03-20 07:19:04] Production.INFO: Account Balance End. [2025-03-20 07:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:19:04] Production.INFO: ==25527== Releasing lock... [2025-03-20 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:19:05 [end_date_ymd] => 2025-03-20 07:19:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:19:05' and `end` < '2025-03-20 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-03-20 07:19:08] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:19:08] Production.INFO: Invoice SubTotal 249.220000 [2025-03-20 07:19:08] Production.INFO: Invoice DetTotal 249.22 [2025-03-20 07:19:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29" [2025-03-20 07:19:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:19:10] Production.ERROR: CronJobId end10 [2025-03-20 07:19:10] Production.INFO: ==25525== Releasing lock... [2025-03-20 07:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:19:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:19:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:19:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:19:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:19:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:19:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:19:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:19:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:19:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:19:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:19:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:19:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:19:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:19:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:19:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:19:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:19:14] Production.INFO: call_cost start [2025-03-20 07:19:14] Production.INFO: call_cost end [2025-03-20 07:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:19:15] Production.INFO: ==25521== Releasing lock... [2025-03-20 07:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:19:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:19:17] Production.INFO: count ==80 [2025-03-20 07:19:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:19:05 - End Time 2025-03-20 07:19:05 [2025-03-20 07:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721264', 'tblTempUsageDetail_20' ) start [2025-03-20 07:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721264', 'tblTempUsageDetail_20' ) end [2025-03-20 07:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721264', 'tblTempVendorCDR_20' ) start [2025-03-20 07:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721264', 'tblTempVendorCDR_20' ) end [2025-03-20 07:19:17] Production.INFO: ProcessCDR(1,14721264,1,1,2) [2025-03-20 07:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:19:19] 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-03-20 07:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721264', 'tblTempUsageDetail_20' ) start [2025-03-20 07:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721264', 'tblTempUsageDetail_20' ) end [2025-03-20 07:19:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:19:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:19:20] Production.INFO: ==25529== Releasing lock... [2025-03-20 07:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:19:20] Production.INFO: 29 MB #Memory Used# [2025-03-20 07:19:22] Production.INFO: ==== result ===== [2025-03-20 07:19:22] Production.INFO: { "Id": "a114f035-d274-4b82-bfbe-1530bcafa3c1", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469562175)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d417da6b-9c1d-4d0b-b6ba-1449dfda71e4", "InvoiceNumber": "INV11676", "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": "2025-03-10T00:00:00", "Date": "\/Date(1741564800000+0000)\/", "DueDateString": "2025-04-09T00:00:00", "DueDate": "\/Date(1744156800000+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": "42de5771-d1df-4323-8139-6895461d9a54", "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": "78030cc6-1e71-4f43-9e52-a46348950a57", "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": "3fa746f0-b67e-45dd-8b1d-b04d6981ae82", "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": "03df3b36-8068-4c4f-9ef3-601bae75ea42", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 249.22, "TotalTax": 32.40, "Total": 281.62, "UpdatedDateUTC": "\/Date(1742469562080+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:19:22] Production.INFO: -- Create Invoice id --d417da6b-9c1d-4d0b-b6ba-1449dfda71e4 [2025-03-20 07:19:22] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:19:22] Production.INFO: CheckInvoice xerov2: INV11670 [2025-03-20 07:19:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11670 [2025-03-20 07:19:25] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:19:25] Production.INFO: Invoice SubTotal 23.620000 [2025-03-20 07:19:25] Production.INFO: Invoice DetTotal 23.62 [2025-03-20 07:19:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc." [2025-03-20 07:19:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:19:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:19:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:19:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-09-2025 To 03-08-2025",Quantity : 1,UnitAmount : 0.120000,LineAmount : 0.120000},{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-03-20 07:19:40] Production.INFO: ==== result ===== [2025-03-20 07:19:40] Production.INFO: { "Id": "1c67eb49-3148-48e2-b96e-e8973c0c4f4a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469580221)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "22363451-4b61-4fd1-9486-dec53e434220", "InvoiceNumber": "INV11670", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 26.70, "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": "2025-03-09T00:00:00", "Date": "\/Date(1741478400000+0000)\/", "DueDateString": "2025-04-08T00:00:00", "DueDate": "\/Date(1744070400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-09-2025 To 03-08-2025", "UnitAmount": 0.12, "TaxType": "TAX020", "TaxAmount": 0.02, "LineAmount": 0.12, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d6ff13a6-72aa-4126-b7d1-056cb1766b74", "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": "1c780c66-d748-46f8-bd61-7dc5c7c8d6b8", "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": "6dd36971-f79a-462b-9dc9-21d9e9e865d3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 23.62, "TotalTax": 3.08, "Total": 26.70, "UpdatedDateUTC": "\/Date(1742469580160+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:19:40] Production.INFO: -- Create Invoice id --22363451-4b61-4fd1-9486-dec53e434220 [2025-03-20 07:19:40] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:19:40] Production.INFO: CheckInvoice xerov2: INV11569 [2025-03-20 07:19:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11569 [2025-03-20 07:19:42] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:19:42] Production.INFO: Invoice SubTotal 25.980000 [2025-03-20 07:19:42] Production.INFO: Invoice DetTotal 25.98 [2025-03-20 07:19:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 07:19:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:19:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:19:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:19:55] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE - Telephone User 03-08-2025 to 04-07-2025",Quantity : 2,UnitAmount : 12.990000,LineAmount : 25.980000} [2025-03-20 07:19:58] Production.INFO: ==== result ===== [2025-03-20 07:19:58] Production.INFO: { "Id": "1ee876c2-c1fc-4ac9-810c-1f062f6a98af", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469597957)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "15533d0b-e439-4472-b97e-659a06586d95", "InvoiceNumber": "INV11569", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 29.36, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5304e7ac-dae0-4da0-8e3e-3bf1912a47f6", "ContactStatus": "ACTIVE", "Name": "Bennison Smith Law", "FirstName": "Bennison", "LastName": "Smith", "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(1742468929230+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "CloudPhone.ONE - Telephone User 03-08-2025 to 04-07-2025", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 3.38, "LineAmount": 25.98, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "6177b871-200f-46d0-8a67-e20dcd57eeea", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 25.98, "TotalTax": 3.38, "Total": 29.36, "UpdatedDateUTC": "\/Date(1742469597910+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:19:58] Production.INFO: -- Create Invoice id --15533d0b-e439-4472-b97e-659a06586d95 [2025-03-20 07:19:58] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:19:58] Production.INFO: CheckInvoice xerov2: INV50023 [2025-03-20 07:19:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50023 [2025-03-20 07:20:01] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:20:01] Production.INFO: Invoice SubTotal 2295.710000 [2025-03-20 07:20:01] Production.INFO: Invoice DetTotal 2295.71 [2025-03-20 07:20:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 11:20:02] Production.INFO: ==25606== Lock acquired, processing the job... [2025-03-20 11:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:20:02] Production.INFO: neon service started [2025-03-20 11:20:02] Production.INFO: neon service started [2025-03-20 11:20:02] Production.INFO: ==25606== Releasing lock... [2025-03-20 11:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:20:02] Production.INFO: ==25610== Lock acquired, processing the job... [2025-03-20 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:20:02] Production.INFO: ==25610== Releasing lock... [2025-03-20 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:20:02] Production.INFO: ==25608== Lock acquired, processing the job... [2025-03-20 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:20:03] Production.INFO: ==25608== Releasing lock... [2025-03-20 07:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:20:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:20:04] Production.INFO: ==25612== Lock acquired, processing the job... [2025-03-20 07:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 07:20:04] Production.INFO: ==25614== Lock acquired, processing the job... [2025-03-20 07:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 07:20:04] Production.INFO: ==25616== Lock acquired, processing the job... [2025-03-20 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:20:04] Production.INFO: ==25621== Lock acquired, processing the job... [2025-03-20 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 07:20:04] Production.INFO: ==25612== Releasing lock... [2025-03-20 07:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 07:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 07:20:04] Production.INFO: ==25619== Lock acquired, processing the job... [2025-03-20 07:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:20:04] Production.INFO: ==25623== Lock acquired, processing the job... [2025-03-20 07:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:20:04] Production.INFO: Account Balance Start. [2025-03-20 07:20:04] Production.INFO: CreateAllLog Start [2025-03-20 07:20:04] Production.INFO: 117 [2025-03-20 07:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:04] Production.INFO: ==25626== Lock acquired, processing the job... [2025-03-20 07:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 07:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:04] Production.INFO: ==25628== Lock acquired, processing the job... [2025-03-20 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:20:04] Production.INFO: ==25616== Releasing lock... [2025-03-20 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:20:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:04] Production.INFO: count ==12 [2025-03-20 07:20:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:20:04] Production.INFO: count ==23 [2025-03-20 07:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721268') start [2025-03-20 07:20:05] Production.ERROR: done [2025-03-20 07:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:20:05] Production.INFO: Date 2025-03-16 [2025-03-20 07:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 07:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 07:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:20:05] Production.INFO: Total Charge 0 [2025-03-20 07:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721268') end [2025-03-20 07:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:20:05] Production.INFO: 1 [2025-03-20 07:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:20:05] Production.INFO: CreateAllLog End [2025-03-20 07:20:05] Production.INFO: ==25628== Releasing lock... [2025-03-20 07:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:20:05] Production.ERROR: done [2025-03-20 07:20:05] Production.ERROR: done [2025-03-20 07:20:05] Production.INFO: Account Balance End. [2025-03-20 07:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 07:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721269', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 07:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:20:05] Production.INFO: ==25621== Releasing lock... [2025-03-20 07:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:20:06 [end_date_ymd] => 2025-03-20 07:20:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:20:06' and `end` < '2025-03-20 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-03-20 07:20:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721269', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 07:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 07:20:09] Production.INFO: ProcessCDR(1,14721269,1,1,2) [2025-03-20 07:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721269,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721269,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:20:09] Production.INFO: ==25626== Releasing lock... [2025-03-20 07:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 07:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 07:20:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:20:12] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 08-02-2025 To 07-03-2025",Quantity : 1,UnitAmount : 0.090000,LineAmount : 0.090000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Unlimited Can/US Extension",Quantity : 25,UnitAmount : 6.500000,LineAmount : 162.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18779739378)",Quantity : 1,UnitAmount : 3.500000,LineAmount : 3.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18775737303)",Quantity : 1,UnitAmount : 3.500000,LineAmount : 3.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (18002547598)",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (18665957130)",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12898030100)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14162812044)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14162815300)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14165994888)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19052787239)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19056290329)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Hosting SERVER: Windows Server 2016 Standard",Quantity : 1,UnitAmount : 198.720000,LineAmount : 198.720000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Hosting STORAGE: 500GB data storage disk",Quantity : 1,UnitAmount : 34.560000,LineAmount : 34.560000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Backup: Cloud replication (charged per gigabyte)",Quantity : 150,UnitAmount : 0.300000,LineAmount : 45.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Backup: Site License for each site being backed up (for servers)",Quantity : 1,UnitAmount : 60.000000,LineAmount : 60.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Support for approximately 14 employee home routers",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Management of server",Quantity : 1,UnitAmount : 25.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation",Quantity : 18,UnitAmount : 52.000000,LineAmount : 936.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Management for Part-Time Workstation - Basic monitoring and anti-virus",Quantity : 7,UnitAmount : 10.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 15,UnitAmount : 8.100000,LineAmount : 121.500000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 24,UnitAmount : 17.000000,LineAmount : 408.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Plan 1 - Email only",Quantity : 6,UnitAmount : 5.390000,LineAmount : 32.340000} [2025-03-20 07:20:13] Production.ERROR: CronJobId end10 [2025-03-20 07:20:13] Production.INFO: ==25619== Releasing lock... [2025-03-20 07:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:20:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:20:16] Production.INFO: ==== result ===== [2025-03-20 07:20:16] Production.INFO: { "Id": "377273b0-1bb2-481f-b0e9-d7c62c81ae0f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469616588)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "40c594e2-d478-47c3-9ca0-429d6d798a1a", "InvoiceNumber": "INV50023", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 2594.19, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47", "ContactNumber": "Plus Travel Group", "ContactStatus": "ACTIVE", "Name": "Plus Travel Group", "FirstName": "", "LastName": "", "EmailAddress": "luiza.rocha-baker@donaldsontravel.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "73 Water Street North", "AddressLine2": "Unit 300", "AddressLine3": "", "AddressLine4": "", "City": "Cambridge", "Region": "ON", "PostalCode": "N1R 7L6", "Country": "CANADA", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "9056290329", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "9056290329", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936260903+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 08-02-2025 To 07-03-2025", "UnitAmount": 0.09, "TaxType": "TAX020", "TaxAmount": 0.01, "LineAmount": 0.09, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d1a3356d-022e-40c2-a3d3-ec77437f063d", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Unlimited Can/US Extension", "UnitAmount": 6.50, "TaxType": "TAX020", "TaxAmount": 21.13, "LineAmount": 162.50, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "LineItemID": "a6cf19c0-bf7f-455a-807a-bf51b04edaf3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18779739378)", "UnitAmount": 3.50, "TaxType": "TAX020", "TaxAmount": 0.46, "LineAmount": 3.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ba2c3bd4-8c7b-4fd4-9918-d18e16be63fb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18775737303)", "UnitAmount": 3.50, "TaxType": "TAX020", "TaxAmount": 0.46, "LineAmount": 3.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "fdfd9a2f-66c4-47db-9197-37a214fedacc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (18002547598)", "UnitAmount": 55.00, "TaxType": "TAX020", "TaxAmount": 7.15, "LineAmount": 55.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "41ceb805-66e2-40d5-b6c6-81af78a18dda", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (18665957130)", "UnitAmount": 55.00, "TaxType": "TAX020", "TaxAmount": 7.15, "LineAmount": 55.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "308d4f9e-272f-438b-9971-461eadf55118", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (12898030100)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "85e0ad05-3672-4b6e-b376-1b260fd1ca98", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14162812044)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0ff529a9-6ed4-49e8-9dd9-c303aa89f2f7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14162815300)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "12092cfc-08dd-4d2d-931e-2f70898fc519", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14165994888)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5a130135-b28c-4707-8eb1-b0526a8536ed", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19052787239)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "afe141d1-2c18-4c93-9fe6-904b7d1611e0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19056290329)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0156b3ea-2954-420c-b83d-8bbba5a1faf7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Managed Hosting SERVER: Windows Server 2016 Standard", "UnitAmount": 198.72, "TaxType": "TAX020", "TaxAmount": 25.83, "LineAmount": 198.72, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "29734ff2-cfaf-4e3a-ae77-b157937b8f43", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Hosting STORAGE: 500GB data storage disk", "UnitAmount": 34.56, "TaxType": "TAX020", "TaxAmount": 4.49, "LineAmount": 34.56, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "567840c7-c29e-48c9-ab3e-0caec45c221f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Backup: Cloud replication (charged per gigabyte)", "UnitAmount": 0.30, "TaxType": "TAX020", "TaxAmount": 5.85, "LineAmount": 45.00, "AccountCode": "203", "Tracking": [], "Quantity": 150.0000, "LineItemID": "7ba6938f-b001-41a0-a2f7-a2528b0f8740", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Backup: Site License for each site being backed up (for servers)", "UnitAmount": 60.00, "TaxType": "TAX020", "TaxAmount": 7.80, "LineAmount": 60.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "aa2145ad-bd8b-4570-822d-d37bd29efbc9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Support for approximately 14 employee home routers", "UnitAmount": 70.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b972604d-d2ee-4a31-9bed-7617dd82d184", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Management of server", "UnitAmount": 25.00, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "06c52e54-88df-4f13-a10c-e7c321d00136", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed IT: Workstation", "UnitAmount": 52.00, "TaxType": "TAX020", "TaxAmount": 121.68, "LineAmount": 936.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "LineItemID": "b932aabc-e2e5-4b0e-ad41-d7763fc2ec76", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Management for Part-Time Workstation - Basic monitoring and anti-virus", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "LineItemID": "d36c8a04-81b6-469e-922c-84dc8c58085a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic collaboration and productivity suite", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 15.80, "LineAmount": 121.50, "AccountCode": "250", "Tracking": [], "Quantity": 15.0000, "LineItemID": "d9290b1c-5473-4eca-8e75-2f73d9d9b52f", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard collaboration and productivity suite", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 53.04, "LineAmount": 408.00, "AccountCode": "250", "Tracking": [], "Quantity": 24.0000, "LineItemID": "f501e5aa-bb68-449b-b128-1b4800e6bc00", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Plan 1 - Email only", "UnitAmount": 5.39, "TaxType": "TAX020", "TaxAmount": 4.20, "LineAmount": 32.34, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "LineItemID": "c164cd75-dd67-4b78-bb6f-4d934c18a955", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 2295.71, "TotalTax": 298.48, "Total": 2594.19, "UpdatedDateUTC": "\/Date(1742469616493+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:20:16] Production.INFO: -- Create Invoice id --40c594e2-d478-47c3-9ca0-429d6d798a1a [2025-03-20 07:20:16] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:20:16] Production.INFO: CheckInvoice xerov2: INV11660 [2025-03-20 07:20:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11660 [2025-03-20 07:20:17] Production.INFO: call_cost start [2025-03-20 07:20:17] Production.INFO: call_cost end [2025-03-20 07:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:20:17] Production.INFO: ==25614== Releasing lock... [2025-03-20 07:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:20:18] Production.INFO: count ==88 [2025-03-20 07:20:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:20:06 - End Time 2025-03-20 07:20:06 [2025-03-20 07:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721270', 'tblTempUsageDetail_20' ) start [2025-03-20 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721270', 'tblTempUsageDetail_20' ) end [2025-03-20 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721270', 'tblTempVendorCDR_20' ) start [2025-03-20 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721270', 'tblTempVendorCDR_20' ) end [2025-03-20 07:20:18] Production.INFO: ProcessCDR(1,14721270,1,1,2) [2025-03-20 07:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:20:19] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:20:19] Production.INFO: Invoice SubTotal 50.000000 [2025-03-20 07:20:19] Production.INFO: Invoice DetTotal 50 [2025-03-20 07:20:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039052%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721270,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721270,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721270', 'tblTempUsageDetail_20' ) start [2025-03-20 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721270', 'tblTempUsageDetail_20' ) end [2025-03-20 07:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:20:22] Production.INFO: ==25623== Releasing lock... [2025-03-20 07:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:20:22] Production.INFO: 29 MB #Memory Used# [2025-03-20 07:20:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:20:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:20:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:20:31] 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-03-20 07:20:35] Production.INFO: ==== result ===== [2025-03-20 07:20:35] Production.INFO: { "Id": "d975ca0b-6095-4be9-94dc-51c2b80f4d38", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469635462)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "bb488119-014f-498d-ae63-6e5087c53d86", "InvoiceNumber": "INV11660", "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": "2025-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+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": "32033181-ba0c-4a02-b49f-922fcf120375", "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": "18a38187-1803-4cb2-9bf9-1b0251d4a67c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 50.00, "TotalTax": 6.50, "Total": 56.50, "UpdatedDateUTC": "\/Date(1742469635400+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:20:35] Production.INFO: -- Create Invoice id --bb488119-014f-498d-ae63-6e5087c53d86 [2025-03-20 07:20:35] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:20:35] Production.INFO: CheckInvoice xerov2: INV11663 [2025-03-20 07:20:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11663 [2025-03-20 07:20:38] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:20:38] Production.INFO: Invoice SubTotal 7.500000 [2025-03-20 07:20:38] Production.INFO: Invoice DetTotal 7.5 [2025-03-20 07:20:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29" [2025-03-20 07:20:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:20:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:20:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:20:49] 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-03-20 07:20:53] Production.INFO: ==== result ===== [2025-03-20 07:20:53] Production.INFO: { "Id": "3b8129aa-1825-4820-9b8a-76aaf6098648", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469653088)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "989be381-0384-40bd-9474-38dbf978649a", "InvoiceNumber": "INV11663", "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": "2025-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+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": "b779991e-6af5-4a70-9e4e-c7daba98561f", "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": "cdb4d2ef-35a9-4400-b31f-6fc89a8b18e6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 7.50, "TotalTax": 0.38, "Total": 7.88, "UpdatedDateUTC": "\/Date(1742469653010+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:20:53] Production.INFO: -- Create Invoice id --989be381-0384-40bd-9474-38dbf978649a [2025-03-20 07:20:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:20:53] Production.INFO: CheckInvoice xerov2: INV11667 [2025-03-20 07:20:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11667 [2025-03-20 07:20:55] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:20:55] Production.INFO: Invoice SubTotal 7.500000 [2025-03-20 07:20:55] Production.INFO: Invoice DetTotal 7.5 [2025-03-20 07:20:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-03-20 07:20:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 11:21:01] Production.INFO: ==25700== Lock acquired, processing the job... [2025-03-20 11:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:21:01] Production.INFO: neon service started [2025-03-20 11:21:01] Production.INFO: neon service started [2025-03-20 11:21:01] Production.INFO: ==25700== Releasing lock... [2025-03-20 11:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:21:02] Production.INFO: ==25704== Lock acquired, processing the job... [2025-03-20 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:21:02] Production.INFO: ==25704== Releasing lock... [2025-03-20 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:21:02] Production.INFO: ==25702== Lock acquired, processing the job... [2025-03-20 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:21:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:21:02] Production.INFO: ==25702== Releasing lock... [2025-03-20 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:21:03] Production.INFO: ==25709== Lock acquired, processing the job... [2025-03-20 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:21:03] Production.INFO: ==25707== Lock acquired, processing the job... [2025-03-20 07:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:21:03] Production.INFO: ==25717== Lock acquired, processing the job... [2025-03-20 07:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:21:03] Production.INFO: ==25711== Lock acquired, processing the job... [2025-03-20 07:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:21:03] Production.INFO: ==25713== Lock acquired, processing the job... [2025-03-20 07:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:21:03] Production.INFO: ==25715== Lock acquired, processing the job... [2025-03-20 07:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 07:21:03] Production.INFO: ==25709== Releasing lock... [2025-03-20 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:21:03] Production.INFO: Account Balance Start. [2025-03-20 07:21:03] Production.INFO: CreateAllLog Start [2025-03-20 07:21:03] Production.INFO: 117 [2025-03-20 07:21:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:21:03] Production.INFO: count ==12 [2025-03-20 07:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:03] Production.INFO: count ==23 [2025-03-20 07:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721273') start [2025-03-20 07:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721273') end [2025-03-20 07:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:21:04] Production.INFO: 1 [2025-03-20 07:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.INFO: ==25717== Releasing lock... [2025-03-20 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:21:04] Production.ERROR: done [2025-03-20 07:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.ERROR: done [2025-03-20 07:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:21:04] Production.INFO: Total Charge 0 [2025-03-20 07:21:04] Production.INFO: CreateAllLog End [2025-03-20 07:21:04] Production.INFO: Account Balance End. [2025-03-20 07:21:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:21:04] Production.INFO: ==25713== Releasing lock... [2025-03-20 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:21:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:21:05 [end_date_ymd] => 2025-03-20 07:21:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:21:05' and `end` < '2025-03-20 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-03-20 07:21:08] 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-03-20 07:21:11] Production.INFO: ==== result ===== [2025-03-20 07:21:11] Production.INFO: { "Id": "1173c9b3-1aeb-4b7a-9067-947c6ce0dbdb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469671033)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d592fddd-2fe5-4ebb-a403-d6292f2ed115", "InvoiceNumber": "INV11667", "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": "2025-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+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": "cb5a59a5-aaea-4456-8fe3-cd1dfbdb4f09", "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": "c2ccd6b5-96c7-4304-834d-c93d66f74ceb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 7.50, "TotalTax": 0.98, "Total": 8.48, "UpdatedDateUTC": "\/Date(1742469670923+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:21:11] Production.INFO: -- Create Invoice id --d592fddd-2fe5-4ebb-a403-d6292f2ed115 [2025-03-20 07:21:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:21:11] Production.INFO: CheckInvoice xerov2: INV11698 [2025-03-20 07:21:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11698 [2025-03-20 07:21:12] Production.ERROR: CronJobId end10 [2025-03-20 07:21:12] Production.INFO: ==25711== Releasing lock... [2025-03-20 07:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:21:13] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:21:13] Production.INFO: Invoice SubTotal 521.630000 [2025-03-20 07:21:13] Production.INFO: Invoice DetTotal 521.63 [2025-03-20 07:21:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 07:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:21:14] Production.INFO: call_cost start [2025-03-20 07:21:14] Production.INFO: call_cost end [2025-03-20 07:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:21:15] Production.INFO: ==25707== Releasing lock... [2025-03-20 07:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:21:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:21:17] Production.INFO: count ==89 [2025-03-20 07:21:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:21:05 - End Time 2025-03-20 07:21:05 [2025-03-20 07:21:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721275', 'tblTempUsageDetail_20' ) start [2025-03-20 07:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721275', 'tblTempUsageDetail_20' ) end [2025-03-20 07:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721275', 'tblTempVendorCDR_20' ) start [2025-03-20 07:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721275', 'tblTempVendorCDR_20' ) end [2025-03-20 07:21:17] Production.INFO: ProcessCDR(1,14721275,1,1,2) [2025-03-20 07:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:21:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721275,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721275,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721275', 'tblTempUsageDetail_20' ) start [2025-03-20 07:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721275', 'tblTempUsageDetail_20' ) end [2025-03-20 07:21:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:21:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:21:22] Production.INFO: ==25715== Releasing lock... [2025-03-20 07:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:21:22] Production.INFO: 29 MB #Memory Used# [2025-03-20 07:21:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:21:25] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License From 03-08-2025 to 04-07-2025",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License From 03-08-2025 to 04-07-2025",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line From 03-08-2025 to 04-07-2025",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000} [2025-03-20 07:21:28] Production.INFO: ==== result ===== [2025-03-20 07:21:28] Production.INFO: { "Id": "5b3d6081-fe04-4116-bd73-4f92308ef7b3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469688765)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "78c68f0f-f3f9-45ea-807b-ae25ab6b7741", "InvoiceNumber": "INV11698", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 589.44, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "026264ad-30db-4a13-9750-7dee8e32341c", "ContactStatus": "ACTIVE", "Name": "Robson Carpenter LLP", "FirstName": "Jessica", "LastName": "Kerr", "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(1742468949203+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-08T00:00:00", "Date": "\/Date(1741392000000+0000)\/", "DueDateString": "2025-04-07T00:00:00", "DueDate": "\/Date(1743984000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "CloudPhone.ONE Per Person License From 03-08-2025 to 04-07-2025", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "bf5faac8-22e9-4f62-b573-1cd66574b5bb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License From 03-08-2025 to 04-07-2025", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "e317ab58-ac36-4f71-aec1-dec4759a1644", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line From 03-08-2025 to 04-07-2025", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ded1c0e5-133e-4d11-a30b-2b9fa1112770", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 521.63, "TotalTax": 67.81, "Total": 589.44, "UpdatedDateUTC": "\/Date(1742469688717+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:21:28] Production.INFO: -- Create Invoice id --78c68f0f-f3f9-45ea-807b-ae25ab6b7741 [2025-03-20 07:21:28] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:21:28] Production.INFO: CheckInvoice xerov2: INV11651 [2025-03-20 07:21:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11651 [2025-03-20 07:21:31] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:21:31] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:21:31] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:21:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010388%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:21:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:21:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:21:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:21:42] 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-03-20 07:21:45] Production.INFO: ==== result ===== [2025-03-20 07:21:45] Production.INFO: { "Id": "6135d857-1b7b-497d-84d7-cef456df36b5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469705672)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b80dd50a-5f3e-4ae8-821c-eef1cb359662", "InvoiceNumber": "INV11651", "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": "2025-03-07T00:00:00", "Date": "\/Date(1741305600000+0000)\/", "DueDateString": "2025-04-06T00:00:00", "DueDate": "\/Date(1743897600000+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": "4d2302d0-68ad-46c7-b5d6-afea005edbee", "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": "45abf4b7-66e6-44ae-a7ee-675ca1053f15", "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": "e34443af-e7a1-4d81-bdf0-015891460a3a", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742469705577+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:21:45] Production.INFO: -- Create Invoice id --b80dd50a-5f3e-4ae8-821c-eef1cb359662 [2025-03-20 07:21:45] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:21:45] Production.INFO: CheckInvoice xerov2: INV11652 [2025-03-20 07:21:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11652 [2025-03-20 07:21:48] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:21:48] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 07:21:48] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 07:21:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010588%20%28Gurinder%20Saini%29" [2025-03-20 07:21:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:21:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:21:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:22:00] 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 : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-03-20 11:22:02] Production.INFO: ==25793== Lock acquired, processing the job... [2025-03-20 11:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:22:02] Production.INFO: neon service started [2025-03-20 11:22:02] Production.INFO: neon service started [2025-03-20 11:22:02] Production.INFO: ==25793== Releasing lock... [2025-03-20 11:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:22:02] Production.INFO: ==25795== Lock acquired, processing the job... [2025-03-20 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:22:02] Production.INFO: ==25797== Lock acquired, processing the job... [2025-03-20 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:22:02] Production.INFO: ==25797== Releasing lock... [2025-03-20 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:22:03] Production.INFO: ==25795== Releasing lock... [2025-03-20 07:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:22:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:22:03] Production.INFO: ==== result ===== [2025-03-20 07:22:03] Production.INFO: { "Id": "a89dcd5e-e21d-4b42-b05a-1c2f229f2172", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469723356)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "57aac1e7-1886-4abf-96b6-d0b4aa231dcd", "InvoiceNumber": "INV11652", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 70.63, "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": "2025-03-07T00:00:00", "Date": "\/Date(1741305600000+0000)\/", "DueDateString": "2025-04-06T00:00:00", "DueDate": "\/Date(1743897600000+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": "c2e4cc72-eb60-436d-966d-75fa64dcc61e", "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": "162cb133-f638-4b7e-ad68-b94d1f8bd5ca", "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.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "aba92fef-9050-44b9-85c6-e23cd9c944e0", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 8.13, "Total": 70.63, "UpdatedDateUTC": "\/Date(1742469723327+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:22:03] Production.INFO: -- Create Invoice id --57aac1e7-1886-4abf-96b6-d0b4aa231dcd [2025-03-20 07:22:03] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:22:03] Production.INFO: CheckInvoice xerov2: INV11653 [2025-03-20 07:22:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11653 [2025-03-20 07:22:03] Production.INFO: ==25801== Lock acquired, processing the job... [2025-03-20 07:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:22:03] Production.INFO: ==25805== Lock acquired, processing the job... [2025-03-20 07:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:22:03] Production.INFO: ==25807== Lock acquired, processing the job... [2025-03-20 07:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:22:04] Production.INFO: Account Balance Start. [2025-03-20 07:22:04] Production.INFO: CreateAllLog Start [2025-03-20 07:22:04] Production.INFO: 117 [2025-03-20 07:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:22:04] Production.INFO: ==25803== Lock acquired, processing the job... [2025-03-20 07:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:22:04] Production.INFO: ==25809== Lock acquired, processing the job... [2025-03-20 07:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:22:04] Production.INFO: ==25811== Lock acquired, processing the job... [2025-03-20 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:22:04] Production.INFO: ==25803== Releasing lock... [2025-03-20 07:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:22:04] Production.INFO: count ==12 [2025-03-20 07:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:22:04] Production.INFO: count ==23 [2025-03-20 07:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721279') start [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:22:04] Production.ERROR: done [2025-03-20 07:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721279') end [2025-03-20 07:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:22:04] Production.INFO: 1 [2025-03-20 07:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:22:04] Production.INFO: Total Charge 0 [2025-03-20 07:22:04] Production.INFO: CreateAllLog End [2025-03-20 07:22:04] Production.INFO: ==25811== Releasing lock... [2025-03-20 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:22:04] Production.ERROR: done [2025-03-20 07:22:05] Production.INFO: Account Balance End. [2025-03-20 07:22:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:22:05] Production.INFO: ==25807== Releasing lock... [2025-03-20 07:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:22:05 [end_date_ymd] => 2025-03-20 07:22:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:22:05' and `end` < '2025-03-20 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-03-20 07:22:06] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:22:06] Production.INFO: Invoice SubTotal 71.300000 [2025-03-20 07:22:06] Production.INFO: Invoice DetTotal 71.3 [2025-03-20 07:22:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc." [2025-03-20 07:22:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:22:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:22:13] Production.ERROR: CronJobId end10 [2025-03-20 07:22:13] Production.INFO: ==25805== Releasing lock... [2025-03-20 07:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:22:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:22:15] Production.INFO: call_cost start [2025-03-20 07:22:15] Production.INFO: call_cost end [2025-03-20 07:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:22:15] Production.INFO: ==25801== Releasing lock... [2025-03-20 07:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:22:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:22:18] Production.INFO: count ==90 [2025-03-20 07:22:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:22:05 - End Time 2025-03-20 07:22:05 [2025-03-20 07:22:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721280', 'tblTempUsageDetail_20' ) start [2025-03-20 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721280', 'tblTempUsageDetail_20' ) end [2025-03-20 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721280', 'tblTempVendorCDR_20' ) start [2025-03-20 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721280', 'tblTempVendorCDR_20' ) end [2025-03-20 07:22:18] Production.INFO: ProcessCDR(1,14721280,1,1,2) [2025-03-20 07:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:22:18] 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 : 8,UnitAmount : 8.100000,LineAmount : 64.800000} [2025-03-20 07:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721280,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:22:21] Production.INFO: ==== result ===== [2025-03-20 07:22:21] Production.INFO: { "Id": "f63aa5b7-6af7-41e3-b4d1-15111a9a6491", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469741870)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "900a119c-96eb-4e16-973e-c0e18778a90c", "InvoiceNumber": "INV11653", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 80.57, "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": "2025-03-07T00:00:00", "Date": "\/Date(1741305600000+0000)\/", "DueDateString": "2025-04-06T00:00:00", "DueDate": "\/Date(1743897600000+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": "4dce10f5-1c91-48d9-9dd0-0b4d7ee281a2", "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": 8.42, "LineAmount": 64.80, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "5e120bee-b59f-4637-83bf-332d2f6be46a", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 71.30, "TotalTax": 9.27, "Total": 80.57, "UpdatedDateUTC": "\/Date(1742469741713+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:22:21] Production.INFO: -- Create Invoice id --900a119c-96eb-4e16-973e-c0e18778a90c [2025-03-20 07:22:21] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:22:21] Production.INFO: CheckInvoice xerov2: INV11646 [2025-03-20 07:22:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11646 [2025-03-20 07:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721280,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721280', 'tblTempUsageDetail_20' ) start [2025-03-20 07:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721280', 'tblTempUsageDetail_20' ) end [2025-03-20 07:22:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:22:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:22:23] Production.INFO: ==25809== Releasing lock... [2025-03-20 07:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:22:23] Production.INFO: 29 MB #Memory Used# [2025-03-20 07:22:24] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:22:24] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 07:22:24] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 07:22:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29" [2025-03-20 07:22:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:22:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:22:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:22:37] 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-03-20 07:22:40] Production.INFO: ==== result ===== [2025-03-20 07:22:40] Production.INFO: { "Id": "5bf417a1-0b9c-4ea1-81a3-0bf4c8c152d0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469760153)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d3992399-464c-4af1-baf8-5ad71e46c95b", "InvoiceNumber": "INV11646", "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-03-06T00:00:00", "Date": "\/Date(1741219200000+0000)\/", "DueDateString": "2025-04-05T00:00:00", "DueDate": "\/Date(1743811200000+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": "be43dc12-875b-4e90-b49f-03f94737d0f0", "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": "83c97d8b-bddc-4689-898e-11f41d2a2edf", "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": "049dfb59-4215-4d6e-a7ff-6d8b78251d23", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 3.13, "Total": 65.63, "UpdatedDateUTC": "\/Date(1742469760090+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:22:40] Production.INFO: -- Create Invoice id --d3992399-464c-4af1-baf8-5ad71e46c95b [2025-03-20 07:22:40] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:22:40] Production.INFO: CheckInvoice xerov2: INV11647 [2025-03-20 07:22:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11647 [2025-03-20 07:22:43] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:22:43] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:22:43] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:22:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29" [2025-03-20 07:22:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:22:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:22:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:22:55] 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-03-20 07:22:58] Production.INFO: ==== result ===== [2025-03-20 07:22:58] Production.INFO: { "Id": "79bdd44c-0382-4013-a256-f70e7af85273", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469777998)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8120b536-2709-48ff-937a-4e81a486c07f", "InvoiceNumber": "INV11647", "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-03-06T00:00:00", "Date": "\/Date(1741219200000+0000)\/", "DueDateString": "2025-04-05T00:00:00", "DueDate": "\/Date(1743811200000+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": "7bd1e8b1-970e-419c-846a-cfc7ae88cd01", "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": "b3491dc8-80e9-4d14-afec-7a2a1408bb91", "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": "5ed95405-fd73-4112-91d1-4cb6212d66a3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742469777920+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:22:58] Production.INFO: -- Create Invoice id --8120b536-2709-48ff-937a-4e81a486c07f [2025-03-20 07:22:58] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:22:58] Production.INFO: CheckInvoice xerov2: INV11648 [2025-03-20 07:22:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11648 [2025-03-20 07:23:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:23:00] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:23:00] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:23:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29" [2025-03-20 11:23:01] Production.INFO: ==25885== Lock acquired, processing the job... [2025-03-20 11:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:23:01] Production.INFO: neon service started [2025-03-20 11:23:01] Production.INFO: neon service started [2025-03-20 11:23:01] Production.INFO: ==25885== Releasing lock... [2025-03-20 11:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:23:02] Production.INFO: ==25887== Lock acquired, processing the job... [2025-03-20 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:23:02] Production.INFO: ==25889== Lock acquired, processing the job... [2025-03-20 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:23:02] Production.INFO: ==25889== Releasing lock... [2025-03-20 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:23:02] Production.INFO: ==25887== Releasing lock... [2025-03-20 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:23:03] Production.INFO: ==25892== Lock acquired, processing the job... [2025-03-20 07:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:23:03] Production.INFO: ==25896== Lock acquired, processing the job... [2025-03-20 07:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:23:03] Production.INFO: ==25900== Lock acquired, processing the job... [2025-03-20 07:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:23:03] Production.INFO: ==25894== Lock acquired, processing the job... [2025-03-20 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:23:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:23:03] Production.INFO: ==25898== Lock acquired, processing the job... [2025-03-20 07:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:23:03] Production.INFO: ==25902== Lock acquired, processing the job... [2025-03-20 07:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:23:03] Production.INFO: Account Balance Start. [2025-03-20 07:23:03] Production.INFO: CreateAllLog Start [2025-03-20 07:23:03] Production.INFO: 117 [2025-03-20 07:23:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 07:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:03] Production.INFO: count ==12 [2025-03-20 07:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:23:03] Production.INFO: count ==23 [2025-03-20 07:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721284') start [2025-03-20 07:23:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.INFO: ==25894== Releasing lock... [2025-03-20 07:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721284') end [2025-03-20 07:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:23:04] Production.INFO: 1 [2025-03-20 07:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:23:04] Production.ERROR: done [2025-03-20 07:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.INFO: ==25902== Releasing lock... [2025-03-20 07:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.ERROR: done [2025-03-20 07:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:23:04] Production.INFO: Total Charge 0 [2025-03-20 07:23:04] Production.INFO: CreateAllLog End [2025-03-20 07:23:04] Production.INFO: Account Balance End. [2025-03-20 07:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:23:04] Production.INFO: ==25898== Releasing lock... [2025-03-20 07:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:23:05 [end_date_ymd] => 2025-03-20 07:23:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:23:05' and `end` < '2025-03-20 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-03-20 07:23:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:23:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:23:11] Production.ERROR: CronJobId end10 [2025-03-20 07:23:11] Production.INFO: ==25896== Releasing lock... [2025-03-20 07:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:23:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:23:13] 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-03-20 07:23:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:23:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:23:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:23:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:23:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:23:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:23:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:23:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:23:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:23:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:23:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:23:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:23:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:23:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:23:14] Production.INFO: call_cost start [2025-03-20 07:23:14] Production.INFO: call_cost end [2025-03-20 07:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:23:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:23:15] Production.INFO: ==25892== Releasing lock... [2025-03-20 07:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:23:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:23:16] Production.INFO: ==== result ===== [2025-03-20 07:23:16] Production.INFO: { "Id": "b1021386-93e6-4beb-bb44-36f5b8f782bd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469796534)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6068b62c-d5b2-438e-a33c-82384f9102f9", "InvoiceNumber": "INV11648", "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-03-06T00:00:00", "Date": "\/Date(1741219200000+0000)\/", "DueDateString": "2025-04-05T00:00:00", "DueDate": "\/Date(1743811200000+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": "daf7f291-5cce-4c79-a34d-a9f3174ed545", "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": "0898a42a-f46d-4691-9e59-cbce97ae219c", "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": "128f73ec-4d87-4cfc-b092-17d6b11c9518", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742469796470+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:23:16] Production.INFO: -- Create Invoice id --6068b62c-d5b2-438e-a33c-82384f9102f9 [2025-03-20 07:23:16] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:23:16] Production.INFO: CheckInvoice xerov2: INV11641 [2025-03-20 07:23:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11641 [2025-03-20 07:23:17] Production.INFO: count ==90 [2025-03-20 07:23:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:23:05 - End Time 2025-03-20 07:23:05 [2025-03-20 07:23:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721285', 'tblTempUsageDetail_20' ) start [2025-03-20 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721285', 'tblTempUsageDetail_20' ) end [2025-03-20 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721285', 'tblTempVendorCDR_20' ) start [2025-03-20 07:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721285', 'tblTempVendorCDR_20' ) end [2025-03-20 07:23:17] Production.INFO: ProcessCDR(1,14721285,1,1,2) [2025-03-20 07:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721285,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:23:19] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:23:19] Production.INFO: Invoice SubTotal 15.530000 [2025-03-20 07:23:19] Production.INFO: Invoice DetTotal 15.53 [2025-03-20 07:23:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Lindsay" [2025-03-20 07:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721285,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721285', 'tblTempUsageDetail_20' ) start [2025-03-20 07:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721285', 'tblTempUsageDetail_20' ) end [2025-03-20 07:23:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:23:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:23:20] Production.INFO: ==25900== Releasing lock... [2025-03-20 07:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:23:20] Production.INFO: 29 MB #Memory Used# [2025-03-20 07:23:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:23:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:23:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:23:31] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-05-2025 To 03-04-2025",Quantity : 1,UnitAmount : 1.030000,LineAmount : 1.030000},{taxType:"TAX020",AccountCode : 203,"Description": "Capacity Based Billing - 1 Channel, Burstable to 2",Quantity : 1,UnitAmount : 12.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17057019601 - 320 MARY ST W LINDSAY, ON K9V5X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:23:34] Production.INFO: ==== result ===== [2025-03-20 07:23:34] Production.INFO: { "Id": "de489aa4-e67c-484b-a94c-a55b8564c4bf", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469814810)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1042ae52-203a-47d7-ba92-2d2ecb8df32b", "InvoiceNumber": "INV11641", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 17.55, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7cca29b1-b852-4195-aea8-d23ee3e0a552", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Lindsay", "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(1533070461280+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-05T00:00:00", "Date": "\/Date(1741132800000+0000)\/", "DueDateString": "2025-04-04T00:00:00", "DueDate": "\/Date(1743724800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-05-2025 To 03-04-2025", "UnitAmount": 1.03, "TaxType": "TAX020", "TaxAmount": 0.13, "LineAmount": 1.03, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9b302e06-1f5e-4293-8578-a62be6a5f31c", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Capacity Based Billing - 1 Channel, Burstable to 2", "UnitAmount": 12.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3d9493fd-a9f1-45d0-9450-4d1e845dd012", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (17057019601 - 320 MARY ST W LINDSAY, ON K9V5X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "8b65b9b7-86c8-4737-9057-b09cd19a2b9b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 15.53, "TotalTax": 2.02, "Total": 17.55, "UpdatedDateUTC": "\/Date(1742469814780+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:23:34] Production.INFO: -- Create Invoice id --1042ae52-203a-47d7-ba92-2d2ecb8df32b [2025-03-20 07:23:34] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:23:34] Production.INFO: CheckInvoice xerov2: INV11642 [2025-03-20 07:23:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11642 [2025-03-20 07:23:37] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:23:37] Production.INFO: Invoice SubTotal 50.000000 [2025-03-20 07:23:37] Production.INFO: Invoice DetTotal 50 [2025-03-20 07:23:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:23:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:23:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:23:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:23: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": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -25.000000,LineAmount : -25.000000} [2025-03-20 07:23:53] Production.INFO: ==== result ===== [2025-03-20 07:23:53] Production.INFO: { "Id": "28461dd8-dcf1-4bab-89b9-11e8909a3773", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469833306)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "57a94fb5-1100-4733-81ac-2996afd3edad", "InvoiceNumber": "INV11642", "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-03-05T00:00:00", "Date": "\/Date(1741132800000+0000)\/", "DueDateString": "2025-04-04T00:00:00", "DueDate": "\/Date(1743724800000+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": "44ce979b-f6cf-4d74-8bbb-f67dba369d15", "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": "a3fe44be-599b-4840-865c-318369b0909e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 50.00, "TotalTax": 6.50, "Total": 56.50, "UpdatedDateUTC": "\/Date(1742469833213+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:23:53] Production.INFO: -- Create Invoice id --57a94fb5-1100-4733-81ac-2996afd3edad [2025-03-20 07:23:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:23:53] Production.INFO: CheckInvoice xerov2: INV11643 [2025-03-20 07:23:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11643 [2025-03-20 07:23:56] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:23:56] Production.INFO: Invoice SubTotal 19.350000 [2025-03-20 07:23:56] Production.INFO: Invoice DetTotal 19.35 [2025-03-20 07:23:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd." [2025-03-20 07:23:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 11:24:02] Production.INFO: ==25977== Lock acquired, processing the job... [2025-03-20 11:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:24:02] Production.INFO: neon service started [2025-03-20 11:24:02] Production.INFO: neon service started [2025-03-20 11:24:02] Production.INFO: ==25977== Releasing lock... [2025-03-20 11:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:24:02] Production.INFO: ==25979== Lock acquired, processing the job... [2025-03-20 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:24:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:24:02] Production.INFO: ==25979== Releasing lock... [2025-03-20 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:24:02] Production.INFO: ==25981== Lock acquired, processing the job... [2025-03-20 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:24:03] Production.INFO: ==25981== Releasing lock... [2025-03-20 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:24:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:24:03] Production.INFO: ==25991== Lock acquired, processing the job... [2025-03-20 07:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:24:03] Production.INFO: ==25989== Lock acquired, processing the job... [2025-03-20 07:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:24:03] Production.INFO: ==25983== Lock acquired, processing the job... [2025-03-20 07:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:24:03] Production.INFO: ==25985== Lock acquired, processing the job... [2025-03-20 07:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:24:04] Production.INFO: Account Balance Start. [2025-03-20 07:24:04] Production.INFO: CreateAllLog Start [2025-03-20 07:24:04] Production.INFO: 117 [2025-03-20 07:24:04] Production.INFO: ==25987== Lock acquired, processing the job... [2025-03-20 07:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.INFO: ==25993== Lock acquired, processing the job... [2025-03-20 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:24:04] Production.ERROR: done [2025-03-20 07:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:24:04] Production.INFO: count ==12 [2025-03-20 07:24:04] Production.ERROR: done [2025-03-20 07:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:24:04] Production.INFO: count ==23 [2025-03-20 07:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721289') start [2025-03-20 07:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.INFO: ==25985== Releasing lock... [2025-03-20 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721289') end [2025-03-20 07:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:24:04] Production.INFO: 1 [2025-03-20 07:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:24:04] Production.INFO: ==25993== Releasing lock... [2025-03-20 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:24:04] Production.INFO: Total Charge 0 [2025-03-20 07:24:04] Production.INFO: CreateAllLog End [2025-03-20 07:24:04] Production.INFO: Account Balance End. [2025-03-20 07:24:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:24:04] Production.INFO: ==25989== Releasing lock... [2025-03-20 07:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:24:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:24:05 [end_date_ymd] => 2025-03-20 07:24:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:24:05' and `end` < '2025-03-20 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-03-20 07:24:08] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-05-2025 To 03-04-2025",Quantity : 1,UnitAmount : 6.850000,LineAmount : 6.850000},{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-03-20 07:24:11] Production.ERROR: CronJobId end10 [2025-03-20 07:24:11] Production.INFO: ==25987== Releasing lock... [2025-03-20 07:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:24:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:24:11] Production.INFO: ==== result ===== [2025-03-20 07:24:11] Production.INFO: { "Id": "757ed0a6-de97-4e78-a56e-466f120c466e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469851832)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6c315483-5a03-4d2b-9e7f-513729bcfbdb", "InvoiceNumber": "INV11643", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 21.87, "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-03-05T00:00:00", "Date": "\/Date(1741132800000+0000)\/", "DueDateString": "2025-04-04T00:00:00", "DueDate": "\/Date(1743724800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-05-2025 To 03-04-2025", "UnitAmount": 6.85, "TaxType": "TAX020", "TaxAmount": 0.89, "LineAmount": 6.85, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a79ed36f-6d94-473d-af0d-c3ee8a4378db", "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": "eadb91e3-c2d9-422f-a4ae-5adc5ac9897c", "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": "dad72fe1-feb1-4671-a4fd-f4677e851aee", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 19.35, "TotalTax": 2.52, "Total": 21.87, "UpdatedDateUTC": "\/Date(1742469851753+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:24:11] Production.INFO: -- Create Invoice id --6c315483-5a03-4d2b-9e7f-513729bcfbdb [2025-03-20 07:24:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:24:11] Production.INFO: CheckInvoice xerov2: INV11645 [2025-03-20 07:24:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11645 [2025-03-20 07:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:24:14] Production.INFO: call_cost start [2025-03-20 07:24:14] Production.INFO: call_cost end [2025-03-20 07:24:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:24:14] Production.INFO: Invoice SubTotal 78.850000 [2025-03-20 07:24:14] Production.INFO: Invoice DetTotal 78.85 [2025-03-20 07:24:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010164%20%28Jordan%20Hodgson%29" [2025-03-20 07:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:24:15] Production.INFO: ==25983== Releasing lock... [2025-03-20 07:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:24:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:24:17] Production.INFO: count ==91 [2025-03-20 07:24:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:24:05 - End Time 2025-03-20 07:24:05 [2025-03-20 07:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721290', 'tblTempUsageDetail_20' ) start [2025-03-20 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721290', 'tblTempUsageDetail_20' ) end [2025-03-20 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721290', 'tblTempVendorCDR_20' ) start [2025-03-20 07:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721290', 'tblTempVendorCDR_20' ) end [2025-03-20 07:24:17] Production.INFO: ProcessCDR(1,14721290,1,1,2) [2025-03-20 07:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:24:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721290', 'tblTempUsageDetail_20' ) start [2025-03-20 07:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721290', 'tblTempUsageDetail_20' ) end [2025-03-20 07:24:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:24:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:24:22] Production.INFO: ==25991== Releasing lock... [2025-03-20 07:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:24:22] Production.INFO: 29 MB #Memory Used# [2025-03-20 07:24:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:24:26] Production.INFO: =========Invoices String here======{taxType:"TAX023",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-05-2025 To 03-04-2025",Quantity : 1,UnitAmount : 0.360000,LineAmount : 0.360000},{taxType:"TAX023",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.990000,LineAmount : 75.990000},{taxType:"TAX023",AccountCode : 203,"Description": "e911 address registration (3064452555 - 302 114 Street North Battleford, SK S9A 2M6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 07:24:30] Production.INFO: ==== result ===== [2025-03-20 07:24:30] Production.INFO: { "Id": "7cdefa99-7833-4c38-a4e8-2e50d8706357", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469870113)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c61c3703-aa34-4d4f-bcaf-72aaff09c95f", "InvoiceNumber": "INV11645", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.53, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "9ba9e65f-7bc8-430d-b449-05e224b3e5f6", "ContactStatus": "ACTIVE", "Name": "Dominos 10164 (Jordan Hodgson)", "FirstName": "Jordan", "LastName": "Hodgson", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "4-302 114 St", "City": "North Battleford", "Region": "SK", "PostalCode": "S9A 2M6", "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(1730664962653+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-05T00:00:00", "Date": "\/Date(1741132800000+0000)\/", "DueDateString": "2025-03-12T00:00:00", "DueDate": "\/Date(1741737600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-05-2025 To 03-04-2025", "UnitAmount": 0.36, "TaxType": "TAX023", "TaxAmount": 0.04, "LineAmount": 0.36, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e065aeb4-f8dd-4733-9be6-53bce75add35", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.99, "TaxType": "TAX023", "TaxAmount": 8.36, "LineAmount": 75.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e7bd0620-d1be-4d0f-8c96-777481787bbd", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (3064452555 - 302 114 Street North Battleford, SK S9A 2M6 Canada)", "UnitAmount": 2.50, "TaxType": "TAX023", "TaxAmount": 0.28, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ada6f224-f570-452c-a630-f28679d67bc6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 78.85, "TotalTax": 8.68, "Total": 87.53, "UpdatedDateUTC": "\/Date(1742469870020+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:24:30] Production.INFO: -- Create Invoice id --c61c3703-aa34-4d4f-bcaf-72aaff09c95f [2025-03-20 07:24:30] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:24:30] Production.INFO: CheckInvoice xerov2: INV11635 [2025-03-20 07:24:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11635 [2025-03-20 07:24:33] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:24:33] Production.INFO: Invoice SubTotal 173.330000 [2025-03-20 07:24:33] Production.INFO: Invoice DetTotal 173.33 [2025-03-20 07:24:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima" [2025-03-20 07:24:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:24:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:24:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:24:45] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-04-2025 To 03-03-2025",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 : 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-03-20 07:24:48] Production.INFO: ==== result ===== [2025-03-20 07:24:48] Production.INFO: { "Id": "c2c2af52-2c32-49d3-b10f-bfc80ba1b5c9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742469888673)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "65e72782-ee74-4180-951d-7e89f43ef21a", "InvoiceNumber": "INV11635", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 195.87, "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": "2025-03-04T00:00:00", "Date": "\/Date(1741046400000+0000)\/", "DueDateString": "2025-04-03T00:00:00", "DueDate": "\/Date(1743638400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-04-2025 To 03-03-2025", "UnitAmount": 0.33, "TaxType": "TAX020", "TaxAmount": 0.04, "LineAmount": 0.33, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "217eb761-9366-4f24-ba94-2d39895dca94", "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": "21b309cb-51f4-423c-97af-00a271354477", "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": "9693bd27-4d1c-44d3-abfc-e999e7c0cd7b", "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": "9552113e-2543-40e6-a267-dc17b9077d5a", "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": "ba392603-3901-4769-ae52-057e304ed730", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 173.33, "TotalTax": 22.54, "Total": 195.87, "UpdatedDateUTC": "\/Date(1742469888597+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:24:48] Production.INFO: -- Create Invoice id --65e72782-ee74-4180-951d-7e89f43ef21a [2025-03-20 07:24:48] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:24:48] Production.INFO: -- Xero End Inovice -- [2025-03-20 07:24:48] Production.INFO: ==24070== Releasing lock... [2025-03-20 07:24:48] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10797 #Stops# [2025-03-20 07:24:48] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 11:25:01] Production.INFO: ==26103== Lock acquired, processing the job... [2025-03-20 11:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:25:01] Production.INFO: neon service started [2025-03-20 11:25:01] Production.INFO: neon service started [2025-03-20 11:25:01] Production.INFO: ==26103== Releasing lock... [2025-03-20 11:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:25:01] Production.INFO: ==26107== Lock acquired, processing the job... [2025-03-20 11:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:25:01] Production.INFO: ==26107== Releasing lock... [2025-03-20 11:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:25:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:25:01] Production.INFO: ==26105== Lock acquired, processing the job... [2025-03-20 07:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:25:02] Production.INFO: ==26105== Releasing lock... [2025-03-20 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:25:03] Production.INFO: ==26113== Lock acquired, processing the job... [2025-03-20 07:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:25:03] Production.INFO: ==26109== Lock acquired, processing the job... [2025-03-20 07:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:25:03] Production.INFO: ==26117== Lock acquired, processing the job... [2025-03-20 07:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:25:03] Production.INFO: ==26111== Lock acquired, processing the job... [2025-03-20 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:25:03] Production.INFO: ==26115== Lock acquired, processing the job... [2025-03-20 07:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:25:03] Production.INFO: ==26119== Lock acquired, processing the job... [2025-03-20 07:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:25:03] Production.INFO: count ==12 [2025-03-20 07:25:03] Production.INFO: Account Balance Start. [2025-03-20 07:25:03] Production.INFO: CreateAllLog Start [2025-03-20 07:25:03] Production.ERROR: done [2025-03-20 07:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:25:03] Production.INFO: 117 [2025-03-20 07:25:03] Production.INFO: count ==23 [2025-03-20 07:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721294') start [2025-03-20 07:25:03] Production.INFO: ==26111== Releasing lock... [2025-03-20 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721294') end [2025-03-20 07:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:25:03] Production.INFO: 1 [2025-03-20 07:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:25:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:04] Production.INFO: ==26119== Releasing lock... [2025-03-20 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:25:04] Production.ERROR: done [2025-03-20 07:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:25:04] Production.INFO: Total Charge 0 [2025-03-20 07:25:04] Production.INFO: CreateAllLog End [2025-03-20 07:25:04] Production.INFO: Account Balance End. [2025-03-20 07:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:25:04] Production.INFO: ==26115== Releasing lock... [2025-03-20 07:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:25:05 [end_date_ymd] => 2025-03-20 07:25:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:25:05' and `end` < '2025-03-20 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-03-20 07:25:10] Production.ERROR: CronJobId end10 [2025-03-20 07:25:10] Production.INFO: ==26113== Releasing lock... [2025-03-20 07:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:25:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:25:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:25:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:25:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:25:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:25:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:25:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:25:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:25:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:25:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:25:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:25:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:25:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:25:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:25:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:25:13] Production.INFO: call_cost start [2025-03-20 07:25:13] Production.INFO: call_cost end [2025-03-20 07:25:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:25:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:25:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:25:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:25:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:25:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:25:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:25:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:25:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:25:14] Production.INFO: ==26109== Releasing lock... [2025-03-20 07:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:25:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:25:17] Production.INFO: count ==91 [2025-03-20 07:25:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:25:05 - End Time 2025-03-20 07:25:05 [2025-03-20 07:25:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721295', 'tblTempUsageDetail_20' ) start [2025-03-20 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721295', 'tblTempUsageDetail_20' ) end [2025-03-20 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721295', 'tblTempVendorCDR_20' ) start [2025-03-20 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721295', 'tblTempVendorCDR_20' ) end [2025-03-20 07:25:17] Production.INFO: ProcessCDR(1,14721295,1,1,2) [2025-03-20 07:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721295', 'tblTempUsageDetail_20' ) start [2025-03-20 07:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721295', 'tblTempUsageDetail_20' ) end [2025-03-20 07:25:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:25:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:25:20] Production.INFO: ==26117== Releasing lock... [2025-03-20 07:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:25:20] Production.INFO: 29 MB #Memory Used# [2025-03-20 11:26:01] Production.INFO: ==26177== Lock acquired, processing the job... [2025-03-20 11:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:26:01] Production.INFO: neon service started [2025-03-20 11:26:01] Production.INFO: neon service started [2025-03-20 11:26:01] Production.INFO: ==26177== Releasing lock... [2025-03-20 11:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:26:02] Production.INFO: ==26179== Lock acquired, processing the job... [2025-03-20 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:26:02] Production.INFO: ==26179== Releasing lock... [2025-03-20 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:26:02] Production.INFO: ==26181== Lock acquired, processing the job... [2025-03-20 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:26:02] Production.INFO: ==26181== Releasing lock... [2025-03-20 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:26:03] Production.INFO: ==26185== Lock acquired, processing the job... [2025-03-20 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:26:03] Production.INFO: ==26194== Lock acquired, processing the job... [2025-03-20 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:26:03] Production.INFO: ==26183== Lock acquired, processing the job... [2025-03-20 07:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 07:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:26:03] Production.INFO: count ==12 [2025-03-20 07:26:03] Production.INFO: ==26187== Lock acquired, processing the job... [2025-03-20 07:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 07:26:03] Production.INFO: count ==23 [2025-03-20 07:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721297') start [2025-03-20 07:26:03] Production.INFO: ==26189== Lock acquired, processing the job... [2025-03-20 07:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:26:03] Production.INFO: ==26185== Releasing lock... [2025-03-20 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:26:03] Production.INFO: ==26192== Lock acquired, processing the job... [2025-03-20 07:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721297') end [2025-03-20 07:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:26:04] Production.INFO: 1 [2025-03-20 07:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:26:04] Production.INFO: Account Balance Start. [2025-03-20 07:26:04] Production.INFO: CreateAllLog Start [2025-03-20 07:26:04] Production.INFO: 117 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:26:04] Production.INFO: ==26194== Releasing lock... [2025-03-20 07:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.ERROR: done [2025-03-20 07:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.ERROR: done [2025-03-20 07:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:26:04] Production.INFO: Total Charge 0 [2025-03-20 07:26:04] Production.INFO: CreateAllLog End [2025-03-20 07:26:05] Production.INFO: Account Balance End. [2025-03-20 07:26:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:26:05] Production.INFO: ==26189== Releasing lock... [2025-03-20 07:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:26:05 [end_date_ymd] => 2025-03-20 07:26:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:26:05' and `end` < '2025-03-20 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-03-20 07:26:11] Production.ERROR: CronJobId end10 [2025-03-20 07:26:11] Production.INFO: ==26187== Releasing lock... [2025-03-20 07:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:26:14] Production.INFO: call_cost start [2025-03-20 07:26:14] Production.INFO: call_cost end [2025-03-20 07:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:26:15] Production.INFO: ==26183== Releasing lock... [2025-03-20 07:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:26:17] Production.INFO: count ==91 [2025-03-20 07:26:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:26:05 - End Time 2025-03-20 07:26:05 [2025-03-20 07:26:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721300', 'tblTempUsageDetail_20' ) start [2025-03-20 07:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721300', 'tblTempUsageDetail_20' ) end [2025-03-20 07:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721300', 'tblTempVendorCDR_20' ) start [2025-03-20 07:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721300', 'tblTempVendorCDR_20' ) end [2025-03-20 07:26:17] Production.INFO: ProcessCDR(1,14721300,1,1,2) [2025-03-20 07:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721300', 'tblTempUsageDetail_20' ) start [2025-03-20 07:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721300', 'tblTempUsageDetail_20' ) end [2025-03-20 07:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:26:20] Production.INFO: ==26192== Releasing lock... [2025-03-20 07:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:26:20] Production.INFO: 29 MB #Memory Used# [2025-03-20 11:27:02] Production.INFO: ==26251== Lock acquired, processing the job... [2025-03-20 11:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:27:02] Production.INFO: neon service started [2025-03-20 11:27:02] Production.INFO: neon service started [2025-03-20 11:27:02] Production.INFO: ==26251== Releasing lock... [2025-03-20 11:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:27:02] Production.INFO: ==26255== Lock acquired, processing the job... [2025-03-20 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:27:02] Production.INFO: ==26255== Releasing lock... [2025-03-20 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:27:02] Production.INFO: ==26253== Lock acquired, processing the job... [2025-03-20 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:27:03] Production.INFO: ==26253== Releasing lock... [2025-03-20 07:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:27:03] Production.INFO: ==26260== Lock acquired, processing the job... [2025-03-20 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:27:04] Production.INFO: ==26258== Lock acquired, processing the job... [2025-03-20 07:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:27:04] Production.INFO: ==26266== Lock acquired, processing the job... [2025-03-20 07:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:27:04] Production.INFO: ==26262== Lock acquired, processing the job... [2025-03-20 07:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:27:04] Production.INFO: ==26264== Lock acquired, processing the job... [2025-03-20 07:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:27:04] Production.INFO: ==26268== Lock acquired, processing the job... [2025-03-20 07:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:27:04] Production.INFO: ==26260== Releasing lock... [2025-03-20 07:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:27:04] Production.INFO: Account Balance Start. [2025-03-20 07:27:04] Production.INFO: CreateAllLog Start [2025-03-20 07:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:27:04] Production.INFO: 117 [2025-03-20 07:27:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:04] Production.ERROR: done [2025-03-20 07:27:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:04] Production.INFO: count ==12 [2025-03-20 07:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:27:04] Production.INFO: count ==23 [2025-03-20 07:27:04] Production.ERROR: done [2025-03-20 07:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721304') start [2025-03-20 07:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721304') end [2025-03-20 07:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:27:04] Production.INFO: 1 [2025-03-20 07:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:27:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:05] Production.INFO: Date 2025-03-18 [2025-03-20 07:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:05] Production.INFO: ==26268== Releasing lock... [2025-03-20 07:27:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:27:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:27:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:27:05] Production.INFO: Total Charge 0 [2025-03-20 07:27:05] Production.INFO: CreateAllLog End [2025-03-20 07:27:05] Production.INFO: Account Balance End. [2025-03-20 07:27:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:27:05] Production.INFO: ==26264== Releasing lock... [2025-03-20 07:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:27:05 [end_date_ymd] => 2025-03-20 07:27:05 [RateCDR] => 1 ) [2025-03-20 07:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:27:05' and `end` < '2025-03-20 07:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:27:11] Production.ERROR: CronJobId end10 [2025-03-20 07:27:11] Production.INFO: ==26262== Releasing lock... [2025-03-20 07:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:27:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:27:14] Production.INFO: call_cost start [2025-03-20 07:27:14] Production.INFO: call_cost end [2025-03-20 07:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:27:15] Production.INFO: ==26258== Releasing lock... [2025-03-20 07:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:27:17] Production.INFO: count ==91 [2025-03-20 07:27:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:27:05 - End Time 2025-03-20 07:27:05 [2025-03-20 07:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721305', 'tblTempUsageDetail_20' ) start [2025-03-20 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721305', 'tblTempUsageDetail_20' ) end [2025-03-20 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721305', 'tblTempVendorCDR_20' ) start [2025-03-20 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721305', 'tblTempVendorCDR_20' ) end [2025-03-20 07:27:18] Production.INFO: ProcessCDR(1,14721305,1,1,2) [2025-03-20 07:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721305', 'tblTempUsageDetail_20' ) start [2025-03-20 07:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721305', 'tblTempUsageDetail_20' ) end [2025-03-20 07:27:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:27:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:27:21] Production.INFO: ==26266== Releasing lock... [2025-03-20 07:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:27:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 11:28:01] Production.INFO: ==26322== Lock acquired, processing the job... [2025-03-20 11:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:28:01] Production.INFO: neon service started [2025-03-20 11:28:01] Production.INFO: neon service started [2025-03-20 11:28:01] Production.INFO: ==26322== Releasing lock... [2025-03-20 11:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:28:02] Production.INFO: ==26326== Lock acquired, processing the job... [2025-03-20 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:28:02] Production.INFO: ==26326== Releasing lock... [2025-03-20 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:28:02] Production.INFO: ==26324== Lock acquired, processing the job... [2025-03-20 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:28:02] Production.INFO: ==26324== Releasing lock... [2025-03-20 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:28:03] Production.INFO: ==26335== Lock acquired, processing the job... [2025-03-20 07:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:28:03] Production.INFO: ==26339== Lock acquired, processing the job... [2025-03-20 07:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:28:03] Production.INFO: Account Balance Start. [2025-03-20 07:28:03] Production.INFO: CreateAllLog Start [2025-03-20 07:28:03] Production.INFO: 117 [2025-03-20 07:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:28:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:03] Production.INFO: count ==12 [2025-03-20 07:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:28:03] Production.INFO: ==26329== Lock acquired, processing the job... [2025-03-20 07:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:28:03] Production.INFO: count ==23 [2025-03-20 07:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721306') start [2025-03-20 07:28:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:03] Production.INFO: ==26331== Lock acquired, processing the job... [2025-03-20 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:28:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721306') end [2025-03-20 07:28:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:28:03] Production.INFO: 1 [2025-03-20 07:28:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:03] Production.INFO: ==26339== Releasing lock... [2025-03-20 07:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:28:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:28:03] Production.INFO: ==26333== Lock acquired, processing the job... [2025-03-20 07:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:28:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:03] Production.INFO: ==26337== Lock acquired, processing the job... [2025-03-20 07:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:28:03] Production.INFO: Date 2025-03-15 [2025-03-20 07:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:03] Production.INFO: Date 2025-03-16 [2025-03-20 07:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:28:03] Production.INFO: Date 2025-03-17 [2025-03-20 07:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:04] Production.INFO: ==26331== Releasing lock... [2025-03-20 07:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:28:04] Production.INFO: Total Charge 0 [2025-03-20 07:28:04] Production.INFO: CreateAllLog End [2025-03-20 07:28:04] Production.ERROR: done [2025-03-20 07:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:28:04] Production.INFO: Account Balance End. [2025-03-20 07:28:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:28:04] Production.INFO: ==26335== Releasing lock... [2025-03-20 07:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:28:04] Production.ERROR: done [2025-03-20 07:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:28:05 [end_date_ymd] => 2025-03-20 07:28:05 [RateCDR] => 1 ) [2025-03-20 07:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:28:05' and `end` < '2025-03-20 07:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:28:12] Production.ERROR: CronJobId end10 [2025-03-20 07:28:12] Production.INFO: ==26333== Releasing lock... [2025-03-20 07:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:28:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:28:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:28:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:28:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:28:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:28:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:28:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:28:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:28:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:28:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:28:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:28:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:28:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:28:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:28:14] Production.INFO: call_cost start [2025-03-20 07:28:14] Production.INFO: call_cost end [2025-03-20 07:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:28:15] Production.INFO: ==26329== Releasing lock... [2025-03-20 07:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:28:17] Production.INFO: count ==92 [2025-03-20 07:28:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:28:05 - End Time 2025-03-20 07:28:05 [2025-03-20 07:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721310', 'tblTempUsageDetail_20' ) start [2025-03-20 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721310', 'tblTempUsageDetail_20' ) end [2025-03-20 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721310', 'tblTempVendorCDR_20' ) start [2025-03-20 07:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721310', 'tblTempVendorCDR_20' ) end [2025-03-20 07:28:17] Production.INFO: ProcessCDR(1,14721310,1,1,2) [2025-03-20 07:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721310', 'tblTempUsageDetail_20' ) start [2025-03-20 07:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721310', 'tblTempUsageDetail_20' ) end [2025-03-20 07:28:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:28:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:28:22] Production.INFO: ==26337== Releasing lock... [2025-03-20 07:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:28:22] Production.INFO: 29 MB #Memory Used# [2025-03-20 11:29:02] Production.INFO: ==26396== Lock acquired, processing the job... [2025-03-20 11:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:29:02] Production.INFO: neon service started [2025-03-20 11:29:02] Production.INFO: neon service started [2025-03-20 11:29:02] Production.INFO: ==26396== Releasing lock... [2025-03-20 11:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:29:02] Production.INFO: ==26398== Lock acquired, processing the job... [2025-03-20 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:29:02] Production.INFO: ==26398== Releasing lock... [2025-03-20 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:29:02] Production.INFO: ==26400== Lock acquired, processing the job... [2025-03-20 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:29:02] Production.INFO: ==26400== Releasing lock... [2025-03-20 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:29:03] Production.INFO: ==26411== Lock acquired, processing the job... [2025-03-20 07:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:29:03] Production.INFO: ==26405== Lock acquired, processing the job... [2025-03-20 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:29:03] Production.INFO: ==26403== Lock acquired, processing the job... [2025-03-20 07:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:29:03] Production.INFO: ==26413== Lock acquired, processing the job... [2025-03-20 07:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:29:03] Production.INFO: ==26407== Lock acquired, processing the job... [2025-03-20 07:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:29:03] Production.INFO: ==26409== Lock acquired, processing the job... [2025-03-20 07:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:29:04] Production.INFO: count ==12 [2025-03-20 07:29:04] Production.INFO: Account Balance Start. [2025-03-20 07:29:04] Production.INFO: CreateAllLog Start [2025-03-20 07:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:29:04] Production.INFO: 117 [2025-03-20 07:29:04] Production.INFO: count ==23 [2025-03-20 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721311') start [2025-03-20 07:29:04] Production.ERROR: done [2025-03-20 07:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: ==26405== Releasing lock... [2025-03-20 07:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721311') end [2025-03-20 07:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:29:04] Production.INFO: 1 [2025-03-20 07:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.ERROR: done [2025-03-20 07:29:04] Production.INFO: ==26413== Releasing lock... [2025-03-20 07:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:29:04] Production.INFO: Total Charge 0 [2025-03-20 07:29:04] Production.INFO: CreateAllLog End [2025-03-20 07:29:04] Production.INFO: Account Balance End. [2025-03-20 07:29:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:29:04] Production.INFO: ==26409== Releasing lock... [2025-03-20 07:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:29:05 [end_date_ymd] => 2025-03-20 07:29:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:29:05' and `end` < '2025-03-20 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-03-20 07:29:12] Production.ERROR: CronJobId end10 [2025-03-20 07:29:12] Production.INFO: ==26407== Releasing lock... [2025-03-20 07:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:29:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:29:15] Production.INFO: call_cost start [2025-03-20 07:29:15] Production.INFO: call_cost end [2025-03-20 07:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:29:16] Production.INFO: ==26403== Releasing lock... [2025-03-20 07:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:29:17] Production.INFO: count ==92 [2025-03-20 07:29:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:29:05 - End Time 2025-03-20 07:29:05 [2025-03-20 07:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721315', 'tblTempUsageDetail_20' ) start [2025-03-20 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721315', 'tblTempUsageDetail_20' ) end [2025-03-20 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721315', 'tblTempVendorCDR_20' ) start [2025-03-20 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721315', 'tblTempVendorCDR_20' ) end [2025-03-20 07:29:18] Production.INFO: ProcessCDR(1,14721315,1,1,2) [2025-03-20 07:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721315', 'tblTempUsageDetail_20' ) start [2025-03-20 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721315', 'tblTempUsageDetail_20' ) end [2025-03-20 07:29:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:29:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:29:21] Production.INFO: ==26411== Releasing lock... [2025-03-20 07:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:29:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 11:30:01] Production.INFO: ==26468== Lock acquired, processing the job... [2025-03-20 11:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:30:01] Production.INFO: neon service started [2025-03-20 11:30:01] Production.INFO: neon service started [2025-03-20 11:30:01] Production.INFO: ==26468== Releasing lock... [2025-03-20 11:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:30:01] Production.INFO: ==26470== Lock acquired, processing the job... [2025-03-20 07:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:30:02] Production.INFO: ==26470== Releasing lock... [2025-03-20 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:30:02] Production.INFO: ==26472== Lock acquired, processing the job... [2025-03-20 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:30:02] Production.INFO: ==26472== Releasing lock... [2025-03-20 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:30:03] Production.INFO: ==26477== Lock acquired, processing the job... [2025-03-20 07:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:30:03] Production.INFO: ==26479== Lock acquired, processing the job... [2025-03-20 07:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:30:03] Production.INFO: ==26483== Lock acquired, processing the job... [2025-03-20 07:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:30:03] Production.INFO: ==26485== Lock acquired, processing the job... [2025-03-20 07:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:30:03] Production.INFO: Account Balance Start. [2025-03-20 07:30:03] Production.INFO: CreateAllLog Start [2025-03-20 07:30:03] Production.INFO: 117 [2025-03-20 07:30:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:30:03] Production.INFO: ==26475== Lock acquired, processing the job... [2025-03-20 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 07:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:30:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:03] Production.INFO: ==26479== Releasing lock... [2025-03-20 07:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:30:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:30:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:30:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:03] Production.INFO: ==26481== Lock acquired, processing the job... [2025-03-20 07:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 07:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 07:30:03] Production.ERROR: CronJob PID - 26477 [2025-03-20 07:30:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 07:30:03] Production.ERROR: CronJob ID - 5 [2025-03-20 07:30:03] Production.ERROR: CronJob Last Run Time 2025-03-20 07:30:00 [2025-03-20 07:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 07:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 07:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 07:30:03] Production.ERROR: CronJob PID - 26483 [2025-03-20 07:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 07:30:03] Production.ERROR: CronJob ID - 12 [2025-03-20 07:30:03] Production.ERROR: CronJob Last Run Time 2025-03-20 07:30:00 [2025-03-20 07:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 07:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 07:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 07:30:03] Production.ERROR: CronJob PID - 26485 [2025-03-20 07:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 07:30:03] Production.ERROR: CronJob ID - 16 [2025-03-20 07:30:03] Production.ERROR: CronJob Last Run Time 2025-03-20 07:30:00 [2025-03-20 07:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 07:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 07:30:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:30:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 07:30:03] Production.INFO: ==26475== Releasing lock... [2025-03-20 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 07:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 07:30:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:30:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:03] Production.INFO: ==26487== Lock acquired, processing the job... [2025-03-20 07:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 07:30:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:30:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:30:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:03] Production.INFO: ==26489== Lock acquired, processing the job... [2025-03-20 07:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:30:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:30:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:03] Production.INFO: Date 2025-03-15 [2025-03-20 07:30:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:30:03] Production.INFO: Date 2025-03-16 [2025-03-20 07:30:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:30:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:30:04] Production.ERROR: done [2025-03-20 07:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 07:30:04] Production.INFO: count ==12 [2025-03-20 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-03-20 07:30:04] Production.INFO: count ==23 [2025-03-20 07:30:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721319') start [2025-03-20 07:30:04] Production.ERROR: done [2025-03-20 07:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:04] Production.ERROR: done [2025-03-20 07:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 07:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721320', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 07:30:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:30:04] Production.INFO: Total Charge 0 [2025-03-20 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721319') end [2025-03-20 07:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:30:04] Production.INFO: 1 [2025-03-20 07:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:30:04] Production.INFO: CreateAllLog End [2025-03-20 07:30:04] Production.INFO: ==26489== Releasing lock... [2025-03-20 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:30:04] Production.INFO: Account Balance End. [2025-03-20 07:30:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:30:04] Production.INFO: ==26483== Releasing lock... [2025-03-20 07:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:30:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:30:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:30:05 [end_date_ymd] => 2025-03-20 07:30:05 [RateCDR] => 1 ) [2025-03-20 07:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:30:05' and `end` < '2025-03-20 07:30:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721320', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 07:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 07:30:08] Production.INFO: ProcessCDR(1,14721320,1,1,2) [2025-03-20 07:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721320,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721320,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:30:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:30:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:30:08] Production.INFO: ==26487== Releasing lock... [2025-03-20 07:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 07:30:08] Production.INFO: 26 MB #Memory Used# [2025-03-20 07:30:14] Production.ERROR: CronJobId end10 [2025-03-20 07:30:14] Production.INFO: ==26481== Releasing lock... [2025-03-20 07:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:30:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:30:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:30:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:30:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:30:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:30:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:30:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:30:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:30:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:30:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:30:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:30:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:30:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:30:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:30:15] Production.INFO: call_cost start [2025-03-20 07:30:15] Production.INFO: call_cost end [2025-03-20 07:30:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:30:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:30:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:30:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:30:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:30:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:30:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:30:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:30:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:30:16] Production.INFO: ==26477== Releasing lock... [2025-03-20 07:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:30:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:30:17] Production.INFO: count ==94 [2025-03-20 07:30:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:30:05 - End Time 2025-03-20 07:30:05 [2025-03-20 07:30:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721321', 'tblTempUsageDetail_20' ) start [2025-03-20 07:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721321', 'tblTempUsageDetail_20' ) end [2025-03-20 07:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721321', 'tblTempVendorCDR_20' ) start [2025-03-20 07:30:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721321', 'tblTempVendorCDR_20' ) end [2025-03-20 07:30:17] Production.INFO: ProcessCDR(1,14721321,1,1,2) [2025-03-20 07:30:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:30:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:30:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:30:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:30:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721321', 'tblTempUsageDetail_20' ) start [2025-03-20 07:30:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721321', 'tblTempUsageDetail_20' ) end [2025-03-20 07:30:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:30:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:30:20] Production.INFO: ==26485== Releasing lock... [2025-03-20 07:30:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:30:20] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:31:01] Production.INFO: ==26550== Lock acquired, processing the job... [2025-03-20 11:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:31:01] Production.INFO: neon service started [2025-03-20 11:31:02] Production.INFO: neon service started [2025-03-20 11:31:02] Production.INFO: ==26550== Releasing lock... [2025-03-20 11:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:31:02] Production.INFO: ==26552== Lock acquired, processing the job... [2025-03-20 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:31:02] Production.INFO: ==26554== Lock acquired, processing the job... [2025-03-20 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:31:02] Production.INFO: ==26552== Releasing lock... [2025-03-20 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:31:02] Production.INFO: ==26554== Releasing lock... [2025-03-20 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:31:03] Production.INFO: ==26556== Lock acquired, processing the job... [2025-03-20 07:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:31:03] Production.INFO: ==26558== Lock acquired, processing the job... [2025-03-20 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:31:03] Production.INFO: ==26564== Lock acquired, processing the job... [2025-03-20 07:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:31:03] Production.INFO: ==26558== Releasing lock... [2025-03-20 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:31:03] Production.INFO: ==26560== Lock acquired, processing the job... [2025-03-20 07:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:31:03] Production.INFO: ==26562== Lock acquired, processing the job... [2025-03-20 07:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:31:03] Production.INFO: ==26566== Lock acquired, processing the job... [2025-03-20 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:31:03] Production.INFO: Account Balance Start. [2025-03-20 07:31:03] Production.INFO: CreateAllLog Start [2025-03-20 07:31:03] Production.INFO: 117 [2025-03-20 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-03-20 07:31:04] Production.ERROR: done [2025-03-20 07:31:04] Production.INFO: count ==12 [2025-03-20 07:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:31:04] Production.INFO: count ==23 [2025-03-20 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721325') start [2025-03-20 07:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:31:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721325') end [2025-03-20 07:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:31:04] Production.INFO: 1 [2025-03-20 07:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.ERROR: done [2025-03-20 07:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.INFO: ==26566== Releasing lock... [2025-03-20 07:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:31:04] Production.INFO: Total Charge 0 [2025-03-20 07:31:04] Production.INFO: CreateAllLog End [2025-03-20 07:31:05] Production.INFO: Account Balance End. [2025-03-20 07:31:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:31:05] Production.INFO: ==26562== Releasing lock... [2025-03-20 07:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:31:05 [end_date_ymd] => 2025-03-20 07:31:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:31:05' and `end` < '2025-03-20 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-03-20 07:31:12] Production.ERROR: CronJobId end10 [2025-03-20 07:31:12] Production.INFO: ==26560== Releasing lock... [2025-03-20 07:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:31:14] Production.INFO: call_cost start [2025-03-20 07:31:14] Production.INFO: call_cost end [2025-03-20 07:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:31:15] Production.INFO: ==26556== Releasing lock... [2025-03-20 07:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:31:17] Production.INFO: count ==94 [2025-03-20 07:31:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:31:05 - End Time 2025-03-20 07:31:05 [2025-03-20 07:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721326', 'tblTempUsageDetail_20' ) start [2025-03-20 07:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721326', 'tblTempUsageDetail_20' ) end [2025-03-20 07:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721326', 'tblTempVendorCDR_20' ) start [2025-03-20 07:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721326', 'tblTempVendorCDR_20' ) end [2025-03-20 07:31:17] Production.INFO: ProcessCDR(1,14721326,1,1,2) [2025-03-20 07:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721326,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721326,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721326', 'tblTempUsageDetail_20' ) start [2025-03-20 07:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721326', 'tblTempUsageDetail_20' ) end [2025-03-20 07:31:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:31:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:31:20] Production.INFO: ==26564== Releasing lock... [2025-03-20 07:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:31:20] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 11:32:01] Production.INFO: ==26622== Lock acquired, processing the job... [2025-03-20 11:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:32:01] Production.INFO: neon service started [2025-03-20 11:32:01] Production.INFO: neon service started [2025-03-20 11:32:01] Production.INFO: ==26622== Releasing lock... [2025-03-20 11:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:32:01] Production.INFO: ==26624== Lock acquired, processing the job... [2025-03-20 07:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:32:02] Production.INFO: ==26624== Releasing lock... [2025-03-20 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:32:02] Production.INFO: ==26626== Lock acquired, processing the job... [2025-03-20 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:32:02] Production.INFO: ==26626== Releasing lock... [2025-03-20 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:32:03] Production.INFO: ==26630== Lock acquired, processing the job... [2025-03-20 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:32:03] Production.INFO: ==26638== Lock acquired, processing the job... [2025-03-20 07:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 07:32:03] Production.INFO: ==26628== Lock acquired, processing the job... [2025-03-20 07:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:32:03] Production.INFO: ==26630== Releasing lock... [2025-03-20 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:32:03] Production.INFO: count ==12 [2025-03-20 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-03-20 07:32:03] Production.INFO: ==26632== Lock acquired, processing the job... [2025-03-20 07:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:32:03] Production.INFO: count ==23 [2025-03-20 07:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721328') start [2025-03-20 07:32:03] Production.INFO: ==26634== Lock acquired, processing the job... [2025-03-20 07:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:32:03] Production.INFO: ==26636== Lock acquired, processing the job... [2025-03-20 07:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721328') end [2025-03-20 07:32:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:32:03] Production.INFO: 1 [2025-03-20 07:32:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:32:03] Production.INFO: ==26638== Releasing lock... [2025-03-20 07:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:32:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:32:03] Production.INFO: Account Balance Start. [2025-03-20 07:32:03] Production.INFO: CreateAllLog Start [2025-03-20 07:32:03] Production.INFO: 117 [2025-03-20 07:32:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:04] Production.ERROR: done [2025-03-20 07:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:32:04] Production.INFO: Total Charge 0 [2025-03-20 07:32:04] Production.INFO: CreateAllLog End [2025-03-20 07:32:04] Production.ERROR: done [2025-03-20 07:32:04] Production.INFO: Account Balance End. [2025-03-20 07:32:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:32:04] Production.INFO: ==26634== Releasing lock... [2025-03-20 07:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:32:05 [end_date_ymd] => 2025-03-20 07:32:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:32:05' and `end` < '2025-03-20 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-03-20 07:32:12] Production.ERROR: CronJobId end10 [2025-03-20 07:32:12] Production.INFO: ==26632== Releasing lock... [2025-03-20 07:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:32:14] Production.INFO: call_cost start [2025-03-20 07:32:14] Production.INFO: call_cost end [2025-03-20 07:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:32:15] Production.INFO: ==26628== Releasing lock... [2025-03-20 07:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:32:17] Production.INFO: count ==94 [2025-03-20 07:32:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:32:05 - End Time 2025-03-20 07:32:05 [2025-03-20 07:32:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721331', 'tblTempUsageDetail_20' ) start [2025-03-20 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721331', 'tblTempUsageDetail_20' ) end [2025-03-20 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721331', 'tblTempVendorCDR_20' ) start [2025-03-20 07:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721331', 'tblTempVendorCDR_20' ) end [2025-03-20 07:32:17] Production.INFO: ProcessCDR(1,14721331,1,1,2) [2025-03-20 07:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721331,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721331,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721331', 'tblTempUsageDetail_20' ) start [2025-03-20 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721331', 'tblTempUsageDetail_20' ) end [2025-03-20 07:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:32:21] Production.INFO: ==26636== Releasing lock... [2025-03-20 07:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:32:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:33:02] Production.INFO: ==26700== Lock acquired, processing the job... [2025-03-20 11:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:33:02] Production.INFO: neon service started [2025-03-20 11:33:02] Production.INFO: neon service started [2025-03-20 11:33:02] Production.INFO: ==26700== Releasing lock... [2025-03-20 11:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:33:02] Production.INFO: ==26703== Lock acquired, processing the job... [2025-03-20 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:33:02] Production.INFO: ==26703== Releasing lock... [2025-03-20 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:33:02] Production.INFO: ==26705== Lock acquired, processing the job... [2025-03-20 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:33:02] Production.INFO: ==26705== Releasing lock... [2025-03-20 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:33:03] Production.INFO: ==26707== Lock acquired, processing the job... [2025-03-20 07:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:33:03] Production.INFO: ==26709== Lock acquired, processing the job... [2025-03-20 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:33:03] Production.INFO: ==26711== Lock acquired, processing the job... [2025-03-20 07:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:33:03] Production.INFO: ==26713== Lock acquired, processing the job... [2025-03-20 07:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:33:03] Production.INFO: ==26717== Lock acquired, processing the job... [2025-03-20 07:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:33:04] Production.INFO: ==26715== Lock acquired, processing the job... [2025-03-20 07:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:33:04] Production.INFO: Account Balance Start. [2025-03-20 07:33:04] Production.INFO: CreateAllLog Start [2025-03-20 07:33:04] Production.INFO: 117 [2025-03-20 07:33:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:33:04] Production.INFO: count ==12 [2025-03-20 07:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 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-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.INFO: count ==23 [2025-03-20 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721335') start [2025-03-20 07:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721335') end [2025-03-20 07:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:33:04] Production.INFO: 1 [2025-03-20 07:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:33:04] Production.INFO: ==26717== Releasing lock... [2025-03-20 07:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:33:04] Production.INFO: ==26709== Releasing lock... [2025-03-20 07:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:33:04] Production.ERROR: done [2025-03-20 07:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.ERROR: done [2025-03-20 07:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:33:04] Production.INFO: Total Charge 0 [2025-03-20 07:33:04] Production.INFO: CreateAllLog End [2025-03-20 07:33:04] Production.INFO: Account Balance End. [2025-03-20 07:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:33:04] Production.INFO: ==26713== Releasing lock... [2025-03-20 07:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:33:05 [end_date_ymd] => 2025-03-20 07:33:05 [RateCDR] => 1 ) [2025-03-20 07:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:33:05' and `end` < '2025-03-20 07:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:33: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-03-20 07:33:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:33:11] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:33:11] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:33:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:33:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:33:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:33:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:33:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:33:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:33:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:33:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:33:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:33:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:33:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:33:11] Production.INFO: call_cost start [2025-03-20 07:33:11] Production.INFO: call_cost end [2025-03-20 07:33:12] Production.ERROR: CronJobId end10 [2025-03-20 07:33:12] Production.INFO: ==26711== Releasing lock... [2025-03-20 07:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:33:12] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:33:12] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:33:12] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:33:12] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:33:12] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:33:12] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:33:12] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:33:12] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:33:12] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:33:12] Production.INFO: ==26707== Releasing lock... [2025-03-20 07:33:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:33:12] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:33:17] Production.INFO: count ==94 [2025-03-20 07:33:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:33:05 - End Time 2025-03-20 07:33:05 [2025-03-20 07:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721336', 'tblTempUsageDetail_20' ) start [2025-03-20 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721336', 'tblTempUsageDetail_20' ) end [2025-03-20 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721336', 'tblTempVendorCDR_20' ) start [2025-03-20 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721336', 'tblTempVendorCDR_20' ) end [2025-03-20 07:33:17] Production.INFO: ProcessCDR(1,14721336,1,1,2) [2025-03-20 07:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721336,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721336,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721336', 'tblTempUsageDetail_20' ) start [2025-03-20 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721336', 'tblTempUsageDetail_20' ) end [2025-03-20 07:33:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:33:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:33:21] Production.INFO: ==26715== Releasing lock... [2025-03-20 07:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:33:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:34:01] Production.INFO: ==26774== Lock acquired, processing the job... [2025-03-20 11:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:34:01] Production.INFO: neon service started [2025-03-20 11:34:01] Production.INFO: neon service started [2025-03-20 11:34:01] Production.INFO: ==26774== Releasing lock... [2025-03-20 11:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:34:02] Production.INFO: ==26776== Lock acquired, processing the job... [2025-03-20 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:34:02] Production.INFO: ==26778== Lock acquired, processing the job... [2025-03-20 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:34:02] Production.INFO: ==26778== Releasing lock... [2025-03-20 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:34:02] Production.INFO: ==26776== Releasing lock... [2025-03-20 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:34:03] Production.INFO: ==26785== Lock acquired, processing the job... [2025-03-20 07:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:34:03] Production.INFO: ==26789== Lock acquired, processing the job... [2025-03-20 07:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:34:03] Production.INFO: ==26781== Lock acquired, processing the job... [2025-03-20 07:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:34:03] Production.INFO: ==26783== Lock acquired, processing the job... [2025-03-20 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:34:03] Production.INFO: ==26787== Lock acquired, processing the job... [2025-03-20 07:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:34:03] Production.INFO: ==26791== Lock acquired, processing the job... [2025-03-20 07:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:34:03] Production.INFO: Account Balance Start. [2025-03-20 07:34:03] Production.INFO: CreateAllLog Start [2025-03-20 07:34:03] Production.INFO: 117 [2025-03-20 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-03-20 07:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:03] Production.INFO: count ==12 [2025-03-20 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-03-20 07:34:03] Production.INFO: count ==23 [2025-03-20 07:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721339') start [2025-03-20 07:34:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.ERROR: done [2025-03-20 07:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721339') end [2025-03-20 07:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:34:04] Production.INFO: 1 [2025-03-20 07:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.INFO: ==26791== Releasing lock... [2025-03-20 07:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:34:04] Production.ERROR: done [2025-03-20 07:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.INFO: ==26783== Releasing lock... [2025-03-20 07:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:34:04] Production.INFO: Total Charge 0 [2025-03-20 07:34:04] Production.INFO: CreateAllLog End [2025-03-20 07:34:04] Production.INFO: Account Balance End. [2025-03-20 07:34:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:34:04] Production.INFO: ==26787== Releasing lock... [2025-03-20 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:34:05 [end_date_ymd] => 2025-03-20 07:34:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:34:05' and `end` < '2025-03-20 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-03-20 07:34:11] Production.ERROR: CronJobId end10 [2025-03-20 07:34:11] Production.INFO: ==26785== Releasing lock... [2025-03-20 07:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:34:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:34:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:34:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:34:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:34:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:34:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:34:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:34:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:34:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:34:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:34:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:34:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:34:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:34:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:34:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:34:14] Production.INFO: call_cost start [2025-03-20 07:34:14] Production.INFO: call_cost end [2025-03-20 07:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:34:15] Production.INFO: ==26781== Releasing lock... [2025-03-20 07:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:34:17] Production.INFO: count ==94 [2025-03-20 07:34:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:34:05 - End Time 2025-03-20 07:34:05 [2025-03-20 07:34:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721341', 'tblTempUsageDetail_20' ) start [2025-03-20 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721341', 'tblTempUsageDetail_20' ) end [2025-03-20 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721341', 'tblTempVendorCDR_20' ) start [2025-03-20 07:34:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721341', 'tblTempVendorCDR_20' ) end [2025-03-20 07:34:17] Production.INFO: ProcessCDR(1,14721341,1,1,2) [2025-03-20 07:34:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:34:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:34:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:34:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721341', 'tblTempUsageDetail_20' ) start [2025-03-20 07:34:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721341', 'tblTempUsageDetail_20' ) end [2025-03-20 07:34:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:34:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:34:20] Production.INFO: ==26789== Releasing lock... [2025-03-20 07:34:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:34:20] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:35:01] Production.INFO: ==26846== Lock acquired, processing the job... [2025-03-20 11:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:35:01] Production.INFO: neon service started [2025-03-20 11:35:01] Production.INFO: neon service started [2025-03-20 11:35:01] Production.INFO: ==26846== Releasing lock... [2025-03-20 11:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:35:02] Production.INFO: ==26850== Lock acquired, processing the job... [2025-03-20 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:35:02] Production.INFO: ==26850== Releasing lock... [2025-03-20 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:35:02] Production.INFO: ==26848== Lock acquired, processing the job... [2025-03-20 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:35:02] Production.INFO: ==26848== Releasing lock... [2025-03-20 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:35:03] Production.INFO: ==26852== Lock acquired, processing the job... [2025-03-20 07:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:35:03] Production.INFO: ==26854== Lock acquired, processing the job... [2025-03-20 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:35:03] Production.INFO: ==26858== Lock acquired, processing the job... [2025-03-20 07:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:35:03] Production.INFO: Account Balance Start. [2025-03-20 07:35:03] Production.INFO: CreateAllLog Start [2025-03-20 07:35:03] Production.INFO: 117 [2025-03-20 07:35:03] Production.INFO: ==26854== Releasing lock... [2025-03-20 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:35:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:03] Production.INFO: ==26856== Lock acquired, processing the job... [2025-03-20 07:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:35:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:03] Production.INFO: ==26860== Lock acquired, processing the job... [2025-03-20 07:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:35:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:03] Production.INFO: ==26862== Lock acquired, processing the job... [2025-03-20 07:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:35:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:35:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:04] Production.INFO: count ==12 [2025-03-20 07:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:04] Production.INFO: count ==23 [2025-03-20 07:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721345') start [2025-03-20 07:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721345') end [2025-03-20 07:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:35:04] Production.INFO: 1 [2025-03-20 07:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:35:04] Production.INFO: ==26862== Releasing lock... [2025-03-20 07:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:35:04] Production.ERROR: done [2025-03-20 07:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:35:04] Production.INFO: Total Charge 0 [2025-03-20 07:35:04] Production.INFO: CreateAllLog End [2025-03-20 07:35:04] Production.ERROR: done [2025-03-20 07:35:04] Production.INFO: Account Balance End. [2025-03-20 07:35:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:35:04] Production.INFO: ==26858== Releasing lock... [2025-03-20 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:35:05 [end_date_ymd] => 2025-03-20 07:35:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:35:05' and `end` < '2025-03-20 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-03-20 07:35:12] Production.ERROR: CronJobId end10 [2025-03-20 07:35:12] Production.INFO: ==26856== Releasing lock... [2025-03-20 07:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:35:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:35:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:35:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:35:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:35:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:35:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:35:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:35:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:35:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:35:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:35:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:35:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:35:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:35:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:35:14] Production.INFO: call_cost start [2025-03-20 07:35:14] Production.INFO: call_cost end [2025-03-20 07:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:35:15] Production.INFO: ==26852== Releasing lock... [2025-03-20 07:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:35:17] Production.INFO: count ==98 [2025-03-20 07:35:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:35:05 - End Time 2025-03-20 07:35:05 [2025-03-20 07:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721346', 'tblTempUsageDetail_20' ) start [2025-03-20 07:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721346', 'tblTempUsageDetail_20' ) end [2025-03-20 07:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721346', 'tblTempVendorCDR_20' ) start [2025-03-20 07:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721346', 'tblTempVendorCDR_20' ) end [2025-03-20 07:35:17] Production.INFO: ProcessCDR(1,14721346,1,1,2) [2025-03-20 07:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721346', 'tblTempUsageDetail_20' ) start [2025-03-20 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721346', 'tblTempUsageDetail_20' ) end [2025-03-20 07:35:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:35:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:35:21] Production.INFO: ==26860== Releasing lock... [2025-03-20 07:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:35:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:36:02] Production.INFO: ==26917== Lock acquired, processing the job... [2025-03-20 11:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:36:02] Production.INFO: neon service started [2025-03-20 11:36:02] Production.INFO: neon service started [2025-03-20 11:36:02] Production.INFO: ==26917== Releasing lock... [2025-03-20 11:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:36:02] Production.INFO: ==26919== Lock acquired, processing the job... [2025-03-20 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:36:02] Production.INFO: ==26919== Releasing lock... [2025-03-20 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:36:03] Production.INFO: ==26922== Lock acquired, processing the job... [2025-03-20 11:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:36:03] Production.INFO: ==26922== Releasing lock... [2025-03-20 11:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:36:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:36:03] Production.INFO: ==26924== Lock acquired, processing the job... [2025-03-20 07:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:36:03] Production.INFO: ==26928== Lock acquired, processing the job... [2025-03-20 07:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:36:03] Production.INFO: ==26926== Lock acquired, processing the job... [2025-03-20 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:36:03] Production.INFO: ==26932== Lock acquired, processing the job... [2025-03-20 07:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:36:04] Production.INFO: ==26930== Lock acquired, processing the job... [2025-03-20 07:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:36:04] Production.INFO: ==26934== Lock acquired, processing the job... [2025-03-20 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:36:04] Production.INFO: Account Balance Start. [2025-03-20 07:36:04] Production.INFO: CreateAllLog Start [2025-03-20 07:36:04] Production.INFO: 117 [2025-03-20 07:36:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.ERROR: done [2025-03-20 07:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:36:04] Production.INFO: ==26926== Releasing lock... [2025-03-20 07:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.INFO: count ==12 [2025-03-20 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-03-20 07:36:04] Production.INFO: count ==23 [2025-03-20 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721350') start [2025-03-20 07:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.ERROR: done [2025-03-20 07:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721350') end [2025-03-20 07:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:36:04] Production.INFO: 1 [2025-03-20 07:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:36:04] Production.INFO: ==26934== Releasing lock... [2025-03-20 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:36:05] Production.INFO: Total Charge 0 [2025-03-20 07:36:05] Production.INFO: CreateAllLog End [2025-03-20 07:36:05] Production.INFO: Account Balance End. [2025-03-20 07:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:36:05] Production.INFO: ==26930== Releasing lock... [2025-03-20 07:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:36:05 [end_date_ymd] => 2025-03-20 07:36:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:36:05' and `end` < '2025-03-20 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-03-20 07:36:11] Production.ERROR: CronJobId end10 [2025-03-20 07:36:11] Production.INFO: ==26928== Releasing lock... [2025-03-20 07:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:36:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:36:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:36:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:36:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:36:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:36:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:36:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:36:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:36:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:36:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:36:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:36:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:36:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:36:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:36:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:36:14] Production.INFO: call_cost start [2025-03-20 07:36:14] Production.INFO: call_cost end [2025-03-20 07:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:36:15] Production.INFO: ==26924== Releasing lock... [2025-03-20 07:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:36:17] Production.INFO: count ==99 [2025-03-20 07:36:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:36:05 - End Time 2025-03-20 07:36:05 [2025-03-20 07:36:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721351', 'tblTempUsageDetail_20' ) start [2025-03-20 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721351', 'tblTempUsageDetail_20' ) end [2025-03-20 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721351', 'tblTempVendorCDR_20' ) start [2025-03-20 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721351', 'tblTempVendorCDR_20' ) end [2025-03-20 07:36:17] Production.INFO: ProcessCDR(1,14721351,1,1,2) [2025-03-20 07:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721351', 'tblTempUsageDetail_20' ) start [2025-03-20 07:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721351', 'tblTempUsageDetail_20' ) end [2025-03-20 07:36:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:36:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:36:22] Production.INFO: ==26932== Releasing lock... [2025-03-20 07:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:36:22] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:37:01] Production.INFO: ==26995== Lock acquired, processing the job... [2025-03-20 11:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:37:01] Production.INFO: neon service started [2025-03-20 11:37:01] Production.INFO: neon service started [2025-03-20 11:37:01] Production.INFO: ==26995== Releasing lock... [2025-03-20 11:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:37:02] Production.INFO: ==26997== Lock acquired, processing the job... [2025-03-20 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:37:02] Production.INFO: ==26997== Releasing lock... [2025-03-20 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:37:02] Production.INFO: ==26999== Lock acquired, processing the job... [2025-03-20 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:37:02] Production.INFO: ==26999== Releasing lock... [2025-03-20 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:37:03] Production.INFO: ==27003== Lock acquired, processing the job... [2025-03-20 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:37:03] Production.INFO: ==27010== Lock acquired, processing the job... [2025-03-20 07:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:37:03] Production.INFO: ==27001== Lock acquired, processing the job... [2025-03-20 07:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:37:03] Production.INFO: ==27005== Lock acquired, processing the job... [2025-03-20 07:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:37:03] Production.INFO: ==27003== Releasing lock... [2025-03-20 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:37:03] Production.INFO: ==27012== Lock acquired, processing the job... [2025-03-20 07:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:37:03] Production.INFO: ==27007== Lock acquired, processing the job... [2025-03-20 07:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:37:03] Production.INFO: count ==12 [2025-03-20 07:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:37:03] Production.INFO: count ==23 [2025-03-20 07:37:03] Production.ERROR: done [2025-03-20 07:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721354') start [2025-03-20 07:37:03] Production.INFO: Account Balance Start. [2025-03-20 07:37:03] Production.INFO: CreateAllLog Start [2025-03-20 07:37:03] Production.INFO: 117 [2025-03-20 07:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721354') end [2025-03-20 07:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:37:03] Production.INFO: 1 [2025-03-20 07:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.ERROR: done [2025-03-20 07:37:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.INFO: ==27012== Releasing lock... [2025-03-20 07:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:37:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:37:04] Production.INFO: Total Charge 0 [2025-03-20 07:37:04] Production.INFO: CreateAllLog End [2025-03-20 07:37:04] Production.INFO: Account Balance End. [2025-03-20 07:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:37:04] Production.INFO: ==27007== Releasing lock... [2025-03-20 07:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:37:05 [end_date_ymd] => 2025-03-20 07:37:05 [RateCDR] => 1 ) [2025-03-20 07:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:37:05' and `end` < '2025-03-20 07:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:37:11] Production.ERROR: CronJobId end10 [2025-03-20 07:37:11] Production.INFO: ==27005== Releasing lock... [2025-03-20 07:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:37:13] Production.INFO: call_cost start [2025-03-20 07:37:13] Production.INFO: call_cost end [2025-03-20 07:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:37:14] Production.INFO: ==27001== Releasing lock... [2025-03-20 07:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:37:17] Production.INFO: count ==100 [2025-03-20 07:37:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:37:05 - End Time 2025-03-20 07:37:05 [2025-03-20 07:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721356', 'tblTempUsageDetail_20' ) start [2025-03-20 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721356', 'tblTempUsageDetail_20' ) end [2025-03-20 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721356', 'tblTempVendorCDR_20' ) start [2025-03-20 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721356', 'tblTempVendorCDR_20' ) end [2025-03-20 07:37:17] Production.INFO: ProcessCDR(1,14721356,1,1,2) [2025-03-20 07:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721356', 'tblTempUsageDetail_20' ) start [2025-03-20 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721356', 'tblTempUsageDetail_20' ) end [2025-03-20 07:37:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:37:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:37:21] Production.INFO: ==27010== Releasing lock... [2025-03-20 07:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:37:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:38:02] Production.INFO: ==27071== Lock acquired, processing the job... [2025-03-20 11:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:38:02] Production.INFO: neon service started [2025-03-20 11:38:02] Production.INFO: neon service started [2025-03-20 11:38:02] Production.INFO: ==27071== Releasing lock... [2025-03-20 11:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:38:02] Production.INFO: ==27075== Lock acquired, processing the job... [2025-03-20 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:38:02] Production.INFO: ==27075== Releasing lock... [2025-03-20 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:38:02] Production.INFO: ==27073== Lock acquired, processing the job... [2025-03-20 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:38:02] Production.INFO: ==27073== Releasing lock... [2025-03-20 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:38:03] Production.INFO: ==27078== Lock acquired, processing the job... [2025-03-20 07:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:38:03] Production.INFO: ==27080== Lock acquired, processing the job... [2025-03-20 07:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:38:03] Production.INFO: ==27084== Lock acquired, processing the job... [2025-03-20 07:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:38:03] Production.INFO: ==27082== Lock acquired, processing the job... [2025-03-20 07:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:38:04] Production.INFO: Account Balance Start. [2025-03-20 07:38:04] Production.INFO: CreateAllLog Start [2025-03-20 07:38:04] Production.INFO: 117 [2025-03-20 07:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:38:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:38:04] Production.INFO: ==27086== Lock acquired, processing the job... [2025-03-20 07:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.INFO: ==27088== Lock acquired, processing the job... [2025-03-20 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:38:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.INFO: ==27080== Releasing lock... [2025-03-20 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.INFO: count ==12 [2025-03-20 07:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:38:04] Production.INFO: count ==23 [2025-03-20 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721360') start [2025-03-20 07:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.ERROR: done [2025-03-20 07:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721360') end [2025-03-20 07:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:38:04] Production.INFO: 1 [2025-03-20 07:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:38:04] Production.INFO: ==27088== Releasing lock... [2025-03-20 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.ERROR: done [2025-03-20 07:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:38:05] Production.INFO: Total Charge 0 [2025-03-20 07:38:05] Production.INFO: CreateAllLog End [2025-03-20 07:38:05] Production.INFO: Account Balance End. [2025-03-20 07:38:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:38:05] Production.INFO: ==27084== Releasing lock... [2025-03-20 07:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:38:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:38:05 [end_date_ymd] => 2025-03-20 07:38:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:38:05' and `end` < '2025-03-20 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-03-20 07:38:12] Production.ERROR: CronJobId end10 [2025-03-20 07:38:12] Production.INFO: ==27082== Releasing lock... [2025-03-20 07:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:38:14] Production.INFO: call_cost start [2025-03-20 07:38:14] Production.INFO: call_cost end [2025-03-20 07:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:38:15] Production.INFO: ==27078== Releasing lock... [2025-03-20 07:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:38:18] Production.INFO: count ==100 [2025-03-20 07:38:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:38:05 - End Time 2025-03-20 07:38:05 [2025-03-20 07:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721361', 'tblTempUsageDetail_20' ) start [2025-03-20 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721361', 'tblTempUsageDetail_20' ) end [2025-03-20 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721361', 'tblTempVendorCDR_20' ) start [2025-03-20 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721361', 'tblTempVendorCDR_20' ) end [2025-03-20 07:38:18] Production.INFO: ProcessCDR(1,14721361,1,1,2) [2025-03-20 07:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721361', 'tblTempUsageDetail_20' ) start [2025-03-20 07:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721361', 'tblTempUsageDetail_20' ) end [2025-03-20 07:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:38:21] Production.INFO: ==27086== Releasing lock... [2025-03-20 07:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:38:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:39:01] Production.INFO: ==27157== Lock acquired, processing the job... [2025-03-20 11:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:39:01] Production.INFO: neon service started [2025-03-20 11:39:01] Production.INFO: neon service started [2025-03-20 11:39:01] Production.INFO: ==27157== Releasing lock... [2025-03-20 11:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:39:01] Production.INFO: ==27161== Lock acquired, processing the job... [2025-03-20 11:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:39:01] Production.INFO: ==27161== Releasing lock... [2025-03-20 11:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:39:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:39:02] Production.INFO: ==27159== Lock acquired, processing the job... [2025-03-20 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:39:02] Production.INFO: ==27159== Releasing lock... [2025-03-20 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:39:03] Production.INFO: ==27169== Lock acquired, processing the job... [2025-03-20 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:39:03] Production.INFO: ==27174== Lock acquired, processing the job... [2025-03-20 07:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:39:03] Production.INFO: Account Balance Start. [2025-03-20 07:39:03] Production.INFO: CreateAllLog Start [2025-03-20 07:39:03] Production.INFO: 117 [2025-03-20 07:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:03] Production.INFO: ==27163== Lock acquired, processing the job... [2025-03-20 07:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:03] Production.INFO: ==27167== Lock acquired, processing the job... [2025-03-20 07:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:03] Production.INFO: ==27165== Lock acquired, processing the job... [2025-03-20 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:39:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:03] Production.INFO: count ==12 [2025-03-20 07:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:39:03] Production.INFO: count ==23 [2025-03-20 07:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721363') start [2025-03-20 07:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:39:03] Production.INFO: ==27172== Lock acquired, processing the job... [2025-03-20 07:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:39:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:39:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721363') end [2025-03-20 07:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:39:03] Production.INFO: 1 [2025-03-20 07:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:39:03] Production.INFO: ==27174== Releasing lock... [2025-03-20 07:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:39:03] Production.INFO: Date 2025-03-15 [2025-03-20 07:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:03] Production.INFO: Date 2025-03-16 [2025-03-20 07:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:03] Production.ERROR: done [2025-03-20 07:39:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:39:03] Production.INFO: ==27165== Releasing lock... [2025-03-20 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:39:03] Production.INFO: Date 2025-03-17 [2025-03-20 07:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:04] Production.ERROR: done [2025-03-20 07:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:39:04] Production.INFO: Total Charge 0 [2025-03-20 07:39:04] Production.INFO: CreateAllLog End [2025-03-20 07:39:04] Production.INFO: Account Balance End. [2025-03-20 07:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:39:04] Production.INFO: ==27169== Releasing lock... [2025-03-20 07:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:39:05 [end_date_ymd] => 2025-03-20 07:39:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:39:05' and `end` < '2025-03-20 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-03-20 07:39:12] Production.ERROR: CronJobId end10 [2025-03-20 07:39:12] Production.INFO: ==27167== Releasing lock... [2025-03-20 07:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:39:15] Production.INFO: call_cost start [2025-03-20 07:39:15] Production.INFO: call_cost end [2025-03-20 07:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:39:16] Production.INFO: ==27163== Releasing lock... [2025-03-20 07:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:39:17] Production.INFO: count ==104 [2025-03-20 07:39:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:39:05 - End Time 2025-03-20 07:39:05 [2025-03-20 07:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721366', 'tblTempUsageDetail_20' ) start [2025-03-20 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721366', 'tblTempUsageDetail_20' ) end [2025-03-20 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721366', 'tblTempVendorCDR_20' ) start [2025-03-20 07:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721366', 'tblTempVendorCDR_20' ) end [2025-03-20 07:39:17] Production.INFO: ProcessCDR(1,14721366,1,1,2) [2025-03-20 07:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721366', 'tblTempUsageDetail_20' ) start [2025-03-20 07:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721366', 'tblTempUsageDetail_20' ) end [2025-03-20 07:39:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:39:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:39:20] Production.INFO: ==27172== Releasing lock... [2025-03-20 07:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:39:20] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 11:40:01] Production.INFO: ==27284== Lock acquired, processing the job... [2025-03-20 11:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:40:01] Production.INFO: neon service started [2025-03-20 11:40:02] Production.INFO: neon service started [2025-03-20 11:40:02] Production.INFO: ==27284== Releasing lock... [2025-03-20 11:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:40:02] Production.INFO: ==27287== Lock acquired, processing the job... [2025-03-20 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:40:02] Production.INFO: ==27287== Releasing lock... [2025-03-20 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:40:02] Production.INFO: ==27289== Lock acquired, processing the job... [2025-03-20 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:40:02] Production.INFO: ==27289== Releasing lock... [2025-03-20 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:40:03] Production.INFO: ==27293== Lock acquired, processing the job... [2025-03-20 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 07:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 07:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 07:40:03] Production.INFO: ==27293== Releasing lock... [2025-03-20 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 07:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 07:40:03] Production.INFO: ==27297== Lock acquired, processing the job... [2025-03-20 07:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:40:03] Production.INFO: ==27299== Lock acquired, processing the job... [2025-03-20 07:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:40:03] Production.INFO: ==27301== Lock acquired, processing the job... [2025-03-20 07:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:40:03] Production.INFO: ==27295== Lock acquired, processing the job... [2025-03-20 07:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:40:04] Production.INFO: Account Balance Start. [2025-03-20 07:40:04] Production.INFO: CreateAllLog Start [2025-03-20 07:40:04] Production.INFO: 117 [2025-03-20 07:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:04] Production.INFO: ==27303== Lock acquired, processing the job... [2025-03-20 07:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:40:04] Production.INFO: ==27297== Releasing lock... [2025-03-20 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:04] Production.INFO: ==27305== Lock acquired, processing the job... [2025-03-20 07:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 07:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:40:04] Production.INFO: ==27308== Lock acquired, processing the job... [2025-03-20 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:40:04] Production.INFO: count ==12 [2025-03-20 07:40:04] Production.ERROR: done [2025-03-20 07:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 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-03-20 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:04] Production.INFO: count ==23 [2025-03-20 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721370') start [2025-03-20 07:40:04] Production.ERROR: done [2025-03-20 07:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:04] Production.ERROR: done [2025-03-20 07:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 07:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721372', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 07:40:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721370') end [2025-03-20 07:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:40:04] Production.INFO: 1 [2025-03-20 07:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:40:05] Production.INFO: Date 2025-03-18 [2025-03-20 07:40:05] Production.INFO: ==27308== Releasing lock... [2025-03-20 07:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:40:05] Production.INFO: Total Charge 0 [2025-03-20 07:40:05] Production.INFO: CreateAllLog End [2025-03-20 07:40:05] Production.INFO: Account Balance End. [2025-03-20 07:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:40:05] Production.INFO: ==27301== Releasing lock... [2025-03-20 07:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:40:06 [end_date_ymd] => 2025-03-20 07:40:06 [RateCDR] => 1 ) [2025-03-20 07:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:40:06' and `end` < '2025-03-20 07:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721372', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 07:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 07:40:09] Production.INFO: ProcessCDR(1,14721372,1,1,2) [2025-03-20 07:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721372,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721372,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:40:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:40:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:40:10] Production.INFO: ==27305== Releasing lock... [2025-03-20 07:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 07:40:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 07:40:14] Production.ERROR: CronJobId end10 [2025-03-20 07:40:14] Production.INFO: ==27299== Releasing lock... [2025-03-20 07:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:40:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:40:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:40:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:40:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:40:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:40:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:40:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:40:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:40:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:40:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:40:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:40:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:40:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:40:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:40:17] Production.INFO: call_cost start [2025-03-20 07:40:17] Production.INFO: call_cost end [2025-03-20 07:40:18] Production.INFO: count ==113 [2025-03-20 07:40:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:40:06 - End Time 2025-03-20 07:40:06 [2025-03-20 07:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721371', 'tblTempUsageDetail_20' ) start [2025-03-20 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721371', 'tblTempUsageDetail_20' ) end [2025-03-20 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721371', 'tblTempVendorCDR_20' ) start [2025-03-20 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721371', 'tblTempVendorCDR_20' ) end [2025-03-20 07:40:18] Production.INFO: ProcessCDR(1,14721371,1,1,2) [2025-03-20 07:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:40:18] Production.INFO: ==27295== Releasing lock... [2025-03-20 07:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721371', 'tblTempUsageDetail_20' ) start [2025-03-20 07:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721371', 'tblTempUsageDetail_20' ) end [2025-03-20 07:40:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:40:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:40:21] Production.INFO: ==27303== Releasing lock... [2025-03-20 07:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:40:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 11:41:01] Production.INFO: ==27407== Lock acquired, processing the job... [2025-03-20 11:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:41:01] Production.INFO: neon service started [2025-03-20 11:41:01] Production.INFO: neon service started [2025-03-20 11:41:01] Production.INFO: ==27407== Releasing lock... [2025-03-20 11:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:41:02] Production.INFO: ==27409== Lock acquired, processing the job... [2025-03-20 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:41:02] Production.INFO: ==27411== Lock acquired, processing the job... [2025-03-20 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:41:02] Production.INFO: ==27411== Releasing lock... [2025-03-20 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:41:02] Production.INFO: ==27409== Releasing lock... [2025-03-20 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:41:03] Production.INFO: ==27416== Lock acquired, processing the job... [2025-03-20 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:41:03] Production.INFO: ==27418== Lock acquired, processing the job... [2025-03-20 07:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:41:03] Production.INFO: ==27424== Lock acquired, processing the job... [2025-03-20 07:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:41:03] Production.INFO: count ==12 [2025-03-20 07:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:41:03] Production.INFO: count ==23 [2025-03-20 07:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721374') start [2025-03-20 07:41:03] Production.INFO: ==27420== Lock acquired, processing the job... [2025-03-20 07:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:41:03] Production.INFO: ==27414== Lock acquired, processing the job... [2025-03-20 07:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:41:03] Production.INFO: ==27422== Lock acquired, processing the job... [2025-03-20 07:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:41:03] Production.INFO: Account Balance Start. [2025-03-20 07:41:03] Production.INFO: CreateAllLog Start [2025-03-20 07:41:03] Production.INFO: 117 [2025-03-20 07:41:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721374') end [2025-03-20 07:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:41:03] Production.INFO: 1 [2025-03-20 07:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:41:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:03] Production.INFO: ==27424== Releasing lock... [2025-03-20 07:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:41:03] Production.INFO: ==27416== Releasing lock... [2025-03-20 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:41:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:03] Production.ERROR: done [2025-03-20 07:41:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:41:03] Production.INFO: Date 2025-03-15 [2025-03-20 07:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:03] Production.INFO: Date 2025-03-16 [2025-03-20 07:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:04] Production.ERROR: done [2025-03-20 07:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:41:04] Production.INFO: Total Charge 0 [2025-03-20 07:41:04] Production.INFO: CreateAllLog End [2025-03-20 07:41:04] Production.INFO: Account Balance End. [2025-03-20 07:41:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:41:04] Production.INFO: ==27420== Releasing lock... [2025-03-20 07:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:41:05 [end_date_ymd] => 2025-03-20 07:41:05 [RateCDR] => 1 ) [2025-03-20 07:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:41:05' and `end` < '2025-03-20 07:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:41:12] Production.ERROR: CronJobId end10 [2025-03-20 07:41:12] Production.INFO: ==27418== Releasing lock... [2025-03-20 07:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:41:14] Production.INFO: call_cost start [2025-03-20 07:41:14] Production.INFO: call_cost end [2025-03-20 07:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:41:15] Production.INFO: ==27414== Releasing lock... [2025-03-20 07:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:41:17] Production.INFO: count ==118 [2025-03-20 07:41:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:41:05 - End Time 2025-03-20 07:41:05 [2025-03-20 07:41:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721377', 'tblTempUsageDetail_20' ) start [2025-03-20 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721377', 'tblTempUsageDetail_20' ) end [2025-03-20 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721377', 'tblTempVendorCDR_20' ) start [2025-03-20 07:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721377', 'tblTempVendorCDR_20' ) end [2025-03-20 07:41:17] Production.INFO: ProcessCDR(1,14721377,1,1,2) [2025-03-20 07:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721377,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721377,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721377', 'tblTempUsageDetail_20' ) start [2025-03-20 07:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721377', 'tblTempUsageDetail_20' ) end [2025-03-20 07:41:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:41:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:41:20] Production.INFO: ==27422== Releasing lock... [2025-03-20 07:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:41:20] Production.INFO: 29 MB #Memory Used# [2025-03-20 11:42:01] Production.INFO: ==27529== Lock acquired, processing the job... [2025-03-20 11:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:42:01] Production.INFO: neon service started [2025-03-20 11:42:01] Production.INFO: neon service started [2025-03-20 11:42:01] Production.INFO: ==27529== Releasing lock... [2025-03-20 11:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:42:02] Production.INFO: ==27533== Lock acquired, processing the job... [2025-03-20 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:42:02] Production.INFO: ==27533== Releasing lock... [2025-03-20 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:42:02] Production.INFO: ==27531== Lock acquired, processing the job... [2025-03-20 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:42:02] Production.INFO: ==27531== Releasing lock... [2025-03-20 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:42:03] Production.INFO: ==27542== Lock acquired, processing the job... [2025-03-20 07:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:42:03] Production.INFO: ==27544== Lock acquired, processing the job... [2025-03-20 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:42:03] Production.INFO: ==27546== Lock acquired, processing the job... [2025-03-20 07:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:42:03] Production.INFO: Account Balance Start. [2025-03-20 07:42:03] Production.INFO: CreateAllLog Start [2025-03-20 07:42:03] Production.INFO: 117 [2025-03-20 07:42:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:42:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:04] Production.INFO: ==27540== Lock acquired, processing the job... [2025-03-20 07:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:42:04] Production.INFO: ==27538== Lock acquired, processing the job... [2025-03-20 07:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:04] Production.INFO: ==27548== Lock acquired, processing the job... [2025-03-20 07:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:42:04] Production.ERROR: done [2025-03-20 07:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:04] Production.INFO: count ==12 [2025-03-20 07:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:42:04] Production.INFO: count ==23 [2025-03-20 07:42:04] Production.ERROR: done [2025-03-20 07:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721381') start [2025-03-20 07:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:42:04] Production.INFO: ==27540== Releasing lock... [2025-03-20 07:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721381') end [2025-03-20 07:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:42:04] Production.INFO: 1 [2025-03-20 07:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:42:04] Production.INFO: ==27548== Releasing lock... [2025-03-20 07:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:42:04] Production.INFO: Total Charge 0 [2025-03-20 07:42:04] Production.INFO: CreateAllLog End [2025-03-20 07:42:05] Production.INFO: Account Balance End. [2025-03-20 07:42:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:42:05] Production.INFO: ==27544== Releasing lock... [2025-03-20 07:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:42:05 [end_date_ymd] => 2025-03-20 07:42:05 [RateCDR] => 1 ) [2025-03-20 07:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:42:05' and `end` < '2025-03-20 07:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:42:12] Production.ERROR: CronJobId end10 [2025-03-20 07:42:12] Production.INFO: ==27542== Releasing lock... [2025-03-20 07:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:42:15] Production.INFO: call_cost start [2025-03-20 07:42:15] Production.INFO: call_cost end [2025-03-20 07:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:42:16] Production.INFO: ==27538== Releasing lock... [2025-03-20 07:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:42:17] Production.INFO: count ==119 [2025-03-20 07:42:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:42:05 - End Time 2025-03-20 07:42:05 [2025-03-20 07:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721382', 'tblTempUsageDetail_20' ) start [2025-03-20 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721382', 'tblTempUsageDetail_20' ) end [2025-03-20 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721382', 'tblTempVendorCDR_20' ) start [2025-03-20 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721382', 'tblTempVendorCDR_20' ) end [2025-03-20 07:42:18] Production.INFO: ProcessCDR(1,14721382,1,1,2) [2025-03-20 07:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721382,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721382,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721382', 'tblTempUsageDetail_20' ) start [2025-03-20 07:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721382', 'tblTempUsageDetail_20' ) end [2025-03-20 07:42:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:42:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:42:23] Production.INFO: ==27546== Releasing lock... [2025-03-20 07:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:42:23] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:43:02] Production.INFO: ==27629== Lock acquired, processing the job... [2025-03-20 11:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:43:02] Production.INFO: neon service started [2025-03-20 11:43:02] Production.INFO: neon service started [2025-03-20 11:43:02] Production.INFO: ==27629== Releasing lock... [2025-03-20 11:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:43:02] Production.INFO: ==27633== Lock acquired, processing the job... [2025-03-20 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:43:03] Production.INFO: ==27633== Releasing lock... [2025-03-20 07:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:43:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:43:03] Production.INFO: ==27635== Lock acquired, processing the job... [2025-03-20 11:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:43:03] Production.INFO: ==27635== Releasing lock... [2025-03-20 11:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:43:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:43:04] Production.INFO: ==27637== Lock acquired, processing the job... [2025-03-20 07:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:43:04] Production.INFO: ==27641== Lock acquired, processing the job... [2025-03-20 07:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:43:04] Production.INFO: ==27639== Lock acquired, processing the job... [2025-03-20 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:43:04] Production.INFO: ==27646== Lock acquired, processing the job... [2025-03-20 07:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:43:04] Production.INFO: ==27644== Lock acquired, processing the job... [2025-03-20 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:43:04] Production.INFO: ==27648== Lock acquired, processing the job... [2025-03-20 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:43:04] Production.INFO: Account Balance Start. [2025-03-20 07:43:04] Production.INFO: CreateAllLog Start [2025-03-20 07:43:04] Production.INFO: 117 [2025-03-20 07:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:43:04] Production.INFO: count ==12 [2025-03-20 07:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:43:04] Production.INFO: count ==23 [2025-03-20 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721386') start [2025-03-20 07:43:04] Production.INFO: ==27639== Releasing lock... [2025-03-20 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:43:04] Production.ERROR: done [2025-03-20 07:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721386') end [2025-03-20 07:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:43:04] Production.INFO: 1 [2025-03-20 07:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:43:04] Production.ERROR: done [2025-03-20 07:43:05] Production.INFO: Date 2025-03-18 [2025-03-20 07:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:43:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:43:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:43:05] Production.INFO: ==27648== Releasing lock... [2025-03-20 07:43:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:43:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:43:05] Production.INFO: Total Charge 0 [2025-03-20 07:43:05] Production.INFO: CreateAllLog End [2025-03-20 07:43:05] Production.INFO: Account Balance End. [2025-03-20 07:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:43:05] Production.INFO: ==27644== Releasing lock... [2025-03-20 07:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:43:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:43:06 [end_date_ymd] => 2025-03-20 07:43:06 [RateCDR] => 1 ) [2025-03-20 07:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:43:06' and `end` < '2025-03-20 07:43:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:43:13] Production.ERROR: CronJobId end10 [2025-03-20 07:43:13] Production.INFO: ==27641== Releasing lock... [2025-03-20 07:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:43:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:43:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:43:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:43:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:43:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:43:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:43:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:43:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:43:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:43:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:43:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:43:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:43:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:43:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:43:16] Production.INFO: call_cost start [2025-03-20 07:43:16] Production.INFO: call_cost end [2025-03-20 07:43:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:43:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:43:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:43:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:43:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:43:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:43:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:43:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:43:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:43:17] Production.INFO: ==27637== Releasing lock... [2025-03-20 07:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:43:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:43:18] Production.INFO: count ==121 [2025-03-20 07:43:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:43:06 - End Time 2025-03-20 07:43:06 [2025-03-20 07:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721387', 'tblTempUsageDetail_20' ) start [2025-03-20 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721387', 'tblTempUsageDetail_20' ) end [2025-03-20 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721387', 'tblTempVendorCDR_20' ) start [2025-03-20 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721387', 'tblTempVendorCDR_20' ) end [2025-03-20 07:43:18] Production.INFO: ProcessCDR(1,14721387,1,1,2) [2025-03-20 07:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721387,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721387,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721387', 'tblTempUsageDetail_20' ) start [2025-03-20 07:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721387', 'tblTempUsageDetail_20' ) end [2025-03-20 07:43:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:43:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:43:22] Production.INFO: ==27646== Releasing lock... [2025-03-20 07:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:43:22] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:44:01] Production.INFO: ==27722== Lock acquired, processing the job... [2025-03-20 11:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:44:01] Production.INFO: neon service started [2025-03-20 11:44:01] Production.INFO: neon service started [2025-03-20 11:44:01] Production.INFO: ==27722== Releasing lock... [2025-03-20 11:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:44:02] Production.INFO: ==27726== Lock acquired, processing the job... [2025-03-20 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:44:02] Production.INFO: ==27726== Releasing lock... [2025-03-20 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:44:02] Production.INFO: ==27724== Lock acquired, processing the job... [2025-03-20 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:44:02] Production.INFO: ==27724== Releasing lock... [2025-03-20 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:44:03] Production.INFO: ==27731== Lock acquired, processing the job... [2025-03-20 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:44:03] Production.INFO: ==27735== Lock acquired, processing the job... [2025-03-20 07:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:44:03] Production.INFO: ==27733== Lock acquired, processing the job... [2025-03-20 07:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:44:03] Production.INFO: Account Balance Start. [2025-03-20 07:44:03] Production.INFO: CreateAllLog Start [2025-03-20 07:44:03] Production.INFO: 117 [2025-03-20 07:44:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:03] Production.INFO: ==27739== Lock acquired, processing the job... [2025-03-20 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:44:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:03] Production.INFO: ==27729== Lock acquired, processing the job... [2025-03-20 07:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:44:03] Production.INFO: ==27731== Releasing lock... [2025-03-20 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:44:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:03] Production.INFO: Date 2025-03-15 [2025-03-20 07:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:03] Production.INFO: Date 2025-03-16 [2025-03-20 07:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:04] Production.INFO: ==27737== Lock acquired, processing the job... [2025-03-20 07:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:44:04] Production.INFO: count ==12 [2025-03-20 07:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:44:04] Production.INFO: count ==23 [2025-03-20 07:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721390') start [2025-03-20 07:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721390') end [2025-03-20 07:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:44:04] Production.INFO: 1 [2025-03-20 07:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:44:04] Production.INFO: Total Charge 0 [2025-03-20 07:44:04] Production.INFO: CreateAllLog End [2025-03-20 07:44:04] Production.INFO: ==27739== Releasing lock... [2025-03-20 07:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:44:04] Production.ERROR: done [2025-03-20 07:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:44:04] Production.ERROR: done [2025-03-20 07:44:04] Production.INFO: Account Balance End. [2025-03-20 07:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:44:04] Production.INFO: ==27735== Releasing lock... [2025-03-20 07:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:44:05 [end_date_ymd] => 2025-03-20 07:44:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:44:05' and `end` < '2025-03-20 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-03-20 07:44:11] Production.ERROR: CronJobId end10 [2025-03-20 07:44:11] Production.INFO: ==27733== Releasing lock... [2025-03-20 07:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:44:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:44:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:44:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:44:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:44:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:44:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:44:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:44:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:44:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:44:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:44:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:44:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:44:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:44:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:44:15] Production.INFO: call_cost start [2025-03-20 07:44:15] Production.INFO: call_cost end [2025-03-20 07:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:44:16] Production.INFO: ==27729== Releasing lock... [2025-03-20 07:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:44:17] Production.INFO: count ==121 [2025-03-20 07:44:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:44:05 - End Time 2025-03-20 07:44:05 [2025-03-20 07:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721392', 'tblTempUsageDetail_20' ) start [2025-03-20 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721392', 'tblTempUsageDetail_20' ) end [2025-03-20 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721392', 'tblTempVendorCDR_20' ) start [2025-03-20 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721392', 'tblTempVendorCDR_20' ) end [2025-03-20 07:44:17] Production.INFO: ProcessCDR(1,14721392,1,1,2) [2025-03-20 07:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721392,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721392,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721392', 'tblTempUsageDetail_20' ) start [2025-03-20 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721392', 'tblTempUsageDetail_20' ) end [2025-03-20 07:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:44:21] Production.INFO: ==27737== Releasing lock... [2025-03-20 07:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:44:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:45:02] Production.INFO: ==27819== Lock acquired, processing the job... [2025-03-20 11:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:45:02] Production.INFO: neon service started [2025-03-20 11:45:02] Production.INFO: neon service started [2025-03-20 11:45:02] Production.INFO: ==27819== Releasing lock... [2025-03-20 11:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:45:02] Production.INFO: ==27822== Lock acquired, processing the job... [2025-03-20 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:45:03] Production.INFO: ==27822== Releasing lock... [2025-03-20 07:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:45:03] Production.INFO: ==27824== Lock acquired, processing the job... [2025-03-20 11:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:45:03] Production.INFO: ==27824== Releasing lock... [2025-03-20 11:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:45:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:45:03] Production.INFO: ==27830== Lock acquired, processing the job... [2025-03-20 07:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:45:04] Production.INFO: ==27826== Lock acquired, processing the job... [2025-03-20 07:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:45:04] Production.INFO: ==27836== Lock acquired, processing the job... [2025-03-20 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:45:04] Production.INFO: ==27828== Lock acquired, processing the job... [2025-03-20 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 07:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:45:04] Production.INFO: ==27832== Lock acquired, processing the job... [2025-03-20 07:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:45:04] Production.INFO: count ==12 [2025-03-20 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-03-20 07:45:04] Production.INFO: count ==23 [2025-03-20 07:45:04] Production.INFO: ==27834== Lock acquired, processing the job... [2025-03-20 07:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721393') start [2025-03-20 07:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:45:04] Production.INFO: Account Balance Start. [2025-03-20 07:45:04] Production.INFO: CreateAllLog Start [2025-03-20 07:45:04] Production.INFO: 117 [2025-03-20 07:45:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721393') end [2025-03-20 07:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:45:04] Production.INFO: 1 [2025-03-20 07:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:04] Production.INFO: ==27836== Releasing lock... [2025-03-20 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:04] Production.INFO: ==27828== Releasing lock... [2025-03-20 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:04] Production.ERROR: done [2025-03-20 07:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:05] Production.ERROR: done [2025-03-20 07:45:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:45:05] Production.INFO: Total Charge 0 [2025-03-20 07:45:05] Production.INFO: CreateAllLog End [2025-03-20 07:45:05] Production.INFO: Account Balance End. [2025-03-20 07:45:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:45:05] Production.INFO: ==27832== Releasing lock... [2025-03-20 07:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:45:06 [end_date_ymd] => 2025-03-20 07:45:06 [RateCDR] => 1 ) [2025-03-20 07:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:45:06' and `end` < '2025-03-20 07:45:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:45:12] Production.ERROR: CronJobId end10 [2025-03-20 07:45:12] Production.INFO: ==27830== Releasing lock... [2025-03-20 07:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:45:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:45:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:45:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:45:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:45:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:45:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:45:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:45:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:45:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:45:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:45:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:45:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:45:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:45:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:45:15] Production.INFO: call_cost start [2025-03-20 07:45:15] Production.INFO: call_cost end [2025-03-20 07:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:45:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:45:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:45:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:45:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:45:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:45:16] Production.INFO: ==27826== Releasing lock... [2025-03-20 07:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:45:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:45:18] Production.INFO: count ==122 [2025-03-20 07:45:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:45:06 - End Time 2025-03-20 07:45:06 [2025-03-20 07:45:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721397', 'tblTempUsageDetail_20' ) start [2025-03-20 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721397', 'tblTempUsageDetail_20' ) end [2025-03-20 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721397', 'tblTempVendorCDR_20' ) start [2025-03-20 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721397', 'tblTempVendorCDR_20' ) end [2025-03-20 07:45:18] Production.INFO: ProcessCDR(1,14721397,1,1,2) [2025-03-20 07:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721397', 'tblTempUsageDetail_20' ) start [2025-03-20 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721397', 'tblTempUsageDetail_20' ) end [2025-03-20 07:45:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:45:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:45:21] Production.INFO: ==27834== Releasing lock... [2025-03-20 07:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:45:21] Production.INFO: 29 MB #Memory Used# [2025-03-20 11:46:01] Production.INFO: ==27902== Lock acquired, processing the job... [2025-03-20 11:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:46:01] Production.INFO: neon service started [2025-03-20 11:46:01] Production.INFO: neon service started [2025-03-20 11:46:01] Production.INFO: ==27902== Releasing lock... [2025-03-20 11:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:46:02] Production.INFO: ==27906== Lock acquired, processing the job... [2025-03-20 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:46:02] Production.INFO: ==27906== Releasing lock... [2025-03-20 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:46:02] Production.INFO: ==27904== Lock acquired, processing the job... [2025-03-20 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:46:02] Production.INFO: ==27904== Releasing lock... [2025-03-20 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:46:03] Production.INFO: ==27913== Lock acquired, processing the job... [2025-03-20 07:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:46:03] Production.INFO: ==27915== Lock acquired, processing the job... [2025-03-20 07:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:46:03] Production.INFO: ==27919== Lock acquired, processing the job... [2025-03-20 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:46:03] Production.INFO: Account Balance Start. [2025-03-20 07:46:03] Production.INFO: CreateAllLog Start [2025-03-20 07:46:03] Production.INFO: 117 [2025-03-20 07:46:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 07:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:03] Production.INFO: count ==12 [2025-03-20 07:46:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:46:03] Production.INFO: count ==23 [2025-03-20 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721399') start [2025-03-20 07:46:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:03] Production.INFO: ==27909== Lock acquired, processing the job... [2025-03-20 07:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:46:03] Production.INFO: ==27911== Lock acquired, processing the job... [2025-03-20 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:46:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721399') end [2025-03-20 07:46:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:46:03] Production.INFO: 1 [2025-03-20 07:46:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:46:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:46:03] Production.INFO: ==27919== Releasing lock... [2025-03-20 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:46:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:03] Production.INFO: ==27917== Lock acquired, processing the job... [2025-03-20 07:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:46:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:03] Production.INFO: Date 2025-03-15 [2025-03-20 07:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:03] Production.INFO: Date 2025-03-16 [2025-03-20 07:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:46:03] Production.INFO: Date 2025-03-17 [2025-03-20 07:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:46:04] Production.INFO: Total Charge 0 [2025-03-20 07:46:04] Production.INFO: CreateAllLog End [2025-03-20 07:46:04] Production.ERROR: done [2025-03-20 07:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:46:04] Production.INFO: ==27911== Releasing lock... [2025-03-20 07:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:46:04] Production.INFO: Account Balance End. [2025-03-20 07:46:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:46:04] Production.INFO: ==27915== Releasing lock... [2025-03-20 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:46:04] Production.ERROR: done [2025-03-20 07:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:46:05 [end_date_ymd] => 2025-03-20 07:46:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:46:05' and `end` < '2025-03-20 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-03-20 07:46:11] Production.ERROR: CronJobId end10 [2025-03-20 07:46:11] Production.INFO: ==27913== Releasing lock... [2025-03-20 07:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:46:14] Production.INFO: call_cost start [2025-03-20 07:46:14] Production.INFO: call_cost end [2025-03-20 07:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:46:15] Production.INFO: ==27909== Releasing lock... [2025-03-20 07:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:46:17] Production.INFO: count ==127 [2025-03-20 07:46:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:46:05 - End Time 2025-03-20 07:46:05 [2025-03-20 07:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721402', 'tblTempUsageDetail_20' ) start [2025-03-20 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721402', 'tblTempUsageDetail_20' ) end [2025-03-20 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721402', 'tblTempVendorCDR_20' ) start [2025-03-20 07:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721402', 'tblTempVendorCDR_20' ) end [2025-03-20 07:46:17] Production.INFO: ProcessCDR(1,14721402,1,1,2) [2025-03-20 07:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721402', 'tblTempUsageDetail_20' ) start [2025-03-20 07:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721402', 'tblTempUsageDetail_20' ) end [2025-03-20 07:46:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:46:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:46:20] Production.INFO: ==27917== Releasing lock... [2025-03-20 07:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:46:20] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:47:02] Production.INFO: ==27982== Lock acquired, processing the job... [2025-03-20 11:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:47:02] Production.INFO: neon service started [2025-03-20 11:47:02] Production.INFO: neon service started [2025-03-20 11:47:02] Production.INFO: ==27982== Releasing lock... [2025-03-20 11:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:47:02] Production.INFO: ==27986== Lock acquired, processing the job... [2025-03-20 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:47:02] Production.INFO: ==27986== Releasing lock... [2025-03-20 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:47:02] Production.INFO: ==27984== Lock acquired, processing the job... [2025-03-20 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:47:03] Production.INFO: ==27984== Releasing lock... [2025-03-20 07:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:47:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:47:03] Production.INFO: ==27989== Lock acquired, processing the job... [2025-03-20 07:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:47:03] Production.INFO: ==27991== Lock acquired, processing the job... [2025-03-20 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:47:04] Production.INFO: ==27997== Lock acquired, processing the job... [2025-03-20 07:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:47:04] Production.INFO: ==27993== Lock acquired, processing the job... [2025-03-20 07:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:47:04] Production.INFO: ==27995== Lock acquired, processing the job... [2025-03-20 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:47:04] Production.INFO: ==27999== Lock acquired, processing the job... [2025-03-20 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:47:04] Production.INFO: ==27991== Releasing lock... [2025-03-20 07:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 07:47:04] Production.INFO: Account Balance Start. [2025-03-20 07:47:04] Production.INFO: CreateAllLog Start [2025-03-20 07:47:04] Production.INFO: 117 [2025-03-20 07:47:04] Production.ERROR: done [2025-03-20 07:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:47:04] Production.INFO: count ==12 [2025-03-20 07:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 07:47:04] Production.INFO: count ==23 [2025-03-20 07:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721406') start [2025-03-20 07:47:04] Production.ERROR: done [2025-03-20 07:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721406') end [2025-03-20 07:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:47:04] Production.INFO: 1 [2025-03-20 07:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:04] Production.INFO: ==27999== Releasing lock... [2025-03-20 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:05] Production.INFO: Date 2025-03-14 [2025-03-20 07:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:05] Production.INFO: Date 2025-03-15 [2025-03-20 07:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:05] Production.INFO: Date 2025-03-16 [2025-03-20 07:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:05] Production.INFO: Date 2025-03-17 [2025-03-20 07:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:05] Production.INFO: Date 2025-03-18 [2025-03-20 07:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:47:05] Production.INFO: Total Charge 0 [2025-03-20 07:47:05] Production.INFO: CreateAllLog End [2025-03-20 07:47:05] Production.INFO: Account Balance End. [2025-03-20 07:47:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:47:05] Production.INFO: ==27995== Releasing lock... [2025-03-20 07:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:47:05 [end_date_ymd] => 2025-03-20 07:47:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:47:05' and `end` < '2025-03-20 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-03-20 07:47:11] Production.ERROR: CronJobId end10 [2025-03-20 07:47:11] Production.INFO: ==27993== Releasing lock... [2025-03-20 07:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:47:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:47:15] Production.INFO: call_cost start [2025-03-20 07:47:15] Production.INFO: call_cost end [2025-03-20 07:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:47:16] Production.INFO: ==27989== Releasing lock... [2025-03-20 07:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:47:17] Production.INFO: count ==127 [2025-03-20 07:47:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:47:05 - End Time 2025-03-20 07:47:05 [2025-03-20 07:47:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721407', 'tblTempUsageDetail_20' ) start [2025-03-20 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721407', 'tblTempUsageDetail_20' ) end [2025-03-20 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721407', 'tblTempVendorCDR_20' ) start [2025-03-20 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721407', 'tblTempVendorCDR_20' ) end [2025-03-20 07:47:18] Production.INFO: ProcessCDR(1,14721407,1,1,2) [2025-03-20 07:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721407', 'tblTempUsageDetail_20' ) start [2025-03-20 07:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721407', 'tblTempUsageDetail_20' ) end [2025-03-20 07:47:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:47:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:47:21] Production.INFO: ==27997== Releasing lock... [2025-03-20 07:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:47:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:48:01] Production.INFO: ==28069== Lock acquired, processing the job... [2025-03-20 11:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:48:01] Production.INFO: neon service started [2025-03-20 11:48:01] Production.INFO: neon service started [2025-03-20 11:48:01] Production.INFO: ==28069== Releasing lock... [2025-03-20 11:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:48:02] Production.INFO: ==28075== Lock acquired, processing the job... [2025-03-20 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:48:02] Production.INFO: ==28075== Releasing lock... [2025-03-20 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:48:02] Production.INFO: ==28073== Lock acquired, processing the job... [2025-03-20 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:48:02] Production.INFO: ==28073== Releasing lock... [2025-03-20 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:48:03] Production.INFO: ==28079== Lock acquired, processing the job... [2025-03-20 07:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:48:03] Production.INFO: ==28084== Lock acquired, processing the job... [2025-03-20 07:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:48:03] Production.INFO: Account Balance Start. [2025-03-20 07:48:03] Production.INFO: CreateAllLog Start [2025-03-20 07:48:03] Production.INFO: 117 [2025-03-20 07:48:03] Production.INFO: ==28077== Lock acquired, processing the job... [2025-03-20 07:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:48:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:03] Production.INFO: ==28081== Lock acquired, processing the job... [2025-03-20 07:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:48:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:48:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:48:03] Production.INFO: ==28086== Lock acquired, processing the job... [2025-03-20 07:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:48:04] Production.INFO: ==28079== Releasing lock... [2025-03-20 07:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:48:04] Production.INFO: ==28088== Lock acquired, processing the job... [2025-03-20 07:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:04] Production.INFO: count ==12 [2025-03-20 07:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:48:04] Production.INFO: count ==23 [2025-03-20 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721411') start [2025-03-20 07:48:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721411') end [2025-03-20 07:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:48:04] Production.INFO: 1 [2025-03-20 07:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:48:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:48:04] Production.INFO: Total Charge 0 [2025-03-20 07:48:04] Production.ERROR: done [2025-03-20 07:48:04] Production.INFO: CreateAllLog End [2025-03-20 07:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:48:04] Production.INFO: ==28088== Releasing lock... [2025-03-20 07:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:48:04] Production.ERROR: done [2025-03-20 07:48:04] Production.INFO: Account Balance End. [2025-03-20 07:48:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:48:04] Production.INFO: ==28084== Releasing lock... [2025-03-20 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:48:05 [end_date_ymd] => 2025-03-20 07:48:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:48:05' and `end` < '2025-03-20 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-03-20 07:48:12] Production.ERROR: CronJobId end10 [2025-03-20 07:48:12] Production.INFO: ==28081== Releasing lock... [2025-03-20 07:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:48:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:48:15] Production.INFO: call_cost start [2025-03-20 07:48:15] Production.INFO: call_cost end [2025-03-20 07:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:48:16] Production.INFO: ==28077== Releasing lock... [2025-03-20 07:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:48:18] Production.INFO: count ==127 [2025-03-20 07:48:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:48:05 - End Time 2025-03-20 07:48:05 [2025-03-20 07:48:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721412', 'tblTempUsageDetail_20' ) start [2025-03-20 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721412', 'tblTempUsageDetail_20' ) end [2025-03-20 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721412', 'tblTempVendorCDR_20' ) start [2025-03-20 07:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721412', 'tblTempVendorCDR_20' ) end [2025-03-20 07:48:18] Production.INFO: ProcessCDR(1,14721412,1,1,2) [2025-03-20 07:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721412', 'tblTempUsageDetail_20' ) start [2025-03-20 07:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721412', 'tblTempUsageDetail_20' ) end [2025-03-20 07:48:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:48:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:48:21] Production.INFO: ==28086== Releasing lock... [2025-03-20 07:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:48:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:49:02] Production.INFO: ==28157== Lock acquired, processing the job... [2025-03-20 11:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:49:02] Production.INFO: neon service started [2025-03-20 11:49:02] Production.INFO: neon service started [2025-03-20 11:49:02] Production.INFO: ==28157== Releasing lock... [2025-03-20 11:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:49:02] Production.INFO: ==28161== Lock acquired, processing the job... [2025-03-20 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:49:02] Production.INFO: ==28163== Lock acquired, processing the job... [2025-03-20 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:49:02] Production.INFO: ==28163== Releasing lock... [2025-03-20 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:49:03] Production.INFO: ==28161== Releasing lock... [2025-03-20 07:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:49:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:49:03] Production.INFO: ==28165== Lock acquired, processing the job... [2025-03-20 07:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:49:03] Production.INFO: ==28167== Lock acquired, processing the job... [2025-03-20 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:49:03] Production.INFO: ==28173== Lock acquired, processing the job... [2025-03-20 07:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:49:04] Production.INFO: ==28169== Lock acquired, processing the job... [2025-03-20 07:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:49:04] Production.INFO: ==28171== Lock acquired, processing the job... [2025-03-20 07:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:49:04] Production.INFO: ==28167== Releasing lock... [2025-03-20 07:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:49:04] Production.INFO: ==28176== Lock acquired, processing the job... [2025-03-20 07:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:49:04] Production.INFO: Account Balance Start. [2025-03-20 07:49:04] Production.INFO: CreateAllLog Start [2025-03-20 07:49:04] Production.INFO: 117 [2025-03-20 07:49:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:49:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:04] Production.INFO: count ==12 [2025-03-20 07:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:49:04] Production.INFO: count ==23 [2025-03-20 07:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721416') start [2025-03-20 07:49:04] Production.ERROR: done [2025-03-20 07:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:49:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721416') end [2025-03-20 07:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:49:04] Production.INFO: 1 [2025-03-20 07:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:49:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:04] Production.INFO: ==28176== Releasing lock... [2025-03-20 07:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:49:04] Production.ERROR: done [2025-03-20 07:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:49:05] Production.INFO: Total Charge 0 [2025-03-20 07:49:05] Production.INFO: CreateAllLog End [2025-03-20 07:49:05] Production.INFO: Account Balance End. [2025-03-20 07:49:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:49:05] Production.INFO: ==28171== Releasing lock... [2025-03-20 07:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:49:05 [end_date_ymd] => 2025-03-20 07:49:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:49:05' and `end` < '2025-03-20 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-03-20 07:49:12] Production.ERROR: CronJobId end10 [2025-03-20 07:49:12] Production.INFO: ==28169== Releasing lock... [2025-03-20 07:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:49:14] Production.INFO: call_cost start [2025-03-20 07:49:14] Production.INFO: call_cost end [2025-03-20 07:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:49:15] Production.INFO: ==28165== Releasing lock... [2025-03-20 07:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:49:17] Production.INFO: count ==127 [2025-03-20 07:49:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:49:05 - End Time 2025-03-20 07:49:05 [2025-03-20 07:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721417', 'tblTempUsageDetail_20' ) start [2025-03-20 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721417', 'tblTempUsageDetail_20' ) end [2025-03-20 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721417', 'tblTempVendorCDR_20' ) start [2025-03-20 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721417', 'tblTempVendorCDR_20' ) end [2025-03-20 07:49:17] Production.INFO: ProcessCDR(1,14721417,1,1,2) [2025-03-20 07:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721417', 'tblTempUsageDetail_20' ) start [2025-03-20 07:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721417', 'tblTempUsageDetail_20' ) end [2025-03-20 07:49:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:49:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:49:20] Production.INFO: ==28173== Releasing lock... [2025-03-20 07:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:49:20] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:50:01] Production.INFO: ==28247== Lock acquired, processing the job... [2025-03-20 11:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:50:01] Production.INFO: neon service started [2025-03-20 11:50:01] Production.INFO: neon service started [2025-03-20 11:50:01] Production.INFO: ==28247== Releasing lock... [2025-03-20 11:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:50:02] Production.INFO: ==28249== Lock acquired, processing the job... [2025-03-20 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:50:02] Production.INFO: ==28251== Lock acquired, processing the job... [2025-03-20 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:50:02] Production.INFO: ==28251== Releasing lock... [2025-03-20 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:50:02] Production.INFO: ==28249== Releasing lock... [2025-03-20 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:50:03] Production.INFO: ==28258== Lock acquired, processing the job... [2025-03-20 07:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:50:03] Production.INFO: ==28254== Lock acquired, processing the job... [2025-03-20 07:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 07:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 07:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 07:50:04] Production.ERROR: CronJob PID - 28258 [2025-03-20 07:50:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 07:50:04] Production.ERROR: CronJob ID - 7 [2025-03-20 07:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 07:50:00 [2025-03-20 07:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 07:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 07:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 07:50:04] Production.INFO: ==28254== Releasing lock... [2025-03-20 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 07:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 07:50:04] Production.INFO: ==28256== Lock acquired, processing the job... [2025-03-20 07:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:50:04] Production.INFO: ==28262== Lock acquired, processing the job... [2025-03-20 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:50:04] Production.INFO: Account Balance Start. [2025-03-20 07:50:04] Production.INFO: CreateAllLog Start [2025-03-20 07:50:04] Production.INFO: ==28260== Lock acquired, processing the job... [2025-03-20 07:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:50:04] Production.INFO: 117 [2025-03-20 07:50:04] Production.INFO: ==28258== Releasing lock... [2025-03-20 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:50:04] Production.INFO: ==28268== Lock acquired, processing the job... [2025-03-20 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:04] Production.INFO: ==28264== Lock acquired, processing the job... [2025-03-20 07:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:50:04] Production.INFO: count ==12 [2025-03-20 07:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:04] Production.INFO: ==28266== Lock acquired, processing the job... [2025-03-20 07:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 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-03-20 07:50:04] Production.INFO: count ==23 [2025-03-20 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721421') start [2025-03-20 07:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721421') end [2025-03-20 07:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:50:04] Production.INFO: 1 [2025-03-20 07:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 07:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 07:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:05] Production.INFO: ==28268== Releasing lock... [2025-03-20 07:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:50:05] Production.ERROR: done [2025-03-20 07:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 07:50:05] Production.ERROR: done [2025-03-20 07:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 07:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721422', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 07:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:05] Production.ERROR: done [2025-03-20 07:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:50:05] Production.INFO: Total Charge 0 [2025-03-20 07:50:05] Production.INFO: CreateAllLog End [2025-03-20 07:50:05] Production.INFO: Account Balance End. [2025-03-20 07:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:50:05] Production.INFO: ==28262== Releasing lock... [2025-03-20 07:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:50:06 [end_date_ymd] => 2025-03-20 07:50:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:50:06' and `end` < '2025-03-20 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-03-20 07:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721422', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 07:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 07:50:09] Production.INFO: ProcessCDR(1,14721422,1,1,2) [2025-03-20 07:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721422,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721422,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:50:09] Production.INFO: ==28266== Releasing lock... [2025-03-20 07:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 07:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 07:50:14] Production.ERROR: CronJobId end10 [2025-03-20 07:50:14] Production.INFO: ==28260== Releasing lock... [2025-03-20 07:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:50:16] Production.INFO: call_cost start [2025-03-20 07:50:16] Production.INFO: call_cost end [2025-03-20 07:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:50:17] Production.INFO: ==28256== Releasing lock... [2025-03-20 07:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:50:18] Production.INFO: count ==127 [2025-03-20 07:50:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:50:06 - End Time 2025-03-20 07:50:06 [2025-03-20 07:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721423', 'tblTempUsageDetail_20' ) start [2025-03-20 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721423', 'tblTempUsageDetail_20' ) end [2025-03-20 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721423', 'tblTempVendorCDR_20' ) start [2025-03-20 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721423', 'tblTempVendorCDR_20' ) end [2025-03-20 07:50:18] Production.INFO: ProcessCDR(1,14721423,1,1,2) [2025-03-20 07:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721423,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721423,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721423', 'tblTempUsageDetail_20' ) start [2025-03-20 07:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721423', 'tblTempUsageDetail_20' ) end [2025-03-20 07:50:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:50:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:50:21] Production.INFO: ==28264== Releasing lock... [2025-03-20 07:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:50:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 11:51:02] Production.INFO: ==28340== Lock acquired, processing the job... [2025-03-20 11:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:51:02] Production.INFO: neon service started [2025-03-20 11:51:02] Production.INFO: neon service started [2025-03-20 11:51:02] Production.INFO: ==28340== Releasing lock... [2025-03-20 11:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:51:02] Production.INFO: ==28344== Lock acquired, processing the job... [2025-03-20 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:51:02] Production.INFO: ==28344== Releasing lock... [2025-03-20 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:51:02] Production.INFO: ==28342== Lock acquired, processing the job... [2025-03-20 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:51:02] Production.INFO: ==28342== Releasing lock... [2025-03-20 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:51:03] Production.INFO: ==28349== Lock acquired, processing the job... [2025-03-20 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:51:03] Production.INFO: ==28347== Lock acquired, processing the job... [2025-03-20 07:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:51:03] Production.INFO: ==28353== Lock acquired, processing the job... [2025-03-20 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:51:04] Production.INFO: Account Balance Start. [2025-03-20 07:51:04] Production.INFO: CreateAllLog Start [2025-03-20 07:51:04] Production.INFO: 117 [2025-03-20 07:51:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.INFO: ==28349== Releasing lock... [2025-03-20 07:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:51:04] Production.INFO: ==28351== Lock acquired, processing the job... [2025-03-20 07:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:51:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:51:04] Production.INFO: ==28355== Lock acquired, processing the job... [2025-03-20 07:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.INFO: ==28357== Lock acquired, processing the job... [2025-03-20 07:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07: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-03-20 07:51:04] Production.INFO: count ==12 [2025-03-20 07:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:51:04] Production.ERROR: done [2025-03-20 07:51:04] Production.INFO: count ==23 [2025-03-20 07:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721427') start [2025-03-20 07:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:51:04] Production.INFO: Total Charge 0 [2025-03-20 07:51:04] Production.INFO: CreateAllLog End [2025-03-20 07:51:05] Production.ERROR: done [2025-03-20 07:51:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721427') end [2025-03-20 07:51:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:51:05] Production.INFO: 1 [2025-03-20 07:51:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:51:05] Production.INFO: ==28357== Releasing lock... [2025-03-20 07:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:51:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:51:05] Production.INFO: Account Balance End. [2025-03-20 07:51:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:51:05] Production.INFO: ==28353== Releasing lock... [2025-03-20 07:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:51:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:51:06 [end_date_ymd] => 2025-03-20 07:51:06 [RateCDR] => 1 ) [2025-03-20 07:51:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:51:06' and `end` < '2025-03-20 07:51:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:51:12] Production.ERROR: CronJobId end10 [2025-03-20 07:51:12] Production.INFO: ==28351== Releasing lock... [2025-03-20 07:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:51:14] Production.INFO: call_cost start [2025-03-20 07:51:14] Production.INFO: call_cost end [2025-03-20 07:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:51:15] Production.INFO: ==28347== Releasing lock... [2025-03-20 07:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:51:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:51:18] Production.INFO: count ==128 [2025-03-20 07:51:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:51:06 - End Time 2025-03-20 07:51:06 [2025-03-20 07:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721428', 'tblTempUsageDetail_20' ) start [2025-03-20 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721428', 'tblTempUsageDetail_20' ) end [2025-03-20 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721428', 'tblTempVendorCDR_20' ) start [2025-03-20 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721428', 'tblTempVendorCDR_20' ) end [2025-03-20 07:51:18] Production.INFO: ProcessCDR(1,14721428,1,1,2) [2025-03-20 07:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721428,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721428,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721428', 'tblTempUsageDetail_20' ) start [2025-03-20 07:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721428', 'tblTempUsageDetail_20' ) end [2025-03-20 07:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:51:23] Production.INFO: ==28355== Releasing lock... [2025-03-20 07:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:51:23] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 11:52:01] Production.INFO: ==28429== Lock acquired, processing the job... [2025-03-20 11:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:52:01] Production.INFO: neon service started [2025-03-20 11:52:01] Production.INFO: neon service started [2025-03-20 11:52:01] Production.INFO: ==28429== Releasing lock... [2025-03-20 11:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:52:01] Production.INFO: ==28433== Lock acquired, processing the job... [2025-03-20 11:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:52:01] Production.INFO: ==28433== Releasing lock... [2025-03-20 11:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:52:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:52:02] Production.INFO: ==28431== Lock acquired, processing the job... [2025-03-20 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:52:02] Production.INFO: ==28431== Releasing lock... [2025-03-20 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:52:03] Production.INFO: ==28438== Lock acquired, processing the job... [2025-03-20 07:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:52:03] Production.INFO: ==28440== Lock acquired, processing the job... [2025-03-20 07:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:52:03] Production.INFO: ==28442== Lock acquired, processing the job... [2025-03-20 07:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:52:03] Production.INFO: ==28438== Releasing lock... [2025-03-20 07:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:52:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:52:03] Production.INFO: ==28436== Lock acquired, processing the job... [2025-03-20 07:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:52:03] Production.INFO: Account Balance Start. [2025-03-20 07:52:03] Production.INFO: CreateAllLog Start [2025-03-20 07:52:03] Production.INFO: 117 [2025-03-20 07:52:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:52:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.INFO: ==28444== Lock acquired, processing the job... [2025-03-20 07:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:52:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:52:03] Production.INFO: ==28446== Lock acquired, processing the job... [2025-03-20 07:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:52:03] Production.INFO: Date 2025-03-15 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:52:03] Production.INFO: Date 2025-03-16 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.INFO: count ==12 [2025-03-20 07:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:52:03] Production.INFO: count ==23 [2025-03-20 07:52:03] Production.INFO: Date 2025-03-17 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.INFO: Date 2025-03-18 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721432') start [2025-03-20 07:52:03] Production.INFO: Date 2025-03-19 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:03] Production.INFO: Date 2025-03-20 [2025-03-20 07:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721432') end [2025-03-20 07:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:52:04] Production.INFO: 1 [2025-03-20 07:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:52:04] Production.INFO: Total Charge 0 [2025-03-20 07:52:04] Production.INFO: CreateAllLog End [2025-03-20 07:52:04] Production.INFO: ==28446== Releasing lock... [2025-03-20 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:52:04] Production.ERROR: done [2025-03-20 07:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:52:04] Production.INFO: Account Balance End. [2025-03-20 07:52:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:52:04] Production.INFO: ==28442== Releasing lock... [2025-03-20 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:52:04] Production.ERROR: done [2025-03-20 07:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:52:05 [end_date_ymd] => 2025-03-20 07:52:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:52:05' and `end` < '2025-03-20 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-03-20 07:52:12] Production.ERROR: CronJobId end10 [2025-03-20 07:52:12] Production.INFO: ==28440== Releasing lock... [2025-03-20 07:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:52:15] Production.INFO: call_cost start [2025-03-20 07:52:15] Production.INFO: call_cost end [2025-03-20 07:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:52:16] Production.INFO: ==28436== Releasing lock... [2025-03-20 07:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:52:17] Production.INFO: count ==128 [2025-03-20 07:52:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:52:05 - End Time 2025-03-20 07:52:05 [2025-03-20 07:52:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721433', 'tblTempUsageDetail_20' ) start [2025-03-20 07:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721433', 'tblTempUsageDetail_20' ) end [2025-03-20 07:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721433', 'tblTempVendorCDR_20' ) start [2025-03-20 07:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721433', 'tblTempVendorCDR_20' ) end [2025-03-20 07:52:17] Production.INFO: ProcessCDR(1,14721433,1,1,2) [2025-03-20 07:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721433,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721433,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721433', 'tblTempUsageDetail_20' ) start [2025-03-20 07:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721433', 'tblTempUsageDetail_20' ) end [2025-03-20 07:52:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:52:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:52:21] Production.INFO: ==28444== Releasing lock... [2025-03-20 07:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:52:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 11:53:02] Production.INFO: ==28512== Lock acquired, processing the job... [2025-03-20 11:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:53:02] Production.INFO: neon service started [2025-03-20 11:53:02] Production.INFO: neon service started [2025-03-20 11:53:02] Production.INFO: ==28512== Releasing lock... [2025-03-20 11:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:53:02] Production.INFO: ==28516== Lock acquired, processing the job... [2025-03-20 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:53:02] Production.INFO: ==28516== Releasing lock... [2025-03-20 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:53:02] Production.INFO: ==28514== Lock acquired, processing the job... [2025-03-20 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:53:03] Production.INFO: ==28514== Releasing lock... [2025-03-20 07:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:53:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:53:03] Production.INFO: ==28518== Lock acquired, processing the job... [2025-03-20 07:53:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10798 #Starts# [2025-03-20 07:53:03] Production.INFO: -- Xero Api Check -- [2025-03-20 07:53:04] Production.INFO: ==28521== Lock acquired, processing the job... [2025-03-20 07:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:53:04] Production.INFO: ==28525== Lock acquired, processing the job... [2025-03-20 07:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:53:04] Production.INFO: ==28523== Lock acquired, processing the job... [2025-03-20 07:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:53:04] Production.INFO: ==28527== Lock acquired, processing the job... [2025-03-20 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:53:04] Production.INFO: ==28531== Lock acquired, processing the job... [2025-03-20 07:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:53:04] Production.INFO: ==28529== Lock acquired, processing the job... [2025-03-20 07:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:53:04] Production.INFO: Account Balance Start. [2025-03-20 07:53:04] Production.INFO: CreateAllLog Start [2025-03-20 07:53:04] Production.INFO: 117 [2025-03-20 07:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:04] Production.INFO: count ==12 [2025-03-20 07:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:53:04] Production.INFO: count ==23 [2025-03-20 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721436') start [2025-03-20 07:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:53:04] Production.INFO: ==28523== Releasing lock... [2025-03-20 07:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721436') end [2025-03-20 07:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:53:04] Production.INFO: 1 [2025-03-20 07:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:04] Production.ERROR: done [2025-03-20 07:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:04] Production.INFO: ==28531== Releasing lock... [2025-03-20 07:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:05] Production.INFO: Date 2025-03-17 [2025-03-20 07:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:05] Production.ERROR: done [2025-03-20 07:53:05] Production.INFO: Date 2025-03-18 [2025-03-20 07:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:05] Production.INFO: Date 2025-03-19 [2025-03-20 07:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:05] Production.INFO: Date 2025-03-20 [2025-03-20 07:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 07:53:05] Production.INFO: Total Charge 0 [2025-03-20 07:53:05] Production.INFO: CreateAllLog End [2025-03-20 07:53: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.293511 [namelookup_time] => 0.531775 [connect_time] => 0.613363 [pretransfer_time] => 1.04872 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2129 [speed_upload] => 63 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.293426 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.50 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 36478 ) [2025-03-20 07:53:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzE1ODUsImV4cCI6MTc0MjQ3MTg4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDcxNTg1LCJhdF9oYXNoIjoibEhjd3YzZmlfd1MwLVFFZHR6NmEzZyIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.IzzVmCYJjt3JPJTUkNKecwMY6FWZoz_7UQF8zS4vlhspBrSYjbPcJ-ExjaLQzxWEDStJIy3tKwNXNw82cYQ5gwevBUv9WpgF59X61YMDHMJ7doq6Xw-3gxrakeBMc5_DGSFagzqjVStgb49F1NliEelRSHphqZFgB3n6A8pE7iJCE4CtPmTCybg4b3ZyneC9HYxusskVIuzb1fkMqZfIRlMZfSP28NeN01yoJd7oPOL_5hdLW6M0wFu6omg2pwrqX4_o9xI7n6tQhwlaPyHFsJXDl3-bueLK69qO8iUXv_HydrY8qQUc25NKCvc0hxNOxQawETBc6YQompGOG0dlPw [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzE1ODUsImV4cCI6MTc0MjQ3MzM4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.nWFD1Up37lsstvmgbDqlxUe-TUpWHp_6UZjLByQkT445-39ZhBrA7THRimDjXP6yPGlOG7zZvW25agwSCW64ELF6U43mDn4Mo6FiOnZzsdoYynpQpUnj7C3czqXOBYd9FdwdvEh8bsDheQNpeQ0ESCLlDcAJKkZ5u-AfYPaphoa_9ycOAOBYrWMfD-ybNAC2Qgd0vXlVil8FLsqYkvy_5cY_lDfYB5ZmWoa_rcSc8UzxBv2dMIMvwpDHsS97sbk-06TkUrpwf6pFKvzEP8_EtGocPZZyA4ExXfEQq4AfzLSSY3YUB38UKcZLnxDqeUjAyFzjElnlU1t1vsIuGDUr0A [expires_in] => 1800 [token_type] => Bearer [refresh_token] => b1qKX8A0WywUy3JaCWN8wE9BArUukd-qCfSYO_u0Btc [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 07:53:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzE1ODUsImV4cCI6MTc0MjQ3MTg4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDcxNTg1LCJhdF9oYXNoIjoibEhjd3YzZmlfd1MwLVFFZHR6NmEzZyIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.IzzVmCYJjt3JPJTUkNKecwMY6FWZoz_7UQF8zS4vlhspBrSYjbPcJ-ExjaLQzxWEDStJIy3tKwNXNw82cYQ5gwevBUv9WpgF59X61YMDHMJ7doq6Xw-3gxrakeBMc5_DGSFagzqjVStgb49F1NliEelRSHphqZFgB3n6A8pE7iJCE4CtPmTCybg4b3ZyneC9HYxusskVIuzb1fkMqZfIRlMZfSP28NeN01yoJd7oPOL_5hdLW6M0wFu6omg2pwrqX4_o9xI7n6tQhwlaPyHFsJXDl3-bueLK69qO8iUXv_HydrY8qQUc25NKCvc0hxNOxQawETBc6YQompGOG0dlPw [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzE1ODUsImV4cCI6MTc0MjQ3MzM4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.nWFD1Up37lsstvmgbDqlxUe-TUpWHp_6UZjLByQkT445-39ZhBrA7THRimDjXP6yPGlOG7zZvW25agwSCW64ELF6U43mDn4Mo6FiOnZzsdoYynpQpUnj7C3czqXOBYd9FdwdvEh8bsDheQNpeQ0ESCLlDcAJKkZ5u-AfYPaphoa_9ycOAOBYrWMfD-ybNAC2Qgd0vXlVil8FLsqYkvy_5cY_lDfYB5ZmWoa_rcSc8UzxBv2dMIMvwpDHsS97sbk-06TkUrpwf6pFKvzEP8_EtGocPZZyA4ExXfEQq4AfzLSSY3YUB38UKcZLnxDqeUjAyFzjElnlU1t1vsIuGDUr0A [expires_in] => 1800 [token_type] => Bearer [refresh_token] => b1qKX8A0WywUy3JaCWN8wE9BArUukd-qCfSYO_u0Btc [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 07:53:05] Production.INFO: Account Balance End. [2025-03-20 07:53:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:53:05] Production.INFO: ==28527== Releasing lock... [2025-03-20 07:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:53:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:53:05] Production.INFO: AccountID 90 [2025-03-20 07:53:05] Production.INFO: AccountName Terry Anderson [2025-03-20 07:53:05] Production.INFO: Checkcustomer [2025-03-20 07:53:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 07:53:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:53:06 [end_date_ymd] => 2025-03-20 07:53:06 [RateCDR] => 1 ) [2025-03-20 07:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:53:06' and `end` < '2025-03-20 07:53:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:53:08] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-03-20 07:53:08] Production.INFO: -- count --1 [2025-03-20 07:53:08] Production.INFO: AccountID 45 [2025-03-20 07:53:08] Production.INFO: AccountName Metro Toronto Collision Centre [2025-03-20 07:53:08] Production.INFO: Checkcustomer [2025-03-20 07:53:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre" [2025-03-20 07:53:11] Production.INFO: Contact id print CheckCustomer Case===639507fe-3c02-40f6-89b2-b3a1c40bc965 [2025-03-20 07:53:12] Production.INFO: -- count --1 [2025-03-20 07:53:12] Production.INFO: AccountID 63 [2025-03-20 07:53:12] Production.INFO: AccountName Clek Inc. [2025-03-20 07:53:12] Production.INFO: Checkcustomer [2025-03-20 07:53:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-03-20 07:53:13] Production.ERROR: CronJobId end10 [2025-03-20 07:53:13] Production.INFO: ==28525== Releasing lock... [2025-03-20 07:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:53:15] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b [2025-03-20 07:53:15] Production.INFO: -- count --1 [2025-03-20 07:53:15] Production.INFO: AccountID 208 [2025-03-20 07:53:15] Production.INFO: AccountName Lions Auto Protection [2025-03-20 07:53:15] Production.INFO: Checkcustomer [2025-03-20 07:53:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 07:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:53:16] Production.INFO: call_cost start [2025-03-20 07:53:16] Production.INFO: call_cost end [2025-03-20 07:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:53:16] Production.INFO: ==28521== Releasing lock... [2025-03-20 07:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:53:17] Production.INFO: Contact id print CheckCustomer Case===173facd8-68c9-4e18-bac1-f10f211f33e1 [2025-03-20 07:53:17] Production.INFO: -- count --1 [2025-03-20 07:53:17] Production.INFO: AccountID 27 [2025-03-20 07:53:17] Production.INFO: AccountName Compass ELC - Millbrook [2025-03-20 07:53:17] Production.INFO: Checkcustomer [2025-03-20 07:53:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Millbrook" [2025-03-20 07:53:18] Production.INFO: count ==128 [2025-03-20 07:53:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:53:06 - End Time 2025-03-20 07:53:06 [2025-03-20 07:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721438', 'tblTempUsageDetail_20' ) start [2025-03-20 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721438', 'tblTempUsageDetail_20' ) end [2025-03-20 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721438', 'tblTempVendorCDR_20' ) start [2025-03-20 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721438', 'tblTempVendorCDR_20' ) end [2025-03-20 07:53:18] Production.INFO: ProcessCDR(1,14721438,1,1,2) [2025-03-20 07:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721438,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:53:20] Production.INFO: Contact id print CheckCustomer Case===5827757d-9498-4c55-97f7-43de2cbda025 [2025-03-20 07:53:20] Production.INFO: -- count --1 [2025-03-20 07:53:20] Production.INFO: AccountID 99 [2025-03-20 07:53:20] Production.INFO: AccountName LevLending [2025-03-20 07:53:20] Production.INFO: Checkcustomer [2025-03-20 07:53:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending" [2025-03-20 07:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721438,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721438', 'tblTempUsageDetail_20' ) start [2025-03-20 07:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721438', 'tblTempUsageDetail_20' ) end [2025-03-20 07:53:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:53:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:53:22] Production.INFO: ==28529== Releasing lock... [2025-03-20 07:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:53:22] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 07:53:23] Production.INFO: Contact id print CheckCustomer Case===0c3388d2-858d-4ab0-82a5-823938ebfea0 [2025-03-20 07:53:23] Production.INFO: -- count --1 [2025-03-20 07:53:23] Production.INFO: AccountID 165 [2025-03-20 07:53:23] Production.INFO: AccountName PharmaSave (Oak Tree Medical) [2025-03-20 07:53:23] Production.INFO: Checkcustomer [2025-03-20 07:53:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29" [2025-03-20 07:53:26] Production.INFO: Contact id print CheckCustomer Case===dd008964-6378-4903-b54b-a7b8eb03f05f [2025-03-20 07:53:26] Production.INFO: -- count --1 [2025-03-20 07:53:26] Production.INFO: AccountID 205 [2025-03-20 07:53:26] Production.INFO: AccountName Dominos 10459 (Sandeep Chaudhari) [2025-03-20 07:53:26] Production.INFO: Checkcustomer [2025-03-20 07:53:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:53:29] Production.INFO: Contact id print CheckCustomer Case===9e4e5c67-a78f-406f-bfd6-d013ce749c4a [2025-03-20 07:53:29] Production.INFO: -- count --1 [2025-03-20 07:53:29] Production.INFO: AccountID 3 [2025-03-20 07:53:29] Production.INFO: AccountName Tundra [2025-03-20 07:53:29] Production.INFO: Checkcustomer [2025-03-20 07:53:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra" [2025-03-20 07:53:32] Production.INFO: Contact id print CheckCustomer Case===623680fb-29d2-4940-8787-6a04edc9b023 [2025-03-20 07:53:32] Production.INFO: -- count --1 [2025-03-20 07:53:32] Production.INFO: AccountID 37 [2025-03-20 07:53:32] Production.INFO: AccountName Quality Car Rentals (AutoQuest) [2025-03-20 07:53:32] Production.INFO: Checkcustomer [2025-03-20 07:53:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29" [2025-03-20 07:53:35] Production.INFO: Contact id print CheckCustomer Case===d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612 [2025-03-20 07:53:35] Production.INFO: -- count --1 [2025-03-20 07:53:35] Production.INFO: AccountID 41 [2025-03-20 07:53:35] Production.INFO: AccountName Law Offices of Diane Staples [2025-03-20 07:53:35] Production.INFO: Checkcustomer [2025-03-20 07:53:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples" [2025-03-20 07:53:38] Production.INFO: Contact id print CheckCustomer Case===97ef00b2-8eb5-497a-aadd-ae29a942c858 [2025-03-20 07:53:38] Production.INFO: -- count --1 [2025-03-20 07:53:38] Production.INFO: AccountID 92 [2025-03-20 07:53:38] Production.INFO: AccountName Dominos 10443 (Ricky Singh) [2025-03-20 07:53:38] Production.INFO: Checkcustomer [2025-03-20 07:53:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29" [2025-03-20 07:53:41] Production.INFO: Contact id print CheckCustomer Case===21dc8586-f1ab-42cc-9c64-94234cb72e84 [2025-03-20 07:53:41] Production.INFO: -- count --1 [2025-03-20 07:53:41] Production.INFO: AccountID 95 [2025-03-20 07:53:41] Production.INFO: AccountName CanTrust Insurance Services [2025-03-20 07:53:41] Production.INFO: Checkcustomer [2025-03-20 07:53:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services" [2025-03-20 07:53:44] Production.INFO: Contact id print CheckCustomer Case===d5a46ee9-fef7-49ae-981c-b537df046ad7 [2025-03-20 07:53:44] Production.INFO: -- count --1 [2025-03-20 07:53:44] Production.INFO: AccountID 97 [2025-03-20 07:53:44] Production.INFO: AccountName Dominos 10416 (David Mills) [2025-03-20 07:53:44] Production.INFO: Checkcustomer [2025-03-20 07:53:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29" [2025-03-20 07:53:47] Production.INFO: Contact id print CheckCustomer Case===f7785be9-5933-4338-9f5d-47dda0ca47b7 [2025-03-20 07:53:47] Production.INFO: -- count --1 [2025-03-20 07:53:47] Production.INFO: AccountID 113 [2025-03-20 07:53:47] Production.INFO: AccountName Dominos 39016 (Chandresh Patel) [2025-03-20 07:53:47] Production.INFO: Checkcustomer [2025-03-20 07:53:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29" [2025-03-20 07:53:50] Production.INFO: Contact id print CheckCustomer Case===67dc5e22-ea19-468e-b918-c0db577b9240 [2025-03-20 07:53:50] Production.INFO: -- count --1 [2025-03-20 07:53:50] Production.INFO: AccountID 114 [2025-03-20 07:53:50] Production.INFO: AccountName Dominos 10552 (Werner Lomker) [2025-03-20 07:53:50] Production.INFO: Checkcustomer [2025-03-20 07:53:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29" [2025-03-20 07:53:53] Production.INFO: Contact id print CheckCustomer Case===6f5d3631-ded1-4310-ab70-a39a8b602341 [2025-03-20 07:53:53] Production.INFO: -- count --1 [2025-03-20 07:53:53] Production.INFO: AccountID 127 [2025-03-20 07:53:53] Production.INFO: AccountName Dominos 10297 (Shane Linthorne) [2025-03-20 07:53:53] Production.INFO: Checkcustomer [2025-03-20 07:53:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29" [2025-03-20 07:53:56] Production.INFO: Contact id print CheckCustomer Case===d8f292bb-743b-4f94-916e-1de8803fa73f [2025-03-20 07:53:56] Production.INFO: -- count --1 [2025-03-20 07:53:56] Production.INFO: AccountID 148 [2025-03-20 07:53:56] Production.INFO: AccountName Pharmacy Associates of Port Perry [2025-03-20 07:53:56] Production.INFO: Checkcustomer [2025-03-20 07:53:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry" [2025-03-20 07:53:58] Production.INFO: Contact id print CheckCustomer Case===c60706d0-0fd9-40ff-a211-387c86733ac7 [2025-03-20 07:53:58] Production.INFO: -- count --1 [2025-03-20 07:53:58] Production.INFO: AccountID 152 [2025-03-20 07:53:58] Production.INFO: AccountName 3G Print Group [2025-03-20 07:53:58] Production.INFO: Checkcustomer [2025-03-20 07:53:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group" [2025-03-20 11:54:01] Production.INFO: ==28623== Lock acquired, processing the job... [2025-03-20 11:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:54:01] Production.INFO: neon service started [2025-03-20 11:54:01] Production.INFO: neon service started [2025-03-20 11:54:01] Production.INFO: ==28623== Releasing lock... [2025-03-20 11:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:54:01] Production.INFO: Contact id print CheckCustomer Case===d4a36319-8eb8-433b-a39c-ded75fc85345 [2025-03-20 07:54:01] Production.INFO: -- count --1 [2025-03-20 07:54:01] Production.INFO: AccountID 160 [2025-03-20 07:54:01] Production.INFO: AccountName Avani Rolls & Bowls [2025-03-20 07:54:01] Production.INFO: Checkcustomer [2025-03-20 07:54:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-03-20 07:54:01] Production.INFO: ==28625== Lock acquired, processing the job... [2025-03-20 07:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:54:02] Production.INFO: ==28627== Lock acquired, processing the job... [2025-03-20 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 07:54:02] Production.INFO: ==28625== Releasing lock... [2025-03-20 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:54:02] Production.INFO: ==28627== Releasing lock... [2025-03-20 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:54:03] Production.INFO: ==28629== Lock acquired, processing the job... [2025-03-20 07:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:54:03] Production.INFO: ==28631== Lock acquired, processing the job... [2025-03-20 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:54:03] Production.INFO: ==28635== Lock acquired, processing the job... [2025-03-20 07:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:54:03] Production.INFO: Account Balance Start. [2025-03-20 07:54:03] Production.INFO: CreateAllLog Start [2025-03-20 07:54:03] Production.INFO: 117 [2025-03-20 07:54:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:54:03] Production.INFO: ==28631== Releasing lock... [2025-03-20 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:03] Production.INFO: ==28633== Lock acquired, processing the job... [2025-03-20 07:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:54:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:03] Production.INFO: ==28638== Lock acquired, processing the job... [2025-03-20 07:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:54:03] Production.INFO: ==28640== Lock acquired, processing the job... [2025-03-20 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:54:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:54:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:03] Production.INFO: Date 2025-03-14 [2025-03-20 07:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:04] Production.INFO: count ==12 [2025-03-20 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-03-20 07:54:04] Production.INFO: count ==23 [2025-03-20 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721442') start [2025-03-20 07:54:04] Production.ERROR: done [2025-03-20 07:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721442') end [2025-03-20 07:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:54:04] Production.INFO: 1 [2025-03-20 07:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:54:04] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f [2025-03-20 07:54:04] Production.INFO: -- count --1 [2025-03-20 07:54:04] Production.INFO: AccountID 236 [2025-03-20 07:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:54:04] Production.ERROR: done [2025-03-20 07:54:04] Production.INFO: AccountName Keogh Construction [2025-03-20 07:54:04] Production.INFO: Checkcustomer [2025-03-20 07:54:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 07:54:04] Production.INFO: Total Charge 0 [2025-03-20 07:54:04] Production.INFO: ==28640== Releasing lock... [2025-03-20 07:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:54:04] Production.INFO: CreateAllLog End [2025-03-20 07:54:04] Production.INFO: Account Balance End. [2025-03-20 07:54:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:54:04] Production.INFO: ==28635== Releasing lock... [2025-03-20 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:54:05 [end_date_ymd] => 2025-03-20 07:54:05 [RateCDR] => 1 ) [2025-03-20 07:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:54:05' and `end` < '2025-03-20 07:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:54:07] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7 [2025-03-20 07:54:07] Production.INFO: -- count --1 [2025-03-20 07:54:07] Production.INFO: AccountID 25 [2025-03-20 07:54:07] Production.INFO: AccountName Harding Security [2025-03-20 07:54:07] Production.INFO: Checkcustomer [2025-03-20 07:54:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security" [2025-03-20 07:54:10] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db [2025-03-20 07:54:10] Production.INFO: -- count --1 [2025-03-20 07:54:10] Production.INFO: AccountID 103 [2025-03-20 07:54:10] Production.INFO: AccountName Cathim Inc [2025-03-20 07:54:10] Production.INFO: Checkcustomer [2025-03-20 07:54:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc" [2025-03-20 07:54:12] Production.ERROR: CronJobId end10 [2025-03-20 07:54:12] Production.INFO: ==28633== Releasing lock... [2025-03-20 07:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:54:12] Production.INFO: Contact id print CheckCustomer Case===b3a32be3-34a8-47ed-9add-6507ade181ac [2025-03-20 07:54:12] Production.INFO: -- count --1 [2025-03-20 07:54:12] Production.INFO: AccountID 104 [2025-03-20 07:54:12] Production.INFO: AccountName Dominos 39017 (Mudassar Zia) [2025-03-20 07:54:12] Production.INFO: Checkcustomer [2025-03-20 07:54:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29" [2025-03-20 07:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:54:14] Production.INFO: call_cost start [2025-03-20 07:54:14] Production.INFO: call_cost end [2025-03-20 07:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:54:15] Production.INFO: ==28629== Releasing lock... [2025-03-20 07:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:54:15] Production.INFO: Contact id print CheckCustomer Case===5f89a930-66a1-45ba-8124-8b5cbb0531bb [2025-03-20 07:54:15] Production.INFO: -- count --1 [2025-03-20 07:54:15] Production.INFO: AccountID 129 [2025-03-20 07:54:15] Production.INFO: AccountName Compass ELC - Apsley [2025-03-20 07:54:15] Production.INFO: Checkcustomer [2025-03-20 07:54:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Apsley" [2025-03-20 07:54:17] Production.INFO: count ==128 [2025-03-20 07:54:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:54:05 - End Time 2025-03-20 07:54:05 [2025-03-20 07:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721443', 'tblTempUsageDetail_20' ) start [2025-03-20 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721443', 'tblTempUsageDetail_20' ) end [2025-03-20 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721443', 'tblTempVendorCDR_20' ) start [2025-03-20 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721443', 'tblTempVendorCDR_20' ) end [2025-03-20 07:54:17] Production.INFO: ProcessCDR(1,14721443,1,1,2) [2025-03-20 07:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:54:18] Production.INFO: Contact id print CheckCustomer Case===b88606e0-7c2f-487f-9327-5daeaa7e65c2 [2025-03-20 07:54:18] Production.INFO: -- count --1 [2025-03-20 07:54:18] Production.INFO: AccountID 4 [2025-03-20 07:54:18] Production.INFO: AccountName UNIGLOBE Canada [2025-03-20 07:54:18] Production.INFO: Checkcustomer [2025-03-20 07:54:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-03-20 07:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721443', 'tblTempUsageDetail_20' ) start [2025-03-20 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721443', 'tblTempUsageDetail_20' ) end [2025-03-20 07:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:54:21] Production.INFO: ==28638== Releasing lock... [2025-03-20 07:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:54:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 07:54:21] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349 [2025-03-20 07:54:21] Production.INFO: -- count --1 [2025-03-20 07:54:21] Production.INFO: AccountID 33 [2025-03-20 07:54:21] Production.INFO: AccountName Dominos 10395 (Ronny Khan) [2025-03-20 07:54:21] Production.INFO: Checkcustomer [2025-03-20 07:54:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29" [2025-03-20 07:54:24] Production.INFO: Contact id print CheckCustomer Case===2ad5ad33-c3c5-457d-96a1-96787e4ed1ae [2025-03-20 07:54:24] Production.INFO: -- count --1 [2025-03-20 07:54:24] Production.INFO: AccountID 58 [2025-03-20 07:54:24] Production.INFO: AccountName Think Secure [2025-03-20 07:54:24] Production.INFO: Checkcustomer [2025-03-20 07:54:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Think%20Secure" [2025-03-20 07:54:26] Production.INFO: Contact id print CheckCustomer Case===c4bd70fd-3ccd-42a6-a692-2d9f355b91a8 [2025-03-20 07:54:26] Production.INFO: -- count --1 [2025-03-20 07:54:26] Production.INFO: AccountID 183 [2025-03-20 07:54:26] Production.INFO: AccountName Sunnybrook - Construction Site (Cancom - Think Secure) [2025-03-20 07:54:26] Production.INFO: Checkcustomer [2025-03-20 07:54:26] 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-03-20 07:54:29] Production.INFO: Contact id print CheckCustomer Case===9438f80c-bb9a-4440-84ef-9c1f20f46b34 [2025-03-20 07:54:29] Production.INFO: -- count --1 [2025-03-20 07:54:29] Production.INFO: AccountID 101 [2025-03-20 07:54:29] Production.INFO: AccountName Dominos 10364 (Shane Linthorne) [2025-03-20 07:54:29] Production.INFO: Checkcustomer [2025-03-20 07:54:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29" [2025-03-20 07:54:31] Production.INFO: Contact id print CheckCustomer Case===12ca1405-c90f-4ad7-83b0-d937a569ffd9 [2025-03-20 07:54:31] Production.INFO: -- count --1 [2025-03-20 07:54:31] Production.INFO: AccountID 74 [2025-03-20 07:54:31] Production.INFO: AccountName Dominos 10532 (Sandeep Chaudhari) [2025-03-20 07:54:31] Production.INFO: Checkcustomer [2025-03-20 07:54:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:54:34] Production.INFO: Contact id print CheckCustomer Case===dded1f8a-d8ba-43e9-a033-ca82f3d54f47 [2025-03-20 07:54:34] Production.INFO: -- count --1 [2025-03-20 07:54:34] Production.INFO: AccountID 110 [2025-03-20 07:54:34] Production.INFO: AccountName Dominos 10422 (David Mills) [2025-03-20 07:54:34] Production.INFO: Checkcustomer [2025-03-20 07:54:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29" [2025-03-20 07:54:37] Production.INFO: Contact id print CheckCustomer Case===56e7aabd-b1e3-4807-a57f-483fba350c3e [2025-03-20 07:54:37] Production.INFO: -- count --1 [2025-03-20 07:54:37] Production.INFO: AccountID 111 [2025-03-20 07:54:37] Production.INFO: AccountName Dominos 10545 (Mohan Kantha) [2025-03-20 07:54:37] Production.INFO: Checkcustomer [2025-03-20 07:54:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29" [2025-03-20 07:54:40] Production.INFO: Contact id print CheckCustomer Case===922fdab1-eecb-4982-8db6-fe1325f04d0d [2025-03-20 07:54:40] Production.INFO: -- count --1 [2025-03-20 07:54:40] Production.INFO: AccountID 158 [2025-03-20 07:54:40] Production.INFO: AccountName Dominos 39102 (Muzafar Ahmad) [2025-03-20 07:54:40] Production.INFO: Checkcustomer [2025-03-20 07: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-03-20 07:54:43] Production.INFO: Contact id print CheckCustomer Case===749cea7f-cdd5-4ee1-9755-990afa6667fb [2025-03-20 07:54:43] Production.INFO: -- count --1 [2025-03-20 07:54:43] Production.INFO: AccountID 7 [2025-03-20 07:54:43] Production.INFO: AccountName Dominos 10099 (Mudassar Zia) [2025-03-20 07:54:43] Production.INFO: Checkcustomer [2025-03-20 07:54:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010099%20%28Mudassar%20Zia%29" [2025-03-20 07:54:45] Production.INFO: Contact id print CheckCustomer Case===71c34967-10de-4adf-ac3c-873348ba60c5 [2025-03-20 07:54:45] Production.INFO: -- count --1 [2025-03-20 07:54:45] Production.INFO: AccountID 47 [2025-03-20 07:54:45] Production.INFO: AccountName Aaxel Insurance Brokers [2025-03-20 07:54:45] Production.INFO: Checkcustomer [2025-03-20 07:54:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers" [2025-03-20 07:54:47] Production.INFO: Contact id print CheckCustomer Case===4e313157-1b83-4634-91d3-f0b4cdbdcb8b [2025-03-20 07:54:47] Production.INFO: -- count --1 [2025-03-20 07:54:47] Production.INFO: AccountID 86 [2025-03-20 07:54:47] Production.INFO: AccountName Selective Conformal Coatings Inc. [2025-03-20 07:54:47] Production.INFO: Checkcustomer [2025-03-20 07:54:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc." [2025-03-20 07:54:50] Production.INFO: Contact id print CheckCustomer Case===829ddc9d-f1ae-447b-9687-394867f488a7 [2025-03-20 07:54:50] Production.INFO: -- count --1 [2025-03-20 07:54:50] Production.INFO: AccountID 226 [2025-03-20 07:54:50] Production.INFO: AccountName Dominos 10189 (Akshay Naik) [2025-03-20 07:54:50] Production.INFO: Checkcustomer [2025-03-20 07:54:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29" [2025-03-20 07:54:53] Production.INFO: Contact id print CheckCustomer Case===4982fdbe-e8c3-4cfb-854b-994478db81a7 [2025-03-20 07:54:53] Production.INFO: -- count --1 [2025-03-20 07:54:53] Production.INFO: AccountID 115 [2025-03-20 07:54:53] Production.INFO: AccountName AromaCafeBayviewVillage [2025-03-20 07:54:53] Production.INFO: Checkcustomer [2025-03-20 07:54:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AromaCafeBayviewVillage" [2025-03-20 07:54:56] Production.INFO: Contact id print CheckCustomer Case===60b24dce-a269-4d1e-8535-3506428c9ffb [2025-03-20 07:54:56] Production.INFO: -- count --1 [2025-03-20 07:54:56] Production.INFO: AccountID 17 [2025-03-20 07:54:56] Production.INFO: AccountName UNIGLOBE Bon Voyage Travel [2025-03-20 07:54:56] Production.INFO: Checkcustomer [2025-03-20 07:54:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Bon%20Voyage%20Travel" [2025-03-20 07:54:58] Production.INFO: Contact id print CheckCustomer Case===b3f98fb9-7d83-4a9d-a9db-618acdfb5df3 [2025-03-20 07:54:58] Production.INFO: -- count --1 [2025-03-20 07:54:58] Production.INFO: AccountID 18 [2025-03-20 07:54:58] Production.INFO: AccountName Sivananda Ashram Yoga Retreat [2025-03-20 07:54:58] Production.INFO: Checkcustomer [2025-03-20 07:54:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat" [2025-03-20 07:55:01] Production.INFO: Contact id print CheckCustomer Case===64c07100-e054-4831-b9c1-0c728c4e9ba3 [2025-03-20 07:55:01] Production.INFO: -- count --1 [2025-03-20 07:55:01] Production.INFO: AccountID 34 [2025-03-20 07:55:01] Production.INFO: AccountName Escape Games Canada [2025-03-20 07:55:01] Production.INFO: Checkcustomer [2025-03-20 07:55:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Escape%20Games%20Canada" [2025-03-20 11:55:01] Production.INFO: ==28736== Lock acquired, processing the job... [2025-03-20 11:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:55:01] Production.INFO: neon service started [2025-03-20 11:55:02] Production.INFO: neon service started [2025-03-20 11:55:02] Production.INFO: ==28736== Releasing lock... [2025-03-20 11:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:55:02] Production.INFO: ==28738== Lock acquired, processing the job... [2025-03-20 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:55:02] Production.INFO: ==28738== Releasing lock... [2025-03-20 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:55:02] Production.INFO: ==28740== Lock acquired, processing the job... [2025-03-20 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:55:02] Production.INFO: ==28740== Releasing lock... [2025-03-20 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:55:03] Production.INFO: ==28743== Lock acquired, processing the job... [2025-03-20 07:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:55:03] Production.INFO: ==28749== Lock acquired, processing the job... [2025-03-20 07:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:55:03] Production.INFO: ==28753== Lock acquired, processing the job... [2025-03-20 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:55:03] Production.INFO: Account Balance Start. [2025-03-20 07:55:03] Production.INFO: CreateAllLog Start [2025-03-20 07:55:03] Production.INFO: 117 [2025-03-20 07:55:03] Production.INFO: ==28745== Lock acquired, processing the job... [2025-03-20 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:55:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:03] Production.INFO: ==28747== Lock acquired, processing the job... [2025-03-20 07:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:55:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:55:03] Production.INFO: count ==12 [2025-03-20 07:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:55:03] Production.INFO: count ==23 [2025-03-20 07:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721446') start [2025-03-20 07:55:03] Production.INFO: ==28751== Lock acquired, processing the job... [2025-03-20 07:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721446') end [2025-03-20 07:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:55:04] Production.INFO: 1 [2025-03-20 07:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:55:04] Production.INFO: ==28753== Releasing lock... [2025-03-20 07:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:55:04] Production.INFO: ==28745== Releasing lock... [2025-03-20 07:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:55:04] Production.INFO: Contact id print CheckCustomer Case===f8bf0f6c-4bd5-483c-b42f-b3dd4f2c7deb [2025-03-20 07:55:04] Production.INFO: -- count --1 [2025-03-20 07:55:04] Production.INFO: AccountID 56 [2025-03-20 07:55:04] Production.INFO: AccountName Alexander and Casey Law [2025-03-20 07:55:04] Production.INFO: Checkcustomer [2025-03-20 07:55:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Alexander%20and%20Casey%20Law" [2025-03-20 07:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:04] Production.ERROR: done [2025-03-20 07:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:04] Production.ERROR: done [2025-03-20 07:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:55:04] Production.INFO: Total Charge 0 [2025-03-20 07:55:04] Production.INFO: CreateAllLog End [2025-03-20 07:55:05] Production.INFO: Account Balance End. [2025-03-20 07:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:55:05] Production.INFO: ==28749== Releasing lock... [2025-03-20 07:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:55:05 [end_date_ymd] => 2025-03-20 07:55:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:55:05' and `end` < '2025-03-20 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-03-20 07:55:06] Production.INFO: Contact id print CheckCustomer Case===3b1c6fb0-8df6-447b-805b-319c8fd7f13f [2025-03-20 07:55:06] Production.INFO: -- count --1 [2025-03-20 07:55:06] Production.INFO: AccountID 85 [2025-03-20 07:55:06] Production.INFO: AccountName MK TAXPLUS LTD [2025-03-20 07:55:06] Production.INFO: Checkcustomer [2025-03-20 07:55:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="MK%20TAXPLUS%20LTD" [2025-03-20 07:55:09] Production.INFO: Contact id print CheckCustomer Case===b2a980df-8333-4b5e-8b50-c1d40e826ba3 [2025-03-20 07:55:09] Production.INFO: -- count --1 [2025-03-20 07:55:09] Production.INFO: AccountID 87 [2025-03-20 07:55:09] Production.INFO: AccountName Small Business Owners & Professionals Association [2025-03-20 07:55:09] Production.INFO: Checkcustomer [2025-03-20 07:55: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-03-20 07:55:12] Production.INFO: Contact id print CheckCustomer Case===e8c42b4a-0408-4ca6-a815-dbd8da598a80 [2025-03-20 07:55:12] Production.INFO: -- count --1 [2025-03-20 07:55:12] Production.INFO: AccountID 100 [2025-03-20 07:55:12] Production.INFO: AccountName Dominos 10538 (Waqas Ayaz) [2025-03-20 07:55:12] Production.INFO: Checkcustomer [2025-03-20 07:55:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010538%20%28Waqas%20Ayaz%29" [2025-03-20 07:55:12] Production.ERROR: CronJobId end10 [2025-03-20 07:55:12] Production.INFO: ==28747== Releasing lock... [2025-03-20 07:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:55:15] Production.INFO: Contact id print CheckCustomer Case===7b571efd-034b-4c11-82c7-5ed343693624 [2025-03-20 07:55:15] Production.INFO: -- count --1 [2025-03-20 07:55:15] Production.INFO: AccountID 19 [2025-03-20 07:55:15] Production.INFO: AccountName Craig Travel [2025-03-20 07:55:15] Production.INFO: Checkcustomer [2025-03-20 07:55:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Craig%20Travel" [2025-03-20 07:55:15] Production.INFO: call_cost start [2025-03-20 07:55:15] Production.INFO: call_cost end [2025-03-20 07:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:55:16] Production.INFO: ==28743== Releasing lock... [2025-03-20 07:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:55:18] Production.INFO: Contact id print CheckCustomer Case===65a499d2-8fb3-4c56-ab50-2bdc7bfc40a1 [2025-03-20 07:55:18] Production.INFO: -- count --1 [2025-03-20 07:55:18] Production.INFO: AccountID 121 [2025-03-20 07:55:18] Production.INFO: AccountName Dominos 10462 (Anwar Hossain) [2025-03-20 07:55:18] Production.INFO: Checkcustomer [2025-03-20 07:55:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010462%20%28Anwar%20Hossain%29" [2025-03-20 07:55:18] Production.INFO: count ==130 [2025-03-20 07:55:18] Production.ERROR: pbx CDR StartTime 2025-03-20 04:55:05 - End Time 2025-03-20 07:55:05 [2025-03-20 07:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721448', 'tblTempUsageDetail_20' ) start [2025-03-20 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721448', 'tblTempUsageDetail_20' ) end [2025-03-20 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721448', 'tblTempVendorCDR_20' ) start [2025-03-20 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721448', 'tblTempVendorCDR_20' ) end [2025-03-20 07:55:18] Production.INFO: ProcessCDR(1,14721448,1,1,2) [2025-03-20 07:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:55:20] Production.INFO: Contact id print CheckCustomer Case===dd9d12a6-43e5-42f4-9c71-f881ac0e5dfe [2025-03-20 07:55:20] Production.INFO: -- count --1 [2025-03-20 07:55:20] Production.INFO: AccountID 67 [2025-03-20 07:55:20] Production.INFO: AccountName Stars & Maple Tours [2025-03-20 07:55:20] Production.INFO: Checkcustomer [2025-03-20 07:55:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-03-20 07:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721448', 'tblTempUsageDetail_20' ) start [2025-03-20 07:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721448', 'tblTempUsageDetail_20' ) end [2025-03-20 07:55:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:55:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:55:23] Production.INFO: ==28751== Releasing lock... [2025-03-20 07:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:55:23] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 07:55:23] Production.INFO: Contact id print CheckCustomer Case===42f3da1b-13b4-4bab-b989-2a74b97947bd [2025-03-20 07:55:23] Production.INFO: -- count --1 [2025-03-20 07:55:23] Production.INFO: AccountID 78 [2025-03-20 07:55:23] Production.INFO: AccountName Halcyon Travel [2025-03-20 07:55:23] Production.INFO: Checkcustomer [2025-03-20 07:55:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 07:55:26] Production.INFO: Contact id print CheckCustomer Case===2fb0f102-2ef2-41cf-8d40-4c3f58cf996f [2025-03-20 07:55:26] Production.INFO: -- count --1 [2025-03-20 07:55:26] Production.INFO: -- Xero Add Inovice -- [2025-03-20 07:55:26] Production.INFO: CheckInvoice xerov2: INV11636 [2025-03-20 07:55:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11636 [2025-03-20 07:55:28] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:55:28] Production.INFO: Invoice SubTotal 3.000000 [2025-03-20 07:55:28] Production.INFO: Invoice DetTotal 3 [2025-03-20 07:55:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 07:55:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:55:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:55:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:55:39] 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-03-20 07:55:42] Production.INFO: ==== result ===== [2025-03-20 07:55:42] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-03-20 07:55:42] 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-03-20 07:55:42] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-03-20 07:55:42] Production.INFO: -- Create Invoice Error -- [2025-03-20 07:55:42] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:55:42] Production.INFO: CheckInvoice xerov2: INV11632 [2025-03-20 07:55:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11632 [2025-03-20 07:55:45] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:55:45] Production.INFO: Invoice SubTotal 34.010000 [2025-03-20 07:55:45] Production.INFO: Invoice DetTotal 34.01 [2025-03-20 07:55:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre" [2025-03-20 07:55:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:55:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:55:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:55:57] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-03-2025 To 03-02-2025",Quantity : 1,UnitAmount : 3.510000,LineAmount : 3.510000},{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-03-20 07:56:01] Production.INFO: ==== result ===== [2025-03-20 07:56:01] Production.INFO: { "Id": "9cc58970-0e7c-4f96-9ab0-c3164142c085", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471760899)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c3ded9d2-1243-4d0f-8378-7aa5a3c8a6bf", "InvoiceNumber": "INV11632", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 38.44, "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-03-03T00:00:00", "Date": "\/Date(1740960000000+0000)\/", "DueDateString": "2025-04-02T00:00:00", "DueDate": "\/Date(1743552000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-03-2025 To 03-02-2025", "UnitAmount": 3.51, "TaxType": "TAX020", "TaxAmount": 0.46, "LineAmount": 3.51, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f1b86720-f040-4cc4-b62c-5b91b9c623a5", "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": "c32e231a-8b42-4661-9bf8-efa04e0a920b", "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": "05b939bf-b158-46c2-bf92-e7e39eb5cfa9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 34.01, "TotalTax": 4.43, "Total": 38.44, "UpdatedDateUTC": "\/Date(1742471760853+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:56:01] Production.INFO: -- Create Invoice id --c3ded9d2-1243-4d0f-8378-7aa5a3c8a6bf [2025-03-20 07:56:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:56:01] Production.INFO: CheckInvoice xerov2: INV50022 [2025-03-20 07:56:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50022 [2025-03-20 11:56:01] Production.INFO: ==28880== Lock acquired, processing the job... [2025-03-20 11:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:56:01] Production.INFO: neon service started [2025-03-20 11:56:01] Production.INFO: neon service started [2025-03-20 11:56:01] Production.INFO: ==28880== Releasing lock... [2025-03-20 11:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:56:01] Production.INFO: ==28884== Lock acquired, processing the job... [2025-03-20 11:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:56:01] Production.INFO: ==28884== Releasing lock... [2025-03-20 11:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:56:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:56:01] Production.INFO: ==28882== Lock acquired, processing the job... [2025-03-20 07:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:56:02] Production.INFO: ==28882== Releasing lock... [2025-03-20 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:56:03] Production.INFO: ==28886== Lock acquired, processing the job... [2025-03-20 07:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:56:03] Production.INFO: ==28888== Lock acquired, processing the job... [2025-03-20 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:56:03] Production.INFO: ==28895== Lock acquired, processing the job... [2025-03-20 07:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:56:03] Production.INFO: ==28890== Lock acquired, processing the job... [2025-03-20 07:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:56:03] Production.INFO: ==28892== Lock acquired, processing the job... [2025-03-20 07:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:56:03] Production.INFO: ==28888== Releasing lock... [2025-03-20 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:56:03] Production.INFO: ==28897== Lock acquired, processing the job... [2025-03-20 07:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:56:03] Production.INFO: Account Balance Start. [2025-03-20 07:56:03] Production.INFO: CreateAllLog Start [2025-03-20 07:56:03] Production.INFO: 117 [2025-03-20 07:56:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:56:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:03] Production.ERROR: done [2025-03-20 07:56:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:56:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:56:03] Production.INFO: count ==12 [2025-03-20 07:56:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:56:03] Production.INFO: count ==23 [2025-03-20 07:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721452') start [2025-03-20 07:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:04] Production.ERROR: done [2025-03-20 07:56:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721452') end [2025-03-20 07:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:56:04] Production.INFO: 1 [2025-03-20 07:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:04] Production.INFO: Invoice SubTotal 4616.860000 [2025-03-20 07:56:04] Production.INFO: Invoice DetTotal 4616.86 [2025-03-20 07:56:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-03-20 07:56:04] Production.INFO: ==28897== Releasing lock... [2025-03-20 07:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:56:04] Production.INFO: Total Charge 0 [2025-03-20 07:56:04] Production.INFO: CreateAllLog End [2025-03-20 07:56:04] Production.INFO: Account Balance End. [2025-03-20 07:56:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:56:04] Production.INFO: ==28892== Releasing lock... [2025-03-20 07:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:56:05 [end_date_ymd] => 2025-03-20 07:56:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:56:05' and `end` < '2025-03-20 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-03-20 07:56:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:56:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:56:12] Production.ERROR: CronJobId end10 [2025-03-20 07:56:12] Production.INFO: ==28890== Releasing lock... [2025-03-20 07:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:56:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:56:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:56:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:56:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:56:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:56:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:56:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:56:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:56:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:56:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:56:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:56:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:56:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:56:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:56:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:56:14] Production.INFO: call_cost start [2025-03-20 07:56:14] Production.INFO: call_cost end [2025-03-20 07:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:56:15] Production.INFO: ==28886== Releasing lock... [2025-03-20 07:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:56:16] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 31-01-2025 To 02-03-2025",Quantity : 1,UnitAmount : 4.340000,LineAmount : 4.340000},{taxType:"TAX020",AccountCode : 203,"Description": "Azure AD P1",Quantity : 45,UnitAmount : 8.680000,LineAmount : 390.600000},{taxType:"TAX020",AccountCode : 203,"Description": "Dropsuite Business Backup License",Quantity : 46,UnitAmount : 3.640000,LineAmount : 167.440000},{taxType:"TAX020",AccountCode : 203,"Description": "Ironscales Basic Email Phishing Protection",Quantity : 44,UnitAmount : 3.640000,LineAmount : 160.160000},{taxType:"TAX020",AccountCode : 203,"Description": "M365 Power Automate subscription",Quantity : 1,UnitAmount : 17.920000,LineAmount : 17.920000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Network Device",Quantity : 13,UnitAmount : 9.800000,LineAmount : 127.400000},{taxType:"TAX020",AccountCode : 203,"Description": "Management of server",Quantity : 1,UnitAmount : 112.000000,LineAmount : 112.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Workstation",Quantity : 38,UnitAmount : 54.040000,LineAmount : 2053.520000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Audio Conferencing",Quantity : 1,UnitAmount : 5.880000,LineAmount : 5.880000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 17,UnitAmount : 7.560000,LineAmount : 128.520000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 42,UnitAmount : 15.960000,LineAmount : 670.320000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Azure Information Protection P1",Quantity : 1,UnitAmount : 3.920000,LineAmount : 3.920000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Exchange Online Archiving",Quantity : 4,UnitAmount : 4.760000,LineAmount : 19.040000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Intune Per Device",Quantity : 1,UnitAmount : 3.080000,LineAmount : 3.080000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Visio",Quantity : 1,UnitAmount : 19.040000,LineAmount : 19.040000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Project Pro",Quantity : 1,UnitAmount : 37.800000,LineAmount : 37.800000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 ProPlus",Quantity : 1,UnitAmount : 15.680000,LineAmount : 15.680000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Extra File Storage (per GB)",Quantity : 200,UnitAmount : 0.280000,LineAmount : 56.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Production Line Machine Access",Quantity : 17,UnitAmount : 3.640000,LineAmount : 61.880000},{taxType:"TAX020",AccountCode : 203,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 37,UnitAmount : 7.000000,LineAmount : 259.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (14164793951 - 226 LESMILL RD TORONTO, ON M3B2T5)",Quantity : 1,UnitAmount : 2.520000,LineAmount : 2.520000},{taxType:"TAX020","Description": "Manual correction due to date proration error",Quantity : 1,UnitAmount : 18.680000,LineAmount : 18.680000},{taxType:"TAX020","Description": "Manual correction due to date proration error",Quantity : 1,UnitAmount : 282.120000,LineAmount : 282.120000} [2025-03-20 07:56:17] Production.INFO: count ==125 [2025-03-20 07:56:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:56:05 - End Time 2025-03-20 07:56:05 [2025-03-20 07:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721453', 'tblTempUsageDetail_20' ) start [2025-03-20 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721453', 'tblTempUsageDetail_20' ) end [2025-03-20 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721453', 'tblTempVendorCDR_20' ) start [2025-03-20 07:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721453', 'tblTempVendorCDR_20' ) end [2025-03-20 07:56:17] Production.INFO: ProcessCDR(1,14721453,1,1,2) [2025-03-20 07:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:56:19] Production.INFO: ==== result ===== [2025-03-20 07:56:19] Production.INFO: { "Id": "e4c6f512-c62b-4330-91f1-12abf3cc6535", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471779722)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a52ad5af-70bc-4008-8d19-6300e718d70e", "InvoiceNumber": "INV50022", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 5217.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "c5a4d0ce-0d87-4131-b0d8-9808badfe70b", "ContactNumber": "Clek Inc.", "ContactStatus": "ACTIVE", "Name": "Clek Inc.", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "226 Lesmill Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M3B2T5", "Country": "CANADA", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "226 Lesmill Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M3B2T5", "Country": "CANADA", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "4164793951", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164793951,123", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936258400+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-03T00:00:00", "Date": "\/Date(1740960000000+0000)\/", "DueDateString": "2025-04-02T00:00:00", "DueDate": "\/Date(1743552000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 31-01-2025 To 02-03-2025", "UnitAmount": 4.34, "TaxType": "TAX020", "TaxAmount": 0.56, "LineAmount": 4.34, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "17c24b5c-8699-42ce-a161-4343897e251f", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Azure AD P1", "UnitAmount": 8.68, "TaxType": "TAX020", "TaxAmount": 50.78, "LineAmount": 390.60, "AccountCode": "203", "Tracking": [], "Quantity": 45.0000, "LineItemID": "7518226d-9d09-4983-abaa-9d350991cacf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Dropsuite Business Backup License", "UnitAmount": 3.64, "TaxType": "TAX020", "TaxAmount": 21.77, "LineAmount": 167.44, "AccountCode": "203", "Tracking": [], "Quantity": 46.0000, "LineItemID": "9af9f7f1-4bf9-40ce-82b9-0d28e56be7a8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Ironscales Basic Email Phishing Protection", "UnitAmount": 3.64, "TaxType": "TAX020", "TaxAmount": 20.82, "LineAmount": 160.16, "AccountCode": "203", "Tracking": [], "Quantity": 44.0000, "LineItemID": "b9d4a756-346b-4b51-b5fb-b9272fa43ec5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "M365 Power Automate subscription", "UnitAmount": 17.92, "TaxType": "TAX020", "TaxAmount": 2.33, "LineAmount": 17.92, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "2df2d5e9-4337-40dd-a6e4-f0c6648ed1d0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Network Device", "UnitAmount": 9.80, "TaxType": "TAX020", "TaxAmount": 16.56, "LineAmount": 127.40, "AccountCode": "203", "Tracking": [], "Quantity": 13.0000, "LineItemID": "3b0b80ba-53d5-419e-9af7-263a5542f51d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Management of server", "UnitAmount": 112.00, "TaxType": "TAX020", "TaxAmount": 14.56, "LineAmount": 112.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b119f193-a99d-419a-967b-16c75cde99f8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Workstation", "UnitAmount": 54.04, "TaxType": "TAX020", "TaxAmount": 266.96, "LineAmount": 2053.52, "AccountCode": "203", "Tracking": [], "Quantity": 38.0000, "LineItemID": "b446d179-9954-495e-a23e-8a8879111d9b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Audio Conferencing", "UnitAmount": 5.88, "TaxType": "TAX020", "TaxAmount": 0.76, "LineAmount": 5.88, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ec6eb0cc-4364-4dd3-9683-269076762723", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic collaboration and productivity suite", "UnitAmount": 7.56, "TaxType": "TAX020", "TaxAmount": 16.71, "LineAmount": 128.52, "AccountCode": "250", "Tracking": [], "Quantity": 17.0000, "LineItemID": "8218eab1-4540-4723-b36f-ddbcf88e216a", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard collaboration and productivity suite", "UnitAmount": 15.96, "TaxType": "TAX020", "TaxAmount": 87.14, "LineAmount": 670.32, "AccountCode": "250", "Tracking": [], "Quantity": 42.0000, "LineItemID": "49620f82-e7c0-408a-bd91-20e780a8b524", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft Azure Information Protection P1", "UnitAmount": 3.92, "TaxType": "TAX020", "TaxAmount": 0.51, "LineAmount": 3.92, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "4aa21f3d-e308-4bf9-837d-251ee62a3726", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft Exchange Online Archiving", "UnitAmount": 4.76, "TaxType": "TAX020", "TaxAmount": 2.48, "LineAmount": 19.04, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "LineItemID": "4dd5022f-76c1-46f6-a1d5-4a62091f30cf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft Intune Per Device", "UnitAmount": 3.08, "TaxType": "TAX020", "TaxAmount": 0.40, "LineAmount": 3.08, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "00fa4096-f7ef-4c17-8be6-55879d50f41d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Visio", "UnitAmount": 19.04, "TaxType": "TAX020", "TaxAmount": 2.48, "LineAmount": 19.04, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "6da5cb6a-13ba-4036-9771-88c330cb15d9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Project Pro", "UnitAmount": 37.80, "TaxType": "TAX020", "TaxAmount": 4.91, "LineAmount": 37.80, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7c7cd31c-5fd5-4eb0-9305-61d254dfd362", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 ProPlus", "UnitAmount": 15.68, "TaxType": "TAX020", "TaxAmount": 2.04, "LineAmount": 15.68, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "53edf3da-d261-4f79-998a-a635c07e239b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Extra File Storage (per GB)", "UnitAmount": 0.28, "TaxType": "TAX020", "TaxAmount": 7.28, "LineAmount": 56.00, "AccountCode": "203", "Tracking": [], "Quantity": 200.0000, "LineItemID": "281a69a1-e79a-44b0-b9a3-9d117e67a41e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Production Line Machine Access", "UnitAmount": 3.64, "TaxType": "TAX020", "TaxAmount": 8.04, "LineAmount": 61.88, "AccountCode": "203", "Tracking": [], "Quantity": 17.0000, "LineItemID": "8562aa3e-3244-4b99-9118-4176baccf450", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.00, "TaxType": "TAX020", "TaxAmount": 33.67, "LineAmount": 259.00, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "LineItemID": "c4ba7c5c-ec28-47e0-a750-61e679b03597", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (14164793951 - 226 LESMILL RD TORONTO, ON M3B2T5)", "UnitAmount": 2.52, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.52, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "a00f4e32-d556-41d9-9979-0974f924c436", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Manual correction due to date proration error", "UnitAmount": 18.68, "TaxType": "TAX020", "TaxAmount": 2.43, "LineAmount": 18.68, "Tracking": [], "Quantity": 1.0000, "LineItemID": "52d0c353-2198-4f54-9308-cf03448fc9a4", "ValidationErrors": [] }, { "Description": "Manual correction due to date proration error", "UnitAmount": 282.12, "TaxType": "TAX020", "TaxAmount": 36.68, "LineAmount": 282.12, "Tracking": [], "Quantity": 1.0000, "LineItemID": "a3b65a6a-b045-482c-98e0-52724236ebc6", "ValidationErrors": [] } ], "SubTotal": 4616.86, "TotalTax": 600.20, "Total": 5217.06, "UpdatedDateUTC": "\/Date(1742471779567+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:56:19] Production.INFO: -- Create Invoice id --a52ad5af-70bc-4008-8d19-6300e718d70e [2025-03-20 07:56:19] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:56:19] Production.INFO: CheckInvoice xerov2: INV11633 [2025-03-20 07:56:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11633 [2025-03-20 07:56:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721453', 'tblTempUsageDetail_20' ) start [2025-03-20 07:56:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721453', 'tblTempUsageDetail_20' ) end [2025-03-20 07:56:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:56:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:56:20] Production.INFO: ==28895== Releasing lock... [2025-03-20 07:56:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:56:20] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 07:56:22] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:56:22] Production.INFO: Invoice SubTotal 86.130000 [2025-03-20 07:56:22] Production.INFO: Invoice DetTotal 86.13 [2025-03-20 07:56:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 07:56:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:56:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:56:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:56:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-31-2025 To 03-02-2025",Quantity : 1,UnitAmount : 28.450000,LineAmount : 28.450000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 6,UnitAmount : 9.240000,LineAmount : 55.440000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)",Quantity : 1,UnitAmount : 2.240000,LineAmount : 2.240000} [2025-03-20 07:56:37] Production.INFO: ==== result ===== [2025-03-20 07:56:37] Production.INFO: { "Id": "1b6abfe8-5071-43b2-b5ed-1d3090d3de9e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471797831)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "556c8186-7e91-45c1-ba71-1e18a9d03473", "InvoiceNumber": "INV11633", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 97.33, "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": "2025-03-03T00:00:00", "Date": "\/Date(1740960000000+0000)\/", "DueDateString": "2025-04-02T00:00:00", "DueDate": "\/Date(1743552000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-31-2025 To 03-02-2025", "UnitAmount": 28.45, "TaxType": "TAX020", "TaxAmount": 3.70, "LineAmount": 28.45, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5dffaa9c-7d2a-45bb-8fc6-9ef082f97a1e", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 9.24, "TaxType": "TAX020", "TaxAmount": 7.21, "LineAmount": 55.44, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "LineItemID": "8b4ba4ec-b1da-4525-9fac-ff6de0bef1d7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (9056299698 - 1 Greensborough Drive, Suite 300, Etobicoke, ON M9W1C8)", "UnitAmount": 2.24, "TaxType": "TAX020", "TaxAmount": 0.29, "LineAmount": 2.24, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0b82b671-9430-403d-9332-53e9c60d0ebc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 86.13, "TotalTax": 11.20, "Total": 97.33, "UpdatedDateUTC": "\/Date(1742471797720+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:56:37] Production.INFO: -- Create Invoice id --556c8186-7e91-45c1-ba71-1e18a9d03473 [2025-03-20 07:56:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:56:37] Production.INFO: CheckInvoice xerov2: INV11627 [2025-03-20 07:56:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11627 [2025-03-20 07:56:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:56:40] Production.INFO: Invoice SubTotal 26.500000 [2025-03-20 07:56:40] Production.INFO: Invoice DetTotal 26.5 [2025-03-20 07:56:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Millbrook" [2025-03-20 07:56:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:56:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:56:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:56:53] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17052432093 - 47 Tupper Street Millbrook, ON L0A 1G0)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Capacity Based Billing - 2 Channels, Burstable to 3",Quantity : 2,UnitAmount : 12.000000,LineAmount : 24.000000} [2025-03-20 07:56:56] Production.INFO: ==== result ===== [2025-03-20 07:56:56] Production.INFO: { "Id": "40ea9362-aff2-4564-b49d-e29246d6e471", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471816222)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "7898119c-fd28-445a-a9f7-c43ca74b9eb5", "InvoiceNumber": "INV11627", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 29.95, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5827757d-9498-4c55-97f7-43de2cbda025", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Millbrook", "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(1533070460547+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-02T00:00:00", "Date": "\/Date(1740873600000+0000)\/", "DueDateString": "2025-04-01T00:00:00", "DueDate": "\/Date(1743465600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (17052432093 - 47 Tupper Street Millbrook, ON L0A 1G0)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "126f2601-7a2a-450a-9a9c-e6b6be4cdf80", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Capacity Based Billing - 2 Channels, Burstable to 3", "UnitAmount": 12.00, "TaxType": "TAX020", "TaxAmount": 3.12, "LineAmount": 24.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "d1f93497-fde3-4a50-875c-dad4ea172328", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 26.50, "TotalTax": 3.45, "Total": 29.95, "UpdatedDateUTC": "\/Date(1742471816163+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:56:56] Production.INFO: -- Create Invoice id --7898119c-fd28-445a-a9f7-c43ca74b9eb5 [2025-03-20 07:56:56] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:56:56] Production.INFO: CheckInvoice xerov2: INV11628 [2025-03-20 07:56:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11628 [2025-03-20 07:56:59] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:56:59] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 07:56:59] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 07:56:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending" [2025-03-20 11:57:01] Production.INFO: ==28989== Lock acquired, processing the job... [2025-03-20 11:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:57:01] Production.INFO: neon service started [2025-03-20 11:57:01] Production.INFO: neon service started [2025-03-20 11:57:01] Production.INFO: ==28989== Releasing lock... [2025-03-20 11:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:57:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 11:57:02] Production.INFO: ==28993== Lock acquired, processing the job... [2025-03-20 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:57:02] Production.INFO: ==28993== Releasing lock... [2025-03-20 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:57:02] Production.INFO: ==28991== Lock acquired, processing the job... [2025-03-20 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:57:02] Production.INFO: ==28991== Releasing lock... [2025-03-20 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:57:03] Production.INFO: ==28995== Lock acquired, processing the job... [2025-03-20 07:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:57:03] Production.INFO: ==28997== Lock acquired, processing the job... [2025-03-20 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:57:03] Production.INFO: ==28999== Lock acquired, processing the job... [2025-03-20 07:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:57:03] Production.INFO: ==29001== Lock acquired, processing the job... [2025-03-20 07:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:57:03] Production.INFO: ==29003== Lock acquired, processing the job... [2025-03-20 07:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:57:03] Production.INFO: ==28997== Releasing lock... [2025-03-20 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:57:03] Production.INFO: Account Balance Start. [2025-03-20 07:57:03] Production.INFO: CreateAllLog Start [2025-03-20 07:57:03] Production.INFO: 117 [2025-03-20 07:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:57:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:03] Production.INFO: ==29006== Lock acquired, processing the job... [2025-03-20 07:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:57:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:04] Production.INFO: count ==12 [2025-03-20 07:57:04] Production.ERROR: done [2025-03-20 07:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 07:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:57:04] Production.INFO: count ==23 [2025-03-20 07:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721457') start [2025-03-20 07:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:04] Production.ERROR: done [2025-03-20 07:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721457') end [2025-03-20 07:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:57:04] Production.INFO: 1 [2025-03-20 07:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:57:04] Production.INFO: ==29006== Releasing lock... [2025-03-20 07:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:57:04] Production.INFO: Total Charge 0 [2025-03-20 07:57:04] Production.INFO: CreateAllLog End [2025-03-20 07:57:04] Production.INFO: Account Balance End. [2025-03-20 07:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:57:04] Production.INFO: ==29001== Releasing lock... [2025-03-20 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:57:05 [end_date_ymd] => 2025-03-20 07:57:05 [RateCDR] => 1 ) [2025-03-20 07: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-03-20 04:57:05' and `end` < '2025-03-20 07: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-03-20 07:57:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:57:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:57:10] Production.ERROR: CronJobId end10 [2025-03-20 07:57:10] Production.INFO: ==28999== Releasing lock... [2025-03-20 07:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:57:10] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:57:11] 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-03-20 07:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:57:14] Production.INFO: call_cost start [2025-03-20 07:57:14] Production.INFO: call_cost end [2025-03-20 07:57:14] Production.INFO: ==== result ===== [2025-03-20 07:57:14] Production.INFO: { "Id": "82b56815-cbde-400c-a785-972fd8d9f146", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471834647)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fb480568-3960-425b-9fe0-0e622934ef16", "InvoiceNumber": "INV11628", "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-03-02T00:00:00", "Date": "\/Date(1740873600000+0000)\/", "DueDateString": "2025-04-01T00:00:00", "DueDate": "\/Date(1743465600000+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": "16b3bd56-f908-4dc7-b43d-b4c6b61490ca", "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": "a4c526a2-82a0-4e3b-bc23-afe5c752ee83", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742471834583+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:57:14] Production.INFO: -- Create Invoice id --fb480568-3960-425b-9fe0-0e622934ef16 [2025-03-20 07:57:14] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:57:14] Production.INFO: CheckInvoice xerov2: INV11629 [2025-03-20 07:57:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11629 [2025-03-20 07:57:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:57:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:57:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:57:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:57:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:57:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:57:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:57:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:57:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:57:14] Production.INFO: ==28995== Releasing lock... [2025-03-20 07:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:57:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:57:17] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:57:17] Production.INFO: Invoice SubTotal 27.240000 [2025-03-20 07:57:17] Production.INFO: Invoice DetTotal 27.24 [2025-03-20 07:57:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29" [2025-03-20 07:57:17] Production.INFO: count ==125 [2025-03-20 07:57:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:57:05 - End Time 2025-03-20 07:57:05 [2025-03-20 07:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721458', 'tblTempUsageDetail_20' ) start [2025-03-20 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721458', 'tblTempUsageDetail_20' ) end [2025-03-20 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721458', 'tblTempVendorCDR_20' ) start [2025-03-20 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721458', 'tblTempVendorCDR_20' ) end [2025-03-20 07:57:17] Production.INFO: ProcessCDR(1,14721458,1,1,2) [2025-03-20 07:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:57:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721458', 'tblTempUsageDetail_20' ) start [2025-03-20 07:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721458', 'tblTempUsageDetail_20' ) end [2025-03-20 07:57:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:57:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:57:20] Production.INFO: ==29003== Releasing lock... [2025-03-20 07:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:57:20] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 07:57:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:57:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:57:30] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6)",Quantity : 1,UnitAmount : 2.240000,LineAmount : 2.240000},{taxType:"TAX020",AccountCode : 303,"Description": "Discount - Friends and Family (Doug Geary referral)",Quantity : 1,UnitAmount : -45.000000,LineAmount : -45.000000} [2025-03-20 07:57:33] Production.INFO: ==== result ===== [2025-03-20 07:57:33] Production.INFO: { "Id": "68c0614b-1a80-41d9-aa5f-9a3d13fe924d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471853373)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5bf290c5-c584-4a40-ad00-662ec19d9a82", "InvoiceNumber": "INV11629", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 30.78, "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": "2025-03-02T00:00:00", "Date": "\/Date(1740873600000+0000)\/", "DueDateString": "2025-04-01T00:00:00", "DueDate": "\/Date(1743465600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Retail Phone Service - 3 Channels Dedicated/Burst to 5 Channels", "UnitAmount": 70.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7516969f-3200-4b7e-b9b2-87d8bddadef6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (9058521007 - 4B Campbell Drive, Unit 1, Uxbridge, ON L9P1H6)", "UnitAmount": 2.24, "TaxType": "TAX020", "TaxAmount": 0.29, "LineAmount": 2.24, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "1394c0d4-df4a-4c51-b9a5-e8c4ff3b8a9f", "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": "7c8c01a5-adac-48e4-b3e5-8e7d924808db", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 27.24, "TotalTax": 3.54, "Total": 30.78, "UpdatedDateUTC": "\/Date(1742471853310+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:57:33] Production.INFO: -- Create Invoice id --5bf290c5-c584-4a40-ad00-662ec19d9a82 [2025-03-20 07:57:33] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:57:33] Production.INFO: CheckInvoice xerov2: INV11630 [2025-03-20 07:57:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11630 [2025-03-20 07:57:36] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:57:36] Production.INFO: Invoice SubTotal 49.000000 [2025-03-20 07:57:36] Production.INFO: Invoice DetTotal 49 [2025-03-20 07:57:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-03-20 07:57:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:57:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:57:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:57:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.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.240000,LineAmount : 2.240000},{taxType:"TAX020",AccountCode : 203,"Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service",Quantity : 1,UnitAmount : -23.240000,LineAmount : -23.240000} [2025-03-20 07:57:51] Production.INFO: ==== result ===== [2025-03-20 07:57:51] Production.INFO: { "Id": "f9613f57-e4fc-4303-86d5-ea504a9ae04a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471871719)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "49e74ee9-e668-424a-b8c9-8df9577e34d1", "InvoiceNumber": "INV11630", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 55.37, "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": "2025-03-02T00:00:00", "Date": "\/Date(1740873600000+0000)\/", "DueDateString": "2025-04-01T00:00:00", "DueDate": "\/Date(1743465600000+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, "LineItemID": "f48a5509-c690-487b-82df-bec089225896", "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.24, "TaxType": "TAX020", "TaxAmount": 0.29, "LineAmount": 2.24, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0c161396-efd3-491a-9ee3-ffc66fa41d0e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Provides a $5/store/month discount when 5+ stores have OnSwitch Cloud Phone service", "UnitAmount": -23.24, "TaxType": "TAX020", "TaxAmount": -3.02, "LineAmount": -23.24, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "015d452c-443f-4e4e-8ebe-959d898ed06f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 49.00, "TotalTax": 6.37, "Total": 55.37, "UpdatedDateUTC": "\/Date(1742471871690+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:57:51] Production.INFO: -- Create Invoice id --49e74ee9-e668-424a-b8c9-8df9577e34d1 [2025-03-20 07:57:51] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:57:51] Production.INFO: CheckInvoice xerov2: INV11606 [2025-03-20 07:57:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11606 [2025-03-20 07:57:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:57:54] Production.INFO: Invoice SubTotal 256.350000 [2025-03-20 07:57:54] Production.INFO: Invoice DetTotal 256.35 [2025-03-20 07:57:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra" [2025-03-20 07:57:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:58:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 11:58:02] Production.INFO: ==29097== Lock acquired, processing the job... [2025-03-20 11:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:58:02] Production.INFO: neon service started [2025-03-20 11:58:02] Production.INFO: neon service started [2025-03-20 11:58:02] Production.INFO: ==29097== Releasing lock... [2025-03-20 11:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:58:02] Production.INFO: ==29100== Lock acquired, processing the job... [2025-03-20 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:58:02] Production.INFO: ==29100== Releasing lock... [2025-03-20 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 07:58:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 11:58:03] Production.INFO: ==29102== Lock acquired, processing the job... [2025-03-20 11:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:58:03] Production.INFO: ==29102== Releasing lock... [2025-03-20 11:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:58:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:58:03] Production.INFO: ==29111== Lock acquired, processing the job... [2025-03-20 07:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 07:58:03] Production.INFO: ==29113== Lock acquired, processing the job... [2025-03-20 07:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:58:03] Production.INFO: ==29105== Lock acquired, processing the job... [2025-03-20 07:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:58:03] Production.INFO: ==29107== Lock acquired, processing the job... [2025-03-20 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:58:03] Production.INFO: Account Balance Start. [2025-03-20 07:58:03] Production.INFO: CreateAllLog Start [2025-03-20 07:58:03] Production.INFO: ==29109== Lock acquired, processing the job... [2025-03-20 07:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 07:58:04] Production.INFO: 117 [2025-03-20 07:58:04] Production.INFO: Date 2025-03-08 [2025-03-20 07:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:58:04] Production.INFO: ==29115== Lock acquired, processing the job... [2025-03-20 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:58:04] Production.INFO: Date 2025-03-09 [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 07:58:04] Production.INFO: Date 2025-03-10 [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.INFO: count ==12 [2025-03-20 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-03-20 07:58:04] Production.INFO: count ==23 [2025-03-20 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721462') start [2025-03-20 07:58:04] Production.ERROR: done [2025-03-20 07:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721462') end [2025-03-20 07:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:58:04] Production.INFO: 1 [2025-03-20 07:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.INFO: ==29115== Releasing lock... [2025-03-20 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:58:04] Production.INFO: ==29107== Releasing lock... [2025-03-20 07:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:58:04] Production.ERROR: done [2025-03-20 07:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:58:04] Production.INFO: Total Charge 0 [2025-03-20 07:58:04] Production.INFO: CreateAllLog End [2025-03-20 07:58:05] Production.INFO: Account Balance End. [2025-03-20 07:58:05] Production.ERROR: CronJobId end 12 [2025-03-20 07:58:05] Production.INFO: ==29111== Releasing lock... [2025-03-20 07:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:58:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:58:05] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-01-2025 To 02-28-2025",Quantity : 1,UnitAmount : 5.910000,LineAmount : 5.910000},{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-03-20 07:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:58:05 [end_date_ymd] => 2025-03-20 07:58:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 04:58:05' and `end` < '2025-03-20 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-03-20 07:58:09] Production.INFO: ==== result ===== [2025-03-20 07:58:09] Production.INFO: { "Id": "77b30a69-ae68-4e79-a5a0-307964da7b74", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471889140)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9770ecea-a080-4f5a-84d0-d94521cdebca", "InvoiceNumber": "INV11606", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 289.68, "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": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-01-2025 To 02-28-2025", "UnitAmount": 5.91, "TaxType": "TAX020", "TaxAmount": 0.77, "LineAmount": 5.91, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "fbb1534f-df9d-498f-a440-22adb4834937", "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": "3623de72-a2ff-4501-98bb-4d92716cceba", "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": "d21abb95-b276-4bd0-8383-d3518ef8d8da", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 256.35, "TotalTax": 33.33, "Total": 289.68, "UpdatedDateUTC": "\/Date(1742471889077+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:58:09] Production.INFO: -- Create Invoice id --9770ecea-a080-4f5a-84d0-d94521cdebca [2025-03-20 07:58:09] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:58:09] Production.INFO: CheckInvoice xerov2: INV11607 [2025-03-20 07:58:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11607 [2025-03-20 07:58:11] Production.ERROR: CronJobId end10 [2025-03-20 07:58:11] Production.INFO: ==29109== Releasing lock... [2025-03-20 07:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:58:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:58:12] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:58:12] Production.INFO: Invoice SubTotal 348.910000 [2025-03-20 07:58:12] Production.INFO: Invoice DetTotal 348.91 [2025-03-20 07:58:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29" [2025-03-20 07:58:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:58:15] Production.INFO: call_cost start [2025-03-20 07:58:15] Production.INFO: call_cost end [2025-03-20 07:58:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:58:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:58:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:58:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:58:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:58:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:58:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:58:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:58:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:58:16] Production.INFO: ==29105== Releasing lock... [2025-03-20 07:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:58:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:58:17] Production.INFO: count ==125 [2025-03-20 07:58:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:58:05 - End Time 2025-03-20 07:58:05 [2025-03-20 07:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721463', 'tblTempUsageDetail_20' ) start [2025-03-20 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721463', 'tblTempUsageDetail_20' ) end [2025-03-20 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721463', 'tblTempVendorCDR_20' ) start [2025-03-20 07:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721463', 'tblTempVendorCDR_20' ) end [2025-03-20 07:58:17] Production.INFO: ProcessCDR(1,14721463,1,1,2) [2025-03-20 07:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:58:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:58:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721463', 'tblTempUsageDetail_20' ) start [2025-03-20 07:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721463', 'tblTempUsageDetail_20' ) end [2025-03-20 07:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:58:21] Production.INFO: ==29113== Releasing lock... [2025-03-20 07:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:58:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 07:58:23] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-01-2025 To 02-28-2025",Quantity : 1,UnitAmount : 14.650000,LineAmount : 14.650000},{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-03-20 07:58:26] Production.INFO: ==== result ===== [2025-03-20 07:58:26] Production.INFO: { "Id": "e28546de-3a1a-4ccb-a585-412d68c86cb0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471906763)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "dd7fcc1f-4767-44dc-9025-f0c890a12b51", "InvoiceNumber": "INV11607", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 394.33, "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-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-01-2025 To 02-28-2025", "UnitAmount": 14.65, "TaxType": "TAX020", "TaxAmount": 1.90, "LineAmount": 14.65, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "ee6201f8-990f-44df-90e3-8e58e814a6de", "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": "89145f3d-ceaa-4d5d-b677-9bf01b3ce39d", "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": "d00fc53f-4ecb-4d88-ac07-01f32e8e00ec", "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": "5b1e9ec2-f444-4918-8d56-7791d07434b7", "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": "4247ff4a-46c1-479e-9f17-4677115e69cc", "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": "b26f6edb-6792-4f92-a259-e7ce125a7450", "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": "1fcc5e88-1de0-446f-9e4f-ea794b359ac2", "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": "9f00ac00-be39-4628-a127-791057feb967", "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": "09512b67-9a43-4d36-a236-c7ccd4a8097d", "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": "dd14082b-90fe-4ebb-981b-8192d05d904e", "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": "198afb05-9588-4467-8b8f-ca48ec17ff8e", "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": "d7d043c9-e748-4fa4-9571-acd14d3251a0", "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": "a1c8f82f-7fb5-49ec-a058-00a9cf3a7c3e", "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": "145a5251-1156-4c45-b269-a63941a91ace", "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": "140b761c-0af3-436e-8296-016747f2430c", "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": "13a9eccb-e622-4030-a89c-f588e22ed043", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 348.91, "TotalTax": 45.42, "Total": 394.33, "UpdatedDateUTC": "\/Date(1742471906687+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:58:26] Production.INFO: -- Create Invoice id --dd7fcc1f-4767-44dc-9025-f0c890a12b51 [2025-03-20 07:58:26] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:58:26] Production.INFO: CheckInvoice xerov2: INV11608 [2025-03-20 07:58:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11608 [2025-03-20 07:58:29] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:58:29] Production.INFO: Invoice SubTotal 7.000000 [2025-03-20 07:58:29] Production.INFO: Invoice DetTotal 7 [2025-03-20 07:58:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples" [2025-03-20 07:58:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:58:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:58:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:58:41] 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-03-20 07:58:44] Production.INFO: ==== result ===== [2025-03-20 07:58:44] Production.INFO: { "Id": "3ec024e5-d53b-43c3-94f0-8cead95f88e2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471924065)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f4077473-b582-4871-97ee-0d2ad29c9f18", "InvoiceNumber": "INV11608", "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-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+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": "5df23f77-225d-4225-a433-8d37fdfb768d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 7.00, "TotalTax": 0.91, "Total": 7.91, "UpdatedDateUTC": "\/Date(1742471923987+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:58:44] Production.INFO: -- Create Invoice id --f4077473-b582-4871-97ee-0d2ad29c9f18 [2025-03-20 07:58:44] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:58:44] Production.INFO: CheckInvoice xerov2: INV11610 [2025-03-20 07:58:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11610 [2025-03-20 07:58:47] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:58:47] Production.INFO: Invoice SubTotal 158.480000 [2025-03-20 07:58:47] Production.INFO: Invoice DetTotal 158.48 [2025-03-20 07:58:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29" [2025-03-20 07:58:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:58:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:58:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:58:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 56.000000,LineAmount : 56.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 : 68.600000,LineAmount : 68.600000},{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 : 48.160000,LineAmount : 48.160000},{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 : -4.760000,LineAmount : -14.280000} [2025-03-20 11:59:01] Production.INFO: ==29207== Lock acquired, processing the job... [2025-03-20 11:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 11:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 11:59:01] Production.INFO: neon service started [2025-03-20 11:59:01] Production.INFO: neon service started [2025-03-20 11:59:01] Production.INFO: ==29207== Releasing lock... [2025-03-20 11:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 11:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 07:59:01] Production.INFO: ==== result ===== [2025-03-20 07:59:01] Production.INFO: { "Id": "5160848c-859b-4527-ab0f-303049ea00dc", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471941783)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "735f5f45-968f-480c-b870-49d2babd3ca5", "InvoiceNumber": "INV11610", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 179.08, "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": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 56.00, "TaxType": "TAX020", "TaxAmount": 7.28, "LineAmount": 56.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "cfe23962-4373-4878-b4b4-8bcd79a3436a", "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": 68.60, "TaxType": "TAX020", "TaxAmount": 8.92, "LineAmount": 68.60, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "25963dc7-dff9-41e5-88bc-8e56113fc184", "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": 48.16, "TaxType": "TAX020", "TaxAmount": 6.26, "LineAmount": 48.16, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7c2a5be8-c461-4d1c-90e5-acf0b160b175", "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": -4.76, "TaxType": "TAX020", "TaxAmount": -1.86, "LineAmount": -14.28, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "19a1fc68-df73-4d0e-a6da-35c838ff73f0", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 158.48, "TotalTax": 20.60, "Total": 179.08, "UpdatedDateUTC": "\/Date(1742471941753+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:59:01] Production.INFO: -- Create Invoice id --735f5f45-968f-480c-b870-49d2babd3ca5 [2025-03-20 07:59:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:59:01] Production.INFO: CheckInvoice xerov2: INV11611 [2025-03-20 07:59:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11611 [2025-03-20 07:59:01] Production.INFO: ==29209== Lock acquired, processing the job... [2025-03-20 07:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 07:59:02] Production.INFO: ==29209== Releasing lock... [2025-03-20 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 07:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:59:02] Production.INFO: ==29211== Lock acquired, processing the job... [2025-03-20 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:59:02] Production.INFO: ==29211== Releasing lock... [2025-03-20 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 11:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 07:59:03] Production.INFO: ==29221== Lock acquired, processing the job... [2025-03-20 07:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 07:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 07:59:03] Production.INFO: ==29223== Lock acquired, processing the job... [2025-03-20 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 07:59:03] Production.INFO: ==29213== Lock acquired, processing the job... [2025-03-20 07:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 07:59:03] Production.INFO: ==29215== Lock acquired, processing the job... [2025-03-20 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 07:59:03] Production.INFO: ==29217== Lock acquired, processing the job... [2025-03-20 07:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 07:59:03] Production.INFO: count ==12 [2025-03-20 07:59:03] Production.INFO: ==29219== Lock acquired, processing the job... [2025-03-20 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 07:59:03] Production.INFO: count ==23 [2025-03-20 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721464') start [2025-03-20 07:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 07:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 07:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 07:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 07:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721464') end [2025-03-20 07:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 07:59:03] Production.INFO: 1 [2025-03-20 07:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 07:59:03] Production.INFO: ==29223== Releasing lock... [2025-03-20 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 07:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 07:59:03] Production.ERROR: done [2025-03-20 07:59:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 07:59:03] Production.INFO: Account Balance Start. [2025-03-20 07:59:03] Production.INFO: CreateAllLog Start [2025-03-20 07:59:03] Production.INFO: 117 [2025-03-20 07:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 07:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 07:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:03] Production.INFO: Date 2025-03-10 [2025-03-20 07:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:03] Production.INFO: Date 2025-03-11 [2025-03-20 07:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:03] Production.ERROR: done [2025-03-20 07:59:03] Production.INFO: ==29215== Releasing lock... [2025-03-20 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 07:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 07:59:03] Production.INFO: Date 2025-03-12 [2025-03-20 07:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:03] Production.INFO: Date 2025-03-13 [2025-03-20 07:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 07:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 07:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 07:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 07:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 07:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 07:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 07:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 07:59:04] Production.INFO: Total Charge 0 [2025-03-20 07:59:04] Production.INFO: CreateAllLog End [2025-03-20 07:59:04] Production.INFO: Account Balance End. [2025-03-20 07:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 07:59:04] Production.INFO: ==29219== Releasing lock... [2025-03-20 07:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 07:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 07:59:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 04:59:04 [end_date_ymd] => 2025-03-20 07:59:04 [RateCDR] => 1 ) [2025-03-20 07:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 04:59:04' and `end` < '2025-03-20 07:59:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 07:59:05] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:59:05] Production.INFO: Invoice SubTotal 74.290000 [2025-03-20 07:59:05] Production.INFO: Invoice DetTotal 74.29 [2025-03-20 07:59:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services" [2025-03-20 07:59:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:59:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:59:11] Production.ERROR: CronJobId end10 [2025-03-20 07:59:11] Production.INFO: ==29217== Releasing lock... [2025-03-20 07:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 07:59:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 07:59:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 07:59:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 07:59:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 07:59:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 07:59:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 07:59:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 07:59:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 07:59:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 07:59:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 07:59:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 07:59:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 07:59:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 07:59:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 07:59:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 07:59:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:59:14] Production.INFO: call_cost start [2025-03-20 07:59:14] Production.INFO: call_cost end [2025-03-20 07:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 07:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 07:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 07:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 07:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 07:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 07:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 07:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 07:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 07:59:15] Production.INFO: ==29213== Releasing lock... [2025-03-20 07:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 07:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 07:59:17] Production.INFO: count ==126 [2025-03-20 07:59:17] Production.ERROR: pbx CDR StartTime 2025-03-20 04:59:04 - End Time 2025-03-20 07:59:04 [2025-03-20 07:59:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721468', 'tblTempUsageDetail_20' ) start [2025-03-20 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721468', 'tblTempUsageDetail_20' ) end [2025-03-20 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721468', 'tblTempVendorCDR_20' ) start [2025-03-20 07:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721468', 'tblTempVendorCDR_20' ) end [2025-03-20 07:59:17] Production.INFO: ProcessCDR(1,14721468,1,1,2) [2025-03-20 07:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:59:17] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 02-01-2025 To 02-28-2025",Quantity : 1,UnitAmount : 23.790000,LineAmount : 23.790000},{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-03-20 07:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 07:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 07:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721468', 'tblTempUsageDetail_20' ) start [2025-03-20 07:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721468', 'tblTempUsageDetail_20' ) end [2025-03-20 07:59:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 07:59:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 07:59:20] Production.INFO: ==29221== Releasing lock... [2025-03-20 07:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 07:59:20] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 07:59:21] Production.INFO: ==== result ===== [2025-03-20 07:59:21] Production.INFO: { "Id": "f8d4c4af-27cd-4b0e-8e3c-ed131899bec1", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471960926)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "23e95c5c-b455-44e2-a5df-d0f8c8a1ec45", "InvoiceNumber": "INV11611", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 83.95, "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-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 02-01-2025 To 02-28-2025", "UnitAmount": 23.79, "TaxType": "TAX020", "TaxAmount": 3.09, "LineAmount": 23.79, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6a28af09-3322-4f3a-ad23-021c8cca642a", "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": "8dc821be-58a3-49ad-9188-22841b2b0ad8", "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": "0b60d9fa-9a81-4e03-808c-f21fbfba023d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 74.29, "TotalTax": 9.66, "Total": 83.95, "UpdatedDateUTC": "\/Date(1742471960880+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:59:21] Production.INFO: -- Create Invoice id --23e95c5c-b455-44e2-a5df-d0f8c8a1ec45 [2025-03-20 07:59:21] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:59:21] Production.INFO: CheckInvoice xerov2: INV11612 [2025-03-20 07:59:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11612 [2025-03-20 07:59:23] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:59:23] Production.INFO: Invoice SubTotal 169.120000 [2025-03-20 07:59:23] Production.INFO: Invoice DetTotal 169.12 [2025-03-20 07:59:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29" [2025-03-20 07:59:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:59:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:59:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:59:34] 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},{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.240000,LineAmount : 2.240000},{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (4585 Highway 7, Unit 18 Woodbridge, ON L4L 9T8 CANADA)",Quantity : 1,UnitAmount : 67.760000,LineAmount : 67.760000},{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 : 48.160000,LineAmount : 48.160000},{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 : -4.760000,LineAmount : -19.040000} [2025-03-20 07:59:38] Production.INFO: ==== result ===== [2025-03-20 07:59:38] Production.INFO: { "Id": "2b909e68-3708-4034-bd96-183dd3a119ac", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471978053)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "0203f301-f1e9-4e01-af3c-f62f3bc370bd", "InvoiceNumber": "INV11612", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 191.10, "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": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+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": "bd7fb9ab-ec97-4dd4-9563-381ea759b38b", "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.24, "TaxType": "TAX020", "TaxAmount": 0.29, "LineAmount": 2.24, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "48943540-d8e5-4081-9729-bc60b0fbeb4c", "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": 67.76, "TaxType": "TAX020", "TaxAmount": 8.81, "LineAmount": 67.76, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a917b0ee-6094-4b98-823b-4accaa38c952", "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": 48.16, "TaxType": "TAX020", "TaxAmount": 6.26, "LineAmount": 48.16, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "aa54ee04-f956-41f7-b758-2dc0cf6b0a07", "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": -4.76, "TaxType": "TAX020", "TaxAmount": -2.48, "LineAmount": -19.04, "AccountCode": "303", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "6e70c6f9-523c-4193-b7e7-0618b37f155c", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 169.12, "TotalTax": 21.98, "Total": 191.10, "UpdatedDateUTC": "\/Date(1742471978007+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:59:38] Production.INFO: -- Create Invoice id --0203f301-f1e9-4e01-af3c-f62f3bc370bd [2025-03-20 07:59:38] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:59:38] Production.INFO: CheckInvoice xerov2: INV11614 [2025-03-20 07:59:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11614 [2025-03-20 07:59:41] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:59:41] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 07:59:41] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 07:59:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29" [2025-03-20 07:59:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 07:59:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 07:59:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 07:59:52] 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-03-20 07:59:55] Production.INFO: ==== result ===== [2025-03-20 07:59:55] Production.INFO: { "Id": "744951ab-0cd3-4330-9eaa-6543c7f177c8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742471994980)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e6982269-48ee-41e2-8bf8-053629b15d64", "InvoiceNumber": "INV11614", "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-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+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": "3771ae96-0ca0-4d52-8875-6d68f9b8d7cf", "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": "47fd22f6-99b5-4948-8750-94a9f4495965", "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": "bbe8f2cb-4121-4f3c-bc75-a83a417eaf49", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742471994933+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 07:59:55] Production.INFO: -- Create Invoice id --e6982269-48ee-41e2-8bf8-053629b15d64 [2025-03-20 07:59:55] Production.INFO: -- Create Invoice Done -- [2025-03-20 07:59:55] Production.INFO: CheckInvoice xerov2: INV11615 [2025-03-20 07:59:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11615 [2025-03-20 07:59:57] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 07:59:57] Production.INFO: Invoice SubTotal 96.510000 [2025-03-20 07:59:57] Production.INFO: Invoice DetTotal 96.51 [2025-03-20 07:59:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29" [2025-03-20 08:00:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 12:00:02] Production.INFO: ==29314== Lock acquired, processing the job... [2025-03-20 12:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:00:02] Production.INFO: neon service started [2025-03-20 12:00:02] Production.INFO: neon service started [2025-03-20 12:00:02] Production.INFO: ==29314== Releasing lock... [2025-03-20 12:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:00:02] Production.INFO: ==29318== Lock acquired, processing the job... [2025-03-20 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:00:02] Production.INFO: ==29318== Releasing lock... [2025-03-20 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:00:02] Production.INFO: ==29316== Lock acquired, processing the job... [2025-03-20 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:00:03] Production.INFO: ==29316== Releasing lock... [2025-03-20 08:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:00:04] Production.INFO: ==29324== Lock acquired, processing the job... [2025-03-20 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 08:00:04] Production.INFO: ==29326== Lock acquired, processing the job... [2025-03-20 08:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:00:04] Production.INFO: ==29328== Lock acquired, processing the job... [2025-03-20 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:00:04] Production.INFO: ==29330== Lock acquired, processing the job... [2025-03-20 08:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 08:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 08:00:04] Production.ERROR: CronJob PID - 29326 [2025-03-20 08:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 08:00:04] Production.ERROR: CronJob ID - 5 [2025-03-20 08:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 08:00:00 [2025-03-20 08:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 08:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 08:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 08:00:04] Production.ERROR: CronJob PID - 29328 [2025-03-20 08:00:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 08:00:04] Production.ERROR: CronJob ID - 7 [2025-03-20 08:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 08:00:00 [2025-03-20 08:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 08:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 08:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 08:00:04] Production.ERROR: CronJob PID - 29330 [2025-03-20 08:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 08:00:04] Production.ERROR: CronJob ID - 10 [2025-03-20 08:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 08:00:00 [2025-03-20 08:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 08:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 08:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:00:04] Production.INFO: ==29338== Lock acquired, processing the job... [2025-03-20 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 08:00:04] Production.INFO: ==29324== Releasing lock... [2025-03-20 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 08:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 08:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:00:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:00:04] Production.INFO: ==29332== Lock acquired, processing the job... [2025-03-20 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:00:04] Production.INFO: ==29328== Releasing lock... [2025-03-20 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 08:00:04] Production.INFO: ==29334== Lock acquired, processing the job... [2025-03-20 08:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:00:04] Production.INFO: count ==12 [2025-03-20 08:00:04] Production.INFO: ==29336== Lock acquired, processing the job... [2025-03-20 08:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 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-03-20 08:00:04] Production.INFO: count ==23 [2025-03-20 08:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:00:04] Production.INFO: Account Balance Start. [2025-03-20 08:00:04] Production.INFO: CreateAllLog Start [2025-03-20 08:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721471') start [2025-03-20 08:00:04] Production.INFO: 117 [2025-03-20 08:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721471') end [2025-03-20 08:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:00:05] Production.INFO: 1 [2025-03-20 08:00:05] Production.INFO: Date 2025-03-09 [2025-03-20 08:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.INFO: Date 2025-03-10 [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.ERROR: done [2025-03-20 08:00:05] Production.INFO: Date 2025-03-11 [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.INFO: ==29338== Releasing lock... [2025-03-20 08:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:00:05] Production.ERROR: done [2025-03-20 08:00:05] Production.INFO: Date 2025-03-12 [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 08:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721473', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 08:00:05] Production.ERROR: done [2025-03-20 08:00:05] Production.INFO: Date 2025-03-13 [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.INFO: Date 2025-03-14 [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 08:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:00:05] Production.INFO: Total Charge 0 [2025-03-20 08:00:05] Production.INFO: CreateAllLog End [2025-03-20 08:00:06] Production.INFO: Account Balance End. [2025-03-20 08:00:06] Production.ERROR: CronJobId end 12 [2025-03-20 08:00:06] Production.INFO: ==29332== Releasing lock... [2025-03-20 08:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:00:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:00:06 [end_date_ymd] => 2025-03-20 08:00:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:00:06' and `end` < '2025-03-20 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-03-20 08:00:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721473', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 08:00:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 08:00:10] Production.INFO: ProcessCDR(1,14721473,1,1,2) [2025-03-20 08:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721473,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721473,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:00:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:00:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:00:10] Production.INFO: ==29336== Releasing lock... [2025-03-20 08:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 08:00:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 08:00:10] 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-03-20 08:00:14] Production.INFO: ==== result ===== [2025-03-20 08:00:14] Production.INFO: { "Id": "0b85a7bb-537b-4513-b809-ebf5a57c26d8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472014014)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fdf1f8fa-d07c-43dc-bf92-0622b0db4b7c", "InvoiceNumber": "INV11615", "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-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+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": "5c015895-6e3a-43ed-a3e7-ae09a3b77965", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 96.51, "TotalTax": 12.55, "Total": 109.06, "UpdatedDateUTC": "\/Date(1742472013920+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:00:14] Production.INFO: -- Create Invoice id --fdf1f8fa-d07c-43dc-bf92-0622b0db4b7c [2025-03-20 08:00:14] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:00:14] Production.INFO: CheckInvoice xerov2: INV11616 [2025-03-20 08:00:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11616 [2025-03-20 08:00:16] Production.ERROR: CronJobId end10 [2025-03-20 08:00:16] Production.INFO: ==29330== Releasing lock... [2025-03-20 08:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:00:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:00:16] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:00:16] Production.INFO: Invoice SubTotal 292.590000 [2025-03-20 08:00:16] Production.INFO: Invoice DetTotal 292.59 [2025-03-20 08:00:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29" [2025-03-20 08:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:00:18] Production.INFO: call_cost start [2025-03-20 08:00:18] Production.INFO: call_cost end [2025-03-20 08:00:19] Production.INFO: count ==137 [2025-03-20 08:00:19] Production.ERROR: pbx CDR StartTime 2025-03-20 05:00:06 - End Time 2025-03-20 08:00:06 [2025-03-20 08:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721474', 'tblTempUsageDetail_20' ) start [2025-03-20 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721474', 'tblTempUsageDetail_20' ) end [2025-03-20 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721474', 'tblTempVendorCDR_20' ) start [2025-03-20 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721474', 'tblTempVendorCDR_20' ) end [2025-03-20 08:00:19] Production.INFO: ProcessCDR(1,14721474,1,1,2) [2025-03-20 08:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:00:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:00:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:00:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:00:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:00:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:00:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:00:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:00:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:00:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:00:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:00:19] Production.INFO: ==29326== Releasing lock... [2025-03-20 08:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:00:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721474,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:00:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721474,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721474', 'tblTempUsageDetail_20' ) start [2025-03-20 08:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721474', 'tblTempUsageDetail_20' ) end [2025-03-20 08:00:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:00:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:00:25] Production.INFO: ==29334== Releasing lock... [2025-03-20 08:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:00:25] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 08:00:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:00:29] 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-03-20 08:00:32] Production.INFO: ==== result ===== [2025-03-20 08:00:32] Production.INFO: { "Id": "0c20983f-37bc-4d82-a261-988b2075cc5a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472032738)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "43fae1f1-247a-49cc-aa75-844e325e9223", "InvoiceNumber": "INV11616", "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-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+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": "512f8c85-077f-4a3b-9d40-27f43aec91c1", "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": "bc65b108-2990-41c8-add8-99ca63483316", "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": "013f966e-72ad-4ce4-9305-2533fab3c2bf", "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": "d088fbc5-49d4-4f1c-9a3e-0d745a8d11af", "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": "b6873370-2678-4fc7-a19b-1aee8198f327", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 292.59, "TotalTax": 38.04, "Total": 330.63, "UpdatedDateUTC": "\/Date(1742472032660+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:00:32] Production.INFO: -- Create Invoice id --43fae1f1-247a-49cc-aa75-844e325e9223 [2025-03-20 08:00:32] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:00:32] Production.INFO: CheckInvoice xerov2: INV11619 [2025-03-20 08:00:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11619 [2025-03-20 08:00:35] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:00:35] Production.INFO: Invoice SubTotal 32.500000 [2025-03-20 08:00:35] Production.INFO: Invoice DetTotal 32.5 [2025-03-20 08:00:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry" [2025-03-20 08:00:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:00:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:00:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:00:46] 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-03-20 08:00:50] Production.INFO: ==== result ===== [2025-03-20 08:00:50] Production.INFO: { "Id": "b9fcb18d-9320-4f9c-b048-752c66e9129a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472050285)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "13e846b7-212e-423a-beba-43345aa7ecb3", "InvoiceNumber": "INV11619", "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-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+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": "b1ea43bc-c206-4cb8-a023-5dbb43ec9458", "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": "3ade3eb2-9928-47f5-8c42-306e01fb95b1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.50, "TotalTax": 4.23, "Total": 36.73, "UpdatedDateUTC": "\/Date(1742472050237+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:00:50] Production.INFO: -- Create Invoice id --13e846b7-212e-423a-beba-43345aa7ecb3 [2025-03-20 08:00:50] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:00:50] Production.INFO: CheckInvoice xerov2: INV11621 [2025-03-20 08:00:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11621 [2025-03-20 08:00:53] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:00:53] Production.INFO: Invoice SubTotal 65.500000 [2025-03-20 08:00:53] Production.INFO: Invoice DetTotal 65.5 [2025-03-20 08:00:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group" [2025-03-20 08:00:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:00:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 12:01:01] Production.INFO: ==29419== Lock acquired, processing the job... [2025-03-20 12:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:01:01] Production.INFO: neon service started [2025-03-20 12:01:01] Production.INFO: neon service started [2025-03-20 12:01:01] Production.INFO: ==29419== Releasing lock... [2025-03-20 12:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:01:01] Production.INFO: ==29433== Lock acquired, processing the job... [2025-03-20 08:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:01:02] Production.INFO: ==29433== Releasing lock... [2025-03-20 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:01:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 12:01:02] Production.INFO: ==29435== Lock acquired, processing the job... [2025-03-20 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:01:02] Production.INFO: ==29435== Releasing lock... [2025-03-20 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:01:03] Production.INFO: ==29439== Lock acquired, processing the job... [2025-03-20 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:01:03] Production.INFO: ==29447== Lock acquired, processing the job... [2025-03-20 08:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:01:03] Production.INFO: ==29437== Lock acquired, processing the job... [2025-03-20 08:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 08:01:03] Production.INFO: count ==12 [2025-03-20 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-03-20 08:01:03] Production.INFO: count ==23 [2025-03-20 08:01:03] Production.INFO: ==29441== Lock acquired, processing the job... [2025-03-20 08:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721476') start [2025-03-20 08:01:03] Production.INFO: ==29439== Releasing lock... [2025-03-20 08:01:03] Production.INFO: ==29443== Lock acquired, processing the job... [2025-03-20 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:01:03] Production.INFO: ==29445== Lock acquired, processing the job... [2025-03-20 08:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:01:03] Production.INFO: Account Balance Start. [2025-03-20 08:01:03] Production.INFO: CreateAllLog Start [2025-03-20 08:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721476') end [2025-03-20 08:01:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:01:03] Production.INFO: 1 [2025-03-20 08:01:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:01:03] Production.INFO: 117 [2025-03-20 08:01:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:03] Production.INFO: ==29447== Releasing lock... [2025-03-20 08:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:01:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:01:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:03] Production.INFO: Date 2025-03-16 [2025-03-20 08:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:04] Production.ERROR: done [2025-03-20 08:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:04] Production.ERROR: done [2025-03-20 08:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:01:04] Production.INFO: Total Charge 0 [2025-03-20 08:01:04] Production.INFO: CreateAllLog End [2025-03-20 08:01:04] Production.INFO: Account Balance End. [2025-03-20 08:01:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:01:04] Production.INFO: ==29443== Releasing lock... [2025-03-20 08:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:01:05 [end_date_ymd] => 2025-03-20 08:01:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:01:05' and `end` < '2025-03-20 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-03-20 08:01:05] 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-03-20 08:01:09] Production.INFO: ==== result ===== [2025-03-20 08:01:09] Production.INFO: { "Id": "b4fa8d8c-a3fe-4a5c-86fc-a8abd5ff6453", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472068891)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "35624a36-4ca9-4304-b2c5-e85f35fb9dd1", "InvoiceNumber": "INV11621", "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-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+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": "6ed52a4f-1a8f-489c-a3bf-38266bb70073", "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": "8f8c92db-b083-45f3-be6b-daa3e8597619", "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": "595bb2c7-a27b-4d75-adc5-4a329822f414", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 65.50, "TotalTax": 8.52, "Total": 74.02, "UpdatedDateUTC": "\/Date(1742472068843+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:01:09] Production.INFO: -- Create Invoice id --35624a36-4ca9-4304-b2c5-e85f35fb9dd1 [2025-03-20 08:01:09] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:01:09] Production.INFO: CheckInvoice xerov2: INV11622 [2025-03-20 08:01:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11622 [2025-03-20 08:01:12] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:01:12] Production.INFO: Invoice SubTotal 40.000000 [2025-03-20 08:01:12] Production.INFO: Invoice DetTotal 40 [2025-03-20 08:01:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-03-20 08:01:12] Production.ERROR: CronJobId end10 [2025-03-20 08:01:12] Production.INFO: ==29441== Releasing lock... [2025-03-20 08:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:01:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:01:14] Production.INFO: call_cost start [2025-03-20 08:01:14] Production.INFO: call_cost end [2025-03-20 08:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:01:15] Production.INFO: ==29437== Releasing lock... [2025-03-20 08:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:01:17] Production.INFO: count ==152 [2025-03-20 08:01:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:01:05 - End Time 2025-03-20 08:01:05 [2025-03-20 08:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721479', 'tblTempUsageDetail_20' ) start [2025-03-20 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721479', 'tblTempUsageDetail_20' ) end [2025-03-20 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721479', 'tblTempVendorCDR_20' ) start [2025-03-20 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721479', 'tblTempVendorCDR_20' ) end [2025-03-20 08:01:17] Production.INFO: ProcessCDR(1,14721479,1,1,2) [2025-03-20 08:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:01:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721479,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721479,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721479', 'tblTempUsageDetail_20' ) start [2025-03-20 08:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721479', 'tblTempUsageDetail_20' ) end [2025-03-20 08:01:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:01:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:01:20] Production.INFO: ==29445== Releasing lock... [2025-03-20 08:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:01:20] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 08:01:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:01:24] 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-03-20 08:01:27] Production.INFO: ==== result ===== [2025-03-20 08:01:27] Production.INFO: { "Id": "6ca14b99-8682-4616-9509-d3e7ae67dd49", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472087873)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "deb095d7-9ec5-4887-b08d-75f6cb2d07e5", "InvoiceNumber": "INV11622", "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-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+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": "2b252a3c-de93-494f-a706-cc75c809e86f", "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": "10152d84-f155-4ea2-be7b-09a36d1d350a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 40.00, "TotalTax": 5.21, "Total": 45.21, "UpdatedDateUTC": "\/Date(1742472087827+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:01:27] Production.INFO: -- Create Invoice id --deb095d7-9ec5-4887-b08d-75f6cb2d07e5 [2025-03-20 08:01:27] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:01:27] Production.INFO: CheckInvoice xerov2: INV11625 [2025-03-20 08:01:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11625 [2025-03-20 08:01:30] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:01:30] Production.INFO: Invoice SubTotal 202.800000 [2025-03-20 08:01:30] Production.INFO: Invoice DetTotal 202.8 [2025-03-20 08:01:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 08:01:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:01:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:01:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:01:43] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation",Quantity : 2,UnitAmount : 52.000000,LineAmount : 104.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 8,UnitAmount : 8.100000,LineAmount : 64.800000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 2,UnitAmount : 17.000000,LineAmount : 34.000000} [2025-03-20 08:01:46] Production.INFO: ==== result ===== [2025-03-20 08:01:46] Production.INFO: { "Id": "0e9f95a0-8ef8-4551-a049-93d36f158840", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472106566)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fdb84ec1-479f-49ce-a79d-08e54d68f405", "InvoiceNumber": "INV11625", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 229.16, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "cad302ad-7c7e-456b-bcf1-bd7729cb22b7", "ContactNumber": "Keogh Construction", "ContactStatus": "ACTIVE", "Name": "Keogh Construction", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "555-555-5555", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "(519) 942-4573", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936267550+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-03-01T00:00:00", "Date": "\/Date(1740787200000+0000)\/", "DueDateString": "2025-03-31T00:00:00", "DueDate": "\/Date(1743379200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Managed IT: Workstation", "UnitAmount": 52.00, "TaxType": "TAX020", "TaxAmount": 13.52, "LineAmount": 104.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "f9624327-aac2-40e5-96a1-ebb10a17e2a3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic collaboration and productivity suite", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 8.42, "LineAmount": 64.80, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "42af4423-aa1a-4b8f-a4d8-d5b42ed77660", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard collaboration and productivity suite", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 4.42, "LineAmount": 34.00, "AccountCode": "250", "Tracking": [], "Quantity": 2.0000, "LineItemID": "7bf54ada-3e21-4d66-af1c-3077c83dd9f1", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 202.80, "TotalTax": 26.36, "Total": 229.16, "UpdatedDateUTC": "\/Date(1742472106503+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:01:46] Production.INFO: -- Create Invoice id --fdb84ec1-479f-49ce-a79d-08e54d68f405 [2025-03-20 08:01:46] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:01:46] Production.INFO: CheckInvoice xerov2: INV11601 [2025-03-20 08:01:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11601 [2025-03-20 08:01:49] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:01:49] Production.INFO: Invoice SubTotal 17.850000 [2025-03-20 08:01:49] Production.INFO: Invoice DetTotal 17.85 [2025-03-20 08:01:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security" [2025-03-20 08:01:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:01:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:01:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:02:01] 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-03-20 12:02:02] Production.INFO: ==29528== Lock acquired, processing the job... [2025-03-20 12:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:02:02] Production.INFO: neon service started [2025-03-20 12:02:02] Production.INFO: neon service started [2025-03-20 12:02:02] Production.INFO: ==29528== Releasing lock... [2025-03-20 12:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:02:02] Production.INFO: ==29532== Lock acquired, processing the job... [2025-03-20 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:02:02] Production.INFO: ==29532== Releasing lock... [2025-03-20 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:02:02] Production.INFO: ==29530== Lock acquired, processing the job... [2025-03-20 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:02:02] Production.INFO: ==29530== Releasing lock... [2025-03-20 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:02:03] Production.INFO: ==29537== Lock acquired, processing the job... [2025-03-20 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:02:03] Production.INFO: ==29535== Lock acquired, processing the job... [2025-03-20 08:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:02:03] Production.INFO: ==29539== Lock acquired, processing the job... [2025-03-20 08:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:02:03] Production.INFO: ==29541== Lock acquired, processing the job... [2025-03-20 08:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:02:03] Production.INFO: ==29537== Releasing lock... [2025-03-20 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:02:04] Production.INFO: ==29543== Lock acquired, processing the job... [2025-03-20 08:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:02:04] Production.INFO: Account Balance Start. [2025-03-20 08:02:04] Production.INFO: CreateAllLog Start [2025-03-20 08:02:04] Production.INFO: 117 [2025-03-20 08:02:04] Production.INFO: ==29545== Lock acquired, processing the job... [2025-03-20 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.INFO: count ==12 [2025-03-20 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-03-20 08:02:04] Production.INFO: count ==23 [2025-03-20 08:02:04] Production.ERROR: done [2025-03-20 08:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721483') start [2025-03-20 08:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721483') end [2025-03-20 08:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:02:04] Production.INFO: 1 [2025-03-20 08:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.INFO: ==29545== Releasing lock... [2025-03-20 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:02:04] Production.ERROR: done [2025-03-20 08:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:02:04] Production.INFO: Total Charge 0 [2025-03-20 08:02:04] Production.INFO: CreateAllLog End [2025-03-20 08:02:05] Production.INFO: Account Balance End. [2025-03-20 08:02:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:02:05] Production.INFO: ==29541== Releasing lock... [2025-03-20 08:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:02:05] Production.INFO: ==== result ===== [2025-03-20 08:02:05] Production.INFO: { "Id": "a883500b-8984-4080-b810-386fce8f4b07", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472125090)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "21385890-2eac-4798-8ee0-8f15f725e3e3", "InvoiceNumber": "INV11601", "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": "2025-02-28T00:00:00", "Date": "\/Date(1740700800000+0000)\/", "DueDateString": "2025-03-30T00:00:00", "DueDate": "\/Date(1743292800000+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": "d5627e27-e6bd-43cb-890d-cb3603774bb9", "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": "ff037720-de7f-4ce7-9832-b2b7ae4a5727", "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": "99f30863-d18f-47db-a0be-e04228e4b4fa", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 17.85, "TotalTax": 2.33, "Total": 20.18, "UpdatedDateUTC": "\/Date(1742472125013+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:02:05] Production.INFO: -- Create Invoice id --21385890-2eac-4798-8ee0-8f15f725e3e3 [2025-03-20 08:02:05] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:02:05] Production.INFO: CheckInvoice xerov2: INV11602 [2025-03-20 08:02:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11602 [2025-03-20 08:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:02:05 [end_date_ymd] => 2025-03-20 08:02:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:02:05' and `end` < '2025-03-20 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-03-20 08:02:08] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:02:08] Production.INFO: Invoice SubTotal 14.170000 [2025-03-20 08:02:08] Production.INFO: Invoice DetTotal 14.17 [2025-03-20 08:02:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc" [2025-03-20 08:02:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:02:12] Production.ERROR: CronJobId end10 [2025-03-20 08:02:12] Production.INFO: ==29539== Releasing lock... [2025-03-20 08:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:02:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:02:14] Production.INFO: call_cost start [2025-03-20 08:02:14] Production.INFO: call_cost end [2025-03-20 08:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:02:15] Production.INFO: ==29535== Releasing lock... [2025-03-20 08:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:02:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:02:17] Production.INFO: count ==151 [2025-03-20 08:02:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:02:05 - End Time 2025-03-20 08:02:05 [2025-03-20 08:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721484', 'tblTempUsageDetail_20' ) start [2025-03-20 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721484', 'tblTempUsageDetail_20' ) end [2025-03-20 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721484', 'tblTempVendorCDR_20' ) start [2025-03-20 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721484', 'tblTempVendorCDR_20' ) end [2025-03-20 08:02:18] Production.INFO: ProcessCDR(1,14721484,1,1,2) [2025-03-20 08:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:02:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-28-2025 To 02-27-2025",Quantity : 1,UnitAmount : 4.170000,LineAmount : 4.170000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889888860)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000} [2025-03-20 08:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721484', 'tblTempUsageDetail_20' ) start [2025-03-20 08:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721484', 'tblTempUsageDetail_20' ) end [2025-03-20 08:02:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:02:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:02:23] Production.INFO: ==29543== Releasing lock... [2025-03-20 08:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:02:23] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 08:02:23] Production.INFO: ==== result ===== [2025-03-20 08:02:23] Production.INFO: { "Id": "cf28a4d8-8007-47e6-883c-7a49b432d837", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472143446)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "66e545dd-78a4-4faf-aef7-2ca2a861678f", "InvoiceNumber": "INV11602", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 16.01, "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": "2025-02-28T00:00:00", "Date": "\/Date(1740700800000+0000)\/", "DueDateString": "2025-03-30T00:00:00", "DueDate": "\/Date(1743292800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-28-2025 To 02-27-2025", "UnitAmount": 4.17, "TaxType": "TAX020", "TaxAmount": 0.54, "LineAmount": 4.17, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4485128e-da27-4536-a3ba-8b5a9a8a6259", "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": "899b902c-071a-4fb1-b944-cc3d7552a258", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 14.17, "TotalTax": 1.84, "Total": 16.01, "UpdatedDateUTC": "\/Date(1742472143413+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:02:23] Production.INFO: -- Create Invoice id --66e545dd-78a4-4faf-aef7-2ca2a861678f [2025-03-20 08:02:23] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:02:23] Production.INFO: CheckInvoice xerov2: INV11603 [2025-03-20 08:02:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11603 [2025-03-20 08:02:26] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:02:26] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 08:02:26] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 08:02:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29" [2025-03-20 08:02:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:02:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:02:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:02:39] 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-03-20 08:02:42] Production.INFO: ==== result ===== [2025-03-20 08:02:42] Production.INFO: { "Id": "eb338ef5-3556-4385-b261-d1151608a6bb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472162232)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8dfbc1b9-9766-4ca0-a824-62f5f9bbed97", "InvoiceNumber": "INV11603", "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": "2025-02-28T00:00:00", "Date": "\/Date(1740700800000+0000)\/", "DueDateString": "2025-03-30T00:00:00", "DueDate": "\/Date(1743292800000+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": "c9f2c55d-a95b-4a6e-b05b-62e034a66c72", "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": "1d491a7d-17f5-43c4-b90b-5febe4fc4cc2", "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": "cc463480-f6d0-42a4-b21d-2b2800cb4e96", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 3.13, "Total": 65.63, "UpdatedDateUTC": "\/Date(1742472162170+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:02:42] Production.INFO: -- Create Invoice id --8dfbc1b9-9766-4ca0-a824-62f5f9bbed97 [2025-03-20 08:02:42] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:02:42] Production.INFO: CheckInvoice xerov2: INV11604 [2025-03-20 08:02:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11604 [2025-03-20 08:02:45] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:02:45] Production.INFO: Invoice SubTotal 83.460000 [2025-03-20 08:02:45] Production.INFO: Invoice DetTotal 83.46 [2025-03-20 08:02:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Apsley" [2025-03-20 08:02:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:02:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:02:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:02:57] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service 50x10 (238 Burleigh St, Apsley, ON K0L 1A0)",Quantity : 1,UnitAmount : 83.460000,LineAmount : 83.460000} [2025-03-20 08:02:59] Production.INFO: ==== result ===== [2025-03-20 08:02:59] Production.INFO: { "Id": "aa4fa400-a5d7-4616-b195-cd072f0e25c0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472179823)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9e4bb34e-f8d1-49d7-9cfe-5892ea3c65e2", "InvoiceNumber": "INV11604", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 94.31, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b88606e0-7c2f-487f-9327-5daeaa7e65c2", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Apsley", "FirstName": "Tammy", "LastName": "Phelan", "EmailAddress": "ap@compasselc.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(1594225462623+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-28T00:00:00", "Date": "\/Date(1740700800000+0000)\/", "DueDateString": "2025-03-30T00:00:00", "DueDate": "\/Date(1743292800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "VDSL Internet Service 50x10 (238 Burleigh St, Apsley, ON K0L 1A0)", "UnitAmount": 83.46, "TaxType": "TAX020", "TaxAmount": 10.85, "LineAmount": 83.46, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "74986bce-acbf-4e0a-be1f-25c4cffe91a3", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 83.46, "TotalTax": 10.85, "Total": 94.31, "UpdatedDateUTC": "\/Date(1742472179743+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:02:59] Production.INFO: -- Create Invoice id --9e4bb34e-f8d1-49d7-9cfe-5892ea3c65e2 [2025-03-20 08:02:59] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:02:59] Production.INFO: CheckInvoice xerov2: INV50020 [2025-03-20 08:02:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50020 [2025-03-20 12:03:01] Production.INFO: ==29631== Lock acquired, processing the job... [2025-03-20 12:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:03:01] Production.INFO: neon service started [2025-03-20 12:03:01] Production.INFO: neon service started [2025-03-20 12:03:01] Production.INFO: ==29631== Releasing lock... [2025-03-20 12:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:03:02] Production.INFO: ==29635== Lock acquired, processing the job... [2025-03-20 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:03:02] Production.INFO: ==29633== Lock acquired, processing the job... [2025-03-20 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:03:02] Production.INFO: ==29635== Releasing lock... [2025-03-20 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:03:02] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:03:02] Production.INFO: ==29633== Releasing lock... [2025-03-20 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:03:03] Production.INFO: Invoice SubTotal 705.840000 [2025-03-20 08:03:03] Production.INFO: Invoice DetTotal 705.84 [2025-03-20 08:03:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-03-20 08:03:03] Production.INFO: ==29641== Lock acquired, processing the job... [2025-03-20 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:03:03] Production.INFO: ==29643== Lock acquired, processing the job... [2025-03-20 08:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:03:03] Production.INFO: ==29639== Lock acquired, processing the job... [2025-03-20 08:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:03:03] Production.INFO: ==29645== Lock acquired, processing the job... [2025-03-20 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:03:04] Production.INFO: ==29641== Releasing lock... [2025-03-20 08:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:03:04] Production.INFO: ==29647== Lock acquired, processing the job... [2025-03-20 08:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:03:04] Production.INFO: Account Balance Start. [2025-03-20 08:03:04] Production.INFO: CreateAllLog Start [2025-03-20 08:03:04] Production.INFO: 117 [2025-03-20 08:03:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:03:04] Production.INFO: ==29649== Lock acquired, processing the job... [2025-03-20 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:03:04] Production.INFO: count ==12 [2025-03-20 08:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:03:04] Production.INFO: count ==23 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721488') start [2025-03-20 08:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721488') end [2025-03-20 08:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:03:04] Production.INFO: 1 [2025-03-20 08:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.INFO: ==29649== Releasing lock... [2025-03-20 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:03:04] Production.ERROR: done [2025-03-20 08:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:03:04] Production.INFO: Total Charge 0 [2025-03-20 08:03:04] Production.INFO: CreateAllLog End [2025-03-20 08:03:04] Production.ERROR: done [2025-03-20 08:03:04] Production.INFO: Account Balance End. [2025-03-20 08:03:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:03:04] Production.INFO: ==29645== Releasing lock... [2025-03-20 08:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:03:05 [end_date_ymd] => 2025-03-20 08:03:05 [RateCDR] => 1 ) [2025-03-20 08:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:03:05' and `end` < '2025-03-20 08:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:03:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:03:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:03:13] Production.ERROR: CronJobId end10 [2025-03-20 08:03:13] Production.INFO: ==29643== Releasing lock... [2025-03-20 08:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:03:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:03:15] Production.INFO: call_cost start [2025-03-20 08:03:15] Production.INFO: call_cost end [2025-03-20 08:03:15] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 27-01-2025 To 26-02-2025",Quantity : 1,UnitAmount : 3.230000,LineAmount : 3.230000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 8,UnitAmount : 7.000000,LineAmount : 56.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19056714497 - UNIGLOBE TRAVEL 89 SKYWAY AVE STE 109 TORONTO, ON M9W6R4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty Discount - $20 off per month, no expiry date",Quantity : 1,UnitAmount : -20.000000,LineAmount : -20.000000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobelexus.com; EXPIRES Mar 3 2025",Quantity : 1,UnitAmount : 1.440000,LineAmount : 1.440000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobeec.com; EXPIRES Apr 21 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobecbo.com; Renews May 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "ecinfo.ca; EXPIRES May 8 2025",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobemail.com; Renews Jun 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobetrips.com; Renews Jul 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobevoyages.com; Renews Jul 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "unigloberegistration.com; Renews Jul 26",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobedorval.com; Renews Jul 26",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobevoyageslexus.com; EXPIRES Aug 1 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobekey.com; Renews Aug 16",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobenews.com; Renews Sep 22",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "cbotravel.com; Renews Nov 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "ucinfo.ca; Renews Jun 21",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobespecialtytravel.com; Renews May 31",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobesunbursttravel.com; Renews May 31",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "uniglobetravel.ca; Renews Mar 01",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywayleisuretravel.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywayleisuretraveller.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywaytraveller.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobewc.com; EXPIRES Jul 19 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobecarefreetravel.com; Renews Feb 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobekalamalkatravel.com; Renews Apr 25",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobephillips.com; Renews Mar 12 2026",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobephillipstravel.com; Renews Mar 1",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobespecialtywhitehorse.com; Renews Oct 9",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "Hosting and Maintenance (per domain)",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 10,UnitAmount : 17.000000,LineAmount : 170.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 2,UnitAmount : 3.840000,LineAmount : 7.680000},{taxType:"TAX020",AccountCode : 212,"Description": "Managed Antivirus subscription (yearly pricing, billed monthly)",Quantity : 10,UnitAmount : 1.440000,LineAmount : 14.400000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic Licenses",Quantity : 11,UnitAmount : 8.100000,LineAmount : 89.100000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 8,UnitAmount : 17.000000,LineAmount : 136.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 1,UnitAmount : 3.840000,LineAmount : 3.840000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic Licenses",Quantity : 11,UnitAmount : 8.100000,LineAmount : 89.100000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 3,UnitAmount : 17.000000,LineAmount : 51.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 1,UnitAmount : 3.840000,LineAmount : 3.840000},{taxType:"TAX020",AccountCode : 203,"Description": "cPanel/SCP access",Quantity : 1,UnitAmount : 9.990000,LineAmount : 9.990000} [2025-03-20 08:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:03:16] Production.INFO: ==29639== Releasing lock... [2025-03-20 08:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:03:17] Production.INFO: count ==151 [2025-03-20 08:03:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:03:05 - End Time 2025-03-20 08:03:05 [2025-03-20 08:03:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721489', 'tblTempUsageDetail_20' ) start [2025-03-20 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721489', 'tblTempUsageDetail_20' ) end [2025-03-20 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721489', 'tblTempVendorCDR_20' ) start [2025-03-20 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721489', 'tblTempVendorCDR_20' ) end [2025-03-20 08:03:18] Production.INFO: ProcessCDR(1,14721489,1,1,2) [2025-03-20 08:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721489,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:03:19] Production.INFO: ==== result ===== [2025-03-20 08:03:19] Production.INFO: { "Id": "956113be-8887-4faa-8d16-a2835dec9777", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472199115)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "0f742205-2699-4915-b456-92660ef46a4d", "InvoiceNumber": "INV50020", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 797.51, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d965b2fe-ffb5-4359-bc08-f6a098234349", "ContactStatus": "ACTIVE", "Name": "UNIGLOBE Canada", "FirstName": "Alice", "LastName": "Hildebrandt", "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(1708961195503+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-27T00:00:00", "Date": "\/Date(1740614400000+0000)\/", "DueDateString": "2025-03-29T00:00:00", "DueDate": "\/Date(1743206400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 27-01-2025 To 26-02-2025", "UnitAmount": 3.23, "TaxType": "TAX020", "TaxAmount": 0.42, "LineAmount": 3.23, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b74ccefe-8618-480c-9efe-24e60289bcb9", "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": 7.28, "LineAmount": 56.00, "AccountCode": "203", "Tracking": [], "Quantity": 8.0000, "DiscountRate": 0.00, "LineItemID": "756bd79a-fe3a-4d99-b90f-900abe67d6fe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19056714497 - UNIGLOBE TRAVEL 89 SKYWAY AVE STE 109 TORONTO, ON M9W6R4)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "294cdd6d-4aec-46c6-9df9-3d83232e135e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Loyalty Discount - $20 off per month, no expiry date", "UnitAmount": -20.00, "TaxType": "TAX020", "TaxAmount": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4d2050ab-dc83-46d5-8e3f-93fa6a36e8ad", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "uniglobelexus.com; EXPIRES Mar 3 2025", "UnitAmount": 1.44, "TaxType": "TAX020", "TaxAmount": 0.19, "LineAmount": 1.44, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b41df20a-7b68-4a32-a020-786f6f4dd3c6", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobeec.com; EXPIRES Apr 21 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b52b89fa-228a-482d-badf-aa9c0c45072c", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobecbo.com; Renews May 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "de0e6097-3ba9-48fa-8201-ab199ae9dbbd", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "ecinfo.ca; EXPIRES May 8 2025", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c0b2eb30-86fa-43f4-8256-a57332630bd6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobemail.com; Renews Jun 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "fb0b65ce-bf88-48e7-b67d-4a0a17f51380", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobetrips.com; Renews Jul 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "14e60835-35d6-4071-b3e3-a8ba128ee010", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobevoyages.com; Renews Jul 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "2e4e34c6-cfc6-4c25-81df-9ace214f5087", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "unigloberegistration.com; Renews Jul 26", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "5cdc476b-98ba-4421-9f28-28980400feba", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobedorval.com; Renews Jul 26", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3ead0b04-43ae-44a1-b2ea-8bf487e59095", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobevoyageslexus.com; EXPIRES Aug 1 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "28f2fb25-8ef6-4009-ab0a-22cc6c9dad3c", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobekey.com; Renews Aug 16", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "86273ecf-1f92-47b3-be48-12874eaa56d5", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobenews.com; Renews Sep 22", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c5866d00-34e8-4dbd-9928-b9ab42bc6273", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "cbotravel.com; Renews Nov 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "f57301c0-b373-48b6-b9a6-2259e38fe8fc", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "ucinfo.ca; Renews Jun 21", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c5c874e8-d11f-4c02-881f-9aed67809d7b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobespecialtytravel.com; Renews May 31", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "67ee8c2f-7591-4388-903b-0f2efbe11a54", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobesunbursttravel.com; Renews May 31", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "92b691b1-e582-451c-9d4e-c3e612b2d565", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobetravel.ca; Renews Mar 01", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "441832d9-0dc4-4a29-a3ed-8195c928966f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywayleisuretravel.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "37e12bdb-15ee-4b15-9d75-3ed1e3f72119", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywayleisuretraveller.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e1593377-c753-4d3c-8d7c-16d7602fff13", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywaytraveller.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3428acfa-54d4-40b0-b3c7-61ccda52eda3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobewc.com; EXPIRES Jul 19 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "1d9fb3d6-0b40-4b42-8b28-4743df52afef", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobecarefreetravel.com; Renews Feb 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "473fd9f6-3325-4a54-b479-1e6d59514104", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobekalamalkatravel.com; Renews Apr 25", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "86865d89-174b-4583-b6df-af1fb2b2990e", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobephillips.com; Renews Mar 12 2026", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e675b766-39b3-482a-ab53-9ee79c0800cf", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobephillipstravel.com; Renews Mar 1", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0d8eb7f4-a295-4b66-add2-9431d129bfe2", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobespecialtywhitehorse.com; Renews Oct 9", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "49b14116-55ca-46dd-b534-a722925a6974", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "Hosting and Maintenance (per domain)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "b0803aaa-38a5-44f7-8204-273888c3c67c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 22.10, "LineAmount": 170.00, "AccountCode": "250", "Tracking": [], "Quantity": 10.0000, "LineItemID": "2f88d455-a1a0-4738-a9c7-7f5da2b45864", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 1.00, "LineAmount": 7.68, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "0186e726-cd9b-464a-a255-2683b2d80e83", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Antivirus subscription (yearly pricing, billed monthly)", "UnitAmount": 1.44, "TaxType": "TAX020", "TaxAmount": 1.87, "LineAmount": 14.40, "AccountCode": "212", "Tracking": [], "Quantity": 10.0000, "LineItemID": "c90b83a8-6283-44e8-be6c-8ed613fd0579", "AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic Licenses", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 11.58, "LineAmount": 89.10, "AccountCode": "250", "Tracking": [], "Quantity": 11.0000, "LineItemID": "cc977de1-cddb-4450-8482-e5b509c61fbe", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 17.68, "LineAmount": 136.00, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "8aea6247-e47a-43e6-8f73-5f2f0d567b62", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 0.50, "LineAmount": 3.84, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3c1edd7a-2e95-45b2-8607-01444bb31859", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic Licenses", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 11.58, "LineAmount": 89.10, "AccountCode": "250", "Tracking": [], "Quantity": 11.0000, "LineItemID": "ced51622-6cd6-48c9-9d26-baf01082c694", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 6.63, "LineAmount": 51.00, "AccountCode": "250", "Tracking": [], "Quantity": 3.0000, "LineItemID": "ce3eea94-574f-4ad0-bf36-34791d124892", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 0.50, "LineAmount": 3.84, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "701c2a68-ad5e-40b6-b689-2e31cdfa1e8c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "cPanel/SCP access", "UnitAmount": 9.99, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 9.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "adfab011-7cc8-4bda-84e9-8020acb9f31b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 705.84, "TotalTax": 91.67, "Total": 797.51, "UpdatedDateUTC": "\/Date(1742472199037+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:03:19] Production.INFO: -- Create Invoice id --0f742205-2699-4915-b456-92660ef46a4d [2025-03-20 08:03:19] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:03:19] Production.INFO: CheckInvoice xerov2: INV11597 [2025-03-20 08:03:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11597 [2025-03-20 08:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721489,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721489', 'tblTempUsageDetail_20' ) start [2025-03-20 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721489', 'tblTempUsageDetail_20' ) end [2025-03-20 08:03:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:03:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:03:21] Production.INFO: ==29647== Releasing lock... [2025-03-20 08:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:03:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 08:03:22] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:03:22] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 08:03:22] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 08:03:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010395%20%28Ronny%20Khan%29" [2025-03-20 08:03:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:03:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:03:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:03:34] 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-03-20 08:03:37] Production.INFO: ==== result ===== [2025-03-20 08:03:37] Production.INFO: { "Id": "5cfcdba1-bf21-4f2a-a4e4-8043abc6d0de", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472217809)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1286ad62-721a-44bc-a319-889ac6654e76", "InvoiceNumber": "INV11597", "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": "2025-02-27T00:00:00", "Date": "\/Date(1740614400000+0000)\/", "DueDateString": "2025-03-29T00:00:00", "DueDate": "\/Date(1743206400000+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": "af877e30-c82d-45dc-b7c0-e02213d60860", "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": "c8feb0ae-6aca-448f-bdaa-128e7ac8dd97", "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": "907305af-88ae-4b79-8bbb-0b3aac7228bb", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742472217777+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:03:37] Production.INFO: -- Create Invoice id --1286ad62-721a-44bc-a319-889ac6654e76 [2025-03-20 08:03:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:03:37] Production.INFO: CheckInvoice xerov2: INV11598 [2025-03-20 08:03:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11598 [2025-03-20 08:03:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:03:40] Production.INFO: Invoice SubTotal 272.990000 [2025-03-20 08:03:40] Production.INFO: Invoice DetTotal 272.99 [2025-03-20 08:03:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Think%20Secure" [2025-03-20 08:03:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:03:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:03:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:03:52] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-27-2025 To 02-26-2025",Quantity : 1,UnitAmount : 0.060000,LineAmount : 0.060000},{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-03-20 08:03:56] Production.INFO: ==== result ===== [2025-03-20 08:03:56] Production.INFO: { "Id": "57b4c145-d869-44ac-a533-0f88f9a05d73", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472236139)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "195ec073-6376-4bd2-8262-b5156357d40c", "InvoiceNumber": "INV11598", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 308.49, "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": "2025-02-27T00:00:00", "Date": "\/Date(1740614400000+0000)\/", "DueDateString": "2025-03-29T00:00:00", "DueDate": "\/Date(1743206400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-27-2025 To 02-26-2025", "UnitAmount": 0.06, "TaxType": "TAX020", "TaxAmount": 0.01, "LineAmount": 0.06, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "8a04e5af-54e5-463c-8bff-73e0e7ee6d5e", "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": "d381ad88-3758-4bf6-b8ff-48623f8351d7", "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": "25b0f6e0-77dd-4475-afc9-6eaebf24c30b", "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": "7b53b876-e315-4a47-917d-5197c5982b47", "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": "55c7ccc8-922b-4eef-8caf-4292ae6948ae", "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": "658ffd34-3c5c-4021-b2dd-869eaa438eab", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 272.99, "TotalTax": 35.50, "Total": 308.49, "UpdatedDateUTC": "\/Date(1742472236047+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:03:56] Production.INFO: -- Create Invoice id --195ec073-6376-4bd2-8262-b5156357d40c [2025-03-20 08:03:56] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:03:56] Production.INFO: CheckInvoice xerov2: INV11600 [2025-03-20 08:03:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11600 [2025-03-20 08:03:58] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:03:58] Production.INFO: Invoice SubTotal 360.300000 [2025-03-20 08:03:58] Production.INFO: Invoice DetTotal 360.3 [2025-03-20 08:03:58] 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-03-20 08:04:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 12:04:02] Production.INFO: ==29733== Lock acquired, processing the job... [2025-03-20 12:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:04:02] Production.INFO: neon service started [2025-03-20 12:04:02] Production.INFO: neon service started [2025-03-20 12:04:02] Production.INFO: ==29733== Releasing lock... [2025-03-20 12:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:04:02] Production.INFO: ==29736== Lock acquired, processing the job... [2025-03-20 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:04:02] Production.INFO: ==29736== Releasing lock... [2025-03-20 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:04:02] Production.INFO: ==29738== Lock acquired, processing the job... [2025-03-20 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:04:03] Production.INFO: ==29738== Releasing lock... [2025-03-20 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:04:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:04:03] Production.INFO: ==29750== Lock acquired, processing the job... [2025-03-20 08:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:04:03] Production.INFO: count ==12 [2025-03-20 08:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:04:03] Production.INFO: count ==23 [2025-03-20 08:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721490') start [2025-03-20 08:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721490') end [2025-03-20 08:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:04:04] Production.INFO: 1 [2025-03-20 08:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:04:04] Production.INFO: ==29746== Lock acquired, processing the job... [2025-03-20 08:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:04:04] Production.INFO: ==29750== Releasing lock... [2025-03-20 08:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:04:04] Production.INFO: Account Balance Start. [2025-03-20 08:04:04] Production.INFO: CreateAllLog Start [2025-03-20 08:04:04] Production.INFO: 117 [2025-03-20 08:04:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.INFO: ==29742== Lock acquired, processing the job... [2025-03-20 08:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:04:04] Production.INFO: ==29740== Lock acquired, processing the job... [2025-03-20 08:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:04:04] Production.INFO: ==29744== Lock acquired, processing the job... [2025-03-20 08:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.INFO: ==29748== Lock acquired, processing the job... [2025-03-20 08:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.INFO: ==29742== Releasing lock... [2025-03-20 08:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:04:04] Production.INFO: Total Charge 0 [2025-03-20 08:04:04] Production.INFO: CreateAllLog End [2025-03-20 08:04:05] Production.ERROR: done [2025-03-20 08:04:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:04:05] Production.INFO: Account Balance End. [2025-03-20 08:04:05] Production.ERROR: done [2025-03-20 08:04:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:04:05] Production.INFO: ==29746== Releasing lock... [2025-03-20 08:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:04:06 [end_date_ymd] => 2025-03-20 08:04:06 [RateCDR] => 1 ) [2025-03-20 08: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-03-20 05:04:06' and `end` < '2025-03-20 08: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-03-20 08:04:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:04:10] 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-03-20 08:04:13] Production.ERROR: CronJobId end10 [2025-03-20 08:04:13] Production.INFO: ==29744== Releasing lock... [2025-03-20 08:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:04:13] Production.INFO: ==== result ===== [2025-03-20 08:04:13] Production.INFO: { "Id": "c479cb69-e65a-4334-8a8e-cbecf3f330d5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472253632)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fea25f61-d9dc-4297-af2f-4659b75d673d", "InvoiceNumber": "INV11600", "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": "2025-02-27T00:00:00", "Date": "\/Date(1740614400000+0000)\/", "DueDateString": "2025-03-29T00:00:00", "DueDate": "\/Date(1743206400000+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": "a4f45354-b8a0-4d72-b39e-9c8a30fbff49", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 360.30, "TotalTax": 46.84, "Total": 407.14, "UpdatedDateUTC": "\/Date(1742472253570+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:04:13] Production.INFO: -- Create Invoice id --fea25f61-d9dc-4297-af2f-4659b75d673d [2025-03-20 08:04:13] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:04:13] Production.INFO: CheckInvoice xerov2: INV11596 [2025-03-20 08:04:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11596 [2025-03-20 08:04:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:04:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:04:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:04:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:04:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:04:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:04:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:04:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:04:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:04:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:04:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:04:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:04:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:04:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:04:16] Production.INFO: call_cost start [2025-03-20 08:04:16] Production.INFO: call_cost end [2025-03-20 08:04:16] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:04:16] Production.INFO: Invoice SubTotal 193.180000 [2025-03-20 08:04:16] Production.INFO: Invoice DetTotal 193.18 [2025-03-20 08:04:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010364%20%28Shane%20Linthorne%29" [2025-03-20 08:04:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:04:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:04:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:04:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:04:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:04:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:04:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:04:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:04:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:04:17] Production.INFO: ==29740== Releasing lock... [2025-03-20 08:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:04:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:04:18] Production.INFO: count ==151 [2025-03-20 08:04:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:04:06 - End Time 2025-03-20 08:04:06 [2025-03-20 08:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721494', 'tblTempUsageDetail_20' ) start [2025-03-20 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721494', 'tblTempUsageDetail_20' ) end [2025-03-20 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721494', 'tblTempVendorCDR_20' ) start [2025-03-20 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721494', 'tblTempVendorCDR_20' ) end [2025-03-20 08:04:18] Production.INFO: ProcessCDR(1,14721494,1,1,2) [2025-03-20 08:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:04:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721494', 'tblTempUsageDetail_20' ) start [2025-03-20 08:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721494', 'tblTempUsageDetail_20' ) end [2025-03-20 08:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:04:22] Production.INFO: ==29748== Releasing lock... [2025-03-20 08:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:04:22] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 08:04:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:04:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:04:28] 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-03-20 08:04:32] Production.INFO: ==== result ===== [2025-03-20 08:04:32] Production.INFO: { "Id": "355c041d-2a97-4a7f-a19a-b80720a7ddf9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472272079)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ca57a094-53b1-485b-8a64-75852f8e5c81", "InvoiceNumber": "INV11596", "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": "2025-02-26T00:00:00", "Date": "\/Date(1740528000000+0000)\/", "DueDateString": "2025-03-28T00:00:00", "DueDate": "\/Date(1743120000000+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": "00ddc0b8-327d-4b6c-8f3d-efed78e0c09c", "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": "b0cfab8d-945a-44bb-beb5-ca5f8aefab4e", "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": "d09deefb-3826-4958-826e-c688fbaf6aad", "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": "4a38cb2d-5740-499a-a71c-a9c32907efc8", "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": "4ee30056-13bb-4910-bed4-d48a2fac8221", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 193.18, "TotalTax": 25.12, "Total": 218.30, "UpdatedDateUTC": "\/Date(1742472271907+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:04:32] Production.INFO: -- Create Invoice id --ca57a094-53b1-485b-8a64-75852f8e5c81 [2025-03-20 08:04:32] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:04:32] Production.INFO: CheckInvoice xerov2: INV11592 [2025-03-20 08:04:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11592 [2025-03-20 08:04:35] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:04:35] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:04:35] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:04:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010532%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:04:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:04:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:04:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:04:47] 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-03-20 08:04:50] Production.INFO: ==== result ===== [2025-03-20 08:04:50] Production.INFO: { "Id": "f03613c6-ff8c-45b2-8d09-1bdd259570d0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472290416)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "cc6bf861-1888-493a-ad32-f53f4d74a0f6", "InvoiceNumber": "INV11592", "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": "2025-02-25T00:00:00", "Date": "\/Date(1740441600000+0000)\/", "DueDateString": "2025-03-27T00:00:00", "DueDate": "\/Date(1743033600000+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": "e5d5c462-236f-4029-b0b9-ab9cc95af869", "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": "01691ada-f012-4d6a-83b3-81afb5117179", "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": "d583399c-2e79-4ffd-ab5a-348eae50bb16", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742472290370+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:04:50] Production.INFO: -- Create Invoice id --cc6bf861-1888-493a-ad32-f53f4d74a0f6 [2025-03-20 08:04:50] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:04:50] Production.INFO: CheckInvoice xerov2: INV11593 [2025-03-20 08:04:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11593 [2025-03-20 08:04:53] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:04:53] Production.INFO: Invoice SubTotal 70.820000 [2025-03-20 08:04:53] Production.INFO: Invoice DetTotal 70.82 [2025-03-20 08:04:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010422%20%28David%20Mills%29" [2025-03-20 08:04:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:04:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 12:05:01] Production.INFO: ==29841== Lock acquired, processing the job... [2025-03-20 12:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:05:01] Production.INFO: neon service started [2025-03-20 12:05:01] Production.INFO: neon service started [2025-03-20 12:05:01] Production.INFO: ==29841== Releasing lock... [2025-03-20 12:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:05:02] Production.INFO: ==29844== Lock acquired, processing the job... [2025-03-20 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:05:02] Production.INFO: ==29844== Releasing lock... [2025-03-20 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:05:02] Production.INFO: ==29846== Lock acquired, processing the job... [2025-03-20 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:05:02] Production.INFO: ==29846== Releasing lock... [2025-03-20 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:05:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:05:03] Production.INFO: ==29857== Lock acquired, processing the job... [2025-03-20 08:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:05:03] Production.INFO: ==29860== Lock acquired, processing the job... [2025-03-20 08:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:05:03] Production.INFO: ==29851== Lock acquired, processing the job... [2025-03-20 08:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:05:03] Production.INFO: ==29849== Lock acquired, processing the job... [2025-03-20 08:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:05:03] Production.INFO: ==29853== Lock acquired, processing the job... [2025-03-20 08:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 08:05:03] Production.INFO: ==29855== Lock acquired, processing the job... [2025-03-20 08:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:05:03] Production.INFO: count ==12 [2025-03-20 08:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 08:05:03] Production.INFO: count ==23 [2025-03-20 08:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721495') start [2025-03-20 08:05:03] Production.ERROR: done [2025-03-20 08:05:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:05:03] Production.INFO: Account Balance Start. [2025-03-20 08:05:03] Production.INFO: CreateAllLog Start [2025-03-20 08:05:03] Production.INFO: 117 [2025-03-20 08:05:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721495') end [2025-03-20 08:05:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:05:03] Production.INFO: 1 [2025-03-20 08:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:05:03] Production.INFO: ==29860== Releasing lock... [2025-03-20 08:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:05:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:05:03] Production.ERROR: done [2025-03-20 08:05:03] Production.INFO: ==29851== Releasing lock... [2025-03-20 08:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:05:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:05:04] Production.INFO: Total Charge 0 [2025-03-20 08:05:04] Production.INFO: CreateAllLog End [2025-03-20 08:05:04] Production.INFO: Account Balance End. [2025-03-20 08:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:05:04] Production.INFO: ==29855== Releasing lock... [2025-03-20 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:05:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:05:04 [end_date_ymd] => 2025-03-20 08:05:04 [RateCDR] => 1 ) [2025-03-20 08: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-03-20 05:05:04' and `end` < '2025-03-20 08: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-03-20 08:05: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-03-20 08:05:09] Production.INFO: ==== result ===== [2025-03-20 08:05:09] Production.INFO: { "Id": "4d78f5aa-57da-461d-ad4d-0ad1583226cd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472308956)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a40c00df-c9d4-41f1-b894-ab6bc4714b8f", "InvoiceNumber": "INV11593", "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": "2025-02-25T00:00:00", "Date": "\/Date(1740441600000+0000)\/", "DueDateString": "2025-03-27T00:00:00", "DueDate": "\/Date(1743033600000+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": "4e3159cf-1a5b-402a-98dc-5f7fa6de87eb", "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": "561f0359-2605-459e-9943-af8489fd4e32", "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": "07543030-76c3-4722-8eb0-46d7cad75795", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 70.82, "TotalTax": 9.21, "Total": 80.03, "UpdatedDateUTC": "\/Date(1742472308893+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:05:09] Production.INFO: -- Create Invoice id --a40c00df-c9d4-41f1-b894-ab6bc4714b8f [2025-03-20 08:05:09] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:05:09] Production.INFO: CheckInvoice xerov2: INV11594 [2025-03-20 08:05:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11594 [2025-03-20 08:05:11] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:05:11] Production.ERROR: CronJobId end10 [2025-03-20 08:05:11] Production.INFO: ==29853== Releasing lock... [2025-03-20 08:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:05:11] Production.INFO: Invoice SubTotal 305.480000 [2025-03-20 08:05:11] Production.INFO: Invoice DetTotal 305.48 [2025-03-20 08:05:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010545%20%28Mohan%20Kantha%29" [2025-03-20 08:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:05:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:05:14] Production.INFO: call_cost start [2025-03-20 08:05:14] Production.INFO: call_cost end [2025-03-20 08:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:05:15] Production.INFO: ==29849== Releasing lock... [2025-03-20 08:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:05:16] Production.INFO: count ==155 [2025-03-20 08:05:16] Production.ERROR: pbx CDR StartTime 2025-03-20 05:05:04 - End Time 2025-03-20 08:05:04 [2025-03-20 08:05:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:05:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721499', 'tblTempUsageDetail_20' ) start [2025-03-20 08:05:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721499', 'tblTempUsageDetail_20' ) end [2025-03-20 08:05:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721499', 'tblTempVendorCDR_20' ) start [2025-03-20 08:05:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721499', 'tblTempVendorCDR_20' ) end [2025-03-20 08:05:16] Production.INFO: ProcessCDR(1,14721499,1,1,2) [2025-03-20 08:05:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:05:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:05:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:05:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721499', 'tblTempUsageDetail_20' ) start [2025-03-20 08:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721499', 'tblTempUsageDetail_20' ) end [2025-03-20 08:05:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:05:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:05:20] Production.INFO: ==29857== Releasing lock... [2025-03-20 08:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:05:20] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 08:05:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:05: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 (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-03-20 08:05:26] Production.INFO: ==== result ===== [2025-03-20 08:05:26] Production.INFO: { "Id": "4efc0f96-2690-4ec6-9e29-ecbf57dcb30f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472326369)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "daf954a9-2b9b-4f79-8336-49f5aa408366", "InvoiceNumber": "INV11594", "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": "2025-02-25T00:00:00", "Date": "\/Date(1740441600000+0000)\/", "DueDateString": "2025-03-27T00:00:00", "DueDate": "\/Date(1743033600000+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": "c7e81d63-9842-4a7f-bd89-fa5dc09a3857", "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": "2d311347-1098-43cf-a008-4b998b5d2ed3", "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": "a4516a30-addf-4ec8-a3a1-b9e7493eb66e", "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": "494902b2-046b-4058-a48b-839106657500", "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": "1e35b6b1-12cb-410d-a7a6-ca4a1b64e8cc", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 305.48, "TotalTax": 39.72, "Total": 345.20, "UpdatedDateUTC": "\/Date(1742472326323+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:05:26] Production.INFO: -- Create Invoice id --daf954a9-2b9b-4f79-8336-49f5aa408366 [2025-03-20 08:05:26] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:05:26] Production.INFO: CheckInvoice xerov2: INV11595 [2025-03-20 08:05:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11595 [2025-03-20 08:05:29] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:05:29] Production.INFO: Invoice SubTotal 72.500000 [2025-03-20 08:05:29] Production.INFO: Invoice DetTotal 72.5 [2025-03-20 08:05:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29" [2025-03-20 08:05:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:05:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:05:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:05:41] 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-03-20 08:05:44] Production.INFO: ==== result ===== [2025-03-20 08:05:44] Production.INFO: { "Id": "bd6c0130-0615-409d-854b-93e76b937988", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472344393)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "485f353a-de03-4978-abd7-472de2420a34", "InvoiceNumber": "INV11595", "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": "2025-02-25T00:00:00", "Date": "\/Date(1740441600000+0000)\/", "DueDateString": "2025-03-27T00:00:00", "DueDate": "\/Date(1743033600000+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": "301acce8-5614-4d77-a7b4-16d48dd2bc20", "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": "53643147-7364-4a4c-a580-9db6153e97d0", "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": "4212be2d-7afe-4048-8cba-80d6f4c18293", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 72.50, "TotalTax": 3.63, "Total": 76.13, "UpdatedDateUTC": "\/Date(1742472344363+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:05:44] Production.INFO: -- Create Invoice id --485f353a-de03-4978-abd7-472de2420a34 [2025-03-20 08:05:44] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:05:44] Production.INFO: CheckInvoice xerov2: INV11591 [2025-03-20 08:05:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11591 [2025-03-20 08:05:47] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:05:47] Production.INFO: Invoice SubTotal 67.500000 [2025-03-20 08:05:47] Production.INFO: Invoice DetTotal 67.5 [2025-03-20 08:05:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010099%20%28Mudassar%20Zia%29" [2025-03-20 08:05:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:05:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:05:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:05:59] 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-03-20 12:06:02] Production.INFO: ==29947== Lock acquired, processing the job... [2025-03-20 12:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:06:02] Production.INFO: neon service started [2025-03-20 12:06:02] Production.INFO: neon service started [2025-03-20 12:06:02] Production.INFO: ==29947== Releasing lock... [2025-03-20 12:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:06:02] Production.INFO: ==29950== Lock acquired, processing the job... [2025-03-20 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:06:02] Production.INFO: ==29952== Lock acquired, processing the job... [2025-03-20 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:06:02] Production.INFO: ==29952== Releasing lock... [2025-03-20 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:06:02] Production.INFO: ==== result ===== [2025-03-20 08:06:02] Production.INFO: { "Id": "e6d712ef-5676-41d7-9701-6afa308179d5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472362780)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5cc94fe8-4c47-4de3-98c9-06144af3ab86", "InvoiceNumber": "INV11591", "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": "2025-02-24T00:00:00", "Date": "\/Date(1740355200000+0000)\/", "DueDateString": "2025-03-26T00:00:00", "DueDate": "\/Date(1742947200000+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": "f5170b9a-a5ab-4c24-987c-a1412ff05729", "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": "ef426e32-3afc-4078-8c75-2809d69e9399", "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": "6f45aaa6-262f-4ab5-adcf-a3a07ef842ba", "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": "f853335a-814f-4aae-9a6e-d12a57b084d8", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 3.38, "Total": 70.88, "UpdatedDateUTC": "\/Date(1742472362717+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:06:02] Production.INFO: -- Create Invoice id --5cc94fe8-4c47-4de3-98c9-06144af3ab86 [2025-03-20 08:06:02] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:06:03] Production.INFO: CheckInvoice xerov2: INV11584 [2025-03-20 08:06:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11584 [2025-03-20 08:06:03] Production.INFO: ==29950== Releasing lock... [2025-03-20 08:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:06:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:06:03] Production.INFO: ==29956== Lock acquired, processing the job... [2025-03-20 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:06:03] Production.INFO: ==29960== Lock acquired, processing the job... [2025-03-20 08:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:06:03] Production.INFO: ==29962== Lock acquired, processing the job... [2025-03-20 08:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:06:04] Production.INFO: Account Balance Start. [2025-03-20 08:06:04] Production.INFO: CreateAllLog Start [2025-03-20 08:06:04] Production.INFO: 117 [2025-03-20 08:06:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:06:04] Production.INFO: ==29964== Lock acquired, processing the job... [2025-03-20 08:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: ==29956== Releasing lock... [2025-03-20 08:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:06:04] Production.INFO: ==29954== Lock acquired, processing the job... [2025-03-20 08:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:06:04] Production.INFO: ==29958== Lock acquired, processing the job... [2025-03-20 08:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: count ==12 [2025-03-20 08:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:06:04] Production.INFO: count ==23 [2025-03-20 08:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721502') start [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.ERROR: done [2025-03-20 08:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721502') end [2025-03-20 08:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:06:04] Production.INFO: 1 [2025-03-20 08:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:06:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: ==29964== Releasing lock... [2025-03-20 08:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:06:04] Production.ERROR: done [2025-03-20 08:06:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:06:04] Production.INFO: Total Charge 0 [2025-03-20 08:06:04] Production.INFO: CreateAllLog End [2025-03-20 08:06:04] Production.INFO: Account Balance End. [2025-03-20 08:06:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:06:04] Production.INFO: ==29960== Releasing lock... [2025-03-20 08:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:06:05 [end_date_ymd] => 2025-03-20 08:06:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:06:05' and `end` < '2025-03-20 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-03-20 08:06:05] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:06:06] Production.INFO: Invoice SubTotal 534.730000 [2025-03-20 08:06:06] Production.INFO: Invoice DetTotal 534.73 [2025-03-20 08:06:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers" [2025-03-20 08:06:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:06:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:06:13] Production.ERROR: CronJobId end10 [2025-03-20 08:06:13] Production.INFO: ==29958== Releasing lock... [2025-03-20 08:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:06:14] Production.INFO: call_cost start [2025-03-20 08:06:14] Production.INFO: call_cost end [2025-03-20 08:06:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:06:15] Production.INFO: ==29954== Releasing lock... [2025-03-20 08:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:06:17] Production.INFO: count ==155 [2025-03-20 08:06:17] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-23-2025 To 02-22-2025",Quantity : 1,UnitAmount : 378.230000,LineAmount : 378.230000},{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-03-20 08:06:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:06:05 - End Time 2025-03-20 08:06:05 [2025-03-20 08:06:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721504', 'tblTempUsageDetail_20' ) start [2025-03-20 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721504', 'tblTempUsageDetail_20' ) end [2025-03-20 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721504', 'tblTempVendorCDR_20' ) start [2025-03-20 08:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721504', 'tblTempVendorCDR_20' ) end [2025-03-20 08:06:17] Production.INFO: ProcessCDR(1,14721504,1,1,2) [2025-03-20 08:06:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:06:21] Production.INFO: ==== result ===== [2025-03-20 08:06:21] Production.INFO: { "Id": "0597fd2d-f5fd-4851-9570-dfd537aeeeb2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472381159)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5b9ed6e9-71f7-4f96-aec0-fb784fb9749f", "InvoiceNumber": "INV11584", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 604.43, "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": "2025-02-23T00:00:00", "Date": "\/Date(1740268800000+0000)\/", "DueDateString": "2025-03-25T00:00:00", "DueDate": "\/Date(1742860800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-23-2025 To 02-22-2025", "UnitAmount": 378.23, "TaxType": "TAX020", "TaxAmount": 49.17, "LineAmount": 378.23, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a951bc6b-e85c-4e76-921c-f0e1bcd0e563", "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": "6776827e-e1ad-4034-93bc-642d4c720a50", "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": "228303d1-085a-4197-adda-1639b25003c2", "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": "b0736d38-fd74-405f-9118-49f340e15981", "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": "13113182-c992-4715-8cce-bd55371e9d4e", "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": "6ddf5abf-e30f-4c2a-8fb6-4e83ff9d9cfe", "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": "118268f6-d8c2-4d38-bde2-c9d05d9a1af9", "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": "cc396ac2-7aca-4adf-a938-e71195d289d8", "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": "2b3578dc-6d3d-469f-80aa-ad659701e27b", "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": "420c0da1-6d4c-4d52-b9a5-5a8b74efca89", "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": "55feb4e7-02fd-4468-9c98-22f0c67013c6", "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": "de96a81a-7dd3-4a7c-a02d-402f49fc050b", "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": "cab31028-7d5f-4cda-91dc-0edb6427b1b9", "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": "6265f53f-ca27-4fe5-b120-9b463f6acb1e", "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": "165be220-affd-434f-adf9-37f185e1d34c", "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": "2aa87959-f46b-4405-a8da-0b23d79a5599", "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": "5ae1d1fc-9c58-4646-8893-5e0a870e2716", "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": "7ad2afda-f992-45cb-af78-50470b287441", "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": "690d3450-2ee4-4083-84f1-5fe5c64635c8", "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": "b676d583-3125-4c74-b8c2-190c915b506d", "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": "4766830a-0ef7-402e-b039-060eaa3bd1fc", "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": "206d5bad-bdd2-4522-a806-04d5c818f114", "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": "9fe48b67-ab77-49ac-a40e-f8dbbc5fe8ba", "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": "66031951-928c-4307-9e9f-66bdd028bdf7", "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": "6fd24681-334d-4ddc-933f-7fb2a497541c", "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": "9752c254-d7ed-4e3c-b266-840496098d06", "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": "b8870018-8908-4739-9f2c-33a39fb90e28", "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": "1a693856-eff6-4082-b8b0-dcd27b03e587", "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": "2f611ec2-edd5-473a-b170-0911535a0fef", "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": "a407a67d-4515-4216-ba45-a847b7c84e81", "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": "4ed6c6d4-989e-4117-b2d5-f45a349e1181", "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": "d42c4212-4b36-4e7a-bfe4-d9fd8138e59d", "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": "5b037919-afbe-40b0-87b5-7e7dfd4b9a20", "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": "058c1a46-920e-4374-b29c-235ca86e635e", "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": "d9d82a26-f502-4525-9ffa-2d0f3c547ec4", "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": "06604820-ff1f-4c0b-9b3f-b591a89f2f98", "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": "7e31fa51-6b7f-40fd-bc2a-ad8210cd3c7a", "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": "d6357ad7-25a8-4da5-a224-32fcd5368784", "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": "0a3e33c1-9387-4181-9e88-1b82194f6c70", "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": "8cf3812e-5a93-49e9-a8f4-128243970b2b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 35.0000, "ValidationErrors": [] } ], "SubTotal": 534.73, "TotalTax": 69.70, "Total": 604.43, "UpdatedDateUTC": "\/Date(1742472381003+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:06:21] Production.INFO: -- Create Invoice id --5b9ed6e9-71f7-4f96-aec0-fb784fb9749f [2025-03-20 08:06:21] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721504', 'tblTempUsageDetail_20' ) start [2025-03-20 08:06:21] Production.INFO: CheckInvoice xerov2: INV11585 [2025-03-20 08:06:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11585 [2025-03-20 08:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721504', 'tblTempUsageDetail_20' ) end [2025-03-20 08:06:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:06:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:06:21] Production.INFO: ==29962== Releasing lock... [2025-03-20 08:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:06:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 08:06:24] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:06:24] Production.INFO: Invoice SubTotal 200.060000 [2025-03-20 08:06:24] Production.INFO: Invoice DetTotal 200.06 [2025-03-20 08:06:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Selective%20Conformal%20Coatings%20Inc." [2025-03-20 08:06:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:06:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:06:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:06:36] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-23-2025 To 02-22-2025",Quantity : 1,UnitAmount : 1.860000,LineAmount : 1.860000},{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-03-20 08:06:39] Production.INFO: ==== result ===== [2025-03-20 08:06:39] Production.INFO: { "Id": "0158e169-89a3-4659-a6b0-bd7dc7675ebb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472399748)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "4357ca5e-bdca-48c6-958b-5478a2bb30df", "InvoiceNumber": "INV11585", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 226.07, "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": "2025-02-23T00:00:00", "Date": "\/Date(1740268800000+0000)\/", "DueDateString": "2025-03-25T00:00:00", "DueDate": "\/Date(1742860800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-23-2025 To 02-22-2025", "UnitAmount": 1.86, "TaxType": "TAX020", "TaxAmount": 0.24, "LineAmount": 1.86, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "673e9d8a-9e88-44ef-a2e3-b65971114d79", "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": "e5d7e3e1-ec80-44f7-a974-c1c51ba6440b", "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": "6f55806c-69d0-48d2-a094-43b8be5c19e7", "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": "8d50bfc4-3a9a-46bb-9f94-79f33714ae98", "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": "08b3d421-05b6-41f1-bcf3-01fcc180f41c", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 200.06, "TotalTax": 26.01, "Total": 226.07, "UpdatedDateUTC": "\/Date(1742472399703+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:06:39] Production.INFO: -- Create Invoice id --4357ca5e-bdca-48c6-958b-5478a2bb30df [2025-03-20 08:06:39] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:06:39] Production.INFO: CheckInvoice xerov2: INV11586 [2025-03-20 08:06:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11586 [2025-03-20 08:06:42] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:06:42] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:06:42] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:06:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010189%20%28Akshay%20Naik%29" [2025-03-20 08:06:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:06:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:06:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:06:54] 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-03-20 08:06:57] Production.INFO: ==== result ===== [2025-03-20 08:06:57] Production.INFO: { "Id": "979ed7f7-7ff4-4522-b9f5-c4ee4f481b25", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472417656)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6b1ddbf7-59e4-47ca-b9ac-13ef1859d7dd", "InvoiceNumber": "INV11586", "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": "2025-02-23T00:00:00", "Date": "\/Date(1740268800000+0000)\/", "DueDateString": "2025-03-25T00:00:00", "DueDate": "\/Date(1742860800000+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": "b5a1fd8a-2652-4f3d-931d-915bb70f6356", "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": "8b63e925-599b-4a86-ae06-13d24b007999", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742472417563+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:06:57] Production.INFO: -- Create Invoice id --6b1ddbf7-59e4-47ca-b9ac-13ef1859d7dd [2025-03-20 08:06:57] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:06:57] Production.INFO: CheckInvoice xerov2: INV11582 [2025-03-20 08:06:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11582 [2025-03-20 08:07:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:07:00] Production.INFO: Invoice SubTotal 80.460000 [2025-03-20 08:07:00] Production.INFO: Invoice DetTotal 80.46 [2025-03-20 08:07:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AromaCafeBayviewVillage" [2025-03-20 12:07:01] Production.INFO: ==30051== Lock acquired, processing the job... [2025-03-20 12:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:07:01] Production.INFO: neon service started [2025-03-20 12:07:01] Production.INFO: neon service started [2025-03-20 12:07:01] Production.INFO: ==30051== Releasing lock... [2025-03-20 12:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:07:01] Production.INFO: ==30053== Lock acquired, processing the job... [2025-03-20 08:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:07:02] Production.INFO: ==30053== Releasing lock... [2025-03-20 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:07:02] Production.INFO: ==30055== Lock acquired, processing the job... [2025-03-20 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:07:02] Production.INFO: ==30055== Releasing lock... [2025-03-20 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:07:03] Production.INFO: ==30059== Lock acquired, processing the job... [2025-03-20 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:07:03] Production.INFO: ==30061== Lock acquired, processing the job... [2025-03-20 08:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:07:03] Production.INFO: ==30057== Lock acquired, processing the job... [2025-03-20 08:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:07:03] Production.INFO: ==30063== Lock acquired, processing the job... [2025-03-20 08:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:07:03] Production.INFO: Account Balance Start. [2025-03-20 08:07:03] Production.INFO: CreateAllLog Start [2025-03-20 08:07:03] Production.INFO: 117 [2025-03-20 08:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:03] Production.INFO: ==30065== Lock acquired, processing the job... [2025-03-20 08:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:07:03] Production.INFO: ==30067== Lock acquired, processing the job... [2025-03-20 08:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:07:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:03] Production.INFO: ==30059== Releasing lock... [2025-03-20 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:07:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:07:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:03] Production.INFO: count ==12 [2025-03-20 08:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:07:03] Production.INFO: count ==23 [2025-03-20 08:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721508') start [2025-03-20 08:07:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:03] Production.INFO: Date 2025-03-16 [2025-03-20 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:03] Production.ERROR: done [2025-03-20 08:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721508') end [2025-03-20 08:07:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:07:03] Production.INFO: 1 [2025-03-20 08:07:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:07:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:07:03] Production.INFO: ==30067== Releasing lock... [2025-03-20 08:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:07:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:07:03] Production.INFO: Date 2025-03-17 [2025-03-20 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:03] Production.INFO: Date 2025-03-18 [2025-03-20 08:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:07:04] Production.INFO: Total Charge 0 [2025-03-20 08:07:04] Production.ERROR: done [2025-03-20 08:07:04] Production.INFO: CreateAllLog End [2025-03-20 08:07:04] Production.INFO: Account Balance End. [2025-03-20 08:07:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:07:04] Production.INFO: ==30063== Releasing lock... [2025-03-20 08:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:07:05 [end_date_ymd] => 2025-03-20 08:07:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:07:05' and `end` < '2025-03-20 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-03-20 08:07:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:07:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:07:11] Production.ERROR: CronJobId end10 [2025-03-20 08:07:11] Production.INFO: ==30061== Releasing lock... [2025-03-20 08:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:07:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:07:12] 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-03-20 08:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:07:14] Production.INFO: call_cost start [2025-03-20 08:07:14] Production.INFO: call_cost end [2025-03-20 08:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:07:15] Production.INFO: ==30057== Releasing lock... [2025-03-20 08:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:07:15] Production.INFO: ==== result ===== [2025-03-20 08:07:15] Production.INFO: { "Id": "ae41fde6-b411-4552-ba0a-d40b0c4289e7", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472435609)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "fa182ecc-2ec1-41ef-933e-f7fce289a2a0", "InvoiceNumber": "INV11582", "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": "2025-02-22T00:00:00", "Date": "\/Date(1740182400000+0000)\/", "DueDateString": "2025-03-24T00:00:00", "DueDate": "\/Date(1742774400000+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": "e76e4810-6ddc-44af-8242-8bd123965d8d", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 80.46, "TotalTax": 10.46, "Total": 90.92, "UpdatedDateUTC": "\/Date(1742472435563+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:07:15] Production.INFO: -- Create Invoice id --fa182ecc-2ec1-41ef-933e-f7fce289a2a0 [2025-03-20 08:07:15] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:07:15] Production.INFO: CheckInvoice xerov2: INV11572 [2025-03-20 08:07:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11572 [2025-03-20 08:07:17] Production.INFO: count ==155 [2025-03-20 08:07:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:07:05 - End Time 2025-03-20 08:07:05 [2025-03-20 08:07:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721509', 'tblTempUsageDetail_20' ) start [2025-03-20 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721509', 'tblTempUsageDetail_20' ) end [2025-03-20 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721509', 'tblTempVendorCDR_20' ) start [2025-03-20 08:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721509', 'tblTempVendorCDR_20' ) end [2025-03-20 08:07:17] Production.INFO: ProcessCDR(1,14721509,1,1,2) [2025-03-20 08:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:07:18] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:07:18] Production.INFO: Invoice SubTotal 79.700000 [2025-03-20 08:07:18] Production.INFO: Invoice DetTotal 79.7 [2025-03-20 08:07:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Bon%20Voyage%20Travel" [2025-03-20 08:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721509', 'tblTempUsageDetail_20' ) start [2025-03-20 08:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721509', 'tblTempUsageDetail_20' ) end [2025-03-20 08:07:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:07:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:07:20] Production.INFO: ==30065== Releasing lock... [2025-03-20 08:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:07:20] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 08:07:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:07:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:07:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:07:29] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 12.700000,LineAmount : 12.700000},{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-03-20 08:07:33] Production.INFO: ==== result ===== [2025-03-20 08:07:33] Production.INFO: { "Id": "d19b3c47-1d0d-417c-aa61-88520558ce02", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472453187)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "63718684-5c52-4d04-bb10-32d92847bfae", "InvoiceNumber": "INV11572", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 90.06, "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": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-03-23T00:00:00", "DueDate": "\/Date(1742688000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 12.70, "TaxType": "TAX020", "TaxAmount": 1.65, "LineAmount": 12.70, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d7c12155-d36a-4fe8-b715-2d94710f22e9", "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": "615a1dfa-8346-4e24-b555-f25289044f7d", "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": "2a5c8e7d-5735-4a11-a442-cc8dfd83b0b8", "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": "55428603-c424-47a7-b8f7-c17693aaa410", "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": "24b260de-ec96-4a6f-aef4-a4f7055ae8fa", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 79.70, "TotalTax": 10.36, "Total": 90.06, "UpdatedDateUTC": "\/Date(1742472453110+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:07:33] Production.INFO: -- Create Invoice id --63718684-5c52-4d04-bb10-32d92847bfae [2025-03-20 08:07:33] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:07:33] Production.INFO: CheckInvoice xerov2: INV11573 [2025-03-20 08:07:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11573 [2025-03-20 08:07:36] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:07:36] Production.INFO: Invoice SubTotal 382.510000 [2025-03-20 08:07:36] Production.INFO: Invoice DetTotal 382.51 [2025-03-20 08:07:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sivananda%20Ashram%20Yoga%20Retreat" [2025-03-20 08:07:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:07:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:07:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:07:48] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 32.510000,LineAmount : 32.510000},{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-03-20 08:07:52] Production.INFO: ==== result ===== [2025-03-20 08:07:52] Production.INFO: { "Id": "05fd1edf-4322-406c-b096-11806a2d8129", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472472276)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "93937fe9-dab5-461e-b23c-b7517dede03f", "InvoiceNumber": "INV11573", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 432.24, "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": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-02-28T00:00:00", "DueDate": "\/Date(1740700800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 32.51, "TaxType": "OUTPUT", "TaxAmount": 4.23, "LineAmount": 32.51, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c10bf3a3-c2c5-4a05-9879-7c224118c774", "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": "a51025ac-dfd7-4f9a-a058-129981af7d4c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 382.51, "TotalTax": 49.73, "Total": 432.24, "UpdatedDateUTC": "\/Date(1742472472230+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:07:52] Production.INFO: -- Create Invoice id --93937fe9-dab5-461e-b23c-b7517dede03f [2025-03-20 08:07:52] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:07:52] Production.INFO: CheckInvoice xerov2: INV11574 [2025-03-20 08:07:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11574 [2025-03-20 08:07:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:07:54] Production.INFO: Invoice SubTotal 16.230000 [2025-03-20 08:07:54] Production.INFO: Invoice DetTotal 16.23 [2025-03-20 08:07:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Escape%20Games%20Canada" [2025-03-20 08:07:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:08:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 12:08:01] Production.INFO: ==30151== Lock acquired, processing the job... [2025-03-20 12:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:08:01] Production.INFO: neon service started [2025-03-20 12:08:01] Production.INFO: neon service started [2025-03-20 12:08:01] Production.INFO: ==30151== Releasing lock... [2025-03-20 12:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:08:02] Production.INFO: ==30155== Lock acquired, processing the job... [2025-03-20 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:08:02] Production.INFO: ==30155== Releasing lock... [2025-03-20 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:08:02] Production.INFO: ==30153== Lock acquired, processing the job... [2025-03-20 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:08:02] Production.INFO: ==30153== Releasing lock... [2025-03-20 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:08:03] Production.INFO: ==30160== Lock acquired, processing the job... [2025-03-20 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:08:03] Production.INFO: ==30162== Lock acquired, processing the job... [2025-03-20 08:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:08:03] Production.INFO: ==30158== Lock acquired, processing the job... [2025-03-20 08:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:08:03] Production.INFO: ==30160== Releasing lock... [2025-03-20 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:08:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:08:04] Production.INFO: ==30164== Lock acquired, processing the job... [2025-03-20 08:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:08:04] Production.INFO: ==30166== Lock acquired, processing the job... [2025-03-20 08:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:08:04] Production.INFO: ==30168== Lock acquired, processing the job... [2025-03-20 08:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:08:04] Production.INFO: Account Balance Start. [2025-03-20 08:08:04] Production.INFO: CreateAllLog Start [2025-03-20 08:08:04] Production.INFO: 117 [2025-03-20 08:08:04] Production.INFO: count ==12 [2025-03-20 08:08:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:08:04] Production.INFO: count ==23 [2025-03-20 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721513') start [2025-03-20 08:08:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:08:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:04] Production.ERROR: done [2025-03-20 08:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721513') end [2025-03-20 08:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:08:04] Production.INFO: 1 [2025-03-20 08:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:04] Production.INFO: ==30168== Releasing lock... [2025-03-20 08:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:08:04] Production.ERROR: done [2025-03-20 08:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:05] Production.INFO: Date 2025-03-17 [2025-03-20 08:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:05] Production.INFO: Date 2025-03-18 [2025-03-20 08:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:05] Production.INFO: Date 2025-03-19 [2025-03-20 08:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:05] Production.INFO: Date 2025-03-20 [2025-03-20 08:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:08:05] Production.INFO: Total Charge 0 [2025-03-20 08:08:05] Production.INFO: CreateAllLog End [2025-03-20 08:08:05] Production.INFO: Account Balance End. [2025-03-20 08:08:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:08:05] Production.INFO: ==30164== Releasing lock... [2025-03-20 08:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:08:05 [end_date_ymd] => 2025-03-20 08:08:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:08:05' and `end` < '2025-03-20 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-03-20 08:08:07] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 5.980000,LineAmount : 5.980000},{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-03-20 08:08:11] Production.INFO: ==== result ===== [2025-03-20 08:08:11] Production.INFO: { "Id": "62c5ce11-32f6-4be9-a5d8-26cb87420047", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472490999)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e967d306-a023-48f8-98ed-f7055b36dc63", "InvoiceNumber": "INV11574", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 18.35, "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": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-03-23T00:00:00", "DueDate": "\/Date(1742688000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 5.98, "TaxType": "TAX020", "TaxAmount": 0.78, "LineAmount": 5.98, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6b3ffa4b-6d49-4b24-bb71-36b68a293b3d", "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": "f01c344c-4c68-42c7-bf45-cedb2317adf1", "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": "c59d5f64-8ef4-4ce5-bc1c-2ba862112ebf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 16.23, "TotalTax": 2.12, "Total": 18.35, "UpdatedDateUTC": "\/Date(1742472490953+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:08:11] Production.INFO: -- Create Invoice id --e967d306-a023-48f8-98ed-f7055b36dc63 [2025-03-20 08:08:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:08:11] Production.INFO: CheckInvoice xerov2: INV11575 [2025-03-20 08:08:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11575 [2025-03-20 08:08:12] Production.ERROR: CronJobId end10 [2025-03-20 08:08:12] Production.INFO: ==30162== Releasing lock... [2025-03-20 08:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:08:13] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:08:13] Production.INFO: Invoice SubTotal 18.130000 [2025-03-20 08:08:13] Production.INFO: Invoice DetTotal 18.13 [2025-03-20 08:08:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Alexander%20and%20Casey%20Law" [2025-03-20 08:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:08:15] Production.INFO: call_cost start [2025-03-20 08:08:15] Production.INFO: call_cost end [2025-03-20 08:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:08:16] Production.INFO: ==30158== Releasing lock... [2025-03-20 08:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:08:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:08:17] Production.INFO: count ==150 [2025-03-20 08:08:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:08:05 - End Time 2025-03-20 08:08:05 [2025-03-20 08:08:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721514', 'tblTempUsageDetail_20' ) start [2025-03-20 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721514', 'tblTempUsageDetail_20' ) end [2025-03-20 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721514', 'tblTempVendorCDR_20' ) start [2025-03-20 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721514', 'tblTempVendorCDR_20' ) end [2025-03-20 08:08:17] Production.INFO: ProcessCDR(1,14721514,1,1,2) [2025-03-20 08:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:08:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721514', 'tblTempUsageDetail_20' ) start [2025-03-20 08:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721514', 'tblTempUsageDetail_20' ) end [2025-03-20 08:08:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:08:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:08:21] Production.INFO: ==30166== Releasing lock... [2025-03-20 08:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:08:21] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 08:08:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:08:26] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 0.630000,LineAmount : 0.630000},{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-03-20 08:08:29] Production.INFO: ==== result ===== [2025-03-20 08:08:29] Production.INFO: { "Id": "f804820c-42dd-4cd4-9163-e9984e26c1d1", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472509759)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1c3f2c18-b68c-4d61-a908-d0f32505f014", "InvoiceNumber": "INV11575", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 20.49, "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": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-02-28T00:00:00", "DueDate": "\/Date(1740700800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 0.63, "TaxType": "OUTPUT", "TaxAmount": 0.08, "LineAmount": 0.63, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "699b1502-ad90-4d7f-bb63-14ec08f6841e", "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": "15e103c2-8dee-403e-9bf4-08aa44a4dc61", "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": "0c0e5b4a-078e-4d4c-a976-d14f09b7d4c7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 18.13, "TotalTax": 2.36, "Total": 20.49, "UpdatedDateUTC": "\/Date(1742472509727+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:08:29] Production.INFO: -- Create Invoice id --1c3f2c18-b68c-4d61-a908-d0f32505f014 [2025-03-20 08:08:29] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:08:29] Production.INFO: CheckInvoice xerov2: INV11576 [2025-03-20 08:08:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11576 [2025-03-20 08:08:32] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:08:33] Production.INFO: Invoice SubTotal 18.950000 [2025-03-20 08:08:33] Production.INFO: Invoice DetTotal 18.95 [2025-03-20 08:08:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="MK%20TAXPLUS%20LTD" [2025-03-20 08:08:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:08:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:08:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:08:45] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 8.450000,LineAmount : 8.450000},{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-03-20 08:08:48] Production.INFO: ==== result ===== [2025-03-20 08:08:48] Production.INFO: { "Id": "cf9e6eae-7032-41ae-8fbf-1c691bf063c8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472528811)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "43531e3b-818e-4bb1-aba7-aee109503244", "InvoiceNumber": "INV11576", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 21.42, "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": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-03-23T00:00:00", "DueDate": "\/Date(1742688000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 8.45, "TaxType": "TAX020", "TaxAmount": 1.10, "LineAmount": 8.45, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d7eb7631-6f05-42dd-b6b4-4cdde4f2e270", "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": "c99569b2-ec78-4222-bf17-bc0c5deefcd0", "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": "b63665d5-da8f-4aad-99ee-3811780d9645", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 18.95, "TotalTax": 2.47, "Total": 21.42, "UpdatedDateUTC": "\/Date(1742472528763+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:08:48] Production.INFO: -- Create Invoice id --43531e3b-818e-4bb1-aba7-aee109503244 [2025-03-20 08:08:48] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:08:48] Production.INFO: CheckInvoice xerov2: INV11577 [2025-03-20 08:08:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11577 [2025-03-20 08:08:51] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:08:51] Production.INFO: Invoice SubTotal 8.070000 [2025-03-20 08:08:51] Production.INFO: Invoice DetTotal 8.07 [2025-03-20 08:08:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Small%20Business%20Owners%20%26%20Professionals%20Association" [2025-03-20 08:08:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:08:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 12:09:01] Production.INFO: ==30252== Lock acquired, processing the job... [2025-03-20 12:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:09:01] Production.INFO: neon service started [2025-03-20 12:09:01] Production.INFO: neon service started [2025-03-20 12:09:01] Production.INFO: ==30252== Releasing lock... [2025-03-20 12:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:09:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:09:01] Production.INFO: ==30254== Lock acquired, processing the job... [2025-03-20 08:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:09:02] Production.INFO: ==30254== Releasing lock... [2025-03-20 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:09:02] Production.INFO: ==30256== Lock acquired, processing the job... [2025-03-20 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:09:02] Production.INFO: ==30256== Releasing lock... [2025-03-20 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:09:03] Production.INFO: ==30261== Lock acquired, processing the job... [2025-03-20 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:09:03] Production.INFO: ==30269== Lock acquired, processing the job... [2025-03-20 08:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:09:03] Production.INFO: ==30259== Lock acquired, processing the job... [2025-03-20 08:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:09:03] Production.INFO: ==30261== Releasing lock... [2025-03-20 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:09:03] Production.INFO: ==30265== Lock acquired, processing the job... [2025-03-20 08:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:09:03] Production.INFO: ==30263== Lock acquired, processing the job... [2025-03-20 08:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:09:03] Production.INFO: count ==12 [2025-03-20 08:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:09:03] Production.INFO: count ==23 [2025-03-20 08:09:03] Production.INFO: ==30267== Lock acquired, processing the job... [2025-03-20 08:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721516') start [2025-03-20 08:09:03] Production.INFO: Account Balance Start. [2025-03-20 08:09:03] Production.INFO: CreateAllLog Start [2025-03-20 08:09:03] Production.INFO: 117 [2025-03-20 08:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:09:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721516') end [2025-03-20 08:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:09:03] Production.INFO: 1 [2025-03-20 08:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:09:03] Production.INFO: ==30269== Releasing lock... [2025-03-20 08:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:09:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:09:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:03] Production.ERROR: done [2025-03-20 08:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:09:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:03] Production.ERROR: done [2025-03-20 08:09:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:09:04] Production.INFO: Total Charge 0 [2025-03-20 08:09:04] Production.INFO: CreateAllLog End [2025-03-20 08:09:04] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-21-2025 To 02-20-2025",Quantity : 1,UnitAmount : 0.570000,LineAmount : 0.570000},{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-03-20 08:09:04] Production.INFO: Account Balance End. [2025-03-20 08:09:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:09:04] Production.INFO: ==30265== Releasing lock... [2025-03-20 08:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:09:05 [end_date_ymd] => 2025-03-20 08:09:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:09:05' and `end` < '2025-03-20 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-03-20 08:09:07] Production.INFO: ==== result ===== [2025-03-20 08:09:07] Production.INFO: { "Id": "2200071e-9cae-4c02-a163-ae0ec1fdeec9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472547235)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d5339c5f-f4cb-46de-9563-349570c75c61", "InvoiceNumber": "INV11577", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 9.12, "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": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-03-23T00:00:00", "DueDate": "\/Date(1742688000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-21-2025 To 02-20-2025", "UnitAmount": 0.57, "TaxType": "TAX020", "TaxAmount": 0.07, "LineAmount": 0.57, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6015e6c5-a457-4b83-90f1-dc515334e893", "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": "a5af107f-d3e8-4607-9fe1-51f102914ea4", "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": "c50e5bda-333b-4105-94b6-b2e0d3dd14cd", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 8.07, "TotalTax": 1.05, "Total": 9.12, "UpdatedDateUTC": "\/Date(1742472547190+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:09:07] Production.INFO: -- Create Invoice id --d5339c5f-f4cb-46de-9563-349570c75c61 [2025-03-20 08:09:07] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:09:07] Production.INFO: CheckInvoice xerov2: INV11579 [2025-03-20 08:09:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11579 [2025-03-20 08:09:10] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:09:10] Production.INFO: Invoice SubTotal 70.000000 [2025-03-20 08:09:10] Production.INFO: Invoice DetTotal 70 [2025-03-20 08:09:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010538%20%28Waqas%20Ayaz%29" [2025-03-20 08:09:12] Production.ERROR: CronJobId end10 [2025-03-20 08:09:12] Production.INFO: ==30263== Releasing lock... [2025-03-20 08:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:09:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:09:15] Production.INFO: call_cost start [2025-03-20 08:09:15] Production.INFO: call_cost end [2025-03-20 08:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:09:16] Production.INFO: ==30259== Releasing lock... [2025-03-20 08:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:09:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:09:17] Production.INFO: count ==150 [2025-03-20 08:09:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:09:05 - End Time 2025-03-20 08:09:05 [2025-03-20 08:09:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721519', 'tblTempUsageDetail_20' ) start [2025-03-20 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721519', 'tblTempUsageDetail_20' ) end [2025-03-20 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721519', 'tblTempVendorCDR_20' ) start [2025-03-20 08:09:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721519', 'tblTempVendorCDR_20' ) end [2025-03-20 08:09:17] Production.INFO: ProcessCDR(1,14721519,1,1,2) [2025-03-20 08:09:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:09:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:09:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:09:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:09:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721519', 'tblTempUsageDetail_20' ) start [2025-03-20 08:09:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721519', 'tblTempUsageDetail_20' ) end [2025-03-20 08:09:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:09:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:09:20] Production.INFO: ==30267== Releasing lock... [2025-03-20 08:09:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:09:20] Production.INFO: 29.25 MB #Memory Used# [2025-03-20 08:09:21] 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-03-20 08:09:24] Production.INFO: ==== result ===== [2025-03-20 08:09:24] Production.INFO: { "Id": "fa98d28e-9709-472c-adb5-72a9bf28c261", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472564579)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "45be0133-1487-4766-a858-236de7bbd881", "InvoiceNumber": "INV11579", "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": "2025-02-21T00:00:00", "Date": "\/Date(1740096000000+0000)\/", "DueDateString": "2025-03-23T00:00:00", "DueDate": "\/Date(1742688000000+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": "90332e62-faad-4ca3-b397-49f61c762f3f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 70.00, "TotalTax": 9.10, "Total": 79.10, "UpdatedDateUTC": "\/Date(1742472564517+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:09:24] Production.INFO: -- Create Invoice id --45be0133-1487-4766-a858-236de7bbd881 [2025-03-20 08:09:24] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:09:24] Production.INFO: CheckInvoice xerov2: INV11570 [2025-03-20 08:09:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11570 [2025-03-20 08:09:27] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:09:27] Production.INFO: Invoice SubTotal 269.120000 [2025-03-20 08:09:27] Production.INFO: Invoice DetTotal 269.12 [2025-03-20 08:09:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Craig%20Travel" [2025-03-20 08:09:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:09:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:09:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:09:40] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-20-2025 To 02-19-2025",Quantity : 1,UnitAmount : 46.620000,LineAmount : 46.620000},{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-03-20 08:09:43] Production.INFO: ==== result ===== [2025-03-20 08:09:43] Production.INFO: { "Id": "adc7cbff-a84f-46ad-b6d3-17b480a9da6a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472583781)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b2f348cd-c489-4b4e-b2e6-f0477917de42", "InvoiceNumber": "INV11570", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 304.11, "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": "2025-02-20T00:00:00", "Date": "\/Date(1740009600000+0000)\/", "DueDateString": "2025-03-22T00:00:00", "DueDate": "\/Date(1742601600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-20-2025 To 02-19-2025", "UnitAmount": 46.62, "TaxType": "TAX020", "TaxAmount": 6.06, "LineAmount": 46.62, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b6770520-ce16-422b-8498-31500d99dfe9", "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": "a47bc242-abd8-43cd-b18c-16a7edc09dfe", "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": "fb977844-b726-475b-bce8-5b28cc4e78f8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 269.12, "TotalTax": 34.99, "Total": 304.11, "UpdatedDateUTC": "\/Date(1742472583720+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:09:43] Production.INFO: -- Create Invoice id --b2f348cd-c489-4b4e-b2e6-f0477917de42 [2025-03-20 08:09:43] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:09:43] Production.INFO: CheckInvoice xerov2: INV11571 [2025-03-20 08:09:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11571 [2025-03-20 08:09:46] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:09:46] Production.INFO: Invoice SubTotal 67.500000 [2025-03-20 08:09:46] Production.INFO: Invoice DetTotal 67.5 [2025-03-20 08:09:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010462%20%28Anwar%20Hossain%29" [2025-03-20 08:09:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:09:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:09:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:09: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 (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-03-20 08:10:01] Production.INFO: ==== result ===== [2025-03-20 08:10:01] Production.INFO: { "Id": "f3074434-05fb-4cce-95d9-f8d18631388b", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472601622)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "3e25da50-be93-4abc-bcdb-5c8a208e2656", "InvoiceNumber": "INV11571", "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": "2025-02-20T00:00:00", "Date": "\/Date(1740009600000+0000)\/", "DueDateString": "2025-03-22T00:00:00", "DueDate": "\/Date(1742601600000+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": "d3938ddf-846c-4df9-9d0b-fd41c51ad371", "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": "4b28587f-ba56-47ba-856c-2915a505b822", "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": "9f583c13-9019-4347-8345-93a22215d157", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1742472601560+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:10:01] Production.INFO: -- Create Invoice id --3e25da50-be93-4abc-bcdb-5c8a208e2656 [2025-03-20 08:10:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:10:01] Production.INFO: CheckInvoice xerov2: INV11564 [2025-03-20 08:10:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11564 [2025-03-20 12:10:01] Production.INFO: ==30365== Lock acquired, processing the job... [2025-03-20 12:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:10:01] Production.INFO: neon service started [2025-03-20 12:10:01] Production.INFO: neon service started [2025-03-20 12:10:01] Production.INFO: ==30365== Releasing lock... [2025-03-20 12:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:10:02] Production.INFO: ==30367== Lock acquired, processing the job... [2025-03-20 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:10:02] Production.INFO: ==30369== Lock acquired, processing the job... [2025-03-20 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:10:02] Production.INFO: ==30367== Releasing lock... [2025-03-20 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:10:02] Production.INFO: ==30369== Releasing lock... [2025-03-20 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:10:03] Production.INFO: ==30372== Lock acquired, processing the job... [2025-03-20 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 08:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 08:10:03] Production.INFO: ==30376== Lock acquired, processing the job... [2025-03-20 08:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 08:10:03] Production.INFO: ==30372== Releasing lock... [2025-03-20 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 08:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 08:10:03] Production.INFO: ==30378== Lock acquired, processing the job... [2025-03-20 08:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:10:04] Production.INFO: ==30374== Lock acquired, processing the job... [2025-03-20 08:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:10:04] Production.INFO: ==30386== Lock acquired, processing the job... [2025-03-20 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:10:04] Production.INFO: ==30376== Releasing lock... [2025-03-20 08:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:10:04] Production.INFO: ==30380== Lock acquired, processing the job... [2025-03-20 08:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:10:04] Production.INFO: ==30382== Lock acquired, processing the job... [2025-03-20 08:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:10:04] Production.INFO: count ==12 [2025-03-20 08:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:10:04] Production.INFO: ==30384== Lock acquired, processing the job... [2025-03-20 08:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 08:10:04] Production.INFO: count ==23 [2025-03-20 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721522') start [2025-03-20 08:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:10:04] Production.INFO: Account Balance Start. [2025-03-20 08:10:04] Production.INFO: CreateAllLog Start [2025-03-20 08:10:04] Production.INFO: 117 [2025-03-20 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721522') end [2025-03-20 08:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:10:04] Production.INFO: 1 [2025-03-20 08:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:04] Production.INFO: ==30386== Releasing lock... [2025-03-20 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:04] Production.INFO: Invoice SubTotal 32.000000 [2025-03-20 08:10:04] Production.INFO: Invoice DetTotal 32 [2025-03-20 08:10:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Stars%20%26%20Maple%20Tours" [2025-03-20 08:10:05] Production.INFO: Date 2025-03-14 [2025-03-20 08:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:05] Production.ERROR: done [2025-03-20 08:10:05] Production.ERROR: done [2025-03-20 08:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 08:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721524', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 08:10:05] Production.INFO: Date 2025-03-15 [2025-03-20 08:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:05] Production.INFO: Date 2025-03-16 [2025-03-20 08:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:05] Production.INFO: Date 2025-03-17 [2025-03-20 08:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 08:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 08:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 08:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:10:05] Production.INFO: Total Charge 0 [2025-03-20 08:10:05] Production.ERROR: done [2025-03-20 08:10:05] Production.INFO: CreateAllLog End [2025-03-20 08:10:05] Production.INFO: Account Balance End. [2025-03-20 08:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:10:05] Production.INFO: ==30380== Releasing lock... [2025-03-20 08:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:10:06 [end_date_ymd] => 2025-03-20 08:10:06 [RateCDR] => 1 ) [2025-03-20 08:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:10:06' and `end` < '2025-03-20 08:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:10:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721524', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 08:10:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 08:10:10] Production.INFO: ProcessCDR(1,14721524,1,1,2) [2025-03-20 08:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721524,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721524,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:10:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:10:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:10:10] Production.INFO: ==30384== Releasing lock... [2025-03-20 08:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 08:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 08:10:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:10:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:10:17] 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-03-20 08:10:19] Production.INFO: count ==160 [2025-03-20 08:10:19] Production.ERROR: pbx CDR StartTime 2025-03-20 05:10:06 - End Time 2025-03-20 08:10:06 [2025-03-20 08:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721525', 'tblTempUsageDetail_20' ) start [2025-03-20 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721525', 'tblTempUsageDetail_20' ) end [2025-03-20 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721525', 'tblTempVendorCDR_20' ) start [2025-03-20 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721525', 'tblTempVendorCDR_20' ) end [2025-03-20 08:10:19] Production.INFO: ProcessCDR(1,14721525,1,1,2) [2025-03-20 08:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:10:19] Production.ERROR: CronJobId end10 [2025-03-20 08:10:19] Production.INFO: ==30378== Releasing lock... [2025-03-20 08:10:19] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:10:19] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:10:20] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:10:20] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:10:20] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:10:20] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:10:20] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:10:20] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:10:20] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:10:20] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:10:20] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:10:20] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:10:20] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:10:20] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:10:20] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:10:20] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:10:20] Production.INFO: ==== result ===== [2025-03-20 08:10:20] Production.INFO: { "Id": "9a23dc5e-b0f6-4cef-9aea-b5fc6a7116c4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472620856)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ac7f12db-09cf-40a1-aed4-bc9a771962f0", "InvoiceNumber": "INV11564", "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": "2025-02-19T00:00:00", "Date": "\/Date(1739923200000+0000)\/", "DueDateString": "2025-03-21T00:00:00", "DueDate": "\/Date(1742515200000+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": "7035d8e1-6ad9-4003-930c-ba17f153f58e", "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": "c038307d-f129-48df-9880-437c8c46e3b0", "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": "032db740-c9ac-4995-92ce-6a774b2e1019", "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": "331e59da-891a-4409-852d-6c35061ca896", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.00, "TotalTax": 4.16, "Total": 36.16, "UpdatedDateUTC": "\/Date(1742472620810+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:10:21] Production.INFO: -- Create Invoice id --ac7f12db-09cf-40a1-aed4-bc9a771962f0 [2025-03-20 08:10:21] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:10:21] Production.INFO: CheckInvoice xerov2: INV11565 [2025-03-20 08:10:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11565 [2025-03-20 08:10:21] Production.INFO: call_cost start [2025-03-20 08:10:21] Production.INFO: call_cost end [2025-03-20 08:10:22] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:10:22] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:10:22] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:10:22] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:10:22] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:10:22] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:10:22] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:10:22] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:10:22] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:10:22] Production.INFO: ==30374== Releasing lock... [2025-03-20 08:10:22] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:10:22] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:10:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:10:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:10:23] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:10:23] Production.INFO: Invoice SubTotal 15.410000 [2025-03-20 08:10:23] Production.INFO: Invoice DetTotal 15.41 [2025-03-20 08:10:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Halcyon%20Travel" [2025-03-20 08:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721525', 'tblTempUsageDetail_20' ) start [2025-03-20 08:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721525', 'tblTempUsageDetail_20' ) end [2025-03-20 08:10:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:10:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:10:26] Production.INFO: ==30382== Releasing lock... [2025-03-20 08:10:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:10:26] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 08:10:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:10:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:10:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:10:36] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-19-2025 To 02-18-2025",Quantity : 1,UnitAmount : 2.910000,LineAmount : 2.910000},{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-03-20 08:10:39] Production.INFO: ==== result ===== [2025-03-20 08:10:39] Production.INFO: { "Id": "6f129068-5016-4c7b-b075-d0a46825938d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742472639231)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9abab1e9-560f-4a9f-987b-f9b57472dce1", "InvoiceNumber": "INV11565", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 17.42, "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": "2025-02-19T00:00:00", "Date": "\/Date(1739923200000+0000)\/", "DueDateString": "2025-03-21T00:00:00", "DueDate": "\/Date(1742515200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-19-2025 To 02-18-2025", "UnitAmount": 2.91, "TaxType": "TAX020", "TaxAmount": 0.38, "LineAmount": 2.91, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "edffc345-ba94-4433-ae0c-a68941ac68a8", "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": "796424b4-68a1-47dc-ad73-fa5df26593e2", "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": "1204ef00-6fae-43bc-a14c-7666c1020eb4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 15.41, "TotalTax": 2.01, "Total": 17.42, "UpdatedDateUTC": "\/Date(1742472639183+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:10:39] Production.INFO: -- Create Invoice id --9abab1e9-560f-4a9f-987b-f9b57472dce1 [2025-03-20 08:10:39] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:10:39] Production.INFO: -- Xero End Inovice -- [2025-03-20 08:10:39] Production.INFO: ==28518== Releasing lock... [2025-03-20 08:10:39] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10798 #Stops# [2025-03-20 08:10:39] Production.INFO: 34 MB #Memory Used# [2025-03-20 12:11:02] Production.INFO: ==30507== Lock acquired, processing the job... [2025-03-20 12:11:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:11:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:11:02] Production.INFO: neon service started [2025-03-20 12:11:02] Production.INFO: neon service started [2025-03-20 12:11:02] Production.INFO: ==30507== Releasing lock... [2025-03-20 12:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:11:02] Production.INFO: ==30511== Lock acquired, processing the job... [2025-03-20 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:11:02] Production.INFO: ==30511== Releasing lock... [2025-03-20 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:11:02] Production.INFO: ==30509== Lock acquired, processing the job... [2025-03-20 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:11:03] Production.INFO: ==30509== Releasing lock... [2025-03-20 08:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:11:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:11:04] Production.INFO: ==30518== Lock acquired, processing the job... [2025-03-20 08:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:11:04] Production.INFO: ==30516== Lock acquired, processing the job... [2025-03-20 08:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:11:04] Production.INFO: ==30513== Lock acquired, processing the job... [2025-03-20 08:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:11:04] Production.INFO: ==30520== Lock acquired, processing the job... [2025-03-20 08:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:11:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:11:04] Production.INFO: ==30522== Lock acquired, processing the job... [2025-03-20 08:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:11:04] Production.INFO: ==30516== Releasing lock... [2025-03-20 08:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:11:04] Production.INFO: ==30524== Lock acquired, processing the job... [2025-03-20 08:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:11:04] Production.INFO: Account Balance Start. [2025-03-20 08:11:04] Production.INFO: CreateAllLog Start [2025-03-20 08:11:04] Production.INFO: 117 [2025-03-20 08:11:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:11:04] Production.INFO: count ==12 [2025-03-20 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-03-20 08:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.INFO: count ==23 [2025-03-20 08:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721529') start [2025-03-20 08:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721529') end [2025-03-20 08:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:11:04] Production.INFO: 1 [2025-03-20 08:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.INFO: ==30524== Releasing lock... [2025-03-20 08:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:11:04] Production.INFO: Total Charge 0 [2025-03-20 08:11:04] Production.ERROR: done [2025-03-20 08:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:11:04] Production.INFO: CreateAllLog End [2025-03-20 08:11:05] Production.ERROR: done [2025-03-20 08:11:05] Production.INFO: Account Balance End. [2025-03-20 08:11:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:11:05] Production.INFO: ==30520== Releasing lock... [2025-03-20 08:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:11:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:11:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:11:06 [end_date_ymd] => 2025-03-20 08:11:06 [RateCDR] => 1 ) [2025-03-20 08: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-03-20 05:11:06' and `end` < '2025-03-20 08: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-03-20 08:11:12] Production.ERROR: CronJobId end10 [2025-03-20 08:11:12] Production.INFO: ==30518== Releasing lock... [2025-03-20 08:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:11:16] Production.INFO: call_cost start [2025-03-20 08:11:16] Production.INFO: call_cost end [2025-03-20 08:11:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:11:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:11:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:11:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:11:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:11:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:11:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:11:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:11:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:11:17] Production.INFO: ==30513== Releasing lock... [2025-03-20 08:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:11:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:11:18] Production.INFO: count ==160 [2025-03-20 08:11:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:11:06 - End Time 2025-03-20 08:11:06 [2025-03-20 08:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721530', 'tblTempUsageDetail_20' ) start [2025-03-20 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721530', 'tblTempUsageDetail_20' ) end [2025-03-20 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721530', 'tblTempVendorCDR_20' ) start [2025-03-20 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721530', 'tblTempVendorCDR_20' ) end [2025-03-20 08:11:18] Production.INFO: ProcessCDR(1,14721530,1,1,2) [2025-03-20 08:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721530,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721530,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721530', 'tblTempUsageDetail_20' ) start [2025-03-20 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721530', 'tblTempUsageDetail_20' ) end [2025-03-20 08:11:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:11:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:11:21] Production.INFO: ==30522== Releasing lock... [2025-03-20 08:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:11:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 12:12:01] Production.INFO: ==30602== Lock acquired, processing the job... [2025-03-20 12:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:12:01] Production.INFO: neon service started [2025-03-20 12:12:01] Production.INFO: neon service started [2025-03-20 12:12:01] Production.INFO: ==30602== Releasing lock... [2025-03-20 12:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:12:02] Production.INFO: ==30604== Lock acquired, processing the job... [2025-03-20 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:12:02] Production.INFO: ==30604== Releasing lock... [2025-03-20 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:12:02] Production.INFO: ==30606== Lock acquired, processing the job... [2025-03-20 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:12:02] Production.INFO: ==30606== Releasing lock... [2025-03-20 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:12:03] Production.INFO: ==30613== Lock acquired, processing the job... [2025-03-20 08:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:12:03] Production.INFO: ==30609== Lock acquired, processing the job... [2025-03-20 08:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:12:03] Production.INFO: ==30615== Lock acquired, processing the job... [2025-03-20 08:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:12:03] Production.INFO: ==30611== Lock acquired, processing the job... [2025-03-20 08:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:12:03] Production.INFO: Account Balance Start. [2025-03-20 08:12:03] Production.INFO: CreateAllLog Start [2025-03-20 08:12:03] Production.INFO: 117 [2025-03-20 08:12:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:12:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.INFO: ==30617== Lock acquired, processing the job... [2025-03-20 08:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:12:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:12:03] Production.INFO: ==30619== Lock acquired, processing the job... [2025-03-20 08:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:12:03] Production.INFO: Date 2025-03-16 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.INFO: Date 2025-03-17 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.INFO: Date 2025-03-18 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.INFO: Date 2025-03-19 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:03] Production.INFO: Date 2025-03-20 [2025-03-20 08:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:12:04] Production.INFO: Total Charge 0 [2025-03-20 08:12:04] Production.INFO: CreateAllLog End [2025-03-20 08:12:04] Production.INFO: ==30611== Releasing lock... [2025-03-20 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:12:04] Production.ERROR: done [2025-03-20 08:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:12:04] Production.INFO: count ==12 [2025-03-20 08:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:12:04] Production.INFO: count ==23 [2025-03-20 08:12:04] Production.INFO: Account Balance End. [2025-03-20 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721534') start [2025-03-20 08:12:04] Production.ERROR: done [2025-03-20 08:12:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:12:04] Production.INFO: ==30615== Releasing lock... [2025-03-20 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721534') end [2025-03-20 08:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:12:04] Production.INFO: 1 [2025-03-20 08:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:12:04] Production.INFO: ==30619== Releasing lock... [2025-03-20 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:12:05 [end_date_ymd] => 2025-03-20 08:12:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:12:05' and `end` < '2025-03-20 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-03-20 08:12:11] Production.ERROR: CronJobId end10 [2025-03-20 08:12:11] Production.INFO: ==30613== Releasing lock... [2025-03-20 08:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:12:15] Production.INFO: call_cost start [2025-03-20 08:12:15] Production.INFO: call_cost end [2025-03-20 08:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:12:16] Production.INFO: ==30609== Releasing lock... [2025-03-20 08:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:12:17] Production.INFO: count ==168 [2025-03-20 08:12:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:12:05 - End Time 2025-03-20 08:12:05 [2025-03-20 08:12:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721535', 'tblTempUsageDetail_20' ) start [2025-03-20 08:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721535', 'tblTempUsageDetail_20' ) end [2025-03-20 08:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721535', 'tblTempVendorCDR_20' ) start [2025-03-20 08:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721535', 'tblTempVendorCDR_20' ) end [2025-03-20 08:12:17] Production.INFO: ProcessCDR(1,14721535,1,1,2) [2025-03-20 08:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721535,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721535,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721535', 'tblTempUsageDetail_20' ) start [2025-03-20 08:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721535', 'tblTempUsageDetail_20' ) end [2025-03-20 08:12:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:12:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:12:21] Production.INFO: ==30617== Releasing lock... [2025-03-20 08:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:12:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 12:13:02] Production.INFO: ==30686== Lock acquired, processing the job... [2025-03-20 12:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:13:02] Production.INFO: neon service started [2025-03-20 12:13:02] Production.INFO: neon service started [2025-03-20 12:13:02] Production.INFO: ==30686== Releasing lock... [2025-03-20 12:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:13:02] Production.INFO: ==30688== Lock acquired, processing the job... [2025-03-20 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:13:02] Production.INFO: ==30688== Releasing lock... [2025-03-20 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:13:02] Production.INFO: ==30690== Lock acquired, processing the job... [2025-03-20 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:13:02] Production.INFO: ==30690== Releasing lock... [2025-03-20 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:13:03] Production.INFO: ==30698== Lock acquired, processing the job... [2025-03-20 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:13:03] Production.INFO: Account Balance Start. [2025-03-20 08:13:03] Production.INFO: CreateAllLog Start [2025-03-20 08:13:03] Production.INFO: 117 [2025-03-20 08:13:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:13:04] Production.INFO: Total Charge 0 [2025-03-20 08:13:04] Production.INFO: ==30692== Lock acquired, processing the job... [2025-03-20 08:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:13:04] Production.INFO: CreateAllLog End [2025-03-20 08:13:04] Production.INFO: ==30694== Lock acquired, processing the job... [2025-03-20 08:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:13:04] Production.INFO: ==30696== Lock acquired, processing the job... [2025-03-20 08:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:13:04] Production.INFO: Account Balance End. [2025-03-20 08:13:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:13:04] Production.INFO: ==30698== Releasing lock... [2025-03-20 08:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:13:04] Production.INFO: ==30700== Lock acquired, processing the job... [2025-03-20 08:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:13:04] Production.INFO: ==30702== Lock acquired, processing the job... [2025-03-20 08:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08: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-03-20 08:13:04] Production.INFO: count ==12 [2025-03-20 08:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:13:04] Production.INFO: ==30694== Releasing lock... [2025-03-20 08:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:13:04] Production.INFO: count ==23 [2025-03-20 08:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721539') start [2025-03-20 08:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721539') end [2025-03-20 08:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:13:04] Production.INFO: 1 [2025-03-20 08:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:13:04] Production.INFO: ==30702== Releasing lock... [2025-03-20 08:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:13:04] Production.ERROR: done [2025-03-20 08:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:13:05] Production.ERROR: done [2025-03-20 08:13:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:13:06 [end_date_ymd] => 2025-03-20 08:13:06 [RateCDR] => 1 ) [2025-03-20 08: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-03-20 05:13:06' and `end` < '2025-03-20 08: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-03-20 08:13:12] Production.ERROR: CronJobId end10 [2025-03-20 08:13:12] Production.INFO: ==30696== Releasing lock... [2025-03-20 08:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:13:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:13:15] Production.INFO: call_cost start [2025-03-20 08:13:15] Production.INFO: call_cost end [2025-03-20 08:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:13:16] Production.INFO: ==30692== Releasing lock... [2025-03-20 08:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:13:18] Production.INFO: count ==169 [2025-03-20 08:13:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:13:06 - End Time 2025-03-20 08:13:06 [2025-03-20 08:13:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721540', 'tblTempUsageDetail_20' ) start [2025-03-20 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721540', 'tblTempUsageDetail_20' ) end [2025-03-20 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721540', 'tblTempVendorCDR_20' ) start [2025-03-20 08:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721540', 'tblTempVendorCDR_20' ) end [2025-03-20 08:13:18] Production.INFO: ProcessCDR(1,14721540,1,1,2) [2025-03-20 08:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721540,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721540,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721540', 'tblTempUsageDetail_20' ) start [2025-03-20 08:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721540', 'tblTempUsageDetail_20' ) end [2025-03-20 08:13:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:13:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:13:22] Production.INFO: ==30700== Releasing lock... [2025-03-20 08:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:13:22] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 12:14:01] Production.INFO: ==30772== Lock acquired, processing the job... [2025-03-20 12:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:14:01] Production.INFO: neon service started [2025-03-20 12:14:01] Production.INFO: neon service started [2025-03-20 12:14:01] Production.INFO: ==30772== Releasing lock... [2025-03-20 12:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:14:02] Production.INFO: ==30774== Lock acquired, processing the job... [2025-03-20 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:14:02] Production.INFO: ==30774== Releasing lock... [2025-03-20 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:14:02] Production.INFO: ==30776== Lock acquired, processing the job... [2025-03-20 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:14:02] Production.INFO: ==30776== Releasing lock... [2025-03-20 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:14:03] Production.INFO: ==30781== Lock acquired, processing the job... [2025-03-20 08:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:14:03] Production.INFO: ==30778== Lock acquired, processing the job... [2025-03-20 08:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:14:03] Production.INFO: ==30783== Lock acquired, processing the job... [2025-03-20 08:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:14:03] Production.INFO: ==30789== Lock acquired, processing the job... [2025-03-20 08:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:14:03] Production.INFO: ==30785== Lock acquired, processing the job... [2025-03-20 08:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:14:03] Production.INFO: ==30787== Lock acquired, processing the job... [2025-03-20 08:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:14:03] Production.INFO: count ==12 [2025-03-20 08:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:14:03] Production.INFO: count ==23 [2025-03-20 08:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721543') start [2025-03-20 08:14:03] Production.INFO: Account Balance Start. [2025-03-20 08:14:03] Production.INFO: CreateAllLog Start [2025-03-20 08:14:03] Production.INFO: 117 [2025-03-20 08:14:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.INFO: ==30781== Releasing lock... [2025-03-20 08:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721543') end [2025-03-20 08:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:14:04] Production.INFO: 1 [2025-03-20 08:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.INFO: ==30789== Releasing lock... [2025-03-20 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.ERROR: done [2025-03-20 08:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.ERROR: done [2025-03-20 08:14:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:14:04] Production.INFO: Total Charge 0 [2025-03-20 08:14:04] Production.INFO: CreateAllLog End [2025-03-20 08:14:04] Production.INFO: Account Balance End. [2025-03-20 08:14:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:14:04] Production.INFO: ==30785== Releasing lock... [2025-03-20 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:14:05 [end_date_ymd] => 2025-03-20 08:14:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:14:05' and `end` < '2025-03-20 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-03-20 08:14: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-03-20 08:14:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:14:11] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:14:11] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:14:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:14:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:14:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:14:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:14:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:14:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:14:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:14:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:14:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:14:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:14:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:14:12] Production.INFO: call_cost start [2025-03-20 08:14:12] Production.INFO: call_cost end [2025-03-20 08:14:12] Production.ERROR: CronJobId end10 [2025-03-20 08:14:12] Production.INFO: ==30783== Releasing lock... [2025-03-20 08:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:14:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:14:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:14:13] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:14:13] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:14:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:14:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:14:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:14:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:14:13] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:14:13] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:14:13] Production.INFO: ==30778== Releasing lock... [2025-03-20 08:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:14:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:14:17] Production.INFO: count ==174 [2025-03-20 08:14:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:14:05 - End Time 2025-03-20 08:14:05 [2025-03-20 08:14:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721545', 'tblTempUsageDetail_20' ) start [2025-03-20 08:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721545', 'tblTempUsageDetail_20' ) end [2025-03-20 08:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721545', 'tblTempVendorCDR_20' ) start [2025-03-20 08:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721545', 'tblTempVendorCDR_20' ) end [2025-03-20 08:14:17] Production.INFO: ProcessCDR(1,14721545,1,1,2) [2025-03-20 08:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721545', 'tblTempUsageDetail_20' ) start [2025-03-20 08:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721545', 'tblTempUsageDetail_20' ) end [2025-03-20 08:14:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:14:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:14:21] Production.INFO: ==30787== Releasing lock... [2025-03-20 08:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:14:21] Production.INFO: 29.75 MB #Memory Used# [2025-03-20 12:15:02] Production.INFO: ==30872== Lock acquired, processing the job... [2025-03-20 12:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:15:02] Production.INFO: neon service started [2025-03-20 12:15:02] Production.INFO: neon service started [2025-03-20 12:15:02] Production.INFO: ==30872== Releasing lock... [2025-03-20 12:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:15:02] Production.INFO: ==30875== Lock acquired, processing the job... [2025-03-20 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:15:02] Production.INFO: ==30875== Releasing lock... [2025-03-20 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:15:03] Production.INFO: ==30877== Lock acquired, processing the job... [2025-03-20 12:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:15:03] Production.INFO: ==30877== Releasing lock... [2025-03-20 12:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:15:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:15:03] Production.INFO: ==30881== Lock acquired, processing the job... [2025-03-20 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:15:03] Production.INFO: ==30879== Lock acquired, processing the job... [2025-03-20 08:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:15:03] Production.INFO: ==30885== Lock acquired, processing the job... [2025-03-20 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:15:03] Production.INFO: Account Balance Start. [2025-03-20 08:15:03] Production.INFO: CreateAllLog Start [2025-03-20 08:15:03] Production.INFO: 117 [2025-03-20 08:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:04] Production.INFO: ==30881== Releasing lock... [2025-03-20 08:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:04] Production.INFO: ==30883== Lock acquired, processing the job... [2025-03-20 08:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:15:04] Production.INFO: ==30889== Lock acquired, processing the job... [2025-03-20 08:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:04] Production.INFO: ==30887== Lock acquired, processing the job... [2025-03-20 08:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 08: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-03-20 08:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:15:04] Production.INFO: Total Charge 0 [2025-03-20 08:15:04] Production.INFO: count ==12 [2025-03-20 08:15:04] Production.INFO: CreateAllLog End [2025-03-20 08:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:15:04] Production.INFO: count ==23 [2025-03-20 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721549') start [2025-03-20 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721549') end [2025-03-20 08:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:15:04] Production.INFO: 1 [2025-03-20 08:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:15:04] Production.ERROR: done [2025-03-20 08:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:15:04] Production.INFO: ==30889== Releasing lock... [2025-03-20 08:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:15:04] Production.INFO: Account Balance End. [2025-03-20 08:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:15:04] Production.INFO: ==30885== Releasing lock... [2025-03-20 08:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:15:04] Production.ERROR: done [2025-03-20 08:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:15:05 [end_date_ymd] => 2025-03-20 08:15:05 [RateCDR] => 1 ) [2025-03-20 08:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:15:05' and `end` < '2025-03-20 08:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:15:13] Production.ERROR: CronJobId end10 [2025-03-20 08:15:13] Production.INFO: ==30883== Releasing lock... [2025-03-20 08:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:15:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:15:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:15:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:15:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:15:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:15:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:15:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:15:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:15:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:15:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:15:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:15:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:15:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:15:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:15:15] Production.INFO: call_cost start [2025-03-20 08:15:15] Production.INFO: call_cost end [2025-03-20 08:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:15:16] Production.INFO: ==30879== Releasing lock... [2025-03-20 08:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:15:18] Production.INFO: count ==181 [2025-03-20 08:15:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:15:05 - End Time 2025-03-20 08:15:05 [2025-03-20 08:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721550', 'tblTempUsageDetail_20' ) start [2025-03-20 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721550', 'tblTempUsageDetail_20' ) end [2025-03-20 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721550', 'tblTempVendorCDR_20' ) start [2025-03-20 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721550', 'tblTempVendorCDR_20' ) end [2025-03-20 08:15:18] Production.INFO: ProcessCDR(1,14721550,1,1,2) [2025-03-20 08:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721550', 'tblTempUsageDetail_20' ) start [2025-03-20 08:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721550', 'tblTempUsageDetail_20' ) end [2025-03-20 08:15:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:15:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:15:23] Production.INFO: ==30887== Releasing lock... [2025-03-20 08:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:15:23] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 12:16:01] Production.INFO: ==30960== Lock acquired, processing the job... [2025-03-20 12:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:16:01] Production.INFO: neon service started [2025-03-20 12:16:01] Production.INFO: neon service started [2025-03-20 12:16:01] Production.INFO: ==30960== Releasing lock... [2025-03-20 12:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:16:02] Production.INFO: ==30962== Lock acquired, processing the job... [2025-03-20 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:16:02] Production.INFO: ==30964== Lock acquired, processing the job... [2025-03-20 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:16:02] Production.INFO: ==30964== Releasing lock... [2025-03-20 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:16:02] Production.INFO: ==30962== Releasing lock... [2025-03-20 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:16:03] Production.INFO: ==30966== Lock acquired, processing the job... [2025-03-20 08:16:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10799 #Starts# [2025-03-20 08:16:03] Production.INFO: -- Xero Api Check -- [2025-03-20 08:16:03] Production.INFO: ==30968== Lock acquired, processing the job... [2025-03-20 08:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:16:03] Production.INFO: ==30970== Lock acquired, processing the job... [2025-03-20 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:16:03] Production.INFO: ==30975== Lock acquired, processing the job... [2025-03-20 08:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:16:03] Production.INFO: ==30973== Lock acquired, processing the job... [2025-03-20 08:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:16:03] Production.INFO: Account Balance Start. [2025-03-20 08:16:03] Production.INFO: CreateAllLog Start [2025-03-20 08:16:03] Production.INFO: 117 [2025-03-20 08:16:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:03] Production.INFO: ==30977== Lock acquired, processing the job... [2025-03-20 08:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:16:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:16:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:16:03] Production.INFO: ==30970== Releasing lock... [2025-03-20 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:16:03] Production.INFO: ==30979== Lock acquired, processing the job... [2025-03-20 08:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:16:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:04] Production.INFO: count ==12 [2025-03-20 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-03-20 08:16:04] Production.INFO: count ==23 [2025-03-20 08:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721554') start [2025-03-20 08:16:04] Production.ERROR: done [2025-03-20 08:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721554') end [2025-03-20 08:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:16:04] Production.INFO: 1 [2025-03-20 08:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:16:04] Production.INFO: Total Charge 0 [2025-03-20 08:16:04] Production.INFO: CreateAllLog End [2025-03-20 08:16:04] Production.INFO: ==30979== Releasing lock... [2025-03-20 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:16:04] Production.ERROR: done [2025-03-20 08: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] => 1.200272 [namelookup_time] => 0.554979 [connect_time] => 0.63191 [pretransfer_time] => 0.993421 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2295 [speed_upload] => 68 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.200204 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.50 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 37332 ) [2025-03-20 08:16:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzI5NjQsImV4cCI6MTc0MjQ3MzI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDcyOTY0LCJhdF9oYXNoIjoiTTlYZUN6MEFZVEt1UzROSHZPV1VoUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.NPZ9dDxBFQvq6EL1XESa0RoMNSC3DrCsyzZPocpH3yL2iLUOiapWpgpo8UpDWwFchKRLaw_CGEF9YMjf8m4Dww8d_ZmmOmH_yXw74TqWpDz0oaiuPyDxdQVoKYuTRXgB_-c_bireesO04gJVM4iA4idE8iu9Sa9C26faIA9BQP6i7qQ2oPv6rwDJ-3aLBoayb9GicmswSshngBZZrfpKMOuastPQ-bkNnayDrNorK5ucBZA5nufQlTbA4Ya0ogjR33NcbxQUogPr6_m5cP14RDivpVb-BIa-C_iWUDwhZGgiguTwYVTH9Cfdncs7MxG395BeE7-9-VWuql9_ACVdEA [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzI5NjQsImV4cCI6MTc0MjQ3NDc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ZKaTCErAMVz27-AUAOrkzNjlg7mT1mWUeptbg8pYli0LpnU5BpI3HmTuOgEYeffhKFhtLsYtGauNuhqtsbGYTduRKdFBtMzkFWqIhvdyZX7GU8sEEXlLKMzJnZzvYiFQ9nZjWnaT1z_5z7MDx9qubYirDd0FfhwMxsqpFz-7BvQj3RFDKullEXxxgpZbncGMaj_NwIwGEYyNh6LV6_B9QTJUNJDS208bvdLRKhqqyi8YfljDFau3wNKh2erGG9a6IgUxPormzboGBbUirVVGlQe7gRixhnJ807Hzr9NPHgdjd9Qhs8t-QFlZLqwPCyckppLrjhUF2J_URX7UoZA_6g [expires_in] => 1800 [token_type] => Bearer [refresh_token] => zn5OqUu263GU_Sw3oDY8vZmIQK2wQC_W09Ym3FUcsA8 [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 08:16:04] Production.INFO: Account Balance End. [2025-03-20 08:16:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzI5NjQsImV4cCI6MTc0MjQ3MzI2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDcyOTY0LCJhdF9oYXNoIjoiTTlYZUN6MEFZVEt1UzROSHZPV1VoUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.NPZ9dDxBFQvq6EL1XESa0RoMNSC3DrCsyzZPocpH3yL2iLUOiapWpgpo8UpDWwFchKRLaw_CGEF9YMjf8m4Dww8d_ZmmOmH_yXw74TqWpDz0oaiuPyDxdQVoKYuTRXgB_-c_bireesO04gJVM4iA4idE8iu9Sa9C26faIA9BQP6i7qQ2oPv6rwDJ-3aLBoayb9GicmswSshngBZZrfpKMOuastPQ-bkNnayDrNorK5ucBZA5nufQlTbA4Ya0ogjR33NcbxQUogPr6_m5cP14RDivpVb-BIa-C_iWUDwhZGgiguTwYVTH9Cfdncs7MxG395BeE7-9-VWuql9_ACVdEA [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzI5NjQsImV4cCI6MTc0MjQ3NDc2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.ZKaTCErAMVz27-AUAOrkzNjlg7mT1mWUeptbg8pYli0LpnU5BpI3HmTuOgEYeffhKFhtLsYtGauNuhqtsbGYTduRKdFBtMzkFWqIhvdyZX7GU8sEEXlLKMzJnZzvYiFQ9nZjWnaT1z_5z7MDx9qubYirDd0FfhwMxsqpFz-7BvQj3RFDKullEXxxgpZbncGMaj_NwIwGEYyNh6LV6_B9QTJUNJDS208bvdLRKhqqyi8YfljDFau3wNKh2erGG9a6IgUxPormzboGBbUirVVGlQe7gRixhnJ807Hzr9NPHgdjd9Qhs8t-QFlZLqwPCyckppLrjhUF2J_URX7UoZA_6g [expires_in] => 1800 [token_type] => Bearer [refresh_token] => zn5OqUu263GU_Sw3oDY8vZmIQK2wQC_W09Ym3FUcsA8 [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 08:16:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:16:04] Production.INFO: ==30975== Releasing lock... [2025-03-20 08:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:16:04] Production.INFO: AccountID 4 [2025-03-20 08:16:04] Production.INFO: AccountName UNIGLOBE Canada [2025-03-20 08:16:04] Production.INFO: Checkcustomer [2025-03-20 08:16:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-03-20 08:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:16:05 [end_date_ymd] => 2025-03-20 08:16:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:16:05' and `end` < '2025-03-20 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-03-20 08:16:07] Production.INFO: Contact id print CheckCustomer Case===d965b2fe-ffb5-4359-bc08-f6a098234349 [2025-03-20 08:16:07] Production.INFO: -- count --1 [2025-03-20 08:16:07] Production.INFO: AccountID 158 [2025-03-20 08:16:07] Production.INFO: AccountName Dominos 39102 (Muzafar Ahmad) [2025-03-20 08:16:07] Production.INFO: Checkcustomer [2025-03-20 08:16:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29" [2025-03-20 08:16:10] Production.INFO: Contact id print CheckCustomer Case===749cea7f-cdd5-4ee1-9755-990afa6667fb [2025-03-20 08:16:10] Production.INFO: -- count --1 [2025-03-20 08:16:10] Production.INFO: AccountID 149 [2025-03-20 08:16:10] Production.INFO: AccountName Dominos 10471 (Ken Hoose) [2025-03-20 08:16:10] Production.INFO: Checkcustomer [2025-03-20 08:16:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29" [2025-03-20 08:16:12] Production.ERROR: CronJobId end10 [2025-03-20 08:16:12] Production.INFO: ==30973== Releasing lock... [2025-03-20 08:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:16:13] Production.INFO: Contact id print CheckCustomer Case===035db9cd-92a8-4776-bb57-e5a70cdb3e03 [2025-03-20 08:16:13] Production.INFO: -- count --1 [2025-03-20 08:16:13] Production.INFO: AccountID 1 [2025-03-20 08:16:13] Production.INFO: AccountName OnSwitch Inc. [2025-03-20 08:16:13] Production.INFO: Checkcustomer [2025-03-20 08:16:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="OnSwitch%20Inc." [2025-03-20 08:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:16:14] Production.INFO: call_cost start [2025-03-20 08:16:14] Production.INFO: call_cost end [2025-03-20 08:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:16:15] Production.INFO: ==30968== Releasing lock... [2025-03-20 08:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:16:16] Production.INFO: Contact id print CheckCustomer Case===58c0a22c-96df-434a-9fdd-d2d00307341d [2025-03-20 08:16:16] Production.INFO: -- count --1 [2025-03-20 08:16:16] Production.INFO: AccountID 190 [2025-03-20 08:16:16] Production.INFO: AccountName Behrns Metal Fabricating Inc [2025-03-20 08:16:16] Production.INFO: Checkcustomer [2025-03-20 08:16:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-03-20 08:16:17] Production.INFO: count ==181 [2025-03-20 08:16:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:16:05 - End Time 2025-03-20 08:16:05 [2025-03-20 08:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721555', 'tblTempUsageDetail_20' ) start [2025-03-20 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721555', 'tblTempUsageDetail_20' ) end [2025-03-20 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721555', 'tblTempVendorCDR_20' ) start [2025-03-20 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721555', 'tblTempVendorCDR_20' ) end [2025-03-20 08:16:18] Production.INFO: ProcessCDR(1,14721555,1,1,2) [2025-03-20 08:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:16:19] Production.INFO: Contact id print CheckCustomer Case===b5208613-a884-49ac-9417-cb8891a7008b [2025-03-20 08:16:19] Production.INFO: -- count --1 [2025-03-20 08:16:19] Production.INFO: AccountID 50 [2025-03-20 08:16:19] Production.INFO: AccountName J. Randall Graham, CPA [2025-03-20 08:16:19] Production.INFO: Checkcustomer [2025-03-20 08:16:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="J.%20Randall%20Graham%2C%20CPA" [2025-03-20 08:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721555', 'tblTempUsageDetail_20' ) start [2025-03-20 08:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721555', 'tblTempUsageDetail_20' ) end [2025-03-20 08:16:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:16:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:16:21] Production.INFO: ==30977== Releasing lock... [2025-03-20 08:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:16:21] Production.INFO: 29.5 MB #Memory Used# [2025-03-20 08:16:22] Production.INFO: Contact id print CheckCustomer Case===7aa12a04-66d6-4e6f-ae1b-86427d18b26f [2025-03-20 08:16:22] Production.INFO: -- count --1 [2025-03-20 08:16:22] Production.INFO: AccountID 219 [2025-03-20 08:16:22] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:16:22] Production.INFO: Checkcustomer [2025-03-20 08:16:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:16:24] Production.INFO: -- count --0 [2025-03-20 08:16:27] Production.INFO: ==== Contact Information 1 [2025-03-20 08:16:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:16:30] Production.INFO: ContactID 49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:16:30] Production.INFO: -- Create Customer id --49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:16:30] Production.INFO: -- Create Customer name --test customer [2025-03-20 08:16:30] Production.INFO: AccountID 251 [2025-03-20 08:16:30] Production.INFO: AccountName CopperTree Solutions [2025-03-20 08:16:30] Production.INFO: Checkcustomer [2025-03-20 08:16:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CopperTree%20Solutions" [2025-03-20 08:16:33] Production.INFO: -- count --0 [2025-03-20 08:16:35] Production.INFO: ==== Contact Information 1 [2025-03-20 08:16:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CopperTree%20Solutions" [2025-03-20 08:16:38] Production.INFO: ContactID 5b032d6b-da73-4d79-a723-58e72d272fdb [2025-03-20 08:16:38] Production.INFO: -- Create Customer id --5b032d6b-da73-4d79-a723-58e72d272fdb [2025-03-20 08:16:38] Production.INFO: -- Create Customer name --test customer [2025-03-20 08:16:38] Production.INFO: AccountID 254 [2025-03-20 08:16:38] Production.INFO: AccountName Robson Carpenter LLP [2025-03-20 08:16:38] Production.INFO: Checkcustomer [2025-03-20 08:16:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 08:16:41] Production.INFO: Contact id print CheckCustomer Case===026264ad-30db-4a13-9750-7dee8e32341c [2025-03-20 08:16:41] Production.INFO: -- count --1 [2025-03-20 08:16:41] Production.INFO: AccountID 156 [2025-03-20 08:16:41] Production.INFO: AccountName Dominos 10583 (William Prichard) [2025-03-20 08:16:41] Production.INFO: Checkcustomer [2025-03-20 08:16:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010583%20%28William%20Prichard%29" [2025-03-20 08:16:44] Production.INFO: Contact id print CheckCustomer Case===17005aca-7cf0-4aa4-ac3f-3f8f1c2c61ea [2025-03-20 08:16:44] Production.INFO: -- count --1 [2025-03-20 08:16:44] Production.INFO: AccountID 194 [2025-03-20 08:16:44] Production.INFO: AccountName Telco Steel Works [2025-03-20 08:16:44] Production.INFO: Checkcustomer [2025-03-20 08:16:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Telco%20Steel%20Works" [2025-03-20 08:16:47] Production.INFO: Contact id print CheckCustomer Case===ce77076d-4a3e-4b85-a7f2-c24523d8b78b [2025-03-20 08:16:47] Production.INFO: -- count --1 [2025-03-20 08:16:47] Production.INFO: AccountID 150 [2025-03-20 08:16:47] Production.INFO: AccountName Dominos 10581 (Ken Hoose) [2025-03-20 08:16:47] Production.INFO: Checkcustomer [2025-03-20 08:16:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29" [2025-03-20 08:16:50] Production.INFO: Contact id print CheckCustomer Case===07c709b0-937e-40e5-a0d5-b08ea9074e65 [2025-03-20 08:16:50] Production.INFO: -- count --1 [2025-03-20 08:16:50] Production.INFO: AccountID 208 [2025-03-20 08:16:50] Production.INFO: AccountName Lions Auto Protection [2025-03-20 08:16:50] Production.INFO: Checkcustomer [2025-03-20 08:16:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 08:16:53] Production.INFO: Contact id print CheckCustomer Case===173facd8-68c9-4e18-bac1-f10f211f33e1 [2025-03-20 08:16:53] Production.INFO: -- count --1 [2025-03-20 08:16:53] Production.INFO: AccountID 190 [2025-03-20 08:16:53] Production.INFO: AccountName Behrns Metal Fabricating Inc [2025-03-20 08:16:53] Production.INFO: Checkcustomer [2025-03-20 08:16:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-03-20 08:16:55] Production.INFO: Contact id print CheckCustomer Case===b5208613-a884-49ac-9417-cb8891a7008b [2025-03-20 08:16:55] Production.INFO: -- count --1 [2025-03-20 08:16:55] Production.INFO: AccountID 219 [2025-03-20 08:16:55] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:16:55] Production.INFO: Checkcustomer [2025-03-20 08:16:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:16:58] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:16:58] Production.INFO: -- count --1 [2025-03-20 08:16:58] Production.INFO: AccountID 194 [2025-03-20 08:16:58] Production.INFO: AccountName Telco Steel Works [2025-03-20 08:16:58] Production.INFO: Checkcustomer [2025-03-20 08:16:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Telco%20Steel%20Works" [2025-03-20 08:17:01] Production.INFO: Contact id print CheckCustomer Case===ce77076d-4a3e-4b85-a7f2-c24523d8b78b [2025-03-20 08:17:01] Production.INFO: -- count --1 [2025-03-20 08:17:01] Production.INFO: AccountID 219 [2025-03-20 08:17:01] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:17:01] Production.INFO: Checkcustomer [2025-03-20 08:17:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 12:17:02] Production.INFO: ==31063== Lock acquired, processing the job... [2025-03-20 12:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:17:02] Production.INFO: neon service started [2025-03-20 12:17:02] Production.INFO: neon service started [2025-03-20 12:17:02] Production.INFO: ==31063== Releasing lock... [2025-03-20 12:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:17:02] Production.INFO: ==31065== Lock acquired, processing the job... [2025-03-20 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:17:02] Production.INFO: ==31065== Releasing lock... [2025-03-20 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:17:02] Production.INFO: ==31067== Lock acquired, processing the job... [2025-03-20 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:17:03] Production.INFO: ==31067== Releasing lock... [2025-03-20 12:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:17:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:17:03] Production.INFO: ==31072== Lock acquired, processing the job... [2025-03-20 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:17:03] Production.INFO: ==31070== Lock acquired, processing the job... [2025-03-20 08:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:17:03] Production.INFO: ==31080== Lock acquired, processing the job... [2025-03-20 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:17:04] Production.INFO: count ==12 [2025-03-20 08:17:04] Production.INFO: ==31074== Lock acquired, processing the job... [2025-03-20 08:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:17:04] Production.INFO: count ==23 [2025-03-20 08:17:04] Production.INFO: ==31072== Releasing lock... [2025-03-20 08:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721557') start [2025-03-20 08:17:04] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:17:04] Production.INFO: -- count --1 [2025-03-20 08:17:04] Production.INFO: AccountID 242 [2025-03-20 08:17:04] Production.INFO: AccountName Ball Construction [2025-03-20 08:17:04] Production.INFO: Checkcustomer [2025-03-20 08:17:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-03-20 08:17:04] Production.INFO: ==31076== Lock acquired, processing the job... [2025-03-20 08:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721557') end [2025-03-20 08:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:17:04] Production.INFO: 1 [2025-03-20 08:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:17:04] Production.INFO: ==31078== Lock acquired, processing the job... [2025-03-20 08:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:17:04] Production.INFO: Account Balance Start. [2025-03-20 08:17:04] Production.INFO: CreateAllLog Start [2025-03-20 08:17:04] Production.INFO: 117 [2025-03-20 08:17:04] Production.INFO: ==31080== Releasing lock... [2025-03-20 08:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:17:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:17:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:04] Production.ERROR: done [2025-03-20 08:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:17:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:04] Production.ERROR: done [2025-03-20 08:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:05] Production.INFO: Date 2025-03-18 [2025-03-20 08:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:05] Production.INFO: Date 2025-03-19 [2025-03-20 08:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:05] Production.INFO: Date 2025-03-20 [2025-03-20 08:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:17:05] Production.INFO: Total Charge 0 [2025-03-20 08:17:05] Production.INFO: CreateAllLog End [2025-03-20 08:17:05] Production.INFO: Account Balance End. [2025-03-20 08:17:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:17:05] Production.INFO: ==31076== Releasing lock... [2025-03-20 08:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:17:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:17:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:17:06 [end_date_ymd] => 2025-03-20 08:17:06 [RateCDR] => 1 ) [2025-03-20 08: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-03-20 05:17:06' and `end` < '2025-03-20 08: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-03-20 08:17:07] Production.INFO: Contact id print CheckCustomer Case===b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798 [2025-03-20 08:17:07] Production.INFO: -- count --1 [2025-03-20 08:17:07] Production.INFO: AccountID 219 [2025-03-20 08:17:07] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:17:07] Production.INFO: Checkcustomer [2025-03-20 08:17:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:17:10] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:17:10] Production.INFO: -- count --1 [2025-03-20 08:17:10] Production.INFO: AccountID 193 [2025-03-20 08:17:10] Production.INFO: AccountName Plaza Auto Group [2025-03-20 08:17:10] Production.INFO: Checkcustomer [2025-03-20 08:17:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group" [2025-03-20 08:17:12] Production.ERROR: CronJobId end10 [2025-03-20 08:17:12] Production.INFO: ==31074== Releasing lock... [2025-03-20 08:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:17:13] Production.INFO: Contact id print CheckCustomer Case===6b58ee01-f67a-4205-8873-1c91dd58d79c [2025-03-20 08:17:13] Production.INFO: -- count --1 [2025-03-20 08:17:13] Production.INFO: AccountID 219 [2025-03-20 08:17:13] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:17:13] Production.INFO: Checkcustomer [2025-03-20 08:17:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:17:15] Production.INFO: call_cost start [2025-03-20 08:17:15] Production.INFO: call_cost end [2025-03-20 08:17:15] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:17:15] Production.INFO: -- count --1 [2025-03-20 08:17:15] Production.INFO: AccountID 219 [2025-03-20 08:17:15] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:17:15] Production.INFO: Checkcustomer [2025-03-20 08:17:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:17:16] Production.INFO: ==31070== Releasing lock... [2025-03-20 08:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:17:18] Production.INFO: count ==189 [2025-03-20 08:17:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:17:06 - End Time 2025-03-20 08:17:06 [2025-03-20 08:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721560', 'tblTempUsageDetail_20' ) start [2025-03-20 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721560', 'tblTempUsageDetail_20' ) end [2025-03-20 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721560', 'tblTempVendorCDR_20' ) start [2025-03-20 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721560', 'tblTempVendorCDR_20' ) end [2025-03-20 08:17:18] Production.INFO: ProcessCDR(1,14721560,1,1,2) [2025-03-20 08:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:17:18] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:17:18] Production.INFO: -- count --1 [2025-03-20 08:17:18] Production.INFO: AccountID 39 [2025-03-20 08:17:18] Production.INFO: AccountName Riavera [2025-03-20 08:17:18] Production.INFO: Checkcustomer [2025-03-20 08:17:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-03-20 08:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:17:21] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09 [2025-03-20 08:17:21] Production.INFO: -- count --1 [2025-03-20 08:17:21] Production.INFO: AccountID 39 [2025-03-20 08:17:21] Production.INFO: AccountName Riavera [2025-03-20 08:17:21] Production.INFO: Checkcustomer [2025-03-20 08:17:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-03-20 08:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721560', 'tblTempUsageDetail_20' ) start [2025-03-20 08:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721560', 'tblTempUsageDetail_20' ) end [2025-03-20 08:17:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:17:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:17:23] Production.INFO: ==31078== Releasing lock... [2025-03-20 08:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:17:23] Production.INFO: 30.25 MB #Memory Used# [2025-03-20 08:17:24] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09 [2025-03-20 08:17:24] Production.INFO: -- count --1 [2025-03-20 08:17:24] Production.INFO: -- Xero Add Inovice -- [2025-03-20 08:17:24] Production.INFO: CheckInvoice xerov2: INV50014 [2025-03-20 08:17:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50014 [2025-03-20 08:17:27] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:17:27] Production.INFO: Invoice SubTotal 706.410000 [2025-03-20 08:17:27] Production.INFO: Invoice DetTotal 706.41 [2025-03-20 08:17:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="UNIGLOBE%20Canada" [2025-03-20 08:17:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:17:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:17:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:17:39] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 27-12-2024 To 26-01-2025",Quantity : 1,UnitAmount : 2.900000,LineAmount : 2.900000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 8,UnitAmount : 7.000000,LineAmount : 56.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (19056714497 - UNIGLOBE TRAVEL 89 SKYWAY AVE STE 109 TORONTO, ON M9W6R4)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 303,DiscountRate : 0.000000,"Description": "Loyalty Discount - $20 off per month, no expiry date",Quantity : 1,UnitAmount : -20.000000,LineAmount : -20.000000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobelexus.com; EXPIRES Mar 3 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobeec.com; EXPIRES Apr 21 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobecbo.com; Renews May 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "ecinfo.ca; EXPIRES May 8 2025",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobemail.com; Renews Jun 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobetrips.com; Renews Jul 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobevoyages.com; Renews Jul 4",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "unigloberegistration.com; Renews Jul 26",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobedorval.com; Renews Jul 26",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobevoyageslexus.com; EXPIRES Aug 1 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobekey.com; Renews Aug 16",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobenews.com; Renews Sep 22",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "cbotravel.com; Renews Nov 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "ucinfo.ca; Renews Jun 21",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobespecialtytravel.com; Renews May 31",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobesunbursttravel.com; Renews May 31",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "uniglobetravel.ca; Renews Mar 01",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywayleisuretravel.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywayleisuretraveller.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 203,"Description": "skywaytraveller.ca; Renews Feb 22",Quantity : 1,UnitAmount : 2.710000,LineAmount : 2.710000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobewc.com; EXPIRES Jul 19 2025",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobecarefreetravel.com; Renews Feb 28",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobekalamalkatravel.com; Renews Apr 25",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobephillips.com; Renews Mar 12 2026",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobephillipstravel.com; Renews Mar 1",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 204,"Description": "uniglobespecialtywhitehorse.com; Renews Oct 9",Quantity : 1,UnitAmount : 2.340000,LineAmount : 2.340000},{taxType:"TAX020",AccountCode : 203,"Description": "Hosting and Maintenance (per domain)",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 10,UnitAmount : 17.000000,LineAmount : 170.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 2,UnitAmount : 3.840000,LineAmount : 7.680000},{taxType:"TAX020",AccountCode : 212,"Description": "Managed Antivirus subscription (yearly pricing, billed monthly)",Quantity : 10,UnitAmount : 1.440000,LineAmount : 14.400000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic Licenses",Quantity : 11,UnitAmount : 8.100000,LineAmount : 89.100000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 8,UnitAmount : 17.000000,LineAmount : 136.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 1,UnitAmount : 3.840000,LineAmount : 3.840000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic Licenses",Quantity : 11,UnitAmount : 8.100000,LineAmount : 89.100000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard Licenses",Quantity : 3,UnitAmount : 17.000000,LineAmount : 51.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Backup for Microsoft 365",Quantity : 1,UnitAmount : 3.840000,LineAmount : 3.840000},{taxType:"TAX020",AccountCode : 203,"Description": "cPanel/SCP access",Quantity : 1,UnitAmount : 9.990000,LineAmount : 9.990000} [2025-03-20 08:17:42] Production.INFO: ==== result ===== [2025-03-20 08:17:42] Production.INFO: { "Id": "8c0cd9bd-f219-45a4-a548-0cf0feaba119", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473062504)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "db4699e6-cb85-49e5-b56f-a56b56eb8a05", "InvoiceNumber": "INV50014", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 798.15, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "d965b2fe-ffb5-4359-bc08-f6a098234349", "ContactStatus": "ACTIVE", "Name": "UNIGLOBE Canada", "FirstName": "Alice", "LastName": "Hildebrandt", "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(1708961195503+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-27T00:00:00", "Date": "\/Date(1737936000000+0000)\/", "DueDateString": "2025-02-26T00:00:00", "DueDate": "\/Date(1740528000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 27-12-2024 To 26-01-2025", "UnitAmount": 2.90, "TaxType": "TAX020", "TaxAmount": 0.38, "LineAmount": 2.90, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1ee4b870-75b2-4bf4-9688-10cd81813338", "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": 7.28, "LineAmount": 56.00, "AccountCode": "203", "Tracking": [], "Quantity": 8.0000, "DiscountRate": 0.00, "LineItemID": "de5f384e-8032-4770-875e-4c29e6698a59", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (19056714497 - UNIGLOBE TRAVEL 89 SKYWAY AVE STE 109 TORONTO, ON M9W6R4)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "be6b8416-bc49-48e2-9e90-db2f8fd6d6d2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Loyalty Discount - $20 off per month, no expiry date", "UnitAmount": -20.00, "TaxType": "TAX020", "TaxAmount": -2.60, "LineAmount": -20.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "98010bbc-5574-45b9-8d88-35a1bbdf780d", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "uniglobelexus.com; EXPIRES Mar 3 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "36b3d919-0777-4be9-a78d-8506daae8a16", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobeec.com; EXPIRES Apr 21 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "99d2156d-7543-40b2-bf9c-aa5242876702", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobecbo.com; Renews May 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e07fc24c-0b78-4638-bfb7-56c07f99bd61", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "ecinfo.ca; EXPIRES May 8 2025", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "f0463780-0c08-498d-8f27-0bfce6d354b4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobemail.com; Renews Jun 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ad6d146d-6ce3-4702-afcc-190bb838e0a7", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobetrips.com; Renews Jul 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "fb4331fc-0e2e-4be6-b9e9-2af42eb92d00", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobevoyages.com; Renews Jul 4", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "18e15ddc-2c15-4a9f-a23d-dc7759c1ceca", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "unigloberegistration.com; Renews Jul 26", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "da735c34-1cbd-4b1a-beaf-495bc389726b", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobedorval.com; Renews Jul 26", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "2ae69745-297d-4340-b011-b266de30ed33", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobevoyageslexus.com; EXPIRES Aug 1 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ef86ea12-8604-41e8-b117-2dfa08eead34", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobekey.com; Renews Aug 16", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "46fc584e-d6df-437d-b82c-f1479257c85f", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobenews.com; Renews Sep 22", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "050a33ba-ee2d-4d40-be00-c6cb2533d2bd", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "cbotravel.com; Renews Nov 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "1b387d3a-7826-44b9-b0cc-8a3e80075b94", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "ucinfo.ca; Renews Jun 21", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "5051a133-fd9b-45eb-8234-4e9af39888f9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobespecialtytravel.com; Renews May 31", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3ad6f539-18cf-4be8-812a-91e79e0ceacf", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobesunbursttravel.com; Renews May 31", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "2101fc00-bbf8-4364-933f-b19d201037a5", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobetravel.ca; Renews Mar 01", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "6b05fc6d-118d-4e87-8c88-b8e9247120a2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywayleisuretravel.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "a88d16f8-54df-4152-bfd4-3186d9a17815", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywayleisuretraveller.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "6260db91-e908-4319-922a-41fbf394a535", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "skywaytraveller.ca; Renews Feb 22", "UnitAmount": 2.71, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.71, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e39c91b2-119a-400b-b953-5102433d14f1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "uniglobewc.com; EXPIRES Jul 19 2025", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c3787082-036a-4f04-9aac-c857d94bd386", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobecarefreetravel.com; Renews Feb 28", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "550c94b0-eb94-4f38-b9a3-adf83c88bcd7", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobekalamalkatravel.com; Renews Apr 25", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "331f0bd3-843b-45aa-bce2-5a7e47bfc74e", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobephillips.com; Renews Mar 12 2026", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0d1b6b18-895b-4180-ae24-4d41731ca7b0", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobephillipstravel.com; Renews Mar 1", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "32c6d738-1465-4a06-b2a6-f625cce8846a", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "uniglobespecialtywhitehorse.com; Renews Oct 9", "UnitAmount": 2.34, "TaxType": "TAX020", "TaxAmount": 0.30, "LineAmount": 2.34, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "86bb1570-8b48-4ba2-bb34-4fccbf25a3ea", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "Hosting and Maintenance (per domain)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "62068296-fed9-4a96-8179-d6d665864419", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 22.10, "LineAmount": 170.00, "AccountCode": "250", "Tracking": [], "Quantity": 10.0000, "LineItemID": "26794691-b61c-4b6f-b3ca-e8ad208984cd", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 1.00, "LineAmount": 7.68, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "92d17e86-ec0e-4f51-904a-0e6e5c59a98f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Antivirus subscription (yearly pricing, billed monthly)", "UnitAmount": 1.44, "TaxType": "TAX020", "TaxAmount": 1.87, "LineAmount": 14.40, "AccountCode": "212", "Tracking": [], "Quantity": 10.0000, "LineItemID": "0b40b44a-395b-4ab1-b3c2-6afdefaba2a2", "AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic Licenses", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 11.58, "LineAmount": 89.10, "AccountCode": "250", "Tracking": [], "Quantity": 11.0000, "LineItemID": "d77c67b8-ccfc-4f1f-89fd-ff5c89da63df", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 17.68, "LineAmount": 136.00, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "ed92a389-abd1-4ff7-b863-60a6a90950ea", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 0.50, "LineAmount": 3.84, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c3c29812-b1ba-43f2-a066-88fd234c9235", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic Licenses", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 11.58, "LineAmount": 89.10, "AccountCode": "250", "Tracking": [], "Quantity": 11.0000, "LineItemID": "9154171a-ff84-48c5-936a-12b829110e5b", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard Licenses", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 6.63, "LineAmount": 51.00, "AccountCode": "250", "Tracking": [], "Quantity": 3.0000, "LineItemID": "b19ccfb5-9731-4fcb-a275-5f25da1750f8", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Backup for Microsoft 365", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 0.50, "LineAmount": 3.84, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "aea94a74-9208-48e0-8dd4-3e9c000f8982", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "cPanel/SCP access", "UnitAmount": 9.99, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 9.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "48658f31-971c-492c-8f1e-0262e4d748ed", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 706.41, "TotalTax": 91.74, "Total": 798.15, "UpdatedDateUTC": "\/Date(1742473062410+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:17:42] Production.INFO: -- Create Invoice id --db4699e6-cb85-49e5-b56f-a56b56eb8a05 [2025-03-20 08:17:42] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:17:42] Production.INFO: CheckInvoice xerov2: INV11420 [2025-03-20 08:17:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11420 [2025-03-20 08:17:45] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:17:45] Production.INFO: Invoice SubTotal 72.500000 [2025-03-20 08:17:45] Production.INFO: Invoice DetTotal 72.5 [2025-03-20 08:17:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039102%20%28Muzafar%20Ahmad%29" [2025-03-20 08:17:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:17:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:17:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:17: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 : 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-03-20 08:18:01] Production.INFO: ==== result ===== [2025-03-20 08:18:01] Production.INFO: { "Id": "28023853-4f2d-4eef-ac31-c6a3ab94895c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473081442)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9fec1ffb-9991-487c-89fa-16102394aba3", "InvoiceNumber": "INV11420", "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": "2025-01-25T00:00:00", "Date": "\/Date(1737763200000+0000)\/", "DueDateString": "2025-02-24T00:00:00", "DueDate": "\/Date(1740355200000+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": "491ff14c-deb5-42a4-949f-cbe533c22510", "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": "37417680-095a-48d7-84ac-66fd59be604d", "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": "cc5b490b-bfdc-47a9-9884-269cbade5fac", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 72.50, "TotalTax": 3.63, "Total": 76.13, "UpdatedDateUTC": "\/Date(1742473081380+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 12:18:01] Production.INFO: ==31163== Lock acquired, processing the job... [2025-03-20 12:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:18:01] Production.INFO: neon service started [2025-03-20 08:18:01] Production.INFO: -- Create Invoice id --9fec1ffb-9991-487c-89fa-16102394aba3 [2025-03-20 08:18:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:18:01] Production.INFO: CheckInvoice xerov2: INV11393 [2025-03-20 08:18:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11393 [2025-03-20 12:18:01] Production.INFO: neon service started [2025-03-20 12:18:01] Production.INFO: ==31163== Releasing lock... [2025-03-20 12:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:18:01] Production.INFO: ==31165== Lock acquired, processing the job... [2025-03-20 08:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:18:02] Production.INFO: ==31165== Releasing lock... [2025-03-20 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:18:02] Production.INFO: ==31167== Lock acquired, processing the job... [2025-03-20 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:18:02] Production.INFO: ==31167== Releasing lock... [2025-03-20 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:18:02] Production.INFO: 26 MB #Memory Used# [2025-03-20 08:18:03] Production.INFO: ==31174== Lock acquired, processing the job... [2025-03-20 08:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:18:03] Production.INFO: ==31170== Lock acquired, processing the job... [2025-03-20 08:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:18:03] Production.INFO: ==31172== Lock acquired, processing the job... [2025-03-20 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:18:03] Production.INFO: ==31180== Lock acquired, processing the job... [2025-03-20 08:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:18:03] Production.INFO: ==31176== Lock acquired, processing the job... [2025-03-20 08:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:18:03] Production.INFO: ==31178== Lock acquired, processing the job... [2025-03-20 08:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:18:03] Production.INFO: Account Balance Start. [2025-03-20 08:18:03] Production.INFO: CreateAllLog Start [2025-03-20 08:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:18:03] Production.INFO: 117 [2025-03-20 08:18:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:03] Production.INFO: count ==12 [2025-03-20 08:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:18:03] Production.INFO: count ==23 [2025-03-20 08:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721564') start [2025-03-20 08:18:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:18:03] Production.INFO: ==31172== Releasing lock... [2025-03-20 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:18:03] Production.ERROR: done [2025-03-20 08:18:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721564') end [2025-03-20 08:18:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:18:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:18:03] Production.INFO: 1 [2025-03-20 08:18:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:03] Production.INFO: ==31180== Releasing lock... [2025-03-20 08:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:18:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:04] Production.ERROR: done [2025-03-20 08:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:18:04] Production.INFO: Total Charge 0 [2025-03-20 08:18:04] Production.INFO: CreateAllLog End [2025-03-20 08:18:04] Production.INFO: Account Balance End. [2025-03-20 08:18:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:18:04] Production.INFO: ==31176== Releasing lock... [2025-03-20 08:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:18:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:18:04] Production.INFO: Invoice SubTotal 67.500000 [2025-03-20 08:18:04] Production.INFO: Invoice DetTotal 67.5 [2025-03-20 08:18:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010471%20%28Ken%20Hoose%29" [2025-03-20 08:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:18:05 [end_date_ymd] => 2025-03-20 08:18:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:18:05' and `end` < '2025-03-20 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-03-20 08:18:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:18:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:18:11] Production.ERROR: CronJobId end10 [2025-03-20 08:18:11] Production.INFO: ==31174== Releasing lock... [2025-03-20 08:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:18:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:18:14] Production.INFO: call_cost start [2025-03-20 08:18:14] Production.INFO: call_cost end [2025-03-20 08:18:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:18:15] Production.INFO: ==31170== Releasing lock... [2025-03-20 08:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:18:16] 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-03-20 08:18:17] Production.INFO: count ==204 [2025-03-20 08:18:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:18:05 - End Time 2025-03-20 08:18:05 [2025-03-20 08:18:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721565', 'tblTempUsageDetail_20' ) start [2025-03-20 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721565', 'tblTempUsageDetail_20' ) end [2025-03-20 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721565', 'tblTempVendorCDR_20' ) start [2025-03-20 08:18:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721565', 'tblTempVendorCDR_20' ) end [2025-03-20 08:18:17] Production.INFO: ProcessCDR(1,14721565,1,1,2) [2025-03-20 08:18:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:18:20] Production.INFO: ==== result ===== [2025-03-20 08:18:20] Production.INFO: { "Id": "11e8d83b-f63c-4766-aa9f-d981aed86f99", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473100330)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "7796fea6-d8be-4b33-ba1d-94973c47d1c9", "InvoiceNumber": "INV11393", "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": "2025-01-18T00:00:00", "Date": "\/Date(1737158400000+0000)\/", "DueDateString": "2025-02-17T00:00:00", "DueDate": "\/Date(1739750400000+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": "372dd132-e764-42a4-adb0-cfd4ae8032b9", "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": "22b20cbb-a739-42a7-b6ca-1389101e5833", "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": "81336841-73f3-48d4-8cfd-e45478a4646b", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1742473100267+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:18:20] Production.INFO: -- Create Invoice id --7796fea6-d8be-4b33-ba1d-94973c47d1c9 [2025-03-20 08:18:20] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:18:20] Production.INFO: CheckInvoice xerov2: AB20250114 [2025-03-20 08:18:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=AB20250114 [2025-03-20 08:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721565', 'tblTempUsageDetail_20' ) start [2025-03-20 08:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721565', 'tblTempUsageDetail_20' ) end [2025-03-20 08:18:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:18:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:18:22] Production.INFO: ==31178== Releasing lock... [2025-03-20 08:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:18:22] Production.INFO: 30 MB #Memory Used# [2025-03-20 08:18:23] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:18:23] Production.INFO: Invoice SubTotal 365.000000 [2025-03-20 08:18:23] Production.INFO: Invoice DetTotal 365 [2025-03-20 08:18:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="OnSwitch%20Inc." [2025-03-20 08:18:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:18:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:18:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:18:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Lenovo ThinkPad/I7/8TH/16/256/W10P",Quantity : 1,UnitAmount : 365.000000,LineAmount : 365.000000} [2025-03-20 08:18:37] Production.INFO: ==== result ===== [2025-03-20 08:18:37] Production.INFO: { "Id": "1f7bea09-eed1-4dab-936b-69d7a18d9c9b", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473117705)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a18aa2af-f907-4728-934c-ee094749acd6", "InvoiceNumber": "AB20250114", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 412.45, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "58c0a22c-96df-434a-9fdd-d2d00307341d", "ContactStatus": "ACTIVE", "Name": "OnSwitch Inc.", "FirstName": "Jessica", "LastName": "Holdcroft", "EmailAddress": "jessica@onswitchit.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "PO Box 25058", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Keswick", "Region": "ON", "PostalCode": "L4P 4C2", "Country": "Canada", "AttentionTo": "Jessica Holdcroft" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(289) 4701289", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "2894701289", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1487615948263+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-14T00:00:00", "Date": "\/Date(1736812800000+0000)\/", "DueDateString": "2025-02-13T00:00:00", "DueDate": "\/Date(1739404800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Lenovo ThinkPad/I7/8TH/16/256/W10P", "UnitAmount": 365.00, "TaxType": "TAX020", "TaxAmount": 47.45, "LineAmount": 365.00, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a4d21e04-80b4-4f36-a385-aa3f5406f646", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 365.00, "TotalTax": 47.45, "Total": 412.45, "UpdatedDateUTC": "\/Date(1742473117660+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:18:37] Production.INFO: -- Create Invoice id --a18aa2af-f907-4728-934c-ee094749acd6 [2025-03-20 08:18:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:18:37] Production.INFO: CheckInvoice xerov2: INV11365 [2025-03-20 08:18:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11365 [2025-03-20 08:18:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:18:40] Production.INFO: Invoice SubTotal 77.440000 [2025-03-20 08:18:40] Production.INFO: Invoice DetTotal 77.44 [2025-03-20 08:18:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-03-20 08:18:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:18:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:18:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:18:51] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-13-2024 To 01-12-2025",Quantity : 1,UnitAmount : 2.940000,LineAmount : 2.940000},{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-03-20 08:18:54] Production.INFO: ==== result ===== [2025-03-20 08:18:54] Production.INFO: { "Id": "4c5767b0-0ed3-484f-978a-df32f547b7a5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473134575)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "20b592d0-ff97-4434-80f8-45bb3021e2bc", "InvoiceNumber": "INV11365", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.51, "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": "2025-01-13T00:00:00", "Date": "\/Date(1736726400000+0000)\/", "DueDateString": "2025-02-12T00:00:00", "DueDate": "\/Date(1739318400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-13-2024 To 01-12-2025", "UnitAmount": 2.94, "TaxType": "TAX020", "TaxAmount": 0.38, "LineAmount": 2.94, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "14a47218-5703-48dd-8aa7-aae603d3f8be", "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": "fc510b79-dd9e-41ed-89e3-5a106fa22081", "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": "ac5e95c5-f548-467e-9603-b6a61d2d2e52", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 77.44, "TotalTax": 10.07, "Total": 87.51, "UpdatedDateUTC": "\/Date(1742473134497+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:18:54] Production.INFO: -- Create Invoice id --20b592d0-ff97-4434-80f8-45bb3021e2bc [2025-03-20 08:18:54] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:18:54] Production.INFO: CheckInvoice xerov2: INV11343 [2025-03-20 08:18:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11343 [2025-03-20 08:18:57] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:18:57] Production.INFO: Invoice SubTotal 46.250000 [2025-03-20 08:18:57] Production.INFO: Invoice DetTotal 46.25 [2025-03-20 08:18:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="J.%20Randall%20Graham%2C%20CPA" [2025-03-20 08:19:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 12:19:02] Production.INFO: ==31277== Lock acquired, processing the job... [2025-03-20 12:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:19:02] Production.INFO: neon service started [2025-03-20 12:19:02] Production.INFO: neon service started [2025-03-20 12:19:02] Production.INFO: ==31277== Releasing lock... [2025-03-20 12:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:19:02] Production.INFO: ==31279== Lock acquired, processing the job... [2025-03-20 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:19:02] Production.INFO: ==31279== Releasing lock... [2025-03-20 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:19:02] Production.INFO: ==31281== Lock acquired, processing the job... [2025-03-20 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:19:02] Production.INFO: ==31281== Releasing lock... [2025-03-20 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:19:03] Production.INFO: ==31285== Lock acquired, processing the job... [2025-03-20 08:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:19:03] Production.INFO: ==31291== Lock acquired, processing the job... [2025-03-20 08:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:19:03] Production.INFO: ==31293== Lock acquired, processing the job... [2025-03-20 08:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:19:03] Production.INFO: Account Balance Start. [2025-03-20 08:19:03] Production.INFO: CreateAllLog Start [2025-03-20 08:19:03] Production.INFO: 117 [2025-03-20 08:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:03] Production.INFO: ==31289== Lock acquired, processing the job... [2025-03-20 08:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:19:03] Production.INFO: ==31287== Lock acquired, processing the job... [2025-03-20 08:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:19:04] Production.INFO: ==31295== Lock acquired, processing the job... [2025-03-20 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:19:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:19:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:19:04] Production.ERROR: done [2025-03-20 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:19:04] Production.INFO: count ==12 [2025-03-20 08:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:04] Production.INFO: count ==23 [2025-03-20 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721569') start [2025-03-20 08:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:04] Production.ERROR: done [2025-03-20 08:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:04] Production.INFO: ==31287== Releasing lock... [2025-03-20 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721569') end [2025-03-20 08:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:19:04] Production.INFO: 1 [2025-03-20 08:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:19:04] Production.INFO: Total Charge 0 [2025-03-20 08:19:04] Production.INFO: CreateAllLog End [2025-03-20 08:19:04] Production.INFO: ==31295== Releasing lock... [2025-03-20 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:19:04] Production.INFO: Account Balance End. [2025-03-20 08:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:19:04] Production.INFO: ==31291== Releasing lock... [2025-03-20 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:19:05 [end_date_ymd] => 2025-03-20 08:19:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:19:05' and `end` < '2025-03-20 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-03-20 08:19:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:19:09] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-10-2024 To 01-09-2025",Quantity : 1,UnitAmount : 1.750000,LineAmount : 1.750000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 6,UnitAmount : 7.000000,LineAmount : 42.000000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (18605166325 - 1616 METROPOLITAN CIR UNIT A TALLAHASSEE, FL 32308)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:19:12] Production.ERROR: CronJobId end10 [2025-03-20 08:19:12] Production.INFO: ==31289== Releasing lock... [2025-03-20 08:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:19:13] Production.INFO: ==== result ===== [2025-03-20 08:19:13] Production.INFO: { "Id": "3ef77bff-c21e-407e-992a-3b2482c9d82a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473152917)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9cccd6b1-b8d0-40a2-b615-ff8353595214", "InvoiceNumber": "INV11343", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 52.27, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7aa12a04-66d6-4e6f-ae1b-86427d18b26f", "ContactStatus": "ACTIVE", "Name": "J. Randall Graham, CPA", "FirstName": "Randy", "LastName": "Graham", "EmailAddress": "jrgcpa@nettally.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "1616-A Metropolitan Circle", "AddressLine2": "", "AddressLine3": "Tallahassee, 32308", "AddressLine4": "", "City": "Tallahassee", "Region": "", "PostalCode": "32308", "Country": "United States", "AttentionTo": "Randy Graham" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(850) 3853711", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "8503853711,101", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "8505456466", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1497928193093+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-10T00:00:00", "Date": "\/Date(1736467200000+0000)\/", "DueDateString": "2025-01-17T00:00:00", "DueDate": "\/Date(1737072000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-10-2024 To 01-09-2025", "UnitAmount": 1.75, "TaxType": "OUTPUT", "TaxAmount": 0.23, "LineAmount": 1.75, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1a7886b4-a61f-43a9-9406-a82ac96459df", "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": "OUTPUT", "TaxAmount": 5.46, "LineAmount": 42.00, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "DiscountRate": 0.00, "LineItemID": "34ecb8a8-9938-421f-b1c1-02a7eda52b1a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (18605166325 - 1616 METROPOLITAN CIR UNIT A TALLAHASSEE, FL 32308)", "UnitAmount": 2.50, "TaxType": "OUTPUT", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "fbe9a7f1-d02e-40b3-8094-4aee2efd7ffe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 46.25, "TotalTax": 6.02, "Total": 52.27, "UpdatedDateUTC": "\/Date(1742473152857+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:19:13] Production.INFO: -- Create Invoice id --9cccd6b1-b8d0-40a2-b615-ff8353595214 [2025-03-20 08:19:13] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:19:13] Production.INFO: CheckInvoice xerov2: INV11332 [2025-03-20 08:19:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11332 [2025-03-20 08:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:19:14] Production.INFO: call_cost start [2025-03-20 08:19:14] Production.INFO: call_cost end [2025-03-20 08:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:19:15] Production.INFO: ==31285== Releasing lock... [2025-03-20 08:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:19:15] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:19:15] Production.INFO: Invoice SubTotal 617.500000 [2025-03-20 08:19:15] Production.INFO: Invoice DetTotal 617.5 [2025-03-20 08:19:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:19:17] Production.INFO: count ==205 [2025-03-20 08:19:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:19:05 - End Time 2025-03-20 08:19:05 [2025-03-20 08:19:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721570', 'tblTempUsageDetail_20' ) start [2025-03-20 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721570', 'tblTempUsageDetail_20' ) end [2025-03-20 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721570', 'tblTempVendorCDR_20' ) start [2025-03-20 08:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721570', 'tblTempVendorCDR_20' ) end [2025-03-20 08:19:17] Production.INFO: ProcessCDR(1,14721570,1,1,2) [2025-03-20 08:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:19:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:19:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721570', 'tblTempUsageDetail_20' ) start [2025-03-20 08:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721570', 'tblTempUsageDetail_20' ) end [2025-03-20 08:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:19:22] Production.INFO: ==31293== Releasing lock... [2025-03-20 08:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:19:22] Production.INFO: 30 MB #Memory Used# [2025-03-20 08:19:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:19:28] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:19:31] Production.INFO: ==== result ===== [2025-03-20 08:19:31] Production.INFO: { "Id": "032d1173-7272-4205-b9fc-4d1524cc0d7b", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473171160)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "eac33e21-fbe9-49e5-8143-8a0599b96321", "InvoiceNumber": "INV11332", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 697.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "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(1742472987663+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-08T00:00:00", "Date": "\/Date(1736294400000+0000)\/", "DueDateString": "2025-02-07T00:00:00", "DueDate": "\/Date(1738886400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b5f58c81-1de2-43e0-b257-54b12c5ed2d1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "1250c5d2-f455-478a-97af-65ac05004631", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "2b8d193a-c113-4304-bac0-f615f9bfea38", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "d5adbab9-e465-4232-beb5-721bf9c6b554", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "2b8fbd84-c6d9-44dd-9a3f-14c6fa8ea2e6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7185cdf3-77fb-4a90-a491-a57e0ad85540", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 617.50, "TotalTax": 80.28, "Total": 697.78, "UpdatedDateUTC": "\/Date(1742473171113+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:19:31] Production.INFO: -- Create Invoice id --eac33e21-fbe9-49e5-8143-8a0599b96321 [2025-03-20 08:19:31] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:19:31] Production.INFO: CheckInvoice xerov2: INV11414 [2025-03-20 08:19:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11414 [2025-03-20 08:19:34] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:19:34] Production.INFO: Invoice SubTotal 2966.320000 [2025-03-20 08:19:34] Production.INFO: Invoice DetTotal 2966.32 [2025-03-20 08:19:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CopperTree%20Solutions" [2025-03-20 08:19:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:19:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:19:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:19:46] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-08-08 to 2024-09-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2024-08-08 to 2024-09-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2024-08-08 to 2024-09-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-09-08 to 2024-10-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2024-09-08 to 2024-10-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2024-09-08 to 2024-10-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-10-08 to 2024-11-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2024-10-08 to 2024-11-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2024-10-08 to 2024-11-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-11-08 to 2024-12-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2024-11-08 to 2024-12-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2024-11-08 to 2024-12-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-12-08 to 2025-01-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2024-12-08 to 2025-01-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2024-12-08 to 2025-01-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2025-01-08 to 2025-02-07)",Quantity : 28,UnitAmount : 12.990000,LineAmount : 363.720000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 50.000000,"Description": "CloudPhone.ONE Softphone License (2025-01-08 to 2025-02-07)",Quantity : 28,UnitAmount : 2.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Call Recording Per Person One Month Storage (2025-01-08 to 2025-02-07)",Quantity : 28,UnitAmount : 1.000000,LineAmount : 28.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Initial Setup of CloudPhone.ONE System - Per Person License",Quantity : 28,UnitAmount : 16.000000,LineAmount : 448.000000} [2025-03-20 08:19:50] Production.INFO: ==== result ===== [2025-03-20 08:19:50] Production.INFO: { "Id": "d227b550-d479-46a5-b84f-34c4d545cb49", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473190392)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "385fdbf2-ef04-4c6f-8193-ab04eabfbd52", "InvoiceNumber": "INV11414", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 3351.92, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 168.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5b032d6b-da73-4d79-a723-58e72d272fdb", "ContactStatus": "ACTIVE", "Name": "CopperTree Solutions", "FirstName": "Matthew", "LastName": "Hutchinson", "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(1742472995730+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-08T00:00:00", "Date": "\/Date(1736294400000+0000)\/", "DueDateString": "2025-02-07T00:00:00", "DueDate": "\/Date(1738886400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "CloudPhone.ONE Per Person License (2024-08-08 to 2024-09-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "86b07589-b29c-43df-95d8-7ca716961f79", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-08-08 to 2024-09-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "4c9c555c-f1b0-4ce3-84ad-1f3af06a2527", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2024-08-08 to 2024-09-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "cb081b45-e7fa-4b83-8a48-ac5e39145443", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-09-08 to 2024-10-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "3ffb07b1-a30f-46f2-817d-0b4ddd2a99e5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-09-08 to 2024-10-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "2e57ce61-fd6f-4c5b-88ac-6410b07845dd", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2024-09-08 to 2024-10-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "35287714-f4df-4348-94f3-fe232f441383", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-10-08 to 2024-11-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "6ecb6cff-677e-4083-a4d9-29ab44d48b0e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-10-08 to 2024-11-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "bd9bbf47-24b2-431f-ae60-c6cb33a4f8fa", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2024-10-08 to 2024-11-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "59670183-f90f-44f2-8440-a5b84dad3821", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-11-08 to 2024-12-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "9609e286-38b0-48d8-9977-4b14b711e44f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-11-08 to 2024-12-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "93a4d4b8-b410-4ca8-bfd9-c5f9312e0330", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2024-11-08 to 2024-12-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "784c5295-9cdb-4705-901a-20bc0209ebc7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-12-08 to 2025-01-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "e4c91973-5114-42c3-b008-b1f30cd42a16", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-12-08 to 2025-01-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "eebc7606-ff1e-41eb-860d-aea556691091", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2024-12-08 to 2025-01-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "6c273a70-4c4e-4964-98d0-075e09ed518c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2025-01-08 to 2025-02-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 47.28, "LineAmount": 363.72, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "f004e51f-c9ff-4668-9f28-58a1c76f3b59", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2025-01-08 to 2025-02-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 50.00, "LineItemID": "4b8c12cd-5e33-47a2-b259-7ff90748193a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 28.0000, "ValidationErrors": [] }, { "Description": "Call Recording Per Person One Month Storage (2025-01-08 to 2025-02-07)", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.64, "LineAmount": 28.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "013415e6-3ef8-465f-9bb5-2f23fd200081", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Initial Setup of CloudPhone.ONE System - Per Person License", "UnitAmount": 16.00, "TaxType": "TAX020", "TaxAmount": 58.24, "LineAmount": 448.00, "AccountCode": "203", "Tracking": [], "Quantity": 28.0000, "DiscountRate": 0.00, "LineItemID": "cfb2fa53-cea7-467b-873e-108b12de699d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 2966.32, "TotalTax": 385.60, "Total": 3351.92, "UpdatedDateUTC": "\/Date(1742473190283+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:19:50] Production.INFO: -- Create Invoice id --385fdbf2-ef04-4c6f-8193-ab04eabfbd52 [2025-03-20 08:19:50] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:19:50] Production.INFO: CheckInvoice xerov2: INV11415 [2025-03-20 08:19:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11415 [2025-03-20 08:19:53] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:19:53] Production.INFO: Invoice SubTotal 4765.040000 [2025-03-20 08:19:53] Production.INFO: Invoice DetTotal 4765.04 [2025-03-20 08:19:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 08:19:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:19:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 12:20:01] Production.INFO: ==31374== Lock acquired, processing the job... [2025-03-20 12:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:20:01] Production.INFO: neon service started [2025-03-20 12:20:01] Production.INFO: neon service started [2025-03-20 12:20:01] Production.INFO: ==31374== Releasing lock... [2025-03-20 12:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:20:01] Production.INFO: ==31379== Lock acquired, processing the job... [2025-03-20 08:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:20:02] Production.INFO: ==31379== Releasing lock... [2025-03-20 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:20:02] Production.INFO: ==31381== Lock acquired, processing the job... [2025-03-20 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:20:02] Production.INFO: ==31381== Releasing lock... [2025-03-20 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:20:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:20:03] Production.INFO: ==31384== Lock acquired, processing the job... [2025-03-20 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 08:20:03] Production.INFO: ==31390== Lock acquired, processing the job... [2025-03-20 08:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:20:03] Production.INFO: ==31386== Lock acquired, processing the job... [2025-03-20 08:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 08:20:03] Production.INFO: ==31388== Lock acquired, processing the job... [2025-03-20 08:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 08:20:03] Production.INFO: ==31384== Releasing lock... [2025-03-20 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 08:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 08:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:20:03] Production.INFO: ==31396== Lock acquired, processing the job... [2025-03-20 08:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 08:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:20:03] Production.INFO: ==31392== Lock acquired, processing the job... [2025-03-20 08:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:20:04] Production.INFO: Account Balance Start. [2025-03-20 08:20:04] Production.INFO: CreateAllLog Start [2025-03-20 08:20:04] Production.INFO: 117 [2025-03-20 08:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:20:04] Production.INFO: ==31394== Lock acquired, processing the job... [2025-03-20 08:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.INFO: ==31398== Lock acquired, processing the job... [2025-03-20 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:20:04] Production.INFO: ==31388== Releasing lock... [2025-03-20 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 08:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.INFO: count ==12 [2025-03-20 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-03-20 08:20:04] Production.INFO: count ==23 [2025-03-20 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721574') start [2025-03-20 08:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721574') end [2025-03-20 08:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:20:04] Production.INFO: 1 [2025-03-20 08:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:20:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.ERROR: done [2025-03-20 08:20:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.INFO: ==31398== Releasing lock... [2025-03-20 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:20:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 08:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721575', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 08:20:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:20:04] Production.ERROR: done [2025-03-20 08:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:20:04] Production.INFO: Total Charge 0 [2025-03-20 08:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:20:04] Production.INFO: CreateAllLog End [2025-03-20 08:20:05] Production.ERROR: done [2025-03-20 08:20:05] Production.INFO: Account Balance End. [2025-03-20 08:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:20:05] Production.INFO: ==31392== Releasing lock... [2025-03-20 08:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:20:05] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Initial setup: CloudPhone.ONE Per Person License",Quantity : 37,UnitAmount : 16.000000,LineAmount : 592.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-06-08 to 2024-07-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-06-08 to 2024-07-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-06-08 to 2024-07-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-07-08 to 2024-08-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-07-08 to 2024-08-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-07-08 to 2024-08-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-08-08 to 2024-09-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-08-08 to 2024-09-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-08-08 to 2024-09-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-09-08 to 2024-10-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-09-08 to 2024-10-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-09-08 to 2024-10-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-10-08 to 2024-11-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-10-08 to 2024-11-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-10-08 to 2024-11-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-11-08 to 2024-12-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-11-08 to 2024-12-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-11-08 to 2024-12-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2024-12-08 to 2025-01-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2024-12-08 to 2025-01-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2024-12-08 to 2025-01-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Person License (2025-01-08 to 2025-02-07)",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License (2025-01-08 to 2025-02-07)",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Add-On - Fax Line (2025-01-08 to 2025-02-07)",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000} [2025-03-20 08:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:20:06 [end_date_ymd] => 2025-03-20 08:20:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:20:06' and `end` < '2025-03-20 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-03-20 08:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721575', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 08:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 08:20:08] Production.INFO: ProcessCDR(1,14721575,1,1,2) [2025-03-20 08:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721575,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721575,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:20:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:20:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:20:08] Production.INFO: ==31396== Releasing lock... [2025-03-20 08:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 08:20:08] Production.INFO: 26 MB #Memory Used# [2025-03-20 08:20:09] Production.INFO: ==== result ===== [2025-03-20 08:20:09] Production.INFO: { "Id": "774f7d79-5e74-4c9c-9bd7-8fe6cf16b230", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473209778)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "073dc1ab-17d0-4318-9615-f9016250c2f3", "InvoiceNumber": "INV11415", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 5384.48, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "026264ad-30db-4a13-9750-7dee8e32341c", "ContactStatus": "ACTIVE", "Name": "Robson Carpenter LLP", "FirstName": "Jessica", "LastName": "Kerr", "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(1742468949203+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-08T00:00:00", "Date": "\/Date(1736294400000+0000)\/", "DueDateString": "2025-02-07T00:00:00", "DueDate": "\/Date(1738886400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Initial setup: CloudPhone.ONE Per Person License", "UnitAmount": 16.00, "TaxType": "TAX020", "TaxAmount": 76.96, "LineAmount": 592.00, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "781792ea-3fb9-4839-bc48-f6b0fbee265d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-06-08 to 2024-07-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "5b74edc9-fc71-4717-b60b-726260ca7e7e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-06-08 to 2024-07-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "9679c023-c8d1-4e0d-ad20-e5e9b5c261e7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-06-08 to 2024-07-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "fca56690-1eb1-47fd-b678-d5504a6fbf7b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-07-08 to 2024-08-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "9de4c45b-8015-4d9c-87c8-cd6ba27a2d26", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-07-08 to 2024-08-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "b85d5c3c-4817-4fef-beba-72047e859229", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-07-08 to 2024-08-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "22c56ba6-b284-4b9e-b10a-2b849ea8bee0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-08-08 to 2024-09-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "21fa0d4a-26b1-40d2-9f34-5aca50097037", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-08-08 to 2024-09-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "adc1f1ef-c94f-4e27-a908-c079645f31b7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-08-08 to 2024-09-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "773305de-3739-4cbb-932b-7853b0b01d93", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-09-08 to 2024-10-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "daf84930-0be3-405c-aedf-5ccd7d7fbda3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-09-08 to 2024-10-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "45e12ef7-889b-4aba-8786-babc7c53b972", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-09-08 to 2024-10-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "b85cd2e2-9384-441a-b6f0-7f214745b6b2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-10-08 to 2024-11-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "24567f19-e69d-4f6d-b6bd-8d34965fa4b7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-10-08 to 2024-11-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "eb288dba-780e-4e0a-beb0-ed45c4c43b96", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-10-08 to 2024-11-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "22bf4e06-bcf1-4008-94da-cc8580b1c17e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-11-08 to 2024-12-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "27e0b1b8-8b83-41e8-9cdf-e5f5df13c08f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-11-08 to 2024-12-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "b8edc5ef-2cbf-4d03-b782-3eb525e7faca", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-11-08 to 2024-12-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "79900d73-dc3f-43ce-b4bb-3ed3f796885e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2024-12-08 to 2025-01-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "94a89c16-8ba1-400a-bd7b-795e1d30fed8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2024-12-08 to 2025-01-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "0570f470-fae0-46c0-a684-2a23b05968ef", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2024-12-08 to 2025-01-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "81b67751-f8c0-4e4f-9e92-056a9213cb37", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Per Person License (2025-01-08 to 2025-02-07)", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "39e59c20-382d-4422-9c88-07b81cb5ba69", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License (2025-01-08 to 2025-02-07)", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "DiscountRate": 0.00, "LineItemID": "f40450f5-b8b2-4407-a078-7cb9f2be943d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line (2025-01-08 to 2025-02-07)", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "8a3d855c-83e1-4bc3-87e7-11ebdfd73ddf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 4765.04, "TotalTax": 619.44, "Total": 5384.48, "UpdatedDateUTC": "\/Date(1742473209433+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:20:10] Production.INFO: -- Create Invoice id --073dc1ab-17d0-4318-9615-f9016250c2f3 [2025-03-20 08:20:10] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:20:10] Production.INFO: CheckInvoice xerov2: INV11307 [2025-03-20 08:20:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11307 [2025-03-20 08:20:13] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:20:13] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 08:20:13] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 08:20:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010583%20%28William%20Prichard%29" [2025-03-20 08:20:14] Production.ERROR: CronJobId end10 [2025-03-20 08:20:14] Production.INFO: ==31390== Releasing lock... [2025-03-20 08:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:20:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:20:17] Production.INFO: call_cost start [2025-03-20 08:20:17] Production.INFO: call_cost end [2025-03-20 08:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:20:18] Production.INFO: ==31386== Releasing lock... [2025-03-20 08:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:20:18] Production.INFO: count ==218 [2025-03-20 08:20:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:20:06 - End Time 2025-03-20 08:20:06 [2025-03-20 08:20:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721576', 'tblTempUsageDetail_20' ) start [2025-03-20 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721576', 'tblTempUsageDetail_20' ) end [2025-03-20 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721576', 'tblTempVendorCDR_20' ) start [2025-03-20 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721576', 'tblTempVendorCDR_20' ) end [2025-03-20 08:20:18] Production.INFO: ProcessCDR(1,14721576,1,1,2) [2025-03-20 08:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721576,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:20:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721576,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721576', 'tblTempUsageDetail_20' ) start [2025-03-20 08:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721576', 'tblTempUsageDetail_20' ) end [2025-03-20 08:20:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:20:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:20:22] Production.INFO: ==31394== Releasing lock... [2025-03-20 08:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:20:22] Production.INFO: 30.25 MB #Memory Used# [2025-03-20 08:20:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:20:25] 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} [2025-03-20 08:20:28] Production.INFO: ==== result ===== [2025-03-20 08:20:28] Production.INFO: { "Id": "003cbf63-fb4d-44aa-bc0d-bfcac0e93e9d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473228138)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "39230c8a-d0ef-4f88-9e59-598a4cef3b24", "InvoiceNumber": "INV11307", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.58, "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": "2025-01-04T00:00:00", "Date": "\/Date(1735948800000+0000)\/", "DueDateString": "2025-02-03T00:00:00", "DueDate": "\/Date(1738540800000+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": "8feb698a-594a-490b-8879-fd5c5a734ff2", "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": "6772d667-2c2f-4f58-b47d-f284e2e14acf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742473228090+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:20:28] Production.INFO: -- Create Invoice id --39230c8a-d0ef-4f88-9e59-598a4cef3b24 [2025-03-20 08:20:28] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:20:28] Production.INFO: CheckInvoice xerov2: INV11308 [2025-03-20 08:20:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11308 [2025-03-20 08:20:30] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:20:30] Production.INFO: Invoice SubTotal 106.010000 [2025-03-20 08:20:30] Production.INFO: Invoice DetTotal 106.01 [2025-03-20 08:20:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Telco%20Steel%20Works" [2025-03-20 08:20:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:20:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:20:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:20:42] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-04-2024 To 01-03-2025",Quantity : 1,UnitAmount : 6.010000,LineAmount : 6.010000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 5,UnitAmount : 15.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 70.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (courtesy/seldom used phones)",Quantity : 5,UnitAmount : 15.000000,LineAmount : 22.500000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5198371973 - 550 Southgate Drive Guelph, ON N1G4P6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:20:45] Production.INFO: ==== result ===== [2025-03-20 08:20:45] Production.INFO: { "Id": "4177b555-783d-4e16-b2d1-39d737670ed8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473245805)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "158d3242-b623-434f-8b1e-03ab8310760b", "InvoiceNumber": "INV11308", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 119.80, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 52.50, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "ce77076d-4a3e-4b85-a7f2-c24523d8b78b", "ContactStatus": "ACTIVE", "Name": "Telco Steel Works", "FirstName": "Anne Marie", "LastName": "Bianchi", "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(1696240424807+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-04T00:00:00", "Date": "\/Date(1735948800000+0000)\/", "DueDateString": "2025-02-03T00:00:00", "DueDate": "\/Date(1738540800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-04-2024 To 01-03-2025", "UnitAmount": 6.01, "TaxType": "TAX020", "TaxAmount": 0.78, "LineAmount": 6.01, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "97605b5d-d8b3-43ea-b9ae-4fef099c1bf0", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 15.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "LineItemID": "3d3bf38c-350d-4ab4-bb48-0b7bbda5394a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (courtesy/seldom used phones)", "UnitAmount": 15.00, "TaxType": "TAX020", "TaxAmount": 2.93, "LineAmount": 22.50, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 70.00, "LineItemID": "94a75697-3552-4f37-bc2b-682c7dff056a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 52.5000, "ValidationErrors": [] }, { "Description": "e911 address registration (5198371973 - 550 Southgate Drive Guelph, ON N1G4P6 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "339f53ae-a3ad-4421-9e51-c9e6f1a94a40", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 106.01, "TotalTax": 13.79, "Total": 119.80, "UpdatedDateUTC": "\/Date(1742473245773+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:20:45] Production.INFO: -- Create Invoice id --158d3242-b623-434f-8b1e-03ab8310760b [2025-03-20 08:20:45] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:20:45] Production.INFO: CheckInvoice xerov2: INV11293 [2025-03-20 08:20:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11293 [2025-03-20 08:20:48] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:20:48] Production.INFO: Invoice SubTotal 67.500000 [2025-03-20 08:20:48] Production.INFO: Invoice DetTotal 67.5 [2025-03-20 08:20:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010581%20%28Ken%20Hoose%29" [2025-03-20 08:20:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:20:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:20:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:20:59] 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-03-20 12:21:02] Production.INFO: ==31495== Lock acquired, processing the job... [2025-03-20 12:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:21:02] Production.INFO: neon service started [2025-03-20 12:21:02] Production.INFO: neon service started [2025-03-20 12:21:02] Production.INFO: ==31495== Releasing lock... [2025-03-20 12:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:21:02] Production.INFO: ==31497== Lock acquired, processing the job... [2025-03-20 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:21:02] Production.INFO: ==31499== Lock acquired, processing the job... [2025-03-20 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:21:02] Production.INFO: ==== result ===== [2025-03-20 08:21:02] Production.INFO: { "Id": "ea7ccf70-8c9f-484f-8a52-fd8c9f829b9c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473262701)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "46b74c01-02a8-4128-9812-f2612e1c9c69", "InvoiceNumber": "INV11293", "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": "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": "64a9a77f-77cf-4302-be21-16fc1346d010", "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": "2bc116d8-bfac-4091-b80a-be0c16ac375f", "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": "2497aea1-d3a5-4470-bd7a-5b7978292bf1", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1742473262653+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 12:21:02] Production.INFO: ==31499== Releasing lock... [2025-03-20 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:21:02] Production.INFO: -- Create Invoice id --46b74c01-02a8-4128-9812-f2612e1c9c69 [2025-03-20 08:21:02] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:21:02] Production.INFO: CheckInvoice xerov2: INV11280 [2025-03-20 08:21:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11280 [2025-03-20 08:21:03] Production.INFO: ==31497== Releasing lock... [2025-03-20 08:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:21:03] Production.INFO: ==31502== Lock acquired, processing the job... [2025-03-20 08:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:21:03] Production.INFO: ==31504== Lock acquired, processing the job... [2025-03-20 08:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:21:03] Production.INFO: ==31508== Lock acquired, processing the job... [2025-03-20 08:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:21:04] Production.INFO: Account Balance Start. [2025-03-20 08:21:04] Production.INFO: CreateAllLog Start [2025-03-20 08:21:04] Production.INFO: 117 [2025-03-20 08:21:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.INFO: ==31506== Lock acquired, processing the job... [2025-03-20 08:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.INFO: ==31504== Releasing lock... [2025-03-20 08:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:21:04] Production.INFO: ==31512== Lock acquired, processing the job... [2025-03-20 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.INFO: ==31510== Lock acquired, processing the job... [2025-03-20 08:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.INFO: count ==12 [2025-03-20 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-03-20 08:21:04] Production.INFO: count ==23 [2025-03-20 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721580') start [2025-03-20 08:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721580') end [2025-03-20 08:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:21:04] Production.INFO: 1 [2025-03-20 08:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.INFO: ==31512== Releasing lock... [2025-03-20 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:21:04] Production.INFO: Total Charge 0 [2025-03-20 08:21:04] Production.INFO: CreateAllLog End [2025-03-20 08:21:04] Production.ERROR: done [2025-03-20 08:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:21:04] Production.INFO: Account Balance End. [2025-03-20 08:21:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:21:05] Production.INFO: ==31508== Releasing lock... [2025-03-20 08:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:21:05] Production.ERROR: done [2025-03-20 08:21:05] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:21:05] Production.INFO: Invoice SubTotal 79.630000 [2025-03-20 08:21:05] Production.INFO: Invoice DetTotal 79.63 [2025-03-20 08:21:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 08:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:21:06 [end_date_ymd] => 2025-03-20 08:21:06 [RateCDR] => 1 ) [2025-03-20 08: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-03-20 05:21:06' and `end` < '2025-03-20 08: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-03-20 08:21:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:21:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #11 [internal function]: App\Console\Commands\NeonAlerts->fire() #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-03-20 08:21:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:21:12] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:21:12] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:21:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:21:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:21:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:21:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:21:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:21:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:21:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:21:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:21:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:21:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:21:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:21:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:21:12] Production.INFO: call_cost start [2025-03-20 08:21:12] Production.INFO: call_cost end [2025-03-20 08:21:13] Production.ERROR: CronJobId end10 [2025-03-20 08:21:13] Production.INFO: ==31506== Releasing lock... [2025-03-20 08:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:21:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:21:13] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:21:13] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:21:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:21:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:21:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:21:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:21:13] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:21:13] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:21:13] Production.INFO: ==31502== Releasing lock... [2025-03-20 08:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:21:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:21:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:21:18] Production.INFO: count ==230 [2025-03-20 08:21:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:21:06 - End Time 2025-03-20 08:21:06 [2025-03-20 08:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721581', 'tblTempUsageDetail_20' ) start [2025-03-20 08:21:18] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-01-2024 To 12-30-2024",Quantity : 1,UnitAmount : 17.130000,LineAmount : 17.130000},{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-03-20 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721581', 'tblTempUsageDetail_20' ) end [2025-03-20 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721581', 'tblTempVendorCDR_20' ) start [2025-03-20 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721581', 'tblTempVendorCDR_20' ) end [2025-03-20 08:21:18] Production.INFO: ProcessCDR(1,14721581,1,1,2) [2025-03-20 08:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721581,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:21:21] Production.INFO: ==== result ===== [2025-03-20 08:21:21] Production.INFO: { "Id": "c5b870a8-e82a-4089-b80f-5d5f067385f5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473281441)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c0cda08b-68ab-42fb-a281-aafa7b4cdb87", "InvoiceNumber": "INV11280", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 89.99, "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-31T00:00:00", "Date": "\/Date(1735603200000+0000)\/", "DueDateString": "2025-01-30T00:00:00", "DueDate": "\/Date(1738195200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-01-2024 To 12-30-2024", "UnitAmount": 17.13, "TaxType": "TAX020", "TaxAmount": 2.23, "LineAmount": 17.13, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d839eff6-eed0-4a00-ad68-ec7f56c416ae", "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": "c4b55974-d2a3-4547-9b54-395f8c5b806f", "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": "45912a8f-26f3-464f-b1dd-ee46514efb59", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 79.63, "TotalTax": 10.36, "Total": 89.99, "UpdatedDateUTC": "\/Date(1742473281393+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:21:21] Production.INFO: -- Create Invoice id --c0cda08b-68ab-42fb-a281-aafa7b4cdb87 [2025-03-20 08:21:21] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:21:21] Production.INFO: CheckInvoice xerov2: INV11211 [2025-03-20 08:21:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11211 [2025-03-20 08:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721581,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721581', 'tblTempUsageDetail_20' ) start [2025-03-20 08:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721581', 'tblTempUsageDetail_20' ) end [2025-03-20 08:21:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:21:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:21:21] Production.INFO: ==31510== Releasing lock... [2025-03-20 08:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:21:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-20 08:21:24] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:21:24] Production.INFO: Invoice SubTotal 77.700000 [2025-03-20 08:21:24] Production.INFO: Invoice DetTotal 77.7 [2025-03-20 08:21:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-03-20 08:21:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:21:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:21:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:21:36] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-13-2024 To 12-12-2024",Quantity : 1,UnitAmount : 3.200000,LineAmount : 3.200000},{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-03-20 08:21:39] Production.INFO: ==== result ===== [2025-03-20 08:21:39] Production.INFO: { "Id": "a855d701-cb79-403f-a8ae-9843a35bdf9a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473299650)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "404c4bf3-5a7a-4481-8987-dc89fafb3784", "InvoiceNumber": "INV11211", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.81, "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-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": 3.20, "TaxType": "TAX020", "TaxAmount": 0.42, "LineAmount": 3.20, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6bba5cdc-290f-4a57-ad9f-ccf3b64bb2c8", "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": "1cd90ce9-53d4-4b1d-8eb3-caab7ab044a4", "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": "31463dd5-6969-4bc7-8383-f0a470c67b28", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 77.70, "TotalTax": 10.11, "Total": 87.81, "UpdatedDateUTC": "\/Date(1742473299603+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:21:39] Production.INFO: -- Create Invoice id --404c4bf3-5a7a-4481-8987-dc89fafb3784 [2025-03-20 08:21:39] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:21:39] Production.INFO: CheckInvoice xerov2: INV11175 [2025-03-20 08:21:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11175 [2025-03-20 08:21:42] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:21:42] Production.INFO: Invoice SubTotal 617.500000 [2025-03-20 08:21:42] Production.INFO: Invoice DetTotal 617.5 [2025-03-20 08:21:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:21:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:21:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:21:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:21:53] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:21:57] Production.INFO: ==== result ===== [2025-03-20 08:21:57] Production.INFO: { "Id": "657aa219-e3c9-481d-8f25-3edf94faf684", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473317028)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "389aa15a-9e78-49fb-92eb-49f80fbca754", "InvoiceNumber": "INV11175", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 697.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "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(1742472987663+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": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "cccd3be4-c451-4542-9245-f49ca00a235e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "07b13a06-7a53-45d7-83cc-fccdf8cdb504", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "9244d25b-c7c3-4a56-9722-09066e7d5dfe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "97beb924-63e2-4366-8656-35281bb85029", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "2e25f28c-7f3b-46e9-9f57-4c1bc2eb2bff", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "dc90d713-48b4-45b1-8e2f-3bb6623998e2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 617.50, "TotalTax": 80.28, "Total": 697.78, "UpdatedDateUTC": "\/Date(1742473316980+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:21:57] Production.INFO: -- Create Invoice id --389aa15a-9e78-49fb-92eb-49f80fbca754 [2025-03-20 08:21:57] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:21:57] Production.INFO: CheckInvoice xerov2: INV11150 [2025-03-20 08:21:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11150 [2025-03-20 08:22:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:22:00] Production.INFO: Invoice SubTotal 106.240000 [2025-03-20 08:22:00] Production.INFO: Invoice DetTotal 106.24 [2025-03-20 08:22:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Telco%20Steel%20Works" [2025-03-20 12:22:01] Production.INFO: ==31598== Lock acquired, processing the job... [2025-03-20 12:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:22:01] Production.INFO: neon service started [2025-03-20 12:22:01] Production.INFO: neon service started [2025-03-20 12:22:01] Production.INFO: ==31598== Releasing lock... [2025-03-20 12:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:22:01] Production.INFO: ==31602== Lock acquired, processing the job... [2025-03-20 12:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:22:01] Production.INFO: ==31602== Releasing lock... [2025-03-20 12:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:22:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:22:02] Production.INFO: ==31600== Lock acquired, processing the job... [2025-03-20 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:22:02] Production.INFO: ==31600== Releasing lock... [2025-03-20 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:22:03] Production.INFO: ==31605== Lock acquired, processing the job... [2025-03-20 08:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:22:03] Production.INFO: ==31609== Lock acquired, processing the job... [2025-03-20 08:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:22:03] Production.INFO: ==31613== Lock acquired, processing the job... [2025-03-20 08:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:22:03] Production.INFO: ==31607== Lock acquired, processing the job... [2025-03-20 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:22:03] Production.INFO: ==31611== Lock acquired, processing the job... [2025-03-20 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:22:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:22:03] Production.INFO: ==31616== Lock acquired, processing the job... [2025-03-20 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:22:03] Production.INFO: Account Balance Start. [2025-03-20 08:22:03] Production.INFO: CreateAllLog Start [2025-03-20 08:22:03] Production.INFO: 117 [2025-03-20 08:22:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:03] Production.INFO: count ==12 [2025-03-20 08:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:22:03] Production.INFO: count ==23 [2025-03-20 08:22:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721585') start [2025-03-20 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:03] Production.ERROR: done [2025-03-20 08:22:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:22:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721585') end [2025-03-20 08:22:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:22:03] Production.INFO: 1 [2025-03-20 08:22:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:22:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:03] Production.INFO: Date 2025-03-16 [2025-03-20 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:03] Production.INFO: Date 2025-03-17 [2025-03-20 08:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:04] Production.INFO: ==31616== Releasing lock... [2025-03-20 08:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:22:04] Production.INFO: ==31607== Releasing lock... [2025-03-20 08:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:04] Production.ERROR: done [2025-03-20 08:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:22:04] Production.INFO: Total Charge 0 [2025-03-20 08:22:04] Production.INFO: CreateAllLog End [2025-03-20 08:22:04] Production.INFO: Account Balance End. [2025-03-20 08:22:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:22:04] Production.INFO: ==31611== Releasing lock... [2025-03-20 08:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:22:05 [end_date_ymd] => 2025-03-20 08:22:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:22:05' and `end` < '2025-03-20 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-03-20 08:22:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:22:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:22:11] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 11-04-2024 To 12-03-2024",Quantity : 1,UnitAmount : 6.240000,LineAmount : 6.240000},{taxType:"TAX020",AccountCode : 203,"Description": "License for an Unlimited Canada/US Cloud Phone extension",Quantity : 5,UnitAmount : 15.000000,LineAmount : 75.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 70.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (courtesy/seldom used phones)",Quantity : 5,UnitAmount : 15.000000,LineAmount : 22.500000},{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (5198371973 - 550 Southgate Drive Guelph, ON N1G4P6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:22:12] Production.ERROR: CronJobId end10 [2025-03-20 08:22:12] Production.INFO: ==31609== Releasing lock... [2025-03-20 08:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:22:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:22:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:22:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:22:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:22:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:22:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:22:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:22:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:22:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:22:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:22:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:22:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:22:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:22:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:22:14] Production.INFO: call_cost start [2025-03-20 08:22:14] Production.INFO: call_cost end [2025-03-20 08:22:14] Production.INFO: ==== result ===== [2025-03-20 08:22:14] Production.INFO: { "Id": "3913e1b1-9bf1-4855-9dd3-90eb121f4b81", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473334563)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "787d20f8-89bf-43e5-8136-64f13a50c819", "InvoiceNumber": "INV11150", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 120.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 52.50, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "ce77076d-4a3e-4b85-a7f2-c24523d8b78b", "ContactStatus": "ACTIVE", "Name": "Telco Steel Works", "FirstName": "Anne Marie", "LastName": "Bianchi", "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(1696240424807+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": 6.24, "TaxType": "TAX020", "TaxAmount": 0.81, "LineAmount": 6.24, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c5d1af32-7eb8-4eda-a29a-8db62aa8d5f1", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension", "UnitAmount": 15.00, "TaxType": "TAX020", "TaxAmount": 9.75, "LineAmount": 75.00, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "LineItemID": "c0c84814-1b7b-4d1c-b744-c82af462a90e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (courtesy/seldom used phones)", "UnitAmount": 15.00, "TaxType": "TAX020", "TaxAmount": 2.93, "LineAmount": 22.50, "AccountCode": "203", "Tracking": [], "Quantity": 5.0000, "DiscountRate": 70.00, "LineItemID": "aa19169c-a42f-4a4a-b062-a0aaa09703c2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 52.5000, "ValidationErrors": [] }, { "Description": "e911 address registration (5198371973 - 550 Southgate Drive Guelph, ON N1G4P6 Canada)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "86204fcf-b1f5-4dff-9a22-55ac5066504a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 106.24, "TotalTax": 13.82, "Total": 120.06, "UpdatedDateUTC": "\/Date(1742473334533+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:22:14] Production.INFO: -- Create Invoice id --787d20f8-89bf-43e5-8136-64f13a50c819 [2025-03-20 08:22:14] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:22:14] Production.INFO: CheckInvoice xerov2: INV11016 [2025-03-20 08:22:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11016 [2025-03-20 08:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:22:15] Production.INFO: ==31605== Releasing lock... [2025-03-20 08:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:22:17] Production.INFO: count ==234 [2025-03-20 08:22:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:22:05 - End Time 2025-03-20 08:22:05 [2025-03-20 08:22:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721586', 'tblTempUsageDetail_20' ) start [2025-03-20 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721586', 'tblTempUsageDetail_20' ) end [2025-03-20 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721586', 'tblTempVendorCDR_20' ) start [2025-03-20 08:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721586', 'tblTempVendorCDR_20' ) end [2025-03-20 08:22:17] Production.INFO: ProcessCDR(1,14721586,1,1,2) [2025-03-20 08:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:22:17] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:22:17] Production.INFO: Invoice SubTotal 617.500000 [2025-03-20 08:22:17] Production.INFO: Invoice DetTotal 617.5 [2025-03-20 08:22:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:22:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721586,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:22:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:22:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:22:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721586,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721586', 'tblTempUsageDetail_20' ) start [2025-03-20 08:22:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721586', 'tblTempUsageDetail_20' ) end [2025-03-20 08:22:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:22:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:22:20] Production.INFO: ==31613== Releasing lock... [2025-03-20 08:22:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:22:20] Production.INFO: 30.25 MB #Memory Used# [2025-03-20 08:22:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:22:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:22:29] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:22:33] Production.INFO: ==== result ===== [2025-03-20 08:22:33] Production.INFO: { "Id": "0f478d2d-5cc9-42fd-8b5e-45fbe34f67d0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473353046)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "28194bfb-0cd2-4abb-a613-98434b93861a", "InvoiceNumber": "INV11016", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 697.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "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(1742472987663+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": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "0943389b-535c-4971-9721-f356c1f77a3f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "533dfc81-6be5-4584-898b-997f4e10f41c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "754af8fc-61fd-4947-a2ee-a5ee6585978e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "435b6f12-dfc2-4eb6-9fc9-29db27c9823b", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "e8efbc5b-32b4-4494-8bc3-1be33fe4b126", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "70fb2ddc-2ef8-43be-89eb-9d3af75ca127", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 617.50, "TotalTax": 80.28, "Total": 697.78, "UpdatedDateUTC": "\/Date(1742473353013+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:22:33] Production.INFO: -- Create Invoice id --28194bfb-0cd2-4abb-a613-98434b93861a [2025-03-20 08:22:33] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:22:33] Production.INFO: CheckInvoice xerov2: INV10865 [2025-03-20 08:22:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10865 [2025-03-20 08:22:36] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:22:36] Production.INFO: Invoice SubTotal 1615.760000 [2025-03-20 08:22:36] Production.INFO: Invoice DetTotal 1615.76 [2025-03-20 08:22:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-03-20 08:22:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:22:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:22:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:22:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (06-18-2024 to 07-08-2024)",Quantity : 25,UnitAmount : 8.700000,LineAmount : 206.620000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (07-08-2024 to 08-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (08-08-2024 to 09-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (09-08-2024 to 10-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (10-08-2024 to 11-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (06-18-2024 to 07-08-2024)",Quantity : 1,UnitAmount : 6.670000,LineAmount : 6.670000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (07-08-2024 to 08-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (08-08-2024 to 09-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (09-08-2024 to 10-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (10-08-2024 to 11-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (06-18-2024 to 07-08-2024)",Quantity : 25,UnitAmount : 0.670000,LineAmount : 16.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (07-08-2024 to 08-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (08-08-2024 to 09-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (09-08-2024 to 10-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (10-08-2024 to 11-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6) (06-18-2024 to 07-08-2024)",Quantity : 1,UnitAmount : 1.680000,LineAmount : 1.680000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (07-08-2024 to 08-08-2024) ",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (08-08-2024 to 09-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (09-08-2024 to 10-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (10-08-2024 to 11-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:22:52] Production.INFO: ==== result ===== [2025-03-20 08:22:52] Production.INFO: { "Id": "bd7f7e55-b460-44a8-9f0e-2f6a80d79fc6", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473372279)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "00000000-0000-0000-0000-000000000000", "InvoiceNumber": "INV10865", "Payments": [], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "TotalDiscount": 75.84, "IsDiscounted": true, "InvoiceAddresses": [], "HasErrors": true, "InvoicePaymentServices": [], "Contact": { "ContactID": "b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false, "ValidationErrors": [] }, "DateString": "2024-10-10T00:00:00", "Date": "\/Date(1728518400000+0000)\/", "DueDateString": "2024-11-09T00:00:00", "DueDate": "\/Date(1731110400000+0000)\/", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for an Unlimited Canada/US Cloud Phone extension (06-18-2024 to 07-08-2024)", "UnitAmount": 8.700000, "TaxType": "TAX020", "TaxAmount": 26.86, "LineAmount": 206.62, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (07-08-2024 to 08-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (08-08-2024 to 09-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (09-08-2024 to 10-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (10-08-2024 to 11-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (06-18-2024 to 07-08-2024)", "UnitAmount": 6.670000, "TaxType": "TAX020", "TaxAmount": 0.87, "LineAmount": 6.67, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (07-08-2024 to 08-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (08-08-2024 to 09-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (09-08-2024 to 10-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (10-08-2024 to 11-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (06-18-2024 to 07-08-2024)", "UnitAmount": 0.670000, "TaxType": "TAX020", "TaxAmount": 2.18, "LineAmount": 16.75, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (07-08-2024 to 08-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (08-08-2024 to 09-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (09-08-2024 to 10-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (10-08-2024 to 11-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6) (06-18-2024 to 07-08-2024)", "UnitAmount": 1.680000, "TaxType": "TAX020", "TaxAmount": 0.22, "LineAmount": 1.68, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (07-08-2024 to 08-08-2024) ", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (08-08-2024 to 09-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (09-08-2024 to 10-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (10-08-2024 to 11-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 1615.76, "TotalTax": 210.09, "Total": 1825.85, "CurrencyCode": "CAD", "StatusAttributeString": "ERROR", "ValidationErrors": [ { "Message": "The line total 206.62 does not match the expected line total 206.63" } ] } ] } [2025-03-20 08:22:52] Production.INFO: -- Create Invoice Error -- [2025-03-20 08:22:52] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:22:52] Production.INFO: CheckInvoice xerov2: INV10847 [2025-03-20 08:22:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10847 [2025-03-20 08:22:55] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:22:55] Production.INFO: Invoice SubTotal 1093.750000 [2025-03-20 08:22:55] Production.INFO: Invoice DetTotal 1093.75 [2025-03-20 08:22:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:22:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:23:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 12:23:02] Production.INFO: ==31706== Lock acquired, processing the job... [2025-03-20 12:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:23:02] Production.INFO: neon service started [2025-03-20 12:23:02] Production.INFO: neon service started [2025-03-20 12:23:02] Production.INFO: ==31706== Releasing lock... [2025-03-20 12:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:23:02] Production.INFO: ==31711== Lock acquired, processing the job... [2025-03-20 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:23:02] Production.INFO: ==31711== Releasing lock... [2025-03-20 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:23:02] Production.INFO: ==31709== Lock acquired, processing the job... [2025-03-20 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:23:02] Production.INFO: ==31709== Releasing lock... [2025-03-20 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:23:03] Production.INFO: ==31715== Lock acquired, processing the job... [2025-03-20 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:23:03] Production.INFO: ==31713== Lock acquired, processing the job... [2025-03-20 08:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:23:03] Production.INFO: ==31723== Lock acquired, processing the job... [2025-03-20 08:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:23:04] Production.INFO: ==31717== Lock acquired, processing the job... [2025-03-20 08:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:23:04] Production.INFO: ==31719== Lock acquired, processing the job... [2025-03-20 08:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:23:04] Production.INFO: ==31721== Lock acquired, processing the job... [2025-03-20 08:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:23:04] Production.INFO: count ==12 [2025-03-20 08:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:23:04] Production.INFO: count ==23 [2025-03-20 08:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721589') start [2025-03-20 08:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:23:04] Production.INFO: Account Balance Start. [2025-03-20 08:23:04] Production.INFO: CreateAllLog Start [2025-03-20 08:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:23:04] Production.INFO: ==31715== Releasing lock... [2025-03-20 08:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:23:04] Production.INFO: 117 [2025-03-20 08:23:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721589') end [2025-03-20 08:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:23:04] Production.INFO: 1 [2025-03-20 08:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: ==31723== Releasing lock... [2025-03-20 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:23:04] Production.INFO: Total Charge 0 [2025-03-20 08:23:04] Production.ERROR: done [2025-03-20 08:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:23:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:23:04] Production.INFO: CreateAllLog End [2025-03-20 08:23:04] Production.ERROR: done [2025-03-20 08:23:04] Production.INFO: Account Balance End. [2025-03-20 08:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:23:04] Production.INFO: ==31719== Releasing lock... [2025-03-20 08:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:23:05 [end_date_ymd] => 2025-03-20 08:23:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:23:05' and `end` < '2025-03-20 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-03-20 08:23:07] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000},{taxType:"TAX020",AccountCode : 202,"Description": "CloudPhone.ONE Phone Provisioning",Quantity : 1,UnitAmount : 25.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 202,"Description": "Custom Development - eFax merging and cover page combination",Quantity : 4.75,UnitAmount : 95.000000,LineAmount : 451.250000} [2025-03-20 08:23:11] Production.INFO: ==== result ===== [2025-03-20 08:23:11] Production.INFO: { "Id": "c1d1de3e-2a1c-481f-97e5-2b01207ff1e4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473391298)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "37d97408-1af1-4f2a-9d3a-f77ea5426a72", "InvoiceNumber": "INV10847", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 1235.94, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "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(1742472987663+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-10-08T00:00:00", "Date": "\/Date(1728345600000+0000)\/", "DueDateString": "2024-11-07T00:00:00", "DueDate": "\/Date(1730937600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "fb5c334e-8645-4e59-bb0a-0b204b3ccb09", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "34607989-a1ea-4bc3-892c-4e8bac8d42ff", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "550c41f0-b023-4cc0-b233-6c26926f584e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "9743b2d5-e7ca-4c47-b568-0381e20152f8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "8955a75f-3456-4724-9f95-d50277bdcb14", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "60aaa58e-0b56-4a7c-b62e-266bf74ee190", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Phone Provisioning", "UnitAmount": 25.00, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "202", "Tracking": [], "Quantity": 1.0000, "LineItemID": "60102cf4-f650-4335-9c0c-c443711fcb6b", "AccountID": "92a889dc-22ae-4d25-b487-df8f4980f0ad", "ValidationErrors": [] }, { "Description": "Custom Development - eFax merging and cover page combination", "UnitAmount": 95.00, "TaxType": "TAX020", "TaxAmount": 58.66, "LineAmount": 451.25, "AccountCode": "202", "Tracking": [], "Quantity": 4.7500, "LineItemID": "7faeeb78-3d8d-434f-bf0b-9623eebc8d7e", "AccountID": "92a889dc-22ae-4d25-b487-df8f4980f0ad", "ValidationErrors": [] } ], "SubTotal": 1093.75, "TotalTax": 142.19, "Total": 1235.94, "UpdatedDateUTC": "\/Date(1742473391253+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:23:11] Production.INFO: -- Create Invoice id --37d97408-1af1-4f2a-9d3a-f77ea5426a72 [2025-03-20 08:23:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:23:11] Production.INFO: CheckInvoice xerov2: INV10700 [2025-03-20 08:23:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10700 [2025-03-20 08:23:12] Production.ERROR: CronJobId end10 [2025-03-20 08:23:12] Production.INFO: ==31717== Releasing lock... [2025-03-20 08:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:23:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:23:14] Production.INFO: Invoice SubTotal 29.100000 [2025-03-20 08:23:14] Production.INFO: Invoice DetTotal 29.1 [2025-03-20 08:23:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plaza%20Auto%20Group" [2025-03-20 08:23:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:23:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:23:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:23:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:23:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:23:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:23:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:23:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:23:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:23:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:23:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:23:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:23:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:23:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:23:15] Production.INFO: call_cost start [2025-03-20 08:23:15] Production.INFO: call_cost end [2025-03-20 08:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:23:16] Production.INFO: ==31713== Releasing lock... [2025-03-20 08:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:23:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:23:18] Production.INFO: count ==251 [2025-03-20 08:23:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:23:05 - End Time 2025-03-20 08:23:05 [2025-03-20 08:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721591', 'tblTempUsageDetail_20' ) start [2025-03-20 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721591', 'tblTempUsageDetail_20' ) end [2025-03-20 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721591', 'tblTempVendorCDR_20' ) start [2025-03-20 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721591', 'tblTempVendorCDR_20' ) end [2025-03-20 08:23:18] Production.INFO: ProcessCDR(1,14721591,1,1,2) [2025-03-20 08:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721591,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:23:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721591,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721591', 'tblTempUsageDetail_20' ) start [2025-03-20 08:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721591', 'tblTempUsageDetail_20' ) end [2025-03-20 08:23:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:23:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:23:21] Production.INFO: ==31721== Releasing lock... [2025-03-20 08:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:23:21] Production.INFO: 30.25 MB #Memory Used# [2025-03-20 08:23:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:23:25] 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-03-20 08:23:29] Production.INFO: ==== result ===== [2025-03-20 08:23:29] Production.INFO: { "Id": "9d73fbec-7101-464f-8ade-4a6c2afe7fd9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473408916)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6cdf15e2-1aac-4042-bc4d-4698d4d9b3d7", "InvoiceNumber": "INV10700", "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-09-14T00:00:00", "Date": "\/Date(1726272000000+0000)\/", "DueDateString": "2024-10-14T00:00:00", "DueDate": "\/Date(1728864000000+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": "fa4c14fc-6c37-4a7c-92bb-6c22b8fdee79", "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": "eb2f6461-cb0e-47d8-adf1-463ead73a981", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 29.10, "TotalTax": 3.79, "Total": 32.89, "UpdatedDateUTC": "\/Date(1742473408853+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:23:29] Production.INFO: -- Create Invoice id --6cdf15e2-1aac-4042-bc4d-4698d4d9b3d7 [2025-03-20 08:23:29] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:23:29] Production.INFO: CheckInvoice xerov2: INV10660 [2025-03-20 08:23:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10660 [2025-03-20 08:23:32] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:23:32] Production.INFO: Invoice SubTotal 617.500000 [2025-03-20 08:23:32] Production.INFO: Invoice DetTotal 617.5 [2025-03-20 08:23:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:23:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:23:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:23:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:23:43] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:23:47] Production.INFO: ==== result ===== [2025-03-20 08:23:47] Production.INFO: { "Id": "264cace5-e68b-46b6-b697-808df0590d37", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473427113)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "10d37b4a-a3c6-4f20-bf6d-981937a8ff4f", "InvoiceNumber": "INV10660", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 697.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "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(1742472987663+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-09-08T00:00:00", "Date": "\/Date(1725753600000+0000)\/", "DueDateString": "2024-10-08T00:00:00", "DueDate": "\/Date(1728345600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3a3d2974-8243-4759-9d98-82a9e3278807", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "25e6bb19-98f0-44ee-8678-680dd5914c67", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "2edc5d17-6544-49f2-9688-dde2c21b32b3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "1f728fac-c8f9-4336-8579-9efcb9caea72", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "ba973bd9-6bf6-4cbe-96f6-25f8a3b89594", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "af7b1304-6010-4995-bf29-042e9da8b215", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 617.50, "TotalTax": 80.28, "Total": 697.78, "UpdatedDateUTC": "\/Date(1742473427050+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:23:47] Production.INFO: -- Create Invoice id --10d37b4a-a3c6-4f20-bf6d-981937a8ff4f [2025-03-20 08:23:47] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:23:47] Production.INFO: CheckInvoice xerov2: INV10748 [2025-03-20 08:23:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10748 [2025-03-20 08:23:50] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:23:50] Production.INFO: Invoice SubTotal 1235.000000 [2025-03-20 08:23:50] Production.INFO: Invoice DetTotal 1235 [2025-03-20 08:23:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:23:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:23:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:23:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 12:24:01] Production.INFO: ==31804== Lock acquired, processing the job... [2025-03-20 12:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:24:01] Production.INFO: neon service started [2025-03-20 12:24:01] Production.INFO: neon service started [2025-03-20 12:24:01] Production.INFO: ==31804== Releasing lock... [2025-03-20 12:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:24:01] Production.INFO: ==31807== Lock acquired, processing the job... [2025-03-20 08:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:24:02] Production.INFO: ==31807== Releasing lock... [2025-03-20 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:24:02] Production.INFO: ==31809== Lock acquired, processing the job... [2025-03-20 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:24:02] Production.INFO: ==31809== Releasing lock... [2025-03-20 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:24:02] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5 Jul 8 to Aug 7",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Extension Jul 8 to Aug 7",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License Add-On Jul 8 to Aug 7",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Call Recording Add-On Jul 8 to Aug 7",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE eFax Add-On Jul 8 to Aug 7",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Unbilled Extension for Opus Consulting Jul 8 to Aug 7",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5 Aug 8 to Sep 7",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Extension Aug 8 to Sep 7",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License Add-On Aug 8 to Sep 7",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Call Recording Add-On Aug 8 to Sep 7",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE eFax Add-On Aug 8 to Sep 7",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Unbilled Extension for Opus Consulting Aug 8 to Sep 7",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:24:03] Production.INFO: ==31821== Lock acquired, processing the job... [2025-03-20 08:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:24:03] Production.INFO: ==31813== Lock acquired, processing the job... [2025-03-20 08:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:24:03] Production.INFO: ==31823== Lock acquired, processing the job... [2025-03-20 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:24:03] Production.INFO: ==31815== Lock acquired, processing the job... [2025-03-20 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:24:03] Production.INFO: ==31817== Lock acquired, processing the job... [2025-03-20 08:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:24:03] Production.INFO: ==31819== Lock acquired, processing the job... [2025-03-20 08:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:24:03] Production.INFO: count ==12 [2025-03-20 08:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:24:03] Production.INFO: count ==23 [2025-03-20 08:24:03] Production.ERROR: done [2025-03-20 08:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721593') start [2025-03-20 08:24:03] Production.INFO: Account Balance Start. [2025-03-20 08:24:03] Production.INFO: CreateAllLog Start [2025-03-20 08:24:03] Production.INFO: 117 [2025-03-20 08:24:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:04] Production.ERROR: done [2025-03-20 08:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721593') end [2025-03-20 08:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:24:04] Production.INFO: 1 [2025-03-20 08:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:04] Production.INFO: ==31815== Releasing lock... [2025-03-20 08:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:04] Production.INFO: ==31823== Releasing lock... [2025-03-20 08:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:24:04] Production.INFO: Total Charge 0 [2025-03-20 08:24:04] Production.INFO: CreateAllLog End [2025-03-20 08:24:04] Production.INFO: Account Balance End. [2025-03-20 08:24:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:24:04] Production.INFO: ==31819== Releasing lock... [2025-03-20 08:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:24:05 [end_date_ymd] => 2025-03-20 08:24:05 [RateCDR] => 1 ) [2025-03-20 08:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:24:05' and `end` < '2025-03-20 08:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:24:06] Production.INFO: ==== result ===== [2025-03-20 08:24:06] Production.INFO: { "Id": "15dcc391-6e61-4143-9cf4-3d1e8a4221e2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473445849)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "df2c9464-5471-4b33-96f6-d22001e6359d", "InvoiceNumber": "INV10748", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 1395.56, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "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(1742472987663+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2024-09-07T00:00:00", "Date": "\/Date(1725667200000+0000)\/", "DueDateString": "2024-10-07T00:00:00", "DueDate": "\/Date(1728259200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5 Jul 8 to Aug 7", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f21df286-24ea-46cd-b6ad-6d1a21c8558f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension Jul 8 to Aug 7", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "DiscountRate": 0.00, "LineItemID": "2ba286f0-1cbc-4361-ac15-d44b60ef19d4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On Jul 8 to Aug 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "DiscountRate": 0.00, "LineItemID": "ca9e2420-e43e-45ea-bba0-8fd8977557e3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On Jul 8 to Aug 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "DiscountRate": 0.00, "LineItemID": "f5f43af7-faa9-4877-8b2a-297c42e68ed5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE eFax Add-On Jul 8 to Aug 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "DiscountRate": 0.00, "LineItemID": "1abd8824-8d31-4d94-9a39-93593b04f496", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Unbilled Extension for Opus Consulting Jul 8 to Aug 7", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "357a469a-6e7e-4807-abd9-c4bacf19e884", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5 Aug 8 to Sep 7", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f440f881-e385-4f36-a4ef-ac5ce81a9432", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension Aug 8 to Sep 7", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "DiscountRate": 0.00, "LineItemID": "90d16dde-56a9-4e93-8792-5d14b5216f84", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On Aug 8 to Sep 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "DiscountRate": 0.00, "LineItemID": "4a3d4ef5-1fb1-4a1b-a78b-c95617145eeb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On Aug 8 to Sep 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "DiscountRate": 0.00, "LineItemID": "8d7de104-28c7-4b13-abb8-8fbee4f01b55", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE eFax Add-On Aug 8 to Sep 7", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "DiscountRate": 0.00, "LineItemID": "7c9de301-4fe5-447a-951d-bfba5ebd68b7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Unbilled Extension for Opus Consulting Aug 8 to Sep 7", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "dba67e48-290e-47c8-8f1c-ff3a409ba5e3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 1235.00, "TotalTax": 160.56, "Total": 1395.56, "UpdatedDateUTC": "\/Date(1742473445803+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:24:06] Production.INFO: -- Create Invoice id --df2c9464-5471-4b33-96f6-d22001e6359d [2025-03-20 08:24:06] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:24:06] Production.INFO: CheckInvoice xerov2: INV10403 [2025-03-20 08:24:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10403 [2025-03-20 08:24:09] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:24:09] Production.INFO: Invoice SubTotal 197.760000 [2025-03-20 08:24:09] Production.INFO: Invoice DetTotal 197.76 [2025-03-20 08:24:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-03-20 08:24:12] Production.ERROR: CronJobId end10 [2025-03-20 08:24:12] Production.INFO: ==31817== Releasing lock... [2025-03-20 08:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:24:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:24:14] Production.INFO: call_cost start [2025-03-20 08:24:14] Production.INFO: call_cost end [2025-03-20 08:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:24:15] Production.INFO: ==31813== Releasing lock... [2025-03-20 08:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:24:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:24:17] Production.INFO: count ==256 [2025-03-20 08:24:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:24:05 - End Time 2025-03-20 08:24:05 [2025-03-20 08:24:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721596', 'tblTempUsageDetail_20' ) start [2025-03-20 08:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721596', 'tblTempUsageDetail_20' ) end [2025-03-20 08:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721596', 'tblTempVendorCDR_20' ) start [2025-03-20 08:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721596', 'tblTempVendorCDR_20' ) end [2025-03-20 08:24:17] Production.INFO: ProcessCDR(1,14721596,1,1,2) [2025-03-20 08:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:24:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:24:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 06-18-2024 To 07-17-2024",Quantity : 1,UnitAmount : 0.170000,LineAmount : 0.170000},{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-03-20 08:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721596', 'tblTempUsageDetail_20' ) start [2025-03-20 08:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721596', 'tblTempUsageDetail_20' ) end [2025-03-20 08:24:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:24:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:24:22] Production.INFO: ==31821== Releasing lock... [2025-03-20 08:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:24:22] Production.INFO: 30.5 MB #Memory Used# [2025-03-20 08:24:24] Production.INFO: ==== result ===== [2025-03-20 08:24:24] Production.INFO: { "Id": "1c3e39ae-4ca1-4710-a8a0-fd7c58dfbfde", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742473464749)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a9e05ce9-b465-4cdc-a564-ca7ae2c9d2fb", "InvoiceNumber": "INV10403", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 223.50, "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-07-18T00:00:00", "Date": "\/Date(1721260800000+0000)\/", "DueDateString": "2024-08-17T00:00:00", "DueDate": "\/Date(1723852800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 06-18-2024 To 07-17-2024", "UnitAmount": 0.17, "TaxType": "TAX020", "TaxAmount": 0.02, "LineAmount": 0.17, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "36c5fb9d-0304-48a2-b761-f42e4f16fae3", "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": "a11054c2-7728-4d0a-b982-3f43e618a8d6", "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": "6d69b231-597c-4982-b490-3bf860ced727", "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": "e19c6ca8-b7d8-41d1-a80f-6da3c61faad7", "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": "72db14f2-eec5-4d1a-980d-54e3b5550d9e", "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": "6961d3a3-11d1-4c52-96b1-5570fa26e6af", "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": "119c9335-ea14-4f9f-ac70-a032245aaffe", "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": "4266a1c8-2901-4e82-a8a1-7c92eba86e02", "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": "f256b320-e7dd-40be-bc86-c5f2169c75a6", "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": "60787069-409e-4bab-91b0-5d4d9717991d", "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": "d3e6945e-b417-4b1e-9b7f-53e17467c1dd", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 197.76, "TotalTax": 25.74, "Total": 223.50, "UpdatedDateUTC": "\/Date(1742473464670+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:24:24] Production.INFO: -- Create Invoice id --a9e05ce9-b465-4cdc-a564-ca7ae2c9d2fb [2025-03-20 08:24:24] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:24:24] Production.INFO: CheckInvoice xerov2: INV9661 [2025-03-20 08:24:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV9661 [2025-03-20 08:24:27] Production.INFO: Check Invoice Id XEROV21 [2025-03-20 08:24:27] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:24:27] Production.INFO: -- Xero End Inovice -- [2025-03-20 08:24:27] Production.INFO: ==30966== Releasing lock... [2025-03-20 08:24:27] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10799 #Stops# [2025-03-20 08:24:27] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 12:25:01] Production.INFO: ==31906== Lock acquired, processing the job... [2025-03-20 12:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:25:01] Production.INFO: neon service started [2025-03-20 12:25:01] Production.INFO: neon service started [2025-03-20 12:25:01] Production.INFO: ==31906== Releasing lock... [2025-03-20 12:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:25:02] Production.INFO: ==31908== Lock acquired, processing the job... [2025-03-20 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:25:02] Production.INFO: ==31910== Lock acquired, processing the job... [2025-03-20 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:25:02] Production.INFO: ==31910== Releasing lock... [2025-03-20 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:25:02] Production.INFO: ==31908== Releasing lock... [2025-03-20 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:25:03] Production.INFO: ==31917== Lock acquired, processing the job... [2025-03-20 08:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:25:03] Production.INFO: ==31923== Lock acquired, processing the job... [2025-03-20 08:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:25:03] Production.INFO: ==31913== Lock acquired, processing the job... [2025-03-20 08:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 08:25:03] Production.INFO: ==31915== Lock acquired, processing the job... [2025-03-20 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:25:04] Production.INFO: count ==12 [2025-03-20 08:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:25:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:25:04] Production.INFO: count ==23 [2025-03-20 08:25:04] Production.INFO: ==31919== Lock acquired, processing the job... [2025-03-20 08:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:25:04] Production.INFO: ==31921== Lock acquired, processing the job... [2025-03-20 08:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721597') start [2025-03-20 08:25:04] Production.INFO: Account Balance Start. [2025-03-20 08:25:04] Production.INFO: CreateAllLog Start [2025-03-20 08:25:04] Production.INFO: 117 [2025-03-20 08:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:25:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721597') end [2025-03-20 08:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:25:04] Production.INFO: 1 [2025-03-20 08:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:25:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.INFO: ==31923== Releasing lock... [2025-03-20 08:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.INFO: ==31915== Releasing lock... [2025-03-20 08:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.ERROR: done [2025-03-20 08:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:25:04] Production.ERROR: done [2025-03-20 08:25:04] Production.INFO: Total Charge 0 [2025-03-20 08:25:04] Production.INFO: CreateAllLog End [2025-03-20 08:25:05] Production.INFO: Account Balance End. [2025-03-20 08:25:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:25:05] Production.INFO: ==31919== Releasing lock... [2025-03-20 08:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:25:05 [end_date_ymd] => 2025-03-20 08:25:05 [RateCDR] => 1 ) [2025-03-20 08:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:25:05' and `end` < '2025-03-20 08:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:25:11] Production.ERROR: CronJobId end10 [2025-03-20 08:25:11] Production.INFO: ==31917== Releasing lock... [2025-03-20 08:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:25:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:25:14] Production.INFO: call_cost start [2025-03-20 08:25:14] Production.INFO: call_cost end [2025-03-20 08:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:25:15] Production.INFO: ==31913== Releasing lock... [2025-03-20 08:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:25:18] Production.INFO: count ==257 [2025-03-20 08:25:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:25:05 - End Time 2025-03-20 08:25:05 [2025-03-20 08:25:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721601', 'tblTempUsageDetail_20' ) start [2025-03-20 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721601', 'tblTempUsageDetail_20' ) end [2025-03-20 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721601', 'tblTempVendorCDR_20' ) start [2025-03-20 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721601', 'tblTempVendorCDR_20' ) end [2025-03-20 08:25:18] Production.INFO: ProcessCDR(1,14721601,1,1,2) [2025-03-20 08:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721601', 'tblTempUsageDetail_20' ) start [2025-03-20 08:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721601', 'tblTempUsageDetail_20' ) end [2025-03-20 08:25:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:25:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:25:23] Production.INFO: ==31921== Releasing lock... [2025-03-20 08:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:25:23] Production.INFO: 30.5 MB #Memory Used# [2025-03-20 12:26:01] Production.INFO: ==31997== Lock acquired, processing the job... [2025-03-20 12:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:26:01] Production.INFO: neon service started [2025-03-20 12:26:01] Production.INFO: neon service started [2025-03-20 12:26:01] Production.INFO: ==31997== Releasing lock... [2025-03-20 12:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:26:01] Production.INFO: ==32001== Lock acquired, processing the job... [2025-03-20 12:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:26:01] Production.INFO: ==32001== Releasing lock... [2025-03-20 12:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:26:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:26:01] Production.INFO: ==31999== Lock acquired, processing the job... [2025-03-20 08:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:26:02] Production.INFO: ==31999== Releasing lock... [2025-03-20 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:26:03] Production.INFO: ==32010== Lock acquired, processing the job... [2025-03-20 08:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:26:03] Production.INFO: ==32012== Lock acquired, processing the job... [2025-03-20 08:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:26:03] Production.INFO: Account Balance Start. [2025-03-20 08:26:03] Production.INFO: CreateAllLog Start [2025-03-20 08:26:03] Production.INFO: 117 [2025-03-20 08:26:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.INFO: ==32004== Lock acquired, processing the job... [2025-03-20 08:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:26:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.INFO: ==32006== Lock acquired, processing the job... [2025-03-20 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:26:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.INFO: ==32008== Lock acquired, processing the job... [2025-03-20 08:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:26:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.INFO: Date 2025-03-16 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:26:03] Production.INFO: Date 2025-03-17 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.INFO: Date 2025-03-18 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.INFO: ==32014== Lock acquired, processing the job... [2025-03-20 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:26:03] Production.ERROR: done [2025-03-20 08:26:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:26:03] Production.INFO: Date 2025-03-19 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:26:03] Production.INFO: Date 2025-03-20 [2025-03-20 08:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:26:03] Production.INFO: count ==12 [2025-03-20 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-03-20 08:26:03] Production.INFO: count ==23 [2025-03-20 08:26:03] Production.ERROR: done [2025-03-20 08:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721604') start [2025-03-20 08:26:03] Production.INFO: Total Charge 0 [2025-03-20 08:26:03] Production.INFO: CreateAllLog End [2025-03-20 08:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721604') end [2025-03-20 08:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:26:03] Production.INFO: 1 [2025-03-20 08:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:26:03] Production.INFO: ==32014== Releasing lock... [2025-03-20 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:26:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:26:03] Production.INFO: ==32006== Releasing lock... [2025-03-20 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:26:04] Production.INFO: Account Balance End. [2025-03-20 08:26:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:26:04] Production.INFO: ==32010== Releasing lock... [2025-03-20 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:26:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:26:04 [end_date_ymd] => 2025-03-20 08:26:04 [RateCDR] => 1 ) [2025-03-20 08:26:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:26:04' and `end` < '2025-03-20 08:26:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:26: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-03-20 08:26:11] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:26:11] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:26:11] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:26:11] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:26:11] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:26:11] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:26:11] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:26:11] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:26:11] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:26:11] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:26:11] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:26:11] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:26:11] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:26:11] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:26:11] Production.ERROR: CronJobId end10 [2025-03-20 08:26:11] Production.INFO: ==32008== Releasing lock... [2025-03-20 08:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:26:12] Production.INFO: call_cost start [2025-03-20 08:26:12] Production.INFO: call_cost end [2025-03-20 08:26:13] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:26:13] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:26:13] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:26:13] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:26:13] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:26:13] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:26:13] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:26:13] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:26:13] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:26:13] Production.INFO: ==32004== Releasing lock... [2025-03-20 08:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:26:13] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:26:16] Production.INFO: count ==257 [2025-03-20 08:26:16] Production.ERROR: pbx CDR StartTime 2025-03-20 05:26:04 - End Time 2025-03-20 08:26:04 [2025-03-20 08:26:16] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:26:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721606', 'tblTempUsageDetail_20' ) start [2025-03-20 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721606', 'tblTempUsageDetail_20' ) end [2025-03-20 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721606', 'tblTempVendorCDR_20' ) start [2025-03-20 08:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721606', 'tblTempVendorCDR_20' ) end [2025-03-20 08:26:17] Production.INFO: ProcessCDR(1,14721606,1,1,2) [2025-03-20 08:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721606', 'tblTempUsageDetail_20' ) start [2025-03-20 08:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721606', 'tblTempUsageDetail_20' ) end [2025-03-20 08:26:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:26:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:26:20] Production.INFO: ==32012== Releasing lock... [2025-03-20 08:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:26:20] Production.INFO: 30.5 MB #Memory Used# [2025-03-20 12:27:01] Production.INFO: ==32118== Lock acquired, processing the job... [2025-03-20 12:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:27:01] Production.INFO: neon service started [2025-03-20 12:27:01] Production.INFO: neon service started [2025-03-20 12:27:01] Production.INFO: ==32118== Releasing lock... [2025-03-20 12:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:27:02] Production.INFO: ==32120== Lock acquired, processing the job... [2025-03-20 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:27:02] Production.INFO: ==32120== Releasing lock... [2025-03-20 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:27:02] Production.INFO: ==32122== Lock acquired, processing the job... [2025-03-20 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:27:02] Production.INFO: ==32122== Releasing lock... [2025-03-20 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:27:03] Production.INFO: ==32130== Lock acquired, processing the job... [2025-03-20 08:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:27:03] Production.INFO: ==32134== Lock acquired, processing the job... [2025-03-20 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:27:03] Production.INFO: Account Balance Start. [2025-03-20 08:27:03] Production.INFO: CreateAllLog Start [2025-03-20 08:27:03] Production.INFO: 117 [2025-03-20 08:27:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:03] Production.INFO: count ==12 [2025-03-20 08:27:03] Production.INFO: ==32124== Lock acquired, processing the job... [2025-03-20 08:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:27:03] Production.INFO: ==32126== Lock acquired, processing the job... [2025-03-20 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:27:03] Production.INFO: count ==23 [2025-03-20 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721607') start [2025-03-20 08:27:03] Production.INFO: ==32128== Lock acquired, processing the job... [2025-03-20 08:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:27:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721607') end [2025-03-20 08:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:27:03] Production.INFO: 1 [2025-03-20 08:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:27:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:27:03] Production.INFO: ==32134== Releasing lock... [2025-03-20 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:27:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:27:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:27:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:03] Production.INFO: ==32132== Lock acquired, processing the job... [2025-03-20 08:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:27:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:27:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:03] Production.INFO: Date 2025-03-16 [2025-03-20 08:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:04] Production.INFO: ==32126== Releasing lock... [2025-03-20 08:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:27:04] Production.ERROR: done [2025-03-20 08:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:27:04] Production.INFO: Total Charge 0 [2025-03-20 08:27:04] Production.INFO: CreateAllLog End [2025-03-20 08:27:04] Production.ERROR: done [2025-03-20 08:27:04] Production.INFO: Account Balance End. [2025-03-20 08:27:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:27:04] Production.INFO: ==32130== Releasing lock... [2025-03-20 08:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:27:05 [end_date_ymd] => 2025-03-20 08:27:05 [RateCDR] => 1 ) [2025-03-20 08:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:27:05' and `end` < '2025-03-20 08:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:27:12] Production.ERROR: CronJobId end10 [2025-03-20 08:27:12] Production.INFO: ==32128== Releasing lock... [2025-03-20 08:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:27:14] Production.INFO: call_cost start [2025-03-20 08:27:14] Production.INFO: call_cost end [2025-03-20 08:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:27:15] Production.INFO: ==32124== Releasing lock... [2025-03-20 08:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:27:17] Production.INFO: count ==261 [2025-03-20 08:27:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:27:05 - End Time 2025-03-20 08:27:05 [2025-03-20 08:27:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721611', 'tblTempUsageDetail_20' ) start [2025-03-20 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721611', 'tblTempUsageDetail_20' ) end [2025-03-20 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721611', 'tblTempVendorCDR_20' ) start [2025-03-20 08:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721611', 'tblTempVendorCDR_20' ) end [2025-03-20 08:27:17] Production.INFO: ProcessCDR(1,14721611,1,1,2) [2025-03-20 08:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721611', 'tblTempUsageDetail_20' ) start [2025-03-20 08:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721611', 'tblTempUsageDetail_20' ) end [2025-03-20 08:27:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:27:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:27:23] Production.INFO: ==32132== Releasing lock... [2025-03-20 08:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:27:23] Production.INFO: 31 MB #Memory Used# [2025-03-20 12:28:02] Production.INFO: ==32208== Lock acquired, processing the job... [2025-03-20 12:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:28:02] Production.INFO: neon service started [2025-03-20 12:28:02] Production.INFO: neon service started [2025-03-20 12:28:02] Production.INFO: ==32208== Releasing lock... [2025-03-20 12:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:28:02] Production.INFO: ==32210== Lock acquired, processing the job... [2025-03-20 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:28:02] Production.INFO: ==32210== Releasing lock... [2025-03-20 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:28:02] Production.INFO: ==32213== Lock acquired, processing the job... [2025-03-20 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:28:03] Production.INFO: ==32213== Releasing lock... [2025-03-20 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:28:03] Production.INFO: ==32223== Lock acquired, processing the job... [2025-03-20 08:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:28:03] Production.INFO: ==32221== Lock acquired, processing the job... [2025-03-20 08:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:28:03] Production.INFO: ==32217== Lock acquired, processing the job... [2025-03-20 08:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:28:03] Production.INFO: ==32215== Lock acquired, processing the job... [2025-03-20 08:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:28:04] Production.INFO: ==32219== Lock acquired, processing the job... [2025-03-20 08:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:28:04] Production.INFO: Account Balance Start. [2025-03-20 08:28:04] Production.INFO: CreateAllLog Start [2025-03-20 08:28:04] Production.INFO: 117 [2025-03-20 08:28:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:28:04] Production.INFO: ==32225== Lock acquired, processing the job... [2025-03-20 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:28:04] Production.ERROR: done [2025-03-20 08:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:28:04] Production.INFO: count ==12 [2025-03-20 08:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.INFO: count ==23 [2025-03-20 08:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721615') start [2025-03-20 08:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.ERROR: done [2025-03-20 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721615') end [2025-03-20 08:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:28:04] Production.INFO: 1 [2025-03-20 08:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:28:04] Production.INFO: ==32217== Releasing lock... [2025-03-20 08:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:28:04] Production.INFO: ==32225== Releasing lock... [2025-03-20 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:28:04] Production.INFO: Total Charge 0 [2025-03-20 08:28:04] Production.INFO: CreateAllLog End [2025-03-20 08:28:05] Production.INFO: Account Balance End. [2025-03-20 08:28:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:28:05] Production.INFO: ==32221== Releasing lock... [2025-03-20 08:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:28:05 [end_date_ymd] => 2025-03-20 08:28:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:28:05' and `end` < '2025-03-20 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-03-20 08:28:11] Production.ERROR: CronJobId end10 [2025-03-20 08:28:11] Production.INFO: ==32219== Releasing lock... [2025-03-20 08:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:28:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:28:14] Production.INFO: call_cost start [2025-03-20 08:28:14] Production.INFO: call_cost end [2025-03-20 08:28:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:28:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:28:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:28:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:28:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:28:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:28:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:28:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:28:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:28:15] Production.INFO: ==32215== Releasing lock... [2025-03-20 08:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:28:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:28:17] Production.INFO: count ==261 [2025-03-20 08:28:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:28:05 - End Time 2025-03-20 08:28:05 [2025-03-20 08:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721616', 'tblTempUsageDetail_20' ) start [2025-03-20 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721616', 'tblTempUsageDetail_20' ) end [2025-03-20 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721616', 'tblTempVendorCDR_20' ) start [2025-03-20 08:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721616', 'tblTempVendorCDR_20' ) end [2025-03-20 08:28:17] Production.INFO: ProcessCDR(1,14721616,1,1,2) [2025-03-20 08:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721616', 'tblTempUsageDetail_20' ) start [2025-03-20 08:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721616', 'tblTempUsageDetail_20' ) end [2025-03-20 08:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:28:21] Production.INFO: ==32223== Releasing lock... [2025-03-20 08:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:28:21] Production.INFO: 31 MB #Memory Used# [2025-03-20 12:29:01] Production.INFO: ==32302== Lock acquired, processing the job... [2025-03-20 12:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:29:01] Production.INFO: neon service started [2025-03-20 12:29:01] Production.INFO: neon service started [2025-03-20 12:29:01] Production.INFO: ==32302== Releasing lock... [2025-03-20 12:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:29:02] Production.INFO: ==32304== Lock acquired, processing the job... [2025-03-20 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:29:02] Production.INFO: ==32306== Lock acquired, processing the job... [2025-03-20 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:29:02] Production.INFO: ==32304== Releasing lock... [2025-03-20 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:29:02] Production.INFO: ==32306== Releasing lock... [2025-03-20 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:29:03] Production.INFO: ==32311== Lock acquired, processing the job... [2025-03-20 08:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:29:03] Production.INFO: ==32315== Lock acquired, processing the job... [2025-03-20 08:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:29:03] Production.INFO: ==32321== Lock acquired, processing the job... [2025-03-20 08:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:29:03] Production.INFO: ==32313== Lock acquired, processing the job... [2025-03-20 08:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:29:03] Production.INFO: ==32317== Lock acquired, processing the job... [2025-03-20 08:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:29:03] Production.INFO: count ==12 [2025-03-20 08:29:03] Production.INFO: ==32319== Lock acquired, processing the job... [2025-03-20 08:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:29:03] Production.INFO: count ==23 [2025-03-20 08:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721617') start [2025-03-20 08:29:03] Production.INFO: Account Balance Start. [2025-03-20 08:29:03] Production.INFO: CreateAllLog Start [2025-03-20 08:29:03] Production.INFO: 117 [2025-03-20 08:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:29:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721617') end [2025-03-20 08:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:29:04] Production.INFO: 1 [2025-03-20 08:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.INFO: ==32321== Releasing lock... [2025-03-20 08:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.INFO: ==32313== Releasing lock... [2025-03-20 08:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:29:04] Production.ERROR: done [2025-03-20 08:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.ERROR: done [2025-03-20 08:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:29:04] Production.INFO: Total Charge 0 [2025-03-20 08:29:04] Production.INFO: CreateAllLog End [2025-03-20 08:29:04] Production.INFO: Account Balance End. [2025-03-20 08:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:29:05] Production.INFO: ==32317== Releasing lock... [2025-03-20 08:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:29:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:29:05 [end_date_ymd] => 2025-03-20 08:29:05 [RateCDR] => 1 ) [2025-03-20 08:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:29:05' and `end` < '2025-03-20 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-03-20 08:29:14] Production.ERROR: CronJobId end10 [2025-03-20 08:29:14] Production.INFO: ==32315== Releasing lock... [2025-03-20 08:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:29:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:29:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:29:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:29:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:29:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:29:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:29:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:29:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:29:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:29:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:29:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:29:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:29:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:29:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:29:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:29:16] Production.INFO: call_cost start [2025-03-20 08:29:16] Production.INFO: call_cost end [2025-03-20 08:29:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:29:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:29:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:29:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:29:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:29:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:29:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:29:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:29:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:29:17] Production.INFO: ==32311== Releasing lock... [2025-03-20 08:29:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:29:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:29:18] Production.INFO: count ==268 [2025-03-20 08:29:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:29:05 - End Time 2025-03-20 08:29:05 [2025-03-20 08:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721621', 'tblTempUsageDetail_20' ) start [2025-03-20 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721621', 'tblTempUsageDetail_20' ) end [2025-03-20 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721621', 'tblTempVendorCDR_20' ) start [2025-03-20 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721621', 'tblTempVendorCDR_20' ) end [2025-03-20 08:29:18] Production.INFO: ProcessCDR(1,14721621,1,1,2) [2025-03-20 08:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721621', 'tblTempUsageDetail_20' ) start [2025-03-20 08:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721621', 'tblTempUsageDetail_20' ) end [2025-03-20 08:29:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:29:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:29:23] Production.INFO: ==32319== Releasing lock... [2025-03-20 08:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:29:23] Production.INFO: 30 MB #Memory Used# [2025-03-20 12:30:02] Production.INFO: ==32395== Lock acquired, processing the job... [2025-03-20 12:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:30:02] Production.INFO: neon service started [2025-03-20 12:30:02] Production.INFO: neon service started [2025-03-20 12:30:02] Production.INFO: ==32395== Releasing lock... [2025-03-20 12:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:30:02] Production.INFO: ==32399== Lock acquired, processing the job... [2025-03-20 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:30:03] Production.INFO: ==32401== Lock acquired, processing the job... [2025-03-20 12:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:30:03] Production.INFO: ==32401== Releasing lock... [2025-03-20 12:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:30:03] Production.INFO: ==32399== Releasing lock... [2025-03-20 08:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:30:04] Production.INFO: ==32410== Lock acquired, processing the job... [2025-03-20 08:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:30:04] Production.INFO: ==32416== Lock acquired, processing the job... [2025-03-20 08:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 08:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:30:04] Production.INFO: ==32418== Lock acquired, processing the job... [2025-03-20 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:30:04] Production.INFO: ==32404== Lock acquired, processing the job... [2025-03-20 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 08:30:04] Production.INFO: ==32406== Lock acquired, processing the job... [2025-03-20 08:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 08:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 08:30:04] Production.ERROR: CronJob PID - 32410 [2025-03-20 08:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 08:30:04] Production.ERROR: CronJob ID - 10 [2025-03-20 08:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 08:30:00 [2025-03-20 08:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 08:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 08:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 08:30:04] Production.ERROR: CronJob PID - 32416 [2025-03-20 08:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 08:30:04] Production.ERROR: CronJob ID - 17 [2025-03-20 08:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 08:30:00 [2025-03-20 08:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 08:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 08:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 08:30:04] Production.ERROR: CronJob PID - 32418 [2025-03-20 08:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 08:30:04] Production.ERROR: CronJob ID - 19 [2025-03-20 08:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 08:30:00 [2025-03-20 08:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 08:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 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-03-20 08:30:04] Production.INFO: ==32408== Lock acquired, processing the job... [2025-03-20 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 08:30:04] Production.INFO: ==32404== Releasing lock... [2025-03-20 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 08:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 08:30:04] Production.INFO: count ==12 [2025-03-20 08:30:05] Production.INFO: ==32412== Lock acquired, processing the job... [2025-03-20 08:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:30:05] Production.INFO: ==32414== Lock acquired, processing the job... [2025-03-20 08:30:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:30:05] Production.ERROR: done [2025-03-20 08:30:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:30:05] Production.INFO: count ==23 [2025-03-20 08:30:05] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721622') start [2025-03-20 08:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 08:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721623', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 08:30:05] Production.INFO: Account Balance Start. [2025-03-20 08:30:05] Production.INFO: CreateAllLog Start [2025-03-20 08:30:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:30:05] Production.INFO: 117 [2025-03-20 08:30:05] Production.INFO: Date 2025-03-08 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.INFO: Date 2025-03-09 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721622') end [2025-03-20 08:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:30:05] Production.INFO: 1 [2025-03-20 08:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:30:05] Production.INFO: Date 2025-03-10 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.INFO: Date 2025-03-11 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.INFO: Date 2025-03-12 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.INFO: ==32418== Releasing lock... [2025-03-20 08:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:30:05] Production.INFO: ==32408== Releasing lock... [2025-03-20 08:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:30:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:30:05] Production.INFO: Date 2025-03-13 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.INFO: Date 2025-03-14 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.INFO: Date 2025-03-15 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.INFO: Date 2025-03-16 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.ERROR: done [2025-03-20 08:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 08:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:30:05] Production.ERROR: done [2025-03-20 08:30:05] Production.INFO: Total Charge 0 [2025-03-20 08:30:06] Production.INFO: CreateAllLog End [2025-03-20 08:30:06] Production.INFO: Account Balance End. [2025-03-20 08:30:06] Production.ERROR: CronJobId end 12 [2025-03-20 08:30:06] Production.INFO: ==32412== Releasing lock... [2025-03-20 08:30:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:30:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:30:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:30:07 [end_date_ymd] => 2025-03-20 08:30:07 [RateCDR] => 1 ) [2025-03-20 08:30:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:30:07' and `end` < '2025-03-20 08:30:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721623', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 08:30:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 08:30:08] Production.INFO: ProcessCDR(1,14721623,1,1,2) [2025-03-20 08:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721623,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721623,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:30:09] Production.INFO: ==32416== Releasing lock... [2025-03-20 08:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 08:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 08:30:15] Production.ERROR: CronJobId end10 [2025-03-20 08:30:15] Production.INFO: ==32410== Releasing lock... [2025-03-20 08:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:30:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:30:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:30:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:30:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:30:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:30:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:30:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:30:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:30:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:30:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:30:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:30:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:30:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:30:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:30:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:30:17] Production.INFO: call_cost start [2025-03-20 08:30:17] Production.INFO: call_cost end [2025-03-20 08:30:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:30:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:30:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:30:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:30:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:30:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:30:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:30:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:30:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:30:18] Production.INFO: ==32406== Releasing lock... [2025-03-20 08:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:30:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:30:19] Production.INFO: count ==292 [2025-03-20 08:30:19] Production.ERROR: pbx CDR StartTime 2025-03-20 05:30:07 - End Time 2025-03-20 08:30:07 [2025-03-20 08:30:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721627', 'tblTempUsageDetail_20' ) start [2025-03-20 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721627', 'tblTempUsageDetail_20' ) end [2025-03-20 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721627', 'tblTempVendorCDR_20' ) start [2025-03-20 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721627', 'tblTempVendorCDR_20' ) end [2025-03-20 08:30:19] Production.INFO: ProcessCDR(1,14721627,1,1,2) [2025-03-20 08:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721627', 'tblTempUsageDetail_20' ) start [2025-03-20 08:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721627', 'tblTempUsageDetail_20' ) end [2025-03-20 08:30:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:30:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:30:24] Production.INFO: ==32414== Releasing lock... [2025-03-20 08:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:30:24] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 12:31:01] Production.INFO: ==32487== Lock acquired, processing the job... [2025-03-20 12:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:31:01] Production.INFO: neon service started [2025-03-20 12:31:01] Production.INFO: neon service started [2025-03-20 12:31:01] Production.INFO: ==32487== Releasing lock... [2025-03-20 12:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:31:02] Production.INFO: ==32489== Lock acquired, processing the job... [2025-03-20 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:31:02] Production.INFO: ==32489== Releasing lock... [2025-03-20 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:31:02] Production.INFO: ==32491== Lock acquired, processing the job... [2025-03-20 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:31:02] Production.INFO: ==32491== Releasing lock... [2025-03-20 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:31:03] Production.INFO: ==32496== Lock acquired, processing the job... [2025-03-20 08:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:31:03] Production.INFO: ==32494== Lock acquired, processing the job... [2025-03-20 08:31:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10800 #Starts# [2025-03-20 08:31:03] Production.INFO: -- Xero Api Check -- [2025-03-20 08:31:03] Production.INFO: ==32500== Lock acquired, processing the job... [2025-03-20 08:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:31:03] Production.INFO: ==32498== Lock acquired, processing the job... [2025-03-20 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:31:03] Production.INFO: ==32502== Lock acquired, processing the job... [2025-03-20 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:31:03] Production.INFO: ==32506== Lock acquired, processing the job... [2025-03-20 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:31:03] Production.INFO: Account Balance Start. [2025-03-20 08:31:03] Production.INFO: CreateAllLog Start [2025-03-20 08:31:03] Production.INFO: ==32504== Lock acquired, processing the job... [2025-03-20 08:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:31:03] Production.INFO: 117 [2025-03-20 08:31:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:31:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 08: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-03-20 08:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:31:04] Production.INFO: count ==12 [2025-03-20 08: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-03-20 08:31:04] Production.INFO: count ==23 [2025-03-20 08:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:31:04] Production.INFO: ==32498== Releasing lock... [2025-03-20 08:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721631') start [2025-03-20 08:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 08: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] => 0.638902 [namelookup_time] => 0.280478 [connect_time] => 0.289189 [pretransfer_time] => 0.482642 [size_upload] => 82 [size_download] => 2755 [speed_download] => 4312 [speed_upload] => 128 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 0.637993 [redirect_time] => 0 [redirect_url] => [primary_ip] => 23.53.4.17 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 57998 ) [2025-03-20 08:31:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzM4NjQsImV4cCI6MTc0MjQ3NDE2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDczODY0LCJhdF9oYXNoIjoiVjNVdzRheC1uN0h0N255Z3pPdzFkZyIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.iLwwLRsSYnloVj8G53IsH59PpF3NUjg5yWqBX-cnfU28hMNBKODc5Q-kYcgQnLv7NrJLlr6pBxZWVHlOr5vSTm1DyE2lG6ycg-vJCp9N_48chiRF5MecT5xfPG5VdEzmlEm7bKrgFgdZjsa9wt3-8lhZjqH-Cb9bCcisaKGmQNLDpsN4Zj2jzm9Py9Ovg2Zm1FSyqlYYDHvCg7PGp2yWxylB_yKlZu11E7tzwkwxvUb72G6GmMMuqB0YhS2B7URK_yZnYy9DjEGxeBj6zMMn1Wx5uJL-ei5dIYW0A-a1qd25ljMw2mfY8L_ipclAwfp6JEUgynxKAeUZ09ZVkXhIWQ [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzM4NjQsImV4cCI6MTc0MjQ3NTY2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.pUGgxCS0iUnC_Tnf5UzvNYeqc8zhgbEzmxQ8x3olsPDEC0rfvZlkU-hi_DWHWeYfc7Xroa6LaAFTxSDmSAeaS-_aP8KkoDlFGrpTAMBeASnQ5IgaqVlAGO-ieEsRFykTDeaxioUgir0OS7DlfXgAd6RfzUbqBWppV9G-DNs_bLx1Sfs1FzYdS1bOO-LCh5440uLQ6daiuoIvs7pAvwCzbStYydFFBb5mqtbZf-pfGML8HOx3DoPCePt3-X5JGElIgH0oUzogwHf3FD4_PsH4zNPv6JyA1VvCQFYpOSRn92UoFYxthL7qb6pz1yo4X_8tUIdqnaHbsQJyh94F5vLZQw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => l9fYakFdH6PsZug-_3Zm4heQFdjUL0og76iiaGULh7M [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 08:31:04] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzM4NjQsImV4cCI6MTc0MjQ3NDE2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDczODY0LCJhdF9oYXNoIjoiVjNVdzRheC1uN0h0N255Z3pPdzFkZyIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.iLwwLRsSYnloVj8G53IsH59PpF3NUjg5yWqBX-cnfU28hMNBKODc5Q-kYcgQnLv7NrJLlr6pBxZWVHlOr5vSTm1DyE2lG6ycg-vJCp9N_48chiRF5MecT5xfPG5VdEzmlEm7bKrgFgdZjsa9wt3-8lhZjqH-Cb9bCcisaKGmQNLDpsN4Zj2jzm9Py9Ovg2Zm1FSyqlYYDHvCg7PGp2yWxylB_yKlZu11E7tzwkwxvUb72G6GmMMuqB0YhS2B7URK_yZnYy9DjEGxeBj6zMMn1Wx5uJL-ei5dIYW0A-a1qd25ljMw2mfY8L_ipclAwfp6JEUgynxKAeUZ09ZVkXhIWQ [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzM4NjQsImV4cCI6MTc0MjQ3NTY2NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.pUGgxCS0iUnC_Tnf5UzvNYeqc8zhgbEzmxQ8x3olsPDEC0rfvZlkU-hi_DWHWeYfc7Xroa6LaAFTxSDmSAeaS-_aP8KkoDlFGrpTAMBeASnQ5IgaqVlAGO-ieEsRFykTDeaxioUgir0OS7DlfXgAd6RfzUbqBWppV9G-DNs_bLx1Sfs1FzYdS1bOO-LCh5440uLQ6daiuoIvs7pAvwCzbStYydFFBb5mqtbZf-pfGML8HOx3DoPCePt3-X5JGElIgH0oUzogwHf3FD4_PsH4zNPv6JyA1VvCQFYpOSRn92UoFYxthL7qb6pz1yo4X_8tUIdqnaHbsQJyh94F5vLZQw [expires_in] => 1800 [token_type] => Bearer [refresh_token] => l9fYakFdH6PsZug-_3Zm4heQFdjUL0og76iiaGULh7M [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 08:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:31:04] Production.ERROR: done [2025-03-20 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721631') end [2025-03-20 08:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:31:04] Production.INFO: 1 [2025-03-20 08:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:31:04] Production.INFO: AccountID 90 [2025-03-20 08:31:04] Production.INFO: ==32506== Releasing lock... [2025-03-20 08:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:31:04] Production.INFO: AccountName Terry Anderson [2025-03-20 08:31:04] Production.ERROR: done [2025-03-20 08:31:04] Production.INFO: Checkcustomer [2025-03-20 08:31:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 08:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:31:04] Production.INFO: Total Charge 0 [2025-03-20 08:31:04] Production.INFO: CreateAllLog End [2025-03-20 08:31:05] Production.INFO: Account Balance End. [2025-03-20 08:31:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:31:05] Production.INFO: ==32502== Releasing lock... [2025-03-20 08:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:31:05 [end_date_ymd] => 2025-03-20 08:31:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:31:05' and `end` < '2025-03-20 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-03-20 08:31:07] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-03-20 08:31:07] Production.INFO: -- count --1 [2025-03-20 08:31:07] Production.INFO: AccountID 102 [2025-03-20 08:31:07] Production.INFO: AccountName Dominos 39013 (Mudassar Zia) [2025-03-20 08:31:07] Production.INFO: Checkcustomer [2025-03-20 08:31:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29" [2025-03-20 08:31:10] Production.INFO: Contact id print CheckCustomer Case===8893c88d-0603-4dd4-9524-da8cd6ed65c9 [2025-03-20 08:31:10] Production.INFO: -- count --1 [2025-03-20 08:31:10] Production.INFO: AccountID 14 [2025-03-20 08:31:10] Production.INFO: AccountName Dominos 10515 (Ronny Khan) [2025-03-20 08:31:10] Production.INFO: Checkcustomer [2025-03-20 08:31:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-03-20 08:31:12] Production.ERROR: CronJobId end10 [2025-03-20 08:31:12] Production.INFO: ==32500== Releasing lock... [2025-03-20 08:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:31:13] Production.INFO: Contact id print CheckCustomer Case===de29a9c7-cecf-49b7-b42f-7b106467f0ce [2025-03-20 08:31:13] Production.INFO: -- count --1 [2025-03-20 08:31:13] Production.INFO: AccountID 133 [2025-03-20 08:31:13] Production.INFO: AccountName Compass ELC - Admin [2025-03-20 08:31:13] Production.INFO: Checkcustomer [2025-03-20 08:31:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin" [2025-03-20 08:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:31:15] Production.INFO: call_cost start [2025-03-20 08:31:15] Production.INFO: call_cost end [2025-03-20 08:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:31:15] Production.INFO: ==32496== Releasing lock... [2025-03-20 08:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:31:17] Production.INFO: Contact id print CheckCustomer Case===45a97611-b88b-4aeb-9499-d79cf1bf033c [2025-03-20 08:31:17] Production.INFO: -- count --1 [2025-03-20 08:31:17] Production.INFO: AccountID 93 [2025-03-20 08:31:17] Production.INFO: AccountName Personas [2025-03-20 08:31:17] Production.INFO: Checkcustomer [2025-03-20 08:31:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-03-20 08:31:17] Production.INFO: count ==306 [2025-03-20 08:31:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:31:05 - End Time 2025-03-20 08:31:05 [2025-03-20 08:31:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721632', 'tblTempUsageDetail_20' ) start [2025-03-20 08:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721632', 'tblTempUsageDetail_20' ) end [2025-03-20 08:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721632', 'tblTempVendorCDR_20' ) start [2025-03-20 08:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721632', 'tblTempVendorCDR_20' ) end [2025-03-20 08:31:17] Production.INFO: ProcessCDR(1,14721632,1,1,2) [2025-03-20 08:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721632,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:31:20] Production.INFO: Contact id print CheckCustomer Case===31472f57-4acd-4468-9ab0-8ed346b2d96f [2025-03-20 08:31:20] Production.INFO: -- count --1 [2025-03-20 08:31:20] Production.INFO: AccountID 151 [2025-03-20 08:31:20] Production.INFO: AccountName Dominos 10584 (Rick Singh) [2025-03-20 08:31:20] Production.INFO: Checkcustomer [2025-03-20 08:31:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29" [2025-03-20 08:31:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721632,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721632', 'tblTempUsageDetail_20' ) start [2025-03-20 08:31:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721632', 'tblTempUsageDetail_20' ) end [2025-03-20 08:31:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:31:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:31:20] Production.INFO: ==32504== Releasing lock... [2025-03-20 08:31:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:31:20] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 08:31:23] Production.INFO: Contact id print CheckCustomer Case===1e8b6299-6571-4c51-87f6-a0280833b109 [2025-03-20 08:31:23] Production.INFO: -- count --1 [2025-03-20 08:31:23] Production.INFO: AccountID 57 [2025-03-20 08:31:23] Production.INFO: AccountName Dominos 39041 (Rishi Kakar) [2025-03-20 08:31:23] Production.INFO: Checkcustomer [2025-03-20 08:31:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29" [2025-03-20 08:31:25] Production.INFO: Contact id print CheckCustomer Case===e874c379-a70c-405c-bc58-0ac6921c29ba [2025-03-20 08:31:25] Production.INFO: -- count --1 [2025-03-20 08:31:25] Production.INFO: AccountID 107 [2025-03-20 08:31:25] Production.INFO: AccountName Dominos 10179 (Akshay Naik) [2025-03-20 08:31:25] Production.INFO: Checkcustomer [2025-03-20 08:31:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-03-20 08:31:28] Production.INFO: Contact id print CheckCustomer Case===669bb033-93e4-4d2e-aa92-454e682a5c09 [2025-03-20 08:31:28] Production.INFO: -- count --1 [2025-03-20 08:31:28] Production.INFO: AccountID 140 [2025-03-20 08:31:28] Production.INFO: AccountName PharmaSave (Uxbridge) [2025-03-20 08:31:28] Production.INFO: Checkcustomer [2025-03-20 08:31:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-03-20 08:31:30] Production.INFO: Contact id print CheckCustomer Case===ac797c62-9d84-4beb-9f18-85a8d961b94f [2025-03-20 08:31:30] Production.INFO: -- count --1 [2025-03-20 08:31:30] Production.INFO: AccountID 161 [2025-03-20 08:31:30] Production.INFO: AccountName Dominos 10476 (Sandeep Chaudhari) [2025-03-20 08:31:30] Production.INFO: Checkcustomer [2025-03-20 08:31:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:31:33] Production.INFO: Contact id print CheckCustomer Case===fc4aff1d-c37f-4c5c-9191-e58f25d1bcb1 [2025-03-20 08:31:33] Production.INFO: -- count --1 [2025-03-20 08:31:33] Production.INFO: AccountID 32 [2025-03-20 08:31:33] Production.INFO: AccountName Dominos 10353 (Ronny Khan) [2025-03-20 08:31:33] Production.INFO: Checkcustomer [2025-03-20 08:31:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29" [2025-03-20 08:31:36] Production.INFO: Contact id print CheckCustomer Case===a80d32c8-bbaa-43c9-b4d0-a7fff9d3ef21 [2025-03-20 08:31:36] Production.INFO: -- count --1 [2025-03-20 08:31:36] Production.INFO: AccountID 136 [2025-03-20 08:31:36] Production.INFO: AccountName Dominos 10483 (Ronny Khan) [2025-03-20 08:31:36] Production.INFO: Checkcustomer [2025-03-20 08:31:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-03-20 08:31:39] Production.INFO: Contact id print CheckCustomer Case===39e8e2e7-bbd0-4c58-9676-ff9889ed0960 [2025-03-20 08:31:39] Production.INFO: -- count --1 [2025-03-20 08:31:39] Production.INFO: AccountID 146 [2025-03-20 08:31:39] Production.INFO: AccountName Destawed [2025-03-20 08:31:39] Production.INFO: Checkcustomer [2025-03-20 08:31:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed" [2025-03-20 08:31:42] Production.INFO: Contact id print CheckCustomer Case===4fde2a4c-1ac0-4a92-9312-bc67898ee56e [2025-03-20 08:31:42] Production.INFO: -- count --1 [2025-03-20 08:31:42] Production.INFO: AccountID 184 [2025-03-20 08:31:42] Production.INFO: AccountName TTC (Donlands - Strathmore Subway) - Construction Site (Cancom - Think Secure) [2025-03-20 08:31:42] Production.INFO: Checkcustomer [2025-03-20 08:31:42] 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-03-20 08:31:45] Production.INFO: Contact id print CheckCustomer Case===bc13c86d-cd70-4f32-948a-d1f4850061a0 [2025-03-20 08:31:45] Production.INFO: -- count --1 [2025-03-20 08:31:45] Production.INFO: AccountID 185 [2025-03-20 08:31:45] Production.INFO: AccountName TTC (College-Subway) - Construction Site (Cancom - Think Secure) [2025-03-20 08:31:45] Production.INFO: Checkcustomer [2025-03-20 08:31:45] 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-03-20 08:31:48] Production.INFO: Contact id print CheckCustomer Case===8c5c7d93-c398-4829-91b3-8174fe21f9a7 [2025-03-20 08:31:48] Production.INFO: -- count --1 [2025-03-20 08:31:48] Production.INFO: AccountID 187 [2025-03-20 08:31:48] Production.INFO: AccountName Graybill & Hazlewood - Trial Lawyers [2025-03-20 08:31:48] Production.INFO: Checkcustomer [2025-03-20 08:31:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers" [2025-03-20 08:31:51] Production.INFO: Contact id print CheckCustomer Case===b306e9f3-f561-41b4-bd54-ad2d17a96c90 [2025-03-20 08:31:51] Production.INFO: -- count --1 [2025-03-20 08:31:51] Production.INFO: AccountID 230 [2025-03-20 08:31:51] Production.INFO: AccountName Harbourfront Medicine Cabinet [2025-03-20 08:31:51] Production.INFO: Checkcustomer [2025-03-20 08:31:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet" [2025-03-20 08:31:54] Production.INFO: Contact id print CheckCustomer Case===e4609e79-2a2f-49b0-a0f8-9766de2b1774 [2025-03-20 08:31:54] Production.INFO: -- count --1 [2025-03-20 08:31:54] Production.INFO: AccountID 20 [2025-03-20 08:31:54] Production.INFO: AccountName Dominos 10514 (Sandeep Chaudhari) [2025-03-20 08:31:54] Production.INFO: Checkcustomer [2025-03-20 08:31:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:31:57] Production.INFO: Contact id print CheckCustomer Case===f2764bcf-df27-4f1c-86cf-e8005ea19444 [2025-03-20 08:31:57] Production.INFO: -- count --1 [2025-03-20 08:31:57] Production.INFO: AccountID 21 [2025-03-20 08:31:57] Production.INFO: AccountName Aaxel Insurance Brokers (Peel Ltd.) [2025-03-20 08:31:57] Production.INFO: Checkcustomer [2025-03-20 08:31:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29" [2025-03-20 08:31:59] Production.INFO: Contact id print CheckCustomer Case===ae39ade0-cb7f-4596-8b84-41b21b906e54 [2025-03-20 08:31:59] Production.INFO: -- count --1 [2025-03-20 08:31:59] Production.INFO: AccountID 43 [2025-03-20 08:31:59] Production.INFO: AccountName Wattpad [2025-03-20 08:31:59] Production.INFO: Checkcustomer [2025-03-20 08:31:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad" [2025-03-20 12:32:02] Production.INFO: ==32601== Lock acquired, processing the job... [2025-03-20 12:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:32:02] Production.INFO: neon service started [2025-03-20 12:32:02] Production.INFO: neon service started [2025-03-20 12:32:02] Production.INFO: ==32601== Releasing lock... [2025-03-20 12:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:32:02] Production.INFO: Contact id print CheckCustomer Case===8c586c5d-b401-441c-8cc4-7ca5911a8c28 [2025-03-20 08:32:02] Production.INFO: -- count --1 [2025-03-20 08:32:02] Production.INFO: AccountID 49 [2025-03-20 08:32:02] Production.INFO: AccountName Technologies for Learning Group [2025-03-20 08:32:02] Production.INFO: Checkcustomer [2025-03-20 08:32:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group" [2025-03-20 08:32:02] Production.INFO: ==32603== Lock acquired, processing the job... [2025-03-20 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:32:02] Production.INFO: ==32603== Releasing lock... [2025-03-20 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:32:03] Production.INFO: ==32605== Lock acquired, processing the job... [2025-03-20 12:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:32:03] Production.INFO: ==32605== Releasing lock... [2025-03-20 12:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:32:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:32:03] Production.INFO: ==32611== Lock acquired, processing the job... [2025-03-20 08:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:32:03] Production.INFO: ==32615== Lock acquired, processing the job... [2025-03-20 08:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:32:04] Production.INFO: ==32607== Lock acquired, processing the job... [2025-03-20 08:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:32:04] Production.INFO: ==32609== Lock acquired, processing the job... [2025-03-20 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:32:04] Production.INFO: ==32613== Lock acquired, processing the job... [2025-03-20 08:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:32:04] Production.INFO: ==32617== Lock acquired, processing the job... [2025-03-20 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:32:04] Production.INFO: Account Balance Start. [2025-03-20 08:32:04] Production.INFO: CreateAllLog Start [2025-03-20 08:32:04] Production.INFO: 117 [2025-03-20 08:32:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:32:04] Production.ERROR: done [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.INFO: count ==12 [2025-03-20 08:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:32:04] Production.INFO: count ==23 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721636') start [2025-03-20 08:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.INFO: ==32609== Releasing lock... [2025-03-20 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:32:04] Production.ERROR: done [2025-03-20 08:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721636') end [2025-03-20 08:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:32:04] Production.INFO: 1 [2025-03-20 08:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.INFO: ==32617== Releasing lock... [2025-03-20 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:32:04] Production.INFO: Total Charge 0 [2025-03-20 08:32:04] Production.INFO: CreateAllLog End [2025-03-20 08:32:05] Production.INFO: Account Balance End. [2025-03-20 08:32:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:32:05] Production.INFO: ==32613== Releasing lock... [2025-03-20 08:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:32:05] Production.INFO: Contact id print CheckCustomer Case===548d87cf-625c-4b68-be89-595b2161a774 [2025-03-20 08:32:05] Production.INFO: -- count --1 [2025-03-20 08:32:05] Production.INFO: AccountID 137 [2025-03-20 08:32:05] Production.INFO: AccountName Dominos 10558 (David Mills) [2025-03-20 08:32:05] Production.INFO: Checkcustomer [2025-03-20 08:32:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29" [2025-03-20 08:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:32:05 [end_date_ymd] => 2025-03-20 08:32:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:32:05' and `end` < '2025-03-20 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-03-20 08:32:08] Production.INFO: Contact id print CheckCustomer Case===2149c89a-278c-4dda-ad9d-2a94478559a8 [2025-03-20 08:32:08] Production.INFO: -- count --1 [2025-03-20 08:32:08] Production.INFO: AccountID 138 [2025-03-20 08:32:08] Production.INFO: AccountName Dominos 10567 (Sandeep Chaudhari) [2025-03-20 08:32:08] Production.INFO: Checkcustomer [2025-03-20 08:32:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:32:11] Production.INFO: Contact id print CheckCustomer Case===e7245c9e-f77f-4765-a131-4eff2704ecf0 [2025-03-20 08:32:11] Production.INFO: -- count --1 [2025-03-20 08:32:11] Production.INFO: AccountID 192 [2025-03-20 08:32:11] Production.INFO: AccountName Ontario Turtle Conservation Centre [2025-03-20 08:32:11] Production.INFO: Checkcustomer [2025-03-20 08:32:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre" [2025-03-20 08:32:11] Production.ERROR: CronJobId end10 [2025-03-20 08:32:11] Production.INFO: ==32611== Releasing lock... [2025-03-20 08:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:32:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:32:13] Production.INFO: Contact id print CheckCustomer Case===24cd1aba-5ae0-4087-aad8-a6d157b1a548 [2025-03-20 08:32:13] Production.INFO: -- count --1 [2025-03-20 08:32:13] Production.INFO: AccountID 52 [2025-03-20 08:32:13] Production.INFO: AccountName Dunbloor Medical Centre [2025-03-20 08:32:13] Production.INFO: Checkcustomer [2025-03-20 08:32:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre" [2025-03-20 08:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:32:15] Production.INFO: call_cost start [2025-03-20 08:32:15] Production.INFO: call_cost end [2025-03-20 08:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:32:15] Production.INFO: ==32607== Releasing lock... [2025-03-20 08:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:32:16] Production.INFO: Contact id print CheckCustomer Case===afd1bd01-a006-445e-9a92-85deb57a3bc0 [2025-03-20 08:32:16] Production.INFO: -- count --1 [2025-03-20 08:32:16] Production.INFO: AccountID 54 [2025-03-20 08:32:16] Production.INFO: AccountName Dominos 10296 (Gurinder Saini) [2025-03-20 08:32:16] Production.INFO: Checkcustomer [2025-03-20 08:32:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29" [2025-03-20 08:32:18] Production.INFO: count ==310 [2025-03-20 08:32:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:32:05 - End Time 2025-03-20 08:32:05 [2025-03-20 08:32:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721637', 'tblTempUsageDetail_20' ) start [2025-03-20 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721637', 'tblTempUsageDetail_20' ) end [2025-03-20 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721637', 'tblTempVendorCDR_20' ) start [2025-03-20 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721637', 'tblTempVendorCDR_20' ) end [2025-03-20 08:32:18] Production.INFO: ProcessCDR(1,14721637,1,1,2) [2025-03-20 08:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:32:18] Production.INFO: Contact id print CheckCustomer Case===6c1941a7-23be-4018-9a2e-523e55d27a57 [2025-03-20 08:32:18] Production.INFO: -- count --1 [2025-03-20 08:32:18] Production.INFO: AccountID 82 [2025-03-20 08:32:18] Production.INFO: AccountName Delco Windows & Doors [2025-03-20 08:32:18] Production.INFO: Checkcustomer [2025-03-20 08:32:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Delco%20Windows%20%26%20Doors" [2025-03-20 08:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721637,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721637,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721637', 'tblTempUsageDetail_20' ) start [2025-03-20 08:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721637', 'tblTempUsageDetail_20' ) end [2025-03-20 08:32:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:32:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:32:21] Production.INFO: ==32615== Releasing lock... [2025-03-20 08:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:32:21] Production.INFO: 30.75 MB #Memory Used# [2025-03-20 08:32:21] Production.INFO: Contact id print CheckCustomer Case===2a87a634-1e8b-4663-9f61-13fff8791cfb [2025-03-20 08:32:21] Production.INFO: -- count --1 [2025-03-20 08:32:21] Production.INFO: AccountID 83 [2025-03-20 08:32:21] Production.INFO: AccountName Dominos 10455 (Ricky Singh) [2025-03-20 08:32:21] Production.INFO: Checkcustomer [2025-03-20 08:32:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29" [2025-03-20 08:32:25] Production.INFO: Contact id print CheckCustomer Case===40d799a0-fa8e-497f-be5e-788af7a33b55 [2025-03-20 08:32:25] Production.INFO: -- count --1 [2025-03-20 08:32:25] Production.INFO: AccountID 84 [2025-03-20 08:32:25] Production.INFO: AccountName Dominos 10534 (Sandeep Chaudhari) [2025-03-20 08:32:25] Production.INFO: Checkcustomer [2025-03-20 08:32:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:32:27] Production.INFO: Contact id print CheckCustomer Case===8f094a5b-f8d1-4cb4-be2e-59f80f574839 [2025-03-20 08:32:27] Production.INFO: -- count --1 [2025-03-20 08:32:27] Production.INFO: AccountID 131 [2025-03-20 08:32:27] Production.INFO: AccountName Infinite Possibilities [2025-03-20 08:32:27] Production.INFO: Checkcustomer [2025-03-20 08:32:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities" [2025-03-20 08:32:30] Production.INFO: Contact id print CheckCustomer Case===a00da236-4e1c-4856-8599-fd3ed8268a07 [2025-03-20 08:32:30] Production.INFO: -- count --1 [2025-03-20 08:32:30] Production.INFO: AccountID 186 [2025-03-20 08:32:30] Production.INFO: AccountName Compass ELC - Shamrock [2025-03-20 08:32:30] Production.INFO: Checkcustomer [2025-03-20 08:32:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Shamrock" [2025-03-20 08:32:33] Production.INFO: Contact id print CheckCustomer Case===df7a6ec9-a1c3-47bf-9a70-a8ca44c5cf25 [2025-03-20 08:32:33] Production.INFO: -- count --1 [2025-03-20 08:32:33] Production.INFO: AccountID 189 [2025-03-20 08:32:33] Production.INFO: AccountName Bauman Group Inc. [2025-03-20 08:32:33] Production.INFO: Checkcustomer [2025-03-20 08:32:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc." [2025-03-20 08:32:36] Production.INFO: Contact id print CheckCustomer Case===55837711-2979-41d6-b74d-0bee4c711dc6 [2025-03-20 08:32:36] Production.INFO: -- count --1 [2025-03-20 08:32:36] Production.INFO: AccountID 190 [2025-03-20 08:32:36] Production.INFO: AccountName Behrns Metal Fabricating Inc [2025-03-20 08:32:36] Production.INFO: Checkcustomer [2025-03-20 08:32:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-03-20 08:32:38] Production.INFO: Contact id print CheckCustomer Case===b5208613-a884-49ac-9417-cb8891a7008b [2025-03-20 08:32:38] Production.INFO: -- count --1 [2025-03-20 08:32:38] Production.INFO: AccountID 191 [2025-03-20 08:32:38] Production.INFO: AccountName Lake Life Financial Solutions Inc. [2025-03-20 08:32:38] Production.INFO: Checkcustomer [2025-03-20 08:32:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc." [2025-03-20 08:32:41] Production.INFO: Contact id print CheckCustomer Case===2ab5d3da-c85d-4d7e-91cc-61b21f64178e [2025-03-20 08:32:41] Production.INFO: -- count --1 [2025-03-20 08:32:41] Production.INFO: AccountID 70 [2025-03-20 08:32:41] Production.INFO: AccountName Dominos 10293 (David Mills) [2025-03-20 08:32:41] Production.INFO: Checkcustomer [2025-03-20 08:32:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29" [2025-03-20 08:32:44] Production.INFO: Contact id print CheckCustomer Case===dd25779b-67aa-4626-b1f4-381418d46919 [2025-03-20 08:32:44] Production.INFO: -- count --1 [2025-03-20 08:32:44] Production.INFO: AccountID 258 [2025-03-20 08:32:44] Production.INFO: AccountName Lion Motors [2025-03-20 08:32:44] Production.INFO: Checkcustomer [2025-03-20 08:32:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lion%20Motors" [2025-03-20 08:32:46] Production.INFO: -- count --0 [2025-03-20 08:32:48] Production.INFO: ==== Contact Information 1 [2025-03-20 08:32:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lion%20Motors" [2025-03-20 08:32:51] Production.INFO: ContactID 8b770578-c376-449c-a07d-c9913161456e [2025-03-20 08:32:51] Production.INFO: -- Create Customer id --8b770578-c376-449c-a07d-c9913161456e [2025-03-20 08:32:51] Production.INFO: -- Create Customer name --test customer [2025-03-20 08:32:51] Production.INFO: AccountID 98 [2025-03-20 08:32:51] Production.INFO: AccountName Dominos 10537 (Brandon Meyers) [2025-03-20 08:32:51] Production.INFO: Checkcustomer [2025-03-20 08:32:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29" [2025-03-20 08:32:54] Production.INFO: Contact id print CheckCustomer Case===e432f2ff-87d1-4a0f-b87d-a33325db6e89 [2025-03-20 08:32:54] Production.INFO: -- count --1 [2025-03-20 08:32:54] Production.INFO: AccountID 106 [2025-03-20 08:32:54] Production.INFO: AccountName G4 Broker [2025-03-20 08:32:54] Production.INFO: Checkcustomer [2025-03-20 08:32:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker" [2025-03-20 08:32:57] Production.INFO: Contact id print CheckCustomer Case===3cfda7a3-4db5-4680-a967-42dbcc00679b [2025-03-20 08:32:57] Production.INFO: -- count --1 [2025-03-20 08:32:57] Production.INFO: AccountID 119 [2025-03-20 08:32:57] Production.INFO: AccountName Dominos 10402 (Anwar Hossain) [2025-03-20 08:32:57] Production.INFO: Checkcustomer [2025-03-20 08:32:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29" [2025-03-20 08:33:00] Production.INFO: Contact id print CheckCustomer Case===638629e4-7df5-47ca-ab31-ab7d228ee597 [2025-03-20 08:33:00] Production.INFO: -- count --1 [2025-03-20 08:33:00] Production.INFO: AccountID 123 [2025-03-20 08:33:00] Production.INFO: AccountName Dominos 10547 (Nathan Krishnan) [2025-03-20 08:33:00] Production.INFO: Checkcustomer [2025-03-20 08:33:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29" [2025-03-20 12:33:01] Production.INFO: ==32712== Lock acquired, processing the job... [2025-03-20 12:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:33:01] Production.INFO: neon service started [2025-03-20 12:33:01] Production.INFO: neon service started [2025-03-20 12:33:01] Production.INFO: ==32712== Releasing lock... [2025-03-20 12:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:33:02] Production.INFO: ==32714== Lock acquired, processing the job... [2025-03-20 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:33:02] Production.INFO: ==32714== Releasing lock... [2025-03-20 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:33:02] Production.INFO: ==32716== Lock acquired, processing the job... [2025-03-20 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:33:02] Production.INFO: ==32716== Releasing lock... [2025-03-20 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:33:02] Production.INFO: Contact id print CheckCustomer Case===b7a54595-13f3-43f4-ba4f-ba957a026442 [2025-03-20 08:33:02] Production.INFO: -- count --1 [2025-03-20 08:33:02] Production.INFO: AccountID 134 [2025-03-20 08:33:02] Production.INFO: AccountName Sidhu Law Chambers [2025-03-20 08:33:02] Production.INFO: Checkcustomer [2025-03-20 08:33:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sidhu%20Law%20Chambers" [2025-03-20 08:33:03] Production.INFO: ==32727== Lock acquired, processing the job... [2025-03-20 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:33:03] Production.INFO: ==32732== Lock acquired, processing the job... [2025-03-20 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:33:03] Production.INFO: Account Balance Start. [2025-03-20 08:33:03] Production.INFO: CreateAllLog Start [2025-03-20 08:33:03] Production.INFO: 117 [2025-03-20 08:33:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:03] Production.INFO: ==32721== Lock acquired, processing the job... [2025-03-20 08:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:33:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:33:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:03] Production.INFO: ==32723== Lock acquired, processing the job... [2025-03-20 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:33:03] Production.INFO: ==32725== Lock acquired, processing the job... [2025-03-20 08:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:33:03] Production.INFO: count ==12 [2025-03-20 08:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:33:03] Production.INFO: count ==23 [2025-03-20 08:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721639') start [2025-03-20 08:33:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:03] Production.INFO: ==32730== Lock acquired, processing the job... [2025-03-20 08:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:33:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721639') end [2025-03-20 08:33:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:33:03] Production.INFO: 1 [2025-03-20 08:33:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:33:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:03] Production.INFO: ==32732== Releasing lock... [2025-03-20 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:33:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:33:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:04] Production.INFO: ==32723== Releasing lock... [2025-03-20 08:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:04] Production.ERROR: done [2025-03-20 08:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:33:04] Production.INFO: Total Charge 0 [2025-03-20 08:33:04] Production.INFO: CreateAllLog End [2025-03-20 08:33:04] Production.ERROR: done [2025-03-20 08:33:04] Production.INFO: Account Balance End. [2025-03-20 08:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:33:04] Production.INFO: ==32727== Releasing lock... [2025-03-20 08:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:33:05 [end_date_ymd] => 2025-03-20 08:33:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:33:05' and `end` < '2025-03-20 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-03-20 08:33:06] Production.INFO: Contact id print CheckCustomer Case===2844b970-e681-4127-91fd-f61dd7a36ea0 [2025-03-20 08:33:06] Production.INFO: -- count --1 [2025-03-20 08:33:06] Production.INFO: AccountID 229 [2025-03-20 08:33:06] Production.INFO: AccountName Dominos 10096 (Albert Chan) [2025-03-20 08:33:06] Production.INFO: Checkcustomer [2025-03-20 08:33:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29" [2025-03-20 08:33:08] Production.INFO: Contact id print CheckCustomer Case===dc1089bc-e9ac-4fac-8919-44bc3549e60a [2025-03-20 08:33:08] Production.INFO: -- count --1 [2025-03-20 08:33:08] Production.INFO: AccountID 5 [2025-03-20 08:33:08] Production.INFO: AccountName DMCI [2025-03-20 08:33:08] Production.INFO: Checkcustomer [2025-03-20 08:33:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI" [2025-03-20 08:33:11] Production.INFO: Contact id print CheckCustomer Case===7bc9d577-a1e5-4866-a22c-25fb311cbded [2025-03-20 08:33:11] Production.INFO: -- count --1 [2025-03-20 08:33:11] Production.INFO: AccountID 13 [2025-03-20 08:33:11] Production.INFO: AccountName Rosedale Diner [2025-03-20 08:33:11] Production.INFO: Checkcustomer [2025-03-20 08:33:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner" [2025-03-20 08:33:12] Production.ERROR: CronJobId end10 [2025-03-20 08:33:12] Production.INFO: ==32725== Releasing lock... [2025-03-20 08:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:33:14] Production.INFO: Contact id print CheckCustomer Case===d315b223-0318-473a-8190-ce14e673da0e [2025-03-20 08:33:14] Production.INFO: -- count --1 [2025-03-20 08:33:14] Production.INFO: AccountID 50 [2025-03-20 08:33:14] Production.INFO: AccountName J. Randall Graham, CPA [2025-03-20 08:33:14] Production.INFO: Checkcustomer [2025-03-20 08:33:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="J.%20Randall%20Graham%2C%20CPA" [2025-03-20 08:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:33:15] Production.INFO: call_cost start [2025-03-20 08:33:15] Production.INFO: call_cost end [2025-03-20 08:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:33:16] Production.INFO: ==32721== Releasing lock... [2025-03-20 08:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:33:17] Production.INFO: count ==308 [2025-03-20 08:33:17] Production.INFO: Contact id print CheckCustomer Case===7aa12a04-66d6-4e6f-ae1b-86427d18b26f [2025-03-20 08:33:17] Production.INFO: -- count --1 [2025-03-20 08:33:17] Production.INFO: AccountID 73 [2025-03-20 08:33:17] Production.INFO: AccountName Discovery Point Nursery [2025-03-20 08:33:17] Production.INFO: Checkcustomer [2025-03-20 08:33:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery" [2025-03-20 08:33:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:33:05 - End Time 2025-03-20 08:33:05 [2025-03-20 08:33:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721642', 'tblTempUsageDetail_20' ) start [2025-03-20 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721642', 'tblTempUsageDetail_20' ) end [2025-03-20 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721642', 'tblTempVendorCDR_20' ) start [2025-03-20 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721642', 'tblTempVendorCDR_20' ) end [2025-03-20 08:33:17] Production.INFO: ProcessCDR(1,14721642,1,1,2) [2025-03-20 08:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721642,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:33:20] Production.INFO: Contact id print CheckCustomer Case===cb58377f-8ea7-4ab2-9952-d9be1c41b3e2 [2025-03-20 08:33:20] Production.INFO: -- count --1 [2025-03-20 08:33:20] Production.INFO: AccountID 139 [2025-03-20 08:33:20] Production.INFO: AccountName Dominos 10560 (Ricky Singh) [2025-03-20 08:33:20] Production.INFO: Checkcustomer [2025-03-20 08:33:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29" [2025-03-20 08:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721642,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721642', 'tblTempUsageDetail_20' ) start [2025-03-20 08:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721642', 'tblTempUsageDetail_20' ) end [2025-03-20 08:33:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:33:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:33:20] Production.INFO: ==32730== Releasing lock... [2025-03-20 08:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:33:20] Production.INFO: 30.75 MB #Memory Used# [2025-03-20 08:33:23] Production.INFO: Contact id print CheckCustomer Case===7c24a24f-0252-42cb-b4ca-aa9aa79c4f0b [2025-03-20 08:33:23] Production.INFO: -- count --1 [2025-03-20 08:33:23] Production.INFO: AccountID 65 [2025-03-20 08:33:23] Production.INFO: AccountName AOPG Inc. [2025-03-20 08:33:23] Production.INFO: Checkcustomer [2025-03-20 08:33:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc." [2025-03-20 08:33:25] Production.INFO: Contact id print CheckCustomer Case===d7433a1b-abec-492c-bcf0-79c422ee5e45 [2025-03-20 08:33:25] Production.INFO: -- count --1 [2025-03-20 08:33:25] Production.INFO: AccountID 160 [2025-03-20 08:33:25] Production.INFO: AccountName Avani Rolls & Bowls [2025-03-20 08:33:25] Production.INFO: Checkcustomer [2025-03-20 08:33:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-03-20 08:33:28] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f [2025-03-20 08:33:28] Production.INFO: -- count --1 [2025-03-20 08:33:28] Production.INFO: AccountID 53 [2025-03-20 08:33:28] Production.INFO: AccountName Plus Travel Group [2025-03-20 08:33:28] Production.INFO: Checkcustomer [2025-03-20 08:33:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 08:33:32] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47 [2025-03-20 08:33:32] Production.INFO: -- count --1 [2025-03-20 08:33:32] Production.INFO: -- Xero Add Inovice -- [2025-03-20 08:33:32] Production.INFO: CheckInvoice xerov2: INV11636 [2025-03-20 08:33:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11636 [2025-03-20 08:33:34] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:33:34] Production.INFO: Invoice SubTotal 3.000000 [2025-03-20 08:33:34] Production.INFO: Invoice DetTotal 3 [2025-03-20 08:33:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 08:33:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:33:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:33:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:33: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-03-20 08:33:50] Production.INFO: ==== result ===== [2025-03-20 08:33:50] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-03-20 08:33:50] 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-03-20 08:33:50] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-03-20 08:33:50] Production.INFO: -- Create Invoice Error -- [2025-03-20 08:33:50] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:33:50] Production.INFO: CheckInvoice xerov2: INV11566 [2025-03-20 08:33:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11566 [2025-03-20 08:33:53] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:33:53] Production.INFO: Invoice SubTotal 60.000000 [2025-03-20 08:33:53] Production.INFO: Invoice DetTotal 60 [2025-03-20 08:33:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039013%20%28Mudassar%20Zia%29" [2025-03-20 08:33:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:33:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:34:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 12:34:02] Production.INFO: ==376== Lock acquired, processing the job... [2025-03-20 12:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:34:02] Production.INFO: neon service started [2025-03-20 12:34:02] Production.INFO: neon service started [2025-03-20 12:34:02] Production.INFO: ==376== Releasing lock... [2025-03-20 12:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:34:02] Production.INFO: ==378== Lock acquired, processing the job... [2025-03-20 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:34:02] Production.INFO: ==380== Lock acquired, processing the job... [2025-03-20 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:34:03] Production.INFO: ==380== Releasing lock... [2025-03-20 12:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:34:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:34:03] Production.INFO: ==378== Releasing lock... [2025-03-20 08:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:34:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:34:04] Production.INFO: ==391== Lock acquired, processing the job... [2025-03-20 08:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:34:04] Production.INFO: ==389== Lock acquired, processing the job... [2025-03-20 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:34:04] 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-03-20 08:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:34:04] Production.INFO: Account Balance Start. [2025-03-20 08:34:04] Production.INFO: CreateAllLog Start [2025-03-20 08:34:04] Production.INFO: 117 [2025-03-20 08:34:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:04] Production.INFO: ==387== Lock acquired, processing the job... [2025-03-20 08:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:34:04] Production.INFO: ==385== Lock acquired, processing the job... [2025-03-20 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:34:04] Production.INFO: ==383== Lock acquired, processing the job... [2025-03-20 08:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:04] Production.INFO: ==393== Lock acquired, processing the job... [2025-03-20 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:34: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-03-20 08:34:05] Production.INFO: Date 2025-03-15 [2025-03-20 08:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:05] Production.INFO: Date 2025-03-16 [2025-03-20 08:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:05] Production.INFO: count ==12 [2025-03-20 08:34: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-03-20 08:34:05] Production.INFO: count ==23 [2025-03-20 08:34:05] Production.ERROR: done [2025-03-20 08:34:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721646') start [2025-03-20 08:34:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:34:05] Production.INFO: Date 2025-03-17 [2025-03-20 08:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:05] Production.INFO: ==385== Releasing lock... [2025-03-20 08:34:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:34:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:34:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721646') end [2025-03-20 08:34:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:34:05] Production.INFO: 1 [2025-03-20 08:34:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:34:05] Production.INFO: ==393== Releasing lock... [2025-03-20 08:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:34:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:34:05] Production.ERROR: done [2025-03-20 08:34:05] Production.INFO: Date 2025-03-18 [2025-03-20 08:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:05] Production.INFO: Date 2025-03-19 [2025-03-20 08:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:05] Production.INFO: Date 2025-03-20 [2025-03-20 08:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:34:05] Production.INFO: Total Charge 0 [2025-03-20 08:34:05] Production.INFO: CreateAllLog End [2025-03-20 08:34:05] Production.INFO: Account Balance End. [2025-03-20 08:34:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:34:05] Production.INFO: ==389== Releasing lock... [2025-03-20 08:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:34:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:34:06 [end_date_ymd] => 2025-03-20 08:34:06 [RateCDR] => 1 ) [2025-03-20 08: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-03-20 05:34:06' and `end` < '2025-03-20 08: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-03-20 08:34:08] Production.INFO: ==== result ===== [2025-03-20 08:34:08] Production.INFO: { "Id": "cc4852b4-9a36-4a20-8155-4821ede3b293", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474047937)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f930d009-1b40-46a0-a1d7-3a13af0d51f7", "InvoiceNumber": "INV11566", "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": "2025-02-19T00:00:00", "Date": "\/Date(1739923200000+0000)\/", "DueDateString": "2025-03-21T00:00:00", "DueDate": "\/Date(1742515200000+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": "d46470fc-949b-4e38-bdee-89975b637464", "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": "c93aaf30-1ed5-47d3-8cbf-f9a83c3575c6", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 60.00, "TotalTax": 3.00, "Total": 63.00, "UpdatedDateUTC": "\/Date(1742474047907+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:34:08] Production.INFO: -- Create Invoice id --f930d009-1b40-46a0-a1d7-3a13af0d51f7 [2025-03-20 08:34:08] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:34:08] Production.INFO: CheckInvoice xerov2: INV11558 [2025-03-20 08:34:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11558 [2025-03-20 08:34:11] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:34:11] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 08:34:11] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 08:34:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010515%20%28Ronny%20Khan%29" [2025-03-20 08:34:13] Production.ERROR: CronJobId end10 [2025-03-20 08:34:13] Production.INFO: ==387== Releasing lock... [2025-03-20 08:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:34:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:34:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:34:15] Production.INFO: call_cost start [2025-03-20 08:34:15] Production.INFO: call_cost end [2025-03-20 08:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:34:16] Production.INFO: ==383== Releasing lock... [2025-03-20 08:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:34:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:34:18] Production.INFO: count ==309 [2025-03-20 08:34:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:34:06 - End Time 2025-03-20 08:34:06 [2025-03-20 08:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721647', 'tblTempUsageDetail_20' ) start [2025-03-20 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721647', 'tblTempUsageDetail_20' ) end [2025-03-20 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721647', 'tblTempVendorCDR_20' ) start [2025-03-20 08:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721647', 'tblTempVendorCDR_20' ) end [2025-03-20 08:34:18] Production.INFO: ProcessCDR(1,14721647,1,1,2) [2025-03-20 08:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:34:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721647,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:34:23] 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-03-20 08:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721647,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721647', 'tblTempUsageDetail_20' ) start [2025-03-20 08:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721647', 'tblTempUsageDetail_20' ) end [2025-03-20 08:34:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:34:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:34:23] Production.INFO: ==391== Releasing lock... [2025-03-20 08:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:34:23] Production.INFO: 30.75 MB #Memory Used# [2025-03-20 08:34:25] Production.INFO: ==== result ===== [2025-03-20 08:34:25] Production.INFO: { "Id": "8144f43f-7a38-4672-aebe-788ead766629", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474065896)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "41e9c6fa-9267-4c00-a55a-d5c5bd3a5a87", "InvoiceNumber": "INV11558", "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": "2025-02-18T00:00:00", "Date": "\/Date(1739836800000+0000)\/", "DueDateString": "2025-03-20T00:00:00", "DueDate": "\/Date(1742428800000+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": "7cf0b4aa-8d90-48d2-89d1-aec1272e1b96", "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": "50fa009a-e3fc-445f-96cb-4325bda7d374", "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": "ffff4e6c-55f6-4859-81bf-db906caf0add", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742474065820+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:34:25] Production.INFO: -- Create Invoice id --41e9c6fa-9267-4c00-a55a-d5c5bd3a5a87 [2025-03-20 08:34:25] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:34:25] Production.INFO: CheckInvoice xerov2: INV11562 [2025-03-20 08:34:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11562 [2025-03-20 08:34:28] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:34:28] Production.INFO: Invoice SubTotal 232.070000 [2025-03-20 08:34:28] Production.INFO: Invoice DetTotal 232.07 [2025-03-20 08:34:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Admin" [2025-03-20 08:34:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:34:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:34:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:34:40] Production.INFO: =========Invoices String here======{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Yealink T34W 4 line, colour screen, wifi-enabled VoIP phone (uses power supply part ID YKPSU1) **New phone for Sam Monteith-Damario",Quantity : 1,UnitAmount : 201.560000,LineAmount : 201.560000},{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Yealink PS5V1200US, 5V, 1.2A AC power supply suitable for larger models of desk phones",Quantity : 1,UnitAmount : 14.510000,LineAmount : 14.510000},{taxType:"TAX020",AccountCode : 202,DiscountRate : 31.900000,"Description": "Setup of phones attached to a Cloud Phone system",Quantity : 1,UnitAmount : 23.500000,LineAmount : 16.000000} [2025-03-20 08:34:44] Production.INFO: ==== result ===== [2025-03-20 08:34:44] Production.INFO: { "Id": "be84fd57-61df-405a-b258-d89cc076a873", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474084496)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "3394711c-3ab9-43b8-b257-6202653b3eb8", "InvoiceNumber": "INV11562", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 262.24, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 7.50, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "45a97611-b88b-4aeb-9499-d79cf1bf033c", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Admin", "FirstName": "Tammy", "LastName": "Phelan", "EmailAddress": "ap@compasselc.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(1594755345803+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-18T00:00:00", "Date": "\/Date(1739836800000+0000)\/", "DueDateString": "2025-03-20T00:00:00", "DueDate": "\/Date(1742428800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Yealink T34W 4 line, colour screen, wifi-enabled VoIP phone (uses power supply part ID YKPSU1) **New phone for Sam Monteith-Damario", "UnitAmount": 201.56, "TaxType": "TAX020", "TaxAmount": 26.20, "LineAmount": 201.56, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6acd1c79-57db-47ed-86c5-3946282301fd", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Yealink PS5V1200US, 5V, 1.2A AC power supply suitable for larger models of desk phones", "UnitAmount": 14.51, "TaxType": "TAX020", "TaxAmount": 1.89, "LineAmount": 14.51, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c9488c8f-a0c9-4568-a28e-fe4f1d4b40da", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Setup of phones attached to a Cloud Phone system", "UnitAmount": 23.50, "TaxType": "TAX020", "TaxAmount": 2.08, "LineAmount": 16.00, "AccountCode": "202", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 31.90, "LineItemID": "0623244a-5ee1-4765-96bd-4de9fb438e59", "AccountID": "92a889dc-22ae-4d25-b487-df8f4980f0ad", "DiscountEnteredAsPercent": true, "DiscountAmount": 7.5000, "ValidationErrors": [] } ], "SubTotal": 232.07, "TotalTax": 30.17, "Total": 262.24, "UpdatedDateUTC": "\/Date(1742474084307+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:34:44] Production.INFO: -- Create Invoice id --3394711c-3ab9-43b8-b257-6202653b3eb8 [2025-03-20 08:34:44] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:34:44] Production.INFO: CheckInvoice xerov2: INV11555 [2025-03-20 08:34:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11555 [2025-03-20 08:34:47] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:34:47] Production.INFO: Invoice SubTotal 57.000000 [2025-03-20 08:34:47] Production.INFO: Invoice DetTotal 57 [2025-03-20 08:34:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Personas" [2025-03-20 08:34:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:34:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:34:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:35:00] 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-03-20 12:35:01] Production.INFO: ==474== Lock acquired, processing the job... [2025-03-20 12:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:35:01] Production.INFO: neon service started [2025-03-20 12:35:01] Production.INFO: neon service started [2025-03-20 12:35:01] Production.INFO: ==474== Releasing lock... [2025-03-20 12:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:35:02] Production.INFO: ==476== Lock acquired, processing the job... [2025-03-20 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:35:02] Production.INFO: ==476== Releasing lock... [2025-03-20 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:35:02] Production.INFO: ==478== Lock acquired, processing the job... [2025-03-20 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:35:02] Production.INFO: ==478== Releasing lock... [2025-03-20 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:35:03] Production.INFO: ==482== Lock acquired, processing the job... [2025-03-20 08:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:35:03] Production.INFO: ==486== Lock acquired, processing the job... [2025-03-20 08:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:35:03] Production.INFO: ==484== Lock acquired, processing the job... [2025-03-20 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:35:03] Production.INFO: ==489== Lock acquired, processing the job... [2025-03-20 08:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:35:03] Production.INFO: ==494== Lock acquired, processing the job... [2025-03-20 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:35:03] Production.INFO: ==491== Lock acquired, processing the job... [2025-03-20 08:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 08:35:03] Production.INFO: Account Balance Start. [2025-03-20 08:35:03] Production.INFO: CreateAllLog Start [2025-03-20 08:35:03] Production.INFO: 117 [2025-03-20 08:35:03] Production.INFO: count ==12 [2025-03-20 08:35:03] Production.INFO: ==484== Releasing lock... [2025-03-20 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 08:35:03] Production.INFO: count ==23 [2025-03-20 08:35:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721650') start [2025-03-20 08:35:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721650') end [2025-03-20 08:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:35:04] Production.INFO: 1 [2025-03-20 08:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:35:04] Production.ERROR: done [2025-03-20 08:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:35:04] Production.INFO: ==494== Releasing lock... [2025-03-20 08:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:35:04] Production.ERROR: done [2025-03-20 08:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:04] Production.INFO: ==== result ===== [2025-03-20 08:35:04] Production.INFO: { "Id": "bf00213d-1407-4234-869a-373b89cc9f54", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474104269)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "487ec720-0363-4659-9519-dece2bc5f512", "InvoiceNumber": "INV11555", "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": "2025-02-17T00:00:00", "Date": "\/Date(1739750400000+0000)\/", "DueDateString": "2025-03-19T00:00:00", "DueDate": "\/Date(1742342400000+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": "fbf03584-f72c-4a94-be50-c73370a96dcb", "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": "f747b976-869f-44e0-8ec9-3e4304de93ec", "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": "fe2d066b-6df4-4acd-97eb-724f2a0c7c41", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.00, "TotalTax": 7.42, "Total": 64.42, "UpdatedDateUTC": "\/Date(1742474104223+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:35:04] Production.INFO: -- Create Invoice id --487ec720-0363-4659-9519-dece2bc5f512 [2025-03-20 08:35:04] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:35:04] Production.INFO: CheckInvoice xerov2: INV11556 [2025-03-20 08:35:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11556 [2025-03-20 08:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:35:05] Production.INFO: Total Charge 0 [2025-03-20 08:35:05] Production.INFO: CreateAllLog End [2025-03-20 08:35:05] Production.INFO: Account Balance End. [2025-03-20 08:35:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:35:05] Production.INFO: ==489== Releasing lock... [2025-03-20 08:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:35:05 [end_date_ymd] => 2025-03-20 08:35:05 [RateCDR] => 1 ) [2025-03-20 08:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:35:05' and `end` < '2025-03-20 08:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:35:07] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:35:07] Production.INFO: Invoice SubTotal 67.500000 [2025-03-20 08:35:07] Production.INFO: Invoice DetTotal 67.5 [2025-03-20 08:35:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010584%20%28Rick%20Singh%29" [2025-03-20 08:35:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:35:12] Production.ERROR: CronJobId end10 [2025-03-20 08:35:12] Production.INFO: ==486== Releasing lock... [2025-03-20 08:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:35:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:35:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:35:15] Production.INFO: call_cost start [2025-03-20 08:35:15] Production.INFO: call_cost end [2025-03-20 08:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:35:16] Production.INFO: ==482== Releasing lock... [2025-03-20 08:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:35:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:35:17] Production.INFO: count ==309 [2025-03-20 08:35:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:35:05 - End Time 2025-03-20 08:35:05 [2025-03-20 08:35:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721652', 'tblTempUsageDetail_20' ) start [2025-03-20 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721652', 'tblTempUsageDetail_20' ) end [2025-03-20 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721652', 'tblTempVendorCDR_20' ) start [2025-03-20 08:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721652', 'tblTempVendorCDR_20' ) end [2025-03-20 08:35:17] Production.INFO: ProcessCDR(1,14721652,1,1,2) [2025-03-20 08:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:35:19] 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-03-20 08:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721652', 'tblTempUsageDetail_20' ) start [2025-03-20 08:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721652', 'tblTempUsageDetail_20' ) end [2025-03-20 08:35:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:35:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:35:20] Production.INFO: ==491== Releasing lock... [2025-03-20 08:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:35:20] Production.INFO: 30.75 MB #Memory Used# [2025-03-20 08:35:22] Production.INFO: ==== result ===== [2025-03-20 08:35:22] Production.INFO: { "Id": "6d1d38f8-1306-425c-8657-c79faf27cda9", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474121971)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "68b6f836-8734-4172-8fa2-0fe9fc43ecca", "InvoiceNumber": "INV11556", "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": "2025-02-17T00:00:00", "Date": "\/Date(1739750400000+0000)\/", "DueDateString": "2025-03-19T00:00:00", "DueDate": "\/Date(1742342400000+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": "845e6012-6be7-463e-85f9-340534d406d6", "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": "b53cd7e8-f3fa-428d-a5f8-7c3d388e8012", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 67.50, "TotalTax": 8.78, "Total": 76.28, "UpdatedDateUTC": "\/Date(1742474121923+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:35:22] Production.INFO: -- Create Invoice id --68b6f836-8734-4172-8fa2-0fe9fc43ecca [2025-03-20 08:35:22] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:35:22] Production.INFO: CheckInvoice xerov2: INV11550 [2025-03-20 08:35:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11550 [2025-03-20 08:35:24] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:35:24] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 08:35:24] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 08:35:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039041%20%28Rishi%20Kakar%29" [2025-03-20 08:35:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:35:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:35:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:35:36] 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-03-20 08:35:39] Production.INFO: ==== result ===== [2025-03-20 08:35:39] Production.INFO: { "Id": "079d76f9-3496-48cb-a22a-43f3f35b8805", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474139434)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c6651fdf-cf08-46e0-b6a3-e8c057bf046b", "InvoiceNumber": "INV11550", "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": "2025-02-16T00:00:00", "Date": "\/Date(1739664000000+0000)\/", "DueDateString": "2025-03-18T00:00:00", "DueDate": "\/Date(1742256000000+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": "61a76531-cadb-417c-9acd-c4c39f484af2", "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": "f7307e9b-b8bb-41b6-98da-7f990f1f6b5e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742474139387+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:35:39] Production.INFO: -- Create Invoice id --c6651fdf-cf08-46e0-b6a3-e8c057bf046b [2025-03-20 08:35:39] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:35:39] Production.INFO: CheckInvoice xerov2: INV11552 [2025-03-20 08:35:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11552 [2025-03-20 08:35:42] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:35:42] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:35:42] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:35:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010179%20%28Akshay%20Naik%29" [2025-03-20 08:35:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:35:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:35:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:35:54] 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-03-20 08:35:58] Production.INFO: ==== result ===== [2025-03-20 08:35:58] Production.INFO: { "Id": "b23a3e5e-911e-4288-bcfe-d4efdb95bf36", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474157944)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b0521aea-c1f6-45ee-8dc1-c0ee94b720ff", "InvoiceNumber": "INV11552", "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": "2025-02-16T00:00:00", "Date": "\/Date(1739664000000+0000)\/", "DueDateString": "2025-03-18T00:00:00", "DueDate": "\/Date(1742256000000+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": "ef0b5498-257b-4948-83ea-2fda912aca0e", "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": "75dce364-2404-402c-9098-910c178c1feb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742474157867+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:35:58] Production.INFO: -- Create Invoice id --b0521aea-c1f6-45ee-8dc1-c0ee94b720ff [2025-03-20 08:35:58] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:35:58] Production.INFO: CheckInvoice xerov2: INV11553 [2025-03-20 08:35:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11553 [2025-03-20 08:36:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:36:00] Production.INFO: Invoice SubTotal 32.500000 [2025-03-20 08:36:00] Production.INFO: Invoice DetTotal 32.5 [2025-03-20 08:36:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Uxbridge%29" [2025-03-20 12:36:02] Production.INFO: ==579== Lock acquired, processing the job... [2025-03-20 12:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:36:02] Production.INFO: neon service started [2025-03-20 12:36:02] Production.INFO: neon service started [2025-03-20 12:36:02] Production.INFO: ==579== Releasing lock... [2025-03-20 12:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:36:02] Production.INFO: ==581== Lock acquired, processing the job... [2025-03-20 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:36:02] Production.INFO: ==581== Releasing lock... [2025-03-20 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:36:02] Production.INFO: ==583== Lock acquired, processing the job... [2025-03-20 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:36:03] Production.INFO: ==583== Releasing lock... [2025-03-20 12:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:36:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:36:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:36:03] Production.INFO: ==587== Lock acquired, processing the job... [2025-03-20 08:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:36:03] Production.INFO: ==589== Lock acquired, processing the job... [2025-03-20 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:36:03] Production.INFO: ==594== Lock acquired, processing the job... [2025-03-20 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:36:04] Production.INFO: ==591== Lock acquired, processing the job... [2025-03-20 08:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:36:04] Production.INFO: Account Balance Start. [2025-03-20 08:36:04] Production.INFO: CreateAllLog Start [2025-03-20 08:36:04] Production.INFO: 117 [2025-03-20 08:36:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:36:04] Production.INFO: ==589== Releasing lock... [2025-03-20 08:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:36:04] Production.INFO: ==598== Lock acquired, processing the job... [2025-03-20 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:36:04] Production.INFO: ==596== Lock acquired, processing the job... [2025-03-20 08:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:36:04] Production.INFO: count ==12 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:36:04] Production.INFO: count ==23 [2025-03-20 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721656') start [2025-03-20 08:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721656') end [2025-03-20 08:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:36:04] Production.INFO: 1 [2025-03-20 08:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:36:04] Production.INFO: ==598== Releasing lock... [2025-03-20 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:36:04] Production.ERROR: done [2025-03-20 08:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:36:04] Production.ERROR: done [2025-03-20 08:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:36:04] Production.INFO: Total Charge 0 [2025-03-20 08:36:04] Production.INFO: CreateAllLog End [2025-03-20 08:36:05] Production.INFO: Account Balance End. [2025-03-20 08:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:36:05] Production.INFO: ==594== Releasing lock... [2025-03-20 08:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:36:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:36:06 [end_date_ymd] => 2025-03-20 08:36:06 [RateCDR] => 1 ) [2025-03-20 08:36:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:36:06' and `end` < '2025-03-20 08:36:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:36:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:36:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:36:13] 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-03-20 08:36:13] Production.ERROR: CronJobId end10 [2025-03-20 08:36:13] Production.INFO: ==591== Releasing lock... [2025-03-20 08:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:36:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:36:15] Production.INFO: call_cost start [2025-03-20 08:36:15] Production.INFO: call_cost end [2025-03-20 08:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:36:16] Production.INFO: ==587== Releasing lock... [2025-03-20 08:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:36:16] Production.INFO: ==== result ===== [2025-03-20 08:36:16] Production.INFO: { "Id": "3a95d35a-35d8-4615-807f-db656de52775", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474176768)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "02d17308-e860-4e5a-81a4-b94fc265f04d", "InvoiceNumber": "INV11553", "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": "2025-02-16T00:00:00", "Date": "\/Date(1739664000000+0000)\/", "DueDateString": "2025-03-18T00:00:00", "DueDate": "\/Date(1742256000000+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": "5087b21e-7d76-40a2-9706-c36636b00a3d", "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": "397de840-4e26-4210-b2f3-739357d54ee6", "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": "a3437305-0b16-4cd1-8eef-0020193bc13c", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.50, "TotalTax": 4.23, "Total": 36.73, "UpdatedDateUTC": "\/Date(1742474176160+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:36:16] Production.INFO: -- Create Invoice id --02d17308-e860-4e5a-81a4-b94fc265f04d [2025-03-20 08:36:16] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:36:16] Production.INFO: CheckInvoice xerov2: INV11554 [2025-03-20 08:36:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11554 [2025-03-20 08:36:18] Production.INFO: count ==318 [2025-03-20 08:36:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:36:06 - End Time 2025-03-20 08:36:06 [2025-03-20 08:36:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721657', 'tblTempUsageDetail_20' ) start [2025-03-20 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721657', 'tblTempUsageDetail_20' ) end [2025-03-20 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721657', 'tblTempVendorCDR_20' ) start [2025-03-20 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721657', 'tblTempVendorCDR_20' ) end [2025-03-20 08:36:18] Production.INFO: ProcessCDR(1,14721657,1,1,2) [2025-03-20 08:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:36:19] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:36:19] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:36:19] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:36:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010476%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:36:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721657', 'tblTempUsageDetail_20' ) start [2025-03-20 08:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721657', 'tblTempUsageDetail_20' ) end [2025-03-20 08:36:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:36:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:36:23] Production.INFO: ==596== Releasing lock... [2025-03-20 08:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:36:23] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 08:36:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:36:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:36:31] 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-03-20 08:36:34] Production.INFO: ==== result ===== [2025-03-20 08:36:34] Production.INFO: { "Id": "29186ab6-272b-45d9-a992-d71ea1c15d90", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474194808)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1ec76b37-3da8-4c44-85b6-5db637b3f7a0", "InvoiceNumber": "INV11554", "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": "2025-02-16T00:00:00", "Date": "\/Date(1739664000000+0000)\/", "DueDateString": "2025-03-18T00:00:00", "DueDate": "\/Date(1742256000000+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": "b6f5a1ca-f3f7-40e1-b38c-da23ec40d75c", "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": "ab9f62ea-6e08-42b2-a6cc-1114f9c038d8", "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": "7ea55827-b90f-4521-8a5a-bb1fa1739bba", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742474194747+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:36:34] Production.INFO: -- Create Invoice id --1ec76b37-3da8-4c44-85b6-5db637b3f7a0 [2025-03-20 08:36:34] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:36:34] Production.INFO: CheckInvoice xerov2: INV11542 [2025-03-20 08:36:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11542 [2025-03-20 08:36:37] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:36:37] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 08:36:37] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 08:36:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010353%20%28Ronny%20Khan%29" [2025-03-20 08:36:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:36:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:36:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:36: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 (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-03-20 08:36:53] Production.INFO: ==== result ===== [2025-03-20 08:36:53] Production.INFO: { "Id": "15b8cad1-712f-4cee-9bda-eb9c437370bc", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474213755)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f34ecaed-f071-4c6e-8dc9-29a2f961c8fc", "InvoiceNumber": "INV11542", "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": "2025-02-15T00:00:00", "Date": "\/Date(1739577600000+0000)\/", "DueDateString": "2025-03-17T00:00:00", "DueDate": "\/Date(1742169600000+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": "9494a53b-2e4a-4725-a1c6-19b7c4d800ae", "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": "b5250f46-90bc-42ab-a4c4-11fa7315f576", "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": "0a238137-5bba-41e6-9dc2-77e765209270", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742474213693+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:36:53] Production.INFO: -- Create Invoice id --f34ecaed-f071-4c6e-8dc9-29a2f961c8fc [2025-03-20 08:36:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:36:53] Production.INFO: CheckInvoice xerov2: INV11543 [2025-03-20 08:36:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11543 [2025-03-20 08:36:56] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:36:56] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 08:36:56] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 08:36:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010483%20%28Ronny%20Khan%29" [2025-03-20 08:36:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 12:37:01] Production.INFO: ==709== Lock acquired, processing the job... [2025-03-20 12:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:37:01] Production.INFO: neon service started [2025-03-20 12:37:01] Production.INFO: neon service started [2025-03-20 12:37:01] Production.INFO: ==709== Releasing lock... [2025-03-20 12:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:37:01] Production.INFO: ==711== Lock acquired, processing the job... [2025-03-20 08:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:37:02] Production.INFO: ==711== Releasing lock... [2025-03-20 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:37:02] Production.INFO: ==713== Lock acquired, processing the job... [2025-03-20 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:37:02] Production.INFO: ==713== Releasing lock... [2025-03-20 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:37:03] Production.INFO: ==720== Lock acquired, processing the job... [2025-03-20 08:37:03] Production.INFO: ==716== Lock acquired, processing the job... [2025-03-20 08:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:37:03] Production.INFO: ==724== Lock acquired, processing the job... [2025-03-20 08:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:37:03] Production.INFO: ==718== Lock acquired, processing the job... [2025-03-20 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:37:03] Production.INFO: ==722== Lock acquired, processing the job... [2025-03-20 08:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:37:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:37:03] Production.INFO: ==726== Lock acquired, processing the job... [2025-03-20 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 08:37:03] Production.INFO: Account Balance Start. [2025-03-20 08:37:03] Production.INFO: CreateAllLog Start [2025-03-20 08:37:03] Production.INFO: count ==12 [2025-03-20 08:37:03] Production.INFO: 117 [2025-03-20 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-03-20 08:37:03] Production.ERROR: done [2025-03-20 08:37:03] Production.INFO: ==718== Releasing lock... [2025-03-20 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:37:03] Production.INFO: count ==23 [2025-03-20 08:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721661') start [2025-03-20 08:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:03] Production.ERROR: done [2025-03-20 08:37:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721661') end [2025-03-20 08:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:37:03] Production.INFO: 1 [2025-03-20 08:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:37:03] Production.INFO: ==726== Releasing lock... [2025-03-20 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:37:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:03] Production.INFO: Date 2025-03-16 [2025-03-20 08:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:37:04] Production.INFO: Total Charge 0 [2025-03-20 08:37:04] Production.INFO: CreateAllLog End [2025-03-20 08:37:04] Production.INFO: Account Balance End. [2025-03-20 08:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:37:04] Production.INFO: ==722== Releasing lock... [2025-03-20 08:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:37:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:37:04 [end_date_ymd] => 2025-03-20 08:37:04 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:37:04' and `end` < '2025-03-20 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-03-20 08:37:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:37:09] 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-03-20 08:37:11] Production.ERROR: CronJobId end10 [2025-03-20 08:37:11] Production.INFO: ==720== Releasing lock... [2025-03-20 08:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:37:13] Production.INFO: ==== result ===== [2025-03-20 08:37:13] Production.INFO: { "Id": "c22dd3e8-3682-412f-bd92-cc1f97eb192f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474233131)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "3af923ea-4760-4130-bbe7-1d7e461fa9e3", "InvoiceNumber": "INV11543", "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": "2025-02-15T00:00:00", "Date": "\/Date(1739577600000+0000)\/", "DueDateString": "2025-03-17T00:00:00", "DueDate": "\/Date(1742169600000+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": "e7695984-c938-483b-8379-23b3b711b293", "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": "33866e5e-5ea1-49d2-9dd1-6012075cce89", "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": "c0eaa8e9-c22a-4c86-8d77-c8182da03396", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742474233070+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:37:13] Production.INFO: -- Create Invoice id --3af923ea-4760-4130-bbe7-1d7e461fa9e3 [2025-03-20 08:37:13] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:37:13] Production.INFO: CheckInvoice xerov2: INV11544 [2025-03-20 08:37:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11544 [2025-03-20 08:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:37:14] Production.INFO: call_cost start [2025-03-20 08:37:14] Production.INFO: call_cost end [2025-03-20 08:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:37:15] Production.INFO: ==716== Releasing lock... [2025-03-20 08:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:37:16] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:37:16] Production.INFO: Invoice SubTotal 18.000000 [2025-03-20 08:37:16] Production.INFO: Invoice DetTotal 18 [2025-03-20 08:37:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Destawed" [2025-03-20 08:37:16] Production.INFO: count ==318 [2025-03-20 08:37:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:37:04 - End Time 2025-03-20 08:37:04 [2025-03-20 08:37:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721662', 'tblTempUsageDetail_20' ) start [2025-03-20 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721662', 'tblTempUsageDetail_20' ) end [2025-03-20 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721662', 'tblTempVendorCDR_20' ) start [2025-03-20 08:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721662', 'tblTempVendorCDR_20' ) end [2025-03-20 08:37:17] Production.INFO: ProcessCDR(1,14721662,1,1,2) [2025-03-20 08:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:37:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721662', 'tblTempUsageDetail_20' ) start [2025-03-20 08:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721662', 'tblTempUsageDetail_20' ) end [2025-03-20 08:37:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:37:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:37:20] Production.INFO: ==724== Releasing lock... [2025-03-20 08:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:37:20] Production.INFO: 31.5 MB #Memory Used# [2025-03-20 08:37:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:37:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:37:28] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 6,UnitAmount : 2.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-83-DESTAWED)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (1-833-457-SUIT)",Quantity : 1,UnitAmount : 3.000000,LineAmount : 3.000000} [2025-03-20 08:37:32] Production.INFO: ==== result ===== [2025-03-20 08:37:32] Production.INFO: { "Id": "97be0a2a-8db9-449c-ba63-746c6c92cc69", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474252046)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "bf568767-c6eb-455b-8e79-e3350f46c138", "InvoiceNumber": "INV11544", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 20.34, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "4fde2a4c-1ac0-4a92-9312-bc67898ee56e", "ContactStatus": "ACTIVE", "Name": "Destawed", "FirstName": "Amitt", "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(1646681546973+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-15T00:00:00", "Date": "\/Date(1739577600000+0000)\/", "DueDateString": "2025-03-17T00:00:00", "DueDate": "\/Date(1742169600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "DiscountRate": 0.00, "LineItemID": "b2f2e30f-4c68-4fd4-82bd-23a41a1badc4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (1-83-DESTAWED)", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 0.39, "LineAmount": 3.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4cb24b4b-dfbd-4954-ba44-158902922008", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (1-833-457-SUIT)", "UnitAmount": 3.00, "TaxType": "TAX020", "TaxAmount": 0.39, "LineAmount": 3.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e166e808-d46f-4cb7-85ca-ebd48027d735", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 18.00, "TotalTax": 2.34, "Total": 20.34, "UpdatedDateUTC": "\/Date(1742474252017+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:37:32] Production.INFO: -- Create Invoice id --bf568767-c6eb-455b-8e79-e3350f46c138 [2025-03-20 08:37:32] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:37:32] Production.INFO: CheckInvoice xerov2: INV11545 [2025-03-20 08:37:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11545 [2025-03-20 08:37:35] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:37:35] Production.INFO: Invoice SubTotal 76.860000 [2025-03-20 08:37:35] Production.INFO: Invoice DetTotal 76.86 [2025-03-20 08:37:35] 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-03-20 08:37:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:37:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:37:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:37:47] 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-03-20 08:37:50] Production.INFO: ==== result ===== [2025-03-20 08:37:50] Production.INFO: { "Id": "c3214195-b3e5-4348-be5a-89db46398546", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474270352)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b893b2f1-ded2-4248-b756-5986286136ff", "InvoiceNumber": "INV11545", "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": "2025-02-15T00:00:00", "Date": "\/Date(1739577600000+0000)\/", "DueDateString": "2025-03-17T00:00:00", "DueDate": "\/Date(1742169600000+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": "2dc2b1a9-a18e-493b-8829-9bde90c6c555", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 76.86, "TotalTax": 9.99, "Total": 86.85, "UpdatedDateUTC": "\/Date(1742474270307+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:37:50] Production.INFO: -- Create Invoice id --b893b2f1-ded2-4248-b756-5986286136ff [2025-03-20 08:37:50] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:37:50] Production.INFO: CheckInvoice xerov2: INV11546 [2025-03-20 08:37:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11546 [2025-03-20 08:37:53] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:37:53] Production.INFO: Invoice SubTotal 76.860000 [2025-03-20 08:37:53] Production.INFO: Invoice DetTotal 76.86 [2025-03-20 08:37:53] 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-03-20 08:37:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:37:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:38:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 12:38:02] Production.INFO: ==825== Lock acquired, processing the job... [2025-03-20 12:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:38:02] Production.INFO: neon service started [2025-03-20 12:38:02] Production.INFO: neon service started [2025-03-20 12:38:02] Production.INFO: ==825== Releasing lock... [2025-03-20 12:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:38:02] Production.INFO: ==830== Lock acquired, processing the job... [2025-03-20 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:38:02] Production.INFO: ==830== Releasing lock... [2025-03-20 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:38:02] Production.INFO: ==827== Lock acquired, processing the job... [2025-03-20 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:38:02] Production.INFO: ==827== Releasing lock... [2025-03-20 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:38:03] Production.INFO: ==834== Lock acquired, processing the job... [2025-03-20 08:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:38:03] Production.INFO: ==836== Lock acquired, processing the job... [2025-03-20 08:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:38:03] Production.INFO: ==838== Lock acquired, processing the job... [2025-03-20 08:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:38:03] Production.INFO: ==840== Lock acquired, processing the job... [2025-03-20 08:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:38:03] Production.INFO: ==842== Lock acquired, processing the job... [2025-03-20 08:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:38:03] Production.INFO: Account Balance Start. [2025-03-20 08:38:03] Production.INFO: CreateAllLog Start [2025-03-20 08:38:03] Production.INFO: 117 [2025-03-20 08:38:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:38:04] Production.INFO: ==844== Lock acquired, processing the job... [2025-03-20 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.INFO: ==836== Releasing lock... [2025-03-20 08:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:38:04] Production.INFO: count ==12 [2025-03-20 08:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:38:04] Production.INFO: count ==23 [2025-03-20 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721666') start [2025-03-20 08:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721666') end [2025-03-20 08:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:38:04] Production.INFO: 1 [2025-03-20 08:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:38:04] Production.ERROR: done [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.INFO: ==844== Releasing lock... [2025-03-20 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:38:04] Production.INFO: Total Charge 0 [2025-03-20 08:38:04] Production.INFO: CreateAllLog End [2025-03-20 08:38:04] Production.ERROR: done [2025-03-20 08:38:04] Production.INFO: Account Balance End. [2025-03-20 08:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:38:04] Production.INFO: ==840== Releasing lock... [2025-03-20 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:38:04] 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-03-20 08:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:38:05 [end_date_ymd] => 2025-03-20 08:38:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:38:05' and `end` < '2025-03-20 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-03-20 08:38:07] Production.INFO: ==== result ===== [2025-03-20 08:38:07] Production.INFO: { "Id": "1bdaec33-ad7f-4b99-a676-f46a9110fd45", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474287696)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9f7600c6-2fbb-4be6-8715-1625d2c331f0", "InvoiceNumber": "INV11546", "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": "2025-02-15T00:00:00", "Date": "\/Date(1739577600000+0000)\/", "DueDateString": "2025-03-17T00:00:00", "DueDate": "\/Date(1742169600000+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": "5adf7b9d-6f9b-4c1a-8eca-f00bde6edf34", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] } ], "SubTotal": 76.86, "TotalTax": 9.99, "Total": 86.85, "UpdatedDateUTC": "\/Date(1742474287667+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:38:07] Production.INFO: -- Create Invoice id --9f7600c6-2fbb-4be6-8715-1625d2c331f0 [2025-03-20 08:38:07] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:38:07] Production.INFO: CheckInvoice xerov2: INV11547 [2025-03-20 08:38:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11547 [2025-03-20 08:38:10] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:38:10] Production.INFO: Invoice SubTotal 40.500000 [2025-03-20 08:38:10] Production.INFO: Invoice DetTotal 40.5 [2025-03-20 08:38:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Graybill%20%26%20Hazlewood%20-%20Trial%20Lawyers" [2025-03-20 08:38:12] Production.ERROR: CronJobId end10 [2025-03-20 08:38:12] Production.INFO: ==838== Releasing lock... [2025-03-20 08:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:38:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:38:14] Production.INFO: call_cost start [2025-03-20 08:38:14] Production.INFO: call_cost end [2025-03-20 08:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:38:15] Production.INFO: ==834== Releasing lock... [2025-03-20 08:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:38:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:38:17] Production.INFO: count ==320 [2025-03-20 08:38:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:38:05 - End Time 2025-03-20 08:38:05 [2025-03-20 08:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721667', 'tblTempUsageDetail_20' ) start [2025-03-20 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721667', 'tblTempUsageDetail_20' ) end [2025-03-20 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721667', 'tblTempVendorCDR_20' ) start [2025-03-20 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721667', 'tblTempVendorCDR_20' ) end [2025-03-20 08:38:18] Production.INFO: ProcessCDR(1,14721667,1,1,2) [2025-03-20 08:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:38:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721667', 'tblTempUsageDetail_20' ) start [2025-03-20 08:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721667', 'tblTempUsageDetail_20' ) end [2025-03-20 08:38:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:38:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:38:21] Production.INFO: ==842== Releasing lock... [2025-03-20 08:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:38:21] Production.INFO: 31 MB #Memory Used# [2025-03-20 08:38:22] 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-03-20 08:38:26] Production.INFO: ==== result ===== [2025-03-20 08:38:26] Production.INFO: { "Id": "dd204cfd-d62e-4602-bbda-fe012566ae93", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474306075)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1feb312a-4567-4162-8d99-805b0433e951", "InvoiceNumber": "INV11547", "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": "2025-02-15T00:00:00", "Date": "\/Date(1739577600000+0000)\/", "DueDateString": "2025-02-22T00:00:00", "DueDate": "\/Date(1740182400000+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": "50b07ca9-a719-4fc6-a27e-52e2b66cf2c6", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 40.50, "TotalTax": 5.27, "Total": 45.77, "UpdatedDateUTC": "\/Date(1742474306013+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:38:26] Production.INFO: -- Create Invoice id --1feb312a-4567-4162-8d99-805b0433e951 [2025-03-20 08:38:26] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:38:26] Production.INFO: CheckInvoice xerov2: INV11548 [2025-03-20 08:38:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11548 [2025-03-20 08:38:29] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:38:29] Production.INFO: Invoice SubTotal 70.000000 [2025-03-20 08:38:29] Production.INFO: Invoice DetTotal 70 [2025-03-20 08:38:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harbourfront%20Medicine%20Cabinet" [2025-03-20 08:38:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:38:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:38:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:38:41] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Phone channel for capacity-based billing",Quantity : 7,UnitAmount : 10.000000,LineAmount : 70.000000} [2025-03-20 08:38:44] Production.INFO: ==== result ===== [2025-03-20 08:38:44] Production.INFO: { "Id": "a677b1fc-882e-4931-9ec1-53cdb04b3266", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474323976)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a91a3a9b-e191-4947-96ab-3077b20ebb64", "InvoiceNumber": "INV11548", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 79.10, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "e4609e79-2a2f-49b0-a0f8-9766de2b1774", "ContactStatus": "ACTIVE", "Name": "Harbourfront Medicine Cabinet", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "205 Ava Rd", "City": "Toronto", "Region": "ON", "PostalCode": "M6C 1W8", "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(1730664962810+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-15T00:00:00", "Date": "\/Date(1739577600000+0000)\/", "DueDateString": "2025-03-17T00:00:00", "DueDate": "\/Date(1742169600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Phone channel for capacity-based billing", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "LineItemID": "dd84b1e6-4023-4a9b-9572-41e599dea8f5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 70.00, "TotalTax": 9.10, "Total": 79.10, "UpdatedDateUTC": "\/Date(1742474323930+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:38:44] Production.INFO: -- Create Invoice id --a91a3a9b-e191-4947-96ab-3077b20ebb64 [2025-03-20 08:38:44] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:38:44] Production.INFO: CheckInvoice xerov2: INV11534 [2025-03-20 08:38:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11534 [2025-03-20 08:38:46] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:38:46] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:38:46] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:38:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010514%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:38:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:38:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:38:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:38:58] 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-03-20 12:39:01] Production.INFO: ==930== Lock acquired, processing the job... [2025-03-20 12:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:39:01] Production.INFO: neon service started [2025-03-20 12:39:01] Production.INFO: neon service started [2025-03-20 12:39:01] Production.INFO: ==930== Releasing lock... [2025-03-20 12:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:39:01] Production.INFO: ==== result ===== [2025-03-20 08:39:01] Production.INFO: { "Id": "337d773c-f7c8-46e3-9405-5415cb4f5bd0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474341584)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "86f7312a-ab27-4064-9688-f23718943275", "InvoiceNumber": "INV11534", "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": "2025-02-14T00:00:00", "Date": "\/Date(1739491200000+0000)\/", "DueDateString": "2025-03-16T00:00:00", "DueDate": "\/Date(1742083200000+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": "74fe44e9-f9d2-406b-a42a-c6f886a28c39", "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": "9977468e-2691-4435-9493-cac9be0f56fc", "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": "da6add91-29d2-43ce-9565-b027192ad2d4", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742474341473+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:39:01] Production.INFO: -- Create Invoice id --86f7312a-ab27-4064-9688-f23718943275 [2025-03-20 08:39:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:39:01] Production.INFO: CheckInvoice xerov2: INV11535 [2025-03-20 08:39:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11535 [2025-03-20 08:39:02] Production.INFO: ==932== Lock acquired, processing the job... [2025-03-20 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:39:02] Production.INFO: ==934== Lock acquired, processing the job... [2025-03-20 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:39:02] Production.INFO: ==934== Releasing lock... [2025-03-20 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:39:02] Production.INFO: ==932== Releasing lock... [2025-03-20 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:39:03] Production.INFO: ==937== Lock acquired, processing the job... [2025-03-20 08:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:39:03] Production.INFO: ==939== Lock acquired, processing the job... [2025-03-20 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:39:03] Production.INFO: ==941== Lock acquired, processing the job... [2025-03-20 08:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:39:03] Production.INFO: ==943== Lock acquired, processing the job... [2025-03-20 08:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:39:03] Production.INFO: ==945== Lock acquired, processing the job... [2025-03-20 08:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:39:03] Production.INFO: ==947== Lock acquired, processing the job... [2025-03-20 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:39:03] Production.INFO: Account Balance Start. [2025-03-20 08:39:03] Production.INFO: CreateAllLog Start [2025-03-20 08:39:03] Production.INFO: 117 [2025-03-20 08:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 08:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:03] Production.INFO: count ==12 [2025-03-20 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-03-20 08:39:03] Production.INFO: count ==23 [2025-03-20 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721671') start [2025-03-20 08:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:03] Production.INFO: ==939== Releasing lock... [2025-03-20 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:39:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721671') end [2025-03-20 08:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:39:03] Production.INFO: 1 [2025-03-20 08:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:39:04] Production.ERROR: done [2025-03-20 08:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:04] Production.INFO: ==947== Releasing lock... [2025-03-20 08:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:04] Production.ERROR: done [2025-03-20 08:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:39:04] Production.INFO: Total Charge 0 [2025-03-20 08:39:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:39:04] Production.INFO: CreateAllLog End [2025-03-20 08:39:04] Production.INFO: Invoice SubTotal 201.940000 [2025-03-20 08:39:04] Production.INFO: Invoice DetTotal 201.94 [2025-03-20 08:39:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Aaxel%20Insurance%20Brokers%20%28Peel%20Ltd.%29" [2025-03-20 08:39:04] Production.INFO: Account Balance End. [2025-03-20 08:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:39:04] Production.INFO: ==943== Releasing lock... [2025-03-20 08:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:39:05 [end_date_ymd] => 2025-03-20 08:39:05 [RateCDR] => 1 ) [2025-03-20 08:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:39:05' and `end` < '2025-03-20 08:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:39:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:39:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:39:12] Production.ERROR: CronJobId end10 [2025-03-20 08:39:12] Production.INFO: ==941== Releasing lock... [2025-03-20 08:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:39:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:39:13] Production.INFO: call_cost start [2025-03-20 08:39:13] Production.INFO: call_cost end [2025-03-20 08:39:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:39:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:39:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:39:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:39:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:39:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:39:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:39:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:39:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:39:14] Production.INFO: ==937== Releasing lock... [2025-03-20 08:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:39:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:39:16] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-14-2025 To 02-13-2025",Quantity : 1,UnitAmount : 82.190000,LineAmount : 82.190000},{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-03-20 08:39:17] Production.INFO: count ==326 [2025-03-20 08:39:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:39:05 - End Time 2025-03-20 08:39:05 [2025-03-20 08:39:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721672', 'tblTempUsageDetail_20' ) start [2025-03-20 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721672', 'tblTempUsageDetail_20' ) end [2025-03-20 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721672', 'tblTempVendorCDR_20' ) start [2025-03-20 08:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721672', 'tblTempVendorCDR_20' ) end [2025-03-20 08:39:17] Production.INFO: ProcessCDR(1,14721672,1,1,2) [2025-03-20 08:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:39:19] Production.INFO: ==== result ===== [2025-03-20 08:39:19] Production.INFO: { "Id": "2b9fdcc5-410a-49ec-b738-e966c6094ad8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474359753)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "43ccc4be-43e3-405c-be2f-a6ee50def6e2", "InvoiceNumber": "INV11535", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 228.19, "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": "2025-02-14T00:00:00", "Date": "\/Date(1739491200000+0000)\/", "DueDateString": "2025-03-16T00:00:00", "DueDate": "\/Date(1742083200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-14-2025 To 02-13-2025", "UnitAmount": 82.19, "TaxType": "TAX020", "TaxAmount": 10.68, "LineAmount": 82.19, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "458467b2-ac7a-4b20-8952-0a2cd3c6ad15", "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": "8acc0762-b0cb-4148-afb3-908ab7a87fec", "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": "3fe58d50-dcaa-4519-9bfa-8fe601875034", "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": "d4738122-d707-48a3-8712-da9563e092eb", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 201.94, "TotalTax": 26.25, "Total": 228.19, "UpdatedDateUTC": "\/Date(1742474359677+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:39:19] Production.INFO: -- Create Invoice id --43ccc4be-43e3-405c-be2f-a6ee50def6e2 [2025-03-20 08:39:19] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:39:19] Production.INFO: CheckInvoice xerov2: INV11536 [2025-03-20 08:39:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11536 [2025-03-20 08:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721672', 'tblTempUsageDetail_20' ) start [2025-03-20 08:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721672', 'tblTempUsageDetail_20' ) end [2025-03-20 08:39:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:39:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:39:21] Production.INFO: ==945== Releasing lock... [2025-03-20 08:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:39:21] Production.INFO: 30.75 MB #Memory Used# [2025-03-20 08:39:22] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:39:22] Production.INFO: Invoice SubTotal 200.500000 [2025-03-20 08:39:22] Production.INFO: Invoice DetTotal 200.5 [2025-03-20 08:39:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Wattpad" [2025-03-20 08:39:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:39:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:39:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:39:35] 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-03-20 08:39:38] Production.INFO: ==== result ===== [2025-03-20 08:39:38] Production.INFO: { "Id": "81ef65eb-c636-49a2-a92a-9ef001eefd34", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474378596)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2fbb0046-662f-49e0-bc41-57e378605f92", "InvoiceNumber": "INV11536", "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": "2025-02-14T00:00:00", "Date": "\/Date(1739491200000+0000)\/", "DueDateString": "2025-03-16T00:00:00", "DueDate": "\/Date(1742083200000+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": "f62dfa15-ab64-47b9-8761-96666938b77f", "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": "30730d79-c763-4441-b898-30f5e54cb1dc", "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": "e3027d95-9c82-4064-b597-a5c085965924", "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": "9f5cdd1b-0e9d-4829-b5d8-03ae03812c7c", "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": "4ca4344e-68b1-4235-9357-e561697834e0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 200.50, "TotalTax": 26.08, "Total": 226.58, "UpdatedDateUTC": "\/Date(1742474378533+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:39:38] Production.INFO: -- Create Invoice id --2fbb0046-662f-49e0-bc41-57e378605f92 [2025-03-20 08:39:38] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:39:38] Production.INFO: CheckInvoice xerov2: INV11537 [2025-03-20 08:39:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11537 [2025-03-20 08:39:41] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:39:41] Production.INFO: Invoice SubTotal 51.500000 [2025-03-20 08:39:41] Production.INFO: Invoice DetTotal 51.5 [2025-03-20 08:39:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Technologies%20for%20Learning%20Group" [2025-03-20 08:39:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:39:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:39:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:39:54] 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-03-20 08:39:57] Production.INFO: ==== result ===== [2025-03-20 08:39:57] Production.INFO: { "Id": "72940147-ebf8-41b3-92b4-135a62354554", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474397647)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f1118a17-a5f0-498d-86f3-c29c4a53d679", "InvoiceNumber": "INV11537", "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": "2025-02-14T00:00:00", "Date": "\/Date(1739491200000+0000)\/", "DueDateString": "2025-02-21T00:00:00", "DueDate": "\/Date(1740096000000+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": "fd17e23d-d767-4224-b066-e973f57db1bf", "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": "19c32f25-3eac-432d-b185-791ab7ef9c17", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 51.50, "TotalTax": 6.70, "Total": 58.20, "UpdatedDateUTC": "\/Date(1742474397473+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:39:57] Production.INFO: -- Create Invoice id --f1118a17-a5f0-498d-86f3-c29c4a53d679 [2025-03-20 08:39:57] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:39:57] Production.INFO: CheckInvoice xerov2: INV11538 [2025-03-20 08:39:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11538 [2025-03-20 08:40:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:40:00] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 08:40:00] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 08:40:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010558%20%28David%20Mills%29" [2025-03-20 12:40:01] Production.INFO: ==1033== Lock acquired, processing the job... [2025-03-20 12:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:40:01] Production.INFO: neon service started [2025-03-20 12:40:01] Production.INFO: neon service started [2025-03-20 12:40:01] Production.INFO: ==1033== Releasing lock... [2025-03-20 12:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:40:02] Production.INFO: ==1037== Lock acquired, processing the job... [2025-03-20 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:40:02] Production.INFO: ==1037== Releasing lock... [2025-03-20 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:40:02] Production.INFO: ==1035== Lock acquired, processing the job... [2025-03-20 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:40:02] Production.INFO: ==1035== Releasing lock... [2025-03-20 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:40:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:40:04] Production.INFO: ==1039== Lock acquired, processing the job... [2025-03-20 08:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 08:40:04] Production.INFO: ==1046== Lock acquired, processing the job... [2025-03-20 08:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:40:04] Production.INFO: ==1041== Lock acquired, processing the job... [2025-03-20 08:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 08:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 08:40:04] Production.INFO: ==1039== Releasing lock... [2025-03-20 08:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 08:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 08:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:40:04] Production.INFO: ==1044== Lock acquired, processing the job... [2025-03-20 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:40:04] Production.INFO: ==1049== Lock acquired, processing the job... [2025-03-20 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:40:04] Production.INFO: ==1051== Lock acquired, processing the job... [2025-03-20 08:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:40:04] Production.INFO: ==1053== Lock acquired, processing the job... [2025-03-20 08:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 08:40:04] Production.INFO: Account Balance Start. [2025-03-20 08:40:04] Production.INFO: CreateAllLog Start [2025-03-20 08:40:04] Production.INFO: 117 [2025-03-20 08:40:04] Production.INFO: ==1055== Lock acquired, processing the job... [2025-03-20 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:40:04] Production.INFO: ==1044== Releasing lock... [2025-03-20 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:04] Production.INFO: count ==12 [2025-03-20 08:40:04] Production.ERROR: done [2025-03-20 08:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 08:40:04] Production.INFO: count ==23 [2025-03-20 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721676') start [2025-03-20 08:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:04] Production.ERROR: done [2025-03-20 08:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:04] Production.ERROR: done [2025-03-20 08:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:05] Production.INFO: Date 2025-03-17 [2025-03-20 08:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:05] Production.INFO: Date 2025-03-18 [2025-03-20 08:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721676') end [2025-03-20 08:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:40:05] Production.INFO: 1 [2025-03-20 08:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 08:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 08:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 08:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721678', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 08:40:05] Production.INFO: ==1055== Releasing lock... [2025-03-20 08:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:40:05] Production.INFO: Total Charge 0 [2025-03-20 08:40:05] Production.INFO: CreateAllLog End [2025-03-20 08:40:05] Production.INFO: Account Balance End. [2025-03-20 08:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:40:05] Production.INFO: ==1049== Releasing lock... [2025-03-20 08:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:40:05 [end_date_ymd] => 2025-03-20 08:40:05 [RateCDR] => 1 ) [2025-03-20 08:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:40:05' and `end` < '2025-03-20 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-03-20 08:40:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721678', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 08:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 08:40:09] Production.INFO: ProcessCDR(1,14721678,1,1,2) [2025-03-20 08:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721678,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721678,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:40:09] Production.INFO: ==1053== Releasing lock... [2025-03-20 08:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 08:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 08:40:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:40:12] 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-03-20 08:40:13] Production.ERROR: CronJobId end10 [2025-03-20 08:40:13] Production.INFO: ==1046== Releasing lock... [2025-03-20 08:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:40:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:40:16] Production.INFO: ==== result ===== [2025-03-20 08:40:16] Production.INFO: { "Id": "923415e3-faaf-49dd-ad51-bcc33ca51c6d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474416154)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c9bb8a20-14c3-4b9e-959d-aab60f96f71f", "InvoiceNumber": "INV11538", "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": "2025-02-14T00:00:00", "Date": "\/Date(1739491200000+0000)\/", "DueDateString": "2025-03-16T00:00:00", "DueDate": "\/Date(1742083200000+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": "2336372a-15a8-4fbe-b336-86cb41e2933a", "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": "65a0f0ab-a28d-4d22-96a3-1d637ef6a644", "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": "929613d9-a8f1-4a2f-a948-1d13f287e3fd", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742474416123+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:40:16] Production.INFO: -- Create Invoice id --c9bb8a20-14c3-4b9e-959d-aab60f96f71f [2025-03-20 08:40:16] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:40:16] Production.INFO: CheckInvoice xerov2: INV11539 [2025-03-20 08:40:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11539 [2025-03-20 08:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:40:17] Production.INFO: call_cost start [2025-03-20 08:40:17] Production.INFO: call_cost end [2025-03-20 08:40:18] Production.INFO: count ==337 [2025-03-20 08:40:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:40:05 - End Time 2025-03-20 08:40:05 [2025-03-20 08:40:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721677', 'tblTempUsageDetail_20' ) start [2025-03-20 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721677', 'tblTempUsageDetail_20' ) end [2025-03-20 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721677', 'tblTempVendorCDR_20' ) start [2025-03-20 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721677', 'tblTempVendorCDR_20' ) end [2025-03-20 08:40:18] Production.INFO: ProcessCDR(1,14721677,1,1,2) [2025-03-20 08:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:40:18] Production.INFO: ==1041== Releasing lock... [2025-03-20 08:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:40:19] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:40:19] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:40:19] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:40:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010567%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721677', 'tblTempUsageDetail_20' ) start [2025-03-20 08:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721677', 'tblTempUsageDetail_20' ) end [2025-03-20 08:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:40:22] Production.INFO: ==1051== Releasing lock... [2025-03-20 08:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:40:22] Production.INFO: 31.25 MB #Memory Used# [2025-03-20 08:40:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:40:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:40:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:40:31] 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-03-20 08:40:34] Production.INFO: ==== result ===== [2025-03-20 08:40:34] Production.INFO: { "Id": "4f7358a1-ce1d-49d8-9eb3-f66a7184a29e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474434860)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5bb980d9-f330-4b92-97c6-333e805e0dcb", "InvoiceNumber": "INV11539", "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": "2025-02-14T00:00:00", "Date": "\/Date(1739491200000+0000)\/", "DueDateString": "2025-03-16T00:00:00", "DueDate": "\/Date(1742083200000+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": "4a38e5f1-a47b-46ef-9319-5ff21c68e8b8", "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": "e5c4c789-abed-4844-9327-cb463945e435", "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": "05b5eee0-d189-4d79-b7bc-5d24afafbe22", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742474434813+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:40:34] Production.INFO: -- Create Invoice id --5bb980d9-f330-4b92-97c6-333e805e0dcb [2025-03-20 08:40:34] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:40:35] Production.INFO: CheckInvoice xerov2: INV11540 [2025-03-20 08:40:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11540 [2025-03-20 08:40:37] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:40:37] Production.INFO: Invoice SubTotal 79.750000 [2025-03-20 08:40:37] Production.INFO: Invoice DetTotal 79.75 [2025-03-20 08:40:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ontario%20Turtle%20Conservation%20Centre" [2025-03-20 08:40:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:40:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:40:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:40:50] 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-03-20 08:40:53] Production.INFO: ==== result ===== [2025-03-20 08:40:53] Production.INFO: { "Id": "656a49af-f23d-4e65-b099-5a011696cde8", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474453481)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9b15a223-6532-4eaf-b21c-436d5f11e88f", "InvoiceNumber": "INV11540", "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": "2025-02-14T00:00:00", "Date": "\/Date(1739491200000+0000)\/", "DueDateString": "2025-03-16T00:00:00", "DueDate": "\/Date(1742083200000+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": "af1d8563-afe5-4bce-876d-1f86eb77ea34", "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": "92625633-beb4-4a1e-ad48-55206faa9937", "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": "be39bb25-ea0a-4e56-93af-31130d45b01d", "AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8", "ValidationErrors": [] } ], "SubTotal": 79.75, "TotalTax": 10.37, "Total": 90.12, "UpdatedDateUTC": "\/Date(1742474453420+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:40:53] Production.INFO: -- Create Invoice id --9b15a223-6532-4eaf-b21c-436d5f11e88f [2025-03-20 08:40:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:40:53] Production.INFO: CheckInvoice xerov2: INV11523 [2025-03-20 08:40:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11523 [2025-03-20 08:40:56] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:40:56] Production.INFO: Invoice SubTotal 81.750000 [2025-03-20 08:40:56] Production.INFO: Invoice DetTotal 81.75 [2025-03-20 08:40:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dunbloor%20Medical%20Centre" [2025-03-20 08:40:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:41:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 12:41:02] Production.INFO: ==1146== Lock acquired, processing the job... [2025-03-20 12:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:41:02] Production.INFO: neon service started [2025-03-20 12:41:02] Production.INFO: neon service started [2025-03-20 12:41:02] Production.INFO: ==1146== Releasing lock... [2025-03-20 12:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:41:02] Production.INFO: ==1148== Lock acquired, processing the job... [2025-03-20 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:41:02] Production.INFO: ==1150== Lock acquired, processing the job... [2025-03-20 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:41:03] Production.INFO: ==1150== Releasing lock... [2025-03-20 12:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:41:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:41:03] Production.INFO: ==1148== Releasing lock... [2025-03-20 08:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:41:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:41:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:41:04] Production.INFO: ==1155== Lock acquired, processing the job... [2025-03-20 08:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:41:04] Production.INFO: ==1163== Lock acquired, processing the job... [2025-03-20 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:41:04] Production.INFO: ==1153== Lock acquired, processing the job... [2025-03-20 08:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 08:41:04] Production.INFO: ==1157== Lock acquired, processing the job... [2025-03-20 08:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:41:04] Production.INFO: count ==12 [2025-03-20 08:41:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 08:41:04] Production.INFO: count ==23 [2025-03-20 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721680') start [2025-03-20 08:41:04] Production.INFO: ==1159== Lock acquired, processing the job... [2025-03-20 08:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:41:04] Production.INFO: ==1161== Lock acquired, processing the job... [2025-03-20 08:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:41:04] Production.INFO: ==1155== Releasing lock... [2025-03-20 08:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721680') end [2025-03-20 08:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:41:04] Production.INFO: 1 [2025-03-20 08:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:41:04] Production.INFO: ==1163== Releasing lock... [2025-03-20 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:41:04] Production.INFO: Account Balance Start. [2025-03-20 08:41:04] Production.INFO: CreateAllLog Start [2025-03-20 08:41:04] Production.INFO: 117 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.ERROR: done [2025-03-20 08:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:41:05] Production.INFO: Total Charge 0 [2025-03-20 08:41:05] Production.INFO: CreateAllLog End [2025-03-20 08:41:05] Production.ERROR: done [2025-03-20 08:41:05] Production.INFO: Account Balance End. [2025-03-20 08:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:41:05] Production.INFO: ==1159== Releasing lock... [2025-03-20 08:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:41:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:41:06 [end_date_ymd] => 2025-03-20 08:41:06 [RateCDR] => 1 ) [2025-03-20 08: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-03-20 05:41:06' and `end` < '2025-03-20 08: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-03-20 08:41:06] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-13-2025 To 02-12-2025",Quantity : 1,UnitAmount : 9.250000,LineAmount : 9.250000},{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-03-20 08:41:10] Production.INFO: ==== result ===== [2025-03-20 08:41:10] Production.INFO: { "Id": "3fc76652-3980-4019-88cd-c0b8eb7407f4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474470319)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6ed85ddc-51fa-49f9-a12f-8ae88e9fc232", "InvoiceNumber": "INV11523", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 92.38, "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": "2025-02-13T00:00:00", "Date": "\/Date(1739404800000+0000)\/", "DueDateString": "2025-03-15T00:00:00", "DueDate": "\/Date(1741996800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-13-2025 To 02-12-2025", "UnitAmount": 9.25, "TaxType": "TAX020", "TaxAmount": 1.20, "LineAmount": 9.25, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "bb18e88e-6564-4d59-b637-6eacfade42f9", "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": "0a198983-a087-4f8b-8d5c-89f3b9bbf6d8", "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": "34806499-6cf4-448d-940b-1caa37dbe4e4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 81.75, "TotalTax": 10.63, "Total": 92.38, "UpdatedDateUTC": "\/Date(1742474470240+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:41:10] Production.INFO: -- Create Invoice id --6ed85ddc-51fa-49f9-a12f-8ae88e9fc232 [2025-03-20 08:41:10] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:41:10] Production.INFO: CheckInvoice xerov2: INV11524 [2025-03-20 08:41:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11524 [2025-03-20 08:41:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure)) #4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement() #5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount() #6 [internal function]: App\Console\Commands\CreateSummaryLive->handle() #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure)) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure)) #2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement() #3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount() #4 [internal function]: App\Console\Commands\CreateSummaryLive->handle() #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 {main} [2025-03-20 08:41:12] Production.ERROR: CronJobId end10 [2025-03-20 08:41:12] Production.INFO: ==1157== Releasing lock... [2025-03-20 08:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:41:13] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:41:13] Production.INFO: Invoice SubTotal 328.800000 [2025-03-20 08:41:13] Production.INFO: Invoice DetTotal 328.8 [2025-03-20 08:41:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010296%20%28Gurinder%20Saini%29" [2025-03-20 08:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:41:15] Production.INFO: call_cost start [2025-03-20 08:41:15] Production.INFO: call_cost end [2025-03-20 08:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:41:15] Production.INFO: ==1153== Releasing lock... [2025-03-20 08:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:41:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:41:18] Production.INFO: count ==376 [2025-03-20 08:41:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:41:06 - End Time 2025-03-20 08:41:06 [2025-03-20 08:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721683', 'tblTempUsageDetail_20' ) start [2025-03-20 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721683', 'tblTempUsageDetail_20' ) end [2025-03-20 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721683', 'tblTempVendorCDR_20' ) start [2025-03-20 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721683', 'tblTempVendorCDR_20' ) end [2025-03-20 08:41:18] Production.INFO: ProcessCDR(1,14721683,1,1,2) [2025-03-20 08:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:41:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:41:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721683', 'tblTempUsageDetail_20' ) start [2025-03-20 08:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721683', 'tblTempUsageDetail_20' ) end [2025-03-20 08:41:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:41:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:41:23] Production.INFO: ==1161== Releasing lock... [2025-03-20 08:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:41:23] Production.INFO: 31 MB #Memory Used# [2025-03-20 08:41:25] 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 : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-03-20 08:41:28] Production.INFO: ==== result ===== [2025-03-20 08:41:28] Production.INFO: { "Id": "f5567185-606c-4f2e-bff4-23ff6c604d12", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474488728)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "7cd4f75e-da2a-4eb0-bc9f-851ba06992f2", "InvoiceNumber": "INV11524", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 371.55, "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": "2025-02-13T00:00:00", "Date": "\/Date(1739404800000+0000)\/", "DueDateString": "2025-03-15T00:00:00", "DueDate": "\/Date(1741996800000+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": "8a094c83-4a62-4bec-94a6-01f3a6dde337", "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": "0e2019d2-697e-42a5-a977-501e3f1f8ac9", "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": "0d3e2689-b7dc-4110-9764-02f9560299d1", "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.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "bd9bf5fd-06c6-4d1d-acbf-f62ea421216c", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 328.80, "TotalTax": 42.75, "Total": 371.55, "UpdatedDateUTC": "\/Date(1742474488667+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:41:28] Production.INFO: -- Create Invoice id --7cd4f75e-da2a-4eb0-bc9f-851ba06992f2 [2025-03-20 08:41:28] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:41:28] Production.INFO: CheckInvoice xerov2: INV11526 [2025-03-20 08:41:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11526 [2025-03-20 08:41:31] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:41:31] Production.INFO: Invoice SubTotal 39.320000 [2025-03-20 08:41:31] Production.INFO: Invoice DetTotal 39.32 [2025-03-20 08:41:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Delco%20Windows%20%26%20Doors" [2025-03-20 08:41:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:41:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:41:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:41:43] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-13-2025 To 02-12-2025",Quantity : 1,UnitAmount : 8.820000,LineAmount : 8.820000},{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-03-20 08:41:46] Production.INFO: ==== result ===== [2025-03-20 08:41:46] Production.INFO: { "Id": "40b3ae68-bee0-44ee-bd75-13e6ca23a1cb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474506616)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b6d4b788-d9c8-4d82-8b2b-7397a3d60db4", "InvoiceNumber": "INV11526", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 44.44, "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": "2025-02-13T00:00:00", "Date": "\/Date(1739404800000+0000)\/", "DueDateString": "2025-03-15T00:00:00", "DueDate": "\/Date(1741996800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-13-2025 To 02-12-2025", "UnitAmount": 8.82, "TaxType": "TAX020", "TaxAmount": 1.15, "LineAmount": 8.82, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "51f40ddb-1aea-4e0f-8081-a4750db58057", "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": "b1219a00-a867-403e-a354-84ae19a6201b", "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": "ebe4def3-8ade-4e94-a0de-740d21d91add", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 39.32, "TotalTax": 5.12, "Total": 44.44, "UpdatedDateUTC": "\/Date(1742474506553+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:41:46] Production.INFO: -- Create Invoice id --b6d4b788-d9c8-4d82-8b2b-7397a3d60db4 [2025-03-20 08:41:46] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:41:46] Production.INFO: CheckInvoice xerov2: INV11527 [2025-03-20 08:41:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11527 [2025-03-20 08:41:49] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:41:49] Production.INFO: Invoice SubTotal 60.000000 [2025-03-20 08:41:49] Production.INFO: Invoice DetTotal 60 [2025-03-20 08:41:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010455%20%28Ricky%20Singh%29" [2025-03-20 08:41:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:41:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:41:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:42:01] 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-03-20 12:42:01] Production.INFO: ==1308== Lock acquired, processing the job... [2025-03-20 12:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:42:01] Production.INFO: neon service started [2025-03-20 12:42:01] Production.INFO: neon service started [2025-03-20 12:42:01] Production.INFO: ==1308== Releasing lock... [2025-03-20 12:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:42:02] Production.INFO: ==1310== Lock acquired, processing the job... [2025-03-20 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:42:02] Production.INFO: ==1310== Releasing lock... [2025-03-20 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:42:02] Production.INFO: ==1312== Lock acquired, processing the job... [2025-03-20 08:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:42:02] Production.INFO: ==1312== Releasing lock... [2025-03-20 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:42:03] Production.INFO: ==1320== Lock acquired, processing the job... [2025-03-20 08:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:42:03] Production.INFO: ==1314== Lock acquired, processing the job... [2025-03-20 08:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:42:03] Production.INFO: Account Balance Start. [2025-03-20 08:42:03] Production.INFO: CreateAllLog Start [2025-03-20 08:42:03] Production.INFO: 117 [2025-03-20 08:42:03] Production.INFO: ==1324== Lock acquired, processing the job... [2025-03-20 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:42:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:42:03] Production.INFO: ==1316== Lock acquired, processing the job... [2025-03-20 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:42:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:03] Production.INFO: ==1318== Lock acquired, processing the job... [2025-03-20 08:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 08:42:03] Production.INFO: ==1322== Lock acquired, processing the job... [2025-03-20 08:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:42:03] Production.INFO: count ==12 [2025-03-20 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-03-20 08:42:03] Production.INFO: count ==23 [2025-03-20 08:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721686') start [2025-03-20 08:42:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:42:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721686') end [2025-03-20 08:42:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:42:03] Production.INFO: 1 [2025-03-20 08:42:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:42:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:03] Production.INFO: ==1324== Releasing lock... [2025-03-20 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:42:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:42:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:03] Production.INFO: Date 2025-03-16 [2025-03-20 08:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:04] Production.ERROR: done [2025-03-20 08:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:42:04] Production.INFO: Total Charge 0 [2025-03-20 08:42:04] Production.INFO: CreateAllLog End [2025-03-20 08:42:04] Production.ERROR: done [2025-03-20 08:42:04] Production.INFO: ==1316== Releasing lock... [2025-03-20 08:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:42:04] Production.INFO: Account Balance End. [2025-03-20 08:42:04] Production.INFO: ==== result ===== [2025-03-20 08:42:04] Production.INFO: { "Id": "2317fe43-1474-4d69-8ac6-8dcf6c93e56a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474524357)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "96f86bae-8425-405b-8e3f-8ba1901bb5f2", "InvoiceNumber": "INV11527", "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": "2025-02-13T00:00:00", "Date": "\/Date(1739404800000+0000)\/", "DueDateString": "2025-03-15T00:00:00", "DueDate": "\/Date(1741996800000+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": "d57a3c7f-9791-4deb-b3ff-a132c21d18e5", "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": "f1a2e7d2-08c6-4f9c-afb0-cf3ea7c1e779", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 60.00, "TotalTax": 7.80, "Total": 67.80, "UpdatedDateUTC": "\/Date(1742474524310+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:42:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:42:04] Production.INFO: ==1320== Releasing lock... [2025-03-20 08:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:42:04] Production.INFO: -- Create Invoice id --96f86bae-8425-405b-8e3f-8ba1901bb5f2 [2025-03-20 08:42:04] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:42:04] Production.INFO: CheckInvoice xerov2: INV11528 [2025-03-20 08:42:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11528 [2025-03-20 08:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:42:05 [end_date_ymd] => 2025-03-20 08:42:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:42:05' and `end` < '2025-03-20 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-03-20 08:42:07] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:42:07] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:42:07] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:42:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010534%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:42:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:42:12] Production.ERROR: CronJobId end10 [2025-03-20 08:42:12] Production.INFO: ==1318== Releasing lock... [2025-03-20 08:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:42:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:42:14] Production.INFO: call_cost start [2025-03-20 08:42:14] Production.INFO: call_cost end [2025-03-20 08:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:42:15] Production.INFO: ==1314== Releasing lock... [2025-03-20 08:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:42:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:42:17] Production.INFO: count ==399 [2025-03-20 08:42:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:42:05 - End Time 2025-03-20 08:42:05 [2025-03-20 08:42:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721688', 'tblTempUsageDetail_20' ) start [2025-03-20 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721688', 'tblTempUsageDetail_20' ) end [2025-03-20 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721688', 'tblTempVendorCDR_20' ) start [2025-03-20 08:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721688', 'tblTempVendorCDR_20' ) end [2025-03-20 08:42:17] Production.INFO: ProcessCDR(1,14721688,1,1,2) [2025-03-20 08:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:42:19] 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-03-20 08:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721688,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721688,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721688', 'tblTempUsageDetail_20' ) start [2025-03-20 08:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721688', 'tblTempUsageDetail_20' ) end [2025-03-20 08:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:42:22] Production.INFO: ==1322== Releasing lock... [2025-03-20 08:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:42:22] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:42:23] Production.INFO: ==== result ===== [2025-03-20 08:42:23] Production.INFO: { "Id": "aa254a55-3bfb-46cd-b3fe-9006bcc8ee8c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474542799)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "117a6356-a11b-44ef-bdd9-7f953cc24e0d", "InvoiceNumber": "INV11528", "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": "2025-02-13T00:00:00", "Date": "\/Date(1739404800000+0000)\/", "DueDateString": "2025-03-15T00:00:00", "DueDate": "\/Date(1741996800000+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": "5aa32dd8-f06b-47c3-b860-62be4a9f9a6b", "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": "df03c4d8-a9b8-4fc5-a2cf-a88e70d0acd9", "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": "0b04a5b2-164c-40e6-97c6-41b711c671bf", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742474542707+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:42:23] Production.INFO: -- Create Invoice id --117a6356-a11b-44ef-bdd9-7f953cc24e0d [2025-03-20 08:42:23] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:42:23] Production.INFO: CheckInvoice xerov2: INV11529 [2025-03-20 08:42:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11529 [2025-03-20 08:42:26] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:42:26] Production.INFO: Invoice SubTotal 5.000000 [2025-03-20 08:42:26] Production.INFO: Invoice DetTotal 5 [2025-03-20 08:42:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Infinite%20Possibilities" [2025-03-20 08:42:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:42:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:42:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:42:37] 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-03-20 08:42:40] Production.INFO: ==== result ===== [2025-03-20 08:42:40] Production.INFO: { "Id": "e7972ebd-40fd-4167-bec6-1ea953093bcf", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474560591)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "67ed0c4f-950e-4b39-b1f9-da904874b196", "InvoiceNumber": "INV11529", "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": "2025-02-13T00:00:00", "Date": "\/Date(1739404800000+0000)\/", "DueDateString": "2025-03-15T00:00:00", "DueDate": "\/Date(1741996800000+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": "29b5c377-dc29-4e2d-aa5e-d83b2253ab0f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 5.00, "TotalTax": 0.65, "Total": 5.65, "UpdatedDateUTC": "\/Date(1742474560543+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:42:40] Production.INFO: -- Create Invoice id --67ed0c4f-950e-4b39-b1f9-da904874b196 [2025-03-20 08:42:40] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:42:40] Production.INFO: CheckInvoice xerov2: INV11530 [2025-03-20 08:42:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11530 [2025-03-20 08:42:43] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:42:43] Production.INFO: Invoice SubTotal 205.920000 [2025-03-20 08:42:43] Production.INFO: Invoice DetTotal 205.92 [2025-03-20 08:42:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Shamrock" [2025-03-20 08:42:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:42:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:42:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:42:55] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "Starlink Internet Service (525 Ennis Rd., Ennismore, ON)",Quantity : 1,UnitAmount : 220.920000,LineAmount : 220.920000},{taxType:"TAX020",AccountCode : 303,"Description": "Long Term Rental Discount - $15/mo",Quantity : 1,UnitAmount : -15.000000,LineAmount : -15.000000} [2025-03-20 08:42:59] Production.INFO: ==== result ===== [2025-03-20 08:42:59] Production.INFO: { "Id": "07212c80-7e0d-42a5-a3ea-9449c4f12e93", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474579163)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5e018478-3263-48f0-99b4-3b804e436f8a", "InvoiceNumber": "INV11530", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 232.69, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "df7a6ec9-a1c3-47bf-9a70-a8ca44c5cf25", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Shamrock", "FirstName": "Shamrock", "LastName": "Program", "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(1690450280900+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-13T00:00:00", "Date": "\/Date(1739404800000+0000)\/", "DueDateString": "2025-03-15T00:00:00", "DueDate": "\/Date(1741996800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Starlink Internet Service (525 Ennis Rd., Ennismore, ON)", "UnitAmount": 220.92, "TaxType": "TAX020", "TaxAmount": 28.72, "LineAmount": 220.92, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b602287f-5b06-4702-80f0-9229273f4476", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "Long Term Rental Discount - $15/mo", "UnitAmount": -15.00, "TaxType": "TAX020", "TaxAmount": -1.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3689fede-195f-48c2-8938-a995e604d291", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 205.92, "TotalTax": 26.77, "Total": 232.69, "UpdatedDateUTC": "\/Date(1742474579117+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:42:59] Production.INFO: -- Create Invoice id --5e018478-3263-48f0-99b4-3b804e436f8a [2025-03-20 08:42:59] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:42:59] Production.INFO: CheckInvoice xerov2: INV11531 [2025-03-20 08:42:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11531 [2025-03-20 12:43:02] Production.INFO: ==1414== Lock acquired, processing the job... [2025-03-20 12:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:43:02] Production.INFO: neon service started [2025-03-20 12:43:02] Production.INFO: neon service started [2025-03-20 12:43:02] Production.INFO: ==1414== Releasing lock... [2025-03-20 12:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:43:02] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:43:02] Production.INFO: Invoice SubTotal 221.200000 [2025-03-20 08:43:02] Production.INFO: Invoice DetTotal 221.2 [2025-03-20 08:43:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bauman%20Group%20Inc." [2025-03-20 08:43:02] Production.INFO: ==1416== Lock acquired, processing the job... [2025-03-20 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:43:02] Production.INFO: ==1416== Releasing lock... [2025-03-20 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:43:02] Production.INFO: ==1418== Lock acquired, processing the job... [2025-03-20 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:43:03] Production.INFO: ==1418== Releasing lock... [2025-03-20 12:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:43:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:43:03] Production.INFO: ==1420== Lock acquired, processing the job... [2025-03-20 08:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:43:03] Production.INFO: ==1426== Lock acquired, processing the job... [2025-03-20 08:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:43:03] Production.INFO: ==1430== Lock acquired, processing the job... [2025-03-20 08:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:43:03] Production.INFO: ==1422== Lock acquired, processing the job... [2025-03-20 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:43:03] Production.INFO: Account Balance Start. [2025-03-20 08:43:03] Production.INFO: CreateAllLog Start [2025-03-20 08:43:03] Production.INFO: ==1424== Lock acquired, processing the job... [2025-03-20 08:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:43:03] Production.INFO: 117 [2025-03-20 08:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:43:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:03] Production.INFO: count ==12 [2025-03-20 08:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:43:03] Production.INFO: count ==23 [2025-03-20 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721691') start [2025-03-20 08:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.INFO: ==1428== Lock acquired, processing the job... [2025-03-20 08:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721691') end [2025-03-20 08:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:43:04] Production.INFO: 1 [2025-03-20 08:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:43:04] Production.INFO: ==1430== Releasing lock... [2025-03-20 08:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.INFO: ==1422== Releasing lock... [2025-03-20 08:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.ERROR: done [2025-03-20 08:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:43:04] Production.INFO: Total Charge 0 [2025-03-20 08:43:04] Production.INFO: CreateAllLog End [2025-03-20 08:43:04] Production.ERROR: done [2025-03-20 08:43:04] Production.INFO: Account Balance End. [2025-03-20 08:43:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:43:04] Production.INFO: ==1426== Releasing lock... [2025-03-20 08:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:43:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:43:05 [end_date_ymd] => 2025-03-20 08:43:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:43:05' and `end` < '2025-03-20 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-03-20 08:43:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:43:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:43:12] Production.ERROR: CronJobId end10 [2025-03-20 08:43:12] Production.INFO: ==1424== Releasing lock... [2025-03-20 08:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:43:14] 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-03-20 08:43:14] Production.INFO: call_cost start [2025-03-20 08:43:14] Production.INFO: call_cost end [2025-03-20 08:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:43:15] Production.INFO: ==1420== Releasing lock... [2025-03-20 08:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:43:16] Production.INFO: ==== result ===== [2025-03-20 08:43:16] Production.INFO: { "Id": "f0b4d2d3-a00b-44a0-88e2-ee24d824d7ce", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474596811)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b1a710ce-beb9-4343-8655-02b6abfa37f8", "InvoiceNumber": "INV11531", "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": "2025-02-13T00:00:00", "Date": "\/Date(1739404800000+0000)\/", "DueDateString": "2025-03-15T00:00:00", "DueDate": "\/Date(1741996800000+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": "2ae93d3e-de68-4789-9b13-75aacc129b03", "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": "7812a3f5-59db-46ed-a327-403ad89a220c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 221.20, "TotalTax": 28.76, "Total": 249.96, "UpdatedDateUTC": "\/Date(1742474596763+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:43:16] Production.INFO: -- Create Invoice id --b1a710ce-beb9-4343-8655-02b6abfa37f8 [2025-03-20 08:43:16] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:43:16] Production.INFO: CheckInvoice xerov2: INV11532 [2025-03-20 08:43:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11532 [2025-03-20 08:43:18] Production.INFO: count ==403 [2025-03-20 08:43:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:43:05 - End Time 2025-03-20 08:43:05 [2025-03-20 08:43:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721693', 'tblTempUsageDetail_20' ) start [2025-03-20 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721693', 'tblTempUsageDetail_20' ) end [2025-03-20 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721693', 'tblTempVendorCDR_20' ) start [2025-03-20 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721693', 'tblTempVendorCDR_20' ) end [2025-03-20 08:43:18] Production.INFO: ProcessCDR(1,14721693,1,1,2) [2025-03-20 08:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:43:19] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:43:19] Production.INFO: Invoice SubTotal 78.080000 [2025-03-20 08:43:19] Production.INFO: Invoice DetTotal 78.08 [2025-03-20 08:43:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Behrns%20Metal%20Fabricating%20Inc" [2025-03-20 08:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721693,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:43:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721693,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721693', 'tblTempUsageDetail_20' ) start [2025-03-20 08:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721693', 'tblTempUsageDetail_20' ) end [2025-03-20 08:43:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:43:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:43:23] Production.INFO: ==1428== Releasing lock... [2025-03-20 08:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:43:23] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:43:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:43:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:43:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-13-2025 To 02-12-2025",Quantity : 1,UnitAmount : 3.580000,LineAmount : 3.580000},{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-03-20 08:43:36] Production.INFO: ==== result ===== [2025-03-20 08:43:36] Production.INFO: { "Id": "356c1de7-9a87-48fd-abaf-fcc44f9d6cd2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474615919)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1e334a1a-79d1-4c12-bd0c-7bffcb3c4fa0", "InvoiceNumber": "INV11532", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 88.24, "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": "2025-02-13T00:00:00", "Date": "\/Date(1739404800000+0000)\/", "DueDateString": "2025-03-15T00:00:00", "DueDate": "\/Date(1741996800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-13-2025 To 02-12-2025", "UnitAmount": 3.58, "TaxType": "TAX020", "TaxAmount": 0.47, "LineAmount": 3.58, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a79cae39-c653-4671-b374-d35ba0e3bf9b", "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": "4949a18b-6f42-4c54-89f5-23ff061c6b84", "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": "b9d8ef3b-f2de-4ce0-bb4b-8083b53c47b6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 78.08, "TotalTax": 10.16, "Total": 88.24, "UpdatedDateUTC": "\/Date(1742474615827+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:43:36] Production.INFO: -- Create Invoice id --1e334a1a-79d1-4c12-bd0c-7bffcb3c4fa0 [2025-03-20 08:43:36] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:43:36] Production.INFO: CheckInvoice xerov2: INV11533 [2025-03-20 08:43:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11533 [2025-03-20 08:43:38] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:43:38] Production.INFO: Invoice SubTotal 38.500000 [2025-03-20 08:43:38] Production.INFO: Invoice DetTotal 38.5 [2025-03-20 08:43:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lake%20Life%20Financial%20Solutions%20Inc." [2025-03-20 08:43:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:43:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:43:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:43:50] 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-03-20 08:43:54] Production.INFO: ==== result ===== [2025-03-20 08:43:54] Production.INFO: { "Id": "f2319ae5-f351-407e-855c-14bca32968fd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474634004)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "19e1712d-d7ab-4171-a139-73ef7db63447", "InvoiceNumber": "INV11533", "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": "2025-02-13T00:00:00", "Date": "\/Date(1739404800000+0000)\/", "DueDateString": "2025-03-15T00:00:00", "DueDate": "\/Date(1741996800000+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": "ae00b6b5-3972-4b0c-a701-31d8360695a7", "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": "60406826-777c-4342-b624-47d24efcca64", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 38.50, "TotalTax": 5.01, "Total": 43.51, "UpdatedDateUTC": "\/Date(1742474633927+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:43:54] Production.INFO: -- Create Invoice id --19e1712d-d7ab-4171-a139-73ef7db63447 [2025-03-20 08:43:54] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:43:54] Production.INFO: CheckInvoice xerov2: INV11519 [2025-03-20 08:43:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11519 [2025-03-20 08:43:57] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:43:57] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 08:43:57] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 08:43:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010293%20%28David%20Mills%29" [2025-03-20 08:43:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 12:44:01] Production.INFO: ==1560== Lock acquired, processing the job... [2025-03-20 12:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:44:01] Production.INFO: neon service started [2025-03-20 12:44:01] Production.INFO: neon service started [2025-03-20 12:44:01] Production.INFO: ==1560== Releasing lock... [2025-03-20 12:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:44:01] Production.INFO: ==1562== Lock acquired, processing the job... [2025-03-20 08:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:44:02] Production.INFO: ==1562== Releasing lock... [2025-03-20 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:44:02] Production.INFO: ==1564== Lock acquired, processing the job... [2025-03-20 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:44:02] Production.INFO: ==1564== Releasing lock... [2025-03-20 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:44:02] Production.INFO: ==1572== Lock acquired, processing the job... [2025-03-20 08:44:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:44:03] Production.INFO: ==1574== Lock acquired, processing the job... [2025-03-20 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:44:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:44:03] Production.INFO: ==1578== Lock acquired, processing the job... [2025-03-20 08:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:44:03] Production.INFO: Account Balance Start. [2025-03-20 08:44:03] Production.INFO: CreateAllLog Start [2025-03-20 08:44:03] Production.INFO: 117 [2025-03-20 08:44:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:03] Production.INFO: ==1574== Releasing lock... [2025-03-20 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:44:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:03] Production.INFO: ==1576== Lock acquired, processing the job... [2025-03-20 08:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:44:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:03] Production.INFO: ==1580== Lock acquired, processing the job... [2025-03-20 08:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:44:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:44:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:03] Production.INFO: ==1582== Lock acquired, processing the job... [2025-03-20 08:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:44:03] Production.INFO: Date 2025-03-16 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:03] Production.INFO: Date 2025-03-17 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:03] Production.INFO: Date 2025-03-18 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:44:03] Production.INFO: Date 2025-03-19 [2025-03-20 08:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:03] Production.INFO: count ==12 [2025-03-20 08:44:03] Production.ERROR: done [2025-03-20 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-03-20 08:44:03] Production.INFO: count ==23 [2025-03-20 08:44:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721697') start [2025-03-20 08:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:44:04] Production.INFO: Total Charge 0 [2025-03-20 08:44:04] Production.INFO: CreateAllLog End [2025-03-20 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721697') end [2025-03-20 08:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:44:04] Production.INFO: 1 [2025-03-20 08:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:44:04] Production.INFO: Account Balance End. [2025-03-20 08:44:04] Production.INFO: ==1582== Releasing lock... [2025-03-20 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:44:04] Production.ERROR: done [2025-03-20 08:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:44:04] Production.INFO: ==1578== Releasing lock... [2025-03-20 08:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:44:05 [end_date_ymd] => 2025-03-20 08:44:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:44:05' and `end` < '2025-03-20 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-03-20 08:44:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:44:08] 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-03-20 08:44:11] Production.ERROR: CronJobId end10 [2025-03-20 08:44:11] Production.INFO: ==1576== Releasing lock... [2025-03-20 08:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:44:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:44:12] Production.INFO: ==== result ===== [2025-03-20 08:44:12] Production.INFO: { "Id": "f59bc12e-d006-4a8e-9974-507e79b4f618", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474652209)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8d1f35c8-4e92-4fe9-8a3c-806a8b54a32d", "InvoiceNumber": "INV11519", "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": "2025-02-12T00:00:00", "Date": "\/Date(1739318400000+0000)\/", "DueDateString": "2025-03-14T00:00:00", "DueDate": "\/Date(1741910400000+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": "162556dc-ec15-4f7c-b854-2e3a9f430fed", "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": "9568c637-2914-4bbb-950b-745045223f17", "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": "16dab3e7-f83f-4f07-abee-7a98adcfc466", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742474652147+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:44:12] Production.INFO: -- Create Invoice id --8d1f35c8-4e92-4fe9-8a3c-806a8b54a32d [2025-03-20 08:44:12] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:44:12] Production.INFO: CheckInvoice xerov2: INV11522 [2025-03-20 08:44:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11522 [2025-03-20 08:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:44:14] Production.INFO: call_cost start [2025-03-20 08:44:14] Production.INFO: call_cost end [2025-03-20 08:44:15] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:44:15] Production.INFO: Invoice SubTotal 39.400000 [2025-03-20 08:44:15] Production.INFO: Invoice DetTotal 39.4 [2025-03-20 08:44:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lion%20Motors" [2025-03-20 08:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:44:15] Production.INFO: ==1572== Releasing lock... [2025-03-20 08:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:44:17] Production.INFO: count ==405 [2025-03-20 08:44:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:44:05 - End Time 2025-03-20 08:44:05 [2025-03-20 08:44:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721698', 'tblTempUsageDetail_20' ) start [2025-03-20 08:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721698', 'tblTempUsageDetail_20' ) end [2025-03-20 08:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721698', 'tblTempVendorCDR_20' ) start [2025-03-20 08:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721698', 'tblTempVendorCDR_20' ) end [2025-03-20 08:44:17] Production.INFO: ProcessCDR(1,14721698,1,1,2) [2025-03-20 08:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:44:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721698', 'tblTempUsageDetail_20' ) start [2025-03-20 08:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721698', 'tblTempUsageDetail_20' ) end [2025-03-20 08:44:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:44:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:44:21] Production.INFO: ==1580== Releasing lock... [2025-03-20 08:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:44:21] Production.INFO: 31.75 MB #Memory Used# [2025-03-20 08:44:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:44:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:44:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Per Line License",Quantity : 2,UnitAmount : 16.000000,LineAmount : 32.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone License",Quantity : 4,UnitAmount : 1.850000,LineAmount : 7.400000} [2025-03-20 08:44:35] Production.INFO: ==== result ===== [2025-03-20 08:44:35] Production.INFO: { "Id": "1235c6c3-9748-4fd0-8aa1-78c2983548cf", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474675376)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "558f0d4b-c411-4d40-b0b8-45b288442200", "InvoiceNumber": "INV11522", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 44.52, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "8b770578-c376-449c-a07d-c9913161456e", "ContactStatus": "ACTIVE", "Name": "Lion Motors", "FirstName": "Yusuf", "LastName": "Haydar", "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(1742473968507+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-12T00:00:00", "Date": "\/Date(1739318400000+0000)\/", "DueDateString": "2025-03-14T00:00:00", "DueDate": "\/Date(1741910400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "CloudPhone.ONE Per Line License", "UnitAmount": 16.00, "TaxType": "TAX020", "TaxAmount": 4.16, "LineAmount": 32.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "DiscountRate": 0.00, "LineItemID": "741447d0-bb59-437e-b380-2d4918a8a9cd", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License", "UnitAmount": 1.85, "TaxType": "TAX020", "TaxAmount": 0.96, "LineAmount": 7.40, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "DiscountRate": 0.00, "LineItemID": "348f389b-8477-46a5-bf96-87cdf4cc92df", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 39.40, "TotalTax": 5.12, "Total": 44.52, "UpdatedDateUTC": "\/Date(1742474675300+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:44:35] Production.INFO: -- Create Invoice id --558f0d4b-c411-4d40-b0b8-45b288442200 [2025-03-20 08:44:35] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:44:35] Production.INFO: CheckInvoice xerov2: INV11513 [2025-03-20 08:44:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11513 [2025-03-20 08:44:38] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:44:38] Production.INFO: Invoice SubTotal 57.500000 [2025-03-20 08:44:38] Production.INFO: Invoice DetTotal 57.5 [2025-03-20 08:44:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010537%20%28Brandon%20Meyers%29" [2025-03-20 08:44:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:44:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:44:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:44:50] 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-03-20 08:44:53] Production.INFO: ==== result ===== [2025-03-20 08:44:53] Production.INFO: { "Id": "2ae0b6ca-655b-4ad3-93cc-fe6e2bd21382", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474693730)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "db755e54-1d84-499e-a8e0-1b2ee24d1b56", "InvoiceNumber": "INV11513", "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": "2025-02-11T00:00:00", "Date": "\/Date(1739232000000+0000)\/", "DueDateString": "2025-03-13T00:00:00", "DueDate": "\/Date(1741824000000+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": "8109ccb4-b00e-4a42-aea3-b3f95c0b7684", "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": "8f256782-35e4-4dfb-a779-f0c6d9d0e4ef", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 57.50, "TotalTax": 7.48, "Total": 64.98, "UpdatedDateUTC": "\/Date(1742474693667+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:44:53] Production.INFO: -- Create Invoice id --db755e54-1d84-499e-a8e0-1b2ee24d1b56 [2025-03-20 08:44:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:44:53] Production.INFO: CheckInvoice xerov2: INV11514 [2025-03-20 08:44:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11514 [2025-03-20 08:44:56] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:44:56] Production.INFO: Invoice SubTotal 9.500000 [2025-03-20 08:44:56] Production.INFO: Invoice DetTotal 9.5 [2025-03-20 08:44:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="G4%20Broker" [2025-03-20 08:44:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 12:45:02] Production.INFO: ==1669== Lock acquired, processing the job... [2025-03-20 12:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:45:02] Production.INFO: neon service started [2025-03-20 12:45:02] Production.INFO: neon service started [2025-03-20 12:45:02] Production.INFO: ==1669== Releasing lock... [2025-03-20 12:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:45:02] Production.INFO: ==1672== Lock acquired, processing the job... [2025-03-20 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:45:02] Production.INFO: ==1672== Releasing lock... [2025-03-20 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:45:02] Production.INFO: ==1674== Lock acquired, processing the job... [2025-03-20 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:45:02] Production.INFO: ==1674== Releasing lock... [2025-03-20 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:45:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:45:03] Production.INFO: ==1682== Lock acquired, processing the job... [2025-03-20 08:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:45:03] Production.INFO: ==1684== Lock acquired, processing the job... [2025-03-20 08:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:45:03] Production.INFO: ==1676== Lock acquired, processing the job... [2025-03-20 08:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:45:03] Production.INFO: Account Balance Start. [2025-03-20 08:45:03] Production.INFO: CreateAllLog Start [2025-03-20 08:45:03] Production.INFO: 117 [2025-03-20 08:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:45:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:03] Production.INFO: ==1678== Lock acquired, processing the job... [2025-03-20 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:45:03] Production.INFO: ==1680== Lock acquired, processing the job... [2025-03-20 08:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:45:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:45:03] Production.INFO: ==1686== Lock acquired, processing the job... [2025-03-20 08:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:45:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:45:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:45:04] Production.INFO: count ==12 [2025-03-20 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-03-20 08:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:45:04] Production.INFO: count ==23 [2025-03-20 08:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:04] Production.ERROR: done [2025-03-20 08:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721702') start [2025-03-20 08:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:04] Production.INFO: ==1678== Releasing lock... [2025-03-20 08:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721702') end [2025-03-20 08:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:45:04] Production.INFO: 1 [2025-03-20 08:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:45:04] Production.ERROR: done [2025-03-20 08:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:04] Production.INFO: ==1686== Releasing lock... [2025-03-20 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:45:04] Production.INFO: Total Charge 0 [2025-03-20 08:45:04] Production.INFO: CreateAllLog End [2025-03-20 08:45:04] Production.INFO: Account Balance End. [2025-03-20 08:45:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:45:04] Production.INFO: ==1682== Releasing lock... [2025-03-20 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:45:05 [end_date_ymd] => 2025-03-20 08:45:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:45:05' and `end` < '2025-03-20 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-03-20 08:45:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:45:09] 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-03-20 08:45:12] Production.INFO: ==== result ===== [2025-03-20 08:45:12] Production.INFO: { "Id": "06055d6e-4b88-453b-8b7d-5748becf1ee3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474712106)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "55f97e37-246b-4638-8c63-9e05fb121b78", "InvoiceNumber": "INV11514", "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": "2025-02-11T00:00:00", "Date": "\/Date(1739232000000+0000)\/", "DueDateString": "2025-03-13T00:00:00", "DueDate": "\/Date(1741824000000+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": "94d05eba-a80a-4338-ace1-0ce0a4af6f96", "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": "158b816e-c2ca-4a87-8f63-c0a24482b594", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 9.50, "TotalTax": 1.24, "Total": 10.74, "UpdatedDateUTC": "\/Date(1742474712067+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:45:12] Production.INFO: -- Create Invoice id --55f97e37-246b-4638-8c63-9e05fb121b78 [2025-03-20 08:45:12] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:45:12] Production.INFO: CheckInvoice xerov2: INV11515 [2025-03-20 08:45:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11515 [2025-03-20 08:45:13] Production.ERROR: CronJobId end10 [2025-03-20 08:45:13] Production.INFO: ==1680== Releasing lock... [2025-03-20 08:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:45:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:45:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:45:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:45:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:45:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:45:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:45:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:45:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:45:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:45:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:45:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:45:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:45:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:45:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:45:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:45:14] Production.INFO: call_cost start [2025-03-20 08:45:14] Production.INFO: call_cost end [2025-03-20 08:45:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:45:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:45:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:45:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:45:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:45:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:45:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:45:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:45:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:45:14] Production.INFO: ==1676== Releasing lock... [2025-03-20 08:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:45:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:45:15] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:45:15] Production.INFO: Invoice SubTotal 65.000000 [2025-03-20 08:45:15] Production.INFO: Invoice DetTotal 65 [2025-03-20 08:45:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010402%20%28Anwar%20Hossain%29" [2025-03-20 08:45:17] Production.INFO: count ==418 [2025-03-20 08:45:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:45:05 - End Time 2025-03-20 08:45:05 [2025-03-20 08:45:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721703', 'tblTempUsageDetail_20' ) start [2025-03-20 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721703', 'tblTempUsageDetail_20' ) end [2025-03-20 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721703', 'tblTempVendorCDR_20' ) start [2025-03-20 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721703', 'tblTempVendorCDR_20' ) end [2025-03-20 08:45:18] Production.INFO: ProcessCDR(1,14721703,1,1,2) [2025-03-20 08:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:45:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:45:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721703', 'tblTempUsageDetail_20' ) start [2025-03-20 08:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721703', 'tblTempUsageDetail_20' ) end [2025-03-20 08:45:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:45:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:45:23] Production.INFO: ==1684== Releasing lock... [2025-03-20 08:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:45:23] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:45:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:45:26] 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-03-20 08:45:30] Production.INFO: ==== result ===== [2025-03-20 08:45:30] Production.INFO: { "Id": "c4686bbb-4aa3-4e49-b4e4-1e390e83791e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474729851)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c59b79eb-8951-4ef4-86e8-2876e07c13ba", "InvoiceNumber": "INV11515", "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": "2025-02-11T00:00:00", "Date": "\/Date(1739232000000+0000)\/", "DueDateString": "2025-03-13T00:00:00", "DueDate": "\/Date(1741824000000+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": "a7b4e170-1ade-4125-93c9-54dd3520390b", "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": "d511feff-2118-4f81-9392-31d65e80f6c1", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 65.00, "TotalTax": 8.45, "Total": 73.45, "UpdatedDateUTC": "\/Date(1742474729773+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:45:30] Production.INFO: -- Create Invoice id --c59b79eb-8951-4ef4-86e8-2876e07c13ba [2025-03-20 08:45:30] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:45:30] Production.INFO: CheckInvoice xerov2: INV11516 [2025-03-20 08:45:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11516 [2025-03-20 08:45:32] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:45:32] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 08:45:32] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 08:45:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010547%20%28Nathan%20Krishnan%29" [2025-03-20 08:45:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:45:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:45:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:45:45] 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-03-20 08:45:48] Production.INFO: ==== result ===== [2025-03-20 08:45:48] Production.INFO: { "Id": "86a1f52a-2720-40e3-bc7a-cf3248054d86", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474748369)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "51b2444a-9253-4042-9075-3b0a74288434", "InvoiceNumber": "INV11516", "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": "2025-02-11T00:00:00", "Date": "\/Date(1739232000000+0000)\/", "DueDateString": "2025-03-13T00:00:00", "DueDate": "\/Date(1741824000000+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": "81c154aa-8e86-402d-8be1-c4bbaf3b0645", "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": "6c3805ec-ae65-4c57-b371-8e5a7af8351d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742474748230+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:45:48] Production.INFO: -- Create Invoice id --51b2444a-9253-4042-9075-3b0a74288434 [2025-03-20 08:45:48] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:45:48] Production.INFO: CheckInvoice xerov2: INV11517 [2025-03-20 08:45:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11517 [2025-03-20 08:45:51] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:45:51] Production.INFO: Invoice SubTotal 20.000000 [2025-03-20 08:45:51] Production.INFO: Invoice DetTotal 20 [2025-03-20 08:45:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Sidhu%20Law%20Chambers" [2025-03-20 08:45:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:45:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:45:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 12:46:01] Production.INFO: ==1771== Lock acquired, processing the job... [2025-03-20 12:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:46:01] Production.INFO: neon service started [2025-03-20 12:46:01] Production.INFO: neon service started [2025-03-20 12:46:01] Production.INFO: ==1771== Releasing lock... [2025-03-20 12:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:46:02] Production.INFO: ==1775== Lock acquired, processing the job... [2025-03-20 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:46:02] Production.INFO: ==1777== Lock acquired, processing the job... [2025-03-20 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:46:02] Production.INFO: ==1777== Releasing lock... [2025-03-20 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:46:02] 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-03-20 08:46:02] Production.INFO: ==1775== Releasing lock... [2025-03-20 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:46:03] Production.INFO: ==1791== Lock acquired, processing the job... [2025-03-20 08:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:46:03] Production.INFO: ==1793== Lock acquired, processing the job... [2025-03-20 08:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:46:03] Production.INFO: Account Balance Start. [2025-03-20 08:46:03] Production.INFO: CreateAllLog Start [2025-03-20 08:46:03] Production.INFO: 117 [2025-03-20 08:46:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:46:03] Production.INFO: ==1785== Lock acquired, processing the job... [2025-03-20 08:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:03] Production.INFO: ==1787== Lock acquired, processing the job... [2025-03-20 08:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:46:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:03] Production.INFO: ==1789== Lock acquired, processing the job... [2025-03-20 08:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:46:03] Production.INFO: ==1795== Lock acquired, processing the job... [2025-03-20 08:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:46:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:46:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:04] Production.ERROR: done [2025-03-20 08:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:46:04] Production.INFO: count ==12 [2025-03-20 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-03-20 08:46:04] Production.INFO: count ==23 [2025-03-20 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721707') start [2025-03-20 08:46:04] Production.INFO: ==1787== Releasing lock... [2025-03-20 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:04] Production.ERROR: done [2025-03-20 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721707') end [2025-03-20 08:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:46:04] Production.INFO: 1 [2025-03-20 08:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:04] Production.INFO: ==1795== Releasing lock... [2025-03-20 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:46:04] Production.INFO: Total Charge 0 [2025-03-20 08:46:04] Production.INFO: CreateAllLog End [2025-03-20 08:46:04] Production.INFO: Account Balance End. [2025-03-20 08:46:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:46:04] Production.INFO: ==1791== Releasing lock... [2025-03-20 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:46:05 [end_date_ymd] => 2025-03-20 08:46:05 [RateCDR] => 1 ) [2025-03-20 08:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:46:05' and `end` < '2025-03-20 08:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:46:06] Production.INFO: ==== result ===== [2025-03-20 08:46:06] Production.INFO: { "Id": "df02fe91-892d-43b4-b052-f12e5107a42e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474766165)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "45eb9b9d-88ea-4a7d-a599-dcf0228df62d", "InvoiceNumber": "INV11517", "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": "2025-02-11T00:00:00", "Date": "\/Date(1739232000000+0000)\/", "DueDateString": "2025-03-13T00:00:00", "DueDate": "\/Date(1741824000000+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": "3c0a1f35-362e-4064-8d56-2b57f7f6e472", "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": "a0644fe9-8a0c-40da-808d-6419c5b33d9f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 20.00, "TotalTax": 2.60, "Total": 22.60, "UpdatedDateUTC": "\/Date(1742474766087+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:46:06] Production.INFO: -- Create Invoice id --45eb9b9d-88ea-4a7d-a599-dcf0228df62d [2025-03-20 08:46:06] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:46:06] Production.INFO: CheckInvoice xerov2: INV11518 [2025-03-20 08:46:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11518 [2025-03-20 08:46:09] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:46:09] Production.INFO: Invoice SubTotal 75.150000 [2025-03-20 08:46:09] Production.INFO: Invoice DetTotal 75.15 [2025-03-20 08:46:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010096%20%28Albert%20Chan%29" [2025-03-20 08:46:11] Production.ERROR: CronJobId end10 [2025-03-20 08:46:11] Production.INFO: ==1789== Releasing lock... [2025-03-20 08:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:46:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:46:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:46:15] Production.INFO: call_cost start [2025-03-20 08:46:15] Production.INFO: call_cost end [2025-03-20 08:46:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:46:16] Production.INFO: ==1785== Releasing lock... [2025-03-20 08:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:46:17] Production.INFO: count ==418 [2025-03-20 08:46:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:46:05 - End Time 2025-03-20 08:46:05 [2025-03-20 08:46:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721708', 'tblTempUsageDetail_20' ) start [2025-03-20 08:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721708', 'tblTempUsageDetail_20' ) end [2025-03-20 08:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721708', 'tblTempVendorCDR_20' ) start [2025-03-20 08:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721708', 'tblTempVendorCDR_20' ) end [2025-03-20 08:46:17] Production.INFO: ProcessCDR(1,14721708,1,1,2) [2025-03-20 08:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:46:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721708', 'tblTempUsageDetail_20' ) start [2025-03-20 08:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721708', 'tblTempUsageDetail_20' ) end [2025-03-20 08:46:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:46:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:46:21] Production.INFO: ==1793== Releasing lock... [2025-03-20 08:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:46:21] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:46:21] 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 : -3.340000,LineAmount : -3.340000} [2025-03-20 08:46:25] Production.INFO: ==== result ===== [2025-03-20 08:46:25] Production.INFO: { "Id": "02e403ec-e4e4-4ac3-b0f8-73e9988d11fb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474785032)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1fa42212-7aad-4eb6-bbd4-43c4631bbcb2", "InvoiceNumber": "INV11518", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 84.93, "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": "2025-02-11T00:00:00", "Date": "\/Date(1739232000000+0000)\/", "DueDateString": "2025-03-13T00:00:00", "DueDate": "\/Date(1741824000000+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": "0ed036da-5d2d-4111-8f1e-54bf9e44e551", "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": "6e28f977-8ac5-4c5e-8bc1-f2661c7d92af", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Credit - Yealink hardware discount ($500 total, $50/mo for 10 months)", "UnitAmount": -3.34, "TaxType": "TAX020", "TaxAmount": -0.43, "LineAmount": -3.34, "AccountCode": "303", "Tracking": [], "Quantity": 1.0000, "LineItemID": "4fbb1cd6-be4b-4f31-9d56-4201f01f37a5", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 75.15, "TotalTax": 9.78, "Total": 84.93, "UpdatedDateUTC": "\/Date(1742474784987+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:46:25] Production.INFO: -- Create Invoice id --1fa42212-7aad-4eb6-bbd4-43c4631bbcb2 [2025-03-20 08:46:25] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:46:25] Production.INFO: CheckInvoice xerov2: INV11508 [2025-03-20 08:46:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11508 [2025-03-20 08:46:28] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:46:28] Production.INFO: Invoice SubTotal 38.870000 [2025-03-20 08:46:28] Production.INFO: Invoice DetTotal 38.87 [2025-03-20 08:46:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="DMCI" [2025-03-20 08:46:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:46:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:46:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:46:40] 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-03-20 08:46:43] Production.INFO: ==== result ===== [2025-03-20 08:46:43] Production.INFO: { "Id": "f42aeb02-0ae3-4ae8-bf97-e37d7ff8a39e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474802921)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f79bef74-ab3a-471c-afb3-f7eef3e11827", "InvoiceNumber": "INV11508", "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": "2025-02-10T00:00:00", "Date": "\/Date(1739145600000+0000)\/", "DueDateString": "2025-03-12T00:00:00", "DueDate": "\/Date(1741737600000+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": "8482bad8-1b53-43a0-93bc-22909491a179", "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": "cc965f56-9ac2-4061-b309-0ecd6e21914c", "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": "ee117a54-43e1-4fba-9d8e-107c05b2eae7", "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": "68be09ba-1798-4f47-bbe1-ef4946eaf37e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 38.87, "TotalTax": 5.05, "Total": 43.92, "UpdatedDateUTC": "\/Date(1742474802843+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:46:43] Production.INFO: -- Create Invoice id --f79bef74-ab3a-471c-afb3-f7eef3e11827 [2025-03-20 08:46:43] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:46:43] Production.INFO: CheckInvoice xerov2: INV11509 [2025-03-20 08:46:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11509 [2025-03-20 08:46:45] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:46:45] Production.INFO: Invoice SubTotal 14.910000 [2025-03-20 08:46:45] Production.INFO: Invoice DetTotal 14.91 [2025-03-20 08:46:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Rosedale%20Diner" [2025-03-20 08:46:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:46:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:46:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:46:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-10-2025 To 02-09-2025",Quantity : 1,UnitAmount : 0.410000,LineAmount : 0.410000},{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-03-20 08:47:01] Production.INFO: ==== result ===== [2025-03-20 08:47:01] Production.INFO: { "Id": "879998c3-7385-4970-8392-3bdd70f296ba", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474821713)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "cf49bd2a-6d53-4fe1-8d79-86931c05c20f", "InvoiceNumber": "INV11509", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 16.85, "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": "2025-02-10T00:00:00", "Date": "\/Date(1739145600000+0000)\/", "DueDateString": "2025-03-12T00:00:00", "DueDate": "\/Date(1741737600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-10-2025 To 02-09-2025", "UnitAmount": 0.41, "TaxType": "TAX020", "TaxAmount": 0.05, "LineAmount": 0.41, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1f4c772e-a57b-404f-82d2-bdbbfefc28bc", "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": "8f80a081-b3be-44e0-97d0-cfc05ad08299", "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": "5f7d3ebc-c085-4413-b580-df4f8b0b76ea", "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": "cba7ce9a-ba7c-4ef3-8f42-d21b8cffe762", "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": "b02cd352-75de-4fc7-9512-3712d68621a6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 14.91, "TotalTax": 1.94, "Total": 16.85, "UpdatedDateUTC": "\/Date(1742474821633+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:47:01] Production.INFO: -- Create Invoice id --cf49bd2a-6d53-4fe1-8d79-86931c05c20f [2025-03-20 08:47:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:47:01] Production.INFO: CheckInvoice xerov2: INV11510 [2025-03-20 08:47:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11510 [2025-03-20 12:47:02] Production.INFO: ==1884== Lock acquired, processing the job... [2025-03-20 12:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:47:02] Production.INFO: neon service started [2025-03-20 12:47:02] Production.INFO: neon service started [2025-03-20 12:47:02] Production.INFO: ==1884== Releasing lock... [2025-03-20 12:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:47:02] Production.INFO: ==1886== Lock acquired, processing the job... [2025-03-20 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:47:02] Production.INFO: ==1888== Lock acquired, processing the job... [2025-03-20 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:47:02] Production.INFO: ==1888== Releasing lock... [2025-03-20 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:47:02] Production.INFO: ==1886== Releasing lock... [2025-03-20 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:47:03] Production.INFO: ==1893== Lock acquired, processing the job... [2025-03-20 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:47:03] Production.INFO: ==1895== Lock acquired, processing the job... [2025-03-20 08:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:47:03] Production.INFO: ==1897== Lock acquired, processing the job... [2025-03-20 08:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:47:04] Production.INFO: Account Balance Start. [2025-03-20 08:47:04] Production.INFO: CreateAllLog Start [2025-03-20 08:47:04] Production.INFO: 117 [2025-03-20 08:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: ==1891== Lock acquired, processing the job... [2025-03-20 08:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: ==1899== Lock acquired, processing the job... [2025-03-20 08:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: ==1893== Releasing lock... [2025-03-20 08:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: ==1901== Lock acquired, processing the job... [2025-03-20 08:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:47:04] Production.INFO: Total Charge 0 [2025-03-20 08:47:04] Production.INFO: CreateAllLog End [2025-03-20 08:47:04] Production.INFO: count ==12 [2025-03-20 08:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:47:04] Production.INFO: count ==23 [2025-03-20 08:47:04] Production.ERROR: done [2025-03-20 08:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721712') start [2025-03-20 08:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:47:05] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:47:05] Production.ERROR: done [2025-03-20 08:47:05] Production.INFO: Invoice SubTotal 46.490000 [2025-03-20 08:47:05] Production.INFO: Invoice DetTotal 46.49 [2025-03-20 08:47:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="J.%20Randall%20Graham%2C%20CPA" [2025-03-20 08:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721712') end [2025-03-20 08:47:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:47:05] Production.INFO: 1 [2025-03-20 08:47:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:47:05] Production.INFO: Account Balance End. [2025-03-20 08:47:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:47:05] Production.INFO: ==1897== Releasing lock... [2025-03-20 08:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:47:05] Production.INFO: ==1901== Releasing lock... [2025-03-20 08:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:47:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:47:06 [end_date_ymd] => 2025-03-20 08:47:06 [RateCDR] => 1 ) [2025-03-20 08:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:47:06' and `end` < '2025-03-20 08:47:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:47:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:47:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:47:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:47:14] Production.ERROR: CronJobId end10 [2025-03-20 08:47:14] Production.INFO: ==1895== Releasing lock... [2025-03-20 08:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:47:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:47:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:47:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:47:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:47:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:47:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:47:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:47:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:47:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:47:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:47:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:47:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:47:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:47:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:47:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:47:17] Production.INFO: =========Invoices String here======{AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-10-2025 To 02-09-2025",Quantity : 1,UnitAmount : 1.990000,LineAmount : 1.990000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 6,UnitAmount : 7.000000,LineAmount : 42.000000},{AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (18605166325 - 1616 METROPOLITAN CIR UNIT A TALLAHASSEE, FL 32308)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:47:17] Production.INFO: call_cost start [2025-03-20 08:47:17] Production.INFO: call_cost end [2025-03-20 08:47:18] Production.INFO: count ==418 [2025-03-20 08:47:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:47:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:47:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:47:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:47:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:47:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:47:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:47:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:47:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:47:18] Production.INFO: ==1891== Releasing lock... [2025-03-20 08:47:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:47:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:47:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:47:06 - End Time 2025-03-20 08:47:06 [2025-03-20 08:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721713', 'tblTempUsageDetail_20' ) start [2025-03-20 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721713', 'tblTempUsageDetail_20' ) end [2025-03-20 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721713', 'tblTempVendorCDR_20' ) start [2025-03-20 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721713', 'tblTempVendorCDR_20' ) end [2025-03-20 08:47:18] Production.INFO: ProcessCDR(1,14721713,1,1,2) [2025-03-20 08:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:47:21] Production.INFO: ==== result ===== [2025-03-20 08:47:21] Production.INFO: { "Id": "69c3390d-7d89-4dac-ba1b-e0ad0e9c9da6", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474841058)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "884d88d5-df48-4a9c-a386-7e187ec2ff72", "InvoiceNumber": "INV11510", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 52.54, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7aa12a04-66d6-4e6f-ae1b-86427d18b26f", "ContactStatus": "ACTIVE", "Name": "J. Randall Graham, CPA", "FirstName": "Randy", "LastName": "Graham", "EmailAddress": "jrgcpa@nettally.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "1616-A Metropolitan Circle", "AddressLine2": "", "AddressLine3": "Tallahassee, 32308", "AddressLine4": "", "City": "Tallahassee", "Region": "", "PostalCode": "32308", "Country": "United States", "AttentionTo": "Randy Graham" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(850) 3853711", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "8503853711,101", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "8505456466", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1497928193093+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-10T00:00:00", "Date": "\/Date(1739145600000+0000)\/", "DueDateString": "2025-02-17T00:00:00", "DueDate": "\/Date(1739750400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-10-2025 To 02-09-2025", "UnitAmount": 1.99, "TaxType": "OUTPUT", "TaxAmount": 0.26, "LineAmount": 1.99, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "1692f7a2-24a5-49b2-8666-243d3325279f", "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": "OUTPUT", "TaxAmount": 5.46, "LineAmount": 42.00, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "DiscountRate": 0.00, "LineItemID": "e067c30f-4ecf-47dd-9f48-f2eaf6e33bfb", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "e911 address registration (18605166325 - 1616 METROPOLITAN CIR UNIT A TALLAHASSEE, FL 32308)", "UnitAmount": 2.50, "TaxType": "OUTPUT", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5c950c64-b040-494e-9586-abd4bea9e3aa", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 46.49, "TotalTax": 6.05, "Total": 52.54, "UpdatedDateUTC": "\/Date(1742474840980+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:47:21] Production.INFO: -- Create Invoice id --884d88d5-df48-4a9c-a386-7e187ec2ff72 [2025-03-20 08:47:21] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:47:21] Production.INFO: CheckInvoice xerov2: INV11511 [2025-03-20 08:47:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11511 [2025-03-20 08:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721713', 'tblTempUsageDetail_20' ) start [2025-03-20 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721713', 'tblTempUsageDetail_20' ) end [2025-03-20 08:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:47:22] Production.INFO: ==1899== Releasing lock... [2025-03-20 08:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:47:22] Production.INFO: 32 MB #Memory Used# [2025-03-20 08:47:24] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:47:24] Production.INFO: Invoice SubTotal 11.260000 [2025-03-20 08:47:24] Production.INFO: Invoice DetTotal 11.26 [2025-03-20 08:47:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Discovery%20Point%20Nursery" [2025-03-20 08:47:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:47:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:47:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:47:36] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-10-2025 To 02-09-2025",Quantity : 1,UnitAmount : 1.760000,LineAmount : 1.760000},{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-03-20 08:47:40] Production.INFO: ==== result ===== [2025-03-20 08:47:40] Production.INFO: { "Id": "74c17fe7-ecd3-43ef-828e-8003134ce97c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474859870)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9e51c789-4986-4389-9abb-8f73172ddcf0", "InvoiceNumber": "INV11511", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 12.73, "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": "2025-02-10T00:00:00", "Date": "\/Date(1739145600000+0000)\/", "DueDateString": "2025-03-12T00:00:00", "DueDate": "\/Date(1741737600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-10-2025 To 02-09-2025", "UnitAmount": 1.76, "TaxType": "TAX020", "TaxAmount": 0.23, "LineAmount": 1.76, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "2ebabec7-4fdb-4103-a2bd-459f2582e99b", "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": "6a3d8d1d-a947-4fba-9356-d42070e69506", "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": "ca6ade2e-927c-4bb9-9390-55f3b4b409e8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 11.26, "TotalTax": 1.47, "Total": 12.73, "UpdatedDateUTC": "\/Date(1742474859823+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:47:40] Production.INFO: -- Create Invoice id --9e51c789-4986-4389-9abb-8f73172ddcf0 [2025-03-20 08:47:40] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:47:40] Production.INFO: CheckInvoice xerov2: INV11512 [2025-03-20 08:47:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11512 [2025-03-20 08:47:42] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:47:42] Production.INFO: Invoice SubTotal 249.220000 [2025-03-20 08:47:42] Production.INFO: Invoice DetTotal 249.22 [2025-03-20 08:47:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010560%20%28Ricky%20Singh%29" [2025-03-20 08:47:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:47:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:47:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:47:54] 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-03-20 08:47:58] Production.INFO: ==== result ===== [2025-03-20 08:47:58] Production.INFO: { "Id": "c77a5753-76a7-4acf-8ce1-11182594ed20", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474878339)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "4070237d-4841-4b2a-9048-e9741d4fdbc5", "InvoiceNumber": "INV11512", "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": "2025-02-10T00:00:00", "Date": "\/Date(1739145600000+0000)\/", "DueDateString": "2025-03-12T00:00:00", "DueDate": "\/Date(1741737600000+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": "90b77baa-5717-4ce5-991b-a66d70263a24", "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": "957c91de-14fc-407e-9e01-c841ad254a67", "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": "7c95e5cf-8214-46a0-aa5b-d211475f025a", "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": "59b42b4e-95ca-4e23-9649-2fede2e167cb", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 249.22, "TotalTax": 32.40, "Total": 281.62, "UpdatedDateUTC": "\/Date(1742474878247+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:47:58] Production.INFO: -- Create Invoice id --4070237d-4841-4b2a-9048-e9741d4fdbc5 [2025-03-20 08:47:58] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:47:58] Production.INFO: CheckInvoice xerov2: INV11502 [2025-03-20 08:47:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11502 [2025-03-20 08:48:01] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:48:01] Production.INFO: Invoice SubTotal 23.890000 [2025-03-20 08:48:01] Production.INFO: Invoice DetTotal 23.89 [2025-03-20 08:48:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="AOPG%20Inc." [2025-03-20 12:48:01] Production.INFO: ==1999== Lock acquired, processing the job... [2025-03-20 12:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:48:01] Production.INFO: neon service started [2025-03-20 12:48:01] Production.INFO: neon service started [2025-03-20 12:48:01] Production.INFO: ==1999== Releasing lock... [2025-03-20 12:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:48:02] Production.INFO: ==2001== Lock acquired, processing the job... [2025-03-20 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:48:02] Production.INFO: ==2001== Releasing lock... [2025-03-20 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:48:02] Production.INFO: ==2003== Lock acquired, processing the job... [2025-03-20 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:48:02] Production.INFO: ==2003== Releasing lock... [2025-03-20 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:48:03] Production.INFO: ==2014== Lock acquired, processing the job... [2025-03-20 08:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:48:03] Production.INFO: ==2016== Lock acquired, processing the job... [2025-03-20 08:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:48:03] Production.INFO: ==2007== Lock acquired, processing the job... [2025-03-20 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:48:03] Production.INFO: ==2005== Lock acquired, processing the job... [2025-03-20 08:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 08:48:03] Production.INFO: ==2009== Lock acquired, processing the job... [2025-03-20 08:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:48:03] Production.INFO: count ==12 [2025-03-20 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-03-20 08:48:03] Production.INFO: ==2011== Lock acquired, processing the job... [2025-03-20 08:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:48:03] Production.INFO: count ==23 [2025-03-20 08:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721714') start [2025-03-20 08:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721714') end [2025-03-20 08:48:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:48:03] Production.INFO: 1 [2025-03-20 08:48:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:48:03] Production.INFO: Account Balance Start. [2025-03-20 08:48:03] Production.INFO: CreateAllLog Start [2025-03-20 08:48:03] Production.INFO: 117 [2025-03-20 08:48:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:48:03] Production.ERROR: done [2025-03-20 08:48:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:48:03] Production.INFO: ==2016== Releasing lock... [2025-03-20 08:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:48:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.ERROR: done [2025-03-20 08:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: ==2007== Releasing lock... [2025-03-20 08:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:48:04] Production.INFO: Total Charge 0 [2025-03-20 08:48:04] Production.INFO: CreateAllLog End [2025-03-20 08:48:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:48:04] Production.INFO: Account Balance End. [2025-03-20 08:48:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:48:04] Production.INFO: ==2011== Releasing lock... [2025-03-20 08:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:48:05 [end_date_ymd] => 2025-03-20 08:48:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:48:05' and `end` < '2025-03-20 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-03-20 08:48:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:48:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:48:13] Production.ERROR: CronJobId end10 [2025-03-20 08:48:13] Production.INFO: ==2009== Releasing lock... [2025-03-20 08:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:48:14] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-09-2025 To 02-08-2025",Quantity : 1,UnitAmount : 0.390000,LineAmount : 0.390000},{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-03-20 08:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:48:16] Production.INFO: call_cost start [2025-03-20 08:48:16] Production.INFO: call_cost end [2025-03-20 08:48:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:48:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:48:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:48:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:48:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:48:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:48:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:48:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:48:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:48:17] Production.INFO: ==2005== Releasing lock... [2025-03-20 08:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:48:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:48:17] Production.INFO: count ==428 [2025-03-20 08:48:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:48:05 - End Time 2025-03-20 08:48:05 [2025-03-20 08:48:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721718', 'tblTempUsageDetail_20' ) start [2025-03-20 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721718', 'tblTempUsageDetail_20' ) end [2025-03-20 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721718', 'tblTempVendorCDR_20' ) start [2025-03-20 08:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721718', 'tblTempVendorCDR_20' ) end [2025-03-20 08:48:17] Production.INFO: ProcessCDR(1,14721718,1,1,2) [2025-03-20 08:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:48:18] Production.INFO: ==== result ===== [2025-03-20 08:48:18] Production.INFO: { "Id": "a1c84245-dfc1-45fd-9ec0-e536d89672e5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474897956)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "7d554a0c-7922-4919-a304-8f98952f70d5", "InvoiceNumber": "INV11502", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 27.00, "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": "2025-02-09T00:00:00", "Date": "\/Date(1739059200000+0000)\/", "DueDateString": "2025-03-11T00:00:00", "DueDate": "\/Date(1741651200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-09-2025 To 02-08-2025", "UnitAmount": 0.39, "TaxType": "TAX020", "TaxAmount": 0.05, "LineAmount": 0.39, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7502a8e4-5d0f-4882-a5e7-6513d98bc89e", "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": "7db886cd-6cbe-4690-b25e-a0ddd0b3155e", "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": "987de3ba-40f9-47dc-9295-fe06fe951db2", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 23.89, "TotalTax": 3.11, "Total": 27.00, "UpdatedDateUTC": "\/Date(1742474897910+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:48:18] Production.INFO: -- Create Invoice id --7d554a0c-7922-4919-a304-8f98952f70d5 [2025-03-20 08:48:18] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:48:18] Production.INFO: CheckInvoice xerov2: INV11507 [2025-03-20 08:48:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11507 [2025-03-20 08:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:48:21] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:48:21] Production.INFO: Invoice SubTotal 1537.020000 [2025-03-20 08:48:21] Production.INFO: Invoice DetTotal 1537.02 [2025-03-20 08:48:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-03-20 08:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721718', 'tblTempUsageDetail_20' ) start [2025-03-20 08:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721718', 'tblTempUsageDetail_20' ) end [2025-03-20 08:48:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:48:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:48:23] Production.INFO: ==2014== Releasing lock... [2025-03-20 08:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:48:23] Production.INFO: 31.75 MB #Memory Used# [2025-03-20 08:48:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:48:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:48:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:48:32] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Purchase of premium phone number 519-806-8000 in September 2021",Quantity : 1,UnitAmount : 1537.020000,LineAmount : 1537.020000} [2025-03-20 08:48:35] Production.INFO: ==== result ===== [2025-03-20 08:48:35] Production.INFO: { "Id": "d07aab58-10c2-4c4f-99db-de86eadf87e6", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474915444)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "0dee2555-646b-4f90-af80-3d0044fc9226", "InvoiceNumber": "INV11507", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 1736.83, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "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-02-09T00:00:00", "Date": "\/Date(1739059200000+0000)\/", "DueDateString": "2025-03-11T00:00:00", "DueDate": "\/Date(1741651200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Purchase of premium phone number 519-806-8000 in September 2021", "UnitAmount": 1537.02, "TaxType": "TAX020", "TaxAmount": 199.81, "LineAmount": 1537.02, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "6b19af8c-08e4-47e5-994e-03ff973529f9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 1537.02, "TotalTax": 199.81, "Total": 1736.83, "UpdatedDateUTC": "\/Date(1742474915367+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:48:35] Production.INFO: -- Create Invoice id --0dee2555-646b-4f90-af80-3d0044fc9226 [2025-03-20 08:48:35] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:48:35] Production.INFO: CheckInvoice xerov2: INV50018 [2025-03-20 08:48:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50018 [2025-03-20 08:48:38] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:48:38] Production.INFO: Invoice SubTotal 2296.430000 [2025-03-20 08:48:38] Production.INFO: Invoice DetTotal 2296.43 [2025-03-20 08:48:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 08:48:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:48:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:48:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:48:50] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 08-01-2025 To 07-02-2025",Quantity : 1,UnitAmount : 0.810000,LineAmount : 0.810000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Unlimited Can/US Extension",Quantity : 25,UnitAmount : 6.500000,LineAmount : 162.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18779739378)",Quantity : 1,UnitAmount : 3.500000,LineAmount : 3.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (18665957130)",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18775737303)",Quantity : 1,UnitAmount : 3.500000,LineAmount : 3.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (18002547598)",Quantity : 1,UnitAmount : 55.000000,LineAmount : 55.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (12898030100)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14162812044)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14162815300)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (14165994888)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19052787239)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (19056290329)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Hosting SERVER: Windows Server 2016 Standard",Quantity : 1,UnitAmount : 198.720000,LineAmount : 198.720000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Hosting STORAGE: 500GB data storage disk",Quantity : 1,UnitAmount : 34.560000,LineAmount : 34.560000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Backup: Cloud replication (charged per gigabyte)",Quantity : 150,UnitAmount : 0.300000,LineAmount : 45.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Backup: Site License for each site being backed up (for servers)",Quantity : 1,UnitAmount : 60.000000,LineAmount : 60.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Support for approximately 14 employee home routers",Quantity : 1,UnitAmount : 70.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Management of server",Quantity : 1,UnitAmount : 25.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation",Quantity : 18,UnitAmount : 52.000000,LineAmount : 936.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Management for Part-Time Workstation - Basic monitoring and anti-virus",Quantity : 7,UnitAmount : 10.000000,LineAmount : 70.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 15,UnitAmount : 8.100000,LineAmount : 121.500000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 24,UnitAmount : 17.000000,LineAmount : 408.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Plan 1 - Email only",Quantity : 6,UnitAmount : 5.390000,LineAmount : 32.340000} [2025-03-20 08:48:53] Production.INFO: ==== result ===== [2025-03-20 08:48:53] Production.INFO: { "Id": "bbb39167-d521-48eb-a5c5-1b7829c8c493", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742474933554)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e2f5b5d1-10eb-4bea-aca4-d9631c1b5936", "InvoiceNumber": "INV50018", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 2595.01, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47", "ContactNumber": "Plus Travel Group", "ContactStatus": "ACTIVE", "Name": "Plus Travel Group", "FirstName": "", "LastName": "", "EmailAddress": "luiza.rocha-baker@donaldsontravel.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "73 Water Street North", "AddressLine2": "Unit 300", "AddressLine3": "", "AddressLine4": "", "City": "Cambridge", "Region": "ON", "PostalCode": "N1R 7L6", "Country": "CANADA", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "9056290329", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "9056290329", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936260903+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-08T00:00:00", "Date": "\/Date(1738972800000+0000)\/", "DueDateString": "2025-03-10T00:00:00", "DueDate": "\/Date(1741564800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 08-01-2025 To 07-02-2025", "UnitAmount": 0.81, "TaxType": "TAX020", "TaxAmount": 0.11, "LineAmount": 0.81, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d21b92dd-42c7-4c7a-b373-b840794f1323", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for a Unlimited Can/US Extension", "UnitAmount": 6.50, "TaxType": "TAX020", "TaxAmount": 21.13, "LineAmount": 162.50, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "LineItemID": "551f0456-e0e4-40bd-9024-42060fb622aa", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18779739378)", "UnitAmount": 3.50, "TaxType": "TAX020", "TaxAmount": 0.46, "LineAmount": 3.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "3e4ef4e6-3b77-4b2c-844e-6ba77d028816", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (18665957130)", "UnitAmount": 55.00, "TaxType": "TAX020", "TaxAmount": 7.15, "LineAmount": 55.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "31b6c3d6-30f1-4f31-bd4e-a2c67e3fc915", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (18775737303)", "UnitAmount": 3.50, "TaxType": "TAX020", "TaxAmount": 0.46, "LineAmount": 3.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7f353fda-1d12-4346-8155-8abcc6559dd6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (18002547598)", "UnitAmount": 55.00, "TaxType": "TAX020", "TaxAmount": 7.15, "LineAmount": 55.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "edc10250-9c3e-4b80-ac2d-8c73ac9637bf", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (12898030100)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f6e155f1-6c66-41a4-a92c-7f5c1e568836", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14162812044)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "06b76821-472e-466a-89aa-5c2bbfd0c301", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14162815300)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d4b7980f-52d2-49a2-9b27-7c86492c97ee", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (14165994888)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "0574ad05-70d2-4fb2-a7d0-b37078bd367d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19052787239)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d69d6fef-f8e1-4a0b-a0bc-108a85f42bb7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Additional DID (19056290329)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d12070aa-a68b-4652-868a-0f55b95830e8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Managed Hosting SERVER: Windows Server 2016 Standard", "UnitAmount": 198.72, "TaxType": "TAX020", "TaxAmount": 25.83, "LineAmount": 198.72, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "5d6392fe-af04-45b6-a193-eee76b07f3b8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Hosting STORAGE: 500GB data storage disk", "UnitAmount": 34.56, "TaxType": "TAX020", "TaxAmount": 4.49, "LineAmount": 34.56, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "3c633446-8d83-42df-899e-0f3479421177", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Backup: Cloud replication (charged per gigabyte)", "UnitAmount": 0.30, "TaxType": "TAX020", "TaxAmount": 5.85, "LineAmount": 45.00, "AccountCode": "203", "Tracking": [], "Quantity": 150.0000, "LineItemID": "e2194c4a-a82e-4e32-9ed6-dd9450db84d6", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Backup: Site License for each site being backed up (for servers)", "UnitAmount": 60.00, "TaxType": "TAX020", "TaxAmount": 7.80, "LineAmount": 60.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ee7b5532-8f0b-47b7-b334-0e332ea78c18", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Support for approximately 14 employee home routers", "UnitAmount": 70.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "4bb7afcf-3bdf-47ee-bf14-afc2087ee4ce", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Management of server", "UnitAmount": 25.00, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "f039a7cc-bf1a-43b6-96b9-ba889c9dc512", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed IT: Workstation", "UnitAmount": 52.00, "TaxType": "TAX020", "TaxAmount": 121.68, "LineAmount": 936.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "LineItemID": "70f16e71-6001-4050-978f-9d1b61850613", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Management for Part-Time Workstation - Basic monitoring and anti-virus", "UnitAmount": 10.00, "TaxType": "TAX020", "TaxAmount": 9.10, "LineAmount": 70.00, "AccountCode": "203", "Tracking": [], "Quantity": 7.0000, "LineItemID": "24d37d2d-e4a6-4ee2-b607-b98ebc7b2bea", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic collaboration and productivity suite", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 15.80, "LineAmount": 121.50, "AccountCode": "250", "Tracking": [], "Quantity": 15.0000, "LineItemID": "35c14305-9d6b-48dc-a05d-d3d1494114c4", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard collaboration and productivity suite", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 53.04, "LineAmount": 408.00, "AccountCode": "250", "Tracking": [], "Quantity": 24.0000, "LineItemID": "e587a48b-bb72-471c-83d5-bf9366a59b6c", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Plan 1 - Email only", "UnitAmount": 5.39, "TaxType": "TAX020", "TaxAmount": 4.20, "LineAmount": 32.34, "AccountCode": "203", "Tracking": [], "Quantity": 6.0000, "LineItemID": "780e0389-0a9b-4d07-96d8-3ce84620ba56", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 2296.43, "TotalTax": 298.58, "Total": 2595.01, "UpdatedDateUTC": "\/Date(1742474933460+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:48:53] Production.INFO: -- Create Invoice id --e2f5b5d1-10eb-4bea-aca4-d9631c1b5936 [2025-03-20 08:48:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:48:53] Production.INFO: -- Xero End Inovice -- [2025-03-20 08:48:53] Production.INFO: ==32494== Releasing lock... [2025-03-20 08:48:53] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10800 #Stops# [2025-03-20 08:48:53] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 12:49:02] Production.INFO: ==2115== Lock acquired, processing the job... [2025-03-20 12:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:49:02] Production.INFO: neon service started [2025-03-20 12:49:02] Production.INFO: neon service started [2025-03-20 12:49:02] Production.INFO: ==2115== Releasing lock... [2025-03-20 12:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:49:02] Production.INFO: ==2117== Lock acquired, processing the job... [2025-03-20 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:49:02] Production.INFO: ==2117== Releasing lock... [2025-03-20 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:49:02] Production.INFO: ==2119== Lock acquired, processing the job... [2025-03-20 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:49:03] Production.INFO: ==2119== Releasing lock... [2025-03-20 12:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:49:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:49:03] Production.INFO: ==2124== Lock acquired, processing the job... [2025-03-20 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:49:03] Production.INFO: ==2130== Lock acquired, processing the job... [2025-03-20 08:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:49:03] Production.INFO: ==2128== Lock acquired, processing the job... [2025-03-20 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:49:03] Production.INFO: Account Balance Start. [2025-03-20 08:49:03] Production.INFO: CreateAllLog Start [2025-03-20 08:49:03] Production.INFO: 117 [2025-03-20 08:49:03] Production.INFO: ==2124== Releasing lock... [2025-03-20 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:49:03] Production.INFO: ==2126== Lock acquired, processing the job... [2025-03-20 08:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:03] Production.INFO: ==2122== Lock acquired, processing the job... [2025-03-20 08:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:49:03] Production.INFO: ==2132== Lock acquired, processing the job... [2025-03-20 08:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:49:04] Production.ERROR: done [2025-03-20 08:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:49:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:49:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:04] Production.INFO: count ==12 [2025-03-20 08:49:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:49:04] Production.INFO: count ==23 [2025-03-20 08:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:04] Production.ERROR: done [2025-03-20 08:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721722') start [2025-03-20 08:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721722') end [2025-03-20 08:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:49:04] Production.INFO: 1 [2025-03-20 08:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:49:04] Production.INFO: ==2132== Releasing lock... [2025-03-20 08:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:49:04] Production.INFO: Total Charge 0 [2025-03-20 08:49:04] Production.INFO: CreateAllLog End [2025-03-20 08:49:05] Production.INFO: Account Balance End. [2025-03-20 08:49:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:49:05] Production.INFO: ==2128== Releasing lock... [2025-03-20 08:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:49:05 [end_date_ymd] => 2025-03-20 08:49:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:49:05' and `end` < '2025-03-20 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-03-20 08:49:11] Production.ERROR: CronJobId end10 [2025-03-20 08:49:11] Production.INFO: ==2126== Releasing lock... [2025-03-20 08:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:49:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:49:14] Production.INFO: call_cost start [2025-03-20 08:49:14] Production.INFO: call_cost end [2025-03-20 08:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:49:15] Production.INFO: ==2122== Releasing lock... [2025-03-20 08:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:49:17] Production.INFO: count ==436 [2025-03-20 08:49:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:49:05 - End Time 2025-03-20 08:49:05 [2025-03-20 08:49:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721723', 'tblTempUsageDetail_20' ) start [2025-03-20 08:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721723', 'tblTempUsageDetail_20' ) end [2025-03-20 08:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721723', 'tblTempVendorCDR_20' ) start [2025-03-20 08:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721723', 'tblTempVendorCDR_20' ) end [2025-03-20 08:49:17] Production.INFO: ProcessCDR(1,14721723,1,1,2) [2025-03-20 08:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721723', 'tblTempUsageDetail_20' ) start [2025-03-20 08:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721723', 'tblTempUsageDetail_20' ) end [2025-03-20 08:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:49:22] Production.INFO: ==2130== Releasing lock... [2025-03-20 08:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:49:22] Production.INFO: 32 MB #Memory Used# [2025-03-20 12:50:01] Production.INFO: ==2197== Lock acquired, processing the job... [2025-03-20 12:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:50:01] Production.INFO: neon service started [2025-03-20 12:50:01] Production.INFO: neon service started [2025-03-20 12:50:01] Production.INFO: ==2197== Releasing lock... [2025-03-20 12:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:50:02] Production.INFO: ==2200== Lock acquired, processing the job... [2025-03-20 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:50:02] Production.INFO: ==2202== Lock acquired, processing the job... [2025-03-20 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:50:02] Production.INFO: ==2202== Releasing lock... [2025-03-20 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:50:02] Production.INFO: ==2200== Releasing lock... [2025-03-20 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:50:03] Production.INFO: ==2207== Lock acquired, processing the job... [2025-03-20 08:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:50:03] Production.INFO: ==2205== Lock acquired, processing the job... [2025-03-20 08:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 08:50:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 08:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 08:50:03] Production.ERROR: CronJob PID - 2207 [2025-03-20 08:50:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 08:50:03] Production.ERROR: CronJob ID - 5 [2025-03-20 08:50:03] Production.ERROR: CronJob Last Run Time 2025-03-20 08:50:00 [2025-03-20 08:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 08:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 08:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 08:50:03] Production.INFO: ==2205== Releasing lock... [2025-03-20 08:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 08:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 08:50:04] Production.INFO: ==2215== Lock acquired, processing the job... [2025-03-20 08:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:50:04] Production.INFO: ==2217== Lock acquired, processing the job... [2025-03-20 08:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 08:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:50:04] Production.INFO: ==2209== Lock acquired, processing the job... [2025-03-20 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:50:04] Production.INFO: ==2211== Lock acquired, processing the job... [2025-03-20 08:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:50:04] Production.INFO: ==2213== Lock acquired, processing the job... [2025-03-20 08:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:50:04] Production.INFO: ==2219== Lock acquired, processing the job... [2025-03-20 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:50:04] Production.INFO: Account Balance Start. [2025-03-20 08:50:04] Production.INFO: CreateAllLog Start [2025-03-20 08:50:04] Production.INFO: 117 [2025-03-20 08:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 08:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:04] Production.INFO: count ==12 [2025-03-20 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-03-20 08:50:04] Production.INFO: count ==23 [2025-03-20 08:50:04] Production.ERROR: done [2025-03-20 08:50:04] Production.ERROR: done [2025-03-20 08:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721727') start [2025-03-20 08:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 08:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721728', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 08:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:04] Production.INFO: ==2209== Releasing lock... [2025-03-20 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:50:04] Production.ERROR: done [2025-03-20 08:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:05] Production.INFO: Date 2025-03-12 [2025-03-20 08:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721727') end [2025-03-20 08:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:50:05] Production.INFO: 1 [2025-03-20 08:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:50:05] Production.INFO: ==2219== Releasing lock... [2025-03-20 08:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:50:05] Production.INFO: Date 2025-03-13 [2025-03-20 08:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:05] Production.INFO: Date 2025-03-14 [2025-03-20 08:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:05] Production.INFO: Date 2025-03-15 [2025-03-20 08:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 08:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 08:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 08:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 08:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 08:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:50:05] Production.INFO: Total Charge 0 [2025-03-20 08:50:05] Production.INFO: CreateAllLog End [2025-03-20 08:50:05] Production.INFO: Account Balance End. [2025-03-20 08:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:50:05] Production.INFO: ==2213== Releasing lock... [2025-03-20 08:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:50:06 [end_date_ymd] => 2025-03-20 08:50:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:50:06' and `end` < '2025-03-20 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-03-20 08:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721728', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 08:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 08:50:09] Production.INFO: ProcessCDR(1,14721728,1,1,2) [2025-03-20 08:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721728,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721728,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:50:10] Production.INFO: ==2217== Releasing lock... [2025-03-20 08:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 08:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 08:50:14] Production.ERROR: CronJobId end10 [2025-03-20 08:50:14] Production.INFO: ==2211== Releasing lock... [2025-03-20 08:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:50:16] Production.INFO: call_cost start [2025-03-20 08:50:16] Production.INFO: call_cost end [2025-03-20 08:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:50:17] Production.INFO: ==2207== Releasing lock... [2025-03-20 08:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:50:18] Production.INFO: count ==446 [2025-03-20 08:50:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:50:06 - End Time 2025-03-20 08:50:06 [2025-03-20 08:50:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721729', 'tblTempUsageDetail_20' ) start [2025-03-20 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721729', 'tblTempUsageDetail_20' ) end [2025-03-20 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721729', 'tblTempVendorCDR_20' ) start [2025-03-20 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721729', 'tblTempVendorCDR_20' ) end [2025-03-20 08:50:18] Production.INFO: ProcessCDR(1,14721729,1,1,2) [2025-03-20 08:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721729', 'tblTempUsageDetail_20' ) start [2025-03-20 08:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721729', 'tblTempUsageDetail_20' ) end [2025-03-20 08:50:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:50:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:50:23] Production.INFO: ==2215== Releasing lock... [2025-03-20 08:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:50:23] Production.INFO: 31.75 MB #Memory Used# [2025-03-20 12:51:02] Production.INFO: ==2300== Lock acquired, processing the job... [2025-03-20 12:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:51:02] Production.INFO: neon service started [2025-03-20 12:51:02] Production.INFO: neon service started [2025-03-20 12:51:02] Production.INFO: ==2300== Releasing lock... [2025-03-20 12:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:51:02] Production.INFO: ==2302== Lock acquired, processing the job... [2025-03-20 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:51:02] Production.INFO: ==2304== Lock acquired, processing the job... [2025-03-20 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:51:02] Production.INFO: ==2304== Releasing lock... [2025-03-20 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:51:03] Production.INFO: ==2302== Releasing lock... [2025-03-20 08:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:51:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:51:03] Production.INFO: ==2312== Lock acquired, processing the job... [2025-03-20 08:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:51:04] Production.INFO: ==2306== Lock acquired, processing the job... [2025-03-20 08:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:51:04] Production.INFO: Account Balance Start. [2025-03-20 08:51:04] Production.INFO: CreateAllLog Start [2025-03-20 08:51:04] Production.INFO: 117 [2025-03-20 08:51:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.INFO: ==2308== Lock acquired, processing the job... [2025-03-20 08:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:51:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.INFO: ==2310== Lock acquired, processing the job... [2025-03-20 08:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:51:04] Production.INFO: ==2314== Lock acquired, processing the job... [2025-03-20 08:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:51:04] Production.INFO: ==2317== Lock acquired, processing the job... [2025-03-20 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:51:04] Production.INFO: count ==12 [2025-03-20 08:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:51:04] Production.INFO: count ==23 [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721733') start [2025-03-20 08:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721733') end [2025-03-20 08:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:51:04] Production.INFO: 1 [2025-03-20 08:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:51:04] Production.INFO: ==2317== Releasing lock... [2025-03-20 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.ERROR: done [2025-03-20 08:51:04] Production.INFO: ==2308== Releasing lock... [2025-03-20 08:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.ERROR: done [2025-03-20 08:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:51:04] Production.INFO: Total Charge 0 [2025-03-20 08:51:05] Production.INFO: CreateAllLog End [2025-03-20 08:51:05] Production.INFO: Account Balance End. [2025-03-20 08:51:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:51:05] Production.INFO: ==2312== Releasing lock... [2025-03-20 08:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:51:05 [end_date_ymd] => 2025-03-20 08:51:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:51:05' and `end` < '2025-03-20 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-03-20 08:51:12] Production.ERROR: CronJobId end10 [2025-03-20 08:51:12] Production.INFO: ==2310== Releasing lock... [2025-03-20 08:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:51:15] Production.INFO: call_cost start [2025-03-20 08:51:15] Production.INFO: call_cost end [2025-03-20 08:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:51:16] Production.INFO: ==2306== Releasing lock... [2025-03-20 08:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:51:18] Production.INFO: count ==486 [2025-03-20 08:51:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:51:05 - End Time 2025-03-20 08:51:05 [2025-03-20 08:51:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721734', 'tblTempUsageDetail_20' ) start [2025-03-20 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721734', 'tblTempUsageDetail_20' ) end [2025-03-20 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721734', 'tblTempVendorCDR_20' ) start [2025-03-20 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721734', 'tblTempVendorCDR_20' ) end [2025-03-20 08:51:18] Production.INFO: ProcessCDR(1,14721734,1,1,2) [2025-03-20 08:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721734,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721734,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721734', 'tblTempUsageDetail_20' ) start [2025-03-20 08:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721734', 'tblTempUsageDetail_20' ) end [2025-03-20 08:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:51:22] Production.INFO: ==2314== Releasing lock... [2025-03-20 08:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:51:22] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 12:52:01] Production.INFO: ==2385== Lock acquired, processing the job... [2025-03-20 12:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:52:01] Production.INFO: neon service started [2025-03-20 12:52:01] Production.INFO: neon service started [2025-03-20 12:52:01] Production.INFO: ==2385== Releasing lock... [2025-03-20 12:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:52:02] Production.INFO: ==2387== Lock acquired, processing the job... [2025-03-20 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:52:02] Production.INFO: ==2389== Lock acquired, processing the job... [2025-03-20 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:52:02] Production.INFO: ==2389== Releasing lock... [2025-03-20 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:52:02] Production.INFO: ==2387== Releasing lock... [2025-03-20 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:52:03] Production.INFO: ==2392== Lock acquired, processing the job... [2025-03-20 08:52:03] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10801 #Starts# [2025-03-20 08:52:03] Production.INFO: -- Xero Api Check -- [2025-03-20 08:52:03] Production.INFO: ==2396== Lock acquired, processing the job... [2025-03-20 08:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:52:03] Production.INFO: ==2394== Lock acquired, processing the job... [2025-03-20 08:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:52:04] Production.INFO: ==2398== Lock acquired, processing the job... [2025-03-20 08:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:52:04] Production.INFO: ==2402== Lock acquired, processing the job... [2025-03-20 08:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:52:04] Production.INFO: ==2404== Lock acquired, processing the job... [2025-03-20 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:52:04] Production.INFO: ==2400== Lock acquired, processing the job... [2025-03-20 08:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:52:04] Production.INFO: ==2396== Releasing lock... [2025-03-20 08:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:52:04] Production.INFO: Account Balance Start. [2025-03-20 08:52:04] Production.INFO: CreateAllLog Start [2025-03-20 08:52:04] Production.INFO: 117 [2025-03-20 08:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:52:04] Production.INFO: count ==12 [2025-03-20 08:52:04] Production.ERROR: done [2025-03-20 08:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 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-03-20 08:52:04] Production.INFO: count ==23 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721738') start [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:52:04] Production.ERROR: done [2025-03-20 08:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721738') end [2025-03-20 08:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:52:04] Production.INFO: 1 [2025-03-20 08:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:52:04] Production.INFO: ==2404== Releasing lock... [2025-03-20 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 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] => 854 [request_size] => 352 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 1.182862 [namelookup_time] => 0.528866 [connect_time] => 0.60817 [pretransfer_time] => 0.968204 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2329 [speed_upload] => 69 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.182814 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.50 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 38618 ) [2025-03-20 08:52:04] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzUxMjQsImV4cCI6MTc0MjQ3NTQyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDc1MTI0LCJhdF9oYXNoIjoiMmNMZ2NNOTJvR2dRc3VpSEMxNkFkUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RsfhKIc60x7H2G8ETImaGjobfjosl_MPxa6Fy6MyaZJC9HbCF5S9i7cXolW0bwu77IGhiJFBZeE8mLY6PwejFpAVRKYhHZLlZyjkHc_IZN9driovwFsl2Yxt_kcWMxHFF4xW4ZYZ0GdiZQHFvVOhXhAXLLJZKQ6jq3xjUwyrfroUgqQ7OkyTWtCeDJX5rUejmDvIp5QpHoej6CfOqcFZ-w21Ag31Q_f_SMDbu8dm6AvlJ3pvKrhgsZ2qhjdj7mdBZJY8dcy8j2oDMBp5Y72ZNIHdMgqRCBF3j5B2WlwnXUrPnzraEeYnVMz_9GrIz789_GM4kC-XflO0McTkNsXjIw [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzUxMjQsImV4cCI6MTc0MjQ3NjkyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.oEiaxteRPGVKWXynDuBUgRnaGGgKISA2cCRrkbTzBx9zG2OxhhijzrGKEnqAOGmLYtMnXG1c-HVwUg9UHLUS6vx-d2nibQX97tJ0oDjl5RrI6u2IFJpLmOKTLq5CFletEXXpyGxDxsPRM0NCH4tbhu-gF8VARS6U66OxCjwLCLskN6III_obU7Y5vuklc2Dx3lINLzLloL_l0qOqYD-9T3jF7hNh8kVI1WJqT4WygaZR5o_iI_jEoMbeN6GczJCpI5B8IJz9CYWYvAnnulbKoplyCsjBGvq8SSQeCRXHiAx3DhpKEUZIqEuDke-1uVTYeTgTYN1c4SD4Prqw1ajnjg [expires_in] => 1800 [token_type] => Bearer [refresh_token] => M5SxNipuYSpGjzwbmaSyCcWdHIHOQ14XvRGfP6pQ3_g [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 08:52:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:52:04] Production.INFO: Total Charge 0 [2025-03-20 08:52:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzUxMjQsImV4cCI6MTc0MjQ3NTQyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDc1MTI0LCJhdF9oYXNoIjoiMmNMZ2NNOTJvR2dRc3VpSEMxNkFkUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.RsfhKIc60x7H2G8ETImaGjobfjosl_MPxa6Fy6MyaZJC9HbCF5S9i7cXolW0bwu77IGhiJFBZeE8mLY6PwejFpAVRKYhHZLlZyjkHc_IZN9driovwFsl2Yxt_kcWMxHFF4xW4ZYZ0GdiZQHFvVOhXhAXLLJZKQ6jq3xjUwyrfroUgqQ7OkyTWtCeDJX5rUejmDvIp5QpHoej6CfOqcFZ-w21Ag31Q_f_SMDbu8dm6AvlJ3pvKrhgsZ2qhjdj7mdBZJY8dcy8j2oDMBp5Y72ZNIHdMgqRCBF3j5B2WlwnXUrPnzraEeYnVMz_9GrIz789_GM4kC-XflO0McTkNsXjIw [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzUxMjQsImV4cCI6MTc0MjQ3NjkyNCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.oEiaxteRPGVKWXynDuBUgRnaGGgKISA2cCRrkbTzBx9zG2OxhhijzrGKEnqAOGmLYtMnXG1c-HVwUg9UHLUS6vx-d2nibQX97tJ0oDjl5RrI6u2IFJpLmOKTLq5CFletEXXpyGxDxsPRM0NCH4tbhu-gF8VARS6U66OxCjwLCLskN6III_obU7Y5vuklc2Dx3lINLzLloL_l0qOqYD-9T3jF7hNh8kVI1WJqT4WygaZR5o_iI_jEoMbeN6GczJCpI5B8IJz9CYWYvAnnulbKoplyCsjBGvq8SSQeCRXHiAx3DhpKEUZIqEuDke-1uVTYeTgTYN1c4SD4Prqw1ajnjg [expires_in] => 1800 [token_type] => Bearer [refresh_token] => M5SxNipuYSpGjzwbmaSyCcWdHIHOQ14XvRGfP6pQ3_g [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 08:52:05] Production.INFO: CreateAllLog End [2025-03-20 08:52:05] Production.INFO: AccountID 90 [2025-03-20 08:52:05] Production.INFO: AccountName Terry Anderson [2025-03-20 08:52:05] Production.INFO: Account Balance End. [2025-03-20 08:52:05] Production.INFO: Checkcustomer [2025-03-20 08:52:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 08:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:52:05] Production.INFO: ==2400== Releasing lock... [2025-03-20 08:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:52:06 [end_date_ymd] => 2025-03-20 08:52:06 [RateCDR] => 1 ) [2025-03-20 08:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:52:06' and `end` < '2025-03-20 08:52:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:52:08] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-03-20 08:52:08] Production.INFO: -- count --1 [2025-03-20 08:52:08] Production.INFO: AccountID 117 [2025-03-20 08:52:08] Production.INFO: AccountName Compass ELC - Durham HCC [2025-03-20 08:52:08] Production.INFO: Checkcustomer [2025-03-20 08:52:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Durham%20HCC" [2025-03-20 08:52:11] Production.INFO: Contact id print CheckCustomer Case===f8b88efb-63e8-472e-81a0-aaf95bba55fd [2025-03-20 08:52:11] Production.INFO: -- count --1 [2025-03-20 08:52:11] Production.INFO: AccountID 145 [2025-03-20 08:52:11] Production.INFO: AccountName Factor Direct Corporation [2025-03-20 08:52:11] Production.INFO: Checkcustomer [2025-03-20 08:52:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Factor%20Direct%20Corporation" [2025-03-20 08:52:12] Production.ERROR: CronJobId end10 [2025-03-20 08:52:12] Production.INFO: ==2398== Releasing lock... [2025-03-20 08:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:52:14] Production.INFO: Contact id print CheckCustomer Case===7c1277f3-bcd9-451c-bc86-2de69f5b3c16 [2025-03-20 08:52:14] Production.INFO: -- count --1 [2025-03-20 08:52:14] Production.INFO: AccountID 211 [2025-03-20 08:52:14] Production.INFO: AccountName Dominos 39052 (Sandeep Chaudhari) [2025-03-20 08:52:14] Production.INFO: Checkcustomer [2025-03-20 08:52:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039052%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:52:15] Production.INFO: call_cost start [2025-03-20 08:52:15] Production.INFO: call_cost end [2025-03-20 08:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:52:16] Production.INFO: ==2394== Releasing lock... [2025-03-20 08:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:52:17] Production.INFO: Contact id print CheckCustomer Case===fef41f69-d586-4623-95ec-1702df71d8e3 [2025-03-20 08:52:17] Production.INFO: -- count --1 [2025-03-20 08:52:17] Production.INFO: AccountID 219 [2025-03-20 08:52:17] Production.INFO: AccountName Agora Dealer Services Corp. [2025-03-20 08:52:17] Production.INFO: Checkcustomer [2025-03-20 08:52:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:52:18] Production.INFO: count ==509 [2025-03-20 08:52:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:52:06 - End Time 2025-03-20 08:52:06 [2025-03-20 08:52:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721739', 'tblTempUsageDetail_20' ) start [2025-03-20 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721739', 'tblTempUsageDetail_20' ) end [2025-03-20 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721739', 'tblTempVendorCDR_20' ) start [2025-03-20 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721739', 'tblTempVendorCDR_20' ) end [2025-03-20 08:52:18] Production.INFO: ProcessCDR(1,14721739,1,1,2) [2025-03-20 08:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:52:20] Production.INFO: Contact id print CheckCustomer Case===49e5c80a-3116-49fe-9e6f-15ec07433251 [2025-03-20 08:52:20] Production.INFO: -- count --1 [2025-03-20 08:52:20] Production.INFO: AccountID 227 [2025-03-20 08:52:20] Production.INFO: AccountName Quiznos 15184 (Akshay Naik) [2025-03-20 08:52:20] Production.INFO: Checkcustomer [2025-03-20 08:52:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29" [2025-03-20 08:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721739,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:52:23] Production.INFO: Contact id print CheckCustomer Case===7d4d8a6e-9b66-4daf-be5c-0e7e0524121b [2025-03-20 08:52:23] Production.INFO: -- count --1 [2025-03-20 08:52:23] Production.INFO: AccountID 241 [2025-03-20 08:52:23] Production.INFO: AccountName Quiznos 15192 (Akshay Naik) [2025-03-20 08:52:23] Production.INFO: Checkcustomer [2025-03-20 08:52:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-03-20 08:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721739,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721739', 'tblTempUsageDetail_20' ) start [2025-03-20 08:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721739', 'tblTempUsageDetail_20' ) end [2025-03-20 08:52:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:52:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:52:23] Production.INFO: ==2402== Releasing lock... [2025-03-20 08:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:52:23] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 08:52:26] Production.INFO: Contact id print CheckCustomer Case===9f823e1c-f0d1-4915-b9fd-4b0d691e058e [2025-03-20 08:52:26] Production.INFO: -- count --1 [2025-03-20 08:52:26] Production.INFO: AccountID 250 [2025-03-20 08:52:26] Production.INFO: AccountName Bennison Smith Law [2025-03-20 08:52:26] Production.INFO: Checkcustomer [2025-03-20 08:52:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 08:52:29] Production.INFO: Contact id print CheckCustomer Case===5304e7ac-dae0-4da0-8e3e-3bf1912a47f6 [2025-03-20 08:52:29] Production.INFO: -- count --1 [2025-03-20 08:52:29] Production.INFO: AccountID 254 [2025-03-20 08:52:29] Production.INFO: AccountName Robson Carpenter LLP [2025-03-20 08:52:29] Production.INFO: Checkcustomer [2025-03-20 08:52:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 08:52:32] Production.INFO: Contact id print CheckCustomer Case===026264ad-30db-4a13-9750-7dee8e32341c [2025-03-20 08:52:32] Production.INFO: -- count --1 [2025-03-20 08:52:32] Production.INFO: AccountID 155 [2025-03-20 08:52:32] Production.INFO: AccountName Dominos 10388 (Sandeep Chaudhari) [2025-03-20 08:52:32] Production.INFO: Checkcustomer [2025-03-20 08:52:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010388%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:52:34] Production.INFO: Contact id print CheckCustomer Case===f7e4d9d4-d7d6-4a37-b185-fce2c2d150b9 [2025-03-20 08:52:34] Production.INFO: -- count --1 [2025-03-20 08:52:34] Production.INFO: AccountID 157 [2025-03-20 08:52:34] Production.INFO: AccountName Dominos 10588 (Gurinder Saini) [2025-03-20 08:52:34] Production.INFO: Checkcustomer [2025-03-20 08:52:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010588%20%28Gurinder%20Saini%29" [2025-03-20 08:52:37] Production.INFO: Contact id print CheckCustomer Case===1ac67d8d-8981-4be8-9709-0bb5a101fe05 [2025-03-20 08:52:37] Production.INFO: -- count --1 [2025-03-20 08:52:37] Production.INFO: AccountID 232 [2025-03-20 08:52:37] Production.INFO: AccountName Jenopher Inc. [2025-03-20 08:52:37] Production.INFO: Checkcustomer [2025-03-20 08:52:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc." [2025-03-20 08:52:40] Production.INFO: Contact id print CheckCustomer Case===5fa26058-5c6f-4ffe-9c35-4f8d77ccf359 [2025-03-20 08:52:40] Production.INFO: -- count --1 [2025-03-20 08:52:40] Production.INFO: AccountID 124 [2025-03-20 08:52:40] Production.INFO: AccountName Dominos 39009 (Mudassar Zia) [2025-03-20 08:52:40] Production.INFO: Checkcustomer [2025-03-20 08:52:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29" [2025-03-20 08:52:43] Production.INFO: Contact id print CheckCustomer Case===40c47681-8e37-4e12-be60-e7c71250891f [2025-03-20 08:52:43] Production.INFO: -- count --1 [2025-03-20 08:52:43] Production.INFO: AccountID 153 [2025-03-20 08:52:43] Production.INFO: AccountName Dominos 10191 (Chandresh Patel) [2025-03-20 08:52:43] Production.INFO: Checkcustomer [2025-03-20 08:52:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29" [2025-03-20 08:52:46] Production.INFO: Contact id print CheckCustomer Case===a1f84b26-3d74-4603-893d-c86292f301ef [2025-03-20 08:52:46] Production.INFO: -- count --1 [2025-03-20 08:52:46] Production.INFO: AccountID 154 [2025-03-20 08:52:46] Production.INFO: AccountName Dominos 10385 (Sandeep Chaudhari) [2025-03-20 08:52:46] Production.INFO: Checkcustomer [2025-03-20 08:52:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:52:48] Production.INFO: Contact id print CheckCustomer Case===f21476d6-c1e8-4e8b-b2a8-87f68276aedf [2025-03-20 08:52:48] Production.INFO: -- count --1 [2025-03-20 08:52:48] Production.INFO: AccountID 30 [2025-03-20 08:52:48] Production.INFO: AccountName Compass ELC - Lindsay [2025-03-20 08:52:48] Production.INFO: Checkcustomer [2025-03-20 08:52:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Lindsay" [2025-03-20 08:52:51] Production.INFO: Contact id print CheckCustomer Case===7cca29b1-b852-4195-aea8-d23ee3e0a552 [2025-03-20 08:52:51] Production.INFO: -- count --1 [2025-03-20 08:52:51] Production.INFO: AccountID 182 [2025-03-20 08:52:51] Production.INFO: AccountName Dominos 39049 (Sandeep Chaudhari) [2025-03-20 08:52:51] Production.INFO: Checkcustomer [2025-03-20 08:52:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:52:54] Production.INFO: Contact id print CheckCustomer Case===1c0b2017-4eb0-4996-8c28-357329632ba9 [2025-03-20 08:52:54] Production.INFO: -- count --1 [2025-03-20 08:52:54] Production.INFO: AccountID 188 [2025-03-20 08:52:54] Production.INFO: AccountName All Care Insurance Brokers Ltd. [2025-03-20 08:52:54] Production.INFO: Checkcustomer [2025-03-20 08:52:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd." [2025-03-20 08:52:56] Production.INFO: Contact id print CheckCustomer Case===6d542d8f-684c-435c-82fd-abdec98b3c10 [2025-03-20 08:52:56] Production.INFO: -- count --1 [2025-03-20 08:52:56] Production.INFO: AccountID 218 [2025-03-20 08:52:56] Production.INFO: AccountName Dominos 10164 (Jordan Hodgson) [2025-03-20 08:52:56] Production.INFO: Checkcustomer [2025-03-20 08:52:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010164%20%28Jordan%20Hodgson%29" [2025-03-20 08:52:59] Production.INFO: Contact id print CheckCustomer Case===9ba9e65f-7bc8-430d-b449-05e224b3e5f6 [2025-03-20 08:52:59] Production.INFO: -- count --1 [2025-03-20 08:52:59] Production.INFO: AccountID 79 [2025-03-20 08:52:59] Production.INFO: AccountName Axxima [2025-03-20 08:52:59] Production.INFO: Checkcustomer [2025-03-20 08:52:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima" [2025-03-20 12:53:02] Production.INFO: ==2491== Lock acquired, processing the job... [2025-03-20 12:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:53:02] Production.INFO: neon service started [2025-03-20 12:53:02] Production.INFO: neon service started [2025-03-20 12:53:02] Production.INFO: ==2491== Releasing lock... [2025-03-20 12:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:53:02] Production.INFO: ==2496== Lock acquired, processing the job... [2025-03-20 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:53:02] Production.INFO: Contact id print CheckCustomer Case===5a62af79-4890-44a7-9d0e-f81cfe9497c1 [2025-03-20 08:53:02] Production.INFO: -- count --1 [2025-03-20 08:53:02] Production.INFO: AccountID 90 [2025-03-20 08:53:02] Production.INFO: AccountName Terry Anderson [2025-03-20 08:53:02] Production.INFO: Checkcustomer [2025-03-20 08:53:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 12:53:02] Production.INFO: ==2498== Lock acquired, processing the job... [2025-03-20 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 08:53:02] Production.INFO: ==2496== Releasing lock... [2025-03-20 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:53:02] Production.INFO: ==2498== Releasing lock... [2025-03-20 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:53:03] Production.INFO: ==2505== Lock acquired, processing the job... [2025-03-20 08:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:53:03] Production.INFO: ==2501== Lock acquired, processing the job... [2025-03-20 08:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:53:03] Production.INFO: ==2509== Lock acquired, processing the job... [2025-03-20 08:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:53:03] Production.INFO: ==2503== Lock acquired, processing the job... [2025-03-20 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:53:04] Production.INFO: ==2507== Lock acquired, processing the job... [2025-03-20 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:53:04] Production.INFO: ==2511== Lock acquired, processing the job... [2025-03-20 08:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:53:04] Production.INFO: Account Balance Start. [2025-03-20 08:53:04] Production.INFO: CreateAllLog Start [2025-03-20 08:53:04] Production.ERROR: done [2025-03-20 08:53:04] Production.INFO: 117 [2025-03-20 08:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:04] Production.INFO: count ==12 [2025-03-20 08:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:53:04] Production.INFO: count ==23 [2025-03-20 08:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721743') start [2025-03-20 08:53:04] Production.ERROR: done [2025-03-20 08:53:04] Production.INFO: ==2503== Releasing lock... [2025-03-20 08:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721743') end [2025-03-20 08:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:53:04] Production.INFO: 1 [2025-03-20 08:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:04] Production.INFO: ==2511== Releasing lock... [2025-03-20 08:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:05] Production.INFO: Date 2025-03-20 [2025-03-20 08:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 08:53:05] Production.INFO: Total Charge 0 [2025-03-20 08:53:05] Production.INFO: CreateAllLog End [2025-03-20 08:53:05] Production.INFO: Account Balance End. [2025-03-20 08:53:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:53:05] Production.INFO: ==2507== Releasing lock... [2025-03-20 08:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:53:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:53:05] Production.INFO: Contact id print CheckCustomer Case===d5be271f-e649-44ed-a97e-8af24111fe24 [2025-03-20 08:53:05] Production.INFO: -- count --1 [2025-03-20 08:53:05] Production.INFO: AccountID 156 [2025-03-20 08:53:05] Production.INFO: AccountName Dominos 10583 (William Prichard) [2025-03-20 08:53:05] Production.INFO: Checkcustomer [2025-03-20 08:53:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010583%20%28William%20Prichard%29" [2025-03-20 08:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:53:05 [end_date_ymd] => 2025-03-20 08:53:05 [RateCDR] => 1 ) [2025-03-20 08:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 05:53:05' and `end` < '2025-03-20 08:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 08:53:08] Production.INFO: Contact id print CheckCustomer Case===17005aca-7cf0-4aa4-ac3f-3f8f1c2c61ea [2025-03-20 08:53:08] Production.INFO: -- count --1 [2025-03-20 08:53:08] Production.INFO: AccountID 209 [2025-03-20 08:53:08] Production.INFO: AccountName Workside Early Childhood Education Centre [2025-03-20 08:53:08] Production.INFO: Checkcustomer [2025-03-20 08:53:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre" [2025-03-20 08:53:11] Production.INFO: Contact id print CheckCustomer Case===40cecbae-263a-4b0c-adbf-5350531feed1 [2025-03-20 08:53:11] Production.INFO: -- count --1 [2025-03-20 08:53:11] Production.INFO: AccountID 236 [2025-03-20 08:53:11] Production.INFO: AccountName Keogh Construction [2025-03-20 08:53:11] Production.INFO: Checkcustomer [2025-03-20 08:53:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 08:53:12] Production.ERROR: CronJobId end10 [2025-03-20 08:53:12] Production.INFO: ==2505== Releasing lock... [2025-03-20 08:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:53:13] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7 [2025-03-20 08:53:13] Production.INFO: -- count --1 [2025-03-20 08:53:13] Production.INFO: AccountID 53 [2025-03-20 08:53:13] Production.INFO: AccountName Plus Travel Group [2025-03-20 08:53:13] Production.INFO: Checkcustomer [2025-03-20 08:53:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 08:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:53:15] Production.INFO: call_cost start [2025-03-20 08:53:15] Production.INFO: call_cost end [2025-03-20 08:53:16] Production.INFO: Contact id print CheckCustomer Case===5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47 [2025-03-20 08:53:16] Production.INFO: -- count --1 [2025-03-20 08:53:16] Production.INFO: AccountID 45 [2025-03-20 08:53:16] Production.INFO: AccountName Metro Toronto Collision Centre [2025-03-20 08:53:16] Production.INFO: Checkcustomer [2025-03-20 08:53:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre" [2025-03-20 08:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:53:16] Production.INFO: ==2501== Releasing lock... [2025-03-20 08:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:53:17] Production.INFO: count ==522 [2025-03-20 08:53:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:53:05 - End Time 2025-03-20 08:53:05 [2025-03-20 08:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721744', 'tblTempUsageDetail_20' ) start [2025-03-20 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721744', 'tblTempUsageDetail_20' ) end [2025-03-20 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721744', 'tblTempVendorCDR_20' ) start [2025-03-20 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721744', 'tblTempVendorCDR_20' ) end [2025-03-20 08:53:18] Production.INFO: ProcessCDR(1,14721744,1,1,2) [2025-03-20 08:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:53:19] Production.INFO: Contact id print CheckCustomer Case===639507fe-3c02-40f6-89b2-b3a1c40bc965 [2025-03-20 08:53:19] Production.INFO: -- count --1 [2025-03-20 08:53:19] Production.INFO: AccountID 27 [2025-03-20 08:53:19] Production.INFO: AccountName Compass ELC - Millbrook [2025-03-20 08:53:19] Production.INFO: Checkcustomer [2025-03-20 08:53:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Millbrook" [2025-03-20 08:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721744,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:53:22] Production.INFO: Contact id print CheckCustomer Case===5827757d-9498-4c55-97f7-43de2cbda025 [2025-03-20 08:53:22] Production.INFO: -- count --1 [2025-03-20 08:53:22] Production.INFO: AccountID 99 [2025-03-20 08:53:22] Production.INFO: AccountName LevLending [2025-03-20 08:53:22] Production.INFO: Checkcustomer [2025-03-20 08:53:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending" [2025-03-20 08:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721744,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721744', 'tblTempUsageDetail_20' ) start [2025-03-20 08:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721744', 'tblTempUsageDetail_20' ) end [2025-03-20 08:53:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:53:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:53:23] Production.INFO: ==2509== Releasing lock... [2025-03-20 08:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:53:23] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:53:25] Production.INFO: Contact id print CheckCustomer Case===0c3388d2-858d-4ab0-82a5-823938ebfea0 [2025-03-20 08:53:25] Production.INFO: -- count --1 [2025-03-20 08:53:25] Production.INFO: AccountID 3 [2025-03-20 08:53:25] Production.INFO: AccountName Tundra [2025-03-20 08:53:25] Production.INFO: Checkcustomer [2025-03-20 08:53:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra" [2025-03-20 08:53:27] Production.INFO: Contact id print CheckCustomer Case===623680fb-29d2-4940-8787-6a04edc9b023 [2025-03-20 08:53:27] Production.INFO: -- count --1 [2025-03-20 08:53:27] Production.INFO: AccountID 37 [2025-03-20 08:53:27] Production.INFO: AccountName Quality Car Rentals (AutoQuest) [2025-03-20 08:53:27] Production.INFO: Checkcustomer [2025-03-20 08:53:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29" [2025-03-20 08:53:30] Production.INFO: Contact id print CheckCustomer Case===d97f29cf-e0f8-4b9a-bb8e-aaec76dd5612 [2025-03-20 08:53:30] Production.INFO: -- count --1 [2025-03-20 08:53:30] Production.INFO: AccountID 41 [2025-03-20 08:53:30] Production.INFO: AccountName Law Offices of Diane Staples [2025-03-20 08:53:30] Production.INFO: Checkcustomer [2025-03-20 08:53:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples" [2025-03-20 08:53:33] Production.INFO: Contact id print CheckCustomer Case===97ef00b2-8eb5-497a-aadd-ae29a942c858 [2025-03-20 08:53:33] Production.INFO: -- count --1 [2025-03-20 08:53:33] Production.INFO: AccountID 95 [2025-03-20 08:53:33] Production.INFO: AccountName CanTrust Insurance Services [2025-03-20 08:53:33] Production.INFO: Checkcustomer [2025-03-20 08:53:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services" [2025-03-20 08:53:36] Production.INFO: Contact id print CheckCustomer Case===d5a46ee9-fef7-49ae-981c-b537df046ad7 [2025-03-20 08:53:36] Production.INFO: -- count --1 [2025-03-20 08:53:36] Production.INFO: AccountID 113 [2025-03-20 08:53:36] Production.INFO: AccountName Dominos 39016 (Chandresh Patel) [2025-03-20 08:53:36] Production.INFO: Checkcustomer [2025-03-20 08:53:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29" [2025-03-20 08:53:39] Production.INFO: Contact id print CheckCustomer Case===67dc5e22-ea19-468e-b918-c0db577b9240 [2025-03-20 08:53:39] Production.INFO: -- count --1 [2025-03-20 08:53:39] Production.INFO: AccountID 114 [2025-03-20 08:53:39] Production.INFO: AccountName Dominos 10552 (Werner Lomker) [2025-03-20 08:53:39] Production.INFO: Checkcustomer [2025-03-20 08:53:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29" [2025-03-20 08:53:41] Production.INFO: Contact id print CheckCustomer Case===6f5d3631-ded1-4310-ab70-a39a8b602341 [2025-03-20 08:53:41] Production.INFO: -- count --1 [2025-03-20 08:53:41] Production.INFO: AccountID 127 [2025-03-20 08:53:41] Production.INFO: AccountName Dominos 10297 (Shane Linthorne) [2025-03-20 08:53:41] Production.INFO: Checkcustomer [2025-03-20 08:53:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29" [2025-03-20 08:53:44] Production.INFO: Contact id print CheckCustomer Case===d8f292bb-743b-4f94-916e-1de8803fa73f [2025-03-20 08:53:44] Production.INFO: -- count --1 [2025-03-20 08:53:44] Production.INFO: AccountID 148 [2025-03-20 08:53:44] Production.INFO: AccountName Pharmacy Associates of Port Perry [2025-03-20 08:53:44] Production.INFO: Checkcustomer [2025-03-20 08:53:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry" [2025-03-20 08:53:47] Production.INFO: Contact id print CheckCustomer Case===c60706d0-0fd9-40ff-a211-387c86733ac7 [2025-03-20 08:53:47] Production.INFO: -- count --1 [2025-03-20 08:53:47] Production.INFO: AccountID 152 [2025-03-20 08:53:47] Production.INFO: AccountName 3G Print Group [2025-03-20 08:53:47] Production.INFO: Checkcustomer [2025-03-20 08:53:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group" [2025-03-20 08:53:50] Production.INFO: Contact id print CheckCustomer Case===d4a36319-8eb8-433b-a39c-ded75fc85345 [2025-03-20 08:53:50] Production.INFO: -- count --1 [2025-03-20 08:53:50] Production.INFO: AccountID 160 [2025-03-20 08:53:50] Production.INFO: AccountName Avani Rolls & Bowls [2025-03-20 08:53:50] Production.INFO: Checkcustomer [2025-03-20 08:53:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-03-20 08:53:53] Production.INFO: Contact id print CheckCustomer Case===08d693ac-f648-4d13-baf5-18b2b59d959f [2025-03-20 08:53:53] Production.INFO: -- count --1 [2025-03-20 08:53:53] Production.INFO: AccountID 235 [2025-03-20 08:53:53] Production.INFO: AccountName All Seasons Learning Center [2025-03-20 08:53:53] Production.INFO: Checkcustomer [2025-03-20 08:53:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center" [2025-03-20 08:53:56] Production.INFO: Contact id print CheckCustomer Case===680201a7-650c-4c24-b7d7-b8171bdcd911 [2025-03-20 08:53:56] Production.INFO: -- count --1 [2025-03-20 08:53:56] Production.INFO: AccountID 236 [2025-03-20 08:53:56] Production.INFO: AccountName Keogh Construction [2025-03-20 08:53:56] Production.INFO: Checkcustomer [2025-03-20 08:53:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 08:53:58] Production.INFO: Contact id print CheckCustomer Case===cad302ad-7c7e-456b-bcf1-bd7729cb22b7 [2025-03-20 08:53:58] Production.INFO: -- count --1 [2025-03-20 08:53:58] Production.INFO: AccountID 237 [2025-03-20 08:53:58] Production.INFO: AccountName Natural Insect Control [2025-03-20 08:53:58] Production.INFO: Checkcustomer [2025-03-20 08:53:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control" [2025-03-20 12:54:01] Production.INFO: ==2602== Lock acquired, processing the job... [2025-03-20 12:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:54:01] Production.INFO: neon service started [2025-03-20 12:54:01] Production.INFO: neon service started [2025-03-20 12:54:01] Production.INFO: ==2602== Releasing lock... [2025-03-20 12:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:54:01] Production.INFO: Contact id print CheckCustomer Case===fcade0cf-7b43-4bfe-86cf-b6c9e33f1686 [2025-03-20 08:54:01] Production.INFO: -- count --1 [2025-03-20 08:54:01] Production.INFO: AccountID 63 [2025-03-20 08:54:01] Production.INFO: AccountName Clek Inc. [2025-03-20 08:54:01] Production.INFO: Checkcustomer [2025-03-20 08:54:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-03-20 12:54:01] Production.INFO: ==2606== Lock acquired, processing the job... [2025-03-20 12:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:54:01] Production.INFO: ==2606== Releasing lock... [2025-03-20 12:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:54:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:54:02] Production.INFO: ==2604== Lock acquired, processing the job... [2025-03-20 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:54:02] Production.INFO: ==2604== Releasing lock... [2025-03-20 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:54:03] Production.INFO: ==2609== Lock acquired, processing the job... [2025-03-20 08:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:54:03] Production.INFO: ==2615== Lock acquired, processing the job... [2025-03-20 08:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:54:03] Production.INFO: ==2617== Lock acquired, processing the job... [2025-03-20 08:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:54:03] Production.INFO: Account Balance Start. [2025-03-20 08:54:03] Production.INFO: CreateAllLog Start [2025-03-20 08:54:03] Production.INFO: ==2613== Lock acquired, processing the job... [2025-03-20 08:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:54:03] Production.INFO: 117 [2025-03-20 08:54:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:03] Production.INFO: ==2611== Lock acquired, processing the job... [2025-03-20 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:54:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:03] Production.INFO: ==2619== Lock acquired, processing the job... [2025-03-20 08:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:54:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:54:03] Production.INFO: count ==12 [2025-03-20 08:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 08:54:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:54:03] Production.INFO: count ==23 [2025-03-20 08:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721747') start [2025-03-20 08:54:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:03] Production.ERROR: done [2025-03-20 08:54:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721747') end [2025-03-20 08:54:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:54:03] Production.INFO: 1 [2025-03-20 08:54:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:54:03] Production.INFO: ==2619== Releasing lock... [2025-03-20 08:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:54:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:54:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:04] Production.ERROR: done [2025-03-20 08:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:04] Production.INFO: ==2611== Releasing lock... [2025-03-20 08:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:54:04] Production.INFO: Total Charge 0 [2025-03-20 08:54:04] Production.INFO: CreateAllLog End [2025-03-20 08:54:04] Production.INFO: Contact id print CheckCustomer Case===c5a4d0ce-0d87-4131-b0d8-9808badfe70b [2025-03-20 08:54:04] Production.INFO: -- count --1 [2025-03-20 08:54:04] Production.INFO: AccountID 208 [2025-03-20 08:54:04] Production.INFO: AccountName Lions Auto Protection [2025-03-20 08:54:04] Production.INFO: Checkcustomer [2025-03-20 08:54:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 08:54:04] Production.INFO: Account Balance End. [2025-03-20 08:54:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:54:04] Production.INFO: ==2615== Releasing lock... [2025-03-20 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:54:05 [end_date_ymd] => 2025-03-20 08:54:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:54:05' and `end` < '2025-03-20 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-03-20 08:54:06] Production.INFO: Contact id print CheckCustomer Case===173facd8-68c9-4e18-bac1-f10f211f33e1 [2025-03-20 08:54:06] Production.INFO: -- count --1 [2025-03-20 08:54:06] Production.INFO: AccountID 165 [2025-03-20 08:54:06] Production.INFO: AccountName PharmaSave (Oak Tree Medical) [2025-03-20 08:54:06] Production.INFO: Checkcustomer [2025-03-20 08:54:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29" [2025-03-20 08:54:09] Production.INFO: Contact id print CheckCustomer Case===dd008964-6378-4903-b54b-a7b8eb03f05f [2025-03-20 08:54:09] Production.INFO: -- count --1 [2025-03-20 08:54:09] Production.INFO: AccountID 205 [2025-03-20 08:54:09] Production.INFO: AccountName Dominos 10459 (Sandeep Chaudhari) [2025-03-20 08:54:09] Production.INFO: Checkcustomer [2025-03-20 08:54:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:54:11] Production.ERROR: CronJobId end10 [2025-03-20 08:54:11] Production.INFO: ==2613== Releasing lock... [2025-03-20 08:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:54:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:54:12] Production.INFO: Contact id print CheckCustomer Case===9e4e5c67-a78f-406f-bfd6-d013ce749c4a [2025-03-20 08:54:12] Production.INFO: -- count --1 [2025-03-20 08:54:12] Production.INFO: AccountID 92 [2025-03-20 08:54:12] Production.INFO: AccountName Dominos 10443 (Ricky Singh) [2025-03-20 08:54:12] Production.INFO: Checkcustomer [2025-03-20 08:54:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29" [2025-03-20 08:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:54:14] Production.INFO: call_cost start [2025-03-20 08:54:14] Production.INFO: call_cost end [2025-03-20 08:54:15] Production.INFO: Contact id print CheckCustomer Case===21dc8586-f1ab-42cc-9c64-94234cb72e84 [2025-03-20 08:54:15] Production.INFO: -- count --1 [2025-03-20 08:54:15] Production.INFO: AccountID 97 [2025-03-20 08:54:15] Production.INFO: AccountName Dominos 10416 (David Mills) [2025-03-20 08:54:15] Production.INFO: Checkcustomer [2025-03-20 08:54:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29" [2025-03-20 08:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:54:15] Production.INFO: ==2609== Releasing lock... [2025-03-20 08:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:54:17] Production.INFO: Contact id print CheckCustomer Case===f7785be9-5933-4338-9f5d-47dda0ca47b7 [2025-03-20 08:54:17] Production.INFO: -- count --1 [2025-03-20 08:54:17] Production.INFO: AccountID 25 [2025-03-20 08:54:17] Production.INFO: AccountName Harding Security [2025-03-20 08:54:17] Production.INFO: Checkcustomer [2025-03-20 08:54:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security" [2025-03-20 08:54:17] Production.INFO: count ==530 [2025-03-20 08:54:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:54:05 - End Time 2025-03-20 08:54:05 [2025-03-20 08:54:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721749', 'tblTempUsageDetail_20' ) start [2025-03-20 08:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721749', 'tblTempUsageDetail_20' ) end [2025-03-20 08:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721749', 'tblTempVendorCDR_20' ) start [2025-03-20 08:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721749', 'tblTempVendorCDR_20' ) end [2025-03-20 08:54:17] Production.INFO: ProcessCDR(1,14721749,1,1,2) [2025-03-20 08:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:54:20] Production.INFO: Contact id print CheckCustomer Case===631aa009-5337-4bbb-817f-724f7ca5f6db [2025-03-20 08:54:20] Production.INFO: -- count --1 [2025-03-20 08:54:20] Production.INFO: AccountID 103 [2025-03-20 08:54:20] Production.INFO: AccountName Cathim Inc [2025-03-20 08:54:20] Production.INFO: Checkcustomer [2025-03-20 08:54:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc" [2025-03-20 08:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721749', 'tblTempUsageDetail_20' ) start [2025-03-20 08:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721749', 'tblTempUsageDetail_20' ) end [2025-03-20 08:54:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:54:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:54:21] Production.INFO: ==2617== Releasing lock... [2025-03-20 08:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:54:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:54:23] Production.INFO: Contact id print CheckCustomer Case===b3a32be3-34a8-47ed-9add-6507ade181ac [2025-03-20 08:54:23] Production.INFO: -- count --1 [2025-03-20 08:54:23] Production.INFO: AccountID 104 [2025-03-20 08:54:23] Production.INFO: AccountName Dominos 39017 (Mudassar Zia) [2025-03-20 08:54:23] Production.INFO: Checkcustomer [2025-03-20 08:54:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29" [2025-03-20 08:54:26] Production.INFO: Contact id print CheckCustomer Case===5f89a930-66a1-45ba-8124-8b5cbb0531bb [2025-03-20 08:54:26] Production.INFO: -- count --1 [2025-03-20 08:54:26] Production.INFO: -- Xero Add Inovice -- [2025-03-20 08:54:26] Production.INFO: CheckInvoice xerov2: INV11636 [2025-03-20 08:54:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11636 [2025-03-20 08:54:28] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:54:28] Production.INFO: Invoice SubTotal 3.000000 [2025-03-20 08:54:28] Production.INFO: Invoice DetTotal 3 [2025-03-20 08:54:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 08:54:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:54:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:54:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:54:41] 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-03-20 08:54:44] Production.INFO: ==== result ===== [2025-03-20 08:54:44] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-03-20 08:54:44] 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-03-20 08:54:44] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-03-20 08:54:44] Production.INFO: -- Create Invoice Error -- [2025-03-20 08:54:44] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:54:44] Production.INFO: CheckInvoice xerov2: INV11484 [2025-03-20 08:54:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11484 [2025-03-20 08:54:46] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:54:46] Production.INFO: Invoice SubTotal 74.690000 [2025-03-20 08:54:46] Production.INFO: Invoice DetTotal 74.69 [2025-03-20 08:54:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Durham%20HCC" [2025-03-20 08:54:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:54:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:54:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:54:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service (1561 HIGHWAY 2, UNIT 6, COURTICE, ON L1E 2G5 )",Quantity : 1,UnitAmount : 74.690000,LineAmount : 74.690000} [2025-03-20 08:55:01] Production.INFO: ==== result ===== [2025-03-20 08:55:01] Production.INFO: { "Id": "164c0ec5-17a9-47f4-b3fa-b0902ed6e421", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475301697)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "f86b536f-054e-440e-91dd-2a63da91b141", "InvoiceNumber": "INV11484", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 84.40, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "f8b88efb-63e8-472e-81a0-aaf95bba55fd", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Durham HCC", "FirstName": "Judy", "LastName": "Anderson", "EmailAddress": "ap@compasselc.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(1580839519870+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-08T00:00:00", "Date": "\/Date(1738972800000+0000)\/", "DueDateString": "2025-03-10T00:00:00", "DueDate": "\/Date(1741564800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "VDSL Internet Service (1561 HIGHWAY 2, UNIT 6, COURTICE, ON L1E 2G5 )", "UnitAmount": 74.69, "TaxType": "TAX020", "TaxAmount": 9.71, "LineAmount": 74.69, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c7b4f03c-55db-423f-9d7f-d66a82fd9f1b", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 74.69, "TotalTax": 9.71, "Total": 84.40, "UpdatedDateUTC": "\/Date(1742475301603+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:55:01] Production.INFO: -- Create Invoice id --f86b536f-054e-440e-91dd-2a63da91b141 [2025-03-20 08:55:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:55:01] Production.INFO: CheckInvoice xerov2: INV11486 [2025-03-20 08:55:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11486 [2025-03-20 12:55:02] Production.INFO: ==2706== Lock acquired, processing the job... [2025-03-20 12:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:55:02] Production.INFO: neon service started [2025-03-20 12:55:02] Production.INFO: neon service started [2025-03-20 12:55:02] Production.INFO: ==2706== Releasing lock... [2025-03-20 12:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:55:02] Production.INFO: ==2708== Lock acquired, processing the job... [2025-03-20 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:55:02] Production.INFO: ==2710== Lock acquired, processing the job... [2025-03-20 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:55:02] Production.INFO: ==2710== Releasing lock... [2025-03-20 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:55:02] Production.INFO: ==2708== Releasing lock... [2025-03-20 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:55:03] Production.INFO: ==2714== Lock acquired, processing the job... [2025-03-20 08:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:55:03] Production.INFO: ==2718== Lock acquired, processing the job... [2025-03-20 08:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:55:03] Production.INFO: ==2721== Lock acquired, processing the job... [2025-03-20 08:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:55:03] Production.INFO: ==2712== Lock acquired, processing the job... [2025-03-20 08:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:55:03] Production.INFO: Account Balance Start. [2025-03-20 08:55:03] Production.INFO: CreateAllLog Start [2025-03-20 08:55:03] Production.INFO: 117 [2025-03-20 08:55:03] Production.INFO: ==2716== Lock acquired, processing the job... [2025-03-20 08:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:55:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:03] Production.INFO: ==2714== Releasing lock... [2025-03-20 08:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:55:04] Production.INFO: ==2723== Lock acquired, processing the job... [2025-03-20 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 08:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.INFO: count ==12 [2025-03-20 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-03-20 08:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.ERROR: done [2025-03-20 08:55:04] Production.INFO: count ==23 [2025-03-20 08:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721753') start [2025-03-20 08:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.ERROR: done [2025-03-20 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721753') end [2025-03-20 08:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:55:04] Production.INFO: 1 [2025-03-20 08:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:55:04] Production.INFO: ==2723== Releasing lock... [2025-03-20 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:55:04] Production.INFO: Total Charge 0 [2025-03-20 08:55:04] Production.INFO: CreateAllLog End [2025-03-20 08:55:04] Production.INFO: Account Balance End. [2025-03-20 08:55:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:55:04] Production.INFO: ==2718== Releasing lock... [2025-03-20 08:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:55:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:55:04] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:55:05] Production.INFO: Invoice SubTotal 15.900000 [2025-03-20 08:55:05] Production.INFO: Invoice DetTotal 15.9 [2025-03-20 08:55:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Factor%20Direct%20Corporation" [2025-03-20 08:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:55:05 [end_date_ymd] => 2025-03-20 08:55:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:55:05' and `end` < '2025-03-20 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-03-20 08:55:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:55:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:55:12] Production.ERROR: CronJobId end10 [2025-03-20 08:55:12] Production.INFO: ==2716== Releasing lock... [2025-03-20 08:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:55:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:55:15] Production.INFO: call_cost start [2025-03-20 08:55:15] Production.INFO: call_cost end [2025-03-20 08:55:16] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-08-2025 To 02-07-2025",Quantity : 1,UnitAmount : 0.900000,LineAmount : 0.900000},{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-03-20 08:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:55:16] Production.INFO: ==2712== Releasing lock... [2025-03-20 08:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:55:17] Production.INFO: count ==537 [2025-03-20 08:55:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:55:05 - End Time 2025-03-20 08:55:05 [2025-03-20 08:55:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721754', 'tblTempUsageDetail_20' ) start [2025-03-20 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721754', 'tblTempUsageDetail_20' ) end [2025-03-20 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721754', 'tblTempVendorCDR_20' ) start [2025-03-20 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721754', 'tblTempVendorCDR_20' ) end [2025-03-20 08:55:18] Production.INFO: ProcessCDR(1,14721754,1,1,2) [2025-03-20 08:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:55:19] Production.INFO: ==== result ===== [2025-03-20 08:55:19] Production.INFO: { "Id": "05526fbb-cb52-489e-bdda-ac13a70c4cd7", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475319319)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a99f1aba-cb4c-4dcb-a53e-5596410fe2e2", "InvoiceNumber": "INV11486", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 17.97, "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": "2025-02-08T00:00:00", "Date": "\/Date(1738972800000+0000)\/", "DueDateString": "2025-03-10T00:00:00", "DueDate": "\/Date(1741564800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-08-2025 To 02-07-2025", "UnitAmount": 0.90, "TaxType": "TAX020", "TaxAmount": 0.12, "LineAmount": 0.90, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a32bd2c7-5dee-41b2-b9fe-d0c408b0a6f7", "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": "09656d8d-a3e1-44b6-9a85-7b19f44d2d46", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 15.90, "TotalTax": 2.07, "Total": 17.97, "UpdatedDateUTC": "\/Date(1742475319257+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:55:19] Production.INFO: -- Create Invoice id --a99f1aba-cb4c-4dcb-a53e-5596410fe2e2 [2025-03-20 08:55:19] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:55:19] Production.INFO: CheckInvoice xerov2: INV11487 [2025-03-20 08:55:19] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11487 [2025-03-20 08:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721754', 'tblTempUsageDetail_20' ) start [2025-03-20 08:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721754', 'tblTempUsageDetail_20' ) end [2025-03-20 08:55:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:55:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:55:21] Production.INFO: ==2721== Releasing lock... [2025-03-20 08:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:55:21] Production.INFO: 32.5 MB #Memory Used# [2025-03-20 08:55:21] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:55:21] Production.INFO: Invoice SubTotal 50.000000 [2025-03-20 08:55:21] Production.INFO: Invoice DetTotal 50 [2025-03-20 08:55:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039052%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:55:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:55:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:55:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:55:34] 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-03-20 08:55:37] Production.INFO: ==== result ===== [2025-03-20 08:55:37] Production.INFO: { "Id": "f5f4766a-bb41-499d-8604-a0a538d250f5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475337553)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "0e218806-5e92-428d-9134-8e2d220e00e1", "InvoiceNumber": "INV11487", "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": "2025-02-08T00:00:00", "Date": "\/Date(1738972800000+0000)\/", "DueDateString": "2025-03-10T00:00:00", "DueDate": "\/Date(1741564800000+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": "0b07f6c1-389a-444b-85c8-e6c12a108357", "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": "71213271-9c10-409b-a931-5229a57ad2ee", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 50.00, "TotalTax": 6.50, "Total": 56.50, "UpdatedDateUTC": "\/Date(1742475337477+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:55:37] Production.INFO: -- Create Invoice id --0e218806-5e92-428d-9134-8e2d220e00e1 [2025-03-20 08:55:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:55:37] Production.INFO: CheckInvoice xerov2: INV11488 [2025-03-20 08:55:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11488 [2025-03-20 08:55:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:55:40] Production.INFO: Invoice SubTotal 617.500000 [2025-03-20 08:55:40] Production.INFO: Invoice DetTotal 617.5 [2025-03-20 08:55:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Agora%20Dealer%20Services%20Corp." [2025-03-20 08:55:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:55:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:55:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:55:51] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Extension",Quantity : 27,UnitAmount : 21.000000,LineAmount : 567.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License Add-On",Quantity : 27,UnitAmount : 1.000000,LineAmount : 27.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Call Recording Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE e-Fax Add-On",Quantity : 21,UnitAmount : 1.000000,LineAmount : 21.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Unbilled Extension - Opus Consulting",Quantity : 1,UnitAmount : -21.000000,LineAmount : -21.000000} [2025-03-20 08:55:54] Production.INFO: ==== result ===== [2025-03-20 08:55:54] Production.INFO: { "Id": "1478b81f-fd0b-49f4-a18b-14efd917e4bd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475354599)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "99b594fc-d070-4773-bd2c-5b686653b7d5", "InvoiceNumber": "INV11488", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 697.78, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "49e5c80a-3116-49fe-9e6f-15ec07433251", "ContactStatus": "ACTIVE", "Name": "Agora Dealer Services Corp.", "FirstName": "Cristina", "LastName": "Zsoter", "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(1742472987663+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-08T00:00:00", "Date": "\/Date(1738972800000+0000)\/", "DueDateString": "2025-03-10T00:00:00", "DueDate": "\/Date(1741564800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (8554624672 - 6285 Northam Dr Suite 100, Mississauga, ON L4V 1X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "b4a73529-c1b2-4ae3-9c66-ee86e1b03b07", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Extension", "UnitAmount": 21.00, "TaxType": "TAX020", "TaxAmount": 73.71, "LineAmount": 567.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "3b05ef9a-6119-45e0-9a97-fc51e3fc88f9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 3.51, "LineAmount": 27.00, "AccountCode": "203", "Tracking": [], "Quantity": 27.0000, "LineItemID": "ba597f1f-ea6a-4da6-872a-70c3b0eec6a0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Call Recording Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "e340e00e-f9e3-4312-b714-a8f7efa288af", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE e-Fax Add-On", "UnitAmount": 1.00, "TaxType": "TAX020", "TaxAmount": 2.73, "LineAmount": 21.00, "AccountCode": "203", "Tracking": [], "Quantity": 21.0000, "LineItemID": "cbec5c5a-f252-4139-af4f-778d7982af2d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Unbilled Extension - Opus Consulting", "UnitAmount": -21.00, "TaxType": "TAX020", "TaxAmount": -2.73, "LineAmount": -21.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "92ae77b5-79f0-4eff-8a53-82a3918ad4f1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 617.50, "TotalTax": 80.28, "Total": 697.78, "UpdatedDateUTC": "\/Date(1742475354553+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:55:54] Production.INFO: -- Create Invoice id --99b594fc-d070-4773-bd2c-5b686653b7d5 [2025-03-20 08:55:54] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:55:54] Production.INFO: CheckInvoice xerov2: INV11490 [2025-03-20 08:55:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11490 [2025-03-20 08:55:57] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:55:57] Production.INFO: Invoice SubTotal 7.500000 [2025-03-20 08:55:57] Production.INFO: Invoice DetTotal 7.5 [2025-03-20 08:55:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015184%20%28Akshay%20Naik%29" [2025-03-20 08:56:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 12:56:01] Production.INFO: ==2811== Lock acquired, processing the job... [2025-03-20 12:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:56:01] Production.INFO: neon service started [2025-03-20 12:56:01] Production.INFO: neon service started [2025-03-20 12:56:01] Production.INFO: ==2811== Releasing lock... [2025-03-20 12:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:56:01] Production.INFO: ==2813== Lock acquired, processing the job... [2025-03-20 08:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:56:02] Production.INFO: ==2813== Releasing lock... [2025-03-20 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:56:02] Production.INFO: ==2815== Lock acquired, processing the job... [2025-03-20 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:56:02] Production.INFO: ==2815== Releasing lock... [2025-03-20 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:56:03] Production.INFO: ==2817== Lock acquired, processing the job... [2025-03-20 08:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:56:03] Production.INFO: ==2821== Lock acquired, processing the job... [2025-03-20 08:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:56:03] Production.INFO: ==2827== Lock acquired, processing the job... [2025-03-20 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:56:03] Production.INFO: ==2819== Lock acquired, processing the job... [2025-03-20 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 08:56:03] Production.INFO: count ==12 [2025-03-20 08:56:03] Production.INFO: ==2823== Lock acquired, processing the job... [2025-03-20 08:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 08:56:03] Production.INFO: count ==23 [2025-03-20 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721756') start [2025-03-20 08:56:03] Production.INFO: ==2825== Lock acquired, processing the job... [2025-03-20 08:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:56:03] Production.INFO: Account Balance Start. [2025-03-20 08:56:03] Production.INFO: CreateAllLog Start [2025-03-20 08:56:03] Production.INFO: 117 [2025-03-20 08:56:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721756') end [2025-03-20 08:56:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:56:03] Production.INFO: 1 [2025-03-20 08:56:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:56:03] Production.INFO: ==2827== Releasing lock... [2025-03-20 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:56:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:56:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:03] Production.INFO: ==2819== Releasing lock... [2025-03-20 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:56:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:03] Production.INFO: Date 2025-03-15 [2025-03-20 08:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:03] Production.INFO: Date 2025-03-16 [2025-03-20 08:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:03] Production.ERROR: done [2025-03-20 08:56:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:56:04] Production.INFO: Total Charge 0 [2025-03-20 08:56:04] Production.INFO: CreateAllLog End [2025-03-20 08:56:04] Production.ERROR: done [2025-03-20 08:56:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:56:04] Production.INFO: Account Balance End. [2025-03-20 08:56:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:56:04] Production.INFO: ==2823== Releasing lock... [2025-03-20 08:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:56:05 [end_date_ymd] => 2025-03-20 08:56:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:56:05' and `end` < '2025-03-20 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-03-20 08:56:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:56:10] 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-03-20 08:56:11] Production.ERROR: CronJobId end10 [2025-03-20 08:56:11] Production.INFO: ==2821== Releasing lock... [2025-03-20 08:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:56:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:56:14] Production.INFO: ==== result ===== [2025-03-20 08:56:14] Production.INFO: { "Id": "98455602-ba5f-430b-9ed2-b60665d82fd4", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475374377)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "30f3aa1c-d05c-4495-8116-453d7f9cff63", "InvoiceNumber": "INV11490", "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": "2025-02-08T00:00:00", "Date": "\/Date(1738972800000+0000)\/", "DueDateString": "2025-03-10T00:00:00", "DueDate": "\/Date(1741564800000+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": "e37d0051-2302-4ff2-be6c-6779f0cb7741", "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": "af21bebf-bdaa-4df5-8d06-d932aefe784c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 7.50, "TotalTax": 0.38, "Total": 7.88, "UpdatedDateUTC": "\/Date(1742475374283+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:56:14] Production.INFO: -- Create Invoice id --30f3aa1c-d05c-4495-8116-453d7f9cff63 [2025-03-20 08:56:14] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:56:14] Production.INFO: CheckInvoice xerov2: INV11494 [2025-03-20 08:56:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11494 [2025-03-20 08:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:56:15] Production.INFO: call_cost start [2025-03-20 08:56:15] Production.INFO: call_cost end [2025-03-20 08:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:56:16] Production.INFO: ==2817== Releasing lock... [2025-03-20 08:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:56:17] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:56:17] Production.INFO: count ==550 [2025-03-20 08:56:17] Production.INFO: Invoice SubTotal 7.500000 [2025-03-20 08:56:17] Production.INFO: Invoice DetTotal 7.5 [2025-03-20 08:56:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quiznos%2015192%20%28Akshay%20Naik%29" [2025-03-20 08:56:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:56:05 - End Time 2025-03-20 08:56:05 [2025-03-20 08:56:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721759', 'tblTempUsageDetail_20' ) start [2025-03-20 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721759', 'tblTempUsageDetail_20' ) end [2025-03-20 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721759', 'tblTempVendorCDR_20' ) start [2025-03-20 08:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721759', 'tblTempVendorCDR_20' ) end [2025-03-20 08:56:17] Production.INFO: ProcessCDR(1,14721759,1,1,2) [2025-03-20 08:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:56:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721759', 'tblTempUsageDetail_20' ) start [2025-03-20 08:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721759', 'tblTempUsageDetail_20' ) end [2025-03-20 08:56:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:56:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:56:22] Production.INFO: ==2825== Releasing lock... [2025-03-20 08:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:56:22] Production.INFO: 33 MB #Memory Used# [2025-03-20 08:56:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:56:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:56:30] 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-03-20 08:56:34] Production.INFO: ==== result ===== [2025-03-20 08:56:34] Production.INFO: { "Id": "585baed0-1c28-452b-a1cc-6d3c06c4c4c2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475394087)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b6887f4b-f25e-4f4d-9328-2e3369bfa551", "InvoiceNumber": "INV11494", "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": "2025-02-08T00:00:00", "Date": "\/Date(1738972800000+0000)\/", "DueDateString": "2025-03-10T00:00:00", "DueDate": "\/Date(1741564800000+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": "d4262b2d-7bad-4809-9f1f-1b8c6b730df3", "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": "bfc8b9db-32de-4a9c-a8f1-14fcdf664b6d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 7.50, "TotalTax": 0.98, "Total": 8.48, "UpdatedDateUTC": "\/Date(1742475394040+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:56:34] Production.INFO: -- Create Invoice id --b6887f4b-f25e-4f4d-9328-2e3369bfa551 [2025-03-20 08:56:34] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:56:34] Production.INFO: CheckInvoice xerov2: INV11497 [2025-03-20 08:56:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11497 [2025-03-20 08:56:36] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:56:36] Production.INFO: Invoice SubTotal 47.480000 [2025-03-20 08:56:36] Production.INFO: Invoice DetTotal 47.48 [2025-03-20 08:56:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Bennison%20Smith%20Law" [2025-03-20 08:56:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:56:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:56:45] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:56:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE - Telephone User",Quantity : 2,UnitAmount : 10.750000,LineAmount : 21.500000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE - Telephone User",Quantity : 2,UnitAmount : 12.990000,LineAmount : 25.980000} [2025-03-20 08:56:51] Production.INFO: ==== result ===== [2025-03-20 08:56:51] Production.INFO: { "Id": "9d866a41-dc0e-42c0-80dc-bfa6166bf7bb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475411629)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "3eb42024-3004-4083-98d3-9c11bc15301c", "InvoiceNumber": "INV11497", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 53.66, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5304e7ac-dae0-4da0-8e3e-3bf1912a47f6", "ContactStatus": "ACTIVE", "Name": "Bennison Smith Law", "FirstName": "Bennison", "LastName": "Smith", "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(1742468929230+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-08T00:00:00", "Date": "\/Date(1738972800000+0000)\/", "DueDateString": "2025-03-10T00:00:00", "DueDate": "\/Date(1741564800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "CloudPhone.ONE - Telephone User", "UnitAmount": 10.75, "TaxType": "TAX020", "TaxAmount": 2.80, "LineAmount": 21.50, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "643cd45f-ff01-4685-a09e-af5865cbbe8e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE - Telephone User", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 3.38, "LineAmount": 25.98, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "fa46a630-6e41-4f61-9891-7c549236b09c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 47.48, "TotalTax": 6.18, "Total": 53.66, "UpdatedDateUTC": "\/Date(1742475411583+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:56:51] Production.INFO: -- Create Invoice id --3eb42024-3004-4083-98d3-9c11bc15301c [2025-03-20 08:56:51] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:56:51] Production.INFO: CheckInvoice xerov2: INV11501 [2025-03-20 08:56:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11501 [2025-03-20 08:56:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:56:54] Production.INFO: Invoice SubTotal 521.630000 [2025-03-20 08:56:54] Production.INFO: Invoice DetTotal 521.63 [2025-03-20 08:56:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Robson%20Carpenter%20LLP" [2025-03-20 08:56:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:57:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 12:57:01] Production.INFO: ==2934== Lock acquired, processing the job... [2025-03-20 12:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:57:01] Production.INFO: neon service started [2025-03-20 12:57:01] Production.INFO: neon service started [2025-03-20 12:57:01] Production.INFO: ==2934== Releasing lock... [2025-03-20 12:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:57:02] Production.INFO: ==2936== Lock acquired, processing the job... [2025-03-20 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:57:02] Production.INFO: ==2938== Lock acquired, processing the job... [2025-03-20 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:57:02] Production.INFO: ==2938== Releasing lock... [2025-03-20 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:57:03] Production.INFO: ==2936== Releasing lock... [2025-03-20 08:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:57:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:57:03] Production.INFO: ==2943== Lock acquired, processing the job... [2025-03-20 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:57:03] Production.INFO: ==2947== Lock acquired, processing the job... [2025-03-20 08:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:57:03] Production.INFO: ==2949== Lock acquired, processing the job... [2025-03-20 08:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:57:04] Production.INFO: Account Balance Start. [2025-03-20 08:57:04] Production.INFO: CreateAllLog Start [2025-03-20 08:57:04] Production.INFO: 117 [2025-03-20 08:57:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.INFO: ==2943== Releasing lock... [2025-03-20 08:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.INFO: ==2945== Lock acquired, processing the job... [2025-03-20 08:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:57:04] Production.INFO: ==2941== Lock acquired, processing the job... [2025-03-20 08:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:57:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:57:04] Production.INFO: ==2951== Lock acquired, processing the job... [2025-03-20 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.ERROR: done [2025-03-20 08:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.INFO: count ==12 [2025-03-20 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-03-20 08:57:04] Production.INFO: count ==23 [2025-03-20 08:57:04] Production.ERROR: done [2025-03-20 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721763') start [2025-03-20 08:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:57:04] Production.INFO: Total Charge 0 [2025-03-20 08:57:04] Production.INFO: CreateAllLog End [2025-03-20 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721763') end [2025-03-20 08:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:57:04] Production.INFO: 1 [2025-03-20 08:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:57:04] Production.INFO: ==2951== Releasing lock... [2025-03-20 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:57:04] Production.INFO: Account Balance End. [2025-03-20 08:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:57:04] Production.INFO: ==2947== Releasing lock... [2025-03-20 08:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:57:05 [end_date_ymd] => 2025-03-20 08:57:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:57:05' and `end` < '2025-03-20 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-03-20 08:57:06] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Per Person License",Quantity : 37,UnitAmount : 12.990000,LineAmount : 480.630000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Softphone License",Quantity : 18,UnitAmount : 2.000000,LineAmount : 36.000000},{taxType:"TAX020",AccountCode : 203,"Description": "CloudPhone.ONE Add-On - Fax Line",Quantity : 1,UnitAmount : 5.000000,LineAmount : 5.000000} [2025-03-20 08:57:10] Production.INFO: ==== result ===== [2025-03-20 08:57:10] Production.INFO: { "Id": "33eca9a1-a61a-4c52-a526-f596e5224bd2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475430135)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "997726a2-bd26-49df-81ce-8dcda9f1eb77", "InvoiceNumber": "INV11501", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 589.44, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "026264ad-30db-4a13-9750-7dee8e32341c", "ContactStatus": "ACTIVE", "Name": "Robson Carpenter LLP", "FirstName": "Jessica", "LastName": "Kerr", "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(1742468949203+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-08T00:00:00", "Date": "\/Date(1738972800000+0000)\/", "DueDateString": "2025-03-10T00:00:00", "DueDate": "\/Date(1741564800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "CloudPhone.ONE Per Person License", "UnitAmount": 12.99, "TaxType": "TAX020", "TaxAmount": 62.48, "LineAmount": 480.63, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "LineItemID": "7bd9640d-c399-4389-aade-c35d94be8cc0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone License", "UnitAmount": 2.00, "TaxType": "TAX020", "TaxAmount": 4.68, "LineAmount": 36.00, "AccountCode": "203", "Tracking": [], "Quantity": 18.0000, "LineItemID": "a6996886-c59d-4528-977b-7aedbdad92f7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Add-On - Fax Line", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 0.65, "LineAmount": 5.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "79f47bba-a6ad-4a43-bb9a-bf6ae5ea2b28", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 521.63, "TotalTax": 67.81, "Total": 589.44, "UpdatedDateUTC": "\/Date(1742475429993+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:57:10] Production.INFO: -- Create Invoice id --997726a2-bd26-49df-81ce-8dcda9f1eb77 [2025-03-20 08:57:10] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:57:10] Production.INFO: CheckInvoice xerov2: INV11478 [2025-03-20 08:57:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11478 [2025-03-20 08:57:13] Production.ERROR: CronJobId end10 [2025-03-20 08:57:13] Production.INFO: ==2945== Releasing lock... [2025-03-20 08:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:57:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:57:13] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:57:13] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:57:13] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:57:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010388%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:57:15] Production.INFO: call_cost start [2025-03-20 08:57:15] Production.INFO: call_cost end [2025-03-20 08:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:57:16] Production.INFO: ==2941== Releasing lock... [2025-03-20 08:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:57:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:57:17] Production.INFO: count ==558 [2025-03-20 08:57:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:57:05 - End Time 2025-03-20 08:57:05 [2025-03-20 08:57:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721764', 'tblTempUsageDetail_20' ) start [2025-03-20 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721764', 'tblTempUsageDetail_20' ) end [2025-03-20 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721764', 'tblTempVendorCDR_20' ) start [2025-03-20 08:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721764', 'tblTempVendorCDR_20' ) end [2025-03-20 08:57:17] Production.INFO: ProcessCDR(1,14721764,1,1,2) [2025-03-20 08:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:57:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721764', 'tblTempUsageDetail_20' ) start [2025-03-20 08:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721764', 'tblTempUsageDetail_20' ) end [2025-03-20 08:57:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:57:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:57:21] Production.INFO: ==2949== Releasing lock... [2025-03-20 08:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:57:21] Production.INFO: 33 MB #Memory Used# [2025-03-20 08:57:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:57:25] 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-03-20 08:57:28] Production.INFO: ==== result ===== [2025-03-20 08:57:28] Production.INFO: { "Id": "f6238e8f-edde-44e0-af21-e491f43bd3ca", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475448325)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ee3521d2-6898-48cd-8b9f-c91e6154d49b", "InvoiceNumber": "INV11478", "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": "2025-02-07T00:00:00", "Date": "\/Date(1738886400000+0000)\/", "DueDateString": "2025-03-09T00:00:00", "DueDate": "\/Date(1741478400000+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": "25f6bcc6-63c3-440c-ad2e-9cd82ea05b48", "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": "0a2ace77-b618-487c-832e-d590f4351a6e", "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": "78b8a623-82ef-4d65-9c09-ebefefaa3c61", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742475448293+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:57:28] Production.INFO: -- Create Invoice id --ee3521d2-6898-48cd-8b9f-c91e6154d49b [2025-03-20 08:57:28] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:57:28] Production.INFO: CheckInvoice xerov2: INV11479 [2025-03-20 08:57:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11479 [2025-03-20 08:57:31] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:57:31] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 08:57:31] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 08:57:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010588%20%28Gurinder%20Saini%29" [2025-03-20 08:57:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:57:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:57:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:57:43] 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 : 3,UnitAmount : -5.000000,LineAmount : -15.000000} [2025-03-20 08:57:46] Production.INFO: ==== result ===== [2025-03-20 08:57:46] Production.INFO: { "Id": "12228619-6a36-488f-818c-5c17fdbb0365", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475466341)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "b64ae0c5-b752-45bc-8daa-1689a6d4dd6e", "InvoiceNumber": "INV11479", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 70.63, "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": "2025-02-07T00:00:00", "Date": "\/Date(1738886400000+0000)\/", "DueDateString": "2025-03-09T00:00:00", "DueDate": "\/Date(1741478400000+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": "f76cfec4-cb74-4342-90db-95ef24b14a82", "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": "a445c954-29dd-4178-90ab-bdbcf8a15e4c", "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.95, "LineAmount": -15.00, "AccountCode": "303", "Tracking": [], "Quantity": 3.0000, "DiscountRate": 0.00, "LineItemID": "b5ea6e76-1774-43f0-8924-b1c62f4f2401", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 8.13, "Total": 70.63, "UpdatedDateUTC": "\/Date(1742475466293+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:57:46] Production.INFO: -- Create Invoice id --b64ae0c5-b752-45bc-8daa-1689a6d4dd6e [2025-03-20 08:57:46] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:57:46] Production.INFO: CheckInvoice xerov2: INV11480 [2025-03-20 08:57:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11480 [2025-03-20 08:57:48] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:57:48] Production.INFO: Invoice SubTotal 71.300000 [2025-03-20 08:57:48] Production.INFO: Invoice DetTotal 71.3 [2025-03-20 08:57:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Jenopher%20Inc." [2025-03-20 08:57:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:57:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:57:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:57:59] 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 : 8,UnitAmount : 8.100000,LineAmount : 64.800000} [2025-03-20 12:58:01] Production.INFO: ==3087== Lock acquired, processing the job... [2025-03-20 12:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:58:01] Production.INFO: neon service started [2025-03-20 12:58:01] Production.INFO: neon service started [2025-03-20 12:58:01] Production.INFO: ==3087== Releasing lock... [2025-03-20 12:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:58:01] Production.INFO: ==3090== Lock acquired, processing the job... [2025-03-20 08:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 08:58:02] Production.INFO: ==3090== Releasing lock... [2025-03-20 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:58:02] Production.INFO: ==3092== Lock acquired, processing the job... [2025-03-20 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:58:02] Production.INFO: ==3092== Releasing lock... [2025-03-20 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:58:02] Production.INFO: ==== result ===== [2025-03-20 08:58:02] Production.INFO: { "Id": "65f6bd61-e69b-4275-aaa5-ae9af1246e58", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475482486)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "4d53d26e-2e02-42c0-8b33-eb421400fcc1", "InvoiceNumber": "INV11480", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 80.57, "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": "2025-02-07T00:00:00", "Date": "\/Date(1738886400000+0000)\/", "DueDateString": "2025-03-09T00:00:00", "DueDate": "\/Date(1741478400000+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": "33fef9b0-69d4-4fab-a2f9-b96e83f47bb2", "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": 8.42, "LineAmount": 64.80, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "f4c6d65e-7845-4e64-acf3-81877ec61295", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 71.30, "TotalTax": 9.27, "Total": 80.57, "UpdatedDateUTC": "\/Date(1742475482410+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:58:02] Production.INFO: -- Create Invoice id --4d53d26e-2e02-42c0-8b33-eb421400fcc1 [2025-03-20 08:58:02] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:58:02] Production.INFO: CheckInvoice xerov2: INV11473 [2025-03-20 08:58:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11473 [2025-03-20 08:58:03] Production.INFO: ==3098== Lock acquired, processing the job... [2025-03-20 08:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:58:03] Production.INFO: ==3094== Lock acquired, processing the job... [2025-03-20 08:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:58:03] Production.INFO: ==3096== Lock acquired, processing the job... [2025-03-20 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:58:03] Production.INFO: ==3102== Lock acquired, processing the job... [2025-03-20 08:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:58:03] Production.INFO: ==3100== Lock acquired, processing the job... [2025-03-20 08:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:58:03] Production.INFO: ==3104== Lock acquired, processing the job... [2025-03-20 08:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 08:58:03] Production.INFO: Account Balance Start. [2025-03-20 08:58:03] Production.INFO: CreateAllLog Start [2025-03-20 08:58:03] Production.INFO: 117 [2025-03-20 08:58:03] Production.INFO: Date 2025-03-08 [2025-03-20 08:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:03] Production.INFO: Date 2025-03-09 [2025-03-20 08:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:03] Production.INFO: Date 2025-03-10 [2025-03-20 08:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 08:58:03] Production.ERROR: done [2025-03-20 08:58:03] Production.INFO: Date 2025-03-11 [2025-03-20 08:58:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:03] Production.INFO: count ==12 [2025-03-20 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-03-20 08:58:03] Production.INFO: count ==23 [2025-03-20 08:58:03] Production.INFO: Date 2025-03-12 [2025-03-20 08:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:03] Production.INFO: Date 2025-03-13 [2025-03-20 08:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721768') start [2025-03-20 08:58:03] Production.INFO: Date 2025-03-14 [2025-03-20 08:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:04] Production.INFO: ==3096== Releasing lock... [2025-03-20 08:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 08:58:04] Production.ERROR: done [2025-03-20 08:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721768') end [2025-03-20 08:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:58:04] Production.INFO: 1 [2025-03-20 08:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:04] Production.INFO: ==3104== Releasing lock... [2025-03-20 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:58:04] Production.INFO: Total Charge 0 [2025-03-20 08:58:04] Production.INFO: CreateAllLog End [2025-03-20 08:58:04] Production.INFO: Account Balance End. [2025-03-20 08:58:04] Production.ERROR: CronJobId end 12 [2025-03-20 08:58:04] Production.INFO: ==3100== Releasing lock... [2025-03-20 08:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:58:05 [end_date_ymd] => 2025-03-20 08:58:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:58:05' and `end` < '2025-03-20 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-03-20 08:58:05] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:58:05] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 08:58:05] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 08:58:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039009%20%28Mudassar%20Zia%29" [2025-03-20 08:58:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:58:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:58:12] Production.ERROR: CronJobId end10 [2025-03-20 08:58:12] Production.INFO: ==3098== Releasing lock... [2025-03-20 08:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:58:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:58:14] Production.INFO: call_cost start [2025-03-20 08:58:15] Production.INFO: call_cost end [2025-03-20 08:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:58:15] Production.INFO: ==3094== Releasing lock... [2025-03-20 08:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:58:17] Production.INFO: count ==558 [2025-03-20 08:58:17] 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-03-20 08:58:17] Production.ERROR: pbx CDR StartTime 2025-03-20 05:58:05 - End Time 2025-03-20 08:58:05 [2025-03-20 08:58:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721769', 'tblTempUsageDetail_20' ) start [2025-03-20 08:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721769', 'tblTempUsageDetail_20' ) end [2025-03-20 08:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721769', 'tblTempVendorCDR_20' ) start [2025-03-20 08:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721769', 'tblTempVendorCDR_20' ) end [2025-03-20 08:58:17] Production.INFO: ProcessCDR(1,14721769,1,1,2) [2025-03-20 08:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:58:20] Production.INFO: ==== result ===== [2025-03-20 08:58:20] Production.INFO: { "Id": "b51d5129-7bbe-4c0f-a1af-ccedeba68963", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475500769)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "95eba47a-7f3f-4bfc-8b02-9adc9107e9ba", "InvoiceNumber": "INV11473", "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-02-06T00:00:00", "Date": "\/Date(1738800000000+0000)\/", "DueDateString": "2025-03-08T00:00:00", "DueDate": "\/Date(1741392000000+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": "59dea1af-5d07-4535-b10c-26679725912c", "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": "53d12f49-a1f8-4d44-96b3-ae9734bcec68", "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": "38f8fa3a-1f2c-499b-adfd-51d317bc72ef", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 3.13, "Total": 65.63, "UpdatedDateUTC": "\/Date(1742475500723+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:58:20] Production.INFO: -- Create Invoice id --95eba47a-7f3f-4bfc-8b02-9adc9107e9ba [2025-03-20 08:58:20] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:58:20] Production.INFO: CheckInvoice xerov2: INV11474 [2025-03-20 08:58:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11474 [2025-03-20 08:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721769', 'tblTempUsageDetail_20' ) start [2025-03-20 08:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721769', 'tblTempUsageDetail_20' ) end [2025-03-20 08:58:20] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:58:20] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:58:20] Production.INFO: ==3102== Releasing lock... [2025-03-20 08:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:58:21] Production.INFO: 33 MB #Memory Used# [2025-03-20 08:58:23] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:58:23] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:58:23] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:58:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010191%20%28Chandresh%20Patel%29" [2025-03-20 08:58:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:58:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:58:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:58:35] 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-03-20 08:58:38] Production.INFO: ==== result ===== [2025-03-20 08:58:38] Production.INFO: { "Id": "31920411-d469-4466-a230-d544c191c097", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475518494)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ee6d5816-3525-4a6f-ae8d-4bf19579ac92", "InvoiceNumber": "INV11474", "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-02-06T00:00:00", "Date": "\/Date(1738800000000+0000)\/", "DueDateString": "2025-03-08T00:00:00", "DueDate": "\/Date(1741392000000+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": "bc93b46d-4f2e-4478-ac70-762ef0e3b2ce", "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": "a7cdca3e-2a5c-4875-8e7c-e6b70f513f33", "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": "efa303f6-ad42-43a8-b55a-47fd1232378e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742475518463+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:58:38] Production.INFO: -- Create Invoice id --ee6d5816-3525-4a6f-ae8d-4bf19579ac92 [2025-03-20 08:58:38] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:58:38] Production.INFO: CheckInvoice xerov2: INV11475 [2025-03-20 08:58:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11475 [2025-03-20 08:58:41] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:58:41] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 08:58:41] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 08:58:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010385%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:58:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:58:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:58:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:58:53] 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-03-20 08:58:57] Production.INFO: ==== result ===== [2025-03-20 08:58:57] Production.INFO: { "Id": "7de01aac-ac0e-4afd-a56a-acbcd931be93", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475537098)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "c1d23b81-71ff-4dba-b494-afd37803ed41", "InvoiceNumber": "INV11475", "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-02-06T00:00:00", "Date": "\/Date(1738800000000+0000)\/", "DueDateString": "2025-03-08T00:00:00", "DueDate": "\/Date(1741392000000+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": "72eaf71a-262d-42e7-9ca5-beb0bf123a88", "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": "589c0ebd-589e-4c57-a32d-6f7aa76f2f8b", "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": "d453fca1-5c1f-4da0-aa91-f58343159510", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742475537053+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:58:57] Production.INFO: -- Create Invoice id --c1d23b81-71ff-4dba-b494-afd37803ed41 [2025-03-20 08:58:57] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:58:57] Production.INFO: CheckInvoice xerov2: INV11468 [2025-03-20 08:58:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11468 [2025-03-20 08:59:00] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:59:00] Production.INFO: Invoice SubTotal 16.200000 [2025-03-20 08:59:00] Production.INFO: Invoice DetTotal 16.2 [2025-03-20 08:59:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Lindsay" [2025-03-20 12:59:01] Production.INFO: ==3197== Lock acquired, processing the job... [2025-03-20 12:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 12:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 12:59:01] Production.INFO: neon service started [2025-03-20 12:59:01] Production.INFO: neon service started [2025-03-20 12:59:01] Production.INFO: ==3197== Releasing lock... [2025-03-20 12:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 12:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 08:59:02] Production.INFO: ==3199== Lock acquired, processing the job... [2025-03-20 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:59:02] Production.INFO: ==3201== Lock acquired, processing the job... [2025-03-20 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:59:02] Production.INFO: ==3201== Releasing lock... [2025-03-20 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 12:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 08:59:02] Production.INFO: ==3199== Releasing lock... [2025-03-20 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 08:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 08:59:03] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:59:03] Production.INFO: ==3207== Lock acquired, processing the job... [2025-03-20 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 08:59:03] Production.INFO: ==3215== Lock acquired, processing the job... [2025-03-20 08:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 08:59:03] Production.INFO: count ==12 [2025-03-20 08:59:03] Production.INFO: ==3205== Lock acquired, processing the job... [2025-03-20 08:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 08:59:04] Production.INFO: ==3209== Lock acquired, processing the job... [2025-03-20 08:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 08:59:04] Production.INFO: ==3207== Releasing lock... [2025-03-20 08:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 08:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 08:59:04] Production.INFO: count ==23 [2025-03-20 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721771') start [2025-03-20 08:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 08:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 08:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 08:59:04] Production.INFO: ==3211== Lock acquired, processing the job... [2025-03-20 08:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 08:59:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 08:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721771') end [2025-03-20 08:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 08:59:04] Production.INFO: 1 [2025-03-20 08:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 08:59:04] Production.INFO: ==3213== Lock acquired, processing the job... [2025-03-20 08:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 08:59:04] Production.INFO: ==3215== Releasing lock... [2025-03-20 08:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 08:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 08:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 08:59:04] Production.INFO: Account Balance Start. [2025-03-20 08:59:04] Production.INFO: CreateAllLog Start [2025-03-20 08:59:04] Production.INFO: 117 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-08 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-09 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-10 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-11 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-12 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-13 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.ERROR: done [2025-03-20 08:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 08:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 08:59:04] Production.INFO: Total Charge 0 [2025-03-20 08:59:04] Production.INFO: CreateAllLog End [2025-03-20 08:59:04] Production.ERROR: done [2025-03-20 08:59:04] Production.INFO: Account Balance End. [2025-03-20 08:59:05] Production.ERROR: CronJobId end 12 [2025-03-20 08:59:05] Production.INFO: ==3211== Releasing lock... [2025-03-20 08:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 08:59:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 08:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 05:59:05 [end_date_ymd] => 2025-03-20 08:59:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 05:59:05' and `end` < '2025-03-20 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-03-20 08:59:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:59:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:59:12] Production.ERROR: CronJobId end10 [2025-03-20 08:59:12] Production.INFO: ==3209== Releasing lock... [2025-03-20 08:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 08:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 08:59:12] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-05-2025 To 02-04-2025",Quantity : 1,UnitAmount : 1.700000,LineAmount : 1.700000},{taxType:"TAX020",AccountCode : 203,"Description": "Capacity Based Billing - 1 Channel, Burstable to 2",Quantity : 1,UnitAmount : 12.000000,LineAmount : 12.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17057019601 - 320 MARY ST W LINDSAY, ON K9V5X5)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 08:59:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 08:59:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 08:59:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 08:59:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 08:59:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 08:59:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 08:59:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 08:59:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 08:59:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 08:59:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 08:59:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 08:59:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 08:59:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 08:59:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 08:59:15] Production.INFO: ==== result ===== [2025-03-20 08:59:15] Production.INFO: { "Id": "cb84be08-7436-4468-a8d7-8995e25ce225", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475555516)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "63bc5634-271a-41a2-8158-4744449cb5b1", "InvoiceNumber": "INV11468", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 18.31, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "7cca29b1-b852-4195-aea8-d23ee3e0a552", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Lindsay", "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(1533070461280+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-05T00:00:00", "Date": "\/Date(1738713600000+0000)\/", "DueDateString": "2025-03-07T00:00:00", "DueDate": "\/Date(1741305600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-05-2025 To 02-04-2025", "UnitAmount": 1.70, "TaxType": "TAX020", "TaxAmount": 0.22, "LineAmount": 1.70, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "03c41560-37f7-4a19-b4a6-c1fd4dce6b7d", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Capacity Based Billing - 1 Channel, Burstable to 2", "UnitAmount": 12.00, "TaxType": "TAX020", "TaxAmount": 1.56, "LineAmount": 12.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "11220b02-8dd9-4d93-8615-6a79afc5a5a1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (17057019601 - 320 MARY ST W LINDSAY, ON K9V5X5)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "45055ef1-6c57-4734-a4bb-7aab1f9bea1e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 16.20, "TotalTax": 2.11, "Total": 18.31, "UpdatedDateUTC": "\/Date(1742475555470+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:59:15] Production.INFO: -- Create Invoice id --63bc5634-271a-41a2-8158-4744449cb5b1 [2025-03-20 08:59:15] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:59:15] Production.INFO: CheckInvoice xerov2: INV11469 [2025-03-20 08:59:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11469 [2025-03-20 08:59:15] Production.INFO: call_cost start [2025-03-20 08:59:15] Production.INFO: call_cost end [2025-03-20 08:59:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 08:59:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 08:59:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 08:59:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 08:59:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 08:59:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 08:59:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 08:59:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 08:59:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 08:59:16] Production.INFO: ==3205== Releasing lock... [2025-03-20 08:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 08:59:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 08:59:18] Production.INFO: count ==570 [2025-03-20 08:59:18] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:59:18] Production.ERROR: pbx CDR StartTime 2025-03-20 05:59:05 - End Time 2025-03-20 08:59:05 [2025-03-20 08:59:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721774', 'tblTempUsageDetail_20' ) start [2025-03-20 08:59:18] Production.INFO: Invoice SubTotal 50.000000 [2025-03-20 08:59:18] Production.INFO: Invoice DetTotal 50 [2025-03-20 08:59:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039049%20%28Sandeep%20Chaudhari%29" [2025-03-20 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721774', 'tblTempUsageDetail_20' ) end [2025-03-20 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721774', 'tblTempVendorCDR_20' ) start [2025-03-20 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721774', 'tblTempVendorCDR_20' ) end [2025-03-20 08:59:18] Production.INFO: ProcessCDR(1,14721774,1,1,2) [2025-03-20 08:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 08:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:59:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 08:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721774', 'tblTempUsageDetail_20' ) start [2025-03-20 08:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721774', 'tblTempUsageDetail_20' ) end [2025-03-20 08:59:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 08:59:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 08:59:23] Production.INFO: ==3213== Releasing lock... [2025-03-20 08:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 08:59:23] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 08:59:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:59:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:59:30] 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-03-20 08:59:33] Production.INFO: ==== result ===== [2025-03-20 08:59:33] Production.INFO: { "Id": "d36c7303-5c48-492c-b02d-9c8d04c9890d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475573597)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "eef2b8e1-1158-4212-9219-f24619bc4e7e", "InvoiceNumber": "INV11469", "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-02-05T00:00:00", "Date": "\/Date(1738713600000+0000)\/", "DueDateString": "2025-03-07T00:00:00", "DueDate": "\/Date(1741305600000+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": "01902acf-6f44-4ca5-bb24-f776f74ca87b", "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": "97363680-f66c-4923-b7a3-7da771a8a196", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 50.00, "TotalTax": 6.50, "Total": 56.50, "UpdatedDateUTC": "\/Date(1742475573550+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:59:33] Production.INFO: -- Create Invoice id --eef2b8e1-1158-4212-9219-f24619bc4e7e [2025-03-20 08:59:33] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:59:33] Production.INFO: CheckInvoice xerov2: INV11470 [2025-03-20 08:59:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11470 [2025-03-20 08:59:36] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:59:36] Production.INFO: Invoice SubTotal 23.250000 [2025-03-20 08:59:36] Production.INFO: Invoice DetTotal 23.25 [2025-03-20 08:59:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Care%20Insurance%20Brokers%20Ltd." [2025-03-20 08:59:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 08:59:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 08:59:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 08:59:48] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-05-2025 To 02-04-2025",Quantity : 1,UnitAmount : 10.750000,LineAmount : 10.750000},{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-03-20 08:59:51] Production.INFO: ==== result ===== [2025-03-20 08:59:51] Production.INFO: { "Id": "31eded24-10d2-4281-a741-0f80cca582fd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475591760)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a8129ace-a4dc-46e9-9f6a-5fa01317b85e", "InvoiceNumber": "INV11470", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 26.28, "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-02-05T00:00:00", "Date": "\/Date(1738713600000+0000)\/", "DueDateString": "2025-03-07T00:00:00", "DueDate": "\/Date(1741305600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-05-2025 To 02-04-2025", "UnitAmount": 10.75, "TaxType": "TAX020", "TaxAmount": 1.40, "LineAmount": 10.75, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9bbe3a7d-a080-4e43-9ec9-5ac5cd3546ec", "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": "24775a2f-89ea-4916-adce-29430d5f7047", "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": "d59d24d3-06c6-46a6-a087-422d30bcd90a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 23.25, "TotalTax": 3.03, "Total": 26.28, "UpdatedDateUTC": "\/Date(1742475591683+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 08:59:51] Production.INFO: -- Create Invoice id --a8129ace-a4dc-46e9-9f6a-5fa01317b85e [2025-03-20 08:59:51] Production.INFO: -- Create Invoice Done -- [2025-03-20 08:59:51] Production.INFO: CheckInvoice xerov2: INV11472 [2025-03-20 08:59:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11472 [2025-03-20 08:59:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 08:59:54] Production.INFO: Invoice SubTotal 78.990000 [2025-03-20 08:59:54] Production.INFO: Invoice DetTotal 78.99 [2025-03-20 08:59:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010164%20%28Jordan%20Hodgson%29" [2025-03-20 08:59:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:00:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 13:00:02] Production.INFO: ==3306== Lock acquired, processing the job... [2025-03-20 13:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:00:02] Production.INFO: neon service started [2025-03-20 13:00:02] Production.INFO: neon service started [2025-03-20 13:00:02] Production.INFO: ==3306== Releasing lock... [2025-03-20 13:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:00:03] Production.INFO: ==3310== Lock acquired, processing the job... [2025-03-20 13:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:00:03] Production.INFO: ==3308== Lock acquired, processing the job... [2025-03-20 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:00:03] Production.INFO: ==3310== Releasing lock... [2025-03-20 13:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:00:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:00:03] Production.INFO: ==3308== Releasing lock... [2025-03-20 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:00:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:00:04] Production.INFO: ==3318== Lock acquired, processing the job... [2025-03-20 09:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:00:04] Production.INFO: ==3320== Lock acquired, processing the job... [2025-03-20 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:00:04] Production.INFO: ==3324== Lock acquired, processing the job... [2025-03-20 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:00:04] Production.INFO: ==3326== Lock acquired, processing the job... [2025-03-20 09:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:00:04] Production.INFO: Account Balance Start. [2025-03-20 09:00:04] Production.INFO: CreateAllLog Start [2025-03-20 09:00:04] Production.INFO: 117 [2025-03-20 09:00:04] Production.INFO: ==3316== Lock acquired, processing the job... [2025-03-20 09:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 09:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:04] Production.INFO: ==3320== Releasing lock... [2025-03-20 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:00:04] Production.INFO: ==3322== Lock acquired, processing the job... [2025-03-20 09:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 09:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 09:00:04] Production.ERROR: CronJob PID - 3318 [2025-03-20 09:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 09:00:04] Production.ERROR: CronJob ID - 5 [2025-03-20 09:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 09:00:00 [2025-03-20 09:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 09:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 09:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 09:00:04] Production.ERROR: CronJob PID - 3324 [2025-03-20 09:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 09:00:04] Production.ERROR: CronJob ID - 12 [2025-03-20 09:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 09:00:00 [2025-03-20 09:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 09:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 09:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 09:00:04] Production.ERROR: CronJob PID - 3326 [2025-03-20 09:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 09:00:04] Production.ERROR: CronJob ID - 16 [2025-03-20 09:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 09:00:00 [2025-03-20 09:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 09:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 09:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:04] Production.INFO: ==3328== Lock acquired, processing the job... [2025-03-20 09:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 09:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:04] Production.INFO: ==3330== Lock acquired, processing the job... [2025-03-20 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:00:05] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 09:00:05] Production.INFO: ==3316== Releasing lock... [2025-03-20 09:00:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 09:00:05] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 09:00:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:00:05] Production.INFO: Date 2025-03-11 [2025-03-20 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:05] Production.ERROR: done [2025-03-20 09:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:00:05] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:00:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:00:05] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:00:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:00:05] Production.INFO: Date 2025-03-12 [2025-03-20 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:05] Production.INFO: Date 2025-03-13 [2025-03-20 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:05] Production.INFO: Date 2025-03-14 [2025-03-20 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:05] Production.ERROR: done [2025-03-20 09:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 09: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-03-20 09:00:05] Production.ERROR: done [2025-03-20 09:00:05] Production.INFO: count ==12 [2025-03-20 09: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-03-20 09:00:05] Production.INFO: count ==23 [2025-03-20 09:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721778') start [2025-03-20 09:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 09:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721780', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 09:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721778') end [2025-03-20 09:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:00:05] Production.INFO: 1 [2025-03-20 09:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:00:05] Production.INFO: ==3330== Releasing lock... [2025-03-20 09:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:00:05] Production.INFO: Total Charge 0 [2025-03-20 09:00:05] Production.INFO: CreateAllLog End [2025-03-20 09:00:05] Production.INFO: Account Balance End. [2025-03-20 09:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:00:05] Production.INFO: ==3324== Releasing lock... [2025-03-20 09:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:00:06 [end_date_ymd] => 2025-03-20 09:00:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:00:06' and `end` < '2025-03-20 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-03-20 09:00:07] Production.INFO: =========Invoices String here======{taxType:"TAX023",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-05-2025 To 02-04-2025",Quantity : 1,UnitAmount : 0.500000,LineAmount : 0.500000},{taxType:"TAX023",AccountCode : 203,"Description": "Restaurant - 4 Line Flat Rate",Quantity : 1,UnitAmount : 75.990000,LineAmount : 75.990000},{taxType:"TAX023",AccountCode : 203,"Description": "e911 address registration (3064452555 - 302 114 Street North Battleford, SK S9A 2M6 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721780', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 09:00:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 09:00:10] Production.INFO: ProcessCDR(1,14721780,1,1,2) [2025-03-20 09:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721780,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721780,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:00:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:00:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:00:10] Production.INFO: ==3328== Releasing lock... [2025-03-20 09:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 09:00:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 09:00:10] Production.INFO: ==== result ===== [2025-03-20 09:00:10] Production.INFO: { "Id": "c4cf2c31-f038-4859-b928-5c94b9c61ba2", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475610723)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "812bdfcb-6e8b-41f0-9f21-a81c8df0db7a", "InvoiceNumber": "INV11472", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.69, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "9ba9e65f-7bc8-430d-b449-05e224b3e5f6", "ContactStatus": "ACTIVE", "Name": "Dominos 10164 (Jordan Hodgson)", "FirstName": "Jordan", "LastName": "Hodgson", "EmailAddress": "", "BankAccountDetails": "", "Addresses": [ { "AddressType": "STREET", "City": "", "Region": "", "PostalCode": "", "Country": "" }, { "AddressType": "POBOX", "AddressLine1": "4-302 114 St", "City": "North Battleford", "Region": "SK", "PostalCode": "S9A 2M6", "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(1730664962653+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-05T00:00:00", "Date": "\/Date(1738713600000+0000)\/", "DueDateString": "2025-02-12T00:00:00", "DueDate": "\/Date(1739318400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-05-2025 To 02-04-2025", "UnitAmount": 0.50, "TaxType": "TAX023", "TaxAmount": 0.06, "LineAmount": 0.50, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e5f45ea9-d6fa-4a40-a325-767353fefc09", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Restaurant - 4 Line Flat Rate", "UnitAmount": 75.99, "TaxType": "TAX023", "TaxAmount": 8.36, "LineAmount": 75.99, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ef33f689-a187-45df-9eae-4fa354ad89f7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (3064452555 - 302 114 Street North Battleford, SK S9A 2M6 Canada)", "UnitAmount": 2.50, "TaxType": "TAX023", "TaxAmount": 0.28, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "c7fba745-b4a1-4fe9-aa0a-464d398a6f00", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 78.99, "TotalTax": 8.70, "Total": 87.69, "UpdatedDateUTC": "\/Date(1742475610677+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:00:10] Production.INFO: -- Create Invoice id --812bdfcb-6e8b-41f0-9f21-a81c8df0db7a [2025-03-20 09:00:10] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:00:10] Production.INFO: CheckInvoice xerov2: INV11461 [2025-03-20 09:00:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11461 [2025-03-20 09:00:13] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:00:14] Production.INFO: Invoice SubTotal 173.270000 [2025-03-20 09:00:14] Production.INFO: Invoice DetTotal 173.27 [2025-03-20 09:00:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Axxima" [2025-03-20 09:00:15] Production.ERROR: CronJobId end10 [2025-03-20 09:00:15] Production.INFO: ==3322== Releasing lock... [2025-03-20 09:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:00:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:00:17] Production.INFO: call_cost start [2025-03-20 09:00:17] Production.INFO: call_cost end [2025-03-20 09:00:19] Production.INFO: count ==587 [2025-03-20 09:00:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:00:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:00:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:00:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:00:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:00:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:00:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:00:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:00:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:00:19] Production.INFO: ==3318== Releasing lock... [2025-03-20 09:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:00:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:00:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:00:06 - End Time 2025-03-20 09:00:06 [2025-03-20 09:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721779', 'tblTempUsageDetail_20' ) start [2025-03-20 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721779', 'tblTempUsageDetail_20' ) end [2025-03-20 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721779', 'tblTempVendorCDR_20' ) start [2025-03-20 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721779', 'tblTempVendorCDR_20' ) end [2025-03-20 09:00:19] Production.INFO: ProcessCDR(1,14721779,1,1,2) [2025-03-20 09:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:00:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:00:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721779', 'tblTempUsageDetail_20' ) start [2025-03-20 09:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721779', 'tblTempUsageDetail_20' ) end [2025-03-20 09:00:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:00:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:00:24] Production.INFO: ==3326== Releasing lock... [2025-03-20 09:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:00:24] Production.INFO: 32.75 MB #Memory Used# [2025-03-20 09:00:26] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-04-2025 To 02-03-2025",Quantity : 1,UnitAmount : 0.270000,LineAmount : 0.270000},{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-03-20 09:00:30] Production.INFO: ==== result ===== [2025-03-20 09:00:30] Production.INFO: { "Id": "50a977a0-ae2c-4ec0-a224-218761c10a7e", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475629878)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "93eda000-6229-48e3-a2a3-89a2bcc337a8", "InvoiceNumber": "INV11461", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 195.81, "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": "2025-02-04T00:00:00", "Date": "\/Date(1738627200000+0000)\/", "DueDateString": "2025-03-06T00:00:00", "DueDate": "\/Date(1741219200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-04-2025 To 02-03-2025", "UnitAmount": 0.27, "TaxType": "TAX020", "TaxAmount": 0.04, "LineAmount": 0.27, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "9f1bca7b-f376-471f-b427-3be41049444b", "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": "a826478c-136b-4c55-a155-25e2dec4e696", "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": "3d0e79dc-5e36-4846-93a6-5964a3150120", "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": "f31711bc-2478-4182-9c83-a9aee2b329ba", "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": "5c68973d-9d41-4657-b4e2-34f2551b6ee9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 173.27, "TotalTax": 22.54, "Total": 195.81, "UpdatedDateUTC": "\/Date(1742475629817+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:00:30] Production.INFO: -- Create Invoice id --93eda000-6229-48e3-a2a3-89a2bcc337a8 [2025-03-20 09:00:30] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:00:30] Production.INFO: CheckInvoice xerov2: INV11462 [2025-03-20 09:00:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11462 [2025-03-20 09:00:33] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:00:33] Production.INFO: Invoice SubTotal 3.000000 [2025-03-20 09:00:33] Production.INFO: Invoice DetTotal 3 [2025-03-20 09:00:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Terry%20Anderson" [2025-03-20 09:00:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:00:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:00:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:00:45] 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-03-20 09:00:49] Production.INFO: ==== result ===== [2025-03-20 09:00:49] Production.INFO: { "ErrorNumber": 14, "Type": "PostDataInvalidException", "Message": "Invalid Json data" } [2025-03-20 09:00: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-03-20 09:00:49] Production.INFO: -- Create Invoice Error --Undefined property: stdClass::$Invoices [2025-03-20 09:00:49] Production.INFO: -- Create Invoice Error -- [2025-03-20 09:00:49] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:00:49] Production.INFO: CheckInvoice xerov2: INV11463 [2025-03-20 09:00:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11463 [2025-03-20 09:00:52] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:00:52] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 09:00:52] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 09:00:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010583%20%28William%20Prichard%29" [2025-03-20 09:00:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:00:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:01:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 13:01:01] Production.INFO: ==3425== Lock acquired, processing the job... [2025-03-20 13:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:01:01] Production.INFO: neon service started [2025-03-20 13:01:01] Production.INFO: neon service started [2025-03-20 13:01:01] Production.INFO: ==3425== Releasing lock... [2025-03-20 13:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:01:02] Production.INFO: ==3437== Lock acquired, processing the job... [2025-03-20 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:01:02] Production.INFO: ==3437== Releasing lock... [2025-03-20 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:01:02] Production.INFO: ==3439== Lock acquired, processing the job... [2025-03-20 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:01:02] Production.INFO: ==3439== Releasing lock... [2025-03-20 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:01:03] Production.INFO: ==3441== Lock acquired, processing the job... [2025-03-20 09:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:01: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 (12262272000 - 257 James St Delhi, ON N4B 1X5 Canada)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:01:03] Production.INFO: ==3443== Lock acquired, processing the job... [2025-03-20 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:01:03] Production.INFO: ==3451== Lock acquired, processing the job... [2025-03-20 09:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:01:03] Production.INFO: ==3445== Lock acquired, processing the job... [2025-03-20 09:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:01:03] Production.INFO: ==3447== Lock acquired, processing the job... [2025-03-20 09:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:01:03] Production.INFO: ==3449== Lock acquired, processing the job... [2025-03-20 09:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 09:01:03] Production.INFO: Account Balance Start. [2025-03-20 09:01:03] Production.INFO: CreateAllLog Start [2025-03-20 09:01:03] Production.INFO: 117 [2025-03-20 09:01:03] Production.INFO: count ==12 [2025-03-20 09:01:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 09:01:03] Production.INFO: count ==23 [2025-03-20 09:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721782') start [2025-03-20 09:01:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721782') end [2025-03-20 09:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:01:04] Production.INFO: 1 [2025-03-20 09:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:04] Production.INFO: ==3451== Releasing lock... [2025-03-20 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:01:04] Production.ERROR: done [2025-03-20 09:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:01:04] Production.INFO: ==3443== Releasing lock... [2025-03-20 09:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:04] Production.ERROR: done [2025-03-20 09:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:01:04] Production.INFO: Total Charge 0 [2025-03-20 09:01:04] Production.INFO: CreateAllLog End [2025-03-20 09:01:04] Production.INFO: Account Balance End. [2025-03-20 09:01:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:01:04] Production.INFO: ==3447== Releasing lock... [2025-03-20 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:01:05] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:05] Production.INFO: =diffInterval=0 [2025-03-20 09:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:01:05 [end_date_ymd] => 2025-03-20 09:01:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:01:05' and `end` < '2025-03-20 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-03-20 09:01:06] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:06] Production.INFO: =diffInterval=0 [2025-03-20 09:01:06] Production.INFO: ==== result ===== [2025-03-20 09:01:06] Production.INFO: { "Id": "4edb1847-31c4-4fbd-85f5-4f789807f050", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475666811)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "74dfaf98-cbbf-43f1-ac85-89b56c80999a", "InvoiceNumber": "INV11463", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 87.58, "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": "2025-02-04T00:00:00", "Date": "\/Date(1738627200000+0000)\/", "DueDateString": "2025-03-06T00:00:00", "DueDate": "\/Date(1741219200000+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": "2d9156ab-1352-47af-8d49-2540473a4b07", "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": "1ff8f685-9b53-4d2b-b4e8-4821c932aed3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742475666623+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:01:07] Production.INFO: -- Create Invoice id --74dfaf98-cbbf-43f1-ac85-89b56c80999a [2025-03-20 09:01:07] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:01:07] Production.INFO: CheckInvoice xerov2: INV11465 [2025-03-20 09:01:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11465 [2025-03-20 09:01:07] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:07] Production.INFO: =diffInterval=0 [2025-03-20 09:01:09] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:09] Production.INFO: =diffInterval=0 [2025-03-20 09:01:09] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:01:09] Production.INFO: Invoice SubTotal 46.050000 [2025-03-20 09:01:09] Production.INFO: Invoice DetTotal 46.05 [2025-03-20 09:01:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Workside%20Early%20Childhood%20Education%20Centre" [2025-03-20 09:01:10] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:10] Production.INFO: =diffInterval=0 [2025-03-20 09:01:10] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:10] Production.INFO: =diffInterval=0 [2025-03-20 09:01:11] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:11] Production.INFO: =diffInterval=0 [2025-03-20 09:01:12] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:12] Production.INFO: =diffInterval=0 [2025-03-20 09:01:12] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:01:12] Production.ERROR: CronJobId end10 [2025-03-20 09:01:12] Production.INFO: ==3445== Releasing lock... [2025-03-20 09:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:01:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:01:12] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:12] Production.INFO: =diffInterval=0 [2025-03-20 09:01:13] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:13] Production.INFO: =diffInterval=0 [2025-03-20 09:01:14] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:14] Production.INFO: =diffInterval=0 [2025-03-20 09:01:14] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:14] Production.INFO: =diffInterval=0 [2025-03-20 09:01:15] Production.INFO: helper-LastRunTime===2025-03-20 09:01:00 [2025-03-20 09:01:15] Production.INFO: =diffInterval=0 [2025-03-20 09:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:01:15] Production.INFO: call_cost start [2025-03-20 09:01:15] Production.INFO: call_cost end [2025-03-20 09:01:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:01:16] Production.INFO: ==3441== Releasing lock... [2025-03-20 09:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:01:17] Production.INFO: count ==618 [2025-03-20 09:01:17] Production.ERROR: pbx CDR StartTime 2025-03-20 06:01:05 - End Time 2025-03-20 09:01:05 [2025-03-20 09:01:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721785', 'tblTempUsageDetail_20' ) start [2025-03-20 09:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721785', 'tblTempUsageDetail_20' ) end [2025-03-20 09:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721785', 'tblTempVendorCDR_20' ) start [2025-03-20 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721785', 'tblTempVendorCDR_20' ) end [2025-03-20 09:01:18] Production.INFO: ProcessCDR(1,14721785,1,1,2) [2025-03-20 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:01:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721785,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:01:21] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-04-2025 To 02-03-2025",Quantity : 1,UnitAmount : 0.920000,LineAmount : 0.920000},{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-03-20 09:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721785,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721785', 'tblTempUsageDetail_20' ) start [2025-03-20 09:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721785', 'tblTempUsageDetail_20' ) end [2025-03-20 09:01:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:01:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:01:23] Production.INFO: ==3449== Releasing lock... [2025-03-20 09:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:01:23] Production.INFO: 33 MB #Memory Used# [2025-03-20 09:01:25] Production.INFO: ==== result ===== [2025-03-20 09:01:25] Production.INFO: { "Id": "dcba9ae8-1345-4bfd-a524-61bdc7a6fb09", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475685145)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2229190b-c7b1-441f-bdaf-6716bc2517db", "InvoiceNumber": "INV11465", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 52.04, "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": "2025-02-04T00:00:00", "Date": "\/Date(1738627200000+0000)\/", "DueDateString": "2025-03-06T00:00:00", "DueDate": "\/Date(1741219200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-04-2025 To 02-03-2025", "UnitAmount": 0.92, "TaxType": "TAX020", "TaxAmount": 0.12, "LineAmount": 0.92, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "f9a2aae3-f833-4f7c-9bcc-edd85ed0262e", "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": "9c5ce34b-2e36-4693-a126-47e7a4be2424", "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": "0b2427bf-7f27-4fcf-8186-60b939145f84", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "DiscountAmount": 2.2500, "ValidationErrors": [] } ], "SubTotal": 46.05, "TotalTax": 5.99, "Total": 52.04, "UpdatedDateUTC": "\/Date(1742475685033+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:01:25] Production.INFO: -- Create Invoice id --2229190b-c7b1-441f-bdaf-6716bc2517db [2025-03-20 09:01:25] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:01:25] Production.INFO: CheckInvoice xerov2: INV11467 [2025-03-20 09:01:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11467 [2025-03-20 09:01:28] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:01:28] Production.INFO: Invoice SubTotal 643.750000 [2025-03-20 09:01:28] Production.INFO: Invoice DetTotal 643.75 [2025-03-20 09:01:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 09:01:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:01:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:01:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:01:40] Production.INFO: =========Invoices String here======{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Lenovo ThinkPad/RYZEN 7/16/256/W10P",Quantity : 1,UnitAmount : 556.250000,LineAmount : 556.250000},{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Shipping",Quantity : 1,UnitAmount : 31.250000,LineAmount : 31.250000},{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Bauer 3 Year Depot Warranty",Quantity : 1,UnitAmount : 56.250000,LineAmount : 56.250000} [2025-03-20 09:01:43] Production.INFO: ==== result ===== [2025-03-20 09:01:43] Production.INFO: { "Id": "778556a2-f979-4b5b-9c5e-4e4f06723e9d", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475703351)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1698052b-72da-429c-ac92-5e8f58328726", "InvoiceNumber": "INV11467", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 727.43, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "cad302ad-7c7e-456b-bcf1-bd7729cb22b7", "ContactNumber": "Keogh Construction", "ContactStatus": "ACTIVE", "Name": "Keogh Construction", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "555-555-5555", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "(519) 942-4573", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936267550+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-04T00:00:00", "Date": "\/Date(1738627200000+0000)\/", "DueDateString": "2025-03-06T00:00:00", "DueDate": "\/Date(1741219200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Lenovo ThinkPad/RYZEN 7/16/256/W10P", "UnitAmount": 556.25, "TaxType": "TAX020", "TaxAmount": 72.31, "LineAmount": 556.25, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "26d6f077-24af-408a-926b-8c000d11fdca", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Shipping", "UnitAmount": 31.25, "TaxType": "TAX020", "TaxAmount": 4.06, "LineAmount": 31.25, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "20045ee6-b0ca-4487-a27a-7485d532b784", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Bauer 3 Year Depot Warranty", "UnitAmount": 56.25, "TaxType": "TAX020", "TaxAmount": 7.31, "LineAmount": 56.25, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "5e7f3707-4aec-464b-8a69-540f94ded264", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 643.75, "TotalTax": 83.68, "Total": 727.43, "UpdatedDateUTC": "\/Date(1742475703273+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:01:43] Production.INFO: -- Create Invoice id --1698052b-72da-429c-ac92-5e8f58328726 [2025-03-20 09:01:43] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:01:43] Production.INFO: CheckInvoice xerov2: INV50017 [2025-03-20 09:01:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50017 [2025-03-20 09:01:46] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:01:46] Production.INFO: Invoice SubTotal 712.500000 [2025-03-20 09:01:46] Production.INFO: Invoice DetTotal 712.5 [2025-03-20 09:01:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Plus%20Travel%20Group" [2025-03-20 09:01:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:01:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:01:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:01:58] Production.INFO: =========Invoices String here======{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Lenovo ThinkPad/RYZEN 7/32/512/W10P",Quantity : 1,UnitAmount : 625.000000,LineAmount : 625.000000},{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": "Shipping",Quantity : 1,UnitAmount : 31.250000,LineAmount : 31.250000},{taxType:"TAX020",DiscountRate : 0.000000,"Description": "Bauer 3 Year Depot Warranty",Quantity : 1,UnitAmount : 56.250000,LineAmount : 56.250000} [2025-03-20 09:02:01] Production.INFO: ==== result ===== [2025-03-20 09:02:01] Production.INFO: { "Id": "f3dabb72-717e-4ec4-9ded-1ba293f27acc", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475721710)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "58d58074-364a-403c-a0b6-9d90cfa33f15", "InvoiceNumber": "INV50017", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 805.12, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5f6b39a6-c5bb-485f-9fdd-a6c7a1eccc47", "ContactNumber": "Plus Travel Group", "ContactStatus": "ACTIVE", "Name": "Plus Travel Group", "FirstName": "", "LastName": "", "EmailAddress": "luiza.rocha-baker@donaldsontravel.com", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "73 Water Street North", "AddressLine2": "Unit 300", "AddressLine3": "", "AddressLine4": "", "City": "Cambridge", "Region": "ON", "PostalCode": "N1R 7L6", "Country": "CANADA", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "", "Region": "", "PostalCode": "", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "9056290329", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "9056290329", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936260903+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-04T00:00:00", "Date": "\/Date(1738627200000+0000)\/", "DueDateString": "2025-03-06T00:00:00", "DueDate": "\/Date(1741219200000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Lenovo ThinkPad/RYZEN 7/32/512/W10P", "UnitAmount": 625.00, "TaxType": "TAX020", "TaxAmount": 81.25, "LineAmount": 625.00, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7168b755-74be-447c-be91-60b316778a51", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Shipping", "UnitAmount": 31.25, "TaxType": "TAX020", "TaxAmount": 4.06, "LineAmount": 31.25, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a01dda11-7db2-489c-a4e9-cbfea3b4ca40", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Bauer 3 Year Depot Warranty", "UnitAmount": 56.25, "TaxType": "TAX020", "TaxAmount": 7.31, "LineAmount": 56.25, "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "cb842d41-a481-4aca-bf08-36a2feeadfe8", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 712.50, "TotalTax": 92.62, "Total": 805.12, "UpdatedDateUTC": "\/Date(1742475721663+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:02:01] Production.INFO: -- Create Invoice id --58d58074-364a-403c-a0b6-9d90cfa33f15 [2025-03-20 09:02:01] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:02:02] Production.INFO: CheckInvoice xerov2: INV11458 [2025-03-20 09:02:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11458 [2025-03-20 13:02:02] Production.INFO: ==3553== Lock acquired, processing the job... [2025-03-20 13:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:02:02] Production.INFO: neon service started [2025-03-20 13:02:02] Production.INFO: neon service started [2025-03-20 13:02:02] Production.INFO: ==3553== Releasing lock... [2025-03-20 13:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:02:02] Production.INFO: ==3555== Lock acquired, processing the job... [2025-03-20 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:02:03] Production.INFO: ==3557== Lock acquired, processing the job... [2025-03-20 13:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:02:03] Production.INFO: ==3557== Releasing lock... [2025-03-20 13:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:02:03] Production.INFO: ==3555== Releasing lock... [2025-03-20 09:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:02:03] Production.INFO: ==3562== Lock acquired, processing the job... [2025-03-20 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:02:03] Production.INFO: ==3560== Lock acquired, processing the job... [2025-03-20 09:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:02:04] Production.INFO: ==3564== Lock acquired, processing the job... [2025-03-20 09:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:02:04] Production.INFO: ==3566== Lock acquired, processing the job... [2025-03-20 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:02:04] Production.INFO: Account Balance Start. [2025-03-20 09:02:04] Production.INFO: CreateAllLog Start [2025-03-20 09:02:04] Production.INFO: 117 [2025-03-20 09:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:02:04] Production.INFO: ==3568== Lock acquired, processing the job... [2025-03-20 09:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:04] Production.INFO: ==3570== Lock acquired, processing the job... [2025-03-20 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:04] Production.INFO: ==3562== Releasing lock... [2025-03-20 09:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:04] Production.INFO: count ==12 [2025-03-20 09:02:04] Production.ERROR: done [2025-03-20 09:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:02:04] Production.INFO: count ==23 [2025-03-20 09:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721789') start [2025-03-20 09:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:04] Production.ERROR: done [2025-03-20 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721789') end [2025-03-20 09:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:02:04] Production.INFO: 1 [2025-03-20 09:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:02:05] Production.INFO: ==3570== Releasing lock... [2025-03-20 09:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:02:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:02:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:02:05] Production.INFO: Total Charge 0 [2025-03-20 09:02:05] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:02:05] Production.INFO: CreateAllLog End [2025-03-20 09:02:05] Production.INFO: Invoice SubTotal 35.300000 [2025-03-20 09:02:05] Production.INFO: Invoice DetTotal 35.3 [2025-03-20 09:02:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Metro%20Toronto%20Collision%20Centre" [2025-03-20 09:02:05] Production.INFO: Account Balance End. [2025-03-20 09:02:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:02:05] Production.INFO: ==3566== Releasing lock... [2025-03-20 09:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:02:05 [end_date_ymd] => 2025-03-20 09:02:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:02:05' and `end` < '2025-03-20 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-03-20 09:02:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:02:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:02:12] Production.ERROR: CronJobId end10 [2025-03-20 09:02:12] Production.INFO: ==3564== Releasing lock... [2025-03-20 09:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:02:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:02:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:02:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:02:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:02:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:02:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:02:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:02:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:02:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:02:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:02:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:02:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:02:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:02:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:02:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:02:16] Production.INFO: call_cost start [2025-03-20 09:02:16] Production.INFO: call_cost end [2025-03-20 09:02:16] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-03-2025 To 02-02-2025",Quantity : 1,UnitAmount : 4.800000,LineAmount : 4.800000},{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-03-20 09:02:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:02:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:02:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:02:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:02:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:02:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:02:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:02:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:02:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:02:17] Production.INFO: ==3560== Releasing lock... [2025-03-20 09:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:02:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:02:18] Production.INFO: count ==629 [2025-03-20 09:02:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:02:05 - End Time 2025-03-20 09:02:05 [2025-03-20 09:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721790', 'tblTempUsageDetail_20' ) start [2025-03-20 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721790', 'tblTempUsageDetail_20' ) end [2025-03-20 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721790', 'tblTempVendorCDR_20' ) start [2025-03-20 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721790', 'tblTempVendorCDR_20' ) end [2025-03-20 09:02:18] Production.INFO: ProcessCDR(1,14721790,1,1,2) [2025-03-20 09:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:02:20] Production.INFO: ==== result ===== [2025-03-20 09:02:20] Production.INFO: { "Id": "0aa3afe7-bf6d-466b-8214-9341a3ed15eb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475739990)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "4ef459dc-0070-4df2-ac71-dc9bc445d9c8", "InvoiceNumber": "INV11458", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 39.89, "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-02-03T00:00:00", "Date": "\/Date(1738540800000+0000)\/", "DueDateString": "2025-03-05T00:00:00", "DueDate": "\/Date(1741132800000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-03-2025 To 02-02-2025", "UnitAmount": 4.80, "TaxType": "TAX020", "TaxAmount": 0.62, "LineAmount": 4.80, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "c62705f8-c4f9-4241-8b84-15b7220739ec", "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": "71d83635-c19e-4993-8a36-cd4e5aa727de", "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": "ca056870-f378-4417-832a-e046e34316f0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 35.30, "TotalTax": 4.59, "Total": 39.89, "UpdatedDateUTC": "\/Date(1742475739943+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:02:20] Production.INFO: -- Create Invoice id --4ef459dc-0070-4df2-ac71-dc9bc445d9c8 [2025-03-20 09:02:20] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:02:20] Production.INFO: CheckInvoice xerov2: INV11455 [2025-03-20 09:02:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11455 [2025-03-20 09:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721790,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:02:22] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:02:22] Production.INFO: Invoice SubTotal 26.500000 [2025-03-20 09:02:22] Production.INFO: Invoice DetTotal 26.5 [2025-03-20 09:02:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Millbrook" [2025-03-20 09:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721790,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721790', 'tblTempUsageDetail_20' ) start [2025-03-20 09:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721790', 'tblTempUsageDetail_20' ) end [2025-03-20 09:02:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:02:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:02:23] Production.INFO: ==3568== Releasing lock... [2025-03-20 09:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:02:23] Production.INFO: 33 MB #Memory Used# [2025-03-20 09:02:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:02:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:02:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:02:34] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (17052432093 - 47 Tupper Street Millbrook, ON L0A 1G0)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Capacity Based Billing - 2 Channels, Burstable to 3",Quantity : 2,UnitAmount : 12.000000,LineAmount : 24.000000} [2025-03-20 09:02:37] Production.INFO: ==== result ===== [2025-03-20 09:02:37] Production.INFO: { "Id": "9dfbcd37-2ba5-466b-8ed1-3c8fe6efb728", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475757793)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9dd093d6-e9cd-491d-b82d-9db4d821342d", "InvoiceNumber": "INV11455", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 29.95, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "5827757d-9498-4c55-97f7-43de2cbda025", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Millbrook", "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(1533070460547+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-02T00:00:00", "Date": "\/Date(1738454400000+0000)\/", "DueDateString": "2025-03-04T00:00:00", "DueDate": "\/Date(1741046400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "e911 address registration (17052432093 - 47 Tupper Street Millbrook, ON L0A 1G0)", "UnitAmount": 2.50, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a5737c62-433b-4702-b7c1-a2778478d0f1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Capacity Based Billing - 2 Channels, Burstable to 3", "UnitAmount": 12.00, "TaxType": "TAX020", "TaxAmount": 3.12, "LineAmount": 24.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "30b8979a-c562-444a-92d8-ae98f748c4fe", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 26.50, "TotalTax": 3.45, "Total": 29.95, "UpdatedDateUTC": "\/Date(1742475757717+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:02:37] Production.INFO: -- Create Invoice id --9dd093d6-e9cd-491d-b82d-9db4d821342d [2025-03-20 09:02:37] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:02:37] Production.INFO: CheckInvoice xerov2: INV11456 [2025-03-20 09:02:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11456 [2025-03-20 09:02:40] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:02:40] Production.INFO: Invoice SubTotal 77.500000 [2025-03-20 09:02:40] Production.INFO: Invoice DetTotal 77.5 [2025-03-20 09:02:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="LevLending" [2025-03-20 09:02:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:02:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:02:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:02:52] 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-03-20 09:02:56] Production.INFO: ==== result ===== [2025-03-20 09:02:56] Production.INFO: { "Id": "1f864471-c61f-4605-ab5b-62ed888d0954", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475775837)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "ef07d31f-2f0b-4321-b075-08de12dcf894", "InvoiceNumber": "INV11456", "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-02-02T00:00:00", "Date": "\/Date(1738454400000+0000)\/", "DueDateString": "2025-03-04T00:00:00", "DueDate": "\/Date(1741046400000+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": "bebfa4a3-68c8-4524-8219-9cb8a7ff7c45", "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": "83bdd86c-227e-423d-bf41-7a56592e2ccc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 77.50, "TotalTax": 10.08, "Total": 87.58, "UpdatedDateUTC": "\/Date(1742475775790+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:02:56] Production.INFO: -- Create Invoice id --ef07d31f-2f0b-4321-b075-08de12dcf894 [2025-03-20 09:02:56] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:02:56] Production.INFO: CheckInvoice xerov2: INV11436 [2025-03-20 09:02:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11436 [2025-03-20 09:02:59] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:02:59] Production.INFO: Invoice SubTotal 258.460000 [2025-03-20 09:02:59] Production.INFO: Invoice DetTotal 258.46 [2025-03-20 09:02:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Tundra" [2025-03-20 13:03:01] Production.INFO: ==3678== Lock acquired, processing the job... [2025-03-20 13:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:03:01] Production.INFO: neon service started [2025-03-20 13:03:01] Production.INFO: neon service started [2025-03-20 13:03:01] Production.INFO: ==3678== Releasing lock... [2025-03-20 13:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:03:02] Production.INFO: ==3683== Lock acquired, processing the job... [2025-03-20 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:03:02] Production.INFO: ==3683== Releasing lock... [2025-03-20 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:03:02] Production.INFO: ==3681== Lock acquired, processing the job... [2025-03-20 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:03:02] Production.INFO: ==3681== Releasing lock... [2025-03-20 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:03:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:03:03] Production.INFO: ==3692== Lock acquired, processing the job... [2025-03-20 09:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:03:03] Production.INFO: ==3696== Lock acquired, processing the job... [2025-03-20 09:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:03:03] Production.INFO: ==3686== Lock acquired, processing the job... [2025-03-20 09:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:03:03] Production.INFO: Account Balance Start. [2025-03-20 09:03:03] Production.INFO: CreateAllLog Start [2025-03-20 09:03:03] Production.INFO: 117 [2025-03-20 09:03:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 09:03:03] Production.INFO: ==3688== Lock acquired, processing the job... [2025-03-20 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:03:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.INFO: ==3690== Lock acquired, processing the job... [2025-03-20 09:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:03:04] Production.INFO: count ==12 [2025-03-20 09:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:03:04] Production.INFO: count ==23 [2025-03-20 09:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.INFO: ==3694== Lock acquired, processing the job... [2025-03-20 09:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721792') start [2025-03-20 09:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721792') end [2025-03-20 09:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:03:04] Production.INFO: 1 [2025-03-20 09:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.INFO: ==3696== Releasing lock... [2025-03-20 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.INFO: ==3688== Releasing lock... [2025-03-20 09:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.ERROR: done [2025-03-20 09:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:03:04] Production.INFO: Total Charge 0 [2025-03-20 09:03:04] Production.INFO: CreateAllLog End [2025-03-20 09:03:04] Production.ERROR: done [2025-03-20 09:03:04] Production.INFO: Account Balance End. [2025-03-20 09:03:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:03:05] Production.INFO: ==3692== Releasing lock... [2025-03-20 09:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:03:05 [end_date_ymd] => 2025-03-20 09:03:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:03:05' and `end` < '2025-03-20 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-03-20 09:03:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:03:09] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:03:12] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-01-2025 To 01-31-2025",Quantity : 1,UnitAmount : 8.020000,LineAmount : 8.020000},{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-03-20 09:03:12] Production.ERROR: CronJobId end10 [2025-03-20 09:03:12] Production.INFO: ==3690== Releasing lock... [2025-03-20 09:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:03:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:03:14] Production.INFO: call_cost start [2025-03-20 09:03:14] Production.INFO: call_cost end [2025-03-20 09:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:03:15] Production.INFO: ==3686== Releasing lock... [2025-03-20 09:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:03:15] Production.INFO: ==== result ===== [2025-03-20 09:03:15] Production.INFO: { "Id": "09073d12-519e-48a9-bbff-c51618851342", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475795663)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1bbb6fe8-42a0-4acb-ad78-2e260b7d855b", "InvoiceNumber": "INV11436", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 292.06, "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": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-01-2025 To 01-31-2025", "UnitAmount": 8.02, "TaxType": "TAX020", "TaxAmount": 1.04, "LineAmount": 8.02, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "76b1531b-f049-4ea1-81e3-7a189cf57615", "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": "50a59d0e-a8af-42d0-8d99-552112f4af6d", "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": "922c58c7-1af8-480a-b24f-b41483c26b77", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 258.46, "TotalTax": 33.60, "Total": 292.06, "UpdatedDateUTC": "\/Date(1742475795633+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:03:15] Production.INFO: -- Create Invoice id --1bbb6fe8-42a0-4acb-ad78-2e260b7d855b [2025-03-20 09:03:15] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:03:15] Production.INFO: CheckInvoice xerov2: INV11437 [2025-03-20 09:03:15] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11437 [2025-03-20 09:03:18] Production.INFO: count ==643 [2025-03-20 09:03:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:03:05 - End Time 2025-03-20 09:03:05 [2025-03-20 09:03:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721795', 'tblTempUsageDetail_20' ) start [2025-03-20 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721795', 'tblTempUsageDetail_20' ) end [2025-03-20 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721795', 'tblTempVendorCDR_20' ) start [2025-03-20 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721795', 'tblTempVendorCDR_20' ) end [2025-03-20 09:03:18] Production.INFO: ProcessCDR(1,14721795,1,1,2) [2025-03-20 09:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:03:18] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:03:18] Production.INFO: Invoice SubTotal 348.090000 [2025-03-20 09:03:18] Production.INFO: Invoice DetTotal 348.09 [2025-03-20 09:03:18] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Quality%20Car%20Rentals%20%28AutoQuest%29" [2025-03-20 09:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721795,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:03:21] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721795,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721795', 'tblTempUsageDetail_20' ) start [2025-03-20 09:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721795', 'tblTempUsageDetail_20' ) end [2025-03-20 09:03:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:03:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:03:23] Production.INFO: ==3694== Releasing lock... [2025-03-20 09:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:03:23] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 09:03:24] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:03:27] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:03:31] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-01-2025 To 01-31-2025",Quantity : 1,UnitAmount : 13.830000,LineAmount : 13.830000},{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-03-20 09:03:34] Production.INFO: ==== result ===== [2025-03-20 09:03:34] Production.INFO: { "Id": "643f1d5a-99bd-43bc-ba08-a757568442a3", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475814533)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6ee9c136-a7cb-4fca-938a-6af31b41c816", "InvoiceNumber": "INV11437", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 393.41, "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-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-01-2025 To 01-31-2025", "UnitAmount": 13.83, "TaxType": "TAX020", "TaxAmount": 1.80, "LineAmount": 13.83, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "e7774a76-dd26-436c-a31c-74b91d6b61b9", "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": "9ff3a932-de8c-4de9-bf3f-74e11af49f1f", "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": "b4f14205-d8eb-4dc7-942e-7e07c43d625b", "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": "341c0b9b-4c51-4906-a324-ef0ac3827266", "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": "fc6d7ae7-2116-43b4-9391-8811d2f10dc1", "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": "59d51a12-79aa-480d-b380-7f4ef593d4c1", "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": "b41b36e8-6fe4-4648-8262-99a82db1d3cb", "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": "0560c677-ecfb-476e-99ae-bcf4ec3ca48d", "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": "30948376-0de0-4a69-b6ab-1644a6c38d43", "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": "3de8f939-f709-4702-9bb2-fab56f990eff", "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": "45fc2b11-141a-47ea-82ae-2f6e42cff147", "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": "7fe4869a-bac2-4705-b7c4-22994b9acfd8", "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": "1b90df40-d911-4d94-9417-995148fdb6ae", "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": "4cf6981b-fdb0-4bd4-981d-f9116fc07621", "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": "ce8933cb-e2bf-4940-957d-5d1e16893b46", "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": "dee5f41b-f53a-483c-bd3e-f3f9c94b5a23", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 348.09, "TotalTax": 45.32, "Total": 393.41, "UpdatedDateUTC": "\/Date(1742475814253+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:03:34] Production.INFO: -- Create Invoice id --6ee9c136-a7cb-4fca-938a-6af31b41c816 [2025-03-20 09:03:34] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:03:34] Production.INFO: CheckInvoice xerov2: INV11438 [2025-03-20 09:03:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11438 [2025-03-20 09:03:37] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:03:37] Production.INFO: Invoice SubTotal 7.000000 [2025-03-20 09:03:37] Production.INFO: Invoice DetTotal 7 [2025-03-20 09:03:37] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Law%20Offices%20of%20Diane%20Staples" [2025-03-20 09:03:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:03:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:03:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:03:49] 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-03-20 09:03:52] Production.INFO: ==== result ===== [2025-03-20 09:03:52] Production.INFO: { "Id": "9f00190e-a7fd-44b7-adf7-4b14cf5b88a0", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475832596)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "1b1e4204-e1c7-4ef8-87bd-d1ec7fd551a1", "InvoiceNumber": "INV11438", "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-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+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": "ab1d9e07-1302-4cc4-8032-f87dc8b05752", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 7.00, "TotalTax": 0.91, "Total": 7.91, "UpdatedDateUTC": "\/Date(1742475832550+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:03:52] Production.INFO: -- Create Invoice id --1b1e4204-e1c7-4ef8-87bd-d1ec7fd551a1 [2025-03-20 09:03:52] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:03:52] Production.INFO: CheckInvoice xerov2: INV11440 [2025-03-20 09:03:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11440 [2025-03-20 09:03:55] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:03:55] Production.INFO: Invoice SubTotal 83.240000 [2025-03-20 09:03:55] Production.INFO: Invoice DetTotal 83.24 [2025-03-20 09:03:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="CanTrust%20Insurance%20Services" [2025-03-20 09:03:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:04:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 13:04:02] Production.INFO: ==3806== Lock acquired, processing the job... [2025-03-20 13:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:04:02] Production.INFO: neon service started [2025-03-20 13:04:02] Production.INFO: neon service started [2025-03-20 13:04:02] Production.INFO: ==3806== Releasing lock... [2025-03-20 13:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:04:03] Production.INFO: ==3808== Lock acquired, processing the job... [2025-03-20 09:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:04:03] Production.INFO: ==3810== Lock acquired, processing the job... [2025-03-20 13:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:04:03] Production.INFO: ==3810== Releasing lock... [2025-03-20 13:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:04:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:04:03] Production.INFO: ==3808== Releasing lock... [2025-03-20 09:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:04:04] Production.INFO: ==3816== Lock acquired, processing the job... [2025-03-20 09:04:04] Production.INFO: ==3814== Lock acquired, processing the job... [2025-03-20 09:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:04:04] Production.INFO: ==3822== Lock acquired, processing the job... [2025-03-20 09:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:04:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:04:04] Production.INFO: ==3818== Lock acquired, processing the job... [2025-03-20 09:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:04:04] Production.INFO: ==3820== Lock acquired, processing the job... [2025-03-20 09:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:04:04] Production.INFO: ==3824== Lock acquired, processing the job... [2025-03-20 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:04:04] Production.INFO: ==3816== Releasing lock... [2025-03-20 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:04:04] Production.ERROR: done [2025-03-20 09:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:04:04] Production.INFO: Account Balance Start. [2025-03-20 09:04:04] Production.INFO: CreateAllLog Start [2025-03-20 09:04:04] Production.INFO: 117 [2025-03-20 09:04:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:04:04] Production.INFO: count ==12 [2025-03-20 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-03-20 09:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:04] Production.INFO: count ==23 [2025-03-20 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721799') start [2025-03-20 09:04:05] Production.INFO: Date 2025-03-10 [2025-03-20 09:04:05] Production.ERROR: done [2025-03-20 09:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:05] Production.INFO: Date 2025-03-11 [2025-03-20 09:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721799') end [2025-03-20 09:04:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:04:05] Production.INFO: 1 [2025-03-20 09:04:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:04:05] Production.INFO: Date 2025-03-12 [2025-03-20 09:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:05] Production.INFO: ==3824== Releasing lock... [2025-03-20 09:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:04:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:04:05] Production.INFO: Date 2025-03-13 [2025-03-20 09:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:05] Production.INFO: Date 2025-03-14 [2025-03-20 09:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:05] Production.INFO: Date 2025-03-15 [2025-03-20 09:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:05] Production.INFO: Date 2025-03-16 [2025-03-20 09:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:04:05] Production.INFO: Total Charge 0 [2025-03-20 09:04:05] Production.INFO: CreateAllLog End [2025-03-20 09:04:05] Production.INFO: Account Balance End. [2025-03-20 09:04:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:04:05] Production.INFO: ==3820== Releasing lock... [2025-03-20 09:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:04:06 [end_date_ymd] => 2025-03-20 09:04:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:04:06' and `end` < '2025-03-20 09:04:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:04:07] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 01-01-2025 To 01-31-2025",Quantity : 1,UnitAmount : 32.740000,LineAmount : 32.740000},{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-03-20 09:04:11] Production.INFO: ==== result ===== [2025-03-20 09:04:11] Production.INFO: { "Id": "0b0416d1-bb50-4209-baa6-1d9ba0713353", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475850865)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "5c73b7d4-a9b7-4cf6-9f34-66bd148c72fa", "InvoiceNumber": "INV11440", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 94.07, "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-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 01-01-2025 To 01-31-2025", "UnitAmount": 32.74, "TaxType": "TAX020", "TaxAmount": 4.26, "LineAmount": 32.74, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "7021b61d-5881-406b-9622-7774a67485df", "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": "7c7f15cd-2c87-481c-a872-bd879dc93566", "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": "2d851db7-9a46-4b95-9e84-cb7463ba629a", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 83.24, "TotalTax": 10.83, "Total": 94.07, "UpdatedDateUTC": "\/Date(1742475850817+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:04:11] Production.INFO: -- Create Invoice id --5c73b7d4-a9b7-4cf6-9f34-66bd148c72fa [2025-03-20 09:04:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:04:11] Production.INFO: CheckInvoice xerov2: INV11442 [2025-03-20 09:04:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11442 [2025-03-20 09:04:14] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #11 [internal function]: App\Console\Commands\NeonAlerts->fire() #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,11))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #9 [internal function]: App\Console\Commands\NeonAlerts->fire() #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 {main} [2025-03-20 09:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:04:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:04:14] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 09:04:14] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 09:04:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039016%20%28Chandresh%20Patel%29" [2025-03-20 09:04:14] Production.INFO: call_cost start [2025-03-20 09:04:14] Production.INFO: call_cost end [2025-03-20 09:04:14] Production.ERROR: CronJobId end10 [2025-03-20 09:04:14] Production.INFO: ==3818== Releasing lock... [2025-03-20 09:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:04:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:04:15] Production.INFO: ==3814== Releasing lock... [2025-03-20 09:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:04:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:04:18] Production.INFO: count ==647 [2025-03-20 09:04:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:04:06 - End Time 2025-03-20 09:04:06 [2025-03-20 09:04:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721800', 'tblTempUsageDetail_20' ) start [2025-03-20 09:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721800', 'tblTempUsageDetail_20' ) end [2025-03-20 09:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721800', 'tblTempVendorCDR_20' ) start [2025-03-20 09:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721800', 'tblTempVendorCDR_20' ) end [2025-03-20 09:04:19] Production.INFO: ProcessCDR(1,14721800,1,1,2) [2025-03-20 09:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:04:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721800', 'tblTempUsageDetail_20' ) start [2025-03-20 09:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721800', 'tblTempUsageDetail_20' ) end [2025-03-20 09:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:04:22] Production.INFO: ==3822== Releasing lock... [2025-03-20 09:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:04:22] Production.INFO: 33.25 MB #Memory Used# [2025-03-20 09:04:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:04:27] 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-03-20 09:04:31] Production.INFO: ==== result ===== [2025-03-20 09:04:31] Production.INFO: { "Id": "f2226a43-c2de-4fc8-8fc7-1195fbac793a", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475871081)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6f746306-f1a3-4764-a185-7f86dcddbcf4", "InvoiceNumber": "INV11442", "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-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+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": "47971511-80be-4edb-9709-b62378060388", "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": "33fedf01-c968-4d00-aae6-2f095e75ce00", "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": "e91e8258-4846-4515-b943-46c4ca75506e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 2.63, "Total": 55.13, "UpdatedDateUTC": "\/Date(1742475871033+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:04:31] Production.INFO: -- Create Invoice id --6f746306-f1a3-4764-a185-7f86dcddbcf4 [2025-03-20 09:04:31] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:04:31] Production.INFO: CheckInvoice xerov2: INV11443 [2025-03-20 09:04:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11443 [2025-03-20 09:04:35] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:04:35] Production.INFO: Invoice SubTotal 96.510000 [2025-03-20 09:04:35] Production.INFO: Invoice DetTotal 96.51 [2025-03-20 09:04:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010552%20%28Werner%20Lomker%29" [2025-03-20 09:04:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:04:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:04:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:04:49] 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-03-20 09:04:52] Production.INFO: ==== result ===== [2025-03-20 09:04:52] Production.INFO: { "Id": "d9eda128-af80-427f-95a7-f6d78b7a3bfb", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475892097)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8ee48cca-25ec-443e-bce0-15e4511a1b9e", "InvoiceNumber": "INV11443", "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-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+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": "9d92cb82-1ebd-4dea-bd9b-c1696beac479", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 96.51, "TotalTax": 12.55, "Total": 109.06, "UpdatedDateUTC": "\/Date(1742475892050+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:04:52] Production.INFO: -- Create Invoice id --8ee48cca-25ec-443e-bce0-15e4511a1b9e [2025-03-20 09:04:52] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:04:52] Production.INFO: CheckInvoice xerov2: INV11444 [2025-03-20 09:04:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11444 [2025-03-20 09:04:54] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:04:54] Production.INFO: Invoice SubTotal 292.590000 [2025-03-20 09:04:54] Production.INFO: Invoice DetTotal 292.59 [2025-03-20 09:04:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010297%20%28Shane%20Linthorne%29" [2025-03-20 09:04:57] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:05:01] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 13:05:02] Production.INFO: ==3927== Lock acquired, processing the job... [2025-03-20 13:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:05:02] Production.INFO: neon service started [2025-03-20 13:05:02] Production.INFO: neon service started [2025-03-20 13:05:02] Production.INFO: ==3927== Releasing lock... [2025-03-20 13:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:05:02] Production.INFO: ==3929== Lock acquired, processing the job... [2025-03-20 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:05:02] Production.INFO: ==3932== Lock acquired, processing the job... [2025-03-20 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:05:02] Production.INFO: ==3932== Releasing lock... [2025-03-20 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:05:03] Production.INFO: ==3929== Releasing lock... [2025-03-20 09:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:05:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:05:04] Production.INFO: ==3942== Lock acquired, processing the job... [2025-03-20 09:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:05:04] Production.INFO: ==3944== Lock acquired, processing the job... [2025-03-20 09:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:05:04] Production.INFO: ==3934== Lock acquired, processing the job... [2025-03-20 09:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:05:04] Production.INFO: ==3936== Lock acquired, processing the job... [2025-03-20 09:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:05:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 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-03-20 09:05:04] Production.INFO: ==3940== Lock acquired, processing the job... [2025-03-20 09:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:05:04] Production.INFO: ==3938== Lock acquired, processing the job... [2025-03-20 09:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:05:04] Production.INFO: count ==12 [2025-03-20 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-03-20 09:05:04] Production.INFO: count ==23 [2025-03-20 09:05:04] Production.ERROR: done [2025-03-20 09:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721801') start [2025-03-20 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721801') end [2025-03-20 09:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:05:04] Production.INFO: 1 [2025-03-20 09:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:05:04] Production.INFO: Account Balance Start. [2025-03-20 09:05:04] Production.INFO: CreateAllLog Start [2025-03-20 09:05:04] Production.INFO: 117 [2025-03-20 09:05:04] Production.INFO: ==3944== Releasing lock... [2025-03-20 09:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:05:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:05:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:04] Production.ERROR: done [2025-03-20 09:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:05:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:04] Production.INFO: ==3936== Releasing lock... [2025-03-20 09:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:05:05] Production.INFO: Total Charge 0 [2025-03-20 09:05:05] Production.INFO: CreateAllLog End [2025-03-20 09:05:05] Production.INFO: Account Balance End. [2025-03-20 09:05:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:05:05] Production.INFO: ==3940== Releasing lock... [2025-03-20 09:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:05:05 [end_date_ymd] => 2025-03-20 09:05:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:05:05' and `end` < '2025-03-20 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-03-20 09:05:07] 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-03-20 09:05:11] Production.INFO: ==== result ===== [2025-03-20 09:05:11] Production.INFO: { "Id": "c77a03f1-a43a-4d91-9d20-e56d9c368869", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475910925)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "87202397-0fc4-47df-b45a-b505852933c4", "InvoiceNumber": "INV11444", "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-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+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": "e39a073c-7f25-474d-ba6c-e2dabacbf4ce", "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": "bfa59333-c482-4b72-880e-ac4e2d04860c", "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": "3dd7bbe6-1517-4271-bf4a-177222044d28", "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": "1a1785e1-1bc0-4c62-b211-adc09bbdfca6", "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": "b6975de9-45a2-448a-a3ab-cb713e1b1268", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 292.59, "TotalTax": 38.04, "Total": 330.63, "UpdatedDateUTC": "\/Date(1742475910853+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:05:11] Production.INFO: -- Create Invoice id --87202397-0fc4-47df-b45a-b505852933c4 [2025-03-20 09:05:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:05:11] Production.INFO: CheckInvoice xerov2: INV11447 [2025-03-20 09:05:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11447 [2025-03-20 09:05:13] Production.ERROR: CronJobId end10 [2025-03-20 09:05:13] Production.INFO: ==3938== Releasing lock... [2025-03-20 09:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:05:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:05:14] Production.INFO: Invoice SubTotal 32.500000 [2025-03-20 09:05:14] Production.INFO: Invoice DetTotal 32.5 [2025-03-20 09:05:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Pharmacy%20Associates%20of%20Port%20Perry" [2025-03-20 09:05:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:05:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:05:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:05:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:05:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:05:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:05:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:05:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:05:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:05:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:05:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:05:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:05:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:05:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:05:16] Production.INFO: call_cost start [2025-03-20 09:05:16] Production.INFO: call_cost end [2025-03-20 09:05:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:05:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:05:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:05:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:05:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:05:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:05:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:05:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:05:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:05:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:05:17] Production.INFO: ==3934== Releasing lock... [2025-03-20 09:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:05:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:05:18] Production.INFO: count ==659 [2025-03-20 09:05:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:05:05 - End Time 2025-03-20 09:05:05 [2025-03-20 09:05:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721805', 'tblTempUsageDetail_20' ) start [2025-03-20 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721805', 'tblTempUsageDetail_20' ) end [2025-03-20 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721805', 'tblTempVendorCDR_20' ) start [2025-03-20 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721805', 'tblTempVendorCDR_20' ) end [2025-03-20 09:05:18] Production.INFO: ProcessCDR(1,14721805,1,1,2) [2025-03-20 09:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:05:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:05:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721805', 'tblTempUsageDetail_20' ) start [2025-03-20 09:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721805', 'tblTempUsageDetail_20' ) end [2025-03-20 09:05:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:05:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:05:23] Production.INFO: ==3942== Releasing lock... [2025-03-20 09:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:05:23] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 09:05:25] 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-03-20 09:05:28] Production.INFO: ==== result ===== [2025-03-20 09:05:28] Production.INFO: { "Id": "8927107a-3fb9-450f-a240-5a184029fb3f", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475928785)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e0e312ae-ebcc-449d-b2cb-42faaf3bd458", "InvoiceNumber": "INV11447", "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-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+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": "bc83147b-6d0b-4819-82a7-95eff2ebe0a9", "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": "d1163827-8685-4c8f-94e2-abed4de0d010", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 32.50, "TotalTax": 4.23, "Total": 36.73, "UpdatedDateUTC": "\/Date(1742475928737+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:05:28] Production.INFO: -- Create Invoice id --e0e312ae-ebcc-449d-b2cb-42faaf3bd458 [2025-03-20 09:05:28] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:05:28] Production.INFO: CheckInvoice xerov2: INV11449 [2025-03-20 09:05:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11449 [2025-03-20 09:05:31] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:05:31] Production.INFO: Invoice SubTotal 65.500000 [2025-03-20 09:05:31] Production.INFO: Invoice DetTotal 65.5 [2025-03-20 09:05:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="3G%20Print%20Group" [2025-03-20 09:05:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:05:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:05:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:05:43] 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-03-20 09:05:46] Production.INFO: ==== result ===== [2025-03-20 09:05:46] Production.INFO: { "Id": "6eec7f4d-60cd-4a5f-89e5-88fa06814715", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475946606)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "833bc8e4-c76b-425e-927d-a8971a94b8f3", "InvoiceNumber": "INV11449", "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-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+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": "690d5b6b-79ff-4917-af0e-a87403061617", "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": "f6f38aff-eae3-48e0-baa0-8136b965a65b", "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": "331ebf1b-fde8-42ac-a6c0-3718ed307784", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 65.50, "TotalTax": 8.52, "Total": 74.02, "UpdatedDateUTC": "\/Date(1742475946577+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:05:46] Production.INFO: -- Create Invoice id --833bc8e4-c76b-425e-927d-a8971a94b8f3 [2025-03-20 09:05:46] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:05:46] Production.INFO: CheckInvoice xerov2: INV11450 [2025-03-20 09:05:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11450 [2025-03-20 09:05:49] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:05:49] Production.INFO: Invoice SubTotal 40.000000 [2025-03-20 09:05:49] Production.INFO: Invoice DetTotal 40 [2025-03-20 09:05:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Avani%20Rolls%20%26%20Bowls" [2025-03-20 09:05:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:05:55] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:05:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 13:06:01] Production.INFO: ==4035== Lock acquired, processing the job... [2025-03-20 13:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:06:01] Production.INFO: neon service started [2025-03-20 13:06:01] Production.INFO: neon service started [2025-03-20 13:06:01] Production.INFO: ==4035== Releasing lock... [2025-03-20 13:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:06:01] 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-03-20 09:06:02] Production.INFO: ==4037== Lock acquired, processing the job... [2025-03-20 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:06:02] Production.INFO: ==4039== Lock acquired, processing the job... [2025-03-20 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:06:02] Production.INFO: ==4039== Releasing lock... [2025-03-20 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:06:02] Production.INFO: ==4037== Releasing lock... [2025-03-20 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:06:03] Production.INFO: ==4048== Lock acquired, processing the job... [2025-03-20 09:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:06:03] Production.INFO: ==4052== Lock acquired, processing the job... [2025-03-20 09:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:06:03] Production.INFO: Account Balance Start. [2025-03-20 09:06:03] Production.INFO: CreateAllLog Start [2025-03-20 09:06:03] Production.INFO: 117 [2025-03-20 09:06:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:03] Production.INFO: count ==12 [2025-03-20 09:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:06:03] Production.INFO: count ==23 [2025-03-20 09:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721807') start [2025-03-20 09:06:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:03] Production.INFO: ==4042== Lock acquired, processing the job... [2025-03-20 09:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:06:03] Production.INFO: ==4044== Lock acquired, processing the job... [2025-03-20 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:06:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:03] Production.INFO: ==4046== Lock acquired, processing the job... [2025-03-20 09:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:06:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:03] Production.INFO: Date 2025-03-13 [2025-03-20 09:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:03] Production.INFO: ==4050== Lock acquired, processing the job... [2025-03-20 09:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721807') end [2025-03-20 09:06:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:06:03] Production.INFO: 1 [2025-03-20 09:06:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:04] Production.INFO: ==4052== Releasing lock... [2025-03-20 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:04] Production.INFO: ==4044== Releasing lock... [2025-03-20 09:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:04] Production.ERROR: done [2025-03-20 09:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:06:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:06:04] Production.INFO: Total Charge 0 [2025-03-20 09:06:04] Production.INFO: CreateAllLog End [2025-03-20 09:06:04] Production.ERROR: done [2025-03-20 09:06:04] Production.INFO: Account Balance End. [2025-03-20 09:06:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:06:04] Production.INFO: ==4048== Releasing lock... [2025-03-20 09:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:06:05] Production.INFO: ==== result ===== [2025-03-20 09:06:05] Production.INFO: { "Id": "1da481f0-1033-4562-888c-02837f35ae5c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475965272)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "a3e21b4b-9715-498c-8c9a-99950294f812", "InvoiceNumber": "INV11450", "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-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+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": "e5a15205-54af-4177-b85f-eb1cb4e697b4", "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": "718a4246-4804-4988-bba1-481527228771", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 40.00, "TotalTax": 5.21, "Total": 45.21, "UpdatedDateUTC": "\/Date(1742475965227+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:06:05] Production.INFO: -- Create Invoice id --a3e21b4b-9715-498c-8c9a-99950294f812 [2025-03-20 09:06:05] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:06:05] Production.INFO: CheckInvoice xerov2: INV11452 [2025-03-20 09:06:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11452 [2025-03-20 09:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:06:05 [end_date_ymd] => 2025-03-20 09:06:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:06:05' and `end` < '2025-03-20 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-03-20 09:06:08] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:06:08] Production.INFO: Invoice SubTotal 62.000000 [2025-03-20 09:06:08] Production.INFO: Invoice DetTotal 62 [2025-03-20 09:06:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="All%20Seasons%20Learning%20Center" [2025-03-20 09:06:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:06:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:06:13] Production.ERROR: CronJobId end10 [2025-03-20 09:06:13] Production.INFO: ==4046== Releasing lock... [2025-03-20 09:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:06:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:06:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:06:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:06:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:06:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:06:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:06:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:06:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:06:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:06:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:06:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:06:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:06:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:06:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:06:16] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:06:17] Production.INFO: call_cost start [2025-03-20 09:06:17] Production.INFO: call_cost end [2025-03-20 09:06:18] Production.INFO: count ==660 [2025-03-20 09:06:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:06:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:06:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:06:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:06:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:06:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:06:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:06:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:06:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:06:18] Production.INFO: ==4042== Releasing lock... [2025-03-20 09:06:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:06:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:06:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:06:05 - End Time 2025-03-20 09:06:05 [2025-03-20 09:06:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721810', 'tblTempUsageDetail_20' ) start [2025-03-20 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721810', 'tblTempUsageDetail_20' ) end [2025-03-20 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721810', 'tblTempVendorCDR_20' ) start [2025-03-20 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721810', 'tblTempVendorCDR_20' ) end [2025-03-20 09:06:18] Production.INFO: ProcessCDR(1,14721810,1,1,2) [2025-03-20 09:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:06:20] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation",Quantity : 1,UnitAmount : 62.000000,LineAmount : 62.000000} [2025-03-20 09:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:06:22] Production.INFO: ==== result ===== [2025-03-20 09:06:22] Production.INFO: { "Id": "07943dd8-2975-4de0-8a60-dbd7be6e2740", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742475982341)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d500b184-783c-4cd4-a624-7bab2d4f0cf9", "InvoiceNumber": "INV11452", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 70.06, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "680201a7-650c-4c24-b7d7-b8171bdcd911", "ContactNumber": "All Seasons Learning Center", "ContactStatus": "ACTIVE", "Name": "All Seasons Learning Center", "FirstName": "", "LastName": "", "EmailAddress": "mrixon@cogeco.ca", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "217 Townsend Street", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Peterborough", "Region": "ON", "PostalCode": "K9J 2K4", "Country": "CANADA", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "217 Townsend Street", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Peterborough", "Region": "ON", "PostalCode": "K9J 2K4", "Country": "CANADA", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(705) 748-2262", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936269583+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Managed IT: Workstation", "UnitAmount": 62.00, "TaxType": "TAX020", "TaxAmount": 8.06, "LineAmount": 62.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "d38ea5b6-6bba-48cf-a08a-0877c65dace5", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 62.00, "TotalTax": 8.06, "Total": 70.06, "UpdatedDateUTC": "\/Date(1742475982280+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:06:22] Production.INFO: -- Create Invoice id --d500b184-783c-4cd4-a624-7bab2d4f0cf9 [2025-03-20 09:06:22] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:06:22] Production.INFO: CheckInvoice xerov2: INV11453 [2025-03-20 09:06:22] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11453 [2025-03-20 09:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721810', 'tblTempUsageDetail_20' ) start [2025-03-20 09:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721810', 'tblTempUsageDetail_20' ) end [2025-03-20 09:06:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:06:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:06:23] Production.INFO: ==4050== Releasing lock... [2025-03-20 09:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:06:23] Production.INFO: 33.5 MB #Memory Used# [2025-03-20 09:06:25] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:06:25] Production.INFO: Invoice SubTotal 202.800000 [2025-03-20 09:06:25] Production.INFO: Invoice DetTotal 202.8 [2025-03-20 09:06:25] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Keogh%20Construction" [2025-03-20 09:06:28] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:06:31] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:06:34] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:06:37] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation",Quantity : 2,UnitAmount : 52.000000,LineAmount : 104.000000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 8,UnitAmount : 8.100000,LineAmount : 64.800000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 2,UnitAmount : 17.000000,LineAmount : 34.000000} [2025-03-20 09:06:40] Production.INFO: ==== result ===== [2025-03-20 09:06:40] Production.INFO: { "Id": "111d82b8-b91d-47b9-a9d6-cd63bf6845fd", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476000799)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "e90e23e7-d82e-4d1a-9b9a-6bd9f40538a3", "InvoiceNumber": "INV11453", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 229.16, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "cad302ad-7c7e-456b-bcf1-bd7729cb22b7", "ContactNumber": "Keogh Construction", "ContactStatus": "ACTIVE", "Name": "Keogh Construction", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "P.O. Box 534", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Alliston", "Region": "ON", "PostalCode": "L9R 1V7", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "555-555-5555", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "(519) 942-4573", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936267550+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Managed IT: Workstation", "UnitAmount": 52.00, "TaxType": "TAX020", "TaxAmount": 13.52, "LineAmount": 104.00, "AccountCode": "203", "Tracking": [], "Quantity": 2.0000, "LineItemID": "145b6fbe-7fcd-4616-9c90-84ef74b10bb8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic collaboration and productivity suite", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 8.42, "LineAmount": 64.80, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "4c5b82db-7e37-4542-986f-db605fb85461", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard collaboration and productivity suite", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 4.42, "LineAmount": 34.00, "AccountCode": "250", "Tracking": [], "Quantity": 2.0000, "LineItemID": "81ccd05e-ca06-4061-9d29-2722362b2956", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] } ], "SubTotal": 202.80, "TotalTax": 26.36, "Total": 229.16, "UpdatedDateUTC": "\/Date(1742476000753+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:06:40] Production.INFO: -- Create Invoice id --e90e23e7-d82e-4d1a-9b9a-6bd9f40538a3 [2025-03-20 09:06:40] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:06:40] Production.INFO: CheckInvoice xerov2: INV11454 [2025-03-20 09:06:40] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11454 [2025-03-20 09:06:43] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:06:43] Production.INFO: Invoice SubTotal 900.970000 [2025-03-20 09:06:43] Production.INFO: Invoice DetTotal 900.97 [2025-03-20 09:06:43] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Natural%20Insect%20Control" [2025-03-20 09:06:46] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:06:49] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:06:52] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:06:55] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,"Description": "Managed Hosting: Wordpress (Deluxe) with Website Maintenance Package",Quantity : 1,UnitAmount : 69.770000,LineAmount : 69.770000},{taxType:"TAX020",AccountCode : 212,"Description": "IT: Managed Antivirus subscription (yearly pricing, billed monthly)",Quantity : 8,UnitAmount : 4.000000,LineAmount : 32.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Server (On-premises)",Quantity : 1,UnitAmount : 120.000000,LineAmount : 120.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation (Full Time)",Quantity : 4,UnitAmount : 72.000000,LineAmount : 288.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed IT: Workstation (Part Time)",Quantity : 4,UnitAmount : 36.000000,LineAmount : 144.000000},{taxType:"TAX020",AccountCode : 250,"Description": "IT: Microsoft Office 365 - Business Basic subscription",Quantity : 12,UnitAmount : 8.100000,LineAmount : 97.200000},{taxType:"TAX020",AccountCode : 250,"Description": "IT: Microsoft Office 365 - Business Premium subscription",Quantity : 8,UnitAmount : 17.000000,LineAmount : 136.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Ironscales Basic Email Phishing Protection",Quantity : 4,UnitAmount : 3.500000,LineAmount : 14.000000} [2025-03-20 09:06:59] Production.INFO: ==== result ===== [2025-03-20 09:06:59] Production.INFO: { "Id": "1828fbd3-259a-470f-860c-5380625be524", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476019101)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "62ca352c-d190-4060-b242-a81fd72ad100", "InvoiceNumber": "INV11454", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 1018.10, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "IsDiscounted": false, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "fcade0cf-7b43-4bfe-86cf-b6c9e33f1686", "ContactNumber": "Natural Insect Control", "ContactStatus": "ACTIVE", "Name": "Natural Insect Control", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "3737 Netherby Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Stevensville", "Region": "ON", "PostalCode": "L0S 1S0", "Country": "", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "3737 Netherby Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Stevensville", "Region": "ON", "PostalCode": "L0S 1S0", "Country": "", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "(905) 3822904", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "(905) 3822904", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "9053243923", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936265023+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-02-01T00:00:00", "Date": "\/Date(1738368000000+0000)\/", "DueDateString": "2025-03-03T00:00:00", "DueDate": "\/Date(1740960000000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "Managed Hosting: Wordpress (Deluxe) with Website Maintenance Package", "UnitAmount": 69.77, "TaxType": "TAX020", "TaxAmount": 9.07, "LineAmount": 69.77, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "LineItemID": "a6950363-3b77-4357-aba6-b7a4a12f92e3", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "ValidationErrors": [] }, { "Description": "IT: Managed Antivirus subscription (yearly pricing, billed monthly)", "UnitAmount": 4.00, "TaxType": "TAX020", "TaxAmount": 4.16, "LineAmount": 32.00, "AccountCode": "212", "Tracking": [], "Quantity": 8.0000, "LineItemID": "eb932055-2efd-4b7f-8ec8-9946242107df", "AccountID": "f910948c-6e7a-46ea-91d4-60d5bab373c8", "ValidationErrors": [] }, { "Description": "Managed IT: Server (On-premises)", "UnitAmount": 120.00, "TaxType": "TAX020", "TaxAmount": 15.60, "LineAmount": 120.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "e475e55d-bc43-48ef-8b0a-e1c2725cbfc3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed IT: Workstation (Full Time)", "UnitAmount": 72.00, "TaxType": "TAX020", "TaxAmount": 37.44, "LineAmount": 288.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "LineItemID": "e1f6e143-9ce6-4f4e-96d2-fd5aea405d57", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed IT: Workstation (Part Time)", "UnitAmount": 36.00, "TaxType": "TAX020", "TaxAmount": 18.72, "LineAmount": 144.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "LineItemID": "6fad3f09-8b6e-48a7-abc0-dc4076572aca", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "IT: Microsoft Office 365 - Business Basic subscription", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 12.64, "LineAmount": 97.20, "AccountCode": "250", "Tracking": [], "Quantity": 12.0000, "LineItemID": "4a88b305-aa00-4ee1-a519-fc8e5c793d9f", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "IT: Microsoft Office 365 - Business Premium subscription", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 17.68, "LineAmount": 136.00, "AccountCode": "250", "Tracking": [], "Quantity": 8.0000, "LineItemID": "3e326c6d-09df-46a1-a59b-b038270a8f60", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Ironscales Basic Email Phishing Protection", "UnitAmount": 3.50, "TaxType": "TAX020", "TaxAmount": 1.82, "LineAmount": 14.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "LineItemID": "b74bb424-aebe-4ad9-95fc-1ae5c0df2c14", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 900.97, "TotalTax": 117.13, "Total": 1018.10, "UpdatedDateUTC": "\/Date(1742476019053+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:06:59] Production.INFO: -- Create Invoice id --62ca352c-d190-4060-b242-a81fd72ad100 [2025-03-20 09:06:59] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:06:59] Production.INFO: CheckInvoice xerov2: INV50015 [2025-03-20 09:06:59] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV50015 [2025-03-20 13:07:01] Production.INFO: ==4145== Lock acquired, processing the job... [2025-03-20 13:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:07:01] Production.INFO: neon service started [2025-03-20 13:07:01] Production.INFO: neon service started [2025-03-20 13:07:01] Production.INFO: ==4145== Releasing lock... [2025-03-20 13:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:07:02] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:07:02] Production.INFO: Invoice SubTotal 4620.030000 [2025-03-20 09:07:02] Production.INFO: Invoice DetTotal 4620.03 [2025-03-20 09:07:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Clek%20Inc." [2025-03-20 13:07:02] Production.INFO: ==4149== Lock acquired, processing the job... [2025-03-20 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:07:02] Production.INFO: ==4149== Releasing lock... [2025-03-20 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:07:02] Production.INFO: ==4147== Lock acquired, processing the job... [2025-03-20 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:07:02] Production.INFO: ==4147== Releasing lock... [2025-03-20 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:07:03] Production.INFO: ==4152== Lock acquired, processing the job... [2025-03-20 09:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:07:03] Production.INFO: ==4156== Lock acquired, processing the job... [2025-03-20 09:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:07:03] Production.INFO: ==4160== Lock acquired, processing the job... [2025-03-20 09:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:07:04] Production.INFO: ==4158== Lock acquired, processing the job... [2025-03-20 09:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:07:04] Production.INFO: ==4154== Lock acquired, processing the job... [2025-03-20 09:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:07:04] Production.INFO: Account Balance Start. [2025-03-20 09:07:04] Production.INFO: CreateAllLog Start [2025-03-20 09:07:04] Production.INFO: 117 [2025-03-20 09:07:04] Production.INFO: ==4162== Lock acquired, processing the job... [2025-03-20 09:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:07:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:04] Production.ERROR: done [2025-03-20 09:07:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:07:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:07:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:04] Production.INFO: count ==12 [2025-03-20 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-03-20 09:07:04] Production.INFO: count ==23 [2025-03-20 09:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721814') start [2025-03-20 09:07:04] Production.ERROR: done [2025-03-20 09:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:04] Production.INFO: ==4154== Releasing lock... [2025-03-20 09:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721814') end [2025-03-20 09:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:07:04] Production.INFO: 1 [2025-03-20 09:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:07:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:07:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:07:05] Production.INFO: ==4162== Releasing lock... [2025-03-20 09:07:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:07:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:07:05] Production.INFO: Total Charge 0 [2025-03-20 09:07:05] Production.INFO: CreateAllLog End [2025-03-20 09:07:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:07:05] Production.INFO: Account Balance End. [2025-03-20 09:07:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:07:05] Production.INFO: ==4158== Releasing lock... [2025-03-20 09:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:07:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:07:05 [end_date_ymd] => 2025-03-20 09:07:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:07:05' and `end` < '2025-03-20 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-03-20 09:07:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:07:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:07:14] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 31-12-2024 To 30-01-2025",Quantity : 1,UnitAmount : 7.510000,LineAmount : 7.510000},{taxType:"TAX020",AccountCode : 203,"Description": "Azure AD P1",Quantity : 45,UnitAmount : 9.240000,LineAmount : 415.800000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "License for a Pay As You Go Cloud Phone extension",Quantity : 37,UnitAmount : 7.500000,LineAmount : 277.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Dropsuite Business Backup License",Quantity : 46,UnitAmount : 3.840000,LineAmount : 176.640000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (14164793951 - 226 LESMILL RD TORONTO, ON M3B2T5)",Quantity : 1,UnitAmount : 2.700000,LineAmount : 2.700000},{taxType:"TAX020",AccountCode : 203,"Description": "Ironscales Basic Email Phishing Protection",Quantity : 44,UnitAmount : 3.850000,LineAmount : 169.400000},{taxType:"TAX020",AccountCode : 203,"Description": "M365 Power Automate subscription",Quantity : 1,UnitAmount : 19.100000,LineAmount : 19.100000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Network Device",Quantity : 13,UnitAmount : 10.500000,LineAmount : 136.500000},{taxType:"TAX020",AccountCode : 203,"Description": "Management of server",Quantity : 1,UnitAmount : 120.000000,LineAmount : 120.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Managed Workstation",Quantity : 38,UnitAmount : 58.000000,LineAmount : 2204.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Audio Conferencing",Quantity : 1,UnitAmount : 6.150000,LineAmount : 6.150000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Basic collaboration and productivity suite",Quantity : 17,UnitAmount : 8.100000,LineAmount : 137.700000},{taxType:"TAX020",AccountCode : 250,"Description": "Microsoft 365 Standard collaboration and productivity suite",Quantity : 42,UnitAmount : 17.000000,LineAmount : 714.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Azure Information Protection P1",Quantity : 1,UnitAmount : 4.150000,LineAmount : 4.150000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Exchange Online Archiving",Quantity : 4,UnitAmount : 5.000000,LineAmount : 20.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft Intune Per Device",Quantity : 1,UnitAmount : 3.400000,LineAmount : 3.400000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Visio",Quantity : 1,UnitAmount : 20.280000,LineAmount : 20.280000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Project Pro",Quantity : 1,UnitAmount : 40.550000,LineAmount : 40.550000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 ProPlus",Quantity : 1,UnitAmount : 16.900000,LineAmount : 16.900000},{taxType:"TAX020",AccountCode : 203,"Description": "Microsoft 365 Extra File Storage (per GB)",Quantity : 200,UnitAmount : 0.320000,LineAmount : 64.000000},{taxType:"TAX020",AccountCode : 203,"Description": "Production Line Machine Access",Quantity : 17,UnitAmount : 3.750000,LineAmount : 63.750000} [2025-03-20 09:07:14] Production.ERROR: CronJobId end10 [2025-03-20 09:07:14] Production.INFO: ==4156== Releasing lock... [2025-03-20 09:07:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:07:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:07:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:07:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:07:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:07:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:07:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:07:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:07:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:07:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:07:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:07:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:07:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:07:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:07:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:07:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:07:16] Production.INFO: call_cost start [2025-03-20 09:07:16] Production.INFO: call_cost end [2025-03-20 09:07:17] Production.INFO: ==== result ===== [2025-03-20 09:07:17] Production.INFO: { "Id": "17f2b702-eefc-425d-9dcd-4be51486be02", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476037399)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "9affbe09-f216-4984-b785-d9f20b1a36e8", "InvoiceNumber": "INV50015", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 5220.64, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "c5a4d0ce-0d87-4131-b0d8-9808badfe70b", "ContactNumber": "Clek Inc.", "ContactStatus": "ACTIVE", "Name": "Clek Inc.", "FirstName": "", "LastName": "", "EmailAddress": "", "BankAccountDetails": "", "TaxNumber": "", "Addresses": [ { "AddressType": "STREET", "AddressLine1": "226 Lesmill Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M3B2T5", "Country": "CANADA", "AttentionTo": "" }, { "AddressType": "POBOX", "AddressLine1": "226 Lesmill Road", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Toronto", "Region": "ON", "PostalCode": "M3B2T5", "Country": "CANADA", "AttentionTo": "" } ], "Phones": [ { "PhoneType": "DEFAULT", "PhoneNumber": "4164793951", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "DDI", "PhoneNumber": "4164793951,123", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" }, { "PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": "" } ], "UpdatedDateUTC": "\/Date(1719936258400+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "CAD", "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-31T00:00:00", "Date": "\/Date(1738281600000+0000)\/", "DueDateString": "2025-03-02T00:00:00", "DueDate": "\/Date(1740873600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 31-12-2024 To 30-01-2025", "UnitAmount": 7.51, "TaxType": "TAX020", "TaxAmount": 0.98, "LineAmount": 7.51, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "d0c01fb2-1de1-4786-8c4b-374a316f053d", "AccountID": "8dfd3f31-78c9-433b-85d4-b6b294f097b7", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Azure AD P1", "UnitAmount": 9.24, "TaxType": "TAX020", "TaxAmount": 54.05, "LineAmount": 415.80, "AccountCode": "203", "Tracking": [], "Quantity": 45.0000, "LineItemID": "9315638a-d804-4fe4-bf08-0914f617c0a1", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "License for a Pay As You Go Cloud Phone extension", "UnitAmount": 7.50, "TaxType": "TAX020", "TaxAmount": 36.08, "LineAmount": 277.50, "AccountCode": "203", "Tracking": [], "Quantity": 37.0000, "DiscountRate": 0.00, "LineItemID": "4e36de55-27cb-4d93-9ffa-42cb070c2cf0", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Dropsuite Business Backup License", "UnitAmount": 3.84, "TaxType": "TAX020", "TaxAmount": 22.96, "LineAmount": 176.64, "AccountCode": "203", "Tracking": [], "Quantity": 46.0000, "LineItemID": "4c0214a1-09ac-45e7-baef-cfb0ce02266d", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (14164793951 - 226 LESMILL RD TORONTO, ON M3B2T5)", "UnitAmount": 2.70, "TaxType": "TAX020", "TaxAmount": 0.35, "LineAmount": 2.70, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "654dc21b-c249-4e72-b639-b576ab687740", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] }, { "Description": "Ironscales Basic Email Phishing Protection", "UnitAmount": 3.85, "TaxType": "TAX020", "TaxAmount": 22.02, "LineAmount": 169.40, "AccountCode": "203", "Tracking": [], "Quantity": 44.0000, "LineItemID": "f6b53bbf-9ec2-4a7f-a99e-777b906d877e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "M365 Power Automate subscription", "UnitAmount": 19.10, "TaxType": "TAX020", "TaxAmount": 2.48, "LineAmount": 19.10, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "28eebd81-f5a8-401b-8373-a2b3631dac8e", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Network Device", "UnitAmount": 10.50, "TaxType": "TAX020", "TaxAmount": 17.75, "LineAmount": 136.50, "AccountCode": "203", "Tracking": [], "Quantity": 13.0000, "LineItemID": "b21c9802-64f7-4d26-bb79-074ac39b0269", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Management of server", "UnitAmount": 120.00, "TaxType": "TAX020", "TaxAmount": 15.60, "LineAmount": 120.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "311bf032-acce-4657-9d2e-591beb8d4dc4", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Managed Workstation", "UnitAmount": 58.00, "TaxType": "TAX020", "TaxAmount": 286.52, "LineAmount": 2204.00, "AccountCode": "203", "Tracking": [], "Quantity": 38.0000, "LineItemID": "37f38349-b892-4908-aae4-6815c0597785", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Audio Conferencing", "UnitAmount": 6.15, "TaxType": "TAX020", "TaxAmount": 0.80, "LineAmount": 6.15, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "6175bff1-26cf-4fa4-a007-10ede12c5cac", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Basic collaboration and productivity suite", "UnitAmount": 8.10, "TaxType": "TAX020", "TaxAmount": 17.90, "LineAmount": 137.70, "AccountCode": "250", "Tracking": [], "Quantity": 17.0000, "LineItemID": "51041571-f51f-43b2-bad4-8c51987c64b4", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft 365 Standard collaboration and productivity suite", "UnitAmount": 17.00, "TaxType": "TAX020", "TaxAmount": 92.82, "LineAmount": 714.00, "AccountCode": "250", "Tracking": [], "Quantity": 42.0000, "LineItemID": "5c9b1789-551c-4931-9c99-ab844c183213", "AccountID": "d5399e58-1ff5-401c-b6b9-7561071439f7", "ValidationErrors": [] }, { "Description": "Microsoft Azure Information Protection P1", "UnitAmount": 4.15, "TaxType": "TAX020", "TaxAmount": 0.54, "LineAmount": 4.15, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "f0c56d5b-fb39-4345-88fd-f28a6f32beb3", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft Exchange Online Archiving", "UnitAmount": 5.00, "TaxType": "TAX020", "TaxAmount": 2.60, "LineAmount": 20.00, "AccountCode": "203", "Tracking": [], "Quantity": 4.0000, "LineItemID": "3bfa9542-d1e0-427e-a51f-99d58bbdf468", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft Intune Per Device", "UnitAmount": 3.40, "TaxType": "TAX020", "TaxAmount": 0.44, "LineAmount": 3.40, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7c412a3f-42ce-4ff5-85e3-8b84571549d7", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Visio", "UnitAmount": 20.28, "TaxType": "TAX020", "TaxAmount": 2.64, "LineAmount": 20.28, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "7456a8ca-49dc-4acd-bda1-6a1a65ea8241", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Project Pro", "UnitAmount": 40.55, "TaxType": "TAX020", "TaxAmount": 5.27, "LineAmount": 40.55, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "eb3c4077-c468-41ad-aa0d-aea567846bbc", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 ProPlus", "UnitAmount": 16.90, "TaxType": "TAX020", "TaxAmount": 2.20, "LineAmount": 16.90, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "LineItemID": "ce8e6821-a580-4fd4-8e66-7f13b1c491e9", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Microsoft 365 Extra File Storage (per GB)", "UnitAmount": 0.32, "TaxType": "TAX020", "TaxAmount": 8.32, "LineAmount": 64.00, "AccountCode": "203", "Tracking": [], "Quantity": 200.0000, "LineItemID": "e7209f09-1fbe-4cac-ba67-16b7e1ae0c79", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Production Line Machine Access", "UnitAmount": 3.75, "TaxType": "TAX020", "TaxAmount": 8.29, "LineAmount": 63.75, "AccountCode": "203", "Tracking": [], "Quantity": 17.0000, "LineItemID": "845ae554-6496-4a88-b87b-6dea3215eee8", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 4620.03, "TotalTax": 600.61, "Total": 5220.64, "UpdatedDateUTC": "\/Date(1742476037320+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:07:17] Production.INFO: -- Create Invoice id --9affbe09-f216-4984-b785-d9f20b1a36e8 [2025-03-20 09:07:17] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:07:17] Production.INFO: CheckInvoice xerov2: INV11435 [2025-03-20 09:07:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11435 [2025-03-20 09:07:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:07:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:07:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:07:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:07:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:07:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:07:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:07:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:07:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:07:17] Production.INFO: ==4152== Releasing lock... [2025-03-20 09:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:07:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:07:18] Production.INFO: count ==689 [2025-03-20 09:07:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:07:05 - End Time 2025-03-20 09:07:05 [2025-03-20 09:07:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721815', 'tblTempUsageDetail_20' ) start [2025-03-20 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721815', 'tblTempUsageDetail_20' ) end [2025-03-20 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721815', 'tblTempVendorCDR_20' ) start [2025-03-20 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721815', 'tblTempVendorCDR_20' ) end [2025-03-20 09:07:18] Production.INFO: ProcessCDR(1,14721815,1,1,2) [2025-03-20 09:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:07:20] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:07:20] Production.INFO: Invoice SubTotal 91.530000 [2025-03-20 09:07:20] Production.INFO: Invoice DetTotal 91.53 [2025-03-20 09:07:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Lions%20Auto%20Protection" [2025-03-20 09:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:07:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721815', 'tblTempUsageDetail_20' ) start [2025-03-20 09:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721815', 'tblTempUsageDetail_20' ) end [2025-03-20 09:07:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:07:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:07:24] Production.INFO: ==4160== Releasing lock... [2025-03-20 09:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:07:24] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 09:07:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:07:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:07:33] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-31-2024 To 01-30-2025",Quantity : 1,UnitAmount : 29.030000,LineAmount : 29.030000},{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-03-20 09:07:36] Production.INFO: ==== result ===== [2025-03-20 09:07:36] Production.INFO: { "Id": "226d6610-829d-44a4-a0b3-9dd299b9f449", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476056193)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "2a07052c-d6a4-4dc5-bbe7-c629f10e546c", "InvoiceNumber": "INV11435", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 103.43, "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": "2025-01-31T00:00:00", "Date": "\/Date(1738281600000+0000)\/", "DueDateString": "2025-03-02T00:00:00", "DueDate": "\/Date(1740873600000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-31-2024 To 01-30-2025", "UnitAmount": 29.03, "TaxType": "TAX020", "TaxAmount": 3.77, "LineAmount": 29.03, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "3d8f7691-4de5-4a47-83be-58227259fe25", "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": "f2a89628-9957-44fb-bb8c-4d5e8623ced2", "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": "06f2b618-c806-491a-af99-4d5366f24110", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 91.53, "TotalTax": 11.90, "Total": 103.43, "UpdatedDateUTC": "\/Date(1742476056163+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:07:36] Production.INFO: -- Create Invoice id --2a07052c-d6a4-4dc5-bbe7-c629f10e546c [2025-03-20 09:07:36] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:07:36] Production.INFO: CheckInvoice xerov2: INV11433 [2025-03-20 09:07:36] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11433 [2025-03-20 09:07:39] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:07:39] Production.INFO: Invoice SubTotal 32.500000 [2025-03-20 09:07:39] Production.INFO: Invoice DetTotal 32.5 [2025-03-20 09:07:39] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="PharmaSave%20%28Oak%20Tree%20Medical%29" [2025-03-20 09:07:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:07:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:07:47] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:07:50] 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-03-20 09:07:53] Production.INFO: ==== result ===== [2025-03-20 09:07:53] Production.INFO: { "Id": "643432da-4e88-47a9-b8b9-554861e41c01", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476073670)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "68f3beb7-5acd-47b7-a5fb-e0772465c39a", "InvoiceNumber": "INV11433", "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": "2025-01-30T00:00:00", "Date": "\/Date(1738195200000+0000)\/", "DueDateString": "2025-03-01T00:00:00", "DueDate": "\/Date(1740787200000+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": "2d610606-27bf-4364-b3d3-0f977b08515a", "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": "3e9fc1cf-c2e0-4735-b493-b9d1c980264f", "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": "3c73bdba-e76a-46b5-8ea9-47ca7f69ad0f", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "ValidationErrors": [] } ], "SubTotal": 32.50, "TotalTax": 4.23, "Total": 36.73, "UpdatedDateUTC": "\/Date(1742476073607+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:07:53] Production.INFO: -- Create Invoice id --68f3beb7-5acd-47b7-a5fb-e0772465c39a [2025-03-20 09:07:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:07:53] Production.INFO: CheckInvoice xerov2: INV11434 [2025-03-20 09:07:53] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11434 [2025-03-20 09:07:56] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:07:56] Production.INFO: Invoice SubTotal 52.500000 [2025-03-20 09:07:56] Production.INFO: Invoice DetTotal 52.5 [2025-03-20 09:07:56] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010459%20%28Sandeep%20Chaudhari%29" [2025-03-20 09:07:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 13:08:01] Production.INFO: ==4256== Lock acquired, processing the job... [2025-03-20 13:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:08:01] Production.INFO: neon service started [2025-03-20 13:08:01] Production.INFO: neon service started [2025-03-20 13:08:01] Production.INFO: ==4256== Releasing lock... [2025-03-20 13:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:08:01] Production.INFO: ==4260== Lock acquired, processing the job... [2025-03-20 09:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:08:02] Production.INFO: ==4260== Releasing lock... [2025-03-20 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:08:02] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 13:08:02] Production.INFO: ==4262== Lock acquired, processing the job... [2025-03-20 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:08:02] Production.INFO: ==4262== Releasing lock... [2025-03-20 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:08:03] Production.INFO: ==4265== Lock acquired, processing the job... [2025-03-20 09:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:08:03] Production.INFO: ==4267== Lock acquired, processing the job... [2025-03-20 09:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:08:03] Production.INFO: ==4275== Lock acquired, processing the job... [2025-03-20 09:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:08:03] Production.INFO: ==4269== Lock acquired, processing the job... [2025-03-20 09:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:08:03] Production.INFO: ==4271== Lock acquired, processing the job... [2025-03-20 09:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:08:03] Production.INFO: ==4273== Lock acquired, processing the job... [2025-03-20 09:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:08:03] Production.INFO: count ==12 [2025-03-20 09:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:08:03] Production.INFO: count ==23 [2025-03-20 09:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721818') start [2025-03-20 09:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:08:03] Production.INFO: Account Balance Start. [2025-03-20 09:08:03] Production.INFO: CreateAllLog Start [2025-03-20 09:08:03] Production.INFO: 117 [2025-03-20 09:08:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721818') end [2025-03-20 09:08:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:08:03] Production.INFO: 1 [2025-03-20 09:08:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:03] Production.INFO: ==4275== Releasing lock... [2025-03-20 09:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:08:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:08:03] Production.INFO: ==4267== Releasing lock... [2025-03-20 09:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:08:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:04] Production.ERROR: done [2025-03-20 09:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:08:04] Production.INFO: Total Charge 0 [2025-03-20 09:08:04] Production.INFO: CreateAllLog End [2025-03-20 09:08:04] Production.ERROR: done [2025-03-20 09:08:04] Production.INFO: Account Balance End. [2025-03-20 09:08:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:08:04] Production.INFO: ==4271== Releasing lock... [2025-03-20 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:08:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:08:05 [end_date_ymd] => 2025-03-20 09:08:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:08:05' and `end` < '2025-03-20 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-03-20 09:08:07] 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-03-20 09:08:11] Production.INFO: ==== result ===== [2025-03-20 09:08:11] Production.INFO: { "Id": "7a2f39ba-8021-4b02-bb60-83a784303a56", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476091013)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "11ddb27e-732a-413d-b76e-64dfb4424df9", "InvoiceNumber": "INV11434", "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": "2025-01-30T00:00:00", "Date": "\/Date(1738195200000+0000)\/", "DueDateString": "2025-03-01T00:00:00", "DueDate": "\/Date(1740787200000+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": "2dbdf2d1-28d5-47f0-a041-f0dcb93f98a0", "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": "6048843d-b539-42d8-a1ad-b3a7434d061a", "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": "636b48ad-6e0a-43b5-8624-d490a0eec75f", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 52.50, "TotalTax": 6.83, "Total": 59.33, "UpdatedDateUTC": "\/Date(1742476090950+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:08:11] Production.INFO: -- Create Invoice id --11ddb27e-732a-413d-b76e-64dfb4424df9 [2025-03-20 09:08:11] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:08:11] Production.INFO: CheckInvoice xerov2: INV11431 [2025-03-20 09:08:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11431 [2025-03-20 09:08:12] Production.ERROR: CronJobId end10 [2025-03-20 09:08:12] Production.INFO: ==4269== Releasing lock... [2025-03-20 09:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:08:14] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:08:14] Production.INFO: Invoice SubTotal 170.000000 [2025-03-20 09:08:14] Production.INFO: Invoice DetTotal 170 [2025-03-20 09:08:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010443%20%28Ricky%20Singh%29" [2025-03-20 09:08:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:08:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:08:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:08:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:08:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:08:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:08:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:08:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:08:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:08:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:08:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:08:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:08:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:08:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:08:16] Production.INFO: call_cost start [2025-03-20 09:08:16] Production.INFO: call_cost end [2025-03-20 09:08:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:08:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:08:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:08:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:08:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:08:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:08:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:08:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:08:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:08:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:08:17] Production.INFO: ==4265== Releasing lock... [2025-03-20 09:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:08:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:08:18] Production.INFO: count ==716 [2025-03-20 09:08:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:08:05 - End Time 2025-03-20 09:08:05 [2025-03-20 09:08:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721820', 'tblTempUsageDetail_20' ) start [2025-03-20 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721820', 'tblTempUsageDetail_20' ) end [2025-03-20 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721820', 'tblTempVendorCDR_20' ) start [2025-03-20 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721820', 'tblTempVendorCDR_20' ) end [2025-03-20 09:08:18] Production.INFO: ProcessCDR(1,14721820,1,1,2) [2025-03-20 09:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:08:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721820', 'tblTempUsageDetail_20' ) start [2025-03-20 09:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721820', 'tblTempUsageDetail_20' ) end [2025-03-20 09:08:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:08:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:08:22] Production.INFO: ==4273== Releasing lock... [2025-03-20 09:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:08:22] Production.INFO: 33.5 MB #Memory Used# [2025-03-20 09:08:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:08:26] 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-03-20 09:08:29] Production.INFO: ==== result ===== [2025-03-20 09:08:29] Production.INFO: { "Id": "11dbc961-0069-4d53-8992-9d5a9ae2f856", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476109446)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "6e70cd1c-f687-48b7-9cce-d0ec3a08cca8", "InvoiceNumber": "INV11431", "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": "2025-01-29T00:00:00", "Date": "\/Date(1738108800000+0000)\/", "DueDateString": "2025-02-28T00:00:00", "DueDate": "\/Date(1740700800000+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": "46510131-1a44-4bb1-8c12-8b6ac2ea9bfe", "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": "e536b480-e875-454f-808c-7ebddc6df1a0", "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": "c7480cfe-afbf-4bc1-b250-2d6c8df3e9d6", "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": "a53fd344-f8b5-4f81-ad99-f6b2e57acbf1", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 170.00, "TotalTax": 22.10, "Total": 192.10, "UpdatedDateUTC": "\/Date(1742476109233+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:08:29] Production.INFO: -- Create Invoice id --6e70cd1c-f687-48b7-9cce-d0ec3a08cca8 [2025-03-20 09:08:29] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:08:29] Production.INFO: CheckInvoice xerov2: INV11432 [2025-03-20 09:08:29] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11432 [2025-03-20 09:08:32] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:08:32] Production.INFO: Invoice SubTotal 181.740000 [2025-03-20 09:08:32] Production.INFO: Invoice DetTotal 181.74 [2025-03-20 09:08:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2010416%20%28David%20Mills%29" [2025-03-20 09:08:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:08:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:08:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:08:44] 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-03-20 09:08:48] Production.INFO: ==== result ===== [2025-03-20 09:08:48] Production.INFO: { "Id": "ed0c25de-fa6f-4aad-87e4-22be9c030c1c", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476128261)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "af6c8101-d70e-44e0-be07-191af533a155", "InvoiceNumber": "INV11432", "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": "2025-01-29T00:00:00", "Date": "\/Date(1738108800000+0000)\/", "DueDateString": "2025-02-28T00:00:00", "DueDate": "\/Date(1740700800000+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": "fb0b269c-333c-4a21-9900-3559aea327f8", "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": "cae92192-30c6-489e-9dbe-6b082d68f313", "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": "6d528553-84ac-48d7-afa1-afad7da69374", "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": "1fe2eb24-4459-4fd3-855d-a3cbc73d5d54", "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": "17a6d663-f473-487e-b6ff-f5f9f3cb4c8a", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 181.74, "TotalTax": 23.64, "Total": 205.38, "UpdatedDateUTC": "\/Date(1742476128183+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:08:48] Production.INFO: -- Create Invoice id --af6c8101-d70e-44e0-be07-191af533a155 [2025-03-20 09:08:48] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:08:48] Production.INFO: CheckInvoice xerov2: INV11426 [2025-03-20 09:08:48] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11426 [2025-03-20 09:08:51] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:08:51] Production.INFO: Invoice SubTotal 17.850000 [2025-03-20 09:08:51] Production.INFO: Invoice DetTotal 17.85 [2025-03-20 09:08:51] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Harding%20Security" [2025-03-20 09:08:54] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:08:58] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:09:00] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 13:09:01] Production.INFO: ==4358== Lock acquired, processing the job... [2025-03-20 13:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:09:01] Production.INFO: neon service started [2025-03-20 13:09:02] Production.INFO: neon service started [2025-03-20 13:09:02] Production.INFO: ==4358== Releasing lock... [2025-03-20 13:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:09:02] Production.INFO: ==4360== Lock acquired, processing the job... [2025-03-20 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:09:02] Production.INFO: ==4362== Lock acquired, processing the job... [2025-03-20 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:09:02] Production.INFO: ==4362== Releasing lock... [2025-03-20 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:09:03] Production.INFO: ==4360== Releasing lock... [2025-03-20 09:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:09:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:09:03] Production.INFO: ==4365== Lock acquired, processing the job... [2025-03-20 09:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:09:03] 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-03-20 09:09:03] Production.INFO: ==4368== Lock acquired, processing the job... [2025-03-20 09:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:09:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:09:04] Production.INFO: ==4374== Lock acquired, processing the job... [2025-03-20 09:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:09:04] Production.INFO: ==4370== Lock acquired, processing the job... [2025-03-20 09:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:09:04] Production.INFO: ==4372== Lock acquired, processing the job... [2025-03-20 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:09:04] Production.INFO: ==4368== Releasing lock... [2025-03-20 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:09:04] Production.INFO: ==4376== Lock acquired, processing the job... [2025-03-20 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:09:04] Production.INFO: Account Balance Start. [2025-03-20 09:09:04] Production.INFO: CreateAllLog Start [2025-03-20 09:09:04] Production.INFO: 117 [2025-03-20 09:09:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:09:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:09:04] Production.INFO: count ==12 [2025-03-20 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:09:04] Production.ERROR: done [2025-03-20 09:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:04] Production.INFO: count ==23 [2025-03-20 09:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721824') start [2025-03-20 09:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:09:04] Production.ERROR: done [2025-03-20 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721824') end [2025-03-20 09:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:09:04] Production.INFO: 1 [2025-03-20 09:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:04] Production.INFO: ==4376== Releasing lock... [2025-03-20 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:09:05] Production.INFO: Total Charge 0 [2025-03-20 09:09:05] Production.INFO: CreateAllLog End [2025-03-20 09:09:05] Production.INFO: Account Balance End. [2025-03-20 09:09:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:09:05] Production.INFO: ==4372== Releasing lock... [2025-03-20 09:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:09:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:09:05 [end_date_ymd] => 2025-03-20 09:09:05 [RateCDR] => 1 ) [2025-03-20 09:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:09:05' and `end` < '2025-03-20 09:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:09:07] Production.INFO: ==== result ===== [2025-03-20 09:09:07] Production.INFO: { "Id": "59f87baa-2e75-4d51-a7f1-15748a2e1be5", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476147258)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "8eaf2879-c1b7-483c-a055-acb278fb6e65", "InvoiceNumber": "INV11426", "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": "2025-01-28T00:00:00", "Date": "\/Date(1738022400000+0000)\/", "DueDateString": "2025-02-27T00:00:00", "DueDate": "\/Date(1740614400000+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": "21aedf06-02e2-4bef-82fe-239caa4b920f", "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": "2beac0d7-9a81-4804-95ad-8cb711c2c4ac", "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": "7e11aa13-9299-49cd-98c2-d9fd82b68dde", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 17.85, "TotalTax": 2.33, "Total": 20.18, "UpdatedDateUTC": "\/Date(1742476147213+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:09:07] Production.INFO: -- Create Invoice id --8eaf2879-c1b7-483c-a055-acb278fb6e65 [2025-03-20 09:09:07] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:09:07] Production.INFO: CheckInvoice xerov2: INV11427 [2025-03-20 09:09:07] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11427 [2025-03-20 09:09:10] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:09:10] Production.INFO: Invoice SubTotal 16.730000 [2025-03-20 09:09:10] Production.INFO: Invoice DetTotal 16.73 [2025-03-20 09:09:10] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Cathim%20Inc" [2025-03-20 09:09:13] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:09:13] Production.ERROR: CronJobId end10 [2025-03-20 09:09:13] Production.INFO: ==4370== Releasing lock... [2025-03-20 09:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:09:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:09:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:09:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:09:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:09:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:09:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:09:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:09:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:09:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:09:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:09:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:09:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:09:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:09:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:09:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:09:16] Production.INFO: call_cost start [2025-03-20 09:09:16] Production.INFO: call_cost end [2025-03-20 09:09:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:09:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:09:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:09:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:09:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:09:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:09:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:09:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:09:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:09:17] Production.INFO: ==4365== Releasing lock... [2025-03-20 09:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:09:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:09:18] Production.INFO: count ==743 [2025-03-20 09:09:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:09:05 - End Time 2025-03-20 09:09:05 [2025-03-20 09:09:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721825', 'tblTempUsageDetail_20' ) start [2025-03-20 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721825', 'tblTempUsageDetail_20' ) end [2025-03-20 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721825', 'tblTempVendorCDR_20' ) start [2025-03-20 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721825', 'tblTempVendorCDR_20' ) end [2025-03-20 09:09:18] Production.INFO: ProcessCDR(1,14721825,1,1,2) [2025-03-20 09:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:09:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:09:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721825', 'tblTempUsageDetail_20' ) start [2025-03-20 09:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721825', 'tblTempUsageDetail_20' ) end [2025-03-20 09:09:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:09:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:09:24] Production.INFO: ==4374== Releasing lock... [2025-03-20 09:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:09:24] Production.INFO: 34 MB #Memory Used# [2025-03-20 09:09:26] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 234,DiscountRate : 0.000000,"Description": " From 12-28-2024 To 01-27-2025",Quantity : 1,UnitAmount : 6.730000,LineAmount : 6.730000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Additional DID (18889888860)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000} [2025-03-20 09:09:30] Production.INFO: ==== result ===== [2025-03-20 09:09:30] Production.INFO: { "Id": "f46654f5-4421-4589-a300-a03e6d79d141", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476170321)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "d7d06515-a62a-4e30-bd7a-bd6611e84343", "InvoiceNumber": "INV11427", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 18.90, "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": "2025-01-28T00:00:00", "Date": "\/Date(1738022400000+0000)\/", "DueDateString": "2025-02-27T00:00:00", "DueDate": "\/Date(1740614400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "From 12-28-2024 To 01-27-2025", "UnitAmount": 6.73, "TaxType": "TAX020", "TaxAmount": 0.87, "LineAmount": 6.73, "AccountCode": "234", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "4ecd73dd-e1c4-4727-afc2-e5eb35456bce", "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": "44beb021-5e1d-4c10-83ce-21478d15e67c", "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 16.73, "TotalTax": 2.17, "Total": 18.90, "UpdatedDateUTC": "\/Date(1742476170257+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:09:30] Production.INFO: -- Create Invoice id --d7d06515-a62a-4e30-bd7a-bd6611e84343 [2025-03-20 09:09:30] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:09:30] Production.INFO: CheckInvoice xerov2: INV11428 [2025-03-20 09:09:30] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11428 [2025-03-20 09:09:33] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:09:33] Production.INFO: Invoice SubTotal 62.500000 [2025-03-20 09:09:33] Production.INFO: Invoice DetTotal 62.5 [2025-03-20 09:09:33] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Dominos%2039017%20%28Mudassar%20Zia%29" [2025-03-20 09:09:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:09:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:09:41] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:09:44] 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-03-20 09:09:48] Production.INFO: ==== result ===== [2025-03-20 09:09:48] Production.INFO: { "Id": "f0d6d549-cf77-43db-b565-2a46372d2505", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476188027)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "bd9dc32f-fedd-4e3b-99c0-e790296ec52f", "InvoiceNumber": "INV11428", "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": "2025-01-28T00:00:00", "Date": "\/Date(1738022400000+0000)\/", "DueDateString": "2025-02-27T00:00:00", "DueDate": "\/Date(1740614400000+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": "41955407-3a76-40b7-a626-1d44f649fea9", "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": "ed9936cb-ebea-4d1b-8a39-9403061c7301", "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": "14119666-4c0b-457e-be07-512d573910cc", "AccountID": "d535551e-b511-426b-8f4b-8f99de09b635", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 62.50, "TotalTax": 3.13, "Total": 65.63, "UpdatedDateUTC": "\/Date(1742476187980+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:09:48] Production.INFO: -- Create Invoice id --bd9dc32f-fedd-4e3b-99c0-e790296ec52f [2025-03-20 09:09:48] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:09:48] Production.INFO: -- Xero End Inovice -- [2025-03-20 09:09:48] Production.INFO: ==2392== Releasing lock... [2025-03-20 09:09:48] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10801 #Stops# [2025-03-20 09:09:48] Production.INFO: 33.75 MB #Memory Used# [2025-03-20 13:10:01] Production.INFO: ==4465== Lock acquired, processing the job... [2025-03-20 13:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:10:01] Production.INFO: neon service started [2025-03-20 13:10:01] Production.INFO: neon service started [2025-03-20 13:10:01] Production.INFO: ==4465== Releasing lock... [2025-03-20 13:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:10:01] Production.INFO: ==4467== Lock acquired, processing the job... [2025-03-20 09:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:10:02] Production.INFO: ==4467== Releasing lock... [2025-03-20 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:10:02] Production.INFO: ==4469== Lock acquired, processing the job... [2025-03-20 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:10:02] Production.INFO: ==4469== Releasing lock... [2025-03-20 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:10:03] Production.INFO: ==4471== Lock acquired, processing the job... [2025-03-20 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 09:10:03] Production.INFO: ==4477== Lock acquired, processing the job... [2025-03-20 09:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:10:03] Production.INFO: ==4479== Lock acquired, processing the job... [2025-03-20 09:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 09:10:03] Production.INFO: ==4483== Lock acquired, processing the job... [2025-03-20 09:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 09:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 09:10:03] Production.INFO: ==4471== Releasing lock... [2025-03-20 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 09:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 09:10:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:10:03] Production.INFO: ==4473== Lock acquired, processing the job... [2025-03-20 09:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:10:03] Production.INFO: Account Balance Start. [2025-03-20 09:10:03] Production.INFO: CreateAllLog Start [2025-03-20 09:10:03] Production.INFO: 117 [2025-03-20 09:10:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:03] Production.INFO: ==4475== Lock acquired, processing the job... [2025-03-20 09:10:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:10:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:04] Production.INFO: ==4481== Lock acquired, processing the job... [2025-03-20 09:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:10:04] Production.INFO: ==4486== Lock acquired, processing the job... [2025-03-20 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:10:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:04] Production.ERROR: done [2025-03-20 09:10:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 09:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721830', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 09:10:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:10:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:04] Production.INFO: count ==12 [2025-03-20 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-03-20 09:10:04] Production.INFO: count ==23 [2025-03-20 09:10:04] Production.ERROR: done [2025-03-20 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721829') start [2025-03-20 09:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:10:04] Production.INFO: ==4475== Releasing lock... [2025-03-20 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:10:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:10:04] Production.INFO: Total Charge 0 [2025-03-20 09:10:04] Production.INFO: CreateAllLog End [2025-03-20 09:10:04] Production.ERROR: done [2025-03-20 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721829') end [2025-03-20 09:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:10:04] Production.INFO: 1 [2025-03-20 09:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:10:04] Production.INFO: ==4486== Releasing lock... [2025-03-20 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:10:05] Production.INFO: Account Balance End. [2025-03-20 09:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:10:05] Production.INFO: ==4479== Releasing lock... [2025-03-20 09:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:10:06 [end_date_ymd] => 2025-03-20 09:10:06 [RateCDR] => 1 ) [2025-03-20 09:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:10:06' and `end` < '2025-03-20 09:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721830', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 09:10:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 09:10:08] Production.INFO: ProcessCDR(1,14721830,1,1,2) [2025-03-20 09:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721830,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721830,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:10:09] Production.INFO: ==4483== Releasing lock... [2025-03-20 09:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 09:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 09:10:15] Production.ERROR: CronJobId end10 [2025-03-20 09:10:15] Production.INFO: ==4477== Releasing lock... [2025-03-20 09:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:10:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:10:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:10:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:10:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:10:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:10:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:10:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:10:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:10:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:10:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:10:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:10:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:10:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:10:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:10:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:10:18] Production.INFO: call_cost start [2025-03-20 09:10:18] Production.INFO: call_cost end [2025-03-20 09:10:18] Production.INFO: count ==769 [2025-03-20 09:10:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:10:06 - End Time 2025-03-20 09:10:06 [2025-03-20 09:10:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721831', 'tblTempUsageDetail_20' ) start [2025-03-20 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721831', 'tblTempUsageDetail_20' ) end [2025-03-20 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721831', 'tblTempVendorCDR_20' ) start [2025-03-20 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721831', 'tblTempVendorCDR_20' ) end [2025-03-20 09:10:19] Production.INFO: ProcessCDR(1,14721831,1,1,2) [2025-03-20 09:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:10:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:10:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:10:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:10:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:10:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:10:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:10:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:10:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:10:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:10:19] Production.INFO: ==4473== Releasing lock... [2025-03-20 09:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:10:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721831,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721831,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721831', 'tblTempUsageDetail_20' ) start [2025-03-20 09:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721831', 'tblTempUsageDetail_20' ) end [2025-03-20 09:10:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:10:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:10:25] Production.INFO: ==4481== Releasing lock... [2025-03-20 09:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:10:25] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 13:11:01] Production.INFO: ==4557== Lock acquired, processing the job... [2025-03-20 13:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:11:01] Production.INFO: neon service started [2025-03-20 13:11:01] Production.INFO: neon service started [2025-03-20 13:11:01] Production.INFO: ==4557== Releasing lock... [2025-03-20 13:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:11:02] Production.INFO: ==4559== Lock acquired, processing the job... [2025-03-20 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:11:02] Production.INFO: ==4559== Releasing lock... [2025-03-20 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:11:03] Production.INFO: ==4561== Lock acquired, processing the job... [2025-03-20 13:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:11:03] Production.INFO: ==4561== Releasing lock... [2025-03-20 13:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:11:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:11:03] Production.INFO: ==4568== Lock acquired, processing the job... [2025-03-20 09:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:11:03] Production.INFO: ==4564== Lock acquired, processing the job... [2025-03-20 09:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:11:03] Production.INFO: ==4570== Lock acquired, processing the job... [2025-03-20 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:11:03] Production.INFO: Account Balance Start. [2025-03-20 09:11:03] Production.INFO: CreateAllLog Start [2025-03-20 09:11:03] Production.INFO: 117 [2025-03-20 09:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:03] Production.INFO: ==4566== Lock acquired, processing the job... [2025-03-20 09:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:11:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:04] Production.INFO: ==4572== Lock acquired, processing the job... [2025-03-20 09:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:04] Production.INFO: ==4579== Lock acquired, processing the job... [2025-03-20 09:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:04] Production.INFO: ==4566== Releasing lock... [2025-03-20 09:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:04] Production.INFO: count ==12 [2025-03-20 09:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:11:04] Production.INFO: count ==23 [2025-03-20 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721835') start [2025-03-20 09:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:11:04] Production.ERROR: done [2025-03-20 09:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721835') end [2025-03-20 09:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:11:04] Production.INFO: 1 [2025-03-20 09:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:11:04] Production.INFO: Total Charge 0 [2025-03-20 09:11:04] Production.INFO: CreateAllLog End [2025-03-20 09:11:04] Production.INFO: ==4579== Releasing lock... [2025-03-20 09:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:11:04] Production.ERROR: done [2025-03-20 09:11:04] Production.INFO: Account Balance End. [2025-03-20 09:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:11:04] Production.INFO: ==4570== Releasing lock... [2025-03-20 09:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:11:05 [end_date_ymd] => 2025-03-20 09:11:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:11:05' and `end` < '2025-03-20 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-03-20 09:11:14] Production.ERROR: CronJobId end10 [2025-03-20 09:11:14] Production.INFO: ==4568== Releasing lock... [2025-03-20 09:11:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:11:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:11:15] Production.INFO: call_cost start [2025-03-20 09:11:15] Production.INFO: call_cost end [2025-03-20 09:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:11:16] Production.INFO: ==4564== Releasing lock... [2025-03-20 09:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:11:18] Production.INFO: count ==844 [2025-03-20 09:11:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:11:05 - End Time 2025-03-20 09:11:05 [2025-03-20 09:11:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721836', 'tblTempUsageDetail_20' ) start [2025-03-20 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721836', 'tblTempUsageDetail_20' ) end [2025-03-20 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721836', 'tblTempVendorCDR_20' ) start [2025-03-20 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721836', 'tblTempVendorCDR_20' ) end [2025-03-20 09:11:18] Production.INFO: ProcessCDR(1,14721836,1,1,2) [2025-03-20 09:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721836,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721836,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721836', 'tblTempUsageDetail_20' ) start [2025-03-20 09:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721836', 'tblTempUsageDetail_20' ) end [2025-03-20 09:11:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:11:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:11:23] Production.INFO: ==4572== Releasing lock... [2025-03-20 09:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:11:23] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 13:12:02] Production.INFO: ==4661== Lock acquired, processing the job... [2025-03-20 13:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:12:02] Production.INFO: neon service started [2025-03-20 13:12:02] Production.INFO: neon service started [2025-03-20 13:12:02] Production.INFO: ==4661== Releasing lock... [2025-03-20 13:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:12:02] Production.INFO: ==4663== Lock acquired, processing the job... [2025-03-20 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:12:03] Production.INFO: ==4663== Releasing lock... [2025-03-20 09:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:12:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:12:03] Production.INFO: ==4665== Lock acquired, processing the job... [2025-03-20 13:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:12:03] Production.INFO: ==4665== Releasing lock... [2025-03-20 13:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:12:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:12:04] Production.INFO: ==4669== Lock acquired, processing the job... [2025-03-20 09:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:12:04] Production.INFO: ==4667== Lock acquired, processing the job... [2025-03-20 09:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:12:04] Production.INFO: ==4678== Lock acquired, processing the job... [2025-03-20 09:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:12:04] Production.INFO: ==4671== Lock acquired, processing the job... [2025-03-20 09:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 09:12:04] Production.INFO: ==4674== Lock acquired, processing the job... [2025-03-20 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:12:04] Production.INFO: count ==12 [2025-03-20 09:12:04] Production.INFO: ==4676== Lock acquired, processing the job... [2025-03-20 09:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 09:12:04] Production.INFO: count ==23 [2025-03-20 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721838') start [2025-03-20 09:12:04] Production.INFO: Account Balance Start. [2025-03-20 09:12:04] Production.INFO: CreateAllLog Start [2025-03-20 09:12:04] Production.INFO: 117 [2025-03-20 09:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:12:04] Production.INFO: ==4669== Releasing lock... [2025-03-20 09:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721838') end [2025-03-20 09:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:12:04] Production.INFO: 1 [2025-03-20 09:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:04] Production.INFO: ==4678== Releasing lock... [2025-03-20 09:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:05] Production.ERROR: done [2025-03-20 09:12:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:12:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:12:05] Production.INFO: Total Charge 0 [2025-03-20 09:12:05] Production.INFO: CreateAllLog End [2025-03-20 09:12:05] Production.ERROR: done [2025-03-20 09:12:05] Production.INFO: Account Balance End. [2025-03-20 09:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:12:05] Production.INFO: ==4674== Releasing lock... [2025-03-20 09:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:12:06 [end_date_ymd] => 2025-03-20 09:12:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:12:06' and `end` < '2025-03-20 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-03-20 09:12:14] Production.ERROR: CronJobId end10 [2025-03-20 09:12:14] Production.INFO: ==4671== Releasing lock... [2025-03-20 09:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:12:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:12:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:12:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:12:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:12:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:12:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:12:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:12:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:12:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:12:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:12:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:12:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:12:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:12:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:12:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:12:17] Production.INFO: call_cost start [2025-03-20 09:12:17] Production.INFO: call_cost end [2025-03-20 09:12:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:12:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:12:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:12:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:12:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:12:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:12:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:12:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:12:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:12:18] Production.INFO: ==4667== Releasing lock... [2025-03-20 09:12:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:12:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:12:19] Production.INFO: count ==856 [2025-03-20 09:12:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:12:06 - End Time 2025-03-20 09:12:06 [2025-03-20 09:12:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721841', 'tblTempUsageDetail_20' ) start [2025-03-20 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721841', 'tblTempUsageDetail_20' ) end [2025-03-20 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721841', 'tblTempVendorCDR_20' ) start [2025-03-20 09:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721841', 'tblTempVendorCDR_20' ) end [2025-03-20 09:12:19] Production.INFO: ProcessCDR(1,14721841,1,1,2) [2025-03-20 09:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721841,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:12:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721841,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721841', 'tblTempUsageDetail_20' ) start [2025-03-20 09:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721841', 'tblTempUsageDetail_20' ) end [2025-03-20 09:12:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:12:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:12:25] Production.INFO: ==4676== Releasing lock... [2025-03-20 09:12:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:12:25] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 13:13:01] Production.INFO: ==4785== Lock acquired, processing the job... [2025-03-20 13:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:13:01] Production.INFO: neon service started [2025-03-20 13:13:01] Production.INFO: neon service started [2025-03-20 13:13:01] Production.INFO: ==4785== Releasing lock... [2025-03-20 13:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:13:02] Production.INFO: ==4788== Lock acquired, processing the job... [2025-03-20 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:13:02] Production.INFO: ==4790== Lock acquired, processing the job... [2025-03-20 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:13:02] Production.INFO: ==4790== Releasing lock... [2025-03-20 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:13:03] Production.INFO: ==4788== Releasing lock... [2025-03-20 09:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:13:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:13:04] Production.INFO: ==4794== Lock acquired, processing the job... [2025-03-20 09:13:04] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10802 #Starts# [2025-03-20 09:13:04] Production.INFO: ==4798== Lock acquired, processing the job... [2025-03-20 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:13:04] Production.INFO: ==4796== Lock acquired, processing the job... [2025-03-20 09:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:13:04] Production.INFO: -- Xero Api Check -- [2025-03-20 09:13:04] Production.INFO: ==4802== Lock acquired, processing the job... [2025-03-20 09:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:13:04] Production.INFO: ==4804== Lock acquired, processing the job... [2025-03-20 09:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:13:04] Production.INFO: ==4800== Lock acquired, processing the job... [2025-03-20 09:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:13:04] Production.INFO: ==4807== Lock acquired, processing the job... [2025-03-20 09:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:13:04] Production.INFO: Account Balance Start. [2025-03-20 09:13:04] Production.INFO: CreateAllLog Start [2025-03-20 09:13:04] Production.INFO: 117 [2025-03-20 09:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:13:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:04] Production.INFO: ==4798== Releasing lock... [2025-03-20 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:04] Production.INFO: count ==12 [2025-03-20 09:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:13:04] Production.INFO: count ==23 [2025-03-20 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721845') start [2025-03-20 09:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:04] Production.ERROR: done [2025-03-20 09:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721845') end [2025-03-20 09:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:13:04] Production.INFO: 1 [2025-03-20 09:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:05] Production.INFO: ==4807== Releasing lock... [2025-03-20 09:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:13:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:13:05] Production.INFO: Date 2025-03-15 [2025-03-20 09:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:05] Production.INFO: Date 2025-03-16 [2025-03-20 09:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:05] Production.ERROR: done [2025-03-20 09:13:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:13:05] Production.INFO: Total Charge 0 [2025-03-20 09:13:05] Production.INFO: CreateAllLog End [2025-03-20 09:13:05] Production.INFO: Account Balance End. [2025-03-20 09:13: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.22018 [namelookup_time] => 0.528901 [connect_time] => 0.604776 [pretransfer_time] => 1.006228 [size_upload] => 82 [size_download] => 2755 [speed_download] => 2257 [speed_upload] => 67 [download_content_length] => 2755 [upload_content_length] => 82 [starttransfer_time] => 1.220087 [redirect_time] => 0 [redirect_url] => [primary_ip] => 2.21.67.50 [certinfo] => Array ( ) [primary_port] => 443 [local_ip] => 54.39.180.235 [local_port] => 39468 ) [2025-03-20 09:13:05] Production.INFO: -- connection successfully here --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzYzODUsImV4cCI6MTc0MjQ3NjY4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDc2Mzg1LCJhdF9oYXNoIjoiNTJTa0pZSDRJRlJfMmVUak1scUJDUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.gkxs321IUwbUNweYTsNGnIG8W21gm_sa639AO1nt4uP4Vj-pXAXiK4NGEskQWHPA3fDWKR5XNyHYHeEqFOOEctlbNddSKr1HcjxBZcrc7XWuM_Zu5VS7ZvnWZ3oOqMv58kvxu0E2RbgKe2haM1b8Zz21E4jBAS0DquyYJKniWbnCjwHrbdTEt1g7rFER0RBkjmKyJ9YtgKUD8ZSiiZPLxY4dljQN2gvJx4BqygYufMQI0zKwEUDXEdmujijyA7Pr76YL0bvHkUCMUxQF84TO4fGRJG5TzL_VbDueDB69cJ1smFeoWJjqyRvuv1LCVB-Niy8HOOVOYEvCqmXCPrkwig [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzYzODUsImV4cCI6MTc0MjQ3ODE4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.gxxKNk99Gj3DyoMVTZgadrYdHEW9gaoDQ0f0CsgV2Q6yxqN2ky12U1V5xSli_xu7dgvBUzD5tzcaEVj80pEMQ3Kek4quxjBzQudb8RzS8SLLAYn3rAFk4bPRU_WDlxbm6rHXg1o6JStNYpmb1KQ7qjxmVZ5MyyvPSDqrlcXEm6_Utp1MzhAll9nrx_wHvKO8BHFK2hrLEzggUNWfGiRqeIWo5aln2oKbYtEQjP5PdYW_mRQxB92lusxh3VDyf0B0yBlfBhWS_CK-_JSuxz40sAv4CJ4zh5d32B2yOeN7jN0PV0kqqXresnm3pWLwvplpyexXw-dD96JbgxeTBopekg [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 2gPajXBaIyV-rAnfy89yw1QAfTthkxV4Y6DZGfqsfsg [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 09:13:05] Production.INFO: -- connection successfully --stdClass Object ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzYzODUsImV4cCI6MTc0MjQ3NjY4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzQyNDc2Mzg1LCJhdF9oYXNoIjoiNTJTa0pZSDRJRlJfMmVUak1scUJDUSIsInN1YiI6Ijc1NGMxN2Q3MTA0YTUxODViYjEyZmM5ODFiN2VlMzliIiwiYXV0aF90aW1lIjoxNzQyNDY2MzA1LCJ4ZXJvX3VzZXJpZCI6IjFiOGM2ODExLTJmMGItNGU3Mi05Y2JhLTY5ZDVlM2RmOTEyYyIsImdsb2JhbF9zZXNzaW9uX2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJzaWQiOiI5ZWFmZGExM2Y5NWE0NmJjODI2Yzc4N2IxZTRjNWY1MCIsInByZWZlcnJlZF91c2VybmFtZSI6Imx5bmRhQGNsb3VkbWViLmNvbSIsImVtYWlsIjoibHluZGFAY2xvdWRtZWIuY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.gkxs321IUwbUNweYTsNGnIG8W21gm_sa639AO1nt4uP4Vj-pXAXiK4NGEskQWHPA3fDWKR5XNyHYHeEqFOOEctlbNddSKr1HcjxBZcrc7XWuM_Zu5VS7ZvnWZ3oOqMv58kvxu0E2RbgKe2haM1b8Zz21E4jBAS0DquyYJKniWbnCjwHrbdTEt1g7rFER0RBkjmKyJ9YtgKUD8ZSiiZPLxY4dljQN2gvJx4BqygYufMQI0zKwEUDXEdmujijyA7Pr76YL0bvHkUCMUxQF84TO4fGRJG5TzL_VbDueDB69cJ1smFeoWJjqyRvuv1LCVB-Niy8HOOVOYEvCqmXCPrkwig [access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3NDI0NzYzODUsImV4cCI6MTc0MjQ3ODE4NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI3NTRjMTdkNzEwNGE1MTg1YmIxMmZjOTgxYjdlZTM5YiIsImF1dGhfdGltZSI6MTc0MjQ2NjMwNSwieGVyb191c2VyaWQiOiIxYjhjNjgxMS0yZjBiLTRlNzItOWNiYS02OWQ1ZTNkZjkxMmMiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6IjllYWZkYTEzZjk1YTQ2YmM4MjZjNzg3YjFlNGM1ZjUwIiwic2lkIjoiOWVhZmRhMTNmOTVhNDZiYzgyNmM3ODdiMWU0YzVmNTAiLCJqdGkiOiIyNUNEQkY1RjBBNTRGMjlDNjBDNUE2RjU4Qzg3NzMyQSIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiMGZlNDU1NWEtNmNkMy00YjFkLTljNjEtMzAzMjBmMjBmZGFkIiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.gxxKNk99Gj3DyoMVTZgadrYdHEW9gaoDQ0f0CsgV2Q6yxqN2ky12U1V5xSli_xu7dgvBUzD5tzcaEVj80pEMQ3Kek4quxjBzQudb8RzS8SLLAYn3rAFk4bPRU_WDlxbm6rHXg1o6JStNYpmb1KQ7qjxmVZ5MyyvPSDqrlcXEm6_Utp1MzhAll9nrx_wHvKO8BHFK2hrLEzggUNWfGiRqeIWo5aln2oKbYtEQjP5PdYW_mRQxB92lusxh3VDyf0B0yBlfBhWS_CK-_JSuxz40sAv4CJ4zh5d32B2yOeN7jN0PV0kqqXresnm3pWLwvplpyexXw-dD96JbgxeTBopekg [expires_in] => 1800 [token_type] => Bearer [refresh_token] => 2gPajXBaIyV-rAnfy89yw1QAfTthkxV4Y6DZGfqsfsg [scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access ) [2025-03-20 09:13:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:13:05] Production.INFO: ==4802== Releasing lock... [2025-03-20 09:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:13:05] Production.INFO: AccountID 129 [2025-03-20 09:13:05] Production.INFO: AccountName Compass ELC - Apsley [2025-03-20 09:13:05] Production.INFO: Checkcustomer [2025-03-20 09:13:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Apsley" [2025-03-20 09:13:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:13:06 [end_date_ymd] => 2025-03-20 09:13:06 [RateCDR] => 1 ) [2025-03-20 09: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-03-20 06:13:06' and `end` < '2025-03-20 09: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-03-20 09:13:08] Production.INFO: Contact id print CheckCustomer Case===b88606e0-7c2f-487f-9327-5daeaa7e65c2 [2025-03-20 09:13:08] Production.INFO: -- count --1 [2025-03-20 09:13:08] Production.INFO: AccountID 242 [2025-03-20 09:13:08] Production.INFO: AccountName Ball Construction [2025-03-20 09:13:08] Production.INFO: Checkcustomer [2025-03-20 09:13:08] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-03-20 09:13:11] Production.INFO: Contact id print CheckCustomer Case===b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798 [2025-03-20 09:13:11] Production.INFO: -- count --1 [2025-03-20 09:13:11] Production.INFO: AccountID 39 [2025-03-20 09:13:11] Production.INFO: AccountName Riavera [2025-03-20 09:13:11] Production.INFO: Checkcustomer [2025-03-20 09:13:11] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Riavera" [2025-03-20 09:13:14] Production.INFO: Contact id print CheckCustomer Case===e55c0831-3c53-4fcf-8b75-89133eb5af09 [2025-03-20 09:13:14] Production.INFO: -- count --1 [2025-03-20 09:13:14] Production.INFO: -- Xero Add Inovice -- [2025-03-20 09:13:14] Production.INFO: CheckInvoice xerov2: INV11429 [2025-03-20 09:13:14] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV11429 [2025-03-20 09:13:14] Production.ERROR: CronJobId end10 [2025-03-20 09:13:14] Production.INFO: ==4800== Releasing lock... [2025-03-20 09:13:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:13:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:13:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:13:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:13:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:13:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:13:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:13:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:13:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:13:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:13:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:13:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:13:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:13:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:13:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:13:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:13:17] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:13:17] Production.INFO: Invoice SubTotal 83.460000 [2025-03-20 09:13:17] Production.INFO: Invoice DetTotal 83.46 [2025-03-20 09:13:17] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Compass%20ELC%20-%20Apsley" [2025-03-20 09:13:17] Production.INFO: call_cost start [2025-03-20 09:13:17] Production.INFO: call_cost end [2025-03-20 09:13:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:13:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:13:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:13:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:13:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:13:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:13:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:13:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:13:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:13:18] Production.INFO: ==4796== Releasing lock... [2025-03-20 09:13:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:13:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:13:18] Production.INFO: count ==863 [2025-03-20 09:13:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:13:06 - End Time 2025-03-20 09:13:06 [2025-03-20 09:13:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721846', 'tblTempUsageDetail_20' ) start [2025-03-20 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721846', 'tblTempUsageDetail_20' ) end [2025-03-20 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721846', 'tblTempVendorCDR_20' ) start [2025-03-20 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721846', 'tblTempVendorCDR_20' ) end [2025-03-20 09:13:19] Production.INFO: ProcessCDR(1,14721846,1,1,2) [2025-03-20 09:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:13:20] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:13:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:13:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:13:23] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721846', 'tblTempUsageDetail_20' ) start [2025-03-20 09:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721846', 'tblTempUsageDetail_20' ) end [2025-03-20 09:13:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:13:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:13:25] Production.INFO: ==4804== Releasing lock... [2025-03-20 09:13:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:13:25] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 09:13:26] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:13:29] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 204,DiscountRate : 0.000000,"Description": "VDSL Internet Service 50x10 (238 Burleigh St, Apsley, ON K0L 1A0)",Quantity : 1,UnitAmount : 83.460000,LineAmount : 83.460000} [2025-03-20 09:13:32] Production.INFO: ==== result ===== [2025-03-20 09:13:32] Production.INFO: { "Id": "3fdba472-5588-4439-b124-22605ad53484", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476412519)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "86cabe59-9a6e-43c8-8c2c-573494591704", "InvoiceNumber": "INV11429", "Reference": "", "Prepayments": [], "Overpayments": [], "AmountDue": 94.31, "AmountPaid": 0.00, "SentToContact": false, "CurrencyRate": 1.0000000000, "TotalDiscount": 0.00, "IsDiscounted": true, "HasErrors": false, "InvoicePaymentServices": [], "Contact": { "ContactID": "b88606e0-7c2f-487f-9327-5daeaa7e65c2", "ContactStatus": "ACTIVE", "Name": "Compass ELC - Apsley", "FirstName": "Tammy", "LastName": "Phelan", "EmailAddress": "ap@compasselc.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(1594225462623+0000)\/", "ContactGroups": [], "IsSupplier": false, "IsCustomer": true, "SalesTrackingCategories": [], "PurchasesTrackingCategories": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2025-01-28T00:00:00", "Date": "\/Date(1738022400000+0000)\/", "DueDateString": "2025-02-27T00:00:00", "DueDate": "\/Date(1740614400000+0000)\/", "BrandingThemeID": "2e3f02ce-a6ea-4968-9633-b087c8eb128b", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "VDSL Internet Service 50x10 (238 Burleigh St, Apsley, ON K0L 1A0)", "UnitAmount": 83.46, "TaxType": "TAX020", "TaxAmount": 10.85, "LineAmount": 83.46, "AccountCode": "204", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "LineItemID": "a215abce-9a01-4829-9329-4e4618bd8e19", "AccountID": "b2bf83b2-1c14-4030-b69a-a5c5338ad7df", "DiscountAmount": 0.0000, "ValidationErrors": [] } ], "SubTotal": 83.46, "TotalTax": 10.85, "Total": 94.31, "UpdatedDateUTC": "\/Date(1742476412393+0000)\/", "CurrencyCode": "CAD", "StatusAttributeString": "OK" } ] } [2025-03-20 09:13:32] Production.INFO: -- Create Invoice id --86cabe59-9a6e-43c8-8c2c-573494591704 [2025-03-20 09:13:32] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:13:32] Production.INFO: CheckInvoice xerov2: INV10865 [2025-03-20 09:13:32] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV10865 [2025-03-20 09:13:35] Production.INFO: Check Invoice Id XEROV20 [2025-03-20 09:13:35] Production.INFO: Invoice SubTotal 1615.760000 [2025-03-20 09:13:35] Production.INFO: Invoice DetTotal 1615.76 [2025-03-20 09:13:35] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Contacts?where=Name="Ball%20Construction" [2025-03-20 09:13:38] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Items [2025-03-20 09:13:42] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/TaxRates [2025-03-20 09:13:44] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Accounts [2025-03-20 09:13:47] Production.INFO: =========Invoices String here======{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (06-18-2024 to 07-08-2024)",Quantity : 25,UnitAmount : 8.700000,LineAmount : 206.620000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (07-08-2024 to 08-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (08-08-2024 to 09-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (09-08-2024 to 10-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 5.000000,"Description": "License for an Unlimited Canada/US Cloud Phone extension (10-08-2024 to 11-08-2024)",Quantity : 25,UnitAmount : 12.990000,LineAmount : 308.510000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (06-18-2024 to 07-08-2024)",Quantity : 1,UnitAmount : 6.670000,LineAmount : 6.670000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (07-08-2024 to 08-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (08-08-2024 to 09-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (09-08-2024 to 10-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (10-08-2024 to 11-08-2024)",Quantity : 1,UnitAmount : 10.000000,LineAmount : 10.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (06-18-2024 to 07-08-2024)",Quantity : 25,UnitAmount : 0.670000,LineAmount : 16.750000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (07-08-2024 to 08-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (08-08-2024 to 09-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (09-08-2024 to 10-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "CloudPhone.ONE Softphone add-on (10-08-2024 to 11-08-2024)",Quantity : 25,UnitAmount : 1.000000,LineAmount : 25.000000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6) (06-18-2024 to 07-08-2024)",Quantity : 1,UnitAmount : 1.680000,LineAmount : 1.680000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (07-08-2024 to 08-08-2024) ",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (08-08-2024 to 09-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (09-08-2024 to 10-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000},{taxType:"TAX020",AccountCode : 203,DiscountRate : 0.000000,"Description": "e911 address registration (10-08-2024 to 11-08-2024)",Quantity : 1,UnitAmount : 2.500000,LineAmount : 2.500000} [2025-03-20 09:13:50] Production.INFO: ==== result ===== [2025-03-20 09:13:50] Production.INFO: { "Id": "bbc3f600-9468-44a0-8fb0-f534989751ce", "Status": "OK", "ProviderName": "Neon OAuth v2", "DateTimeUTC": "\/Date(1742476430782)\/", "Invoices": [ { "Type": "ACCREC", "InvoiceID": "00000000-0000-0000-0000-000000000000", "InvoiceNumber": "INV10865", "Payments": [], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "TotalDiscount": 75.84, "IsDiscounted": true, "InvoiceAddresses": [], "HasErrors": true, "InvoicePaymentServices": [], "Contact": { "ContactID": "b0bd4d3e-7d9a-4f7f-a743-aafe2ee02798", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false, "ValidationErrors": [] }, "DateString": "2024-10-10T00:00:00", "Date": "\/Date(1728518400000+0000)\/", "DueDateString": "2024-11-09T00:00:00", "DueDate": "\/Date(1731110400000+0000)\/", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [ { "Description": "License for an Unlimited Canada/US Cloud Phone extension (06-18-2024 to 07-08-2024)", "UnitAmount": 8.700000, "TaxType": "TAX020", "TaxAmount": 26.86, "LineAmount": 206.62, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (07-08-2024 to 08-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (08-08-2024 to 09-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (09-08-2024 to 10-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "License for an Unlimited Canada/US Cloud Phone extension (10-08-2024 to 11-08-2024)", "UnitAmount": 12.990000, "TaxType": "TAX020", "TaxAmount": 40.11, "LineAmount": 308.51, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 5.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "DiscountEnteredAsPercent": true, "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (06-18-2024 to 07-08-2024)", "UnitAmount": 6.670000, "TaxType": "TAX020", "TaxAmount": 0.87, "LineAmount": 6.67, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (07-08-2024 to 08-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (08-08-2024 to 09-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (09-08-2024 to 10-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "Fax-to-Email service, with ability to send faxes via CloudPhone.ONE admin portal (10-08-2024 to 11-08-2024)", "UnitAmount": 10.000000, "TaxType": "TAX020", "TaxAmount": 1.30, "LineAmount": 10.00, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (06-18-2024 to 07-08-2024)", "UnitAmount": 0.670000, "TaxType": "TAX020", "TaxAmount": 2.18, "LineAmount": 16.75, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (07-08-2024 to 08-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (08-08-2024 to 09-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (09-08-2024 to 10-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "CloudPhone.ONE Softphone add-on (10-08-2024 to 11-08-2024)", "UnitAmount": 1.000000, "TaxType": "TAX020", "TaxAmount": 3.25, "LineAmount": 25.00, "AccountCode": "203", "Tracking": [], "Quantity": 25.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (5197425851 - 5 Shirley Ave, Kitchener, ON N2B 2E6) (06-18-2024 to 07-08-2024)", "UnitAmount": 1.680000, "TaxType": "TAX020", "TaxAmount": 0.22, "LineAmount": 1.68, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (07-08-2024 to 08-08-2024) ", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (08-08-2024 to 09-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (09-08-2024 to 10-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] }, { "Description": "e911 address registration (10-08-2024 to 11-08-2024)", "UnitAmount": 2.500000, "TaxType": "TAX020", "TaxAmount": 0.33, "LineAmount": 2.50, "AccountCode": "203", "Tracking": [], "Quantity": 1.0000, "DiscountRate": 0.00, "AccountID": "493d352f-41b2-4e0a-9c89-0adfff4eb3b2", "ValidationErrors": [] } ], "SubTotal": 1615.76, "TotalTax": 210.09, "Total": 1825.85, "CurrencyCode": "CAD", "StatusAttributeString": "ERROR", "ValidationErrors": [ { "Message": "The line total 206.62 does not match the expected line total 206.63" } ] } ] } [2025-03-20 09:13:50] Production.INFO: -- Create Invoice Error -- [2025-03-20 09:13:50] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:13:50] Production.INFO: CheckInvoice xerov2: INV9661 [2025-03-20 09:13:50] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Invoices?InvoiceNumbers=INV9661 [2025-03-20 09:13:53] Production.INFO: Check Invoice Id XEROV21 [2025-03-20 09:13:53] Production.INFO: -- Create Invoice Done -- [2025-03-20 09:13:53] Production.INFO: -- Xero End Inovice -- [2025-03-20 09:13:53] Production.INFO: ==4794== Releasing lock... [2025-03-20 09:13:53] Production.INFO: xeroinvoicepostv2-command-xeroinvoicepostv2-companyid-1-jobid-10802 #Stops# [2025-03-20 09:13:53] Production.INFO: 30.75 MB #Memory Used# [2025-03-20 13:14:02] Production.INFO: ==4895== Lock acquired, processing the job... [2025-03-20 13:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:14:02] Production.INFO: neon service started [2025-03-20 13:14:02] Production.INFO: neon service started [2025-03-20 13:14:02] Production.INFO: ==4895== Releasing lock... [2025-03-20 13:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:14:02] Production.INFO: ==4899== Lock acquired, processing the job... [2025-03-20 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:14:02] Production.INFO: ==4899== Releasing lock... [2025-03-20 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:14:02] Production.INFO: ==4897== Lock acquired, processing the job... [2025-03-20 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:14:03] Production.INFO: ==4897== Releasing lock... [2025-03-20 09:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:14:03] Production.INFO: ==4902== Lock acquired, processing the job... [2025-03-20 09:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:14:03] Production.INFO: ==4908== Lock acquired, processing the job... [2025-03-20 09:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:14:04] Production.INFO: Account Balance Start. [2025-03-20 09:14:04] Production.INFO: CreateAllLog Start [2025-03-20 09:14:04] Production.INFO: 117 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:14:04] Production.INFO: Total Charge 0 [2025-03-20 09:14:04] Production.INFO: CreateAllLog End [2025-03-20 09:14:04] Production.INFO: ==4904== Lock acquired, processing the job... [2025-03-20 09:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:14:04] Production.INFO: ==4912== Lock acquired, processing the job... [2025-03-20 09:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:14:04] Production.INFO: ==4906== Lock acquired, processing the job... [2025-03-20 09:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:14:04] Production.INFO: ==4910== Lock acquired, processing the job... [2025-03-20 09:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:14:04] Production.INFO: Account Balance End. [2025-03-20 09:14:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:14:04] Production.INFO: ==4908== Releasing lock... [2025-03-20 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:14: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-03-20 09:14:05] Production.INFO: count ==12 [2025-03-20 09:14:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:14:05] Production.INFO: count ==23 [2025-03-20 09:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721850') start [2025-03-20 09:14:05] Production.INFO: ==4904== Releasing lock... [2025-03-20 09:14:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:14:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:14:05] Production.ERROR: done [2025-03-20 09:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721850') end [2025-03-20 09:14:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:14:05] Production.INFO: 1 [2025-03-20 09:14:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:14:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:14:05] Production.INFO: ==4912== Releasing lock... [2025-03-20 09:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:14:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:14:05] Production.ERROR: done [2025-03-20 09:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:14:06 [end_date_ymd] => 2025-03-20 09:14:06 [RateCDR] => 1 ) [2025-03-20 09: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-03-20 06:14:06' and `end` < '2025-03-20 09: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-03-20 09:14:14] Production.ERROR: CronJobId end10 [2025-03-20 09:14:14] Production.INFO: ==4906== Releasing lock... [2025-03-20 09:14:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:14:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:14:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:14:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:14:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:14:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:14:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:14:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:14:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:14:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:14:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:14:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:14:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:14:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:14:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:14:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:14:16] Production.INFO: call_cost start [2025-03-20 09:14:16] Production.INFO: call_cost end [2025-03-20 09:14:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:14:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:14:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:14:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:14:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:14:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:14:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:14:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:14:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:14:17] Production.INFO: ==4902== Releasing lock... [2025-03-20 09:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:14:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:14:18] Production.INFO: count ==864 [2025-03-20 09:14:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:14:06 - End Time 2025-03-20 09:14:06 [2025-03-20 09:14:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721851', 'tblTempUsageDetail_20' ) start [2025-03-20 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721851', 'tblTempUsageDetail_20' ) end [2025-03-20 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721851', 'tblTempVendorCDR_20' ) start [2025-03-20 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721851', 'tblTempVendorCDR_20' ) end [2025-03-20 09:14:18] Production.INFO: ProcessCDR(1,14721851,1,1,2) [2025-03-20 09:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721851,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721851,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721851', 'tblTempUsageDetail_20' ) start [2025-03-20 09:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721851', 'tblTempUsageDetail_20' ) end [2025-03-20 09:14:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:14:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:14:24] Production.INFO: ==4910== Releasing lock... [2025-03-20 09:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:14:24] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 13:15:01] Production.INFO: ==4990== Lock acquired, processing the job... [2025-03-20 13:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:15:01] Production.INFO: neon service started [2025-03-20 13:15:01] Production.INFO: neon service started [2025-03-20 13:15:01] Production.INFO: ==4990== Releasing lock... [2025-03-20 13:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:15:02] Production.INFO: ==4992== Lock acquired, processing the job... [2025-03-20 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:15:02] Production.INFO: ==4994== Lock acquired, processing the job... [2025-03-20 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:15:02] Production.INFO: ==4992== Releasing lock... [2025-03-20 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:15:02] Production.INFO: ==4994== Releasing lock... [2025-03-20 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:15:03] Production.INFO: ==5005== Lock acquired, processing the job... [2025-03-20 09:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:15:03] Production.INFO: ==5007== Lock acquired, processing the job... [2025-03-20 09:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:15:03] Production.INFO: ==4997== Lock acquired, processing the job... [2025-03-20 09:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:15:03] Production.INFO: ==4999== Lock acquired, processing the job... [2025-03-20 09:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:15:04] Production.INFO: ==5003== Lock acquired, processing the job... [2025-03-20 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:15:04] Production.INFO: ==5001== Lock acquired, processing the job... [2025-03-20 09:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:15:04] Production.INFO: count ==12 [2025-03-20 09:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:15:04] Production.INFO: count ==23 [2025-03-20 09:15:04] Production.ERROR: done [2025-03-20 09:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721852') start [2025-03-20 09:15:04] Production.INFO: Account Balance Start. [2025-03-20 09:15:04] Production.INFO: CreateAllLog Start [2025-03-20 09:15:04] Production.INFO: 117 [2025-03-20 09:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:15:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: ==4999== Releasing lock... [2025-03-20 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:15:04] Production.ERROR: done [2025-03-20 09:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721852') end [2025-03-20 09:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:15:04] Production.INFO: 1 [2025-03-20 09:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:15:04] Production.INFO: ==5007== Releasing lock... [2025-03-20 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:15:04] Production.INFO: Total Charge 0 [2025-03-20 09:15:04] Production.INFO: CreateAllLog End [2025-03-20 09:15:04] Production.INFO: Account Balance End. [2025-03-20 09:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:15:04] Production.INFO: ==5003== Releasing lock... [2025-03-20 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:15:05 [end_date_ymd] => 2025-03-20 09:15:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:15:05' and `end` < '2025-03-20 09:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:15:13] Production.ERROR: CronJobId end10 [2025-03-20 09:15:13] Production.INFO: ==5001== Releasing lock... [2025-03-20 09:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:15:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:15:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:15:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:15:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:15:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:15:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:15:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:15:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:15:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:15:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:15:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:15:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:15:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:15:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:15:16] Production.INFO: call_cost start [2025-03-20 09:15:16] Production.INFO: call_cost end [2025-03-20 09:15:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:15:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:15:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:15:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:15:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:15:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:15:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:15:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:15:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:15:18] Production.INFO: ==4997== Releasing lock... [2025-03-20 09:15:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:15:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:15:18] Production.INFO: count ==877 [2025-03-20 09:15:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:15:05 - End Time 2025-03-20 09:15:05 [2025-03-20 09:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721856', 'tblTempUsageDetail_20' ) start [2025-03-20 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721856', 'tblTempUsageDetail_20' ) end [2025-03-20 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721856', 'tblTempVendorCDR_20' ) start [2025-03-20 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721856', 'tblTempVendorCDR_20' ) end [2025-03-20 09:15:18] Production.INFO: ProcessCDR(1,14721856,1,1,2) [2025-03-20 09:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721856', 'tblTempUsageDetail_20' ) start [2025-03-20 09:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721856', 'tblTempUsageDetail_20' ) end [2025-03-20 09:15:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:15:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:15:24] Production.INFO: ==5005== Releasing lock... [2025-03-20 09:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:15:24] Production.INFO: 35 MB #Memory Used# [2025-03-20 13:16:01] Production.INFO: ==5076== Lock acquired, processing the job... [2025-03-20 13:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:16:01] Production.INFO: neon service started [2025-03-20 13:16:01] Production.INFO: neon service started [2025-03-20 13:16:01] Production.INFO: ==5076== Releasing lock... [2025-03-20 13:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:16:01] Production.INFO: ==5078== Lock acquired, processing the job... [2025-03-20 09:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:16:02] Production.INFO: ==5078== Releasing lock... [2025-03-20 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:16:02] Production.INFO: ==5080== Lock acquired, processing the job... [2025-03-20 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:16:02] Production.INFO: ==5080== Releasing lock... [2025-03-20 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:16:03] Production.INFO: ==5082== Lock acquired, processing the job... [2025-03-20 09:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:16:03] Production.INFO: ==5086== Lock acquired, processing the job... [2025-03-20 09:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:16:03] Production.INFO: ==5084== Lock acquired, processing the job... [2025-03-20 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:16:03] Production.INFO: ==5092== Lock acquired, processing the job... [2025-03-20 09:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:16:03] Production.INFO: ==5088== Lock acquired, processing the job... [2025-03-20 09:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:16:03] Production.INFO: ==5090== Lock acquired, processing the job... [2025-03-20 09:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:16:03] Production.INFO: Account Balance Start. [2025-03-20 09:16:03] Production.INFO: CreateAllLog Start [2025-03-20 09:16:03] Production.INFO: 117 [2025-03-20 09:16:03] Production.INFO: count ==12 [2025-03-20 09:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:16:03] Production.INFO: count ==23 [2025-03-20 09:16:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721859') start [2025-03-20 09:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721859') end [2025-03-20 09:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:16:03] Production.INFO: 1 [2025-03-20 09:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:16:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:03] Production.INFO: ==5092== Releasing lock... [2025-03-20 09:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:16:04] Production.INFO: ==5084== Releasing lock... [2025-03-20 09:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:04] Production.ERROR: done [2025-03-20 09:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:04] Production.ERROR: done [2025-03-20 09:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:16:04] Production.INFO: Total Charge 0 [2025-03-20 09:16:04] Production.INFO: CreateAllLog End [2025-03-20 09:16:04] Production.INFO: Account Balance End. [2025-03-20 09:16:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:16:04] Production.INFO: ==5088== Releasing lock... [2025-03-20 09:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:16:05 [end_date_ymd] => 2025-03-20 09:16:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:16:05' and `end` < '2025-03-20 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-03-20 09:16:14] Production.ERROR: CronJobId end10 [2025-03-20 09:16:14] Production.INFO: ==5086== Releasing lock... [2025-03-20 09:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:16:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:16:16] Production.INFO: call_cost start [2025-03-20 09:16:16] Production.INFO: call_cost end [2025-03-20 09:16:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:16:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:16:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:16:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:16:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:16:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:16:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:16:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:16:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:16:17] Production.INFO: ==5082== Releasing lock... [2025-03-20 09:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:16:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:16:17] Production.INFO: count ==886 [2025-03-20 09:16:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:16:05 - End Time 2025-03-20 09:16:05 [2025-03-20 09:16:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721861', 'tblTempUsageDetail_20' ) start [2025-03-20 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721861', 'tblTempUsageDetail_20' ) end [2025-03-20 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721861', 'tblTempVendorCDR_20' ) start [2025-03-20 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721861', 'tblTempVendorCDR_20' ) end [2025-03-20 09:16:18] Production.INFO: ProcessCDR(1,14721861,1,1,2) [2025-03-20 09:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721861', 'tblTempUsageDetail_20' ) start [2025-03-20 09:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721861', 'tblTempUsageDetail_20' ) end [2025-03-20 09:16:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:16:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:16:23] Production.INFO: ==5090== Releasing lock... [2025-03-20 09:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:16:23] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 13:17:01] Production.INFO: ==5168== Lock acquired, processing the job... [2025-03-20 13:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:17:01] Production.INFO: neon service started [2025-03-20 13:17:01] Production.INFO: neon service started [2025-03-20 13:17:01] Production.INFO: ==5168== Releasing lock... [2025-03-20 13:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:17:02] Production.INFO: ==5170== Lock acquired, processing the job... [2025-03-20 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:17:02] Production.INFO: ==5170== Releasing lock... [2025-03-20 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:17:02] Production.INFO: ==5172== Lock acquired, processing the job... [2025-03-20 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:17:02] Production.INFO: ==5172== Releasing lock... [2025-03-20 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:17:03] Production.INFO: ==5174== Lock acquired, processing the job... [2025-03-20 09:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:17:03] Production.INFO: ==5178== Lock acquired, processing the job... [2025-03-20 09:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:17:03] Production.INFO: ==5176== Lock acquired, processing the job... [2025-03-20 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:17:03] Production.INFO: ==5185== Lock acquired, processing the job... [2025-03-20 09:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:17:03] Production.INFO: ==5180== Lock acquired, processing the job... [2025-03-20 09:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:17:03] Production.INFO: ==5182== Lock acquired, processing the job... [2025-03-20 09:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 09:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:17:03] Production.INFO: count ==12 [2025-03-20 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-03-20 09:17:03] Production.INFO: count ==23 [2025-03-20 09:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721864') start [2025-03-20 09:17:03] Production.INFO: Account Balance Start. [2025-03-20 09:17:03] Production.INFO: CreateAllLog Start [2025-03-20 09:17:03] Production.INFO: 117 [2025-03-20 09:17:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721864') end [2025-03-20 09:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:17:04] Production.INFO: 1 [2025-03-20 09:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:17:04] Production.INFO: ==5176== Releasing lock... [2025-03-20 09:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:17:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.INFO: ==5185== Releasing lock... [2025-03-20 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:17:04] Production.ERROR: done [2025-03-20 09:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:17:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.ERROR: done [2025-03-20 09:17:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:17:04] Production.INFO: Total Charge 0 [2025-03-20 09:17:04] Production.INFO: CreateAllLog End [2025-03-20 09:17:04] Production.INFO: Account Balance End. [2025-03-20 09:17:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:17:05] Production.INFO: ==5180== Releasing lock... [2025-03-20 09:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:17:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:17:05 [end_date_ymd] => 2025-03-20 09:17:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:17:05' and `end` < '2025-03-20 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-03-20 09:17:12] Production.ERROR: CronJobId end10 [2025-03-20 09:17:12] Production.INFO: ==5178== Releasing lock... [2025-03-20 09:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:17:14] Production.INFO: call_cost start [2025-03-20 09:17:14] Production.INFO: call_cost end [2025-03-20 09:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:17:15] Production.INFO: ==5174== Releasing lock... [2025-03-20 09:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:17:18] Production.INFO: count ==900 [2025-03-20 09:17:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:17:05 - End Time 2025-03-20 09:17:05 [2025-03-20 09:17:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721866', 'tblTempUsageDetail_20' ) start [2025-03-20 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721866', 'tblTempUsageDetail_20' ) end [2025-03-20 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721866', 'tblTempVendorCDR_20' ) start [2025-03-20 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721866', 'tblTempVendorCDR_20' ) end [2025-03-20 09:17:18] Production.INFO: ProcessCDR(1,14721866,1,1,2) [2025-03-20 09:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721866', 'tblTempUsageDetail_20' ) start [2025-03-20 09:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721866', 'tblTempUsageDetail_20' ) end [2025-03-20 09:17:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:17:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:17:23] Production.INFO: ==5182== Releasing lock... [2025-03-20 09:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:17:23] Production.INFO: 34.5 MB #Memory Used# [2025-03-20 13:18:02] Production.INFO: ==5274== Lock acquired, processing the job... [2025-03-20 13:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:18:02] Production.INFO: neon service started [2025-03-20 13:18:02] Production.INFO: neon service started [2025-03-20 13:18:02] Production.INFO: ==5274== Releasing lock... [2025-03-20 13:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 09:18:03] Production.INFO: ==5276== Lock acquired, processing the job... [2025-03-20 09:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:18:03] Production.INFO: ==5278== Lock acquired, processing the job... [2025-03-20 13:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:18:03] Production.INFO: ==5278== Releasing lock... [2025-03-20 13:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:18:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:18:03] Production.INFO: ==5276== Releasing lock... [2025-03-20 09:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:18:04] Production.INFO: ==5283== Lock acquired, processing the job... [2025-03-20 09:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:18:04] Production.INFO: ==5285== Lock acquired, processing the job... [2025-03-20 09:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:18:04] Production.INFO: ==5289== Lock acquired, processing the job... [2025-03-20 09:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:18:04] Production.INFO: ==5287== Lock acquired, processing the job... [2025-03-20 09:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:18:04] Production.INFO: Account Balance Start. [2025-03-20 09:18:04] Production.INFO: CreateAllLog Start [2025-03-20 09:18:04] Production.INFO: 117 [2025-03-20 09:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:04] Production.INFO: ==5285== Releasing lock... [2025-03-20 09:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:04] Production.INFO: ==5291== Lock acquired, processing the job... [2025-03-20 09:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:18:04] Production.INFO: ==5294== Lock acquired, processing the job... [2025-03-20 09:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:18:04] Production.INFO: count ==12 [2025-03-20 09:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:18:04] Production.INFO: count ==23 [2025-03-20 09:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721870') start [2025-03-20 09:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:05] Production.INFO: Date 2025-03-15 [2025-03-20 09:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:05] Production.INFO: Date 2025-03-16 [2025-03-20 09:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721870') end [2025-03-20 09:18:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:18:05] Production.INFO: 1 [2025-03-20 09:18:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:18:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:05] Production.INFO: ==5294== Releasing lock... [2025-03-20 09:18:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:18:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:18:05] Production.ERROR: done [2025-03-20 09:18:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:18:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:18:05] Production.INFO: Total Charge 0 [2025-03-20 09:18:05] Production.INFO: CreateAllLog End [2025-03-20 09:18:05] Production.ERROR: done [2025-03-20 09:18:05] Production.INFO: Account Balance End. [2025-03-20 09:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:18:05] Production.INFO: ==5289== Releasing lock... [2025-03-20 09:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:18:06 [end_date_ymd] => 2025-03-20 09:18:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:18:06' and `end` < '2025-03-20 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-03-20 09:18:13] Production.ERROR: CronJobId end10 [2025-03-20 09:18:13] Production.INFO: ==5287== Releasing lock... [2025-03-20 09:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:18:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:18:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:18:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:18:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:18:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:18:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:18:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:18:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:18:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:18:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:18:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:18:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:18:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:18:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:18:16] Production.INFO: call_cost start [2025-03-20 09:18:16] Production.INFO: call_cost end [2025-03-20 09:18:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:18:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:18:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:18:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:18:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:18:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:18:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:18:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:18:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:18:17] Production.INFO: ==5283== Releasing lock... [2025-03-20 09:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:18:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:18:19] Production.INFO: count ==903 [2025-03-20 09:18:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:18:06 - End Time 2025-03-20 09:18:06 [2025-03-20 09:18:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721871', 'tblTempUsageDetail_20' ) start [2025-03-20 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721871', 'tblTempUsageDetail_20' ) end [2025-03-20 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721871', 'tblTempVendorCDR_20' ) start [2025-03-20 09:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721871', 'tblTempVendorCDR_20' ) end [2025-03-20 09:18:19] Production.INFO: ProcessCDR(1,14721871,1,1,2) [2025-03-20 09:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721871', 'tblTempUsageDetail_20' ) start [2025-03-20 09:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721871', 'tblTempUsageDetail_20' ) end [2025-03-20 09:18:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:18:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:18:24] Production.INFO: ==5291== Releasing lock... [2025-03-20 09:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:18:24] Production.INFO: 35 MB #Memory Used# [2025-03-20 13:19:01] Production.INFO: ==5370== Lock acquired, processing the job... [2025-03-20 13:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:19:01] Production.INFO: neon service started [2025-03-20 13:19:01] Production.INFO: neon service started [2025-03-20 13:19:01] Production.INFO: ==5370== Releasing lock... [2025-03-20 13:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:19:02] Production.INFO: ==5374== Lock acquired, processing the job... [2025-03-20 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:19:02] Production.INFO: ==5374== Releasing lock... [2025-03-20 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:19:02] Production.INFO: ==5372== Lock acquired, processing the job... [2025-03-20 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:19:02] Production.INFO: ==5372== Releasing lock... [2025-03-20 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:19:03] Production.INFO: ==5377== Lock acquired, processing the job... [2025-03-20 09:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:19:03] Production.INFO: ==5385== Lock acquired, processing the job... [2025-03-20 09:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:19:03] Production.INFO: ==5379== Lock acquired, processing the job... [2025-03-20 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:19:03] Production.INFO: ==5383== Lock acquired, processing the job... [2025-03-20 09:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:19:03] Production.INFO: ==5381== Lock acquired, processing the job... [2025-03-20 09:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:19:03] Production.INFO: ==5387== Lock acquired, processing the job... [2025-03-20 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:19:04] Production.ERROR: done [2025-03-20 09:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:19:04] Production.INFO: Account Balance Start. [2025-03-20 09:19:04] Production.INFO: CreateAllLog Start [2025-03-20 09:19:04] Production.INFO: 117 [2025-03-20 09:19:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:19:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.INFO: count ==12 [2025-03-20 09:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:19:04] Production.INFO: count ==23 [2025-03-20 09:19:04] Production.ERROR: done [2025-03-20 09:19:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721874') start [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721874') end [2025-03-20 09:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:19:04] Production.INFO: 1 [2025-03-20 09:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.INFO: ==5379== Releasing lock... [2025-03-20 09:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:19:04] Production.INFO: ==5387== Releasing lock... [2025-03-20 09:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:19:04] Production.INFO: Total Charge 0 [2025-03-20 09:19:04] Production.INFO: CreateAllLog End [2025-03-20 09:19:04] Production.INFO: Account Balance End. [2025-03-20 09:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:19:04] Production.INFO: ==5383== Releasing lock... [2025-03-20 09:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:19:05 [end_date_ymd] => 2025-03-20 09:19:05 [RateCDR] => 1 ) [2025-03-20 09:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:19:05' and `end` < '2025-03-20 09:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:19:13] Production.ERROR: CronJobId end10 [2025-03-20 09:19:13] Production.INFO: ==5381== Releasing lock... [2025-03-20 09:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:19:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:19:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:19:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:19:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:19:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:19:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:19:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:19:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:19:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:19:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:19:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:19:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:19:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:19:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:19:16] Production.INFO: call_cost start [2025-03-20 09:19:16] Production.INFO: call_cost end [2025-03-20 09:19:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:19:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:19:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:19:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:19:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:19:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:19:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:19:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:19:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:19:17] Production.INFO: ==5377== Releasing lock... [2025-03-20 09:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:19:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:19:17] Production.INFO: count ==914 [2025-03-20 09:19:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:19:05 - End Time 2025-03-20 09:19:05 [2025-03-20 09:19:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721876', 'tblTempUsageDetail_20' ) start [2025-03-20 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721876', 'tblTempUsageDetail_20' ) end [2025-03-20 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721876', 'tblTempVendorCDR_20' ) start [2025-03-20 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721876', 'tblTempVendorCDR_20' ) end [2025-03-20 09:19:18] Production.INFO: ProcessCDR(1,14721876,1,1,2) [2025-03-20 09:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721876', 'tblTempUsageDetail_20' ) start [2025-03-20 09:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721876', 'tblTempUsageDetail_20' ) end [2025-03-20 09:19:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:19:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:19:23] Production.INFO: ==5385== Releasing lock... [2025-03-20 09:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:19:23] Production.INFO: 34.75 MB #Memory Used# [2025-03-20 13:20:02] Production.INFO: ==5466== Lock acquired, processing the job... [2025-03-20 13:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:20:02] Production.INFO: neon service started [2025-03-20 13:20:02] Production.INFO: neon service started [2025-03-20 13:20:02] Production.INFO: ==5466== Releasing lock... [2025-03-20 13:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:20:02] Production.INFO: ==5468== Lock acquired, processing the job... [2025-03-20 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:20:03] Production.INFO: ==5470== Lock acquired, processing the job... [2025-03-20 13:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:20:03] Production.INFO: ==5468== Releasing lock... [2025-03-20 09:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:20:03] Production.INFO: ==5470== Releasing lock... [2025-03-20 13:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:20:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:20:04] Production.INFO: ==5472== Lock acquired, processing the job... [2025-03-20 09:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 09:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 09:20:04] Production.INFO: ==5476== Lock acquired, processing the job... [2025-03-20 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 09:20:04] Production.INFO: ==5472== Releasing lock... [2025-03-20 09:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 09:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 09:20:04] Production.INFO: ==5478== Lock acquired, processing the job... [2025-03-20 09:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:20:04] Production.INFO: ==5483== Lock acquired, processing the job... [2025-03-20 09:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:20:04] Production.INFO: ==5474== Lock acquired, processing the job... [2025-03-20 09:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:20:04] Production.INFO: ==5480== Lock acquired, processing the job... [2025-03-20 09:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:20:04] Production.INFO: ==5476== Releasing lock... [2025-03-20 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:20:04] Production.INFO: ==5485== Lock acquired, processing the job... [2025-03-20 09:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 09:20:04] Production.INFO: ==5487== Lock acquired, processing the job... [2025-03-20 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:20:04] Production.INFO: Account Balance Start. [2025-03-20 09:20:04] Production.INFO: CreateAllLog Start [2025-03-20 09:20:05] Production.INFO: 117 [2025-03-20 09:20:05] Production.INFO: Date 2025-03-08 [2025-03-20 09: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-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:05] Production.INFO: count ==12 [2025-03-20 09: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-03-20 09:20:05] Production.INFO: count ==23 [2025-03-20 09:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721879') start [2025-03-20 09:20:05] Production.ERROR: done [2025-03-20 09:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:20:05] Production.INFO: Date 2025-03-09 [2025-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:05] Production.INFO: Date 2025-03-10 [2025-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:05] Production.INFO: Date 2025-03-11 [2025-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:05] Production.INFO: Date 2025-03-12 [2025-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:05] Production.INFO: Date 2025-03-13 [2025-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:05] Production.INFO: Date 2025-03-14 [2025-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:05] Production.ERROR: done [2025-03-20 09:20:05] Production.INFO: Date 2025-03-15 [2025-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:05] Production.ERROR: done [2025-03-20 09:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721879') end [2025-03-20 09:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:20:05] Production.INFO: 1 [2025-03-20 09:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:20:05] Production.INFO: Date 2025-03-16 [2025-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:05] Production.INFO: ==5487== Releasing lock... [2025-03-20 09:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 09:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721882', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 09:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:06] Production.INFO: Date 2025-03-20 [2025-03-20 09:20:06] Production.INFO: Reseller ==> 0 [2025-03-20 09:20:06] Production.INFO: Total Charge 0 [2025-03-20 09:20:06] Production.INFO: CreateAllLog End [2025-03-20 09:20:06] Production.INFO: Account Balance End. [2025-03-20 09:20:06] Production.ERROR: CronJobId end 12 [2025-03-20 09:20:06] Production.INFO: ==5480== Releasing lock... [2025-03-20 09:20:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:20:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:20:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:20:07 [end_date_ymd] => 2025-03-20 09:20:07 [RateCDR] => 1 ) [2025-03-20 09:20:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:20:07' and `end` < '2025-03-20 09:20:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721882', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 09:20:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 09:20:10] Production.INFO: ProcessCDR(1,14721882,1,1,2) [2025-03-20 09:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721882,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721882,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:20:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:20:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:20:10] Production.INFO: ==5485== Releasing lock... [2025-03-20 09:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 09:20:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 09:20:15] Production.ERROR: CronJobId end10 [2025-03-20 09:20:15] Production.INFO: ==5478== Releasing lock... [2025-03-20 09:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:20:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:20:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:20:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:20:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:20:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:20:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:20:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:20:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:20:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:20:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:20:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:20:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:20:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:20:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:20:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:20:18] Production.INFO: call_cost start [2025-03-20 09:20:18] Production.INFO: call_cost end [2025-03-20 09:20:19] Production.INFO: count ==935 [2025-03-20 09:20:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:20:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:20:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:20:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:20:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:20:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:20:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:20:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:20:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:20:19] Production.INFO: ==5474== Releasing lock... [2025-03-20 09:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:20:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:20:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:20:07 - End Time 2025-03-20 09:20:07 [2025-03-20 09:20:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721881', 'tblTempUsageDetail_20' ) start [2025-03-20 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721881', 'tblTempUsageDetail_20' ) end [2025-03-20 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721881', 'tblTempVendorCDR_20' ) start [2025-03-20 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721881', 'tblTempVendorCDR_20' ) end [2025-03-20 09:20:19] Production.INFO: ProcessCDR(1,14721881,1,1,2) [2025-03-20 09:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:20:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:20:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721881', 'tblTempUsageDetail_20' ) start [2025-03-20 09:20:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721881', 'tblTempUsageDetail_20' ) end [2025-03-20 09:20:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:20:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:20:25] Production.INFO: ==5483== Releasing lock... [2025-03-20 09:20:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:20:25] Production.INFO: 35.5 MB #Memory Used# [2025-03-20 13:21:01] Production.INFO: ==5560== Lock acquired, processing the job... [2025-03-20 13:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:21:01] Production.INFO: neon service started [2025-03-20 13:21:01] Production.INFO: neon service started [2025-03-20 13:21:01] Production.INFO: ==5560== Releasing lock... [2025-03-20 13:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:21:02] Production.INFO: ==5564== Lock acquired, processing the job... [2025-03-20 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:21:02] Production.INFO: ==5564== Releasing lock... [2025-03-20 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:21:02] Production.INFO: ==5562== Lock acquired, processing the job... [2025-03-20 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:21:02] Production.INFO: ==5562== Releasing lock... [2025-03-20 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:21:03] Production.INFO: ==5572== Lock acquired, processing the job... [2025-03-20 09:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:21:03] Production.INFO: ==5568== Lock acquired, processing the job... [2025-03-20 09:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:21:03] Production.INFO: ==5570== Lock acquired, processing the job... [2025-03-20 09:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:21:03] Production.INFO: ==5579== Lock acquired, processing the job... [2025-03-20 09:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:21:03] Production.INFO: ==5577== Lock acquired, processing the job... [2025-03-20 09:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:21:03] Production.INFO: ==5574== Lock acquired, processing the job... [2025-03-20 09:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:21:03] Production.INFO: count ==12 [2025-03-20 09:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:21:03] Production.INFO: count ==23 [2025-03-20 09:21:03] Production.INFO: Account Balance Start. [2025-03-20 09:21:03] Production.INFO: CreateAllLog Start [2025-03-20 09:21:03] Production.INFO: 117 [2025-03-20 09:21:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721884') start [2025-03-20 09:21:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:04] Production.INFO: ==5570== Releasing lock... [2025-03-20 09:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721884') end [2025-03-20 09:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:21:04] Production.INFO: 1 [2025-03-20 09:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:04] Production.INFO: ==5579== Releasing lock... [2025-03-20 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:21:04] Production.ERROR: done [2025-03-20 09:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:21:04] Production.INFO: Total Charge 0 [2025-03-20 09:21:04] Production.ERROR: done [2025-03-20 09:21:04] Production.INFO: CreateAllLog End [2025-03-20 09:21:04] Production.INFO: Account Balance End. [2025-03-20 09:21:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:21:04] Production.INFO: ==5574== Releasing lock... [2025-03-20 09:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:21:05 [end_date_ymd] => 2025-03-20 09:21:05 [RateCDR] => 1 ) [2025-03-20 09:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:21:05' and `end` < '2025-03-20 09:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:21:12] Production.ERROR: CronJobId end10 [2025-03-20 09:21:12] Production.INFO: ==5572== Releasing lock... [2025-03-20 09:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:21:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:21:15] Production.INFO: call_cost start [2025-03-20 09:21:15] Production.INFO: call_cost end [2025-03-20 09:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:21:16] Production.INFO: ==5568== Releasing lock... [2025-03-20 09:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:21:18] Production.INFO: count ==1015 [2025-03-20 09:21:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:21:05 - End Time 2025-03-20 09:21:05 [2025-03-20 09:21:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721887', 'tblTempUsageDetail_20' ) start [2025-03-20 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721887', 'tblTempUsageDetail_20' ) end [2025-03-20 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721887', 'tblTempVendorCDR_20' ) start [2025-03-20 09:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721887', 'tblTempVendorCDR_20' ) end [2025-03-20 09:21:18] Production.INFO: ProcessCDR(1,14721887,1,1,2) [2025-03-20 09:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721887,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721887,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721887', 'tblTempUsageDetail_20' ) start [2025-03-20 09:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721887', 'tblTempUsageDetail_20' ) end [2025-03-20 09:21:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:21:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:21:23] Production.INFO: ==5577== Releasing lock... [2025-03-20 09:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:21:23] Production.INFO: 36.25 MB #Memory Used# [2025-03-20 13:22:02] Production.INFO: ==5659== Lock acquired, processing the job... [2025-03-20 13:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:22:02] Production.INFO: neon service started [2025-03-20 13:22:02] Production.INFO: neon service started [2025-03-20 13:22:02] Production.INFO: ==5659== Releasing lock... [2025-03-20 13:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:22:02] Production.INFO: ==5663== Lock acquired, processing the job... [2025-03-20 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:22:02] Production.INFO: ==5663== Releasing lock... [2025-03-20 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:22:02] Production.INFO: ==5661== Lock acquired, processing the job... [2025-03-20 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:22:03] Production.INFO: ==5661== Releasing lock... [2025-03-20 09:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:22:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:22:03] Production.INFO: ==5666== Lock acquired, processing the job... [2025-03-20 09:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:22:04] Production.INFO: ==5668== Lock acquired, processing the job... [2025-03-20 09:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:22:04] Production.INFO: ==5672== Lock acquired, processing the job... [2025-03-20 09:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:22:04] Production.INFO: Account Balance Start. [2025-03-20 09:22:04] Production.INFO: CreateAllLog Start [2025-03-20 09:22:04] Production.INFO: 117 [2025-03-20 09:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:22:04] Production.INFO: ==5674== Lock acquired, processing the job... [2025-03-20 09:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:22:04] Production.INFO: ==5670== Lock acquired, processing the job... [2025-03-20 09:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:04] Production.INFO: ==5668== Releasing lock... [2025-03-20 09:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:22:04] Production.INFO: ==5676== Lock acquired, processing the job... [2025-03-20 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:04] Production.INFO: count ==12 [2025-03-20 09:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:22:04] Production.INFO: count ==23 [2025-03-20 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721891') start [2025-03-20 09:22:04] Production.ERROR: done [2025-03-20 09:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721891') end [2025-03-20 09:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:22:04] Production.INFO: 1 [2025-03-20 09:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:05] Production.INFO: ==5676== Releasing lock... [2025-03-20 09:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:22:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:22:05] Production.ERROR: done [2025-03-20 09:22:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:22:05] Production.INFO: Total Charge 0 [2025-03-20 09:22:05] Production.INFO: CreateAllLog End [2025-03-20 09:22:05] Production.INFO: Account Balance End. [2025-03-20 09:22:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:22:05] Production.INFO: ==5672== Releasing lock... [2025-03-20 09:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:22:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:22:06 [end_date_ymd] => 2025-03-20 09:22:06 [RateCDR] => 1 ) [2025-03-20 09:22:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:22:06' and `end` < '2025-03-20 09:22:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:22:14] Production.ERROR: CronJobId end10 [2025-03-20 09:22:14] Production.INFO: ==5670== Releasing lock... [2025-03-20 09:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:22:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:22:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:22:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:22:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:22:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:22:15] Production.INFO: call_cost start [2025-03-20 09:22:15] Production.INFO: call_cost end [2025-03-20 09:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:22:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:22:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:22:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:22:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:22:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:22:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:22:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:22:16] Production.INFO: ==5666== Releasing lock... [2025-03-20 09:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:22:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:22:18] Production.INFO: count ==1031 [2025-03-20 09:22:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:22:06 - End Time 2025-03-20 09:22:06 [2025-03-20 09:22:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721892', 'tblTempUsageDetail_20' ) start [2025-03-20 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721892', 'tblTempUsageDetail_20' ) end [2025-03-20 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721892', 'tblTempVendorCDR_20' ) start [2025-03-20 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721892', 'tblTempVendorCDR_20' ) end [2025-03-20 09:22:19] Production.INFO: ProcessCDR(1,14721892,1,1,2) [2025-03-20 09:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721892,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721892,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721892', 'tblTempUsageDetail_20' ) start [2025-03-20 09:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721892', 'tblTempUsageDetail_20' ) end [2025-03-20 09:22:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:22:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:22:24] Production.INFO: ==5674== Releasing lock... [2025-03-20 09:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:22:24] Production.INFO: 36.25 MB #Memory Used# [2025-03-20 13:23:01] Production.INFO: ==5758== Lock acquired, processing the job... [2025-03-20 13:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:23:01] Production.INFO: neon service started [2025-03-20 13:23:01] Production.INFO: neon service started [2025-03-20 13:23:01] Production.INFO: ==5758== Releasing lock... [2025-03-20 13:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:23:02] Production.INFO: ==5761== Lock acquired, processing the job... [2025-03-20 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:23:02] Production.INFO: ==5761== Releasing lock... [2025-03-20 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:23:02] Production.INFO: ==5763== Lock acquired, processing the job... [2025-03-20 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:23:02] Production.INFO: ==5763== Releasing lock... [2025-03-20 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:23:03] Production.INFO: ==5771== Lock acquired, processing the job... [2025-03-20 09:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:23:03] Production.INFO: Account Balance Start. [2025-03-20 09:23:03] Production.INFO: CreateAllLog Start [2025-03-20 09:23:03] Production.INFO: 117 [2025-03-20 09:23:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:23:03] Production.INFO: ==5775== Lock acquired, processing the job... [2025-03-20 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:23:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:03] Production.INFO: count ==12 [2025-03-20 09:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:23:03] Production.INFO: count ==23 [2025-03-20 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721894') start [2025-03-20 09:23:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:03] Production.INFO: Date 2025-03-13 [2025-03-20 09:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:03] Production.INFO: ==5765== Lock acquired, processing the job... [2025-03-20 09:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721894') end [2025-03-20 09:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:23:03] Production.INFO: 1 [2025-03-20 09:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:23:03] Production.INFO: ==5775== Releasing lock... [2025-03-20 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:23:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:23:03] Production.INFO: Date 2025-03-14 [2025-03-20 09:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:03] Production.INFO: ==5769== Lock acquired, processing the job... [2025-03-20 09:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:04] Production.INFO: ==5767== Lock acquired, processing the job... [2025-03-20 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:04] Production.INFO: ==5773== Lock acquired, processing the job... [2025-03-20 09:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:23:04] Production.INFO: Total Charge 0 [2025-03-20 09:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:23:04] Production.INFO: CreateAllLog End [2025-03-20 09:23:04] Production.INFO: ==5767== Releasing lock... [2025-03-20 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:23:04] Production.ERROR: done [2025-03-20 09:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:23:04] Production.INFO: Account Balance End. [2025-03-20 09:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:23:04] Production.INFO: ==5771== Releasing lock... [2025-03-20 09:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:23:04] Production.ERROR: done [2025-03-20 09:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:23:05 [end_date_ymd] => 2025-03-20 09:23:05 [RateCDR] => 1 ) [2025-03-20 09:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:23:05' and `end` < '2025-03-20 09:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:23:14] Production.ERROR: CronJobId end10 [2025-03-20 09:23:14] Production.INFO: ==5769== Releasing lock... [2025-03-20 09:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:23:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:23:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:23:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:23:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:23:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:23:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:23:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:23:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:23:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:23:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:23:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:23:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:23:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:23:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:23:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:23:17] Production.INFO: call_cost start [2025-03-20 09:23:17] Production.INFO: call_cost end [2025-03-20 09:23:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:23:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:23:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:23:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:23:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:23:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:23:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:23:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:23:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:23:18] Production.INFO: ==5765== Releasing lock... [2025-03-20 09:23:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:23:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:23:18] Production.INFO: count ==1060 [2025-03-20 09:23:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:23:05 - End Time 2025-03-20 09:23:05 [2025-03-20 09:23:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721897', 'tblTempUsageDetail_20' ) start [2025-03-20 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721897', 'tblTempUsageDetail_20' ) end [2025-03-20 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721897', 'tblTempVendorCDR_20' ) start [2025-03-20 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721897', 'tblTempVendorCDR_20' ) end [2025-03-20 09:23:18] Production.INFO: ProcessCDR(1,14721897,1,1,2) [2025-03-20 09:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721897,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721897,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721897', 'tblTempUsageDetail_20' ) start [2025-03-20 09:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721897', 'tblTempUsageDetail_20' ) end [2025-03-20 09:23:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:23:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:23:24] Production.INFO: ==5773== Releasing lock... [2025-03-20 09:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:23:24] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 13:24:02] Production.INFO: ==5860== Lock acquired, processing the job... [2025-03-20 13:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:24:02] Production.INFO: neon service started [2025-03-20 13:24:02] Production.INFO: neon service started [2025-03-20 13:24:02] Production.INFO: ==5860== Releasing lock... [2025-03-20 13:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:24:02] Production.INFO: ==5862== Lock acquired, processing the job... [2025-03-20 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:24:03] Production.INFO: ==5862== Releasing lock... [2025-03-20 09:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:24:03] Production.INFO: ==5864== Lock acquired, processing the job... [2025-03-20 13:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:24:03] Production.INFO: ==5864== Releasing lock... [2025-03-20 13:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:24:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:24:04] Production.INFO: ==5869== Lock acquired, processing the job... [2025-03-20 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:24:04] Production.INFO: ==5872== Lock acquired, processing the job... [2025-03-20 09:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:24:04] Production.INFO: ==5877== Lock acquired, processing the job... [2025-03-20 09:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:24:04] Production.INFO: ==5867== Lock acquired, processing the job... [2025-03-20 09:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:24:04] Production.INFO: ==5875== Lock acquired, processing the job... [2025-03-20 09:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:24:04] Production.INFO: ==5869== Releasing lock... [2025-03-20 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:24:04] Production.INFO: ==5879== Lock acquired, processing the job... [2025-03-20 09:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:24:04] Production.ERROR: done [2025-03-20 09:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:24:04] Production.INFO: Account Balance Start. [2025-03-20 09:24:04] Production.INFO: CreateAllLog Start [2025-03-20 09:24:04] Production.INFO: 117 [2025-03-20 09:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:04] Production.INFO: count ==12 [2025-03-20 09:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:24:04] Production.INFO: count ==23 [2025-03-20 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721900') start [2025-03-20 09:24:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:05] Production.ERROR: done [2025-03-20 09:24:05] Production.INFO: Date 2025-03-12 [2025-03-20 09:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:05] Production.INFO: Date 2025-03-13 [2025-03-20 09:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721900') end [2025-03-20 09:24:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:24:05] Production.INFO: 1 [2025-03-20 09:24:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:24:05] Production.INFO: Date 2025-03-14 [2025-03-20 09:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:05] Production.INFO: ==5879== Releasing lock... [2025-03-20 09:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:24:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:24:05] Production.INFO: Date 2025-03-15 [2025-03-20 09:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:05] Production.INFO: Date 2025-03-16 [2025-03-20 09:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:24:05] Production.INFO: Total Charge 0 [2025-03-20 09:24:05] Production.INFO: CreateAllLog End [2025-03-20 09:24:05] Production.INFO: Account Balance End. [2025-03-20 09:24:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:24:05] Production.INFO: ==5875== Releasing lock... [2025-03-20 09:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:24:06 [end_date_ymd] => 2025-03-20 09:24:06 [RateCDR] => 1 ) [2025-03-20 09:24:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:24:06' and `end` < '2025-03-20 09:24:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:24:13] Production.ERROR: CronJobId end10 [2025-03-20 09:24:13] Production.INFO: ==5872== Releasing lock... [2025-03-20 09:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:24:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:24:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:24:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:24:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:24:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:24:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:24:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:24:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:24:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:24:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:24:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:24:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:24:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:24:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:24:17] Production.INFO: call_cost start [2025-03-20 09:24:17] Production.INFO: call_cost end [2025-03-20 09:24:18] Production.INFO: count ==1067 [2025-03-20 09:24:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:24:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:24:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:24:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:24:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:24:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:24:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:24:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:24:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:24:18] Production.INFO: ==5867== Releasing lock... [2025-03-20 09:24:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:24:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:24:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:24:06 - End Time 2025-03-20 09:24:06 [2025-03-20 09:24:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721902', 'tblTempUsageDetail_20' ) start [2025-03-20 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721902', 'tblTempUsageDetail_20' ) end [2025-03-20 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721902', 'tblTempVendorCDR_20' ) start [2025-03-20 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721902', 'tblTempVendorCDR_20' ) end [2025-03-20 09:24:19] Production.INFO: ProcessCDR(1,14721902,1,1,2) [2025-03-20 09:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721902', 'tblTempUsageDetail_20' ) start [2025-03-20 09:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721902', 'tblTempUsageDetail_20' ) end [2025-03-20 09:24:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:24:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:24:24] Production.INFO: ==5877== Releasing lock... [2025-03-20 09:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:24:24] Production.INFO: 36 MB #Memory Used# [2025-03-20 13:25:01] Production.INFO: ==5959== Lock acquired, processing the job... [2025-03-20 13:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:25:01] Production.INFO: neon service started [2025-03-20 13:25:01] Production.INFO: neon service started [2025-03-20 13:25:02] Production.INFO: ==5959== Releasing lock... [2025-03-20 13:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:25:02] Production.INFO: ==5961== Lock acquired, processing the job... [2025-03-20 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:25:02] Production.INFO: ==5963== Lock acquired, processing the job... [2025-03-20 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:25:02] Production.INFO: ==5963== Releasing lock... [2025-03-20 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:25:03] Production.INFO: ==5961== Releasing lock... [2025-03-20 09:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:25:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:25:04] Production.INFO: ==5974== Lock acquired, processing the job... [2025-03-20 09:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:25:04] Production.INFO: ==5966== Lock acquired, processing the job... [2025-03-20 09:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:25:04] Production.INFO: ==5972== Lock acquired, processing the job... [2025-03-20 09:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:25:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:25:04] Production.INFO: ==5968== Lock acquired, processing the job... [2025-03-20 09:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:25:04] Production.INFO: Account Balance Start. [2025-03-20 09:25:04] Production.INFO: CreateAllLog Start [2025-03-20 09:25:04] Production.INFO: 117 [2025-03-20 09:25:04] Production.INFO: ==5970== Lock acquired, processing the job... [2025-03-20 09:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:25:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:04] Production.INFO: ==5976== Lock acquired, processing the job... [2025-03-20 09:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:25:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:04] Production.ERROR: done [2025-03-20 09:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 09:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:04] Production.INFO: count ==12 [2025-03-20 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-03-20 09:25:04] Production.INFO: count ==23 [2025-03-20 09:25:04] Production.INFO: ==5968== Releasing lock... [2025-03-20 09:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721906') start [2025-03-20 09:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:04] Production.ERROR: done [2025-03-20 09:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721906') end [2025-03-20 09:25:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:25:05] Production.INFO: 1 [2025-03-20 09:25:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:25:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:25:05] Production.INFO: Total Charge 0 [2025-03-20 09:25:05] Production.INFO: ==5976== Releasing lock... [2025-03-20 09:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:25:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:25:05] Production.INFO: CreateAllLog End [2025-03-20 09:25:05] Production.INFO: Account Balance End. [2025-03-20 09:25:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:25:05] Production.INFO: ==5972== Releasing lock... [2025-03-20 09:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:25:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:25:06 [end_date_ymd] => 2025-03-20 09:25:06 [RateCDR] => 1 ) [2025-03-20 09: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-03-20 06:25:06' and `end` < '2025-03-20 09: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-03-20 09:25:14] Production.ERROR: CronJobId end10 [2025-03-20 09:25:14] Production.INFO: ==5970== Releasing lock... [2025-03-20 09:25:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:25:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:25:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:25:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:25:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:25:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:25:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:25:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:25:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:25:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:25:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:25:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:25:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:25:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:25:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:25:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:25:17] Production.INFO: call_cost start [2025-03-20 09:25:17] Production.INFO: call_cost end [2025-03-20 09:25:18] Production.INFO: count ==1068 [2025-03-20 09:25:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:25:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:25:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:25:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:25:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:25:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:25:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:25:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:25:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:25:18] Production.INFO: ==5966== Releasing lock... [2025-03-20 09:25:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:25:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:25:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:25:06 - End Time 2025-03-20 09:25:06 [2025-03-20 09:25:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721907', 'tblTempUsageDetail_20' ) start [2025-03-20 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721907', 'tblTempUsageDetail_20' ) end [2025-03-20 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721907', 'tblTempVendorCDR_20' ) start [2025-03-20 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721907', 'tblTempVendorCDR_20' ) end [2025-03-20 09:25:18] Production.INFO: ProcessCDR(1,14721907,1,1,2) [2025-03-20 09:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721907', 'tblTempUsageDetail_20' ) start [2025-03-20 09:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721907', 'tblTempUsageDetail_20' ) end [2025-03-20 09:25:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:25:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:25:24] Production.INFO: ==5974== Releasing lock... [2025-03-20 09:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:25:24] Production.INFO: 36.25 MB #Memory Used# [2025-03-20 13:26:01] Production.INFO: ==6058== Lock acquired, processing the job... [2025-03-20 13:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:26:01] Production.INFO: neon service started [2025-03-20 13:26:01] Production.INFO: neon service started [2025-03-20 13:26:01] Production.INFO: ==6058== Releasing lock... [2025-03-20 13:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:26:02] Production.INFO: ==6062== Lock acquired, processing the job... [2025-03-20 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:26:02] Production.INFO: ==6060== Lock acquired, processing the job... [2025-03-20 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:26:02] Production.INFO: ==6062== Releasing lock... [2025-03-20 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:26:02] Production.INFO: ==6060== Releasing lock... [2025-03-20 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:26:03] Production.INFO: ==6073== Lock acquired, processing the job... [2025-03-20 09:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:26:03] Production.INFO: ==6069== Lock acquired, processing the job... [2025-03-20 09:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:26:04] Production.INFO: ==6067== Lock acquired, processing the job... [2025-03-20 09:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:26:04] Production.INFO: ==6065== Lock acquired, processing the job... [2025-03-20 09:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:26:04] Production.INFO: ==6071== Lock acquired, processing the job... [2025-03-20 09:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:26:04] Production.INFO: ==6075== Lock acquired, processing the job... [2025-03-20 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:26:04] Production.ERROR: done [2025-03-20 09:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:26:04] Production.INFO: Account Balance Start. [2025-03-20 09:26:04] Production.INFO: CreateAllLog Start [2025-03-20 09:26:04] Production.INFO: 117 [2025-03-20 09:26:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:04] Production.INFO: count ==12 [2025-03-20 09:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:26:04] Production.INFO: count ==23 [2025-03-20 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721910') start [2025-03-20 09:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:04] Production.INFO: ==6067== Releasing lock... [2025-03-20 09:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721910') end [2025-03-20 09:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:26:04] Production.INFO: 1 [2025-03-20 09:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:04] Production.ERROR: done [2025-03-20 09:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:04] Production.INFO: ==6075== Releasing lock... [2025-03-20 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:26:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:26:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:26:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:26:05] Production.INFO: Total Charge 0 [2025-03-20 09:26:05] Production.INFO: CreateAllLog End [2025-03-20 09:26:05] Production.INFO: Account Balance End. [2025-03-20 09:26:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:26:05] Production.INFO: ==6071== Releasing lock... [2025-03-20 09:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:26:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:26:06 [end_date_ymd] => 2025-03-20 09:26:06 [RateCDR] => 1 ) [2025-03-20 09:26:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:26:06' and `end` < '2025-03-20 09:26:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:26:14] Production.ERROR: CronJobId end10 [2025-03-20 09:26:14] Production.INFO: ==6069== Releasing lock... [2025-03-20 09:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:26:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:26:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:26:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:26:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:26:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:26:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:26:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:26:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:26:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:26:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:26:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:26:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:26:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:26:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:26:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:26:17] Production.INFO: call_cost start [2025-03-20 09:26:17] Production.INFO: call_cost end [2025-03-20 09:26:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:26:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:26:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:26:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:26:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:26:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:26:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:26:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:26:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:26:18] Production.INFO: ==6065== Releasing lock... [2025-03-20 09:26:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:26:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:26:18] Production.INFO: count ==1079 [2025-03-20 09:26:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:26:06 - End Time 2025-03-20 09:26:06 [2025-03-20 09:26:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721912', 'tblTempUsageDetail_20' ) start [2025-03-20 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721912', 'tblTempUsageDetail_20' ) end [2025-03-20 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721912', 'tblTempVendorCDR_20' ) start [2025-03-20 09:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721912', 'tblTempVendorCDR_20' ) end [2025-03-20 09:26:18] Production.INFO: ProcessCDR(1,14721912,1,1,2) [2025-03-20 09:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721912', 'tblTempUsageDetail_20' ) start [2025-03-20 09:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721912', 'tblTempUsageDetail_20' ) end [2025-03-20 09:26:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:26:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:26:24] Production.INFO: ==6073== Releasing lock... [2025-03-20 09:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:26:24] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 13:27:01] Production.INFO: ==6154== Lock acquired, processing the job... [2025-03-20 13:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:27:02] Production.INFO: neon service started [2025-03-20 13:27:02] Production.INFO: neon service started [2025-03-20 13:27:02] Production.INFO: ==6154== Releasing lock... [2025-03-20 13:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:27:02] Production.INFO: ==6158== Lock acquired, processing the job... [2025-03-20 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:27:02] Production.INFO: ==6158== Releasing lock... [2025-03-20 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:27:02] Production.INFO: ==6156== Lock acquired, processing the job... [2025-03-20 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:27:02] Production.INFO: ==6156== Releasing lock... [2025-03-20 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:27:03] Production.INFO: ==6169== Lock acquired, processing the job... [2025-03-20 09:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:27:03] Production.INFO: ==6171== Lock acquired, processing the job... [2025-03-20 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:27:04] Production.INFO: ==6161== Lock acquired, processing the job... [2025-03-20 09:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:27:04] Production.INFO: ==6167== Lock acquired, processing the job... [2025-03-20 09:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:27:04] Production.INFO: ==6163== Lock acquired, processing the job... [2025-03-20 09:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:27:04] Production.INFO: ==6165== Lock acquired, processing the job... [2025-03-20 09:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:27:04] Production.INFO: Account Balance Start. [2025-03-20 09:27:04] Production.INFO: CreateAllLog Start [2025-03-20 09:27:04] Production.INFO: 117 [2025-03-20 09:27:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09: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-03-20 09:27:04] Production.INFO: count ==12 [2025-03-20 09:27:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:27:04] Production.INFO: count ==23 [2025-03-20 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721916') start [2025-03-20 09:27:04] Production.ERROR: done [2025-03-20 09:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:27:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721916') end [2025-03-20 09:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:27:04] Production.INFO: 1 [2025-03-20 09:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:27:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: ==6171== Releasing lock... [2025-03-20 09:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:27:04] Production.INFO: ==6163== Releasing lock... [2025-03-20 09:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:27:04] Production.ERROR: done [2025-03-20 09:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:27:04] Production.INFO: Total Charge 0 [2025-03-20 09:27:05] Production.INFO: CreateAllLog End [2025-03-20 09:27:05] Production.INFO: Account Balance End. [2025-03-20 09:27:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:27:05] Production.INFO: ==6167== Releasing lock... [2025-03-20 09:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:27:05 [end_date_ymd] => 2025-03-20 09:27:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:27:05' and `end` < '2025-03-20 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-03-20 09:27:13] Production.ERROR: CronJobId end10 [2025-03-20 09:27:13] Production.INFO: ==6165== Releasing lock... [2025-03-20 09:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:27:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:27:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:27:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:27:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:27:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:27:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:27:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:27:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:27:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:27:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:27:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:27:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:27:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:27:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:27:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:27:15] Production.INFO: call_cost start [2025-03-20 09:27:15] Production.INFO: call_cost end [2025-03-20 09:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:27:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:27:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:27:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:27:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:27:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:27:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:27:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:27:16] Production.INFO: ==6161== Releasing lock... [2025-03-20 09:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:27:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:27:18] Production.INFO: count ==1084 [2025-03-20 09:27:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:27:05 - End Time 2025-03-20 09:27:05 [2025-03-20 09:27:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721917', 'tblTempUsageDetail_20' ) start [2025-03-20 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721917', 'tblTempUsageDetail_20' ) end [2025-03-20 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721917', 'tblTempVendorCDR_20' ) start [2025-03-20 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721917', 'tblTempVendorCDR_20' ) end [2025-03-20 09:27:18] Production.INFO: ProcessCDR(1,14721917,1,1,2) [2025-03-20 09:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721917', 'tblTempUsageDetail_20' ) start [2025-03-20 09:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721917', 'tblTempUsageDetail_20' ) end [2025-03-20 09:27:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:27:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:27:23] Production.INFO: ==6169== Releasing lock... [2025-03-20 09:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:27:23] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 13:28:01] Production.INFO: ==6253== Lock acquired, processing the job... [2025-03-20 13:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:28:01] Production.INFO: neon service started [2025-03-20 13:28:01] Production.INFO: neon service started [2025-03-20 13:28:01] Production.INFO: ==6253== Releasing lock... [2025-03-20 13:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:28:01] Production.INFO: ==6255== Lock acquired, processing the job... [2025-03-20 09:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:28:02] Production.INFO: ==6255== Releasing lock... [2025-03-20 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:28:02] Production.INFO: ==6257== Lock acquired, processing the job... [2025-03-20 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:28:02] Production.INFO: ==6257== Releasing lock... [2025-03-20 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:28:03] Production.INFO: ==6265== Lock acquired, processing the job... [2025-03-20 09:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:28:03] Production.INFO: ==6267== Lock acquired, processing the job... [2025-03-20 09:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:28:03] Production.INFO: ==6259== Lock acquired, processing the job... [2025-03-20 09:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:28:03] Production.INFO: ==6261== Lock acquired, processing the job... [2025-03-20 09:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:28:03] Production.INFO: Account Balance Start. [2025-03-20 09:28:03] Production.INFO: CreateAllLog Start [2025-03-20 09:28:03] Production.INFO: ==6269== Lock acquired, processing the job... [2025-03-20 09:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:28:03] Production.INFO: 117 [2025-03-20 09:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:28:03] Production.INFO: ==6263== Lock acquired, processing the job... [2025-03-20 09:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:28:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:28:03] Production.INFO: count ==12 [2025-03-20 09:28:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:28:03] Production.INFO: count ==23 [2025-03-20 09:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721921') start [2025-03-20 09:28:03] Production.INFO: ==6261== Releasing lock... [2025-03-20 09:28:03] Production.ERROR: done [2025-03-20 09:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:28:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:28:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:28:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721921') end [2025-03-20 09:28:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:28:03] Production.INFO: 1 [2025-03-20 09:28:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:28:03] Production.INFO: Date 2025-03-13 [2025-03-20 09:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:03] Production.INFO: Date 2025-03-14 [2025-03-20 09:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:03] Production.INFO: Date 2025-03-15 [2025-03-20 09:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:03] Production.INFO: Date 2025-03-16 [2025-03-20 09:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:03] Production.INFO: ==6269== Releasing lock... [2025-03-20 09:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:28:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:28:03] Production.ERROR: done [2025-03-20 09:28:03] Production.INFO: Date 2025-03-17 [2025-03-20 09:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:28:04] Production.INFO: Total Charge 0 [2025-03-20 09:28:04] Production.INFO: CreateAllLog End [2025-03-20 09:28:04] Production.INFO: Account Balance End. [2025-03-20 09:28:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:28:04] Production.INFO: ==6265== Releasing lock... [2025-03-20 09:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:28:05 [end_date_ymd] => 2025-03-20 09:28:05 [RateCDR] => 1 ) [2025-03-20 09:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:28:05' and `end` < '2025-03-20 09:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:28:12] Production.ERROR: CronJobId end10 [2025-03-20 09:28:12] Production.INFO: ==6263== Releasing lock... [2025-03-20 09:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:28:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:28:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:28:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:28:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:28:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:28:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:28:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:28:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:28:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:28:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:28:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:28:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:28:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:28:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:28:15] Production.INFO: call_cost start [2025-03-20 09:28:15] Production.INFO: call_cost end [2025-03-20 09:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:28:16] Production.INFO: ==6259== Releasing lock... [2025-03-20 09:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:28:17] Production.INFO: count ==1102 [2025-03-20 09:28:17] Production.ERROR: pbx CDR StartTime 2025-03-20 06:28:05 - End Time 2025-03-20 09:28:05 [2025-03-20 09:28:17] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721922', 'tblTempUsageDetail_20' ) start [2025-03-20 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721922', 'tblTempUsageDetail_20' ) end [2025-03-20 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721922', 'tblTempVendorCDR_20' ) start [2025-03-20 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721922', 'tblTempVendorCDR_20' ) end [2025-03-20 09:28:18] Production.INFO: ProcessCDR(1,14721922,1,1,2) [2025-03-20 09:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721922', 'tblTempUsageDetail_20' ) start [2025-03-20 09:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721922', 'tblTempUsageDetail_20' ) end [2025-03-20 09:28:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:28:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:28:21] Production.INFO: ==6267== Releasing lock... [2025-03-20 09:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:28:21] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 13:29:01] Production.INFO: ==6391== Lock acquired, processing the job... [2025-03-20 13:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:29:01] Production.INFO: neon service started [2025-03-20 13:29:01] Production.INFO: neon service started [2025-03-20 13:29:01] Production.INFO: ==6391== Releasing lock... [2025-03-20 13:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:29:02] Production.INFO: ==6393== Lock acquired, processing the job... [2025-03-20 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:29:02] Production.INFO: ==6393== Releasing lock... [2025-03-20 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:29:02] Production.INFO: ==6395== Lock acquired, processing the job... [2025-03-20 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:29:02] Production.INFO: ==6395== Releasing lock... [2025-03-20 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:29:03] Production.INFO: ==6398== Lock acquired, processing the job... [2025-03-20 09:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:29:03] Production.INFO: ==6400== Lock acquired, processing the job... [2025-03-20 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:29:03] Production.INFO: ==6402== Lock acquired, processing the job... [2025-03-20 09:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:29:03] Production.INFO: ==6404== Lock acquired, processing the job... [2025-03-20 09:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:29:03] Production.INFO: ==6406== Lock acquired, processing the job... [2025-03-20 09:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:29:03] Production.INFO: ==6408== Lock acquired, processing the job... [2025-03-20 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:29:03] Production.INFO: Account Balance Start. [2025-03-20 09:29:03] Production.INFO: CreateAllLog Start [2025-03-20 09:29:03] Production.INFO: 117 [2025-03-20 09:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:29:04] Production.INFO: ==6400== Releasing lock... [2025-03-20 09:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:29:04] Production.INFO: count ==12 [2025-03-20 09:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 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-03-20 09:29:04] Production.INFO: count ==23 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721926') start [2025-03-20 09:29:04] Production.ERROR: done [2025-03-20 09:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721926') end [2025-03-20 09:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:29:04] Production.INFO: 1 [2025-03-20 09:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.INFO: ==6408== Releasing lock... [2025-03-20 09:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.ERROR: done [2025-03-20 09:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:29:04] Production.INFO: Total Charge 0 [2025-03-20 09:29:04] Production.INFO: CreateAllLog End [2025-03-20 09:29:05] Production.INFO: Account Balance End. [2025-03-20 09:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:29:05] Production.INFO: ==6404== Releasing lock... [2025-03-20 09:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:29:05 [end_date_ymd] => 2025-03-20 09:29:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:29:05' and `end` < '2025-03-20 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-03-20 09:29:13] Production.ERROR: CronJobId end10 [2025-03-20 09:29:13] Production.INFO: ==6402== Releasing lock... [2025-03-20 09:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:29:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:29:15] Production.INFO: call_cost start [2025-03-20 09:29:15] Production.INFO: call_cost end [2025-03-20 09:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:29:16] Production.INFO: ==6398== Releasing lock... [2025-03-20 09:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:29:18] Production.INFO: count ==1110 [2025-03-20 09:29:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:29:05 - End Time 2025-03-20 09:29:05 [2025-03-20 09:29:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721927', 'tblTempUsageDetail_20' ) start [2025-03-20 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721927', 'tblTempUsageDetail_20' ) end [2025-03-20 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721927', 'tblTempVendorCDR_20' ) start [2025-03-20 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721927', 'tblTempVendorCDR_20' ) end [2025-03-20 09:29:18] Production.INFO: ProcessCDR(1,14721927,1,1,2) [2025-03-20 09:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721927', 'tblTempUsageDetail_20' ) start [2025-03-20 09:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721927', 'tblTempUsageDetail_20' ) end [2025-03-20 09:29:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:29:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:29:23] Production.INFO: ==6406== Releasing lock... [2025-03-20 09:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:29:23] Production.INFO: 36.75 MB #Memory Used# [2025-03-20 13:30:02] Production.INFO: ==6492== Lock acquired, processing the job... [2025-03-20 13:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:30:02] Production.INFO: neon service started [2025-03-20 13:30:02] Production.INFO: neon service started [2025-03-20 13:30:02] Production.INFO: ==6492== Releasing lock... [2025-03-20 13:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:30:02] Production.INFO: ==6496== Lock acquired, processing the job... [2025-03-20 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:30:02] Production.INFO: ==6496== Releasing lock... [2025-03-20 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:30:02] Production.INFO: ==6494== Lock acquired, processing the job... [2025-03-20 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:30:03] Production.INFO: ==6494== Releasing lock... [2025-03-20 09:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:30:04] Production.INFO: ==6503== Lock acquired, processing the job... [2025-03-20 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:30:04] Production.INFO: ==6499== Lock acquired, processing the job... [2025-03-20 09:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 09:30:04] Production.INFO: ==6509== Lock acquired, processing the job... [2025-03-20 09:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 09:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 09:30:04] Production.ERROR: CronJob PID - 6503 [2025-03-20 09:30:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 09:30:04] Production.ERROR: CronJob ID - 7 [2025-03-20 09:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 09:30:00 [2025-03-20 09:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 09:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 09:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 09:30:04] Production.ERROR: CronJob PID - 6509 [2025-03-20 09:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 09:30:04] Production.ERROR: CronJob ID - 16 [2025-03-20 09:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 09:30:00 [2025-03-20 09:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 09:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 09:30:04] Production.INFO: ==6501== Lock acquired, processing the job... [2025-03-20 09:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 09:30:04] Production.INFO: ==6499== Releasing lock... [2025-03-20 09:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 09:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 09:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:30:04] Production.INFO: ==6513== Lock acquired, processing the job... [2025-03-20 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:30:04] Production.INFO: ==6505== Lock acquired, processing the job... [2025-03-20 09:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:30:04] Production.INFO: ==6507== Lock acquired, processing the job... [2025-03-20 09:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:30:04] Production.INFO: ==6511== Lock acquired, processing the job... [2025-03-20 09:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 09:30:04] Production.INFO: count ==12 [2025-03-20 09:30:04] Production.INFO: ==6503== Releasing lock... [2025-03-20 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:30:04] Production.INFO: count ==23 [2025-03-20 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721930') start [2025-03-20 09:30:04] Production.INFO: Account Balance Start. [2025-03-20 09:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:30:04] Production.INFO: CreateAllLog Start [2025-03-20 09:30:04] Production.INFO: 117 [2025-03-20 09:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:30:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:30:05] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:30:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:30:05] Production.INFO: Date 2025-03-09 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14721930') end [2025-03-20 09:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:30:05] Production.INFO: 1 [2025-03-20 09:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:30:05] Production.INFO: Date 2025-03-10 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.ERROR: done [2025-03-20 09:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:30:05] Production.INFO: ==6513== Releasing lock... [2025-03-20 09:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:30:05] Production.INFO: Date 2025-03-11 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.INFO: Date 2025-03-12 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.INFO: Date 2025-03-13 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.ERROR: done [2025-03-20 09:30:05] Production.INFO: Date 2025-03-14 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.ERROR: done [2025-03-20 09:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 09:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721932', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 09:30:05] Production.INFO: Date 2025-03-15 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.INFO: Date 2025-03-16 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:30:05] Production.INFO: Total Charge 0 [2025-03-20 09:30:05] Production.INFO: CreateAllLog End [2025-03-20 09:30:05] Production.INFO: Account Balance End. [2025-03-20 09:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:30:05] Production.INFO: ==6507== Releasing lock... [2025-03-20 09:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:30:06 [end_date_ymd] => 2025-03-20 09:30:06 [RateCDR] => 1 ) [2025-03-20 09:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:30:06' and `end` < '2025-03-20 09:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721932', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 09:30:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 09:30:10] Production.INFO: ProcessCDR(1,14721932,1,1,2) [2025-03-20 09:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721932,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721932,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:30:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:30:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:30:10] Production.INFO: ==6511== Releasing lock... [2025-03-20 09:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 09:30:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 09:30:14] Production.ERROR: CronJobId end10 [2025-03-20 09:30:14] Production.INFO: ==6505== Releasing lock... [2025-03-20 09:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:30:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:30:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:30:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:30:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:30:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:30:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:30:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:30:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:30:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:30:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:30:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:30:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:30:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:30:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:30:17] Production.INFO: call_cost start [2025-03-20 09:30:17] Production.INFO: call_cost end [2025-03-20 09:30:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:30:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:30:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:30:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:30:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:30:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:30:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:30:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:30:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:30:18] Production.INFO: ==6501== Releasing lock... [2025-03-20 09:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:30:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:30:19] Production.INFO: count ==1137 [2025-03-20 09:30:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:30:06 - End Time 2025-03-20 09:30:06 [2025-03-20 09:30:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721933', 'tblTempUsageDetail_20' ) start [2025-03-20 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721933', 'tblTempUsageDetail_20' ) end [2025-03-20 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721933', 'tblTempVendorCDR_20' ) start [2025-03-20 09:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721933', 'tblTempVendorCDR_20' ) end [2025-03-20 09:30:19] Production.INFO: ProcessCDR(1,14721933,1,1,2) [2025-03-20 09:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721933', 'tblTempUsageDetail_20' ) start [2025-03-20 09:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721933', 'tblTempUsageDetail_20' ) end [2025-03-20 09:30:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:30:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:30:25] Production.INFO: ==6509== Releasing lock... [2025-03-20 09:30:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:30:25] Production.INFO: 36.5 MB #Memory Used# [2025-03-20 13:31:01] Production.INFO: ==6593== Lock acquired, processing the job... [2025-03-20 13:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:31:01] Production.INFO: neon service started [2025-03-20 13:31:01] Production.INFO: neon service started [2025-03-20 13:31:01] Production.INFO: ==6593== Releasing lock... [2025-03-20 13:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:31:02] Production.INFO: ==6595== Lock acquired, processing the job... [2025-03-20 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:31:02] Production.INFO: ==6595== Releasing lock... [2025-03-20 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:31:02] Production.INFO: ==6597== Lock acquired, processing the job... [2025-03-20 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:31:02] Production.INFO: ==6597== Releasing lock... [2025-03-20 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:31:03] Production.INFO: ==6606== Lock acquired, processing the job... [2025-03-20 09:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:31:03] Production.INFO: Account Balance Start. [2025-03-20 09:31:03] Production.INFO: CreateAllLog Start [2025-03-20 09:31:03] Production.INFO: 117 [2025-03-20 09:31:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:31:03] Production.INFO: ==6610== Lock acquired, processing the job... [2025-03-20 09:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:31:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:03] Production.INFO: ==6600== Lock acquired, processing the job... [2025-03-20 09:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:31:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:31:03] Production.INFO: ==6602== Lock acquired, processing the job... [2025-03-20 09:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:03] Production.INFO: ==6604== Lock acquired, processing the job... [2025-03-20 09:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:31:03] Production.INFO: Date 2025-03-13 [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:03] Production.INFO: Date 2025-03-14 [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:31:03] Production.INFO: ==6612== Lock acquired, processing the job... [2025-03-20 09:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:31:03] Production.INFO: Date 2025-03-15 [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:31:03] Production.INFO: Date 2025-03-16 [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:03] Production.INFO: Date 2025-03-17 [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:03] Production.INFO: Date 2025-03-18 [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:31:03] Production.INFO: Date 2025-03-19 [2025-03-20 09:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:04] Production.INFO: count ==12 [2025-03-20 09:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:31:04] Production.ERROR: done [2025-03-20 09:31:04] Production.INFO: ==6602== Releasing lock... [2025-03-20 09:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:31:04] Production.INFO: count ==23 [2025-03-20 09:31:04] Production.INFO: Total Charge 0 [2025-03-20 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721937') start [2025-03-20 09:31:04] Production.INFO: CreateAllLog End [2025-03-20 09:31:04] Production.ERROR: done [2025-03-20 09:31:04] Production.INFO: Account Balance End. [2025-03-20 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721937') end [2025-03-20 09:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:31:04] Production.INFO: 1 [2025-03-20 09:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:31:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:31:04] Production.INFO: ==6606== Releasing lock... [2025-03-20 09:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:31:04] Production.INFO: ==6612== Releasing lock... [2025-03-20 09:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:31:05 [end_date_ymd] => 2025-03-20 09:31:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:31:05' and `end` < '2025-03-20 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-03-20 09:31:13] Production.ERROR: CronJobId end10 [2025-03-20 09:31:13] Production.INFO: ==6604== Releasing lock... [2025-03-20 09:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:31:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:31:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:31:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:31:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:31:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:31:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:31:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:31:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:31:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:31:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:31:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:31:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:31:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:31:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:31:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:31:15] Production.INFO: call_cost start [2025-03-20 09:31:15] Production.INFO: call_cost end [2025-03-20 09:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:31:16] Production.INFO: ==6600== Releasing lock... [2025-03-20 09:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:31:17] Production.INFO: count ==1219 [2025-03-20 09:31:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:31:05 - End Time 2025-03-20 09:31:05 [2025-03-20 09:31:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721938', 'tblTempUsageDetail_20' ) start [2025-03-20 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721938', 'tblTempUsageDetail_20' ) end [2025-03-20 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721938', 'tblTempVendorCDR_20' ) start [2025-03-20 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721938', 'tblTempVendorCDR_20' ) end [2025-03-20 09:31:18] Production.INFO: ProcessCDR(1,14721938,1,1,2) [2025-03-20 09:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721938,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721938,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721938', 'tblTempUsageDetail_20' ) start [2025-03-20 09:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721938', 'tblTempUsageDetail_20' ) end [2025-03-20 09:31:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:31:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:31:21] Production.INFO: ==6610== Releasing lock... [2025-03-20 09:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:31:21] Production.INFO: 37.5 MB #Memory Used# [2025-03-20 13:32:02] Production.INFO: ==6691== Lock acquired, processing the job... [2025-03-20 13:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:32:02] Production.INFO: neon service started [2025-03-20 13:32:02] Production.INFO: neon service started [2025-03-20 13:32:02] Production.INFO: ==6691== Releasing lock... [2025-03-20 13:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:32:02] Production.INFO: ==6693== Lock acquired, processing the job... [2025-03-20 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:32:02] Production.INFO: ==6693== Releasing lock... [2025-03-20 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:32:03] Production.INFO: ==6695== Lock acquired, processing the job... [2025-03-20 13:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:32:03] Production.INFO: ==6695== Releasing lock... [2025-03-20 13:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:32:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:32:03] Production.INFO: ==6699== Lock acquired, processing the job... [2025-03-20 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:32:03] Production.INFO: ==6707== Lock acquired, processing the job... [2025-03-20 09:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 09:32:04] Production.INFO: ==6697== Lock acquired, processing the job... [2025-03-20 09:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:32:04] Production.INFO: count ==12 [2025-03-20 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-03-20 09:32:04] Production.INFO: count ==23 [2025-03-20 09:32:04] Production.INFO: ==6703== Lock acquired, processing the job... [2025-03-20 09:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721939') start [2025-03-20 09:32:04] Production.INFO: ==6701== Lock acquired, processing the job... [2025-03-20 09:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:32:04] Production.INFO: ==6705== Lock acquired, processing the job... [2025-03-20 09:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721939') end [2025-03-20 09:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:32:04] Production.INFO: 1 [2025-03-20 09:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:32:04] Production.INFO: ==6707== Releasing lock... [2025-03-20 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:32:04] Production.INFO: Account Balance Start. [2025-03-20 09:32:04] Production.INFO: CreateAllLog Start [2025-03-20 09:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:32:04] Production.INFO: 117 [2025-03-20 09:32:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:32:04] Production.INFO: ==6699== Releasing lock... [2025-03-20 09:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:04] Production.ERROR: done [2025-03-20 09:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:05] Production.ERROR: done [2025-03-20 09:32:05] Production.INFO: Date 2025-03-15 [2025-03-20 09:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:05] Production.INFO: Date 2025-03-16 [2025-03-20 09:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:32:05] Production.INFO: Total Charge 0 [2025-03-20 09:32:05] Production.INFO: CreateAllLog End [2025-03-20 09:32:05] Production.INFO: Account Balance End. [2025-03-20 09:32:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:32:05] Production.INFO: ==6703== Releasing lock... [2025-03-20 09:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:32:06 [end_date_ymd] => 2025-03-20 09:32:06 [RateCDR] => 1 ) [2025-03-20 09:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:32:06' and `end` < '2025-03-20 09:32:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:32:14] Production.ERROR: CronJobId end10 [2025-03-20 09:32:14] Production.INFO: ==6701== Releasing lock... [2025-03-20 09:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:32:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:32:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:32:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:32:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:32:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:32:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:32:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:32:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:32:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:32:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:32:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:32:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:32:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:32:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:32:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:32:16] Production.INFO: call_cost start [2025-03-20 09:32:16] Production.INFO: call_cost end [2025-03-20 09:32:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:32:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:32:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:32:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:32:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:32:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:32:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:32:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:32:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:32:17] Production.INFO: ==6697== Releasing lock... [2025-03-20 09:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:32:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:32:18] Production.INFO: count ==1245 [2025-03-20 09:32:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:32:06 - End Time 2025-03-20 09:32:06 [2025-03-20 09:32:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721943', 'tblTempUsageDetail_20' ) start [2025-03-20 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721943', 'tblTempUsageDetail_20' ) end [2025-03-20 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721943', 'tblTempVendorCDR_20' ) start [2025-03-20 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721943', 'tblTempVendorCDR_20' ) end [2025-03-20 09:32:19] Production.INFO: ProcessCDR(1,14721943,1,1,2) [2025-03-20 09:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721943,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721943,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721943', 'tblTempUsageDetail_20' ) start [2025-03-20 09:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721943', 'tblTempUsageDetail_20' ) end [2025-03-20 09:32:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:32:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:32:23] Production.INFO: ==6705== Releasing lock... [2025-03-20 09:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:32:23] Production.INFO: 37.5 MB #Memory Used# [2025-03-20 13:33:01] Production.INFO: ==6791== Lock acquired, processing the job... [2025-03-20 13:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:33:01] Production.INFO: neon service started [2025-03-20 13:33:01] Production.INFO: neon service started [2025-03-20 13:33:01] Production.INFO: ==6791== Releasing lock... [2025-03-20 13:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:33:02] Production.INFO: ==6793== Lock acquired, processing the job... [2025-03-20 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:33:02] Production.INFO: ==6793== Releasing lock... [2025-03-20 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:33:02] Production.INFO: ==6795== Lock acquired, processing the job... [2025-03-20 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:33:02] Production.INFO: ==6795== Releasing lock... [2025-03-20 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:33:03] Production.INFO: ==6804== Lock acquired, processing the job... [2025-03-20 09:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:33:03] Production.INFO: ==6808== Lock acquired, processing the job... [2025-03-20 09:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:33:03] Production.INFO: ==6798== Lock acquired, processing the job... [2025-03-20 09:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:33:03] Production.INFO: ==6800== Lock acquired, processing the job... [2025-03-20 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:33:03] Production.INFO: Account Balance Start. [2025-03-20 09:33:03] Production.INFO: CreateAllLog Start [2025-03-20 09:33:03] Production.INFO: 117 [2025-03-20 09:33:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:33:03] Production.INFO: ==6802== Lock acquired, processing the job... [2025-03-20 09:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:33:03] Production.INFO: count ==12 [2025-03-20 09:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:33:03] Production.INFO: count ==23 [2025-03-20 09:33:03] Production.INFO: ==6806== Lock acquired, processing the job... [2025-03-20 09:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721945') start [2025-03-20 09:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:33:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721945') end [2025-03-20 09:33:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:33:03] Production.INFO: 1 [2025-03-20 09:33:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:33:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:03] Production.INFO: Date 2025-03-13 [2025-03-20 09:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:03] Production.INFO: ==6808== Releasing lock... [2025-03-20 09:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:33:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:33:03] Production.INFO: Date 2025-03-14 [2025-03-20 09:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:03] Production.INFO: ==6800== Releasing lock... [2025-03-20 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:33:04] Production.ERROR: done [2025-03-20 09:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:33:04] Production.INFO: Total Charge 0 [2025-03-20 09:33:04] Production.INFO: CreateAllLog End [2025-03-20 09:33:04] Production.ERROR: done [2025-03-20 09:33:04] Production.INFO: Account Balance End. [2025-03-20 09:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:33:04] Production.INFO: ==6804== Releasing lock... [2025-03-20 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:33:05 [end_date_ymd] => 2025-03-20 09:33:05 [RateCDR] => 1 ) [2025-03-20 09:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:33:05' and `end` < '2025-03-20 09:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:33:12] Production.ERROR: CronJobId end10 [2025-03-20 09:33:12] Production.INFO: ==6802== Releasing lock... [2025-03-20 09:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:33:15] Production.INFO: call_cost start [2025-03-20 09:33:15] Production.INFO: call_cost end [2025-03-20 09:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:33:16] Production.INFO: ==6798== Releasing lock... [2025-03-20 09:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:33:18] Production.INFO: count ==1269 [2025-03-20 09:33:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:33:05 - End Time 2025-03-20 09:33:05 [2025-03-20 09:33:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721948', 'tblTempUsageDetail_20' ) start [2025-03-20 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721948', 'tblTempUsageDetail_20' ) end [2025-03-20 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721948', 'tblTempVendorCDR_20' ) start [2025-03-20 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721948', 'tblTempVendorCDR_20' ) end [2025-03-20 09:33:18] Production.INFO: ProcessCDR(1,14721948,1,1,2) [2025-03-20 09:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721948,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721948,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721948', 'tblTempUsageDetail_20' ) start [2025-03-20 09:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721948', 'tblTempUsageDetail_20' ) end [2025-03-20 09:33:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:33:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:33:22] Production.INFO: ==6806== Releasing lock... [2025-03-20 09:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:33:22] Production.INFO: 37.75 MB #Memory Used# [2025-03-20 13:34:02] Production.INFO: ==6890== Lock acquired, processing the job... [2025-03-20 13:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:34:02] Production.INFO: neon service started [2025-03-20 13:34:02] Production.INFO: neon service started [2025-03-20 13:34:02] Production.INFO: ==6890== Releasing lock... [2025-03-20 13:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:34:02] Production.INFO: ==6895== Lock acquired, processing the job... [2025-03-20 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:34:02] Production.INFO: ==6895== Releasing lock... [2025-03-20 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:34:02] Production.INFO: ==6893== Lock acquired, processing the job... [2025-03-20 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:34:02] Production.INFO: ==6893== Releasing lock... [2025-03-20 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:34:03] Production.INFO: ==6899== Lock acquired, processing the job... [2025-03-20 09:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:34:03] Production.INFO: ==6907== Lock acquired, processing the job... [2025-03-20 09:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:34:03] Production.INFO: ==6901== Lock acquired, processing the job... [2025-03-20 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:34:03] Production.INFO: ==6909== Lock acquired, processing the job... [2025-03-20 09:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:34:04] Production.INFO: ==6905== Lock acquired, processing the job... [2025-03-20 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:34:04] Production.INFO: ==6903== Lock acquired, processing the job... [2025-03-20 09:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 09:34:04] Production.INFO: count ==12 [2025-03-20 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-03-20 09:34:04] Production.INFO: count ==23 [2025-03-20 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721950') start [2025-03-20 09:34:04] Production.INFO: Account Balance Start. [2025-03-20 09:34:04] Production.INFO: CreateAllLog Start [2025-03-20 09:34:04] Production.INFO: 117 [2025-03-20 09:34:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721950') end [2025-03-20 09:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:34:04] Production.INFO: 1 [2025-03-20 09:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.INFO: ==6909== Releasing lock... [2025-03-20 09:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:34:04] Production.ERROR: done [2025-03-20 09:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.ERROR: done [2025-03-20 09:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:34:04] Production.INFO: ==6901== Releasing lock... [2025-03-20 09:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:34:05] Production.INFO: Total Charge 0 [2025-03-20 09:34:05] Production.INFO: CreateAllLog End [2025-03-20 09:34:05] Production.INFO: Account Balance End. [2025-03-20 09:34:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:34:05] Production.INFO: ==6905== Releasing lock... [2025-03-20 09:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:34:05 [end_date_ymd] => 2025-03-20 09:34:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:34:05' and `end` < '2025-03-20 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-03-20 09:34:13] Production.ERROR: CronJobId end10 [2025-03-20 09:34:13] Production.INFO: ==6903== Releasing lock... [2025-03-20 09:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:34:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:34:15] Production.INFO: call_cost start [2025-03-20 09:34:15] Production.INFO: call_cost end [2025-03-20 09:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:34:16] Production.INFO: ==6899== Releasing lock... [2025-03-20 09:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:34:18] Production.INFO: count ==1309 [2025-03-20 09:34:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:34:05 - End Time 2025-03-20 09:34:05 [2025-03-20 09:34:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721953', 'tblTempUsageDetail_20' ) start [2025-03-20 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721953', 'tblTempUsageDetail_20' ) end [2025-03-20 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721953', 'tblTempVendorCDR_20' ) start [2025-03-20 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721953', 'tblTempVendorCDR_20' ) end [2025-03-20 09:34:18] Production.INFO: ProcessCDR(1,14721953,1,1,2) [2025-03-20 09:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721953', 'tblTempUsageDetail_20' ) start [2025-03-20 09:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721953', 'tblTempUsageDetail_20' ) end [2025-03-20 09:34:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:34:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:34:24] Production.INFO: ==6907== Releasing lock... [2025-03-20 09:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:34:24] Production.INFO: 37.75 MB #Memory Used# [2025-03-20 13:35:01] Production.INFO: ==6985== Lock acquired, processing the job... [2025-03-20 13:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:35:01] Production.INFO: neon service started [2025-03-20 13:35:01] Production.INFO: neon service started [2025-03-20 13:35:01] Production.INFO: ==6985== Releasing lock... [2025-03-20 13:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:35:02] Production.INFO: ==6987== Lock acquired, processing the job... [2025-03-20 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:35:02] Production.INFO: ==6989== Lock acquired, processing the job... [2025-03-20 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:35:02] Production.INFO: ==6989== Releasing lock... [2025-03-20 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:35:02] Production.INFO: ==6987== Releasing lock... [2025-03-20 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:35:03] Production.INFO: ==6993== Lock acquired, processing the job... [2025-03-20 09:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:35:03] Production.INFO: ==7004== Lock acquired, processing the job... [2025-03-20 09:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:35:03] Production.INFO: ==6995== Lock acquired, processing the job... [2025-03-20 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:35:03] Production.INFO: ==6998== Lock acquired, processing the job... [2025-03-20 09:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 09:35:03] Production.INFO: count ==12 [2025-03-20 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-03-20 09:35:03] Production.INFO: count ==23 [2025-03-20 09:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721955') start [2025-03-20 09:35:03] Production.INFO: ==7000== Lock acquired, processing the job... [2025-03-20 09:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721955') end [2025-03-20 09:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:35:03] Production.INFO: 1 [2025-03-20 09:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:35:03] Production.INFO: ==7002== Lock acquired, processing the job... [2025-03-20 09:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:35:04] Production.INFO: Account Balance Start. [2025-03-20 09:35:04] Production.INFO: CreateAllLog Start [2025-03-20 09:35:04] Production.INFO: 117 [2025-03-20 09:35:04] Production.INFO: ==7004== Releasing lock... [2025-03-20 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:35:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: ==6995== Releasing lock... [2025-03-20 09:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.ERROR: done [2025-03-20 09:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:35:04] Production.INFO: Total Charge 0 [2025-03-20 09:35:04] Production.INFO: CreateAllLog End [2025-03-20 09:35:04] Production.ERROR: done [2025-03-20 09:35:04] Production.INFO: Account Balance End. [2025-03-20 09:35:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:35:04] Production.INFO: ==7000== Releasing lock... [2025-03-20 09:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:35:05 [end_date_ymd] => 2025-03-20 09:35:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:35:05' and `end` < '2025-03-20 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-03-20 09:35:13] Production.ERROR: CronJobId end10 [2025-03-20 09:35:13] Production.INFO: ==6998== Releasing lock... [2025-03-20 09:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:35:14] Production.INFO: call_cost start [2025-03-20 09:35:14] Production.INFO: call_cost end [2025-03-20 09:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:35:15] Production.INFO: ==6993== Releasing lock... [2025-03-20 09:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:35:18] Production.INFO: count ==1319 [2025-03-20 09:35:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:35:05 - End Time 2025-03-20 09:35:05 [2025-03-20 09:35:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721958', 'tblTempUsageDetail_20' ) start [2025-03-20 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721958', 'tblTempUsageDetail_20' ) end [2025-03-20 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721958', 'tblTempVendorCDR_20' ) start [2025-03-20 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721958', 'tblTempVendorCDR_20' ) end [2025-03-20 09:35:18] Production.INFO: ProcessCDR(1,14721958,1,1,2) [2025-03-20 09:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721958', 'tblTempUsageDetail_20' ) start [2025-03-20 09:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721958', 'tblTempUsageDetail_20' ) end [2025-03-20 09:35:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:35:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:35:24] Production.INFO: ==7002== Releasing lock... [2025-03-20 09:35:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:35:24] Production.INFO: 37.75 MB #Memory Used# [2025-03-20 13:36:01] Production.INFO: ==7100== Lock acquired, processing the job... [2025-03-20 13:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:36:02] Production.INFO: neon service started [2025-03-20 13:36:02] Production.INFO: neon service started [2025-03-20 13:36:02] Production.INFO: ==7100== Releasing lock... [2025-03-20 13:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:36:02] Production.INFO: ==7102== Lock acquired, processing the job... [2025-03-20 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:36:02] Production.INFO: ==7104== Lock acquired, processing the job... [2025-03-20 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:36:02] Production.INFO: ==7102== Releasing lock... [2025-03-20 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:36:02] Production.INFO: ==7104== Releasing lock... [2025-03-20 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:36:03] Production.INFO: ==7112== Lock acquired, processing the job... [2025-03-20 09:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:36:03] Production.INFO: ==7108== Lock acquired, processing the job... [2025-03-20 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:36:03] Production.INFO: Account Balance Start. [2025-03-20 09:36:03] Production.INFO: CreateAllLog Start [2025-03-20 09:36:03] Production.INFO: 117 [2025-03-20 09:36:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:03] Production.INFO: ==7106== Lock acquired, processing the job... [2025-03-20 09:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:36:03] Production.INFO: Date 2025-03-13 [2025-03-20 09:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:03] Production.INFO: ==7110== Lock acquired, processing the job... [2025-03-20 09:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:36:03] Production.INFO: Date 2025-03-14 [2025-03-20 09:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:03] Production.INFO: ==7116== Lock acquired, processing the job... [2025-03-20 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:36:03] Production.INFO: Date 2025-03-15 [2025-03-20 09:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:03] Production.INFO: Date 2025-03-16 [2025-03-20 09:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:04] Production.INFO: ==7114== Lock acquired, processing the job... [2025-03-20 09:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:36:04] Production.INFO: ==7108== Releasing lock... [2025-03-20 09:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 09:36:04] Production.INFO: count ==12 [2025-03-20 09:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:36:04] Production.INFO: count ==23 [2025-03-20 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721962') start [2025-03-20 09:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721962') end [2025-03-20 09:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:36:04] Production.INFO: 1 [2025-03-20 09:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:04] Production.INFO: ==7116== Releasing lock... [2025-03-20 09:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:36:04] Production.ERROR: done [2025-03-20 09:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:36:04] Production.INFO: Total Charge 0 [2025-03-20 09:36:04] Production.INFO: CreateAllLog End [2025-03-20 09:36:04] Production.ERROR: done [2025-03-20 09:36:04] Production.INFO: Account Balance End. [2025-03-20 09:36:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:36:04] Production.INFO: ==7112== Releasing lock... [2025-03-20 09:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:36:05 [end_date_ymd] => 2025-03-20 09:36:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:36:05' and `end` < '2025-03-20 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-03-20 09:36:13] Production.ERROR: CronJobId end10 [2025-03-20 09:36:13] Production.INFO: ==7110== Releasing lock... [2025-03-20 09:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:36:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:36:15] Production.INFO: call_cost start [2025-03-20 09:36:15] Production.INFO: call_cost end [2025-03-20 09:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:36:16] Production.INFO: ==7106== Releasing lock... [2025-03-20 09:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:36:18] Production.INFO: count ==1343 [2025-03-20 09:36:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:36:05 - End Time 2025-03-20 09:36:05 [2025-03-20 09:36:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721963', 'tblTempUsageDetail_20' ) start [2025-03-20 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721963', 'tblTempUsageDetail_20' ) end [2025-03-20 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721963', 'tblTempVendorCDR_20' ) start [2025-03-20 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721963', 'tblTempVendorCDR_20' ) end [2025-03-20 09:36:18] Production.INFO: ProcessCDR(1,14721963,1,1,2) [2025-03-20 09:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721963', 'tblTempUsageDetail_20' ) start [2025-03-20 09:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721963', 'tblTempUsageDetail_20' ) end [2025-03-20 09:36:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:36:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:36:24] Production.INFO: ==7114== Releasing lock... [2025-03-20 09:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:36:24] Production.INFO: 38.25 MB #Memory Used# [2025-03-20 13:37:01] Production.INFO: ==7197== Lock acquired, processing the job... [2025-03-20 13:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:37:01] Production.INFO: neon service started [2025-03-20 13:37:01] Production.INFO: neon service started [2025-03-20 13:37:01] Production.INFO: ==7197== Releasing lock... [2025-03-20 13:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:37:01] Production.INFO: ==7199== Lock acquired, processing the job... [2025-03-20 09:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:37:02] Production.INFO: ==7199== Releasing lock... [2025-03-20 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:37:02] Production.INFO: ==7201== Lock acquired, processing the job... [2025-03-20 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:37:02] Production.INFO: ==7201== Releasing lock... [2025-03-20 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:37:03] Production.INFO: ==7203== Lock acquired, processing the job... [2025-03-20 09:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:37:03] Production.INFO: ==7211== Lock acquired, processing the job... [2025-03-20 09:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:37:03] Production.INFO: ==7213== Lock acquired, processing the job... [2025-03-20 09:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:37:03] Production.INFO: ==7205== Lock acquired, processing the job... [2025-03-20 09:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:37:03] Production.INFO: ==7207== Lock acquired, processing the job... [2025-03-20 09:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:37:03] Production.INFO: ==7209== Lock acquired, processing the job... [2025-03-20 09:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 09:37:03] Production.INFO: count ==12 [2025-03-20 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-03-20 09:37:03] Production.INFO: count ==23 [2025-03-20 09:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721964') start [2025-03-20 09:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:37:03] Production.INFO: Account Balance Start. [2025-03-20 09:37:03] Production.INFO: CreateAllLog Start [2025-03-20 09:37:03] Production.INFO: 117 [2025-03-20 09:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721964') end [2025-03-20 09:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:37:03] Production.INFO: 1 [2025-03-20 09:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:03] Production.INFO: ==7213== Releasing lock... [2025-03-20 09:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:03] Production.ERROR: done [2025-03-20 09:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:37:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:03] Production.INFO: Date 2025-03-13 [2025-03-20 09:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:03] Production.ERROR: done [2025-03-20 09:37:03] Production.INFO: ==7205== Releasing lock... [2025-03-20 09:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:37:03] Production.INFO: Date 2025-03-14 [2025-03-20 09:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:03] Production.INFO: Date 2025-03-15 [2025-03-20 09:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:03] Production.INFO: Date 2025-03-16 [2025-03-20 09:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:03] Production.INFO: Date 2025-03-17 [2025-03-20 09:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:37:04] Production.INFO: Total Charge 0 [2025-03-20 09:37:04] Production.INFO: CreateAllLog End [2025-03-20 09:37:04] Production.INFO: Account Balance End. [2025-03-20 09:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:37:04] Production.INFO: ==7209== Releasing lock... [2025-03-20 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:37:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:37:04 [end_date_ymd] => 2025-03-20 09:37:04 [RateCDR] => 1 ) [2025-03-20 09: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-03-20 06:37:04' and `end` < '2025-03-20 09: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-03-20 09:37:11] Production.ERROR: CronJobId end10 [2025-03-20 09:37:11] Production.INFO: ==7207== Releasing lock... [2025-03-20 09:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:37:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:37:14] Production.INFO: call_cost start [2025-03-20 09:37:14] Production.INFO: call_cost end [2025-03-20 09:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:37:15] Production.INFO: ==7203== Releasing lock... [2025-03-20 09:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:37:17] Production.INFO: count ==1368 [2025-03-20 09:37:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:37:04 - End Time 2025-03-20 09:37:04 [2025-03-20 09:37:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721968', 'tblTempUsageDetail_20' ) start [2025-03-20 09:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721968', 'tblTempUsageDetail_20' ) end [2025-03-20 09:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721968', 'tblTempVendorCDR_20' ) start [2025-03-20 09:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721968', 'tblTempVendorCDR_20' ) end [2025-03-20 09:37:18] Production.INFO: ProcessCDR(1,14721968,1,1,2) [2025-03-20 09:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721968', 'tblTempUsageDetail_20' ) start [2025-03-20 09:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721968', 'tblTempUsageDetail_20' ) end [2025-03-20 09:37:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:37:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:37:22] Production.INFO: ==7211== Releasing lock... [2025-03-20 09:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:37:22] Production.INFO: 38.25 MB #Memory Used# [2025-03-20 13:38:01] Production.INFO: ==7297== Lock acquired, processing the job... [2025-03-20 13:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:38:01] Production.INFO: neon service started [2025-03-20 13:38:01] Production.INFO: neon service started [2025-03-20 13:38:01] Production.INFO: ==7297== Releasing lock... [2025-03-20 13:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:38:02] Production.INFO: ==7299== Lock acquired, processing the job... [2025-03-20 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:38:02] Production.INFO: ==7299== Releasing lock... [2025-03-20 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:38:02] Production.INFO: ==7301== Lock acquired, processing the job... [2025-03-20 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:38:02] Production.INFO: ==7301== Releasing lock... [2025-03-20 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:38:03] Production.INFO: ==7311== Lock acquired, processing the job... [2025-03-20 09:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:38:03] Production.ERROR: done [2025-03-20 09:38:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:38:03] Production.INFO: ==7303== Lock acquired, processing the job... [2025-03-20 09:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:38:04] Production.INFO: ==7305== Lock acquired, processing the job... [2025-03-20 09:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:38:04] Production.INFO: ==7307== Lock acquired, processing the job... [2025-03-20 09:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:38:04] Production.INFO: ==7309== Lock acquired, processing the job... [2025-03-20 09:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:38:04] Production.INFO: ==7313== Lock acquired, processing the job... [2025-03-20 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:38:04] Production.ERROR: done [2025-03-20 09:38:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:38:04] Production.INFO: Account Balance Start. [2025-03-20 09:38:04] Production.INFO: CreateAllLog Start [2025-03-20 09:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:38:04] Production.INFO: 117 [2025-03-20 09:38:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:38:04] Production.INFO: count ==12 [2025-03-20 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-03-20 09:38:04] Production.INFO: count ==23 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721970') start [2025-03-20 09:38:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721970') end [2025-03-20 09:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:38:04] Production.INFO: 1 [2025-03-20 09:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.INFO: ==7305== Releasing lock... [2025-03-20 09:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:38:04] Production.INFO: ==7313== Releasing lock... [2025-03-20 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:38:04] Production.INFO: Total Charge 0 [2025-03-20 09:38:04] Production.INFO: CreateAllLog End [2025-03-20 09:38:05] Production.INFO: Account Balance End. [2025-03-20 09:38:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:38:05] Production.INFO: ==7309== Releasing lock... [2025-03-20 09:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:38:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:38:05 [end_date_ymd] => 2025-03-20 09:38:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:38:05' and `end` < '2025-03-20 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-03-20 09:38:11] Production.ERROR: CronJobId end10 [2025-03-20 09:38:11] Production.INFO: ==7307== Releasing lock... [2025-03-20 09:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:38:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:38:14] Production.INFO: call_cost start [2025-03-20 09:38:14] Production.INFO: call_cost end [2025-03-20 09:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:38:15] Production.INFO: ==7303== Releasing lock... [2025-03-20 09:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:38:17] Production.INFO: count ==1390 [2025-03-20 09:38:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:38:05 - End Time 2025-03-20 09:38:05 [2025-03-20 09:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721971', 'tblTempUsageDetail_20' ) start [2025-03-20 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721971', 'tblTempUsageDetail_20' ) end [2025-03-20 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721971', 'tblTempVendorCDR_20' ) start [2025-03-20 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721971', 'tblTempVendorCDR_20' ) end [2025-03-20 09:38:18] Production.INFO: ProcessCDR(1,14721971,1,1,2) [2025-03-20 09:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721971', 'tblTempUsageDetail_20' ) start [2025-03-20 09:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721971', 'tblTempUsageDetail_20' ) end [2025-03-20 09:38:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:38:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:38:23] Production.INFO: ==7311== Releasing lock... [2025-03-20 09:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:38:23] Production.INFO: 38.75 MB #Memory Used# [2025-03-20 13:39:01] Production.INFO: ==7391== Lock acquired, processing the job... [2025-03-20 13:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:39:01] Production.INFO: neon service started [2025-03-20 13:39:01] Production.INFO: neon service started [2025-03-20 13:39:01] Production.INFO: ==7391== Releasing lock... [2025-03-20 13:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:39:01] Production.INFO: ==7395== Lock acquired, processing the job... [2025-03-20 13:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:39:01] Production.INFO: ==7395== Releasing lock... [2025-03-20 13:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:39:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:39:01] Production.INFO: ==7393== Lock acquired, processing the job... [2025-03-20 09:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:39:02] Production.INFO: ==7393== Releasing lock... [2025-03-20 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:39:03] Production.INFO: ==7398== Lock acquired, processing the job... [2025-03-20 09:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:39:03] Production.INFO: ==7402== Lock acquired, processing the job... [2025-03-20 09:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:39:03] Production.INFO: ==7404== Lock acquired, processing the job... [2025-03-20 09:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:39:03] Production.INFO: ==7400== Lock acquired, processing the job... [2025-03-20 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:39:03] Production.INFO: Account Balance Start. [2025-03-20 09:39:03] Production.INFO: CreateAllLog Start [2025-03-20 09:39:03] Production.INFO: 117 [2025-03-20 09:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:39:03] Production.INFO: ==7406== Lock acquired, processing the job... [2025-03-20 09:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:39:03] Production.INFO: ==7408== Lock acquired, processing the job... [2025-03-20 09:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:39:03] Production.INFO: ==7400== Releasing lock... [2025-03-20 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:39:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:39:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:39:03] Production.INFO: count ==12 [2025-03-20 09:39:03] Production.INFO: Date 2025-03-13 [2025-03-20 09:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:39:03] Production.INFO: count ==23 [2025-03-20 09:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721977') start [2025-03-20 09:39:03] Production.INFO: Date 2025-03-14 [2025-03-20 09:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14721977') end [2025-03-20 09:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:39:03] Production.INFO: 1 [2025-03-20 09:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:39:03] Production.INFO: Date 2025-03-15 [2025-03-20 09:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:39:03] Production.INFO: ==7408== Releasing lock... [2025-03-20 09:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:39:03] Production.INFO: Date 2025-03-16 [2025-03-20 09:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:39:03] Production.ERROR: done [2025-03-20 09:39:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:39:04] Production.ERROR: done [2025-03-20 09:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:39:04] Production.INFO: Total Charge 0 [2025-03-20 09:39:04] Production.INFO: CreateAllLog End [2025-03-20 09:39:04] Production.INFO: Account Balance End. [2025-03-20 09:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:39:04] Production.INFO: ==7404== Releasing lock... [2025-03-20 09:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:39:05 [end_date_ymd] => 2025-03-20 09:39:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:39:05' and `end` < '2025-03-20 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-03-20 09:39:12] Production.ERROR: CronJobId end10 [2025-03-20 09:39:12] Production.INFO: ==7402== Releasing lock... [2025-03-20 09:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:39:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:39:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:39:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:39:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:39:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:39:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:39:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:39:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:39:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:39:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:39:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:39:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:39:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:39:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:39:14] Production.INFO: call_cost start [2025-03-20 09:39:14] Production.INFO: call_cost end [2025-03-20 09:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:39:15] Production.INFO: ==7398== Releasing lock... [2025-03-20 09:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:39:18] Production.INFO: count ==1405 [2025-03-20 09:39:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:39:05 - End Time 2025-03-20 09:39:05 [2025-03-20 09:39:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721978', 'tblTempUsageDetail_20' ) start [2025-03-20 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721978', 'tblTempUsageDetail_20' ) end [2025-03-20 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721978', 'tblTempVendorCDR_20' ) start [2025-03-20 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721978', 'tblTempVendorCDR_20' ) end [2025-03-20 09:39:18] Production.INFO: ProcessCDR(1,14721978,1,1,2) [2025-03-20 09:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721978', 'tblTempUsageDetail_20' ) start [2025-03-20 09:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721978', 'tblTempUsageDetail_20' ) end [2025-03-20 09:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:39:22] Production.INFO: ==7406== Releasing lock... [2025-03-20 09:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:39:22] Production.INFO: 38.5 MB #Memory Used# [2025-03-20 13:40:01] Production.INFO: ==7497== Lock acquired, processing the job... [2025-03-20 13:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:40:01] Production.INFO: neon service started [2025-03-20 13:40:01] Production.INFO: neon service started [2025-03-20 13:40:01] Production.INFO: ==7497== Releasing lock... [2025-03-20 13:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:40:02] Production.INFO: ==7501== Lock acquired, processing the job... [2025-03-20 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:40:02] Production.INFO: ==7501== Releasing lock... [2025-03-20 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:40:02] Production.INFO: ==7499== Lock acquired, processing the job... [2025-03-20 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:40:02] Production.INFO: ==7499== Releasing lock... [2025-03-20 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:40:03] Production.INFO: ==7508== Lock acquired, processing the job... [2025-03-20 09:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:40:03] Production.INFO: ==7504== Lock acquired, processing the job... [2025-03-20 09:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 09:40:03] Production.INFO: ==7512== Lock acquired, processing the job... [2025-03-20 09:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:40:03] Production.INFO: ==7506== Lock acquired, processing the job... [2025-03-20 09:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 09:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 09:40:03] Production.ERROR: CronJob PID - 7508 [2025-03-20 09:40:03] Production.ERROR: CronJob Title - Account Block [2025-03-20 09:40:03] Production.ERROR: CronJob ID - 7 [2025-03-20 09:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 09:40:00 [2025-03-20 09:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 09:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 09:40:04] Production.INFO: ==7516== Lock acquired, processing the job... [2025-03-20 09:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 09:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 09:40:04] Production.INFO: ==7504== Releasing lock... [2025-03-20 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 09:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 09:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:40:04] Production.INFO: ==7510== Lock acquired, processing the job... [2025-03-20 09:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:40:04] Production.INFO: Account Balance Start. [2025-03-20 09:40:04] Production.INFO: CreateAllLog Start [2025-03-20 09:40:04] Production.INFO: 117 [2025-03-20 09:40:04] Production.INFO: ==7508== Releasing lock... [2025-03-20 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:04] Production.INFO: ==7514== Lock acquired, processing the job... [2025-03-20 09:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:04] Production.INFO: ==7518== Lock acquired, processing the job... [2025-03-20 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:40:04] Production.INFO: count ==12 [2025-03-20 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-03-20 09:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:04] Production.INFO: count ==23 [2025-03-20 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721982') start [2025-03-20 09:40:04] Production.ERROR: done [2025-03-20 09:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 09:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721983', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 09:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721982') end [2025-03-20 09:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:40:04] Production.INFO: 1 [2025-03-20 09:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:40:04] Production.INFO: ==7518== Releasing lock... [2025-03-20 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:40:04] Production.ERROR: done [2025-03-20 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:40:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:04] Production.ERROR: done [2025-03-20 09:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:40:05] Production.INFO: Total Charge 0 [2025-03-20 09:40:05] Production.INFO: CreateAllLog End [2025-03-20 09:40:05] Production.INFO: Account Balance End. [2025-03-20 09:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:40:05] Production.INFO: ==7512== Releasing lock... [2025-03-20 09:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:40:06 [end_date_ymd] => 2025-03-20 09:40:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:40:06' and `end` < '2025-03-20 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-03-20 09:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14721983', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 09:40:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 09:40:08] Production.INFO: ProcessCDR(1,14721983,1,1,2) [2025-03-20 09:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14721983,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14721983,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:40:09] Production.INFO: ==7516== Releasing lock... [2025-03-20 09:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 09:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 09:40:14] Production.ERROR: CronJobId end10 [2025-03-20 09:40:14] Production.INFO: ==7510== Releasing lock... [2025-03-20 09:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:40:16] Production.INFO: call_cost start [2025-03-20 09:40:16] Production.INFO: call_cost end [2025-03-20 09:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:40:17] Production.INFO: ==7506== Releasing lock... [2025-03-20 09:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:40:18] Production.INFO: count ==1436 [2025-03-20 09:40:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:40:06 - End Time 2025-03-20 09:40:06 [2025-03-20 09:40:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721984', 'tblTempUsageDetail_20' ) start [2025-03-20 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721984', 'tblTempUsageDetail_20' ) end [2025-03-20 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721984', 'tblTempVendorCDR_20' ) start [2025-03-20 09:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721984', 'tblTempVendorCDR_20' ) end [2025-03-20 09:40:19] Production.INFO: ProcessCDR(1,14721984,1,1,2) [2025-03-20 09:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721984,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721984,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721984', 'tblTempUsageDetail_20' ) start [2025-03-20 09:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721984', 'tblTempUsageDetail_20' ) end [2025-03-20 09:40:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:40:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:40:24] Production.INFO: ==7514== Releasing lock... [2025-03-20 09:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:40:24] Production.INFO: 38.75 MB #Memory Used# [2025-03-20 13:41:02] Production.INFO: ==7599== Lock acquired, processing the job... [2025-03-20 13:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:41:02] Production.INFO: neon service started [2025-03-20 13:41:02] Production.INFO: neon service started [2025-03-20 13:41:02] Production.INFO: ==7599== Releasing lock... [2025-03-20 13:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:41:02] Production.INFO: ==7605== Lock acquired, processing the job... [2025-03-20 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:41:02] Production.INFO: ==7605== Releasing lock... [2025-03-20 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:41:02] Production.INFO: ==7603== Lock acquired, processing the job... [2025-03-20 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:41:03] Production.INFO: ==7603== Releasing lock... [2025-03-20 09:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:41:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:41:03] Production.INFO: ==7607== Lock acquired, processing the job... [2025-03-20 09:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:41:03] Production.INFO: ==7615== Lock acquired, processing the job... [2025-03-20 09:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:41:04] Production.INFO: ==7613== Lock acquired, processing the job... [2025-03-20 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:41:04] Production.INFO: ==7609== Lock acquired, processing the job... [2025-03-20 09:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:41:04] Production.INFO: ==7618== Lock acquired, processing the job... [2025-03-20 09:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:41:04] Production.INFO: ==7611== Lock acquired, processing the job... [2025-03-20 09:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:41:04] Production.INFO: Account Balance Start. [2025-03-20 09:41:04] Production.INFO: CreateAllLog Start [2025-03-20 09:41:04] Production.INFO: 117 [2025-03-20 09: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-03-20 09:41:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:41:04] Production.ERROR: done [2025-03-20 09:41:04] Production.INFO: count ==12 [2025-03-20 09:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:41:04] Production.INFO: count ==23 [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721987') start [2025-03-20 09:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:41:04] Production.ERROR: done [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721987') end [2025-03-20 09:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:41:04] Production.INFO: 1 [2025-03-20 09:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:41:04] Production.INFO: ==7618== Releasing lock... [2025-03-20 09:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.INFO: ==7609== Releasing lock... [2025-03-20 09:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:41:04] Production.INFO: Total Charge 0 [2025-03-20 09:41:04] Production.INFO: CreateAllLog End [2025-03-20 09:41:05] Production.INFO: Account Balance End. [2025-03-20 09:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:41:05] Production.INFO: ==7613== Releasing lock... [2025-03-20 09:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:41:05 [end_date_ymd] => 2025-03-20 09:41:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:41:05' and `end` < '2025-03-20 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-03-20 09:41:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-03-20 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-03-20 09:41:12] Production.ERROR: CronJobId end10 [2025-03-20 09:41:12] Production.INFO: ==7611== Releasing lock... [2025-03-20 09:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:41:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:41:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:41:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:41:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:41:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:41:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:41:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:41:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:41:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:41:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:41:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:41:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:41:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:41:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:41:15] Production.INFO: call_cost start [2025-03-20 09:41:15] Production.INFO: call_cost end [2025-03-20 09:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:41:16] Production.INFO: ==7607== Releasing lock... [2025-03-20 09:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:41:18] Production.INFO: count ==1533 [2025-03-20 09:41:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:41:05 - End Time 2025-03-20 09:41:05 [2025-03-20 09:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721989', 'tblTempUsageDetail_20' ) start [2025-03-20 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721989', 'tblTempUsageDetail_20' ) end [2025-03-20 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721989', 'tblTempVendorCDR_20' ) start [2025-03-20 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721989', 'tblTempVendorCDR_20' ) end [2025-03-20 09:41:18] Production.INFO: ProcessCDR(1,14721989,1,1,2) [2025-03-20 09:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721989,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721989,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721989', 'tblTempUsageDetail_20' ) start [2025-03-20 09:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721989', 'tblTempUsageDetail_20' ) end [2025-03-20 09:41:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:41:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:41:24] Production.INFO: ==7615== Releasing lock... [2025-03-20 09:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:41:24] Production.INFO: 39.5 MB #Memory Used# [2025-03-20 13:42:01] Production.INFO: ==7685== Lock acquired, processing the job... [2025-03-20 13:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:42:01] Production.INFO: neon service started [2025-03-20 13:42:01] Production.INFO: neon service started [2025-03-20 13:42:01] Production.INFO: ==7685== Releasing lock... [2025-03-20 13:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:42:02] Production.INFO: ==7689== Lock acquired, processing the job... [2025-03-20 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:42:02] Production.INFO: ==7687== Lock acquired, processing the job... [2025-03-20 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:42:02] Production.INFO: ==7689== Releasing lock... [2025-03-20 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:42:02] Production.INFO: ==7687== Releasing lock... [2025-03-20 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:42:03] Production.INFO: ==7700== Lock acquired, processing the job... [2025-03-20 09:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:42:04] Production.INFO: ==7702== Lock acquired, processing the job... [2025-03-20 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:42:04] Production.INFO: ==7692== Lock acquired, processing the job... [2025-03-20 09:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:42:04] Production.INFO: ==7694== Lock acquired, processing the job... [2025-03-20 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 09:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:42:04] Production.INFO: ==7696== Lock acquired, processing the job... [2025-03-20 09:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:42:04] Production.INFO: count ==12 [2025-03-20 09:42:04] Production.INFO: ==7698== Lock acquired, processing the job... [2025-03-20 09:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 09:42:04] Production.INFO: count ==23 [2025-03-20 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721990') start [2025-03-20 09:42:04] Production.ERROR: done [2025-03-20 09:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:42:04] Production.INFO: Account Balance Start. [2025-03-20 09:42:04] Production.INFO: CreateAllLog Start [2025-03-20 09:42:04] Production.INFO: 117 [2025-03-20 09:42:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721990') end [2025-03-20 09:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:42:04] Production.INFO: 1 [2025-03-20 09:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:04] Production.ERROR: done [2025-03-20 09:42:04] Production.INFO: ==7702== Releasing lock... [2025-03-20 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:04] Production.INFO: ==7694== Releasing lock... [2025-03-20 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:42:05] Production.INFO: Total Charge 0 [2025-03-20 09:42:05] Production.INFO: CreateAllLog End [2025-03-20 09:42:05] Production.INFO: Account Balance End. [2025-03-20 09:42:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:42:05] Production.INFO: ==7698== Releasing lock... [2025-03-20 09:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:42:06 [end_date_ymd] => 2025-03-20 09:42:06 [RateCDR] => 1 ) [2025-03-20 09:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:42:06' and `end` < '2025-03-20 09:42:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:42:13] Production.ERROR: CronJobId end10 [2025-03-20 09:42:13] Production.INFO: ==7696== Releasing lock... [2025-03-20 09:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:42:16] Production.INFO: call_cost start [2025-03-20 09:42:16] Production.INFO: call_cost end [2025-03-20 09:42:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:42:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:42:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:42:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:42:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:42:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:42:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:42:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:42:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:42:17] Production.INFO: ==7692== Releasing lock... [2025-03-20 09:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:42:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:42:18] Production.INFO: count ==1571 [2025-03-20 09:42:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:42:06 - End Time 2025-03-20 09:42:06 [2025-03-20 09:42:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721994', 'tblTempUsageDetail_20' ) start [2025-03-20 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721994', 'tblTempUsageDetail_20' ) end [2025-03-20 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721994', 'tblTempVendorCDR_20' ) start [2025-03-20 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721994', 'tblTempVendorCDR_20' ) end [2025-03-20 09:42:19] Production.INFO: ProcessCDR(1,14721994,1,1,2) [2025-03-20 09:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721994,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721994,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721994', 'tblTempUsageDetail_20' ) start [2025-03-20 09:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721994', 'tblTempUsageDetail_20' ) end [2025-03-20 09:42:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:42:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:42:24] Production.INFO: ==7700== Releasing lock... [2025-03-20 09:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:42:24] Production.INFO: 39.75 MB #Memory Used# [2025-03-20 13:43:02] Production.INFO: ==7790== Lock acquired, processing the job... [2025-03-20 13:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:43:02] Production.INFO: neon service started [2025-03-20 13:43:02] Production.INFO: neon service started [2025-03-20 13:43:02] Production.INFO: ==7790== Releasing lock... [2025-03-20 13:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:43:02] Production.INFO: ==7792== Lock acquired, processing the job... [2025-03-20 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:43:02] Production.INFO: ==7792== Releasing lock... [2025-03-20 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:43:03] Production.INFO: ==7795== Lock acquired, processing the job... [2025-03-20 13:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:43:03] Production.INFO: ==7795== Releasing lock... [2025-03-20 13:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:43:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:43:03] Production.INFO: ==7801== Lock acquired, processing the job... [2025-03-20 09:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:43:03] Production.INFO: ==7807== Lock acquired, processing the job... [2025-03-20 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:43:03] Production.INFO: ==7797== Lock acquired, processing the job... [2025-03-20 09:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:43:04] Production.INFO: ==7799== Lock acquired, processing the job... [2025-03-20 09:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:43:04] Production.INFO: ==7803== Lock acquired, processing the job... [2025-03-20 09:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:43:04] Production.INFO: ==7805== Lock acquired, processing the job... [2025-03-20 09:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09: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-03-20 09:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:43:04] Production.INFO: Account Balance Start. [2025-03-20 09:43:04] Production.INFO: CreateAllLog Start [2025-03-20 09:43:04] Production.INFO: 117 [2025-03-20 09:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.INFO: count ==12 [2025-03-20 09: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-03-20 09:43:04] Production.INFO: count ==23 [2025-03-20 09:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721996') start [2025-03-20 09:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.ERROR: done [2025-03-20 09:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14721996') end [2025-03-20 09:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:43:04] Production.INFO: 1 [2025-03-20 09:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.INFO: ==7807== Releasing lock... [2025-03-20 09:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:43:04] Production.INFO: ==7799== Releasing lock... [2025-03-20 09:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:43:04] Production.ERROR: done [2025-03-20 09:43:04] Production.INFO: Total Charge 0 [2025-03-20 09:43:04] Production.INFO: CreateAllLog End [2025-03-20 09:43:04] Production.INFO: Account Balance End. [2025-03-20 09:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:43:05] Production.INFO: ==7803== Releasing lock... [2025-03-20 09:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:43:05 [end_date_ymd] => 2025-03-20 09:43:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:43:05' and `end` < '2025-03-20 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-03-20 09:43:12] Production.ERROR: CronJobId end10 [2025-03-20 09:43:12] Production.INFO: ==7801== Releasing lock... [2025-03-20 09:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:43:15] Production.INFO: call_cost start [2025-03-20 09:43:15] Production.INFO: call_cost end [2025-03-20 09:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:43:16] Production.INFO: ==7797== Releasing lock... [2025-03-20 09:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:43:18] Production.INFO: count ==1593 [2025-03-20 09:43:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:43:05 - End Time 2025-03-20 09:43:05 [2025-03-20 09:43:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721999', 'tblTempUsageDetail_20' ) start [2025-03-20 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14721999', 'tblTempUsageDetail_20' ) end [2025-03-20 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721999', 'tblTempVendorCDR_20' ) start [2025-03-20 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14721999', 'tblTempVendorCDR_20' ) end [2025-03-20 09:43:19] Production.INFO: ProcessCDR(1,14721999,1,1,2) [2025-03-20 09:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14721999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14721999,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14721999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14721999,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721999', 'tblTempUsageDetail_20' ) start [2025-03-20 09:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14721999', 'tblTempUsageDetail_20' ) end [2025-03-20 09:43:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:43:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:43:24] Production.INFO: ==7805== Releasing lock... [2025-03-20 09:43:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:43:24] Production.INFO: 40.25 MB #Memory Used# [2025-03-20 13:44:01] Production.INFO: ==7922== Lock acquired, processing the job... [2025-03-20 13:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:44:01] Production.INFO: neon service started [2025-03-20 13:44:01] Production.INFO: neon service started [2025-03-20 13:44:01] Production.INFO: ==7922== Releasing lock... [2025-03-20 13:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:44:02] Production.INFO: ==7924== Lock acquired, processing the job... [2025-03-20 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:44:02] Production.INFO: ==7924== Releasing lock... [2025-03-20 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:44:02] Production.INFO: ==7926== Lock acquired, processing the job... [2025-03-20 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:44:02] Production.INFO: ==7926== Releasing lock... [2025-03-20 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:44:03] Production.INFO: ==7934== Lock acquired, processing the job... [2025-03-20 09:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:44:03] Production.INFO: Account Balance Start. [2025-03-20 09:44:03] Production.INFO: CreateAllLog Start [2025-03-20 09:44:03] Production.INFO: 117 [2025-03-20 09:44:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:03] Production.INFO: Date 2025-03-13 [2025-03-20 09:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:03] Production.INFO: ==7928== Lock acquired, processing the job... [2025-03-20 09:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:44:03] Production.INFO: Date 2025-03-14 [2025-03-20 09:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:03] Production.INFO: ==7930== Lock acquired, processing the job... [2025-03-20 09:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:44:03] Production.INFO: Date 2025-03-15 [2025-03-20 09:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:03] Production.INFO: ==7932== Lock acquired, processing the job... [2025-03-20 09:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:44:04] Production.INFO: ==7936== Lock acquired, processing the job... [2025-03-20 09:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:04] Production.INFO: ==7938== Lock acquired, processing the job... [2025-03-20 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:44:04] Production.INFO: count ==12 [2025-03-20 09:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:44:04] Production.INFO: count ==23 [2025-03-20 09:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722003') start [2025-03-20 09:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:04] Production.INFO: ==7930== Releasing lock... [2025-03-20 09:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:44:04] Production.INFO: Total Charge 0 [2025-03-20 09:44:04] Production.INFO: CreateAllLog End [2025-03-20 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722003') end [2025-03-20 09:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:44:04] Production.INFO: 1 [2025-03-20 09:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:44:04] Production.INFO: ==7938== Releasing lock... [2025-03-20 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:44:04] Production.ERROR: done [2025-03-20 09:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:44:04] Production.INFO: Account Balance End. [2025-03-20 09:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:44:04] Production.INFO: ==7934== Releasing lock... [2025-03-20 09:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:44:04] Production.ERROR: done [2025-03-20 09:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:44:06 [end_date_ymd] => 2025-03-20 09:44:06 [RateCDR] => 1 ) [2025-03-20 09:44:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:44:06' and `end` < '2025-03-20 09:44:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:44:14] Production.ERROR: CronJobId end10 [2025-03-20 09:44:14] Production.INFO: ==7932== Releasing lock... [2025-03-20 09:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:44:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:44:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:44:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:44:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:44:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:44:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:44:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:44:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:44:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:44:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:44:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:44:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:44:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:44:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:44:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:44:16] Production.INFO: call_cost start [2025-03-20 09:44:16] Production.INFO: call_cost end [2025-03-20 09:44:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:44:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:44:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:44:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:44:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:44:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:44:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:44:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:44:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:44:17] Production.INFO: ==7928== Releasing lock... [2025-03-20 09:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:44:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:44:18] Production.INFO: count ==1634 [2025-03-20 09:44:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:44:06 - End Time 2025-03-20 09:44:06 [2025-03-20 09:44:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722004', 'tblTempUsageDetail_20' ) start [2025-03-20 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722004', 'tblTempUsageDetail_20' ) end [2025-03-20 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722004', 'tblTempVendorCDR_20' ) start [2025-03-20 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722004', 'tblTempVendorCDR_20' ) end [2025-03-20 09:44:19] Production.INFO: ProcessCDR(1,14722004,1,1,2) [2025-03-20 09:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:44:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722004,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:44:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:44:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722004,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:44:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722004', 'tblTempUsageDetail_20' ) start [2025-03-20 09:44:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722004', 'tblTempUsageDetail_20' ) end [2025-03-20 09:44:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:44:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:44:25] Production.INFO: ==7936== Releasing lock... [2025-03-20 09:44:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:44:25] Production.INFO: 40.25 MB #Memory Used# [2025-03-20 13:45:02] Production.INFO: ==8026== Lock acquired, processing the job... [2025-03-20 13:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:45:02] Production.INFO: neon service started [2025-03-20 13:45:02] Production.INFO: neon service started [2025-03-20 13:45:02] Production.INFO: ==8026== Releasing lock... [2025-03-20 13:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:45:02] Production.INFO: ==8030== Lock acquired, processing the job... [2025-03-20 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:45:02] Production.INFO: ==8030== Releasing lock... [2025-03-20 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:45:02] Production.INFO: ==8028== Lock acquired, processing the job... [2025-03-20 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:45:03] Production.INFO: ==8028== Releasing lock... [2025-03-20 09:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:45:03] Production.INFO: ==8035== Lock acquired, processing the job... [2025-03-20 09:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:45:03] Production.INFO: ==8037== Lock acquired, processing the job... [2025-03-20 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:45:04] Production.INFO: ==8045== Lock acquired, processing the job... [2025-03-20 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09: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-03-20 09:45:04] Production.INFO: count ==12 [2025-03-20 09: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-03-20 09:45:04] Production.INFO: count ==23 [2025-03-20 09:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722007') start [2025-03-20 09:45:04] Production.INFO: ==8037== Releasing lock... [2025-03-20 09:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:45:04] Production.INFO: ==8039== Lock acquired, processing the job... [2025-03-20 09:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722007') end [2025-03-20 09:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:45:04] Production.INFO: 1 [2025-03-20 09:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:45:04] Production.INFO: ==8041== Lock acquired, processing the job... [2025-03-20 09:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:45:04] Production.INFO: ==8045== Releasing lock... [2025-03-20 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:45:04] Production.INFO: ==8043== Lock acquired, processing the job... [2025-03-20 09:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:45:04] Production.INFO: Account Balance Start. [2025-03-20 09:45:04] Production.INFO: CreateAllLog Start [2025-03-20 09:45:04] Production.INFO: 117 [2025-03-20 09:45:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:05] Production.ERROR: done [2025-03-20 09:45:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:45:05] Production.INFO: Date 2025-03-13 [2025-03-20 09:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:05] Production.INFO: Date 2025-03-14 [2025-03-20 09:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:05] Production.ERROR: done [2025-03-20 09:45:05] Production.INFO: Date 2025-03-15 [2025-03-20 09:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:05] Production.INFO: Date 2025-03-16 [2025-03-20 09:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:45:05] Production.INFO: Total Charge 0 [2025-03-20 09:45:05] Production.INFO: CreateAllLog End [2025-03-20 09:45:05] Production.INFO: Account Balance End. [2025-03-20 09:45:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:45:05] Production.INFO: ==8041== Releasing lock... [2025-03-20 09:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:45:06 [end_date_ymd] => 2025-03-20 09:45:06 [RateCDR] => 1 ) [2025-03-20 09:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:45:06' and `end` < '2025-03-20 09:45:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:45:14] Production.ERROR: CronJobId end10 [2025-03-20 09:45:14] Production.INFO: ==8039== Releasing lock... [2025-03-20 09:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:45:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:45:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:45:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:45:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:45:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:45:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:45:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:45:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:45:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:45:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:45:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:45:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:45:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:45:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:45:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:45:16] Production.INFO: call_cost start [2025-03-20 09:45:16] Production.INFO: call_cost end [2025-03-20 09:45:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:45:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:45:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:45:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:45:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:45:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:45:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:45:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:45:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:45:17] Production.INFO: ==8035== Releasing lock... [2025-03-20 09:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:45:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:45:19] Production.INFO: count ==1643 [2025-03-20 09:45:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:45:06 - End Time 2025-03-20 09:45:06 [2025-03-20 09:45:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722009', 'tblTempUsageDetail_20' ) start [2025-03-20 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722009', 'tblTempUsageDetail_20' ) end [2025-03-20 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722009', 'tblTempVendorCDR_20' ) start [2025-03-20 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722009', 'tblTempVendorCDR_20' ) end [2025-03-20 09:45:19] Production.INFO: ProcessCDR(1,14722009,1,1,2) [2025-03-20 09:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:45:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722009', 'tblTempUsageDetail_20' ) start [2025-03-20 09:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722009', 'tblTempUsageDetail_20' ) end [2025-03-20 09:45:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:45:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:45:25] Production.INFO: ==8043== Releasing lock... [2025-03-20 09:45:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:45:25] Production.INFO: 40.5 MB #Memory Used# [2025-03-20 13:46:01] Production.INFO: ==8131== Lock acquired, processing the job... [2025-03-20 13:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:46:01] Production.INFO: neon service started [2025-03-20 13:46:01] Production.INFO: neon service started [2025-03-20 13:46:01] Production.INFO: ==8131== Releasing lock... [2025-03-20 13:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:46:02] Production.INFO: ==8135== Lock acquired, processing the job... [2025-03-20 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:46:02] Production.INFO: ==8135== Releasing lock... [2025-03-20 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:46:02] Production.INFO: ==8137== Lock acquired, processing the job... [2025-03-20 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:46:02] Production.INFO: ==8137== Releasing lock... [2025-03-20 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:46:03] Production.INFO: ==8141== Lock acquired, processing the job... [2025-03-20 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:46:03] Production.INFO: ==8141== Releasing lock... [2025-03-20 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:46:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:46:03] Production.INFO: ==8139== Lock acquired, processing the job... [2025-03-20 09:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:46:03] Production.INFO: ==8147== Lock acquired, processing the job... [2025-03-20 09:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:46:03] Production.INFO: ==8143== Lock acquired, processing the job... [2025-03-20 09:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:46:03] Production.INFO: ==8145== Lock acquired, processing the job... [2025-03-20 09:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:46:03] Production.INFO: ==8149== Lock acquired, processing the job... [2025-03-20 09:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:46:04] Production.INFO: Account Balance Start. [2025-03-20 09:46:04] Production.INFO: CreateAllLog Start [2025-03-20 09:46:04] Production.INFO: 117 [2025-03-20 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-03-20 09:46:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.INFO: count ==12 [2025-03-20 09:46:04] Production.ERROR: done [2025-03-20 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-03-20 09:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.INFO: count ==23 [2025-03-20 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722012') start [2025-03-20 09:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.ERROR: done [2025-03-20 09:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722012') end [2025-03-20 09:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:46:04] Production.INFO: 1 [2025-03-20 09:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:46:04] Production.INFO: ==8149== Releasing lock... [2025-03-20 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:46:04] Production.INFO: Total Charge 0 [2025-03-20 09:46:04] Production.INFO: CreateAllLog End [2025-03-20 09:46:05] Production.INFO: Account Balance End. [2025-03-20 09:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:46:05] Production.INFO: ==8145== Releasing lock... [2025-03-20 09:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:46:05 [end_date_ymd] => 2025-03-20 09:46:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:46:05' and `end` < '2025-03-20 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-03-20 09:46:14] Production.ERROR: CronJobId end10 [2025-03-20 09:46:14] Production.INFO: ==8143== Releasing lock... [2025-03-20 09:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:46:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:46:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:46:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:46:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:46:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:46:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:46:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:46:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:46:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:46:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:46:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:46:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:46:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:46:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:46:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:46:16] Production.INFO: call_cost start [2025-03-20 09:46:16] Production.INFO: call_cost end [2025-03-20 09:46:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:46:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:46:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:46:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:46:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:46:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:46:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:46:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:46:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:46:17] Production.INFO: ==8139== Releasing lock... [2025-03-20 09:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:46:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:46:18] Production.INFO: count ==1662 [2025-03-20 09:46:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:46:05 - End Time 2025-03-20 09:46:05 [2025-03-20 09:46:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722014', 'tblTempUsageDetail_20' ) start [2025-03-20 09:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722014', 'tblTempUsageDetail_20' ) end [2025-03-20 09:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722014', 'tblTempVendorCDR_20' ) start [2025-03-20 09:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722014', 'tblTempVendorCDR_20' ) end [2025-03-20 09:46:18] Production.INFO: ProcessCDR(1,14722014,1,1,2) [2025-03-20 09:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722014', 'tblTempUsageDetail_20' ) start [2025-03-20 09:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722014', 'tblTempUsageDetail_20' ) end [2025-03-20 09:46:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:46:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:46:24] Production.INFO: ==8147== Releasing lock... [2025-03-20 09:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:46:24] Production.INFO: 40.5 MB #Memory Used# [2025-03-20 13:47:02] Production.INFO: ==8248== Lock acquired, processing the job... [2025-03-20 13:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:47:02] Production.INFO: neon service started [2025-03-20 13:47:02] Production.INFO: neon service started [2025-03-20 13:47:02] Production.INFO: ==8248== Releasing lock... [2025-03-20 13:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:47:02] Production.INFO: ==8252== Lock acquired, processing the job... [2025-03-20 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:47:02] Production.INFO: ==8252== Releasing lock... [2025-03-20 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:47:02] Production.INFO: ==8250== Lock acquired, processing the job... [2025-03-20 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:47:03] Production.INFO: ==8250== Releasing lock... [2025-03-20 09:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:47:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:47:04] Production.INFO: ==8257== Lock acquired, processing the job... [2025-03-20 09:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:47:04] Production.INFO: ==8259== Lock acquired, processing the job... [2025-03-20 09:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:47:04] Production.INFO: ==8261== Lock acquired, processing the job... [2025-03-20 09:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:47:04] Production.INFO: Account Balance Start. [2025-03-20 09:47:04] Production.INFO: CreateAllLog Start [2025-03-20 09:47:04] Production.INFO: 117 [2025-03-20 09:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:47:04] Production.INFO: ==8255== Lock acquired, processing the job... [2025-03-20 09:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:47:04] Production.INFO: ==8263== Lock acquired, processing the job... [2025-03-20 09:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:47:04] Production.INFO: ==8257== Releasing lock... [2025-03-20 09:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.INFO: ==8265== Lock acquired, processing the job... [2025-03-20 09:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:47:04] Production.INFO: count ==12 [2025-03-20 09:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:47:04] Production.INFO: count ==23 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722018') start [2025-03-20 09:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.ERROR: done [2025-03-20 09:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722018') end [2025-03-20 09:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:47:04] Production.INFO: 1 [2025-03-20 09:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:47:05] Production.INFO: ==8265== Releasing lock... [2025-03-20 09:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:47:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:47:05] Production.ERROR: done [2025-03-20 09:47:05] Production.INFO: Total Charge 0 [2025-03-20 09:47:05] Production.INFO: CreateAllLog End [2025-03-20 09:47:05] Production.INFO: Account Balance End. [2025-03-20 09:47:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:47:05] Production.INFO: ==8261== Releasing lock... [2025-03-20 09:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:47:06 [end_date_ymd] => 2025-03-20 09:47:06 [RateCDR] => 1 ) [2025-03-20 09: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-03-20 06:47:06' and `end` < '2025-03-20 09: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-03-20 09:47:14] Production.ERROR: CronJobId end10 [2025-03-20 09:47:14] Production.INFO: ==8259== Releasing lock... [2025-03-20 09:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:47:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:47:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:47:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:47:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:47:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:47:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:47:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:47:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:47:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:47:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:47:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:47:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:47:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:47:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:47:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:47:17] Production.INFO: call_cost start [2025-03-20 09:47:17] Production.INFO: call_cost end [2025-03-20 09:47:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:47:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:47:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:47:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:47:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:47:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:47:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:47:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:47:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:47:18] Production.INFO: ==8255== Releasing lock... [2025-03-20 09:47:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:47:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:47:18] Production.INFO: count ==1683 [2025-03-20 09:47:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:47:06 - End Time 2025-03-20 09:47:06 [2025-03-20 09:47:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722019', 'tblTempUsageDetail_20' ) start [2025-03-20 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722019', 'tblTempUsageDetail_20' ) end [2025-03-20 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722019', 'tblTempVendorCDR_20' ) start [2025-03-20 09:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722019', 'tblTempVendorCDR_20' ) end [2025-03-20 09:47:19] Production.INFO: ProcessCDR(1,14722019,1,1,2) [2025-03-20 09:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722019', 'tblTempUsageDetail_20' ) start [2025-03-20 09:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722019', 'tblTempUsageDetail_20' ) end [2025-03-20 09:47:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:47:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:47:25] Production.INFO: ==8263== Releasing lock... [2025-03-20 09:47:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:47:25] Production.INFO: 40.75 MB #Memory Used# [2025-03-20 13:48:01] Production.INFO: ==8340== Lock acquired, processing the job... [2025-03-20 13:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:48:01] Production.INFO: neon service started [2025-03-20 13:48:01] Production.INFO: neon service started [2025-03-20 13:48:01] Production.INFO: ==8340== Releasing lock... [2025-03-20 13:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:48:02] Production.INFO: ==8342== Lock acquired, processing the job... [2025-03-20 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:48:02] Production.INFO: ==8342== Releasing lock... [2025-03-20 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:48:02] Production.INFO: ==8344== Lock acquired, processing the job... [2025-03-20 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:48:02] Production.INFO: ==8344== Releasing lock... [2025-03-20 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:48:03] Production.INFO: ==8351== Lock acquired, processing the job... [2025-03-20 09:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:48:03] Production.INFO: ==8353== Lock acquired, processing the job... [2025-03-20 09:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:48:03] Production.INFO: ==8347== Lock acquired, processing the job... [2025-03-20 09:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:48:03] Production.INFO: Account Balance Start. [2025-03-20 09:48:03] Production.INFO: CreateAllLog Start [2025-03-20 09:48:03] Production.INFO: 117 [2025-03-20 09:48:03] Production.INFO: ==8349== Lock acquired, processing the job... [2025-03-20 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:48:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:48:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:03] Production.INFO: ==8355== Lock acquired, processing the job... [2025-03-20 09:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:48:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:03] Production.INFO: ==8357== Lock acquired, processing the job... [2025-03-20 09:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:04] Production.INFO: ==8349== Releasing lock... [2025-03-20 09:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:48:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:48:04] Production.INFO: count ==12 [2025-03-20 09:48:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:48:04] Production.INFO: count ==23 [2025-03-20 09:48:04] Production.ERROR: done [2025-03-20 09:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:48:04] Production.INFO: Total Charge 0 [2025-03-20 09:48:04] Production.INFO: CreateAllLog End [2025-03-20 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722023') start [2025-03-20 09:48:04] Production.ERROR: done [2025-03-20 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722023') end [2025-03-20 09:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:48:04] Production.INFO: 1 [2025-03-20 09:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:48:04] Production.INFO: Account Balance End. [2025-03-20 09:48:04] Production.INFO: ==8357== Releasing lock... [2025-03-20 09:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:48:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:48:04] Production.INFO: ==8353== Releasing lock... [2025-03-20 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:48:05 [end_date_ymd] => 2025-03-20 09:48:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:48:05' and `end` < '2025-03-20 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-03-20 09:48:14] Production.ERROR: CronJobId end10 [2025-03-20 09:48:14] Production.INFO: ==8351== Releasing lock... [2025-03-20 09:48:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:48:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:48:15] Production.INFO: call_cost start [2025-03-20 09:48:16] Production.INFO: call_cost end [2025-03-20 09:48:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:48:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:48:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:48:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:48:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:48:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:48:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:48:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:48:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:48:17] Production.INFO: ==8347== Releasing lock... [2025-03-20 09:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:48:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:48:18] Production.INFO: count ==1700 [2025-03-20 09:48:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:48:05 - End Time 2025-03-20 09:48:05 [2025-03-20 09:48:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722024', 'tblTempUsageDetail_20' ) start [2025-03-20 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722024', 'tblTempUsageDetail_20' ) end [2025-03-20 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722024', 'tblTempVendorCDR_20' ) start [2025-03-20 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722024', 'tblTempVendorCDR_20' ) end [2025-03-20 09:48:19] Production.INFO: ProcessCDR(1,14722024,1,1,2) [2025-03-20 09:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722024', 'tblTempUsageDetail_20' ) start [2025-03-20 09:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722024', 'tblTempUsageDetail_20' ) end [2025-03-20 09:48:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:48:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:48:25] Production.INFO: ==8355== Releasing lock... [2025-03-20 09:48:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:48:25] Production.INFO: 40.75 MB #Memory Used# [2025-03-20 13:49:02] Production.INFO: ==8434== Lock acquired, processing the job... [2025-03-20 13:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:49:02] Production.INFO: neon service started [2025-03-20 13:49:02] Production.INFO: neon service started [2025-03-20 13:49:02] Production.INFO: ==8434== Releasing lock... [2025-03-20 13:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:49:02] Production.INFO: ==8436== Lock acquired, processing the job... [2025-03-20 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:49:02] Production.INFO: ==8438== Lock acquired, processing the job... [2025-03-20 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:49:02] Production.INFO: ==8438== Releasing lock... [2025-03-20 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:49:03] Production.INFO: ==8436== Releasing lock... [2025-03-20 09:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:49:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:49:04] Production.INFO: ==8447== Lock acquired, processing the job... [2025-03-20 09:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:49:04] Production.INFO: ==8449== Lock acquired, processing the job... [2025-03-20 09:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:49:04] Production.INFO: ==8441== Lock acquired, processing the job... [2025-03-20 09:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:49:04] Production.INFO: Account Balance Start. [2025-03-20 09:49:04] Production.INFO: CreateAllLog Start [2025-03-20 09:49:04] Production.INFO: 117 [2025-03-20 09:49:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:49:04] Production.INFO: ==8443== Lock acquired, processing the job... [2025-03-20 09:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:49:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:04] Production.INFO: ==8445== Lock acquired, processing the job... [2025-03-20 09:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:49:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:04] Production.INFO: ==8451== Lock acquired, processing the job... [2025-03-20 09:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:49:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:49:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:04] Production.ERROR: done [2025-03-20 09:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09: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-03-20 09:49:04] Production.INFO: count ==12 [2025-03-20 09:49:04] Production.ERROR: done [2025-03-20 09: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-03-20 09:49:04] Production.INFO: count ==23 [2025-03-20 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722028') start [2025-03-20 09:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:04] Production.INFO: ==8443== Releasing lock... [2025-03-20 09:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722028') end [2025-03-20 09:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:49:04] Production.INFO: 1 [2025-03-20 09:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:05] Production.INFO: ==8451== Releasing lock... [2025-03-20 09:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:49:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:49:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:49:05] Production.INFO: Total Charge 0 [2025-03-20 09:49:05] Production.INFO: CreateAllLog End [2025-03-20 09:49:05] Production.INFO: Account Balance End. [2025-03-20 09:49:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:49:05] Production.INFO: ==8447== Releasing lock... [2025-03-20 09:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:49:05 [end_date_ymd] => 2025-03-20 09:49:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:49:05' and `end` < '2025-03-20 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-03-20 09:49:12] Production.ERROR: CronJobId end10 [2025-03-20 09:49:12] Production.INFO: ==8445== Releasing lock... [2025-03-20 09:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:49:15] Production.INFO: call_cost start [2025-03-20 09:49:15] Production.INFO: call_cost end [2025-03-20 09:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:49:16] Production.INFO: ==8441== Releasing lock... [2025-03-20 09:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:49:18] Production.INFO: count ==1702 [2025-03-20 09:49:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:49:05 - End Time 2025-03-20 09:49:05 [2025-03-20 09:49:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722029', 'tblTempUsageDetail_20' ) start [2025-03-20 09:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722029', 'tblTempUsageDetail_20' ) end [2025-03-20 09:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722029', 'tblTempVendorCDR_20' ) start [2025-03-20 09:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722029', 'tblTempVendorCDR_20' ) end [2025-03-20 09:49:19] Production.INFO: ProcessCDR(1,14722029,1,1,2) [2025-03-20 09:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722029', 'tblTempUsageDetail_20' ) start [2025-03-20 09:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722029', 'tblTempUsageDetail_20' ) end [2025-03-20 09:49:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:49:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:49:24] Production.INFO: ==8449== Releasing lock... [2025-03-20 09:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:49:24] Production.INFO: 40.75 MB #Memory Used# [2025-03-20 13:50:01] Production.INFO: ==8531== Lock acquired, processing the job... [2025-03-20 13:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:50:01] Production.INFO: neon service started [2025-03-20 13:50:01] Production.INFO: neon service started [2025-03-20 13:50:01] Production.INFO: ==8531== Releasing lock... [2025-03-20 13:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:50:02] Production.INFO: ==8534== Lock acquired, processing the job... [2025-03-20 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:50:02] Production.INFO: ==8534== Releasing lock... [2025-03-20 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:50:02] Production.INFO: ==8536== Lock acquired, processing the job... [2025-03-20 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:50:02] Production.INFO: ==8536== Releasing lock... [2025-03-20 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:50:03] Production.INFO: ==8539== Lock acquired, processing the job... [2025-03-20 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 09:50:03] Production.INFO: ==8541== Lock acquired, processing the job... [2025-03-20 09:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 09:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 09:50:03] Production.INFO: ==8539== Releasing lock... [2025-03-20 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 09:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 09:50:03] Production.INFO: ==8545== Lock acquired, processing the job... [2025-03-20 09:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:50:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:50:03] Production.INFO: ==8549== Lock acquired, processing the job... [2025-03-20 09:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:50:03] Production.INFO: ==8543== Lock acquired, processing the job... [2025-03-20 09:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:50:03] Production.INFO: ==8547== Lock acquired, processing the job... [2025-03-20 09:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:50:03] Production.INFO: ==8551== Lock acquired, processing the job... [2025-03-20 09:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 09:50:04] Production.INFO: ==8553== Lock acquired, processing the job... [2025-03-20 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:50:04] Production.INFO: Account Balance Start. [2025-03-20 09:50:04] Production.INFO: CreateAllLog Start [2025-03-20 09:50:04] Production.INFO: 117 [2025-03-20 09:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.INFO: count ==12 [2025-03-20 09:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 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-03-20 09:50:04] Production.INFO: count ==23 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722032') start [2025-03-20 09:50:04] Production.ERROR: done [2025-03-20 09:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722032') end [2025-03-20 09:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:50:04] Production.INFO: 1 [2025-03-20 09:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.INFO: ==8553== Releasing lock... [2025-03-20 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:50:04] Production.INFO: ==8543== Releasing lock... [2025-03-20 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:50:04] Production.ERROR: done [2025-03-20 09:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.ERROR: done [2025-03-20 09:50:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 09:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722035', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 09:50:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:50:04] Production.INFO: Total Charge 0 [2025-03-20 09:50:04] Production.INFO: CreateAllLog End [2025-03-20 09:50:05] Production.INFO: Account Balance End. [2025-03-20 09:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:50:05] Production.INFO: ==8547== Releasing lock... [2025-03-20 09:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:50:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:50:05 [end_date_ymd] => 2025-03-20 09:50:05 [RateCDR] => 1 ) [2025-03-20 09:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:50:05' and `end` < '2025-03-20 09:50:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722035', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 09:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 09:50:09] Production.INFO: ProcessCDR(1,14722035,1,1,2) [2025-03-20 09:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722035,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722035,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:50:09] Production.INFO: ==8551== Releasing lock... [2025-03-20 09:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 09:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 09:50:15] Production.ERROR: CronJobId end10 [2025-03-20 09:50:15] Production.INFO: ==8545== Releasing lock... [2025-03-20 09:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:50:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:50:16] Production.INFO: call_cost start [2025-03-20 09:50:16] Production.INFO: call_cost end [2025-03-20 09:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:50:17] Production.INFO: ==8541== Releasing lock... [2025-03-20 09:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:50:18] Production.INFO: count ==1731 [2025-03-20 09:50:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:50:05 - End Time 2025-03-20 09:50:05 [2025-03-20 09:50:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722034', 'tblTempUsageDetail_20' ) start [2025-03-20 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722034', 'tblTempUsageDetail_20' ) end [2025-03-20 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722034', 'tblTempVendorCDR_20' ) start [2025-03-20 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722034', 'tblTempVendorCDR_20' ) end [2025-03-20 09:50:19] Production.INFO: ProcessCDR(1,14722034,1,1,2) [2025-03-20 09:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722034', 'tblTempUsageDetail_20' ) start [2025-03-20 09:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722034', 'tblTempUsageDetail_20' ) end [2025-03-20 09:50:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:50:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:50:24] Production.INFO: ==8549== Releasing lock... [2025-03-20 09:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:50:24] Production.INFO: 41 MB #Memory Used# [2025-03-20 13:51:02] Production.INFO: ==8628== Lock acquired, processing the job... [2025-03-20 13:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:51:02] Production.INFO: neon service started [2025-03-20 13:51:02] Production.INFO: neon service started [2025-03-20 13:51:02] Production.INFO: ==8628== Releasing lock... [2025-03-20 13:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:51:02] Production.INFO: ==8631== Lock acquired, processing the job... [2025-03-20 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:51:02] Production.INFO: ==8631== Releasing lock... [2025-03-20 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:51:02] Production.INFO: ==8633== Lock acquired, processing the job... [2025-03-20 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:51:03] Production.INFO: ==8633== Releasing lock... [2025-03-20 13:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:51:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:51:03] Production.INFO: ==8635== Lock acquired, processing the job... [2025-03-20 09:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:51:03] Production.INFO: ==8637== Lock acquired, processing the job... [2025-03-20 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:51:03] Production.INFO: ==8641== Lock acquired, processing the job... [2025-03-20 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:51:03] Production.INFO: Account Balance Start. [2025-03-20 09:51:03] Production.INFO: CreateAllLog Start [2025-03-20 09:51:03] Production.INFO: 117 [2025-03-20 09:51:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.INFO: ==8637== Releasing lock... [2025-03-20 09:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:51:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.INFO: ==8639== Lock acquired, processing the job... [2025-03-20 09:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.INFO: ==8643== Lock acquired, processing the job... [2025-03-20 09:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:51:04] Production.INFO: ==8645== Lock acquired, processing the job... [2025-03-20 09:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 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-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.INFO: count ==12 [2025-03-20 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-03-20 09:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:51:04] Production.INFO: count ==23 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722039') start [2025-03-20 09:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:51:04] Production.INFO: Total Charge 0 [2025-03-20 09:51:04] Production.INFO: CreateAllLog End [2025-03-20 09:51:04] Production.ERROR: done [2025-03-20 09:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722039') end [2025-03-20 09:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:51:04] Production.INFO: 1 [2025-03-20 09:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:51:04] Production.INFO: ==8645== Releasing lock... [2025-03-20 09:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:51:04] Production.ERROR: done [2025-03-20 09:51:05] Production.INFO: Account Balance End. [2025-03-20 09:51:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:51:05] Production.INFO: ==8641== Releasing lock... [2025-03-20 09:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:51:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:51:06 [end_date_ymd] => 2025-03-20 09:51:06 [RateCDR] => 1 ) [2025-03-20 09:51:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:51:06' and `end` < '2025-03-20 09:51:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:51:12] Production.ERROR: CronJobId end10 [2025-03-20 09:51:12] Production.INFO: ==8639== Releasing lock... [2025-03-20 09:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:51:16] Production.INFO: call_cost start [2025-03-20 09:51:16] Production.INFO: call_cost end [2025-03-20 09:51:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:51:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:51:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:51:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:51:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:51:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:51:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:51:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:51:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:51:17] Production.INFO: ==8635== Releasing lock... [2025-03-20 09:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:51:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:51:18] Production.INFO: count ==1825 [2025-03-20 09:51:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:51:06 - End Time 2025-03-20 09:51:06 [2025-03-20 09:51:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722040', 'tblTempUsageDetail_20' ) start [2025-03-20 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722040', 'tblTempUsageDetail_20' ) end [2025-03-20 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722040', 'tblTempVendorCDR_20' ) start [2025-03-20 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722040', 'tblTempVendorCDR_20' ) end [2025-03-20 09:51:19] Production.INFO: ProcessCDR(1,14722040,1,1,2) [2025-03-20 09:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722040,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722040,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722040', 'tblTempUsageDetail_20' ) start [2025-03-20 09:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722040', 'tblTempUsageDetail_20' ) end [2025-03-20 09:51:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:51:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:51:24] Production.INFO: ==8643== Releasing lock... [2025-03-20 09:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:51:24] Production.INFO: 41.75 MB #Memory Used# [2025-03-20 13:52:01] Production.INFO: ==8713== Lock acquired, processing the job... [2025-03-20 13:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:52:01] Production.INFO: neon service started [2025-03-20 13:52:01] Production.INFO: neon service started [2025-03-20 13:52:01] Production.INFO: ==8713== Releasing lock... [2025-03-20 13:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:52:02] Production.INFO: ==8717== Lock acquired, processing the job... [2025-03-20 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:52:02] Production.INFO: ==8719== Lock acquired, processing the job... [2025-03-20 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:52:02] Production.INFO: ==8719== Releasing lock... [2025-03-20 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:52:02] Production.INFO: ==8717== Releasing lock... [2025-03-20 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:52:03] Production.INFO: ==8728== Lock acquired, processing the job... [2025-03-20 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:52:03] Production.INFO: ==8730== Lock acquired, processing the job... [2025-03-20 09:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:52:03] Production.INFO: Account Balance Start. [2025-03-20 09:52:03] Production.INFO: CreateAllLog Start [2025-03-20 09:52:03] Production.INFO: 117 [2025-03-20 09:52:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:03] Production.INFO: ==8722== Lock acquired, processing the job... [2025-03-20 09:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:52:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:03] Production.INFO: ==8724== Lock acquired, processing the job... [2025-03-20 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:52:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:52:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:52:03] Production.INFO: ==8726== Lock acquired, processing the job... [2025-03-20 09:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:03] Production.INFO: ==8732== Lock acquired, processing the job... [2025-03-20 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:52:03] Production.INFO: Date 2025-03-13 [2025-03-20 09:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:52:04] Production.INFO: count ==12 [2025-03-20 09:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:52:04] Production.INFO: count ==23 [2025-03-20 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722043') start [2025-03-20 09:52:04] Production.ERROR: done [2025-03-20 09:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722043') end [2025-03-20 09:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:52:04] Production.INFO: 1 [2025-03-20 09:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:52:04] Production.INFO: ==8732== Releasing lock... [2025-03-20 09:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:52:04] Production.ERROR: done [2025-03-20 09:52:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:52:04] Production.INFO: ==8724== Releasing lock... [2025-03-20 09:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:52:04] Production.INFO: Total Charge 0 [2025-03-20 09:52:04] Production.INFO: CreateAllLog End [2025-03-20 09:52:04] Production.INFO: Account Balance End. [2025-03-20 09:52:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:52:04] Production.INFO: ==8728== Releasing lock... [2025-03-20 09:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:52:05 [end_date_ymd] => 2025-03-20 09:52:05 [RateCDR] => 1 ) [2025-03-20 09:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:52:05' and `end` < '2025-03-20 09:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:52:13] Production.ERROR: CronJobId end10 [2025-03-20 09:52:13] Production.INFO: ==8726== Releasing lock... [2025-03-20 09:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:52:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:52:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:52:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:52:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:52:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:52:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:52:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:52:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:52:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:52:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:52:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:52:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:52:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:52:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:52:16] Production.INFO: call_cost start [2025-03-20 09:52:16] Production.INFO: call_cost end [2025-03-20 09:52:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:52:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:52:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:52:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:52:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:52:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:52:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:52:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:52:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:52:17] Production.INFO: ==8722== Releasing lock... [2025-03-20 09:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:52:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:52:18] Production.INFO: count ==1843 [2025-03-20 09:52:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:52:05 - End Time 2025-03-20 09:52:05 [2025-03-20 09:52:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722045', 'tblTempUsageDetail_20' ) start [2025-03-20 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722045', 'tblTempUsageDetail_20' ) end [2025-03-20 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722045', 'tblTempVendorCDR_20' ) start [2025-03-20 09:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722045', 'tblTempVendorCDR_20' ) end [2025-03-20 09:52:19] Production.INFO: ProcessCDR(1,14722045,1,1,2) [2025-03-20 09:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722045,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722045,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722045', 'tblTempUsageDetail_20' ) start [2025-03-20 09:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722045', 'tblTempUsageDetail_20' ) end [2025-03-20 09:52:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:52:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:52:23] Production.INFO: ==8730== Releasing lock... [2025-03-20 09:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:52:23] Production.INFO: 42.25 MB #Memory Used# [2025-03-20 13:53:02] Production.INFO: ==8805== Lock acquired, processing the job... [2025-03-20 13:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:53:02] Production.INFO: neon service started [2025-03-20 13:53:02] Production.INFO: neon service started [2025-03-20 13:53:02] Production.INFO: ==8805== Releasing lock... [2025-03-20 13:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:53:02] Production.INFO: ==8808== Lock acquired, processing the job... [2025-03-20 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:53:02] Production.INFO: ==8810== Lock acquired, processing the job... [2025-03-20 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:53:02] Production.INFO: ==8808== Releasing lock... [2025-03-20 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:53:02] Production.INFO: ==8810== Releasing lock... [2025-03-20 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:53:03] Production.INFO: ==8812== Lock acquired, processing the job... [2025-03-20 09:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:53:03] Production.INFO: ==8816== Lock acquired, processing the job... [2025-03-20 09:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:53:03] Production.INFO: ==8820== Lock acquired, processing the job... [2025-03-20 09:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:53:03] Production.INFO: ==8814== Lock acquired, processing the job... [2025-03-20 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:53:04] Production.INFO: ==8822== Lock acquired, processing the job... [2025-03-20 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:53:04] Production.INFO: ==8818== Lock acquired, processing the job... [2025-03-20 09:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:53:04] Production.ERROR: done [2025-03-20 09:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:53:04] Production.INFO: Account Balance Start. [2025-03-20 09:53:04] Production.INFO: CreateAllLog Start [2025-03-20 09:53:04] Production.INFO: 117 [2025-03-20 09:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: ==8814== Releasing lock... [2025-03-20 09:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: count ==12 [2025-03-20 09:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:53:04] Production.INFO: count ==23 [2025-03-20 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722049') start [2025-03-20 09:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.ERROR: done [2025-03-20 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722049') end [2025-03-20 09:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:53:04] Production.INFO: 1 [2025-03-20 09:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: ==8822== Releasing lock... [2025-03-20 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:53:04] Production.INFO: Total Charge 0 [2025-03-20 09:53:04] Production.INFO: CreateAllLog End [2025-03-20 09:53:04] Production.INFO: Account Balance End. [2025-03-20 09:53:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:53:05] Production.INFO: ==8818== Releasing lock... [2025-03-20 09:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:53:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:53:05 [end_date_ymd] => 2025-03-20 09:53:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:53:05' and `end` < '2025-03-20 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-03-20 09:53:12] Production.ERROR: CronJobId end10 [2025-03-20 09:53:12] Production.INFO: ==8816== Releasing lock... [2025-03-20 09:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:53:15] Production.INFO: call_cost start [2025-03-20 09:53:15] Production.INFO: call_cost end [2025-03-20 09:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:53:16] Production.INFO: ==8812== Releasing lock... [2025-03-20 09:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:53:18] Production.INFO: count ==1847 [2025-03-20 09:53:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:53:05 - End Time 2025-03-20 09:53:05 [2025-03-20 09:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722050', 'tblTempUsageDetail_20' ) start [2025-03-20 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722050', 'tblTempUsageDetail_20' ) end [2025-03-20 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722050', 'tblTempVendorCDR_20' ) start [2025-03-20 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722050', 'tblTempVendorCDR_20' ) end [2025-03-20 09:53:18] Production.INFO: ProcessCDR(1,14722050,1,1,2) [2025-03-20 09:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722050,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722050,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722050', 'tblTempUsageDetail_20' ) start [2025-03-20 09:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722050', 'tblTempUsageDetail_20' ) end [2025-03-20 09:53:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:53:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:53:23] Production.INFO: ==8820== Releasing lock... [2025-03-20 09:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:53:23] Production.INFO: 42 MB #Memory Used# [2025-03-20 13:54:01] Production.INFO: ==8904== Lock acquired, processing the job... [2025-03-20 13:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:54:01] Production.INFO: neon service started [2025-03-20 13:54:01] Production.INFO: neon service started [2025-03-20 13:54:01] Production.INFO: ==8904== Releasing lock... [2025-03-20 13:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:54:01] Production.INFO: ==8908== Lock acquired, processing the job... [2025-03-20 13:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:54:02] Production.INFO: ==8908== Releasing lock... [2025-03-20 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:54:02] Production.INFO: ==8906== Lock acquired, processing the job... [2025-03-20 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:54:02] Production.INFO: ==8906== Releasing lock... [2025-03-20 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:54:03] Production.INFO: ==8916== Lock acquired, processing the job... [2025-03-20 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:54:03] Production.INFO: ==8918== Lock acquired, processing the job... [2025-03-20 09:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:54:03] Production.INFO: ==8922== Lock acquired, processing the job... [2025-03-20 09:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:54:03] Production.INFO: ==8916== Releasing lock... [2025-03-20 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:54:03] Production.INFO: ==8913== Lock acquired, processing the job... [2025-03-20 09:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:54:03] Production.INFO: ==8920== Lock acquired, processing the job... [2025-03-20 09:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:54:03] Production.INFO: ==8924== Lock acquired, processing the job... [2025-03-20 09:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:54:04] Production.ERROR: done [2025-03-20 09:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:54:04] Production.INFO: Account Balance Start. [2025-03-20 09:54:04] Production.INFO: CreateAllLog Start [2025-03-20 09:54:04] Production.INFO: 117 [2025-03-20 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-03-20 09:54:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.INFO: count ==12 [2025-03-20 09:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.ERROR: done [2025-03-20 09:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 09:54:04] Production.INFO: count ==23 [2025-03-20 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722053') start [2025-03-20 09:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722053') end [2025-03-20 09:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:54:04] Production.INFO: 1 [2025-03-20 09:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.INFO: ==8924== Releasing lock... [2025-03-20 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:54:04] Production.INFO: Total Charge 0 [2025-03-20 09:54:04] Production.INFO: CreateAllLog End [2025-03-20 09:54:04] Production.INFO: Account Balance End. [2025-03-20 09:54:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:54:04] Production.INFO: ==8920== Releasing lock... [2025-03-20 09:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:54:05 [end_date_ymd] => 2025-03-20 09:54:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:54:05' and `end` < '2025-03-20 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-03-20 09:54:13] Production.ERROR: CronJobId end10 [2025-03-20 09:54:13] Production.INFO: ==8918== Releasing lock... [2025-03-20 09:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:54:16] Production.INFO: call_cost start [2025-03-20 09:54:16] Production.INFO: call_cost end [2025-03-20 09:54:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:54:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:54:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:54:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:54:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:54:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:54:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:54:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:54:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:54:17] Production.INFO: ==8913== Releasing lock... [2025-03-20 09:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:54:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:54:18] Production.INFO: count ==1857 [2025-03-20 09:54:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:54:05 - End Time 2025-03-20 09:54:05 [2025-03-20 09:54:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722055', 'tblTempUsageDetail_20' ) start [2025-03-20 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722055', 'tblTempUsageDetail_20' ) end [2025-03-20 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722055', 'tblTempVendorCDR_20' ) start [2025-03-20 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722055', 'tblTempVendorCDR_20' ) end [2025-03-20 09:54:18] Production.INFO: ProcessCDR(1,14722055,1,1,2) [2025-03-20 09:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722055', 'tblTempUsageDetail_20' ) start [2025-03-20 09:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722055', 'tblTempUsageDetail_20' ) end [2025-03-20 09:54:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:54:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:54:24] Production.INFO: ==8922== Releasing lock... [2025-03-20 09:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:54:24] Production.INFO: 42 MB #Memory Used# [2025-03-20 13:55:02] Production.INFO: ==8996== Lock acquired, processing the job... [2025-03-20 13:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:55:02] Production.INFO: neon service started [2025-03-20 13:55:02] Production.INFO: neon service started [2025-03-20 13:55:02] Production.INFO: ==8996== Releasing lock... [2025-03-20 13:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:55:02] Production.INFO: ==9001== Lock acquired, processing the job... [2025-03-20 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:55:02] Production.INFO: ==9001== Releasing lock... [2025-03-20 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:55:02] Production.INFO: ==8999== Lock acquired, processing the job... [2025-03-20 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:55:03] Production.INFO: ==8999== Releasing lock... [2025-03-20 09:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:55:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:55:03] Production.INFO: ==9003== Lock acquired, processing the job... [2025-03-20 09:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:55:04] Production.INFO: ==9007== Lock acquired, processing the job... [2025-03-20 09:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:55:04] Production.INFO: ==9005== Lock acquired, processing the job... [2025-03-20 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:55:04] Production.INFO: ==9011== Lock acquired, processing the job... [2025-03-20 09:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:55:04] Production.INFO: ==9009== Lock acquired, processing the job... [2025-03-20 09:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:55:04] Production.INFO: Account Balance Start. [2025-03-20 09:55:04] Production.INFO: CreateAllLog Start [2025-03-20 09:55:04] Production.INFO: 117 [2025-03-20 09:55:04] Production.INFO: ==9013== Lock acquired, processing the job... [2025-03-20 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:04] Production.ERROR: done [2025-03-20 09:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:04] Production.INFO: count ==12 [2025-03-20 09:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:55:04] Production.INFO: ==9005== Releasing lock... [2025-03-20 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:55:04] Production.INFO: count ==23 [2025-03-20 09:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722059') start [2025-03-20 09:55:04] Production.ERROR: done [2025-03-20 09:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722059') end [2025-03-20 09:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:55:04] Production.INFO: 1 [2025-03-20 09:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:55:04] Production.INFO: ==9013== Releasing lock... [2025-03-20 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:55:05] Production.INFO: Date 2025-03-12 [2025-03-20 09:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:05] Production.INFO: Date 2025-03-13 [2025-03-20 09:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:05] Production.INFO: Date 2025-03-14 [2025-03-20 09:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:05] Production.INFO: Date 2025-03-15 [2025-03-20 09:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:05] Production.INFO: Date 2025-03-16 [2025-03-20 09:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:05] Production.INFO: Date 2025-03-17 [2025-03-20 09:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:55:05] Production.INFO: Total Charge 0 [2025-03-20 09:55:05] Production.INFO: CreateAllLog End [2025-03-20 09:55:05] Production.INFO: Account Balance End. [2025-03-20 09:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:55:05] Production.INFO: ==9009== Releasing lock... [2025-03-20 09:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:55:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:55:06 [end_date_ymd] => 2025-03-20 09:55:06 [RateCDR] => 1 ) [2025-03-20 09:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:55:06' and `end` < '2025-03-20 09:55:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:55:13] Production.ERROR: CronJobId end10 [2025-03-20 09:55:13] Production.INFO: ==9007== Releasing lock... [2025-03-20 09:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:55:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:55:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:55:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:55:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:55:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:55:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:55:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:55:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:55:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:55:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:55:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:55:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:55:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:55:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:55:16] Production.INFO: call_cost start [2025-03-20 09:55:16] Production.INFO: call_cost end [2025-03-20 09:55:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:55:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:55:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:55:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:55:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:55:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:55:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:55:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:55:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:55:17] Production.INFO: ==9003== Releasing lock... [2025-03-20 09:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:55:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:55:18] Production.INFO: count ==1886 [2025-03-20 09:55:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:55:06 - End Time 2025-03-20 09:55:06 [2025-03-20 09:55:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722060', 'tblTempUsageDetail_20' ) start [2025-03-20 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722060', 'tblTempUsageDetail_20' ) end [2025-03-20 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722060', 'tblTempVendorCDR_20' ) start [2025-03-20 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722060', 'tblTempVendorCDR_20' ) end [2025-03-20 09:55:19] Production.INFO: ProcessCDR(1,14722060,1,1,2) [2025-03-20 09:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:55:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:55:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722060', 'tblTempUsageDetail_20' ) start [2025-03-20 09:55:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722060', 'tblTempUsageDetail_20' ) end [2025-03-20 09:55:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:55:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:55:25] Production.INFO: ==9011== Releasing lock... [2025-03-20 09:55:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:55:25] Production.INFO: 42.25 MB #Memory Used# [2025-03-20 13:56:01] Production.INFO: ==9091== Lock acquired, processing the job... [2025-03-20 13:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:56:01] Production.INFO: neon service started [2025-03-20 13:56:01] Production.INFO: neon service started [2025-03-20 13:56:01] Production.INFO: ==9091== Releasing lock... [2025-03-20 13:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:56:01] Production.INFO: ==9093== Lock acquired, processing the job... [2025-03-20 09:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:56:02] Production.INFO: ==9093== Releasing lock... [2025-03-20 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:56:02] Production.INFO: ==9095== Lock acquired, processing the job... [2025-03-20 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:56:02] Production.INFO: ==9095== Releasing lock... [2025-03-20 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:56:03] Production.INFO: ==9098== Lock acquired, processing the job... [2025-03-20 09:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:56:03] Production.INFO: ==9100== Lock acquired, processing the job... [2025-03-20 09:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:56:03] Production.INFO: ==9104== Lock acquired, processing the job... [2025-03-20 09:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:56:03] Production.INFO: Account Balance Start. [2025-03-20 09:56:03] Production.INFO: CreateAllLog Start [2025-03-20 09:56:03] Production.INFO: 117 [2025-03-20 09:56:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:56:03] Production.INFO: ==9102== Lock acquired, processing the job... [2025-03-20 09:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:56:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:03] Production.INFO: ==9100== Releasing lock... [2025-03-20 09:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:56:03] Production.INFO: Date 2025-03-12 [2025-03-20 09:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:03] Production.INFO: Date 2025-03-13 [2025-03-20 09:56:03] Production.INFO: ==9106== Lock acquired, processing the job... [2025-03-20 09:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:03] Production.INFO: ==9108== Lock acquired, processing the job... [2025-03-20 09:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:56:03] Production.INFO: Date 2025-03-14 [2025-03-20 09:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:56:03] Production.INFO: Date 2025-03-15 [2025-03-20 09:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:03] Production.INFO: Date 2025-03-16 [2025-03-20 09:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:56:04] Production.INFO: count ==12 [2025-03-20 09:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 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-03-20 09:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:04] Production.INFO: count ==23 [2025-03-20 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722064') start [2025-03-20 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722064') end [2025-03-20 09:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:56:04] Production.INFO: 1 [2025-03-20 09:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:56:04] Production.INFO: ==9108== Releasing lock... [2025-03-20 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:56:04] Production.INFO: Total Charge 0 [2025-03-20 09:56:04] Production.ERROR: done [2025-03-20 09:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:56:04] Production.INFO: CreateAllLog End [2025-03-20 09:56:04] Production.ERROR: done [2025-03-20 09:56:04] Production.INFO: Account Balance End. [2025-03-20 09:56:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:56:04] Production.INFO: ==9104== Releasing lock... [2025-03-20 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:56:05 [end_date_ymd] => 2025-03-20 09:56:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:56:05' and `end` < '2025-03-20 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-03-20 09:56:12] Production.ERROR: CronJobId end10 [2025-03-20 09:56:12] Production.INFO: ==9102== Releasing lock... [2025-03-20 09:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:56:15] Production.INFO: call_cost start [2025-03-20 09:56:15] Production.INFO: call_cost end [2025-03-20 09:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:56:16] Production.INFO: ==9098== Releasing lock... [2025-03-20 09:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:56:18] Production.INFO: count ==1895 [2025-03-20 09:56:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:56:05 - End Time 2025-03-20 09:56:05 [2025-03-20 09:56:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722065', 'tblTempUsageDetail_20' ) start [2025-03-20 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722065', 'tblTempUsageDetail_20' ) end [2025-03-20 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722065', 'tblTempVendorCDR_20' ) start [2025-03-20 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722065', 'tblTempVendorCDR_20' ) end [2025-03-20 09:56:19] Production.INFO: ProcessCDR(1,14722065,1,1,2) [2025-03-20 09:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722065', 'tblTempUsageDetail_20' ) start [2025-03-20 09:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722065', 'tblTempUsageDetail_20' ) end [2025-03-20 09:56:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:56:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:56:24] Production.INFO: ==9106== Releasing lock... [2025-03-20 09:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:56:24] Production.INFO: 42.25 MB #Memory Used# [2025-03-20 13:57:01] Production.INFO: ==9177== Lock acquired, processing the job... [2025-03-20 13:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:57:02] Production.INFO: neon service started [2025-03-20 13:57:02] Production.INFO: neon service started [2025-03-20 13:57:02] Production.INFO: ==9177== Releasing lock... [2025-03-20 13:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:57:02] Production.INFO: ==9181== Lock acquired, processing the job... [2025-03-20 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:57:02] Production.INFO: ==9181== Releasing lock... [2025-03-20 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:57:02] Production.INFO: ==9179== Lock acquired, processing the job... [2025-03-20 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:57:02] Production.INFO: ==9179== Releasing lock... [2025-03-20 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:57:03] Production.INFO: ==9185== Lock acquired, processing the job... [2025-03-20 09:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:57:03] Production.INFO: ==9183== Lock acquired, processing the job... [2025-03-20 09:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:57:03] Production.INFO: ==9187== Lock acquired, processing the job... [2025-03-20 09:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:57:03] Production.INFO: ==9194== Lock acquired, processing the job... [2025-03-20 09:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:57:03] Production.INFO: ==9189== Lock acquired, processing the job... [2025-03-20 09:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:57:04] Production.INFO: Account Balance Start. [2025-03-20 09:57:04] Production.INFO: CreateAllLog Start [2025-03-20 09:57:04] Production.INFO: 117 [2025-03-20 09:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:57:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:57:04] Production.INFO: ==9192== Lock acquired, processing the job... [2025-03-20 09:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:57:04] Production.INFO: count ==12 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.INFO: ==9185== Releasing lock... [2025-03-20 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:57:04] Production.INFO: count ==23 [2025-03-20 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722068') start [2025-03-20 09:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722068') end [2025-03-20 09:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:57:04] Production.INFO: 1 [2025-03-20 09:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.INFO: ==9194== Releasing lock... [2025-03-20 09:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.ERROR: done [2025-03-20 09:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:57:04] Production.INFO: Total Charge 0 [2025-03-20 09:57:04] Production.ERROR: done [2025-03-20 09:57:04] Production.INFO: CreateAllLog End [2025-03-20 09:57:05] Production.INFO: Account Balance End. [2025-03-20 09:57:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:57:05] Production.INFO: ==9189== Releasing lock... [2025-03-20 09:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:57:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:57:05 [end_date_ymd] => 2025-03-20 09:57:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:57:05' and `end` < '2025-03-20 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-03-20 09:57:12] Production.ERROR: CronJobId end10 [2025-03-20 09:57:12] Production.INFO: ==9187== Releasing lock... [2025-03-20 09:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:57:14] Production.INFO: call_cost start [2025-03-20 09:57:14] Production.INFO: call_cost end [2025-03-20 09:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:57:15] Production.INFO: ==9183== Releasing lock... [2025-03-20 09:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:57:18] Production.INFO: count ==1908 [2025-03-20 09:57:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:57:05 - End Time 2025-03-20 09:57:05 [2025-03-20 09:57:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722070', 'tblTempUsageDetail_20' ) start [2025-03-20 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722070', 'tblTempUsageDetail_20' ) end [2025-03-20 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722070', 'tblTempVendorCDR_20' ) start [2025-03-20 09:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722070', 'tblTempVendorCDR_20' ) end [2025-03-20 09:57:19] Production.INFO: ProcessCDR(1,14722070,1,1,2) [2025-03-20 09:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722070', 'tblTempUsageDetail_20' ) start [2025-03-20 09:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722070', 'tblTempUsageDetail_20' ) end [2025-03-20 09:57:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:57:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:57:24] Production.INFO: ==9192== Releasing lock... [2025-03-20 09:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:57:24] Production.INFO: 42.25 MB #Memory Used# [2025-03-20 13:58:01] Production.INFO: ==9259== Lock acquired, processing the job... [2025-03-20 13:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:58:01] Production.INFO: neon service started [2025-03-20 13:58:01] Production.INFO: neon service started [2025-03-20 13:58:01] Production.INFO: ==9259== Releasing lock... [2025-03-20 13:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 09:58:01] Production.INFO: ==9261== Lock acquired, processing the job... [2025-03-20 09:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 09:58:02] Production.INFO: ==9261== Releasing lock... [2025-03-20 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:58:02] Production.INFO: ==9263== Lock acquired, processing the job... [2025-03-20 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:58:02] Production.INFO: ==9263== Releasing lock... [2025-03-20 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:58:03] Production.INFO: ==9266== Lock acquired, processing the job... [2025-03-20 09:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:58:03] Production.INFO: ==9270== Lock acquired, processing the job... [2025-03-20 09:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:58:03] Production.INFO: ==9274== Lock acquired, processing the job... [2025-03-20 09:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:58:03] Production.INFO: ==9268== Lock acquired, processing the job... [2025-03-20 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:58:03] Production.INFO: ==9276== Lock acquired, processing the job... [2025-03-20 09:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:58:03] Production.INFO: ==9272== Lock acquired, processing the job... [2025-03-20 09:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:58:03] Production.INFO: Account Balance Start. [2025-03-20 09:58:03] Production.INFO: CreateAllLog Start [2025-03-20 09:58:03] Production.INFO: 117 [2025-03-20 09:58:03] Production.INFO: Date 2025-03-08 [2025-03-20 09:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:58:03] Production.INFO: Date 2025-03-09 [2025-03-20 09:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:03] Production.INFO: count ==12 [2025-03-20 09:58:03] Production.INFO: Date 2025-03-10 [2025-03-20 09:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:03] Production.ERROR: done [2025-03-20 09:58:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09: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-03-20 09:58:03] Production.INFO: count ==23 [2025-03-20 09:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722074') start [2025-03-20 09:58:03] Production.INFO: Date 2025-03-11 [2025-03-20 09:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:03] Production.INFO: ==9268== Releasing lock... [2025-03-20 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:58:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:04] Production.ERROR: done [2025-03-20 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722074') end [2025-03-20 09:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:58:04] Production.INFO: 1 [2025-03-20 09:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:04] Production.INFO: ==9276== Releasing lock... [2025-03-20 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 09:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 09:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 09:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:58:04] Production.INFO: Total Charge 0 [2025-03-20 09:58:04] Production.INFO: CreateAllLog End [2025-03-20 09:58:04] Production.INFO: Account Balance End. [2025-03-20 09:58:04] Production.ERROR: CronJobId end 12 [2025-03-20 09:58:04] Production.INFO: ==9272== Releasing lock... [2025-03-20 09:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:58:05 [end_date_ymd] => 2025-03-20 09:58:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 06:58:05' and `end` < '2025-03-20 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-03-20 09:58:12] Production.ERROR: CronJobId end10 [2025-03-20 09:58:12] Production.INFO: ==9270== Releasing lock... [2025-03-20 09:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:58:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:58:15] Production.INFO: call_cost start [2025-03-20 09:58:15] Production.INFO: call_cost end [2025-03-20 09:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:58:15] Production.INFO: ==9266== Releasing lock... [2025-03-20 09:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:58:18] Production.INFO: count ==1914 [2025-03-20 09:58:18] Production.ERROR: pbx CDR StartTime 2025-03-20 06:58:05 - End Time 2025-03-20 09:58:05 [2025-03-20 09:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722075', 'tblTempUsageDetail_20' ) start [2025-03-20 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722075', 'tblTempUsageDetail_20' ) end [2025-03-20 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722075', 'tblTempVendorCDR_20' ) start [2025-03-20 09:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722075', 'tblTempVendorCDR_20' ) end [2025-03-20 09:58:18] Production.INFO: ProcessCDR(1,14722075,1,1,2) [2025-03-20 09:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722075', 'tblTempUsageDetail_20' ) start [2025-03-20 09:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722075', 'tblTempUsageDetail_20' ) end [2025-03-20 09:58:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:58:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:58:24] Production.INFO: ==9274== Releasing lock... [2025-03-20 09:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:58:24] Production.INFO: 42.75 MB #Memory Used# [2025-03-20 13:59:02] Production.INFO: ==9389== Lock acquired, processing the job... [2025-03-20 13:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 13:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 13:59:02] Production.INFO: neon service started [2025-03-20 13:59:02] Production.INFO: neon service started [2025-03-20 13:59:02] Production.INFO: ==9389== Releasing lock... [2025-03-20 13:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 13:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:59:02] Production.INFO: ==9393== Lock acquired, processing the job... [2025-03-20 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 09:59:02] Production.INFO: ==9391== Lock acquired, processing the job... [2025-03-20 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:59:02] Production.INFO: ==9393== Releasing lock... [2025-03-20 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 13:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 09:59:03] Production.INFO: ==9391== Releasing lock... [2025-03-20 09:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 09:59:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 09:59:04] Production.INFO: ==9396== Lock acquired, processing the job... [2025-03-20 09:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 09:59:04] Production.INFO: ==9398== Lock acquired, processing the job... [2025-03-20 09:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 09:59:04] Production.INFO: ==9402== Lock acquired, processing the job... [2025-03-20 09:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 09:59:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 09:59:04] Production.INFO: ==9404== Lock acquired, processing the job... [2025-03-20 09:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 09:59:04] Production.INFO: ==9406== Lock acquired, processing the job... [2025-03-20 09:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 09:59:04] Production.INFO: Account Balance Start. [2025-03-20 09:59:04] Production.INFO: CreateAllLog Start [2025-03-20 09:59:04] Production.INFO: 117 [2025-03-20 09:59:04] Production.INFO: Date 2025-03-08 [2025-03-20 09:59:04] Production.INFO: ==9400== Lock acquired, processing the job... [2025-03-20 09:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 09:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 09:59:04] Production.INFO: Date 2025-03-09 [2025-03-20 09:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:04] Production.INFO: Date 2025-03-10 [2025-03-20 09:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:04] Production.INFO: Date 2025-03-11 [2025-03-20 09:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:04] Production.INFO: Date 2025-03-12 [2025-03-20 09:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:04] Production.INFO: ==9398== Releasing lock... [2025-03-20 09:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 09:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 09:59:04] Production.INFO: Date 2025-03-13 [2025-03-20 09:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 09:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 09:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 09:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 09:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 09:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 09:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 09:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:04] Production.INFO: count ==12 [2025-03-20 09:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 09:59:04] Production.INFO: count ==23 [2025-03-20 09:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 09:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722079') start [2025-03-20 09:59:05] Production.ERROR: done [2025-03-20 09:59:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 09:59:05] Production.INFO: Date 2025-03-18 [2025-03-20 09:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:05] Production.INFO: Date 2025-03-19 [2025-03-20 09:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722079') end [2025-03-20 09:59:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 09:59:05] Production.INFO: 1 [2025-03-20 09:59:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 09:59:05] Production.INFO: Date 2025-03-20 [2025-03-20 09:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 09:59:05] Production.ERROR: done [2025-03-20 09:59:05] Production.INFO: ==9406== Releasing lock... [2025-03-20 09:59:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 09:59:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 09:59:05] Production.INFO: Total Charge 0 [2025-03-20 09:59:05] Production.INFO: CreateAllLog End [2025-03-20 09:59:05] Production.INFO: Account Balance End. [2025-03-20 09:59:05] Production.ERROR: CronJobId end 12 [2025-03-20 09:59:05] Production.INFO: ==9402== Releasing lock... [2025-03-20 09:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 09:59:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 09:59:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 06:59:06 [end_date_ymd] => 2025-03-20 09:59:06 [RateCDR] => 1 ) [2025-03-20 09:59:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 06:59:06' and `end` < '2025-03-20 09:59:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 09:59:13] Production.ERROR: CronJobId end10 [2025-03-20 09:59:13] Production.INFO: ==9400== Releasing lock... [2025-03-20 09:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 09:59:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 09:59:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 09:59:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 09:59:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 09:59:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 09:59:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 09:59:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 09:59:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 09:59:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 09:59:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 09:59:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 09:59:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 09:59:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 09:59:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 09:59:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 09:59:17] Production.INFO: call_cost start [2025-03-20 09:59:17] Production.INFO: call_cost end [2025-03-20 09:59:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 09:59:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 09:59:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 09:59:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 09:59:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 09:59:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 09:59:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 09:59:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 09:59:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 09:59:18] Production.INFO: ==9396== Releasing lock... [2025-03-20 09:59:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 09:59:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 09:59:19] Production.INFO: count ==1938 [2025-03-20 09:59:19] Production.ERROR: pbx CDR StartTime 2025-03-20 06:59:06 - End Time 2025-03-20 09:59:06 [2025-03-20 09:59:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722080', 'tblTempUsageDetail_20' ) start [2025-03-20 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722080', 'tblTempUsageDetail_20' ) end [2025-03-20 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722080', 'tblTempVendorCDR_20' ) start [2025-03-20 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722080', 'tblTempVendorCDR_20' ) end [2025-03-20 09:59:19] Production.INFO: ProcessCDR(1,14722080,1,1,2) [2025-03-20 09:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:59:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 09:59:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 09:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722080', 'tblTempUsageDetail_20' ) start [2025-03-20 09:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722080', 'tblTempUsageDetail_20' ) end [2025-03-20 09:59:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 09:59:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 09:59:25] Production.INFO: ==9404== Releasing lock... [2025-03-20 09:59:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 09:59:25] Production.INFO: 42.5 MB #Memory Used# [2025-03-20 14:00:01] Production.INFO: ==9478== Lock acquired, processing the job... [2025-03-20 14:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:00:01] Production.INFO: neon service started [2025-03-20 14:00:01] Production.INFO: neon service started [2025-03-20 14:00:01] Production.INFO: ==9478== Releasing lock... [2025-03-20 14:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:00:02] Production.INFO: ==9480== Lock acquired, processing the job... [2025-03-20 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:00:02] Production.INFO: ==9482== Lock acquired, processing the job... [2025-03-20 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:00:02] Production.INFO: ==9482== Releasing lock... [2025-03-20 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:00:02] Production.INFO: ==9480== Releasing lock... [2025-03-20 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:00:03] Production.INFO: ==9487== Lock acquired, processing the job... [2025-03-20 10:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:00:03] Production.INFO: ==9489== Lock acquired, processing the job... [2025-03-20 10:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:00:03] Production.INFO: ==9491== Lock acquired, processing the job... [2025-03-20 10:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:00:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:00:03] Production.INFO: ==9495== Lock acquired, processing the job... [2025-03-20 10:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:00:03] Production.INFO: ==9485== Lock acquired, processing the job... [2025-03-20 10:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 10:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:00:03] Production.INFO: ==9493== Lock acquired, processing the job... [2025-03-20 10:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:00:03] Production.INFO: ==9489== Releasing lock... [2025-03-20 10:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:00:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:00:04] Production.INFO: Account Balance Start. [2025-03-20 10:00:04] Production.INFO: CreateAllLog Start [2025-03-20 10:00:04] Production.INFO: 117 [2025-03-20 10:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:00:04] Production.INFO: ==9497== Lock acquired, processing the job... [2025-03-20 10:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 10:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 10:00:04] Production.ERROR: CronJob PID - 9487 [2025-03-20 10:00:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 10:00:04] Production.ERROR: CronJob ID - 5 [2025-03-20 10:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 10:00:00 [2025-03-20 10:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 10:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 10:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 10:00:04] Production.ERROR: CronJob PID - 9491 [2025-03-20 10:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 10:00:04] Production.ERROR: CronJob ID - 10 [2025-03-20 10:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 10:00:00 [2025-03-20 10:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 10:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 10:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 10:00:04] Production.ERROR: CronJob PID - 9493 [2025-03-20 10:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 10:00:04] Production.ERROR: CronJob ID - 12 [2025-03-20 10:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 10:00:00 [2025-03-20 10:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 10:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 10:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 10:00:04] Production.ERROR: CronJob PID - 9495 [2025-03-20 10:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 10:00:04] Production.ERROR: CronJob ID - 16 [2025-03-20 10:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 10:00:00 [2025-03-20 10:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 10:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 10:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 10:00:04] Production.INFO: ==9485== Releasing lock... [2025-03-20 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 10:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:04] Production.INFO: ==9501== Lock acquired, processing the job... [2025-03-20 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:00:04] Production.ERROR: done [2025-03-20 10:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:00:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:04] Production.ERROR: done [2025-03-20 10:00:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:04] Production.ERROR: done [2025-03-20 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-03-20 10:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 10:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722086', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 10:00:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:00:04] Production.INFO: count ==12 [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:00:04] Production.INFO: count ==23 [2025-03-20 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722084') start [2025-03-20 10:00:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722084') end [2025-03-20 10:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:00:04] Production.INFO: 1 [2025-03-20 10:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:00:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:04] Production.INFO: ==9501== Releasing lock... [2025-03-20 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:00:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:00:05] Production.INFO: Total Charge 0 [2025-03-20 10:00:05] Production.INFO: CreateAllLog End [2025-03-20 10:00:05] Production.INFO: Account Balance End. [2025-03-20 10:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:00:05] Production.INFO: ==9493== Releasing lock... [2025-03-20 10:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:00:06 [end_date_ymd] => 2025-03-20 10:00:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:00:06' and `end` < '2025-03-20 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-03-20 10:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722086', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 10:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 10:00:09] Production.INFO: ProcessCDR(1,14722086,1,1,2) [2025-03-20 10:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722086,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722086,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:00:09] Production.INFO: ==9497== Releasing lock... [2025-03-20 10:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 10:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 10:00:15] Production.ERROR: CronJobId end10 [2025-03-20 10:00:15] Production.INFO: ==9491== Releasing lock... [2025-03-20 10:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:00:17] Production.INFO: call_cost start [2025-03-20 10:00:17] Production.INFO: call_cost end [2025-03-20 10:00:18] Production.INFO: count ==1961 [2025-03-20 10:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:00:18] Production.INFO: ==9487== Releasing lock... [2025-03-20 10:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:00:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:00:06 - End Time 2025-03-20 10:00:06 [2025-03-20 10:00:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722085', 'tblTempUsageDetail_20' ) start [2025-03-20 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722085', 'tblTempUsageDetail_20' ) end [2025-03-20 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722085', 'tblTempVendorCDR_20' ) start [2025-03-20 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722085', 'tblTempVendorCDR_20' ) end [2025-03-20 10:00:19] Production.INFO: ProcessCDR(1,14722085,1,1,2) [2025-03-20 10:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722085', 'tblTempUsageDetail_20' ) start [2025-03-20 10:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722085', 'tblTempUsageDetail_20' ) end [2025-03-20 10:00:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:00:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:00:24] Production.INFO: ==9495== Releasing lock... [2025-03-20 10:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:00:24] Production.INFO: 42.75 MB #Memory Used# [2025-03-20 14:01:02] Production.INFO: ==9579== Lock acquired, processing the job... [2025-03-20 14:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:01:02] Production.INFO: neon service started [2025-03-20 14:01:02] Production.INFO: neon service started [2025-03-20 14:01:02] Production.INFO: ==9579== Releasing lock... [2025-03-20 14:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:01:02] Production.INFO: ==9587== Lock acquired, processing the job... [2025-03-20 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:01:02] Production.INFO: ==9587== Releasing lock... [2025-03-20 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:01:02] Production.INFO: ==9585== Lock acquired, processing the job... [2025-03-20 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:01:03] Production.INFO: ==9585== Releasing lock... [2025-03-20 10:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:01:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:01:03] Production.INFO: ==9589== Lock acquired, processing the job... [2025-03-20 10:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:01:03] Production.INFO: ==9591== Lock acquired, processing the job... [2025-03-20 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:01:03] Production.INFO: ==9595== Lock acquired, processing the job... [2025-03-20 10:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:01:04] Production.INFO: Account Balance Start. [2025-03-20 10:01:04] Production.INFO: CreateAllLog Start [2025-03-20 10:01:04] Production.INFO: 117 [2025-03-20 10:01:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: ==9593== Lock acquired, processing the job... [2025-03-20 10:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:01:04] Production.INFO: ==9591== Releasing lock... [2025-03-20 10:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: ==9597== Lock acquired, processing the job... [2025-03-20 10:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: ==9599== Lock acquired, processing the job... [2025-03-20 10:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:01:04] Production.INFO: Total Charge 0 [2025-03-20 10:01:04] Production.INFO: CreateAllLog End [2025-03-20 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-03-20 10:01:05] Production.INFO: count ==12 [2025-03-20 10:01:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:01:05] Production.INFO: count ==23 [2025-03-20 10:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722090') start [2025-03-20 10:01:05] Production.ERROR: done [2025-03-20 10:01:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:01:05] Production.ERROR: done [2025-03-20 10:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722090') end [2025-03-20 10:01:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:01:05] Production.INFO: 1 [2025-03-20 10:01:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:01:05] Production.INFO: Account Balance End. [2025-03-20 10:01:05] Production.INFO: ==9599== Releasing lock... [2025-03-20 10:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:01:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:01:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:01:05] Production.INFO: ==9595== Releasing lock... [2025-03-20 10:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:01:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:01:06 [end_date_ymd] => 2025-03-20 10:01:06 [RateCDR] => 1 ) [2025-03-20 10:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:01:06' and `end` < '2025-03-20 10:01:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:01:15] Production.ERROR: CronJobId end10 [2025-03-20 10:01:15] Production.INFO: ==9593== Releasing lock... [2025-03-20 10:01:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:01:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:01:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:01:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:01:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:01:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:01:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:01:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:01:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:01:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:01:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:01:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:01:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:01:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:01:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:01:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:01:17] Production.INFO: call_cost start [2025-03-20 10:01:17] Production.INFO: call_cost end [2025-03-20 10:01:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:01:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:01:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:01:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:01:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:01:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:01:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:01:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:01:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:01:18] Production.INFO: ==9589== Releasing lock... [2025-03-20 10:01:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:01:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:01:19] Production.INFO: count ==2037 [2025-03-20 10:01:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:01:06 - End Time 2025-03-20 10:01:06 [2025-03-20 10:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722091', 'tblTempUsageDetail_20' ) start [2025-03-20 10:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722091', 'tblTempUsageDetail_20' ) end [2025-03-20 10:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722091', 'tblTempVendorCDR_20' ) start [2025-03-20 10:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722091', 'tblTempVendorCDR_20' ) end [2025-03-20 10:01:20] Production.INFO: ProcessCDR(1,14722091,1,1,2) [2025-03-20 10:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722091,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722091,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722091', 'tblTempUsageDetail_20' ) start [2025-03-20 10:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722091', 'tblTempUsageDetail_20' ) end [2025-03-20 10:01:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:01:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:01:26] Production.INFO: ==9597== Releasing lock... [2025-03-20 10:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:01:26] Production.INFO: 43.25 MB #Memory Used# [2025-03-20 14:02:01] Production.INFO: ==9674== Lock acquired, processing the job... [2025-03-20 14:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:02:01] Production.INFO: neon service started [2025-03-20 14:02:01] Production.INFO: neon service started [2025-03-20 14:02:01] Production.INFO: ==9674== Releasing lock... [2025-03-20 14:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:02:01] Production.INFO: ==9678== Lock acquired, processing the job... [2025-03-20 14:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:02:01] Production.INFO: ==9678== Releasing lock... [2025-03-20 14:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:02:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:02:02] Production.INFO: ==9676== Lock acquired, processing the job... [2025-03-20 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:02:02] Production.INFO: ==9676== Releasing lock... [2025-03-20 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:02:03] Production.INFO: ==9687== Lock acquired, processing the job... [2025-03-20 10:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:02:03] Production.INFO: ==9691== Lock acquired, processing the job... [2025-03-20 10:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:02:03] Production.INFO: Account Balance Start. [2025-03-20 10:02:03] Production.INFO: CreateAllLog Start [2025-03-20 10:02:03] Production.INFO: 117 [2025-03-20 10:02:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:02:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:03] Production.INFO: count ==12 [2025-03-20 10:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:02:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:03] Production.INFO: count ==23 [2025-03-20 10:02:03] Production.INFO: ==9681== Lock acquired, processing the job... [2025-03-20 10:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722093') start [2025-03-20 10:02:03] Production.INFO: ==9683== Lock acquired, processing the job... [2025-03-20 10:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:02:03] Production.INFO: Date 2025-03-11 [2025-03-20 10:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:03] Production.INFO: ==9685== Lock acquired, processing the job... [2025-03-20 10:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:02:03] Production.INFO: Date 2025-03-12 [2025-03-20 10:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:03] Production.INFO: ==9689== Lock acquired, processing the job... [2025-03-20 10:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:02:03] Production.INFO: Date 2025-03-13 [2025-03-20 10:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:03] Production.INFO: Date 2025-03-14 [2025-03-20 10:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722093') end [2025-03-20 10:02:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:02:03] Production.INFO: 1 [2025-03-20 10:02:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:02:03] Production.INFO: ==9691== Releasing lock... [2025-03-20 10:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:02:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:02:03] Production.INFO: Date 2025-03-15 [2025-03-20 10:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:02:04] Production.INFO: Total Charge 0 [2025-03-20 10:02:04] Production.INFO: CreateAllLog End [2025-03-20 10:02:04] Production.INFO: ==9683== Releasing lock... [2025-03-20 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:02:04] Production.ERROR: done [2025-03-20 10:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:02:04] Production.ERROR: done [2025-03-20 10:02:04] Production.INFO: Account Balance End. [2025-03-20 10:02:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:02:04] Production.INFO: ==9687== Releasing lock... [2025-03-20 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:02:05 [end_date_ymd] => 2025-03-20 10:02:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:02:05' and `end` < '2025-03-20 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-03-20 10:02:12] Production.ERROR: CronJobId end10 [2025-03-20 10:02:12] Production.INFO: ==9685== Releasing lock... [2025-03-20 10:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:02:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:02:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:02:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:02:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:02:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:02:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:02:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:02:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:02:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:02:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:02:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:02:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:02:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:02:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:02:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:02:15] Production.INFO: call_cost start [2025-03-20 10:02:15] Production.INFO: call_cost end [2025-03-20 10:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:02:16] Production.INFO: ==9681== Releasing lock... [2025-03-20 10:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:02:18] Production.INFO: count ==2056 [2025-03-20 10:02:18] Production.ERROR: pbx CDR StartTime 2025-03-20 07:02:05 - End Time 2025-03-20 10:02:05 [2025-03-20 10:02:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722096', 'tblTempUsageDetail_20' ) start [2025-03-20 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722096', 'tblTempUsageDetail_20' ) end [2025-03-20 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722096', 'tblTempVendorCDR_20' ) start [2025-03-20 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722096', 'tblTempVendorCDR_20' ) end [2025-03-20 10:02:18] Production.INFO: ProcessCDR(1,14722096,1,1,2) [2025-03-20 10:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722096,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722096,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722096', 'tblTempUsageDetail_20' ) start [2025-03-20 10:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722096', 'tblTempUsageDetail_20' ) end [2025-03-20 10:02:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:02:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:02:24] Production.INFO: ==9689== Releasing lock... [2025-03-20 10:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:02:24] Production.INFO: 43.75 MB #Memory Used# [2025-03-20 14:03:02] Production.INFO: ==9766== Lock acquired, processing the job... [2025-03-20 14:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:03:02] Production.INFO: neon service started [2025-03-20 14:03:02] Production.INFO: neon service started [2025-03-20 14:03:02] Production.INFO: ==9766== Releasing lock... [2025-03-20 14:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:03:02] Production.INFO: ==9770== Lock acquired, processing the job... [2025-03-20 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:03:02] Production.INFO: ==9770== Releasing lock... [2025-03-20 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:03:02] Production.INFO: ==9768== Lock acquired, processing the job... [2025-03-20 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:03:03] Production.INFO: ==9768== Releasing lock... [2025-03-20 10:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:03:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:03:04] Production.INFO: ==9773== Lock acquired, processing the job... [2025-03-20 10:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:03:04] Production.INFO: ==9775== Lock acquired, processing the job... [2025-03-20 10:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:03:04] Production.INFO: ==9779== Lock acquired, processing the job... [2025-03-20 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:03:04] Production.INFO: Account Balance Start. [2025-03-20 10:03:04] Production.INFO: CreateAllLog Start [2025-03-20 10:03:04] Production.INFO: 117 [2025-03-20 10:03:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: ==9777== Lock acquired, processing the job... [2025-03-20 10:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: ==9775== Releasing lock... [2025-03-20 10:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:03:04] Production.INFO: ==9781== Lock acquired, processing the job... [2025-03-20 10:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:03:04] Production.INFO: ==9783== Lock acquired, processing the job... [2025-03-20 10:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:03:05] Production.INFO: Total Charge 0 [2025-03-20 10:03:05] Production.INFO: count ==12 [2025-03-20 10:03:05] Production.INFO: CreateAllLog End [2025-03-20 10:03: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-03-20 10:03:05] Production.INFO: count ==23 [2025-03-20 10:03:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722100') start [2025-03-20 10:03:05] Production.ERROR: done [2025-03-20 10:03:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:03:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722100') end [2025-03-20 10:03:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:03:05] Production.INFO: 1 [2025-03-20 10:03:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:03:05] Production.INFO: ==9783== Releasing lock... [2025-03-20 10:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:03:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:03:05] Production.ERROR: done [2025-03-20 10:03:05] Production.INFO: Account Balance End. [2025-03-20 10:03:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:03:05] Production.INFO: ==9779== Releasing lock... [2025-03-20 10:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:03:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:03:06 [end_date_ymd] => 2025-03-20 10:03:06 [RateCDR] => 1 ) [2025-03-20 10:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:03:06' and `end` < '2025-03-20 10:03:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:03:14] Production.ERROR: CronJobId end10 [2025-03-20 10:03:14] Production.INFO: ==9777== Releasing lock... [2025-03-20 10:03:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:03:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:03:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:03:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:03:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:03:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:03:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:03:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:03:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:03:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:03:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:03:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:03:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:03:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:03:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:03:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:03:17] Production.INFO: call_cost start [2025-03-20 10:03:17] Production.INFO: call_cost end [2025-03-20 10:03:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:03:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:03:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:03:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:03:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:03:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:03:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:03:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:03:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:03:18] Production.INFO: ==9773== Releasing lock... [2025-03-20 10:03:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:03:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:03:19] Production.INFO: count ==2068 [2025-03-20 10:03:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:03:06 - End Time 2025-03-20 10:03:06 [2025-03-20 10:03:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722101', 'tblTempUsageDetail_20' ) start [2025-03-20 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722101', 'tblTempUsageDetail_20' ) end [2025-03-20 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722101', 'tblTempVendorCDR_20' ) start [2025-03-20 10:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722101', 'tblTempVendorCDR_20' ) end [2025-03-20 10:03:20] Production.INFO: ProcessCDR(1,14722101,1,1,2) [2025-03-20 10:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722101,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722101,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722101', 'tblTempUsageDetail_20' ) start [2025-03-20 10:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722101', 'tblTempUsageDetail_20' ) end [2025-03-20 10:03:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:03:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:03:25] Production.INFO: ==9781== Releasing lock... [2025-03-20 10:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:03:25] Production.INFO: 43.5 MB #Memory Used# [2025-03-20 14:04:01] Production.INFO: ==9850== Lock acquired, processing the job... [2025-03-20 14:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:04:01] Production.INFO: neon service started [2025-03-20 14:04:01] Production.INFO: neon service started [2025-03-20 14:04:01] Production.INFO: ==9850== Releasing lock... [2025-03-20 14:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:04:01] Production.INFO: ==9854== Lock acquired, processing the job... [2025-03-20 14:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:04:01] Production.INFO: ==9854== Releasing lock... [2025-03-20 14:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:04:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:04:02] Production.INFO: ==9852== Lock acquired, processing the job... [2025-03-20 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:04:02] Production.INFO: ==9852== Releasing lock... [2025-03-20 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:04:03] Production.INFO: ==9859== Lock acquired, processing the job... [2025-03-20 10:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:04:03] Production.INFO: ==9857== Lock acquired, processing the job... [2025-03-20 10:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:04:03] Production.INFO: ==9861== Lock acquired, processing the job... [2025-03-20 10:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:04:03] Production.INFO: ==9859== Releasing lock... [2025-03-20 10:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:04:03] Production.INFO: ==9863== Lock acquired, processing the job... [2025-03-20 10:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:04:03] Production.INFO: ==9867== Lock acquired, processing the job... [2025-03-20 10:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:04:03] Production.INFO: ==9865== Lock acquired, processing the job... [2025-03-20 10:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:04:03] Production.INFO: Account Balance Start. [2025-03-20 10:04:03] Production.INFO: CreateAllLog Start [2025-03-20 10:04:03] Production.INFO: 117 [2025-03-20 10:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 10:04:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:03] Production.INFO: count ==12 [2025-03-20 10: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-03-20 10:04:03] Production.INFO: count ==23 [2025-03-20 10:04:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722105') start [2025-03-20 10:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722105') end [2025-03-20 10:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:04:04] Production.INFO: 1 [2025-03-20 10:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:04] Production.INFO: ==9867== Releasing lock... [2025-03-20 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:04:04] Production.ERROR: done [2025-03-20 10:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:04:04] Production.INFO: Total Charge 0 [2025-03-20 10:04:04] Production.INFO: CreateAllLog End [2025-03-20 10:04:04] Production.ERROR: done [2025-03-20 10:04:04] Production.INFO: Account Balance End. [2025-03-20 10:04:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:04:04] Production.INFO: ==9863== Releasing lock... [2025-03-20 10:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:04:05 [end_date_ymd] => 2025-03-20 10:04:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:04:05' and `end` < '2025-03-20 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-03-20 10:04:13] Production.ERROR: CronJobId end10 [2025-03-20 10:04:13] Production.INFO: ==9861== Releasing lock... [2025-03-20 10:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:04:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:04:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:04:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:04:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:04:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:04:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:04:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:04:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:04:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:04:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:04:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:04:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:04:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:04:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:04:17] Production.INFO: call_cost start [2025-03-20 10:04:17] Production.INFO: call_cost end [2025-03-20 10:04:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:04:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:04:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:04:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:04:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:04:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:04:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:04:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:04:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:04:18] Production.INFO: ==9857== Releasing lock... [2025-03-20 10:04:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:04:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:04:18] Production.INFO: count ==2091 [2025-03-20 10:04:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:04:05 - End Time 2025-03-20 10:04:05 [2025-03-20 10:04:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722106', 'tblTempUsageDetail_20' ) start [2025-03-20 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722106', 'tblTempUsageDetail_20' ) end [2025-03-20 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722106', 'tblTempVendorCDR_20' ) start [2025-03-20 10:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722106', 'tblTempVendorCDR_20' ) end [2025-03-20 10:04:19] Production.INFO: ProcessCDR(1,14722106,1,1,2) [2025-03-20 10:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:04:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722106', 'tblTempUsageDetail_20' ) start [2025-03-20 10:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722106', 'tblTempUsageDetail_20' ) end [2025-03-20 10:04:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:04:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:04:25] Production.INFO: ==9865== Releasing lock... [2025-03-20 10:04:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:04:25] Production.INFO: 44 MB #Memory Used# [2025-03-20 14:05:01] Production.INFO: ==9945== Lock acquired, processing the job... [2025-03-20 14:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:05:02] Production.INFO: neon service started [2025-03-20 14:05:02] Production.INFO: neon service started [2025-03-20 14:05:02] Production.INFO: ==9945== Releasing lock... [2025-03-20 14:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:05:02] Production.INFO: ==9949== Lock acquired, processing the job... [2025-03-20 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:05:02] Production.INFO: ==9949== Releasing lock... [2025-03-20 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:05:02] Production.INFO: ==9947== Lock acquired, processing the job... [2025-03-20 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:05:02] Production.INFO: ==9947== Releasing lock... [2025-03-20 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:05:03] Production.INFO: ==9954== Lock acquired, processing the job... [2025-03-20 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:05:03] Production.INFO: ==9952== Lock acquired, processing the job... [2025-03-20 10:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:05:03] Production.INFO: ==9962== Lock acquired, processing the job... [2025-03-20 10:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:05:03] Production.INFO: ==9956== Lock acquired, processing the job... [2025-03-20 10:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:05:04] Production.INFO: ==9958== Lock acquired, processing the job... [2025-03-20 10:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:05:04] Production.INFO: ==9960== Lock acquired, processing the job... [2025-03-20 10:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:05:04] Production.INFO: count ==12 [2025-03-20 10:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:05:04] Production.INFO: count ==23 [2025-03-20 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722109') start [2025-03-20 10:05:04] Production.INFO: Account Balance Start. [2025-03-20 10:05:04] Production.INFO: CreateAllLog Start [2025-03-20 10:05:04] Production.INFO: 117 [2025-03-20 10:05:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:05:04] Production.INFO: ==9954== Releasing lock... [2025-03-20 10:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722109') end [2025-03-20 10:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:05:04] Production.INFO: 1 [2025-03-20 10:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:05:04] Production.ERROR: done [2025-03-20 10:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:05:04] Production.INFO: ==9962== Releasing lock... [2025-03-20 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:05:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:04] Production.ERROR: done [2025-03-20 10:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:05] Production.INFO: Date 2025-03-12 [2025-03-20 10:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:05] Production.INFO: Date 2025-03-13 [2025-03-20 10:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:05] Production.INFO: Date 2025-03-14 [2025-03-20 10:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:05] Production.INFO: Date 2025-03-15 [2025-03-20 10:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:05] Production.INFO: Date 2025-03-16 [2025-03-20 10:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:05] Production.INFO: Date 2025-03-17 [2025-03-20 10:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:05] Production.INFO: Date 2025-03-18 [2025-03-20 10:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:05:05] Production.INFO: Total Charge 0 [2025-03-20 10:05:05] Production.INFO: CreateAllLog End [2025-03-20 10:05:05] Production.INFO: Account Balance End. [2025-03-20 10:05:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:05:05] Production.INFO: ==9958== Releasing lock... [2025-03-20 10:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:05:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:05:06 [end_date_ymd] => 2025-03-20 10:05:06 [RateCDR] => 1 ) [2025-03-20 10: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-03-20 07:05:06' and `end` < '2025-03-20 10: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-03-20 10:05:13] Production.ERROR: CronJobId end10 [2025-03-20 10:05:13] Production.INFO: ==9956== Releasing lock... [2025-03-20 10:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:05:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:05:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:05:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:05:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:05:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:05:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:05:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:05:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:05:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:05:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:05:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:05:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:05:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:05:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:05:16] Production.INFO: call_cost start [2025-03-20 10:05:16] Production.INFO: call_cost end [2025-03-20 10:05:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:05:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:05:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:05:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:05:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:05:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:05:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:05:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:05:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:05:17] Production.INFO: ==9952== Releasing lock... [2025-03-20 10:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:05:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:05:18] Production.INFO: count ==2108 [2025-03-20 10:05:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:05:06 - End Time 2025-03-20 10:05:06 [2025-03-20 10:05:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722111', 'tblTempUsageDetail_20' ) start [2025-03-20 10:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722111', 'tblTempUsageDetail_20' ) end [2025-03-20 10:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722111', 'tblTempVendorCDR_20' ) start [2025-03-20 10:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722111', 'tblTempVendorCDR_20' ) end [2025-03-20 10:05:19] Production.INFO: ProcessCDR(1,14722111,1,1,2) [2025-03-20 10:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722111', 'tblTempUsageDetail_20' ) start [2025-03-20 10:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722111', 'tblTempUsageDetail_20' ) end [2025-03-20 10:05:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:05:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:05:24] Production.INFO: ==9960== Releasing lock... [2025-03-20 10:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:05:24] Production.INFO: 44 MB #Memory Used# [2025-03-20 14:06:01] Production.INFO: ==10037== Lock acquired, processing the job... [2025-03-20 14:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:06:01] Production.INFO: neon service started [2025-03-20 14:06:01] Production.INFO: neon service started [2025-03-20 14:06:01] Production.INFO: ==10037== Releasing lock... [2025-03-20 14:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:06:02] Production.INFO: ==10039== Lock acquired, processing the job... [2025-03-20 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:06:02] Production.INFO: ==10041== Lock acquired, processing the job... [2025-03-20 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:06:02] Production.INFO: ==10041== Releasing lock... [2025-03-20 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:06:02] Production.INFO: ==10039== Releasing lock... [2025-03-20 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:06:03] Production.INFO: ==10046== Lock acquired, processing the job... [2025-03-20 10:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:06:03] Production.INFO: ==10048== Lock acquired, processing the job... [2025-03-20 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:06:03] Production.INFO: ==10050== Lock acquired, processing the job... [2025-03-20 10:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:06:03] Production.INFO: ==10052== Lock acquired, processing the job... [2025-03-20 10:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:06:03] Production.INFO: Account Balance Start. [2025-03-20 10:06:03] Production.INFO: CreateAllLog Start [2025-03-20 10:06:03] Production.INFO: 117 [2025-03-20 10:06:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:03] Production.INFO: ==10054== Lock acquired, processing the job... [2025-03-20 10:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:06:03] Production.INFO: ==10056== Lock acquired, processing the job... [2025-03-20 10:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:06:04] Production.INFO: ==10048== Releasing lock... [2025-03-20 10:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 10:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:06:04] Production.INFO: count ==23 [2025-03-20 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722115') start [2025-03-20 10:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722115') end [2025-03-20 10:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:06:04] Production.INFO: 1 [2025-03-20 10:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.INFO: ==10056== Releasing lock... [2025-03-20 10:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:06:04] Production.ERROR: done [2025-03-20 10:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.ERROR: done [2025-03-20 10:06:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:06:04] Production.INFO: Total Charge 0 [2025-03-20 10:06:04] Production.INFO: CreateAllLog End [2025-03-20 10:06:05] Production.INFO: Account Balance End. [2025-03-20 10:06:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:06:05] Production.INFO: ==10052== Releasing lock... [2025-03-20 10:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:06:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:06:06 [end_date_ymd] => 2025-03-20 10:06:06 [RateCDR] => 1 ) [2025-03-20 10:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:06:06' and `end` < '2025-03-20 10:06:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:06:13] Production.ERROR: CronJobId end10 [2025-03-20 10:06:13] Production.INFO: ==10050== Releasing lock... [2025-03-20 10:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:06:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:06:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:06:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:06:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:06:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:06:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:06:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:06:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:06:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:06:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:06:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:06:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:06:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:06:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:06:16] Production.INFO: call_cost start [2025-03-20 10:06:16] Production.INFO: call_cost end [2025-03-20 10:06:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:06:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:06:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:06:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:06:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:06:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:06:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:06:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:06:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:06:17] Production.INFO: ==10046== Releasing lock... [2025-03-20 10:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:06:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:06:18] Production.INFO: count ==2154 [2025-03-20 10:06:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:06:06 - End Time 2025-03-20 10:06:06 [2025-03-20 10:06:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722116', 'tblTempUsageDetail_20' ) start [2025-03-20 10:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722116', 'tblTempUsageDetail_20' ) end [2025-03-20 10:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722116', 'tblTempVendorCDR_20' ) start [2025-03-20 10:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722116', 'tblTempVendorCDR_20' ) end [2025-03-20 10:06:19] Production.INFO: ProcessCDR(1,14722116,1,1,2) [2025-03-20 10:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722116', 'tblTempUsageDetail_20' ) start [2025-03-20 10:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722116', 'tblTempUsageDetail_20' ) end [2025-03-20 10:06:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:06:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:06:24] Production.INFO: ==10054== Releasing lock... [2025-03-20 10:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:06:24] Production.INFO: 44.25 MB #Memory Used# [2025-03-20 14:07:02] Production.INFO: ==10126== Lock acquired, processing the job... [2025-03-20 14:07:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:07:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:07:02] Production.INFO: neon service started [2025-03-20 14:07:02] Production.INFO: neon service started [2025-03-20 14:07:02] Production.INFO: ==10126== Releasing lock... [2025-03-20 14:07:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:07:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:07:02] Production.INFO: ==10128== Lock acquired, processing the job... [2025-03-20 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:07:02] Production.INFO: ==10128== Releasing lock... [2025-03-20 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:07:02] Production.INFO: ==10130== Lock acquired, processing the job... [2025-03-20 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:07:02] Production.INFO: ==10130== Releasing lock... [2025-03-20 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:07:03] Production.INFO: ==10132== Lock acquired, processing the job... [2025-03-20 10:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:07:03] Production.INFO: ==10134== Lock acquired, processing the job... [2025-03-20 10:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:07:03] Production.INFO: ==10138== Lock acquired, processing the job... [2025-03-20 10:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:07:03] Production.INFO: Account Balance Start. [2025-03-20 10:07:03] Production.INFO: CreateAllLog Start [2025-03-20 10:07:03] Production.INFO: 117 [2025-03-20 10:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.INFO: ==10136== Lock acquired, processing the job... [2025-03-20 10:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:07:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.INFO: ==10134== Releasing lock... [2025-03-20 10:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:07:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.INFO: ==10140== Lock acquired, processing the job... [2025-03-20 10:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:07:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:07:04] Production.INFO: ==10143== Lock acquired, processing the job... [2025-03-20 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:07:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:07:04] Production.ERROR: done [2025-03-20 10:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:07:04] Production.INFO: count ==12 [2025-03-20 10:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:07:04] Production.INFO: count ==23 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722120') start [2025-03-20 10:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.ERROR: done [2025-03-20 10:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722120') end [2025-03-20 10:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:07:04] Production.INFO: 1 [2025-03-20 10:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:07:04] Production.INFO: Total Charge 0 [2025-03-20 10:07:04] Production.INFO: ==10143== Releasing lock... [2025-03-20 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:07:04] Production.INFO: CreateAllLog End [2025-03-20 10:07:05] Production.INFO: Account Balance End. [2025-03-20 10:07:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:07:05] Production.INFO: ==10138== Releasing lock... [2025-03-20 10:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:07:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:07:05 [end_date_ymd] => 2025-03-20 10:07:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:07:05' and `end` < '2025-03-20 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-03-20 10:07:12] Production.ERROR: CronJobId end10 [2025-03-20 10:07:12] Production.INFO: ==10136== Releasing lock... [2025-03-20 10:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:07:15] Production.INFO: call_cost start [2025-03-20 10:07:15] Production.INFO: call_cost end [2025-03-20 10:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:07:16] Production.INFO: ==10132== Releasing lock... [2025-03-20 10:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:07:18] Production.INFO: count ==2164 [2025-03-20 10:07:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:07:05 - End Time 2025-03-20 10:07:05 [2025-03-20 10:07:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722121', 'tblTempUsageDetail_20' ) start [2025-03-20 10:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722121', 'tblTempUsageDetail_20' ) end [2025-03-20 10:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722121', 'tblTempVendorCDR_20' ) start [2025-03-20 10:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722121', 'tblTempVendorCDR_20' ) end [2025-03-20 10:07:19] Production.INFO: ProcessCDR(1,14722121,1,1,2) [2025-03-20 10:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722121', 'tblTempUsageDetail_20' ) start [2025-03-20 10:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722121', 'tblTempUsageDetail_20' ) end [2025-03-20 10:07:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:07:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:07:24] Production.INFO: ==10140== Releasing lock... [2025-03-20 10:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:07:24] Production.INFO: 44.25 MB #Memory Used# [2025-03-20 14:08:01] Production.INFO: ==10203== Lock acquired, processing the job... [2025-03-20 14:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:08:01] Production.INFO: neon service started [2025-03-20 14:08:01] Production.INFO: neon service started [2025-03-20 14:08:01] Production.INFO: ==10203== Releasing lock... [2025-03-20 14:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:08:02] Production.INFO: ==10205== Lock acquired, processing the job... [2025-03-20 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:08:02] Production.INFO: ==10207== Lock acquired, processing the job... [2025-03-20 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:08:02] Production.INFO: ==10207== Releasing lock... [2025-03-20 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:08:02] Production.INFO: ==10205== Releasing lock... [2025-03-20 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:08:03] Production.INFO: ==10210== Lock acquired, processing the job... [2025-03-20 10:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:08:03] Production.INFO: ==10214== Lock acquired, processing the job... [2025-03-20 10:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:08:03] Production.INFO: ==10212== Lock acquired, processing the job... [2025-03-20 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:08:04] Production.INFO: ==10216== Lock acquired, processing the job... [2025-03-20 10:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:08:04] Production.INFO: ==10218== Lock acquired, processing the job... [2025-03-20 10:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:08:04] Production.INFO: ==10220== Lock acquired, processing the job... [2025-03-20 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:08:04] Production.INFO: Account Balance Start. [2025-03-20 10:08:04] Production.INFO: CreateAllLog Start [2025-03-20 10:08:04] Production.INFO: 117 [2025-03-20 10:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:08:04] Production.INFO: ==10212== Releasing lock... [2025-03-20 10:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:08:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:08:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:08:04] Production.INFO: count ==23 [2025-03-20 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722125') start [2025-03-20 10:08:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.ERROR: done [2025-03-20 10:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722125') end [2025-03-20 10:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:08:04] Production.INFO: 1 [2025-03-20 10:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.INFO: ==10220== Releasing lock... [2025-03-20 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.ERROR: done [2025-03-20 10:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:08:04] Production.INFO: Total Charge 0 [2025-03-20 10:08:04] Production.INFO: CreateAllLog End [2025-03-20 10:08:05] Production.INFO: Account Balance End. [2025-03-20 10:08:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:08:05] Production.INFO: ==10216== Releasing lock... [2025-03-20 10:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:08:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:08:06 [end_date_ymd] => 2025-03-20 10:08:06 [RateCDR] => 1 ) [2025-03-20 10:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:08:06' and `end` < '2025-03-20 10:08:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:08:14] Production.ERROR: CronJobId end10 [2025-03-20 10:08:14] Production.INFO: ==10214== Releasing lock... [2025-03-20 10:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:08:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:08:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:08:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:08:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:08:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:08:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:08:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:08:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:08:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:08:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:08:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:08:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:08:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:08:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:08:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:08:16] Production.INFO: call_cost start [2025-03-20 10:08:16] Production.INFO: call_cost end [2025-03-20 10:08:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:08:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:08:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:08:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:08:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:08:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:08:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:08:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:08:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:08:17] Production.INFO: ==10210== Releasing lock... [2025-03-20 10:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:08:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:08:18] Production.INFO: count ==2199 [2025-03-20 10:08:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:08:06 - End Time 2025-03-20 10:08:06 [2025-03-20 10:08:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722126', 'tblTempUsageDetail_20' ) start [2025-03-20 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722126', 'tblTempUsageDetail_20' ) end [2025-03-20 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722126', 'tblTempVendorCDR_20' ) start [2025-03-20 10:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722126', 'tblTempVendorCDR_20' ) end [2025-03-20 10:08:19] Production.INFO: ProcessCDR(1,14722126,1,1,2) [2025-03-20 10:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722126', 'tblTempUsageDetail_20' ) start [2025-03-20 10:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722126', 'tblTempUsageDetail_20' ) end [2025-03-20 10:08:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:08:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:08:25] Production.INFO: ==10218== Releasing lock... [2025-03-20 10:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:08:25] Production.INFO: 44.5 MB #Memory Used# [2025-03-20 14:09:01] Production.INFO: ==10290== Lock acquired, processing the job... [2025-03-20 14:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:09:01] Production.INFO: neon service started [2025-03-20 14:09:01] Production.INFO: neon service started [2025-03-20 14:09:01] Production.INFO: ==10290== Releasing lock... [2025-03-20 14:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:09:02] Production.INFO: ==10292== Lock acquired, processing the job... [2025-03-20 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:09:02] Production.INFO: ==10294== Lock acquired, processing the job... [2025-03-20 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:09:02] Production.INFO: ==10294== Releasing lock... [2025-03-20 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:09:03] Production.INFO: ==10292== Releasing lock... [2025-03-20 10:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:09:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:09:03] Production.INFO: ==10297== Lock acquired, processing the job... [2025-03-20 10:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:09:03] Production.INFO: ==10305== Lock acquired, processing the job... [2025-03-20 10:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:09:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:09:04] Production.INFO: ==10299== Lock acquired, processing the job... [2025-03-20 10:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:09:04] Production.INFO: ==10301== Lock acquired, processing the job... [2025-03-20 10:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:09:04] Production.ERROR: done [2025-03-20 10:09:04] Production.INFO: ==10307== Lock acquired, processing the job... [2025-03-20 10:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:09:04] Production.INFO: ==10303== Lock acquired, processing the job... [2025-03-20 10:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:09:04] Production.INFO: count ==12 [2025-03-20 10:09:04] Production.INFO: Account Balance Start. [2025-03-20 10:09:04] Production.INFO: CreateAllLog Start [2025-03-20 10:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:09:04] Production.INFO: 117 [2025-03-20 10:09:04] Production.INFO: count ==23 [2025-03-20 10:09:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722129') start [2025-03-20 10:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:04] Production.ERROR: done [2025-03-20 10:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:04] Production.INFO: ==10299== Releasing lock... [2025-03-20 10:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722129') end [2025-03-20 10:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:09:04] Production.INFO: 1 [2025-03-20 10:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:04] Production.INFO: ==10307== Releasing lock... [2025-03-20 10:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:05] Production.INFO: Date 2025-03-17 [2025-03-20 10:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:05] Production.INFO: Date 2025-03-18 [2025-03-20 10:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:09:05] Production.INFO: Total Charge 0 [2025-03-20 10:09:05] Production.INFO: CreateAllLog End [2025-03-20 10:09:05] Production.INFO: Account Balance End. [2025-03-20 10:09:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:09:05] Production.INFO: ==10303== Releasing lock... [2025-03-20 10:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:09:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:09:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:09:06 [end_date_ymd] => 2025-03-20 10:09:06 [RateCDR] => 1 ) [2025-03-20 10:09:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:09:06' and `end` < '2025-03-20 10:09:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:09:14] Production.ERROR: CronJobId end10 [2025-03-20 10:09:14] Production.INFO: ==10301== Releasing lock... [2025-03-20 10:09:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:09:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:09:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:09:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:09:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:09:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:09:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:09:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:09:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:09:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:09:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:09:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:09:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:09:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:09:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:09:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:09:17] Production.INFO: call_cost start [2025-03-20 10:09:17] Production.INFO: call_cost end [2025-03-20 10:09:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:09:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:09:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:09:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:09:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:09:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:09:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:09:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:09:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:09:18] Production.INFO: ==10297== Releasing lock... [2025-03-20 10:09:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:09:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:09:18] Production.INFO: count ==2251 [2025-03-20 10:09:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:09:06 - End Time 2025-03-20 10:09:06 [2025-03-20 10:09:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722131', 'tblTempUsageDetail_20' ) start [2025-03-20 10:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722131', 'tblTempUsageDetail_20' ) end [2025-03-20 10:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722131', 'tblTempVendorCDR_20' ) start [2025-03-20 10:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722131', 'tblTempVendorCDR_20' ) end [2025-03-20 10:09:19] Production.INFO: ProcessCDR(1,14722131,1,1,2) [2025-03-20 10:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:09:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:09:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722131', 'tblTempUsageDetail_20' ) start [2025-03-20 10:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722131', 'tblTempUsageDetail_20' ) end [2025-03-20 10:09:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:09:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:09:25] Production.INFO: ==10305== Releasing lock... [2025-03-20 10:09:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:09:25] Production.INFO: 45 MB #Memory Used# [2025-03-20 14:10:01] Production.INFO: ==10379== Lock acquired, processing the job... [2025-03-20 14:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:10:01] Production.INFO: neon service started [2025-03-20 14:10:01] Production.INFO: neon service started [2025-03-20 14:10:01] Production.INFO: ==10379== Releasing lock... [2025-03-20 14:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:10:01] Production.INFO: ==10381== Lock acquired, processing the job... [2025-03-20 10:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:10:02] Production.INFO: ==10381== Releasing lock... [2025-03-20 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:10:02] Production.INFO: ==10383== Lock acquired, processing the job... [2025-03-20 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:10:02] Production.INFO: ==10383== Releasing lock... [2025-03-20 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:10:03] Production.INFO: ==10389== Lock acquired, processing the job... [2025-03-20 10:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:10:03] Production.INFO: ==10387== Lock acquired, processing the job... [2025-03-20 10:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:10:03] Production.INFO: ==10385== Lock acquired, processing the job... [2025-03-20 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 10:10:03] Production.INFO: ==10400== Lock acquired, processing the job... [2025-03-20 10:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:10:03] Production.INFO: ==10398== Lock acquired, processing the job... [2025-03-20 10:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 10:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 10:10:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 10:10:03] Production.ERROR: CronJob PID - 10387 [2025-03-20 10:10:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 10:10:03] Production.ERROR: CronJob ID - 5 [2025-03-20 10:10:03] Production.ERROR: CronJob Last Run Time 2025-03-20 10:10:00 [2025-03-20 10:10:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 10:10:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 10:10:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 10:10:03] Production.ERROR: CronJob PID - 10389 [2025-03-20 10:10:03] Production.ERROR: CronJob Title - Account Block [2025-03-20 10:10:03] Production.ERROR: CronJob ID - 7 [2025-03-20 10:10:03] Production.ERROR: CronJob Last Run Time 2025-03-20 10:10:00 [2025-03-20 10:10:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 10:10:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 10:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 10:10:03] Production.INFO: ==10385== Releasing lock... [2025-03-20 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 10:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 10:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:10:04] Production.INFO: ==10391== Lock acquired, processing the job... [2025-03-20 10:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 10:10:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:10:04] Production.INFO: count ==23 [2025-03-20 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722134') start [2025-03-20 10:10:04] Production.INFO: ==10393== Lock acquired, processing the job... [2025-03-20 10:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:10:04] Production.INFO: ==10396== Lock acquired, processing the job... [2025-03-20 10:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:10:04] Production.INFO: ==10389== Releasing lock... [2025-03-20 10:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722134') end [2025-03-20 10:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:10:04] Production.INFO: 1 [2025-03-20 10:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:10:04] Production.INFO: Account Balance Start. [2025-03-20 10:10:04] Production.INFO: CreateAllLog Start [2025-03-20 10:10:04] Production.INFO: 117 [2025-03-20 10:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:04] Production.ERROR: done [2025-03-20 10:10:04] Production.INFO: ==10400== Releasing lock... [2025-03-20 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:10:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 10:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722136', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:04] Production.ERROR: done [2025-03-20 10:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:10:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:10:05] Production.ERROR: done [2025-03-20 10:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:10:05] Production.INFO: Total Charge 0 [2025-03-20 10:10:05] Production.INFO: CreateAllLog End [2025-03-20 10:10:05] Production.INFO: Account Balance End. [2025-03-20 10:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:10:05] Production.INFO: ==10393== Releasing lock... [2025-03-20 10:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:10:06 [end_date_ymd] => 2025-03-20 10:10:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:10:06' and `end` < '2025-03-20 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-03-20 10:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722136', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 10:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 10:10:09] Production.INFO: ProcessCDR(1,14722136,1,1,2) [2025-03-20 10:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722136,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722136,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:10:09] Production.INFO: ==10398== Releasing lock... [2025-03-20 10:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 10:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 10:10:15] Production.ERROR: CronJobId end10 [2025-03-20 10:10:15] Production.INFO: ==10391== Releasing lock... [2025-03-20 10:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:10:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:10:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:10:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:10:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:10:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:10:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:10:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:10:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:10:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:10:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:10:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:10:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:10:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:10:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:10:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:10:18] Production.INFO: call_cost start [2025-03-20 10:10:18] Production.INFO: call_cost end [2025-03-20 10:10:19] Production.INFO: count ==2287 [2025-03-20 10:10:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:10:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:10:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:10:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:10:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:10:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:10:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:10:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:10:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:10:19] Production.INFO: ==10387== Releasing lock... [2025-03-20 10:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:10:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:10:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:10:06 - End Time 2025-03-20 10:10:06 [2025-03-20 10:10:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722137', 'tblTempUsageDetail_20' ) start [2025-03-20 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722137', 'tblTempUsageDetail_20' ) end [2025-03-20 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722137', 'tblTempVendorCDR_20' ) start [2025-03-20 10:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722137', 'tblTempVendorCDR_20' ) end [2025-03-20 10:10:20] Production.INFO: ProcessCDR(1,14722137,1,1,2) [2025-03-20 10:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:10:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722137,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:10:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:10:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722137,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722137', 'tblTempUsageDetail_20' ) start [2025-03-20 10:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722137', 'tblTempUsageDetail_20' ) end [2025-03-20 10:10:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:10:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:10:26] Production.INFO: ==10396== Releasing lock... [2025-03-20 10:10:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:10:26] Production.INFO: 45.25 MB #Memory Used# [2025-03-20 14:11:01] Production.INFO: ==10467== Lock acquired, processing the job... [2025-03-20 14:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:11:02] Production.INFO: neon service started [2025-03-20 14:11:02] Production.INFO: neon service started [2025-03-20 14:11:02] Production.INFO: ==10467== Releasing lock... [2025-03-20 14:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:11:02] Production.INFO: ==10469== Lock acquired, processing the job... [2025-03-20 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:11:02] Production.INFO: ==10471== Lock acquired, processing the job... [2025-03-20 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:11:02] Production.INFO: ==10469== Releasing lock... [2025-03-20 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:11:02] Production.INFO: ==10471== Releasing lock... [2025-03-20 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:11:03] Production.INFO: ==10473== Lock acquired, processing the job... [2025-03-20 10:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:11:03] Production.INFO: ==10479== Lock acquired, processing the job... [2025-03-20 10:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:11:03] Production.INFO: ==10482== Lock acquired, processing the job... [2025-03-20 10:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:11:03] Production.INFO: Account Balance Start. [2025-03-20 10:11:03] Production.INFO: CreateAllLog Start [2025-03-20 10:11:03] Production.INFO: 117 [2025-03-20 10:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:11:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:04] Production.INFO: ==10475== Lock acquired, processing the job... [2025-03-20 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:04] Production.INFO: ==10477== Lock acquired, processing the job... [2025-03-20 10:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:04] Production.INFO: ==10484== Lock acquired, processing the job... [2025-03-20 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:04] Production.ERROR: done [2025-03-20 10:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:11:04] Production.INFO: count ==23 [2025-03-20 10:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722141') start [2025-03-20 10:11:04] Production.ERROR: done [2025-03-20 10:11:04] Production.INFO: Total Charge 0 [2025-03-20 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722141') end [2025-03-20 10:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:11:04] Production.INFO: 1 [2025-03-20 10:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:11:04] Production.INFO: ==10475== Releasing lock... [2025-03-20 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:11:04] Production.INFO: CreateAllLog End [2025-03-20 10:11:04] Production.INFO: ==10484== Releasing lock... [2025-03-20 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:11:04] Production.INFO: Account Balance End. [2025-03-20 10:11:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:11:05] Production.INFO: ==10479== Releasing lock... [2025-03-20 10:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:11:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:11:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:11:06 [end_date_ymd] => 2025-03-20 10:11:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:11:06' and `end` < '2025-03-20 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-03-20 10:11:14] Production.ERROR: CronJobId end10 [2025-03-20 10:11:14] Production.INFO: ==10477== Releasing lock... [2025-03-20 10:11:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:11:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:11:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:11:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:11:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:11:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:11:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:11:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:11:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:11:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:11:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:11:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:11:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:11:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:11:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:11:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:11:16] Production.INFO: call_cost start [2025-03-20 10:11:16] Production.INFO: call_cost end [2025-03-20 10:11:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:11:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:11:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:11:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:11:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:11:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:11:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:11:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:11:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:11:17] Production.INFO: ==10473== Releasing lock... [2025-03-20 10:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:11:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:11:18] Production.INFO: count ==2373 [2025-03-20 10:11:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:11:06 - End Time 2025-03-20 10:11:06 [2025-03-20 10:11:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722142', 'tblTempUsageDetail_20' ) start [2025-03-20 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722142', 'tblTempUsageDetail_20' ) end [2025-03-20 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722142', 'tblTempVendorCDR_20' ) start [2025-03-20 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722142', 'tblTempVendorCDR_20' ) end [2025-03-20 10:11:19] Production.INFO: ProcessCDR(1,14722142,1,1,2) [2025-03-20 10:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722142,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722142,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722142', 'tblTempUsageDetail_20' ) start [2025-03-20 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722142', 'tblTempUsageDetail_20' ) end [2025-03-20 10:11:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:11:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:11:25] Production.INFO: ==10482== Releasing lock... [2025-03-20 10:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:11:25] Production.INFO: 45.75 MB #Memory Used# [2025-03-20 14:12:01] Production.INFO: ==10563== Lock acquired, processing the job... [2025-03-20 14:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:12:01] Production.INFO: neon service started [2025-03-20 14:12:01] Production.INFO: neon service started [2025-03-20 14:12:01] Production.INFO: ==10563== Releasing lock... [2025-03-20 14:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:12:02] Production.INFO: ==10565== Lock acquired, processing the job... [2025-03-20 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:12:02] Production.INFO: ==10567== Lock acquired, processing the job... [2025-03-20 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:12:02] Production.INFO: ==10567== Releasing lock... [2025-03-20 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:12:02] Production.INFO: ==10565== Releasing lock... [2025-03-20 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:12:03] Production.INFO: ==10574== Lock acquired, processing the job... [2025-03-20 10:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:12:03] Production.INFO: ==10576== Lock acquired, processing the job... [2025-03-20 10:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:12:04] Production.INFO: Account Balance Start. [2025-03-20 10:12:04] Production.INFO: CreateAllLog Start [2025-03-20 10:12:04] Production.INFO: 117 [2025-03-20 10:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.INFO: ==10572== Lock acquired, processing the job... [2025-03-20 10:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:12:04] Production.INFO: ==10570== Lock acquired, processing the job... [2025-03-20 10:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.INFO: ==10578== Lock acquired, processing the job... [2025-03-20 10:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.INFO: ==10580== Lock acquired, processing the job... [2025-03-20 10:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:12:04] Production.INFO: count ==12 [2025-03-20 10:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:12:04] Production.INFO: count ==23 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722146') start [2025-03-20 10:12:04] Production.INFO: ==10572== Releasing lock... [2025-03-20 10:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722146') end [2025-03-20 10:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:12:04] Production.INFO: 1 [2025-03-20 10:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:12:04] Production.ERROR: done [2025-03-20 10:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:12:04] Production.INFO: Total Charge 0 [2025-03-20 10:12:04] Production.INFO: CreateAllLog End [2025-03-20 10:12:05] Production.INFO: ==10580== Releasing lock... [2025-03-20 10:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:12:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:12:05] Production.ERROR: done [2025-03-20 10:12:05] Production.INFO: Account Balance End. [2025-03-20 10:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:12:05] Production.INFO: ==10576== Releasing lock... [2025-03-20 10:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:12:06 [end_date_ymd] => 2025-03-20 10:12:06 [RateCDR] => 1 ) [2025-03-20 10: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-03-20 07:12:06' and `end` < '2025-03-20 10: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-03-20 10:12:12] Production.ERROR: CronJobId end10 [2025-03-20 10:12:12] Production.INFO: ==10574== Releasing lock... [2025-03-20 10:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:12:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:12:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:12:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:12:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:12:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:12:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:12:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:12:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:12:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:12:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:12:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:12:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:12:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:12:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:12:17] Production.INFO: call_cost start [2025-03-20 10:12:17] Production.INFO: call_cost end [2025-03-20 10:12:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:12:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:12:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:12:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:12:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:12:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:12:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:12:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:12:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:12:18] Production.INFO: ==10570== Releasing lock... [2025-03-20 10:12:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:12:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:12:19] Production.INFO: count ==2385 [2025-03-20 10:12:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:12:06 - End Time 2025-03-20 10:12:06 [2025-03-20 10:12:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722147', 'tblTempUsageDetail_20' ) start [2025-03-20 10:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722147', 'tblTempUsageDetail_20' ) end [2025-03-20 10:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722147', 'tblTempVendorCDR_20' ) start [2025-03-20 10:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722147', 'tblTempVendorCDR_20' ) end [2025-03-20 10:12:20] Production.INFO: ProcessCDR(1,14722147,1,1,2) [2025-03-20 10:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:12:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722147', 'tblTempUsageDetail_20' ) start [2025-03-20 10:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722147', 'tblTempUsageDetail_20' ) end [2025-03-20 10:12:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:12:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:12:25] Production.INFO: ==10578== Releasing lock... [2025-03-20 10:12:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:12:25] Production.INFO: 46 MB #Memory Used# [2025-03-20 14:13:02] Production.INFO: ==10662== Lock acquired, processing the job... [2025-03-20 14:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:13:02] Production.INFO: neon service started [2025-03-20 14:13:02] Production.INFO: neon service started [2025-03-20 14:13:02] Production.INFO: ==10662== Releasing lock... [2025-03-20 14:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:13:02] Production.INFO: ==10664== Lock acquired, processing the job... [2025-03-20 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:13:02] Production.INFO: ==10664== Releasing lock... [2025-03-20 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:13:02] Production.INFO: ==10666== Lock acquired, processing the job... [2025-03-20 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:13:03] Production.INFO: ==10666== Releasing lock... [2025-03-20 14:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:13:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:13:03] Production.INFO: ==10675== Lock acquired, processing the job... [2025-03-20 10:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:13:03] Production.INFO: ==10677== Lock acquired, processing the job... [2025-03-20 10:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:13:04] Production.INFO: Account Balance Start. [2025-03-20 10:13:04] Production.INFO: CreateAllLog Start [2025-03-20 10:13:04] Production.INFO: 117 [2025-03-20 10:13:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:04] Production.INFO: ==10669== Lock acquired, processing the job... [2025-03-20 10:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:13:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:04] Production.INFO: ==10673== Lock acquired, processing the job... [2025-03-20 10:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:13:04] Production.INFO: ==10671== Lock acquired, processing the job... [2025-03-20 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:13:04] Production.INFO: ==10679== Lock acquired, processing the job... [2025-03-20 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:13:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:13:04] Production.INFO: count ==12 [2025-03-20 10:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:13:04] Production.INFO: count ==23 [2025-03-20 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722149') start [2025-03-20 10:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:04] Production.ERROR: done [2025-03-20 10:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722149') end [2025-03-20 10:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:13:04] Production.INFO: 1 [2025-03-20 10:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:04] Production.INFO: ==10679== Releasing lock... [2025-03-20 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:13:04] Production.ERROR: done [2025-03-20 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:05] Production.INFO: ==10671== Releasing lock... [2025-03-20 10:13:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:13:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:13:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:13:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:13:05] Production.INFO: Total Charge 0 [2025-03-20 10:13:05] Production.INFO: CreateAllLog End [2025-03-20 10:13:05] Production.INFO: Account Balance End. [2025-03-20 10:13:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:13:05] Production.INFO: ==10675== Releasing lock... [2025-03-20 10:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:13:05 [end_date_ymd] => 2025-03-20 10:13:05 [RateCDR] => 1 ) [2025-03-20 10:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:13:05' and `end` < '2025-03-20 10:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:13:14] Production.ERROR: CronJobId end10 [2025-03-20 10:13:14] Production.INFO: ==10673== Releasing lock... [2025-03-20 10:13:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:13:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:13:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:13:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:13:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:13:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:13:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:13:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:13:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:13:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:13:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:13:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:13:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:13:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:13:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:13:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:13:16] Production.INFO: call_cost start [2025-03-20 10:13:16] Production.INFO: call_cost end [2025-03-20 10:13:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:13:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:13:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:13:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:13:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:13:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:13:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:13:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:13:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:13:17] Production.INFO: ==10669== Releasing lock... [2025-03-20 10:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:13:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:13:18] Production.INFO: count ==2405 [2025-03-20 10:13:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:13:05 - End Time 2025-03-20 10:13:05 [2025-03-20 10:13:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722152', 'tblTempUsageDetail_20' ) start [2025-03-20 10:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722152', 'tblTempUsageDetail_20' ) end [2025-03-20 10:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722152', 'tblTempVendorCDR_20' ) start [2025-03-20 10:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722152', 'tblTempVendorCDR_20' ) end [2025-03-20 10:13:19] Production.INFO: ProcessCDR(1,14722152,1,1,2) [2025-03-20 10:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:13:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722152,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:13:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722152,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722152', 'tblTempUsageDetail_20' ) start [2025-03-20 10:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722152', 'tblTempUsageDetail_20' ) end [2025-03-20 10:13:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:13:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:13:24] Production.INFO: ==10677== Releasing lock... [2025-03-20 10:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:13:24] Production.INFO: 46 MB #Memory Used# [2025-03-20 14:14:01] Production.INFO: ==10752== Lock acquired, processing the job... [2025-03-20 14:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:14:01] Production.INFO: neon service started [2025-03-20 14:14:01] Production.INFO: neon service started [2025-03-20 14:14:01] Production.INFO: ==10752== Releasing lock... [2025-03-20 14:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:14:02] Production.INFO: ==10754== Lock acquired, processing the job... [2025-03-20 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:14:02] Production.INFO: ==10756== Lock acquired, processing the job... [2025-03-20 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:14:02] Production.INFO: ==10756== Releasing lock... [2025-03-20 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:14:02] Production.INFO: ==10754== Releasing lock... [2025-03-20 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:14:03] Production.INFO: ==10759== Lock acquired, processing the job... [2025-03-20 10:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:14:03] Production.INFO: ==10761== Lock acquired, processing the job... [2025-03-20 10:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:14:03] Production.INFO: ==10765== Lock acquired, processing the job... [2025-03-20 10:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:14:04] Production.INFO: Account Balance Start. [2025-03-20 10:14:04] Production.INFO: CreateAllLog Start [2025-03-20 10:14:04] Production.INFO: 117 [2025-03-20 10:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:14:04] Production.INFO: ==10761== Releasing lock... [2025-03-20 10:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:04] Production.INFO: ==10763== Lock acquired, processing the job... [2025-03-20 10:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:14:04] Production.INFO: ==10767== Lock acquired, processing the job... [2025-03-20 10:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:14:04] Production.INFO: ==10769== Lock acquired, processing the job... [2025-03-20 10:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:14:04] Production.INFO: count ==23 [2025-03-20 10:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722156') start [2025-03-20 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722156') end [2025-03-20 10:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:14:04] Production.INFO: 1 [2025-03-20 10:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:04] Production.INFO: ==10769== Releasing lock... [2025-03-20 10:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:14:04] Production.ERROR: done [2025-03-20 10:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:14:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:14:05] Production.INFO: Total Charge 0 [2025-03-20 10:14:05] Production.INFO: CreateAllLog End [2025-03-20 10:14:05] Production.ERROR: done [2025-03-20 10:14:05] Production.INFO: Account Balance End. [2025-03-20 10:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:14:05] Production.INFO: ==10765== Releasing lock... [2025-03-20 10:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:14:06 [end_date_ymd] => 2025-03-20 10:14:06 [RateCDR] => 1 ) [2025-03-20 10: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-03-20 07:14:06' and `end` < '2025-03-20 10: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-03-20 10:14:14] Production.ERROR: CronJobId end10 [2025-03-20 10:14:14] Production.INFO: ==10763== Releasing lock... [2025-03-20 10:14:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:14:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:14:16] Production.INFO: call_cost start [2025-03-20 10:14:16] Production.INFO: call_cost end [2025-03-20 10:14:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:14:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:14:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:14:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:14:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:14:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:14:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:14:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:14:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:14:17] Production.INFO: ==10759== Releasing lock... [2025-03-20 10:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:14:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:14:19] Production.INFO: count ==2411 [2025-03-20 10:14:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:14:06 - End Time 2025-03-20 10:14:06 [2025-03-20 10:14:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722157', 'tblTempUsageDetail_20' ) start [2025-03-20 10:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722157', 'tblTempUsageDetail_20' ) end [2025-03-20 10:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722157', 'tblTempVendorCDR_20' ) start [2025-03-20 10:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722157', 'tblTempVendorCDR_20' ) end [2025-03-20 10:14:20] Production.INFO: ProcessCDR(1,14722157,1,1,2) [2025-03-20 10:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:14:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722157,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:14:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:14:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722157,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722157', 'tblTempUsageDetail_20' ) start [2025-03-20 10:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722157', 'tblTempUsageDetail_20' ) end [2025-03-20 10:14:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:14:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:14:25] Production.INFO: ==10767== Releasing lock... [2025-03-20 10:14:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:14:25] Production.INFO: 46.25 MB #Memory Used# [2025-03-20 14:15:02] Production.INFO: ==10889== Lock acquired, processing the job... [2025-03-20 14:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:15:02] Production.INFO: neon service started [2025-03-20 14:15:02] Production.INFO: neon service started [2025-03-20 14:15:02] Production.INFO: ==10889== Releasing lock... [2025-03-20 14:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:15:02] Production.INFO: ==10891== Lock acquired, processing the job... [2025-03-20 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:15:02] Production.INFO: ==10893== Lock acquired, processing the job... [2025-03-20 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:15:03] Production.INFO: ==10893== Releasing lock... [2025-03-20 14:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:15:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:15:03] Production.INFO: ==10891== Releasing lock... [2025-03-20 10:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:15:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:15:04] Production.INFO: ==10902== Lock acquired, processing the job... [2025-03-20 10:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:15:04] Production.INFO: ==10906== Lock acquired, processing the job... [2025-03-20 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:15:04] Production.INFO: Account Balance Start. [2025-03-20 10:15:04] Production.INFO: CreateAllLog Start [2025-03-20 10:15:04] Production.INFO: 117 [2025-03-20 10:15:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:15:04] Production.INFO: count ==12 [2025-03-20 10:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:15:04] Production.INFO: count ==23 [2025-03-20 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722159') start [2025-03-20 10:15:04] Production.INFO: ==10896== Lock acquired, processing the job... [2025-03-20 10:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:15:04] Production.INFO: ==10900== Lock acquired, processing the job... [2025-03-20 10:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:04] Production.INFO: ==10898== Lock acquired, processing the job... [2025-03-20 10:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:04] Production.INFO: ==10904== Lock acquired, processing the job... [2025-03-20 10:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722159') end [2025-03-20 10:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:15:04] Production.INFO: 1 [2025-03-20 10:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:15:04] Production.INFO: ==10906== Releasing lock... [2025-03-20 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:15:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:15:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:15:05] Production.INFO: Total Charge 0 [2025-03-20 10:15:05] Production.INFO: CreateAllLog End [2025-03-20 10:15:05] Production.ERROR: done [2025-03-20 10:15:05] Production.INFO: ==10898== Releasing lock... [2025-03-20 10:15:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:15:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:15:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:15:05] Production.ERROR: done [2025-03-20 10:15:05] Production.INFO: Account Balance End. [2025-03-20 10:15:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:15:05] Production.INFO: ==10902== Releasing lock... [2025-03-20 10:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:15:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:15:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:15:06 [end_date_ymd] => 2025-03-20 10:15:06 [RateCDR] => 1 ) [2025-03-20 10:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:15:06' and `end` < '2025-03-20 10:15:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:15:13] Production.ERROR: CronJobId end10 [2025-03-20 10:15:13] Production.INFO: ==10900== Releasing lock... [2025-03-20 10:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:15:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:15:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:15:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:15:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:15:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:15:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:15:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:15:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:15:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:15:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:15:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:15:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:15:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:15:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:15:17] Production.INFO: call_cost start [2025-03-20 10:15:17] Production.INFO: call_cost end [2025-03-20 10:15:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:15:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:15:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:15:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:15:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:15:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:15:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:15:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:15:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:15:18] Production.INFO: ==10896== Releasing lock... [2025-03-20 10:15:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:15:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:15:19] Production.INFO: count ==2423 [2025-03-20 10:15:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:15:06 - End Time 2025-03-20 10:15:06 [2025-03-20 10:15:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722162', 'tblTempUsageDetail_20' ) start [2025-03-20 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722162', 'tblTempUsageDetail_20' ) end [2025-03-20 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722162', 'tblTempVendorCDR_20' ) start [2025-03-20 10:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722162', 'tblTempVendorCDR_20' ) end [2025-03-20 10:15:20] Production.INFO: ProcessCDR(1,14722162,1,1,2) [2025-03-20 10:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:15:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:15:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:15:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722162', 'tblTempUsageDetail_20' ) start [2025-03-20 10:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722162', 'tblTempUsageDetail_20' ) end [2025-03-20 10:15:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:15:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:15:25] Production.INFO: ==10904== Releasing lock... [2025-03-20 10:15:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:15:25] Production.INFO: 46.5 MB #Memory Used# [2025-03-20 14:16:01] Production.INFO: ==10986== Lock acquired, processing the job... [2025-03-20 14:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:16:01] Production.INFO: neon service started [2025-03-20 14:16:01] Production.INFO: neon service started [2025-03-20 14:16:01] Production.INFO: ==10986== Releasing lock... [2025-03-20 14:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:16:02] Production.INFO: ==10988== Lock acquired, processing the job... [2025-03-20 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:16:02] Production.INFO: ==10988== Releasing lock... [2025-03-20 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:16:02] Production.INFO: ==10990== Lock acquired, processing the job... [2025-03-20 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:16:02] Production.INFO: ==10990== Releasing lock... [2025-03-20 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:16:03] Production.INFO: ==10997== Lock acquired, processing the job... [2025-03-20 10:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:16:03] Production.INFO: ==11003== Lock acquired, processing the job... [2025-03-20 10:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:16:03] Production.INFO: ==10995== Lock acquired, processing the job... [2025-03-20 10:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:16:03] Production.INFO: ==10993== Lock acquired, processing the job... [2025-03-20 10:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:16:03] Production.INFO: count ==12 [2025-03-20 10:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:16:03] Production.INFO: count ==23 [2025-03-20 10:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722163') start [2025-03-20 10:16:03] Production.INFO: ==10999== Lock acquired, processing the job... [2025-03-20 10:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722163') end [2025-03-20 10:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:16:04] Production.INFO: 1 [2025-03-20 10:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:16:04] Production.INFO: ==11001== Lock acquired, processing the job... [2025-03-20 10:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:16:04] Production.INFO: ==11003== Releasing lock... [2025-03-20 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:16:04] Production.INFO: Account Balance Start. [2025-03-20 10:16:04] Production.INFO: CreateAllLog Start [2025-03-20 10:16:04] Production.INFO: 117 [2025-03-20 10:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:16:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.INFO: ==10995== Releasing lock... [2025-03-20 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.ERROR: done [2025-03-20 10:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.ERROR: done [2025-03-20 10:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:16:04] Production.INFO: Total Charge 0 [2025-03-20 10:16:04] Production.INFO: CreateAllLog End [2025-03-20 10:16:05] Production.INFO: Account Balance End. [2025-03-20 10:16:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:16:05] Production.INFO: ==10999== Releasing lock... [2025-03-20 10:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:16:05 [end_date_ymd] => 2025-03-20 10:16:05 [RateCDR] => 1 ) [2025-03-20 10:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:16:05' and `end` < '2025-03-20 10:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:16:14] Production.ERROR: CronJobId end10 [2025-03-20 10:16:14] Production.INFO: ==10997== Releasing lock... [2025-03-20 10:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:16:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:16:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:16:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:16:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:16:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:16:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:16:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:16:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:16:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:16:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:16:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:16:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:16:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:16:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:16:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:16:16] Production.INFO: call_cost start [2025-03-20 10:16:16] Production.INFO: call_cost end [2025-03-20 10:16:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:16:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:16:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:16:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:16:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:16:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:16:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:16:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:16:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:16:17] Production.INFO: ==10993== Releasing lock... [2025-03-20 10:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:16:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:16:18] Production.INFO: count ==2427 [2025-03-20 10:16:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:16:05 - End Time 2025-03-20 10:16:05 [2025-03-20 10:16:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722167', 'tblTempUsageDetail_20' ) start [2025-03-20 10:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722167', 'tblTempUsageDetail_20' ) end [2025-03-20 10:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722167', 'tblTempVendorCDR_20' ) start [2025-03-20 10:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722167', 'tblTempVendorCDR_20' ) end [2025-03-20 10:16:19] Production.INFO: ProcessCDR(1,14722167,1,1,2) [2025-03-20 10:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:16:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:16:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:16:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722167', 'tblTempUsageDetail_20' ) start [2025-03-20 10:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722167', 'tblTempUsageDetail_20' ) end [2025-03-20 10:16:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:16:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:16:25] Production.INFO: ==11001== Releasing lock... [2025-03-20 10:16:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:16:25] Production.INFO: 46.25 MB #Memory Used# [2025-03-20 14:17:02] Production.INFO: ==11091== Lock acquired, processing the job... [2025-03-20 14:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:17:02] Production.INFO: neon service started [2025-03-20 14:17:02] Production.INFO: neon service started [2025-03-20 14:17:02] Production.INFO: ==11091== Releasing lock... [2025-03-20 14:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:17:02] Production.INFO: ==11093== Lock acquired, processing the job... [2025-03-20 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:17:02] Production.INFO: ==11093== Releasing lock... [2025-03-20 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:17:03] Production.INFO: ==11095== Lock acquired, processing the job... [2025-03-20 14:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:17:03] Production.INFO: ==11095== Releasing lock... [2025-03-20 14:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:17:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:17:03] Production.INFO: ==11098== Lock acquired, processing the job... [2025-03-20 10:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:17:04] Production.INFO: ==11100== Lock acquired, processing the job... [2025-03-20 10:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:17:04] Production.INFO: ==11106== Lock acquired, processing the job... [2025-03-20 10:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:17:04] Production.INFO: ==11104== Lock acquired, processing the job... [2025-03-20 10:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:17:04] Production.INFO: ==11102== Lock acquired, processing the job... [2025-03-20 10:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:17:04] Production.INFO: ==11108== Lock acquired, processing the job... [2025-03-20 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:17:04] Production.INFO: Account Balance Start. [2025-03-20 10:17:04] Production.INFO: CreateAllLog Start [2025-03-20 10:17:04] Production.INFO: 117 [2025-03-20 10:17:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.INFO: ==11100== Releasing lock... [2025-03-20 10:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:17:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:17:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:17:04] Production.INFO: count ==23 [2025-03-20 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722171') start [2025-03-20 10:17:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.ERROR: done [2025-03-20 10:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:17:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722171') end [2025-03-20 10:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:17:04] Production.INFO: 1 [2025-03-20 10:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.ERROR: done [2025-03-20 10:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.INFO: ==11108== Releasing lock... [2025-03-20 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:17:04] Production.INFO: Total Charge 0 [2025-03-20 10:17:04] Production.INFO: CreateAllLog End [2025-03-20 10:17:05] Production.INFO: Account Balance End. [2025-03-20 10:17:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:17:05] Production.INFO: ==11104== Releasing lock... [2025-03-20 10:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:17:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:17:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:17:06 [end_date_ymd] => 2025-03-20 10:17:06 [RateCDR] => 1 ) [2025-03-20 10:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:17:06' and `end` < '2025-03-20 10:17:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:17:13] Production.ERROR: CronJobId end10 [2025-03-20 10:17:13] Production.INFO: ==11102== Releasing lock... [2025-03-20 10:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:17:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:17:15] Production.INFO: call_cost start [2025-03-20 10:17:15] Production.INFO: call_cost end [2025-03-20 10:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:17:16] Production.INFO: ==11098== Releasing lock... [2025-03-20 10:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:17:18] Production.INFO: count ==2441 [2025-03-20 10:17:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:17:06 - End Time 2025-03-20 10:17:06 [2025-03-20 10:17:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722172', 'tblTempUsageDetail_20' ) start [2025-03-20 10:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722172', 'tblTempUsageDetail_20' ) end [2025-03-20 10:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722172', 'tblTempVendorCDR_20' ) start [2025-03-20 10:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722172', 'tblTempVendorCDR_20' ) end [2025-03-20 10:17:19] Production.INFO: ProcessCDR(1,14722172,1,1,2) [2025-03-20 10:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:17:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:17:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722172', 'tblTempUsageDetail_20' ) start [2025-03-20 10:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722172', 'tblTempUsageDetail_20' ) end [2025-03-20 10:17:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:17:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:17:25] Production.INFO: ==11106== Releasing lock... [2025-03-20 10:17:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:17:25] Production.INFO: 46.5 MB #Memory Used# [2025-03-20 14:18:01] Production.INFO: ==11196== Lock acquired, processing the job... [2025-03-20 14:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:18:01] Production.INFO: neon service started [2025-03-20 14:18:01] Production.INFO: neon service started [2025-03-20 14:18:01] Production.INFO: ==11196== Releasing lock... [2025-03-20 14:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:18:02] Production.INFO: ==11199== Lock acquired, processing the job... [2025-03-20 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:18:02] Production.INFO: ==11199== Releasing lock... [2025-03-20 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:18:02] Production.INFO: ==11201== Lock acquired, processing the job... [2025-03-20 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:18:02] Production.INFO: ==11201== Releasing lock... [2025-03-20 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:18:02] Production.INFO: 26 MB #Memory Used# [2025-03-20 10:18:03] Production.INFO: ==11209== Lock acquired, processing the job... [2025-03-20 10:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:18:03] Production.INFO: ==11203== Lock acquired, processing the job... [2025-03-20 10:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:18:03] Production.INFO: ==11211== Lock acquired, processing the job... [2025-03-20 10:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:18:03] Production.INFO: Account Balance Start. [2025-03-20 10:18:03] Production.INFO: CreateAllLog Start [2025-03-20 10:18:03] Production.INFO: 117 [2025-03-20 10:18:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:18:03] Production.INFO: ==11205== Lock acquired, processing the job... [2025-03-20 10:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:18:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:03] Production.INFO: ==11207== Lock acquired, processing the job... [2025-03-20 10:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:18:03] Production.INFO: Date 2025-03-11 [2025-03-20 10:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:03] Production.INFO: Date 2025-03-12 [2025-03-20 10:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:03] Production.INFO: Date 2025-03-13 [2025-03-20 10:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:03] Production.INFO: ==11213== Lock acquired, processing the job... [2025-03-20 10:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:18:03] Production.INFO: Date 2025-03-14 [2025-03-20 10:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:03] Production.INFO: Date 2025-03-15 [2025-03-20 10:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:18:03] Production.INFO: Date 2025-03-16 [2025-03-20 10:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:04] Production.INFO: count ==12 [2025-03-20 10:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:04] Production.INFO: count ==23 [2025-03-20 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722175') start [2025-03-20 10:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:18:04] Production.ERROR: done [2025-03-20 10:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:18:04] Production.INFO: Total Charge 0 [2025-03-20 10:18:04] Production.INFO: CreateAllLog End [2025-03-20 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722175') end [2025-03-20 10:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:18:04] Production.INFO: 1 [2025-03-20 10:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:18:04] Production.INFO: ==11213== Releasing lock... [2025-03-20 10:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:18:04] Production.INFO: ==11205== Releasing lock... [2025-03-20 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:18:04] Production.ERROR: done [2025-03-20 10:18:04] Production.INFO: Account Balance End. [2025-03-20 10:18:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:18:04] Production.INFO: ==11209== Releasing lock... [2025-03-20 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:18:05 [end_date_ymd] => 2025-03-20 10:18:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:18:05' and `end` < '2025-03-20 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-03-20 10:18:13] Production.ERROR: CronJobId end10 [2025-03-20 10:18:13] Production.INFO: ==11207== Releasing lock... [2025-03-20 10:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:18:15] Production.INFO: call_cost start [2025-03-20 10:18:15] Production.INFO: call_cost end [2025-03-20 10:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:18:16] Production.INFO: ==11203== Releasing lock... [2025-03-20 10:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:18:18] Production.INFO: count ==2470 [2025-03-20 10:18:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:18:05 - End Time 2025-03-20 10:18:05 [2025-03-20 10:18:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722177', 'tblTempUsageDetail_20' ) start [2025-03-20 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722177', 'tblTempUsageDetail_20' ) end [2025-03-20 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722177', 'tblTempVendorCDR_20' ) start [2025-03-20 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722177', 'tblTempVendorCDR_20' ) end [2025-03-20 10:18:19] Production.INFO: ProcessCDR(1,14722177,1,1,2) [2025-03-20 10:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722177', 'tblTempUsageDetail_20' ) start [2025-03-20 10:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722177', 'tblTempUsageDetail_20' ) end [2025-03-20 10:18:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:18:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:18:24] Production.INFO: ==11211== Releasing lock... [2025-03-20 10:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:18:24] Production.INFO: 46.5 MB #Memory Used# [2025-03-20 14:19:02] Production.INFO: ==11304== Lock acquired, processing the job... [2025-03-20 14:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:19:02] Production.INFO: neon service started [2025-03-20 14:19:02] Production.INFO: neon service started [2025-03-20 14:19:02] Production.INFO: ==11304== Releasing lock... [2025-03-20 14:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:19:02] Production.INFO: ==11307== Lock acquired, processing the job... [2025-03-20 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:19:02] Production.INFO: ==11307== Releasing lock... [2025-03-20 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:19:02] Production.INFO: ==11310== Lock acquired, processing the job... [2025-03-20 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:19:03] Production.INFO: ==11310== Releasing lock... [2025-03-20 14:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:19:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:19:03] Production.INFO: ==11319== Lock acquired, processing the job... [2025-03-20 10:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:19:03] Production.INFO: ==11312== Lock acquired, processing the job... [2025-03-20 10:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:19:03] Production.INFO: ==11323== Lock acquired, processing the job... [2025-03-20 10:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:19:03] Production.INFO: Account Balance Start. [2025-03-20 10:19:03] Production.INFO: CreateAllLog Start [2025-03-20 10:19:03] Production.INFO: 117 [2025-03-20 10:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:19:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:19:04] Production.INFO: ==11314== Lock acquired, processing the job... [2025-03-20 10:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:04] Production.INFO: count ==12 [2025-03-20 10:19:04] Production.INFO: ==11317== Lock acquired, processing the job... [2025-03-20 10:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:19:04] Production.INFO: ==11321== Lock acquired, processing the job... [2025-03-20 10:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:19:04] Production.INFO: count ==23 [2025-03-20 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722179') start [2025-03-20 10:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722179') end [2025-03-20 10:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:19:04] Production.INFO: 1 [2025-03-20 10:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:19:04] Production.INFO: Total Charge 0 [2025-03-20 10:19:04] Production.INFO: CreateAllLog End [2025-03-20 10:19:04] Production.INFO: ==11323== Releasing lock... [2025-03-20 10:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:19:04] Production.INFO: ==11314== Releasing lock... [2025-03-20 10:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:19:04] Production.ERROR: done [2025-03-20 10:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:19:04] Production.INFO: Account Balance End. [2025-03-20 10:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:19:04] Production.INFO: ==11319== Releasing lock... [2025-03-20 10:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:19:04] Production.ERROR: done [2025-03-20 10:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:19:05 [end_date_ymd] => 2025-03-20 10:19:05 [RateCDR] => 1 ) [2025-03-20 10:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:19:05' and `end` < '2025-03-20 10:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:19:13] Production.ERROR: CronJobId end10 [2025-03-20 10:19:13] Production.INFO: ==11317== Releasing lock... [2025-03-20 10:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:19:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:19:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:19:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:19:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:19:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:19:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:19:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:19:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:19:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:19:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:19:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:19:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:19:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:19:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:19:16] Production.INFO: call_cost start [2025-03-20 10:19:16] Production.INFO: call_cost end [2025-03-20 10:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:19:17] Production.INFO: ==11312== Releasing lock... [2025-03-20 10:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:19:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:19:18] Production.INFO: count ==2479 [2025-03-20 10:19:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:19:05 - End Time 2025-03-20 10:19:05 [2025-03-20 10:19:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722182', 'tblTempUsageDetail_20' ) start [2025-03-20 10:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722182', 'tblTempUsageDetail_20' ) end [2025-03-20 10:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722182', 'tblTempVendorCDR_20' ) start [2025-03-20 10:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722182', 'tblTempVendorCDR_20' ) end [2025-03-20 10:19:19] Production.INFO: ProcessCDR(1,14722182,1,1,2) [2025-03-20 10:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:19:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:19:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:19:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722182', 'tblTempUsageDetail_20' ) start [2025-03-20 10:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722182', 'tblTempUsageDetail_20' ) end [2025-03-20 10:19:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:19:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:19:24] Production.INFO: ==11321== Releasing lock... [2025-03-20 10:19:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:19:24] Production.INFO: 46.75 MB #Memory Used# [2025-03-20 14:20:01] Production.INFO: ==11410== Lock acquired, processing the job... [2025-03-20 14:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:20:01] Production.INFO: neon service started [2025-03-20 14:20:01] Production.INFO: neon service started [2025-03-20 14:20:01] Production.INFO: ==11410== Releasing lock... [2025-03-20 14:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:20:02] Production.INFO: ==11412== Lock acquired, processing the job... [2025-03-20 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:20:02] Production.INFO: ==11414== Lock acquired, processing the job... [2025-03-20 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:20:02] Production.INFO: ==11414== Releasing lock... [2025-03-20 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:20:02] Production.INFO: ==11412== Releasing lock... [2025-03-20 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:20:03] Production.INFO: ==11417== Lock acquired, processing the job... [2025-03-20 10:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 10:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 10:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 10:20:03] Production.INFO: ==11417== Releasing lock... [2025-03-20 10:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 10:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 10:20:04] Production.INFO: ==11419== Lock acquired, processing the job... [2025-03-20 10:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:20:04] Production.INFO: ==11425== Lock acquired, processing the job... [2025-03-20 10:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:20:04] Production.INFO: ==11421== Lock acquired, processing the job... [2025-03-20 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:20:04] Production.INFO: ==11423== Lock acquired, processing the job... [2025-03-20 10:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:20:04] Production.INFO: ==11431== Lock acquired, processing the job... [2025-03-20 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:20:04] Production.INFO: Account Balance Start. [2025-03-20 10:20:04] Production.INFO: CreateAllLog Start [2025-03-20 10:20:04] Production.INFO: 117 [2025-03-20 10:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:04] Production.INFO: ==11427== Lock acquired, processing the job... [2025-03-20 10:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:20:04] Production.INFO: count ==12 [2025-03-20 10:20:04] Production.INFO: ==11429== Lock acquired, processing the job... [2025-03-20 10:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 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-03-20 10:20:04] Production.INFO: count ==23 [2025-03-20 10:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722186') start [2025-03-20 10:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:04] Production.INFO: ==11421== Releasing lock... [2025-03-20 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722186') end [2025-03-20 10:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:20:04] Production.INFO: 1 [2025-03-20 10:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:04] Production.INFO: ==11431== Releasing lock... [2025-03-20 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:20:04] Production.ERROR: done [2025-03-20 10:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:20:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:05] Production.ERROR: done [2025-03-20 10:20:05] Production.ERROR: done [2025-03-20 10:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 10:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 10:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 10:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722187', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 10:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:20:05] Production.INFO: Total Charge 0 [2025-03-20 10:20:05] Production.INFO: CreateAllLog End [2025-03-20 10:20:05] Production.INFO: Account Balance End. [2025-03-20 10:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:20:05] Production.INFO: ==11425== Releasing lock... [2025-03-20 10:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:20:06 [end_date_ymd] => 2025-03-20 10:20:06 [RateCDR] => 1 ) [2025-03-20 10:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:20:06' and `end` < '2025-03-20 10:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722187', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 10:20:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 10:20:10] Production.INFO: ProcessCDR(1,14722187,1,1,2) [2025-03-20 10:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722187,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722187,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:20:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:20:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:20:10] Production.INFO: ==11429== Releasing lock... [2025-03-20 10:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 10:20:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 10:20:14] Production.ERROR: CronJobId end10 [2025-03-20 10:20:14] Production.INFO: ==11423== Releasing lock... [2025-03-20 10:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:20:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:20:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:20:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:20:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:20:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:20:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:20:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:20:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:20:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:20:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:20:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:20:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:20:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:20:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:20:17] Production.INFO: call_cost start [2025-03-20 10:20:17] Production.INFO: call_cost end [2025-03-20 10:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:20:18] Production.INFO: ==11419== Releasing lock... [2025-03-20 10:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:20:19] Production.INFO: count ==2501 [2025-03-20 10:20:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:20:06 - End Time 2025-03-20 10:20:06 [2025-03-20 10:20:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722188', 'tblTempUsageDetail_20' ) start [2025-03-20 10:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722188', 'tblTempUsageDetail_20' ) end [2025-03-20 10:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722188', 'tblTempVendorCDR_20' ) start [2025-03-20 10:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722188', 'tblTempVendorCDR_20' ) end [2025-03-20 10:20:20] Production.INFO: ProcessCDR(1,14722188,1,1,2) [2025-03-20 10:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722188,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:20:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722188,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:20:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722188', 'tblTempUsageDetail_20' ) start [2025-03-20 10:20:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722188', 'tblTempUsageDetail_20' ) end [2025-03-20 10:20:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:20:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:20:25] Production.INFO: ==11427== Releasing lock... [2025-03-20 10:20:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:20:25] Production.INFO: 46.75 MB #Memory Used# [2025-03-20 14:21:02] Production.INFO: ==11517== Lock acquired, processing the job... [2025-03-20 14:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:21:02] Production.INFO: neon service started [2025-03-20 14:21:02] Production.INFO: neon service started [2025-03-20 14:21:02] Production.INFO: ==11517== Releasing lock... [2025-03-20 14:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:21:02] Production.INFO: ==11522== Lock acquired, processing the job... [2025-03-20 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:21:02] Production.INFO: ==11522== Releasing lock... [2025-03-20 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:21:02] Production.INFO: ==11519== Lock acquired, processing the job... [2025-03-20 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:21:02] Production.INFO: ==11519== Releasing lock... [2025-03-20 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:21:03] Production.INFO: ==11531== Lock acquired, processing the job... [2025-03-20 10:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:21:03] Production.INFO: ==11535== Lock acquired, processing the job... [2025-03-20 10:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:21:03] Production.INFO: ==11527== Lock acquired, processing the job... [2025-03-20 10:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:21:04] Production.INFO: ==11529== Lock acquired, processing the job... [2025-03-20 10:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:21:04] Production.INFO: ==11533== Lock acquired, processing the job... [2025-03-20 10:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:21:04] Production.INFO: ==11537== Lock acquired, processing the job... [2025-03-20 10:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:21:04] Production.INFO: Account Balance Start. [2025-03-20 10:21:04] Production.INFO: CreateAllLog Start [2025-03-20 10:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:21:04] Production.INFO: 117 [2025-03-20 10:21:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.INFO: count ==12 [2025-03-20 10:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:21:04] Production.INFO: count ==23 [2025-03-20 10:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722190') start [2025-03-20 10:21:04] Production.ERROR: done [2025-03-20 10:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722190') end [2025-03-20 10:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:21:04] Production.INFO: 1 [2025-03-20 10:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:21:04] Production.INFO: ==11537== Releasing lock... [2025-03-20 10:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.ERROR: done [2025-03-20 10:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.INFO: ==11529== Releasing lock... [2025-03-20 10:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:21:04] Production.INFO: Total Charge 0 [2025-03-20 10:21:05] Production.INFO: CreateAllLog End [2025-03-20 10:21:05] Production.INFO: Account Balance End. [2025-03-20 10:21:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:21:05] Production.INFO: ==11533== Releasing lock... [2025-03-20 10:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:21:05 [end_date_ymd] => 2025-03-20 10:21:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:21:05' and `end` < '2025-03-20 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-03-20 10:21:13] Production.ERROR: CronJobId end10 [2025-03-20 10:21:13] Production.INFO: ==11531== Releasing lock... [2025-03-20 10:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:21:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:21:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:21:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:21:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:21:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:21:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:21:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:21:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:21:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:21:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:21:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:21:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:21:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:21:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:21:16] Production.INFO: call_cost start [2025-03-20 10:21:16] Production.INFO: call_cost end [2025-03-20 10:21:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:21:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:21:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:21:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:21:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:21:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:21:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:21:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:21:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:21:17] Production.INFO: ==11527== Releasing lock... [2025-03-20 10:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:21:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:21:18] Production.INFO: count ==2618 [2025-03-20 10:21:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:21:05 - End Time 2025-03-20 10:21:05 [2025-03-20 10:21:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722193', 'tblTempUsageDetail_20' ) start [2025-03-20 10:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722193', 'tblTempUsageDetail_20' ) end [2025-03-20 10:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722193', 'tblTempVendorCDR_20' ) start [2025-03-20 10:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722193', 'tblTempVendorCDR_20' ) end [2025-03-20 10:21:19] Production.INFO: ProcessCDR(1,14722193,1,1,2) [2025-03-20 10:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:21:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722193,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:21:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722193,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722193', 'tblTempUsageDetail_20' ) start [2025-03-20 10:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722193', 'tblTempUsageDetail_20' ) end [2025-03-20 10:21:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:21:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:21:24] Production.INFO: ==11535== Releasing lock... [2025-03-20 10:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:21:24] Production.INFO: 47.75 MB #Memory Used# [2025-03-20 14:22:01] Production.INFO: ==11639== Lock acquired, processing the job... [2025-03-20 14:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:22:01] Production.INFO: neon service started [2025-03-20 14:22:01] Production.INFO: neon service started [2025-03-20 14:22:01] Production.INFO: ==11639== Releasing lock... [2025-03-20 14:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:22:02] Production.INFO: ==11643== Lock acquired, processing the job... [2025-03-20 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:22:02] Production.INFO: ==11643== Releasing lock... [2025-03-20 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:22:02] Production.INFO: ==11641== Lock acquired, processing the job... [2025-03-20 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:22:02] Production.INFO: ==11641== Releasing lock... [2025-03-20 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:22:03] Production.INFO: ==11646== Lock acquired, processing the job... [2025-03-20 10:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:22:03] Production.INFO: ==11654== Lock acquired, processing the job... [2025-03-20 10:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:22:03] Production.INFO: ==11648== Lock acquired, processing the job... [2025-03-20 10:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:22:03] Production.INFO: ==11652== Lock acquired, processing the job... [2025-03-20 10:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:22:03] Production.INFO: ==11650== Lock acquired, processing the job... [2025-03-20 10:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:22:03] Production.INFO: ==11656== Lock acquired, processing the job... [2025-03-20 10:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:22:03] Production.INFO: Account Balance Start. [2025-03-20 10:22:03] Production.INFO: CreateAllLog Start [2025-03-20 10:22:04] Production.INFO: 117 [2025-03-20 10:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.INFO: ==11648== Releasing lock... [2025-03-20 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:22:04] Production.ERROR: done [2025-03-20 10:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:22:04] Production.INFO: count ==23 [2025-03-20 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722197') start [2025-03-20 10:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.ERROR: done [2025-03-20 10:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722197') end [2025-03-20 10:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:22:04] Production.INFO: 1 [2025-03-20 10:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:22:04] Production.INFO: ==11656== Releasing lock... [2025-03-20 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:22:04] Production.INFO: Total Charge 0 [2025-03-20 10:22:04] Production.INFO: CreateAllLog End [2025-03-20 10:22:04] Production.INFO: Account Balance End. [2025-03-20 10:22:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:22:04] Production.INFO: ==11652== Releasing lock... [2025-03-20 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:22:05 [end_date_ymd] => 2025-03-20 10:22:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:22:05' and `end` < '2025-03-20 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-03-20 10:22:13] Production.ERROR: CronJobId end10 [2025-03-20 10:22:13] Production.INFO: ==11650== Releasing lock... [2025-03-20 10:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:22:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:22:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:22:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:22:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:22:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:22:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:22:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:22:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:22:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:22:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:22:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:22:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:22:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:22:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:22:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:22:16] Production.INFO: call_cost start [2025-03-20 10:22:16] Production.INFO: call_cost end [2025-03-20 10:22:17] Production.INFO: count ==2650 [2025-03-20 10:22:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:22:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:22:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:22:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:22:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:22:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:22:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:22:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:22:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:22:18] Production.INFO: ==11646== Releasing lock... [2025-03-20 10:22:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:22:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:22:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:22:05 - End Time 2025-03-20 10:22:05 [2025-03-20 10:22:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722198', 'tblTempUsageDetail_20' ) start [2025-03-20 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722198', 'tblTempUsageDetail_20' ) end [2025-03-20 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722198', 'tblTempVendorCDR_20' ) start [2025-03-20 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722198', 'tblTempVendorCDR_20' ) end [2025-03-20 10:22:19] Production.INFO: ProcessCDR(1,14722198,1,1,2) [2025-03-20 10:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:22:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722198,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:22:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722198,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722198', 'tblTempUsageDetail_20' ) start [2025-03-20 10:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722198', 'tblTempUsageDetail_20' ) end [2025-03-20 10:22:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:22:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:22:24] Production.INFO: ==11654== Releasing lock... [2025-03-20 10:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:22:24] Production.INFO: 48 MB #Memory Used# [2025-03-20 14:23:02] Production.INFO: ==11750== Lock acquired, processing the job... [2025-03-20 14:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:23:02] Production.INFO: neon service started [2025-03-20 14:23:02] Production.INFO: neon service started [2025-03-20 14:23:02] Production.INFO: ==11750== Releasing lock... [2025-03-20 14:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:23:02] Production.INFO: ==11753== Lock acquired, processing the job... [2025-03-20 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:23:02] Production.INFO: ==11753== Releasing lock... [2025-03-20 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:23:02] Production.INFO: ==11755== Lock acquired, processing the job... [2025-03-20 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:23:03] Production.INFO: ==11755== Releasing lock... [2025-03-20 14:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:23:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:23:03] Production.INFO: ==11763== Lock acquired, processing the job... [2025-03-20 10:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:23:03] Production.INFO: ==11769== Lock acquired, processing the job... [2025-03-20 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:23:03] Production.INFO: ==11759== Lock acquired, processing the job... [2025-03-20 10:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:23:03] Production.INFO: ==11761== Lock acquired, processing the job... [2025-03-20 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:23:03] Production.INFO: ==11765== Lock acquired, processing the job... [2025-03-20 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:23:03] Production.INFO: ==11767== Lock acquired, processing the job... [2025-03-20 10:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:23:03] Production.INFO: count ==12 [2025-03-20 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-03-20 10:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:23:04] Production.INFO: count ==23 [2025-03-20 10:23:04] Production.INFO: Account Balance Start. [2025-03-20 10:23:04] Production.INFO: CreateAllLog Start [2025-03-20 10:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722199') start [2025-03-20 10:23:04] Production.INFO: 117 [2025-03-20 10:23:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722199') end [2025-03-20 10:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:23:04] Production.INFO: 1 [2025-03-20 10:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:23:04] Production.INFO: ==11769== Releasing lock... [2025-03-20 10:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:23:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.INFO: ==11761== Releasing lock... [2025-03-20 10:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.ERROR: done [2025-03-20 10:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.ERROR: done [2025-03-20 10:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:23:04] Production.INFO: Total Charge 0 [2025-03-20 10:23:04] Production.INFO: CreateAllLog End [2025-03-20 10:23:05] Production.INFO: Account Balance End. [2025-03-20 10:23:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:23:05] Production.INFO: ==11765== Releasing lock... [2025-03-20 10:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:23:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:23:05 [end_date_ymd] => 2025-03-20 10:23:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:23:05' and `end` < '2025-03-20 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-03-20 10:23:13] Production.ERROR: CronJobId end10 [2025-03-20 10:23:13] Production.INFO: ==11763== Releasing lock... [2025-03-20 10:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:23:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:23:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:23:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:23:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:23:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:23:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:23:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:23:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:23:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:23:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:23:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:23:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:23:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:23:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:23:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:23:16] Production.INFO: call_cost start [2025-03-20 10:23:16] Production.INFO: call_cost end [2025-03-20 10:23:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:23:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:23:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:23:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:23:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:23:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:23:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:23:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:23:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:23:17] Production.INFO: ==11759== Releasing lock... [2025-03-20 10:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:23:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:23:18] Production.INFO: count ==2654 [2025-03-20 10:23:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:23:05 - End Time 2025-03-20 10:23:05 [2025-03-20 10:23:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722203', 'tblTempUsageDetail_20' ) start [2025-03-20 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722203', 'tblTempUsageDetail_20' ) end [2025-03-20 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722203', 'tblTempVendorCDR_20' ) start [2025-03-20 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722203', 'tblTempVendorCDR_20' ) end [2025-03-20 10:23:19] Production.INFO: ProcessCDR(1,14722203,1,1,2) [2025-03-20 10:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722203,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722203,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722203', 'tblTempUsageDetail_20' ) start [2025-03-20 10:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722203', 'tblTempUsageDetail_20' ) end [2025-03-20 10:23:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:23:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:23:24] Production.INFO: ==11767== Releasing lock... [2025-03-20 10:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:23:24] Production.INFO: 48 MB #Memory Used# [2025-03-20 14:24:01] Production.INFO: ==11852== Lock acquired, processing the job... [2025-03-20 14:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:24:01] Production.INFO: neon service started [2025-03-20 14:24:01] Production.INFO: neon service started [2025-03-20 14:24:01] Production.INFO: ==11852== Releasing lock... [2025-03-20 14:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:24:01] Production.INFO: ==11856== Lock acquired, processing the job... [2025-03-20 14:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:24:01] Production.INFO: ==11856== Releasing lock... [2025-03-20 14:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:24:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:24:02] Production.INFO: ==11854== Lock acquired, processing the job... [2025-03-20 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:24:02] Production.INFO: ==11854== Releasing lock... [2025-03-20 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:24:03] Production.INFO: ==11859== Lock acquired, processing the job... [2025-03-20 10:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:24:03] Production.INFO: ==11865== Lock acquired, processing the job... [2025-03-20 10:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:24:03] Production.INFO: ==11861== Lock acquired, processing the job... [2025-03-20 10:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:24:03] Production.INFO: ==11863== Lock acquired, processing the job... [2025-03-20 10:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:24:03] Production.INFO: ==11867== Lock acquired, processing the job... [2025-03-20 10:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:24:03] Production.INFO: Account Balance Start. [2025-03-20 10:24:03] Production.INFO: CreateAllLog Start [2025-03-20 10:24:03] Production.INFO: 117 [2025-03-20 10:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:24:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:03] Production.INFO: ==11869== Lock acquired, processing the job... [2025-03-20 10:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:24:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:24:04] Production.INFO: ==11861== Releasing lock... [2025-03-20 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:24:04] Production.INFO: count ==23 [2025-03-20 10:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722207') start [2025-03-20 10:24:04] Production.ERROR: done [2025-03-20 10:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722207') end [2025-03-20 10:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:24:04] Production.INFO: 1 [2025-03-20 10:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:04] Production.INFO: ==11869== Releasing lock... [2025-03-20 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:04] Production.ERROR: done [2025-03-20 10:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:24:04] Production.INFO: Total Charge 0 [2025-03-20 10:24:04] Production.INFO: CreateAllLog End [2025-03-20 10:24:04] Production.INFO: Account Balance End. [2025-03-20 10:24:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:24:04] Production.INFO: ==11865== Releasing lock... [2025-03-20 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:24:05 [end_date_ymd] => 2025-03-20 10:24:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:24:05' and `end` < '2025-03-20 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-03-20 10:24:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #11 [internal function]: App\Console\Commands\NeonAlerts->fire() #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #9 [internal function]: App\Console\Commands\NeonAlerts->fire() #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 {main} [2025-03-20 10:24:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:24:12] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:24:12] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:24:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:24:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:24:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:24:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:24:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:24:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:24:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:24:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:24:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:24:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:24:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:24:13] Production.INFO: call_cost start [2025-03-20 10:24:13] Production.INFO: call_cost end [2025-03-20 10:24:13] Production.ERROR: CronJobId end10 [2025-03-20 10:24:13] Production.INFO: ==11863== Releasing lock... [2025-03-20 10:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:24:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:24:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:24:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:24:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:24:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:24:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:24:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:24:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:24:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:24:14] Production.INFO: ==11859== Releasing lock... [2025-03-20 10:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:24:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:24:18] Production.INFO: count ==2666 [2025-03-20 10:24:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:24:05 - End Time 2025-03-20 10:24:05 [2025-03-20 10:24:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722208', 'tblTempUsageDetail_20' ) start [2025-03-20 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722208', 'tblTempUsageDetail_20' ) end [2025-03-20 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722208', 'tblTempVendorCDR_20' ) start [2025-03-20 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722208', 'tblTempVendorCDR_20' ) end [2025-03-20 10:24:19] Production.INFO: ProcessCDR(1,14722208,1,1,2) [2025-03-20 10:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722208', 'tblTempUsageDetail_20' ) start [2025-03-20 10:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722208', 'tblTempUsageDetail_20' ) end [2025-03-20 10:24:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:24:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:24:24] Production.INFO: ==11867== Releasing lock... [2025-03-20 10:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:24:24] Production.INFO: 48 MB #Memory Used# [2025-03-20 14:25:01] Production.INFO: ==11970== Lock acquired, processing the job... [2025-03-20 14:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:25:02] Production.INFO: neon service started [2025-03-20 14:25:02] Production.INFO: neon service started [2025-03-20 14:25:02] Production.INFO: ==11970== Releasing lock... [2025-03-20 14:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:25:02] Production.INFO: ==11972== Lock acquired, processing the job... [2025-03-20 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:25:02] Production.INFO: ==11974== Lock acquired, processing the job... [2025-03-20 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:25:02] Production.INFO: ==11972== Releasing lock... [2025-03-20 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:25:02] Production.INFO: ==11974== Releasing lock... [2025-03-20 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:25:03] Production.INFO: ==11977== Lock acquired, processing the job... [2025-03-20 10:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:25:03] Production.INFO: ==11979== Lock acquired, processing the job... [2025-03-20 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:25:03] Production.INFO: ==11981== Lock acquired, processing the job... [2025-03-20 10:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:25:03] Production.INFO: ==11983== Lock acquired, processing the job... [2025-03-20 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:25:03] Production.INFO: ==11987== Lock acquired, processing the job... [2025-03-20 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:25:03] Production.INFO: Account Balance Start. [2025-03-20 10:25:03] Production.INFO: CreateAllLog Start [2025-03-20 10:25:03] Production.INFO: 117 [2025-03-20 10:25:03] Production.INFO: ==11985== Lock acquired, processing the job... [2025-03-20 10:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:25:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:25:03] Production.INFO: ==11979== Releasing lock... [2025-03-20 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:25:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:25:03] Production.INFO: count ==12 [2025-03-20 10:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:25:04] Production.INFO: count ==23 [2025-03-20 10:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722212') start [2025-03-20 10:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722212') end [2025-03-20 10:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:25:04] Production.INFO: 1 [2025-03-20 10:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:25:04] Production.INFO: ==11987== Releasing lock... [2025-03-20 10:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:25:04] Production.ERROR: done [2025-03-20 10:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:25:04] Production.INFO: Total Charge 0 [2025-03-20 10:25:04] Production.INFO: CreateAllLog End [2025-03-20 10:25:04] Production.ERROR: done [2025-03-20 10:25:04] Production.INFO: Account Balance End. [2025-03-20 10:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:25:04] Production.INFO: ==11983== Releasing lock... [2025-03-20 10:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:25:05 [end_date_ymd] => 2025-03-20 10:25:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:25:05' and `end` < '2025-03-20 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-03-20 10:25:13] Production.ERROR: CronJobId end10 [2025-03-20 10:25:13] Production.INFO: ==11981== Releasing lock... [2025-03-20 10:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:25:15] Production.INFO: call_cost start [2025-03-20 10:25:15] Production.INFO: call_cost end [2025-03-20 10:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:25:16] Production.INFO: ==11977== Releasing lock... [2025-03-20 10:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:25:18] Production.INFO: count ==2684 [2025-03-20 10:25:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:25:05 - End Time 2025-03-20 10:25:05 [2025-03-20 10:25:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722213', 'tblTempUsageDetail_20' ) start [2025-03-20 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722213', 'tblTempUsageDetail_20' ) end [2025-03-20 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722213', 'tblTempVendorCDR_20' ) start [2025-03-20 10:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722213', 'tblTempVendorCDR_20' ) end [2025-03-20 10:25:19] Production.INFO: ProcessCDR(1,14722213,1,1,2) [2025-03-20 10:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722213', 'tblTempUsageDetail_20' ) start [2025-03-20 10:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722213', 'tblTempUsageDetail_20' ) end [2025-03-20 10:25:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:25:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:25:24] Production.INFO: ==11985== Releasing lock... [2025-03-20 10:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:25:24] Production.INFO: 48.25 MB #Memory Used# [2025-03-20 14:26:01] Production.INFO: ==12082== Lock acquired, processing the job... [2025-03-20 14:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:26:01] Production.INFO: neon service started [2025-03-20 14:26:01] Production.INFO: neon service started [2025-03-20 14:26:01] Production.INFO: ==12082== Releasing lock... [2025-03-20 14:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:26:02] Production.INFO: ==12084== Lock acquired, processing the job... [2025-03-20 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:26:02] Production.INFO: ==12086== Lock acquired, processing the job... [2025-03-20 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:26:02] Production.INFO: ==12086== Releasing lock... [2025-03-20 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:26:02] Production.INFO: ==12084== Releasing lock... [2025-03-20 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:26:03] Production.INFO: ==12093== Lock acquired, processing the job... [2025-03-20 10:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:26:03] Production.INFO: ==12099== Lock acquired, processing the job... [2025-03-20 10:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:26:03] Production.INFO: count ==12 [2025-03-20 10:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:26:03] Production.INFO: count ==23 [2025-03-20 10:26:03] Production.INFO: ==12091== Lock acquired, processing the job... [2025-03-20 10:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:26:03] Production.INFO: ==12089== Lock acquired, processing the job... [2025-03-20 10:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722214') start [2025-03-20 10:26:03] Production.INFO: ==12095== Lock acquired, processing the job... [2025-03-20 10:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:26:03] Production.INFO: ==12097== Lock acquired, processing the job... [2025-03-20 10:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722214') end [2025-03-20 10:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:26:03] Production.INFO: 1 [2025-03-20 10:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:26:03] Production.INFO: ==12099== Releasing lock... [2025-03-20 10:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:26:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:26:03] Production.INFO: Account Balance Start. [2025-03-20 10:26:03] Production.INFO: CreateAllLog Start [2025-03-20 10:26:03] Production.INFO: 117 [2025-03-20 10:26:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.INFO: ==12091== Releasing lock... [2025-03-20 10:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.ERROR: done [2025-03-20 10:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.ERROR: done [2025-03-20 10:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:26:04] Production.INFO: Total Charge 0 [2025-03-20 10:26:04] Production.INFO: CreateAllLog End [2025-03-20 10:26:04] Production.INFO: Account Balance End. [2025-03-20 10:26:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:26:04] Production.INFO: ==12095== Releasing lock... [2025-03-20 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:26:05 [end_date_ymd] => 2025-03-20 10:26:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:26:05' and `end` < '2025-03-20 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-03-20 10:26:11] Production.ERROR: CronJobId end10 [2025-03-20 10:26:11] Production.INFO: ==12093== Releasing lock... [2025-03-20 10:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:26:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:26:15] Production.INFO: call_cost start [2025-03-20 10:26:15] Production.INFO: call_cost end [2025-03-20 10:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:26:16] Production.INFO: ==12089== Releasing lock... [2025-03-20 10:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:26:18] Production.INFO: count ==2698 [2025-03-20 10:26:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:26:05 - End Time 2025-03-20 10:26:05 [2025-03-20 10:26:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722218', 'tblTempUsageDetail_20' ) start [2025-03-20 10:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722218', 'tblTempUsageDetail_20' ) end [2025-03-20 10:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722218', 'tblTempVendorCDR_20' ) start [2025-03-20 10:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722218', 'tblTempVendorCDR_20' ) end [2025-03-20 10:26:19] Production.INFO: ProcessCDR(1,14722218,1,1,2) [2025-03-20 10:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722218', 'tblTempUsageDetail_20' ) start [2025-03-20 10:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722218', 'tblTempUsageDetail_20' ) end [2025-03-20 10:26:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:26:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:26:25] Production.INFO: ==12097== Releasing lock... [2025-03-20 10:26:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:26:25] Production.INFO: 48.25 MB #Memory Used# [2025-03-20 14:27:01] Production.INFO: ==12192== Lock acquired, processing the job... [2025-03-20 14:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:27:01] Production.INFO: neon service started [2025-03-20 14:27:01] Production.INFO: neon service started [2025-03-20 14:27:01] Production.INFO: ==12192== Releasing lock... [2025-03-20 14:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:27:02] Production.INFO: ==12194== Lock acquired, processing the job... [2025-03-20 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:27:02] Production.INFO: ==12196== Lock acquired, processing the job... [2025-03-20 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:27:02] Production.INFO: ==12196== Releasing lock... [2025-03-20 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:27:03] Production.INFO: ==12194== Releasing lock... [2025-03-20 10:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:27:03] Production.INFO: ==12199== Lock acquired, processing the job... [2025-03-20 10:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:27:03] Production.INFO: ==12203== Lock acquired, processing the job... [2025-03-20 10:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:27:04] Production.INFO: ==12201== Lock acquired, processing the job... [2025-03-20 10:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:27:04] Production.INFO: ==12207== Lock acquired, processing the job... [2025-03-20 10:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:27:04] Production.INFO: ==12205== Lock acquired, processing the job... [2025-03-20 10:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:27:04] Production.INFO: ==12209== Lock acquired, processing the job... [2025-03-20 10:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:27:04] Production.INFO: Account Balance Start. [2025-03-20 10:27:04] Production.INFO: CreateAllLog Start [2025-03-20 10:27:04] Production.INFO: 117 [2025-03-20 10:27:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:04] Production.ERROR: done [2025-03-20 10:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:27:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:04] Production.INFO: ==12201== Releasing lock... [2025-03-20 10:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:27:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:04] Production.INFO: count ==12 [2025-03-20 10:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:27:04] Production.INFO: count ==23 [2025-03-20 10:27:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722222') start [2025-03-20 10:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:04] Production.ERROR: done [2025-03-20 10:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722222') end [2025-03-20 10:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:27:04] Production.INFO: 1 [2025-03-20 10:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:04] Production.INFO: ==12209== Releasing lock... [2025-03-20 10:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:05] Production.INFO: Date 2025-03-18 [2025-03-20 10:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:27:05] Production.INFO: Total Charge 0 [2025-03-20 10:27:05] Production.INFO: CreateAllLog End [2025-03-20 10:27:05] Production.INFO: Account Balance End. [2025-03-20 10:27:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:27:05] Production.INFO: ==12205== Releasing lock... [2025-03-20 10:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:27:05 [end_date_ymd] => 2025-03-20 10:27:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:27:05' and `end` < '2025-03-20 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-03-20 10:27:13] Production.ERROR: CronJobId end10 [2025-03-20 10:27:13] Production.INFO: ==12203== Releasing lock... [2025-03-20 10:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:27:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:27:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:27:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:27:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:27:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:27:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:27:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:27:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:27:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:27:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:27:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:27:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:27:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:27:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:27:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:27:15] Production.INFO: call_cost start [2025-03-20 10:27:15] Production.INFO: call_cost end [2025-03-20 10:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:27:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:27:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:27:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:27:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:27:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:27:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:27:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:27:16] Production.INFO: ==12199== Releasing lock... [2025-03-20 10:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:27:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:27:18] Production.INFO: count ==2712 [2025-03-20 10:27:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:27:05 - End Time 2025-03-20 10:27:05 [2025-03-20 10:27:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722223', 'tblTempUsageDetail_20' ) start [2025-03-20 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722223', 'tblTempUsageDetail_20' ) end [2025-03-20 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722223', 'tblTempVendorCDR_20' ) start [2025-03-20 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722223', 'tblTempVendorCDR_20' ) end [2025-03-20 10:27:19] Production.INFO: ProcessCDR(1,14722223,1,1,2) [2025-03-20 10:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:27:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:27:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722223', 'tblTempUsageDetail_20' ) start [2025-03-20 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722223', 'tblTempUsageDetail_20' ) end [2025-03-20 10:27:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:27:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:27:24] Production.INFO: ==12207== Releasing lock... [2025-03-20 10:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:27:24] Production.INFO: 48.5 MB #Memory Used# [2025-03-20 14:28:02] Production.INFO: ==12292== Lock acquired, processing the job... [2025-03-20 14:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:28:02] Production.INFO: neon service started [2025-03-20 14:28:02] Production.INFO: neon service started [2025-03-20 14:28:02] Production.INFO: ==12292== Releasing lock... [2025-03-20 14:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:28:02] Production.INFO: ==12294== Lock acquired, processing the job... [2025-03-20 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:28:03] Production.INFO: ==12296== Lock acquired, processing the job... [2025-03-20 14:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:28:03] Production.INFO: ==12294== Releasing lock... [2025-03-20 10:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:28:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:28:03] Production.INFO: ==12296== Releasing lock... [2025-03-20 14:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:28:04] Production.INFO: ==12299== Lock acquired, processing the job... [2025-03-20 10:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:28:04] Production.INFO: ==12305== Lock acquired, processing the job... [2025-03-20 10:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:28:04] Production.INFO: ==12307== Lock acquired, processing the job... [2025-03-20 10:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:28:04] Production.INFO: ==12303== Lock acquired, processing the job... [2025-03-20 10:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:28:04] Production.INFO: ==12301== Lock acquired, processing the job... [2025-03-20 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:28:04] Production.INFO: Account Balance Start. [2025-03-20 10:28:04] Production.INFO: CreateAllLog Start [2025-03-20 10:28:04] Production.INFO: 117 [2025-03-20 10:28:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:04] Production.INFO: ==12309== Lock acquired, processing the job... [2025-03-20 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:04] Production.ERROR: done [2025-03-20 10:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:04] Production.INFO: ==12301== Releasing lock... [2025-03-20 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 10:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:28:04] Production.INFO: count ==23 [2025-03-20 10:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722227') start [2025-03-20 10:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:04] Production.ERROR: done [2025-03-20 10:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:05] Production.INFO: Date 2025-03-16 [2025-03-20 10:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:05] Production.INFO: Date 2025-03-17 [2025-03-20 10:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722227') end [2025-03-20 10:28:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:28:05] Production.INFO: 1 [2025-03-20 10:28:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:28:05] Production.INFO: Date 2025-03-18 [2025-03-20 10:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:28:05] Production.INFO: ==12309== Releasing lock... [2025-03-20 10:28:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:28:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:28:05] Production.INFO: Total Charge 0 [2025-03-20 10:28:05] Production.INFO: CreateAllLog End [2025-03-20 10:28:05] Production.INFO: Account Balance End. [2025-03-20 10:28:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:28:05] Production.INFO: ==12305== Releasing lock... [2025-03-20 10:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:28:05 [end_date_ymd] => 2025-03-20 10:28:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:28:05' and `end` < '2025-03-20 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-03-20 10:28:13] Production.ERROR: CronJobId end10 [2025-03-20 10:28:13] Production.INFO: ==12303== Releasing lock... [2025-03-20 10:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:28:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:28:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:28:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:28:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:28:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:28:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:28:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:28:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:28:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:28:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:28:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:28:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:28:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:28:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:28:16] Production.INFO: call_cost start [2025-03-20 10:28:16] Production.INFO: call_cost end [2025-03-20 10:28:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:28:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:28:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:28:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:28:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:28:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:28:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:28:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:28:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:28:17] Production.INFO: ==12299== Releasing lock... [2025-03-20 10:28:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:28:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:28:18] Production.INFO: count ==2727 [2025-03-20 10:28:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:28:05 - End Time 2025-03-20 10:28:05 [2025-03-20 10:28:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722228', 'tblTempUsageDetail_20' ) start [2025-03-20 10:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722228', 'tblTempUsageDetail_20' ) end [2025-03-20 10:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722228', 'tblTempVendorCDR_20' ) start [2025-03-20 10:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722228', 'tblTempVendorCDR_20' ) end [2025-03-20 10:28:20] Production.INFO: ProcessCDR(1,14722228,1,1,2) [2025-03-20 10:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:28:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:28:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722228', 'tblTempUsageDetail_20' ) start [2025-03-20 10:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722228', 'tblTempUsageDetail_20' ) end [2025-03-20 10:28:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:28:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:28:24] Production.INFO: ==12307== Releasing lock... [2025-03-20 10:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:28:24] Production.INFO: 48.5 MB #Memory Used# [2025-03-20 14:29:02] Production.INFO: ==12394== Lock acquired, processing the job... [2025-03-20 14:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:29:02] Production.INFO: neon service started [2025-03-20 14:29:02] Production.INFO: neon service started [2025-03-20 14:29:02] Production.INFO: ==12394== Releasing lock... [2025-03-20 14:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:29:02] Production.INFO: ==12396== Lock acquired, processing the job... [2025-03-20 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:29:02] Production.INFO: ==12396== Releasing lock... [2025-03-20 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:29:02] Production.INFO: ==12398== Lock acquired, processing the job... [2025-03-20 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:29:02] Production.INFO: ==12398== Releasing lock... [2025-03-20 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:29:03] Production.INFO: ==12401== Lock acquired, processing the job... [2025-03-20 10:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:29:03] Production.INFO: ==12403== Lock acquired, processing the job... [2025-03-20 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:29:03] Production.INFO: ==12405== Lock acquired, processing the job... [2025-03-20 10:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:29:03] Production.INFO: ==12407== Lock acquired, processing the job... [2025-03-20 10:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:29:03] Production.INFO: ==12409== Lock acquired, processing the job... [2025-03-20 10:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:29:03] Production.INFO: ==12411== Lock acquired, processing the job... [2025-03-20 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:29:04] Production.INFO: Account Balance Start. [2025-03-20 10:29:04] Production.INFO: CreateAllLog Start [2025-03-20 10:29:04] Production.INFO: 117 [2025-03-20 10:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:29:04] Production.INFO: ==12403== Releasing lock... [2025-03-20 10:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:29:04] Production.INFO: count ==12 [2025-03-20 10:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:29:04] Production.INFO: count ==23 [2025-03-20 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722232') start [2025-03-20 10:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722232') end [2025-03-20 10:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:29:04] Production.INFO: 1 [2025-03-20 10:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:29:04] Production.ERROR: done [2025-03-20 10:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:29:04] Production.INFO: ==12411== Releasing lock... [2025-03-20 10:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:29:04] Production.ERROR: done [2025-03-20 10:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:29:04] Production.INFO: Total Charge 0 [2025-03-20 10:29:04] Production.INFO: CreateAllLog End [2025-03-20 10:29:05] Production.INFO: Account Balance End. [2025-03-20 10:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:29:05] Production.INFO: ==12407== Releasing lock... [2025-03-20 10:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:29:05 [end_date_ymd] => 2025-03-20 10:29:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:29:05' and `end` < '2025-03-20 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-03-20 10:29:14] Production.ERROR: CronJobId end10 [2025-03-20 10:29:14] Production.INFO: ==12405== Releasing lock... [2025-03-20 10:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:29:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:29:15] Production.INFO: call_cost start [2025-03-20 10:29:15] Production.INFO: call_cost end [2025-03-20 10:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:29:16] Production.INFO: ==12401== Releasing lock... [2025-03-20 10:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:29:18] Production.INFO: count ==2747 [2025-03-20 10:29:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:29:05 - End Time 2025-03-20 10:29:05 [2025-03-20 10:29:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722233', 'tblTempUsageDetail_20' ) start [2025-03-20 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722233', 'tblTempUsageDetail_20' ) end [2025-03-20 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722233', 'tblTempVendorCDR_20' ) start [2025-03-20 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722233', 'tblTempVendorCDR_20' ) end [2025-03-20 10:29:19] Production.INFO: ProcessCDR(1,14722233,1,1,2) [2025-03-20 10:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722233', 'tblTempUsageDetail_20' ) start [2025-03-20 10:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722233', 'tblTempUsageDetail_20' ) end [2025-03-20 10:29:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:29:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:29:24] Production.INFO: ==12409== Releasing lock... [2025-03-20 10:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:29:24] Production.INFO: 48.5 MB #Memory Used# [2025-03-20 14:30:01] Production.INFO: ==12530== Lock acquired, processing the job... [2025-03-20 14:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:30:01] Production.INFO: neon service started [2025-03-20 14:30:01] Production.INFO: neon service started [2025-03-20 14:30:01] Production.INFO: ==12530== Releasing lock... [2025-03-20 14:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:30:01] Production.INFO: ==12533== Lock acquired, processing the job... [2025-03-20 10:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:30:02] Production.INFO: ==12533== Releasing lock... [2025-03-20 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:30:02] Production.INFO: ==12535== Lock acquired, processing the job... [2025-03-20 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:30:02] Production.INFO: ==12535== Releasing lock... [2025-03-20 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:30:03] Production.INFO: ==12539== Lock acquired, processing the job... [2025-03-20 10:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:30:03] Production.INFO: ==12537== Lock acquired, processing the job... [2025-03-20 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 10:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:30:03] Production.INFO: ==12547== Lock acquired, processing the job... [2025-03-20 10:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 10:30:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 10:30:03] Production.ERROR: CronJob PID - 12539 [2025-03-20 10:30:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 10:30:03] Production.ERROR: CronJob ID - 5 [2025-03-20 10:30:03] Production.ERROR: CronJob Last Run Time 2025-03-20 10:30:00 [2025-03-20 10:30:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 10:30:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 10:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 10:30:03] Production.INFO: ==12537== Releasing lock... [2025-03-20 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 10:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 10:30:03] Production.INFO: ==12551== Lock acquired, processing the job... [2025-03-20 10:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:30:03] Production.INFO: ==12541== Lock acquired, processing the job... [2025-03-20 10:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10: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-03-20 10:30:03] Production.INFO: ==12543== Lock acquired, processing the job... [2025-03-20 10:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:30:03] Production.INFO: count ==12 [2025-03-20 10:30:03] Production.INFO: ==12545== Lock acquired, processing the job... [2025-03-20 10:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10: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-03-20 10:30:03] Production.INFO: count ==23 [2025-03-20 10:30:03] Production.INFO: ==12549== Lock acquired, processing the job... [2025-03-20 10:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 10:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722235') start [2025-03-20 10:30:03] Production.INFO: Account Balance Start. [2025-03-20 10:30:03] Production.INFO: CreateAllLog Start [2025-03-20 10:30:03] Production.INFO: 117 [2025-03-20 10:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:30:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:30:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722235') end [2025-03-20 10:30:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:30:03] Production.INFO: 1 [2025-03-20 10:30:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.ERROR: done [2025-03-20 10:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.INFO: ==12551== Releasing lock... [2025-03-20 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.ERROR: done [2025-03-20 10:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.ERROR: done [2025-03-20 10:30:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.INFO: ==12541== Releasing lock... [2025-03-20 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 10:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722239', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 10:30:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:30:04] Production.INFO: Total Charge 0 [2025-03-20 10:30:04] Production.INFO: CreateAllLog End [2025-03-20 10:30:04] Production.INFO: Account Balance End. [2025-03-20 10:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:30:05] Production.INFO: ==12545== Releasing lock... [2025-03-20 10:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:30:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:30:05 [end_date_ymd] => 2025-03-20 10:30:05 [RateCDR] => 1 ) [2025-03-20 10:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:30:05' and `end` < '2025-03-20 10:30:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722239', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 10:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 10:30:09] Production.INFO: ProcessCDR(1,14722239,1,1,2) [2025-03-20 10:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722239,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722239,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:30:09] Production.INFO: ==12549== Releasing lock... [2025-03-20 10:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 10:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 10:30:14] Production.ERROR: CronJobId end10 [2025-03-20 10:30:14] Production.INFO: ==12543== Releasing lock... [2025-03-20 10:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:30:16] Production.INFO: call_cost start [2025-03-20 10:30:16] Production.INFO: call_cost end [2025-03-20 10:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:30:17] Production.INFO: ==12539== Releasing lock... [2025-03-20 10:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:30:18] Production.INFO: count ==2763 [2025-03-20 10:30:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:30:05 - End Time 2025-03-20 10:30:05 [2025-03-20 10:30:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722238', 'tblTempUsageDetail_20' ) start [2025-03-20 10:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722238', 'tblTempUsageDetail_20' ) end [2025-03-20 10:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722238', 'tblTempVendorCDR_20' ) start [2025-03-20 10:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722238', 'tblTempVendorCDR_20' ) end [2025-03-20 10:30:19] Production.INFO: ProcessCDR(1,14722238,1,1,2) [2025-03-20 10:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722238', 'tblTempUsageDetail_20' ) start [2025-03-20 10:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722238', 'tblTempUsageDetail_20' ) end [2025-03-20 10:30:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:30:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:30:24] Production.INFO: ==12547== Releasing lock... [2025-03-20 10:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:30:24] Production.INFO: 48.75 MB #Memory Used# [2025-03-20 14:31:01] Production.INFO: ==12640== Lock acquired, processing the job... [2025-03-20 14:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:31:01] Production.INFO: neon service started [2025-03-20 14:31:01] Production.INFO: neon service started [2025-03-20 14:31:01] Production.INFO: ==12640== Releasing lock... [2025-03-20 14:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:31:02] Production.INFO: ==12644== Lock acquired, processing the job... [2025-03-20 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:31:02] Production.INFO: ==12644== Releasing lock... [2025-03-20 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:31:02] Production.INFO: ==12642== Lock acquired, processing the job... [2025-03-20 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:31:02] Production.INFO: ==12642== Releasing lock... [2025-03-20 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:31:03] Production.INFO: ==12647== Lock acquired, processing the job... [2025-03-20 10:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:31:03] Production.INFO: ==12649== Lock acquired, processing the job... [2025-03-20 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:31:03] Production.INFO: ==12653== Lock acquired, processing the job... [2025-03-20 10:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:31:03] Production.INFO: Account Balance Start. [2025-03-20 10:31:03] Production.INFO: CreateAllLog Start [2025-03-20 10:31:03] Production.INFO: 117 [2025-03-20 10:31:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:31:03] Production.INFO: ==12651== Lock acquired, processing the job... [2025-03-20 10:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:03] Production.INFO: Date 2025-03-11 [2025-03-20 10:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:31:03] Production.INFO: ==12655== Lock acquired, processing the job... [2025-03-20 10:31:03] Production.INFO: Date 2025-03-12 [2025-03-20 10:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:03] Production.INFO: Date 2025-03-13 [2025-03-20 10:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:04] Production.INFO: ==12649== Releasing lock... [2025-03-20 10:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:31:04] Production.INFO: ==12657== Lock acquired, processing the job... [2025-03-20 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:31:04] Production.INFO: count ==12 [2025-03-20 10:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:04] Production.INFO: count ==23 [2025-03-20 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722243') start [2025-03-20 10:31:04] Production.ERROR: done [2025-03-20 10:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722243') end [2025-03-20 10:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:31:04] Production.INFO: 1 [2025-03-20 10:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:31:04] Production.INFO: ==12657== Releasing lock... [2025-03-20 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:31:04] Production.ERROR: done [2025-03-20 10:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:31:04] Production.INFO: Total Charge 0 [2025-03-20 10:31:04] Production.INFO: CreateAllLog End [2025-03-20 10:31:05] Production.INFO: Account Balance End. [2025-03-20 10:31:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:31:05] Production.INFO: ==12653== Releasing lock... [2025-03-20 10:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:31:05 [end_date_ymd] => 2025-03-20 10:31:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:31:05' and `end` < '2025-03-20 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-03-20 10:31:13] Production.ERROR: CronJobId end10 [2025-03-20 10:31:13] Production.INFO: ==12651== Releasing lock... [2025-03-20 10:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:31:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:31:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:31:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:31:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:31:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:31:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:31:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:31:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:31:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:31:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:31:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:31:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:31:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:31:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:31:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:31:16] Production.INFO: call_cost start [2025-03-20 10:31:16] Production.INFO: call_cost end [2025-03-20 10:31:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:31:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:31:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:31:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:31:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:31:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:31:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:31:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:31:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:31:17] Production.INFO: ==12647== Releasing lock... [2025-03-20 10:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:31:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:31:18] Production.INFO: count ==2872 [2025-03-20 10:31:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:31:05 - End Time 2025-03-20 10:31:05 [2025-03-20 10:31:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722244', 'tblTempUsageDetail_20' ) start [2025-03-20 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722244', 'tblTempUsageDetail_20' ) end [2025-03-20 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722244', 'tblTempVendorCDR_20' ) start [2025-03-20 10:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722244', 'tblTempVendorCDR_20' ) end [2025-03-20 10:31:19] Production.INFO: ProcessCDR(1,14722244,1,1,2) [2025-03-20 10:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:31:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722244,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:31:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:31:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722244,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722244', 'tblTempUsageDetail_20' ) start [2025-03-20 10:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722244', 'tblTempUsageDetail_20' ) end [2025-03-20 10:31:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:31:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:31:24] Production.INFO: ==12655== Releasing lock... [2025-03-20 10:31:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:31:24] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 14:32:02] Production.INFO: ==12752== Lock acquired, processing the job... [2025-03-20 14:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:32:02] Production.INFO: neon service started [2025-03-20 14:32:02] Production.INFO: neon service started [2025-03-20 14:32:02] Production.INFO: ==12752== Releasing lock... [2025-03-20 14:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:32:03] Production.INFO: ==12754== Lock acquired, processing the job... [2025-03-20 10:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:32:03] Production.INFO: ==12756== Lock acquired, processing the job... [2025-03-20 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:32:03] Production.INFO: ==12756== Releasing lock... [2025-03-20 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:32:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:32:03] Production.INFO: ==12754== Releasing lock... [2025-03-20 10:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:32:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:32:04] Production.INFO: ==12759== Lock acquired, processing the job... [2025-03-20 10:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:32:04] Production.INFO: ==12761== Lock acquired, processing the job... [2025-03-20 10:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:32:04] Production.INFO: ==12765== Lock acquired, processing the job... [2025-03-20 10:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:32:04] Production.INFO: ==12763== Lock acquired, processing the job... [2025-03-20 10:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:32:04] Production.INFO: ==12767== Lock acquired, processing the job... [2025-03-20 10:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:32:04] Production.INFO: Account Balance Start. [2025-03-20 10:32:04] Production.INFO: CreateAllLog Start [2025-03-20 10:32:04] Production.INFO: 117 [2025-03-20 10:32:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:04] Production.INFO: ==12769== Lock acquired, processing the job... [2025-03-20 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:32:04] Production.INFO: ==12761== Releasing lock... [2025-03-20 10:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:32:05] Production.INFO: Date 2025-03-10 [2025-03-20 10:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:32:05] Production.INFO: Date 2025-03-11 [2025-03-20 10:32:05] Production.INFO: count ==12 [2025-03-20 10:32:05] Production.ERROR: done [2025-03-20 10:32:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:32:05] Production.INFO: count ==23 [2025-03-20 10:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722248') start [2025-03-20 10:32:05] Production.INFO: Date 2025-03-12 [2025-03-20 10:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:05] Production.ERROR: done [2025-03-20 10:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722248') end [2025-03-20 10:32:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:32:05] Production.INFO: 1 [2025-03-20 10:32:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:32:05] Production.INFO: ==12769== Releasing lock... [2025-03-20 10:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:32:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:32:05] Production.INFO: Date 2025-03-13 [2025-03-20 10:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:05] Production.INFO: Date 2025-03-14 [2025-03-20 10:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:05] Production.INFO: Date 2025-03-15 [2025-03-20 10:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:05] Production.INFO: Date 2025-03-16 [2025-03-20 10:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:05] Production.INFO: Date 2025-03-17 [2025-03-20 10:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:06] Production.INFO: Date 2025-03-18 [2025-03-20 10:32:06] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:06] Production.INFO: Date 2025-03-19 [2025-03-20 10:32:06] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:06] Production.INFO: Date 2025-03-20 [2025-03-20 10:32:06] Production.INFO: Reseller ==> 0 [2025-03-20 10:32:06] Production.INFO: Total Charge 0 [2025-03-20 10:32:06] Production.INFO: CreateAllLog End [2025-03-20 10:32:06] Production.INFO: Account Balance End. [2025-03-20 10:32:06] Production.ERROR: CronJobId end 12 [2025-03-20 10:32:06] Production.INFO: ==12765== Releasing lock... [2025-03-20 10:32:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:32:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:32:06 [end_date_ymd] => 2025-03-20 10:32:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:32:06' and `end` < '2025-03-20 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-03-20 10:32:14] Production.ERROR: CronJobId end10 [2025-03-20 10:32:14] Production.INFO: ==12763== Releasing lock... [2025-03-20 10:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:32:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:32:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:32:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:32:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:32:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:32:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:32:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:32:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:32:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:32:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:32:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:32:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:32:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:32:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:32:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:32:17] Production.INFO: call_cost start [2025-03-20 10:32:17] Production.INFO: call_cost end [2025-03-20 10:32:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:32:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:32:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:32:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:32:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:32:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:32:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:32:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:32:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:32:18] Production.INFO: ==12759== Releasing lock... [2025-03-20 10:32:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:32:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:32:19] Production.INFO: count ==2878 [2025-03-20 10:32:21] Production.ERROR: pbx CDR StartTime 2025-03-20 07:32:06 - End Time 2025-03-20 10:32:06 [2025-03-20 10:32:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722249', 'tblTempUsageDetail_20' ) start [2025-03-20 10:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722249', 'tblTempUsageDetail_20' ) end [2025-03-20 10:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722249', 'tblTempVendorCDR_20' ) start [2025-03-20 10:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722249', 'tblTempVendorCDR_20' ) end [2025-03-20 10:32:21] Production.INFO: ProcessCDR(1,14722249,1,1,2) [2025-03-20 10:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722249,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:32:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722249,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722249', 'tblTempUsageDetail_20' ) start [2025-03-20 10:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722249', 'tblTempUsageDetail_20' ) end [2025-03-20 10:32:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:32:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:32:26] Production.INFO: ==12767== Releasing lock... [2025-03-20 10:32:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:32:26] Production.INFO: 50.25 MB #Memory Used# [2025-03-20 14:33:01] Production.INFO: ==12853== Lock acquired, processing the job... [2025-03-20 14:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:33:01] Production.INFO: neon service started [2025-03-20 14:33:01] Production.INFO: neon service started [2025-03-20 14:33:01] Production.INFO: ==12853== Releasing lock... [2025-03-20 14:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:33:02] Production.INFO: ==12856== Lock acquired, processing the job... [2025-03-20 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:33:02] Production.INFO: ==12856== Releasing lock... [2025-03-20 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:33:02] Production.INFO: ==12858== Lock acquired, processing the job... [2025-03-20 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:33:02] Production.INFO: ==12858== Releasing lock... [2025-03-20 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:33:03] Production.INFO: ==12860== Lock acquired, processing the job... [2025-03-20 10:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:33:03] Production.INFO: ==12862== Lock acquired, processing the job... [2025-03-20 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:33:03] Production.INFO: ==12864== Lock acquired, processing the job... [2025-03-20 10:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:33:03] Production.INFO: ==12862== Releasing lock... [2025-03-20 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:33:03] Production.INFO: ==12866== Lock acquired, processing the job... [2025-03-20 10:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:33:03] Production.INFO: ==12868== Lock acquired, processing the job... [2025-03-20 10:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:33:03] Production.INFO: ==12870== Lock acquired, processing the job... [2025-03-20 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:33:03] Production.INFO: Account Balance Start. [2025-03-20 10:33:03] Production.INFO: CreateAllLog Start [2025-03-20 10:33:03] Production.INFO: 117 [2025-03-20 10:33:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:33:04] Production.INFO: count ==12 [2025-03-20 10:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:33:04] Production.INFO: count ==23 [2025-03-20 10:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722253') start [2025-03-20 10:33:04] Production.ERROR: done [2025-03-20 10:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722253') end [2025-03-20 10:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:33:04] Production.INFO: 1 [2025-03-20 10:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.ERROR: done [2025-03-20 10:33:04] Production.INFO: ==12870== Releasing lock... [2025-03-20 10:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:33:04] Production.INFO: Total Charge 0 [2025-03-20 10:33:04] Production.INFO: CreateAllLog End [2025-03-20 10:33:04] Production.INFO: Account Balance End. [2025-03-20 10:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:33:04] Production.INFO: ==12866== Releasing lock... [2025-03-20 10:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:33:05 [end_date_ymd] => 2025-03-20 10:33:05 [RateCDR] => 1 ) [2025-03-20 10:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:33:05' and `end` < '2025-03-20 10:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:33:13] Production.ERROR: CronJobId end10 [2025-03-20 10:33:13] Production.INFO: ==12864== Releasing lock... [2025-03-20 10:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:33:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:33:15] Production.INFO: call_cost start [2025-03-20 10:33:15] Production.INFO: call_cost end [2025-03-20 10:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:33:16] Production.INFO: ==12860== Releasing lock... [2025-03-20 10:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:33:18] Production.INFO: count ==2882 [2025-03-20 10:33:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:33:05 - End Time 2025-03-20 10:33:05 [2025-03-20 10:33:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722254', 'tblTempUsageDetail_20' ) start [2025-03-20 10:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722254', 'tblTempUsageDetail_20' ) end [2025-03-20 10:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722254', 'tblTempVendorCDR_20' ) start [2025-03-20 10:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722254', 'tblTempVendorCDR_20' ) end [2025-03-20 10:33:19] Production.INFO: ProcessCDR(1,14722254,1,1,2) [2025-03-20 10:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:33:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722254,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:33:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:33:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722254,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722254', 'tblTempUsageDetail_20' ) start [2025-03-20 10:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722254', 'tblTempUsageDetail_20' ) end [2025-03-20 10:33:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:33:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:33:25] Production.INFO: ==12868== Releasing lock... [2025-03-20 10:33:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:33:25] Production.INFO: 50.25 MB #Memory Used# [2025-03-20 14:34:02] Production.INFO: ==12963== Lock acquired, processing the job... [2025-03-20 14:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:34:02] Production.INFO: neon service started [2025-03-20 14:34:02] Production.INFO: neon service started [2025-03-20 14:34:02] Production.INFO: ==12963== Releasing lock... [2025-03-20 14:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:34:02] Production.INFO: ==12966== Lock acquired, processing the job... [2025-03-20 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:34:02] Production.INFO: ==12966== Releasing lock... [2025-03-20 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:34:03] Production.INFO: ==12968== Lock acquired, processing the job... [2025-03-20 14:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:34:03] Production.INFO: ==12968== Releasing lock... [2025-03-20 14:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:34:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:34:03] Production.INFO: ==12980== Lock acquired, processing the job... [2025-03-20 10:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:34:03] Production.INFO: ==12978== Lock acquired, processing the job... [2025-03-20 10:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:34:04] Production.INFO: ==12972== Lock acquired, processing the job... [2025-03-20 10:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:34:04] Production.INFO: ==12974== Lock acquired, processing the job... [2025-03-20 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:34:04] Production.INFO: Account Balance Start. [2025-03-20 10:34:04] Production.INFO: CreateAllLog Start [2025-03-20 10:34:04] Production.INFO: ==12976== Lock acquired, processing the job... [2025-03-20 10:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:34:04] Production.INFO: 117 [2025-03-20 10:34:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:04] Production.INFO: ==12982== Lock acquired, processing the job... [2025-03-20 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:34:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:04] Production.ERROR: done [2025-03-20 10:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 10:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:34:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:04] Production.INFO: count ==23 [2025-03-20 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722257') start [2025-03-20 10:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:04] Production.ERROR: done [2025-03-20 10:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722257') end [2025-03-20 10:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:34:04] Production.INFO: 1 [2025-03-20 10:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:04] Production.INFO: ==12974== Releasing lock... [2025-03-20 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:34:04] Production.INFO: ==12982== Releasing lock... [2025-03-20 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:05] Production.INFO: Date 2025-03-16 [2025-03-20 10:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:05] Production.INFO: Date 2025-03-17 [2025-03-20 10:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:05] Production.INFO: Date 2025-03-18 [2025-03-20 10:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:34:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:34:05] Production.INFO: Total Charge 0 [2025-03-20 10:34:05] Production.INFO: CreateAllLog End [2025-03-20 10:34:05] Production.INFO: Account Balance End. [2025-03-20 10:34:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:34:05] Production.INFO: ==12978== Releasing lock... [2025-03-20 10:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:34:05 [end_date_ymd] => 2025-03-20 10:34:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:34:05' and `end` < '2025-03-20 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-03-20 10:34:12] Production.ERROR: CronJobId end10 [2025-03-20 10:34:12] Production.INFO: ==12976== Releasing lock... [2025-03-20 10:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:34:15] Production.INFO: call_cost start [2025-03-20 10:34:15] Production.INFO: call_cost end [2025-03-20 10:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:34:16] Production.INFO: ==12972== Releasing lock... [2025-03-20 10:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:34:18] Production.INFO: count ==2885 [2025-03-20 10:34:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:34:05 - End Time 2025-03-20 10:34:05 [2025-03-20 10:34:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722259', 'tblTempUsageDetail_20' ) start [2025-03-20 10:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722259', 'tblTempUsageDetail_20' ) end [2025-03-20 10:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722259', 'tblTempVendorCDR_20' ) start [2025-03-20 10:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722259', 'tblTempVendorCDR_20' ) end [2025-03-20 10:34:20] Production.INFO: ProcessCDR(1,14722259,1,1,2) [2025-03-20 10:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722259,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722259,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722259', 'tblTempUsageDetail_20' ) start [2025-03-20 10:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722259', 'tblTempUsageDetail_20' ) end [2025-03-20 10:34:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:34:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:34:24] Production.INFO: ==12980== Releasing lock... [2025-03-20 10:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:34:24] Production.INFO: 50.25 MB #Memory Used# [2025-03-20 14:35:01] Production.INFO: ==13062== Lock acquired, processing the job... [2025-03-20 14:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:35:01] Production.INFO: neon service started [2025-03-20 14:35:01] Production.INFO: neon service started [2025-03-20 14:35:01] Production.INFO: ==13062== Releasing lock... [2025-03-20 14:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:35:02] Production.INFO: ==13064== Lock acquired, processing the job... [2025-03-20 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:35:02] Production.INFO: ==13066== Lock acquired, processing the job... [2025-03-20 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:35:02] Production.INFO: ==13066== Releasing lock... [2025-03-20 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:35:02] Production.INFO: ==13064== Releasing lock... [2025-03-20 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:35:03] Production.INFO: ==13068== Lock acquired, processing the job... [2025-03-20 10:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:35:03] Production.INFO: ==13072== Lock acquired, processing the job... [2025-03-20 10:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:35:03] Production.INFO: ==13070== Lock acquired, processing the job... [2025-03-20 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:35:03] Production.INFO: ==13075== Lock acquired, processing the job... [2025-03-20 10:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:35:03] Production.INFO: ==13077== Lock acquired, processing the job... [2025-03-20 10:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:35:03] Production.INFO: Account Balance Start. [2025-03-20 10:35:03] Production.INFO: CreateAllLog Start [2025-03-20 10:35:03] Production.INFO: 117 [2025-03-20 10:35:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:35:03] Production.INFO: ==13079== Lock acquired, processing the job... [2025-03-20 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.INFO: count ==12 [2025-03-20 10:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.INFO: count ==23 [2025-03-20 10:35:04] Production.INFO: ==13070== Releasing lock... [2025-03-20 10:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722263') start [2025-03-20 10:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.ERROR: done [2025-03-20 10:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722263') end [2025-03-20 10:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:35:04] Production.INFO: 1 [2025-03-20 10:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:35:04] Production.INFO: ==13079== Releasing lock... [2025-03-20 10:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:35:04] Production.ERROR: done [2025-03-20 10:35:04] Production.INFO: Total Charge 0 [2025-03-20 10:35:04] Production.INFO: CreateAllLog End [2025-03-20 10:35:04] Production.INFO: Account Balance End. [2025-03-20 10:35:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:35:04] Production.INFO: ==13075== Releasing lock... [2025-03-20 10:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:35:05 [end_date_ymd] => 2025-03-20 10:35:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:35:05' and `end` < '2025-03-20 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-03-20 10:35:11] Production.ERROR: CronJobId end10 [2025-03-20 10:35:11] Production.INFO: ==13072== Releasing lock... [2025-03-20 10:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:35:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:35:15] Production.INFO: call_cost start [2025-03-20 10:35:15] Production.INFO: call_cost end [2025-03-20 10:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:35:16] Production.INFO: ==13068== Releasing lock... [2025-03-20 10:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:35:18] Production.INFO: count ==2889 [2025-03-20 10:35:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:35:05 - End Time 2025-03-20 10:35:05 [2025-03-20 10:35:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722264', 'tblTempUsageDetail_20' ) start [2025-03-20 10:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722264', 'tblTempUsageDetail_20' ) end [2025-03-20 10:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722264', 'tblTempVendorCDR_20' ) start [2025-03-20 10:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722264', 'tblTempVendorCDR_20' ) end [2025-03-20 10:35:19] Production.INFO: ProcessCDR(1,14722264,1,1,2) [2025-03-20 10:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:35:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:35:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:35:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722264', 'tblTempUsageDetail_20' ) start [2025-03-20 10:35:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722264', 'tblTempUsageDetail_20' ) end [2025-03-20 10:35:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:35:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:35:25] Production.INFO: ==13077== Releasing lock... [2025-03-20 10:35:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:35:25] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 14:36:02] Production.INFO: ==13167== Lock acquired, processing the job... [2025-03-20 14:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:36:02] Production.INFO: neon service started [2025-03-20 14:36:02] Production.INFO: neon service started [2025-03-20 14:36:02] Production.INFO: ==13167== Releasing lock... [2025-03-20 14:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:36:02] Production.INFO: ==13169== Lock acquired, processing the job... [2025-03-20 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:36:02] Production.INFO: ==13171== Lock acquired, processing the job... [2025-03-20 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:36:02] Production.INFO: ==13169== Releasing lock... [2025-03-20 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:36:03] Production.INFO: ==13171== Releasing lock... [2025-03-20 14:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:36:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:36:03] Production.INFO: ==13181== Lock acquired, processing the job... [2025-03-20 10:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:36:03] Production.INFO: ==13183== Lock acquired, processing the job... [2025-03-20 10:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:36:03] Production.INFO: ==13175== Lock acquired, processing the job... [2025-03-20 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:36:03] Production.INFO: ==13173== Lock acquired, processing the job... [2025-03-20 10:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 10:36:04] Production.INFO: ==13179== Lock acquired, processing the job... [2025-03-20 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:36:04] Production.INFO: count ==12 [2025-03-20 10:36:04] Production.INFO: ==13177== Lock acquired, processing the job... [2025-03-20 10:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 10:36:04] Production.INFO: count ==23 [2025-03-20 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722265') start [2025-03-20 10:36:04] Production.INFO: Account Balance Start. [2025-03-20 10:36:04] Production.INFO: CreateAllLog Start [2025-03-20 10:36:04] Production.INFO: 117 [2025-03-20 10:36:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722265') end [2025-03-20 10:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:36:04] Production.INFO: 1 [2025-03-20 10:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.INFO: ==13183== Releasing lock... [2025-03-20 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.ERROR: done [2025-03-20 10:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.ERROR: done [2025-03-20 10:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.INFO: ==13175== Releasing lock... [2025-03-20 10:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:36:04] Production.INFO: Total Charge 0 [2025-03-20 10:36:04] Production.INFO: CreateAllLog End [2025-03-20 10:36:04] Production.INFO: Account Balance End. [2025-03-20 10:36:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:36:04] Production.INFO: ==13179== Releasing lock... [2025-03-20 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:36:05 [end_date_ymd] => 2025-03-20 10:36:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:36:05' and `end` < '2025-03-20 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-03-20 10:36:12] Production.ERROR: CronJobId end10 [2025-03-20 10:36:12] Production.INFO: ==13177== Releasing lock... [2025-03-20 10:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:36:15] Production.INFO: call_cost start [2025-03-20 10:36:15] Production.INFO: call_cost end [2025-03-20 10:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:36:16] Production.INFO: ==13173== Releasing lock... [2025-03-20 10:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:36:18] Production.INFO: count ==2910 [2025-03-20 10:36:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:36:05 - End Time 2025-03-20 10:36:05 [2025-03-20 10:36:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722269', 'tblTempUsageDetail_20' ) start [2025-03-20 10:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722269', 'tblTempUsageDetail_20' ) end [2025-03-20 10:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722269', 'tblTempVendorCDR_20' ) start [2025-03-20 10:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722269', 'tblTempVendorCDR_20' ) end [2025-03-20 10:36:19] Production.INFO: ProcessCDR(1,14722269,1,1,2) [2025-03-20 10:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722269', 'tblTempUsageDetail_20' ) start [2025-03-20 10:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722269', 'tblTempUsageDetail_20' ) end [2025-03-20 10:36:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:36:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:36:24] Production.INFO: ==13181== Releasing lock... [2025-03-20 10:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:36:24] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 14:37:01] Production.INFO: ==13271== Lock acquired, processing the job... [2025-03-20 14:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:37:01] Production.INFO: neon service started [2025-03-20 14:37:01] Production.INFO: neon service started [2025-03-20 14:37:01] Production.INFO: ==13271== Releasing lock... [2025-03-20 14:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:37:02] Production.INFO: ==13275== Lock acquired, processing the job... [2025-03-20 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:37:02] Production.INFO: ==13275== Releasing lock... [2025-03-20 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:37:02] Production.INFO: ==13278== Lock acquired, processing the job... [2025-03-20 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:37:02] Production.INFO: ==13278== Releasing lock... [2025-03-20 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:37:03] Production.INFO: ==13282== Lock acquired, processing the job... [2025-03-20 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:37:03] Production.INFO: ==13290== Lock acquired, processing the job... [2025-03-20 10:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:37:03] Production.INFO: ==13280== Lock acquired, processing the job... [2025-03-20 10:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:37:03] Production.INFO: ==13282== Releasing lock... [2025-03-20 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:37:03] Production.INFO: ==13284== Lock acquired, processing the job... [2025-03-20 10:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:37:03] Production.INFO: ==13286== Lock acquired, processing the job... [2025-03-20 10:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:37:03] Production.INFO: ==13288== Lock acquired, processing the job... [2025-03-20 10:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:37:03] Production.INFO: count ==12 [2025-03-20 10:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:37:03] Production.INFO: count ==23 [2025-03-20 10:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722271') start [2025-03-20 10:37:03] Production.INFO: Account Balance Start. [2025-03-20 10:37:03] Production.INFO: CreateAllLog Start [2025-03-20 10:37:03] Production.INFO: 117 [2025-03-20 10:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722271') end [2025-03-20 10:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:37:04] Production.INFO: 1 [2025-03-20 10:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:37:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.INFO: ==13290== Releasing lock... [2025-03-20 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:37:04] Production.ERROR: done [2025-03-20 10:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:37:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.ERROR: done [2025-03-20 10:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:37:04] Production.INFO: Total Charge 0 [2025-03-20 10:37:04] Production.INFO: CreateAllLog End [2025-03-20 10:37:04] Production.INFO: Account Balance End. [2025-03-20 10:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:37:04] Production.INFO: ==13286== Releasing lock... [2025-03-20 10:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:37:05 [end_date_ymd] => 2025-03-20 10:37:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:37:05' and `end` < '2025-03-20 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-03-20 10:37:13] Production.ERROR: CronJobId end10 [2025-03-20 10:37:13] Production.INFO: ==13284== Releasing lock... [2025-03-20 10:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:37:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:37:15] Production.INFO: call_cost start [2025-03-20 10:37:15] Production.INFO: call_cost end [2025-03-20 10:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:37:16] Production.INFO: ==13280== Releasing lock... [2025-03-20 10:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:37:18] Production.INFO: count ==2923 [2025-03-20 10:37:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:37:05 - End Time 2025-03-20 10:37:05 [2025-03-20 10:37:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722274', 'tblTempUsageDetail_20' ) start [2025-03-20 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722274', 'tblTempUsageDetail_20' ) end [2025-03-20 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722274', 'tblTempVendorCDR_20' ) start [2025-03-20 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722274', 'tblTempVendorCDR_20' ) end [2025-03-20 10:37:19] Production.INFO: ProcessCDR(1,14722274,1,1,2) [2025-03-20 10:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:37:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:37:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722274', 'tblTempUsageDetail_20' ) start [2025-03-20 10:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722274', 'tblTempUsageDetail_20' ) end [2025-03-20 10:37:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:37:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:37:24] Production.INFO: ==13288== Releasing lock... [2025-03-20 10:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:37:24] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 14:38:02] Production.INFO: ==13393== Lock acquired, processing the job... [2025-03-20 14:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:38:02] Production.INFO: neon service started [2025-03-20 14:38:02] Production.INFO: neon service started [2025-03-20 14:38:02] Production.INFO: ==13393== Releasing lock... [2025-03-20 14:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:38:02] Production.INFO: ==13395== Lock acquired, processing the job... [2025-03-20 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:38:02] Production.INFO: ==13395== Releasing lock... [2025-03-20 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:38:03] Production.INFO: ==13397== Lock acquired, processing the job... [2025-03-20 14:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:38:03] Production.INFO: ==13397== Releasing lock... [2025-03-20 14:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:38:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:38:03] Production.INFO: ==13401== Lock acquired, processing the job... [2025-03-20 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:38:03] Production.INFO: ==13399== Lock acquired, processing the job... [2025-03-20 10:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:38:03] Production.INFO: ==13410== Lock acquired, processing the job... [2025-03-20 10:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:38:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 10:38:04] Production.INFO: ==13403== Lock acquired, processing the job... [2025-03-20 10:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:38:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:38:04] Production.INFO: count ==23 [2025-03-20 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722277') start [2025-03-20 10:38:04] Production.INFO: ==13406== Lock acquired, processing the job... [2025-03-20 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:38:04] Production.INFO: ==13408== Lock acquired, processing the job... [2025-03-20 10:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722277') end [2025-03-20 10:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:38:04] Production.INFO: 1 [2025-03-20 10:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:38:04] Production.INFO: Account Balance Start. [2025-03-20 10:38:04] Production.INFO: CreateAllLog Start [2025-03-20 10:38:04] Production.INFO: 117 [2025-03-20 10:38:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.INFO: ==13410== Releasing lock... [2025-03-20 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.INFO: ==13401== Releasing lock... [2025-03-20 10:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.ERROR: done [2025-03-20 10:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:38:04] Production.ERROR: done [2025-03-20 10:38:04] Production.INFO: Total Charge 0 [2025-03-20 10:38:05] Production.INFO: CreateAllLog End [2025-03-20 10:38:05] Production.INFO: Account Balance End. [2025-03-20 10:38:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:38:05] Production.INFO: ==13406== Releasing lock... [2025-03-20 10:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:38:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:38:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:38:06 [end_date_ymd] => 2025-03-20 10:38:06 [RateCDR] => 1 ) [2025-03-20 10: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-03-20 07:38:06' and `end` < '2025-03-20 10: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-03-20 10:38:14] Production.ERROR: CronJobId end10 [2025-03-20 10:38:14] Production.INFO: ==13403== Releasing lock... [2025-03-20 10:38:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:38:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:38:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:38:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:38:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:38:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:38:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:38:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:38:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:38:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:38:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:38:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:38:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:38:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:38:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:38:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:38:16] Production.INFO: call_cost start [2025-03-20 10:38:16] Production.INFO: call_cost end [2025-03-20 10:38:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:38:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:38:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:38:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:38:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:38:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:38:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:38:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:38:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:38:17] Production.INFO: ==13399== Releasing lock... [2025-03-20 10:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:38:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:38:18] Production.INFO: count ==2953 [2025-03-20 10:38:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:38:06 - End Time 2025-03-20 10:38:06 [2025-03-20 10:38:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722279', 'tblTempUsageDetail_20' ) start [2025-03-20 10:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722279', 'tblTempUsageDetail_20' ) end [2025-03-20 10:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722279', 'tblTempVendorCDR_20' ) start [2025-03-20 10:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722279', 'tblTempVendorCDR_20' ) end [2025-03-20 10:38:20] Production.INFO: ProcessCDR(1,14722279,1,1,2) [2025-03-20 10:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:38:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:38:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:38:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722279', 'tblTempUsageDetail_20' ) start [2025-03-20 10:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722279', 'tblTempUsageDetail_20' ) end [2025-03-20 10:38:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:38:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:38:25] Production.INFO: ==13408== Releasing lock... [2025-03-20 10:38:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:38:25] Production.INFO: 49.75 MB #Memory Used# [2025-03-20 14:39:01] Production.INFO: ==13504== Lock acquired, processing the job... [2025-03-20 14:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:39:01] Production.INFO: neon service started [2025-03-20 14:39:01] Production.INFO: neon service started [2025-03-20 14:39:01] Production.INFO: ==13504== Releasing lock... [2025-03-20 14:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:39:01] Production.INFO: ==13506== Lock acquired, processing the job... [2025-03-20 10:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:39:02] Production.INFO: ==13506== Releasing lock... [2025-03-20 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:39:02] Production.INFO: ==13508== Lock acquired, processing the job... [2025-03-20 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:39:02] Production.INFO: ==13508== Releasing lock... [2025-03-20 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:39:03] Production.INFO: ==13520== Lock acquired, processing the job... [2025-03-20 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:39:03] Production.INFO: ==13518== Lock acquired, processing the job... [2025-03-20 10:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:39:03] Production.INFO: ==13510== Lock acquired, processing the job... [2025-03-20 10:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:39:03] Production.INFO: ==13512== Lock acquired, processing the job... [2025-03-20 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 10:39:03] Production.INFO: count ==12 [2025-03-20 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-03-20 10:39:03] Production.INFO: count ==23 [2025-03-20 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722280') start [2025-03-20 10:39:03] Production.INFO: ==13514== Lock acquired, processing the job... [2025-03-20 10:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:39:03] Production.INFO: ==13516== Lock acquired, processing the job... [2025-03-20 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722280') end [2025-03-20 10:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:39:03] Production.INFO: 1 [2025-03-20 10:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:39:03] Production.INFO: Account Balance Start. [2025-03-20 10:39:03] Production.INFO: CreateAllLog Start [2025-03-20 10:39:03] Production.INFO: 117 [2025-03-20 10:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:03] Production.INFO: ==13520== Releasing lock... [2025-03-20 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:39:03] Production.ERROR: done [2025-03-20 10:39:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:04] Production.INFO: ==13512== Releasing lock... [2025-03-20 10:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:39:04] Production.ERROR: done [2025-03-20 10:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:39:04] Production.INFO: Total Charge 0 [2025-03-20 10:39:04] Production.INFO: CreateAllLog End [2025-03-20 10:39:04] Production.INFO: Account Balance End. [2025-03-20 10:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:39:04] Production.INFO: ==13516== Releasing lock... [2025-03-20 10:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:39:05 [end_date_ymd] => 2025-03-20 10:39:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:39:05' and `end` < '2025-03-20 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-03-20 10:39:13] Production.ERROR: CronJobId end10 [2025-03-20 10:39:13] Production.INFO: ==13514== Releasing lock... [2025-03-20 10:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:39:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:39:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:39:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:39:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:39:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:39:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:39:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:39:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:39:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:39:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:39:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:39:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:39:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:39:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:39:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:39:16] Production.INFO: call_cost start [2025-03-20 10:39:16] Production.INFO: call_cost end [2025-03-20 10:39:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:39:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:39:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:39:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:39:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:39:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:39:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:39:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:39:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:39:17] Production.INFO: ==13510== Releasing lock... [2025-03-20 10:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:39:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:39:18] Production.INFO: count ==2954 [2025-03-20 10:39:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:39:05 - End Time 2025-03-20 10:39:05 [2025-03-20 10:39:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722284', 'tblTempUsageDetail_20' ) start [2025-03-20 10:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722284', 'tblTempUsageDetail_20' ) end [2025-03-20 10:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722284', 'tblTempVendorCDR_20' ) start [2025-03-20 10:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722284', 'tblTempVendorCDR_20' ) end [2025-03-20 10:39:19] Production.INFO: ProcessCDR(1,14722284,1,1,2) [2025-03-20 10:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722284', 'tblTempUsageDetail_20' ) start [2025-03-20 10:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722284', 'tblTempUsageDetail_20' ) end [2025-03-20 10:39:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:39:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:39:24] Production.INFO: ==13518== Releasing lock... [2025-03-20 10:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:39:24] Production.INFO: 49.75 MB #Memory Used# [2025-03-20 14:40:02] Production.INFO: ==13613== Lock acquired, processing the job... [2025-03-20 14:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:40:02] Production.INFO: neon service started [2025-03-20 14:40:02] Production.INFO: neon service started [2025-03-20 14:40:02] Production.INFO: ==13613== Releasing lock... [2025-03-20 14:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:40:02] Production.INFO: ==13618== Lock acquired, processing the job... [2025-03-20 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:40:02] Production.INFO: ==13620== Lock acquired, processing the job... [2025-03-20 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:40:02] Production.INFO: ==13620== Releasing lock... [2025-03-20 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:40:03] Production.INFO: ==13618== Releasing lock... [2025-03-20 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:40:04] Production.INFO: ==13622== Lock acquired, processing the job... [2025-03-20 10:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 10:40:04] Production.INFO: ==13624== Lock acquired, processing the job... [2025-03-20 10:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 10:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 10:40:04] Production.ERROR: CronJob PID - 13624 [2025-03-20 10:40:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 10:40:04] Production.ERROR: CronJob ID - 5 [2025-03-20 10:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 10:40:00 [2025-03-20 10:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 10:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 10:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 10:40:04] Production.INFO: ==13622== Releasing lock... [2025-03-20 10:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 10:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 10:40:04] Production.INFO: ==13626== Lock acquired, processing the job... [2025-03-20 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:40:04] Production.INFO: ==13636== Lock acquired, processing the job... [2025-03-20 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:40:04] Production.INFO: ==13630== Lock acquired, processing the job... [2025-03-20 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:40:04] Production.INFO: ==13628== Lock acquired, processing the job... [2025-03-20 10:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:40:04] Production.INFO: ==13632== Lock acquired, processing the job... [2025-03-20 10:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 10:40:04] Production.INFO: Account Balance Start. [2025-03-20 10:40:04] Production.INFO: CreateAllLog Start [2025-03-20 10:40:04] Production.INFO: 117 [2025-03-20 10:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:40:04] Production.INFO: count ==23 [2025-03-20 10:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722287') start [2025-03-20 10:40:04] Production.INFO: ==13634== Lock acquired, processing the job... [2025-03-20 10:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 10:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:04] Production.INFO: ==13626== Releasing lock... [2025-03-20 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722287') end [2025-03-20 10:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:40:04] Production.INFO: 1 [2025-03-20 10:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:40:04] Production.INFO: ==13636== Releasing lock... [2025-03-20 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:05] Production.ERROR: done [2025-03-20 10:40:05] Production.INFO: Date 2025-03-15 [2025-03-20 10:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:40:05] Production.INFO: Date 2025-03-16 [2025-03-20 10:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:05] Production.INFO: Date 2025-03-17 [2025-03-20 10:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:05] Production.INFO: Date 2025-03-18 [2025-03-20 10:40:05] Production.ERROR: done [2025-03-20 10:40:05] Production.ERROR: done [2025-03-20 10:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 10:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722289', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 10:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:40:05] Production.INFO: Total Charge 0 [2025-03-20 10:40:05] Production.INFO: CreateAllLog End [2025-03-20 10:40:05] Production.INFO: Account Balance End. [2025-03-20 10:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:40:05] Production.INFO: ==13630== Releasing lock... [2025-03-20 10:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:40:06 [end_date_ymd] => 2025-03-20 10:40:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:40:06' and `end` < '2025-03-20 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-03-20 10:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722289', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 10:40:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 10:40:10] Production.INFO: ProcessCDR(1,14722289,1,1,2) [2025-03-20 10:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722289,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722289,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:40:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:40:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:40:10] Production.INFO: ==13634== Releasing lock... [2025-03-20 10:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 10:40:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 10:40:14] Production.ERROR: CronJobId end10 [2025-03-20 10:40:14] Production.INFO: ==13628== Releasing lock... [2025-03-20 10:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:40:16] Production.INFO: call_cost start [2025-03-20 10:40:16] Production.INFO: call_cost end [2025-03-20 10:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:40:17] Production.INFO: ==13624== Releasing lock... [2025-03-20 10:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:40:19] Production.INFO: count ==2967 [2025-03-20 10:40:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:40:06 - End Time 2025-03-20 10:40:06 [2025-03-20 10:40:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722290', 'tblTempUsageDetail_20' ) start [2025-03-20 10:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722290', 'tblTempUsageDetail_20' ) end [2025-03-20 10:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722290', 'tblTempVendorCDR_20' ) start [2025-03-20 10:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722290', 'tblTempVendorCDR_20' ) end [2025-03-20 10:40:20] Production.INFO: ProcessCDR(1,14722290,1,1,2) [2025-03-20 10:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:40:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:40:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:40:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722290', 'tblTempUsageDetail_20' ) start [2025-03-20 10:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722290', 'tblTempUsageDetail_20' ) end [2025-03-20 10:40:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:40:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:40:25] Production.INFO: ==13632== Releasing lock... [2025-03-20 10:40:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:40:25] Production.INFO: 50 MB #Memory Used# [2025-03-20 14:41:01] Production.INFO: ==13718== Lock acquired, processing the job... [2025-03-20 14:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:41:01] Production.INFO: neon service started [2025-03-20 14:41:01] Production.INFO: neon service started [2025-03-20 14:41:01] Production.INFO: ==13718== Releasing lock... [2025-03-20 14:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:41:01] Production.INFO: ==13720== Lock acquired, processing the job... [2025-03-20 10:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:41:02] Production.INFO: ==13720== Releasing lock... [2025-03-20 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:41:02] Production.INFO: ==13722== Lock acquired, processing the job... [2025-03-20 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:41:02] Production.INFO: ==13722== Releasing lock... [2025-03-20 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:41:03] Production.INFO: ==13734== Lock acquired, processing the job... [2025-03-20 10:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:41:03] Production.INFO: ==13726== Lock acquired, processing the job... [2025-03-20 10:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:41:03] Production.INFO: ==13736== Lock acquired, processing the job... [2025-03-20 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:41:03] Production.INFO: ==13728== Lock acquired, processing the job... [2025-03-20 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:41:03] Production.INFO: ==13730== Lock acquired, processing the job... [2025-03-20 10:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:41:03] Production.INFO: ==13732== Lock acquired, processing the job... [2025-03-20 10:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 10:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:41:03] Production.ERROR: done [2025-03-20 10:41:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:41:03] Production.INFO: count ==12 [2025-03-20 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-03-20 10:41:03] Production.INFO: Account Balance Start. [2025-03-20 10:41:03] Production.INFO: CreateAllLog Start [2025-03-20 10:41:03] Production.INFO: 117 [2025-03-20 10:41:03] Production.INFO: count ==23 [2025-03-20 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722291') start [2025-03-20 10:41:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:03] Production.ERROR: done [2025-03-20 10:41:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:03] Production.INFO: ==13728== Releasing lock... [2025-03-20 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:41:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722291') end [2025-03-20 10:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:41:03] Production.INFO: 1 [2025-03-20 10:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:41:03] Production.INFO: ==13736== Releasing lock... [2025-03-20 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:41:03] Production.INFO: Date 2025-03-11 [2025-03-20 10:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:03] Production.INFO: Date 2025-03-12 [2025-03-20 10:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:03] Production.INFO: Date 2025-03-13 [2025-03-20 10:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:41:04] Production.INFO: Total Charge 0 [2025-03-20 10:41:04] Production.INFO: CreateAllLog End [2025-03-20 10:41:04] Production.INFO: Account Balance End. [2025-03-20 10:41:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:41:04] Production.INFO: ==13732== Releasing lock... [2025-03-20 10:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:41:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:41:04 [end_date_ymd] => 2025-03-20 10:41:04 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:41:04' and `end` < '2025-03-20 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-03-20 10:41:11] Production.ERROR: CronJobId end10 [2025-03-20 10:41:11] Production.INFO: ==13730== Releasing lock... [2025-03-20 10:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:41:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:41:14] Production.INFO: call_cost start [2025-03-20 10:41:14] Production.INFO: call_cost end [2025-03-20 10:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:41:15] Production.INFO: ==13726== Releasing lock... [2025-03-20 10:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:41:17] Production.INFO: count ==3043 [2025-03-20 10:41:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:41:04 - End Time 2025-03-20 10:41:04 [2025-03-20 10:41:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722295', 'tblTempUsageDetail_20' ) start [2025-03-20 10:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722295', 'tblTempUsageDetail_20' ) end [2025-03-20 10:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722295', 'tblTempVendorCDR_20' ) start [2025-03-20 10:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722295', 'tblTempVendorCDR_20' ) end [2025-03-20 10:41:19] Production.INFO: ProcessCDR(1,14722295,1,1,2) [2025-03-20 10:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722295,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722295,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722295', 'tblTempUsageDetail_20' ) start [2025-03-20 10:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722295', 'tblTempUsageDetail_20' ) end [2025-03-20 10:41:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:41:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:41:24] Production.INFO: ==13734== Releasing lock... [2025-03-20 10:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:41:24] Production.INFO: 50.75 MB #Memory Used# [2025-03-20 14:42:02] Production.INFO: ==13816== Lock acquired, processing the job... [2025-03-20 14:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:42:02] Production.INFO: neon service started [2025-03-20 14:42:02] Production.INFO: neon service started [2025-03-20 14:42:02] Production.INFO: ==13816== Releasing lock... [2025-03-20 14:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:42:02] Production.INFO: ==13819== Lock acquired, processing the job... [2025-03-20 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:42:02] Production.INFO: ==13821== Lock acquired, processing the job... [2025-03-20 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:42:02] Production.INFO: ==13821== Releasing lock... [2025-03-20 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:42:03] Production.INFO: ==13819== Releasing lock... [2025-03-20 10:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:42:03] Production.INFO: ==13823== Lock acquired, processing the job... [2025-03-20 10:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:42:04] Production.INFO: ==13831== Lock acquired, processing the job... [2025-03-20 10:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:42:04] Production.INFO: ==13825== Lock acquired, processing the job... [2025-03-20 10:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:42:04] Production.INFO: ==13829== Lock acquired, processing the job... [2025-03-20 10:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:42:04] Production.INFO: ==13827== Lock acquired, processing the job... [2025-03-20 10:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:42:04] Production.INFO: ==13833== Lock acquired, processing the job... [2025-03-20 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:42:04] Production.INFO: Account Balance Start. [2025-03-20 10:42:04] Production.INFO: CreateAllLog Start [2025-03-20 10:42:04] Production.INFO: 117 [2025-03-20 10:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:42:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:04] Production.ERROR: done [2025-03-20 10:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:04] Production.INFO: count ==12 [2025-03-20 10:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:42:04] Production.INFO: count ==23 [2025-03-20 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722299') start [2025-03-20 10:42:04] Production.INFO: ==13825== Releasing lock... [2025-03-20 10:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:04] Production.ERROR: done [2025-03-20 10:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722299') end [2025-03-20 10:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:42:04] Production.INFO: 1 [2025-03-20 10:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:42:04] Production.INFO: ==13833== Releasing lock... [2025-03-20 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:05] Production.INFO: Date 2025-03-16 [2025-03-20 10:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:05] Production.INFO: Date 2025-03-17 [2025-03-20 10:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:05] Production.INFO: Date 2025-03-18 [2025-03-20 10:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:42:05] Production.INFO: Total Charge 0 [2025-03-20 10:42:05] Production.INFO: CreateAllLog End [2025-03-20 10:42:05] Production.INFO: Account Balance End. [2025-03-20 10:42:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:42:05] Production.INFO: ==13829== Releasing lock... [2025-03-20 10:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:42:05 [end_date_ymd] => 2025-03-20 10:42:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:42:05' and `end` < '2025-03-20 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-03-20 10:42:13] Production.ERROR: CronJobId end10 [2025-03-20 10:42:13] Production.INFO: ==13827== Releasing lock... [2025-03-20 10:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:42:15] Production.INFO: call_cost start [2025-03-20 10:42:15] Production.INFO: call_cost end [2025-03-20 10:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:42:15] Production.INFO: ==13823== Releasing lock... [2025-03-20 10:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:42:18] Production.INFO: count ==3047 [2025-03-20 10:42:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:42:05 - End Time 2025-03-20 10:42:05 [2025-03-20 10:42:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722300', 'tblTempUsageDetail_20' ) start [2025-03-20 10:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722300', 'tblTempUsageDetail_20' ) end [2025-03-20 10:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722300', 'tblTempVendorCDR_20' ) start [2025-03-20 10:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722300', 'tblTempVendorCDR_20' ) end [2025-03-20 10:42:19] Production.INFO: ProcessCDR(1,14722300,1,1,2) [2025-03-20 10:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:42:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722300,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:42:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722300,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722300', 'tblTempUsageDetail_20' ) start [2025-03-20 10:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722300', 'tblTempUsageDetail_20' ) end [2025-03-20 10:42:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:42:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:42:25] Production.INFO: ==13831== Releasing lock... [2025-03-20 10:42:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:42:25] Production.INFO: 51 MB #Memory Used# [2025-03-20 14:43:01] Production.INFO: ==13915== Lock acquired, processing the job... [2025-03-20 14:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:43:01] Production.INFO: neon service started [2025-03-20 14:43:01] Production.INFO: neon service started [2025-03-20 14:43:01] Production.INFO: ==13915== Releasing lock... [2025-03-20 14:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:43:01] Production.INFO: ==13920== Lock acquired, processing the job... [2025-03-20 14:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:43:01] Production.INFO: ==13920== Releasing lock... [2025-03-20 14:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:43:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:43:02] Production.INFO: ==13918== Lock acquired, processing the job... [2025-03-20 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:43:02] Production.INFO: ==13918== Releasing lock... [2025-03-20 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:43:03] Production.INFO: ==13924== Lock acquired, processing the job... [2025-03-20 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:43:03] Production.INFO: ==13928== Lock acquired, processing the job... [2025-03-20 10:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:43:03] Production.INFO: Account Balance Start. [2025-03-20 10:43:03] Production.INFO: CreateAllLog Start [2025-03-20 10:43:03] Production.INFO: 117 [2025-03-20 10:43:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:03] Production.INFO: ==13922== Lock acquired, processing the job... [2025-03-20 10:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:43:03] Production.INFO: Date 2025-03-11 [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:03] Production.INFO: Date 2025-03-12 [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:03] Production.INFO: ==13926== Lock acquired, processing the job... [2025-03-20 10:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:43:03] Production.INFO: Date 2025-03-13 [2025-03-20 10:43:03] Production.INFO: ==13924== Releasing lock... [2025-03-20 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:03] Production.INFO: Date 2025-03-14 [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:43:03] Production.INFO: ==13930== Lock acquired, processing the job... [2025-03-20 10:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:43:03] Production.INFO: ==13932== Lock acquired, processing the job... [2025-03-20 10:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:43:03] Production.INFO: Date 2025-03-15 [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:43:03] Production.INFO: Date 2025-03-16 [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:03] Production.INFO: Date 2025-03-17 [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:03] Production.INFO: Date 2025-03-18 [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:43:03] Production.INFO: Date 2025-03-19 [2025-03-20 10:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:03] Production.INFO: count ==12 [2025-03-20 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-03-20 10:43:03] Production.INFO: count ==23 [2025-03-20 10:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722304') start [2025-03-20 10:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:43:04] Production.INFO: Total Charge 0 [2025-03-20 10:43:04] Production.INFO: CreateAllLog End [2025-03-20 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722304') end [2025-03-20 10:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:43:04] Production.INFO: 1 [2025-03-20 10:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:43:04] Production.ERROR: done [2025-03-20 10:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:43:04] Production.INFO: ==13932== Releasing lock... [2025-03-20 10:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:43:04] Production.ERROR: done [2025-03-20 10:43:04] Production.INFO: Account Balance End. [2025-03-20 10:43:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:43:04] Production.INFO: ==13928== Releasing lock... [2025-03-20 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:43:05 [end_date_ymd] => 2025-03-20 10:43:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:43:05' and `end` < '2025-03-20 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-03-20 10:43:12] Production.ERROR: CronJobId end10 [2025-03-20 10:43:12] Production.INFO: ==13926== Releasing lock... [2025-03-20 10:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:43:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:43:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:43:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:43:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:43:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:43:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:43:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:43:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:43:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:43:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:43:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:43:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:43:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:43:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:43:13] Production.INFO: call_cost start [2025-03-20 10:43:13] Production.INFO: call_cost end [2025-03-20 10:43:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:43:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:43:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:43:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:43:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:43:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:43:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:43:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:43:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:43:14] Production.INFO: ==13922== Releasing lock... [2025-03-20 10:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:43:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:43:18] Production.INFO: count ==3060 [2025-03-20 10:43:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:43:05 - End Time 2025-03-20 10:43:05 [2025-03-20 10:43:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722305', 'tblTempUsageDetail_20' ) start [2025-03-20 10:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722305', 'tblTempUsageDetail_20' ) end [2025-03-20 10:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722305', 'tblTempVendorCDR_20' ) start [2025-03-20 10:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722305', 'tblTempVendorCDR_20' ) end [2025-03-20 10:43:19] Production.INFO: ProcessCDR(1,14722305,1,1,2) [2025-03-20 10:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722305,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722305,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722305', 'tblTempUsageDetail_20' ) start [2025-03-20 10:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722305', 'tblTempUsageDetail_20' ) end [2025-03-20 10:43:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:43:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:43:25] Production.INFO: ==13930== Releasing lock... [2025-03-20 10:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:43:25] Production.INFO: 51 MB #Memory Used# [2025-03-20 14:44:01] Production.INFO: ==14017== Lock acquired, processing the job... [2025-03-20 14:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:44:02] Production.INFO: neon service started [2025-03-20 14:44:02] Production.INFO: neon service started [2025-03-20 14:44:02] Production.INFO: ==14017== Releasing lock... [2025-03-20 14:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:44:02] Production.INFO: ==14019== Lock acquired, processing the job... [2025-03-20 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:44:02] Production.INFO: ==14021== Lock acquired, processing the job... [2025-03-20 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:44:02] Production.INFO: ==14021== Releasing lock... [2025-03-20 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:44:03] Production.INFO: ==14019== Releasing lock... [2025-03-20 10:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:44:03] Production.INFO: ==14028== Lock acquired, processing the job... [2025-03-20 10:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:44:03] Production.INFO: ==14032== Lock acquired, processing the job... [2025-03-20 10:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:44:04] Production.INFO: ==14024== Lock acquired, processing the job... [2025-03-20 10:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:44:04] Production.INFO: ==14026== Lock acquired, processing the job... [2025-03-20 10:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:44:04] Production.INFO: ==14030== Lock acquired, processing the job... [2025-03-20 10:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:44:04] Production.INFO: ==14034== Lock acquired, processing the job... [2025-03-20 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:44:04] Production.ERROR: done [2025-03-20 10:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:44:04] Production.INFO: Account Balance Start. [2025-03-20 10:44:04] Production.INFO: CreateAllLog Start [2025-03-20 10:44:04] Production.INFO: 117 [2025-03-20 10:44:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:04] Production.INFO: count ==12 [2025-03-20 10:44:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:44:04] Production.INFO: count ==23 [2025-03-20 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722308') start [2025-03-20 10:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:04] Production.ERROR: done [2025-03-20 10:44:04] Production.INFO: ==14026== Releasing lock... [2025-03-20 10:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722308') end [2025-03-20 10:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:44:04] Production.INFO: 1 [2025-03-20 10:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:04] Production.INFO: ==14034== Releasing lock... [2025-03-20 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:44:05] Production.INFO: Total Charge 0 [2025-03-20 10:44:05] Production.INFO: CreateAllLog End [2025-03-20 10:44:05] Production.INFO: Account Balance End. [2025-03-20 10:44:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:44:05] Production.INFO: ==14030== Releasing lock... [2025-03-20 10:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:44:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:44:05 [end_date_ymd] => 2025-03-20 10:44:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:44:05' and `end` < '2025-03-20 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-03-20 10:44:12] Production.ERROR: CronJobId end10 [2025-03-20 10:44:12] Production.INFO: ==14028== Releasing lock... [2025-03-20 10:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:44:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:44:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:44:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:44:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:44:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:44:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:44:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:44:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:44:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:44:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:44:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:44:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:44:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:44:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:44:14] Production.INFO: call_cost start [2025-03-20 10:44:14] Production.INFO: call_cost end [2025-03-20 10:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:44:15] Production.INFO: ==14024== Releasing lock... [2025-03-20 10:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:44:18] Production.INFO: count ==3076 [2025-03-20 10:44:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:44:05 - End Time 2025-03-20 10:44:05 [2025-03-20 10:44:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722310', 'tblTempUsageDetail_20' ) start [2025-03-20 10:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722310', 'tblTempUsageDetail_20' ) end [2025-03-20 10:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722310', 'tblTempVendorCDR_20' ) start [2025-03-20 10:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722310', 'tblTempVendorCDR_20' ) end [2025-03-20 10:44:19] Production.INFO: ProcessCDR(1,14722310,1,1,2) [2025-03-20 10:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:44:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722310,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:44:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:44:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722310,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722310', 'tblTempUsageDetail_20' ) start [2025-03-20 10:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722310', 'tblTempUsageDetail_20' ) end [2025-03-20 10:44:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:44:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:44:24] Production.INFO: ==14032== Releasing lock... [2025-03-20 10:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:44:24] Production.INFO: 52.25 MB #Memory Used# [2025-03-20 14:45:01] Production.INFO: ==14115== Lock acquired, processing the job... [2025-03-20 14:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:45:01] Production.INFO: neon service started [2025-03-20 14:45:01] Production.INFO: neon service started [2025-03-20 14:45:01] Production.INFO: ==14115== Releasing lock... [2025-03-20 14:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:45:02] Production.INFO: ==14117== Lock acquired, processing the job... [2025-03-20 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:45:02] Production.INFO: ==14119== Lock acquired, processing the job... [2025-03-20 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:45:02] Production.INFO: ==14119== Releasing lock... [2025-03-20 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:45:02] Production.INFO: ==14117== Releasing lock... [2025-03-20 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:45:03] Production.INFO: ==14121== Lock acquired, processing the job... [2025-03-20 10:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:45:03] Production.INFO: ==14128== Lock acquired, processing the job... [2025-03-20 10:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:45:03] Production.INFO: ==14123== Lock acquired, processing the job... [2025-03-20 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:45:03] Production.INFO: Account Balance Start. [2025-03-20 10:45:03] Production.INFO: CreateAllLog Start [2025-03-20 10:45:03] Production.INFO: 117 [2025-03-20 10:45:03] Production.INFO: ==14130== Lock acquired, processing the job... [2025-03-20 10:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:45:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:03] Production.INFO: ==14125== Lock acquired, processing the job... [2025-03-20 10:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:45:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:45:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:03] Production.INFO: Date 2025-03-11 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:45:03] Production.INFO: Date 2025-03-12 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:03] Production.INFO: Date 2025-03-13 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:03] Production.INFO: Date 2025-03-14 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:03] Production.INFO: Date 2025-03-15 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:03] Production.INFO: ==14132== Lock acquired, processing the job... [2025-03-20 10:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:45:03] Production.INFO: ==14123== Releasing lock... [2025-03-20 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:45:03] Production.INFO: Date 2025-03-16 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:03] Production.INFO: Date 2025-03-17 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:45:03] Production.INFO: count ==12 [2025-03-20 10:45:03] Production.INFO: Date 2025-03-18 [2025-03-20 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-03-20 10:45:03] Production.INFO: count ==23 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722314') start [2025-03-20 10:45:03] Production.INFO: Date 2025-03-19 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:03] Production.INFO: Date 2025-03-20 [2025-03-20 10:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:45:04] Production.ERROR: done [2025-03-20 10:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:45:04] Production.INFO: Total Charge 0 [2025-03-20 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722314') end [2025-03-20 10:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:45:04] Production.INFO: 1 [2025-03-20 10:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:45:04] Production.INFO: CreateAllLog End [2025-03-20 10:45:04] Production.INFO: ==14132== Releasing lock... [2025-03-20 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:45:04] Production.ERROR: done [2025-03-20 10:45:04] Production.INFO: Account Balance End. [2025-03-20 10:45:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:45:04] Production.INFO: ==14128== Releasing lock... [2025-03-20 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:45:05 [end_date_ymd] => 2025-03-20 10:45:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:45:05' and `end` < '2025-03-20 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-03-20 10:45:14] Production.ERROR: CronJobId end10 [2025-03-20 10:45:14] Production.INFO: ==14125== Releasing lock... [2025-03-20 10:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:45:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:45:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:45:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:45:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:45:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:45:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:45:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:45:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:45:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:45:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:45:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:45:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:45:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:45:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:45:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:45:16] Production.INFO: call_cost start [2025-03-20 10:45:16] Production.INFO: call_cost end [2025-03-20 10:45:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:45:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:45:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:45:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:45:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:45:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:45:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:45:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:45:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:45:17] Production.INFO: ==14121== Releasing lock... [2025-03-20 10:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:45:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:45:18] Production.INFO: count ==3075 [2025-03-20 10:45:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:45:05 - End Time 2025-03-20 10:45:05 [2025-03-20 10:45:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722315', 'tblTempUsageDetail_20' ) start [2025-03-20 10:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722315', 'tblTempUsageDetail_20' ) end [2025-03-20 10:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722315', 'tblTempVendorCDR_20' ) start [2025-03-20 10:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722315', 'tblTempVendorCDR_20' ) end [2025-03-20 10:45:19] Production.INFO: ProcessCDR(1,14722315,1,1,2) [2025-03-20 10:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722315', 'tblTempUsageDetail_20' ) start [2025-03-20 10:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722315', 'tblTempUsageDetail_20' ) end [2025-03-20 10:45:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:45:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:45:24] Production.INFO: ==14130== Releasing lock... [2025-03-20 10:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:45:24] Production.INFO: 52 MB #Memory Used# [2025-03-20 14:46:01] Production.INFO: ==14243== Lock acquired, processing the job... [2025-03-20 14:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:46:02] Production.INFO: neon service started [2025-03-20 14:46:02] Production.INFO: neon service started [2025-03-20 14:46:02] Production.INFO: ==14243== Releasing lock... [2025-03-20 14:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:46:02] Production.INFO: ==14245== Lock acquired, processing the job... [2025-03-20 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:46:02] Production.INFO: ==14247== Lock acquired, processing the job... [2025-03-20 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:46:02] Production.INFO: ==14247== Releasing lock... [2025-03-20 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:46:02] Production.INFO: ==14245== Releasing lock... [2025-03-20 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:46:03] Production.INFO: ==14251== Lock acquired, processing the job... [2025-03-20 10:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:46:03] Production.INFO: ==14253== Lock acquired, processing the job... [2025-03-20 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:46:03] Production.INFO: ==14259== Lock acquired, processing the job... [2025-03-20 10:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:46:03] Production.INFO: ==14255== Lock acquired, processing the job... [2025-03-20 10:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:46:03] Production.INFO: ==14257== Lock acquired, processing the job... [2025-03-20 10:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:46:04] Production.INFO: ==14253== Releasing lock... [2025-03-20 10:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:46:04] Production.INFO: ==14262== Lock acquired, processing the job... [2025-03-20 10:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:46:04] Production.INFO: Account Balance Start. [2025-03-20 10:46:04] Production.INFO: CreateAllLog Start [2025-03-20 10:46:04] Production.INFO: 117 [2025-03-20 10:46:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.ERROR: done [2025-03-20 10:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:46:04] Production.INFO: count ==12 [2025-03-20 10:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:46:04] Production.INFO: count ==23 [2025-03-20 10:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722319') start [2025-03-20 10:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.ERROR: done [2025-03-20 10:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722319') end [2025-03-20 10:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:46:04] Production.INFO: 1 [2025-03-20 10:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:46:04] Production.INFO: ==14262== Releasing lock... [2025-03-20 10:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:46:04] Production.INFO: Total Charge 0 [2025-03-20 10:46:04] Production.INFO: CreateAllLog End [2025-03-20 10:46:05] Production.INFO: Account Balance End. [2025-03-20 10:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:46:05] Production.INFO: ==14257== Releasing lock... [2025-03-20 10:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:46:05 [end_date_ymd] => 2025-03-20 10:46:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:46:05' and `end` < '2025-03-20 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-03-20 10:46:13] Production.ERROR: CronJobId end10 [2025-03-20 10:46:13] Production.INFO: ==14255== Releasing lock... [2025-03-20 10:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:46:15] Production.INFO: call_cost start [2025-03-20 10:46:15] Production.INFO: call_cost end [2025-03-20 10:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:46:16] Production.INFO: ==14251== Releasing lock... [2025-03-20 10:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:46:18] Production.INFO: count ==3084 [2025-03-20 10:46:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:46:05 - End Time 2025-03-20 10:46:05 [2025-03-20 10:46:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722320', 'tblTempUsageDetail_20' ) start [2025-03-20 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722320', 'tblTempUsageDetail_20' ) end [2025-03-20 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722320', 'tblTempVendorCDR_20' ) start [2025-03-20 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722320', 'tblTempVendorCDR_20' ) end [2025-03-20 10:46:19] Production.INFO: ProcessCDR(1,14722320,1,1,2) [2025-03-20 10:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722320', 'tblTempUsageDetail_20' ) start [2025-03-20 10:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722320', 'tblTempUsageDetail_20' ) end [2025-03-20 10:46:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:46:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:46:24] Production.INFO: ==14259== Releasing lock... [2025-03-20 10:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:46:24] Production.INFO: 51 MB #Memory Used# [2025-03-20 14:47:01] Production.INFO: ==14325== Lock acquired, processing the job... [2025-03-20 14:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:47:01] Production.INFO: neon service started [2025-03-20 14:47:01] Production.INFO: neon service started [2025-03-20 14:47:01] Production.INFO: ==14325== Releasing lock... [2025-03-20 14:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:47:01] Production.INFO: ==14327== Lock acquired, processing the job... [2025-03-20 10:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:47:02] Production.INFO: ==14327== Releasing lock... [2025-03-20 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:47:02] Production.INFO: ==14329== Lock acquired, processing the job... [2025-03-20 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:47:02] Production.INFO: ==14329== Releasing lock... [2025-03-20 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:47:03] Production.INFO: ==14332== Lock acquired, processing the job... [2025-03-20 10:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:47:03] Production.INFO: ==14340== Lock acquired, processing the job... [2025-03-20 10:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:47:03] Production.INFO: ==14334== Lock acquired, processing the job... [2025-03-20 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:47:03] Production.INFO: ==14336== Lock acquired, processing the job... [2025-03-20 10:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:47:03] Production.INFO: ==14338== Lock acquired, processing the job... [2025-03-20 10:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:47:03] Production.INFO: ==14342== Lock acquired, processing the job... [2025-03-20 10:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:47:03] Production.ERROR: done [2025-03-20 10:47:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:47:03] Production.INFO: Account Balance Start. [2025-03-20 10:47:03] Production.INFO: CreateAllLog Start [2025-03-20 10:47:03] Production.INFO: 117 [2025-03-20 10:47:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:03] Production.INFO: count ==12 [2025-03-20 10:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:47:03] Production.INFO: count ==23 [2025-03-20 10:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722323') start [2025-03-20 10:47:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.ERROR: done [2025-03-20 10:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.INFO: ==14334== Releasing lock... [2025-03-20 10:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722323') end [2025-03-20 10:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:47:04] Production.INFO: 1 [2025-03-20 10:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.INFO: ==14342== Releasing lock... [2025-03-20 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:47:04] Production.INFO: Total Charge 0 [2025-03-20 10:47:04] Production.INFO: CreateAllLog End [2025-03-20 10:47:04] Production.INFO: Account Balance End. [2025-03-20 10:47:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:47:04] Production.INFO: ==14338== Releasing lock... [2025-03-20 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:47:05 [end_date_ymd] => 2025-03-20 10:47:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:47:05' and `end` < '2025-03-20 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-03-20 10:47:14] Production.ERROR: CronJobId end10 [2025-03-20 10:47:14] Production.INFO: ==14336== Releasing lock... [2025-03-20 10:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:47:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:47:16] Production.INFO: call_cost start [2025-03-20 10:47:16] Production.INFO: call_cost end [2025-03-20 10:47:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:47:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:47:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:47:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:47:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:47:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:47:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:47:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:47:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:47:17] Production.INFO: ==14332== Releasing lock... [2025-03-20 10:47:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:47:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:47:18] Production.INFO: count ==3093 [2025-03-20 10:47:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:47:05 - End Time 2025-03-20 10:47:05 [2025-03-20 10:47:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722325', 'tblTempUsageDetail_20' ) start [2025-03-20 10:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722325', 'tblTempUsageDetail_20' ) end [2025-03-20 10:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722325', 'tblTempVendorCDR_20' ) start [2025-03-20 10:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722325', 'tblTempVendorCDR_20' ) end [2025-03-20 10:47:19] Production.INFO: ProcessCDR(1,14722325,1,1,2) [2025-03-20 10:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722325', 'tblTempUsageDetail_20' ) start [2025-03-20 10:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722325', 'tblTempUsageDetail_20' ) end [2025-03-20 10:47:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:47:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:47:23] Production.INFO: ==14340== Releasing lock... [2025-03-20 10:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:47:23] Production.INFO: 52 MB #Memory Used# [2025-03-20 14:48:01] Production.INFO: ==14430== Lock acquired, processing the job... [2025-03-20 14:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:48:01] Production.INFO: neon service started [2025-03-20 14:48:01] Production.INFO: neon service started [2025-03-20 14:48:01] Production.INFO: ==14430== Releasing lock... [2025-03-20 14:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:48:02] Production.INFO: ==14432== Lock acquired, processing the job... [2025-03-20 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:48:02] Production.INFO: ==14434== Lock acquired, processing the job... [2025-03-20 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 10:48:02] Production.INFO: ==14432== Releasing lock... [2025-03-20 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:48:02] Production.INFO: ==14434== Releasing lock... [2025-03-20 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:48:03] Production.INFO: ==14436== Lock acquired, processing the job... [2025-03-20 10:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:48:03] Production.INFO: ==14438== Lock acquired, processing the job... [2025-03-20 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:48:03] Production.INFO: ==14441== Lock acquired, processing the job... [2025-03-20 10:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:48:03] Production.INFO: ==14443== Lock acquired, processing the job... [2025-03-20 10:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:48:03] Production.INFO: Account Balance Start. [2025-03-20 10:48:03] Production.INFO: CreateAllLog Start [2025-03-20 10:48:03] Production.INFO: 117 [2025-03-20 10:48:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:48:03] Production.INFO: ==14445== Lock acquired, processing the job... [2025-03-20 10:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:48:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:04] Production.INFO: ==14447== Lock acquired, processing the job... [2025-03-20 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:04] Production.INFO: ==14438== Releasing lock... [2025-03-20 10:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:04] Production.INFO: count ==12 [2025-03-20 10:48:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:04] Production.ERROR: done [2025-03-20 10:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:48:04] Production.INFO: count ==23 [2025-03-20 10:48:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722329') start [2025-03-20 10:48:04] Production.INFO: Total Charge 0 [2025-03-20 10:48:04] Production.INFO: CreateAllLog End [2025-03-20 10:48:04] Production.ERROR: done [2025-03-20 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722329') end [2025-03-20 10:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:48:04] Production.INFO: 1 [2025-03-20 10:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:48:04] Production.INFO: ==14447== Releasing lock... [2025-03-20 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:48:04] Production.INFO: Account Balance End. [2025-03-20 10:48:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:48:04] Production.INFO: ==14443== Releasing lock... [2025-03-20 10:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:48:05 [end_date_ymd] => 2025-03-20 10:48:05 [RateCDR] => 1 ) [2025-03-20 10:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:48:05' and `end` < '2025-03-20 10:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:48:13] Production.ERROR: CronJobId end10 [2025-03-20 10:48:13] Production.INFO: ==14441== Releasing lock... [2025-03-20 10:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:48:14] Production.INFO: call_cost start [2025-03-20 10:48:14] Production.INFO: call_cost end [2025-03-20 10:48:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:48:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:48:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:48:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:48:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:48:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:48:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:48:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:48:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:48:15] Production.INFO: ==14436== Releasing lock... [2025-03-20 10:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:48:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:48:18] Production.INFO: count ==3122 [2025-03-20 10:48:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:48:05 - End Time 2025-03-20 10:48:05 [2025-03-20 10:48:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722330', 'tblTempUsageDetail_20' ) start [2025-03-20 10:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722330', 'tblTempUsageDetail_20' ) end [2025-03-20 10:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722330', 'tblTempVendorCDR_20' ) start [2025-03-20 10:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722330', 'tblTempVendorCDR_20' ) end [2025-03-20 10:48:19] Production.INFO: ProcessCDR(1,14722330,1,1,2) [2025-03-20 10:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:48:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722330', 'tblTempUsageDetail_20' ) start [2025-03-20 10:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722330', 'tblTempUsageDetail_20' ) end [2025-03-20 10:48:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:48:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:48:25] Production.INFO: ==14445== Releasing lock... [2025-03-20 10:48:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:48:25] Production.INFO: 52 MB #Memory Used# [2025-03-20 14:49:01] Production.INFO: ==14524== Lock acquired, processing the job... [2025-03-20 14:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:49:01] Production.INFO: neon service started [2025-03-20 14:49:01] Production.INFO: neon service started [2025-03-20 14:49:01] Production.INFO: ==14524== Releasing lock... [2025-03-20 14:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:49:01] Production.INFO: ==14528== Lock acquired, processing the job... [2025-03-20 10:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:49:02] Production.INFO: ==14528== Releasing lock... [2025-03-20 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:49:02] Production.INFO: ==14530== Lock acquired, processing the job... [2025-03-20 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:49:02] Production.INFO: ==14530== Releasing lock... [2025-03-20 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:49:03] Production.INFO: ==14532== Lock acquired, processing the job... [2025-03-20 10:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:49:03] Production.INFO: ==14536== Lock acquired, processing the job... [2025-03-20 10:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:49:03] Production.INFO: ==14534== Lock acquired, processing the job... [2025-03-20 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:49:03] Production.INFO: ==14542== Lock acquired, processing the job... [2025-03-20 10:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:49:03] Production.INFO: ==14538== Lock acquired, processing the job... [2025-03-20 10:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:49:03] Production.INFO: ==14540== Lock acquired, processing the job... [2025-03-20 10:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:49:03] Production.INFO: Account Balance Start. [2025-03-20 10:49:03] Production.INFO: CreateAllLog Start [2025-03-20 10:49:03] Production.INFO: count ==12 [2025-03-20 10:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:49:03] Production.INFO: 117 [2025-03-20 10:49:03] Production.INFO: count ==23 [2025-03-20 10:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722332') start [2025-03-20 10:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722332') end [2025-03-20 10:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:49:03] Production.INFO: 1 [2025-03-20 10:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:49:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:03] Production.INFO: Date 2025-03-11 [2025-03-20 10:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:03] Production.INFO: ==14542== Releasing lock... [2025-03-20 10:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:49:03] Production.INFO: ==14534== Releasing lock... [2025-03-20 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:49:03] Production.INFO: Date 2025-03-12 [2025-03-20 10:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:03] Production.INFO: Date 2025-03-13 [2025-03-20 10:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:03] Production.INFO: Date 2025-03-14 [2025-03-20 10:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:03] Production.ERROR: done [2025-03-20 10:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:04] Production.ERROR: done [2025-03-20 10:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:49:04] Production.INFO: Total Charge 0 [2025-03-20 10:49:04] Production.INFO: CreateAllLog End [2025-03-20 10:49:04] Production.INFO: Account Balance End. [2025-03-20 10:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:49:04] Production.INFO: ==14538== Releasing lock... [2025-03-20 10:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:49:05 [end_date_ymd] => 2025-03-20 10:49:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:49:05' and `end` < '2025-03-20 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-03-20 10:49:13] Production.ERROR: CronJobId end10 [2025-03-20 10:49:13] Production.INFO: ==14536== Releasing lock... [2025-03-20 10:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:49:15] Production.INFO: call_cost start [2025-03-20 10:49:15] Production.INFO: call_cost end [2025-03-20 10:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:49:16] Production.INFO: ==14532== Releasing lock... [2025-03-20 10:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:49:18] Production.INFO: count ==3131 [2025-03-20 10:49:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:49:05 - End Time 2025-03-20 10:49:05 [2025-03-20 10:49:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722335', 'tblTempUsageDetail_20' ) start [2025-03-20 10:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722335', 'tblTempUsageDetail_20' ) end [2025-03-20 10:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722335', 'tblTempVendorCDR_20' ) start [2025-03-20 10:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722335', 'tblTempVendorCDR_20' ) end [2025-03-20 10:49:19] Production.INFO: ProcessCDR(1,14722335,1,1,2) [2025-03-20 10:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722335', 'tblTempUsageDetail_20' ) start [2025-03-20 10:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722335', 'tblTempUsageDetail_20' ) end [2025-03-20 10:49:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:49:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:49:24] Production.INFO: ==14540== Releasing lock... [2025-03-20 10:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:49:24] Production.INFO: 51.25 MB #Memory Used# [2025-03-20 14:50:01] Production.INFO: ==14612== Lock acquired, processing the job... [2025-03-20 14:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:50:01] Production.INFO: neon service started [2025-03-20 14:50:01] Production.INFO: neon service started [2025-03-20 14:50:01] Production.INFO: ==14612== Releasing lock... [2025-03-20 14:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:50:02] Production.INFO: ==14614== Lock acquired, processing the job... [2025-03-20 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:50:02] Production.INFO: ==14614== Releasing lock... [2025-03-20 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:50:02] Production.INFO: ==14616== Lock acquired, processing the job... [2025-03-20 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:50:02] Production.INFO: ==14616== Releasing lock... [2025-03-20 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:50:03] Production.INFO: ==14619== Lock acquired, processing the job... [2025-03-20 10:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 10:50:03] Production.INFO: ==14621== Lock acquired, processing the job... [2025-03-20 10:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:50:03] Production.INFO: ==14625== Lock acquired, processing the job... [2025-03-20 10:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:50:03] Production.INFO: ==14627== Lock acquired, processing the job... [2025-03-20 10:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 10:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 10:50:03] Production.ERROR: CronJob PID - 14621 [2025-03-20 10:50:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 10:50:03] Production.ERROR: CronJob ID - 5 [2025-03-20 10:50:03] Production.ERROR: CronJob Last Run Time 2025-03-20 10:50:00 [2025-03-20 10:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 10:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 10:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 10:50:03] Production.INFO: ==14619== Releasing lock... [2025-03-20 10:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 10:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 10:50:03] Production.INFO: ==14623== Lock acquired, processing the job... [2025-03-20 10:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:50:04] Production.INFO: Account Balance Start. [2025-03-20 10:50:04] Production.INFO: CreateAllLog Start [2025-03-20 10:50:04] Production.INFO: 117 [2025-03-20 10:50:04] Production.INFO: ==14629== Lock acquired, processing the job... [2025-03-20 10:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:04] Production.INFO: ==14631== Lock acquired, processing the job... [2025-03-20 10:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 10:50:04] Production.INFO: ==14633== Lock acquired, processing the job... [2025-03-20 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 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-03-20 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:04] Production.INFO: count ==12 [2025-03-20 10:50:04] Production.ERROR: done [2025-03-20 10:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:04] Production.INFO: count ==23 [2025-03-20 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722339') start [2025-03-20 10:50:04] Production.INFO: ==14623== Releasing lock... [2025-03-20 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:50:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:04] Production.ERROR: done [2025-03-20 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722339') end [2025-03-20 10:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:50:04] Production.INFO: 1 [2025-03-20 10:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:50:04] Production.ERROR: done [2025-03-20 10:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 10:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 10:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722340', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 10:50:05] Production.INFO: ==14633== Releasing lock... [2025-03-20 10:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:50:05] Production.INFO: Total Charge 0 [2025-03-20 10:50:05] Production.INFO: CreateAllLog End [2025-03-20 10:50:05] Production.INFO: Account Balance End. [2025-03-20 10:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:50:05] Production.INFO: ==14627== Releasing lock... [2025-03-20 10:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:50:06 [end_date_ymd] => 2025-03-20 10:50:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:50:06' and `end` < '2025-03-20 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-03-20 10:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722340', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 10:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 10:50:09] Production.INFO: ProcessCDR(1,14722340,1,1,2) [2025-03-20 10:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722340,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722340,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:50:09] Production.INFO: ==14631== Releasing lock... [2025-03-20 10:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 10:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 10:50:14] Production.ERROR: CronJobId end10 [2025-03-20 10:50:14] Production.INFO: ==14625== Releasing lock... [2025-03-20 10:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:50:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:50:17] Production.INFO: call_cost start [2025-03-20 10:50:17] Production.INFO: call_cost end [2025-03-20 10:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:50:18] Production.INFO: ==14621== Releasing lock... [2025-03-20 10:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:50:19] Production.INFO: count ==3158 [2025-03-20 10:50:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:50:06 - End Time 2025-03-20 10:50:06 [2025-03-20 10:50:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722341', 'tblTempUsageDetail_20' ) start [2025-03-20 10:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722341', 'tblTempUsageDetail_20' ) end [2025-03-20 10:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722341', 'tblTempVendorCDR_20' ) start [2025-03-20 10:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722341', 'tblTempVendorCDR_20' ) end [2025-03-20 10:50:20] Production.INFO: ProcessCDR(1,14722341,1,1,2) [2025-03-20 10:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:50:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722341,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:50:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:50:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722341,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722341', 'tblTempUsageDetail_20' ) start [2025-03-20 10:50:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722341', 'tblTempUsageDetail_20' ) end [2025-03-20 10:50:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:50:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:50:26] Production.INFO: ==14629== Releasing lock... [2025-03-20 10:50:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:50:26] Production.INFO: 52.75 MB #Memory Used# [2025-03-20 14:51:02] Production.INFO: ==14714== Lock acquired, processing the job... [2025-03-20 14:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:51:02] Production.INFO: neon service started [2025-03-20 14:51:02] Production.INFO: neon service started [2025-03-20 14:51:02] Production.INFO: ==14714== Releasing lock... [2025-03-20 14:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:51:02] Production.INFO: ==14716== Lock acquired, processing the job... [2025-03-20 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:51:02] Production.INFO: ==14716== Releasing lock... [2025-03-20 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:51:03] Production.INFO: ==14718== Lock acquired, processing the job... [2025-03-20 14:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:51:03] Production.INFO: ==14718== Releasing lock... [2025-03-20 14:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:51:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:51:03] Production.INFO: ==14722== Lock acquired, processing the job... [2025-03-20 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:51:03] Production.INFO: ==14730== Lock acquired, processing the job... [2025-03-20 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:51:03] Production.INFO: ==14720== Lock acquired, processing the job... [2025-03-20 10:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:51:03] Production.INFO: ==14724== Lock acquired, processing the job... [2025-03-20 10:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:51:03] Production.INFO: ==14726== Lock acquired, processing the job... [2025-03-20 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:51:03] Production.INFO: ==14728== Lock acquired, processing the job... [2025-03-20 10:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:51:04] Production.INFO: ==14722== Releasing lock... [2025-03-20 10:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:51:04] Production.INFO: count ==12 [2025-03-20 10:51:04] Production.INFO: Account Balance Start. [2025-03-20 10:51:04] Production.INFO: CreateAllLog Start [2025-03-20 10:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:51:04] Production.INFO: 117 [2025-03-20 10:51:04] Production.INFO: count ==23 [2025-03-20 10:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722343') start [2025-03-20 10:51:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722343') end [2025-03-20 10:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:51:04] Production.INFO: 1 [2025-03-20 10:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.INFO: ==14730== Releasing lock... [2025-03-20 10:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:51:04] Production.ERROR: done [2025-03-20 10:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.ERROR: done [2025-03-20 10:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:51:04] Production.INFO: Total Charge 0 [2025-03-20 10:51:04] Production.INFO: CreateAllLog End [2025-03-20 10:51:05] Production.INFO: Account Balance End. [2025-03-20 10:51:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:51:05] Production.INFO: ==14726== Releasing lock... [2025-03-20 10:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:51:05 [end_date_ymd] => 2025-03-20 10:51:05 [RateCDR] => 1 ) [2025-03-20 10:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:51:05' and `end` < '2025-03-20 10:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:51:12] Production.ERROR: CronJobId end10 [2025-03-20 10:51:12] Production.INFO: ==14724== Releasing lock... [2025-03-20 10:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:51:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:51:15] Production.INFO: call_cost start [2025-03-20 10:51:15] Production.INFO: call_cost end [2025-03-20 10:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:51:16] Production.INFO: ==14720== Releasing lock... [2025-03-20 10:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:51:18] Production.INFO: count ==3232 [2025-03-20 10:51:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:51:05 - End Time 2025-03-20 10:51:05 [2025-03-20 10:51:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722346', 'tblTempUsageDetail_20' ) start [2025-03-20 10:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722346', 'tblTempUsageDetail_20' ) end [2025-03-20 10:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722346', 'tblTempVendorCDR_20' ) start [2025-03-20 10:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722346', 'tblTempVendorCDR_20' ) end [2025-03-20 10:51:20] Production.INFO: ProcessCDR(1,14722346,1,1,2) [2025-03-20 10:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:51:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722346,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:51:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722346,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722346', 'tblTempUsageDetail_20' ) start [2025-03-20 10:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722346', 'tblTempUsageDetail_20' ) end [2025-03-20 10:51:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:51:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:51:24] Production.INFO: ==14728== Releasing lock... [2025-03-20 10:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:51:24] Production.INFO: 53.5 MB #Memory Used# [2025-03-20 14:52:01] Production.INFO: ==14806== Lock acquired, processing the job... [2025-03-20 14:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:52:01] Production.INFO: neon service started [2025-03-20 14:52:01] Production.INFO: neon service started [2025-03-20 14:52:01] Production.INFO: ==14806== Releasing lock... [2025-03-20 14:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:52:02] Production.INFO: ==14808== Lock acquired, processing the job... [2025-03-20 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:52:02] Production.INFO: ==14810== Lock acquired, processing the job... [2025-03-20 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:52:02] Production.INFO: ==14810== Releasing lock... [2025-03-20 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:52:02] Production.INFO: ==14808== Releasing lock... [2025-03-20 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:52:03] Production.INFO: ==14813== Lock acquired, processing the job... [2025-03-20 10:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:52:03] Production.INFO: ==14815== Lock acquired, processing the job... [2025-03-20 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:52:04] Production.INFO: ==14817== Lock acquired, processing the job... [2025-03-20 10:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:52:04] Production.INFO: ==14821== Lock acquired, processing the job... [2025-03-20 10:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:52:04] Production.INFO: ==14823== Lock acquired, processing the job... [2025-03-20 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:52:04] Production.INFO: ==14819== Lock acquired, processing the job... [2025-03-20 10:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:52:04] Production.INFO: Account Balance Start. [2025-03-20 10:52:04] Production.INFO: CreateAllLog Start [2025-03-20 10:52:04] Production.INFO: 117 [2025-03-20 10:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.INFO: count ==12 [2025-03-20 10:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 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-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.INFO: ==14815== Releasing lock... [2025-03-20 10:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:52:04] Production.INFO: count ==23 [2025-03-20 10:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722350') start [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.ERROR: done [2025-03-20 10:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722350') end [2025-03-20 10:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:52:04] Production.INFO: 1 [2025-03-20 10:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.INFO: ==14823== Releasing lock... [2025-03-20 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.ERROR: done [2025-03-20 10:52:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:52:04] Production.INFO: Total Charge 0 [2025-03-20 10:52:04] Production.INFO: CreateAllLog End [2025-03-20 10:52:05] Production.INFO: Account Balance End. [2025-03-20 10:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:52:05] Production.INFO: ==14819== Releasing lock... [2025-03-20 10:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:52:06 [end_date_ymd] => 2025-03-20 10:52:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:52:06' and `end` < '2025-03-20 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-03-20 10:52:14] Production.ERROR: CronJobId end10 [2025-03-20 10:52:14] Production.INFO: ==14817== Releasing lock... [2025-03-20 10:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:52:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:52:15] Production.INFO: call_cost start [2025-03-20 10:52:15] Production.INFO: call_cost end [2025-03-20 10:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:52:16] Production.INFO: ==14813== Releasing lock... [2025-03-20 10:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:52:19] Production.INFO: count ==3244 [2025-03-20 10:52:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:52:06 - End Time 2025-03-20 10:52:06 [2025-03-20 10:52:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722351', 'tblTempUsageDetail_20' ) start [2025-03-20 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722351', 'tblTempUsageDetail_20' ) end [2025-03-20 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722351', 'tblTempVendorCDR_20' ) start [2025-03-20 10:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722351', 'tblTempVendorCDR_20' ) end [2025-03-20 10:52:20] Production.INFO: ProcessCDR(1,14722351,1,1,2) [2025-03-20 10:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722351,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722351,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722351', 'tblTempUsageDetail_20' ) start [2025-03-20 10:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722351', 'tblTempUsageDetail_20' ) end [2025-03-20 10:52:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:52:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:52:25] Production.INFO: ==14821== Releasing lock... [2025-03-20 10:52:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:52:25] Production.INFO: 53.25 MB #Memory Used# [2025-03-20 14:53:01] Production.INFO: ==14901== Lock acquired, processing the job... [2025-03-20 14:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:53:01] Production.INFO: neon service started [2025-03-20 14:53:01] Production.INFO: neon service started [2025-03-20 14:53:01] Production.INFO: ==14901== Releasing lock... [2025-03-20 14:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:53:01] Production.INFO: ==14903== Lock acquired, processing the job... [2025-03-20 10:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:53:02] Production.INFO: ==14903== Releasing lock... [2025-03-20 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:53:02] Production.INFO: ==14905== Lock acquired, processing the job... [2025-03-20 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:53:02] Production.INFO: ==14905== Releasing lock... [2025-03-20 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:53:02] Production.INFO: ==14907== Lock acquired, processing the job... [2025-03-20 10:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:53:02] Production.INFO: ==14911== Lock acquired, processing the job... [2025-03-20 10:53:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:53:02] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:53:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:53:02] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:53:02] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:53:02] Production.INFO: ==14915== Lock acquired, processing the job... [2025-03-20 10:53:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:53:03] Production.INFO: ==14909== Lock acquired, processing the job... [2025-03-20 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:53:03] Production.INFO: ==14913== Lock acquired, processing the job... [2025-03-20 10:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:53:03] Production.INFO: ==14918== Lock acquired, processing the job... [2025-03-20 10:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:53:03] Production.ERROR: done [2025-03-20 10:53:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:53:03] Production.INFO: Account Balance Start. [2025-03-20 10:53:03] Production.INFO: CreateAllLog Start [2025-03-20 10:53:03] Production.INFO: 117 [2025-03-20 10:53:03] Production.ERROR: done [2025-03-20 10:53:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 10:53:03] Production.INFO: count ==12 [2025-03-20 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-03-20 10:53:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:53:03] Production.INFO: count ==23 [2025-03-20 10:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722355') start [2025-03-20 10:53:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:03] Production.INFO: Date 2025-03-11 [2025-03-20 10:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722355') end [2025-03-20 10:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:53:03] Production.INFO: 1 [2025-03-20 10:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:53:03] Production.INFO: Date 2025-03-12 [2025-03-20 10:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:03] Production.INFO: ==14909== Releasing lock... [2025-03-20 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:53:03] Production.INFO: Date 2025-03-13 [2025-03-20 10:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:03] Production.INFO: ==14918== Releasing lock... [2025-03-20 10:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:53:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:53:03] Production.INFO: Date 2025-03-14 [2025-03-20 10:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:03] Production.INFO: Date 2025-03-15 [2025-03-20 10:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:03] Production.INFO: Date 2025-03-16 [2025-03-20 10:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:03] Production.INFO: Date 2025-03-17 [2025-03-20 10:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:53:04] Production.INFO: Total Charge 0 [2025-03-20 10:53:04] Production.INFO: CreateAllLog End [2025-03-20 10:53:04] Production.INFO: Account Balance End. [2025-03-20 10:53:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:53:04] Production.INFO: ==14913== Releasing lock... [2025-03-20 10:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:53:05 [end_date_ymd] => 2025-03-20 10:53:05 [RateCDR] => 1 ) [2025-03-20 10:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:53:05' and `end` < '2025-03-20 10:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:53:11] Production.ERROR: CronJobId end10 [2025-03-20 10:53:11] Production.INFO: ==14911== Releasing lock... [2025-03-20 10:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:53:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:53:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:53:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:53:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:53:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:53:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:53:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:53:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:53:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:53:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:53:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:53:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:53:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:53:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:53:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:53:14] Production.INFO: call_cost start [2025-03-20 10:53:14] Production.INFO: call_cost end [2025-03-20 10:53:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:53:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:53:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:53:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:53:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:53:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:53:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:53:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:53:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:53:15] Production.INFO: ==14907== Releasing lock... [2025-03-20 10:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:53:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:53:17] Production.INFO: count ==3255 [2025-03-20 10:53:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:53:05 - End Time 2025-03-20 10:53:05 [2025-03-20 10:53:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722356', 'tblTempUsageDetail_20' ) start [2025-03-20 10:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722356', 'tblTempUsageDetail_20' ) end [2025-03-20 10:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722356', 'tblTempVendorCDR_20' ) start [2025-03-20 10:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722356', 'tblTempVendorCDR_20' ) end [2025-03-20 10:53:19] Production.INFO: ProcessCDR(1,14722356,1,1,2) [2025-03-20 10:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722356,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722356,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722356', 'tblTempUsageDetail_20' ) start [2025-03-20 10:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722356', 'tblTempUsageDetail_20' ) end [2025-03-20 10:53:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:53:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:53:24] Production.INFO: ==14915== Releasing lock... [2025-03-20 10:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:53:24] Production.INFO: 53.25 MB #Memory Used# [2025-03-20 14:54:01] Production.INFO: ==14998== Lock acquired, processing the job... [2025-03-20 14:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:54:01] Production.INFO: neon service started [2025-03-20 14:54:01] Production.INFO: neon service started [2025-03-20 14:54:01] Production.INFO: ==14998== Releasing lock... [2025-03-20 14:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:54:02] Production.INFO: ==15003== Lock acquired, processing the job... [2025-03-20 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:54:02] Production.INFO: ==15003== Releasing lock... [2025-03-20 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:54:02] Production.INFO: ==15001== Lock acquired, processing the job... [2025-03-20 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:54:02] Production.INFO: ==15001== Releasing lock... [2025-03-20 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:54:03] Production.INFO: ==15011== Lock acquired, processing the job... [2025-03-20 10:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:54:03] Production.INFO: ==15013== Lock acquired, processing the job... [2025-03-20 10:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:54:03] Production.INFO: Account Balance Start. [2025-03-20 10:54:03] Production.INFO: CreateAllLog Start [2025-03-20 10:54:03] Production.INFO: 117 [2025-03-20 10:54:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:03] Production.INFO: ==15005== Lock acquired, processing the job... [2025-03-20 10:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:54:03] Production.INFO: ==15007== Lock acquired, processing the job... [2025-03-20 10:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:54:03] Production.INFO: ==15009== Lock acquired, processing the job... [2025-03-20 10:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:54:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:54:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:03] Production.INFO: ==15015== Lock acquired, processing the job... [2025-03-20 10:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:04] Production.ERROR: done [2025-03-20 10:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:04] Production.INFO: count ==12 [2025-03-20 10:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:54:04] Production.INFO: count ==23 [2025-03-20 10:54:04] Production.ERROR: done [2025-03-20 10:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:04] Production.INFO: ==15007== Releasing lock... [2025-03-20 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722360') start [2025-03-20 10:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:54:04] Production.INFO: Total Charge 0 [2025-03-20 10:54:04] Production.INFO: CreateAllLog End [2025-03-20 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722360') end [2025-03-20 10:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:54:04] Production.INFO: 1 [2025-03-20 10:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:54:04] Production.INFO: ==15015== Releasing lock... [2025-03-20 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:54:04] Production.INFO: Account Balance End. [2025-03-20 10:54:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:54:04] Production.INFO: ==15011== Releasing lock... [2025-03-20 10:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:54:05 [end_date_ymd] => 2025-03-20 10:54:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:54:05' and `end` < '2025-03-20 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-03-20 10:54:12] Production.ERROR: CronJobId end10 [2025-03-20 10:54:12] Production.INFO: ==15009== Releasing lock... [2025-03-20 10:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:54:15] Production.INFO: call_cost start [2025-03-20 10:54:15] Production.INFO: call_cost end [2025-03-20 10:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:54:16] Production.INFO: ==15005== Releasing lock... [2025-03-20 10:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:54:18] Production.INFO: count ==3268 [2025-03-20 10:54:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:54:05 - End Time 2025-03-20 10:54:05 [2025-03-20 10:54:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722361', 'tblTempUsageDetail_20' ) start [2025-03-20 10:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722361', 'tblTempUsageDetail_20' ) end [2025-03-20 10:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722361', 'tblTempVendorCDR_20' ) start [2025-03-20 10:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722361', 'tblTempVendorCDR_20' ) end [2025-03-20 10:54:20] Production.INFO: ProcessCDR(1,14722361,1,1,2) [2025-03-20 10:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722361,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722361,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722361', 'tblTempUsageDetail_20' ) start [2025-03-20 10:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722361', 'tblTempUsageDetail_20' ) end [2025-03-20 10:54:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:54:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:54:26] Production.INFO: ==15013== Releasing lock... [2025-03-20 10:54:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:54:26] Production.INFO: 52.25 MB #Memory Used# [2025-03-20 14:55:02] Production.INFO: ==15087== Lock acquired, processing the job... [2025-03-20 14:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:55:02] Production.INFO: neon service started [2025-03-20 14:55:02] Production.INFO: neon service started [2025-03-20 14:55:02] Production.INFO: ==15087== Releasing lock... [2025-03-20 14:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:55:02] Production.INFO: ==15091== Lock acquired, processing the job... [2025-03-20 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:55:02] Production.INFO: ==15091== Releasing lock... [2025-03-20 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:55:02] Production.INFO: ==15089== Lock acquired, processing the job... [2025-03-20 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:55:03] Production.INFO: ==15089== Releasing lock... [2025-03-20 10:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:55:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:55:03] Production.INFO: ==15096== Lock acquired, processing the job... [2025-03-20 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:55:04] Production.INFO: ==15098== Lock acquired, processing the job... [2025-03-20 10:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:55:04] Production.INFO: ==15102== Lock acquired, processing the job... [2025-03-20 10:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:55:04] Production.INFO: ==15096== Releasing lock... [2025-03-20 10:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:55:04] Production.INFO: ==15094== Lock acquired, processing the job... [2025-03-20 10:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:55:04] Production.INFO: ==15104== Lock acquired, processing the job... [2025-03-20 10:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:55:04] Production.INFO: ==15100== Lock acquired, processing the job... [2025-03-20 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:55:04] Production.INFO: Account Balance Start. [2025-03-20 10:55:04] Production.INFO: CreateAllLog Start [2025-03-20 10:55:04] Production.INFO: 117 [2025-03-20 10:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.INFO: count ==12 [2025-03-20 10:55:04] Production.ERROR: done [2025-03-20 10:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.INFO: count ==23 [2025-03-20 10:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722364') start [2025-03-20 10:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722364') end [2025-03-20 10:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:55:04] Production.INFO: 1 [2025-03-20 10:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:55:04] Production.INFO: Total Charge 0 [2025-03-20 10:55:04] Production.INFO: CreateAllLog End [2025-03-20 10:55:04] Production.INFO: ==15104== Releasing lock... [2025-03-20 10:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:55:05] Production.ERROR: done [2025-03-20 10:55:05] Production.INFO: Account Balance End. [2025-03-20 10:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:55:05] Production.INFO: ==15100== Releasing lock... [2025-03-20 10:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:55:05 [end_date_ymd] => 2025-03-20 10:55:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 07:55:05' and `end` < '2025-03-20 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-03-20 10:55:13] Production.ERROR: CronJobId end10 [2025-03-20 10:55:13] Production.INFO: ==15098== Releasing lock... [2025-03-20 10:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:55:15] Production.INFO: call_cost start [2025-03-20 10:55:15] Production.INFO: call_cost end [2025-03-20 10:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:55:16] Production.INFO: ==15094== Releasing lock... [2025-03-20 10:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:55:18] Production.INFO: count ==3282 [2025-03-20 10:55:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:55:05 - End Time 2025-03-20 10:55:05 [2025-03-20 10:55:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722366', 'tblTempUsageDetail_20' ) start [2025-03-20 10:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722366', 'tblTempUsageDetail_20' ) end [2025-03-20 10:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722366', 'tblTempVendorCDR_20' ) start [2025-03-20 10:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722366', 'tblTempVendorCDR_20' ) end [2025-03-20 10:55:20] Production.INFO: ProcessCDR(1,14722366,1,1,2) [2025-03-20 10:55:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:55:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:55:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:55:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:55:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722366', 'tblTempUsageDetail_20' ) start [2025-03-20 10:55:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722366', 'tblTempUsageDetail_20' ) end [2025-03-20 10:55:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:55:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:55:25] Production.INFO: ==15102== Releasing lock... [2025-03-20 10:55:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:55:25] Production.INFO: 52.5 MB #Memory Used# [2025-03-20 14:56:01] Production.INFO: ==15188== Lock acquired, processing the job... [2025-03-20 14:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:56:01] Production.INFO: neon service started [2025-03-20 14:56:01] Production.INFO: neon service started [2025-03-20 14:56:01] Production.INFO: ==15188== Releasing lock... [2025-03-20 14:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:56:02] Production.INFO: ==15192== Lock acquired, processing the job... [2025-03-20 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:56:02] Production.INFO: ==15192== Releasing lock... [2025-03-20 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:56:02] Production.INFO: ==15190== Lock acquired, processing the job... [2025-03-20 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:56:02] Production.INFO: ==15190== Releasing lock... [2025-03-20 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:56:03] Production.INFO: ==15201== Lock acquired, processing the job... [2025-03-20 10:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:56:03] Production.INFO: ==15203== Lock acquired, processing the job... [2025-03-20 10:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:56:03] Production.INFO: Account Balance Start. [2025-03-20 10:56:03] Production.INFO: CreateAllLog Start [2025-03-20 10:56:03] Production.INFO: 117 [2025-03-20 10:56:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:03] Production.INFO: Date 2025-03-09 [2025-03-20 10:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:56:03] Production.INFO: ==15195== Lock acquired, processing the job... [2025-03-20 10:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:56:03] Production.INFO: ==15197== Lock acquired, processing the job... [2025-03-20 10:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:03] Production.INFO: Date 2025-03-11 [2025-03-20 10:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:03] Production.INFO: ==15199== Lock acquired, processing the job... [2025-03-20 10:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:56:03] Production.INFO: Date 2025-03-12 [2025-03-20 10:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:03] Production.INFO: Date 2025-03-13 [2025-03-20 10:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:03] Production.INFO: ==15205== Lock acquired, processing the job... [2025-03-20 10:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:56:03] Production.INFO: Date 2025-03-14 [2025-03-20 10:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:04] Production.ERROR: done [2025-03-20 10:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:04] Production.INFO: ==15197== Releasing lock... [2025-03-20 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:56:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:56:04] Production.INFO: count ==23 [2025-03-20 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722370') start [2025-03-20 10:56:04] Production.ERROR: done [2025-03-20 10:56:04] Production.INFO: Total Charge 0 [2025-03-20 10:56:04] Production.INFO: CreateAllLog End [2025-03-20 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722370') end [2025-03-20 10:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:56:04] Production.INFO: 1 [2025-03-20 10:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:56:04] Production.INFO: ==15205== Releasing lock... [2025-03-20 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:56:04] Production.INFO: Account Balance End. [2025-03-20 10:56:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:56:04] Production.INFO: ==15201== Releasing lock... [2025-03-20 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:56:05 [end_date_ymd] => 2025-03-20 10:56:05 [RateCDR] => 1 ) [2025-03-20 10:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:56:05' and `end` < '2025-03-20 10:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:56:13] Production.ERROR: CronJobId end10 [2025-03-20 10:56:13] Production.INFO: ==15199== Releasing lock... [2025-03-20 10:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:56:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:56:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:56:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:56:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:56:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:56:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:56:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:56:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:56:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:56:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:56:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:56:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:56:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:56:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:56:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:56:15] Production.INFO: call_cost start [2025-03-20 10:56:15] Production.INFO: call_cost end [2025-03-20 10:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:56:16] Production.INFO: ==15195== Releasing lock... [2025-03-20 10:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:56:18] Production.INFO: count ==3293 [2025-03-20 10:56:19] Production.ERROR: pbx CDR StartTime 2025-03-20 07:56:05 - End Time 2025-03-20 10:56:05 [2025-03-20 10:56:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722371', 'tblTempUsageDetail_20' ) start [2025-03-20 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722371', 'tblTempUsageDetail_20' ) end [2025-03-20 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722371', 'tblTempVendorCDR_20' ) start [2025-03-20 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722371', 'tblTempVendorCDR_20' ) end [2025-03-20 10:56:19] Production.INFO: ProcessCDR(1,14722371,1,1,2) [2025-03-20 10:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722371', 'tblTempUsageDetail_20' ) start [2025-03-20 10:56:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722371', 'tblTempUsageDetail_20' ) end [2025-03-20 10:56:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:56:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:56:25] Production.INFO: ==15203== Releasing lock... [2025-03-20 10:56:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:56:25] Production.INFO: 53 MB #Memory Used# [2025-03-20 14:57:02] Production.INFO: ==15274== Lock acquired, processing the job... [2025-03-20 14:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:57:02] Production.INFO: neon service started [2025-03-20 14:57:02] Production.INFO: neon service started [2025-03-20 14:57:02] Production.INFO: ==15274== Releasing lock... [2025-03-20 14:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:57:02] Production.INFO: ==15278== Lock acquired, processing the job... [2025-03-20 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:57:02] Production.INFO: ==15278== Releasing lock... [2025-03-20 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:57:02] Production.INFO: ==15276== Lock acquired, processing the job... [2025-03-20 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 10:57:03] Production.INFO: ==15276== Releasing lock... [2025-03-20 10:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:57:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:57:03] Production.INFO: ==15285== Lock acquired, processing the job... [2025-03-20 10:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:57:04] Production.INFO: ==15289== Lock acquired, processing the job... [2025-03-20 10:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:57:04] Production.INFO: ==15281== Lock acquired, processing the job... [2025-03-20 10:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:57:04] Production.INFO: ==15283== Lock acquired, processing the job... [2025-03-20 10:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:57:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:57:04] Production.INFO: ==15287== Lock acquired, processing the job... [2025-03-20 10:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:57:04] Production.INFO: ==15291== Lock acquired, processing the job... [2025-03-20 10:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:57:04] Production.INFO: Account Balance Start. [2025-03-20 10:57:04] Production.INFO: CreateAllLog Start [2025-03-20 10:57:04] Production.INFO: 117 [2025-03-20 10:57:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:04] Production.ERROR: done [2025-03-20 10:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:04] Production.INFO: count ==12 [2025-03-20 10:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 10:57:04] Production.INFO: ==15283== Releasing lock... [2025-03-20 10:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:57:04] Production.INFO: count ==23 [2025-03-20 10:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722375') start [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:04] Production.ERROR: done [2025-03-20 10:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722375') end [2025-03-20 10:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:57:04] Production.INFO: 1 [2025-03-20 10:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:57:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:57:05] Production.INFO: ==15291== Releasing lock... [2025-03-20 10:57:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:57:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:57:05] Production.INFO: Total Charge 0 [2025-03-20 10:57:05] Production.INFO: CreateAllLog End [2025-03-20 10:57:05] Production.INFO: Account Balance End. [2025-03-20 10:57:05] Production.ERROR: CronJobId end 12 [2025-03-20 10:57:05] Production.INFO: ==15287== Releasing lock... [2025-03-20 10:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:57:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:57:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:57:06 [end_date_ymd] => 2025-03-20 10:57:06 [RateCDR] => 1 ) [2025-03-20 10:57:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:57:06' and `end` < '2025-03-20 10:57:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:57:12] Production.ERROR: CronJobId end10 [2025-03-20 10:57:12] Production.INFO: ==15285== Releasing lock... [2025-03-20 10:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:57:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:57:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:57:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:57:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:57:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:57:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:57:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:57:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:57:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:57:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:57:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:57:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:57:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:57:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:57:15] Production.INFO: call_cost start [2025-03-20 10:57:15] Production.INFO: call_cost end [2025-03-20 10:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:57:16] Production.INFO: ==15281== Releasing lock... [2025-03-20 10:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:57:19] Production.INFO: count ==3305 [2025-03-20 10:57:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:57:06 - End Time 2025-03-20 10:57:06 [2025-03-20 10:57:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722376', 'tblTempUsageDetail_20' ) start [2025-03-20 10:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722376', 'tblTempUsageDetail_20' ) end [2025-03-20 10:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722376', 'tblTempVendorCDR_20' ) start [2025-03-20 10:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722376', 'tblTempVendorCDR_20' ) end [2025-03-20 10:57:20] Production.INFO: ProcessCDR(1,14722376,1,1,2) [2025-03-20 10:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:57:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:57:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:57:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722376', 'tblTempUsageDetail_20' ) start [2025-03-20 10:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722376', 'tblTempUsageDetail_20' ) end [2025-03-20 10:57:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:57:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:57:25] Production.INFO: ==15289== Releasing lock... [2025-03-20 10:57:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:57:25] Production.INFO: 52.75 MB #Memory Used# [2025-03-20 14:58:01] Production.INFO: ==15368== Lock acquired, processing the job... [2025-03-20 14:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:58:01] Production.INFO: neon service started [2025-03-20 14:58:01] Production.INFO: neon service started [2025-03-20 14:58:01] Production.INFO: ==15368== Releasing lock... [2025-03-20 14:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:58:02] Production.INFO: ==15370== Lock acquired, processing the job... [2025-03-20 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:58:02] Production.INFO: ==15372== Lock acquired, processing the job... [2025-03-20 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:58:02] Production.INFO: ==15372== Releasing lock... [2025-03-20 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:58:02] Production.INFO: ==15370== Releasing lock... [2025-03-20 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:58:03] Production.INFO: ==15381== Lock acquired, processing the job... [2025-03-20 10:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:58:03] Production.INFO: ==15385== Lock acquired, processing the job... [2025-03-20 10:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:58:03] Production.INFO: ==15375== Lock acquired, processing the job... [2025-03-20 10:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:58:03] Production.INFO: ==15379== Lock acquired, processing the job... [2025-03-20 10:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:58:03] Production.INFO: Account Balance Start. [2025-03-20 10:58:03] Production.INFO: CreateAllLog Start [2025-03-20 10:58:03] Production.INFO: 117 [2025-03-20 10:58:03] Production.INFO: ==15377== Lock acquired, processing the job... [2025-03-20 10:58:03] Production.INFO: Date 2025-03-08 [2025-03-20 10:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 10:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:58:03] Production.INFO: ==15383== Lock acquired, processing the job... [2025-03-20 10:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:58:03] Production.INFO: count ==12 [2025-03-20 10:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:58:03] Production.INFO: Date 2025-03-09 [2025-03-20 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-03-20 10:58:03] Production.INFO: count ==23 [2025-03-20 10:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722378') start [2025-03-20 10:58:03] Production.INFO: Date 2025-03-10 [2025-03-20 10:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722378') end [2025-03-20 10:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:58:04] Production.INFO: 1 [2025-03-20 10:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:04] Production.INFO: ==15385== Releasing lock... [2025-03-20 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 10:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:58:04] Production.ERROR: done [2025-03-20 10:58:04] Production.INFO: Total Charge 0 [2025-03-20 10:58:04] Production.INFO: CreateAllLog End [2025-03-20 10:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:58:04] Production.INFO: ==15377== Releasing lock... [2025-03-20 10:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:58:04] Production.ERROR: done [2025-03-20 10:58:04] Production.INFO: Account Balance End. [2025-03-20 10:58:04] Production.ERROR: CronJobId end 12 [2025-03-20 10:58:04] Production.INFO: ==15381== Releasing lock... [2025-03-20 10:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:58:05 [end_date_ymd] => 2025-03-20 10:58:05 [RateCDR] => 1 ) [2025-03-20 10:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:58:05' and `end` < '2025-03-20 10:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:58:13] Production.ERROR: CronJobId end10 [2025-03-20 10:58:13] Production.INFO: ==15379== Releasing lock... [2025-03-20 10:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:58:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:58:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:58:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:58:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:58:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:58:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:58:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:58:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:58:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:58:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:58:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:58:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:58:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:58:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:58:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:58:15] Production.INFO: call_cost start [2025-03-20 10:58:15] Production.INFO: call_cost end [2025-03-20 10:58:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:58:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:58:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:58:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:58:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:58:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:58:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:58:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:58:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:58:16] Production.INFO: ==15375== Releasing lock... [2025-03-20 10:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:58:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:58:18] Production.INFO: count ==3335 [2025-03-20 10:58:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:58:05 - End Time 2025-03-20 10:58:05 [2025-03-20 10:58:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722381', 'tblTempUsageDetail_20' ) start [2025-03-20 10:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722381', 'tblTempUsageDetail_20' ) end [2025-03-20 10:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722381', 'tblTempVendorCDR_20' ) start [2025-03-20 10:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722381', 'tblTempVendorCDR_20' ) end [2025-03-20 10:58:20] Production.INFO: ProcessCDR(1,14722381,1,1,2) [2025-03-20 10:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:58:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:58:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:58:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722381', 'tblTempUsageDetail_20' ) start [2025-03-20 10:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722381', 'tblTempUsageDetail_20' ) end [2025-03-20 10:58:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:58:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:58:26] Production.INFO: ==15383== Releasing lock... [2025-03-20 10:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:58:26] Production.INFO: 53 MB #Memory Used# [2025-03-20 14:59:02] Production.INFO: ==15457== Lock acquired, processing the job... [2025-03-20 14:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 14:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 14:59:02] Production.INFO: neon service started [2025-03-20 14:59:02] Production.INFO: neon service started [2025-03-20 14:59:02] Production.INFO: ==15457== Releasing lock... [2025-03-20 14:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 14:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 10:59:02] Production.INFO: ==15459== Lock acquired, processing the job... [2025-03-20 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:59:02] Production.INFO: ==15461== Lock acquired, processing the job... [2025-03-20 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:59:03] Production.INFO: ==15461== Releasing lock... [2025-03-20 14:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 14:59:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 10:59:03] Production.INFO: ==15459== Releasing lock... [2025-03-20 10:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 10:59:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 10:59:04] Production.INFO: ==15464== Lock acquired, processing the job... [2025-03-20 10:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 10:59:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 10:59:04] Production.INFO: ==15468== Lock acquired, processing the job... [2025-03-20 10:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 10:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 10:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 10:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 10:59:04] Production.INFO: ==15472== Lock acquired, processing the job... [2025-03-20 10:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 10:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 10:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 10:59:04] Production.INFO: ==15466== Lock acquired, processing the job... [2025-03-20 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 10:59:04] Production.INFO: ==15470== Lock acquired, processing the job... [2025-03-20 10:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 10:59:04] Production.ERROR: done [2025-03-20 10:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 10:59:04] Production.INFO: ==15474== Lock acquired, processing the job... [2025-03-20 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 10:59:04] Production.INFO: Account Balance Start. [2025-03-20 10:59:04] Production.INFO: CreateAllLog Start [2025-03-20 10:59:04] Production.INFO: 117 [2025-03-20 10:59:04] Production.INFO: Date 2025-03-08 [2025-03-20 10:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:04] Production.ERROR: done [2025-03-20 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-03-20 10:59:04] Production.INFO: ==15466== Releasing lock... [2025-03-20 10:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 10:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 10:59:04] Production.INFO: count ==12 [2025-03-20 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-03-20 10:59:04] Production.INFO: count ==23 [2025-03-20 10:59:04] Production.INFO: Date 2025-03-09 [2025-03-20 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722386') start [2025-03-20 10:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722386') end [2025-03-20 10:59:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 10:59:05] Production.INFO: 1 [2025-03-20 10:59:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 10:59:05] Production.INFO: ==15474== Releasing lock... [2025-03-20 10:59:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 10:59:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 10:59:05] Production.INFO: Date 2025-03-10 [2025-03-20 10:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.INFO: Date 2025-03-11 [2025-03-20 10:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.INFO: Date 2025-03-12 [2025-03-20 10:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.INFO: Date 2025-03-13 [2025-03-20 10:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.INFO: Date 2025-03-14 [2025-03-20 10:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.INFO: Date 2025-03-15 [2025-03-20 10:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.INFO: Date 2025-03-16 [2025-03-20 10:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.INFO: Date 2025-03-17 [2025-03-20 10:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.INFO: Date 2025-03-18 [2025-03-20 10:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.INFO: Date 2025-03-19 [2025-03-20 10:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.INFO: Date 2025-03-20 [2025-03-20 10:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 10:59:05] Production.INFO: Total Charge 0 [2025-03-20 10:59:05] Production.INFO: CreateAllLog End [2025-03-20 10:59:05] Production.INFO: Account Balance End. [2025-03-20 10:59:06] Production.ERROR: CronJobId end 12 [2025-03-20 10:59:06] Production.INFO: ==15470== Releasing lock... [2025-03-20 10:59:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 10:59:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 10:59:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 07:59:06 [end_date_ymd] => 2025-03-20 10:59:06 [RateCDR] => 1 ) [2025-03-20 10:59:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 07:59:06' and `end` < '2025-03-20 10:59:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 10:59:14] Production.ERROR: CronJobId end10 [2025-03-20 10:59:14] Production.INFO: ==15468== Releasing lock... [2025-03-20 10:59:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 10:59:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 10:59:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 10:59:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 10:59:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 10:59:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 10:59:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 10:59:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 10:59:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 10:59:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 10:59:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 10:59:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 10:59:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 10:59:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 10:59:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 10:59:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 10:59:16] Production.INFO: call_cost start [2025-03-20 10:59:16] Production.INFO: call_cost end [2025-03-20 10:59:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 10:59:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 10:59:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 10:59:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 10:59:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 10:59:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 10:59:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 10:59:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 10:59:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 10:59:17] Production.INFO: ==15464== Releasing lock... [2025-03-20 10:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 10:59:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 10:59:19] Production.INFO: count ==3331 [2025-03-20 10:59:20] Production.ERROR: pbx CDR StartTime 2025-03-20 07:59:06 - End Time 2025-03-20 10:59:06 [2025-03-20 10:59:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722385', 'tblTempUsageDetail_20' ) start [2025-03-20 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722385', 'tblTempUsageDetail_20' ) end [2025-03-20 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722385', 'tblTempVendorCDR_20' ) start [2025-03-20 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722385', 'tblTempVendorCDR_20' ) end [2025-03-20 10:59:20] Production.INFO: ProcessCDR(1,14722385,1,1,2) [2025-03-20 10:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 10:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 10:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722385', 'tblTempUsageDetail_20' ) start [2025-03-20 10:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722385', 'tblTempUsageDetail_20' ) end [2025-03-20 10:59:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 10:59:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 10:59:24] Production.INFO: ==15472== Releasing lock... [2025-03-20 10:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 10:59:24] Production.INFO: 52.75 MB #Memory Used# [2025-03-20 15:00:01] Production.INFO: ==15546== Lock acquired, processing the job... [2025-03-20 15:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:00:01] Production.INFO: neon service started [2025-03-20 15:00:01] Production.INFO: neon service started [2025-03-20 15:00:01] Production.INFO: ==15546== Releasing lock... [2025-03-20 15:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:00:02] Production.INFO: ==15550== Lock acquired, processing the job... [2025-03-20 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:00:02] Production.INFO: ==15550== Releasing lock... [2025-03-20 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:00:02] Production.INFO: ==15548== Lock acquired, processing the job... [2025-03-20 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:00:02] Production.INFO: ==15548== Releasing lock... [2025-03-20 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:00:04] Production.INFO: ==15553== Lock acquired, processing the job... [2025-03-20 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 11:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 11:00:04] Production.INFO: ==15559== Lock acquired, processing the job... [2025-03-20 11:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 11:00:04] Production.INFO: ==15553== Releasing lock... [2025-03-20 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 11:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 11:00:04] Production.INFO: ==15555== Lock acquired, processing the job... [2025-03-20 11:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:00:04] Production.INFO: ==15557== Lock acquired, processing the job... [2025-03-20 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:00:04] Production.INFO: ==15565== Lock acquired, processing the job... [2025-03-20 11:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:00:04] Production.INFO: ==15569== Lock acquired, processing the job... [2025-03-20 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:00:04] Production.INFO: ==15561== Lock acquired, processing the job... [2025-03-20 11:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts# [2025-03-20 11:00:04] Production.INFO: ==15563== Lock acquired, processing the job... [2025-03-20 11:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 11:00:04] Production.INFO: count ==12 [2025-03-20 11:00:04] Production.INFO: ==15567== Lock acquired, processing the job... [2025-03-20 11:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 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-03-20 11:00:04] Production.INFO: count ==23 [2025-03-20 11:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722389') start [2025-03-20 11:00:04] Production.INFO: Account Balance Start. [2025-03-20 11:00:04] Production.INFO: CreateAllLog Start [2025-03-20 11:00:04] Production.INFO: 117 [2025-03-20 11:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:04] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' ) [2025-03-20 11:00:05] Production.ERROR: done [2025-03-20 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' ) [2025-03-20 11:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:00:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:00:05] Production.INFO: Date 2025-03-09 [2025-03-20 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' ) [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' ) [2025-03-20 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' ) [2025-03-20 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' ) [2025-03-20 11:00:05] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:05] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' ) [2025-03-20 11:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722389') end [2025-03-20 11:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:00:05] Production.INFO: 1 [2025-03-20 11:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:00:05] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-20 11:00:05] Production.INFO: Date 2025-03-10 [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.INFO: Outstanding Amount 290.38 [2025-03-20 11:00:05] Production.INFO: Invoice Full Number INV11739 [2025-03-20 11:00:05] Production.INFO: Transaction start [2025-03-20 11:00:05] Production.INFO: Date 2025-03-11 [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.INFO: ==15569== Releasing lock... [2025-03-20 11:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:00:05] Production.ERROR: done [2025-03-20 11:00:05] Production.INFO: Date 2025-03-12 [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.INFO: ==15557== Releasing lock... [2025-03-20 11:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:00:05] Production.INFO: Date 2025-03-13 [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.INFO: Date 2025-03-14 [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.ERROR: done [2025-03-20 11:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 11:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722392', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 11:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:00:05] Production.INFO: Total Charge 0 [2025-03-20 11:00:06] Production.INFO: CreateAllLog End [2025-03-20 11:00:06] Production.INFO: Account Balance End. [2025-03-20 11:00:06] Production.ERROR: CronJobId end 12 [2025-03-20 11:00:06] Production.INFO: ==15563== Releasing lock... [2025-03-20 11:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:00:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:00:06] Production.INFO: Transaction end [2025-03-20 11:00:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:00:07 [end_date_ymd] => 2025-03-20 11:00:07 [RateCDR] => 1 ) [2025-03-20 11:00:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:00:07' and `end` < '2025-03-20 11:00:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:08] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' ) [2025-03-20 11:00:08] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-20 11:00:08] Production.INFO: Outstanding Amount 43.21 [2025-03-20 11:00:08] Production.INFO: Invoice Full Number INV11689 [2025-03-20 11:00:08] Production.INFO: Transaction start [2025-03-20 11:00:10] Production.ERROR: exception 'Cartalyst\Stripe\Exception\CardErrorException' with message 'Your card was declined.' in /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php:121 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Exception/Handler.php(91): Cartalyst\Stripe\Exception\Handler->handleException('Your card was d...', 402, 'card_error', 'card_declined', NULL) #1 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Http/Client.php(100): Cartalyst\Stripe\Exception\Handler->__construct(Object(GuzzleHttp\Exception\ClientException)) #2 /var/www/html/onswitch.neon.service/vendor/guzzlehttp/guzzle/src/Client.php(150): Cartalyst\Stripe\Http\Client->send(Object(GuzzleHttp\Message\Request)) #3 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(154): GuzzleHttp\Client->post('v1/charges', Array) #4 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Api.php(136): Cartalyst\Stripe\Api\Api->execute('post', 'charges', Array) #5 /var/www/html/onswitch.neon.service/vendor/cartalyst/stripe/src/Api/Charges.php(33): Cartalyst\Stripe\Api\Api->_post('charges', Array) #6 /var/www/html/onswitch.neon.service/app/lib/StripeBilling.php(0): Cartalyst\Stripe\Api\Charges->create() #7 /var/www/html/onswitch.neon.service/app/lib/PaymentGateway.php(0): App\Lib\StripeBilling::createchargebycustomer() #8 /var/www/html/onswitch.neon.service/app/Console/Commands/BulkAutoPaymentCapture.php(0): App\Lib\PaymentGateway::addTransaction() #9 [internal function]: App\Console\Commands\BulkAutoPaymentCapture->fire() #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\BulkAutoPaymentCapture), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 {main} [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 5 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:10] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:10] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' ) [2025-03-20 11:00:10] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-20 11:00:10] Production.INFO: Outstanding Amount 76.28 [2025-03-20 11:00:10] Production.INFO: Invoice Full Number INV11740 [2025-03-20 11:00:10] Production.INFO: Transaction start [2025-03-20 11:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722392', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 11:00:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 11:00:10] Production.INFO: ProcessCDR(1,14722392,1,1,2) [2025-03-20 11:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722392,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:00:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722392,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:00:11] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:00:11] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:00:11] Production.INFO: ==15567== Releasing lock... [2025-03-20 11:00:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 11:00:11] Production.INFO: 26 MB #Memory Used# [2025-03-20 11:00:11] Production.INFO: Transaction end [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 7 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 0 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 2 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 4 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 19 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 0 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '260', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '262', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '263', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '264', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 1 [2025-03-20 11:00:12] Production.INFO: PaymentMethod - 1 [2025-03-20 11:00:12] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '266', '0', '1' ) [2025-03-20 11:00:12] Production.INFO: PaymentPendingInvoice Count - 0 [2025-03-20 11:00:13] Production.ERROR: CronJobId end11 [2025-03-20 11:00:13] Production.INFO: ==15561== Releasing lock... [2025-03-20 11:00:13] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops# [2025-03-20 11:00:13] Production.INFO: 34.25 MB #Memory Used# [2025-03-20 11:00:16] 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-03-20 11:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:00:16] Production.INFO: call_cost start [2025-03-20 11:00:16] Production.INFO: call_cost end [2025-03-20 11:00:17] Production.ERROR: CronJobId end10 [2025-03-20 11:00:17] Production.INFO: ==15559== Releasing lock... [2025-03-20 11:00:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:00:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:00:18] Production.INFO: ==15555== Releasing lock... [2025-03-20 11:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:00:19] Production.INFO: count ==3333 [2025-03-20 11:00:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:00:07 - End Time 2025-03-20 11:00:07 [2025-03-20 11:00:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722391', 'tblTempUsageDetail_20' ) start [2025-03-20 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722391', 'tblTempUsageDetail_20' ) end [2025-03-20 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722391', 'tblTempVendorCDR_20' ) start [2025-03-20 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722391', 'tblTempVendorCDR_20' ) end [2025-03-20 11:00:21] Production.INFO: ProcessCDR(1,14722391,1,1,2) [2025-03-20 11:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722391', 'tblTempUsageDetail_20' ) start [2025-03-20 11:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722391', 'tblTempUsageDetail_20' ) end [2025-03-20 11:00:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:00:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:00:25] Production.INFO: ==15565== Releasing lock... [2025-03-20 11:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:00:25] Production.INFO: 54 MB #Memory Used# [2025-03-20 15:01:02] Production.INFO: ==15725== Lock acquired, processing the job... [2025-03-20 15:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:01:02] Production.INFO: neon service started [2025-03-20 15:01:02] Production.INFO: neon service started [2025-03-20 15:01:02] Production.INFO: ==15725== Releasing lock... [2025-03-20 15:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:01:02] Production.INFO: ==15739== Lock acquired, processing the job... [2025-03-20 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:01:02] Production.INFO: ==15741== Lock acquired, processing the job... [2025-03-20 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:01:02] Production.INFO: ==15739== Releasing lock... [2025-03-20 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:01:02] Production.INFO: ==15741== Releasing lock... [2025-03-20 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:01:03] Production.INFO: ==15746== Lock acquired, processing the job... [2025-03-20 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:01:03] Production.INFO: ==15748== Lock acquired, processing the job... [2025-03-20 11:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:01:03] Production.INFO: ==15746== Releasing lock... [2025-03-20 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:01:03] Production.INFO: ==15744== Lock acquired, processing the job... [2025-03-20 11:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:01:04] Production.INFO: ==15750== Lock acquired, processing the job... [2025-03-20 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:01:04] Production.INFO: ==15752== Lock acquired, processing the job... [2025-03-20 11:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:01:04] Production.INFO: ==15754== Lock acquired, processing the job... [2025-03-20 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:01:04] Production.INFO: Account Balance Start. [2025-03-20 11:01:04] Production.INFO: CreateAllLog Start [2025-03-20 11:01:04] Production.INFO: 117 [2025-03-20 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-03-20 11:01:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.INFO: count ==12 [2025-03-20 11:01:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 11:01:04] Production.INFO: count ==23 [2025-03-20 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722396') start [2025-03-20 11:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.ERROR: done [2025-03-20 11:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722396') end [2025-03-20 11:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:01:04] Production.INFO: 1 [2025-03-20 11:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:01:04] Production.INFO: ==15754== Releasing lock... [2025-03-20 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.ERROR: done [2025-03-20 11:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:01:04] Production.INFO: Total Charge 0 [2025-03-20 11:01:04] Production.INFO: CreateAllLog End [2025-03-20 11:01:05] Production.INFO: Account Balance End. [2025-03-20 11:01:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:01:05] Production.INFO: ==15750== Releasing lock... [2025-03-20 11:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:01:05 [end_date_ymd] => 2025-03-20 11:01:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:01:05' and `end` < '2025-03-20 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-03-20 11:01:15] Production.ERROR: CronJobId end10 [2025-03-20 11:01:15] Production.INFO: ==15748== Releasing lock... [2025-03-20 11:01:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:01:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:01:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:01:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:01:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:01:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:01:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:01:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:01:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:01:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:01:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:01:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:01:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:01:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:01:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:01:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:01:17] Production.INFO: call_cost start [2025-03-20 11:01:17] Production.INFO: call_cost end [2025-03-20 11:01:18] Production.INFO: count ==3410 [2025-03-20 11:01:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:01:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:01:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:01:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:01:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:01:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:01:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:01:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:01:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:01:18] Production.INFO: ==15744== Releasing lock... [2025-03-20 11:01:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:01:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:01:19] Production.ERROR: pbx CDR StartTime 2025-03-20 08:01:05 - End Time 2025-03-20 11:01:05 [2025-03-20 11:01:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722397', 'tblTempUsageDetail_20' ) start [2025-03-20 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722397', 'tblTempUsageDetail_20' ) end [2025-03-20 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722397', 'tblTempVendorCDR_20' ) start [2025-03-20 11:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722397', 'tblTempVendorCDR_20' ) end [2025-03-20 11:01:19] Production.INFO: ProcessCDR(1,14722397,1,1,2) [2025-03-20 11:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722397,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722397,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722397', 'tblTempUsageDetail_20' ) start [2025-03-20 11:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722397', 'tblTempUsageDetail_20' ) end [2025-03-20 11:01:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:01:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:01:25] Production.INFO: ==15752== Releasing lock... [2025-03-20 11:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:01:25] Production.INFO: 54.25 MB #Memory Used# [2025-03-20 15:02:01] Production.INFO: ==15868== Lock acquired, processing the job... [2025-03-20 15:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:02:01] Production.INFO: neon service started [2025-03-20 15:02:01] Production.INFO: neon service started [2025-03-20 15:02:01] Production.INFO: ==15868== Releasing lock... [2025-03-20 15:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:02:01] Production.INFO: ==15870== Lock acquired, processing the job... [2025-03-20 11:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:02:02] Production.INFO: ==15870== Releasing lock... [2025-03-20 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:02:02] Production.INFO: ==15872== Lock acquired, processing the job... [2025-03-20 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:02:02] Production.INFO: ==15872== Releasing lock... [2025-03-20 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:02:03] Production.INFO: ==15875== Lock acquired, processing the job... [2025-03-20 11:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:02:03] Production.INFO: ==15877== Lock acquired, processing the job... [2025-03-20 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:02:03] Production.INFO: ==15885== Lock acquired, processing the job... [2025-03-20 11:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:02:03] Production.INFO: ==15879== Lock acquired, processing the job... [2025-03-20 11:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 11:02:03] Production.INFO: ==15881== Lock acquired, processing the job... [2025-03-20 11:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:02:03] Production.INFO: ==15883== Lock acquired, processing the job... [2025-03-20 11:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:02:03] Production.INFO: count ==12 [2025-03-20 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-03-20 11:02:03] Production.INFO: count ==23 [2025-03-20 11:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722400') start [2025-03-20 11:02:03] Production.INFO: ==15877== Releasing lock... [2025-03-20 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:02:03] Production.INFO: Account Balance Start. [2025-03-20 11:02:03] Production.INFO: CreateAllLog Start [2025-03-20 11:02:03] Production.INFO: 117 [2025-03-20 11:02:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722400') end [2025-03-20 11:02:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:02:03] Production.INFO: 1 [2025-03-20 11:02:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:02:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:03] Production.INFO: ==15885== Releasing lock... [2025-03-20 11:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:02:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:02:03] Production.INFO: Date 2025-03-11 [2025-03-20 11:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:04] Production.ERROR: done [2025-03-20 11:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:02:04] Production.ERROR: done [2025-03-20 11:02:04] Production.INFO: Total Charge 0 [2025-03-20 11:02:04] Production.INFO: CreateAllLog End [2025-03-20 11:02:04] Production.INFO: Account Balance End. [2025-03-20 11:02:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:02:04] Production.INFO: ==15881== Releasing lock... [2025-03-20 11:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:02:05 [end_date_ymd] => 2025-03-20 11:02:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:02:05' and `end` < '2025-03-20 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-03-20 11:02:13] Production.ERROR: CronJobId end10 [2025-03-20 11:02:13] Production.INFO: ==15879== Releasing lock... [2025-03-20 11:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:02:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:02:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:02:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:02:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:02:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:02:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:02:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:02:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:02:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:02:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:02:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:02:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:02:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:02:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:02:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:02:15] Production.INFO: call_cost start [2025-03-20 11:02:15] Production.INFO: call_cost end [2025-03-20 11:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:02:16] Production.INFO: ==15875== Releasing lock... [2025-03-20 11:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:02:18] Production.INFO: count ==3449 [2025-03-20 11:02:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:02:05 - End Time 2025-03-20 11:02:05 [2025-03-20 11:02:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722402', 'tblTempUsageDetail_20' ) start [2025-03-20 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722402', 'tblTempUsageDetail_20' ) end [2025-03-20 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722402', 'tblTempVendorCDR_20' ) start [2025-03-20 11:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722402', 'tblTempVendorCDR_20' ) end [2025-03-20 11:02:20] Production.INFO: ProcessCDR(1,14722402,1,1,2) [2025-03-20 11:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722402,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722402,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722402', 'tblTempUsageDetail_20' ) start [2025-03-20 11:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722402', 'tblTempUsageDetail_20' ) end [2025-03-20 11:02:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:02:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:02:26] Production.INFO: ==15883== Releasing lock... [2025-03-20 11:02:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:02:26] Production.INFO: 53.75 MB #Memory Used# [2025-03-20 15:03:02] Production.INFO: ==15955== Lock acquired, processing the job... [2025-03-20 15:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:03:02] Production.INFO: neon service started [2025-03-20 15:03:02] Production.INFO: neon service started [2025-03-20 15:03:02] Production.INFO: ==15955== Releasing lock... [2025-03-20 15:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:03:02] Production.INFO: ==15959== Lock acquired, processing the job... [2025-03-20 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:03:02] Production.INFO: ==15959== Releasing lock... [2025-03-20 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:03:02] Production.INFO: ==15957== Lock acquired, processing the job... [2025-03-20 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:03:02] Production.INFO: ==15957== Releasing lock... [2025-03-20 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:03:03] Production.INFO: ==15966== Lock acquired, processing the job... [2025-03-20 11:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:03:03] Production.INFO: ==15964== Lock acquired, processing the job... [2025-03-20 11:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:03:03] Production.INFO: ==15972== Lock acquired, processing the job... [2025-03-20 11:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 11:03:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:03:04] Production.INFO: count ==23 [2025-03-20 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722404') start [2025-03-20 11:03:04] Production.INFO: ==15964== Releasing lock... [2025-03-20 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:03:04] Production.INFO: ==15968== Lock acquired, processing the job... [2025-03-20 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722404') end [2025-03-20 11:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:03:04] Production.INFO: 1 [2025-03-20 11:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:03:04] Production.INFO: ==15972== Releasing lock... [2025-03-20 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:03:04] Production.INFO: ==15962== Lock acquired, processing the job... [2025-03-20 11:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:03:04] Production.INFO: ==15970== Lock acquired, processing the job... [2025-03-20 11:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:03:04] Production.INFO: Account Balance Start. [2025-03-20 11:03:04] Production.INFO: CreateAllLog Start [2025-03-20 11:03:04] Production.INFO: 117 [2025-03-20 11:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:03:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.ERROR: done [2025-03-20 11:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.ERROR: done [2025-03-20 11:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:03:05] Production.INFO: Total Charge 0 [2025-03-20 11:03:05] Production.INFO: CreateAllLog End [2025-03-20 11:03:05] Production.INFO: Account Balance End. [2025-03-20 11:03:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:03:05] Production.INFO: ==15968== Releasing lock... [2025-03-20 11:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:03:05 [end_date_ymd] => 2025-03-20 11:03:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:03:05' and `end` < '2025-03-20 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-03-20 11:03:13] Production.ERROR: CronJobId end10 [2025-03-20 11:03:13] Production.INFO: ==15966== Releasing lock... [2025-03-20 11:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:03:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:03:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:03:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:03:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:03:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:03:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:03:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:03:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:03:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:03:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:03:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:03:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:03:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:03:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:03:16] Production.INFO: call_cost start [2025-03-20 11:03:16] Production.INFO: call_cost end [2025-03-20 11:03:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:03:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:03:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:03:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:03:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:03:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:03:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:03:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:03:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:03:17] Production.INFO: ==15962== Releasing lock... [2025-03-20 11:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:03:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:03:19] Production.INFO: count ==3485 [2025-03-20 11:03:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:03:05 - End Time 2025-03-20 11:03:05 [2025-03-20 11:03:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722407', 'tblTempUsageDetail_20' ) start [2025-03-20 11:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722407', 'tblTempUsageDetail_20' ) end [2025-03-20 11:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722407', 'tblTempVendorCDR_20' ) start [2025-03-20 11:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722407', 'tblTempVendorCDR_20' ) end [2025-03-20 11:03:20] Production.INFO: ProcessCDR(1,14722407,1,1,2) [2025-03-20 11:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722407,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722407,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722407', 'tblTempUsageDetail_20' ) start [2025-03-20 11:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722407', 'tblTempUsageDetail_20' ) end [2025-03-20 11:03:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:03:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:03:26] Production.INFO: ==15970== Releasing lock... [2025-03-20 11:03:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:03:26] Production.INFO: 54.25 MB #Memory Used# [2025-03-20 15:04:01] Production.INFO: ==16051== Lock acquired, processing the job... [2025-03-20 15:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:04:01] Production.INFO: neon service started [2025-03-20 15:04:01] Production.INFO: neon service started [2025-03-20 15:04:01] Production.INFO: ==16051== Releasing lock... [2025-03-20 15:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:04:01] Production.INFO: ==16054== Lock acquired, processing the job... [2025-03-20 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:04:02] Production.INFO: ==16054== Releasing lock... [2025-03-20 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:04:02] Production.INFO: ==16056== Lock acquired, processing the job... [2025-03-20 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:04:02] Production.INFO: ==16056== Releasing lock... [2025-03-20 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:04:03] Production.INFO: ==16058== Lock acquired, processing the job... [2025-03-20 11:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:04:03] Production.INFO: ==16062== Lock acquired, processing the job... [2025-03-20 11:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:04:03] Production.INFO: ==16066== Lock acquired, processing the job... [2025-03-20 11:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:04:03] Production.INFO: ==16060== Lock acquired, processing the job... [2025-03-20 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:04:03] Production.INFO: ==16064== Lock acquired, processing the job... [2025-03-20 11:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:04:03] Production.INFO: ==16068== Lock acquired, processing the job... [2025-03-20 11:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:04:03] Production.ERROR: done [2025-03-20 11:04:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:04:03] Production.INFO: Account Balance Start. [2025-03-20 11:04:03] Production.INFO: CreateAllLog Start [2025-03-20 11:04:03] Production.INFO: 117 [2025-03-20 11:04:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: count ==12 [2025-03-20 11:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:04:04] Production.INFO: count ==23 [2025-03-20 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722411') start [2025-03-20 11:04:04] Production.ERROR: done [2025-03-20 11:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: ==16060== Releasing lock... [2025-03-20 11:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722411') end [2025-03-20 11:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:04:04] Production.INFO: 1 [2025-03-20 11:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: ==16068== Releasing lock... [2025-03-20 11:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:04:04] Production.INFO: Total Charge 0 [2025-03-20 11:04:04] Production.INFO: CreateAllLog End [2025-03-20 11:04:04] Production.INFO: Account Balance End. [2025-03-20 11:04:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:04:05] Production.INFO: ==16064== Releasing lock... [2025-03-20 11:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:04:05 [end_date_ymd] => 2025-03-20 11:04:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:04:05' and `end` < '2025-03-20 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-03-20 11:04:12] Production.ERROR: CronJobId end10 [2025-03-20 11:04:12] Production.INFO: ==16062== Releasing lock... [2025-03-20 11:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:04:14] Production.INFO: call_cost start [2025-03-20 11:04:14] Production.INFO: call_cost end [2025-03-20 11:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:04:15] Production.INFO: ==16058== Releasing lock... [2025-03-20 11:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:04:18] Production.INFO: count ==3513 [2025-03-20 11:04:19] Production.ERROR: pbx CDR StartTime 2025-03-20 08:04:05 - End Time 2025-03-20 11:04:05 [2025-03-20 11:04:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722412', 'tblTempUsageDetail_20' ) start [2025-03-20 11:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722412', 'tblTempUsageDetail_20' ) end [2025-03-20 11:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722412', 'tblTempVendorCDR_20' ) start [2025-03-20 11:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722412', 'tblTempVendorCDR_20' ) end [2025-03-20 11:04:20] Production.INFO: ProcessCDR(1,14722412,1,1,2) [2025-03-20 11:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722412', 'tblTempUsageDetail_20' ) start [2025-03-20 11:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722412', 'tblTempUsageDetail_20' ) end [2025-03-20 11:04:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:04:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:04:25] Production.INFO: ==16066== Releasing lock... [2025-03-20 11:04:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:04:25] Production.INFO: 54.5 MB #Memory Used# [2025-03-20 15:05:02] Production.INFO: ==16227== Lock acquired, processing the job... [2025-03-20 15:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:05:02] Production.INFO: neon service started [2025-03-20 15:05:02] Production.INFO: neon service started [2025-03-20 15:05:02] Production.INFO: ==16227== Releasing lock... [2025-03-20 15:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:05:02] Production.INFO: ==16229== Lock acquired, processing the job... [2025-03-20 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:05:02] Production.INFO: ==16229== Releasing lock... [2025-03-20 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:05:03] Production.INFO: ==16231== Lock acquired, processing the job... [2025-03-20 15:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:05:03] Production.INFO: ==16231== Releasing lock... [2025-03-20 15:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:05:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:05:03] Production.INFO: ==16235== Lock acquired, processing the job... [2025-03-20 11:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:05:03] Production.INFO: ==16237== Lock acquired, processing the job... [2025-03-20 11:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:05:03] Production.INFO: ==16239== Lock acquired, processing the job... [2025-03-20 11:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:05:04] Production.INFO: ==16241== Lock acquired, processing the job... [2025-03-20 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:05:04] Production.INFO: Account Balance Start. [2025-03-20 11:05:04] Production.INFO: CreateAllLog Start [2025-03-20 11:05:04] Production.INFO: 117 [2025-03-20 11:05:04] Production.INFO: ==16243== Lock acquired, processing the job... [2025-03-20 11:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:05:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:05:04] Production.INFO: ==16246== Lock acquired, processing the job... [2025-03-20 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:05:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.INFO: count ==12 [2025-03-20 11:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:05:04] Production.INFO: count ==23 [2025-03-20 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722416') start [2025-03-20 11:05:04] Production.INFO: ==16237== Releasing lock... [2025-03-20 11:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722416') end [2025-03-20 11:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:05:04] Production.INFO: 1 [2025-03-20 11:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.ERROR: done [2025-03-20 11:05:04] Production.INFO: ==16246== Releasing lock... [2025-03-20 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:05:04] Production.INFO: Total Charge 0 [2025-03-20 11:05:04] Production.INFO: CreateAllLog End [2025-03-20 11:05:05] Production.ERROR: done [2025-03-20 11:05:05] Production.INFO: Account Balance End. [2025-03-20 11:05:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:05:05] Production.INFO: ==16241== Releasing lock... [2025-03-20 11:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:05:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:05:06 [end_date_ymd] => 2025-03-20 11:05:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:05:06' and `end` < '2025-03-20 11: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-03-20 11:05:15] Production.ERROR: CronJobId end10 [2025-03-20 11:05:15] Production.INFO: ==16239== Releasing lock... [2025-03-20 11:05:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:05:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:05:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:05:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:05:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:05:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:05:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:05:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:05:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:05:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:05:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:05:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:05:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:05:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:05:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:05:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:05:17] Production.INFO: call_cost start [2025-03-20 11:05:17] Production.INFO: call_cost end [2025-03-20 11:05:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:05:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:05:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:05:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:05:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:05:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:05:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:05:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:05:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:05:18] Production.INFO: ==16235== Releasing lock... [2025-03-20 11:05:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:05:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:05:19] Production.INFO: count ==3547 [2025-03-20 11:05:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:05:06 - End Time 2025-03-20 11:05:06 [2025-03-20 11:05:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722417', 'tblTempUsageDetail_20' ) start [2025-03-20 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722417', 'tblTempUsageDetail_20' ) end [2025-03-20 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722417', 'tblTempVendorCDR_20' ) start [2025-03-20 11:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722417', 'tblTempVendorCDR_20' ) end [2025-03-20 11:05:20] Production.INFO: ProcessCDR(1,14722417,1,1,2) [2025-03-20 11:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:05:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722417', 'tblTempUsageDetail_20' ) start [2025-03-20 11:05:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722417', 'tblTempUsageDetail_20' ) end [2025-03-20 11:05:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:05:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:05:25] Production.INFO: ==16243== Releasing lock... [2025-03-20 11:05:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:05:25] Production.INFO: 54.5 MB #Memory Used# [2025-03-20 15:06:01] Production.INFO: ==16318== Lock acquired, processing the job... [2025-03-20 15:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:06:01] Production.INFO: neon service started [2025-03-20 15:06:01] Production.INFO: neon service started [2025-03-20 15:06:01] Production.INFO: ==16318== Releasing lock... [2025-03-20 15:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:06:01] Production.INFO: ==16320== Lock acquired, processing the job... [2025-03-20 11:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:06:02] Production.INFO: ==16322== Lock acquired, processing the job... [2025-03-20 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:06:02] Production.INFO: ==16322== Releasing lock... [2025-03-20 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:06:02] Production.INFO: ==16320== Releasing lock... [2025-03-20 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:06:03] Production.INFO: ==16331== Lock acquired, processing the job... [2025-03-20 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:06:03] Production.INFO: ==16333== Lock acquired, processing the job... [2025-03-20 11:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:06:03] Production.INFO: Account Balance Start. [2025-03-20 11:06:03] Production.INFO: CreateAllLog Start [2025-03-20 11:06:03] Production.INFO: 117 [2025-03-20 11:06:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:06:03] Production.INFO: ==16335== Lock acquired, processing the job... [2025-03-20 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.INFO: ==16325== Lock acquired, processing the job... [2025-03-20 11:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:06:03] Production.INFO: Date 2025-03-11 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.INFO: ==16327== Lock acquired, processing the job... [2025-03-20 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:06:03] Production.INFO: ==16329== Lock acquired, processing the job... [2025-03-20 11:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 11:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:06:03] Production.INFO: Date 2025-03-12 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.INFO: count ==12 [2025-03-20 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-03-20 11:06:03] Production.INFO: count ==23 [2025-03-20 11:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722419') start [2025-03-20 11:06:03] Production.INFO: Date 2025-03-13 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.INFO: Date 2025-03-14 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.INFO: Date 2025-03-15 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.ERROR: done [2025-03-20 11:06:03] Production.INFO: Date 2025-03-16 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:06:03] Production.INFO: Date 2025-03-17 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722419') end [2025-03-20 11:06:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:06:03] Production.INFO: 1 [2025-03-20 11:06:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:06:03] Production.INFO: Date 2025-03-18 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.INFO: Date 2025-03-19 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.INFO: Date 2025-03-20 [2025-03-20 11:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:06:03] Production.INFO: Total Charge 0 [2025-03-20 11:06:03] Production.INFO: CreateAllLog End [2025-03-20 11:06:03] Production.INFO: ==16335== Releasing lock... [2025-03-20 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:06:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:06:04] Production.INFO: ==16327== Releasing lock... [2025-03-20 11:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:06:04] Production.ERROR: done [2025-03-20 11:06:04] Production.INFO: Account Balance End. [2025-03-20 11:06:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:06:04] Production.INFO: ==16331== Releasing lock... [2025-03-20 11:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:06:05 [end_date_ymd] => 2025-03-20 11:06:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:06:05' and `end` < '2025-03-20 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-03-20 11:06:12] Production.ERROR: CronJobId end10 [2025-03-20 11:06:12] Production.INFO: ==16329== Releasing lock... [2025-03-20 11:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:06:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:06:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:06:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:06:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:06:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:06:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:06:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:06:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:06:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:06:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:06:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:06:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:06:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:06:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:06:15] Production.INFO: call_cost start [2025-03-20 11:06:15] Production.INFO: call_cost end [2025-03-20 11:06:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:06:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:06:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:06:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:06:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:06:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:06:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:06:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:06:16] Production.INFO: ==16325== Releasing lock... [2025-03-20 11:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:06:18] Production.INFO: count ==3570 [2025-03-20 11:06:19] Production.ERROR: pbx CDR StartTime 2025-03-20 08:06:05 - End Time 2025-03-20 11:06:05 [2025-03-20 11:06:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722422', 'tblTempUsageDetail_20' ) start [2025-03-20 11:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722422', 'tblTempUsageDetail_20' ) end [2025-03-20 11:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722422', 'tblTempVendorCDR_20' ) start [2025-03-20 11:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722422', 'tblTempVendorCDR_20' ) end [2025-03-20 11:06:19] Production.INFO: ProcessCDR(1,14722422,1,1,2) [2025-03-20 11:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722422', 'tblTempUsageDetail_20' ) start [2025-03-20 11:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722422', 'tblTempUsageDetail_20' ) end [2025-03-20 11:06:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:06:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:06:24] Production.INFO: ==16333== Releasing lock... [2025-03-20 11:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:06:24] Production.INFO: 54.75 MB #Memory Used# [2025-03-20 15:07:02] Production.INFO: ==16409== Lock acquired, processing the job... [2025-03-20 15:07:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:07:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:07:02] Production.INFO: neon service started [2025-03-20 15:07:02] Production.INFO: neon service started [2025-03-20 15:07:02] Production.INFO: ==16409== Releasing lock... [2025-03-20 15:07:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:07:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:07:02] Production.INFO: ==16411== Lock acquired, processing the job... [2025-03-20 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:07:02] Production.INFO: ==16411== Releasing lock... [2025-03-20 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:07:02] Production.INFO: ==16414== Lock acquired, processing the job... [2025-03-20 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:07:02] Production.INFO: ==16414== Releasing lock... [2025-03-20 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:07:03] Production.INFO: ==16420== Lock acquired, processing the job... [2025-03-20 11:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:07:03] Production.INFO: ==16426== Lock acquired, processing the job... [2025-03-20 11:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 11:07:03] Production.INFO: ==16416== Lock acquired, processing the job... [2025-03-20 11:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:07:03] Production.INFO: ==16418== Lock acquired, processing the job... [2025-03-20 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:07:03] Production.INFO: count ==12 [2025-03-20 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-03-20 11:07:03] Production.INFO: count ==23 [2025-03-20 11:07:04] Production.INFO: ==16422== Lock acquired, processing the job... [2025-03-20 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722423') start [2025-03-20 11:07:04] Production.INFO: ==16424== Lock acquired, processing the job... [2025-03-20 11:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:07:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:07:04] Production.INFO: Account Balance Start. [2025-03-20 11:07:04] Production.INFO: CreateAllLog Start [2025-03-20 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722423') end [2025-03-20 11:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:07:04] Production.INFO: 1 [2025-03-20 11:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:07:04] Production.INFO: 117 [2025-03-20 11:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:07:04] Production.INFO: ==16426== Releasing lock... [2025-03-20 11:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:07:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.INFO: ==16418== Releasing lock... [2025-03-20 11:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:07:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.ERROR: done [2025-03-20 11:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.ERROR: done [2025-03-20 11:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:07:04] Production.INFO: Total Charge 0 [2025-03-20 11:07:04] Production.INFO: CreateAllLog End [2025-03-20 11:07:05] Production.INFO: Account Balance End. [2025-03-20 11:07:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:07:05] Production.INFO: ==16422== Releasing lock... [2025-03-20 11:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:07:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:07:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:07:06 [end_date_ymd] => 2025-03-20 11:07:06 [RateCDR] => 1 ) [2025-03-20 11:07:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:07:06' and `end` < '2025-03-20 11:07:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:07:13] Production.ERROR: CronJobId end10 [2025-03-20 11:07:13] Production.INFO: ==16420== Releasing lock... [2025-03-20 11:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:07:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:07:15] Production.INFO: call_cost start [2025-03-20 11:07:15] Production.INFO: call_cost end [2025-03-20 11:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:07:16] Production.INFO: ==16416== Releasing lock... [2025-03-20 11:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:07:19] Production.INFO: count ==3607 [2025-03-20 11:07:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:07:06 - End Time 2025-03-20 11:07:06 [2025-03-20 11:07:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722427', 'tblTempUsageDetail_20' ) start [2025-03-20 11:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722427', 'tblTempUsageDetail_20' ) end [2025-03-20 11:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722427', 'tblTempVendorCDR_20' ) start [2025-03-20 11:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722427', 'tblTempVendorCDR_20' ) end [2025-03-20 11:07:20] Production.INFO: ProcessCDR(1,14722427,1,1,2) [2025-03-20 11:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:07:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:07:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:07:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:07:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722427', 'tblTempUsageDetail_20' ) start [2025-03-20 11:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722427', 'tblTempUsageDetail_20' ) end [2025-03-20 11:07:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:07:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:07:26] Production.INFO: ==16424== Releasing lock... [2025-03-20 11:07:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:07:26] Production.INFO: 55 MB #Memory Used# [2025-03-20 15:08:01] Production.INFO: ==16579== Lock acquired, processing the job... [2025-03-20 15:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:08:01] Production.INFO: neon service started [2025-03-20 15:08:01] Production.INFO: neon service started [2025-03-20 15:08:01] Production.INFO: ==16579== Releasing lock... [2025-03-20 15:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:08:01] Production.INFO: ==16581== Lock acquired, processing the job... [2025-03-20 11:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:08:02] Production.INFO: ==16581== Releasing lock... [2025-03-20 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:08:02] Production.INFO: ==16583== Lock acquired, processing the job... [2025-03-20 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:08:02] Production.INFO: ==16583== Releasing lock... [2025-03-20 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:08:03] Production.INFO: ==16594== Lock acquired, processing the job... [2025-03-20 11:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:08:03] Production.INFO: ==16596== Lock acquired, processing the job... [2025-03-20 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:08:03] Production.INFO: ==16586== Lock acquired, processing the job... [2025-03-20 11:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:08:03] Production.INFO: ==16588== Lock acquired, processing the job... [2025-03-20 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 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-03-20 11:08:03] Production.INFO: ==16590== Lock acquired, processing the job... [2025-03-20 11:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:08:03] Production.INFO: ==16592== Lock acquired, processing the job... [2025-03-20 11:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:08:03] Production.INFO: count ==12 [2025-03-20 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-03-20 11:08:03] Production.INFO: count ==23 [2025-03-20 11:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722428') start [2025-03-20 11:08:03] Production.ERROR: done [2025-03-20 11:08:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:08:03] Production.INFO: Account Balance Start. [2025-03-20 11:08:03] Production.INFO: CreateAllLog Start [2025-03-20 11:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722428') end [2025-03-20 11:08:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:08:03] Production.INFO: 1 [2025-03-20 11:08:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:08:03] Production.INFO: 117 [2025-03-20 11:08:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:03] Production.INFO: ==16596== Releasing lock... [2025-03-20 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:08:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:08:03] Production.ERROR: done [2025-03-20 11:08:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:03] Production.INFO: Date 2025-03-11 [2025-03-20 11:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:03] Production.INFO: Date 2025-03-12 [2025-03-20 11:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:03] Production.INFO: ==16588== Releasing lock... [2025-03-20 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:08:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:08:04] Production.INFO: Total Charge 0 [2025-03-20 11:08:04] Production.INFO: CreateAllLog End [2025-03-20 11:08:04] Production.INFO: Account Balance End. [2025-03-20 11:08:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:08:04] Production.INFO: ==16592== Releasing lock... [2025-03-20 11:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:08:05 [end_date_ymd] => 2025-03-20 11:08:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:08:05' and `end` < '2025-03-20 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-03-20 11:08:14] Production.ERROR: CronJobId end10 [2025-03-20 11:08:14] Production.INFO: ==16590== Releasing lock... [2025-03-20 11:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:08:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:08:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:08:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:08:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:08:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:08:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:08:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:08:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:08:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:08:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:08:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:08:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:08:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:08:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:08:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:08:17] Production.INFO: call_cost start [2025-03-20 11:08:17] Production.INFO: call_cost end [2025-03-20 11:08:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:08:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:08:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:08:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:08:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:08:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:08:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:08:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:08:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:08:18] Production.INFO: ==16586== Releasing lock... [2025-03-20 11:08:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:08:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:08:18] Production.INFO: count ==3623 [2025-03-20 11:08:19] Production.ERROR: pbx CDR StartTime 2025-03-20 08:08:05 - End Time 2025-03-20 11:08:05 [2025-03-20 11:08:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722432', 'tblTempUsageDetail_20' ) start [2025-03-20 11:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722432', 'tblTempUsageDetail_20' ) end [2025-03-20 11:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722432', 'tblTempVendorCDR_20' ) start [2025-03-20 11:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722432', 'tblTempVendorCDR_20' ) end [2025-03-20 11:08:20] Production.INFO: ProcessCDR(1,14722432,1,1,2) [2025-03-20 11:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:08:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:08:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722432', 'tblTempUsageDetail_20' ) start [2025-03-20 11:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722432', 'tblTempUsageDetail_20' ) end [2025-03-20 11:08:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:08:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:08:25] Production.INFO: ==16594== Releasing lock... [2025-03-20 11:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:08:25] Production.INFO: 55 MB #Memory Used# [2025-03-20 15:09:01] Production.INFO: ==16681== Lock acquired, processing the job... [2025-03-20 15:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:09:02] Production.INFO: neon service started [2025-03-20 15:09:02] Production.INFO: neon service started [2025-03-20 15:09:02] Production.INFO: ==16681== Releasing lock... [2025-03-20 15:09:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:09:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:09:02] Production.INFO: ==16683== Lock acquired, processing the job... [2025-03-20 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:09:02] Production.INFO: ==16685== Lock acquired, processing the job... [2025-03-20 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:09:02] Production.INFO: ==16685== Releasing lock... [2025-03-20 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:09:03] Production.INFO: ==16683== Releasing lock... [2025-03-20 11:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:09:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:09:03] Production.INFO: ==16694== Lock acquired, processing the job... [2025-03-20 11:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:09:03] Production.INFO: ==16698== Lock acquired, processing the job... [2025-03-20 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:09:04] Production.INFO: Account Balance Start. [2025-03-20 11:09:04] Production.INFO: CreateAllLog Start [2025-03-20 11:09:04] Production.INFO: 117 [2025-03-20 11:09:04] Production.INFO: ==16688== Lock acquired, processing the job... [2025-03-20 11:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:09:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:04] Production.INFO: count ==12 [2025-03-20 11:09:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:09:04] Production.INFO: ==16692== Lock acquired, processing the job... [2025-03-20 11:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:09:04] Production.INFO: count ==23 [2025-03-20 11:09:04] Production.INFO: ==16690== Lock acquired, processing the job... [2025-03-20 11:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:09:04] Production.INFO: ==16696== Lock acquired, processing the job... [2025-03-20 11:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:09:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722434') start [2025-03-20 11:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722434') end [2025-03-20 11:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:09:04] Production.INFO: 1 [2025-03-20 11:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:04] Production.INFO: ==16698== Releasing lock... [2025-03-20 11:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:04] Production.INFO: ==16690== Releasing lock... [2025-03-20 11:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:09:04] Production.ERROR: done [2025-03-20 11:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:09:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:05] Production.ERROR: done [2025-03-20 11:09:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:09:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:09:05] Production.INFO: Total Charge 0 [2025-03-20 11:09:05] Production.INFO: CreateAllLog End [2025-03-20 11:09:05] Production.INFO: Account Balance End. [2025-03-20 11:09:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:09:05] Production.INFO: ==16694== Releasing lock... [2025-03-20 11:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:09:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:09:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:09:06 [end_date_ymd] => 2025-03-20 11:09:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:09:06' and `end` < '2025-03-20 11: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-03-20 11:09:12] Production.ERROR: CronJobId end10 [2025-03-20 11:09:12] Production.INFO: ==16692== Releasing lock... [2025-03-20 11:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:09:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:09:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:09:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:09:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:09:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:09:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:09:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:09:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:09:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:09:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:09:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:09:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:09:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:09:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:09:15] Production.INFO: call_cost start [2025-03-20 11:09:15] Production.INFO: call_cost end [2025-03-20 11:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:09:16] Production.INFO: ==16688== Releasing lock... [2025-03-20 11:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:09:19] Production.INFO: count ==3639 [2025-03-20 11:09:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:09:06 - End Time 2025-03-20 11:09:06 [2025-03-20 11:09:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722437', 'tblTempUsageDetail_20' ) start [2025-03-20 11:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722437', 'tblTempUsageDetail_20' ) end [2025-03-20 11:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722437', 'tblTempVendorCDR_20' ) start [2025-03-20 11:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722437', 'tblTempVendorCDR_20' ) end [2025-03-20 11:09:20] Production.INFO: ProcessCDR(1,14722437,1,1,2) [2025-03-20 11:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722437', 'tblTempUsageDetail_20' ) start [2025-03-20 11:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722437', 'tblTempUsageDetail_20' ) end [2025-03-20 11:09:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:09:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:09:26] Production.INFO: ==16696== Releasing lock... [2025-03-20 11:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:09:26] Production.INFO: 55.75 MB #Memory Used# [2025-03-20 15:10:01] Production.INFO: ==16764== Lock acquired, processing the job... [2025-03-20 15:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:10:01] Production.INFO: neon service started [2025-03-20 15:10:01] Production.INFO: neon service started [2025-03-20 15:10:01] Production.INFO: ==16764== Releasing lock... [2025-03-20 15:10:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:10:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:10:01] Production.INFO: ==16766== Lock acquired, processing the job... [2025-03-20 11:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:10:02] Production.INFO: ==16766== Releasing lock... [2025-03-20 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:10:02] Production.INFO: ==16768== Lock acquired, processing the job... [2025-03-20 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:10:02] Production.INFO: ==16768== Releasing lock... [2025-03-20 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:10:03] Production.INFO: ==16770== Lock acquired, processing the job... [2025-03-20 11:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 11:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 11:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 11:10:03] Production.INFO: ==16770== Releasing lock... [2025-03-20 11:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 11:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 11:10:03] Production.INFO: ==16772== Lock acquired, processing the job... [2025-03-20 11:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:10:03] Production.INFO: ==16774== Lock acquired, processing the job... [2025-03-20 11:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:10:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:10:03] Production.INFO: ==16776== Lock acquired, processing the job... [2025-03-20 11:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:10:03] Production.INFO: ==16778== Lock acquired, processing the job... [2025-03-20 11:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:10:03] Production.INFO: ==16780== Lock acquired, processing the job... [2025-03-20 11:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:10:03] Production.INFO: ==16783== Lock acquired, processing the job... [2025-03-20 11:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 11:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:10:04] Production.INFO: ==16785== Lock acquired, processing the job... [2025-03-20 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:10:04] Production.INFO: ==16774== Releasing lock... [2025-03-20 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:10:04] Production.INFO: Account Balance Start. [2025-03-20 11:10:04] Production.INFO: CreateAllLog Start [2025-03-20 11:10:04] Production.INFO: 117 [2025-03-20 11:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:10:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:10:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 11:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:10:04] Production.ERROR: done [2025-03-20 11:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:10:04] Production.INFO: count ==12 [2025-03-20 11:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 11:10:04] Production.INFO: count ==23 [2025-03-20 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722441') start [2025-03-20 11:10:04] Production.ERROR: done [2025-03-20 11:10:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:10:04] Production.ERROR: done [2025-03-20 11:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 11:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722442', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 11:10:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:10:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:10:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722441') end [2025-03-20 11:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:10:04] Production.INFO: 1 [2025-03-20 11:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:10:04] Production.INFO: ==16785== Releasing lock... [2025-03-20 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:10:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:10:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:10:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:10:05] Production.INFO: Total Charge 0 [2025-03-20 11:10:05] Production.INFO: CreateAllLog End [2025-03-20 11:10:05] Production.INFO: Account Balance End. [2025-03-20 11:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:10:05] Production.INFO: ==16778== Releasing lock... [2025-03-20 11:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:10:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:10:05 [end_date_ymd] => 2025-03-20 11:10:05 [RateCDR] => 1 ) [2025-03-20 11:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:10:05' and `end` < '2025-03-20 11:10:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722442', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 11:10:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 11:10:10] Production.INFO: ProcessCDR(1,14722442,1,1,2) [2025-03-20 11:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722442,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722442,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:10:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:10:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:10:10] Production.INFO: ==16783== Releasing lock... [2025-03-20 11:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 11:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 11:10:15] Production.ERROR: CronJobId end10 [2025-03-20 11:10:15] Production.INFO: ==16776== Releasing lock... [2025-03-20 11:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:10:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:10:17] Production.INFO: call_cost start [2025-03-20 11:10:17] Production.INFO: call_cost end [2025-03-20 11:10:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:10:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:10:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:10:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:10:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:10:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:10:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:10:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:10:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:10:19] Production.INFO: ==16772== Releasing lock... [2025-03-20 11:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:10:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:10:19] Production.INFO: count ==3652 [2025-03-20 11:10:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:10:05 - End Time 2025-03-20 11:10:05 [2025-03-20 11:10:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722443', 'tblTempUsageDetail_20' ) start [2025-03-20 11:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722443', 'tblTempUsageDetail_20' ) end [2025-03-20 11:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722443', 'tblTempVendorCDR_20' ) start [2025-03-20 11:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722443', 'tblTempVendorCDR_20' ) end [2025-03-20 11:10:20] Production.INFO: ProcessCDR(1,14722443,1,1,2) [2025-03-20 11:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722443,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722443,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722443', 'tblTempUsageDetail_20' ) start [2025-03-20 11:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722443', 'tblTempUsageDetail_20' ) end [2025-03-20 11:10:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:10:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:10:24] Production.INFO: ==16780== Releasing lock... [2025-03-20 11:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:10:24] Production.INFO: 55.25 MB #Memory Used# [2025-03-20 15:11:02] Production.INFO: ==16862== Lock acquired, processing the job... [2025-03-20 15:11:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:11:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:11:02] Production.INFO: neon service started [2025-03-20 15:11:02] Production.INFO: neon service started [2025-03-20 15:11:02] Production.INFO: ==16862== Releasing lock... [2025-03-20 15:11:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:11:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:11:02] Production.INFO: ==16864== Lock acquired, processing the job... [2025-03-20 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:11:02] Production.INFO: ==16864== Releasing lock... [2025-03-20 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:11:02] Production.INFO: ==16866== Lock acquired, processing the job... [2025-03-20 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:11:03] Production.INFO: ==16866== Releasing lock... [2025-03-20 15:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:11:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:11:03] Production.INFO: ==16869== Lock acquired, processing the job... [2025-03-20 11:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:11:03] Production.INFO: ==16871== Lock acquired, processing the job... [2025-03-20 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:11:03] Production.INFO: ==16873== Lock acquired, processing the job... [2025-03-20 11:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:11:04] Production.INFO: ==16875== Lock acquired, processing the job... [2025-03-20 11:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:11:04] Production.INFO: ==16879== Lock acquired, processing the job... [2025-03-20 11:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:11:04] Production.INFO: ==16877== Lock acquired, processing the job... [2025-03-20 11:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:11:04] Production.INFO: Account Balance Start. [2025-03-20 11:11:04] Production.INFO: CreateAllLog Start [2025-03-20 11:11:04] Production.INFO: 117 [2025-03-20 11:11:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.INFO: count ==12 [2025-03-20 11:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:11:04] Production.INFO: count ==23 [2025-03-20 11:11:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:11:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722446') start [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.INFO: ==16871== Releasing lock... [2025-03-20 11:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722446') end [2025-03-20 11:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:11:04] Production.INFO: 1 [2025-03-20 11:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.INFO: ==16879== Releasing lock... [2025-03-20 11:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.ERROR: done [2025-03-20 11:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:11:04] Production.INFO: Total Charge 0 [2025-03-20 11:11:04] Production.INFO: CreateAllLog End [2025-03-20 11:11:04] Production.ERROR: done [2025-03-20 11:11:05] Production.INFO: Account Balance End. [2025-03-20 11:11:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:11:05] Production.INFO: ==16875== Releasing lock... [2025-03-20 11:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:11:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:11:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:11:06 [end_date_ymd] => 2025-03-20 11:11:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:11:06' and `end` < '2025-03-20 11: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-03-20 11:11:13] Production.ERROR: CronJobId end10 [2025-03-20 11:11:13] Production.INFO: ==16873== Releasing lock... [2025-03-20 11:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:11:16] Production.INFO: call_cost start [2025-03-20 11:11:16] Production.INFO: call_cost end [2025-03-20 11:11:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:11:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:11:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:11:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:11:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:11:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:11:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:11:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:11:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:11:17] Production.INFO: ==16869== Releasing lock... [2025-03-20 11:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:11:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:11:19] Production.INFO: count ==3811 [2025-03-20 11:11:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:11:06 - End Time 2025-03-20 11:11:06 [2025-03-20 11:11:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722448', 'tblTempUsageDetail_20' ) start [2025-03-20 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722448', 'tblTempUsageDetail_20' ) end [2025-03-20 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722448', 'tblTempVendorCDR_20' ) start [2025-03-20 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722448', 'tblTempVendorCDR_20' ) end [2025-03-20 11:11:21] Production.INFO: ProcessCDR(1,14722448,1,1,2) [2025-03-20 11:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:11:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:11:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:11:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722448', 'tblTempUsageDetail_20' ) start [2025-03-20 11:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722448', 'tblTempUsageDetail_20' ) end [2025-03-20 11:11:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:11:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:11:27] Production.INFO: ==16877== Releasing lock... [2025-03-20 11:11:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:11:27] Production.INFO: 56.5 MB #Memory Used# [2025-03-20 15:12:01] Production.INFO: ==17028== Lock acquired, processing the job... [2025-03-20 15:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:12:01] Production.INFO: neon service started [2025-03-20 15:12:01] Production.INFO: neon service started [2025-03-20 15:12:01] Production.INFO: ==17028== Releasing lock... [2025-03-20 15:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:12:02] Production.INFO: ==17032== Lock acquired, processing the job... [2025-03-20 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:12:02] Production.INFO: ==17032== Releasing lock... [2025-03-20 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:12:02] Production.INFO: ==17030== Lock acquired, processing the job... [2025-03-20 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:12:02] Production.INFO: ==17030== Releasing lock... [2025-03-20 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:12:03] Production.INFO: ==17037== Lock acquired, processing the job... [2025-03-20 11:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:12:03] Production.INFO: ==17045== Lock acquired, processing the job... [2025-03-20 11:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:12:03] Production.INFO: ==17041== Lock acquired, processing the job... [2025-03-20 11:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 11:12:03] Production.INFO: ==17035== Lock acquired, processing the job... [2025-03-20 11:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:12:03] Production.INFO: count ==12 [2025-03-20 11:12:03] Production.INFO: ==17039== Lock acquired, processing the job... [2025-03-20 11:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 11:12:03] Production.INFO: Account Balance Start. [2025-03-20 11:12:03] Production.INFO: CreateAllLog Start [2025-03-20 11:12:03] Production.INFO: 117 [2025-03-20 11:12:03] Production.INFO: count ==23 [2025-03-20 11:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722450') start [2025-03-20 11:12:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:12:03] Production.INFO: ==17043== Lock acquired, processing the job... [2025-03-20 11:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:12:03] Production.INFO: ==17037== Releasing lock... [2025-03-20 11:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:12:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:12:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722450') end [2025-03-20 11:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:12:04] Production.INFO: 1 [2025-03-20 11:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:04] Production.INFO: ==17045== Releasing lock... [2025-03-20 11:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:12:04] Production.ERROR: done [2025-03-20 11:12:04] Production.INFO: Total Charge 0 [2025-03-20 11:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:12:04] Production.INFO: CreateAllLog End [2025-03-20 11:12:04] Production.ERROR: done [2025-03-20 11:12:04] Production.INFO: Account Balance End. [2025-03-20 11:12:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:12:04] Production.INFO: ==17041== Releasing lock... [2025-03-20 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:12:05 [end_date_ymd] => 2025-03-20 11:12:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:12:05' and `end` < '2025-03-20 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-03-20 11:12:14] Production.ERROR: CronJobId end10 [2025-03-20 11:12:14] Production.INFO: ==17039== Releasing lock... [2025-03-20 11:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:12:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:12:16] Production.INFO: call_cost start [2025-03-20 11:12:16] Production.INFO: call_cost end [2025-03-20 11:12:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:12:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:12:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:12:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:12:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:12:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:12:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:12:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:12:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:12:17] Production.INFO: ==17035== Releasing lock... [2025-03-20 11:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:12:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:12:18] Production.INFO: count ==3899 [2025-03-20 11:12:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:12:05 - End Time 2025-03-20 11:12:05 [2025-03-20 11:12:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722453', 'tblTempUsageDetail_20' ) start [2025-03-20 11:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722453', 'tblTempUsageDetail_20' ) end [2025-03-20 11:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722453', 'tblTempVendorCDR_20' ) start [2025-03-20 11:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722453', 'tblTempVendorCDR_20' ) end [2025-03-20 11:12:21] Production.INFO: ProcessCDR(1,14722453,1,1,2) [2025-03-20 11:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:12:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722453,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:12:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722453,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722453', 'tblTempUsageDetail_20' ) start [2025-03-20 11:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722453', 'tblTempUsageDetail_20' ) end [2025-03-20 11:12:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:12:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:12:26] Production.INFO: ==17043== Releasing lock... [2025-03-20 11:12:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:12:26] Production.INFO: 57 MB #Memory Used# [2025-03-20 15:13:02] Production.INFO: ==17119== Lock acquired, processing the job... [2025-03-20 15:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:13:02] Production.INFO: neon service started [2025-03-20 15:13:02] Production.INFO: neon service started [2025-03-20 15:13:02] Production.INFO: ==17119== Releasing lock... [2025-03-20 15:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:13:02] Production.INFO: ==17121== Lock acquired, processing the job... [2025-03-20 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:13:02] Production.INFO: ==17121== Releasing lock... [2025-03-20 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:13:02] Production.INFO: ==17123== Lock acquired, processing the job... [2025-03-20 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:13:03] Production.INFO: ==17123== Releasing lock... [2025-03-20 15:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:13:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:13:03] Production.INFO: ==17125== Lock acquired, processing the job... [2025-03-20 11:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:13:03] Production.INFO: ==17129== Lock acquired, processing the job... [2025-03-20 11:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:13:03] Production.INFO: ==17127== Lock acquired, processing the job... [2025-03-20 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:13:03] Production.INFO: ==17131== Lock acquired, processing the job... [2025-03-20 11:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:13:04] Production.INFO: Account Balance Start. [2025-03-20 11:13:04] Production.INFO: CreateAllLog Start [2025-03-20 11:13:04] Production.INFO: 117 [2025-03-20 11:13:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:13:04] Production.INFO: ==17134== Lock acquired, processing the job... [2025-03-20 11:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.INFO: ==17136== Lock acquired, processing the job... [2025-03-20 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:13:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.INFO: count ==12 [2025-03-20 11:13:04] Production.ERROR: done [2025-03-20 11:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:13:04] Production.INFO: ==17127== Releasing lock... [2025-03-20 11:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:13:04] Production.INFO: count ==23 [2025-03-20 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722457') start [2025-03-20 11:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.ERROR: done [2025-03-20 11:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722457') end [2025-03-20 11:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:13:04] Production.INFO: 1 [2025-03-20 11:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:13:04] Production.INFO: ==17136== Releasing lock... [2025-03-20 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:13:04] Production.INFO: Total Charge 0 [2025-03-20 11:13:04] Production.INFO: CreateAllLog End [2025-03-20 11:13:05] Production.INFO: Account Balance End. [2025-03-20 11:13:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:13:05] Production.INFO: ==17131== Releasing lock... [2025-03-20 11:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:13:05 [end_date_ymd] => 2025-03-20 11:13:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:13:05' and `end` < '2025-03-20 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-03-20 11:13:14] Production.ERROR: CronJobId end10 [2025-03-20 11:13:14] Production.INFO: ==17129== Releasing lock... [2025-03-20 11:13:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:13:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:13:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:13:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:13:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:13:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:13:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:13:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:13:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:13:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:13:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:13:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:13:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:13:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:13:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:13:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:13:16] Production.INFO: call_cost start [2025-03-20 11:13:16] Production.INFO: call_cost end [2025-03-20 11:13:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:13:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:13:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:13:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:13:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:13:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:13:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:13:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:13:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:13:17] Production.INFO: ==17125== Releasing lock... [2025-03-20 11:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:13:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:13:19] Production.INFO: count ==3921 [2025-03-20 11:13:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:13:05 - End Time 2025-03-20 11:13:05 [2025-03-20 11:13:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722458', 'tblTempUsageDetail_20' ) start [2025-03-20 11:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722458', 'tblTempUsageDetail_20' ) end [2025-03-20 11:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722458', 'tblTempVendorCDR_20' ) start [2025-03-20 11:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722458', 'tblTempVendorCDR_20' ) end [2025-03-20 11:13:20] Production.INFO: ProcessCDR(1,14722458,1,1,2) [2025-03-20 11:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722458,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722458,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722458', 'tblTempUsageDetail_20' ) start [2025-03-20 11:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722458', 'tblTempUsageDetail_20' ) end [2025-03-20 11:13:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:13:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:13:25] Production.INFO: ==17134== Releasing lock... [2025-03-20 11:13:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:13:25] Production.INFO: 57.5 MB #Memory Used# [2025-03-20 15:14:01] Production.INFO: ==17215== Lock acquired, processing the job... [2025-03-20 15:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:14:01] Production.INFO: neon service started [2025-03-20 15:14:01] Production.INFO: neon service started [2025-03-20 15:14:01] Production.INFO: ==17215== Releasing lock... [2025-03-20 15:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:14:02] Production.INFO: ==17217== Lock acquired, processing the job... [2025-03-20 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:14:02] Production.INFO: ==17219== Lock acquired, processing the job... [2025-03-20 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:14:02] Production.INFO: ==17219== Releasing lock... [2025-03-20 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:14:02] Production.INFO: ==17217== Releasing lock... [2025-03-20 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:14:03] Production.INFO: ==17222== Lock acquired, processing the job... [2025-03-20 11:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:14:03] Production.INFO: ==17228== Lock acquired, processing the job... [2025-03-20 11:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:14:03] Production.INFO: Account Balance Start. [2025-03-20 11:14:03] Production.INFO: CreateAllLog Start [2025-03-20 11:14:03] Production.INFO: 117 [2025-03-20 11:14:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:14:03] Production.INFO: ==17224== Lock acquired, processing the job... [2025-03-20 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:03] Production.INFO: ==17226== Lock acquired, processing the job... [2025-03-20 11:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:14:03] Production.INFO: ==17230== Lock acquired, processing the job... [2025-03-20 11:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:14:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:14:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:03] Production.INFO: Date 2025-03-11 [2025-03-20 11:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:03] Production.INFO: Date 2025-03-12 [2025-03-20 11:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:03] Production.INFO: ==17232== Lock acquired, processing the job... [2025-03-20 11:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:14:03] Production.INFO: Date 2025-03-13 [2025-03-20 11:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:03] Production.INFO: Date 2025-03-14 [2025-03-20 11:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:03] Production.INFO: ==17224== Releasing lock... [2025-03-20 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:14:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:14:03] Production.INFO: Date 2025-03-15 [2025-03-20 11:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:14:03] Production.INFO: Date 2025-03-16 [2025-03-20 11:14:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:04] Production.INFO: count ==12 [2025-03-20 11:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 11:14:04] Production.INFO: count ==23 [2025-03-20 11:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722462') start [2025-03-20 11:14:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:04] Production.ERROR: done [2025-03-20 11:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:14:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722462') end [2025-03-20 11:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:14:04] Production.INFO: 1 [2025-03-20 11:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:14:04] Production.INFO: Total Charge 0 [2025-03-20 11:14:04] Production.INFO: ==17232== Releasing lock... [2025-03-20 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:14:04] Production.ERROR: done [2025-03-20 11:14:04] Production.INFO: CreateAllLog End [2025-03-20 11:14:04] Production.INFO: Account Balance End. [2025-03-20 11:14:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:14:04] Production.INFO: ==17228== Releasing lock... [2025-03-20 11:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:14:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:14:05 [end_date_ymd] => 2025-03-20 11:14:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:14:05' and `end` < '2025-03-20 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-03-20 11:14:13] Production.ERROR: CronJobId end10 [2025-03-20 11:14:13] Production.INFO: ==17226== Releasing lock... [2025-03-20 11:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:14:15] Production.INFO: call_cost start [2025-03-20 11:14:15] Production.INFO: call_cost end [2025-03-20 11:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:14:16] Production.INFO: ==17222== Releasing lock... [2025-03-20 11:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:14:18] Production.INFO: count ==3947 [2025-03-20 11:14:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:14:05 - End Time 2025-03-20 11:14:05 [2025-03-20 11:14:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722463', 'tblTempUsageDetail_20' ) start [2025-03-20 11:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722463', 'tblTempUsageDetail_20' ) end [2025-03-20 11:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722463', 'tblTempVendorCDR_20' ) start [2025-03-20 11:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722463', 'tblTempVendorCDR_20' ) end [2025-03-20 11:14:20] Production.INFO: ProcessCDR(1,14722463,1,1,2) [2025-03-20 11:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:14:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:14:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722463', 'tblTempUsageDetail_20' ) start [2025-03-20 11:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722463', 'tblTempUsageDetail_20' ) end [2025-03-20 11:14:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:14:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:14:26] Production.INFO: ==17230== Releasing lock... [2025-03-20 11:14:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:14:26] Production.INFO: 57.5 MB #Memory Used# [2025-03-20 15:15:02] Production.INFO: ==17387== Lock acquired, processing the job... [2025-03-20 15:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:15:02] Production.INFO: neon service started [2025-03-20 15:15:02] Production.INFO: neon service started [2025-03-20 15:15:02] Production.INFO: ==17387== Releasing lock... [2025-03-20 15:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:15:02] Production.INFO: ==17391== Lock acquired, processing the job... [2025-03-20 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:15:02] Production.INFO: ==17391== Releasing lock... [2025-03-20 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:15:02] Production.INFO: ==17389== Lock acquired, processing the job... [2025-03-20 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:15:03] Production.INFO: ==17389== Releasing lock... [2025-03-20 11:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:15:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:15:04] Production.INFO: ==17400== Lock acquired, processing the job... [2025-03-20 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:15:04] Production.INFO: ==17402== Lock acquired, processing the job... [2025-03-20 11:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:15:04] Production.INFO: Account Balance Start. [2025-03-20 11:15:04] Production.INFO: CreateAllLog Start [2025-03-20 11:15:04] Production.INFO: 117 [2025-03-20 11:15:04] Production.INFO: ==17394== Lock acquired, processing the job... [2025-03-20 11:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:15:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:04] Production.INFO: ==17396== Lock acquired, processing the job... [2025-03-20 11:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:15:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:04] Production.INFO: ==17398== Lock acquired, processing the job... [2025-03-20 11:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:04] Production.INFO: ==17404== Lock acquired, processing the job... [2025-03-20 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:04] Production.INFO: count ==12 [2025-03-20 11:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:15:04] Production.INFO: count ==23 [2025-03-20 11:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722465') start [2025-03-20 11:15:04] Production.ERROR: done [2025-03-20 11:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:04] Production.ERROR: done [2025-03-20 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722465') end [2025-03-20 11:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:15:04] Production.INFO: 1 [2025-03-20 11:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:04] Production.INFO: ==17404== Releasing lock... [2025-03-20 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:05] Production.INFO: ==17396== Releasing lock... [2025-03-20 11:15:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:15:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:15:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:15:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:15:05] Production.INFO: Total Charge 0 [2025-03-20 11:15:05] Production.INFO: CreateAllLog End [2025-03-20 11:15:05] Production.INFO: Account Balance End. [2025-03-20 11:15:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:15:05] Production.INFO: ==17400== Releasing lock... [2025-03-20 11:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:15:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:15:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:15:06 [end_date_ymd] => 2025-03-20 11:15:06 [RateCDR] => 1 ) [2025-03-20 11:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:15:06' and `end` < '2025-03-20 11:15:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:15:13] Production.ERROR: CronJobId end10 [2025-03-20 11:15:13] Production.INFO: ==17398== Releasing lock... [2025-03-20 11:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:15:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:15:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:15:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:15:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:15:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:15:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:15:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:15:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:15:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:15:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:15:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:15:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:15:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:15:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:15:16] Production.INFO: call_cost start [2025-03-20 11:15:16] Production.INFO: call_cost end [2025-03-20 11:15:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:15:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:15:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:15:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:15:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:15:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:15:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:15:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:15:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:15:17] Production.INFO: ==17394== Releasing lock... [2025-03-20 11:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:15:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:15:19] Production.INFO: count ==3960 [2025-03-20 11:15:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:15:06 - End Time 2025-03-20 11:15:06 [2025-03-20 11:15:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722468', 'tblTempUsageDetail_20' ) start [2025-03-20 11:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722468', 'tblTempUsageDetail_20' ) end [2025-03-20 11:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722468', 'tblTempVendorCDR_20' ) start [2025-03-20 11:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722468', 'tblTempVendorCDR_20' ) end [2025-03-20 11:15:21] Production.INFO: ProcessCDR(1,14722468,1,1,2) [2025-03-20 11:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:15:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:15:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722468', 'tblTempUsageDetail_20' ) start [2025-03-20 11:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722468', 'tblTempUsageDetail_20' ) end [2025-03-20 11:15:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:15:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:15:25] Production.INFO: ==17402== Releasing lock... [2025-03-20 11:15:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:15:25] Production.INFO: 57.5 MB #Memory Used# [2025-03-20 15:16:01] Production.INFO: ==17468== Lock acquired, processing the job... [2025-03-20 15:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:16:01] Production.INFO: neon service started [2025-03-20 15:16:01] Production.INFO: neon service started [2025-03-20 15:16:01] Production.INFO: ==17468== Releasing lock... [2025-03-20 15:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:16:01] Production.INFO: ==17470== Lock acquired, processing the job... [2025-03-20 11:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:16:02] Production.INFO: ==17470== Releasing lock... [2025-03-20 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:16:02] Production.INFO: ==17472== Lock acquired, processing the job... [2025-03-20 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:16:02] Production.INFO: ==17472== Releasing lock... [2025-03-20 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:16:03] Production.INFO: ==17481== Lock acquired, processing the job... [2025-03-20 11:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:16:03] Production.INFO: ==17475== Lock acquired, processing the job... [2025-03-20 11:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:16:03] Production.INFO: ==17485== Lock acquired, processing the job... [2025-03-20 11:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:16:03] Production.INFO: Account Balance Start. [2025-03-20 11:16:03] Production.INFO: CreateAllLog Start [2025-03-20 11:16:03] Production.INFO: 117 [2025-03-20 11:16:03] Production.INFO: ==17477== Lock acquired, processing the job... [2025-03-20 11:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:16:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:03] Production.INFO: ==17479== Lock acquired, processing the job... [2025-03-20 11:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:16:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:03] Production.INFO: count ==12 [2025-03-20 11:16:03] Production.INFO: ==17483== Lock acquired, processing the job... [2025-03-20 11:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:16:03] Production.INFO: count ==23 [2025-03-20 11:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722470') start [2025-03-20 11:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:16:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722470') end [2025-03-20 11:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:16:04] Production.INFO: 1 [2025-03-20 11:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:04] Production.INFO: ==17485== Releasing lock... [2025-03-20 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:04] Production.INFO: ==17477== Releasing lock... [2025-03-20 11:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:04] Production.ERROR: done [2025-03-20 11:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:16:04] Production.INFO: Total Charge 0 [2025-03-20 11:16:04] Production.INFO: CreateAllLog End [2025-03-20 11:16:04] Production.ERROR: done [2025-03-20 11:16:04] Production.INFO: Account Balance End. [2025-03-20 11:16:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:16:04] Production.INFO: ==17481== Releasing lock... [2025-03-20 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:16:05 [end_date_ymd] => 2025-03-20 11:16:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:16:05' and `end` < '2025-03-20 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-03-20 11:16:13] Production.ERROR: CronJobId end10 [2025-03-20 11:16:13] Production.INFO: ==17479== Releasing lock... [2025-03-20 11:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:16:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:16:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:16:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:16:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:16:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:16:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:16:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:16:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:16:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:16:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:16:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:16:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:16:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:16:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:16:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:16:16] Production.INFO: call_cost start [2025-03-20 11:16:16] Production.INFO: call_cost end [2025-03-20 11:16:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:16:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:16:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:16:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:16:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:16:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:16:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:16:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:16:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:16:17] Production.INFO: ==17475== Releasing lock... [2025-03-20 11:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:16:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:16:19] Production.INFO: count ==4041 [2025-03-20 11:16:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:16:05 - End Time 2025-03-20 11:16:05 [2025-03-20 11:16:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722473', 'tblTempUsageDetail_20' ) start [2025-03-20 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722473', 'tblTempUsageDetail_20' ) end [2025-03-20 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722473', 'tblTempVendorCDR_20' ) start [2025-03-20 11:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722473', 'tblTempVendorCDR_20' ) end [2025-03-20 11:16:21] Production.INFO: ProcessCDR(1,14722473,1,1,2) [2025-03-20 11:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:16:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722473', 'tblTempUsageDetail_20' ) start [2025-03-20 11:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722473', 'tblTempUsageDetail_20' ) end [2025-03-20 11:16:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:16:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:16:26] Production.INFO: ==17483== Releasing lock... [2025-03-20 11:16:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:16:26] Production.INFO: 58.25 MB #Memory Used# [2025-03-20 15:17:02] Production.INFO: ==17603== Lock acquired, processing the job... [2025-03-20 15:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:17:02] Production.INFO: neon service started [2025-03-20 15:17:02] Production.INFO: neon service started [2025-03-20 15:17:02] Production.INFO: ==17603== Releasing lock... [2025-03-20 15:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:17:02] Production.INFO: ==17605== Lock acquired, processing the job... [2025-03-20 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:17:02] Production.INFO: ==17605== Releasing lock... [2025-03-20 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:17:03] Production.INFO: ==17607== Lock acquired, processing the job... [2025-03-20 15:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:17:03] Production.INFO: ==17607== Releasing lock... [2025-03-20 15:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:17:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:17:03] Production.INFO: ==17612== Lock acquired, processing the job... [2025-03-20 11:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:17:04] Production.INFO: ==17616== Lock acquired, processing the job... [2025-03-20 11:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:17:04] Production.INFO: ==17614== Lock acquired, processing the job... [2025-03-20 11:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:17:04] Production.INFO: ==17618== Lock acquired, processing the job... [2025-03-20 11:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:17:04] Production.INFO: ==17620== Lock acquired, processing the job... [2025-03-20 11:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:17:04] Production.INFO: ==17622== Lock acquired, processing the job... [2025-03-20 11:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:17:04] Production.INFO: Account Balance Start. [2025-03-20 11:17:04] Production.INFO: CreateAllLog Start [2025-03-20 11:17:04] Production.INFO: 117 [2025-03-20 11:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:17:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:17:04] Production.INFO: count ==12 [2025-03-20 11:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:17:04] Production.INFO: count ==23 [2025-03-20 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722477') start [2025-03-20 11:17:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722477') end [2025-03-20 11:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:17:04] Production.INFO: 1 [2025-03-20 11:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:17:04] Production.INFO: ==17614== Releasing lock... [2025-03-20 11:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:17:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:05] Production.INFO: ==17622== Releasing lock... [2025-03-20 11:17:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:17:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:17:05] Production.INFO: Date 2025-03-13 [2025-03-20 11:17:05] Production.ERROR: done [2025-03-20 11:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:17:05] Production.INFO: Date 2025-03-14 [2025-03-20 11:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:05] Production.INFO: Date 2025-03-15 [2025-03-20 11:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:05] Production.INFO: Date 2025-03-16 [2025-03-20 11:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:05] Production.ERROR: done [2025-03-20 11:17:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:17:05] Production.INFO: Total Charge 0 [2025-03-20 11:17:05] Production.INFO: CreateAllLog End [2025-03-20 11:17:05] Production.INFO: Account Balance End. [2025-03-20 11:17:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:17:05] Production.INFO: ==17618== Releasing lock... [2025-03-20 11:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:17:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:17:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:17:06 [end_date_ymd] => 2025-03-20 11:17:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:17:06' and `end` < '2025-03-20 11: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-03-20 11:17:14] Production.ERROR: CronJobId end10 [2025-03-20 11:17:14] Production.INFO: ==17616== Releasing lock... [2025-03-20 11:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:17:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:17:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:17:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:17:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:17:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:17:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:17:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:17:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:17:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:17:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:17:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:17:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:17:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:17:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:17:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:17:17] Production.INFO: call_cost start [2025-03-20 11:17:17] Production.INFO: call_cost end [2025-03-20 11:17:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:17:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:17:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:17:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:17:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:17:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:17:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:17:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:17:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:17:18] Production.INFO: ==17612== Releasing lock... [2025-03-20 11:17:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:17:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:17:19] Production.INFO: count ==4040 [2025-03-20 11:17:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:17:06 - End Time 2025-03-20 11:17:06 [2025-03-20 11:17:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722478', 'tblTempUsageDetail_20' ) start [2025-03-20 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722478', 'tblTempUsageDetail_20' ) end [2025-03-20 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722478', 'tblTempVendorCDR_20' ) start [2025-03-20 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722478', 'tblTempVendorCDR_20' ) end [2025-03-20 11:17:21] Production.INFO: ProcessCDR(1,14722478,1,1,2) [2025-03-20 11:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:17:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:17:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:17:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722478', 'tblTempUsageDetail_20' ) start [2025-03-20 11:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722478', 'tblTempUsageDetail_20' ) end [2025-03-20 11:17:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:17:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:17:25] Production.INFO: ==17620== Releasing lock... [2025-03-20 11:17:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:17:25] Production.INFO: 58.25 MB #Memory Used# [2025-03-20 15:18:01] Production.INFO: ==17692== Lock acquired, processing the job... [2025-03-20 15:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:18:01] Production.INFO: neon service started [2025-03-20 15:18:01] Production.INFO: neon service started [2025-03-20 15:18:01] Production.INFO: ==17692== Releasing lock... [2025-03-20 15:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:18:02] Production.INFO: ==17696== Lock acquired, processing the job... [2025-03-20 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:18:02] Production.INFO: ==17696== Releasing lock... [2025-03-20 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:18:02] Production.INFO: 26 MB #Memory Used# [2025-03-20 11:18:02] Production.INFO: ==17694== Lock acquired, processing the job... [2025-03-20 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:18:02] Production.INFO: ==17694== Releasing lock... [2025-03-20 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:18:03] Production.INFO: ==17707== Lock acquired, processing the job... [2025-03-20 11:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:18:03] Production.INFO: ==17709== Lock acquired, processing the job... [2025-03-20 11:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:18:03] Production.INFO: ==17701== Lock acquired, processing the job... [2025-03-20 11:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:18:03] Production.INFO: ==17703== Lock acquired, processing the job... [2025-03-20 11:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:18:03] Production.INFO: Account Balance Start. [2025-03-20 11:18:03] Production.INFO: CreateAllLog Start [2025-03-20 11:18:03] Production.INFO: 117 [2025-03-20 11:18:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.INFO: ==17705== Lock acquired, processing the job... [2025-03-20 11:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.INFO: ==17711== Lock acquired, processing the job... [2025-03-20 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 11:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.INFO: count ==12 [2025-03-20 11:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 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-03-20 11:18:04] Production.INFO: count ==23 [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722481') start [2025-03-20 11:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.ERROR: done [2025-03-20 11:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722481') end [2025-03-20 11:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:18:04] Production.INFO: 1 [2025-03-20 11:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.INFO: ==17711== Releasing lock... [2025-03-20 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:18:04] Production.INFO: ==17703== Releasing lock... [2025-03-20 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:18:04] Production.ERROR: done [2025-03-20 11:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:18:04] Production.INFO: Total Charge 0 [2025-03-20 11:18:04] Production.INFO: CreateAllLog End [2025-03-20 11:18:04] Production.INFO: Account Balance End. [2025-03-20 11:18:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:18:04] Production.INFO: ==17707== Releasing lock... [2025-03-20 11:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:18:05 [end_date_ymd] => 2025-03-20 11:18:05 [RateCDR] => 1 ) [2025-03-20 11:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:18:05' and `end` < '2025-03-20 11:18:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:18:13] Production.ERROR: CronJobId end10 [2025-03-20 11:18:13] Production.INFO: ==17705== Releasing lock... [2025-03-20 11:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:18:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:18:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:18:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:18:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:18:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:18:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:18:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:18:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:18:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:18:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:18:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:18:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:18:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:18:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:18:16] Production.INFO: call_cost start [2025-03-20 11:18:16] Production.INFO: call_cost end [2025-03-20 11:18:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:18:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:18:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:18:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:18:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:18:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:18:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:18:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:18:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:18:17] Production.INFO: ==17701== Releasing lock... [2025-03-20 11:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:18:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:18:18] Production.INFO: count ==4036 [2025-03-20 11:18:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:18:05 - End Time 2025-03-20 11:18:05 [2025-03-20 11:18:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722483', 'tblTempUsageDetail_20' ) start [2025-03-20 11:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722483', 'tblTempUsageDetail_20' ) end [2025-03-20 11:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722483', 'tblTempVendorCDR_20' ) start [2025-03-20 11:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722483', 'tblTempVendorCDR_20' ) end [2025-03-20 11:18:20] Production.INFO: ProcessCDR(1,14722483,1,1,2) [2025-03-20 11:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:18:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:18:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722483', 'tblTempUsageDetail_20' ) start [2025-03-20 11:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722483', 'tblTempUsageDetail_20' ) end [2025-03-20 11:18:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:18:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:18:25] Production.INFO: ==17709== Releasing lock... [2025-03-20 11:18:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:18:25] Production.INFO: 58.25 MB #Memory Used# [2025-03-20 15:19:02] Production.INFO: ==17786== Lock acquired, processing the job... [2025-03-20 15:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:19:02] Production.INFO: neon service started [2025-03-20 15:19:02] Production.INFO: neon service started [2025-03-20 15:19:02] Production.INFO: ==17786== Releasing lock... [2025-03-20 15:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:19:02] Production.INFO: ==17789== Lock acquired, processing the job... [2025-03-20 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:19:02] Production.INFO: ==17789== Releasing lock... [2025-03-20 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:19:02] Production.INFO: ==17791== Lock acquired, processing the job... [2025-03-20 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:19:03] Production.INFO: ==17791== Releasing lock... [2025-03-20 15:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:19:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:19:03] Production.INFO: ==17795== Lock acquired, processing the job... [2025-03-20 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:19:03] Production.INFO: ==17803== Lock acquired, processing the job... [2025-03-20 11:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:19:03] Production.INFO: ==17793== Lock acquired, processing the job... [2025-03-20 11:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:19:04] Production.INFO: ==17797== Lock acquired, processing the job... [2025-03-20 11:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:19:04] Production.INFO: count ==12 [2025-03-20 11:19:04] Production.INFO: ==17799== Lock acquired, processing the job... [2025-03-20 11:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:19:04] Production.INFO: count ==23 [2025-03-20 11:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722486') start [2025-03-20 11:19:04] Production.INFO: ==17801== Lock acquired, processing the job... [2025-03-20 11:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:19:04] Production.INFO: ==17795== Releasing lock... [2025-03-20 11:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:19:04] Production.INFO: Account Balance Start. [2025-03-20 11:19:04] Production.INFO: CreateAllLog Start [2025-03-20 11:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:19:04] Production.INFO: 117 [2025-03-20 11:19:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722486') end [2025-03-20 11:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:19:04] Production.INFO: 1 [2025-03-20 11:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:19:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:19:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.INFO: ==17803== Releasing lock... [2025-03-20 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:19:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.ERROR: done [2025-03-20 11:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:19:04] Production.INFO: Total Charge 0 [2025-03-20 11:19:04] Production.INFO: CreateAllLog End [2025-03-20 11:19:04] Production.ERROR: done [2025-03-20 11:19:04] Production.INFO: Account Balance End. [2025-03-20 11:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:19:04] Production.INFO: ==17799== Releasing lock... [2025-03-20 11:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:19:05 [end_date_ymd] => 2025-03-20 11:19:05 [RateCDR] => 1 ) [2025-03-20 11:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:19:05' and `end` < '2025-03-20 11:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:19:13] Production.ERROR: CronJobId end10 [2025-03-20 11:19:13] Production.INFO: ==17797== Releasing lock... [2025-03-20 11:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:19:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:19:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:19:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:19:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:19:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:19:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:19:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:19:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:19:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:19:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:19:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:19:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:19:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:19:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:19:15] Production.INFO: call_cost start [2025-03-20 11:19:15] Production.INFO: call_cost end [2025-03-20 11:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:19:16] Production.INFO: ==17793== Releasing lock... [2025-03-20 11:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:19:20] Production.INFO: count ==4049 [2025-03-20 11:19:22] Production.ERROR: pbx CDR StartTime 2025-03-20 08:19:05 - End Time 2025-03-20 11:19:05 [2025-03-20 11:19:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722488', 'tblTempUsageDetail_20' ) start [2025-03-20 11:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722488', 'tblTempUsageDetail_20' ) end [2025-03-20 11:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722488', 'tblTempVendorCDR_20' ) start [2025-03-20 11:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722488', 'tblTempVendorCDR_20' ) end [2025-03-20 11:19:22] Production.INFO: ProcessCDR(1,14722488,1,1,2) [2025-03-20 11:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:19:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:19:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:19:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722488', 'tblTempUsageDetail_20' ) start [2025-03-20 11:19:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722488', 'tblTempUsageDetail_20' ) end [2025-03-20 11:19:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:19:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:19:28] Production.INFO: ==17801== Releasing lock... [2025-03-20 11:19:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:19:28] Production.INFO: 58.25 MB #Memory Used# [2025-03-20 15:20:01] Production.INFO: ==17875== Lock acquired, processing the job... [2025-03-20 15:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:20:01] Production.INFO: neon service started [2025-03-20 15:20:01] Production.INFO: neon service started [2025-03-20 15:20:01] Production.INFO: ==17875== Releasing lock... [2025-03-20 15:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:20:02] Production.INFO: ==17879== Lock acquired, processing the job... [2025-03-20 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:20:02] Production.INFO: ==17881== Lock acquired, processing the job... [2025-03-20 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:20:02] Production.INFO: ==17881== Releasing lock... [2025-03-20 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:20:02] Production.INFO: ==17879== Releasing lock... [2025-03-20 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:20:03] Production.INFO: ==17883== Lock acquired, processing the job... [2025-03-20 11:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 11:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 11:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 11:20:03] Production.INFO: ==17883== Releasing lock... [2025-03-20 11:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 11:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 11:20:03] Production.INFO: ==17886== Lock acquired, processing the job... [2025-03-20 11:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:20:03] Production.INFO: ==17892== Lock acquired, processing the job... [2025-03-20 11:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:20:03] Production.INFO: ==17894== Lock acquired, processing the job... [2025-03-20 11:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:20:03] Production.INFO: ==17888== Lock acquired, processing the job... [2025-03-20 11:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:20:04] Production.INFO: Account Balance Start. [2025-03-20 11:20:04] Production.INFO: CreateAllLog Start [2025-03-20 11:20:04] Production.INFO: 117 [2025-03-20 11:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:20:04] Production.INFO: ==17890== Lock acquired, processing the job... [2025-03-20 11:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.INFO: ==17898== Lock acquired, processing the job... [2025-03-20 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:20:04] Production.INFO: ==17896== Lock acquired, processing the job... [2025-03-20 11:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 11:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 11:20:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:20:04] Production.INFO: count ==12 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.ERROR: done [2025-03-20 11:20:04] Production.INFO: ==17888== Releasing lock... [2025-03-20 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 11:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:20:04] Production.INFO: count ==23 [2025-03-20 11:20:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722492') start [2025-03-20 11:20:04] Production.ERROR: done [2025-03-20 11:20:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 11:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722493', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 11:20:04] Production.INFO: Total Charge 0 [2025-03-20 11:20:04] Production.INFO: CreateAllLog End [2025-03-20 11:20:04] Production.ERROR: done [2025-03-20 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722492') end [2025-03-20 11:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:20:04] Production.INFO: 1 [2025-03-20 11:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:20:04] Production.INFO: ==17898== Releasing lock... [2025-03-20 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:20:05] Production.INFO: Account Balance End. [2025-03-20 11:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:20:05] Production.INFO: ==17892== Releasing lock... [2025-03-20 11:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:20:06 [end_date_ymd] => 2025-03-20 11:20:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:20:06' and `end` < '2025-03-20 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-03-20 11:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722493', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 11:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 11:20:09] Production.INFO: ProcessCDR(1,14722493,1,1,2) [2025-03-20 11:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722493,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722493,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:20:09] Production.INFO: ==17896== Releasing lock... [2025-03-20 11:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 11:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 11:20:15] Production.ERROR: CronJobId end10 [2025-03-20 11:20:15] Production.INFO: ==17890== Releasing lock... [2025-03-20 11:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:20:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:20:17] Production.INFO: call_cost start [2025-03-20 11:20:17] Production.INFO: call_cost end [2025-03-20 11:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:20:18] Production.INFO: ==17886== Releasing lock... [2025-03-20 11:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:20:19] Production.INFO: count ==4087 [2025-03-20 11:20:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:20:06 - End Time 2025-03-20 11:20:06 [2025-03-20 11:20:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722494', 'tblTempUsageDetail_20' ) start [2025-03-20 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722494', 'tblTempUsageDetail_20' ) end [2025-03-20 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722494', 'tblTempVendorCDR_20' ) start [2025-03-20 11:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722494', 'tblTempVendorCDR_20' ) end [2025-03-20 11:20:21] Production.INFO: ProcessCDR(1,14722494,1,1,2) [2025-03-20 11:20:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:20:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722494,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:20:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:20:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722494,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722494', 'tblTempUsageDetail_20' ) start [2025-03-20 11:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722494', 'tblTempUsageDetail_20' ) end [2025-03-20 11:20:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:20:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:20:26] Production.INFO: ==17894== Releasing lock... [2025-03-20 11:20:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:20:26] Production.INFO: 58.5 MB #Memory Used# [2025-03-20 15:21:02] Production.INFO: ==17975== Lock acquired, processing the job... [2025-03-20 15:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:21:02] Production.INFO: neon service started [2025-03-20 15:21:02] Production.INFO: neon service started [2025-03-20 15:21:02] Production.INFO: ==17975== Releasing lock... [2025-03-20 15:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:21:02] Production.INFO: ==17979== Lock acquired, processing the job... [2025-03-20 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:21:02] Production.INFO: ==17979== Releasing lock... [2025-03-20 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:21:02] Production.INFO: ==17977== Lock acquired, processing the job... [2025-03-20 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:21:03] Production.INFO: ==17977== Releasing lock... [2025-03-20 11:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:21:03] Production.INFO: ==17988== Lock acquired, processing the job... [2025-03-20 11:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:21:03] Production.INFO: ==17984== Lock acquired, processing the job... [2025-03-20 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:21:04] Production.INFO: Account Balance Start. [2025-03-20 11:21:04] Production.INFO: CreateAllLog Start [2025-03-20 11:21:04] Production.INFO: 117 [2025-03-20 11:21:04] Production.INFO: ==17982== Lock acquired, processing the job... [2025-03-20 11:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:21:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:21:04] Production.INFO: ==17986== Lock acquired, processing the job... [2025-03-20 11:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:21:04] Production.INFO: ==17990== Lock acquired, processing the job... [2025-03-20 11:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:21:04] Production.INFO: ==17984== Releasing lock... [2025-03-20 11:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: ==17992== Lock acquired, processing the job... [2025-03-20 11:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:21:04] Production.INFO: Total Charge 0 [2025-03-20 11:21:04] Production.ERROR: done [2025-03-20 11:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:21:04] Production.INFO: CreateAllLog End [2025-03-20 11:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:21:04] Production.INFO: count ==12 [2025-03-20 11:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:21:04] Production.INFO: count ==23 [2025-03-20 11:21:04] Production.ERROR: done [2025-03-20 11:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722498') start [2025-03-20 11:21:05] Production.INFO: Account Balance End. [2025-03-20 11:21:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722498') end [2025-03-20 11:21:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:21:05] Production.INFO: 1 [2025-03-20 11:21:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:21:05] Production.INFO: ==17992== Releasing lock... [2025-03-20 11:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:21:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:21:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:21:05] Production.INFO: ==17988== Releasing lock... [2025-03-20 11:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:21:06 [end_date_ymd] => 2025-03-20 11:21:06 [RateCDR] => 1 ) [2025-03-20 11:21:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:21:06' and `end` < '2025-03-20 11:21:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:21:13] Production.ERROR: CronJobId end10 [2025-03-20 11:21:13] Production.INFO: ==17986== Releasing lock... [2025-03-20 11:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:21:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:21:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:21:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:21:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:21:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:21:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:21:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:21:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:21:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:21:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:21:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:21:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:21:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:21:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:21:16] Production.INFO: call_cost start [2025-03-20 11:21:16] Production.INFO: call_cost end [2025-03-20 11:21:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:21:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:21:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:21:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:21:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:21:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:21:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:21:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:21:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:21:17] Production.INFO: ==17982== Releasing lock... [2025-03-20 11:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:21:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:21:19] Production.INFO: count ==4172 [2025-03-20 11:21:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:21:06 - End Time 2025-03-20 11:21:06 [2025-03-20 11:21:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722499', 'tblTempUsageDetail_20' ) start [2025-03-20 11:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722499', 'tblTempUsageDetail_20' ) end [2025-03-20 11:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722499', 'tblTempVendorCDR_20' ) start [2025-03-20 11:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722499', 'tblTempVendorCDR_20' ) end [2025-03-20 11:21:21] Production.INFO: ProcessCDR(1,14722499,1,1,2) [2025-03-20 11:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:21:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722499,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:21:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:21:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722499,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722499', 'tblTempUsageDetail_20' ) start [2025-03-20 11:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722499', 'tblTempUsageDetail_20' ) end [2025-03-20 11:21:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:21:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:21:26] Production.INFO: ==17990== Releasing lock... [2025-03-20 11:21:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:21:26] Production.INFO: 59.25 MB #Memory Used# [2025-03-20 15:22:01] Production.INFO: ==18058== Lock acquired, processing the job... [2025-03-20 15:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:22:01] Production.INFO: neon service started [2025-03-20 15:22:01] Production.INFO: neon service started [2025-03-20 15:22:01] Production.INFO: ==18058== Releasing lock... [2025-03-20 15:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:22:02] Production.INFO: ==18060== Lock acquired, processing the job... [2025-03-20 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:22:02] Production.INFO: ==18062== Lock acquired, processing the job... [2025-03-20 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:22:02] Production.INFO: ==18060== Releasing lock... [2025-03-20 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:22:02] Production.INFO: ==18062== Releasing lock... [2025-03-20 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:22:03] Production.INFO: ==18065== Lock acquired, processing the job... [2025-03-20 11:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:22:03] Production.INFO: ==18067== Lock acquired, processing the job... [2025-03-20 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:22:03] Production.INFO: ==18069== Lock acquired, processing the job... [2025-03-20 11:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:22:03] Production.INFO: ==18073== Lock acquired, processing the job... [2025-03-20 11:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:22:03] Production.INFO: ==18071== Lock acquired, processing the job... [2025-03-20 11:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:22:03] Production.INFO: ==18067== Releasing lock... [2025-03-20 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:22:03] Production.INFO: ==18075== Lock acquired, processing the job... [2025-03-20 11:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:22:04] Production.INFO: Account Balance Start. [2025-03-20 11:22:04] Production.INFO: CreateAllLog Start [2025-03-20 11:22:04] Production.INFO: 117 [2025-03-20 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-03-20 11:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:22:04] Production.INFO: count ==23 [2025-03-20 11:22:04] Production.ERROR: done [2025-03-20 11:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722503') start [2025-03-20 11:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722503') end [2025-03-20 11:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:22:04] Production.INFO: 1 [2025-03-20 11:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:22:04] Production.ERROR: done [2025-03-20 11:22:04] Production.INFO: ==18075== Releasing lock... [2025-03-20 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:05] Production.INFO: Date 2025-03-15 [2025-03-20 11:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:05] Production.INFO: Date 2025-03-16 [2025-03-20 11:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:22:05] Production.INFO: Total Charge 0 [2025-03-20 11:22:05] Production.INFO: CreateAllLog End [2025-03-20 11:22:05] Production.INFO: Account Balance End. [2025-03-20 11:22:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:22:05] Production.INFO: ==18071== Releasing lock... [2025-03-20 11:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:22:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:22:06 [end_date_ymd] => 2025-03-20 11:22:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:22:06' and `end` < '2025-03-20 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-03-20 11:22:12] Production.ERROR: CronJobId end10 [2025-03-20 11:22:12] Production.INFO: ==18069== Releasing lock... [2025-03-20 11:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:22:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:22:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:22:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:22:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:22:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:22:16] Production.INFO: call_cost start [2025-03-20 11:22:16] Production.INFO: call_cost end [2025-03-20 11:22:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:22:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:22:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:22:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:22:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:22:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:22:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:22:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:22:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:22:17] Production.INFO: ==18065== Releasing lock... [2025-03-20 11:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:22:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:22:19] Production.INFO: count ==4175 [2025-03-20 11:22:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:22:06 - End Time 2025-03-20 11:22:06 [2025-03-20 11:22:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722504', 'tblTempUsageDetail_20' ) start [2025-03-20 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722504', 'tblTempUsageDetail_20' ) end [2025-03-20 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722504', 'tblTempVendorCDR_20' ) start [2025-03-20 11:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722504', 'tblTempVendorCDR_20' ) end [2025-03-20 11:22:21] Production.INFO: ProcessCDR(1,14722504,1,1,2) [2025-03-20 11:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722504,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722504,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722504', 'tblTempUsageDetail_20' ) start [2025-03-20 11:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722504', 'tblTempUsageDetail_20' ) end [2025-03-20 11:22:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:22:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:22:26] Production.INFO: ==18073== Releasing lock... [2025-03-20 11:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:22:26] Production.INFO: 59.25 MB #Memory Used# [2025-03-20 15:23:02] Production.INFO: ==18144== Lock acquired, processing the job... [2025-03-20 15:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:23:02] Production.INFO: neon service started [2025-03-20 15:23:02] Production.INFO: neon service started [2025-03-20 15:23:02] Production.INFO: ==18144== Releasing lock... [2025-03-20 15:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:23:02] Production.INFO: ==18148== Lock acquired, processing the job... [2025-03-20 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:23:02] Production.INFO: ==18148== Releasing lock... [2025-03-20 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:23:02] Production.INFO: ==18146== Lock acquired, processing the job... [2025-03-20 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:23:03] Production.INFO: ==18146== Releasing lock... [2025-03-20 11:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:23:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:23:03] Production.INFO: ==18153== Lock acquired, processing the job... [2025-03-20 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:23:04] Production.INFO: ==18151== Lock acquired, processing the job... [2025-03-20 11:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:23:04] Production.INFO: ==18161== Lock acquired, processing the job... [2025-03-20 11:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11: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-03-20 11:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:23:04] Production.INFO: count ==12 [2025-03-20 11:23:04] Production.INFO: ==18155== Lock acquired, processing the job... [2025-03-20 11:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:23:04] Production.INFO: count ==23 [2025-03-20 11:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722506') start [2025-03-20 11:23:04] Production.INFO: ==18157== Lock acquired, processing the job... [2025-03-20 11:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:23:04] Production.INFO: ==18159== Lock acquired, processing the job... [2025-03-20 11:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:23:04] Production.INFO: ==18153== Releasing lock... [2025-03-20 11:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:23:04] Production.INFO: Account Balance Start. [2025-03-20 11:23:04] Production.INFO: CreateAllLog Start [2025-03-20 11:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:23:04] Production.INFO: 117 [2025-03-20 11:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722506') end [2025-03-20 11:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:23:04] Production.INFO: 1 [2025-03-20 11:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:23:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:23:04] Production.INFO: ==18161== Releasing lock... [2025-03-20 11:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:04] Production.ERROR: done [2025-03-20 11:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:05] Production.ERROR: done [2025-03-20 11:23:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:23:05] Production.INFO: Total Charge 0 [2025-03-20 11:23:05] Production.INFO: CreateAllLog End [2025-03-20 11:23:05] Production.INFO: Account Balance End. [2025-03-20 11:23:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:23:05] Production.INFO: ==18157== Releasing lock... [2025-03-20 11:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:23:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:23:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:23:06 [end_date_ymd] => 2025-03-20 11:23:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:23:06' and `end` < '2025-03-20 11: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-03-20 11:23:15] Production.ERROR: CronJobId end10 [2025-03-20 11:23:15] Production.INFO: ==18155== Releasing lock... [2025-03-20 11:23:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:23:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:23:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:23:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:23:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:23:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:23:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:23:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:23:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:23:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:23:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:23:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:23:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:23:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:23:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:23:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:23:17] Production.INFO: call_cost start [2025-03-20 11:23:17] Production.INFO: call_cost end [2025-03-20 11:23:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:23:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:23:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:23:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:23:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:23:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:23:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:23:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:23:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:23:18] Production.INFO: ==18151== Releasing lock... [2025-03-20 11:23:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:23:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:23:19] Production.INFO: count ==4195 [2025-03-20 11:23:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:23:06 - End Time 2025-03-20 11:23:06 [2025-03-20 11:23:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722509', 'tblTempUsageDetail_20' ) start [2025-03-20 11:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722509', 'tblTempUsageDetail_20' ) end [2025-03-20 11:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722509', 'tblTempVendorCDR_20' ) start [2025-03-20 11:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722509', 'tblTempVendorCDR_20' ) end [2025-03-20 11:23:21] Production.INFO: ProcessCDR(1,14722509,1,1,2) [2025-03-20 11:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722509,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:23:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722509,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722509', 'tblTempUsageDetail_20' ) start [2025-03-20 11:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722509', 'tblTempUsageDetail_20' ) end [2025-03-20 11:23:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:23:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:23:27] Production.INFO: ==18159== Releasing lock... [2025-03-20 11:23:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:23:27] Production.INFO: 59.25 MB #Memory Used# [2025-03-20 15:24:01] Production.INFO: ==18239== Lock acquired, processing the job... [2025-03-20 15:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:24:01] Production.INFO: neon service started [2025-03-20 15:24:01] Production.INFO: neon service started [2025-03-20 15:24:01] Production.INFO: ==18239== Releasing lock... [2025-03-20 15:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:24:02] Production.INFO: ==18242== Lock acquired, processing the job... [2025-03-20 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:24:02] Production.INFO: ==18244== Lock acquired, processing the job... [2025-03-20 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:24:02] Production.INFO: ==18244== Releasing lock... [2025-03-20 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:24:02] Production.INFO: ==18242== Releasing lock... [2025-03-20 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:24:03] Production.INFO: ==18246== Lock acquired, processing the job... [2025-03-20 11:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:24:03] Production.INFO: ==18250== Lock acquired, processing the job... [2025-03-20 11:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:24:03] Production.INFO: ==18252== Lock acquired, processing the job... [2025-03-20 11:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:24:03] Production.INFO: Account Balance Start. [2025-03-20 11:24:03] Production.INFO: CreateAllLog Start [2025-03-20 11:24:03] Production.INFO: 117 [2025-03-20 11:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:24:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.INFO: ==18248== Lock acquired, processing the job... [2025-03-20 11:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.INFO: ==18255== Lock acquired, processing the job... [2025-03-20 11:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.INFO: ==18257== Lock acquired, processing the job... [2025-03-20 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 11:24:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:24:04] Production.INFO: count ==23 [2025-03-20 11:24:04] Production.INFO: ==18248== Releasing lock... [2025-03-20 11:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722513') start [2025-03-20 11:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722513') end [2025-03-20 11:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:24:04] Production.INFO: 1 [2025-03-20 11:24:04] Production.ERROR: done [2025-03-20 11:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:24:04] Production.INFO: Total Charge 0 [2025-03-20 11:24:04] Production.INFO: CreateAllLog End [2025-03-20 11:24:05] Production.INFO: ==18257== Releasing lock... [2025-03-20 11:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:24:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:24:05] Production.ERROR: done [2025-03-20 11:24:05] Production.INFO: Account Balance End. [2025-03-20 11:24:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:24:05] Production.INFO: ==18252== Releasing lock... [2025-03-20 11:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:24:06 [end_date_ymd] => 2025-03-20 11:24:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:24:06' and `end` < '2025-03-20 11: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-03-20 11:24:12] Production.ERROR: CronJobId end10 [2025-03-20 11:24:12] Production.INFO: ==18250== Releasing lock... [2025-03-20 11:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:24:15] Production.INFO: call_cost start [2025-03-20 11:24:15] Production.INFO: call_cost end [2025-03-20 11:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:24:16] Production.INFO: ==18246== Releasing lock... [2025-03-20 11:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:24:19] Production.INFO: count ==4210 [2025-03-20 11:24:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:24:06 - End Time 2025-03-20 11:24:06 [2025-03-20 11:24:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722514', 'tblTempUsageDetail_20' ) start [2025-03-20 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722514', 'tblTempUsageDetail_20' ) end [2025-03-20 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722514', 'tblTempVendorCDR_20' ) start [2025-03-20 11:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722514', 'tblTempVendorCDR_20' ) end [2025-03-20 11:24:21] Production.INFO: ProcessCDR(1,14722514,1,1,2) [2025-03-20 11:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:24:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:24:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722514', 'tblTempUsageDetail_20' ) start [2025-03-20 11:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722514', 'tblTempUsageDetail_20' ) end [2025-03-20 11:24:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:24:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:24:26] Production.INFO: ==18255== Releasing lock... [2025-03-20 11:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:24:26] Production.INFO: 59.5 MB #Memory Used# [2025-03-20 15:25:02] Production.INFO: ==18332== Lock acquired, processing the job... [2025-03-20 15:25:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:25:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:25:02] Production.INFO: neon service started [2025-03-20 15:25:02] Production.INFO: neon service started [2025-03-20 15:25:02] Production.INFO: ==18332== Releasing lock... [2025-03-20 15:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:25:02] Production.INFO: ==18334== Lock acquired, processing the job... [2025-03-20 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:25:02] Production.INFO: ==18334== Releasing lock... [2025-03-20 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:25:02] Production.INFO: ==18336== Lock acquired, processing the job... [2025-03-20 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:25:03] Production.INFO: ==18336== Releasing lock... [2025-03-20 15:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:25:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:25:03] Production.INFO: ==18346== Lock acquired, processing the job... [2025-03-20 11:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:25:03] Production.INFO: ==18348== Lock acquired, processing the job... [2025-03-20 11:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:25:03] Production.INFO: ==18338== Lock acquired, processing the job... [2025-03-20 11:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:25:03] Production.INFO: ==18340== Lock acquired, processing the job... [2025-03-20 11:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:25:04] Production.INFO: ==18342== Lock acquired, processing the job... [2025-03-20 11:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:25:04] Production.INFO: count ==12 [2025-03-20 11:25:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:25:04] Production.INFO: count ==23 [2025-03-20 11:25:04] Production.INFO: ==18344== Lock acquired, processing the job... [2025-03-20 11:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722515') start [2025-03-20 11:25:04] Production.INFO: Account Balance Start. [2025-03-20 11:25:04] Production.INFO: CreateAllLog Start [2025-03-20 11:25:04] Production.INFO: 117 [2025-03-20 11:25:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722515') end [2025-03-20 11:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:25:04] Production.INFO: 1 [2025-03-20 11:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:25:04] Production.INFO: ==18348== Releasing lock... [2025-03-20 11:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:25:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.INFO: ==18340== Releasing lock... [2025-03-20 11:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:25:04] Production.ERROR: done [2025-03-20 11:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:25:04] Production.INFO: Total Charge 0 [2025-03-20 11:25:04] Production.INFO: CreateAllLog End [2025-03-20 11:25:04] Production.ERROR: done [2025-03-20 11:25:05] Production.INFO: Account Balance End. [2025-03-20 11:25:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:25:05] Production.INFO: ==18344== Releasing lock... [2025-03-20 11:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:25:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:25:06 [end_date_ymd] => 2025-03-20 11:25:06 [RateCDR] => 1 ) [2025-03-20 11:25:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:25:06' and `end` < '2025-03-20 11:25:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:25:13] Production.ERROR: CronJobId end10 [2025-03-20 11:25:13] Production.INFO: ==18342== Releasing lock... [2025-03-20 11:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:25:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:25:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:25:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:25:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:25:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:25:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:25:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:25:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:25:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:25:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:25:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:25:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:25:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:25:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:25:15] Production.INFO: call_cost start [2025-03-20 11:25:15] Production.INFO: call_cost end [2025-03-20 11:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:25:16] Production.INFO: ==18338== Releasing lock... [2025-03-20 11:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:25:19] Production.INFO: count ==4227 [2025-03-20 11:25:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:25:06 - End Time 2025-03-20 11:25:06 [2025-03-20 11:25:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722519', 'tblTempUsageDetail_20' ) start [2025-03-20 11:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722519', 'tblTempUsageDetail_20' ) end [2025-03-20 11:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722519', 'tblTempVendorCDR_20' ) start [2025-03-20 11:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722519', 'tblTempVendorCDR_20' ) end [2025-03-20 11:25:21] Production.INFO: ProcessCDR(1,14722519,1,1,2) [2025-03-20 11:25:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:25:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:25:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:25:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:25:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722519', 'tblTempUsageDetail_20' ) start [2025-03-20 11:25:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722519', 'tblTempUsageDetail_20' ) end [2025-03-20 11:25:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:25:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:25:26] Production.INFO: ==18346== Releasing lock... [2025-03-20 11:25:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:25:26] Production.INFO: 59.5 MB #Memory Used# [2025-03-20 15:26:01] Production.INFO: ==18421== Lock acquired, processing the job... [2025-03-20 15:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:26:01] Production.INFO: neon service started [2025-03-20 15:26:01] Production.INFO: neon service started [2025-03-20 15:26:01] Production.INFO: ==18421== Releasing lock... [2025-03-20 15:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:26:01] Production.INFO: ==18423== Lock acquired, processing the job... [2025-03-20 11:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:26:02] Production.INFO: ==18423== Releasing lock... [2025-03-20 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:26:02] Production.INFO: ==18425== Lock acquired, processing the job... [2025-03-20 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:26:02] Production.INFO: ==18425== Releasing lock... [2025-03-20 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:26:03] Production.INFO: ==18434== Lock acquired, processing the job... [2025-03-20 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:26:03] Production.INFO: Account Balance Start. [2025-03-20 11:26:03] Production.INFO: CreateAllLog Start [2025-03-20 11:26:03] Production.INFO: 117 [2025-03-20 11:26:03] Production.INFO: ==18438== Lock acquired, processing the job... [2025-03-20 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:26:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.INFO: Date 2025-03-11 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.INFO: Date 2025-03-12 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.INFO: ==18428== Lock acquired, processing the job... [2025-03-20 11:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:26:03] Production.INFO: Date 2025-03-13 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.INFO: ==18430== Lock acquired, processing the job... [2025-03-20 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:26:03] Production.INFO: Date 2025-03-14 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.INFO: ==18432== Lock acquired, processing the job... [2025-03-20 11:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:26:03] Production.INFO: Date 2025-03-15 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 11:26:03] Production.INFO: Date 2025-03-16 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.INFO: ==18436== Lock acquired, processing the job... [2025-03-20 11:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:26:03] Production.INFO: count ==12 [2025-03-20 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-03-20 11:26:03] Production.INFO: count ==23 [2025-03-20 11:26:03] Production.INFO: Date 2025-03-17 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:26:03] Production.INFO: Date 2025-03-18 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722521') start [2025-03-20 11:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:26:03] Production.INFO: Date 2025-03-19 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722521') end [2025-03-20 11:26:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:26:03] Production.INFO: 1 [2025-03-20 11:26:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:26:03] Production.INFO: ==18438== Releasing lock... [2025-03-20 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:26:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:26:03] Production.INFO: Date 2025-03-20 [2025-03-20 11:26:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:26:03] Production.INFO: Total Charge 0 [2025-03-20 11:26:03] Production.INFO: CreateAllLog End [2025-03-20 11:26:03] Production.INFO: ==18430== Releasing lock... [2025-03-20 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:26:04] Production.ERROR: done [2025-03-20 11:26:04] Production.INFO: Account Balance End. [2025-03-20 11:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:26:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:26:04] Production.INFO: ==18434== Releasing lock... [2025-03-20 11:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:26:04] Production.ERROR: done [2025-03-20 11:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:26:05 [end_date_ymd] => 2025-03-20 11:26:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:26:05' and `end` < '2025-03-20 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-03-20 11:26:14] Production.ERROR: CronJobId end10 [2025-03-20 11:26:14] Production.INFO: ==18432== Releasing lock... [2025-03-20 11:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:26:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:26:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:26:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:26:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:26:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:26:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:26:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:26:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:26:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:26:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:26:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:26:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:26:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:26:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:26:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:26:16] Production.INFO: call_cost start [2025-03-20 11:26:16] Production.INFO: call_cost end [2025-03-20 11:26:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:26:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:26:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:26:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:26:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:26:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:26:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:26:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:26:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:26:17] Production.INFO: ==18428== Releasing lock... [2025-03-20 11:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:26:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:26:18] Production.INFO: count ==4244 [2025-03-20 11:26:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:26:05 - End Time 2025-03-20 11:26:05 [2025-03-20 11:26:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722524', 'tblTempUsageDetail_20' ) start [2025-03-20 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722524', 'tblTempUsageDetail_20' ) end [2025-03-20 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722524', 'tblTempVendorCDR_20' ) start [2025-03-20 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722524', 'tblTempVendorCDR_20' ) end [2025-03-20 11:26:20] Production.INFO: ProcessCDR(1,14722524,1,1,2) [2025-03-20 11:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:26:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722524', 'tblTempUsageDetail_20' ) start [2025-03-20 11:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722524', 'tblTempUsageDetail_20' ) end [2025-03-20 11:26:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:26:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:26:26] Production.INFO: ==18436== Releasing lock... [2025-03-20 11:26:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:26:26] Production.INFO: 59.75 MB #Memory Used# [2025-03-20 15:27:02] Production.INFO: ==18523== Lock acquired, processing the job... [2025-03-20 15:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:27:02] Production.INFO: neon service started [2025-03-20 15:27:02] Production.INFO: neon service started [2025-03-20 15:27:02] Production.INFO: ==18523== Releasing lock... [2025-03-20 15:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:27:02] Production.INFO: ==18525== Lock acquired, processing the job... [2025-03-20 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:27:02] Production.INFO: ==18527== Lock acquired, processing the job... [2025-03-20 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:27:03] Production.INFO: ==18527== Releasing lock... [2025-03-20 15:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:27:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:27:03] Production.INFO: ==18525== Releasing lock... [2025-03-20 11:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:27:04] Production.INFO: ==18530== Lock acquired, processing the job... [2025-03-20 11:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:27:04] Production.INFO: ==18538== Lock acquired, processing the job... [2025-03-20 11:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:27:04] Production.INFO: ==18532== Lock acquired, processing the job... [2025-03-20 11:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:27:04] Production.INFO: ==18534== Lock acquired, processing the job... [2025-03-20 11:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:27:04] Production.INFO: ==18540== Lock acquired, processing the job... [2025-03-20 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:27:04] Production.INFO: ==18536== Lock acquired, processing the job... [2025-03-20 11:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:27:04] Production.INFO: count ==12 [2025-03-20 11:27:04] Production.INFO: Account Balance Start. [2025-03-20 11:27:04] Production.INFO: CreateAllLog Start [2025-03-20 11:27:04] Production.INFO: 117 [2025-03-20 11:27:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:04] Production.INFO: count ==23 [2025-03-20 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722527') start [2025-03-20 11:27:04] Production.INFO: ==18532== Releasing lock... [2025-03-20 11:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:27:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:04] Production.ERROR: done [2025-03-20 11:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:27:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722527') end [2025-03-20 11:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:27:04] Production.INFO: 1 [2025-03-20 11:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:04] Production.INFO: ==18540== Releasing lock... [2025-03-20 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:27:04] Production.ERROR: done [2025-03-20 11:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:05] Production.INFO: Date 2025-03-15 [2025-03-20 11:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:05] Production.INFO: Date 2025-03-16 [2025-03-20 11:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:27:05] Production.INFO: Total Charge 0 [2025-03-20 11:27:05] Production.INFO: CreateAllLog End [2025-03-20 11:27:05] Production.INFO: Account Balance End. [2025-03-20 11:27:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:27:05] Production.INFO: ==18536== Releasing lock... [2025-03-20 11:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:27:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:27:06 [end_date_ymd] => 2025-03-20 11:27:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:27:06' and `end` < '2025-03-20 11: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-03-20 11:27:13] Production.ERROR: CronJobId end10 [2025-03-20 11:27:13] Production.INFO: ==18534== Releasing lock... [2025-03-20 11:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:27:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:27:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:27:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:27:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:27:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:27:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:27:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:27:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:27:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:27:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:27:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:27:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:27:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:27:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:27:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:27:16] Production.INFO: call_cost start [2025-03-20 11:27:16] Production.INFO: call_cost end [2025-03-20 11:27:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:27:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:27:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:27:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:27:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:27:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:27:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:27:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:27:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:27:17] Production.INFO: ==18530== Releasing lock... [2025-03-20 11:27:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:27:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:27:19] Production.INFO: count ==4263 [2025-03-20 11:27:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:27:06 - End Time 2025-03-20 11:27:06 [2025-03-20 11:27:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722529', 'tblTempUsageDetail_20' ) start [2025-03-20 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722529', 'tblTempUsageDetail_20' ) end [2025-03-20 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722529', 'tblTempVendorCDR_20' ) start [2025-03-20 11:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722529', 'tblTempVendorCDR_20' ) end [2025-03-20 11:27:21] Production.INFO: ProcessCDR(1,14722529,1,1,2) [2025-03-20 11:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722529', 'tblTempUsageDetail_20' ) start [2025-03-20 11:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722529', 'tblTempUsageDetail_20' ) end [2025-03-20 11:27:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:27:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:27:27] Production.INFO: ==18538== Releasing lock... [2025-03-20 11:27:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:27:27] Production.INFO: 59.75 MB #Memory Used# [2025-03-20 15:28:01] Production.INFO: ==18611== Lock acquired, processing the job... [2025-03-20 15:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:28:01] Production.INFO: neon service started [2025-03-20 15:28:01] Production.INFO: neon service started [2025-03-20 15:28:01] Production.INFO: ==18611== Releasing lock... [2025-03-20 15:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:28:02] Production.INFO: ==18615== Lock acquired, processing the job... [2025-03-20 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:28:02] Production.INFO: ==18615== Releasing lock... [2025-03-20 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:28:02] Production.INFO: ==18613== Lock acquired, processing the job... [2025-03-20 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:28:02] Production.INFO: ==18613== Releasing lock... [2025-03-20 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:28:03] Production.INFO: ==18624== Lock acquired, processing the job... [2025-03-20 11:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:28:03] Production.INFO: ==18626== Lock acquired, processing the job... [2025-03-20 11:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:28:03] Production.INFO: Account Balance Start. [2025-03-20 11:28:03] Production.INFO: CreateAllLog Start [2025-03-20 11:28:03] Production.INFO: 117 [2025-03-20 11:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:28:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:03] Production.INFO: ==18618== Lock acquired, processing the job... [2025-03-20 11:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:28:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:03] Production.INFO: Date 2025-03-11 [2025-03-20 11:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:04] Production.INFO: ==18620== Lock acquired, processing the job... [2025-03-20 11:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:28:04] Production.INFO: ==18622== Lock acquired, processing the job... [2025-03-20 11:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:04] Production.INFO: ==18628== Lock acquired, processing the job... [2025-03-20 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:04] Production.ERROR: done [2025-03-20 11:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 11:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:28:04] Production.INFO: count ==23 [2025-03-20 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722532') start [2025-03-20 11:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:28:04] Production.INFO: Total Charge 0 [2025-03-20 11:28:04] Production.ERROR: done [2025-03-20 11:28:04] Production.INFO: CreateAllLog End [2025-03-20 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722532') end [2025-03-20 11:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:28:04] Production.INFO: 1 [2025-03-20 11:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:28:04] Production.INFO: ==18628== Releasing lock... [2025-03-20 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:28:04] Production.INFO: ==18620== Releasing lock... [2025-03-20 11:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:28:04] Production.INFO: Account Balance End. [2025-03-20 11:28:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:28:04] Production.INFO: ==18624== Releasing lock... [2025-03-20 11:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:28:05 [end_date_ymd] => 2025-03-20 11:28:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:28:05' and `end` < '2025-03-20 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-03-20 11:28:14] Production.ERROR: CronJobId end10 [2025-03-20 11:28:14] Production.INFO: ==18622== Releasing lock... [2025-03-20 11:28:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:28:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:28:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:28:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:28:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:28:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:28:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:28:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:28:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:28:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:28:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:28:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:28:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:28:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:28:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:28:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:28:16] Production.INFO: call_cost start [2025-03-20 11:28:16] Production.INFO: call_cost end [2025-03-20 11:28:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:28:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:28:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:28:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:28:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:28:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:28:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:28:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:28:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:28:17] Production.INFO: ==18618== Releasing lock... [2025-03-20 11:28:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:28:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:28:18] Production.INFO: count ==4305 [2025-03-20 11:28:20] Production.ERROR: pbx CDR StartTime 2025-03-20 08:28:05 - End Time 2025-03-20 11:28:05 [2025-03-20 11:28:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722534', 'tblTempUsageDetail_20' ) start [2025-03-20 11:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722534', 'tblTempUsageDetail_20' ) end [2025-03-20 11:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722534', 'tblTempVendorCDR_20' ) start [2025-03-20 11:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722534', 'tblTempVendorCDR_20' ) end [2025-03-20 11:28:20] Production.INFO: ProcessCDR(1,14722534,1,1,2) [2025-03-20 11:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:28:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:28:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722534', 'tblTempUsageDetail_20' ) start [2025-03-20 11:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722534', 'tblTempUsageDetail_20' ) end [2025-03-20 11:28:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:28:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:28:26] Production.INFO: ==18626== Releasing lock... [2025-03-20 11:28:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:28:26] Production.INFO: 60.25 MB #Memory Used# [2025-03-20 15:29:02] Production.INFO: ==18694== Lock acquired, processing the job... [2025-03-20 15:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:29:02] Production.INFO: neon service started [2025-03-20 15:29:02] Production.INFO: neon service started [2025-03-20 15:29:02] Production.INFO: ==18694== Releasing lock... [2025-03-20 15:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:29:02] Production.INFO: ==18697== Lock acquired, processing the job... [2025-03-20 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:29:02] Production.INFO: ==18699== Lock acquired, processing the job... [2025-03-20 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:29:03] Production.INFO: ==18697== Releasing lock... [2025-03-20 11:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:29:03] Production.INFO: ==18699== Releasing lock... [2025-03-20 15:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:29:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:29:04] Production.INFO: ==18701== Lock acquired, processing the job... [2025-03-20 11:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:29:04] Production.INFO: ==18705== Lock acquired, processing the job... [2025-03-20 11:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:29:04] Production.INFO: ==18709== Lock acquired, processing the job... [2025-03-20 11:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:29:04] Production.INFO: ==18703== Lock acquired, processing the job... [2025-03-20 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:29:04] Production.INFO: ==18707== Lock acquired, processing the job... [2025-03-20 11:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:29:04] Production.INFO: ==18711== Lock acquired, processing the job... [2025-03-20 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:29:04] Production.INFO: Account Balance Start. [2025-03-20 11:29:04] Production.INFO: CreateAllLog Start [2025-03-20 11:29:04] Production.INFO: 117 [2025-03-20 11:29:04] Production.ERROR: done [2025-03-20 11:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:29:04] Production.INFO: count ==12 [2025-03-20 11:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:29:04] Production.INFO: count ==23 [2025-03-20 11:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722538') start [2025-03-20 11:29:05] Production.INFO: Date 2025-03-12 [2025-03-20 11:29:05] Production.INFO: ==18703== Releasing lock... [2025-03-20 11:29:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:29:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:29:05] Production.ERROR: done [2025-03-20 11:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722538') end [2025-03-20 11:29:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:29:05] Production.INFO: 1 [2025-03-20 11:29:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:29:05] Production.INFO: Date 2025-03-13 [2025-03-20 11:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:05] Production.INFO: ==18711== Releasing lock... [2025-03-20 11:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:29:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:29:05] Production.INFO: Date 2025-03-14 [2025-03-20 11:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:05] Production.INFO: Date 2025-03-15 [2025-03-20 11:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:05] Production.INFO: Date 2025-03-16 [2025-03-20 11:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:29:05] Production.INFO: Total Charge 0 [2025-03-20 11:29:05] Production.INFO: CreateAllLog End [2025-03-20 11:29:05] Production.INFO: Account Balance End. [2025-03-20 11:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:29:05] Production.INFO: ==18707== Releasing lock... [2025-03-20 11:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:29:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:29:06 [end_date_ymd] => 2025-03-20 11:29:06 [RateCDR] => 1 ) [2025-03-20 11:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:29:06' and `end` < '2025-03-20 11:29:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:29:14] Production.ERROR: CronJobId end10 [2025-03-20 11:29:14] Production.INFO: ==18705== Releasing lock... [2025-03-20 11:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:29:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:29:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:29:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:29:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:29:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:29:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:29:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:29:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:29:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:29:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:29:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:29:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:29:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:29:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:29:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:29:17] Production.INFO: call_cost start [2025-03-20 11:29:17] Production.INFO: call_cost end [2025-03-20 11:29:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:29:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:29:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:29:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:29:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:29:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:29:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:29:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:29:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:29:18] Production.INFO: ==18701== Releasing lock... [2025-03-20 11:29:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:29:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:29:19] Production.INFO: count ==4312 [2025-03-20 11:29:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:29:06 - End Time 2025-03-20 11:29:06 [2025-03-20 11:29:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722539', 'tblTempUsageDetail_20' ) start [2025-03-20 11:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722539', 'tblTempUsageDetail_20' ) end [2025-03-20 11:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722539', 'tblTempVendorCDR_20' ) start [2025-03-20 11:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722539', 'tblTempVendorCDR_20' ) end [2025-03-20 11:29:21] Production.INFO: ProcessCDR(1,14722539,1,1,2) [2025-03-20 11:29:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:29:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:29:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:29:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722539', 'tblTempUsageDetail_20' ) start [2025-03-20 11:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722539', 'tblTempUsageDetail_20' ) end [2025-03-20 11:29:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:29:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:29:27] Production.INFO: ==18709== Releasing lock... [2025-03-20 11:29:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:29:27] Production.INFO: 60.25 MB #Memory Used# [2025-03-20 15:30:01] Production.INFO: ==18808== Lock acquired, processing the job... [2025-03-20 15:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:30:01] Production.INFO: neon service started [2025-03-20 15:30:01] Production.INFO: neon service started [2025-03-20 15:30:01] Production.INFO: ==18808== Releasing lock... [2025-03-20 15:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:30:02] Production.INFO: ==18810== Lock acquired, processing the job... [2025-03-20 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:30:02] Production.INFO: ==18810== Releasing lock... [2025-03-20 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:30:02] Production.INFO: ==18812== Lock acquired, processing the job... [2025-03-20 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:30:02] Production.INFO: ==18812== Releasing lock... [2025-03-20 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:30:04] Production.INFO: ==18829== Lock acquired, processing the job... [2025-03-20 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:30:04] Production.INFO: ==18825== Lock acquired, processing the job... [2025-03-20 11:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:30:04] Production.INFO: ==18823== Lock acquired, processing the job... [2025-03-20 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:30:04] Production.INFO: ==18817== Lock acquired, processing the job... [2025-03-20 11:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:30:04] Production.INFO: ==18815== Lock acquired, processing the job... [2025-03-20 11:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 11:30:04] Production.INFO: Account Balance Start. [2025-03-20 11:30:04] Production.INFO: CreateAllLog Start [2025-03-20 11:30:04] Production.INFO: 117 [2025-03-20 11:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 11:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:30:04] Production.INFO: count ==23 [2025-03-20 11:30:04] Production.INFO: ==18819== Lock acquired, processing the job... [2025-03-20 11:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722540') start [2025-03-20 11:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 11:30:04] Production.INFO: ==18821== Lock acquired, processing the job... [2025-03-20 11:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 11:30:04] Production.ERROR: CronJob PID - 18817 [2025-03-20 11:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 11:30:04] Production.ERROR: CronJob ID - 5 [2025-03-20 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 11:30:00 [2025-03-20 11:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 11:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 11:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 11:30:04] Production.ERROR: CronJob PID - 18823 [2025-03-20 11:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 11:30:04] Production.ERROR: CronJob ID - 12 [2025-03-20 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 11:30:00 [2025-03-20 11:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 11:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 11:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 11:30:04] Production.ERROR: CronJob PID - 18825 [2025-03-20 11:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 11:30:04] Production.ERROR: CronJob ID - 16 [2025-03-20 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 11:30:00 [2025-03-20 11:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 11:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 11:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 11:30:04] Production.ERROR: CronJob PID - 18829 [2025-03-20 11:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 11:30:04] Production.ERROR: CronJob ID - 19 [2025-03-20 11:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 11:30:00 [2025-03-20 11:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 11:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 11:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:04] Production.INFO: ==18827== Lock acquired, processing the job... [2025-03-20 11:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 11:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 11:30:04] Production.INFO: ==18815== Releasing lock... [2025-03-20 11:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 11:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 11:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722540') end [2025-03-20 11:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:30:04] Production.INFO: 1 [2025-03-20 11:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:04] Production.INFO: ==18829== Releasing lock... [2025-03-20 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:30:04] Production.ERROR: done [2025-03-20 11:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:30:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:05] Production.INFO: ==18819== Releasing lock... [2025-03-20 11:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:30:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:30:05] Production.ERROR: done [2025-03-20 11:30:05] Production.ERROR: done [2025-03-20 11:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 11:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722544', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 11:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:30:05] Production.INFO: Total Charge 0 [2025-03-20 11:30:05] Production.INFO: CreateAllLog End [2025-03-20 11:30:05] Production.INFO: Account Balance End. [2025-03-20 11:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:30:05] Production.INFO: ==18823== Releasing lock... [2025-03-20 11:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:30:06 [end_date_ymd] => 2025-03-20 11:30:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:30:06' and `end` < '2025-03-20 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-03-20 11:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722544', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 11:30:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 11:30:10] Production.INFO: ProcessCDR(1,14722544,1,1,2) [2025-03-20 11:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722544,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722544,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:30:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:30:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:30:10] Production.INFO: ==18827== Releasing lock... [2025-03-20 11:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 11:30:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 11:30:17] Production.ERROR: CronJobId end10 [2025-03-20 11:30:17] Production.INFO: ==18821== Releasing lock... [2025-03-20 11:30:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:30:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:30:19] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:30:19] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:30:19] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:30:19] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:30:19] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:30:19] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:30:19] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:30:19] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:30:19] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:30:19] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:30:19] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:30:19] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:30:19] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:30:19] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:30:19] Production.INFO: call_cost start [2025-03-20 11:30:19] Production.INFO: call_cost end [2025-03-20 11:30:20] Production.INFO: count ==4354 [2025-03-20 11:30:21] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:30:21] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:30:21] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:30:21] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:30:21] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:30:21] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:30:21] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:30:21] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:30:21] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:30:21] Production.INFO: ==18817== Releasing lock... [2025-03-20 11:30:21] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:30:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:30:22] Production.ERROR: pbx CDR StartTime 2025-03-20 08:30:06 - End Time 2025-03-20 11:30:06 [2025-03-20 11:30:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722545', 'tblTempUsageDetail_20' ) start [2025-03-20 11:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722545', 'tblTempUsageDetail_20' ) end [2025-03-20 11:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722545', 'tblTempVendorCDR_20' ) start [2025-03-20 11:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722545', 'tblTempVendorCDR_20' ) end [2025-03-20 11:30:22] Production.INFO: ProcessCDR(1,14722545,1,1,2) [2025-03-20 11:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:30:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722545,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:30:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:30:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722545,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722545', 'tblTempUsageDetail_20' ) start [2025-03-20 11:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722545', 'tblTempUsageDetail_20' ) end [2025-03-20 11:30:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:30:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:30:28] Production.INFO: ==18825== Releasing lock... [2025-03-20 11:30:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:30:28] Production.INFO: 60.5 MB #Memory Used# [2025-03-20 15:31:02] Production.INFO: ==18898== Lock acquired, processing the job... [2025-03-20 15:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:31:02] Production.INFO: neon service started [2025-03-20 15:31:02] Production.INFO: neon service started [2025-03-20 15:31:02] Production.INFO: ==18898== Releasing lock... [2025-03-20 15:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:31:02] Production.INFO: ==18902== Lock acquired, processing the job... [2025-03-20 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:31:02] Production.INFO: ==18902== Releasing lock... [2025-03-20 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:31:02] Production.INFO: ==18900== Lock acquired, processing the job... [2025-03-20 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:31:03] Production.INFO: ==18900== Releasing lock... [2025-03-20 11:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:31:04] Production.INFO: ==18915== Lock acquired, processing the job... [2025-03-20 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:31:04] Production.INFO: ==18913== Lock acquired, processing the job... [2025-03-20 11:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:31:04] Production.INFO: ==18905== Lock acquired, processing the job... [2025-03-20 11:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:31:04] Production.INFO: count ==12 [2025-03-20 11:31:04] Production.INFO: ==18907== Lock acquired, processing the job... [2025-03-20 11:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:31:04] Production.INFO: count ==23 [2025-03-20 11:31:04] Production.INFO: ==18909== Lock acquired, processing the job... [2025-03-20 11:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:31:04] Production.INFO: ==18911== Lock acquired, processing the job... [2025-03-20 11:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722546') start [2025-03-20 11:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:31:04] Production.ERROR: done [2025-03-20 11:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:31:04] Production.INFO: Account Balance Start. [2025-03-20 11:31:04] Production.INFO: CreateAllLog Start [2025-03-20 11:31:04] Production.INFO: 117 [2025-03-20 11:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:31:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722546') end [2025-03-20 11:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:31:04] Production.INFO: 1 [2025-03-20 11:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:04] Production.INFO: ==18915== Releasing lock... [2025-03-20 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:04] Production.ERROR: done [2025-03-20 11:31:04] Production.INFO: ==18907== Releasing lock... [2025-03-20 11:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:05] Production.INFO: Date 2025-03-15 [2025-03-20 11:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:05] Production.INFO: Date 2025-03-16 [2025-03-20 11:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:31:05] Production.INFO: Total Charge 0 [2025-03-20 11:31:05] Production.INFO: CreateAllLog End [2025-03-20 11:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:31:05 [end_date_ymd] => 2025-03-20 11:31:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:31:05' and `end` < '2025-03-20 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-03-20 11:31:05] Production.INFO: Account Balance End. [2025-03-20 11:31:06] Production.ERROR: CronJobId end 12 [2025-03-20 11:31:06] Production.INFO: ==18911== Releasing lock... [2025-03-20 11:31:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:31:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:31:15] Production.ERROR: CronJobId end10 [2025-03-20 11:31:15] Production.INFO: ==18909== Releasing lock... [2025-03-20 11:31:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:31:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:31:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:31:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:31:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:31:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:31:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:31:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:31:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:31:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:31:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:31:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:31:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:31:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:31:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:31:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:31:18] Production.INFO: call_cost start [2025-03-20 11:31:18] Production.INFO: call_cost end [2025-03-20 11:31:19] Production.INFO: count ==4524 [2025-03-20 11:31:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:31:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:31:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:31:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:31:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:31:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:31:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:31:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:31:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:31:19] Production.INFO: ==18905== Releasing lock... [2025-03-20 11:31:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:31:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:31:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:31:05 - End Time 2025-03-20 11:31:05 [2025-03-20 11:31:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722550', 'tblTempUsageDetail_20' ) start [2025-03-20 11:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722550', 'tblTempUsageDetail_20' ) end [2025-03-20 11:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722550', 'tblTempVendorCDR_20' ) start [2025-03-20 11:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722550', 'tblTempVendorCDR_20' ) end [2025-03-20 11:31:21] Production.INFO: ProcessCDR(1,14722550,1,1,2) [2025-03-20 11:31:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:31:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:31:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:31:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722550', 'tblTempUsageDetail_20' ) start [2025-03-20 11:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722550', 'tblTempUsageDetail_20' ) end [2025-03-20 11:31:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:31:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:31:27] Production.INFO: ==18913== Releasing lock... [2025-03-20 11:31:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:31:27] Production.INFO: 62 MB #Memory Used# [2025-03-20 15:32:01] Production.INFO: ==19030== Lock acquired, processing the job... [2025-03-20 15:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:32:01] Production.INFO: neon service started [2025-03-20 15:32:01] Production.INFO: neon service started [2025-03-20 15:32:01] Production.INFO: ==19030== Releasing lock... [2025-03-20 15:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:32:02] Production.INFO: ==19032== Lock acquired, processing the job... [2025-03-20 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:32:02] Production.INFO: ==19032== Releasing lock... [2025-03-20 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:32:02] Production.INFO: ==19034== Lock acquired, processing the job... [2025-03-20 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:32:02] Production.INFO: ==19034== Releasing lock... [2025-03-20 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:32:03] Production.INFO: ==19036== Lock acquired, processing the job... [2025-03-20 11:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:32:03] Production.INFO: ==19038== Lock acquired, processing the job... [2025-03-20 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:32:03] Production.INFO: ==19041== Lock acquired, processing the job... [2025-03-20 11:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:32:03] Production.INFO: ==19043== Lock acquired, processing the job... [2025-03-20 11:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:32:03] Production.INFO: ==19045== Lock acquired, processing the job... [2025-03-20 11:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:32:03] Production.INFO: ==19038== Releasing lock... [2025-03-20 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:32:03] Production.INFO: ==19047== Lock acquired, processing the job... [2025-03-20 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:32:03] Production.INFO: Account Balance Start. [2025-03-20 11:32:03] Production.INFO: CreateAllLog Start [2025-03-20 11:32:03] Production.INFO: 117 [2025-03-20 11:32:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 11: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-03-20 11:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:32:04] Production.INFO: count ==12 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:32:04] Production.INFO: count ==23 [2025-03-20 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722554') start [2025-03-20 11:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722554') end [2025-03-20 11:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:32:04] Production.INFO: 1 [2025-03-20 11:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.INFO: ==19047== Releasing lock... [2025-03-20 11:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.ERROR: done [2025-03-20 11:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.ERROR: done [2025-03-20 11:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:32:04] Production.INFO: Total Charge 0 [2025-03-20 11:32:04] Production.INFO: CreateAllLog End [2025-03-20 11:32:04] Production.INFO: Account Balance End. [2025-03-20 11:32:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:32:04] Production.INFO: ==19043== Releasing lock... [2025-03-20 11:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:32:06 [end_date_ymd] => 2025-03-20 11:32:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:32:06' and `end` < '2025-03-20 11: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-03-20 11:32:14] Production.ERROR: CronJobId end10 [2025-03-20 11:32:14] Production.INFO: ==19041== Releasing lock... [2025-03-20 11:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:32:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:32:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:32:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:32:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:32:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:32:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:32:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:32:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:32:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:32:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:32:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:32:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:32:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:32:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:32:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:32:17] Production.INFO: call_cost start [2025-03-20 11:32:17] Production.INFO: call_cost end [2025-03-20 11:32:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:32:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:32:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:32:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:32:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:32:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:32:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:32:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:32:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:32:18] Production.INFO: ==19036== Releasing lock... [2025-03-20 11:32:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:32:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:32:19] Production.INFO: count ==4553 [2025-03-20 11:32:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:32:06 - End Time 2025-03-20 11:32:06 [2025-03-20 11:32:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722555', 'tblTempUsageDetail_20' ) start [2025-03-20 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722555', 'tblTempUsageDetail_20' ) end [2025-03-20 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722555', 'tblTempVendorCDR_20' ) start [2025-03-20 11:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722555', 'tblTempVendorCDR_20' ) end [2025-03-20 11:32:21] Production.INFO: ProcessCDR(1,14722555,1,1,2) [2025-03-20 11:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722555,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:32:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722555,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722555', 'tblTempUsageDetail_20' ) start [2025-03-20 11:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722555', 'tblTempUsageDetail_20' ) end [2025-03-20 11:32:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:32:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:32:27] Production.INFO: ==19045== Releasing lock... [2025-03-20 11:32:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:32:27] Production.INFO: 62 MB #Memory Used# [2025-03-20 15:33:02] Production.INFO: ==19122== Lock acquired, processing the job... [2025-03-20 15:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:33:02] Production.INFO: neon service started [2025-03-20 15:33:02] Production.INFO: neon service started [2025-03-20 15:33:02] Production.INFO: ==19122== Releasing lock... [2025-03-20 15:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:33:02] Production.INFO: ==19124== Lock acquired, processing the job... [2025-03-20 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:33:02] Production.INFO: ==19124== Releasing lock... [2025-03-20 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:33:02] Production.INFO: ==19126== Lock acquired, processing the job... [2025-03-20 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:33:03] Production.INFO: ==19126== Releasing lock... [2025-03-20 15:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:33:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:33:03] Production.INFO: ==19133== Lock acquired, processing the job... [2025-03-20 11:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:33:04] Production.INFO: ==19135== Lock acquired, processing the job... [2025-03-20 11:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:33:04] Production.INFO: ==19128== Lock acquired, processing the job... [2025-03-20 11:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:33:04] Production.INFO: Account Balance Start. [2025-03-20 11:33:04] Production.INFO: CreateAllLog Start [2025-03-20 11:33:04] Production.INFO: 117 [2025-03-20 11:33:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.INFO: ==19130== Lock acquired, processing the job... [2025-03-20 11:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.INFO: ==19137== Lock acquired, processing the job... [2025-03-20 11:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:33:04] Production.INFO: ==19139== Lock acquired, processing the job... [2025-03-20 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.INFO: count ==12 [2025-03-20 11:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:33:04] Production.INFO: count ==23 [2025-03-20 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722559') start [2025-03-20 11:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:33:04] Production.INFO: ==19130== Releasing lock... [2025-03-20 11:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722559') end [2025-03-20 11:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:33:04] Production.INFO: 1 [2025-03-20 11:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:33:04] Production.INFO: ==19139== Releasing lock... [2025-03-20 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:33:05] Production.ERROR: done [2025-03-20 11:33:05] Production.INFO: Total Charge 0 [2025-03-20 11:33:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:33:05] Production.INFO: CreateAllLog End [2025-03-20 11:33:05] Production.ERROR: done [2025-03-20 11:33:05] Production.INFO: Account Balance End. [2025-03-20 11:33:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:33:05] Production.INFO: ==19135== Releasing lock... [2025-03-20 11:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:33:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:33:06 [end_date_ymd] => 2025-03-20 11:33:06 [RateCDR] => 1 ) [2025-03-20 11:33:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:33:06' and `end` < '2025-03-20 11:33:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:33:14] Production.ERROR: CronJobId end10 [2025-03-20 11:33:14] Production.INFO: ==19133== Releasing lock... [2025-03-20 11:33:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:33:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:33:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:33:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:33:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:33:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:33:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:33:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:33:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:33:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:33:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:33:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:33:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:33:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:33:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:33:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:33:16] Production.INFO: call_cost start [2025-03-20 11:33:16] Production.INFO: call_cost end [2025-03-20 11:33:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:33:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:33:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:33:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:33:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:33:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:33:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:33:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:33:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:33:18] Production.INFO: ==19128== Releasing lock... [2025-03-20 11:33:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:33:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:33:19] Production.INFO: count ==4595 [2025-03-20 11:33:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:33:06 - End Time 2025-03-20 11:33:06 [2025-03-20 11:33:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722560', 'tblTempUsageDetail_20' ) start [2025-03-20 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722560', 'tblTempUsageDetail_20' ) end [2025-03-20 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722560', 'tblTempVendorCDR_20' ) start [2025-03-20 11:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722560', 'tblTempVendorCDR_20' ) end [2025-03-20 11:33:21] Production.INFO: ProcessCDR(1,14722560,1,1,2) [2025-03-20 11:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722560,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:33:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722560,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722560', 'tblTempUsageDetail_20' ) start [2025-03-20 11:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722560', 'tblTempUsageDetail_20' ) end [2025-03-20 11:33:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:33:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:33:28] Production.INFO: ==19137== Releasing lock... [2025-03-20 11:33:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:33:28] Production.INFO: 62.25 MB #Memory Used# [2025-03-20 15:34:01] Production.INFO: ==19212== Lock acquired, processing the job... [2025-03-20 15:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:34:01] Production.INFO: neon service started [2025-03-20 15:34:01] Production.INFO: neon service started [2025-03-20 15:34:01] Production.INFO: ==19212== Releasing lock... [2025-03-20 15:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:34:02] Production.INFO: ==19214== Lock acquired, processing the job... [2025-03-20 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:34:02] Production.INFO: ==19214== Releasing lock... [2025-03-20 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:34:02] Production.INFO: ==19216== Lock acquired, processing the job... [2025-03-20 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:34:02] Production.INFO: ==19216== Releasing lock... [2025-03-20 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:34:03] Production.INFO: ==19224== Lock acquired, processing the job... [2025-03-20 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:34:03] Production.INFO: ==19229== Lock acquired, processing the job... [2025-03-20 11:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:34:03] Production.INFO: Account Balance Start. [2025-03-20 11:34:03] Production.INFO: CreateAllLog Start [2025-03-20 11:34:03] Production.INFO: 117 [2025-03-20 11:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 11:34:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:03] Production.INFO: count ==12 [2025-03-20 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-03-20 11:34:03] Production.INFO: count ==23 [2025-03-20 11:34:03] Production.INFO: Date 2025-03-11 [2025-03-20 11:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:03] Production.INFO: ==19222== Lock acquired, processing the job... [2025-03-20 11:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722562') start [2025-03-20 11:34:03] Production.INFO: ==19220== Lock acquired, processing the job... [2025-03-20 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:34:03] Production.INFO: Date 2025-03-12 [2025-03-20 11:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:03] Production.INFO: ==19218== Lock acquired, processing the job... [2025-03-20 11:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:34:03] Production.INFO: Date 2025-03-13 [2025-03-20 11:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722562') end [2025-03-20 11:34:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:34:03] Production.INFO: 1 [2025-03-20 11:34:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:34:03] Production.INFO: Date 2025-03-14 [2025-03-20 11:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:03] Production.INFO: ==19229== Releasing lock... [2025-03-20 11:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:34:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:04] Production.INFO: ==19227== Lock acquired, processing the job... [2025-03-20 11:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:34:04] Production.INFO: ==19220== Releasing lock... [2025-03-20 11:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:34:04] Production.INFO: Total Charge 0 [2025-03-20 11:34:04] Production.INFO: CreateAllLog End [2025-03-20 11:34:04] Production.ERROR: done [2025-03-20 11:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:34:04] Production.ERROR: done [2025-03-20 11:34:04] Production.INFO: Account Balance End. [2025-03-20 11:34:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:34:04] Production.INFO: ==19224== Releasing lock... [2025-03-20 11:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:34:05 [end_date_ymd] => 2025-03-20 11:34:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:34:05' and `end` < '2025-03-20 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-03-20 11:34:14] Production.ERROR: CronJobId end10 [2025-03-20 11:34:14] Production.INFO: ==19222== Releasing lock... [2025-03-20 11:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:34:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:34:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:34:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:34:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:34:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:34:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:34:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:34:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:34:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:34:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:34:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:34:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:34:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:34:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:34:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:34:17] Production.INFO: call_cost start [2025-03-20 11:34:17] Production.INFO: call_cost end [2025-03-20 11:34:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:34:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:34:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:34:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:34:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:34:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:34:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:34:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:34:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:34:18] Production.INFO: ==19218== Releasing lock... [2025-03-20 11:34:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:34:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:34:19] Production.INFO: count ==4619 [2025-03-20 11:34:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:34:05 - End Time 2025-03-20 11:34:05 [2025-03-20 11:34:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722565', 'tblTempUsageDetail_20' ) start [2025-03-20 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722565', 'tblTempUsageDetail_20' ) end [2025-03-20 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722565', 'tblTempVendorCDR_20' ) start [2025-03-20 11:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722565', 'tblTempVendorCDR_20' ) end [2025-03-20 11:34:21] Production.INFO: ProcessCDR(1,14722565,1,1,2) [2025-03-20 11:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:34:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:34:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:34:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722565', 'tblTempUsageDetail_20' ) start [2025-03-20 11:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722565', 'tblTempUsageDetail_20' ) end [2025-03-20 11:34:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:34:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:34:27] Production.INFO: ==19227== Releasing lock... [2025-03-20 11:34:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:34:27] Production.INFO: 62.5 MB #Memory Used# [2025-03-20 15:35:02] Production.INFO: ==19301== Lock acquired, processing the job... [2025-03-20 15:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:35:02] Production.INFO: neon service started [2025-03-20 15:35:02] Production.INFO: neon service started [2025-03-20 15:35:02] Production.INFO: ==19301== Releasing lock... [2025-03-20 15:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:35:02] Production.INFO: ==19303== Lock acquired, processing the job... [2025-03-20 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:35:02] Production.INFO: ==19305== Lock acquired, processing the job... [2025-03-20 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 11:35:02] Production.INFO: ==19303== Releasing lock... [2025-03-20 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:35:03] Production.INFO: ==19305== Releasing lock... [2025-03-20 15:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:35:03] Production.INFO: ==19314== Lock acquired, processing the job... [2025-03-20 11:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:35:04] Production.INFO: ==19307== Lock acquired, processing the job... [2025-03-20 11:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:35:04] Production.INFO: Account Balance Start. [2025-03-20 11:35:04] Production.INFO: CreateAllLog Start [2025-03-20 11:35:04] Production.INFO: 117 [2025-03-20 11:35:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.INFO: ==19318== Lock acquired, processing the job... [2025-03-20 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:35:04] Production.INFO: ==19309== Lock acquired, processing the job... [2025-03-20 11:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.INFO: ==19312== Lock acquired, processing the job... [2025-03-20 11:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:35:04] Production.INFO: ==19316== Lock acquired, processing the job... [2025-03-20 11:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:35:04] Production.INFO: count ==12 [2025-03-20 11:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:35:04] Production.INFO: count ==23 [2025-03-20 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722568') start [2025-03-20 11:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722568') end [2025-03-20 11:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:35:04] Production.INFO: 1 [2025-03-20 11:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.INFO: ==19309== Releasing lock... [2025-03-20 11:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:35:04] Production.INFO: ==19318== Releasing lock... [2025-03-20 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:35:04] Production.ERROR: done [2025-03-20 11:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:35:04] Production.ERROR: done [2025-03-20 11:35:04] Production.INFO: Total Charge 0 [2025-03-20 11:35:04] Production.INFO: CreateAllLog End [2025-03-20 11:35:04] Production.INFO: Account Balance End. [2025-03-20 11:35:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:35:04] Production.INFO: ==19314== Releasing lock... [2025-03-20 11:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:35:05 [end_date_ymd] => 2025-03-20 11:35:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:35:05' and `end` < '2025-03-20 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-03-20 11:35:14] Production.ERROR: CronJobId end10 [2025-03-20 11:35:14] Production.INFO: ==19312== Releasing lock... [2025-03-20 11:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:35:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:35:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:35:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:35:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:35:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:35:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:35:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:35:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:35:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:35:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:35:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:35:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:35:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:35:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:35:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:35:18] Production.INFO: call_cost start [2025-03-20 11:35:18] Production.INFO: call_cost end [2025-03-20 11:35:18] Production.INFO: count ==4655 [2025-03-20 11:35:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:35:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:35:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:35:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:35:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:35:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:35:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:35:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:35:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:35:19] Production.INFO: ==19307== Releasing lock... [2025-03-20 11:35:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:35:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:35:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:35:05 - End Time 2025-03-20 11:35:05 [2025-03-20 11:35:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722570', 'tblTempUsageDetail_20' ) start [2025-03-20 11:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722570', 'tblTempUsageDetail_20' ) end [2025-03-20 11:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722570', 'tblTempVendorCDR_20' ) start [2025-03-20 11:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722570', 'tblTempVendorCDR_20' ) end [2025-03-20 11:35:21] Production.INFO: ProcessCDR(1,14722570,1,1,2) [2025-03-20 11:35:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:35:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:35:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:35:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722570', 'tblTempUsageDetail_20' ) start [2025-03-20 11:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722570', 'tblTempUsageDetail_20' ) end [2025-03-20 11:35:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:35:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:35:27] Production.INFO: ==19316== Releasing lock... [2025-03-20 11:35:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:35:27] Production.INFO: 62.75 MB #Memory Used# [2025-03-20 15:36:01] Production.INFO: ==19390== Lock acquired, processing the job... [2025-03-20 15:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:36:01] Production.INFO: neon service started [2025-03-20 15:36:01] Production.INFO: neon service started [2025-03-20 15:36:01] Production.INFO: ==19390== Releasing lock... [2025-03-20 15:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:36:02] Production.INFO: ==19394== Lock acquired, processing the job... [2025-03-20 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:36:02] Production.INFO: ==19394== Releasing lock... [2025-03-20 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:36:02] Production.INFO: ==19392== Lock acquired, processing the job... [2025-03-20 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:36:02] Production.INFO: ==19392== Releasing lock... [2025-03-20 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:36:03] Production.INFO: ==19399== Lock acquired, processing the job... [2025-03-20 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:36:03] Production.INFO: ==19401== Lock acquired, processing the job... [2025-03-20 11:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:36:03] Production.INFO: ==19397== Lock acquired, processing the job... [2025-03-20 11:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:36:03] Production.INFO: ==19405== Lock acquired, processing the job... [2025-03-20 11:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:36:03] Production.INFO: ==19403== Lock acquired, processing the job... [2025-03-20 11:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:36:03] Production.INFO: Account Balance Start. [2025-03-20 11:36:03] Production.INFO: CreateAllLog Start [2025-03-20 11:36:03] Production.INFO: 117 [2025-03-20 11:36:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:36:03] Production.INFO: ==19407== Lock acquired, processing the job... [2025-03-20 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: ==19399== Releasing lock... [2025-03-20 11:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11: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-03-20 11:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:36:04] Production.INFO: count ==23 [2025-03-20 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722574') start [2025-03-20 11:36:04] Production.ERROR: done [2025-03-20 11:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722574') end [2025-03-20 11:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:36:04] Production.INFO: 1 [2025-03-20 11:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: ==19407== Releasing lock... [2025-03-20 11:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:36:04] Production.ERROR: done [2025-03-20 11:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:36:04] Production.INFO: Total Charge 0 [2025-03-20 11:36:04] Production.INFO: CreateAllLog End [2025-03-20 11:36:05] Production.INFO: Account Balance End. [2025-03-20 11:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:36:05] Production.INFO: ==19403== Releasing lock... [2025-03-20 11:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:36:05 [end_date_ymd] => 2025-03-20 11:36:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:36:05' and `end` < '2025-03-20 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-03-20 11:36:12] Production.ERROR: CronJobId end10 [2025-03-20 11:36:12] Production.INFO: ==19401== Releasing lock... [2025-03-20 11:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:36:16] Production.INFO: call_cost start [2025-03-20 11:36:16] Production.INFO: call_cost end [2025-03-20 11:36:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:36:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:36:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:36:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:36:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:36:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:36:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:36:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:36:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:36:17] Production.INFO: ==19397== Releasing lock... [2025-03-20 11:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:36:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:36:19] Production.INFO: count ==4733 [2025-03-20 11:36:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:36:05 - End Time 2025-03-20 11:36:05 [2025-03-20 11:36:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722575', 'tblTempUsageDetail_20' ) start [2025-03-20 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722575', 'tblTempUsageDetail_20' ) end [2025-03-20 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722575', 'tblTempVendorCDR_20' ) start [2025-03-20 11:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722575', 'tblTempVendorCDR_20' ) end [2025-03-20 11:36:21] Production.INFO: ProcessCDR(1,14722575,1,1,2) [2025-03-20 11:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:36:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:36:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:36:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722575', 'tblTempUsageDetail_20' ) start [2025-03-20 11:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722575', 'tblTempUsageDetail_20' ) end [2025-03-20 11:36:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:36:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:36:27] Production.INFO: ==19405== Releasing lock... [2025-03-20 11:36:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:36:27] Production.INFO: 63.25 MB #Memory Used# [2025-03-20 15:37:02] Production.INFO: ==19477== Lock acquired, processing the job... [2025-03-20 15:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:37:02] Production.INFO: neon service started [2025-03-20 15:37:02] Production.INFO: neon service started [2025-03-20 15:37:02] Production.INFO: ==19477== Releasing lock... [2025-03-20 15:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:37:02] Production.INFO: ==19479== Lock acquired, processing the job... [2025-03-20 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:37:02] Production.INFO: ==19481== Lock acquired, processing the job... [2025-03-20 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:37:02] Production.INFO: ==19481== Releasing lock... [2025-03-20 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:37:02] Production.INFO: ==19479== Releasing lock... [2025-03-20 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:37:03] Production.INFO: ==19484== Lock acquired, processing the job... [2025-03-20 11:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:37:03] Production.INFO: ==19490== Lock acquired, processing the job... [2025-03-20 11:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:37:04] Production.INFO: Account Balance Start. [2025-03-20 11:37:04] Production.INFO: CreateAllLog Start [2025-03-20 11:37:04] Production.INFO: 117 [2025-03-20 11:37:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:37:04] Production.INFO: ==19494== Lock acquired, processing the job... [2025-03-20 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:37:04] Production.INFO: ==19486== Lock acquired, processing the job... [2025-03-20 11:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:37:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:37:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:37:04] Production.INFO: count ==23 [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722578') start [2025-03-20 11:37:04] Production.INFO: ==19488== Lock acquired, processing the job... [2025-03-20 11:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.INFO: ==19492== Lock acquired, processing the job... [2025-03-20 11:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722578') end [2025-03-20 11:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:37:04] Production.INFO: 1 [2025-03-20 11:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:37:04] Production.INFO: ==19494== Releasing lock... [2025-03-20 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.ERROR: done [2025-03-20 11:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:37:04] Production.INFO: ==19486== Releasing lock... [2025-03-20 11:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:37:04] Production.INFO: Total Charge 0 [2025-03-20 11:37:04] Production.INFO: CreateAllLog End [2025-03-20 11:37:05] Production.ERROR: done [2025-03-20 11:37:05] Production.INFO: Account Balance End. [2025-03-20 11:37:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:37:05] Production.INFO: ==19490== Releasing lock... [2025-03-20 11:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:37:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:37:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:37:06 [end_date_ymd] => 2025-03-20 11:37:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:37:06' and `end` < '2025-03-20 11: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-03-20 11:37:12] Production.ERROR: CronJobId end10 [2025-03-20 11:37:12] Production.INFO: ==19488== Releasing lock... [2025-03-20 11:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:37:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:37:15] Production.INFO: call_cost start [2025-03-20 11:37:15] Production.INFO: call_cost end [2025-03-20 11:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:37:16] Production.INFO: ==19484== Releasing lock... [2025-03-20 11:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:37:19] Production.INFO: count ==4752 [2025-03-20 11:37:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:37:06 - End Time 2025-03-20 11:37:06 [2025-03-20 11:37:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722580', 'tblTempUsageDetail_20' ) start [2025-03-20 11:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722580', 'tblTempUsageDetail_20' ) end [2025-03-20 11:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722580', 'tblTempVendorCDR_20' ) start [2025-03-20 11:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722580', 'tblTempVendorCDR_20' ) end [2025-03-20 11:37:21] Production.INFO: ProcessCDR(1,14722580,1,1,2) [2025-03-20 11:37:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:37:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:37:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:37:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722580', 'tblTempUsageDetail_20' ) start [2025-03-20 11:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722580', 'tblTempUsageDetail_20' ) end [2025-03-20 11:37:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:37:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:37:27] Production.INFO: ==19492== Releasing lock... [2025-03-20 11:37:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:37:27] Production.INFO: 63.5 MB #Memory Used# [2025-03-20 15:38:01] Production.INFO: ==19560== Lock acquired, processing the job... [2025-03-20 15:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:38:01] Production.INFO: neon service started [2025-03-20 15:38:01] Production.INFO: neon service started [2025-03-20 15:38:01] Production.INFO: ==19560== Releasing lock... [2025-03-20 15:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:38:02] Production.INFO: ==19562== Lock acquired, processing the job... [2025-03-20 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:38:02] Production.INFO: ==19564== Lock acquired, processing the job... [2025-03-20 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:38:02] Production.INFO: ==19564== Releasing lock... [2025-03-20 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:38:02] Production.INFO: ==19562== Releasing lock... [2025-03-20 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:38:03] Production.INFO: ==19571== Lock acquired, processing the job... [2025-03-20 11:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:38:03] Production.INFO: ==19575== Lock acquired, processing the job... [2025-03-20 11:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:38:03] Production.INFO: ==19573== Lock acquired, processing the job... [2025-03-20 11:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:38:03] Production.INFO: Account Balance Start. [2025-03-20 11:38:03] Production.INFO: CreateAllLog Start [2025-03-20 11:38:03] Production.INFO: 117 [2025-03-20 11:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:38:03] Production.INFO: ==19569== Lock acquired, processing the job... [2025-03-20 11:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:38:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: ==19571== Releasing lock... [2025-03-20 11:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: ==19577== Lock acquired, processing the job... [2025-03-20 11:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: ==19579== Lock acquired, processing the job... [2025-03-20 11:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:38:04] Production.INFO: count ==12 [2025-03-20 11:38:04] Production.INFO: Total Charge 0 [2025-03-20 11:38:04] Production.INFO: CreateAllLog End [2025-03-20 11:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:38:04] Production.INFO: count ==23 [2025-03-20 11:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722584') start [2025-03-20 11:38:04] Production.ERROR: done [2025-03-20 11:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722584') end [2025-03-20 11:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:38:04] Production.INFO: 1 [2025-03-20 11:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:38:05] Production.INFO: ==19579== Releasing lock... [2025-03-20 11:38:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:38:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:38:05] Production.ERROR: done [2025-03-20 11:38:05] Production.INFO: Account Balance End. [2025-03-20 11:38:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:38:05] Production.INFO: ==19575== Releasing lock... [2025-03-20 11:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:38:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:38:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:38:06 [end_date_ymd] => 2025-03-20 11:38:06 [RateCDR] => 1 ) [2025-03-20 11:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:38:06' and `end` < '2025-03-20 11:38:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:38:13] Production.ERROR: CronJobId end10 [2025-03-20 11:38:13] Production.INFO: ==19573== Releasing lock... [2025-03-20 11:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:38:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:38:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:38:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:38:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:38:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:38:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:38:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:38:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:38:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:38:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:38:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:38:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:38:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:38:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:38:16] Production.INFO: call_cost start [2025-03-20 11:38:16] Production.INFO: call_cost end [2025-03-20 11:38:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:38:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:38:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:38:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:38:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:38:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:38:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:38:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:38:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:38:17] Production.INFO: ==19569== Releasing lock... [2025-03-20 11:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:38:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:38:19] Production.INFO: count ==4776 [2025-03-20 11:38:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:38:06 - End Time 2025-03-20 11:38:06 [2025-03-20 11:38:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722585', 'tblTempUsageDetail_20' ) start [2025-03-20 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722585', 'tblTempUsageDetail_20' ) end [2025-03-20 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722585', 'tblTempVendorCDR_20' ) start [2025-03-20 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722585', 'tblTempVendorCDR_20' ) end [2025-03-20 11:38:21] Production.INFO: ProcessCDR(1,14722585,1,1,2) [2025-03-20 11:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:38:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722585', 'tblTempUsageDetail_20' ) start [2025-03-20 11:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722585', 'tblTempUsageDetail_20' ) end [2025-03-20 11:38:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:38:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:38:27] Production.INFO: ==19577== Releasing lock... [2025-03-20 11:38:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:38:27] Production.INFO: 63.75 MB #Memory Used# [2025-03-20 15:39:02] Production.INFO: ==19643== Lock acquired, processing the job... [2025-03-20 15:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:39:02] Production.INFO: neon service started [2025-03-20 15:39:02] Production.INFO: neon service started [2025-03-20 15:39:02] Production.INFO: ==19643== Releasing lock... [2025-03-20 15:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:39:02] Production.INFO: ==19645== Lock acquired, processing the job... [2025-03-20 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:39:02] Production.INFO: ==19645== Releasing lock... [2025-03-20 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:39:03] Production.INFO: ==19647== Lock acquired, processing the job... [2025-03-20 15:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:39:03] Production.INFO: ==19647== Releasing lock... [2025-03-20 15:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:39:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:39:04] Production.INFO: ==19659== Lock acquired, processing the job... [2025-03-20 11:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:39:04] Production.INFO: ==19661== Lock acquired, processing the job... [2025-03-20 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:39:04] Production.INFO: count ==12 [2025-03-20 11:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:39:04] Production.INFO: ==19651== Lock acquired, processing the job... [2025-03-20 11:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:39:04] Production.INFO: count ==23 [2025-03-20 11:39:04] Production.INFO: ==19653== Lock acquired, processing the job... [2025-03-20 11:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722586') start [2025-03-20 11:39:04] Production.INFO: ==19657== Lock acquired, processing the job... [2025-03-20 11:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:39:04] Production.INFO: ==19655== Lock acquired, processing the job... [2025-03-20 11:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:39:04] Production.ERROR: done [2025-03-20 11:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722586') end [2025-03-20 11:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:39:04] Production.INFO: 1 [2025-03-20 11:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:39:04] Production.INFO: Account Balance Start. [2025-03-20 11:39:04] Production.INFO: CreateAllLog Start [2025-03-20 11:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:39:04] Production.INFO: 117 [2025-03-20 11:39:04] Production.INFO: ==19661== Releasing lock... [2025-03-20 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:39:04] Production.ERROR: done [2025-03-20 11:39:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:04] Production.INFO: ==19653== Releasing lock... [2025-03-20 11:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:05] Production.INFO: Date 2025-03-15 [2025-03-20 11:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:05] Production.INFO: Date 2025-03-16 [2025-03-20 11:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:39:05] Production.INFO: Total Charge 0 [2025-03-20 11:39:05] Production.INFO: CreateAllLog End [2025-03-20 11:39:05] Production.INFO: Account Balance End. [2025-03-20 11:39:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:39:05] Production.INFO: ==19657== Releasing lock... [2025-03-20 11:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:39:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:39:05 [end_date_ymd] => 2025-03-20 11:39:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:39:05' and `end` < '2025-03-20 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-03-20 11:39:14] Production.ERROR: CronJobId end10 [2025-03-20 11:39:14] Production.INFO: ==19655== Releasing lock... [2025-03-20 11:39:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:39:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:39:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:39:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:39:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:39:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:39:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:39:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:39:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:39:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:39:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:39:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:39:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:39:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:39:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:39:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:39:17] Production.INFO: call_cost start [2025-03-20 11:39:17] Production.INFO: call_cost end [2025-03-20 11:39:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:39:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:39:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:39:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:39:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:39:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:39:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:39:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:39:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:39:18] Production.INFO: ==19651== Releasing lock... [2025-03-20 11:39:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:39:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:39:19] Production.INFO: count ==4766 [2025-03-20 11:39:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:39:05 - End Time 2025-03-20 11:39:05 [2025-03-20 11:39:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722590', 'tblTempUsageDetail_20' ) start [2025-03-20 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722590', 'tblTempUsageDetail_20' ) end [2025-03-20 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722590', 'tblTempVendorCDR_20' ) start [2025-03-20 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722590', 'tblTempVendorCDR_20' ) end [2025-03-20 11:39:21] Production.INFO: ProcessCDR(1,14722590,1,1,2) [2025-03-20 11:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722590', 'tblTempUsageDetail_20' ) start [2025-03-20 11:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722590', 'tblTempUsageDetail_20' ) end [2025-03-20 11:39:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:39:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:39:27] Production.INFO: ==19659== Releasing lock... [2025-03-20 11:39:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:39:27] Production.INFO: 63.75 MB #Memory Used# [2025-03-20 15:40:01] Production.INFO: ==19735== Lock acquired, processing the job... [2025-03-20 15:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:40:01] Production.INFO: neon service started [2025-03-20 15:40:01] Production.INFO: neon service started [2025-03-20 15:40:01] Production.INFO: ==19735== Releasing lock... [2025-03-20 15:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:40:02] Production.INFO: ==19737== Lock acquired, processing the job... [2025-03-20 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:40:02] Production.INFO: ==19739== Lock acquired, processing the job... [2025-03-20 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:40:02] Production.INFO: ==19739== Releasing lock... [2025-03-20 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:40:03] Production.INFO: ==19737== Releasing lock... [2025-03-20 11:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:40:04] Production.INFO: ==19746== Lock acquired, processing the job... [2025-03-20 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:40:04] Production.INFO: ==19748== Lock acquired, processing the job... [2025-03-20 11:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:40:04] Production.INFO: ==19750== Lock acquired, processing the job... [2025-03-20 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:40:04] Production.INFO: ==19742== Lock acquired, processing the job... [2025-03-20 11:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 11:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:40:04] Production.INFO: Account Balance Start. [2025-03-20 11:40:04] Production.INFO: CreateAllLog Start [2025-03-20 11:40:04] Production.INFO: 117 [2025-03-20 11:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 11:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 11:40:04] Production.ERROR: CronJob PID - 19746 [2025-03-20 11:40:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 11:40:04] Production.ERROR: CronJob ID - 7 [2025-03-20 11:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 11:40:00 [2025-03-20 11:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 11:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 11:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 11:40:04] Production.ERROR: CronJob PID - 19748 [2025-03-20 11:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 11:40:04] Production.ERROR: CronJob ID - 10 [2025-03-20 11:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 11:40:00 [2025-03-20 11:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 11:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 11:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 11:40:04] Production.ERROR: CronJob PID - 19750 [2025-03-20 11:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 11:40:04] Production.ERROR: CronJob ID - 12 [2025-03-20 11:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 11:40:00 [2025-03-20 11:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 11:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 11:40:04] Production.INFO: ==19744== Lock acquired, processing the job... [2025-03-20 11:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 11:40:04] Production.INFO: ==19742== Releasing lock... [2025-03-20 11:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 11:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 11:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:40:04] Production.INFO: ==19752== Lock acquired, processing the job... [2025-03-20 11:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:40:04] Production.INFO: ==19754== Lock acquired, processing the job... [2025-03-20 11:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 11:40:04] Production.INFO: ==19746== Releasing lock... [2025-03-20 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:04] Production.INFO: ==19756== Lock acquired, processing the job... [2025-03-20 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:05] Production.INFO: Date 2025-03-15 [2025-03-20 11:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:05] Production.INFO: Date 2025-03-16 [2025-03-20 11:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:05] Production.INFO: count ==12 [2025-03-20 11:40:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:40:05] Production.INFO: count ==23 [2025-03-20 11:40:05] Production.ERROR: done [2025-03-20 11:40:05] Production.ERROR: done [2025-03-20 11:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722594') start [2025-03-20 11:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:40:05] Production.INFO: Total Charge 0 [2025-03-20 11:40:05] Production.INFO: CreateAllLog End [2025-03-20 11:40:05] Production.ERROR: done [2025-03-20 11:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 11:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722595', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 11:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722594') end [2025-03-20 11:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:40:05] Production.INFO: 1 [2025-03-20 11:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:40:05] Production.INFO: ==19756== Releasing lock... [2025-03-20 11:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:40:06] Production.INFO: Account Balance End. [2025-03-20 11:40:06] Production.ERROR: CronJobId end 12 [2025-03-20 11:40:06] Production.INFO: ==19750== Releasing lock... [2025-03-20 11:40:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:40:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:40:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:40:07 [end_date_ymd] => 2025-03-20 11:40:07 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:40:07' and `end` < '2025-03-20 11: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-03-20 11:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722595', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 11:40:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 11:40:10] Production.INFO: ProcessCDR(1,14722595,1,1,2) [2025-03-20 11:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722595,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722595,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:40:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:40:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:40:10] Production.INFO: ==19754== Releasing lock... [2025-03-20 11:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 11:40:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 11:40:16] Production.ERROR: CronJobId end10 [2025-03-20 11:40:16] Production.INFO: ==19748== Releasing lock... [2025-03-20 11:40:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:40:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:40:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:40:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:40:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:40:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:40:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:40:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:40:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:40:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:40:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:40:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:40:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:40:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:40:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:40:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:40:18] Production.INFO: call_cost start [2025-03-20 11:40:18] Production.INFO: call_cost end [2025-03-20 11:40:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:40:20] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:40:20] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:40:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:40:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:40:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:40:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:40:20] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:40:20] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:40:20] Production.INFO: ==19744== Releasing lock... [2025-03-20 11:40:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:40:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:40:20] Production.INFO: count ==4761 [2025-03-20 11:40:22] Production.ERROR: pbx CDR StartTime 2025-03-20 08:40:07 - End Time 2025-03-20 11:40:07 [2025-03-20 11:40:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722596', 'tblTempUsageDetail_20' ) start [2025-03-20 11:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722596', 'tblTempUsageDetail_20' ) end [2025-03-20 11:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722596', 'tblTempVendorCDR_20' ) start [2025-03-20 11:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722596', 'tblTempVendorCDR_20' ) end [2025-03-20 11:40:22] Production.INFO: ProcessCDR(1,14722596,1,1,2) [2025-03-20 11:40:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:40:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722596,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:40:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:40:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722596,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722596', 'tblTempUsageDetail_20' ) start [2025-03-20 11:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722596', 'tblTempUsageDetail_20' ) end [2025-03-20 11:40:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:40:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:40:28] Production.INFO: ==19752== Releasing lock... [2025-03-20 11:40:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:40:28] Production.INFO: 63.5 MB #Memory Used# [2025-03-20 15:41:02] Production.INFO: ==19837== Lock acquired, processing the job... [2025-03-20 15:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:41:02] Production.INFO: neon service started [2025-03-20 15:41:02] Production.INFO: neon service started [2025-03-20 15:41:02] Production.INFO: ==19837== Releasing lock... [2025-03-20 15:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:41:02] Production.INFO: ==19841== Lock acquired, processing the job... [2025-03-20 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:41:02] Production.INFO: ==19841== Releasing lock... [2025-03-20 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:41:02] Production.INFO: ==19839== Lock acquired, processing the job... [2025-03-20 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:41:03] Production.INFO: ==19839== Releasing lock... [2025-03-20 11:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:41:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:41:04] Production.INFO: ==19850== Lock acquired, processing the job... [2025-03-20 11:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:41:04] Production.INFO: ==19852== Lock acquired, processing the job... [2025-03-20 11:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:41:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:41:04] Production.INFO: ==19843== Lock acquired, processing the job... [2025-03-20 11:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:41:04] Production.INFO: Account Balance Start. [2025-03-20 11:41:04] Production.INFO: CreateAllLog Start [2025-03-20 11:41:04] Production.INFO: 117 [2025-03-20 11:41:04] Production.INFO: ==19846== Lock acquired, processing the job... [2025-03-20 11:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:41:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:04] Production.INFO: ==19848== Lock acquired, processing the job... [2025-03-20 11:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:41:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:41:04] Production.INFO: ==19854== Lock acquired, processing the job... [2025-03-20 11:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:41:04] Production.ERROR: done [2025-03-20 11:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:05] Production.INFO: count ==12 [2025-03-20 11:41:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:41:05] Production.INFO: count ==23 [2025-03-20 11:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722600') start [2025-03-20 11:41:05] Production.INFO: ==19846== Releasing lock... [2025-03-20 11:41:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:41:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:41:05] Production.ERROR: done [2025-03-20 11:41:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:41:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:41:05] Production.INFO: Total Charge 0 [2025-03-20 11:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722600') end [2025-03-20 11:41:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:41:05] Production.INFO: 1 [2025-03-20 11:41:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:41:05] Production.INFO: CreateAllLog End [2025-03-20 11:41:05] Production.INFO: ==19854== Releasing lock... [2025-03-20 11:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:41:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:41:05] Production.INFO: Account Balance End. [2025-03-20 11:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:41:05] Production.INFO: ==19850== Releasing lock... [2025-03-20 11:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:41:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:41:06 [end_date_ymd] => 2025-03-20 11:41:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:41:06' and `end` < '2025-03-20 11: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-03-20 11:41:14] Production.ERROR: CronJobId end10 [2025-03-20 11:41:14] Production.INFO: ==19848== Releasing lock... [2025-03-20 11:41:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:41:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:41:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:41:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:41:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:41:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:41:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:41:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:41:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:41:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:41:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:41:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:41:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:41:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:41:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:41:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:41:17] Production.INFO: call_cost start [2025-03-20 11:41:17] Production.INFO: call_cost end [2025-03-20 11:41:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:41:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:41:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:41:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:41:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:41:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:41:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:41:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:41:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:41:18] Production.INFO: ==19843== Releasing lock... [2025-03-20 11:41:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:41:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:41:19] Production.INFO: count ==4863 [2025-03-20 11:41:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:41:06 - End Time 2025-03-20 11:41:06 [2025-03-20 11:41:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722601', 'tblTempUsageDetail_20' ) start [2025-03-20 11:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722601', 'tblTempUsageDetail_20' ) end [2025-03-20 11:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722601', 'tblTempVendorCDR_20' ) start [2025-03-20 11:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722601', 'tblTempVendorCDR_20' ) end [2025-03-20 11:41:21] Production.INFO: ProcessCDR(1,14722601,1,1,2) [2025-03-20 11:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:41:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722601,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:41:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:41:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722601,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722601', 'tblTempUsageDetail_20' ) start [2025-03-20 11:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722601', 'tblTempUsageDetail_20' ) end [2025-03-20 11:41:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:41:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:41:27] Production.INFO: ==19852== Releasing lock... [2025-03-20 11:41:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:41:27] Production.INFO: 64.25 MB #Memory Used# [2025-03-20 15:42:01] Production.INFO: ==19919== Lock acquired, processing the job... [2025-03-20 15:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:42:01] Production.INFO: neon service started [2025-03-20 15:42:01] Production.INFO: neon service started [2025-03-20 15:42:01] Production.INFO: ==19919== Releasing lock... [2025-03-20 15:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:42:02] Production.INFO: ==19921== Lock acquired, processing the job... [2025-03-20 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:42:02] Production.INFO: ==19921== Releasing lock... [2025-03-20 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:42:02] Production.INFO: ==19923== Lock acquired, processing the job... [2025-03-20 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:42:02] Production.INFO: ==19923== Releasing lock... [2025-03-20 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:42:03] Production.INFO: ==19927== Lock acquired, processing the job... [2025-03-20 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:42:03] Production.INFO: ==19936== Lock acquired, processing the job... [2025-03-20 11:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:42:03] Production.INFO: count ==12 [2025-03-20 11:42:03] Production.INFO: ==19925== Lock acquired, processing the job... [2025-03-20 11:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:42:03] Production.INFO: count ==23 [2025-03-20 11:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722603') start [2025-03-20 11:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:42:04] Production.INFO: ==19929== Lock acquired, processing the job... [2025-03-20 11:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722603') end [2025-03-20 11:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:42:04] Production.INFO: 1 [2025-03-20 11:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:42:04] Production.INFO: ==19931== Lock acquired, processing the job... [2025-03-20 11:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:42:04] Production.INFO: ==19936== Releasing lock... [2025-03-20 11:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:42:04] Production.INFO: ==19933== Lock acquired, processing the job... [2025-03-20 11:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:42:04] Production.INFO: ==19927== Releasing lock... [2025-03-20 11:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:42:04] Production.INFO: Account Balance Start. [2025-03-20 11:42:04] Production.INFO: CreateAllLog Start [2025-03-20 11:42:04] Production.INFO: 117 [2025-03-20 11:42:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.ERROR: done [2025-03-20 11:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.ERROR: done [2025-03-20 11:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:42:05] Production.INFO: Total Charge 0 [2025-03-20 11:42:05] Production.INFO: CreateAllLog End [2025-03-20 11:42:05] Production.INFO: Account Balance End. [2025-03-20 11:42:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:42:05] Production.INFO: ==19931== Releasing lock... [2025-03-20 11:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:42:06 [end_date_ymd] => 2025-03-20 11:42:06 [RateCDR] => 1 ) [2025-03-20 11:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:42:06' and `end` < '2025-03-20 11:42:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:42:13] Production.ERROR: CronJobId end10 [2025-03-20 11:42:13] Production.INFO: ==19929== Releasing lock... [2025-03-20 11:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:42:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:42:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:42:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:42:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:42:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:42:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:42:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:42:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:42:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:42:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:42:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:42:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:42:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:42:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:42:16] Production.INFO: call_cost start [2025-03-20 11:42:16] Production.INFO: call_cost end [2025-03-20 11:42:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:42:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:42:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:42:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:42:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:42:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:42:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:42:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:42:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:42:17] Production.INFO: ==19925== Releasing lock... [2025-03-20 11:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:42:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:42:19] Production.INFO: count ==4895 [2025-03-20 11:42:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:42:06 - End Time 2025-03-20 11:42:06 [2025-03-20 11:42:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722606', 'tblTempUsageDetail_20' ) start [2025-03-20 11:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722606', 'tblTempUsageDetail_20' ) end [2025-03-20 11:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722606', 'tblTempVendorCDR_20' ) start [2025-03-20 11:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722606', 'tblTempVendorCDR_20' ) end [2025-03-20 11:42:21] Production.INFO: ProcessCDR(1,14722606,1,1,2) [2025-03-20 11:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722606,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:42:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722606,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722606', 'tblTempUsageDetail_20' ) start [2025-03-20 11:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722606', 'tblTempUsageDetail_20' ) end [2025-03-20 11:42:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:42:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:42:27] Production.INFO: ==19933== Releasing lock... [2025-03-20 11:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:42:27] Production.INFO: 64.5 MB #Memory Used# [2025-03-20 15:43:02] Production.INFO: ==20003== Lock acquired, processing the job... [2025-03-20 15:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:43:02] Production.INFO: neon service started [2025-03-20 15:43:02] Production.INFO: neon service started [2025-03-20 15:43:02] Production.INFO: ==20003== Releasing lock... [2025-03-20 15:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:43:02] Production.INFO: ==20005== Lock acquired, processing the job... [2025-03-20 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:43:02] Production.INFO: ==20005== Releasing lock... [2025-03-20 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:43:03] Production.INFO: ==20007== Lock acquired, processing the job... [2025-03-20 15:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:43:03] Production.INFO: ==20007== Releasing lock... [2025-03-20 15:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:43:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:43:03] Production.INFO: ==20015== Lock acquired, processing the job... [2025-03-20 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:43:03] Production.INFO: ==20009== Lock acquired, processing the job... [2025-03-20 11:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:43:04] Production.INFO: ==20017== Lock acquired, processing the job... [2025-03-20 11:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:43:04] Production.INFO: ==20011== Lock acquired, processing the job... [2025-03-20 11:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:43:04] Production.INFO: ==20013== Lock acquired, processing the job... [2025-03-20 11:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:43:04] Production.INFO: Account Balance Start. [2025-03-20 11:43:04] Production.INFO: CreateAllLog Start [2025-03-20 11:43:04] Production.INFO: 117 [2025-03-20 11:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:43:04] Production.INFO: ==20019== Lock acquired, processing the job... [2025-03-20 11:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:43:04] Production.ERROR: done [2025-03-20 11:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:43:04] Production.INFO: count ==23 [2025-03-20 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722610') start [2025-03-20 11:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722610') end [2025-03-20 11:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:43:04] Production.INFO: 1 [2025-03-20 11:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:43:04] Production.INFO: ==20019== Releasing lock... [2025-03-20 11:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.ERROR: done [2025-03-20 11:43:04] Production.INFO: ==20011== Releasing lock... [2025-03-20 11:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:43:04] Production.INFO: Total Charge 0 [2025-03-20 11:43:04] Production.INFO: CreateAllLog End [2025-03-20 11:43:05] Production.INFO: Account Balance End. [2025-03-20 11:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:43:05] Production.INFO: ==20015== Releasing lock... [2025-03-20 11:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:43:05 [end_date_ymd] => 2025-03-20 11:43:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:43:05' and `end` < '2025-03-20 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-03-20 11:43:13] Production.ERROR: CronJobId end10 [2025-03-20 11:43:13] Production.INFO: ==20013== Releasing lock... [2025-03-20 11:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:43:15] Production.INFO: call_cost start [2025-03-20 11:43:15] Production.INFO: call_cost end [2025-03-20 11:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:43:16] Production.INFO: ==20009== Releasing lock... [2025-03-20 11:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:43:19] Production.INFO: count ==4932 [2025-03-20 11:43:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:43:05 - End Time 2025-03-20 11:43:05 [2025-03-20 11:43:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722611', 'tblTempUsageDetail_20' ) start [2025-03-20 11:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722611', 'tblTempUsageDetail_20' ) end [2025-03-20 11:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722611', 'tblTempVendorCDR_20' ) start [2025-03-20 11:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722611', 'tblTempVendorCDR_20' ) end [2025-03-20 11:43:21] Production.INFO: ProcessCDR(1,14722611,1,1,2) [2025-03-20 11:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:43:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722611,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:43:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:43:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722611,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722611', 'tblTempUsageDetail_20' ) start [2025-03-20 11:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722611', 'tblTempUsageDetail_20' ) end [2025-03-20 11:43:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:43:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:43:27] Production.INFO: ==20017== Releasing lock... [2025-03-20 11:43:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:43:27] Production.INFO: 65 MB #Memory Used# [2025-03-20 15:44:01] Production.INFO: ==20091== Lock acquired, processing the job... [2025-03-20 15:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:44:01] Production.INFO: neon service started [2025-03-20 15:44:01] Production.INFO: neon service started [2025-03-20 15:44:01] Production.INFO: ==20091== Releasing lock... [2025-03-20 15:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:44:02] Production.INFO: ==20093== Lock acquired, processing the job... [2025-03-20 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:44:02] Production.INFO: ==20093== Releasing lock... [2025-03-20 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:44:02] Production.INFO: ==20095== Lock acquired, processing the job... [2025-03-20 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:44:02] Production.INFO: ==20095== Releasing lock... [2025-03-20 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:44:03] Production.INFO: ==20097== Lock acquired, processing the job... [2025-03-20 11:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:44:03] Production.INFO: ==20105== Lock acquired, processing the job... [2025-03-20 11:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:44:03] Production.INFO: ==20099== Lock acquired, processing the job... [2025-03-20 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:44:03] Production.INFO: ==20101== Lock acquired, processing the job... [2025-03-20 11:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:44:03] Production.INFO: ==20107== Lock acquired, processing the job... [2025-03-20 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:44:03] Production.INFO: ==20103== Lock acquired, processing the job... [2025-03-20 11:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:44:04] Production.INFO: Account Balance Start. [2025-03-20 11:44:04] Production.INFO: CreateAllLog Start [2025-03-20 11:44:04] Production.INFO: 117 [2025-03-20 11:44:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:44:04] Production.INFO: count ==23 [2025-03-20 11:44:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722614') start [2025-03-20 11:44:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.ERROR: done [2025-03-20 11:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722614') end [2025-03-20 11:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:44:04] Production.INFO: 1 [2025-03-20 11:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.INFO: ==20099== Releasing lock... [2025-03-20 11:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.INFO: ==20107== Releasing lock... [2025-03-20 11:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:44:04] Production.ERROR: done [2025-03-20 11:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:44:04] Production.INFO: Total Charge 0 [2025-03-20 11:44:04] Production.INFO: CreateAllLog End [2025-03-20 11:44:05] Production.INFO: Account Balance End. [2025-03-20 11:44:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:44:05] Production.INFO: ==20103== Releasing lock... [2025-03-20 11:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:44:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:44:05 [end_date_ymd] => 2025-03-20 11:44:05 [RateCDR] => 1 ) [2025-03-20 11:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:44:05' and `end` < '2025-03-20 11:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:44:12] Production.ERROR: CronJobId end10 [2025-03-20 11:44:12] Production.INFO: ==20101== Releasing lock... [2025-03-20 11:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:44:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:44:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:44:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:44:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:44:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:44:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:44:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:44:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:44:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:44:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:44:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:44:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:44:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:44:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:44:16] Production.INFO: call_cost start [2025-03-20 11:44:16] Production.INFO: call_cost end [2025-03-20 11:44:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:44:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:44:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:44:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:44:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:44:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:44:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:44:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:44:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:44:17] Production.INFO: ==20097== Releasing lock... [2025-03-20 11:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:44:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:44:19] Production.INFO: count ==4965 [2025-03-20 11:44:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:44:05 - End Time 2025-03-20 11:44:05 [2025-03-20 11:44:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722616', 'tblTempUsageDetail_20' ) start [2025-03-20 11:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722616', 'tblTempUsageDetail_20' ) end [2025-03-20 11:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722616', 'tblTempVendorCDR_20' ) start [2025-03-20 11:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722616', 'tblTempVendorCDR_20' ) end [2025-03-20 11:44:21] Production.INFO: ProcessCDR(1,14722616,1,1,2) [2025-03-20 11:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722616', 'tblTempUsageDetail_20' ) start [2025-03-20 11:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722616', 'tblTempUsageDetail_20' ) end [2025-03-20 11:44:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:44:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:44:27] Production.INFO: ==20105== Releasing lock... [2025-03-20 11:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:44:27] Production.INFO: 65.25 MB #Memory Used# [2025-03-20 15:45:02] Production.INFO: ==20178== Lock acquired, processing the job... [2025-03-20 15:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:45:02] Production.INFO: neon service started [2025-03-20 15:45:02] Production.INFO: neon service started [2025-03-20 15:45:02] Production.INFO: ==20178== Releasing lock... [2025-03-20 15:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:45:02] Production.INFO: ==20182== Lock acquired, processing the job... [2025-03-20 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:45:02] Production.INFO: ==20182== Releasing lock... [2025-03-20 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:45:02] Production.INFO: ==20180== Lock acquired, processing the job... [2025-03-20 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:45:03] Production.INFO: ==20180== Releasing lock... [2025-03-20 11:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:45:03] Production.INFO: ==20186== Lock acquired, processing the job... [2025-03-20 11:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:45:04] Production.INFO: ==20195== Lock acquired, processing the job... [2025-03-20 11:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:45:04] Production.INFO: ==20188== Lock acquired, processing the job... [2025-03-20 11:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:45:04] Production.INFO: ==20191== Lock acquired, processing the job... [2025-03-20 11:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:45:04] Production.INFO: ==20193== Lock acquired, processing the job... [2025-03-20 11:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:45:04] Production.INFO: Account Balance Start. [2025-03-20 11:45:04] Production.INFO: CreateAllLog Start [2025-03-20 11:45:04] Production.INFO: 117 [2025-03-20 11:45:04] Production.INFO: ==20197== Lock acquired, processing the job... [2025-03-20 11:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:45:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:45:04] Production.ERROR: done [2025-03-20 11:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:45:04] Production.INFO: ==20188== Releasing lock... [2025-03-20 11:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:04] Production.INFO: count ==12 [2025-03-20 11:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:45:04] Production.INFO: count ==23 [2025-03-20 11:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722620') start [2025-03-20 11:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:04] Production.ERROR: done [2025-03-20 11:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722620') end [2025-03-20 11:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:45:04] Production.INFO: 1 [2025-03-20 11:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:45:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:45:04] Production.INFO: ==20197== Releasing lock... [2025-03-20 11:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:45:05] Production.INFO: Total Charge 0 [2025-03-20 11:45:05] Production.INFO: CreateAllLog End [2025-03-20 11:45:05] Production.INFO: Account Balance End. [2025-03-20 11:45:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:45:05] Production.INFO: ==20193== Releasing lock... [2025-03-20 11:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:45:05 [end_date_ymd] => 2025-03-20 11:45:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:45:05' and `end` < '2025-03-20 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-03-20 11:45:14] Production.ERROR: CronJobId end10 [2025-03-20 11:45:14] Production.INFO: ==20191== Releasing lock... [2025-03-20 11:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:45:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:45:16] Production.INFO: call_cost start [2025-03-20 11:45:16] Production.INFO: call_cost end [2025-03-20 11:45:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:45:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:45:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:45:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:45:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:45:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:45:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:45:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:45:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:45:17] Production.INFO: ==20186== Releasing lock... [2025-03-20 11:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:45:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:45:19] Production.INFO: count ==5041 [2025-03-20 11:45:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:45:05 - End Time 2025-03-20 11:45:05 [2025-03-20 11:45:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722621', 'tblTempUsageDetail_20' ) start [2025-03-20 11:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722621', 'tblTempUsageDetail_20' ) end [2025-03-20 11:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722621', 'tblTempVendorCDR_20' ) start [2025-03-20 11:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722621', 'tblTempVendorCDR_20' ) end [2025-03-20 11:45:21] Production.INFO: ProcessCDR(1,14722621,1,1,2) [2025-03-20 11:45:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:45:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:45:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:45:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722621', 'tblTempUsageDetail_20' ) start [2025-03-20 11:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722621', 'tblTempUsageDetail_20' ) end [2025-03-20 11:45:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:45:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:45:27] Production.INFO: ==20195== Releasing lock... [2025-03-20 11:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:45:27] Production.INFO: 65.75 MB #Memory Used# [2025-03-20 15:46:01] Production.INFO: ==20269== Lock acquired, processing the job... [2025-03-20 15:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:46:01] Production.INFO: neon service started [2025-03-20 15:46:01] Production.INFO: neon service started [2025-03-20 15:46:01] Production.INFO: ==20269== Releasing lock... [2025-03-20 15:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:46:02] Production.INFO: ==20271== Lock acquired, processing the job... [2025-03-20 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:46:02] Production.INFO: ==20273== Lock acquired, processing the job... [2025-03-20 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:46:02] Production.INFO: ==20273== Releasing lock... [2025-03-20 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:46:02] Production.INFO: ==20271== Releasing lock... [2025-03-20 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:46:03] Production.INFO: ==20276== Lock acquired, processing the job... [2025-03-20 11:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:46:03] Production.INFO: ==20278== Lock acquired, processing the job... [2025-03-20 11:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:46:03] Production.INFO: ==20283== Lock acquired, processing the job... [2025-03-20 11:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:46:03] Production.INFO: Account Balance Start. [2025-03-20 11:46:03] Production.INFO: CreateAllLog Start [2025-03-20 11:46:03] Production.INFO: 117 [2025-03-20 11:46:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:03] Production.INFO: ==20280== Lock acquired, processing the job... [2025-03-20 11:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:46:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:03] Production.INFO: ==20286== Lock acquired, processing the job... [2025-03-20 11:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:46:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:46:04] Production.INFO: ==20288== Lock acquired, processing the job... [2025-03-20 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:04] Production.INFO: ==20278== Releasing lock... [2025-03-20 11:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 11:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:46:04] Production.INFO: count ==23 [2025-03-20 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722625') start [2025-03-20 11:46:04] Production.ERROR: done [2025-03-20 11:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722625') end [2025-03-20 11:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:46:04] Production.INFO: 1 [2025-03-20 11:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:46:04] Production.ERROR: done [2025-03-20 11:46:04] Production.INFO: ==20288== Releasing lock... [2025-03-20 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:46:04] Production.INFO: Total Charge 0 [2025-03-20 11:46:04] Production.INFO: CreateAllLog End [2025-03-20 11:46:04] Production.INFO: Account Balance End. [2025-03-20 11:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:46:05] Production.INFO: ==20283== Releasing lock... [2025-03-20 11:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:46:05 [end_date_ymd] => 2025-03-20 11:46:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:46:05' and `end` < '2025-03-20 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-03-20 11:46:12] Production.ERROR: CronJobId end10 [2025-03-20 11:46:12] Production.INFO: ==20280== Releasing lock... [2025-03-20 11:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:46:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:46:15] Production.INFO: call_cost start [2025-03-20 11:46:15] Production.INFO: call_cost end [2025-03-20 11:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:46:16] Production.INFO: ==20276== Releasing lock... [2025-03-20 11:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:46:19] Production.INFO: count ==5064 [2025-03-20 11:46:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:46:05 - End Time 2025-03-20 11:46:05 [2025-03-20 11:46:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722626', 'tblTempUsageDetail_20' ) start [2025-03-20 11:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722626', 'tblTempUsageDetail_20' ) end [2025-03-20 11:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722626', 'tblTempVendorCDR_20' ) start [2025-03-20 11:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722626', 'tblTempVendorCDR_20' ) end [2025-03-20 11:46:21] Production.INFO: ProcessCDR(1,14722626,1,1,2) [2025-03-20 11:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:46:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722626', 'tblTempUsageDetail_20' ) start [2025-03-20 11:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722626', 'tblTempUsageDetail_20' ) end [2025-03-20 11:46:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:46:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:46:27] Production.INFO: ==20286== Releasing lock... [2025-03-20 11:46:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:46:27] Production.INFO: 65.75 MB #Memory Used# [2025-03-20 15:47:02] Production.INFO: ==20355== Lock acquired, processing the job... [2025-03-20 15:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:47:02] Production.INFO: neon service started [2025-03-20 15:47:02] Production.INFO: neon service started [2025-03-20 15:47:02] Production.INFO: ==20355== Releasing lock... [2025-03-20 15:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:47:02] Production.INFO: ==20357== Lock acquired, processing the job... [2025-03-20 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:47:02] Production.INFO: ==20357== Releasing lock... [2025-03-20 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:47:03] Production.INFO: ==20359== Lock acquired, processing the job... [2025-03-20 15:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:47:03] Production.INFO: ==20359== Releasing lock... [2025-03-20 15:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:47:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:47:03] Production.INFO: ==20384== Lock acquired, processing the job... [2025-03-20 11:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:47:03] Production.INFO: ==20402== Lock acquired, processing the job... [2025-03-20 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:47:03] Production.INFO: ==20408== Lock acquired, processing the job... [2025-03-20 11:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:47:04] Production.INFO: ==20404== Lock acquired, processing the job... [2025-03-20 11:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:47:04] Production.INFO: ==20402== Releasing lock... [2025-03-20 11:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:47:04] Production.INFO: ==20406== Lock acquired, processing the job... [2025-03-20 11:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:47:04] Production.INFO: ==20410== Lock acquired, processing the job... [2025-03-20 11:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:47:04] Production.INFO: Account Balance Start. [2025-03-20 11:47:04] Production.INFO: CreateAllLog Start [2025-03-20 11:47:04] Production.INFO: 117 [2025-03-20 11:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 11: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-03-20 11:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:04] Production.INFO: count ==12 [2025-03-20 11:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:04] Production.INFO: count ==23 [2025-03-20 11:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722630') start [2025-03-20 11:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:04] Production.ERROR: done [2025-03-20 11:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722630') end [2025-03-20 11:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:47:04] Production.INFO: 1 [2025-03-20 11:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:04] Production.INFO: ==20410== Releasing lock... [2025-03-20 11:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:47:05] Production.INFO: Date 2025-03-16 [2025-03-20 11:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:05] Production.ERROR: done [2025-03-20 11:47:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:47:05] Production.INFO: Total Charge 0 [2025-03-20 11:47:05] Production.INFO: CreateAllLog End [2025-03-20 11:47:05] Production.INFO: Account Balance End. [2025-03-20 11:47:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:47:05] Production.INFO: ==20406== Releasing lock... [2025-03-20 11:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:47:06 [end_date_ymd] => 2025-03-20 11:47:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:47:06' and `end` < '2025-03-20 11: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-03-20 11:47:14] Production.ERROR: CronJobId end10 [2025-03-20 11:47:14] Production.INFO: ==20404== Releasing lock... [2025-03-20 11:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:47:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:47:15] Production.INFO: call_cost start [2025-03-20 11:47:15] Production.INFO: call_cost end [2025-03-20 11:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:47:16] Production.INFO: ==20384== Releasing lock... [2025-03-20 11:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:47:19] Production.INFO: count ==5093 [2025-03-20 11:47:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:47:06 - End Time 2025-03-20 11:47:06 [2025-03-20 11:47:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722631', 'tblTempUsageDetail_20' ) start [2025-03-20 11:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722631', 'tblTempUsageDetail_20' ) end [2025-03-20 11:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722631', 'tblTempVendorCDR_20' ) start [2025-03-20 11:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722631', 'tblTempVendorCDR_20' ) end [2025-03-20 11:47:22] Production.INFO: ProcessCDR(1,14722631,1,1,2) [2025-03-20 11:47:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:47:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:47:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:47:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722631', 'tblTempUsageDetail_20' ) start [2025-03-20 11:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722631', 'tblTempUsageDetail_20' ) end [2025-03-20 11:47:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:47:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:47:27] Production.INFO: ==20408== Releasing lock... [2025-03-20 11:47:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:47:27] Production.INFO: 66 MB #Memory Used# [2025-03-20 15:48:01] Production.INFO: ==20485== Lock acquired, processing the job... [2025-03-20 15:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:48:01] Production.INFO: neon service started [2025-03-20 15:48:01] Production.INFO: neon service started [2025-03-20 15:48:01] Production.INFO: ==20485== Releasing lock... [2025-03-20 15:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:48:02] Production.INFO: ==20487== Lock acquired, processing the job... [2025-03-20 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:48:02] Production.INFO: ==20487== Releasing lock... [2025-03-20 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:48:02] Production.INFO: ==20489== Lock acquired, processing the job... [2025-03-20 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:48:02] Production.INFO: ==20489== Releasing lock... [2025-03-20 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:48:03] Production.INFO: ==20498== Lock acquired, processing the job... [2025-03-20 11:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:48:03] Production.INFO: ==20502== Lock acquired, processing the job... [2025-03-20 11:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:48:03] Production.INFO: Account Balance Start. [2025-03-20 11:48:03] Production.INFO: CreateAllLog Start [2025-03-20 11:48:03] Production.INFO: 117 [2025-03-20 11:48:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: Date 2025-03-11 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: Date 2025-03-12 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: Date 2025-03-13 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: count ==12 [2025-03-20 11:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:48:03] Production.INFO: count ==23 [2025-03-20 11:48:03] Production.INFO: ==20492== Lock acquired, processing the job... [2025-03-20 11:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:48:03] Production.INFO: ==20496== Lock acquired, processing the job... [2025-03-20 11:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:48:03] Production.INFO: Date 2025-03-14 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: ==20494== Lock acquired, processing the job... [2025-03-20 11:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722633') start [2025-03-20 11:48:03] Production.INFO: Date 2025-03-15 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:48:03] Production.INFO: Date 2025-03-16 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722633') end [2025-03-20 11:48:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:48:03] Production.INFO: 1 [2025-03-20 11:48:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:48:03] Production.INFO: ==20502== Releasing lock... [2025-03-20 11:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:48:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:48:03] Production.INFO: ==20500== Lock acquired, processing the job... [2025-03-20 11:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:48:03] Production.INFO: Date 2025-03-17 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: Date 2025-03-18 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: Date 2025-03-19 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: Date 2025-03-20 [2025-03-20 11:48:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:48:03] Production.INFO: Total Charge 0 [2025-03-20 11:48:03] Production.INFO: CreateAllLog End [2025-03-20 11:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:48:04] Production.INFO: ==20494== Releasing lock... [2025-03-20 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:48:04] Production.INFO: Account Balance End. [2025-03-20 11:48:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:48:04] Production.INFO: ==20498== Releasing lock... [2025-03-20 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:48:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:48:04] Production.ERROR: done [2025-03-20 11:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:48:04] Production.ERROR: done [2025-03-20 11:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:48:05 [end_date_ymd] => 2025-03-20 11:48:05 [RateCDR] => 1 ) [2025-03-20 11:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:48:05' and `end` < '2025-03-20 11:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:48:12] Production.ERROR: CronJobId end10 [2025-03-20 11:48:12] Production.INFO: ==20496== Releasing lock... [2025-03-20 11:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:48:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:48:15] Production.INFO: call_cost start [2025-03-20 11:48:15] Production.INFO: call_cost end [2025-03-20 11:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:48:16] Production.INFO: ==20492== Releasing lock... [2025-03-20 11:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:48:19] Production.INFO: count ==5173 [2025-03-20 11:48:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:48:05 - End Time 2025-03-20 11:48:05 [2025-03-20 11:48:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722636', 'tblTempUsageDetail_20' ) start [2025-03-20 11:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722636', 'tblTempUsageDetail_20' ) end [2025-03-20 11:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722636', 'tblTempVendorCDR_20' ) start [2025-03-20 11:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722636', 'tblTempVendorCDR_20' ) end [2025-03-20 11:48:21] Production.INFO: ProcessCDR(1,14722636,1,1,2) [2025-03-20 11:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:48:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:48:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:48:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722636', 'tblTempUsageDetail_20' ) start [2025-03-20 11:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722636', 'tblTempUsageDetail_20' ) end [2025-03-20 11:48:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:48:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:48:27] Production.INFO: ==20500== Releasing lock... [2025-03-20 11:48:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:48:27] Production.INFO: 66.75 MB #Memory Used# [2025-03-20 15:49:02] Production.INFO: ==20574== Lock acquired, processing the job... [2025-03-20 15:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:49:02] Production.INFO: neon service started [2025-03-20 15:49:02] Production.INFO: neon service started [2025-03-20 15:49:02] Production.INFO: ==20574== Releasing lock... [2025-03-20 15:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:49:02] Production.INFO: ==20576== Lock acquired, processing the job... [2025-03-20 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:49:02] Production.INFO: ==20576== Releasing lock... [2025-03-20 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:49:03] Production.INFO: ==20578== Lock acquired, processing the job... [2025-03-20 15:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:49:03] Production.INFO: ==20578== Releasing lock... [2025-03-20 15:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:49:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:49:04] Production.INFO: ==20588== Lock acquired, processing the job... [2025-03-20 11:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:49:04] Production.INFO: ==20580== Lock acquired, processing the job... [2025-03-20 11:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:49:04] Production.INFO: ==20582== Lock acquired, processing the job... [2025-03-20 11:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:49:04] Production.INFO: ==20584== Lock acquired, processing the job... [2025-03-20 11:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:49:04] Production.INFO: ==20586== Lock acquired, processing the job... [2025-03-20 11:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:49:04] Production.INFO: ==20590== Lock acquired, processing the job... [2025-03-20 11:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:49:04] Production.INFO: Account Balance Start. [2025-03-20 11:49:04] Production.INFO: CreateAllLog Start [2025-03-20 11:49:04] Production.INFO: 117 [2025-03-20 11:49:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:04] Production.ERROR: done [2025-03-20 11:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:49:04] Production.INFO: count ==12 [2025-03-20 11:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:49:04] Production.INFO: count ==23 [2025-03-20 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722638') start [2025-03-20 11:49:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722638') end [2025-03-20 11:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:49:04] Production.INFO: 1 [2025-03-20 11:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:49:04] Production.ERROR: done [2025-03-20 11:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:04] Production.INFO: ==20582== Releasing lock... [2025-03-20 11:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:04] Production.INFO: ==20590== Releasing lock... [2025-03-20 11:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:49:05] Production.INFO: Total Charge 0 [2025-03-20 11:49:05] Production.INFO: CreateAllLog End [2025-03-20 11:49:05] Production.INFO: Account Balance End. [2025-03-20 11:49:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:49:05] Production.INFO: ==20586== Releasing lock... [2025-03-20 11:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:49:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:49:06 [end_date_ymd] => 2025-03-20 11:49:06 [RateCDR] => 1 ) [2025-03-20 11: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-03-20 08:49:06' and `end` < '2025-03-20 11: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-03-20 11:49:13] Production.ERROR: CronJobId end10 [2025-03-20 11:49:13] Production.INFO: ==20584== Releasing lock... [2025-03-20 11:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:49:16] Production.INFO: call_cost start [2025-03-20 11:49:16] Production.INFO: call_cost end [2025-03-20 11:49:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:49:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:49:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:49:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:49:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:49:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:49:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:49:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:49:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:49:17] Production.INFO: ==20580== Releasing lock... [2025-03-20 11:49:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:49:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:49:19] Production.INFO: count ==5178 [2025-03-20 11:49:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:49:06 - End Time 2025-03-20 11:49:06 [2025-03-20 11:49:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722641', 'tblTempUsageDetail_20' ) start [2025-03-20 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722641', 'tblTempUsageDetail_20' ) end [2025-03-20 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722641', 'tblTempVendorCDR_20' ) start [2025-03-20 11:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722641', 'tblTempVendorCDR_20' ) end [2025-03-20 11:49:21] Production.INFO: ProcessCDR(1,14722641,1,1,2) [2025-03-20 11:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:49:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:49:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722641', 'tblTempUsageDetail_20' ) start [2025-03-20 11:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722641', 'tblTempUsageDetail_20' ) end [2025-03-20 11:49:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:49:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:49:27] Production.INFO: ==20588== Releasing lock... [2025-03-20 11:49:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:49:27] Production.INFO: 66.75 MB #Memory Used# [2025-03-20 15:50:01] Production.INFO: ==20654== Lock acquired, processing the job... [2025-03-20 15:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:50:01] Production.INFO: neon service started [2025-03-20 15:50:01] Production.INFO: neon service started [2025-03-20 15:50:01] Production.INFO: ==20654== Releasing lock... [2025-03-20 15:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:50:02] Production.INFO: ==20656== Lock acquired, processing the job... [2025-03-20 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:50:02] Production.INFO: ==20658== Lock acquired, processing the job... [2025-03-20 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:50:02] Production.INFO: ==20658== Releasing lock... [2025-03-20 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:50:02] Production.INFO: ==20656== Releasing lock... [2025-03-20 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:50:04] Production.INFO: ==20667== Lock acquired, processing the job... [2025-03-20 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:50:04] Production.INFO: ==20673== Lock acquired, processing the job... [2025-03-20 11:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:50:04] Production.INFO: ==20669== Lock acquired, processing the job... [2025-03-20 11:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:50:04] Production.INFO: ==20663== Lock acquired, processing the job... [2025-03-20 11:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 11:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 11:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 11:50:04] Production.ERROR: CronJob PID - 20667 [2025-03-20 11:50:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 11:50:04] Production.ERROR: CronJob ID - 7 [2025-03-20 11:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 11:50:00 [2025-03-20 11:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 11:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 11:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 11:50:04] Production.ERROR: CronJob PID - 20669 [2025-03-20 11:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 11:50:04] Production.ERROR: CronJob ID - 10 [2025-03-20 11:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 11:50:00 [2025-03-20 11:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 11:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 11:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 11:50:04] Production.ERROR: CronJob PID - 20673 [2025-03-20 11:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 11:50:04] Production.ERROR: CronJob ID - 16 [2025-03-20 11:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 11:50:00 [2025-03-20 11:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 11:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 11:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:50:04] Production.INFO: ==20665== Lock acquired, processing the job... [2025-03-20 11:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 11:50:04] Production.INFO: ==20663== Releasing lock... [2025-03-20 11:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 11:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 11:50:04] Production.INFO: ==20671== Lock acquired, processing the job... [2025-03-20 11:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:50:04] Production.INFO: ==20667== Releasing lock... [2025-03-20 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:50:04] Production.INFO: ==20675== Lock acquired, processing the job... [2025-03-20 11:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 11:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:50:04] Production.INFO: Account Balance Start. [2025-03-20 11:50:04] Production.INFO: CreateAllLog Start [2025-03-20 11:50:04] Production.INFO: 117 [2025-03-20 11:50:04] Production.INFO: ==20677== Lock acquired, processing the job... [2025-03-20 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:50:04] Production.ERROR: done [2025-03-20 11:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 11:50:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:50:04] Production.INFO: count ==23 [2025-03-20 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722645') start [2025-03-20 11:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:04] Production.ERROR: done [2025-03-20 11:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722645') end [2025-03-20 11:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:50:05] Production.INFO: 1 [2025-03-20 11:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:50:05] Production.ERROR: done [2025-03-20 11:50:05] Production.INFO: Date 2025-03-14 [2025-03-20 11:50:05] Production.INFO: ==20677== Releasing lock... [2025-03-20 11:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 11:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722647', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 11:50:05] Production.INFO: Date 2025-03-15 [2025-03-20 11:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 11:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:50:05] Production.INFO: Total Charge 0 [2025-03-20 11:50:05] Production.INFO: CreateAllLog End [2025-03-20 11:50:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:50:05 [end_date_ymd] => 2025-03-20 11:50:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:50:05' and `end` < '2025-03-20 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-03-20 11:50:06] Production.INFO: Account Balance End. [2025-03-20 11:50:06] Production.ERROR: CronJobId end 12 [2025-03-20 11:50:06] Production.INFO: ==20671== Releasing lock... [2025-03-20 11:50:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:50:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722647', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 11:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 11:50:09] Production.INFO: ProcessCDR(1,14722647,1,1,2) [2025-03-20 11:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722647,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722647,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:50:10] Production.INFO: ==20675== Releasing lock... [2025-03-20 11:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 11:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 11:50:15] Production.ERROR: CronJobId end10 [2025-03-20 11:50:15] Production.INFO: ==20669== Releasing lock... [2025-03-20 11:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:50:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:50:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:50:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:50:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:50:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:50:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:50:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:50:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:50:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:50:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:50:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:50:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:50:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:50:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:50:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:50:18] Production.INFO: call_cost start [2025-03-20 11:50:18] Production.INFO: call_cost end [2025-03-20 11:50:19] Production.INFO: count ==5194 [2025-03-20 11:50:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:50:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:50:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:50:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:50:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:50:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:50:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:50:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:50:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:50:19] Production.INFO: ==20665== Releasing lock... [2025-03-20 11:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:50:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:50:22] Production.ERROR: pbx CDR StartTime 2025-03-20 08:50:05 - End Time 2025-03-20 11:50:05 [2025-03-20 11:50:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722646', 'tblTempUsageDetail_20' ) start [2025-03-20 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722646', 'tblTempUsageDetail_20' ) end [2025-03-20 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722646', 'tblTempVendorCDR_20' ) start [2025-03-20 11:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722646', 'tblTempVendorCDR_20' ) end [2025-03-20 11:50:22] Production.INFO: ProcessCDR(1,14722646,1,1,2) [2025-03-20 11:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:50:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:50:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722646', 'tblTempUsageDetail_20' ) start [2025-03-20 11:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722646', 'tblTempUsageDetail_20' ) end [2025-03-20 11:50:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:50:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:50:27] Production.INFO: ==20673== Releasing lock... [2025-03-20 11:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:50:27] Production.INFO: 66.75 MB #Memory Used# [2025-03-20 15:51:02] Production.INFO: ==20740== Lock acquired, processing the job... [2025-03-20 15:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:51:02] Production.INFO: neon service started [2025-03-20 15:51:02] Production.INFO: neon service started [2025-03-20 15:51:02] Production.INFO: ==20740== Releasing lock... [2025-03-20 15:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:51:02] Production.INFO: ==20742== Lock acquired, processing the job... [2025-03-20 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:51:02] Production.INFO: ==20742== Releasing lock... [2025-03-20 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:51:03] Production.INFO: ==20744== Lock acquired, processing the job... [2025-03-20 15:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:51:03] Production.INFO: ==20744== Releasing lock... [2025-03-20 15:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:51:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:51:03] Production.INFO: ==20750== Lock acquired, processing the job... [2025-03-20 11:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:51:03] Production.INFO: ==20752== Lock acquired, processing the job... [2025-03-20 11:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:51:04] Production.INFO: ==20746== Lock acquired, processing the job... [2025-03-20 11:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:51:04] Production.INFO: Account Balance Start. [2025-03-20 11:51:04] Production.INFO: CreateAllLog Start [2025-03-20 11:51:04] Production.INFO: 117 [2025-03-20 11:51:04] Production.INFO: ==20748== Lock acquired, processing the job... [2025-03-20 11:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:51:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:04] Production.INFO: ==20754== Lock acquired, processing the job... [2025-03-20 11:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:51:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:51:04] Production.INFO: ==20756== Lock acquired, processing the job... [2025-03-20 11:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:04] Production.INFO: ==20748== Releasing lock... [2025-03-20 11:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:51:04] Production.INFO: count ==12 [2025-03-20 11:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:51:04] Production.INFO: count ==23 [2025-03-20 11:51:04] Production.ERROR: done [2025-03-20 11:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722651') start [2025-03-20 11:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722651') end [2025-03-20 11:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:51:04] Production.INFO: 1 [2025-03-20 11:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:51:04] Production.INFO: ==20756== Releasing lock... [2025-03-20 11:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:51:04] Production.ERROR: done [2025-03-20 11:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:05] Production.INFO: Date 2025-03-16 [2025-03-20 11:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:05] Production.INFO: Date 2025-03-17 [2025-03-20 11:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:05] Production.INFO: Date 2025-03-18 [2025-03-20 11:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:05] Production.INFO: Date 2025-03-19 [2025-03-20 11:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:05] Production.INFO: Date 2025-03-20 [2025-03-20 11:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 11:51:05] Production.INFO: Total Charge 0 [2025-03-20 11:51:05] Production.INFO: CreateAllLog End [2025-03-20 11:51:05] Production.INFO: Account Balance End. [2025-03-20 11:51:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:51:05] Production.INFO: ==20752== Releasing lock... [2025-03-20 11:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:51:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:51:06 [end_date_ymd] => 2025-03-20 11:51:06 [RateCDR] => 1 ) [2025-03-20 11:51:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:51:06' and `end` < '2025-03-20 11:51:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:51:13] Production.ERROR: CronJobId end10 [2025-03-20 11:51:13] Production.INFO: ==20750== Releasing lock... [2025-03-20 11:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:51:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:51:15] Production.INFO: call_cost start [2025-03-20 11:51:15] Production.INFO: call_cost end [2025-03-20 11:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:51:16] Production.INFO: ==20746== Releasing lock... [2025-03-20 11:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:51:19] Production.INFO: count ==5298 [2025-03-20 11:51:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:51:06 - End Time 2025-03-20 11:51:06 [2025-03-20 11:51:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722652', 'tblTempUsageDetail_20' ) start [2025-03-20 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722652', 'tblTempUsageDetail_20' ) end [2025-03-20 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722652', 'tblTempVendorCDR_20' ) start [2025-03-20 11:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722652', 'tblTempVendorCDR_20' ) end [2025-03-20 11:51:21] Production.INFO: ProcessCDR(1,14722652,1,1,2) [2025-03-20 11:51:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722652,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722652,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722652', 'tblTempUsageDetail_20' ) start [2025-03-20 11:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722652', 'tblTempUsageDetail_20' ) end [2025-03-20 11:51:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:51:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:51:27] Production.INFO: ==20754== Releasing lock... [2025-03-20 11:51:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:51:27] Production.INFO: 67.75 MB #Memory Used# [2025-03-20 15:52:01] Production.INFO: ==20815== Lock acquired, processing the job... [2025-03-20 15:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:52:01] Production.INFO: neon service started [2025-03-20 15:52:01] Production.INFO: neon service started [2025-03-20 15:52:01] Production.INFO: ==20815== Releasing lock... [2025-03-20 15:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:52:02] Production.INFO: ==20817== Lock acquired, processing the job... [2025-03-20 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:52:02] Production.INFO: ==20817== Releasing lock... [2025-03-20 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:52:02] Production.INFO: ==20819== Lock acquired, processing the job... [2025-03-20 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:52:02] Production.INFO: ==20819== Releasing lock... [2025-03-20 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:52:03] Production.INFO: ==20829== Lock acquired, processing the job... [2025-03-20 11:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:52:03] Production.INFO: ==20831== Lock acquired, processing the job... [2025-03-20 11:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:52:03] Production.INFO: ==20821== Lock acquired, processing the job... [2025-03-20 11:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:52:03] Production.INFO: ==20823== Lock acquired, processing the job... [2025-03-20 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:52:03] Production.INFO: ==20825== Lock acquired, processing the job... [2025-03-20 11:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:52:03] Production.INFO: ==20827== Lock acquired, processing the job... [2025-03-20 11:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:52:03] Production.INFO: Account Balance Start. [2025-03-20 11:52:03] Production.INFO: CreateAllLog Start [2025-03-20 11:52:03] Production.INFO: 117 [2025-03-20 11:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:52:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:03] Production.INFO: count ==12 [2025-03-20 11:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:52:03] Production.INFO: count ==23 [2025-03-20 11:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722654') start [2025-03-20 11:52:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:03] Production.INFO: Date 2025-03-11 [2025-03-20 11:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:03] Production.INFO: Date 2025-03-12 [2025-03-20 11:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:04] Production.ERROR: done [2025-03-20 11:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722654') end [2025-03-20 11:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:52:04] Production.INFO: 1 [2025-03-20 11:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:04] Production.INFO: ==20831== Releasing lock... [2025-03-20 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:52:04] Production.ERROR: done [2025-03-20 11:52:04] Production.INFO: ==20823== Releasing lock... [2025-03-20 11:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:52:04] Production.INFO: Total Charge 0 [2025-03-20 11:52:04] Production.INFO: CreateAllLog End [2025-03-20 11:52:04] Production.INFO: Account Balance End. [2025-03-20 11:52:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:52:04] Production.INFO: ==20827== Releasing lock... [2025-03-20 11:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:52:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:52:05 [end_date_ymd] => 2025-03-20 11:52:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:52:05' and `end` < '2025-03-20 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-03-20 11:52:13] Production.ERROR: CronJobId end10 [2025-03-20 11:52:13] Production.INFO: ==20825== Releasing lock... [2025-03-20 11:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:52:15] Production.INFO: call_cost start [2025-03-20 11:52:15] Production.INFO: call_cost end [2025-03-20 11:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:52:16] Production.INFO: ==20821== Releasing lock... [2025-03-20 11:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:52:18] Production.INFO: count ==5327 [2025-03-20 11:52:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:52:05 - End Time 2025-03-20 11:52:05 [2025-03-20 11:52:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722657', 'tblTempUsageDetail_20' ) start [2025-03-20 11:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722657', 'tblTempUsageDetail_20' ) end [2025-03-20 11:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722657', 'tblTempVendorCDR_20' ) start [2025-03-20 11:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722657', 'tblTempVendorCDR_20' ) end [2025-03-20 11:52:21] Production.INFO: ProcessCDR(1,14722657,1,1,2) [2025-03-20 11:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722657,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:52:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722657,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722657', 'tblTempUsageDetail_20' ) start [2025-03-20 11:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722657', 'tblTempUsageDetail_20' ) end [2025-03-20 11:52:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:52:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:52:26] Production.INFO: ==20829== Releasing lock... [2025-03-20 11:52:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:52:26] Production.INFO: 67.75 MB #Memory Used# [2025-03-20 15:53:02] Production.INFO: ==20902== Lock acquired, processing the job... [2025-03-20 15:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:53:02] Production.INFO: neon service started [2025-03-20 15:53:02] Production.INFO: neon service started [2025-03-20 15:53:02] Production.INFO: ==20902== Releasing lock... [2025-03-20 15:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:53:02] Production.INFO: ==20906== Lock acquired, processing the job... [2025-03-20 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:53:02] Production.INFO: ==20906== Releasing lock... [2025-03-20 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:53:02] Production.INFO: ==20904== Lock acquired, processing the job... [2025-03-20 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:53:03] Production.INFO: ==20904== Releasing lock... [2025-03-20 11:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:53:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:53:03] Production.INFO: ==20911== Lock acquired, processing the job... [2025-03-20 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:53:03] Production.INFO: ==20915== Lock acquired, processing the job... [2025-03-20 11:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:53:04] Production.INFO: ==20919== Lock acquired, processing the job... [2025-03-20 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:53:04] Production.INFO: Account Balance Start. [2025-03-20 11:53:04] Production.INFO: CreateAllLog Start [2025-03-20 11:53:04] Production.INFO: 117 [2025-03-20 11:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 11:53:04] Production.INFO: ==20909== Lock acquired, processing the job... [2025-03-20 11:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.INFO: count ==12 [2025-03-20 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-03-20 11:53:04] Production.INFO: count ==23 [2025-03-20 11:53:04] Production.INFO: ==20913== Lock acquired, processing the job... [2025-03-20 11:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722660') start [2025-03-20 11:53:04] Production.INFO: ==20917== Lock acquired, processing the job... [2025-03-20 11:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:53:04] Production.INFO: ==20911== Releasing lock... [2025-03-20 11:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722660') end [2025-03-20 11:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:53:04] Production.INFO: 1 [2025-03-20 11:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.INFO: ==20919== Releasing lock... [2025-03-20 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:53:04] Production.INFO: Total Charge 0 [2025-03-20 11:53:04] Production.INFO: CreateAllLog End [2025-03-20 11:53:04] Production.ERROR: done [2025-03-20 11:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:53:05] Production.INFO: Account Balance End. [2025-03-20 11:53:05] Production.ERROR: done [2025-03-20 11:53:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:53:05] Production.INFO: ==20915== Releasing lock... [2025-03-20 11:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:53:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:53:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:53:06 [end_date_ymd] => 2025-03-20 11:53:06 [RateCDR] => 1 ) [2025-03-20 11:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:53:06' and `end` < '2025-03-20 11:53:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:53:13] Production.ERROR: CronJobId end10 [2025-03-20 11:53:13] Production.INFO: ==20913== Releasing lock... [2025-03-20 11:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:53:15] Production.INFO: call_cost start [2025-03-20 11:53:15] Production.INFO: call_cost end [2025-03-20 11:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:53:16] Production.INFO: ==20909== Releasing lock... [2025-03-20 11:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:53:19] Production.INFO: count ==5353 [2025-03-20 11:53:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:53:06 - End Time 2025-03-20 11:53:06 [2025-03-20 11:53:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722662', 'tblTempUsageDetail_20' ) start [2025-03-20 11:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722662', 'tblTempUsageDetail_20' ) end [2025-03-20 11:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722662', 'tblTempVendorCDR_20' ) start [2025-03-20 11:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722662', 'tblTempVendorCDR_20' ) end [2025-03-20 11:53:22] Production.INFO: ProcessCDR(1,14722662,1,1,2) [2025-03-20 11:53:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:53:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722662,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:53:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722662,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722662', 'tblTempUsageDetail_20' ) start [2025-03-20 11:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722662', 'tblTempUsageDetail_20' ) end [2025-03-20 11:53:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:53:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:53:27] Production.INFO: ==20917== Releasing lock... [2025-03-20 11:53:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:53:27] Production.INFO: 68 MB #Memory Used# [2025-03-20 15:54:01] Production.INFO: ==20989== Lock acquired, processing the job... [2025-03-20 15:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:54:01] Production.INFO: neon service started [2025-03-20 15:54:01] Production.INFO: neon service started [2025-03-20 15:54:01] Production.INFO: ==20989== Releasing lock... [2025-03-20 15:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:54:01] Production.INFO: ==20993== Lock acquired, processing the job... [2025-03-20 15:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:54:02] Production.INFO: ==20993== Releasing lock... [2025-03-20 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:54:02] Production.INFO: ==20991== Lock acquired, processing the job... [2025-03-20 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:54:02] Production.INFO: ==20991== Releasing lock... [2025-03-20 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:54:03] Production.INFO: ==20996== Lock acquired, processing the job... [2025-03-20 11:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:54:03] Production.INFO: ==21002== Lock acquired, processing the job... [2025-03-20 11:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:54:03] Production.INFO: ==20998== Lock acquired, processing the job... [2025-03-20 11:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:54:03] Production.INFO: ==21000== Lock acquired, processing the job... [2025-03-20 11:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:54:03] Production.INFO: ==21004== Lock acquired, processing the job... [2025-03-20 11:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:54:03] Production.INFO: Account Balance Start. [2025-03-20 11:54:03] Production.INFO: CreateAllLog Start [2025-03-20 11:54:03] Production.INFO: 117 [2025-03-20 11:54:03] Production.INFO: ==21006== Lock acquired, processing the job... [2025-03-20 11:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:54:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 11: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-03-20 11:54:04] Production.INFO: count ==12 [2025-03-20 11:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 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-03-20 11:54:04] Production.INFO: count ==23 [2025-03-20 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:04] Production.ERROR: done [2025-03-20 11:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722666') start [2025-03-20 11:54:04] Production.INFO: ==20998== Releasing lock... [2025-03-20 11:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:54:04] Production.ERROR: done [2025-03-20 11:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722666') end [2025-03-20 11:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:54:04] Production.INFO: 1 [2025-03-20 11:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:54:04] Production.INFO: ==21006== Releasing lock... [2025-03-20 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:54:04] Production.INFO: Total Charge 0 [2025-03-20 11:54:04] Production.INFO: CreateAllLog End [2025-03-20 11:54:04] Production.INFO: Account Balance End. [2025-03-20 11:54:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:54:04] Production.INFO: ==21002== Releasing lock... [2025-03-20 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:54:05 [end_date_ymd] => 2025-03-20 11:54:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:54:05' and `end` < '2025-03-20 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-03-20 11:54:13] Production.ERROR: CronJobId end10 [2025-03-20 11:54:13] Production.INFO: ==21000== Releasing lock... [2025-03-20 11:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:54:15] Production.INFO: call_cost start [2025-03-20 11:54:15] Production.INFO: call_cost end [2025-03-20 11:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:54:16] Production.INFO: ==20996== Releasing lock... [2025-03-20 11:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:54:19] Production.INFO: count ==5364 [2025-03-20 11:54:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:54:05 - End Time 2025-03-20 11:54:05 [2025-03-20 11:54:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722667', 'tblTempUsageDetail_20' ) start [2025-03-20 11:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722667', 'tblTempUsageDetail_20' ) end [2025-03-20 11:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722667', 'tblTempVendorCDR_20' ) start [2025-03-20 11:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722667', 'tblTempVendorCDR_20' ) end [2025-03-20 11:54:21] Production.INFO: ProcessCDR(1,14722667,1,1,2) [2025-03-20 11:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:54:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722667,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:54:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:54:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722667,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722667', 'tblTempUsageDetail_20' ) start [2025-03-20 11:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722667', 'tblTempUsageDetail_20' ) end [2025-03-20 11:54:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:54:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:54:26] Production.INFO: ==21004== Releasing lock... [2025-03-20 11:54:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:54:26] Production.INFO: 68 MB #Memory Used# [2025-03-20 15:55:02] Production.INFO: ==21069== Lock acquired, processing the job... [2025-03-20 15:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:55:02] Production.INFO: neon service started [2025-03-20 15:55:02] Production.INFO: neon service started [2025-03-20 15:55:02] Production.INFO: ==21069== Releasing lock... [2025-03-20 15:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:55:02] Production.INFO: ==21071== Lock acquired, processing the job... [2025-03-20 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:55:02] Production.INFO: ==21071== Releasing lock... [2025-03-20 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:55:02] Production.INFO: ==21073== Lock acquired, processing the job... [2025-03-20 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:55:02] Production.INFO: ==21073== Releasing lock... [2025-03-20 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:55:03] Production.INFO: ==21079== Lock acquired, processing the job... [2025-03-20 11:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:55:03] Production.INFO: ==21085== Lock acquired, processing the job... [2025-03-20 11:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:55:04] Production.INFO: ==21081== Lock acquired, processing the job... [2025-03-20 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:55:04] Production.INFO: ==21075== Lock acquired, processing the job... [2025-03-20 11:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:55:04] Production.INFO: ==21077== Lock acquired, processing the job... [2025-03-20 11:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:55:04] Production.INFO: ==21083== Lock acquired, processing the job... [2025-03-20 11:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:55:04] Production.INFO: count ==12 [2025-03-20 11:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:55:04] Production.INFO: count ==23 [2025-03-20 11:55:04] Production.INFO: Account Balance Start. [2025-03-20 11:55:04] Production.INFO: CreateAllLog Start [2025-03-20 11:55:04] Production.INFO: 117 [2025-03-20 11:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722668') start [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722668') end [2025-03-20 11:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:55:04] Production.INFO: 1 [2025-03-20 11:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:55:04] Production.INFO: ==21085== Releasing lock... [2025-03-20 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.INFO: ==21077== Releasing lock... [2025-03-20 11:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:55:04] Production.ERROR: done [2025-03-20 11:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:55:04] Production.INFO: Total Charge 0 [2025-03-20 11:55:04] Production.INFO: CreateAllLog End [2025-03-20 11:55:04] Production.ERROR: done [2025-03-20 11:55:04] Production.INFO: Account Balance End. [2025-03-20 11:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:55:05] Production.INFO: ==21081== Releasing lock... [2025-03-20 11:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:55:05 [end_date_ymd] => 2025-03-20 11:55:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:55:05' and `end` < '2025-03-20 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-03-20 11:55:12] Production.ERROR: CronJobId end10 [2025-03-20 11:55:12] Production.INFO: ==21079== Releasing lock... [2025-03-20 11:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:55:15] Production.INFO: call_cost start [2025-03-20 11:55:15] Production.INFO: call_cost end [2025-03-20 11:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:55:16] Production.INFO: ==21075== Releasing lock... [2025-03-20 11:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:55:19] Production.INFO: count ==5377 [2025-03-20 11:55:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:55:05 - End Time 2025-03-20 11:55:05 [2025-03-20 11:55:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722672', 'tblTempUsageDetail_20' ) start [2025-03-20 11:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722672', 'tblTempUsageDetail_20' ) end [2025-03-20 11:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722672', 'tblTempVendorCDR_20' ) start [2025-03-20 11:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722672', 'tblTempVendorCDR_20' ) end [2025-03-20 11:55:22] Production.INFO: ProcessCDR(1,14722672,1,1,2) [2025-03-20 11:55:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722672', 'tblTempUsageDetail_20' ) start [2025-03-20 11:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722672', 'tblTempUsageDetail_20' ) end [2025-03-20 11:55:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:55:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:55:27] Production.INFO: ==21083== Releasing lock... [2025-03-20 11:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:55:27] Production.INFO: 68.25 MB #Memory Used# [2025-03-20 15:56:01] Production.INFO: ==21150== Lock acquired, processing the job... [2025-03-20 15:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:56:01] Production.INFO: neon service started [2025-03-20 15:56:01] Production.INFO: neon service started [2025-03-20 15:56:01] Production.INFO: ==21150== Releasing lock... [2025-03-20 15:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:56:01] Production.INFO: ==21152== Lock acquired, processing the job... [2025-03-20 11:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:56:02] Production.INFO: ==21152== Releasing lock... [2025-03-20 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:56:02] Production.INFO: ==21154== Lock acquired, processing the job... [2025-03-20 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:56:02] Production.INFO: ==21154== Releasing lock... [2025-03-20 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:56:03] Production.INFO: ==21159== Lock acquired, processing the job... [2025-03-20 11:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:56:03] Production.INFO: ==21161== Lock acquired, processing the job... [2025-03-20 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:56:03] Production.INFO: ==21165== Lock acquired, processing the job... [2025-03-20 11:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:56:03] Production.INFO: Account Balance Start. [2025-03-20 11:56:03] Production.INFO: CreateAllLog Start [2025-03-20 11:56:03] Production.INFO: 117 [2025-03-20 11:56:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.INFO: ==21163== Lock acquired, processing the job... [2025-03-20 11:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:56:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.INFO: Date 2025-03-11 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.INFO: Date 2025-03-12 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.INFO: ==21169== Lock acquired, processing the job... [2025-03-20 11:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:56:03] Production.INFO: Date 2025-03-13 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.INFO: ==21167== Lock acquired, processing the job... [2025-03-20 11:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:56:03] Production.INFO: ==21161== Releasing lock... [2025-03-20 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:56:03] Production.INFO: Date 2025-03-14 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.INFO: Date 2025-03-15 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 11:56:03] Production.INFO: Date 2025-03-16 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.INFO: Date 2025-03-17 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.INFO: count ==12 [2025-03-20 11:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:56:03] Production.INFO: count ==23 [2025-03-20 11:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722676') start [2025-03-20 11:56:03] Production.INFO: Date 2025-03-18 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.INFO: Date 2025-03-19 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722676') end [2025-03-20 11:56:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:56:03] Production.INFO: 1 [2025-03-20 11:56:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:56:03] Production.INFO: Date 2025-03-20 [2025-03-20 11:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:56:04] Production.INFO: ==21169== Releasing lock... [2025-03-20 11:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:56:04] Production.ERROR: done [2025-03-20 11:56:04] Production.INFO: Total Charge 0 [2025-03-20 11:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:56:04] Production.INFO: CreateAllLog End [2025-03-20 11:56:04] Production.ERROR: done [2025-03-20 11:56:04] Production.INFO: Account Balance End. [2025-03-20 11:56:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:56:04] Production.INFO: ==21165== Releasing lock... [2025-03-20 11:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:56:05 [end_date_ymd] => 2025-03-20 11:56:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:56:05' and `end` < '2025-03-20 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-03-20 11:56:11] Production.ERROR: CronJobId end10 [2025-03-20 11:56:11] Production.INFO: ==21163== Releasing lock... [2025-03-20 11:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:56:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:56:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:56:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:56:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:56:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:56:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:56:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:56:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:56:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:56:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:56:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:56:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:56:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:56:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:56:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:56:14] Production.INFO: call_cost start [2025-03-20 11:56:14] Production.INFO: call_cost end [2025-03-20 11:56:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:56:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:56:15] Production.INFO: ==21159== Releasing lock... [2025-03-20 11:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:56:19] Production.INFO: count ==5403 [2025-03-20 11:56:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:56:05 - End Time 2025-03-20 11:56:05 [2025-03-20 11:56:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722677', 'tblTempUsageDetail_20' ) start [2025-03-20 11:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722677', 'tblTempUsageDetail_20' ) end [2025-03-20 11:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722677', 'tblTempVendorCDR_20' ) start [2025-03-20 11:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722677', 'tblTempVendorCDR_20' ) end [2025-03-20 11:56:21] Production.INFO: ProcessCDR(1,14722677,1,1,2) [2025-03-20 11:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:56:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722677', 'tblTempUsageDetail_20' ) start [2025-03-20 11:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722677', 'tblTempUsageDetail_20' ) end [2025-03-20 11:56:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:56:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:56:27] Production.INFO: ==21167== Releasing lock... [2025-03-20 11:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:56:27] Production.INFO: 68.5 MB #Memory Used# [2025-03-20 15:57:01] Production.INFO: ==21237== Lock acquired, processing the job... [2025-03-20 15:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:57:02] Production.INFO: neon service started [2025-03-20 15:57:02] Production.INFO: neon service started [2025-03-20 15:57:02] Production.INFO: ==21237== Releasing lock... [2025-03-20 15:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:57:02] Production.INFO: ==21239== Lock acquired, processing the job... [2025-03-20 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:57:02] Production.INFO: ==21239== Releasing lock... [2025-03-20 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:57:02] Production.INFO: ==21241== Lock acquired, processing the job... [2025-03-20 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:57:02] Production.INFO: ==21241== Releasing lock... [2025-03-20 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:57:03] Production.INFO: ==21243== Lock acquired, processing the job... [2025-03-20 11:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:57:03] Production.INFO: ==21247== Lock acquired, processing the job... [2025-03-20 11:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:57:03] Production.INFO: ==21254== Lock acquired, processing the job... [2025-03-20 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:57:03] Production.INFO: ==21245== Lock acquired, processing the job... [2025-03-20 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:57:04] Production.INFO: ==21249== Lock acquired, processing the job... [2025-03-20 11:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:57:04] Production.INFO: count ==12 [2025-03-20 11:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:57:04] Production.INFO: count ==23 [2025-03-20 11:57:04] Production.INFO: ==21251== Lock acquired, processing the job... [2025-03-20 11:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722679') start [2025-03-20 11:57:04] Production.INFO: Account Balance Start. [2025-03-20 11:57:04] Production.INFO: CreateAllLog Start [2025-03-20 11:57:04] Production.INFO: 117 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-08 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722679') end [2025-03-20 11:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:57:04] Production.INFO: 1 [2025-03-20 11:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: ==21254== Releasing lock... [2025-03-20 11:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:57:04] Production.INFO: ==21245== Releasing lock... [2025-03-20 11:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:57:04] Production.ERROR: done [2025-03-20 11:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:57:04] Production.INFO: Total Charge 0 [2025-03-20 11:57:04] Production.INFO: CreateAllLog End [2025-03-20 11:57:05] Production.ERROR: done [2025-03-20 11:57:05] Production.INFO: Account Balance End. [2025-03-20 11:57:05] Production.ERROR: CronJobId end 12 [2025-03-20 11:57:05] Production.INFO: ==21249== Releasing lock... [2025-03-20 11:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:57:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:57:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:57:06 [end_date_ymd] => 2025-03-20 11:57:06 [RateCDR] => 1 ) [2025-03-20 11:57:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 08:57:06' and `end` < '2025-03-20 11:57:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 11:57:12] Production.ERROR: CronJobId end10 [2025-03-20 11:57:12] Production.INFO: ==21247== Releasing lock... [2025-03-20 11:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:57:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:57:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:57:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:57:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:57:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:57:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:57:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:57:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:57:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:57:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:57:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:57:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:57:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:57:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:57:14] Production.INFO: call_cost start [2025-03-20 11:57:14] Production.INFO: call_cost end [2025-03-20 11:57:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:57:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:57:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:57:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:57:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:57:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:57:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:57:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:57:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:57:15] Production.INFO: ==21243== Releasing lock... [2025-03-20 11:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:57:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:57:19] Production.INFO: count ==5457 [2025-03-20 11:57:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:57:06 - End Time 2025-03-20 11:57:06 [2025-03-20 11:57:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722682', 'tblTempUsageDetail_20' ) start [2025-03-20 11:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722682', 'tblTempUsageDetail_20' ) end [2025-03-20 11:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722682', 'tblTempVendorCDR_20' ) start [2025-03-20 11:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722682', 'tblTempVendorCDR_20' ) end [2025-03-20 11:57:21] Production.INFO: ProcessCDR(1,14722682,1,1,2) [2025-03-20 11:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:57:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722682', 'tblTempUsageDetail_20' ) start [2025-03-20 11:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722682', 'tblTempUsageDetail_20' ) end [2025-03-20 11:57:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:57:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:57:27] Production.INFO: ==21251== Releasing lock... [2025-03-20 11:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:57:27] Production.INFO: 68.75 MB #Memory Used# [2025-03-20 15:58:01] Production.INFO: ==21329== Lock acquired, processing the job... [2025-03-20 15:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:58:01] Production.INFO: neon service started [2025-03-20 15:58:01] Production.INFO: neon service started [2025-03-20 15:58:01] Production.INFO: ==21329== Releasing lock... [2025-03-20 15:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:58:01] Production.INFO: ==21333== Lock acquired, processing the job... [2025-03-20 15:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:58:01] Production.INFO: ==21333== Releasing lock... [2025-03-20 15:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:58:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:58:01] Production.INFO: ==21331== Lock acquired, processing the job... [2025-03-20 11:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:58:02] Production.INFO: ==21331== Releasing lock... [2025-03-20 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 11:58:03] Production.INFO: ==21336== Lock acquired, processing the job... [2025-03-20 11:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:58:03] Production.INFO: ==21340== Lock acquired, processing the job... [2025-03-20 11:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:58:03] Production.INFO: ==21338== Lock acquired, processing the job... [2025-03-20 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 11:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 11:58:03] Production.INFO: ==21342== Lock acquired, processing the job... [2025-03-20 11:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:58:03] Production.INFO: ==21344== Lock acquired, processing the job... [2025-03-20 11:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:58:03] Production.INFO: ==21346== Lock acquired, processing the job... [2025-03-20 11:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:58:03] Production.INFO: Account Balance Start. [2025-03-20 11:58:03] Production.INFO: CreateAllLog Start [2025-03-20 11:58:03] Production.INFO: 117 [2025-03-20 11:58:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:03] Production.INFO: ==21338== Releasing lock... [2025-03-20 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:58:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:58:03] Production.INFO: Date 2025-03-11 [2025-03-20 11:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:58:03] Production.INFO: Date 2025-03-12 [2025-03-20 11:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:03] Production.INFO: count ==12 [2025-03-20 11:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 11:58:03] Production.INFO: count ==23 [2025-03-20 11:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722686') start [2025-03-20 11:58:03] Production.INFO: Date 2025-03-13 [2025-03-20 11:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:03] Production.INFO: Date 2025-03-14 [2025-03-20 11:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722686') end [2025-03-20 11:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:58:04] Production.INFO: 1 [2025-03-20 11:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:58:04] Production.ERROR: done [2025-03-20 11:58:04] Production.INFO: ==21346== Releasing lock... [2025-03-20 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:58:04] Production.INFO: Total Charge 0 [2025-03-20 11:58:04] Production.ERROR: done [2025-03-20 11:58:04] Production.INFO: CreateAllLog End [2025-03-20 11:58:04] Production.INFO: Account Balance End. [2025-03-20 11:58:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:58:04] Production.INFO: ==21342== Releasing lock... [2025-03-20 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:58:05 [end_date_ymd] => 2025-03-20 11:58:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:58:05' and `end` < '2025-03-20 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-03-20 11:58:13] Production.ERROR: CronJobId end10 [2025-03-20 11:58:13] Production.INFO: ==21340== Releasing lock... [2025-03-20 11:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:58:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:58:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:58:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:58:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:58:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:58:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:58:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:58:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:58:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:58:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:58:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:58:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:58:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:58:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:58:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:58:14] Production.INFO: call_cost start [2025-03-20 11:58:14] Production.INFO: call_cost end [2025-03-20 11:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:58:15] Production.INFO: ==21336== Releasing lock... [2025-03-20 11:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:58:18] Production.INFO: count ==5556 [2025-03-20 11:58:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:58:05 - End Time 2025-03-20 11:58:05 [2025-03-20 11:58:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722687', 'tblTempUsageDetail_20' ) start [2025-03-20 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722687', 'tblTempUsageDetail_20' ) end [2025-03-20 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722687', 'tblTempVendorCDR_20' ) start [2025-03-20 11:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722687', 'tblTempVendorCDR_20' ) end [2025-03-20 11:58:21] Production.INFO: ProcessCDR(1,14722687,1,1,2) [2025-03-20 11:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722687', 'tblTempUsageDetail_20' ) start [2025-03-20 11:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722687', 'tblTempUsageDetail_20' ) end [2025-03-20 11:58:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:58:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:58:27] Production.INFO: ==21344== Releasing lock... [2025-03-20 11:58:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:58:27] Production.INFO: 69.5 MB #Memory Used# [2025-03-20 15:59:01] Production.INFO: ==21418== Lock acquired, processing the job... [2025-03-20 15:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 15:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 15:59:01] Production.INFO: neon service started [2025-03-20 15:59:01] Production.INFO: neon service started [2025-03-20 15:59:01] Production.INFO: ==21418== Releasing lock... [2025-03-20 15:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 15:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 11:59:02] Production.INFO: ==21420== Lock acquired, processing the job... [2025-03-20 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 11:59:02] Production.INFO: ==21420== Releasing lock... [2025-03-20 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 11:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:59:02] Production.INFO: ==21422== Lock acquired, processing the job... [2025-03-20 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:59:02] Production.INFO: ==21422== Releasing lock... [2025-03-20 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 15:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 11:59:03] Production.INFO: ==21429== Lock acquired, processing the job... [2025-03-20 11:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 11:59:03] Production.INFO: ==21427== Lock acquired, processing the job... [2025-03-20 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 11:59:03] Production.INFO: ==21435== Lock acquired, processing the job... [2025-03-20 11:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 11:59:03] Production.INFO: ==21425== Lock acquired, processing the job... [2025-03-20 11:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 11:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 11:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 11:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 11:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 11:59:03] Production.INFO: ==21431== Lock acquired, processing the job... [2025-03-20 11:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 11:59:03] Production.INFO: count ==12 [2025-03-20 11:59:03] Production.INFO: ==21433== Lock acquired, processing the job... [2025-03-20 11:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 11:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 11:59:03] Production.INFO: count ==23 [2025-03-20 11:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722688') start [2025-03-20 11:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 11:59:03] Production.INFO: Account Balance Start. [2025-03-20 11:59:03] Production.INFO: CreateAllLog Start [2025-03-20 11:59:03] Production.INFO: 117 [2025-03-20 11:59:03] Production.INFO: ==21427== Releasing lock... [2025-03-20 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 11:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 11:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 11:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722688') end [2025-03-20 11:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 11:59:03] Production.INFO: 1 [2025-03-20 11:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 11:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 11:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:03] Production.INFO: Date 2025-03-10 [2025-03-20 11:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:03] Production.INFO: ==21435== Releasing lock... [2025-03-20 11:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 11:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 11:59:04] Production.INFO: Date 2025-03-11 [2025-03-20 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:04] Production.ERROR: done [2025-03-20 11:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 11:59:04] Production.INFO: Date 2025-03-12 [2025-03-20 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:04] Production.INFO: Date 2025-03-13 [2025-03-20 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:04] Production.ERROR: done [2025-03-20 11:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 11:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 11:59:04] Production.INFO: Total Charge 0 [2025-03-20 11:59:04] Production.INFO: CreateAllLog End [2025-03-20 11:59:04] Production.INFO: Account Balance End. [2025-03-20 11:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 11:59:04] Production.INFO: ==21431== Releasing lock... [2025-03-20 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 11:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 11:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 08:59:05 [end_date_ymd] => 2025-03-20 11:59:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 08:59:05' and `end` < '2025-03-20 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-03-20 11:59:12] Production.ERROR: CronJobId end10 [2025-03-20 11:59:12] Production.INFO: ==21429== Releasing lock... [2025-03-20 11:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 11:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 11:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 11:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 11:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 11:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 11:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 11:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 11:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 11:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 11:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 11:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 11:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 11:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 11:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 11:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 11:59:14] Production.INFO: call_cost start [2025-03-20 11:59:14] Production.INFO: call_cost end [2025-03-20 11:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 11:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 11:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 11:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 11:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 11:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 11:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 11:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 11:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 11:59:15] Production.INFO: ==21425== Releasing lock... [2025-03-20 11:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 11:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 11:59:19] Production.INFO: count ==5569 [2025-03-20 11:59:21] Production.ERROR: pbx CDR StartTime 2025-03-20 08:59:05 - End Time 2025-03-20 11:59:05 [2025-03-20 11:59:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 11:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722692', 'tblTempUsageDetail_20' ) start [2025-03-20 11:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722692', 'tblTempUsageDetail_20' ) end [2025-03-20 11:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722692', 'tblTempVendorCDR_20' ) start [2025-03-20 11:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722692', 'tblTempVendorCDR_20' ) end [2025-03-20 11:59:21] Production.INFO: ProcessCDR(1,14722692,1,1,2) [2025-03-20 11:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:59:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 11:59:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:59:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 11:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722692', 'tblTempUsageDetail_20' ) start [2025-03-20 11:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722692', 'tblTempUsageDetail_20' ) end [2025-03-20 11:59:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 11:59:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 11:59:26] Production.INFO: ==21433== Releasing lock... [2025-03-20 11:59:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 11:59:26] Production.INFO: 69.75 MB #Memory Used# [2025-03-20 16:00:02] Production.INFO: ==21496== Lock acquired, processing the job... [2025-03-20 16:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:00:02] Production.INFO: neon service started [2025-03-20 16:00:02] Production.INFO: neon service started [2025-03-20 16:00:02] Production.INFO: ==21496== Releasing lock... [2025-03-20 16:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:00:02] Production.INFO: ==21498== Lock acquired, processing the job... [2025-03-20 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:00:03] Production.INFO: ==21500== Lock acquired, processing the job... [2025-03-20 16:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:00:03] Production.INFO: ==21500== Releasing lock... [2025-03-20 16:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:00:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:00:03] Production.INFO: ==21498== Releasing lock... [2025-03-20 12:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:00:04] Production.INFO: ==21505== Lock acquired, processing the job... [2025-03-20 12:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:00:04] Production.INFO: ==21515== Lock acquired, processing the job... [2025-03-20 12:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 12:00:04] Production.INFO: ==21517== Lock acquired, processing the job... [2025-03-20 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:00:04] Production.INFO: ==21503== Lock acquired, processing the job... [2025-03-20 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 12:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:00:04] Production.INFO: ==21507== Lock acquired, processing the job... [2025-03-20 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:00:04] Production.INFO: count ==12 [2025-03-20 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-03-20 12:00:04] Production.INFO: count ==23 [2025-03-20 12:00:04] Production.INFO: ==21509== Lock acquired, processing the job... [2025-03-20 12:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722694') start [2025-03-20 12:00:05] Production.INFO: ==21511== Lock acquired, processing the job... [2025-03-20 12:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:00:05] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 12:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:00:05] Production.ERROR: CronJob PID - 21505 [2025-03-20 12:00:05] Production.ERROR: CronJob Title - System Alerts [2025-03-20 12:00:05] Production.INFO: ==21513== Lock acquired, processing the job... [2025-03-20 12:00:05] Production.ERROR: CronJob ID - 5 [2025-03-20 12:00:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:00:05] Production.ERROR: CronJob Last Run Time 2025-03-20 12:00:00 [2025-03-20 12:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:00:05] Production.ERROR: CronJob PID - 21507 [2025-03-20 12:00:05] Production.ERROR: CronJob Title - Account Block [2025-03-20 12:00:05] Production.ERROR: CronJob ID - 7 [2025-03-20 12:00:05] Production.ERROR: CronJob Last Run Time 2025-03-20 12:00:00 [2025-03-20 12:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:00:05] Production.ERROR: CronJob PID - 21515 [2025-03-20 12:00:05] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 12:00:05] Production.ERROR: CronJob ID - 17 [2025-03-20 12:00:05] Production.ERROR: CronJob Last Run Time 2025-03-20 12:00:00 [2025-03-20 12:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:00:05] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:00:05] Production.ERROR: CronJob PID - 21517 [2025-03-20 12:00:05] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 12:00:05] Production.ERROR: CronJob ID - 19 [2025-03-20 12:00:05] Production.ERROR: CronJob Last Run Time 2025-03-20 12:00:00 [2025-03-20 12:00:05] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:00:05] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:00:05] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:00:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:00:05] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:00:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:00:05] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 12:00:05] Production.INFO: ==21503== Releasing lock... [2025-03-20 12:00:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 12:00:05] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 12:00:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722694') end [2025-03-20 12:00:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:00:05] Production.INFO: 1 [2025-03-20 12:00:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:00:05] Production.INFO: Account Balance Start. [2025-03-20 12:00:05] Production.INFO: CreateAllLog Start [2025-03-20 12:00:05] Production.INFO: 117 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-08 [2025-03-20 12:00:05] Production.INFO: ==21517== Releasing lock... [2025-03-20 12:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:00:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:00:05] Production.ERROR: done [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-09 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-10 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-11 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-12 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 12:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722697', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 12:00:05] Production.INFO: ==21507== Releasing lock... [2025-03-20 12:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:00:05] Production.INFO: Date 2025-03-13 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-14 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.ERROR: done [2025-03-20 12:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:00:05] Production.INFO: Total Charge 0 [2025-03-20 12:00:05] Production.INFO: CreateAllLog End [2025-03-20 12:00:06] Production.ERROR: done [2025-03-20 12:00:06] Production.INFO: Account Balance End. [2025-03-20 12:00:06] Production.ERROR: CronJobId end 12 [2025-03-20 12:00:06] Production.INFO: ==21511== Releasing lock... [2025-03-20 12:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:00:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:00:06 [end_date_ymd] => 2025-03-20 12:00:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:00:06' and `end` < '2025-03-20 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-03-20 12:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722697', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 12:00:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 12:00:10] Production.INFO: ProcessCDR(1,14722697,1,1,2) [2025-03-20 12:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722697,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722697,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:00:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:00:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:00:10] Production.INFO: ==21515== Releasing lock... [2025-03-20 12:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 12:00:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 12:00:14] Production.ERROR: CronJobId end10 [2025-03-20 12:00:14] Production.INFO: ==21509== Releasing lock... [2025-03-20 12:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:00:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:00:17] Production.INFO: call_cost start [2025-03-20 12:00:17] Production.INFO: call_cost end [2025-03-20 12:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:00:18] Production.INFO: ==21505== Releasing lock... [2025-03-20 12:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:00:20] Production.INFO: count ==5573 [2025-03-20 12:00:23] Production.ERROR: pbx CDR StartTime 2025-03-20 09:00:06 - End Time 2025-03-20 12:00:06 [2025-03-20 12:00:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722698', 'tblTempUsageDetail_20' ) start [2025-03-20 12:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722698', 'tblTempUsageDetail_20' ) end [2025-03-20 12:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722698', 'tblTempVendorCDR_20' ) start [2025-03-20 12:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722698', 'tblTempVendorCDR_20' ) end [2025-03-20 12:00:23] Production.INFO: ProcessCDR(1,14722698,1,1,2) [2025-03-20 12:00:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:00:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722698,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:00:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:00:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722698,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722698', 'tblTempUsageDetail_20' ) start [2025-03-20 12:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722698', 'tblTempUsageDetail_20' ) end [2025-03-20 12:00:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:00:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:00:28] Production.INFO: ==21513== Releasing lock... [2025-03-20 12:00:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:00:28] Production.INFO: 69.75 MB #Memory Used# [2025-03-20 16:01:01] Production.INFO: ==21585== Lock acquired, processing the job... [2025-03-20 16:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:01:01] Production.INFO: neon service started [2025-03-20 16:01:01] Production.INFO: neon service started [2025-03-20 16:01:01] Production.INFO: ==21585== Releasing lock... [2025-03-20 16:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:01:02] Production.INFO: ==21596== Lock acquired, processing the job... [2025-03-20 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:01:02] Production.INFO: ==21598== Lock acquired, processing the job... [2025-03-20 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:01:02] Production.INFO: ==21598== Releasing lock... [2025-03-20 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:01:02] Production.INFO: ==21596== Releasing lock... [2025-03-20 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:01:03] Production.INFO: ==21601== Lock acquired, processing the job... [2025-03-20 12:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:01:03] Production.INFO: ==21607== Lock acquired, processing the job... [2025-03-20 12:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:01:03] Production.INFO: Account Balance Start. [2025-03-20 12:01:03] Production.INFO: CreateAllLog Start [2025-03-20 12:01:03] Production.INFO: 117 [2025-03-20 12:01:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:03] Production.INFO: ==21611== Lock acquired, processing the job... [2025-03-20 12:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:01:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 12:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:04] Production.INFO: count ==12 [2025-03-20 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-03-20 12:01:04] Production.INFO: count ==23 [2025-03-20 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722701') start [2025-03-20 12:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:01:04] Production.INFO: ==21603== Lock acquired, processing the job... [2025-03-20 12:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:04] Production.INFO: ==21609== Lock acquired, processing the job... [2025-03-20 12:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:04] Production.INFO: ==21605== Lock acquired, processing the job... [2025-03-20 12:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722701') end [2025-03-20 12:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:01:04] Production.INFO: 1 [2025-03-20 12:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:01:04] Production.INFO: ==21611== Releasing lock... [2025-03-20 12:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:01:04] Production.INFO: Total Charge 0 [2025-03-20 12:01:04] Production.INFO: CreateAllLog End [2025-03-20 12:01:04] Production.INFO: ==21603== Releasing lock... [2025-03-20 12:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:01:04] Production.ERROR: done [2025-03-20 12:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:01:05] Production.INFO: Account Balance End. [2025-03-20 12:01:05] Production.ERROR: done [2025-03-20 12:01:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:01:05] Production.INFO: ==21607== Releasing lock... [2025-03-20 12:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:01:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:01:06 [end_date_ymd] => 2025-03-20 12:01:06 [RateCDR] => 1 ) [2025-03-20 12: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-03-20 09:01:06' and `end` < '2025-03-20 12: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-03-20 12:01:14] Production.ERROR: CronJobId end10 [2025-03-20 12:01:14] Production.INFO: ==21605== Releasing lock... [2025-03-20 12:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:01:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:01:16] Production.INFO: call_cost start [2025-03-20 12:01:16] Production.INFO: call_cost end [2025-03-20 12:01:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:01:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:01:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:01:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:01:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:01:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:01:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:01:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:01:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:01:17] Production.INFO: ==21601== Releasing lock... [2025-03-20 12:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:01:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:01:19] Production.INFO: count ==5666 [2025-03-20 12:01:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:01:06 - End Time 2025-03-20 12:01:06 [2025-03-20 12:01:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722703', 'tblTempUsageDetail_20' ) start [2025-03-20 12:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722703', 'tblTempUsageDetail_20' ) end [2025-03-20 12:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722703', 'tblTempVendorCDR_20' ) start [2025-03-20 12:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722703', 'tblTempVendorCDR_20' ) end [2025-03-20 12:01:22] Production.INFO: ProcessCDR(1,14722703,1,1,2) [2025-03-20 12:01:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:01:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722703', 'tblTempUsageDetail_20' ) start [2025-03-20 12:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722703', 'tblTempUsageDetail_20' ) end [2025-03-20 12:01:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:01:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:01:27] Production.INFO: ==21609== Releasing lock... [2025-03-20 12:01:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:01:27] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 16:02:02] Production.INFO: ==21684== Lock acquired, processing the job... [2025-03-20 16:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:02:02] Production.INFO: neon service started [2025-03-20 16:02:02] Production.INFO: neon service started [2025-03-20 16:02:02] Production.INFO: ==21684== Releasing lock... [2025-03-20 16:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:02:02] Production.INFO: ==21687== Lock acquired, processing the job... [2025-03-20 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:02:02] Production.INFO: ==21687== Releasing lock... [2025-03-20 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:02:03] Production.INFO: ==21689== Lock acquired, processing the job... [2025-03-20 16:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:02:03] Production.INFO: ==21689== Releasing lock... [2025-03-20 16:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:02:03] Production.INFO: ==21691== Lock acquired, processing the job... [2025-03-20 12:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:02:03] Production.INFO: ==21693== Lock acquired, processing the job... [2025-03-20 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:02:03] Production.INFO: ==21695== Lock acquired, processing the job... [2025-03-20 12:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:02:03] Production.INFO: ==21697== Lock acquired, processing the job... [2025-03-20 12:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:02:04] Production.INFO: ==21699== Lock acquired, processing the job... [2025-03-20 12:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:02:04] Production.INFO: ==21693== Releasing lock... [2025-03-20 12:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:02:04] Production.INFO: Account Balance Start. [2025-03-20 12:02:04] Production.INFO: CreateAllLog Start [2025-03-20 12:02:04] Production.INFO: 117 [2025-03-20 12:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.INFO: ==21701== Lock acquired, processing the job... [2025-03-20 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:02:04] Production.INFO: count ==12 [2025-03-20 12:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:02:04] Production.INFO: count ==23 [2025-03-20 12:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722707') start [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.ERROR: done [2025-03-20 12:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722707') end [2025-03-20 12:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:02:04] Production.INFO: 1 [2025-03-20 12:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.INFO: ==21701== Releasing lock... [2025-03-20 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:02:04] Production.ERROR: done [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:02:04] Production.INFO: Total Charge 0 [2025-03-20 12:02:04] Production.INFO: CreateAllLog End [2025-03-20 12:02:05] Production.INFO: Account Balance End. [2025-03-20 12:02:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:02:05] Production.INFO: ==21697== Releasing lock... [2025-03-20 12:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:02:05 [end_date_ymd] => 2025-03-20 12:02:05 [RateCDR] => 1 ) [2025-03-20 12:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:02:05' and `end` < '2025-03-20 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-03-20 12:02:11] Production.ERROR: CronJobId end10 [2025-03-20 12:02:11] Production.INFO: ==21695== Releasing lock... [2025-03-20 12:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:02:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:02:14] Production.INFO: call_cost start [2025-03-20 12:02:14] Production.INFO: call_cost end [2025-03-20 12:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:02:15] Production.INFO: ==21691== Releasing lock... [2025-03-20 12:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:02:19] Production.INFO: count ==5673 [2025-03-20 12:02:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:02:05 - End Time 2025-03-20 12:02:05 [2025-03-20 12:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722708', 'tblTempUsageDetail_20' ) start [2025-03-20 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722708', 'tblTempUsageDetail_20' ) end [2025-03-20 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722708', 'tblTempVendorCDR_20' ) start [2025-03-20 12:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722708', 'tblTempVendorCDR_20' ) end [2025-03-20 12:02:21] Production.INFO: ProcessCDR(1,14722708,1,1,2) [2025-03-20 12:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:02:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722708,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:02:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:02:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722708,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722708', 'tblTempUsageDetail_20' ) start [2025-03-20 12:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722708', 'tblTempUsageDetail_20' ) end [2025-03-20 12:02:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:02:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:02:27] Production.INFO: ==21699== Releasing lock... [2025-03-20 12:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:02:27] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 16:03:01] Production.INFO: ==21806== Lock acquired, processing the job... [2025-03-20 16:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:03:01] Production.INFO: neon service started [2025-03-20 16:03:01] Production.INFO: neon service started [2025-03-20 16:03:01] Production.INFO: ==21806== Releasing lock... [2025-03-20 16:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:03:02] Production.INFO: ==21813== Lock acquired, processing the job... [2025-03-20 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:03:02] Production.INFO: ==21813== Releasing lock... [2025-03-20 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:03:02] Production.INFO: ==21811== Lock acquired, processing the job... [2025-03-20 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:03:02] Production.INFO: ==21811== Releasing lock... [2025-03-20 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:03:03] Production.INFO: ==21821== Lock acquired, processing the job... [2025-03-20 12:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:03:03] Production.INFO: ==21823== Lock acquired, processing the job... [2025-03-20 12:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:03:03] Production.INFO: ==21819== Lock acquired, processing the job... [2025-03-20 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:03:03] Production.INFO: ==21817== Lock acquired, processing the job... [2025-03-20 12:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:03:03] Production.INFO: Account Balance Start. [2025-03-20 12:03:03] Production.INFO: CreateAllLog Start [2025-03-20 12:03:03] Production.INFO: 117 [2025-03-20 12:03:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:03:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:03:03] Production.INFO: ==21825== Lock acquired, processing the job... [2025-03-20 12:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:04] Production.INFO: ==21827== Lock acquired, processing the job... [2025-03-20 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:04] Production.INFO: ==21819== Releasing lock... [2025-03-20 12:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:04] Production.INFO: count ==12 [2025-03-20 12:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:03:04] Production.INFO: count ==23 [2025-03-20 12:03:04] Production.ERROR: done [2025-03-20 12:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722712') start [2025-03-20 12:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:03:04] Production.INFO: Total Charge 0 [2025-03-20 12:03:04] Production.INFO: CreateAllLog End [2025-03-20 12:03:04] Production.ERROR: done [2025-03-20 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722712') end [2025-03-20 12:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:03:04] Production.INFO: 1 [2025-03-20 12:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:03:04] Production.INFO: ==21827== Releasing lock... [2025-03-20 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:03:05] Production.INFO: Account Balance End. [2025-03-20 12:03:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:03:05] Production.INFO: ==21823== Releasing lock... [2025-03-20 12:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:03:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:03:06 [end_date_ymd] => 2025-03-20 12:03:06 [RateCDR] => 1 ) [2025-03-20 12:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:03:06' and `end` < '2025-03-20 12:03:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:03:13] Production.ERROR: CronJobId end10 [2025-03-20 12:03:13] Production.INFO: ==21821== Releasing lock... [2025-03-20 12:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:03:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:03:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:03:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:03:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:03:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:03:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:03:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:03:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:03:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:03:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:03:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:03:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:03:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:03:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:03:16] Production.INFO: call_cost start [2025-03-20 12:03:16] Production.INFO: call_cost end [2025-03-20 12:03:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:03:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:03:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:03:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:03:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:03:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:03:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:03:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:03:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:03:17] Production.INFO: ==21817== Releasing lock... [2025-03-20 12:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:03:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:03:19] Production.INFO: count ==5660 [2025-03-20 12:03:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:03:06 - End Time 2025-03-20 12:03:06 [2025-03-20 12:03:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722713', 'tblTempUsageDetail_20' ) start [2025-03-20 12:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722713', 'tblTempUsageDetail_20' ) end [2025-03-20 12:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722713', 'tblTempVendorCDR_20' ) start [2025-03-20 12:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722713', 'tblTempVendorCDR_20' ) end [2025-03-20 12:03:22] Production.INFO: ProcessCDR(1,14722713,1,1,2) [2025-03-20 12:03:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722713,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722713,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722713', 'tblTempUsageDetail_20' ) start [2025-03-20 12:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722713', 'tblTempUsageDetail_20' ) end [2025-03-20 12:03:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:03:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:03:25] Production.INFO: ==21825== Releasing lock... [2025-03-20 12:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:03:25] Production.INFO: 70.25 MB #Memory Used# [2025-03-20 16:04:02] Production.INFO: ==21898== Lock acquired, processing the job... [2025-03-20 16:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:04:02] Production.INFO: neon service started [2025-03-20 16:04:02] Production.INFO: neon service started [2025-03-20 16:04:02] Production.INFO: ==21898== Releasing lock... [2025-03-20 16:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:04:02] Production.INFO: ==21902== Lock acquired, processing the job... [2025-03-20 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:04:02] Production.INFO: ==21902== Releasing lock... [2025-03-20 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:04:02] Production.INFO: ==21900== Lock acquired, processing the job... [2025-03-20 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:04:03] Production.INFO: ==21900== Releasing lock... [2025-03-20 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:04:03] Production.INFO: ==21905== Lock acquired, processing the job... [2025-03-20 12:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:04:03] Production.INFO: ==21909== Lock acquired, processing the job... [2025-03-20 12:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:04:03] Production.INFO: ==21907== Lock acquired, processing the job... [2025-03-20 12:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:04:04] Production.INFO: ==21911== Lock acquired, processing the job... [2025-03-20 12:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:04:04] Production.INFO: ==21913== Lock acquired, processing the job... [2025-03-20 12:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:04:04] Production.INFO: ==21915== Lock acquired, processing the job... [2025-03-20 12:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:04:04] Production.INFO: ==21907== Releasing lock... [2025-03-20 12:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:04:04] Production.INFO: Account Balance Start. [2025-03-20 12:04:04] Production.INFO: CreateAllLog Start [2025-03-20 12:04:04] Production.INFO: 117 [2025-03-20 12:04:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:04] Production.INFO: count ==12 [2025-03-20 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-03-20 12:04:04] Production.INFO: count ==23 [2025-03-20 12:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722717') start [2025-03-20 12:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:04] Production.ERROR: done [2025-03-20 12:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722717') end [2025-03-20 12:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:04:04] Production.INFO: 1 [2025-03-20 12:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:04] Production.ERROR: done [2025-03-20 12:04:04] Production.INFO: ==21915== Releasing lock... [2025-03-20 12:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:05] Production.INFO: Date 2025-03-14 [2025-03-20 12:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:05] Production.INFO: Date 2025-03-15 [2025-03-20 12:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:05] Production.INFO: Date 2025-03-16 [2025-03-20 12:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:04:05] Production.INFO: Total Charge 0 [2025-03-20 12:04:05] Production.INFO: CreateAllLog End [2025-03-20 12:04:05] Production.INFO: Account Balance End. [2025-03-20 12:04:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:04:05] Production.INFO: ==21911== Releasing lock... [2025-03-20 12:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:04:05 [end_date_ymd] => 2025-03-20 12:04:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:04:05' and `end` < '2025-03-20 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-03-20 12:04:13] Production.ERROR: CronJobId end10 [2025-03-20 12:04:13] Production.INFO: ==21909== Releasing lock... [2025-03-20 12:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:04:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:04:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:04:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:04:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:04:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:04:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:04:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:04:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:04:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:04:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:04:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:04:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:04:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:04:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:04:15] Production.INFO: call_cost start [2025-03-20 12:04:15] Production.INFO: call_cost end [2025-03-20 12:04:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:04:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:04:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:04:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:04:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:04:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:04:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:04:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:04:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:04:16] Production.INFO: ==21905== Releasing lock... [2025-03-20 12:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:04:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:04:19] Production.INFO: count ==5665 [2025-03-20 12:04:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:04:05 - End Time 2025-03-20 12:04:05 [2025-03-20 12:04:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722718', 'tblTempUsageDetail_20' ) start [2025-03-20 12:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722718', 'tblTempUsageDetail_20' ) end [2025-03-20 12:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722718', 'tblTempVendorCDR_20' ) start [2025-03-20 12:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722718', 'tblTempVendorCDR_20' ) end [2025-03-20 12:04:22] Production.INFO: ProcessCDR(1,14722718,1,1,2) [2025-03-20 12:04:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722718', 'tblTempUsageDetail_20' ) start [2025-03-20 12:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722718', 'tblTempUsageDetail_20' ) end [2025-03-20 12:04:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:04:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:04:27] Production.INFO: ==21913== Releasing lock... [2025-03-20 12:04:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:04:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:05:01] Production.INFO: ==21982== Lock acquired, processing the job... [2025-03-20 16:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:05:01] Production.INFO: neon service started [2025-03-20 16:05:01] Production.INFO: neon service started [2025-03-20 16:05:01] Production.INFO: ==21982== Releasing lock... [2025-03-20 16:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:05:02] Production.INFO: ==21986== Lock acquired, processing the job... [2025-03-20 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:05:02] Production.INFO: ==21986== Releasing lock... [2025-03-20 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:05:02] Production.INFO: ==21984== Lock acquired, processing the job... [2025-03-20 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:05:02] Production.INFO: ==21984== Releasing lock... [2025-03-20 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:05:03] Production.INFO: ==21988== Lock acquired, processing the job... [2025-03-20 12:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:05:03] Production.INFO: ==21990== Lock acquired, processing the job... [2025-03-20 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:05:03] Production.INFO: ==21997== Lock acquired, processing the job... [2025-03-20 12:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:05:03] Production.INFO: ==21992== Lock acquired, processing the job... [2025-03-20 12:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:05:03] Production.INFO: ==21990== Releasing lock... [2025-03-20 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:05:03] Production.INFO: ==21995== Lock acquired, processing the job... [2025-03-20 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:05:03] Production.INFO: ==21999== Lock acquired, processing the job... [2025-03-20 12:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:05:04] Production.INFO: Account Balance Start. [2025-03-20 12:05:04] Production.INFO: CreateAllLog Start [2025-03-20 12:05:04] Production.INFO: 117 [2025-03-20 12:05:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: count ==12 [2025-03-20 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-03-20 12:05:04] Production.INFO: count ==23 [2025-03-20 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722722') start [2025-03-20 12:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:05:04] Production.ERROR: done [2025-03-20 12:05:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722722') end [2025-03-20 12:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:05:04] Production.INFO: 1 [2025-03-20 12:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: ==21999== Releasing lock... [2025-03-20 12:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:05:04] Production.ERROR: done [2025-03-20 12:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:05:04] Production.INFO: Total Charge 0 [2025-03-20 12:05:04] Production.INFO: CreateAllLog End [2025-03-20 12:05:05] Production.INFO: Account Balance End. [2025-03-20 12:05:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:05:05] Production.INFO: ==21995== Releasing lock... [2025-03-20 12:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:05:05 [end_date_ymd] => 2025-03-20 12:05:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:05:05' and `end` < '2025-03-20 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-03-20 12:05:13] Production.ERROR: CronJobId end10 [2025-03-20 12:05:13] Production.INFO: ==21992== Releasing lock... [2025-03-20 12:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:05:15] Production.INFO: call_cost start [2025-03-20 12:05:15] Production.INFO: call_cost end [2025-03-20 12:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:05:16] Production.INFO: ==21988== Releasing lock... [2025-03-20 12:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:05:18] Production.INFO: count ==5664 [2025-03-20 12:05:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:05:05 - End Time 2025-03-20 12:05:05 [2025-03-20 12:05:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722723', 'tblTempUsageDetail_20' ) start [2025-03-20 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722723', 'tblTempUsageDetail_20' ) end [2025-03-20 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722723', 'tblTempVendorCDR_20' ) start [2025-03-20 12:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722723', 'tblTempVendorCDR_20' ) end [2025-03-20 12:05:21] Production.INFO: ProcessCDR(1,14722723,1,1,2) [2025-03-20 12:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:05:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:05:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:05:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722723', 'tblTempUsageDetail_20' ) start [2025-03-20 12:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722723', 'tblTempUsageDetail_20' ) end [2025-03-20 12:05:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:05:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:05:26] Production.INFO: ==21997== Releasing lock... [2025-03-20 12:05:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:05:26] Production.INFO: 70.25 MB #Memory Used# [2025-03-20 16:06:02] Production.INFO: ==22064== Lock acquired, processing the job... [2025-03-20 16:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:06:02] Production.INFO: neon service started [2025-03-20 16:06:02] Production.INFO: neon service started [2025-03-20 16:06:02] Production.INFO: ==22064== Releasing lock... [2025-03-20 16:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:06:02] Production.INFO: ==22069== Lock acquired, processing the job... [2025-03-20 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:06:02] Production.INFO: ==22069== Releasing lock... [2025-03-20 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:06:02] Production.INFO: ==22067== Lock acquired, processing the job... [2025-03-20 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:06:03] Production.INFO: ==22067== Releasing lock... [2025-03-20 12:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:06:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:06:04] Production.INFO: ==22081== Lock acquired, processing the job... [2025-03-20 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:06:04] Production.INFO: ==22079== Lock acquired, processing the job... [2025-03-20 12:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:06:04] Production.INFO: ==22071== Lock acquired, processing the job... [2025-03-20 12:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:06:04] Production.INFO: ==22073== Lock acquired, processing the job... [2025-03-20 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:06:04] Production.INFO: ==22075== Lock acquired, processing the job... [2025-03-20 12:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:06:04] Production.INFO: ==22077== Lock acquired, processing the job... [2025-03-20 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:06:04] Production.INFO: count ==12 [2025-03-20 12:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:06:04] Production.INFO: count ==23 [2025-03-20 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722724') start [2025-03-20 12:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:06:04] Production.INFO: Account Balance Start. [2025-03-20 12:06:04] Production.INFO: CreateAllLog Start [2025-03-20 12:06:04] Production.INFO: 117 [2025-03-20 12:06:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722724') end [2025-03-20 12:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:06:04] Production.INFO: 1 [2025-03-20 12:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:04] Production.INFO: ==22081== Releasing lock... [2025-03-20 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:04] Production.ERROR: done [2025-03-20 12:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:04] Production.INFO: ==22073== Releasing lock... [2025-03-20 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:05] Production.ERROR: done [2025-03-20 12:06:05] Production.INFO: Date 2025-03-16 [2025-03-20 12:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:06:05] Production.INFO: Total Charge 0 [2025-03-20 12:06:05] Production.INFO: CreateAllLog End [2025-03-20 12:06:05] Production.INFO: Account Balance End. [2025-03-20 12:06:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:06:05] Production.INFO: ==22077== Releasing lock... [2025-03-20 12:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:06:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:06:06 [end_date_ymd] => 2025-03-20 12:06:06 [RateCDR] => 1 ) [2025-03-20 12:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:06:06' and `end` < '2025-03-20 12:06:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:06:13] Production.ERROR: CronJobId end10 [2025-03-20 12:06:13] Production.INFO: ==22075== Releasing lock... [2025-03-20 12:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:06:15] Production.INFO: call_cost start [2025-03-20 12:06:15] Production.INFO: call_cost end [2025-03-20 12:06:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:06:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:06:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:06:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:06:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:06:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:06:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:06:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:06:16] Production.INFO: ==22071== Releasing lock... [2025-03-20 12:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:06:19] Production.INFO: count ==5667 [2025-03-20 12:06:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:06:06 - End Time 2025-03-20 12:06:06 [2025-03-20 12:06:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722728', 'tblTempUsageDetail_20' ) start [2025-03-20 12:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722728', 'tblTempUsageDetail_20' ) end [2025-03-20 12:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722728', 'tblTempVendorCDR_20' ) start [2025-03-20 12:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722728', 'tblTempVendorCDR_20' ) end [2025-03-20 12:06:22] Production.INFO: ProcessCDR(1,14722728,1,1,2) [2025-03-20 12:06:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722728', 'tblTempUsageDetail_20' ) start [2025-03-20 12:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722728', 'tblTempUsageDetail_20' ) end [2025-03-20 12:06:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:06:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:06:27] Production.INFO: ==22079== Releasing lock... [2025-03-20 12:06:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:06:27] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 16:07:01] Production.INFO: ==22144== Lock acquired, processing the job... [2025-03-20 16:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:07:01] Production.INFO: neon service started [2025-03-20 16:07:01] Production.INFO: neon service started [2025-03-20 16:07:01] Production.INFO: ==22144== Releasing lock... [2025-03-20 16:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:07:02] Production.INFO: ==22146== Lock acquired, processing the job... [2025-03-20 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:07:02] Production.INFO: ==22148== Lock acquired, processing the job... [2025-03-20 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:07:02] Production.INFO: ==22146== Releasing lock... [2025-03-20 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:07:02] Production.INFO: ==22148== Releasing lock... [2025-03-20 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:07:03] Production.INFO: ==22158== Lock acquired, processing the job... [2025-03-20 12:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:07:03] Production.INFO: ==22160== Lock acquired, processing the job... [2025-03-20 12:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:07:03] Production.INFO: ==22150== Lock acquired, processing the job... [2025-03-20 12:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:07:03] Production.INFO: ==22152== Lock acquired, processing the job... [2025-03-20 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:07:03] Production.INFO: ==22154== Lock acquired, processing the job... [2025-03-20 12:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:07:03] Production.INFO: ==22156== Lock acquired, processing the job... [2025-03-20 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:07:03] Production.INFO: Account Balance Start. [2025-03-20 12:07:03] Production.INFO: CreateAllLog Start [2025-03-20 12:07:03] Production.INFO: 117 [2025-03-20 12:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:07:03] Production.INFO: count ==12 [2025-03-20 12:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:07:03] Production.INFO: count ==23 [2025-03-20 12:07:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722731') start [2025-03-20 12:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:03] Production.ERROR: done [2025-03-20 12:07:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:07:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722731') end [2025-03-20 12:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:07:04] Production.INFO: 1 [2025-03-20 12:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:07:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:04] Production.INFO: ==22160== Releasing lock... [2025-03-20 12:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:07:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:07:04] Production.INFO: ==22152== Releasing lock... [2025-03-20 12:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:04] Production.ERROR: done [2025-03-20 12:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:07:04] Production.INFO: Total Charge 0 [2025-03-20 12:07:04] Production.INFO: CreateAllLog End [2025-03-20 12:07:04] Production.INFO: Account Balance End. [2025-03-20 12:07:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:07:04] Production.INFO: ==22156== Releasing lock... [2025-03-20 12:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:07:05 [end_date_ymd] => 2025-03-20 12:07:05 [RateCDR] => 1 ) [2025-03-20 12:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:07:05' and `end` < '2025-03-20 12:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:07:12] Production.ERROR: CronJobId end10 [2025-03-20 12:07:12] Production.INFO: ==22154== Releasing lock... [2025-03-20 12:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:07:15] Production.INFO: call_cost start [2025-03-20 12:07:15] Production.INFO: call_cost end [2025-03-20 12:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:07:15] Production.INFO: ==22150== Releasing lock... [2025-03-20 12:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:07:19] Production.INFO: count ==5640 [2025-03-20 12:07:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:07:05 - End Time 2025-03-20 12:07:05 [2025-03-20 12:07:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722733', 'tblTempUsageDetail_20' ) start [2025-03-20 12:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722733', 'tblTempUsageDetail_20' ) end [2025-03-20 12:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722733', 'tblTempVendorCDR_20' ) start [2025-03-20 12:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722733', 'tblTempVendorCDR_20' ) end [2025-03-20 12:07:21] Production.INFO: ProcessCDR(1,14722733,1,1,2) [2025-03-20 12:07:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:07:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722733', 'tblTempUsageDetail_20' ) start [2025-03-20 12:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722733', 'tblTempUsageDetail_20' ) end [2025-03-20 12:07:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:07:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:07:26] Production.INFO: ==22158== Releasing lock... [2025-03-20 12:07:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:07:26] Production.INFO: 70.25 MB #Memory Used# [2025-03-20 16:08:02] Production.INFO: ==22238== Lock acquired, processing the job... [2025-03-20 16:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:08:02] Production.INFO: neon service started [2025-03-20 16:08:02] Production.INFO: neon service started [2025-03-20 16:08:02] Production.INFO: ==22238== Releasing lock... [2025-03-20 16:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:08:02] Production.INFO: ==22242== Lock acquired, processing the job... [2025-03-20 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:08:02] Production.INFO: ==22242== Releasing lock... [2025-03-20 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:08:02] Production.INFO: ==22240== Lock acquired, processing the job... [2025-03-20 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:08:03] Production.INFO: ==22240== Releasing lock... [2025-03-20 12:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:08:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:08:03] Production.INFO: ==22247== Lock acquired, processing the job... [2025-03-20 12:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:08:04] Production.INFO: ==22245== Lock acquired, processing the job... [2025-03-20 12:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:08:04] Production.INFO: ==22251== Lock acquired, processing the job... [2025-03-20 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:08:04] Production.INFO: Account Balance Start. [2025-03-20 12:08:04] Production.INFO: CreateAllLog Start [2025-03-20 12:08:04] Production.INFO: 117 [2025-03-20 12:08:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: ==22249== Lock acquired, processing the job... [2025-03-20 12:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:08:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: ==22247== Releasing lock... [2025-03-20 12:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: ==22253== Lock acquired, processing the job... [2025-03-20 12:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:08:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: ==22255== Lock acquired, processing the job... [2025-03-20 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:08:04] Production.INFO: count ==12 [2025-03-20 12:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:08:04] Production.INFO: count ==23 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722737') start [2025-03-20 12:08:04] Production.ERROR: done [2025-03-20 12:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:08:04] Production.INFO: Total Charge 0 [2025-03-20 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722737') end [2025-03-20 12:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:08:04] Production.INFO: 1 [2025-03-20 12:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:08:04] Production.INFO: CreateAllLog End [2025-03-20 12:08:04] Production.INFO: ==22255== Releasing lock... [2025-03-20 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:08:05] Production.ERROR: done [2025-03-20 12:08:05] Production.INFO: Account Balance End. [2025-03-20 12:08:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:08:05] Production.INFO: ==22251== Releasing lock... [2025-03-20 12:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:08:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:08:06 [end_date_ymd] => 2025-03-20 12:08:06 [RateCDR] => 1 ) [2025-03-20 12: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-03-20 09:08:06' and `end` < '2025-03-20 12: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-03-20 12:08:13] Production.ERROR: CronJobId end10 [2025-03-20 12:08:13] Production.INFO: ==22249== Releasing lock... [2025-03-20 12:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:08:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:08:16] Production.INFO: call_cost start [2025-03-20 12:08:16] Production.INFO: call_cost end [2025-03-20 12:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:08:16] Production.INFO: ==22245== Releasing lock... [2025-03-20 12:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:08:19] Production.INFO: count ==5627 [2025-03-20 12:08:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:08:06 - End Time 2025-03-20 12:08:06 [2025-03-20 12:08:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722738', 'tblTempUsageDetail_20' ) start [2025-03-20 12:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722738', 'tblTempUsageDetail_20' ) end [2025-03-20 12:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722738', 'tblTempVendorCDR_20' ) start [2025-03-20 12:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722738', 'tblTempVendorCDR_20' ) end [2025-03-20 12:08:22] Production.INFO: ProcessCDR(1,14722738,1,1,2) [2025-03-20 12:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:08:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:08:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722738', 'tblTempUsageDetail_20' ) start [2025-03-20 12:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722738', 'tblTempUsageDetail_20' ) end [2025-03-20 12:08:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:08:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:08:27] Production.INFO: ==22253== Releasing lock... [2025-03-20 12:08:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:08:27] Production.INFO: 70 MB #Memory Used# [2025-03-20 16:09:01] Production.INFO: ==22317== Lock acquired, processing the job... [2025-03-20 16:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:09:01] Production.INFO: neon service started [2025-03-20 16:09:01] Production.INFO: neon service started [2025-03-20 16:09:01] Production.INFO: ==22317== Releasing lock... [2025-03-20 16:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:09:02] Production.INFO: ==22319== Lock acquired, processing the job... [2025-03-20 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:09:02] Production.INFO: ==22319== Releasing lock... [2025-03-20 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:09:02] Production.INFO: ==22321== Lock acquired, processing the job... [2025-03-20 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:09:02] Production.INFO: ==22321== Releasing lock... [2025-03-20 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:09:03] Production.INFO: ==22332== Lock acquired, processing the job... [2025-03-20 12:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:09:03] Production.INFO: ==22336== Lock acquired, processing the job... [2025-03-20 12:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:09:03] Production.INFO: Account Balance Start. [2025-03-20 12:09:03] Production.INFO: CreateAllLog Start [2025-03-20 12:09:03] Production.INFO: 117 [2025-03-20 12:09:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:03] Production.INFO: ==22326== Lock acquired, processing the job... [2025-03-20 12:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 12:09:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:03] Production.INFO: count ==12 [2025-03-20 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-03-20 12:09:03] Production.INFO: count ==23 [2025-03-20 12:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722739') start [2025-03-20 12:09:03] Production.INFO: ==22328== Lock acquired, processing the job... [2025-03-20 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:09:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:09:03] Production.INFO: ==22330== Lock acquired, processing the job... [2025-03-20 12:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:09:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:03] Production.INFO: ==22334== Lock acquired, processing the job... [2025-03-20 12:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:09:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:09:03] Production.INFO: Date 2025-03-13 [2025-03-20 12:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722739') end [2025-03-20 12:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:09:03] Production.INFO: 1 [2025-03-20 12:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:09:03] Production.INFO: Date 2025-03-14 [2025-03-20 12:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:09:03] Production.INFO: Date 2025-03-15 [2025-03-20 12:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:04] Production.INFO: ==22336== Releasing lock... [2025-03-20 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:09:04] Production.INFO: ==22328== Releasing lock... [2025-03-20 12:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:09:04] Production.INFO: Total Charge 0 [2025-03-20 12:09:04] Production.INFO: CreateAllLog End [2025-03-20 12:09:04] Production.ERROR: done [2025-03-20 12:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:09:04] Production.ERROR: done [2025-03-20 12:09:04] Production.INFO: Account Balance End. [2025-03-20 12:09:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:09:04] Production.INFO: ==22332== Releasing lock... [2025-03-20 12:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:09:05 [end_date_ymd] => 2025-03-20 12:09:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:09:05' and `end` < '2025-03-20 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-03-20 12:09:12] Production.ERROR: CronJobId end10 [2025-03-20 12:09:12] Production.INFO: ==22330== Releasing lock... [2025-03-20 12:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:09:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:09:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:09:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:09:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:09:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:09:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:09:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:09:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:09:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:09:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:09:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:09:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:09:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:09:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:09:15] Production.INFO: call_cost start [2025-03-20 12:09:15] Production.INFO: call_cost end [2025-03-20 12:09:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:09:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:09:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:09:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:09:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:09:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:09:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:09:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:09:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:09:16] Production.INFO: ==22326== Releasing lock... [2025-03-20 12:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:09:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:09:19] Production.INFO: count ==5637 [2025-03-20 12:09:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:09:05 - End Time 2025-03-20 12:09:05 [2025-03-20 12:09:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722743', 'tblTempUsageDetail_20' ) start [2025-03-20 12:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722743', 'tblTempUsageDetail_20' ) end [2025-03-20 12:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722743', 'tblTempVendorCDR_20' ) start [2025-03-20 12:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722743', 'tblTempVendorCDR_20' ) end [2025-03-20 12:09:21] Production.INFO: ProcessCDR(1,14722743,1,1,2) [2025-03-20 12:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722743', 'tblTempUsageDetail_20' ) start [2025-03-20 12:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722743', 'tblTempUsageDetail_20' ) end [2025-03-20 12:09:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:09:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:09:26] Production.INFO: ==22334== Releasing lock... [2025-03-20 12:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:09:26] Production.INFO: 70.25 MB #Memory Used# [2025-03-20 16:10:02] Production.INFO: ==22400== Lock acquired, processing the job... [2025-03-20 16:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:10:02] Production.INFO: neon service started [2025-03-20 16:10:02] Production.INFO: neon service started [2025-03-20 16:10:02] Production.INFO: ==22400== Releasing lock... [2025-03-20 16:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:10:02] Production.INFO: ==22402== Lock acquired, processing the job... [2025-03-20 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:10:03] Production.INFO: ==22402== Releasing lock... [2025-03-20 12:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:10:03] Production.INFO: ==22404== Lock acquired, processing the job... [2025-03-20 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:10:03] Production.INFO: ==22404== Releasing lock... [2025-03-20 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:10:04] Production.INFO: ==22411== Lock acquired, processing the job... [2025-03-20 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:10:04] Production.INFO: ==22407== Lock acquired, processing the job... [2025-03-20 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 12:10:04] Production.INFO: ==22409== Lock acquired, processing the job... [2025-03-20 12:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:10:04] Production.INFO: ==22419== Lock acquired, processing the job... [2025-03-20 12:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 12:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 12:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:10:04] Production.INFO: ==22421== Lock acquired, processing the job... [2025-03-20 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:10:04] Production.ERROR: CronJob PID - 22409 [2025-03-20 12:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 12:10:04] Production.ERROR: CronJob ID - 5 [2025-03-20 12:10:04] Production.ERROR: CronJob Last Run Time 2025-03-20 12:10:00 [2025-03-20 12:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:10:04] Production.ERROR: CronJob PID - 22411 [2025-03-20 12:10:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 12:10:04] Production.ERROR: CronJob ID - 7 [2025-03-20 12:10:04] Production.ERROR: CronJob Last Run Time 2025-03-20 12:10:00 [2025-03-20 12:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:10:04] Production.ERROR: CronJob PID - 22419 [2025-03-20 12:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 12:10:04] Production.ERROR: CronJob ID - 17 [2025-03-20 12:10:04] Production.ERROR: CronJob Last Run Time 2025-03-20 12:10:00 [2025-03-20 12:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:10:04] Production.INFO: ==22413== Lock acquired, processing the job... [2025-03-20 12:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 12:10:04] Production.INFO: ==22407== Releasing lock... [2025-03-20 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 12:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 12:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:10:04] Production.INFO: ==22415== Lock acquired, processing the job... [2025-03-20 12:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 12:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:10:04] Production.INFO: count ==12 [2025-03-20 12:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:10:04] Production.INFO: ==22417== Lock acquired, processing the job... [2025-03-20 12:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 12:10:04] Production.INFO: count ==23 [2025-03-20 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722746') start [2025-03-20 12:10:04] Production.INFO: ==22411== Releasing lock... [2025-03-20 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:10:04] Production.ERROR: done [2025-03-20 12:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:10:04] Production.INFO: Account Balance Start. [2025-03-20 12:10:04] Production.INFO: CreateAllLog Start [2025-03-20 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722746') end [2025-03-20 12:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:10:04] Production.INFO: 1 [2025-03-20 12:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:10:04] Production.INFO: 117 [2025-03-20 12:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 12:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722748', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 12:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:04] Production.INFO: ==22421== Releasing lock... [2025-03-20 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:10:05] Production.INFO: Date 2025-03-09 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.INFO: Date 2025-03-10 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.INFO: Date 2025-03-11 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.INFO: Date 2025-03-12 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.ERROR: done [2025-03-20 12:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:10:05] Production.INFO: Date 2025-03-13 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.INFO: Date 2025-03-14 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.INFO: Date 2025-03-15 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.INFO: Date 2025-03-16 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.ERROR: done [2025-03-20 12:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:10:05] Production.INFO: Total Charge 0 [2025-03-20 12:10:05] Production.INFO: CreateAllLog End [2025-03-20 12:10:05] Production.INFO: Account Balance End. [2025-03-20 12:10:06] Production.ERROR: CronJobId end 12 [2025-03-20 12:10:06] Production.INFO: ==22415== Releasing lock... [2025-03-20 12:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:10:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:10:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:10:07 [end_date_ymd] => 2025-03-20 12:10:07 [RateCDR] => 1 ) [2025-03-20 12:10:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:10:07' and `end` < '2025-03-20 12:10:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722748', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 12:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 12:10:09] Production.INFO: ProcessCDR(1,14722748,1,1,2) [2025-03-20 12:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722748,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722748,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:10:09] Production.INFO: ==22419== Releasing lock... [2025-03-20 12:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 12:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 12:10:14] Production.ERROR: CronJobId end10 [2025-03-20 12:10:14] Production.INFO: ==22413== Releasing lock... [2025-03-20 12:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:10:17] Production.INFO: call_cost start [2025-03-20 12:10:17] Production.INFO: call_cost end [2025-03-20 12:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:10:18] Production.INFO: ==22409== Releasing lock... [2025-03-20 12:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:10:20] Production.INFO: count ==5637 [2025-03-20 12:10:23] Production.ERROR: pbx CDR StartTime 2025-03-20 09:10:07 - End Time 2025-03-20 12:10:07 [2025-03-20 12:10:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722749', 'tblTempUsageDetail_20' ) start [2025-03-20 12:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722749', 'tblTempUsageDetail_20' ) end [2025-03-20 12:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722749', 'tblTempVendorCDR_20' ) start [2025-03-20 12:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722749', 'tblTempVendorCDR_20' ) end [2025-03-20 12:10:23] Production.INFO: ProcessCDR(1,14722749,1,1,2) [2025-03-20 12:10:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:10:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722749,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:10:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722749,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722749', 'tblTempUsageDetail_20' ) start [2025-03-20 12:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722749', 'tblTempUsageDetail_20' ) end [2025-03-20 12:10:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:10:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:10:28] Production.INFO: ==22417== Releasing lock... [2025-03-20 12:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:10:28] Production.INFO: 70.25 MB #Memory Used# [2025-03-20 16:11:01] Production.INFO: ==22488== Lock acquired, processing the job... [2025-03-20 16:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:11:01] Production.INFO: neon service started [2025-03-20 16:11:01] Production.INFO: neon service started [2025-03-20 16:11:01] Production.INFO: ==22488== Releasing lock... [2025-03-20 16:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:11:02] Production.INFO: ==22492== Lock acquired, processing the job... [2025-03-20 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:11:02] Production.INFO: ==22492== Releasing lock... [2025-03-20 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:11:02] Production.INFO: ==22490== Lock acquired, processing the job... [2025-03-20 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:11:02] Production.INFO: ==22490== Releasing lock... [2025-03-20 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:11:03] Production.INFO: ==22496== Lock acquired, processing the job... [2025-03-20 12:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:11:03] Production.INFO: ==22500== Lock acquired, processing the job... [2025-03-20 12:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:11:03] Production.INFO: ==22504== Lock acquired, processing the job... [2025-03-20 12:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:11:03] Production.INFO: ==22498== Lock acquired, processing the job... [2025-03-20 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:11:03] Production.INFO: ==22502== Lock acquired, processing the job... [2025-03-20 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:11:03] Production.INFO: ==22507== Lock acquired, processing the job... [2025-03-20 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:11:03] Production.INFO: Account Balance Start. [2025-03-20 12:11:03] Production.INFO: CreateAllLog Start [2025-03-20 12:11:03] Production.INFO: 117 [2025-03-20 12:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:03] Production.ERROR: done [2025-03-20 12:11:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 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-03-20 12:11:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.INFO: count ==12 [2025-03-20 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-03-20 12:11:04] Production.INFO: count ==23 [2025-03-20 12:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722753') start [2025-03-20 12:11:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:11:04] Production.ERROR: done [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722753') end [2025-03-20 12:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:11:04] Production.INFO: 1 [2025-03-20 12:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:11:04] Production.INFO: ==22498== Releasing lock... [2025-03-20 12:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:11:04] Production.INFO: ==22507== Releasing lock... [2025-03-20 12:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:11:04] Production.INFO: Total Charge 0 [2025-03-20 12:11:04] Production.INFO: CreateAllLog End [2025-03-20 12:11:04] Production.INFO: Account Balance End. [2025-03-20 12:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:11:04] Production.INFO: ==22502== Releasing lock... [2025-03-20 12:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:11:05 [end_date_ymd] => 2025-03-20 12:11:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:11:05' and `end` < '2025-03-20 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-03-20 12:11:13] Production.ERROR: CronJobId end10 [2025-03-20 12:11:13] Production.INFO: ==22500== Releasing lock... [2025-03-20 12:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:11:15] Production.INFO: call_cost start [2025-03-20 12:11:15] Production.INFO: call_cost end [2025-03-20 12:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:11:16] Production.INFO: ==22496== Releasing lock... [2025-03-20 12:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:11:18] Production.INFO: count ==5678 [2025-03-20 12:11:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:11:05 - End Time 2025-03-20 12:11:05 [2025-03-20 12:11:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722754', 'tblTempUsageDetail_20' ) start [2025-03-20 12:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722754', 'tblTempUsageDetail_20' ) end [2025-03-20 12:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722754', 'tblTempVendorCDR_20' ) start [2025-03-20 12:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722754', 'tblTempVendorCDR_20' ) end [2025-03-20 12:11:21] Production.INFO: ProcessCDR(1,14722754,1,1,2) [2025-03-20 12:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:11:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722754,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:11:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:11:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722754,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722754', 'tblTempUsageDetail_20' ) start [2025-03-20 12:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722754', 'tblTempUsageDetail_20' ) end [2025-03-20 12:11:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:11:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:11:26] Production.INFO: ==22504== Releasing lock... [2025-03-20 12:11:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:11:26] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 16:12:02] Production.INFO: ==22585== Lock acquired, processing the job... [2025-03-20 16:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:12:02] Production.INFO: neon service started [2025-03-20 16:12:02] Production.INFO: neon service started [2025-03-20 16:12:02] Production.INFO: ==22585== Releasing lock... [2025-03-20 16:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:12:02] Production.INFO: ==22589== Lock acquired, processing the job... [2025-03-20 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:12:02] Production.INFO: ==22589== Releasing lock... [2025-03-20 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:12:02] Production.INFO: ==22587== Lock acquired, processing the job... [2025-03-20 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:12:02] Production.INFO: ==22587== Releasing lock... [2025-03-20 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:12:03] Production.INFO: ==22592== Lock acquired, processing the job... [2025-03-20 12:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:12:03] Production.INFO: ==22602== Lock acquired, processing the job... [2025-03-20 12:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:12:03] Production.INFO: ==22594== Lock acquired, processing the job... [2025-03-20 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:12:03] Production.INFO: ==22596== Lock acquired, processing the job... [2025-03-20 12:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 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-03-20 12:12:03] Production.INFO: count ==12 [2025-03-20 12:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:12:04] Production.INFO: count ==23 [2025-03-20 12:12:03] Production.INFO: ==22598== Lock acquired, processing the job... [2025-03-20 12:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722756') start [2025-03-20 12:12:04] Production.INFO: ==22600== Lock acquired, processing the job... [2025-03-20 12:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:12:04] Production.INFO: Account Balance Start. [2025-03-20 12:12:04] Production.INFO: CreateAllLog Start [2025-03-20 12:12:04] Production.INFO: 117 [2025-03-20 12:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722756') end [2025-03-20 12:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:12:04] Production.INFO: 1 [2025-03-20 12:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.INFO: ==22602== Releasing lock... [2025-03-20 12:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.INFO: ==22594== Releasing lock... [2025-03-20 12:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:12:04] Production.ERROR: done [2025-03-20 12:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:12:04] Production.ERROR: done [2025-03-20 12:12:04] Production.INFO: Total Charge 0 [2025-03-20 12:12:04] Production.INFO: CreateAllLog End [2025-03-20 12:12:04] Production.INFO: Account Balance End. [2025-03-20 12:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:12:05] Production.INFO: ==22598== Releasing lock... [2025-03-20 12:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:12:05 [end_date_ymd] => 2025-03-20 12:12:05 [RateCDR] => 1 ) [2025-03-20 12:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:12:05' and `end` < '2025-03-20 12:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:12:11] Production.ERROR: CronJobId end10 [2025-03-20 12:12:11] Production.INFO: ==22596== Releasing lock... [2025-03-20 12:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:12:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:12:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:12:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:12:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:12:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:12:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:12:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:12:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:12:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:12:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:12:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:12:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:12:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:12:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:12:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:12:14] Production.INFO: call_cost start [2025-03-20 12:12:14] Production.INFO: call_cost end [2025-03-20 12:12:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:12:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:12:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:12:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:12:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:12:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:12:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:12:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:12:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:12:15] Production.INFO: ==22592== Releasing lock... [2025-03-20 12:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:12:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:12:19] Production.INFO: count ==5681 [2025-03-20 12:12:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:12:05 - End Time 2025-03-20 12:12:05 [2025-03-20 12:12:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722759', 'tblTempUsageDetail_20' ) start [2025-03-20 12:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722759', 'tblTempUsageDetail_20' ) end [2025-03-20 12:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722759', 'tblTempVendorCDR_20' ) start [2025-03-20 12:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722759', 'tblTempVendorCDR_20' ) end [2025-03-20 12:12:21] Production.INFO: ProcessCDR(1,14722759,1,1,2) [2025-03-20 12:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:12:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722759,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:12:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722759,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722759', 'tblTempUsageDetail_20' ) start [2025-03-20 12:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722759', 'tblTempUsageDetail_20' ) end [2025-03-20 12:12:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:12:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:12:27] Production.INFO: ==22600== Releasing lock... [2025-03-20 12:12:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:12:27] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 16:13:01] Production.INFO: ==22667== Lock acquired, processing the job... [2025-03-20 16:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:13:01] Production.INFO: neon service started [2025-03-20 16:13:01] Production.INFO: neon service started [2025-03-20 16:13:01] Production.INFO: ==22667== Releasing lock... [2025-03-20 16:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:13:01] Production.INFO: ==22669== Lock acquired, processing the job... [2025-03-20 12:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:13:02] Production.INFO: ==22669== Releasing lock... [2025-03-20 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:13:02] Production.INFO: ==22671== Lock acquired, processing the job... [2025-03-20 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:13:02] Production.INFO: ==22671== Releasing lock... [2025-03-20 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:13:03] Production.INFO: ==22685== Lock acquired, processing the job... [2025-03-20 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:13:03] Production.INFO: ==22683== Lock acquired, processing the job... [2025-03-20 12:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:13:03] Production.INFO: ==22675== Lock acquired, processing the job... [2025-03-20 12:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:13:03] Production.INFO: ==22679== Lock acquired, processing the job... [2025-03-20 12:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:13:03] Production.INFO: ==22677== Lock acquired, processing the job... [2025-03-20 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:13:03] Production.INFO: ==22681== Lock acquired, processing the job... [2025-03-20 12:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 12:13:03] Production.INFO: count ==12 [2025-03-20 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-03-20 12:13:03] Production.INFO: count ==23 [2025-03-20 12:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722760') start [2025-03-20 12:13:03] Production.INFO: Account Balance Start. [2025-03-20 12:13:03] Production.INFO: CreateAllLog Start [2025-03-20 12:13:03] Production.INFO: 117 [2025-03-20 12:13:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722760') end [2025-03-20 12:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:13:03] Production.INFO: 1 [2025-03-20 12:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:13:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:03] Production.ERROR: done [2025-03-20 12:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:13:03] Production.INFO: ==22685== Releasing lock... [2025-03-20 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:13:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:13:03] Production.INFO: ==22677== Releasing lock... [2025-03-20 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:13:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:03] Production.INFO: Date 2025-03-13 [2025-03-20 12:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:03] Production.INFO: Date 2025-03-14 [2025-03-20 12:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:03] Production.INFO: Date 2025-03-15 [2025-03-20 12:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:03] Production.INFO: Date 2025-03-16 [2025-03-20 12:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:04] Production.ERROR: done [2025-03-20 12:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:13:04] Production.INFO: Total Charge 0 [2025-03-20 12:13:04] Production.INFO: CreateAllLog End [2025-03-20 12:13:04] Production.INFO: Account Balance End. [2025-03-20 12:13:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:13:04] Production.INFO: ==22681== Releasing lock... [2025-03-20 12:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:13:05 [end_date_ymd] => 2025-03-20 12:13:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:13:05' and `end` < '2025-03-20 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-03-20 12:13:11] Production.ERROR: CronJobId end10 [2025-03-20 12:13:11] Production.INFO: ==22679== Releasing lock... [2025-03-20 12:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:13:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:13:14] Production.INFO: call_cost start [2025-03-20 12:13:14] Production.INFO: call_cost end [2025-03-20 12:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:13:15] Production.INFO: ==22675== Releasing lock... [2025-03-20 12:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:13:18] Production.INFO: count ==5697 [2025-03-20 12:13:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:13:05 - End Time 2025-03-20 12:13:05 [2025-03-20 12:13:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722764', 'tblTempUsageDetail_20' ) start [2025-03-20 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722764', 'tblTempUsageDetail_20' ) end [2025-03-20 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722764', 'tblTempVendorCDR_20' ) start [2025-03-20 12:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722764', 'tblTempVendorCDR_20' ) end [2025-03-20 12:13:21] Production.INFO: ProcessCDR(1,14722764,1,1,2) [2025-03-20 12:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722764,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722764,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722764', 'tblTempUsageDetail_20' ) start [2025-03-20 12:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722764', 'tblTempUsageDetail_20' ) end [2025-03-20 12:13:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:13:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:13:26] Production.INFO: ==22683== Releasing lock... [2025-03-20 12:13:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:13:26] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:14:01] Production.INFO: ==22746== Lock acquired, processing the job... [2025-03-20 16:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:14:02] Production.INFO: neon service started [2025-03-20 16:14:02] Production.INFO: neon service started [2025-03-20 16:14:02] Production.INFO: ==22746== Releasing lock... [2025-03-20 16:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:14:02] Production.INFO: ==22748== Lock acquired, processing the job... [2025-03-20 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:14:02] Production.INFO: ==22751== Lock acquired, processing the job... [2025-03-20 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:14:02] Production.INFO: ==22751== Releasing lock... [2025-03-20 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:14:03] Production.INFO: ==22748== Releasing lock... [2025-03-20 12:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:14:03] Production.INFO: ==22755== Lock acquired, processing the job... [2025-03-20 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:14:04] Production.INFO: ==22761== Lock acquired, processing the job... [2025-03-20 12:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:14:04] Production.INFO: ==22753== Lock acquired, processing the job... [2025-03-20 12:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:14:04] Production.INFO: ==22757== Lock acquired, processing the job... [2025-03-20 12:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:14:04] Production.INFO: ==22759== Lock acquired, processing the job... [2025-03-20 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:14:04] Production.INFO: ==22755== Releasing lock... [2025-03-20 12:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:14:04] Production.INFO: ==22763== Lock acquired, processing the job... [2025-03-20 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:14:04] Production.INFO: Account Balance Start. [2025-03-20 12:14:04] Production.INFO: CreateAllLog Start [2025-03-20 12:14:04] Production.INFO: 117 [2025-03-20 12:14:04] Production.INFO: count ==12 [2025-03-20 12:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:14:04] Production.INFO: count ==23 [2025-03-20 12:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722768') start [2025-03-20 12:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:04] Production.ERROR: done [2025-03-20 12:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722768') end [2025-03-20 12:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:14:04] Production.INFO: 1 [2025-03-20 12:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:04] Production.INFO: ==22763== Releasing lock... [2025-03-20 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:04] Production.ERROR: done [2025-03-20 12:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:14:05] Production.INFO: Total Charge 0 [2025-03-20 12:14:05] Production.INFO: CreateAllLog End [2025-03-20 12:14:05] Production.INFO: Account Balance End. [2025-03-20 12:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:14:05] Production.INFO: ==22759== Releasing lock... [2025-03-20 12:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:14:06 [end_date_ymd] => 2025-03-20 12:14:06 [RateCDR] => 1 ) [2025-03-20 12: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-03-20 09:14:06' and `end` < '2025-03-20 12: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-03-20 12:14:13] Production.ERROR: CronJobId end10 [2025-03-20 12:14:13] Production.INFO: ==22757== Releasing lock... [2025-03-20 12:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:14:15] Production.INFO: call_cost start [2025-03-20 12:14:15] Production.INFO: call_cost end [2025-03-20 12:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:14:16] Production.INFO: ==22753== Releasing lock... [2025-03-20 12:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:14:19] Production.INFO: count ==5697 [2025-03-20 12:14:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:14:06 - End Time 2025-03-20 12:14:06 [2025-03-20 12:14:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722769', 'tblTempUsageDetail_20' ) start [2025-03-20 12:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722769', 'tblTempUsageDetail_20' ) end [2025-03-20 12:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722769', 'tblTempVendorCDR_20' ) start [2025-03-20 12:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722769', 'tblTempVendorCDR_20' ) end [2025-03-20 12:14:22] Production.INFO: ProcessCDR(1,14722769,1,1,2) [2025-03-20 12:14:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:14:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:14:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:14:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722769', 'tblTempUsageDetail_20' ) start [2025-03-20 12:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722769', 'tblTempUsageDetail_20' ) end [2025-03-20 12:14:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:14:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:14:27] Production.INFO: ==22761== Releasing lock... [2025-03-20 12:14:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:14:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:15:01] Production.INFO: ==22829== Lock acquired, processing the job... [2025-03-20 16:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:15:01] Production.INFO: neon service started [2025-03-20 16:15:01] Production.INFO: neon service started [2025-03-20 16:15:01] Production.INFO: ==22829== Releasing lock... [2025-03-20 16:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:15:01] Production.INFO: ==22833== Lock acquired, processing the job... [2025-03-20 16:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:15:01] Production.INFO: ==22833== Releasing lock... [2025-03-20 16:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:15:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:15:02] Production.INFO: ==22831== Lock acquired, processing the job... [2025-03-20 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:15:02] Production.INFO: ==22831== Releasing lock... [2025-03-20 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:15:03] Production.INFO: ==22836== Lock acquired, processing the job... [2025-03-20 12:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:15:03] Production.INFO: ==22838== Lock acquired, processing the job... [2025-03-20 12:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:15:03] Production.INFO: ==22844== Lock acquired, processing the job... [2025-03-20 12:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:15:03] Production.INFO: ==22840== Lock acquired, processing the job... [2025-03-20 12:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:15:03] Production.INFO: ==22842== Lock acquired, processing the job... [2025-03-20 12:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:15:03] Production.ERROR: done [2025-03-20 12:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:15:03] Production.INFO: Account Balance Start. [2025-03-20 12:15:03] Production.INFO: CreateAllLog Start [2025-03-20 12:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:15:03] Production.INFO: 117 [2025-03-20 12:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:03] Production.INFO: ==22846== Lock acquired, processing the job... [2025-03-20 12:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:15:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:04] Production.ERROR: done [2025-03-20 12:15:04] Production.INFO: ==22838== Releasing lock... [2025-03-20 12:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 12:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:04] Production.INFO: count ==12 [2025-03-20 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-03-20 12:15:04] Production.INFO: count ==23 [2025-03-20 12:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722774') start [2025-03-20 12:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722774') end [2025-03-20 12:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:15:04] Production.INFO: 1 [2025-03-20 12:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:04] Production.INFO: ==22846== Releasing lock... [2025-03-20 12:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:15:04] Production.INFO: Total Charge 0 [2025-03-20 12:15:04] Production.INFO: CreateAllLog End [2025-03-20 12:15:04] Production.INFO: Account Balance End. [2025-03-20 12:15:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:15:05] Production.INFO: ==22842== Releasing lock... [2025-03-20 12:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:15:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:15:05 [end_date_ymd] => 2025-03-20 12:15:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:15:05' and `end` < '2025-03-20 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-03-20 12:15:13] Production.ERROR: CronJobId end10 [2025-03-20 12:15:13] Production.INFO: ==22840== Releasing lock... [2025-03-20 12:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:15:15] Production.INFO: call_cost start [2025-03-20 12:15:15] Production.INFO: call_cost end [2025-03-20 12:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:15:16] Production.INFO: ==22836== Releasing lock... [2025-03-20 12:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:15:18] Production.INFO: count ==5716 [2025-03-20 12:15:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:15:05 - End Time 2025-03-20 12:15:05 [2025-03-20 12:15:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722773', 'tblTempUsageDetail_20' ) start [2025-03-20 12:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722773', 'tblTempUsageDetail_20' ) end [2025-03-20 12:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722773', 'tblTempVendorCDR_20' ) start [2025-03-20 12:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722773', 'tblTempVendorCDR_20' ) end [2025-03-20 12:15:21] Production.INFO: ProcessCDR(1,14722773,1,1,2) [2025-03-20 12:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:15:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:15:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:15:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722773', 'tblTempUsageDetail_20' ) start [2025-03-20 12:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722773', 'tblTempUsageDetail_20' ) end [2025-03-20 12:15:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:15:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:15:27] Production.INFO: ==22844== Releasing lock... [2025-03-20 12:15:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:15:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:16:01] Production.INFO: ==22916== Lock acquired, processing the job... [2025-03-20 16:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:16:01] Production.INFO: neon service started [2025-03-20 16:16:01] Production.INFO: neon service started [2025-03-20 16:16:01] Production.INFO: ==22916== Releasing lock... [2025-03-20 16:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:16:02] Production.INFO: ==22920== Lock acquired, processing the job... [2025-03-20 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:16:02] Production.INFO: ==22920== Releasing lock... [2025-03-20 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:16:02] Production.INFO: ==22918== Lock acquired, processing the job... [2025-03-20 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:16:02] Production.INFO: ==22918== Releasing lock... [2025-03-20 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:16:03] Production.INFO: ==22923== Lock acquired, processing the job... [2025-03-20 12:16:03] Production.INFO: ==22929== Lock acquired, processing the job... [2025-03-20 12:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:16:03] Production.INFO: ==22927== Lock acquired, processing the job... [2025-03-20 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:16:03] Production.INFO: ==22933== Lock acquired, processing the job... [2025-03-20 12:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:16:03] Production.INFO: ==22931== Lock acquired, processing the job... [2025-03-20 12:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:16:03] Production.INFO: ==22935== Lock acquired, processing the job... [2025-03-20 12:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:16:03] Production.INFO: ==22927== Releasing lock... [2025-03-20 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:16:04] Production.INFO: Account Balance Start. [2025-03-20 12:16:04] Production.INFO: CreateAllLog Start [2025-03-20 12:16:04] Production.INFO: 117 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.INFO: count ==12 [2025-03-20 12:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:16:04] Production.INFO: count ==23 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722777') start [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.ERROR: done [2025-03-20 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722777') end [2025-03-20 12:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:16:04] Production.INFO: 1 [2025-03-20 12:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:16:04] Production.INFO: ==22935== Releasing lock... [2025-03-20 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.ERROR: done [2025-03-20 12:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:16:04] Production.INFO: Total Charge 0 [2025-03-20 12:16:04] Production.INFO: CreateAllLog End [2025-03-20 12:16:04] Production.INFO: Account Balance End. [2025-03-20 12:16:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:16:04] Production.INFO: ==22931== Releasing lock... [2025-03-20 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:16:05 [end_date_ymd] => 2025-03-20 12:16:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:16:05' and `end` < '2025-03-20 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-03-20 12:16:13] Production.ERROR: CronJobId end10 [2025-03-20 12:16:13] Production.INFO: ==22929== Releasing lock... [2025-03-20 12:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:16:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:16:15] Production.INFO: call_cost start [2025-03-20 12:16:15] Production.INFO: call_cost end [2025-03-20 12:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:16:16] Production.INFO: ==22923== Releasing lock... [2025-03-20 12:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:16:19] Production.INFO: count ==5706 [2025-03-20 12:16:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:16:05 - End Time 2025-03-20 12:16:05 [2025-03-20 12:16:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722779', 'tblTempUsageDetail_20' ) start [2025-03-20 12:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722779', 'tblTempUsageDetail_20' ) end [2025-03-20 12:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722779', 'tblTempVendorCDR_20' ) start [2025-03-20 12:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722779', 'tblTempVendorCDR_20' ) end [2025-03-20 12:16:21] Production.INFO: ProcessCDR(1,14722779,1,1,2) [2025-03-20 12:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:16:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722779', 'tblTempUsageDetail_20' ) start [2025-03-20 12:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722779', 'tblTempUsageDetail_20' ) end [2025-03-20 12:16:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:16:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:16:27] Production.INFO: ==22933== Releasing lock... [2025-03-20 12:16:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:16:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:17:02] Production.INFO: ==23004== Lock acquired, processing the job... [2025-03-20 16:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:17:02] Production.INFO: neon service started [2025-03-20 16:17:02] Production.INFO: neon service started [2025-03-20 16:17:02] Production.INFO: ==23004== Releasing lock... [2025-03-20 16:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:17:02] Production.INFO: ==23008== Lock acquired, processing the job... [2025-03-20 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:17:02] Production.INFO: ==23008== Releasing lock... [2025-03-20 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:17:02] Production.INFO: ==23006== Lock acquired, processing the job... [2025-03-20 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:17:03] Production.INFO: ==23006== Releasing lock... [2025-03-20 12:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:17:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:17:03] Production.INFO: ==23011== Lock acquired, processing the job... [2025-03-20 12:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:17:03] Production.INFO: ==23013== Lock acquired, processing the job... [2025-03-20 12:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:17:04] Production.INFO: ==23019== Lock acquired, processing the job... [2025-03-20 12:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:17:04] Production.INFO: ==23015== Lock acquired, processing the job... [2025-03-20 12:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:17:04] Production.INFO: ==23017== Lock acquired, processing the job... [2025-03-20 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:17:04] Production.INFO: ==23021== Lock acquired, processing the job... [2025-03-20 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:17:04] Production.INFO: ==23013== Releasing lock... [2025-03-20 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:17:04] Production.INFO: Account Balance Start. [2025-03-20 12:17:04] Production.INFO: CreateAllLog Start [2025-03-20 12:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:17:04] Production.INFO: 117 [2025-03-20 12:17:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:04] Production.ERROR: done [2025-03-20 12:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:17:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:17:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:04] Production.INFO: count ==12 [2025-03-20 12:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:17:04] Production.INFO: count ==23 [2025-03-20 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722783') start [2025-03-20 12:17:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:04] Production.ERROR: done [2025-03-20 12:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722783') end [2025-03-20 12:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:17:04] Production.INFO: 1 [2025-03-20 12:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:17:05] Production.INFO: ==23021== Releasing lock... [2025-03-20 12:17:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:17:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:17:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:17:05] Production.INFO: Total Charge 0 [2025-03-20 12:17:05] Production.INFO: CreateAllLog End [2025-03-20 12:17:05] Production.INFO: Account Balance End. [2025-03-20 12:17:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:17:05] Production.INFO: ==23017== Releasing lock... [2025-03-20 12:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:17:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:17:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:17:06 [end_date_ymd] => 2025-03-20 12:17:06 [RateCDR] => 1 ) [2025-03-20 12:17:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:17:06' and `end` < '2025-03-20 12:17:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:17:12] Production.ERROR: CronJobId end10 [2025-03-20 12:17:12] Production.INFO: ==23015== Releasing lock... [2025-03-20 12:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:17:15] Production.INFO: call_cost start [2025-03-20 12:17:15] Production.INFO: call_cost end [2025-03-20 12:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:17:16] Production.INFO: ==23011== Releasing lock... [2025-03-20 12:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:17:19] Production.INFO: count ==5710 [2025-03-20 12:17:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:17:06 - End Time 2025-03-20 12:17:06 [2025-03-20 12:17:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722784', 'tblTempUsageDetail_20' ) start [2025-03-20 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722784', 'tblTempUsageDetail_20' ) end [2025-03-20 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722784', 'tblTempVendorCDR_20' ) start [2025-03-20 12:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722784', 'tblTempVendorCDR_20' ) end [2025-03-20 12:17:22] Production.INFO: ProcessCDR(1,14722784,1,1,2) [2025-03-20 12:17:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:17:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:17:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:17:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722784', 'tblTempUsageDetail_20' ) start [2025-03-20 12:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722784', 'tblTempUsageDetail_20' ) end [2025-03-20 12:17:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:17:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:17:27] Production.INFO: ==23019== Releasing lock... [2025-03-20 12:17:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:17:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:18:01] Production.INFO: ==23115== Lock acquired, processing the job... [2025-03-20 16:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:18:01] Production.INFO: neon service started [2025-03-20 16:18:01] Production.INFO: neon service started [2025-03-20 16:18:01] Production.INFO: ==23115== Releasing lock... [2025-03-20 16:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:18:02] Production.INFO: ==23117== Lock acquired, processing the job... [2025-03-20 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:18:02] Production.INFO: ==23119== Lock acquired, processing the job... [2025-03-20 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:18:02] Production.INFO: ==23119== Releasing lock... [2025-03-20 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:18:02] Production.INFO: 26 MB #Memory Used# [2025-03-20 12:18:02] Production.INFO: ==23117== Releasing lock... [2025-03-20 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:18:03] Production.INFO: ==23128== Lock acquired, processing the job... [2025-03-20 12:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:18:03] Production.INFO: ==23132== Lock acquired, processing the job... [2025-03-20 12:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:18:03] Production.INFO: ==23124== Lock acquired, processing the job... [2025-03-20 12:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:18:03] Production.INFO: ==23126== Lock acquired, processing the job... [2025-03-20 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:18:03] Production.INFO: ==23130== Lock acquired, processing the job... [2025-03-20 12:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:18:04] Production.INFO: ==23134== Lock acquired, processing the job... [2025-03-20 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:18:04] Production.ERROR: done [2025-03-20 12:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:18:04] Production.INFO: Account Balance Start. [2025-03-20 12:18:04] Production.INFO: CreateAllLog Start [2025-03-20 12:18:04] Production.INFO: 117 [2025-03-20 12:18:04] Production.INFO: ==23126== Releasing lock... [2025-03-20 12:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:18:04] Production.ERROR: done [2025-03-20 12:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 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-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: count ==12 [2025-03-20 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-03-20 12:18:04] Production.INFO: count ==23 [2025-03-20 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722788') start [2025-03-20 12:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722788') end [2025-03-20 12:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:18:04] Production.INFO: 1 [2025-03-20 12:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: ==23134== Releasing lock... [2025-03-20 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:18:04] Production.INFO: Total Charge 0 [2025-03-20 12:18:04] Production.INFO: CreateAllLog End [2025-03-20 12:18:05] Production.INFO: Account Balance End. [2025-03-20 12:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:18:05] Production.INFO: ==23130== Releasing lock... [2025-03-20 12:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:18:05 [end_date_ymd] => 2025-03-20 12:18:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:18:05' and `end` < '2025-03-20 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-03-20 12:18:13] Production.ERROR: CronJobId end10 [2025-03-20 12:18:13] Production.INFO: ==23128== Releasing lock... [2025-03-20 12:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:18:16] Production.INFO: call_cost start [2025-03-20 12:18:16] Production.INFO: call_cost end [2025-03-20 12:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:18:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:18:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:18:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:18:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:18:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:18:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:18:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:18:17] Production.INFO: ==23124== Releasing lock... [2025-03-20 12:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:18:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:18:19] Production.INFO: count ==5709 [2025-03-20 12:18:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:18:05 - End Time 2025-03-20 12:18:05 [2025-03-20 12:18:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722789', 'tblTempUsageDetail_20' ) start [2025-03-20 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722789', 'tblTempUsageDetail_20' ) end [2025-03-20 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722789', 'tblTempVendorCDR_20' ) start [2025-03-20 12:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722789', 'tblTempVendorCDR_20' ) end [2025-03-20 12:18:21] Production.INFO: ProcessCDR(1,14722789,1,1,2) [2025-03-20 12:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:18:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:18:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:18:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722789', 'tblTempUsageDetail_20' ) start [2025-03-20 12:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722789', 'tblTempUsageDetail_20' ) end [2025-03-20 12:18:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:18:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:18:27] Production.INFO: ==23132== Releasing lock... [2025-03-20 12:18:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:18:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:19:02] Production.INFO: ==23200== Lock acquired, processing the job... [2025-03-20 16:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:19:02] Production.INFO: neon service started [2025-03-20 16:19:02] Production.INFO: neon service started [2025-03-20 16:19:02] Production.INFO: ==23200== Releasing lock... [2025-03-20 16:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:19:02] Production.INFO: ==23202== Lock acquired, processing the job... [2025-03-20 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:19:02] Production.INFO: ==23204== Lock acquired, processing the job... [2025-03-20 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:19:02] Production.INFO: ==23204== Releasing lock... [2025-03-20 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:19:03] Production.INFO: ==23202== Releasing lock... [2025-03-20 12:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:19:04] Production.INFO: ==23209== Lock acquired, processing the job... [2025-03-20 12:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:19:04] Production.INFO: ==23211== Lock acquired, processing the job... [2025-03-20 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:19:04] Production.INFO: ==23213== Lock acquired, processing the job... [2025-03-20 12:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:19:04] Production.INFO: ==23215== Lock acquired, processing the job... [2025-03-20 12:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:19:04] Production.INFO: ==23211== Releasing lock... [2025-03-20 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:19:04] Production.INFO: ==23217== Lock acquired, processing the job... [2025-03-20 12:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:19:04] Production.INFO: ==23219== Lock acquired, processing the job... [2025-03-20 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:19:04] Production.INFO: Account Balance Start. [2025-03-20 12:19:04] Production.INFO: CreateAllLog Start [2025-03-20 12:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:19:04] Production.INFO: 117 [2025-03-20 12:19:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:19:04] Production.INFO: count ==12 [2025-03-20 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:19:04] Production.INFO: count ==23 [2025-03-20 12:19:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722793') start [2025-03-20 12:19:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722793') end [2025-03-20 12:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:19:04] Production.INFO: 1 [2025-03-20 12:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:19:04] Production.ERROR: done [2025-03-20 12:19:04] Production.INFO: ==23219== Releasing lock... [2025-03-20 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:19:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:19:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:19:05] Production.INFO: Total Charge 0 [2025-03-20 12:19:05] Production.INFO: CreateAllLog End [2025-03-20 12:19:05] Production.ERROR: done [2025-03-20 12:19:05] Production.INFO: Account Balance End. [2025-03-20 12:19:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:19:05] Production.INFO: ==23215== Releasing lock... [2025-03-20 12:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:19:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:19:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:19:06 [end_date_ymd] => 2025-03-20 12:19:06 [RateCDR] => 1 ) [2025-03-20 12:19:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:19:06' and `end` < '2025-03-20 12:19:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:19:13] Production.ERROR: CronJobId end10 [2025-03-20 12:19:13] Production.INFO: ==23213== Releasing lock... [2025-03-20 12:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:19:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:19:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:19:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:19:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:19:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:19:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:19:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:19:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:19:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:19:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:19:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:19:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:19:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:19:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:19:15] Production.INFO: call_cost start [2025-03-20 12:19:15] Production.INFO: call_cost end [2025-03-20 12:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:19:16] Production.INFO: ==23209== Releasing lock... [2025-03-20 12:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:19:19] Production.INFO: count ==5708 [2025-03-20 12:19:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:19:06 - End Time 2025-03-20 12:19:06 [2025-03-20 12:19:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722794', 'tblTempUsageDetail_20' ) start [2025-03-20 12:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722794', 'tblTempUsageDetail_20' ) end [2025-03-20 12:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722794', 'tblTempVendorCDR_20' ) start [2025-03-20 12:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722794', 'tblTempVendorCDR_20' ) end [2025-03-20 12:19:22] Production.INFO: ProcessCDR(1,14722794,1,1,2) [2025-03-20 12:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:19:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:19:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:19:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722794', 'tblTempUsageDetail_20' ) start [2025-03-20 12:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722794', 'tblTempUsageDetail_20' ) end [2025-03-20 12:19:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:19:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:19:27] Production.INFO: ==23217== Releasing lock... [2025-03-20 12:19:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:19:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:20:01] Production.INFO: ==23281== Lock acquired, processing the job... [2025-03-20 16:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:20:01] Production.INFO: neon service started [2025-03-20 16:20:01] Production.INFO: neon service started [2025-03-20 16:20:01] Production.INFO: ==23281== Releasing lock... [2025-03-20 16:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:20:02] Production.INFO: ==23285== Lock acquired, processing the job... [2025-03-20 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:20:02] Production.INFO: ==23285== Releasing lock... [2025-03-20 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:20:02] Production.INFO: ==23283== Lock acquired, processing the job... [2025-03-20 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:20:02] Production.INFO: ==23283== Releasing lock... [2025-03-20 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:20:03] Production.INFO: ==23294== Lock acquired, processing the job... [2025-03-20 12:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:20:03] Production.INFO: ==23300== Lock acquired, processing the job... [2025-03-20 12:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 12:20:04] Production.INFO: ==23302== Lock acquired, processing the job... [2025-03-20 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:20:04] Production.INFO: ==23288== Lock acquired, processing the job... [2025-03-20 12:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 12:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:20:04] Production.INFO: ==23290== Lock acquired, processing the job... [2025-03-20 12:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:20:04] Production.INFO: ==23292== Lock acquired, processing the job... [2025-03-20 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:20:04] Production.INFO: ==23298== Lock acquired, processing the job... [2025-03-20 12:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:20:04] Production.INFO: ==23296== Lock acquired, processing the job... [2025-03-20 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:20:04] Production.ERROR: CronJob PID - 23290 [2025-03-20 12:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 12:20:04] Production.ERROR: CronJob ID - 5 [2025-03-20 12:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 12:20:00 [2025-03-20 12:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:20:04] Production.ERROR: CronJob PID - 23292 [2025-03-20 12:20:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 12:20:04] Production.ERROR: CronJob ID - 7 [2025-03-20 12:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 12:20:00 [2025-03-20 12:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:20:04] Production.ERROR: CronJob PID - 23294 [2025-03-20 12:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 12:20:04] Production.ERROR: CronJob ID - 10 [2025-03-20 12:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 12:20:00 [2025-03-20 12:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:20:04] Production.ERROR: CronJob PID - 23298 [2025-03-20 12:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 12:20:04] Production.ERROR: CronJob ID - 16 [2025-03-20 12:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 12:20:00 [2025-03-20 12:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:20:04] Production.ERROR: CronJob PID - 23300 [2025-03-20 12:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 12:20:04] Production.ERROR: CronJob ID - 17 [2025-03-20 12:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 12:20:00 [2025-03-20 12:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 12:20:04] Production.ERROR: CronJob PID - 23302 [2025-03-20 12:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 12:20:04] Production.ERROR: CronJob ID - 19 [2025-03-20 12:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 12:20:00 [2025-03-20 12:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 12:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 12:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 12:20:04] Production.INFO: count ==12 [2025-03-20 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-03-20 12:20:04] Production.INFO: count ==23 [2025-03-20 12:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 12:20:04] Production.INFO: ==23288== Releasing lock... [2025-03-20 12:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 12:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722795') start [2025-03-20 12:20:04] Production.ERROR: done [2025-03-20 12:20:04] Production.INFO: Account Balance Start. [2025-03-20 12:20:04] Production.INFO: CreateAllLog Start [2025-03-20 12:20:04] Production.INFO: 117 [2025-03-20 12:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 12:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722799', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722795') end [2025-03-20 12:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:20:04] Production.INFO: 1 [2025-03-20 12:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:04] Production.INFO: ==23302== Releasing lock... [2025-03-20 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:20:04] Production.ERROR: done [2025-03-20 12:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:20:04] Production.INFO: ==23292== Releasing lock... [2025-03-20 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:05] Production.ERROR: done [2025-03-20 12:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:20:05] Production.INFO: Total Charge 0 [2025-03-20 12:20:05] Production.INFO: CreateAllLog End [2025-03-20 12:20:05] Production.INFO: Account Balance End. [2025-03-20 12:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:20:05] Production.INFO: ==23296== Releasing lock... [2025-03-20 12:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:20:06 [end_date_ymd] => 2025-03-20 12:20:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:20:06' and `end` < '2025-03-20 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-03-20 12:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722799', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 12:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 12:20:09] Production.INFO: ProcessCDR(1,14722799,1,1,2) [2025-03-20 12:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722799,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722799,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:20:09] Production.INFO: ==23300== Releasing lock... [2025-03-20 12:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 12:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 12:20:14] Production.ERROR: CronJobId end10 [2025-03-20 12:20:14] Production.INFO: ==23294== Releasing lock... [2025-03-20 12:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:20:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:20:16] Production.INFO: call_cost start [2025-03-20 12:20:16] Production.INFO: call_cost end [2025-03-20 12:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:20:17] Production.INFO: ==23290== Releasing lock... [2025-03-20 12:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:20:19] Production.INFO: count ==5698 [2025-03-20 12:20:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:20:06 - End Time 2025-03-20 12:20:06 [2025-03-20 12:20:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722800', 'tblTempUsageDetail_20' ) start [2025-03-20 12:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722800', 'tblTempUsageDetail_20' ) end [2025-03-20 12:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722800', 'tblTempVendorCDR_20' ) start [2025-03-20 12:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722800', 'tblTempVendorCDR_20' ) end [2025-03-20 12:20:22] Production.INFO: ProcessCDR(1,14722800,1,1,2) [2025-03-20 12:20:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:20:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722800,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:20:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:20:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722800,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722800', 'tblTempUsageDetail_20' ) start [2025-03-20 12:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722800', 'tblTempUsageDetail_20' ) end [2025-03-20 12:20:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:20:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:20:27] Production.INFO: ==23298== Releasing lock... [2025-03-20 12:20:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:20:27] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:21:02] Production.INFO: ==23370== Lock acquired, processing the job... [2025-03-20 16:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:21:02] Production.INFO: neon service started [2025-03-20 16:21:02] Production.INFO: neon service started [2025-03-20 16:21:02] Production.INFO: ==23370== Releasing lock... [2025-03-20 16:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:21:02] Production.INFO: ==23372== Lock acquired, processing the job... [2025-03-20 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:21:02] Production.INFO: ==23372== Releasing lock... [2025-03-20 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:21:03] Production.INFO: ==23374== Lock acquired, processing the job... [2025-03-20 16:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:21:03] Production.INFO: ==23374== Releasing lock... [2025-03-20 16:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:21:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:21:03] Production.INFO: ==23387== Lock acquired, processing the job... [2025-03-20 12:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:21:03] Production.INFO: ==23377== Lock acquired, processing the job... [2025-03-20 12:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:21:04] Production.INFO: ==23385== Lock acquired, processing the job... [2025-03-20 12:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:21:04] Production.INFO: ==23379== Lock acquired, processing the job... [2025-03-20 12:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:21:04] Production.INFO: ==23381== Lock acquired, processing the job... [2025-03-20 12:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:21:04] Production.INFO: count ==12 [2025-03-20 12:21:04] Production.INFO: ==23383== Lock acquired, processing the job... [2025-03-20 12:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:21:04] Production.INFO: count ==23 [2025-03-20 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722801') start [2025-03-20 12:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:21:04] Production.INFO: Account Balance Start. [2025-03-20 12:21:04] Production.INFO: CreateAllLog Start [2025-03-20 12:21:04] Production.INFO: 117 [2025-03-20 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722801') end [2025-03-20 12:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:21:04] Production.INFO: 1 [2025-03-20 12:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:21:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:04] Production.INFO: ==23387== Releasing lock... [2025-03-20 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:21:04] Production.ERROR: done [2025-03-20 12:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:04] Production.INFO: ==23379== Releasing lock... [2025-03-20 12:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:21:04] Production.ERROR: done [2025-03-20 12:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:21:05] Production.INFO: Total Charge 0 [2025-03-20 12:21:05] Production.INFO: CreateAllLog End [2025-03-20 12:21:05] Production.INFO: Account Balance End. [2025-03-20 12:21:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:21:05] Production.INFO: ==23383== Releasing lock... [2025-03-20 12:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:21:05 [end_date_ymd] => 2025-03-20 12:21:05 [RateCDR] => 1 ) [2025-03-20 12:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:21:05' and `end` < '2025-03-20 12:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:21:13] Production.ERROR: CronJobId end10 [2025-03-20 12:21:13] Production.INFO: ==23381== Releasing lock... [2025-03-20 12:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:21:15] Production.INFO: call_cost start [2025-03-20 12:21:15] Production.INFO: call_cost end [2025-03-20 12:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:21:16] Production.INFO: ==23377== Releasing lock... [2025-03-20 12:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:21:19] Production.INFO: count ==5727 [2025-03-20 12:21:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:21:05 - End Time 2025-03-20 12:21:05 [2025-03-20 12:21:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722805', 'tblTempUsageDetail_20' ) start [2025-03-20 12:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722805', 'tblTempUsageDetail_20' ) end [2025-03-20 12:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722805', 'tblTempVendorCDR_20' ) start [2025-03-20 12:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722805', 'tblTempVendorCDR_20' ) end [2025-03-20 12:21:21] Production.INFO: ProcessCDR(1,14722805,1,1,2) [2025-03-20 12:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:21:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722805,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:21:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:21:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722805,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722805', 'tblTempUsageDetail_20' ) start [2025-03-20 12:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722805', 'tblTempUsageDetail_20' ) end [2025-03-20 12:21:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:21:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:21:26] Production.INFO: ==23385== Releasing lock... [2025-03-20 12:21:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:21:26] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:22:01] Production.INFO: ==23462== Lock acquired, processing the job... [2025-03-20 16:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:22:01] Production.INFO: neon service started [2025-03-20 16:22:01] Production.INFO: neon service started [2025-03-20 16:22:01] Production.INFO: ==23462== Releasing lock... [2025-03-20 16:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:22:02] Production.INFO: ==23464== Lock acquired, processing the job... [2025-03-20 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:22:02] Production.INFO: ==23466== Lock acquired, processing the job... [2025-03-20 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 12:22:02] Production.INFO: ==23464== Releasing lock... [2025-03-20 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:22:02] Production.INFO: ==23466== Releasing lock... [2025-03-20 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:22:03] Production.INFO: ==23469== Lock acquired, processing the job... [2025-03-20 12:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:22:03] Production.INFO: ==23475== Lock acquired, processing the job... [2025-03-20 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:22:03] Production.INFO: ==23479== Lock acquired, processing the job... [2025-03-20 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:22:03] Production.INFO: Account Balance Start. [2025-03-20 12:22:03] Production.INFO: CreateAllLog Start [2025-03-20 12:22:03] Production.INFO: 117 [2025-03-20 12:22:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 12:22:03] Production.INFO: count ==12 [2025-03-20 12:22:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:03] Production.INFO: Date 2025-03-11 [2025-03-20 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-03-20 12:22:03] Production.INFO: count ==23 [2025-03-20 12:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722807') start [2025-03-20 12:22:03] Production.INFO: ==23471== Lock acquired, processing the job... [2025-03-20 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:22:03] Production.INFO: ==23473== Lock acquired, processing the job... [2025-03-20 12:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:22:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:03] Production.INFO: Date 2025-03-13 [2025-03-20 12:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722807') end [2025-03-20 12:22:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:22:03] Production.INFO: 1 [2025-03-20 12:22:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:22:03] Production.INFO: ==23479== Releasing lock... [2025-03-20 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:22:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:22:03] Production.INFO: Date 2025-03-14 [2025-03-20 12:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:03] Production.INFO: ==23477== Lock acquired, processing the job... [2025-03-20 12:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:22:03] Production.INFO: Date 2025-03-15 [2025-03-20 12:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:22:04] Production.INFO: Total Charge 0 [2025-03-20 12:22:04] Production.INFO: ==23471== Releasing lock... [2025-03-20 12:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:22:04] Production.INFO: CreateAllLog End [2025-03-20 12:22:04] Production.INFO: Account Balance End. [2025-03-20 12:22:04] Production.ERROR: done [2025-03-20 12:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:22:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:22:04] Production.INFO: ==23475== Releasing lock... [2025-03-20 12:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:22:04] Production.ERROR: done [2025-03-20 12:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:22:05 [end_date_ymd] => 2025-03-20 12:22:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:22:05' and `end` < '2025-03-20 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-03-20 12:22:13] Production.ERROR: CronJobId end10 [2025-03-20 12:22:13] Production.INFO: ==23473== Releasing lock... [2025-03-20 12:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:22:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:22:14] Production.INFO: call_cost start [2025-03-20 12:22:14] Production.INFO: call_cost end [2025-03-20 12:22:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:22:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:22:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:22:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:22:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:22:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:22:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:22:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:22:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:22:15] Production.INFO: ==23469== Releasing lock... [2025-03-20 12:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:22:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:22:19] Production.INFO: count ==5725 [2025-03-20 12:22:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:22:05 - End Time 2025-03-20 12:22:05 [2025-03-20 12:22:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722810', 'tblTempUsageDetail_20' ) start [2025-03-20 12:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722810', 'tblTempUsageDetail_20' ) end [2025-03-20 12:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722810', 'tblTempVendorCDR_20' ) start [2025-03-20 12:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722810', 'tblTempVendorCDR_20' ) end [2025-03-20 12:22:22] Production.INFO: ProcessCDR(1,14722810,1,1,2) [2025-03-20 12:22:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:22:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722810,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:22:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722810,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722810', 'tblTempUsageDetail_20' ) start [2025-03-20 12:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722810', 'tblTempUsageDetail_20' ) end [2025-03-20 12:22:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:22:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:22:27] Production.INFO: ==23477== Releasing lock... [2025-03-20 12:22:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:22:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:23:02] Production.INFO: ==23541== Lock acquired, processing the job... [2025-03-20 16:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:23:02] Production.INFO: neon service started [2025-03-20 16:23:02] Production.INFO: neon service started [2025-03-20 16:23:02] Production.INFO: ==23541== Releasing lock... [2025-03-20 16:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:23:02] Production.INFO: ==23545== Lock acquired, processing the job... [2025-03-20 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:23:02] Production.INFO: ==23545== Releasing lock... [2025-03-20 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:23:02] Production.INFO: ==23543== Lock acquired, processing the job... [2025-03-20 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:23:03] Production.INFO: ==23543== Releasing lock... [2025-03-20 12:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:23:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:23:04] Production.INFO: ==23556== Lock acquired, processing the job... [2025-03-20 12:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:23:04] Production.INFO: ==23554== Lock acquired, processing the job... [2025-03-20 12:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:23:04] Production.INFO: ==23548== Lock acquired, processing the job... [2025-03-20 12:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:23:04] Production.INFO: ==23550== Lock acquired, processing the job... [2025-03-20 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:23:04] Production.INFO: Account Balance Start. [2025-03-20 12:23:04] Production.INFO: CreateAllLog Start [2025-03-20 12:23:04] Production.INFO: 117 [2025-03-20 12:23:04] Production.INFO: ==23552== Lock acquired, processing the job... [2025-03-20 12:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:23:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:23:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:23:04] Production.INFO: ==23558== Lock acquired, processing the job... [2025-03-20 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.ERROR: done [2025-03-20 12:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:23:04] Production.INFO: ==23550== Releasing lock... [2025-03-20 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 12:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.INFO: count ==12 [2025-03-20 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-03-20 12:23:04] Production.INFO: count ==23 [2025-03-20 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722814') start [2025-03-20 12:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.ERROR: done [2025-03-20 12:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722814') end [2025-03-20 12:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:23:04] Production.INFO: 1 [2025-03-20 12:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:23:04] Production.INFO: ==23558== Releasing lock... [2025-03-20 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:23:04] Production.INFO: Total Charge 0 [2025-03-20 12:23:05] Production.INFO: CreateAllLog End [2025-03-20 12:23:05] Production.INFO: Account Balance End. [2025-03-20 12:23:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:23:05] Production.INFO: ==23554== Releasing lock... [2025-03-20 12:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:23:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:23:05 [end_date_ymd] => 2025-03-20 12:23:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:23:05' and `end` < '2025-03-20 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-03-20 12:23:12] Production.ERROR: CronJobId end10 [2025-03-20 12:23:12] Production.INFO: ==23552== Releasing lock... [2025-03-20 12:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:23:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:23:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:23:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:23:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:23:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:23:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:23:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:23:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:23:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:23:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:23:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:23:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:23:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:23:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:23:15] Production.INFO: call_cost start [2025-03-20 12:23:15] Production.INFO: call_cost end [2025-03-20 12:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:23:16] Production.INFO: ==23548== Releasing lock... [2025-03-20 12:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:23:19] Production.INFO: count ==5721 [2025-03-20 12:23:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:23:05 - End Time 2025-03-20 12:23:05 [2025-03-20 12:23:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722815', 'tblTempUsageDetail_20' ) start [2025-03-20 12:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722815', 'tblTempUsageDetail_20' ) end [2025-03-20 12:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722815', 'tblTempVendorCDR_20' ) start [2025-03-20 12:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722815', 'tblTempVendorCDR_20' ) end [2025-03-20 12:23:21] Production.INFO: ProcessCDR(1,14722815,1,1,2) [2025-03-20 12:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722815,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:23:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722815,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722815', 'tblTempUsageDetail_20' ) start [2025-03-20 12:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722815', 'tblTempUsageDetail_20' ) end [2025-03-20 12:23:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:23:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:23:26] Production.INFO: ==23556== Releasing lock... [2025-03-20 12:23:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:23:26] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:24:01] Production.INFO: ==23623== Lock acquired, processing the job... [2025-03-20 16:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:24:01] Production.INFO: neon service started [2025-03-20 16:24:01] Production.INFO: neon service started [2025-03-20 16:24:01] Production.INFO: ==23623== Releasing lock... [2025-03-20 16:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:24:02] Production.INFO: ==23626== Lock acquired, processing the job... [2025-03-20 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:24:02] Production.INFO: ==23626== Releasing lock... [2025-03-20 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:24:02] Production.INFO: ==23628== Lock acquired, processing the job... [2025-03-20 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:24:02] Production.INFO: ==23628== Releasing lock... [2025-03-20 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:24:03] Production.INFO: ==23632== Lock acquired, processing the job... [2025-03-20 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:24:03] Production.INFO: ==23630== Lock acquired, processing the job... [2025-03-20 12:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:24:03] Production.INFO: ==23634== Lock acquired, processing the job... [2025-03-20 12:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:24:03] Production.INFO: ==23636== Lock acquired, processing the job... [2025-03-20 12:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:24:03] Production.INFO: ==23638== Lock acquired, processing the job... [2025-03-20 12:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:24:03] Production.INFO: ==23640== Lock acquired, processing the job... [2025-03-20 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:24:03] Production.INFO: ==23632== Releasing lock... [2025-03-20 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:24:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 12:24:03] Production.INFO: Account Balance Start. [2025-03-20 12:24:03] Production.INFO: CreateAllLog Start [2025-03-20 12:24:03] Production.INFO: 117 [2025-03-20 12:24:03] Production.INFO: count ==12 [2025-03-20 12:24:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:24:04] Production.INFO: count ==23 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722818') start [2025-03-20 12:24:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722818') end [2025-03-20 12:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:24:04] Production.INFO: 1 [2025-03-20 12:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.INFO: ==23640== Releasing lock... [2025-03-20 12:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:24:04] Production.ERROR: done [2025-03-20 12:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.ERROR: done [2025-03-20 12:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:24:04] Production.INFO: Total Charge 0 [2025-03-20 12:24:04] Production.INFO: CreateAllLog End [2025-03-20 12:24:04] Production.INFO: Account Balance End. [2025-03-20 12:24:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:24:04] Production.INFO: ==23636== Releasing lock... [2025-03-20 12:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:24:05 [end_date_ymd] => 2025-03-20 12:24:05 [RateCDR] => 1 ) [2025-03-20 12:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:24:05' and `end` < '2025-03-20 12:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:24:12] Production.ERROR: CronJobId end10 [2025-03-20 12:24:12] Production.INFO: ==23634== Releasing lock... [2025-03-20 12:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:24:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:24:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:24:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:24:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:24:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:24:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:24:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:24:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:24:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:24:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:24:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:24:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:24:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:24:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:24:15] Production.INFO: call_cost start [2025-03-20 12:24:15] Production.INFO: call_cost end [2025-03-20 12:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:24:16] Production.INFO: ==23630== Releasing lock... [2025-03-20 12:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:24:19] Production.INFO: count ==5726 [2025-03-20 12:24:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:24:05 - End Time 2025-03-20 12:24:05 [2025-03-20 12:24:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722820', 'tblTempUsageDetail_20' ) start [2025-03-20 12:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722820', 'tblTempUsageDetail_20' ) end [2025-03-20 12:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722820', 'tblTempVendorCDR_20' ) start [2025-03-20 12:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722820', 'tblTempVendorCDR_20' ) end [2025-03-20 12:24:21] Production.INFO: ProcessCDR(1,14722820,1,1,2) [2025-03-20 12:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:24:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:24:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722820', 'tblTempUsageDetail_20' ) start [2025-03-20 12:24:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722820', 'tblTempUsageDetail_20' ) end [2025-03-20 12:24:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:24:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:24:27] Production.INFO: ==23638== Releasing lock... [2025-03-20 12:24:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:24:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:25:02] Production.INFO: ==23708== Lock acquired, processing the job... [2025-03-20 16:25:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:25:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:25:02] Production.INFO: neon service started [2025-03-20 16:25:02] Production.INFO: neon service started [2025-03-20 16:25:02] Production.INFO: ==23708== Releasing lock... [2025-03-20 16:25:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:25:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:25:02] Production.INFO: ==23713== Lock acquired, processing the job... [2025-03-20 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:25:02] Production.INFO: ==23713== Releasing lock... [2025-03-20 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:25:02] Production.INFO: ==23711== Lock acquired, processing the job... [2025-03-20 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:25:03] Production.INFO: ==23711== Releasing lock... [2025-03-20 12:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:25:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:25:03] Production.INFO: ==23717== Lock acquired, processing the job... [2025-03-20 12:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:25:03] Production.INFO: ==23719== Lock acquired, processing the job... [2025-03-20 12:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:25:03] Production.INFO: ==23723== Lock acquired, processing the job... [2025-03-20 12:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:25:04] Production.INFO: ==23717== Releasing lock... [2025-03-20 12:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:25:04] Production.INFO: ==23715== Lock acquired, processing the job... [2025-03-20 12:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:25:04] Production.INFO: ==23721== Lock acquired, processing the job... [2025-03-20 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:25:04] Production.INFO: ==23725== Lock acquired, processing the job... [2025-03-20 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:25:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:25:04] Production.INFO: Account Balance Start. [2025-03-20 12:25:04] Production.INFO: CreateAllLog Start [2025-03-20 12:25:04] Production.INFO: 117 [2025-03-20 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-03-20 12:25:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:25:04] Production.ERROR: done [2025-03-20 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:25:04] Production.INFO: count ==12 [2025-03-20 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-03-20 12:25:04] Production.INFO: count ==23 [2025-03-20 12:25:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722823') start [2025-03-20 12:25:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:04] Production.ERROR: done [2025-03-20 12:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722823') end [2025-03-20 12:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:25:04] Production.INFO: 1 [2025-03-20 12:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:04] Production.INFO: ==23725== Releasing lock... [2025-03-20 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:25:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:25:05] Production.INFO: Total Charge 0 [2025-03-20 12:25:05] Production.INFO: CreateAllLog End [2025-03-20 12:25:05] Production.INFO: Account Balance End. [2025-03-20 12:25:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:25:05] Production.INFO: ==23721== Releasing lock... [2025-03-20 12:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:25:05 [end_date_ymd] => 2025-03-20 12:25:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:25:05' and `end` < '2025-03-20 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-03-20 12:25:14] Production.ERROR: CronJobId end10 [2025-03-20 12:25:14] Production.INFO: ==23719== Releasing lock... [2025-03-20 12:25:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:25:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:25:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:25:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:25:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:25:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:25:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:25:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:25:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:25:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:25:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:25:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:25:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:25:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:25:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:25:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:25:16] Production.INFO: call_cost start [2025-03-20 12:25:16] Production.INFO: call_cost end [2025-03-20 12:25:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:25:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:25:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:25:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:25:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:25:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:25:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:25:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:25:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:25:17] Production.INFO: ==23715== Releasing lock... [2025-03-20 12:25:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:25:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:25:19] Production.INFO: count ==5744 [2025-03-20 12:25:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:25:05 - End Time 2025-03-20 12:25:05 [2025-03-20 12:25:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722825', 'tblTempUsageDetail_20' ) start [2025-03-20 12:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722825', 'tblTempUsageDetail_20' ) end [2025-03-20 12:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722825', 'tblTempVendorCDR_20' ) start [2025-03-20 12:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722825', 'tblTempVendorCDR_20' ) end [2025-03-20 12:25:22] Production.INFO: ProcessCDR(1,14722825,1,1,2) [2025-03-20 12:25:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:25:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:25:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:25:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:25:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722825', 'tblTempUsageDetail_20' ) start [2025-03-20 12:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722825', 'tblTempUsageDetail_20' ) end [2025-03-20 12:25:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:25:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:25:27] Production.INFO: ==23723== Releasing lock... [2025-03-20 12:25:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:25:27] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:26:01] Production.INFO: ==23794== Lock acquired, processing the job... [2025-03-20 16:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:26:01] Production.INFO: neon service started [2025-03-20 16:26:01] Production.INFO: neon service started [2025-03-20 16:26:01] Production.INFO: ==23794== Releasing lock... [2025-03-20 16:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:26:02] Production.INFO: ==23796== Lock acquired, processing the job... [2025-03-20 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:26:02] Production.INFO: ==23796== Releasing lock... [2025-03-20 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:26:02] Production.INFO: ==23798== Lock acquired, processing the job... [2025-03-20 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:26:02] Production.INFO: ==23798== Releasing lock... [2025-03-20 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:26:03] Production.INFO: ==23801== Lock acquired, processing the job... [2025-03-20 12:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:26:03] Production.INFO: ==23811== Lock acquired, processing the job... [2025-03-20 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:26:03] Production.INFO: ==23803== Lock acquired, processing the job... [2025-03-20 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:26:03] Production.INFO: ==23805== Lock acquired, processing the job... [2025-03-20 12:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:26:03] Production.INFO: ==23807== Lock acquired, processing the job... [2025-03-20 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:26:03] Production.INFO: ==23809== Lock acquired, processing the job... [2025-03-20 12:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 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-03-20 12:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:26:03] Production.INFO: count ==12 [2025-03-20 12:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 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-03-20 12:26:03] Production.INFO: count ==23 [2025-03-20 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722827') start [2025-03-20 12:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722827') end [2025-03-20 12:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:26:04] Production.INFO: 1 [2025-03-20 12:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:26:04] Production.INFO: Account Balance Start. [2025-03-20 12:26:04] Production.INFO: CreateAllLog Start [2025-03-20 12:26:04] Production.INFO: 117 [2025-03-20 12:26:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.INFO: ==23811== Releasing lock... [2025-03-20 12:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.ERROR: done [2025-03-20 12:26:04] Production.INFO: ==23803== Releasing lock... [2025-03-20 12:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.ERROR: done [2025-03-20 12:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:26:04] Production.INFO: Total Charge 0 [2025-03-20 12:26:04] Production.INFO: CreateAllLog End [2025-03-20 12:26:05] Production.INFO: Account Balance End. [2025-03-20 12:26:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:26:05] Production.INFO: ==23807== Releasing lock... [2025-03-20 12:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:26:05 [end_date_ymd] => 2025-03-20 12:26:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:26:05' and `end` < '2025-03-20 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-03-20 12:26:13] Production.ERROR: CronJobId end10 [2025-03-20 12:26:13] Production.INFO: ==23805== Releasing lock... [2025-03-20 12:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:26:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:26:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:26:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:26:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:26:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:26:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:26:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:26:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:26:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:26:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:26:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:26:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:26:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:26:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:26:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:26:15] Production.INFO: call_cost start [2025-03-20 12:26:15] Production.INFO: call_cost end [2025-03-20 12:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:26:16] Production.INFO: ==23801== Releasing lock... [2025-03-20 12:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:26:19] Production.INFO: count ==5747 [2025-03-20 12:26:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:26:05 - End Time 2025-03-20 12:26:05 [2025-03-20 12:26:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722830', 'tblTempUsageDetail_20' ) start [2025-03-20 12:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722830', 'tblTempUsageDetail_20' ) end [2025-03-20 12:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722830', 'tblTempVendorCDR_20' ) start [2025-03-20 12:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722830', 'tblTempVendorCDR_20' ) end [2025-03-20 12:26:22] Production.INFO: ProcessCDR(1,14722830,1,1,2) [2025-03-20 12:26:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:26:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:26:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:26:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722830', 'tblTempUsageDetail_20' ) start [2025-03-20 12:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722830', 'tblTempUsageDetail_20' ) end [2025-03-20 12:26:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:26:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:26:27] Production.INFO: ==23809== Releasing lock... [2025-03-20 12:26:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:26:27] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:27:02] Production.INFO: ==23878== Lock acquired, processing the job... [2025-03-20 16:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:27:02] Production.INFO: neon service started [2025-03-20 16:27:02] Production.INFO: neon service started [2025-03-20 16:27:02] Production.INFO: ==23878== Releasing lock... [2025-03-20 16:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:27:02] Production.INFO: ==23880== Lock acquired, processing the job... [2025-03-20 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:27:02] Production.INFO: ==23882== Lock acquired, processing the job... [2025-03-20 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:27:02] Production.INFO: ==23882== Releasing lock... [2025-03-20 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:27:03] Production.INFO: ==23880== Releasing lock... [2025-03-20 12:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:27:04] Production.INFO: ==23891== Lock acquired, processing the job... [2025-03-20 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:27:04] Production.INFO: Account Balance Start. [2025-03-20 12:27:04] Production.INFO: CreateAllLog Start [2025-03-20 12:27:04] Production.INFO: 117 [2025-03-20 12:27:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:27:04] Production.INFO: ==23895== Lock acquired, processing the job... [2025-03-20 12:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.INFO: ==23885== Lock acquired, processing the job... [2025-03-20 12:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:27:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.INFO: ==23887== Lock acquired, processing the job... [2025-03-20 12:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:27:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.INFO: ==23889== Lock acquired, processing the job... [2025-03-20 12:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:27:04] Production.INFO: count ==12 [2025-03-20 12:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:27:04] Production.INFO: count ==23 [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722832') start [2025-03-20 12:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:27:04] Production.INFO: ==23893== Lock acquired, processing the job... [2025-03-20 12:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:27:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:27:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722832') end [2025-03-20 12:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:27:04] Production.INFO: 1 [2025-03-20 12:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:27:04] Production.INFO: Total Charge 0 [2025-03-20 12:27:04] Production.INFO: CreateAllLog End [2025-03-20 12:27:04] Production.INFO: ==23895== Releasing lock... [2025-03-20 12:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:27:04] Production.INFO: ==23887== Releasing lock... [2025-03-20 12:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:27:04] Production.INFO: Account Balance End. [2025-03-20 12:27:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:27:04] Production.INFO: ==23891== Releasing lock... [2025-03-20 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:27:05] Production.ERROR: done [2025-03-20 12:27:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:27:05] Production.ERROR: done [2025-03-20 12:27:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:27:06 [end_date_ymd] => 2025-03-20 12:27:06 [RateCDR] => 1 ) [2025-03-20 12: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-03-20 09:27:06' and `end` < '2025-03-20 12: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-03-20 12:27:14] Production.ERROR: CronJobId end10 [2025-03-20 12:27:14] Production.INFO: ==23889== Releasing lock... [2025-03-20 12:27:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:27:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:27:15] Production.INFO: call_cost start [2025-03-20 12:27:15] Production.INFO: call_cost end [2025-03-20 12:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:27:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:27:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:27:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:27:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:27:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:27:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:27:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:27:16] Production.INFO: ==23885== Releasing lock... [2025-03-20 12:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:27:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:27:19] Production.INFO: count ==5752 [2025-03-20 12:27:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:27:06 - End Time 2025-03-20 12:27:06 [2025-03-20 12:27:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722835', 'tblTempUsageDetail_20' ) start [2025-03-20 12:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722835', 'tblTempUsageDetail_20' ) end [2025-03-20 12:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722835', 'tblTempVendorCDR_20' ) start [2025-03-20 12:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722835', 'tblTempVendorCDR_20' ) end [2025-03-20 12:27:22] Production.INFO: ProcessCDR(1,14722835,1,1,2) [2025-03-20 12:27:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:27:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:27:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:27:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722835', 'tblTempUsageDetail_20' ) start [2025-03-20 12:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722835', 'tblTempUsageDetail_20' ) end [2025-03-20 12:27:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:27:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:27:27] Production.INFO: ==23893== Releasing lock... [2025-03-20 12:27:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:27:27] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:28:01] Production.INFO: ==23962== Lock acquired, processing the job... [2025-03-20 16:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:28:01] Production.INFO: neon service started [2025-03-20 16:28:01] Production.INFO: neon service started [2025-03-20 16:28:01] Production.INFO: ==23962== Releasing lock... [2025-03-20 16:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:28:02] Production.INFO: ==23964== Lock acquired, processing the job... [2025-03-20 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:28:02] Production.INFO: ==23964== Releasing lock... [2025-03-20 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:28:02] Production.INFO: ==23966== Lock acquired, processing the job... [2025-03-20 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:28:02] Production.INFO: ==23966== Releasing lock... [2025-03-20 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:28:03] Production.INFO: ==23971== Lock acquired, processing the job... [2025-03-20 12:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:28:03] Production.INFO: ==23969== Lock acquired, processing the job... [2025-03-20 12:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:28:03] Production.INFO: ==23979== Lock acquired, processing the job... [2025-03-20 12:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:28:03] Production.INFO: ==23973== Lock acquired, processing the job... [2025-03-20 12:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:28:03] Production.INFO: ==23975== Lock acquired, processing the job... [2025-03-20 12:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:28:03] Production.INFO: ==23977== Lock acquired, processing the job... [2025-03-20 12:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:28:03] Production.INFO: count ==12 [2025-03-20 12:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:28:03] Production.INFO: count ==23 [2025-03-20 12:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722838') start [2025-03-20 12:28:03] Production.INFO: Account Balance Start. [2025-03-20 12:28:03] Production.INFO: CreateAllLog Start [2025-03-20 12:28:03] Production.INFO: 117 [2025-03-20 12:28:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:03] Production.INFO: ==23971== Releasing lock... [2025-03-20 12:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:28:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:28:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722838') end [2025-03-20 12:28:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:28:03] Production.INFO: 1 [2025-03-20 12:28:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:28:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:04] Production.INFO: ==23979== Releasing lock... [2025-03-20 12:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:28:04] Production.ERROR: done [2025-03-20 12:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:04] Production.ERROR: done [2025-03-20 12:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:28:04] Production.INFO: Total Charge 0 [2025-03-20 12:28:04] Production.INFO: CreateAllLog End [2025-03-20 12:28:04] Production.INFO: Account Balance End. [2025-03-20 12:28:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:28:04] Production.INFO: ==23975== Releasing lock... [2025-03-20 12:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:28:05 [end_date_ymd] => 2025-03-20 12:28:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:28:05' and `end` < '2025-03-20 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-03-20 12:28:13] Production.ERROR: CronJobId end10 [2025-03-20 12:28:13] Production.INFO: ==23973== Releasing lock... [2025-03-20 12:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:28:15] Production.INFO: call_cost start [2025-03-20 12:28:15] Production.INFO: call_cost end [2025-03-20 12:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:28:16] Production.INFO: ==23969== Releasing lock... [2025-03-20 12:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:28:18] Production.INFO: count ==5758 [2025-03-20 12:28:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:28:05 - End Time 2025-03-20 12:28:05 [2025-03-20 12:28:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722840', 'tblTempUsageDetail_20' ) start [2025-03-20 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722840', 'tblTempUsageDetail_20' ) end [2025-03-20 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722840', 'tblTempVendorCDR_20' ) start [2025-03-20 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722840', 'tblTempVendorCDR_20' ) end [2025-03-20 12:28:21] Production.INFO: ProcessCDR(1,14722840,1,1,2) [2025-03-20 12:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:28:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:28:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722840', 'tblTempUsageDetail_20' ) start [2025-03-20 12:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722840', 'tblTempUsageDetail_20' ) end [2025-03-20 12:28:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:28:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:28:26] Production.INFO: ==23977== Releasing lock... [2025-03-20 12:28:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:28:26] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:29:02] Production.INFO: ==24046== Lock acquired, processing the job... [2025-03-20 16:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:29:02] Production.INFO: neon service started [2025-03-20 16:29:02] Production.INFO: neon service started [2025-03-20 16:29:02] Production.INFO: ==24046== Releasing lock... [2025-03-20 16:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:29:03] Production.INFO: ==24048== Lock acquired, processing the job... [2025-03-20 12:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:29:03] Production.INFO: ==24050== Lock acquired, processing the job... [2025-03-20 16:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:29:03] Production.INFO: ==24050== Releasing lock... [2025-03-20 16:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:29:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:29:03] Production.INFO: ==24048== Releasing lock... [2025-03-20 12:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:29:04] Production.INFO: ==24059== Lock acquired, processing the job... [2025-03-20 12:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:29:04] Production.INFO: ==24061== Lock acquired, processing the job... [2025-03-20 12:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:29:04] Production.INFO: ==24053== Lock acquired, processing the job... [2025-03-20 12:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:29:04] Production.INFO: ==24055== Lock acquired, processing the job... [2025-03-20 12:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:29:04] Production.INFO: Account Balance Start. [2025-03-20 12:29:04] Production.INFO: ==24057== Lock acquired, processing the job... [2025-03-20 12:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:29:04] Production.INFO: CreateAllLog Start [2025-03-20 12:29:04] Production.INFO: 117 [2025-03-20 12:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:04] Production.INFO: ==24063== Lock acquired, processing the job... [2025-03-20 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:29:04] Production.INFO: count ==12 [2025-03-20 12:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:29:04] Production.INFO: count ==23 [2025-03-20 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722842') start [2025-03-20 12:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722842') end [2025-03-20 12:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:29:04] Production.INFO: 1 [2025-03-20 12:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:04] Production.ERROR: done [2025-03-20 12:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:04] Production.INFO: ==24063== Releasing lock... [2025-03-20 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:05] Production.INFO: ==24055== Releasing lock... [2025-03-20 12:29:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:29:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:29:05] Production.ERROR: done [2025-03-20 12:29:05] Production.INFO: Date 2025-03-16 [2025-03-20 12:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:29:05] Production.INFO: Total Charge 0 [2025-03-20 12:29:05] Production.INFO: CreateAllLog End [2025-03-20 12:29:05] Production.INFO: Account Balance End. [2025-03-20 12:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:29:05] Production.INFO: ==24059== Releasing lock... [2025-03-20 12:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:29:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:29:06 [end_date_ymd] => 2025-03-20 12:29:06 [RateCDR] => 1 ) [2025-03-20 12:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:29:06' and `end` < '2025-03-20 12:29:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:29:13] Production.ERROR: CronJobId end10 [2025-03-20 12:29:13] Production.INFO: ==24057== Releasing lock... [2025-03-20 12:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:29:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:29:15] Production.INFO: call_cost start [2025-03-20 12:29:15] Production.INFO: call_cost end [2025-03-20 12:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:29:16] Production.INFO: ==24053== Releasing lock... [2025-03-20 12:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:29:19] Production.INFO: count ==5762 [2025-03-20 12:29:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:29:06 - End Time 2025-03-20 12:29:06 [2025-03-20 12:29:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722845', 'tblTempUsageDetail_20' ) start [2025-03-20 12:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722845', 'tblTempUsageDetail_20' ) end [2025-03-20 12:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722845', 'tblTempVendorCDR_20' ) start [2025-03-20 12:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722845', 'tblTempVendorCDR_20' ) end [2025-03-20 12:29:22] Production.INFO: ProcessCDR(1,14722845,1,1,2) [2025-03-20 12:29:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:29:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:29:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:29:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722845', 'tblTempUsageDetail_20' ) start [2025-03-20 12:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722845', 'tblTempUsageDetail_20' ) end [2025-03-20 12:29:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:29:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:29:27] Production.INFO: ==24061== Releasing lock... [2025-03-20 12:29:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:29:27] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:30:01] Production.INFO: ==24133== Lock acquired, processing the job... [2025-03-20 16:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:30:01] Production.INFO: neon service started [2025-03-20 16:30:01] Production.INFO: neon service started [2025-03-20 16:30:01] Production.INFO: ==24133== Releasing lock... [2025-03-20 16:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:30:02] Production.INFO: ==24137== Lock acquired, processing the job... [2025-03-20 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:30:02] Production.INFO: ==24137== Releasing lock... [2025-03-20 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:30:02] Production.INFO: ==24135== Lock acquired, processing the job... [2025-03-20 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:30:02] Production.INFO: ==24135== Releasing lock... [2025-03-20 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:30:03] Production.INFO: ==24140== Lock acquired, processing the job... [2025-03-20 12:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 12:30:03] Production.INFO: ==24144== Lock acquired, processing the job... [2025-03-20 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 12:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 12:30:03] Production.INFO: ==24140== Releasing lock... [2025-03-20 12:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 12:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 12:30:03] Production.INFO: ==24150== Lock acquired, processing the job... [2025-03-20 12:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:30:03] Production.INFO: ==24154== Lock acquired, processing the job... [2025-03-20 12:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:30:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:30:03] Production.INFO: ==24142== Lock acquired, processing the job... [2025-03-20 12:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:30:04] Production.INFO: ==24144== Releasing lock... [2025-03-20 12:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:30:04] Production.INFO: ==24146== Lock acquired, processing the job... [2025-03-20 12:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:30:04] Production.INFO: ==24148== Lock acquired, processing the job... [2025-03-20 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 12:30:04] Production.INFO: ==24152== Lock acquired, processing the job... [2025-03-20 12:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 12:30:04] Production.INFO: count ==12 [2025-03-20 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-03-20 12:30:04] Production.INFO: count ==23 [2025-03-20 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722847') start [2025-03-20 12:30:04] Production.INFO: Account Balance Start. [2025-03-20 12:30:04] Production.INFO: CreateAllLog Start [2025-03-20 12:30:04] Production.INFO: 117 [2025-03-20 12:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:30:04] Production.ERROR: done [2025-03-20 12:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722847') end [2025-03-20 12:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:30:04] Production.INFO: 1 [2025-03-20 12:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.INFO: ==24154== Releasing lock... [2025-03-20 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:30:04] Production.ERROR: done [2025-03-20 12:30:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.ERROR: done [2025-03-20 12:30:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 12:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722851', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 12:30:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:30:04] Production.INFO: Total Charge 0 [2025-03-20 12:30:04] Production.INFO: CreateAllLog End [2025-03-20 12:30:05] Production.INFO: Account Balance End. [2025-03-20 12:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:30:05] Production.INFO: ==24148== Releasing lock... [2025-03-20 12:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:30:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:30:05 [end_date_ymd] => 2025-03-20 12:30:05 [RateCDR] => 1 ) [2025-03-20 12:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:30:05' and `end` < '2025-03-20 12:30:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722851', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 12:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 12:30:09] Production.INFO: ProcessCDR(1,14722851,1,1,2) [2025-03-20 12:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722851,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722851,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:30:09] Production.INFO: ==24152== Releasing lock... [2025-03-20 12:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 12:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 12:30:13] Production.ERROR: CronJobId end10 [2025-03-20 12:30:13] Production.INFO: ==24146== Releasing lock... [2025-03-20 12:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:30:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:30:16] Production.INFO: call_cost start [2025-03-20 12:30:16] Production.INFO: call_cost end [2025-03-20 12:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:30:17] Production.INFO: ==24142== Releasing lock... [2025-03-20 12:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:30:19] Production.INFO: count ==5747 [2025-03-20 12:30:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:30:05 - End Time 2025-03-20 12:30:05 [2025-03-20 12:30:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722850', 'tblTempUsageDetail_20' ) start [2025-03-20 12:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722850', 'tblTempUsageDetail_20' ) end [2025-03-20 12:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722850', 'tblTempVendorCDR_20' ) start [2025-03-20 12:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722850', 'tblTempVendorCDR_20' ) end [2025-03-20 12:30:22] Production.INFO: ProcessCDR(1,14722850,1,1,2) [2025-03-20 12:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:30:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:30:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:30:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722850', 'tblTempUsageDetail_20' ) start [2025-03-20 12:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722850', 'tblTempUsageDetail_20' ) end [2025-03-20 12:30:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:30:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:30:27] Production.INFO: ==24150== Releasing lock... [2025-03-20 12:30:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:30:27] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:31:02] Production.INFO: ==24222== Lock acquired, processing the job... [2025-03-20 16:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:31:02] Production.INFO: neon service started [2025-03-20 16:31:02] Production.INFO: neon service started [2025-03-20 16:31:02] Production.INFO: ==24222== Releasing lock... [2025-03-20 16:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:31:02] Production.INFO: ==24224== Lock acquired, processing the job... [2025-03-20 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:31:02] Production.INFO: ==24224== Releasing lock... [2025-03-20 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:31:02] Production.INFO: ==24226== Lock acquired, processing the job... [2025-03-20 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:31:02] Production.INFO: ==24226== Releasing lock... [2025-03-20 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:31:03] Production.INFO: ==24233== Lock acquired, processing the job... [2025-03-20 12:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:31:03] Production.INFO: ==24237== Lock acquired, processing the job... [2025-03-20 12:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:31:03] Production.INFO: ==24229== Lock acquired, processing the job... [2025-03-20 12:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:31:04] Production.INFO: ==24231== Lock acquired, processing the job... [2025-03-20 12:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:31:04] Production.INFO: ==24235== Lock acquired, processing the job... [2025-03-20 12:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:31:04] Production.INFO: ==24239== Lock acquired, processing the job... [2025-03-20 12:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:31:04] Production.INFO: Account Balance Start. [2025-03-20 12:31:04] Production.INFO: CreateAllLog Start [2025-03-20 12:31:04] Production.INFO: 117 [2025-03-20 12:31:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:31:04] Production.INFO: count ==12 [2025-03-20 12:31:04] Production.ERROR: done [2025-03-20 12:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:31:04] Production.INFO: ==24231== Releasing lock... [2025-03-20 12:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:31:04] Production.INFO: count ==23 [2025-03-20 12:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722855') start [2025-03-20 12:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:04] Production.ERROR: done [2025-03-20 12:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722855') end [2025-03-20 12:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:31:04] Production.INFO: 1 [2025-03-20 12:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:31:04] Production.INFO: ==24239== Releasing lock... [2025-03-20 12:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:05] Production.INFO: Date 2025-03-14 [2025-03-20 12:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:05] Production.INFO: Date 2025-03-15 [2025-03-20 12:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:05] Production.INFO: Date 2025-03-16 [2025-03-20 12:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:31:05] Production.INFO: Total Charge 0 [2025-03-20 12:31:05] Production.INFO: CreateAllLog End [2025-03-20 12:31:05] Production.INFO: Account Balance End. [2025-03-20 12:31:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:31:05] Production.INFO: ==24235== Releasing lock... [2025-03-20 12:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:31:05 [end_date_ymd] => 2025-03-20 12:31:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:31:05' and `end` < '2025-03-20 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-03-20 12:31:12] Production.ERROR: CronJobId end10 [2025-03-20 12:31:12] Production.INFO: ==24233== Releasing lock... [2025-03-20 12:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:31:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:31:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:31:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:31:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:31:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:31:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:31:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:31:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:31:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:31:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:31:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:31:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:31:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:31:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:31:15] Production.INFO: call_cost start [2025-03-20 12:31:15] Production.INFO: call_cost end [2025-03-20 12:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:31:16] Production.INFO: ==24229== Releasing lock... [2025-03-20 12:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:31:19] Production.INFO: count ==5778 [2025-03-20 12:31:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:31:05 - End Time 2025-03-20 12:31:05 [2025-03-20 12:31:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722856', 'tblTempUsageDetail_20' ) start [2025-03-20 12:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722856', 'tblTempUsageDetail_20' ) end [2025-03-20 12:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722856', 'tblTempVendorCDR_20' ) start [2025-03-20 12:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722856', 'tblTempVendorCDR_20' ) end [2025-03-20 12:31:22] Production.INFO: ProcessCDR(1,14722856,1,1,2) [2025-03-20 12:31:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:31:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722856,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:31:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:31:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722856,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722856', 'tblTempUsageDetail_20' ) start [2025-03-20 12:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722856', 'tblTempUsageDetail_20' ) end [2025-03-20 12:31:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:31:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:31:26] Production.INFO: ==24237== Releasing lock... [2025-03-20 12:31:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:31:26] Production.INFO: 71.5 MB #Memory Used# [2025-03-20 16:32:01] Production.INFO: ==24300== Lock acquired, processing the job... [2025-03-20 16:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:32:01] Production.INFO: neon service started [2025-03-20 16:32:01] Production.INFO: neon service started [2025-03-20 16:32:01] Production.INFO: ==24300== Releasing lock... [2025-03-20 16:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:32:02] Production.INFO: ==24302== Lock acquired, processing the job... [2025-03-20 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:32:02] Production.INFO: ==24304== Lock acquired, processing the job... [2025-03-20 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:32:02] Production.INFO: ==24304== Releasing lock... [2025-03-20 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:32:02] Production.INFO: ==24302== Releasing lock... [2025-03-20 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:32:03] Production.INFO: ==24309== Lock acquired, processing the job... [2025-03-20 12:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:32:03] Production.INFO: ==24307== Lock acquired, processing the job... [2025-03-20 12:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:32:03] Production.INFO: ==24315== Lock acquired, processing the job... [2025-03-20 12:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:32:03] Production.INFO: ==24311== Lock acquired, processing the job... [2025-03-20 12:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:32:03] Production.INFO: ==24313== Lock acquired, processing the job... [2025-03-20 12:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:32:03] Production.INFO: ==24317== Lock acquired, processing the job... [2025-03-20 12:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:32:03] Production.INFO: Account Balance Start. [2025-03-20 12:32:03] Production.INFO: CreateAllLog Start [2025-03-20 12:32:03] Production.INFO: 117 [2025-03-20 12:32:03] Production.INFO: ==24309== Releasing lock... [2025-03-20 12:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:32:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:32:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:32:03] Production.ERROR: done [2025-03-20 12:32:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:32:03] Production.INFO: count ==12 [2025-03-20 12:32:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:32:03] Production.INFO: count ==23 [2025-03-20 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722860') start [2025-03-20 12:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:04] Production.ERROR: done [2025-03-20 12:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722860') end [2025-03-20 12:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:32:04] Production.INFO: 1 [2025-03-20 12:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:04] Production.INFO: ==24317== Releasing lock... [2025-03-20 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:32:04] Production.INFO: Total Charge 0 [2025-03-20 12:32:04] Production.INFO: CreateAllLog End [2025-03-20 12:32:04] Production.INFO: Account Balance End. [2025-03-20 12:32:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:32:04] Production.INFO: ==24313== Releasing lock... [2025-03-20 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:32:05 [end_date_ymd] => 2025-03-20 12:32:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 09:32:05' and `end` < '2025-03-20 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-03-20 12:32:12] Production.ERROR: CronJobId end10 [2025-03-20 12:32:12] Production.INFO: ==24311== Releasing lock... [2025-03-20 12:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:32:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:32:14] Production.INFO: call_cost start [2025-03-20 12:32:14] Production.INFO: call_cost end [2025-03-20 12:32:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:32:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:32:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:32:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:32:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:32:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:32:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:32:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:32:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:32:15] Production.INFO: ==24307== Releasing lock... [2025-03-20 12:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:32:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:32:18] Production.INFO: count ==5763 [2025-03-20 12:32:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:32:05 - End Time 2025-03-20 12:32:05 [2025-03-20 12:32:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722861', 'tblTempUsageDetail_20' ) start [2025-03-20 12:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722861', 'tblTempUsageDetail_20' ) end [2025-03-20 12:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722861', 'tblTempVendorCDR_20' ) start [2025-03-20 12:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722861', 'tblTempVendorCDR_20' ) end [2025-03-20 12:32:21] Production.INFO: ProcessCDR(1,14722861,1,1,2) [2025-03-20 12:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:32:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722861,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:32:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:32:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722861,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722861', 'tblTempUsageDetail_20' ) start [2025-03-20 12:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722861', 'tblTempUsageDetail_20' ) end [2025-03-20 12:32:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:32:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:32:26] Production.INFO: ==24315== Releasing lock... [2025-03-20 12:32:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:32:26] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:33:02] Production.INFO: ==24379== Lock acquired, processing the job... [2025-03-20 16:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:33:02] Production.INFO: neon service started [2025-03-20 16:33:02] Production.INFO: neon service started [2025-03-20 16:33:02] Production.INFO: ==24379== Releasing lock... [2025-03-20 16:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:33:02] Production.INFO: ==24384== Lock acquired, processing the job... [2025-03-20 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:33:02] Production.INFO: ==24384== Releasing lock... [2025-03-20 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:33:02] Production.INFO: ==24382== Lock acquired, processing the job... [2025-03-20 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:33:02] Production.INFO: ==24382== Releasing lock... [2025-03-20 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:33:03] Production.INFO: ==24390== Lock acquired, processing the job... [2025-03-20 12:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:33:03] Production.INFO: ==24386== Lock acquired, processing the job... [2025-03-20 12:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:33:03] Production.INFO: ==24394== Lock acquired, processing the job... [2025-03-20 12:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:33:03] Production.INFO: ==24388== Lock acquired, processing the job... [2025-03-20 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:33:04] Production.INFO: ==24392== Lock acquired, processing the job... [2025-03-20 12:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:33:04] Production.INFO: ==24396== Lock acquired, processing the job... [2025-03-20 12:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:33:04] Production.ERROR: done [2025-03-20 12:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:33:04] Production.INFO: Account Balance Start. [2025-03-20 12:33:04] Production.INFO: CreateAllLog Start [2025-03-20 12:33:04] Production.INFO: 117 [2025-03-20 12:33:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:04] Production.INFO: count ==12 [2025-03-20 12:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:33:04] Production.INFO: count ==23 [2025-03-20 12:33:04] Production.ERROR: done [2025-03-20 12:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722864') start [2025-03-20 12:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:04] Production.INFO: ==24388== Releasing lock... [2025-03-20 12:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722864') end [2025-03-20 12:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:33:04] Production.INFO: 1 [2025-03-20 12:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:04] Production.INFO: ==24396== Releasing lock... [2025-03-20 12:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:33:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:33:05] Production.INFO: Total Charge 0 [2025-03-20 12:33:05] Production.INFO: CreateAllLog End [2025-03-20 12:33:05] Production.INFO: Account Balance End. [2025-03-20 12:33:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:33:05] Production.INFO: ==24392== Releasing lock... [2025-03-20 12:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:33:05 [end_date_ymd] => 2025-03-20 12:33:05 [RateCDR] => 1 ) [2025-03-20 12:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:33:05' and `end` < '2025-03-20 12:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:33:13] Production.ERROR: CronJobId end10 [2025-03-20 12:33:13] Production.INFO: ==24390== Releasing lock... [2025-03-20 12:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:33:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:33:16] Production.INFO: call_cost start [2025-03-20 12:33:16] Production.INFO: call_cost end [2025-03-20 12:33:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:33:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:33:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:33:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:33:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:33:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:33:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:33:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:33:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:33:17] Production.INFO: ==24386== Releasing lock... [2025-03-20 12:33:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:33:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:33:19] Production.INFO: count ==5750 [2025-03-20 12:33:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:33:05 - End Time 2025-03-20 12:33:05 [2025-03-20 12:33:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722866', 'tblTempUsageDetail_20' ) start [2025-03-20 12:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722866', 'tblTempUsageDetail_20' ) end [2025-03-20 12:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722866', 'tblTempVendorCDR_20' ) start [2025-03-20 12:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722866', 'tblTempVendorCDR_20' ) end [2025-03-20 12:33:22] Production.INFO: ProcessCDR(1,14722866,1,1,2) [2025-03-20 12:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722866,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:33:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722866,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722866', 'tblTempUsageDetail_20' ) start [2025-03-20 12:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722866', 'tblTempUsageDetail_20' ) end [2025-03-20 12:33:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:33:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:33:27] Production.INFO: ==24394== Releasing lock... [2025-03-20 12:33:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:33:27] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:34:01] Production.INFO: ==24507== Lock acquired, processing the job... [2025-03-20 16:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:34:01] Production.INFO: neon service started [2025-03-20 16:34:01] Production.INFO: neon service started [2025-03-20 16:34:01] Production.INFO: ==24507== Releasing lock... [2025-03-20 16:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:34:02] Production.INFO: ==24509== Lock acquired, processing the job... [2025-03-20 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:34:02] Production.INFO: ==24511== Lock acquired, processing the job... [2025-03-20 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:34:02] Production.INFO: ==24511== Releasing lock... [2025-03-20 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:34:02] Production.INFO: ==24509== Releasing lock... [2025-03-20 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:34:03] Production.INFO: ==24514== Lock acquired, processing the job... [2025-03-20 12:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:34:03] Production.INFO: ==24516== Lock acquired, processing the job... [2025-03-20 12:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:34:03] Production.INFO: ==24518== Lock acquired, processing the job... [2025-03-20 12:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:34:03] Production.INFO: ==24520== Lock acquired, processing the job... [2025-03-20 12:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:34:03] Production.INFO: ==24516== Releasing lock... [2025-03-20 12:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:34:03] Production.INFO: ==24522== Lock acquired, processing the job... [2025-03-20 12:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:34:03] Production.INFO: ==24524== Lock acquired, processing the job... [2025-03-20 12:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:34:03] Production.INFO: Account Balance Start. [2025-03-20 12:34:03] Production.INFO: CreateAllLog Start [2025-03-20 12:34:03] Production.INFO: 117 [2025-03-20 12:34:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:34:04] Production.INFO: count ==12 [2025-03-20 12:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:34:04] Production.INFO: count ==23 [2025-03-20 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722870') start [2025-03-20 12:34:04] Production.ERROR: done [2025-03-20 12:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722870') end [2025-03-20 12:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:34:04] Production.INFO: 1 [2025-03-20 12:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.INFO: ==24524== Releasing lock... [2025-03-20 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:34:04] Production.ERROR: done [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:34:04] Production.INFO: Total Charge 0 [2025-03-20 12:34:04] Production.INFO: CreateAllLog End [2025-03-20 12:34:05] Production.INFO: Account Balance End. [2025-03-20 12:34:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:34:05] Production.INFO: ==24520== Releasing lock... [2025-03-20 12:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:34:05 [end_date_ymd] => 2025-03-20 12:34:05 [RateCDR] => 1 ) [2025-03-20 12:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:34:05' and `end` < '2025-03-20 12:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:34:13] Production.ERROR: CronJobId end10 [2025-03-20 12:34:13] Production.INFO: ==24518== Releasing lock... [2025-03-20 12:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:34:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:34:15] Production.INFO: call_cost start [2025-03-20 12:34:15] Production.INFO: call_cost end [2025-03-20 12:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:34:16] Production.INFO: ==24514== Releasing lock... [2025-03-20 12:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:34:19] Production.INFO: count ==5734 [2025-03-20 12:34:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:34:05 - End Time 2025-03-20 12:34:05 [2025-03-20 12:34:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722871', 'tblTempUsageDetail_20' ) start [2025-03-20 12:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722871', 'tblTempUsageDetail_20' ) end [2025-03-20 12:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722871', 'tblTempVendorCDR_20' ) start [2025-03-20 12:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722871', 'tblTempVendorCDR_20' ) end [2025-03-20 12:34:21] Production.INFO: ProcessCDR(1,14722871,1,1,2) [2025-03-20 12:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:34:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:34:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:34:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722871', 'tblTempUsageDetail_20' ) start [2025-03-20 12:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722871', 'tblTempUsageDetail_20' ) end [2025-03-20 12:34:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:34:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:34:27] Production.INFO: ==24522== Releasing lock... [2025-03-20 12:34:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:34:27] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:35:01] Production.INFO: ==24595== Lock acquired, processing the job... [2025-03-20 16:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:35:01] Production.INFO: neon service started [2025-03-20 16:35:01] Production.INFO: neon service started [2025-03-20 16:35:01] Production.INFO: ==24595== Releasing lock... [2025-03-20 16:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:35:02] Production.INFO: ==24599== Lock acquired, processing the job... [2025-03-20 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:35:02] Production.INFO: ==24599== Releasing lock... [2025-03-20 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:35:02] Production.INFO: ==24597== Lock acquired, processing the job... [2025-03-20 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:35:02] Production.INFO: ==24597== Releasing lock... [2025-03-20 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:35:03] Production.INFO: ==24605== Lock acquired, processing the job... [2025-03-20 12:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:35:03] Production.INFO: ==24607== Lock acquired, processing the job... [2025-03-20 12:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:35:03] Production.INFO: ==24601== Lock acquired, processing the job... [2025-03-20 12:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:35:03] Production.INFO: Account Balance Start. [2025-03-20 12:35:03] Production.INFO: CreateAllLog Start [2025-03-20 12:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:35:03] Production.INFO: ==24603== Lock acquired, processing the job... [2025-03-20 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:35:03] Production.INFO: 117 [2025-03-20 12:35:03] Production.INFO: ==24611== Lock acquired, processing the job... [2025-03-20 12:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:35:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:03] Production.INFO: ==24609== Lock acquired, processing the job... [2025-03-20 12:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:35:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:04] Production.INFO: count ==12 [2025-03-20 12:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:35:04] Production.INFO: count ==23 [2025-03-20 12:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722875') start [2025-03-20 12:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722875') end [2025-03-20 12:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:35:04] Production.INFO: 1 [2025-03-20 12:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:04] Production.INFO: ==24611== Releasing lock... [2025-03-20 12:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:04] Production.ERROR: done [2025-03-20 12:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:04] Production.INFO: ==24603== Releasing lock... [2025-03-20 12:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:35:04] Production.INFO: Total Charge 0 [2025-03-20 12:35:04] Production.INFO: CreateAllLog End [2025-03-20 12:35:04] Production.ERROR: done [2025-03-20 12:35:04] Production.INFO: Account Balance End. [2025-03-20 12:35:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:35:04] Production.INFO: ==24607== Releasing lock... [2025-03-20 12:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:35:05 [end_date_ymd] => 2025-03-20 12:35:05 [RateCDR] => 1 ) [2025-03-20 12:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:35:05' and `end` < '2025-03-20 12:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:35:13] Production.ERROR: CronJobId end10 [2025-03-20 12:35:13] Production.INFO: ==24605== Releasing lock... [2025-03-20 12:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:35:14] Production.INFO: call_cost start [2025-03-20 12:35:14] Production.INFO: call_cost end [2025-03-20 12:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:35:15] Production.INFO: ==24601== Releasing lock... [2025-03-20 12:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:35:19] Production.INFO: count ==5731 [2025-03-20 12:35:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:35:05 - End Time 2025-03-20 12:35:05 [2025-03-20 12:35:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722876', 'tblTempUsageDetail_20' ) start [2025-03-20 12:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722876', 'tblTempUsageDetail_20' ) end [2025-03-20 12:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722876', 'tblTempVendorCDR_20' ) start [2025-03-20 12:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722876', 'tblTempVendorCDR_20' ) end [2025-03-20 12:35:22] Production.INFO: ProcessCDR(1,14722876,1,1,2) [2025-03-20 12:35:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:35:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:35:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:35:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722876', 'tblTempUsageDetail_20' ) start [2025-03-20 12:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722876', 'tblTempUsageDetail_20' ) end [2025-03-20 12:35:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:35:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:35:27] Production.INFO: ==24609== Releasing lock... [2025-03-20 12:35:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:35:27] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:36:01] Production.INFO: ==24678== Lock acquired, processing the job... [2025-03-20 16:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:36:01] Production.INFO: neon service started [2025-03-20 16:36:01] Production.INFO: neon service started [2025-03-20 16:36:01] Production.INFO: ==24678== Releasing lock... [2025-03-20 16:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:36:01] Production.INFO: ==24680== Lock acquired, processing the job... [2025-03-20 12:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:36:02] Production.INFO: ==24680== Releasing lock... [2025-03-20 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:36:02] Production.INFO: ==24682== Lock acquired, processing the job... [2025-03-20 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:36:02] Production.INFO: ==24682== Releasing lock... [2025-03-20 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:36:02] Production.INFO: ==24690== Lock acquired, processing the job... [2025-03-20 12:36:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:36:02] Production.INFO: Account Balance Start. [2025-03-20 12:36:02] Production.INFO: CreateAllLog Start [2025-03-20 12:36:03] Production.INFO: 117 [2025-03-20 12:36:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.INFO: ==24694== Lock acquired, processing the job... [2025-03-20 12:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:36:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.INFO: ==24684== Lock acquired, processing the job... [2025-03-20 12:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:36:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.INFO: ==24686== Lock acquired, processing the job... [2025-03-20 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:36:03] Production.INFO: Date 2025-03-13 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:36:03] Production.INFO: Date 2025-03-14 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.INFO: ==24688== Lock acquired, processing the job... [2025-03-20 12:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:36:03] Production.INFO: count ==12 [2025-03-20 12:36:03] Production.INFO: Date 2025-03-15 [2025-03-20 12:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.INFO: count ==23 [2025-03-20 12:36:03] Production.INFO: Date 2025-03-16 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722878') start [2025-03-20 12:36:03] Production.INFO: Date 2025-03-17 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.INFO: Date 2025-03-18 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:36:03] Production.INFO: ==24692== Lock acquired, processing the job... [2025-03-20 12:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:36:03] Production.INFO: Date 2025-03-19 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722878') end [2025-03-20 12:36:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:36:03] Production.INFO: 1 [2025-03-20 12:36:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:36:03] Production.INFO: Date 2025-03-20 [2025-03-20 12:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:36:03] Production.INFO: Total Charge 0 [2025-03-20 12:36:03] Production.INFO: CreateAllLog End [2025-03-20 12:36:03] Production.INFO: ==24694== Releasing lock... [2025-03-20 12:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:36:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:36:03] Production.INFO: ==24686== Releasing lock... [2025-03-20 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:36:03] Production.INFO: Account Balance End. [2025-03-20 12:36:03] Production.ERROR: done [2025-03-20 12:36:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:36:03] Production.ERROR: CronJobId end 12 [2025-03-20 12:36:03] Production.INFO: ==24690== Releasing lock... [2025-03-20 12:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:36:03] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:36:04] Production.ERROR: done [2025-03-20 12:36:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:36:04 [end_date_ymd] => 2025-03-20 12:36:04 [RateCDR] => 1 ) [2025-03-20 12:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:36:04' and `end` < '2025-03-20 12:36:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:36:12] Production.ERROR: CronJobId end10 [2025-03-20 12:36:12] Production.INFO: ==24688== Releasing lock... [2025-03-20 12:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:36:15] Production.INFO: call_cost start [2025-03-20 12:36:15] Production.INFO: call_cost end [2025-03-20 12:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:36:16] Production.INFO: ==24684== Releasing lock... [2025-03-20 12:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:36:18] Production.INFO: count ==5728 [2025-03-20 12:36:20] Production.ERROR: pbx CDR StartTime 2025-03-20 09:36:04 - End Time 2025-03-20 12:36:04 [2025-03-20 12:36:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722881', 'tblTempUsageDetail_20' ) start [2025-03-20 12:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722881', 'tblTempUsageDetail_20' ) end [2025-03-20 12:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722881', 'tblTempVendorCDR_20' ) start [2025-03-20 12:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722881', 'tblTempVendorCDR_20' ) end [2025-03-20 12:36:21] Production.INFO: ProcessCDR(1,14722881,1,1,2) [2025-03-20 12:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:36:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:36:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:36:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722881', 'tblTempUsageDetail_20' ) start [2025-03-20 12:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722881', 'tblTempUsageDetail_20' ) end [2025-03-20 12:36:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:36:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:36:26] Production.INFO: ==24692== Releasing lock... [2025-03-20 12:36:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:36:26] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:37:01] Production.INFO: ==24753== Lock acquired, processing the job... [2025-03-20 16:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:37:01] Production.INFO: neon service started [2025-03-20 16:37:01] Production.INFO: neon service started [2025-03-20 16:37:01] Production.INFO: ==24753== Releasing lock... [2025-03-20 16:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:37:02] Production.INFO: ==24757== Lock acquired, processing the job... [2025-03-20 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:37:02] Production.INFO: ==24757== Releasing lock... [2025-03-20 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:37:02] Production.INFO: ==24755== Lock acquired, processing the job... [2025-03-20 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:37:02] Production.INFO: ==24755== Releasing lock... [2025-03-20 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:37:03] Production.INFO: ==24762== Lock acquired, processing the job... [2025-03-20 12:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:37:03] Production.INFO: ==24764== Lock acquired, processing the job... [2025-03-20 12:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:37:03] Production.INFO: ==24770== Lock acquired, processing the job... [2025-03-20 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:37:03] Production.INFO: count ==12 [2025-03-20 12:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:37:03] Production.INFO: count ==23 [2025-03-20 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722883') start [2025-03-20 12:37:03] Production.INFO: ==24760== Lock acquired, processing the job... [2025-03-20 12:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722883') end [2025-03-20 12:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:37:03] Production.INFO: 1 [2025-03-20 12:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:37:03] Production.INFO: ==24768== Lock acquired, processing the job... [2025-03-20 12:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:37:03] Production.INFO: ==24770== Releasing lock... [2025-03-20 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:37:03] Production.INFO: ==24762== Releasing lock... [2025-03-20 12:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:37:03] Production.INFO: ==24766== Lock acquired, processing the job... [2025-03-20 12:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:37:03] Production.INFO: Account Balance Start. [2025-03-20 12:37:03] Production.INFO: CreateAllLog Start [2025-03-20 12:37:03] Production.INFO: 117 [2025-03-20 12:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:37:04] Production.ERROR: done [2025-03-20 12:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:37:04] Production.ERROR: done [2025-03-20 12:37:04] Production.INFO: Total Charge 0 [2025-03-20 12:37:04] Production.INFO: CreateAllLog End [2025-03-20 12:37:04] Production.INFO: Account Balance End. [2025-03-20 12:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:37:04] Production.INFO: ==24766== Releasing lock... [2025-03-20 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:37:05 [end_date_ymd] => 2025-03-20 12:37:05 [RateCDR] => 1 ) [2025-03-20 12:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:37:05' and `end` < '2025-03-20 12:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:37:13] Production.ERROR: CronJobId end10 [2025-03-20 12:37:13] Production.INFO: ==24764== Releasing lock... [2025-03-20 12:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:37:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:37:15] Production.INFO: call_cost start [2025-03-20 12:37:15] Production.INFO: call_cost end [2025-03-20 12:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:37:16] Production.INFO: ==24760== Releasing lock... [2025-03-20 12:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:37:19] Production.INFO: count ==5706 [2025-03-20 12:37:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:37:05 - End Time 2025-03-20 12:37:05 [2025-03-20 12:37:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722886', 'tblTempUsageDetail_20' ) start [2025-03-20 12:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722886', 'tblTempUsageDetail_20' ) end [2025-03-20 12:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722886', 'tblTempVendorCDR_20' ) start [2025-03-20 12:37:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722886', 'tblTempVendorCDR_20' ) end [2025-03-20 12:37:21] Production.INFO: ProcessCDR(1,14722886,1,1,2) [2025-03-20 12:37:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:37:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:37:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:37:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722886', 'tblTempUsageDetail_20' ) start [2025-03-20 12:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722886', 'tblTempUsageDetail_20' ) end [2025-03-20 12:37:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:37:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:37:27] Production.INFO: ==24768== Releasing lock... [2025-03-20 12:37:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:37:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:38:02] Production.INFO: ==24838== Lock acquired, processing the job... [2025-03-20 16:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:38:02] Production.INFO: neon service started [2025-03-20 16:38:02] Production.INFO: neon service started [2025-03-20 16:38:02] Production.INFO: ==24838== Releasing lock... [2025-03-20 16:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:38:03] Production.INFO: ==24840== Lock acquired, processing the job... [2025-03-20 12:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:38:03] Production.INFO: ==24842== Lock acquired, processing the job... [2025-03-20 16:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:38:03] Production.INFO: ==24842== Releasing lock... [2025-03-20 16:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:38:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:38:03] Production.INFO: ==24840== Releasing lock... [2025-03-20 12:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:38:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:38:04] Production.INFO: ==24845== Lock acquired, processing the job... [2025-03-20 12:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:38:04] Production.INFO: ==24847== Lock acquired, processing the job... [2025-03-20 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:38:04] Production.INFO: ==24851== Lock acquired, processing the job... [2025-03-20 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:38:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:38:04] Production.INFO: ==24849== Lock acquired, processing the job... [2025-03-20 12:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:38:04] Production.INFO: Account Balance Start. [2025-03-20 12:38:04] Production.INFO: CreateAllLog Start [2025-03-20 12:38:04] Production.INFO: 117 [2025-03-20 12:38:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:38:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:38:04] Production.INFO: ==24853== Lock acquired, processing the job... [2025-03-20 12:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:38:04] Production.INFO: ==24855== Lock acquired, processing the job... [2025-03-20 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:38:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:04] Production.INFO: ==24847== Releasing lock... [2025-03-20 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:04] Production.INFO: count ==12 [2025-03-20 12:38: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-03-20 12:38:05] Production.INFO: count ==23 [2025-03-20 12:38:05] Production.INFO: Date 2025-03-15 [2025-03-20 12:38:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722890') start [2025-03-20 12:38:05] Production.INFO: Date 2025-03-16 [2025-03-20 12:38:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722890') end [2025-03-20 12:38:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:38:05] Production.INFO: 1 [2025-03-20 12:38:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:38:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:38:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:05] Production.INFO: ==24855== Releasing lock... [2025-03-20 12:38:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:38:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:38:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:38:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:05] Production.ERROR: done [2025-03-20 12:38:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:38:05] Production.ERROR: done [2025-03-20 12:38:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:38:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:38:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:38:05] Production.INFO: Total Charge 0 [2025-03-20 12:38:05] Production.INFO: CreateAllLog End [2025-03-20 12:38:05] Production.INFO: Account Balance End. [2025-03-20 12:38:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:38:05] Production.INFO: ==24851== Releasing lock... [2025-03-20 12:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:38:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:38:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:38:06 [end_date_ymd] => 2025-03-20 12:38:06 [RateCDR] => 1 ) [2025-03-20 12:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:38:06' and `end` < '2025-03-20 12:38:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:38:13] Production.ERROR: CronJobId end10 [2025-03-20 12:38:13] Production.INFO: ==24849== Releasing lock... [2025-03-20 12:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:38:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:38:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:38:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:38:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:38:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:38:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:38:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:38:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:38:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:38:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:38:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:38:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:38:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:38:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:38:16] Production.INFO: call_cost start [2025-03-20 12:38:16] Production.INFO: call_cost end [2025-03-20 12:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:38:16] Production.INFO: ==24845== Releasing lock... [2025-03-20 12:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:38:20] Production.INFO: count ==5680 [2025-03-20 12:38:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:38:06 - End Time 2025-03-20 12:38:06 [2025-03-20 12:38:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722891', 'tblTempUsageDetail_20' ) start [2025-03-20 12:38:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722891', 'tblTempUsageDetail_20' ) end [2025-03-20 12:38:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722891', 'tblTempVendorCDR_20' ) start [2025-03-20 12:38:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722891', 'tblTempVendorCDR_20' ) end [2025-03-20 12:38:23] Production.INFO: ProcessCDR(1,14722891,1,1,2) [2025-03-20 12:38:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:38:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:38:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:38:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722891', 'tblTempUsageDetail_20' ) start [2025-03-20 12:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722891', 'tblTempUsageDetail_20' ) end [2025-03-20 12:38:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:38:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:38:28] Production.INFO: ==24853== Releasing lock... [2025-03-20 12:38:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:38:28] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 16:39:01] Production.INFO: ==24922== Lock acquired, processing the job... [2025-03-20 16:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:39:01] Production.INFO: neon service started [2025-03-20 16:39:01] Production.INFO: neon service started [2025-03-20 16:39:01] Production.INFO: ==24922== Releasing lock... [2025-03-20 16:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:39:02] Production.INFO: ==24926== Lock acquired, processing the job... [2025-03-20 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:39:02] Production.INFO: ==24926== Releasing lock... [2025-03-20 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:39:02] Production.INFO: ==24928== Lock acquired, processing the job... [2025-03-20 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:39:02] Production.INFO: ==24928== Releasing lock... [2025-03-20 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:39:03] Production.INFO: ==24934== Lock acquired, processing the job... [2025-03-20 12:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:39:03] Production.INFO: ==24930== Lock acquired, processing the job... [2025-03-20 12:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:39:03] Production.INFO: ==24932== Lock acquired, processing the job... [2025-03-20 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:39:03] Production.INFO: ==24936== Lock acquired, processing the job... [2025-03-20 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:39:03] Production.INFO: ==24940== Lock acquired, processing the job... [2025-03-20 12:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:39:03] Production.INFO: ==24938== Lock acquired, processing the job... [2025-03-20 12:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:39:04] Production.INFO: Account Balance Start. [2025-03-20 12:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:39:04] Production.INFO: CreateAllLog Start [2025-03-20 12:39:04] Production.INFO: 117 [2025-03-20 12:39:04] Production.INFO: ==24932== Releasing lock... [2025-03-20 12:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:39:04] Production.INFO: count ==12 [2025-03-20 12:39:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:39:04] Production.INFO: count ==23 [2025-03-20 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722895') start [2025-03-20 12:39:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.ERROR: done [2025-03-20 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722895') end [2025-03-20 12:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:39:04] Production.INFO: 1 [2025-03-20 12:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:39:04] Production.INFO: ==24940== Releasing lock... [2025-03-20 12:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.ERROR: done [2025-03-20 12:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:39:04] Production.INFO: Total Charge 0 [2025-03-20 12:39:04] Production.INFO: CreateAllLog End [2025-03-20 12:39:05] Production.INFO: Account Balance End. [2025-03-20 12:39:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:39:05] Production.INFO: ==24936== Releasing lock... [2025-03-20 12:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:39:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:39:05 [end_date_ymd] => 2025-03-20 12:39:05 [RateCDR] => 1 ) [2025-03-20 12:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:39:05' and `end` < '2025-03-20 12:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:39:12] Production.ERROR: CronJobId end10 [2025-03-20 12:39:12] Production.INFO: ==24934== Releasing lock... [2025-03-20 12:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:39:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:39:15] Production.INFO: call_cost start [2025-03-20 12:39:15] Production.INFO: call_cost end [2025-03-20 12:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:39:16] Production.INFO: ==24930== Releasing lock... [2025-03-20 12:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:39:19] Production.INFO: count ==5687 [2025-03-20 12:39:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:39:05 - End Time 2025-03-20 12:39:05 [2025-03-20 12:39:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722896', 'tblTempUsageDetail_20' ) start [2025-03-20 12:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722896', 'tblTempUsageDetail_20' ) end [2025-03-20 12:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722896', 'tblTempVendorCDR_20' ) start [2025-03-20 12:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722896', 'tblTempVendorCDR_20' ) end [2025-03-20 12:39:21] Production.INFO: ProcessCDR(1,14722896,1,1,2) [2025-03-20 12:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722896', 'tblTempUsageDetail_20' ) start [2025-03-20 12:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722896', 'tblTempUsageDetail_20' ) end [2025-03-20 12:39:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:39:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:39:27] Production.INFO: ==24938== Releasing lock... [2025-03-20 12:39:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:39:27] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 16:40:02] Production.INFO: ==25006== Lock acquired, processing the job... [2025-03-20 16:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:40:02] Production.INFO: neon service started [2025-03-20 16:40:02] Production.INFO: neon service started [2025-03-20 16:40:02] Production.INFO: ==25006== Releasing lock... [2025-03-20 16:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:40:02] Production.INFO: ==25008== Lock acquired, processing the job... [2025-03-20 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:40:02] Production.INFO: ==25010== Lock acquired, processing the job... [2025-03-20 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:40:03] Production.INFO: ==25010== Releasing lock... [2025-03-20 16:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:40:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:40:03] Production.INFO: ==25008== Releasing lock... [2025-03-20 12:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:40:04] Production.INFO: ==25013== Lock acquired, processing the job... [2025-03-20 12:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 12:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 12:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 12:40:04] Production.INFO: ==25013== Releasing lock... [2025-03-20 12:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 12:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 12:40:04] Production.INFO: ==25017== Lock acquired, processing the job... [2025-03-20 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:40:04] Production.INFO: ==25021== Lock acquired, processing the job... [2025-03-20 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:40:04] Production.INFO: ==25015== Lock acquired, processing the job... [2025-03-20 12:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:40:04] Production.INFO: Account Balance Start. [2025-03-20 12:40:04] Production.INFO: CreateAllLog Start [2025-03-20 12:40:04] Production.INFO: 117 [2025-03-20 12:40:04] Production.INFO: ==25027== Lock acquired, processing the job... [2025-03-20 12:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:04] Production.INFO: ==25019== Lock acquired, processing the job... [2025-03-20 12:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:40:04] Production.INFO: ==25017== Releasing lock... [2025-03-20 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:40:04] Production.INFO: ==25023== Lock acquired, processing the job... [2025-03-20 12:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:04] Production.INFO: count ==12 [2025-03-20 12:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:40:04] Production.INFO: ==25025== Lock acquired, processing the job... [2025-03-20 12:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 12:40:04] Production.INFO: count ==23 [2025-03-20 12:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722900') start [2025-03-20 12:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722900') end [2025-03-20 12:40:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:40:05] Production.INFO: 1 [2025-03-20 12:40:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:05] Production.INFO: ==25027== Releasing lock... [2025-03-20 12:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:40:05] Production.INFO: Date 2025-03-16 [2025-03-20 12:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:05] Production.ERROR: done [2025-03-20 12:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:40:05] Production.ERROR: done [2025-03-20 12:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 12:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722901', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 12:40:05] Production.INFO: Total Charge 0 [2025-03-20 12:40:05] Production.INFO: CreateAllLog End [2025-03-20 12:40:05] Production.ERROR: done [2025-03-20 12:40:05] Production.INFO: Account Balance End. [2025-03-20 12:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:40:05] Production.INFO: ==25021== Releasing lock... [2025-03-20 12:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:40:06 [end_date_ymd] => 2025-03-20 12:40:06 [RateCDR] => 1 ) [2025-03-20 12:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:40:06' and `end` < '2025-03-20 12:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722901', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 12:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 12:40:09] Production.INFO: ProcessCDR(1,14722901,1,1,2) [2025-03-20 12:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722901,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722901,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:40:10] Production.INFO: ==25025== Releasing lock... [2025-03-20 12:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 12:40:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 12:40:15] Production.ERROR: CronJobId end10 [2025-03-20 12:40:15] Production.INFO: ==25019== Releasing lock... [2025-03-20 12:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:40:16] Production.INFO: call_cost start [2025-03-20 12:40:16] Production.INFO: call_cost end [2025-03-20 12:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:40:17] Production.INFO: ==25015== Releasing lock... [2025-03-20 12:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:40:20] Production.INFO: count ==5678 [2025-03-20 12:40:23] Production.ERROR: pbx CDR StartTime 2025-03-20 09:40:06 - End Time 2025-03-20 12:40:06 [2025-03-20 12:40:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722902', 'tblTempUsageDetail_20' ) start [2025-03-20 12:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722902', 'tblTempUsageDetail_20' ) end [2025-03-20 12:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722902', 'tblTempVendorCDR_20' ) start [2025-03-20 12:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722902', 'tblTempVendorCDR_20' ) end [2025-03-20 12:40:23] Production.INFO: ProcessCDR(1,14722902,1,1,2) [2025-03-20 12:40:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:40:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722902,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:40:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:40:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722902,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722902', 'tblTempUsageDetail_20' ) start [2025-03-20 12:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722902', 'tblTempUsageDetail_20' ) end [2025-03-20 12:40:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:40:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:40:28] Production.INFO: ==25023== Releasing lock... [2025-03-20 12:40:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:40:28] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 16:41:01] Production.INFO: ==25096== Lock acquired, processing the job... [2025-03-20 16:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:41:01] Production.INFO: neon service started [2025-03-20 16:41:01] Production.INFO: neon service started [2025-03-20 16:41:01] Production.INFO: ==25096== Releasing lock... [2025-03-20 16:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:41:02] Production.INFO: ==25100== Lock acquired, processing the job... [2025-03-20 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:41:02] Production.INFO: ==25100== Releasing lock... [2025-03-20 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:41:02] Production.INFO: ==25098== Lock acquired, processing the job... [2025-03-20 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:41:02] Production.INFO: ==25098== Releasing lock... [2025-03-20 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:41:03] Production.INFO: ==25105== Lock acquired, processing the job... [2025-03-20 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:41:03] Production.INFO: ==25109== Lock acquired, processing the job... [2025-03-20 12:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:41:03] Production.INFO: ==25113== Lock acquired, processing the job... [2025-03-20 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:41:03] Production.INFO: Account Balance Start. [2025-03-20 12:41:03] Production.INFO: CreateAllLog Start [2025-03-20 12:41:03] Production.INFO: ==25103== Lock acquired, processing the job... [2025-03-20 12:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:41:03] Production.INFO: 117 [2025-03-20 12:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:41:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:03] Production.INFO: ==25107== Lock acquired, processing the job... [2025-03-20 12:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:41:03] Production.INFO: ==25111== Lock acquired, processing the job... [2025-03-20 12:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:41:03] Production.INFO: count ==12 [2025-03-20 12:41:03] Production.INFO: ==25105== Releasing lock... [2025-03-20 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:41:03] Production.INFO: count ==23 [2025-03-20 12:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722905') start [2025-03-20 12:41:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:41:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:41:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722905') end [2025-03-20 12:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:41:03] Production.INFO: 1 [2025-03-20 12:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:41:03] Production.INFO: Date 2025-03-13 [2025-03-20 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:03] Production.INFO: ==25113== Releasing lock... [2025-03-20 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:41:03] Production.INFO: Date 2025-03-14 [2025-03-20 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:03] Production.INFO: Date 2025-03-15 [2025-03-20 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:03] Production.INFO: Date 2025-03-16 [2025-03-20 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:03] Production.INFO: Date 2025-03-17 [2025-03-20 12:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:04] Production.ERROR: done [2025-03-20 12:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:41:04] Production.ERROR: done [2025-03-20 12:41:04] Production.INFO: Total Charge 0 [2025-03-20 12:41:04] Production.INFO: CreateAllLog End [2025-03-20 12:41:04] Production.INFO: Account Balance End. [2025-03-20 12:41:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:41:04] Production.INFO: ==25109== Releasing lock... [2025-03-20 12:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:41:05 [end_date_ymd] => 2025-03-20 12:41:05 [RateCDR] => 1 ) [2025-03-20 12:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:41:05' and `end` < '2025-03-20 12:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:41:12] Production.ERROR: CronJobId end10 [2025-03-20 12:41:12] Production.INFO: ==25107== Releasing lock... [2025-03-20 12:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:41:14] Production.INFO: call_cost start [2025-03-20 12:41:14] Production.INFO: call_cost end [2025-03-20 12:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:41:15] Production.INFO: ==25103== Releasing lock... [2025-03-20 12:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:41:18] Production.INFO: count ==5691 [2025-03-20 12:41:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:41:05 - End Time 2025-03-20 12:41:05 [2025-03-20 12:41:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722907', 'tblTempUsageDetail_20' ) start [2025-03-20 12:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722907', 'tblTempUsageDetail_20' ) end [2025-03-20 12:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722907', 'tblTempVendorCDR_20' ) start [2025-03-20 12:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722907', 'tblTempVendorCDR_20' ) end [2025-03-20 12:41:21] Production.INFO: ProcessCDR(1,14722907,1,1,2) [2025-03-20 12:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:41:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722907,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:41:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:41:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722907,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722907', 'tblTempUsageDetail_20' ) start [2025-03-20 12:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722907', 'tblTempUsageDetail_20' ) end [2025-03-20 12:41:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:41:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:41:26] Production.INFO: ==25111== Releasing lock... [2025-03-20 12:41:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:41:26] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 16:42:02] Production.INFO: ==25177== Lock acquired, processing the job... [2025-03-20 16:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:42:02] Production.INFO: neon service started [2025-03-20 16:42:02] Production.INFO: neon service started [2025-03-20 16:42:02] Production.INFO: ==25177== Releasing lock... [2025-03-20 16:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:42:02] Production.INFO: ==25181== Lock acquired, processing the job... [2025-03-20 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:42:02] Production.INFO: ==25183== Lock acquired, processing the job... [2025-03-20 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:42:02] Production.INFO: ==25183== Releasing lock... [2025-03-20 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:42:03] Production.INFO: ==25181== Releasing lock... [2025-03-20 12:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:42:03] Production.INFO: ==25186== Lock acquired, processing the job... [2025-03-20 12:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:42:03] Production.INFO: ==25190== Lock acquired, processing the job... [2025-03-20 12:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:42:03] Production.INFO: ==25188== Lock acquired, processing the job... [2025-03-20 12:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:42:04] Production.INFO: ==25194== Lock acquired, processing the job... [2025-03-20 12:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:42:04] Production.INFO: ==25192== Lock acquired, processing the job... [2025-03-20 12:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:42:04] Production.INFO: ==25196== Lock acquired, processing the job... [2025-03-20 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:42:04] Production.INFO: count ==12 [2025-03-20 12:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:42:04] Production.INFO: count ==23 [2025-03-20 12:42:04] Production.INFO: Account Balance Start. [2025-03-20 12:42:04] Production.INFO: CreateAllLog Start [2025-03-20 12:42:04] Production.INFO: 117 [2025-03-20 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722910') start [2025-03-20 12:42:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:04] Production.INFO: ==25188== Releasing lock... [2025-03-20 12:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722910') end [2025-03-20 12:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:42:04] Production.INFO: 1 [2025-03-20 12:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:04] Production.INFO: ==25196== Releasing lock... [2025-03-20 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:04] Production.ERROR: done [2025-03-20 12:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:42:05] Production.ERROR: done [2025-03-20 12:42:05] Production.INFO: Total Charge 0 [2025-03-20 12:42:05] Production.INFO: CreateAllLog End [2025-03-20 12:42:05] Production.INFO: Account Balance End. [2025-03-20 12:42:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:42:05] Production.INFO: ==25192== Releasing lock... [2025-03-20 12:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:42:06 [end_date_ymd] => 2025-03-20 12:42:06 [RateCDR] => 1 ) [2025-03-20 12:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:42:06' and `end` < '2025-03-20 12:42:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:42:12] Production.ERROR: CronJobId end10 [2025-03-20 12:42:12] Production.INFO: ==25190== Releasing lock... [2025-03-20 12:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:42:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:42:15] Production.INFO: call_cost start [2025-03-20 12:42:15] Production.INFO: call_cost end [2025-03-20 12:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:42:16] Production.INFO: ==25186== Releasing lock... [2025-03-20 12:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:42:19] Production.INFO: count ==5692 [2025-03-20 12:42:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:42:06 - End Time 2025-03-20 12:42:06 [2025-03-20 12:42:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722912', 'tblTempUsageDetail_20' ) start [2025-03-20 12:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722912', 'tblTempUsageDetail_20' ) end [2025-03-20 12:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722912', 'tblTempVendorCDR_20' ) start [2025-03-20 12:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722912', 'tblTempVendorCDR_20' ) end [2025-03-20 12:42:22] Production.INFO: ProcessCDR(1,14722912,1,1,2) [2025-03-20 12:42:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722912,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:42:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722912,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722912', 'tblTempUsageDetail_20' ) start [2025-03-20 12:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722912', 'tblTempUsageDetail_20' ) end [2025-03-20 12:42:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:42:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:42:27] Production.INFO: ==25194== Releasing lock... [2025-03-20 12:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:42:27] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 16:43:01] Production.INFO: ==25265== Lock acquired, processing the job... [2025-03-20 16:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:43:01] Production.INFO: neon service started [2025-03-20 16:43:01] Production.INFO: neon service started [2025-03-20 16:43:01] Production.INFO: ==25265== Releasing lock... [2025-03-20 16:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:43:01] Production.INFO: ==25269== Lock acquired, processing the job... [2025-03-20 16:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:43:02] Production.INFO: ==25269== Releasing lock... [2025-03-20 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:43:02] Production.INFO: ==25267== Lock acquired, processing the job... [2025-03-20 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:43:02] Production.INFO: ==25267== Releasing lock... [2025-03-20 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:43:03] Production.INFO: ==25275== Lock acquired, processing the job... [2025-03-20 12:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:43:03] Production.INFO: ==25271== Lock acquired, processing the job... [2025-03-20 12:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:43:03] Production.INFO: ==25273== Lock acquired, processing the job... [2025-03-20 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:43:03] Production.INFO: ==25279== Lock acquired, processing the job... [2025-03-20 12:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:43:03] Production.INFO: ==25277== Lock acquired, processing the job... [2025-03-20 12:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:43:03] Production.INFO: ==25281== Lock acquired, processing the job... [2025-03-20 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:43:03] Production.INFO: Account Balance Start. [2025-03-20 12:43:03] Production.INFO: CreateAllLog Start [2025-03-20 12:43:03] Production.INFO: 117 [2025-03-20 12:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:43:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:03] Production.INFO: count ==12 [2025-03-20 12:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:43:04] Production.INFO: count ==23 [2025-03-20 12:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722915') start [2025-03-20 12:43:04] Production.ERROR: done [2025-03-20 12:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:43:04] Production.INFO: ==25273== Releasing lock... [2025-03-20 12:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722915') end [2025-03-20 12:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:43:04] Production.INFO: 1 [2025-03-20 12:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.ERROR: done [2025-03-20 12:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.INFO: ==25281== Releasing lock... [2025-03-20 12:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:43:04] Production.INFO: Total Charge 0 [2025-03-20 12:43:04] Production.INFO: CreateAllLog End [2025-03-20 12:43:04] Production.INFO: Account Balance End. [2025-03-20 12:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:43:05] Production.INFO: ==25277== Releasing lock... [2025-03-20 12:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:43:05 [end_date_ymd] => 2025-03-20 12:43:05 [RateCDR] => 1 ) [2025-03-20 12: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-03-20 09:43:05' and `end` < '2025-03-20 12: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-03-20 12:43:12] Production.ERROR: CronJobId end10 [2025-03-20 12:43:12] Production.INFO: ==25275== Releasing lock... [2025-03-20 12:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:43:15] Production.INFO: call_cost start [2025-03-20 12:43:15] Production.INFO: call_cost end [2025-03-20 12:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:43:16] Production.INFO: ==25271== Releasing lock... [2025-03-20 12:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:43:19] Production.INFO: count ==5683 [2025-03-20 12:43:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:43:05 - End Time 2025-03-20 12:43:05 [2025-03-20 12:43:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722917', 'tblTempUsageDetail_20' ) start [2025-03-20 12:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722917', 'tblTempUsageDetail_20' ) end [2025-03-20 12:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722917', 'tblTempVendorCDR_20' ) start [2025-03-20 12:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722917', 'tblTempVendorCDR_20' ) end [2025-03-20 12:43:21] Production.INFO: ProcessCDR(1,14722917,1,1,2) [2025-03-20 12:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:43:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722917,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:43:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:43:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722917,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722917', 'tblTempUsageDetail_20' ) start [2025-03-20 12:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722917', 'tblTempUsageDetail_20' ) end [2025-03-20 12:43:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:43:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:43:27] Production.INFO: ==25279== Releasing lock... [2025-03-20 12:43:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:43:27] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 16:44:02] Production.INFO: ==25352== Lock acquired, processing the job... [2025-03-20 16:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:44:02] Production.INFO: neon service started [2025-03-20 16:44:02] Production.INFO: neon service started [2025-03-20 16:44:02] Production.INFO: ==25352== Releasing lock... [2025-03-20 16:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:44:02] Production.INFO: ==25354== Lock acquired, processing the job... [2025-03-20 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:44:02] Production.INFO: ==25354== Releasing lock... [2025-03-20 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:44:03] Production.INFO: ==25356== Lock acquired, processing the job... [2025-03-20 16:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:44:03] Production.INFO: ==25356== Releasing lock... [2025-03-20 16:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:44:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:44:03] Production.INFO: ==25358== Lock acquired, processing the job... [2025-03-20 12:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:44:03] Production.INFO: ==25360== Lock acquired, processing the job... [2025-03-20 12:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:44:03] Production.INFO: ==25362== Lock acquired, processing the job... [2025-03-20 12:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:44:04] Production.INFO: ==25360== Releasing lock... [2025-03-20 12:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:44:04] Production.INFO: ==25366== Lock acquired, processing the job... [2025-03-20 12:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:44:04] Production.INFO: ==25364== Lock acquired, processing the job... [2025-03-20 12:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:44:04] Production.INFO: ==25369== Lock acquired, processing the job... [2025-03-20 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:44:04] Production.INFO: count ==12 [2025-03-20 12:44:04] Production.INFO: Account Balance Start. [2025-03-20 12:44:04] Production.INFO: CreateAllLog Start [2025-03-20 12:44:04] Production.INFO: 117 [2025-03-20 12:44:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:44:04] Production.INFO: count ==23 [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722920') start [2025-03-20 12:44:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722920') end [2025-03-20 12:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:44:04] Production.INFO: 1 [2025-03-20 12:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:04] Production.INFO: ==25369== Releasing lock... [2025-03-20 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:44:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:44:04] Production.ERROR: done [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:04] Production.ERROR: done [2025-03-20 12:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:44:05] Production.INFO: Total Charge 0 [2025-03-20 12:44:05] Production.INFO: CreateAllLog End [2025-03-20 12:44:05] Production.INFO: Account Balance End. [2025-03-20 12:44:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:44:05] Production.INFO: ==25364== Releasing lock... [2025-03-20 12:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:44:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:44:05 [end_date_ymd] => 2025-03-20 12:44:05 [RateCDR] => 1 ) [2025-03-20 12:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:44:05' and `end` < '2025-03-20 12:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:44:12] Production.ERROR: CronJobId end10 [2025-03-20 12:44:12] Production.INFO: ==25362== Releasing lock... [2025-03-20 12:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:44:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:44:14] Production.INFO: call_cost start [2025-03-20 12:44:14] Production.INFO: call_cost end [2025-03-20 12:44:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:44:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:44:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:44:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:44:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:44:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:44:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:44:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:44:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:44:15] Production.INFO: ==25358== Releasing lock... [2025-03-20 12:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:44:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:44:19] Production.INFO: count ==5705 [2025-03-20 12:44:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:44:05 - End Time 2025-03-20 12:44:05 [2025-03-20 12:44:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722922', 'tblTempUsageDetail_20' ) start [2025-03-20 12:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722922', 'tblTempUsageDetail_20' ) end [2025-03-20 12:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722922', 'tblTempVendorCDR_20' ) start [2025-03-20 12:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722922', 'tblTempVendorCDR_20' ) end [2025-03-20 12:44:22] Production.INFO: ProcessCDR(1,14722922,1,1,2) [2025-03-20 12:44:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722922,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:44:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722922,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722922', 'tblTempUsageDetail_20' ) start [2025-03-20 12:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722922', 'tblTempUsageDetail_20' ) end [2025-03-20 12:44:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:44:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:44:27] Production.INFO: ==25366== Releasing lock... [2025-03-20 12:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:44:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:45:01] Production.INFO: ==25441== Lock acquired, processing the job... [2025-03-20 16:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:45:01] Production.INFO: neon service started [2025-03-20 16:45:01] Production.INFO: neon service started [2025-03-20 16:45:01] Production.INFO: ==25441== Releasing lock... [2025-03-20 16:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:45:01] Production.INFO: ==25444== Lock acquired, processing the job... [2025-03-20 12:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:45:02] Production.INFO: ==25444== Releasing lock... [2025-03-20 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:45:02] Production.INFO: ==25446== Lock acquired, processing the job... [2025-03-20 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:45:02] Production.INFO: ==25446== Releasing lock... [2025-03-20 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:45:03] Production.INFO: ==25448== Lock acquired, processing the job... [2025-03-20 12:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:45:03] Production.INFO: ==25452== Lock acquired, processing the job... [2025-03-20 12:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:45:03] Production.INFO: ==25450== Lock acquired, processing the job... [2025-03-20 12:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:45:03] Production.INFO: ==25458== Lock acquired, processing the job... [2025-03-20 12:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:45:03] Production.INFO: ==25454== Lock acquired, processing the job... [2025-03-20 12:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:45:03] Production.INFO: ==25456== Lock acquired, processing the job... [2025-03-20 12:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:45:03] Production.INFO: Account Balance Start. [2025-03-20 12:45:03] Production.INFO: CreateAllLog Start [2025-03-20 12:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:45:03] Production.INFO: 117 [2025-03-20 12:45:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:03] Production.INFO: count ==12 [2025-03-20 12:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:45:03] Production.INFO: count ==23 [2025-03-20 12:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722925') start [2025-03-20 12:45:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722925') end [2025-03-20 12:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:45:03] Production.INFO: 1 [2025-03-20 12:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:45:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:03] Production.INFO: ==25450== Releasing lock... [2025-03-20 12:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:45:03] Production.INFO: ==25458== Releasing lock... [2025-03-20 12:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:45:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:45:04] Production.ERROR: done [2025-03-20 12:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:45:04] Production.ERROR: done [2025-03-20 12:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:45:04] Production.INFO: Total Charge 0 [2025-03-20 12:45:04] Production.INFO: CreateAllLog End [2025-03-20 12:45:04] Production.INFO: Account Balance End. [2025-03-20 12:45:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:45:04] Production.INFO: ==25454== Releasing lock... [2025-03-20 12:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:45:05 [end_date_ymd] => 2025-03-20 12:45:05 [RateCDR] => 1 ) [2025-03-20 12:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:45:05' and `end` < '2025-03-20 12:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:45:12] Production.ERROR: CronJobId end10 [2025-03-20 12:45:12] Production.INFO: ==25452== Releasing lock... [2025-03-20 12:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:45:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:45:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:45:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:45:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:45:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:45:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:45:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:45:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:45:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:45:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:45:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:45:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:45:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:45:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:45:14] Production.INFO: call_cost start [2025-03-20 12:45:14] Production.INFO: call_cost end [2025-03-20 12:45:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:45:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:45:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:45:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:45:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:45:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:45:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:45:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:45:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:45:15] Production.INFO: ==25448== Releasing lock... [2025-03-20 12:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:45:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:45:18] Production.INFO: count ==5717 [2025-03-20 12:45:20] Production.ERROR: pbx CDR StartTime 2025-03-20 09:45:05 - End Time 2025-03-20 12:45:05 [2025-03-20 12:45:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722927', 'tblTempUsageDetail_20' ) start [2025-03-20 12:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722927', 'tblTempUsageDetail_20' ) end [2025-03-20 12:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722927', 'tblTempVendorCDR_20' ) start [2025-03-20 12:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722927', 'tblTempVendorCDR_20' ) end [2025-03-20 12:45:20] Production.INFO: ProcessCDR(1,14722927,1,1,2) [2025-03-20 12:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:45:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:45:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:45:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722927', 'tblTempUsageDetail_20' ) start [2025-03-20 12:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722927', 'tblTempUsageDetail_20' ) end [2025-03-20 12:45:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:45:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:45:26] Production.INFO: ==25456== Releasing lock... [2025-03-20 12:45:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:45:26] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:46:01] Production.INFO: ==25526== Lock acquired, processing the job... [2025-03-20 16:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:46:02] Production.INFO: neon service started [2025-03-20 16:46:02] Production.INFO: neon service started [2025-03-20 16:46:02] Production.INFO: ==25526== Releasing lock... [2025-03-20 16:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:46:02] Production.INFO: ==25528== Lock acquired, processing the job... [2025-03-20 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:46:02] Production.INFO: ==25530== Lock acquired, processing the job... [2025-03-20 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:46:02] Production.INFO: ==25530== Releasing lock... [2025-03-20 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:46:03] Production.INFO: ==25528== Releasing lock... [2025-03-20 12:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:46:03] Production.INFO: ==25533== Lock acquired, processing the job... [2025-03-20 12:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:46:04] Production.INFO: ==25537== Lock acquired, processing the job... [2025-03-20 12:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:46:04] Production.INFO: ==25539== Lock acquired, processing the job... [2025-03-20 12:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:46:04] Production.INFO: ==25535== Lock acquired, processing the job... [2025-03-20 12:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:46:04] Production.INFO: Account Balance Start. [2025-03-20 12:46:04] Production.INFO: CreateAllLog Start [2025-03-20 12:46:04] Production.INFO: 117 [2025-03-20 12:46:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:04] Production.INFO: ==25541== Lock acquired, processing the job... [2025-03-20 12:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:04] Production.INFO: ==25543== Lock acquired, processing the job... [2025-03-20 12:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:04] Production.INFO: ==25535== Releasing lock... [2025-03-20 12:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:04] Production.INFO: count ==12 [2025-03-20 12:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:46:04] Production.INFO: count ==23 [2025-03-20 12:46:04] Production.ERROR: done [2025-03-20 12:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722931') start [2025-03-20 12:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:46:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:05] Production.ERROR: done [2025-03-20 12:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722931') end [2025-03-20 12:46:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:46:05] Production.INFO: 1 [2025-03-20 12:46:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:46:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:46:05] Production.INFO: Total Charge 0 [2025-03-20 12:46:05] Production.INFO: CreateAllLog End [2025-03-20 12:46:05] Production.INFO: ==25543== Releasing lock... [2025-03-20 12:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:46:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:46:05] Production.INFO: Account Balance End. [2025-03-20 12:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:46:05] Production.INFO: ==25539== Releasing lock... [2025-03-20 12:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:46:06 [end_date_ymd] => 2025-03-20 12:46:06 [RateCDR] => 1 ) [2025-03-20 12: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-03-20 09:46:06' and `end` < '2025-03-20 12: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-03-20 12:46:13] Production.ERROR: CronJobId end10 [2025-03-20 12:46:13] Production.INFO: ==25537== Releasing lock... [2025-03-20 12:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:46:15] Production.INFO: call_cost start [2025-03-20 12:46:15] Production.INFO: call_cost end [2025-03-20 12:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:46:16] Production.INFO: ==25533== Releasing lock... [2025-03-20 12:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:46:19] Production.INFO: count ==5718 [2025-03-20 12:46:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:46:06 - End Time 2025-03-20 12:46:06 [2025-03-20 12:46:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722932', 'tblTempUsageDetail_20' ) start [2025-03-20 12:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722932', 'tblTempUsageDetail_20' ) end [2025-03-20 12:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722932', 'tblTempVendorCDR_20' ) start [2025-03-20 12:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722932', 'tblTempVendorCDR_20' ) end [2025-03-20 12:46:22] Production.INFO: ProcessCDR(1,14722932,1,1,2) [2025-03-20 12:46:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:46:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:46:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:46:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722932', 'tblTempUsageDetail_20' ) start [2025-03-20 12:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722932', 'tblTempUsageDetail_20' ) end [2025-03-20 12:46:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:46:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:46:28] Production.INFO: ==25541== Releasing lock... [2025-03-20 12:46:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:46:28] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:47:01] Production.INFO: ==25604== Lock acquired, processing the job... [2025-03-20 16:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:47:01] Production.INFO: neon service started [2025-03-20 16:47:01] Production.INFO: neon service started [2025-03-20 16:47:01] Production.INFO: ==25604== Releasing lock... [2025-03-20 16:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:47:02] Production.INFO: ==25606== Lock acquired, processing the job... [2025-03-20 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:47:02] Production.INFO: ==25608== Lock acquired, processing the job... [2025-03-20 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:47:02] Production.INFO: ==25608== Releasing lock... [2025-03-20 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:47:02] Production.INFO: ==25606== Releasing lock... [2025-03-20 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:47:03] Production.INFO: ==25611== Lock acquired, processing the job... [2025-03-20 12:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:47:03] Production.INFO: ==25617== Lock acquired, processing the job... [2025-03-20 12:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:47:03] Production.INFO: ==25621== Lock acquired, processing the job... [2025-03-20 12:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:47:03] Production.INFO: Account Balance Start. [2025-03-20 12:47:03] Production.INFO: CreateAllLog Start [2025-03-20 12:47:03] Production.INFO: 117 [2025-03-20 12:47:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:47:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:03] Production.INFO: count ==12 [2025-03-20 12:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:47:03] Production.INFO: count ==23 [2025-03-20 12:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722935') start [2025-03-20 12:47:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:03] Production.INFO: ==25613== Lock acquired, processing the job... [2025-03-20 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:47:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:03] Production.INFO: ==25615== Lock acquired, processing the job... [2025-03-20 12:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722935') end [2025-03-20 12:47:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:47:03] Production.INFO: 1 [2025-03-20 12:47:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:47:03] Production.INFO: ==25621== Releasing lock... [2025-03-20 12:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:47:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:47:03] Production.INFO: Date 2025-03-13 [2025-03-20 12:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:03] Production.INFO: Date 2025-03-14 [2025-03-20 12:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:47:03] Production.INFO: ==25619== Lock acquired, processing the job... [2025-03-20 12:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:47:03] Production.INFO: Date 2025-03-15 [2025-03-20 12:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:03] Production.INFO: Date 2025-03-16 [2025-03-20 12:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:04] Production.INFO: ==25613== Releasing lock... [2025-03-20 12:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:47:04] Production.INFO: Total Charge 0 [2025-03-20 12:47:04] Production.INFO: CreateAllLog End [2025-03-20 12:47:04] Production.ERROR: done [2025-03-20 12:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:47:04] Production.ERROR: done [2025-03-20 12:47:04] Production.INFO: Account Balance End. [2025-03-20 12:47:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:47:04] Production.INFO: ==25617== Releasing lock... [2025-03-20 12:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:47:05 [end_date_ymd] => 2025-03-20 12:47:05 [RateCDR] => 1 ) [2025-03-20 12:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:47:05' and `end` < '2025-03-20 12:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:47:13] Production.ERROR: CronJobId end10 [2025-03-20 12:47:13] Production.INFO: ==25615== Releasing lock... [2025-03-20 12:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:47:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:47:15] Production.INFO: call_cost start [2025-03-20 12:47:15] Production.INFO: call_cost end [2025-03-20 12:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:47:16] Production.INFO: ==25611== Releasing lock... [2025-03-20 12:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:47:19] Production.INFO: count ==5713 [2025-03-20 12:47:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:47:05 - End Time 2025-03-20 12:47:05 [2025-03-20 12:47:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722937', 'tblTempUsageDetail_20' ) start [2025-03-20 12:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722937', 'tblTempUsageDetail_20' ) end [2025-03-20 12:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722937', 'tblTempVendorCDR_20' ) start [2025-03-20 12:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722937', 'tblTempVendorCDR_20' ) end [2025-03-20 12:47:21] Production.INFO: ProcessCDR(1,14722937,1,1,2) [2025-03-20 12:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:47:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:47:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:47:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722937', 'tblTempUsageDetail_20' ) start [2025-03-20 12:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722937', 'tblTempUsageDetail_20' ) end [2025-03-20 12:47:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:47:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:47:27] Production.INFO: ==25619== Releasing lock... [2025-03-20 12:47:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:47:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 16:48:02] Production.INFO: ==25690== Lock acquired, processing the job... [2025-03-20 16:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:48:02] Production.INFO: neon service started [2025-03-20 16:48:02] Production.INFO: neon service started [2025-03-20 16:48:02] Production.INFO: ==25690== Releasing lock... [2025-03-20 16:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:48:02] Production.INFO: ==25692== Lock acquired, processing the job... [2025-03-20 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:48:02] Production.INFO: ==25694== Lock acquired, processing the job... [2025-03-20 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:48:02] Production.INFO: ==25694== Releasing lock... [2025-03-20 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:48:03] Production.INFO: ==25692== Releasing lock... [2025-03-20 12:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:48:04] Production.INFO: ==25705== Lock acquired, processing the job... [2025-03-20 12:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:48:04] Production.INFO: ==25697== Lock acquired, processing the job... [2025-03-20 12:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:48:04] Production.INFO: ==25707== Lock acquired, processing the job... [2025-03-20 12:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:48:04] Production.INFO: ==25699== Lock acquired, processing the job... [2025-03-20 12:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:48:04] Production.INFO: ==25701== Lock acquired, processing the job... [2025-03-20 12:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:48:04] Production.INFO: ==25703== Lock acquired, processing the job... [2025-03-20 12:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:48:04] Production.INFO: Account Balance Start. [2025-03-20 12:48:04] Production.INFO: CreateAllLog Start [2025-03-20 12:48:04] Production.INFO: 117 [2025-03-20 12:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 12: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-03-20 12:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:04] Production.INFO: count ==12 [2025-03-20 12: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-03-20 12:48:04] Production.INFO: count ==23 [2025-03-20 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722940') start [2025-03-20 12:48:04] Production.ERROR: done [2025-03-20 12:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722940') end [2025-03-20 12:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:48:04] Production.INFO: 1 [2025-03-20 12:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:04] Production.INFO: ==25707== Releasing lock... [2025-03-20 12:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:48:04] Production.INFO: ==25699== Releasing lock... [2025-03-20 12:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:48:04] Production.ERROR: done [2025-03-20 12:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:48:05] Production.INFO: Total Charge 0 [2025-03-20 12:48:05] Production.INFO: CreateAllLog End [2025-03-20 12:48:05] Production.INFO: Account Balance End. [2025-03-20 12:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:48:05] Production.INFO: ==25703== Releasing lock... [2025-03-20 12:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:48:05 [end_date_ymd] => 2025-03-20 12:48:05 [RateCDR] => 1 ) [2025-03-20 12: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-03-20 09:48:05' and `end` < '2025-03-20 12:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:48:13] Production.ERROR: CronJobId end10 [2025-03-20 12:48:13] Production.INFO: ==25701== Releasing lock... [2025-03-20 12:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:48:16] Production.INFO: call_cost start [2025-03-20 12:48:16] Production.INFO: call_cost end [2025-03-20 12:48:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:48:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:48:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:48:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:48:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:48:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:48:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:48:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:48:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:48:17] Production.INFO: ==25697== Releasing lock... [2025-03-20 12:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:48:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:48:19] Production.INFO: count ==5736 [2025-03-20 12:48:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:48:05 - End Time 2025-03-20 12:48:05 [2025-03-20 12:48:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722942', 'tblTempUsageDetail_20' ) start [2025-03-20 12:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722942', 'tblTempUsageDetail_20' ) end [2025-03-20 12:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722942', 'tblTempVendorCDR_20' ) start [2025-03-20 12:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722942', 'tblTempVendorCDR_20' ) end [2025-03-20 12:48:22] Production.INFO: ProcessCDR(1,14722942,1,1,2) [2025-03-20 12:48:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:48:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:48:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:48:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722942', 'tblTempUsageDetail_20' ) start [2025-03-20 12:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722942', 'tblTempUsageDetail_20' ) end [2025-03-20 12:48:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:48:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:48:27] Production.INFO: ==25705== Releasing lock... [2025-03-20 12:48:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:48:27] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:49:01] Production.INFO: ==25816== Lock acquired, processing the job... [2025-03-20 16:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:49:01] Production.INFO: neon service started [2025-03-20 16:49:01] Production.INFO: neon service started [2025-03-20 16:49:01] Production.INFO: ==25816== Releasing lock... [2025-03-20 16:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:49:02] Production.INFO: ==25818== Lock acquired, processing the job... [2025-03-20 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:49:02] Production.INFO: ==25820== Lock acquired, processing the job... [2025-03-20 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:49:02] Production.INFO: ==25820== Releasing lock... [2025-03-20 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:49:02] Production.INFO: ==25818== Releasing lock... [2025-03-20 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:49:03] Production.INFO: ==25829== Lock acquired, processing the job... [2025-03-20 12:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:49:03] Production.INFO: ==25831== Lock acquired, processing the job... [2025-03-20 12:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:49:03] Production.INFO: Account Balance Start. [2025-03-20 12:49:03] Production.INFO: CreateAllLog Start [2025-03-20 12:49:03] Production.INFO: 117 [2025-03-20 12:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:49:03] Production.INFO: ==25823== Lock acquired, processing the job... [2025-03-20 12:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:03] Production.INFO: ==25825== Lock acquired, processing the job... [2025-03-20 12:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:49:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:03] Production.INFO: Date 2025-03-13 [2025-03-20 12:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:03] Production.INFO: ==25827== Lock acquired, processing the job... [2025-03-20 12:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:49:03] Production.INFO: Date 2025-03-14 [2025-03-20 12:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:04] Production.INFO: ==25833== Lock acquired, processing the job... [2025-03-20 12:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:04] Production.INFO: count ==12 [2025-03-20 12:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:04] Production.ERROR: done [2025-03-20 12:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:49:04] Production.INFO: count ==23 [2025-03-20 12:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722946') start [2025-03-20 12:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:49:04] Production.INFO: ==25825== Releasing lock... [2025-03-20 12:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:49:04] Production.INFO: Total Charge 0 [2025-03-20 12:49:04] Production.INFO: CreateAllLog End [2025-03-20 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722946') end [2025-03-20 12:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:49:04] Production.INFO: 1 [2025-03-20 12:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:49:04] Production.INFO: ==25833== Releasing lock... [2025-03-20 12:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:49:04] Production.ERROR: done [2025-03-20 12:49:04] Production.INFO: Account Balance End. [2025-03-20 12:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:49:04] Production.INFO: ==25829== Releasing lock... [2025-03-20 12:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:49:05 [end_date_ymd] => 2025-03-20 12:49:05 [RateCDR] => 1 ) [2025-03-20 12:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:49:05' and `end` < '2025-03-20 12:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:49:12] Production.ERROR: CronJobId end10 [2025-03-20 12:49:12] Production.INFO: ==25827== Releasing lock... [2025-03-20 12:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:49:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:49:14] Production.INFO: call_cost start [2025-03-20 12:49:14] Production.INFO: call_cost end [2025-03-20 12:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:49:15] Production.INFO: ==25823== Releasing lock... [2025-03-20 12:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:49:19] Production.INFO: count ==5745 [2025-03-20 12:49:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:49:05 - End Time 2025-03-20 12:49:05 [2025-03-20 12:49:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722947', 'tblTempUsageDetail_20' ) start [2025-03-20 12:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722947', 'tblTempUsageDetail_20' ) end [2025-03-20 12:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722947', 'tblTempVendorCDR_20' ) start [2025-03-20 12:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722947', 'tblTempVendorCDR_20' ) end [2025-03-20 12:49:22] Production.INFO: ProcessCDR(1,14722947,1,1,2) [2025-03-20 12:49:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:49:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:49:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:49:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:49:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722947', 'tblTempUsageDetail_20' ) start [2025-03-20 12:49:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722947', 'tblTempUsageDetail_20' ) end [2025-03-20 12:49:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:49:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:49:28] Production.INFO: ==25831== Releasing lock... [2025-03-20 12:49:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:49:28] Production.INFO: 71 MB #Memory Used# [2025-03-20 16:50:02] Production.INFO: ==25900== Lock acquired, processing the job... [2025-03-20 16:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:50:02] Production.INFO: neon service started [2025-03-20 16:50:02] Production.INFO: neon service started [2025-03-20 16:50:02] Production.INFO: ==25900== Releasing lock... [2025-03-20 16:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:50:02] Production.INFO: ==25904== Lock acquired, processing the job... [2025-03-20 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:50:02] Production.INFO: ==25904== Releasing lock... [2025-03-20 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:50:02] Production.INFO: ==25902== Lock acquired, processing the job... [2025-03-20 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:50:03] Production.INFO: ==25902== Releasing lock... [2025-03-20 12:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:50:04] Production.INFO: ==25907== Lock acquired, processing the job... [2025-03-20 12:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 12:50:04] Production.INFO: ==25911== Lock acquired, processing the job... [2025-03-20 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 12:50:04] Production.INFO: ==25915== Lock acquired, processing the job... [2025-03-20 12:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 12:50:04] Production.INFO: ==25907== Releasing lock... [2025-03-20 12:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 12:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 12:50:04] Production.INFO: ==25919== Lock acquired, processing the job... [2025-03-20 12:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 12:50:04] Production.INFO: Account Balance Start. [2025-03-20 12:50:04] Production.INFO: CreateAllLog Start [2025-03-20 12:50:04] Production.INFO: 117 [2025-03-20 12:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:04] Production.INFO: ==25909== Lock acquired, processing the job... [2025-03-20 12:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:04] Production.INFO: ==25913== Lock acquired, processing the job... [2025-03-20 12:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:04] Production.INFO: ==25917== Lock acquired, processing the job... [2025-03-20 12:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:04] Production.INFO: ==25911== Releasing lock... [2025-03-20 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:50:04] Production.INFO: ==25921== Lock acquired, processing the job... [2025-03-20 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:50:05] Production.INFO: Date 2025-03-14 [2025-03-20 12:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:05] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:50:05] Production.INFO: Date 2025-03-15 [2025-03-20 12:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:05] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:50:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:50:05] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:50:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 12:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:50:05] Production.ERROR: done [2025-03-20 12:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 12:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722952', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 12:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:05] Production.INFO: count ==12 [2025-03-20 12:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:50:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:50:05] Production.INFO: count ==23 [2025-03-20 12:50:05] Production.INFO: Total Charge 0 [2025-03-20 12:50:05] Production.INFO: CreateAllLog End [2025-03-20 12:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722951') start [2025-03-20 12:50:05] Production.ERROR: done [2025-03-20 12:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722951') end [2025-03-20 12:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:50:05] Production.INFO: 1 [2025-03-20 12:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:50:05] Production.INFO: ==25921== Releasing lock... [2025-03-20 12:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:50:05] Production.INFO: Account Balance End. [2025-03-20 12:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:50:05] Production.INFO: ==25915== Releasing lock... [2025-03-20 12:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:50:05] Production.ERROR: done [2025-03-20 12:50:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:50:07 [end_date_ymd] => 2025-03-20 12:50:07 [RateCDR] => 1 ) [2025-03-20 12:50:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:50:07' and `end` < '2025-03-20 12:50:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14722952', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 12:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 12:50:09] Production.INFO: ProcessCDR(1,14722952,1,1,2) [2025-03-20 12:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14722952,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14722952,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:50:10] Production.INFO: ==25919== Releasing lock... [2025-03-20 12:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 12:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 12:50:16] Production.ERROR: CronJobId end10 [2025-03-20 12:50:16] Production.INFO: ==25913== Releasing lock... [2025-03-20 12:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:50:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:50:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:50:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:50:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:50:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:50:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:50:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:50:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:50:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:50:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:50:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:50:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:50:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:50:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:50:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:50:19] Production.INFO: call_cost start [2025-03-20 12:50:19] Production.INFO: call_cost end [2025-03-20 12:50:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:50:20] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:50:20] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:50:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:50:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:50:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:50:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:50:20] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:50:20] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:50:20] Production.INFO: ==25909== Releasing lock... [2025-03-20 12:50:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:50:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:50:20] Production.INFO: count ==5778 [2025-03-20 12:50:23] Production.ERROR: pbx CDR StartTime 2025-03-20 09:50:07 - End Time 2025-03-20 12:50:07 [2025-03-20 12:50:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722953', 'tblTempUsageDetail_20' ) start [2025-03-20 12:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722953', 'tblTempUsageDetail_20' ) end [2025-03-20 12:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722953', 'tblTempVendorCDR_20' ) start [2025-03-20 12:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722953', 'tblTempVendorCDR_20' ) end [2025-03-20 12:50:23] Production.INFO: ProcessCDR(1,14722953,1,1,2) [2025-03-20 12:50:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:50:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722953,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:50:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:50:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722953,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722953', 'tblTempUsageDetail_20' ) start [2025-03-20 12:50:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722953', 'tblTempUsageDetail_20' ) end [2025-03-20 12:50:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:50:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:50:29] Production.INFO: ==25917== Releasing lock... [2025-03-20 12:50:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:50:29] Production.INFO: 71.25 MB #Memory Used# [2025-03-20 16:51:01] Production.INFO: ==25983== Lock acquired, processing the job... [2025-03-20 16:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:51:01] Production.INFO: neon service started [2025-03-20 16:51:01] Production.INFO: neon service started [2025-03-20 16:51:01] Production.INFO: ==25983== Releasing lock... [2025-03-20 16:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:51:02] Production.INFO: ==25985== Lock acquired, processing the job... [2025-03-20 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:51:02] Production.INFO: ==25985== Releasing lock... [2025-03-20 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:51:02] Production.INFO: ==25987== Lock acquired, processing the job... [2025-03-20 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:51:02] Production.INFO: ==25987== Releasing lock... [2025-03-20 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:51:03] Production.INFO: ==25997== Lock acquired, processing the job... [2025-03-20 12:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:51:03] Production.INFO: ==25999== Lock acquired, processing the job... [2025-03-20 12:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:51:03] Production.INFO: ==25989== Lock acquired, processing the job... [2025-03-20 12:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:51:03] Production.INFO: ==25993== Lock acquired, processing the job... [2025-03-20 12:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:51:03] Production.INFO: ==25991== Lock acquired, processing the job... [2025-03-20 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:51:03] Production.INFO: ==25995== Lock acquired, processing the job... [2025-03-20 12:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:51:03] Production.INFO: count ==12 [2025-03-20 12:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:51:03] Production.INFO: count ==23 [2025-03-20 12:51:03] Production.INFO: Account Balance Start. [2025-03-20 12:51:03] Production.INFO: CreateAllLog Start [2025-03-20 12:51:03] Production.INFO: 117 [2025-03-20 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722954') start [2025-03-20 12:51:03] Production.ERROR: done [2025-03-20 12:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722954') end [2025-03-20 12:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:51:03] Production.INFO: 1 [2025-03-20 12:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:51:04] Production.INFO: ==25999== Releasing lock... [2025-03-20 12:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:04] Production.ERROR: done [2025-03-20 12:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:04] Production.INFO: ==25991== Releasing lock... [2025-03-20 12:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:51:04] Production.INFO: Total Charge 0 [2025-03-20 12:51:04] Production.INFO: CreateAllLog End [2025-03-20 12:51:04] Production.INFO: Account Balance End. [2025-03-20 12:51:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:51:04] Production.INFO: ==25995== Releasing lock... [2025-03-20 12:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:51:05 [end_date_ymd] => 2025-03-20 12:51:05 [RateCDR] => 1 ) [2025-03-20 12:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:51:05' and `end` < '2025-03-20 12:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:51:13] Production.ERROR: CronJobId end10 [2025-03-20 12:51:13] Production.INFO: ==25993== Releasing lock... [2025-03-20 12:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:51:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:51:15] Production.INFO: call_cost start [2025-03-20 12:51:15] Production.INFO: call_cost end [2025-03-20 12:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:51:16] Production.INFO: ==25989== Releasing lock... [2025-03-20 12:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:51:18] Production.INFO: count ==5807 [2025-03-20 12:51:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:51:05 - End Time 2025-03-20 12:51:05 [2025-03-20 12:51:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722958', 'tblTempUsageDetail_20' ) start [2025-03-20 12:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722958', 'tblTempUsageDetail_20' ) end [2025-03-20 12:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722958', 'tblTempVendorCDR_20' ) start [2025-03-20 12:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722958', 'tblTempVendorCDR_20' ) end [2025-03-20 12:51:21] Production.INFO: ProcessCDR(1,14722958,1,1,2) [2025-03-20 12:51:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:51:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722958,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:51:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722958,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722958', 'tblTempUsageDetail_20' ) start [2025-03-20 12:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722958', 'tblTempUsageDetail_20' ) end [2025-03-20 12:51:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:51:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:51:26] Production.INFO: ==25997== Releasing lock... [2025-03-20 12:51:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:51:26] Production.INFO: 71.5 MB #Memory Used# [2025-03-20 16:52:02] Production.INFO: ==26062== Lock acquired, processing the job... [2025-03-20 16:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:52:02] Production.INFO: neon service started [2025-03-20 16:52:02] Production.INFO: neon service started [2025-03-20 16:52:02] Production.INFO: ==26062== Releasing lock... [2025-03-20 16:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:52:03] Production.INFO: ==26064== Lock acquired, processing the job... [2025-03-20 12:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:52:03] Production.INFO: ==26066== Lock acquired, processing the job... [2025-03-20 16:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:52:03] Production.INFO: ==26066== Releasing lock... [2025-03-20 16:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:52:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:52:03] Production.INFO: ==26064== Releasing lock... [2025-03-20 12:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:52:04] Production.INFO: ==26073== Lock acquired, processing the job... [2025-03-20 12:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:52:04] Production.INFO: ==26077== Lock acquired, processing the job... [2025-03-20 12:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:52:04] Production.INFO: ==26071== Lock acquired, processing the job... [2025-03-20 12:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:52:04] Production.INFO: ==26069== Lock acquired, processing the job... [2025-03-20 12:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:52:04] Production.INFO: ==26075== Lock acquired, processing the job... [2025-03-20 12:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:52:04] Production.INFO: ==26079== Lock acquired, processing the job... [2025-03-20 12:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:52:04] Production.ERROR: done [2025-03-20 12:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:52:04] Production.INFO: Account Balance Start. [2025-03-20 12:52:04] Production.INFO: CreateAllLog Start [2025-03-20 12:52:04] Production.INFO: 117 [2025-03-20 12:52:04] Production.INFO: count ==12 [2025-03-20 12:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:52:05] Production.INFO: count ==23 [2025-03-20 12:52:05] Production.INFO: Date 2025-03-08 [2025-03-20 12:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722959') start [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: Date 2025-03-09 [2025-03-20 12:52:05] Production.ERROR: done [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: Date 2025-03-10 [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: Date 2025-03-11 [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14722959') end [2025-03-20 12:52:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:52:05] Production.INFO: 1 [2025-03-20 12:52:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:52:05] Production.INFO: ==26079== Releasing lock... [2025-03-20 12:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:52:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:52:05] Production.INFO: Date 2025-03-12 [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: ==26071== Releasing lock... [2025-03-20 12:52:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:52:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:52:05] Production.INFO: Date 2025-03-13 [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: Date 2025-03-14 [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: Date 2025-03-15 [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: Date 2025-03-16 [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:52:05] Production.INFO: Total Charge 0 [2025-03-20 12:52:05] Production.INFO: CreateAllLog End [2025-03-20 12:52:05] Production.INFO: Account Balance End. [2025-03-20 12:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:52:05] Production.INFO: ==26075== Releasing lock... [2025-03-20 12:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:52:06 [end_date_ymd] => 2025-03-20 12:52:06 [RateCDR] => 1 ) [2025-03-20 12: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-03-20 09:52:06' and `end` < '2025-03-20 12: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-03-20 12:52:13] Production.ERROR: CronJobId end10 [2025-03-20 12:52:13] Production.INFO: ==26073== Releasing lock... [2025-03-20 12:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:52:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:52:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:52:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:52:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:52:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:52:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:52:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:52:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:52:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:52:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:52:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:52:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:52:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:52:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:52:17] Production.INFO: call_cost start [2025-03-20 12:52:17] Production.INFO: call_cost end [2025-03-20 12:52:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:52:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:52:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:52:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:52:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:52:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:52:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:52:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:52:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:52:18] Production.INFO: ==26069== Releasing lock... [2025-03-20 12:52:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:52:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:52:20] Production.INFO: count ==5825 [2025-03-20 12:52:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:52:06 - End Time 2025-03-20 12:52:06 [2025-03-20 12:52:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722963', 'tblTempUsageDetail_20' ) start [2025-03-20 12:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722963', 'tblTempUsageDetail_20' ) end [2025-03-20 12:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722963', 'tblTempVendorCDR_20' ) start [2025-03-20 12:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722963', 'tblTempVendorCDR_20' ) end [2025-03-20 12:52:23] Production.INFO: ProcessCDR(1,14722963,1,1,2) [2025-03-20 12:52:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:52:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722963,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:52:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:52:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722963,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:52:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722963', 'tblTempUsageDetail_20' ) start [2025-03-20 12:52:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722963', 'tblTempUsageDetail_20' ) end [2025-03-20 12:52:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:52:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:52:28] Production.INFO: ==26077== Releasing lock... [2025-03-20 12:52:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:52:28] Production.INFO: 71.5 MB #Memory Used# [2025-03-20 16:53:01] Production.INFO: ==26147== Lock acquired, processing the job... [2025-03-20 16:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:53:01] Production.INFO: neon service started [2025-03-20 16:53:01] Production.INFO: neon service started [2025-03-20 16:53:01] Production.INFO: ==26147== Releasing lock... [2025-03-20 16:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:53:02] Production.INFO: ==26149== Lock acquired, processing the job... [2025-03-20 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:53:02] Production.INFO: ==26149== Releasing lock... [2025-03-20 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:53:02] Production.INFO: ==26151== Lock acquired, processing the job... [2025-03-20 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:53:02] Production.INFO: ==26151== Releasing lock... [2025-03-20 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:53:03] Production.INFO: ==26154== Lock acquired, processing the job... [2025-03-20 12:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:53:03] Production.INFO: ==26164== Lock acquired, processing the job... [2025-03-20 12:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:53:03] Production.INFO: ==26160== Lock acquired, processing the job... [2025-03-20 12:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:53:03] Production.INFO: ==26156== Lock acquired, processing the job... [2025-03-20 12:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:53:03] Production.INFO: ==26158== Lock acquired, processing the job... [2025-03-20 12:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:53:03] Production.INFO: Account Balance Start. [2025-03-20 12:53:03] Production.INFO: CreateAllLog Start [2025-03-20 12:53:03] Production.INFO: 117 [2025-03-20 12:53:03] Production.INFO: count ==12 [2025-03-20 12:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:53:03] Production.INFO: ==26162== Lock acquired, processing the job... [2025-03-20 12:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:53:03] Production.INFO: count ==23 [2025-03-20 12:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722966') start [2025-03-20 12:53:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722966') end [2025-03-20 12:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:53:03] Production.INFO: 1 [2025-03-20 12:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:53:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:04] Production.INFO: ==26164== Releasing lock... [2025-03-20 12:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:53:04] Production.INFO: ==26156== Releasing lock... [2025-03-20 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:04] Production.ERROR: done [2025-03-20 12:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:53:04] Production.INFO: Total Charge 0 [2025-03-20 12:53:04] Production.INFO: CreateAllLog End [2025-03-20 12:53:04] Production.ERROR: done [2025-03-20 12:53:04] Production.INFO: Account Balance End. [2025-03-20 12:53:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:53:04] Production.INFO: ==26160== Releasing lock... [2025-03-20 12:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:53:05 [end_date_ymd] => 2025-03-20 12:53:05 [RateCDR] => 1 ) [2025-03-20 12:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:53:05' and `end` < '2025-03-20 12:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:53:12] Production.ERROR: CronJobId end10 [2025-03-20 12:53:12] Production.INFO: ==26158== Releasing lock... [2025-03-20 12:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:53:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:53:16] Production.INFO: call_cost start [2025-03-20 12:53:16] Production.INFO: call_cost end [2025-03-20 12:53:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:53:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:53:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:53:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:53:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:53:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:53:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:53:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:53:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:53:17] Production.INFO: ==26154== Releasing lock... [2025-03-20 12:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:53:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:53:19] Production.INFO: count ==5818 [2025-03-20 12:53:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:53:05 - End Time 2025-03-20 12:53:05 [2025-03-20 12:53:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722968', 'tblTempUsageDetail_20' ) start [2025-03-20 12:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722968', 'tblTempUsageDetail_20' ) end [2025-03-20 12:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722968', 'tblTempVendorCDR_20' ) start [2025-03-20 12:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722968', 'tblTempVendorCDR_20' ) end [2025-03-20 12:53:22] Production.INFO: ProcessCDR(1,14722968,1,1,2) [2025-03-20 12:53:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:53:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722968,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:53:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:53:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722968,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722968', 'tblTempUsageDetail_20' ) start [2025-03-20 12:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722968', 'tblTempUsageDetail_20' ) end [2025-03-20 12:53:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:53:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:53:27] Production.INFO: ==26162== Releasing lock... [2025-03-20 12:53:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:53:27] Production.INFO: 71.5 MB #Memory Used# [2025-03-20 16:54:02] Production.INFO: ==26231== Lock acquired, processing the job... [2025-03-20 16:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:54:02] Production.INFO: neon service started [2025-03-20 16:54:02] Production.INFO: neon service started [2025-03-20 16:54:02] Production.INFO: ==26231== Releasing lock... [2025-03-20 16:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:54:02] Production.INFO: ==26233== Lock acquired, processing the job... [2025-03-20 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:54:02] Production.INFO: ==26235== Lock acquired, processing the job... [2025-03-20 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:54:02] Production.INFO: ==26235== Releasing lock... [2025-03-20 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:54:03] Production.INFO: ==26233== Releasing lock... [2025-03-20 12:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:54:03] Production.INFO: ==26240== Lock acquired, processing the job... [2025-03-20 12:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:54:03] Production.INFO: ==26238== Lock acquired, processing the job... [2025-03-20 12:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:54:04] Production.INFO: ==26246== Lock acquired, processing the job... [2025-03-20 12:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:54:04] Production.INFO: ==26248== Lock acquired, processing the job... [2025-03-20 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:54:04] Production.INFO: ==26240== Releasing lock... [2025-03-20 12:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:54:04] Production.INFO: ==26242== Lock acquired, processing the job... [2025-03-20 12:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:54:04] Production.INFO: ==26244== Lock acquired, processing the job... [2025-03-20 12:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:54:04] Production.INFO: count ==12 [2025-03-20 12:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:54:04] Production.INFO: count ==23 [2025-03-20 12:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:54:04] Production.INFO: Account Balance Start. [2025-03-20 12:54:04] Production.INFO: CreateAllLog Start [2025-03-20 12:54:04] Production.INFO: 117 [2025-03-20 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722971') start [2025-03-20 12:54:04] Production.ERROR: done [2025-03-20 12:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:54:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:04] Production.ERROR: done [2025-03-20 12:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722971') end [2025-03-20 12:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:54:04] Production.INFO: 1 [2025-03-20 12:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:04] Production.INFO: ==26248== Releasing lock... [2025-03-20 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:54:05] Production.INFO: Total Charge 0 [2025-03-20 12:54:05] Production.INFO: CreateAllLog End [2025-03-20 12:54:05] Production.INFO: Account Balance End. [2025-03-20 12:54:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:54:05] Production.INFO: ==26244== Releasing lock... [2025-03-20 12:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:54:05 [end_date_ymd] => 2025-03-20 12:54:05 [RateCDR] => 1 ) [2025-03-20 12:54:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:54:05' and `end` < '2025-03-20 12:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:54:13] Production.ERROR: CronJobId end10 [2025-03-20 12:54:13] Production.INFO: ==26242== Releasing lock... [2025-03-20 12:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:54:16] Production.INFO: call_cost start [2025-03-20 12:54:16] Production.INFO: call_cost end [2025-03-20 12:54:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:54:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:54:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:54:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:54:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:54:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:54:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:54:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:54:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:54:17] Production.INFO: ==26238== Releasing lock... [2025-03-20 12:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:54:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:54:19] Production.INFO: count ==5819 [2025-03-20 12:54:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:54:05 - End Time 2025-03-20 12:54:05 [2025-03-20 12:54:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722973', 'tblTempUsageDetail_20' ) start [2025-03-20 12:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722973', 'tblTempUsageDetail_20' ) end [2025-03-20 12:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722973', 'tblTempVendorCDR_20' ) start [2025-03-20 12:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722973', 'tblTempVendorCDR_20' ) end [2025-03-20 12:54:22] Production.INFO: ProcessCDR(1,14722973,1,1,2) [2025-03-20 12:54:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:54:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:54:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:54:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722973', 'tblTempUsageDetail_20' ) start [2025-03-20 12:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722973', 'tblTempUsageDetail_20' ) end [2025-03-20 12:54:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:54:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:54:27] Production.INFO: ==26246== Releasing lock... [2025-03-20 12:54:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:54:27] Production.INFO: 71.5 MB #Memory Used# [2025-03-20 16:55:01] Production.INFO: ==26320== Lock acquired, processing the job... [2025-03-20 16:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:55:01] Production.INFO: neon service started [2025-03-20 16:55:01] Production.INFO: neon service started [2025-03-20 16:55:01] Production.INFO: ==26320== Releasing lock... [2025-03-20 16:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:55:02] Production.INFO: ==26323== Lock acquired, processing the job... [2025-03-20 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:55:02] Production.INFO: ==26325== Lock acquired, processing the job... [2025-03-20 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:55:02] Production.INFO: ==26325== Releasing lock... [2025-03-20 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:55:02] Production.INFO: ==26323== Releasing lock... [2025-03-20 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:55:03] Production.INFO: ==26327== Lock acquired, processing the job... [2025-03-20 12:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:55:03] Production.INFO: ==26331== Lock acquired, processing the job... [2025-03-20 12:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:55:03] Production.INFO: ==26335== Lock acquired, processing the job... [2025-03-20 12:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:55:03] Production.INFO: ==26329== Lock acquired, processing the job... [2025-03-20 12:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:55:03] Production.INFO: ==26333== Lock acquired, processing the job... [2025-03-20 12:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:55:03] Production.INFO: ==26337== Lock acquired, processing the job... [2025-03-20 12:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:55:04] Production.ERROR: done [2025-03-20 12:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:55:04] Production.INFO: Account Balance Start. [2025-03-20 12:55:04] Production.INFO: CreateAllLog Start [2025-03-20 12:55:04] Production.INFO: 117 [2025-03-20 12:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:55:04] Production.ERROR: done [2025-03-20 12:55:04] Production.INFO: count ==12 [2025-03-20 12:55:04] Production.INFO: ==26329== Releasing lock... [2025-03-20 12:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: count ==23 [2025-03-20 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722976') start [2025-03-20 12:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722976') end [2025-03-20 12:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:55:04] Production.INFO: 1 [2025-03-20 12:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: ==26337== Releasing lock... [2025-03-20 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:55:04] Production.INFO: Total Charge 0 [2025-03-20 12:55:05] Production.INFO: CreateAllLog End [2025-03-20 12:55:05] Production.INFO: Account Balance End. [2025-03-20 12:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:55:05] Production.INFO: ==26333== Releasing lock... [2025-03-20 12:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:55:05 [end_date_ymd] => 2025-03-20 12:55:05 [RateCDR] => 1 ) [2025-03-20 12:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:55:05' and `end` < '2025-03-20 12:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:55:12] Production.ERROR: CronJobId end10 [2025-03-20 12:55:12] Production.INFO: ==26331== Releasing lock... [2025-03-20 12:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:55:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:55:15] Production.INFO: call_cost start [2025-03-20 12:55:15] Production.INFO: call_cost end [2025-03-20 12:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:55:16] Production.INFO: ==26327== Releasing lock... [2025-03-20 12:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:55:19] Production.INFO: count ==5832 [2025-03-20 12:55:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:55:05 - End Time 2025-03-20 12:55:05 [2025-03-20 12:55:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722978', 'tblTempUsageDetail_20' ) start [2025-03-20 12:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722978', 'tblTempUsageDetail_20' ) end [2025-03-20 12:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722978', 'tblTempVendorCDR_20' ) start [2025-03-20 12:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722978', 'tblTempVendorCDR_20' ) end [2025-03-20 12:55:22] Production.INFO: ProcessCDR(1,14722978,1,1,2) [2025-03-20 12:55:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:55:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722978', 'tblTempUsageDetail_20' ) start [2025-03-20 12:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722978', 'tblTempUsageDetail_20' ) end [2025-03-20 12:55:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:55:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:55:27] Production.INFO: ==26335== Releasing lock... [2025-03-20 12:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:55:27] Production.INFO: 71.75 MB #Memory Used# [2025-03-20 16:56:02] Production.INFO: ==26402== Lock acquired, processing the job... [2025-03-20 16:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:56:02] Production.INFO: neon service started [2025-03-20 16:56:02] Production.INFO: neon service started [2025-03-20 16:56:02] Production.INFO: ==26402== Releasing lock... [2025-03-20 16:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:56:02] Production.INFO: ==26404== Lock acquired, processing the job... [2025-03-20 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:56:02] Production.INFO: ==26404== Releasing lock... [2025-03-20 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:56:02] Production.INFO: ==26407== Lock acquired, processing the job... [2025-03-20 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:56:02] Production.INFO: ==26407== Releasing lock... [2025-03-20 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:56:03] Production.INFO: ==26419== Lock acquired, processing the job... [2025-03-20 12:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:56:03] Production.INFO: ==26417== Lock acquired, processing the job... [2025-03-20 12:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:56:03] Production.INFO: ==26409== Lock acquired, processing the job... [2025-03-20 12:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:56:03] Production.INFO: ==26411== Lock acquired, processing the job... [2025-03-20 12:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:56:03] Production.INFO: ==26413== Lock acquired, processing the job... [2025-03-20 12:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:56:03] Production.INFO: count ==12 [2025-03-20 12: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-03-20 12:56:03] Production.INFO: count ==23 [2025-03-20 12:56:03] Production.INFO: ==26415== Lock acquired, processing the job... [2025-03-20 12:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722979') start [2025-03-20 12:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722979') end [2025-03-20 12:56:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:56:03] Production.INFO: 1 [2025-03-20 12:56:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:56:03] Production.INFO: Account Balance Start. [2025-03-20 12:56:03] Production.INFO: CreateAllLog Start [2025-03-20 12:56:04] Production.INFO: 117 [2025-03-20 12:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:56:04] Production.INFO: Date 2025-03-08 [2025-03-20 12:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:04] Production.INFO: ==26419== Releasing lock... [2025-03-20 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:56:04] Production.INFO: Date 2025-03-09 [2025-03-20 12:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:04] Production.ERROR: done [2025-03-20 12:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:56:04] Production.ERROR: done [2025-03-20 12:56:04] Production.INFO: ==26411== Releasing lock... [2025-03-20 12:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:56:04] Production.INFO: Date 2025-03-10 [2025-03-20 12:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:05] Production.INFO: Date 2025-03-13 [2025-03-20 12:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:05] Production.INFO: Date 2025-03-14 [2025-03-20 12:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:05] Production.INFO: Date 2025-03-15 [2025-03-20 12:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:05] Production.INFO: Date 2025-03-16 [2025-03-20 12:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:05] Production.INFO: Date 2025-03-17 [2025-03-20 12:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:05] Production.INFO: Date 2025-03-18 [2025-03-20 12:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:05] Production.INFO: Date 2025-03-19 [2025-03-20 12:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:05] Production.INFO: Date 2025-03-20 [2025-03-20 12:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 12:56:05] Production.INFO: Total Charge 0 [2025-03-20 12:56:05] Production.INFO: CreateAllLog End [2025-03-20 12:56:05] Production.INFO: Account Balance End. [2025-03-20 12:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:56:05 [end_date_ymd] => 2025-03-20 12:56:05 [RateCDR] => 1 ) [2025-03-20 12:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:56:05' and `end` < '2025-03-20 12:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:56:05] Production.ERROR: CronJobId end 12 [2025-03-20 12:56:05] Production.INFO: ==26415== Releasing lock... [2025-03-20 12:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:56:12] Production.ERROR: CronJobId end10 [2025-03-20 12:56:12] Production.INFO: ==26413== Releasing lock... [2025-03-20 12:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:56:15] Production.INFO: call_cost start [2025-03-20 12:56:15] Production.INFO: call_cost end [2025-03-20 12:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:56:16] Production.INFO: ==26409== Releasing lock... [2025-03-20 12:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:56:19] Production.INFO: count ==5849 [2025-03-20 12:56:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:56:05 - End Time 2025-03-20 12:56:05 [2025-03-20 12:56:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722983', 'tblTempUsageDetail_20' ) start [2025-03-20 12:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722983', 'tblTempUsageDetail_20' ) end [2025-03-20 12:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722983', 'tblTempVendorCDR_20' ) start [2025-03-20 12:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722983', 'tblTempVendorCDR_20' ) end [2025-03-20 12:56:21] Production.INFO: ProcessCDR(1,14722983,1,1,2) [2025-03-20 12:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:56:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722983', 'tblTempUsageDetail_20' ) start [2025-03-20 12:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722983', 'tblTempUsageDetail_20' ) end [2025-03-20 12:56:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:56:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:56:27] Production.INFO: ==26417== Releasing lock... [2025-03-20 12:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:56:27] Production.INFO: 71.75 MB #Memory Used# [2025-03-20 16:57:01] Production.INFO: ==26483== Lock acquired, processing the job... [2025-03-20 16:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:57:01] Production.INFO: neon service started [2025-03-20 16:57:01] Production.INFO: neon service started [2025-03-20 16:57:01] Production.INFO: ==26483== Releasing lock... [2025-03-20 16:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:57:01] Production.INFO: ==26487== Lock acquired, processing the job... [2025-03-20 16:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:57:01] Production.INFO: ==26487== Releasing lock... [2025-03-20 16:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:57:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:57:02] Production.INFO: ==26485== Lock acquired, processing the job... [2025-03-20 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:57:02] Production.INFO: ==26485== Releasing lock... [2025-03-20 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:57:03] Production.INFO: ==26490== Lock acquired, processing the job... [2025-03-20 12:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:57:03] Production.INFO: ==26492== Lock acquired, processing the job... [2025-03-20 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:57:03] Production.INFO: ==26498== Lock acquired, processing the job... [2025-03-20 12:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:57:03] Production.INFO: ==26494== Lock acquired, processing the job... [2025-03-20 12:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:57:03] Production.INFO: ==26496== Lock acquired, processing the job... [2025-03-20 12:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:57:03] Production.INFO: ==26500== Lock acquired, processing the job... [2025-03-20 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:57:03] Production.INFO: ==26492== Releasing lock... [2025-03-20 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:57:03] Production.INFO: Account Balance Start. [2025-03-20 12:57:03] Production.INFO: CreateAllLog Start [2025-03-20 12:57:03] Production.INFO: 117 [2025-03-20 12:57:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:57:03] Production.INFO: count ==12 [2025-03-20 12:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:57:03] Production.INFO: count ==23 [2025-03-20 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722987') start [2025-03-20 12:57:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:57:03] Production.ERROR: done [2025-03-20 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722987') end [2025-03-20 12:57:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:57:03] Production.INFO: 1 [2025-03-20 12:57:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:57:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:03] Production.INFO: Date 2025-03-13 [2025-03-20 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:03] Production.INFO: Date 2025-03-14 [2025-03-20 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:03] Production.INFO: Date 2025-03-15 [2025-03-20 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:03] Production.INFO: Date 2025-03-16 [2025-03-20 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:03] Production.INFO: Date 2025-03-17 [2025-03-20 12:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:03] Production.INFO: ==26500== Releasing lock... [2025-03-20 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:57:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:57:03] Production.ERROR: done [2025-03-20 12:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:57:04] Production.INFO: Total Charge 0 [2025-03-20 12:57:04] Production.INFO: CreateAllLog End [2025-03-20 12:57:04] Production.INFO: Account Balance End. [2025-03-20 12:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:57:04] Production.INFO: ==26496== Releasing lock... [2025-03-20 12:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:57:05 [end_date_ymd] => 2025-03-20 12:57:05 [RateCDR] => 1 ) [2025-03-20 12:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:57:05' and `end` < '2025-03-20 12:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:57:12] Production.ERROR: CronJobId end10 [2025-03-20 12:57:12] Production.INFO: ==26494== Releasing lock... [2025-03-20 12:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:57:15] Production.INFO: call_cost start [2025-03-20 12:57:15] Production.INFO: call_cost end [2025-03-20 12:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:57:16] Production.INFO: ==26490== Releasing lock... [2025-03-20 12:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:57:18] Production.INFO: count ==5882 [2025-03-20 12:57:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:57:05 - End Time 2025-03-20 12:57:05 [2025-03-20 12:57:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722988', 'tblTempUsageDetail_20' ) start [2025-03-20 12:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722988', 'tblTempUsageDetail_20' ) end [2025-03-20 12:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722988', 'tblTempVendorCDR_20' ) start [2025-03-20 12:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722988', 'tblTempVendorCDR_20' ) end [2025-03-20 12:57:21] Production.INFO: ProcessCDR(1,14722988,1,1,2) [2025-03-20 12:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:57:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722988', 'tblTempUsageDetail_20' ) start [2025-03-20 12:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722988', 'tblTempUsageDetail_20' ) end [2025-03-20 12:57:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:57:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:57:27] Production.INFO: ==26498== Releasing lock... [2025-03-20 12:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:57:27] Production.INFO: 72 MB #Memory Used# [2025-03-20 16:58:02] Production.INFO: ==26563== Lock acquired, processing the job... [2025-03-20 16:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:58:02] Production.INFO: neon service started [2025-03-20 16:58:02] Production.INFO: neon service started [2025-03-20 16:58:02] Production.INFO: ==26563== Releasing lock... [2025-03-20 16:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:58:02] Production.INFO: ==26565== Lock acquired, processing the job... [2025-03-20 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 12:58:02] Production.INFO: ==26565== Releasing lock... [2025-03-20 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:58:02] Production.INFO: ==26567== Lock acquired, processing the job... [2025-03-20 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:58:02] Production.INFO: ==26567== Releasing lock... [2025-03-20 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:58:03] Production.INFO: ==26575== Lock acquired, processing the job... [2025-03-20 12:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:58:03] Production.INFO: ==26577== Lock acquired, processing the job... [2025-03-20 12:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:58:03] Production.INFO: ==26569== Lock acquired, processing the job... [2025-03-20 12:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:58:03] Production.INFO: Account Balance Start. [2025-03-20 12:58:03] Production.INFO: CreateAllLog Start [2025-03-20 12:58:03] Production.INFO: 117 [2025-03-20 12:58:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:58:03] Production.INFO: ==26571== Lock acquired, processing the job... [2025-03-20 12:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:03] Production.INFO: ==26573== Lock acquired, processing the job... [2025-03-20 12:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:58:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:03] Production.INFO: ==26579== Lock acquired, processing the job... [2025-03-20 12:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:58:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:04] Production.INFO: count ==12 [2025-03-20 12:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:58:04] Production.INFO: count ==23 [2025-03-20 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722992') start [2025-03-20 12:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:04] Production.INFO: ==26571== Releasing lock... [2025-03-20 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:04] Production.ERROR: done [2025-03-20 12:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722992') end [2025-03-20 12:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:58:04] Production.INFO: 1 [2025-03-20 12:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:04] Production.INFO: ==26579== Releasing lock... [2025-03-20 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:58:04] Production.ERROR: done [2025-03-20 12:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:58:04] Production.INFO: Total Charge 0 [2025-03-20 12:58:04] Production.INFO: CreateAllLog End [2025-03-20 12:58:04] Production.INFO: Account Balance End. [2025-03-20 12:58:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:58:04] Production.INFO: ==26575== Releasing lock... [2025-03-20 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:58:05 [end_date_ymd] => 2025-03-20 12:58:05 [RateCDR] => 1 ) [2025-03-20 12:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:58:05' and `end` < '2025-03-20 12:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:58:13] Production.ERROR: CronJobId end10 [2025-03-20 12:58:13] Production.INFO: ==26573== Releasing lock... [2025-03-20 12:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:58:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:58:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:58:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:58:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:58:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:58:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:58:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:58:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:58:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:58:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:58:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:58:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:58:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:58:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:58:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:58:16] Production.INFO: call_cost start [2025-03-20 12:58:16] Production.INFO: call_cost end [2025-03-20 12:58:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:58:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:58:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:58:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:58:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:58:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:58:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:58:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:58:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:58:17] Production.INFO: ==26569== Releasing lock... [2025-03-20 12:58:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:58:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:58:19] Production.INFO: count ==5898 [2025-03-20 12:58:22] Production.ERROR: pbx CDR StartTime 2025-03-20 09:58:05 - End Time 2025-03-20 12:58:05 [2025-03-20 12:58:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722993', 'tblTempUsageDetail_20' ) start [2025-03-20 12:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722993', 'tblTempUsageDetail_20' ) end [2025-03-20 12:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722993', 'tblTempVendorCDR_20' ) start [2025-03-20 12:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722993', 'tblTempVendorCDR_20' ) end [2025-03-20 12:58:22] Production.INFO: ProcessCDR(1,14722993,1,1,2) [2025-03-20 12:58:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:58:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:58:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:58:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722993', 'tblTempUsageDetail_20' ) start [2025-03-20 12:58:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722993', 'tblTempUsageDetail_20' ) end [2025-03-20 12:58:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:58:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:58:28] Production.INFO: ==26577== Releasing lock... [2025-03-20 12:58:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:58:28] Production.INFO: 72.25 MB #Memory Used# [2025-03-20 16:59:01] Production.INFO: ==26657== Lock acquired, processing the job... [2025-03-20 16:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 16:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 16:59:01] Production.INFO: neon service started [2025-03-20 16:59:01] Production.INFO: neon service started [2025-03-20 16:59:01] Production.INFO: ==26657== Releasing lock... [2025-03-20 16:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 16:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 12:59:01] Production.INFO: ==26659== Lock acquired, processing the job... [2025-03-20 12:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:59:02] Production.INFO: ==26661== Lock acquired, processing the job... [2025-03-20 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:59:02] Production.INFO: ==26661== Releasing lock... [2025-03-20 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 16:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 12:59:02] Production.INFO: ==26659== Releasing lock... [2025-03-20 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 12:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 12:59:03] Production.INFO: ==26666== Lock acquired, processing the job... [2025-03-20 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 12:59:03] Production.INFO: ==26668== Lock acquired, processing the job... [2025-03-20 12:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 12:59:03] Production.INFO: ==26663== Lock acquired, processing the job... [2025-03-20 12:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 12:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 12:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 12:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 12:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 12:59:03] Production.INFO: ==26670== Lock acquired, processing the job... [2025-03-20 12:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 12:59:03] Production.INFO: ==26672== Lock acquired, processing the job... [2025-03-20 12:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 12:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 12:59:03] Production.INFO: Account Balance Start. [2025-03-20 12:59:03] Production.INFO: CreateAllLog Start [2025-03-20 12:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 12:59:03] Production.INFO: 117 [2025-03-20 12:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 12:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 12:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:03] Production.INFO: ==26674== Lock acquired, processing the job... [2025-03-20 12:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 12:59:03] Production.INFO: ==26666== Releasing lock... [2025-03-20 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 12:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 12:59:03] Production.INFO: Date 2025-03-10 [2025-03-20 12:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:59:03] Production.INFO: Date 2025-03-11 [2025-03-20 12:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:03] Production.INFO: count ==12 [2025-03-20 12:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 12:59:03] Production.INFO: count ==23 [2025-03-20 12:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14722997') start [2025-03-20 12:59:03] Production.ERROR: done [2025-03-20 12:59:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 12:59:03] Production.INFO: Date 2025-03-12 [2025-03-20 12:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14722997') end [2025-03-20 12:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 12:59:04] Production.INFO: 1 [2025-03-20 12:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 12:59:04] Production.ERROR: done [2025-03-20 12:59:04] Production.INFO: ==26674== Releasing lock... [2025-03-20 12:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 12:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 12:59:04] Production.INFO: Date 2025-03-13 [2025-03-20 12:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 12:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 12:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 12:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 12:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 12:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 12:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 12:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 12:59:04] Production.INFO: Total Charge 0 [2025-03-20 12:59:04] Production.INFO: CreateAllLog End [2025-03-20 12:59:04] Production.INFO: Account Balance End. [2025-03-20 12:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 12:59:04] Production.INFO: ==26670== Releasing lock... [2025-03-20 12:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 12:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 12:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 09:59:05 [end_date_ymd] => 2025-03-20 12:59:05 [RateCDR] => 1 ) [2025-03-20 12:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 09:59:05' and `end` < '2025-03-20 12:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 12:59:12] Production.ERROR: CronJobId end10 [2025-03-20 12:59:12] Production.INFO: ==26668== Releasing lock... [2025-03-20 12:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 12:59:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 12:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 12:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 12:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 12:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 12:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 12:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 12:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 12:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 12:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 12:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 12:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 12:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 12:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 12:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 12:59:14] Production.INFO: call_cost start [2025-03-20 12:59:14] Production.INFO: call_cost end [2025-03-20 12:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 12:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 12:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 12:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 12:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 12:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 12:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 12:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 12:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 12:59:15] Production.INFO: ==26663== Releasing lock... [2025-03-20 12:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 12:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 12:59:19] Production.INFO: count ==5878 [2025-03-20 12:59:21] Production.ERROR: pbx CDR StartTime 2025-03-20 09:59:05 - End Time 2025-03-20 12:59:05 [2025-03-20 12:59:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 12:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722998', 'tblTempUsageDetail_20' ) start [2025-03-20 12:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14722998', 'tblTempUsageDetail_20' ) end [2025-03-20 12:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722998', 'tblTempVendorCDR_20' ) start [2025-03-20 12:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14722998', 'tblTempVendorCDR_20' ) end [2025-03-20 12:59:21] Production.INFO: ProcessCDR(1,14722998,1,1,2) [2025-03-20 12:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14722998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:59:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14722998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 12:59:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14722998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:59:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14722998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 12:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722998', 'tblTempUsageDetail_20' ) start [2025-03-20 12:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14722998', 'tblTempUsageDetail_20' ) end [2025-03-20 12:59:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 12:59:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 12:59:27] Production.INFO: ==26672== Releasing lock... [2025-03-20 12:59:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 12:59:27] Production.INFO: 72 MB #Memory Used# [2025-03-20 17:00:02] Production.INFO: ==26744== Lock acquired, processing the job... [2025-03-20 17:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:00:02] Production.INFO: neon service started [2025-03-20 17:00:02] Production.INFO: neon service started [2025-03-20 17:00:02] Production.INFO: ==26744== Releasing lock... [2025-03-20 17:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:00:02] Production.INFO: ==26746== Lock acquired, processing the job... [2025-03-20 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:00:02] Production.INFO: ==26746== Releasing lock... [2025-03-20 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:00:02] Production.INFO: ==26748== Lock acquired, processing the job... [2025-03-20 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:00:02] Production.INFO: ==26748== Releasing lock... [2025-03-20 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:00:04] Production.INFO: ==26758== Lock acquired, processing the job... [2025-03-20 13:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:00:04] Production.INFO: ==26750== Lock acquired, processing the job... [2025-03-20 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 13:00:04] Production.INFO: ==26752== Lock acquired, processing the job... [2025-03-20 13:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:00:04] Production.INFO: ==26754== Lock acquired, processing the job... [2025-03-20 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 13:00:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 13:00:04] Production.ERROR: CronJob PID - 26758 [2025-03-20 13:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 13:00:04] Production.ERROR: CronJob ID - 12 [2025-03-20 13:00:04] Production.ERROR: CronJob Last Run Time 2025-03-20 13:00:00 [2025-03-20 13:00:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 13:00:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 13:00:04] Production.INFO: ==26760== Lock acquired, processing the job... [2025-03-20 13:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 13:00:04] Production.INFO: ==26750== Releasing lock... [2025-03-20 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 13:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 13:00:04] Production.INFO: ==26756== Lock acquired, processing the job... [2025-03-20 13:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:00:04] Production.INFO: Account Balance Start. [2025-03-20 13:00:04] Production.INFO: CreateAllLog Start [2025-03-20 13:00:04] Production.INFO: ==26765== Lock acquired, processing the job... [2025-03-20 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:00:04] Production.INFO: 117 [2025-03-20 13:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:04] Production.INFO: ==26762== Lock acquired, processing the job... [2025-03-20 13:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 13:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:04] Production.INFO: count ==12 [2025-03-20 13:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:00:04] Production.INFO: count ==23 [2025-03-20 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723002') start [2025-03-20 13:00:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:00:04] Production.ERROR: done [2025-03-20 13:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:00:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:04] Production.INFO: ==26754== Releasing lock... [2025-03-20 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:00:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723002') end [2025-03-20 13:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:00:04] Production.INFO: 1 [2025-03-20 13:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:00:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:04] Production.INFO: ==26765== Releasing lock... [2025-03-20 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:00:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:04] Production.ERROR: done [2025-03-20 13:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 13:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:05] Production.ERROR: done [2025-03-20 13:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 13:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 13:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723004', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 13:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:00:05] Production.INFO: Total Charge 0 [2025-03-20 13:00:05] Production.INFO: CreateAllLog End [2025-03-20 13:00:05] Production.INFO: Account Balance End. [2025-03-20 13:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:00:05] Production.INFO: ==26758== Releasing lock... [2025-03-20 13:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:00:05 [end_date_ymd] => 2025-03-20 13:00:05 [RateCDR] => 1 ) [2025-03-20 13:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:00:05' and `end` < '2025-03-20 13:00:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723004', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 13:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 13:00:09] Production.INFO: ProcessCDR(1,14723004,1,1,2) [2025-03-20 13:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723004,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723004,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:00:09] Production.INFO: ==26762== Releasing lock... [2025-03-20 13:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 13:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 13:00:15] Production.ERROR: CronJobId end10 [2025-03-20 13:00:15] Production.INFO: ==26756== Releasing lock... [2025-03-20 13:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:00:18] Production.INFO: call_cost start [2025-03-20 13:00:18] Production.INFO: call_cost end [2025-03-20 13:00:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:00:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:00:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:00:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:00:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:00:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:00:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:00:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:00:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:00:19] Production.INFO: ==26752== Releasing lock... [2025-03-20 13:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:00:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:00:19] Production.INFO: count ==5895 [2025-03-20 13:00:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:00:05 - End Time 2025-03-20 13:00:05 [2025-03-20 13:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723003', 'tblTempUsageDetail_20' ) start [2025-03-20 13:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723003', 'tblTempUsageDetail_20' ) end [2025-03-20 13:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723003', 'tblTempVendorCDR_20' ) start [2025-03-20 13:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723003', 'tblTempVendorCDR_20' ) end [2025-03-20 13:00:22] Production.INFO: ProcessCDR(1,14723003,1,1,2) [2025-03-20 13:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:00:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:00:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:00:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723003', 'tblTempUsageDetail_20' ) start [2025-03-20 13:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723003', 'tblTempUsageDetail_20' ) end [2025-03-20 13:00:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:00:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:00:28] Production.INFO: ==26760== Releasing lock... [2025-03-20 13:00:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:00:28] Production.INFO: 72.25 MB #Memory Used# [2025-03-20 17:01:01] Production.INFO: ==26840== Lock acquired, processing the job... [2025-03-20 17:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:01:01] Production.INFO: neon service started [2025-03-20 17:01:01] Production.INFO: neon service started [2025-03-20 17:01:01] Production.INFO: ==26840== Releasing lock... [2025-03-20 17:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:01:01] Production.INFO: ==26852== Lock acquired, processing the job... [2025-03-20 13:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:01:02] Production.INFO: ==26854== Lock acquired, processing the job... [2025-03-20 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:01:02] Production.INFO: ==26854== Releasing lock... [2025-03-20 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:01:02] Production.INFO: ==26852== Releasing lock... [2025-03-20 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:01:03] Production.INFO: ==26858== Lock acquired, processing the job... [2025-03-20 13:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:01:03] Production.INFO: ==26863== Lock acquired, processing the job... [2025-03-20 13:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:01:03] Production.INFO: Account Balance Start. [2025-03-20 13:01:03] Production.INFO: CreateAllLog Start [2025-03-20 13:01:03] Production.INFO: 117 [2025-03-20 13:01:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:01:03] Production.INFO: ==26858== Releasing lock... [2025-03-20 13:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.INFO: ==26856== Lock acquired, processing the job... [2025-03-20 13:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:01:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:01:03] Production.INFO: ==26861== Lock acquired, processing the job... [2025-03-20 13:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:01:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.INFO: Date 2025-03-14 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.INFO: Date 2025-03-15 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:01:03] Production.INFO: Date 2025-03-16 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.INFO: ==26867== Lock acquired, processing the job... [2025-03-20 13:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:01:03] Production.INFO: ==26865== Lock acquired, processing the job... [2025-03-20 13:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:01:03] Production.INFO: Date 2025-03-17 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.INFO: Date 2025-03-18 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.INFO: Date 2025-03-19 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.INFO: Date 2025-03-20 [2025-03-20 13:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:01:03] Production.INFO: Total Charge 0 [2025-03-20 13:01:03] Production.INFO: CreateAllLog End [2025-03-20 13:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:01:03] Production.INFO: count ==12 [2025-03-20 13:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:01:04] Production.INFO: count ==23 [2025-03-20 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723008') start [2025-03-20 13:01:04] Production.ERROR: done [2025-03-20 13:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723008') end [2025-03-20 13:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:01:04] Production.INFO: 1 [2025-03-20 13:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:01:04] Production.INFO: Account Balance End. [2025-03-20 13:01:04] Production.INFO: ==26867== Releasing lock... [2025-03-20 13:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:01:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:01:04] Production.INFO: ==26863== Releasing lock... [2025-03-20 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:01:04] Production.ERROR: done [2025-03-20 13:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:01:05 [end_date_ymd] => 2025-03-20 13:01:05 [RateCDR] => 1 ) [2025-03-20 13:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:01:05' and `end` < '2025-03-20 13:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:01:13] Production.ERROR: CronJobId end10 [2025-03-20 13:01:13] Production.INFO: ==26861== Releasing lock... [2025-03-20 13:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:01:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:01:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:01:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:01:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:01:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:01:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:01:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:01:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:01:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:01:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:01:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:01:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:01:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:01:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:01:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:01:14] Production.INFO: call_cost start [2025-03-20 13:01:14] Production.INFO: call_cost end [2025-03-20 13:01:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:01:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:01:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:01:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:01:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:01:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:01:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:01:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:01:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:01:15] Production.INFO: ==26856== Releasing lock... [2025-03-20 13:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:01:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:01:18] Production.INFO: count ==5943 [2025-03-20 13:01:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:01:05 - End Time 2025-03-20 13:01:05 [2025-03-20 13:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723009', 'tblTempUsageDetail_20' ) start [2025-03-20 13:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723009', 'tblTempUsageDetail_20' ) end [2025-03-20 13:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723009', 'tblTempVendorCDR_20' ) start [2025-03-20 13:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723009', 'tblTempVendorCDR_20' ) end [2025-03-20 13:01:21] Production.INFO: ProcessCDR(1,14723009,1,1,2) [2025-03-20 13:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723009,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723009,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723009', 'tblTempUsageDetail_20' ) start [2025-03-20 13:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723009', 'tblTempUsageDetail_20' ) end [2025-03-20 13:01:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:01:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:01:26] Production.INFO: ==26865== Releasing lock... [2025-03-20 13:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:01:26] Production.INFO: 72.5 MB #Memory Used# [2025-03-20 17:02:02] Production.INFO: ==26933== Lock acquired, processing the job... [2025-03-20 17:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:02:02] Production.INFO: neon service started [2025-03-20 17:02:02] Production.INFO: neon service started [2025-03-20 17:02:02] Production.INFO: ==26933== Releasing lock... [2025-03-20 17:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:02:02] Production.INFO: ==26935== Lock acquired, processing the job... [2025-03-20 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:02:02] Production.INFO: ==26937== Lock acquired, processing the job... [2025-03-20 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:02:02] Production.INFO: ==26937== Releasing lock... [2025-03-20 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:02:03] Production.INFO: ==26935== Releasing lock... [2025-03-20 13:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:02:04] Production.INFO: ==26948== Lock acquired, processing the job... [2025-03-20 13:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:02:04] Production.INFO: ==26946== Lock acquired, processing the job... [2025-03-20 13:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:02:04] Production.INFO: Account Balance Start. [2025-03-20 13:02:04] Production.INFO: CreateAllLog Start [2025-03-20 13:02:04] Production.INFO: 117 [2025-03-20 13:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:04] Production.INFO: ==26942== Lock acquired, processing the job... [2025-03-20 13:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:02:04] Production.INFO: ==26940== Lock acquired, processing the job... [2025-03-20 13:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:02:04] Production.INFO: ==26944== Lock acquired, processing the job... [2025-03-20 13:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:04] Production.INFO: ==26950== Lock acquired, processing the job... [2025-03-20 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:04] Production.INFO: count ==12 [2025-03-20 13:02:04] Production.ERROR: done [2025-03-20 13:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:02:04] Production.INFO: count ==23 [2025-03-20 13:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723013') start [2025-03-20 13:02:04] Production.INFO: ==26942== Releasing lock... [2025-03-20 13:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:05] Production.ERROR: done [2025-03-20 13:02:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723013') end [2025-03-20 13:02:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:02:05] Production.INFO: 1 [2025-03-20 13:02:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:02:05] Production.INFO: Total Charge 0 [2025-03-20 13:02:05] Production.INFO: CreateAllLog End [2025-03-20 13:02:05] Production.INFO: ==26950== Releasing lock... [2025-03-20 13:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:02:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:02:05] Production.INFO: Account Balance End. [2025-03-20 13:02:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:02:05] Production.INFO: ==26946== Releasing lock... [2025-03-20 13:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:02:06 [end_date_ymd] => 2025-03-20 13:02:06 [RateCDR] => 1 ) [2025-03-20 13:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:02:06' and `end` < '2025-03-20 13:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:02:13] Production.ERROR: CronJobId end10 [2025-03-20 13:02:13] Production.INFO: ==26944== Releasing lock... [2025-03-20 13:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:02:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:02:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:02:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:02:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:02:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:02:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:02:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:02:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:02:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:02:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:02:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:02:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:02:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:02:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:02:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:02:15] Production.INFO: call_cost start [2025-03-20 13:02:15] Production.INFO: call_cost end [2025-03-20 13:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:02:16] Production.INFO: ==26940== Releasing lock... [2025-03-20 13:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:02:19] Production.INFO: count ==5969 [2025-03-20 13:02:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:02:06 - End Time 2025-03-20 13:02:06 [2025-03-20 13:02:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723014', 'tblTempUsageDetail_20' ) start [2025-03-20 13:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723014', 'tblTempUsageDetail_20' ) end [2025-03-20 13:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723014', 'tblTempVendorCDR_20' ) start [2025-03-20 13:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723014', 'tblTempVendorCDR_20' ) end [2025-03-20 13:02:23] Production.INFO: ProcessCDR(1,14723014,1,1,2) [2025-03-20 13:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723014,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:02:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723014,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723014', 'tblTempUsageDetail_20' ) start [2025-03-20 13:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723014', 'tblTempUsageDetail_20' ) end [2025-03-20 13:02:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:02:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:02:28] Production.INFO: ==26948== Releasing lock... [2025-03-20 13:02:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:02:28] Production.INFO: 72.75 MB #Memory Used# [2025-03-20 17:03:01] Production.INFO: ==27013== Lock acquired, processing the job... [2025-03-20 17:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:03:01] Production.INFO: neon service started [2025-03-20 17:03:01] Production.INFO: neon service started [2025-03-20 17:03:01] Production.INFO: ==27013== Releasing lock... [2025-03-20 17:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:03:02] Production.INFO: ==27017== Lock acquired, processing the job... [2025-03-20 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:03:02] Production.INFO: ==27015== Lock acquired, processing the job... [2025-03-20 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:03:02] Production.INFO: ==27017== Releasing lock... [2025-03-20 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:03:02] Production.INFO: ==27015== Releasing lock... [2025-03-20 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:03:03] Production.INFO: ==27026== Lock acquired, processing the job... [2025-03-20 13:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:03:03] Production.INFO: Account Balance Start. [2025-03-20 13:03:03] Production.INFO: CreateAllLog Start [2025-03-20 13:03:03] Production.INFO: 117 [2025-03-20 13:03:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:03:03] Production.INFO: ==27030== Lock acquired, processing the job... [2025-03-20 13:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:03] Production.INFO: ==27020== Lock acquired, processing the job... [2025-03-20 13:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:03:03] Production.INFO: ==27022== Lock acquired, processing the job... [2025-03-20 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:03:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:03:03] Production.INFO: count ==12 [2025-03-20 13:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:03:03] Production.INFO: count ==23 [2025-03-20 13:03:03] Production.INFO: ==27024== Lock acquired, processing the job... [2025-03-20 13:03:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723016') start [2025-03-20 13:03:03] Production.INFO: ==27028== Lock acquired, processing the job... [2025-03-20 13:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:03:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:03:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:03] Production.INFO: Date 2025-03-14 [2025-03-20 13:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723016') end [2025-03-20 13:03:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:03:03] Production.INFO: 1 [2025-03-20 13:03:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:03:03] Production.INFO: Date 2025-03-15 [2025-03-20 13:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:03:03] Production.INFO: ==27030== Releasing lock... [2025-03-20 13:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:03:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:03:03] Production.INFO: ==27022== Releasing lock... [2025-03-20 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:03:03] Production.INFO: Date 2025-03-16 [2025-03-20 13:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:04] Production.ERROR: done [2025-03-20 13:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:04] Production.ERROR: done [2025-03-20 13:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:03:04] Production.INFO: Total Charge 0 [2025-03-20 13:03:04] Production.INFO: CreateAllLog End [2025-03-20 13:03:04] Production.INFO: Account Balance End. [2025-03-20 13:03:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:03:04] Production.INFO: ==27026== Releasing lock... [2025-03-20 13:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:03:05 [end_date_ymd] => 2025-03-20 13:03:05 [RateCDR] => 1 ) [2025-03-20 13:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:03:05' and `end` < '2025-03-20 13:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:03:13] Production.ERROR: CronJobId end10 [2025-03-20 13:03:13] Production.INFO: ==27024== Releasing lock... [2025-03-20 13:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:03:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:03:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:03:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:03:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:03:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:03:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:03:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:03:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:03:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:03:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:03:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:03:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:03:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:03:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:03:16] Production.INFO: call_cost start [2025-03-20 13:03:16] Production.INFO: call_cost end [2025-03-20 13:03:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:03:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:03:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:03:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:03:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:03:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:03:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:03:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:03:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:03:17] Production.INFO: ==27020== Releasing lock... [2025-03-20 13:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:03:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:03:18] Production.INFO: count ==5989 [2025-03-20 13:03:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:03:05 - End Time 2025-03-20 13:03:05 [2025-03-20 13:03:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723019', 'tblTempUsageDetail_20' ) start [2025-03-20 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723019', 'tblTempUsageDetail_20' ) end [2025-03-20 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723019', 'tblTempVendorCDR_20' ) start [2025-03-20 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723019', 'tblTempVendorCDR_20' ) end [2025-03-20 13:03:21] Production.INFO: ProcessCDR(1,14723019,1,1,2) [2025-03-20 13:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723019,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:03:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723019,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723019', 'tblTempUsageDetail_20' ) start [2025-03-20 13:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723019', 'tblTempUsageDetail_20' ) end [2025-03-20 13:03:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:03:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:03:27] Production.INFO: ==27028== Releasing lock... [2025-03-20 13:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:03:27] Production.INFO: 72.75 MB #Memory Used# [2025-03-20 17:04:01] Production.INFO: ==27098== Lock acquired, processing the job... [2025-03-20 17:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:04:02] Production.INFO: neon service started [2025-03-20 17:04:02] Production.INFO: neon service started [2025-03-20 17:04:02] Production.INFO: ==27098== Releasing lock... [2025-03-20 17:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:04:02] Production.INFO: ==27100== Lock acquired, processing the job... [2025-03-20 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:04:02] Production.INFO: ==27103== Lock acquired, processing the job... [2025-03-20 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:04:02] Production.INFO: ==27103== Releasing lock... [2025-03-20 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:04:03] Production.INFO: ==27100== Releasing lock... [2025-03-20 13:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:04:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:04:03] Production.INFO: ==27109== Lock acquired, processing the job... [2025-03-20 13:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:04:03] Production.INFO: ==27115== Lock acquired, processing the job... [2025-03-20 13:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:04:04] Production.INFO: ==27105== Lock acquired, processing the job... [2025-03-20 13:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:04:04] Production.INFO: count ==12 [2025-03-20 13:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:04:04] Production.INFO: count ==23 [2025-03-20 13:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:04:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723020') start [2025-03-20 13:04:04] Production.INFO: ==27111== Lock acquired, processing the job... [2025-03-20 13:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:04:04] Production.INFO: ==27107== Lock acquired, processing the job... [2025-03-20 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:04:04] Production.INFO: ==27113== Lock acquired, processing the job... [2025-03-20 13:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723020') end [2025-03-20 13:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:04:04] Production.INFO: 1 [2025-03-20 13:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:04:04] Production.INFO: Account Balance Start. [2025-03-20 13:04:04] Production.INFO: CreateAllLog Start [2025-03-20 13:04:04] Production.INFO: ==27115== Releasing lock... [2025-03-20 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:04:04] Production.INFO: 117 [2025-03-20 13:04:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:04] Production.INFO: ==27107== Releasing lock... [2025-03-20 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:04:04] Production.ERROR: done [2025-03-20 13:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:05] Production.ERROR: done [2025-03-20 13:04:05] Production.INFO: Date 2025-03-14 [2025-03-20 13:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:05] Production.INFO: Date 2025-03-15 [2025-03-20 13:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:05] Production.INFO: Date 2025-03-16 [2025-03-20 13:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:05] Production.INFO: Date 2025-03-17 [2025-03-20 13:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:05] Production.INFO: Date 2025-03-18 [2025-03-20 13:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:04:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:04:05] Production.INFO: Total Charge 0 [2025-03-20 13:04:05] Production.INFO: CreateAllLog End [2025-03-20 13:04:05] Production.INFO: Account Balance End. [2025-03-20 13:04:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:04:05] Production.INFO: ==27111== Releasing lock... [2025-03-20 13:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:04:06 [end_date_ymd] => 2025-03-20 13:04:06 [RateCDR] => 1 ) [2025-03-20 13:04:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:04:06' and `end` < '2025-03-20 13:04:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:04:14] Production.ERROR: CronJobId end10 [2025-03-20 13:04:14] Production.INFO: ==27109== Releasing lock... [2025-03-20 13:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:04:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:04:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:04:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:04:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:04:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:04:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:04:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:04:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:04:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:04:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:04:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:04:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:04:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:04:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:04:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:04:15] Production.INFO: call_cost start [2025-03-20 13:04:15] Production.INFO: call_cost end [2025-03-20 13:04:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:04:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:04:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:04:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:04:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:04:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:04:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:04:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:04:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:04:16] Production.INFO: ==27105== Releasing lock... [2025-03-20 13:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:04:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:04:19] Production.INFO: count ==6010 [2025-03-20 13:04:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:04:06 - End Time 2025-03-20 13:04:06 [2025-03-20 13:04:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723024', 'tblTempUsageDetail_20' ) start [2025-03-20 13:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723024', 'tblTempUsageDetail_20' ) end [2025-03-20 13:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723024', 'tblTempVendorCDR_20' ) start [2025-03-20 13:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723024', 'tblTempVendorCDR_20' ) end [2025-03-20 13:04:22] Production.INFO: ProcessCDR(1,14723024,1,1,2) [2025-03-20 13:04:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:04:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723024', 'tblTempUsageDetail_20' ) start [2025-03-20 13:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723024', 'tblTempUsageDetail_20' ) end [2025-03-20 13:04:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:04:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:04:27] Production.INFO: ==27113== Releasing lock... [2025-03-20 13:04:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:04:27] Production.INFO: 73 MB #Memory Used# [2025-03-20 17:05:01] Production.INFO: ==27220== Lock acquired, processing the job... [2025-03-20 17:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:05:01] Production.INFO: neon service started [2025-03-20 17:05:01] Production.INFO: neon service started [2025-03-20 17:05:01] Production.INFO: ==27220== Releasing lock... [2025-03-20 17:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:05:01] Production.INFO: ==27223== Lock acquired, processing the job... [2025-03-20 13:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:05:02] Production.INFO: ==27223== Releasing lock... [2025-03-20 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:05:02] Production.INFO: ==27225== Lock acquired, processing the job... [2025-03-20 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:05:02] Production.INFO: ==27225== Releasing lock... [2025-03-20 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:05:03] Production.INFO: ==27231== Lock acquired, processing the job... [2025-03-20 13:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:05:03] Production.INFO: ==27237== Lock acquired, processing the job... [2025-03-20 13:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:05:03] Production.INFO: ==27227== Lock acquired, processing the job... [2025-03-20 13:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:05:03] Production.INFO: ==27229== Lock acquired, processing the job... [2025-03-20 13:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:05:03] Production.INFO: ==27235== Lock acquired, processing the job... [2025-03-20 13:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:05:03] Production.INFO: ==27233== Lock acquired, processing the job... [2025-03-20 13:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:05:03] Production.INFO: count ==12 [2025-03-20 13:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:05:03] Production.INFO: count ==23 [2025-03-20 13:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723025') start [2025-03-20 13:05:03] Production.INFO: Account Balance Start. [2025-03-20 13:05:03] Production.INFO: CreateAllLog Start [2025-03-20 13:05:03] Production.INFO: 117 [2025-03-20 13:05:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723025') end [2025-03-20 13:05:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:05:03] Production.INFO: 1 [2025-03-20 13:05:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:05:03] Production.INFO: ==27237== Releasing lock... [2025-03-20 13:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:05:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:05:03] Production.ERROR: done [2025-03-20 13:05:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:05:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:03] Production.INFO: ==27229== Releasing lock... [2025-03-20 13:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:05:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:03] Production.ERROR: done [2025-03-20 13:05:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:03] Production.INFO: Date 2025-03-14 [2025-03-20 13:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:05:04] Production.INFO: Total Charge 0 [2025-03-20 13:05:04] Production.INFO: CreateAllLog End [2025-03-20 13:05:04] Production.INFO: Account Balance End. [2025-03-20 13:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:05:04] Production.INFO: ==27233== Releasing lock... [2025-03-20 13:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:05:05 [end_date_ymd] => 2025-03-20 13:05:05 [RateCDR] => 1 ) [2025-03-20 13:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:05:05' and `end` < '2025-03-20 13:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:05:11] Production.ERROR: CronJobId end10 [2025-03-20 13:05:11] Production.INFO: ==27231== Releasing lock... [2025-03-20 13:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:05:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:05:14] Production.INFO: call_cost start [2025-03-20 13:05:14] Production.INFO: call_cost end [2025-03-20 13:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:05:15] Production.INFO: ==27227== Releasing lock... [2025-03-20 13:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:05:18] Production.INFO: count ==6024 [2025-03-20 13:05:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:05:05 - End Time 2025-03-20 13:05:05 [2025-03-20 13:05:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723029', 'tblTempUsageDetail_20' ) start [2025-03-20 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723029', 'tblTempUsageDetail_20' ) end [2025-03-20 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723029', 'tblTempVendorCDR_20' ) start [2025-03-20 13:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723029', 'tblTempVendorCDR_20' ) end [2025-03-20 13:05:21] Production.INFO: ProcessCDR(1,14723029,1,1,2) [2025-03-20 13:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:05:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:05:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:05:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723029', 'tblTempUsageDetail_20' ) start [2025-03-20 13:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723029', 'tblTempUsageDetail_20' ) end [2025-03-20 13:05:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:05:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:05:26] Production.INFO: ==27235== Releasing lock... [2025-03-20 13:05:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:05:26] Production.INFO: 73 MB #Memory Used# [2025-03-20 17:06:02] Production.INFO: ==27302== Lock acquired, processing the job... [2025-03-20 17:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:06:02] Production.INFO: neon service started [2025-03-20 17:06:02] Production.INFO: neon service started [2025-03-20 17:06:02] Production.INFO: ==27302== Releasing lock... [2025-03-20 17:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:06:02] Production.INFO: ==27307== Lock acquired, processing the job... [2025-03-20 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:06:02] Production.INFO: ==27307== Releasing lock... [2025-03-20 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:06:02] Production.INFO: ==27304== Lock acquired, processing the job... [2025-03-20 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:06:02] Production.INFO: ==27304== Releasing lock... [2025-03-20 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:06:03] Production.INFO: ==27309== Lock acquired, processing the job... [2025-03-20 13:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:06:03] Production.INFO: ==27311== Lock acquired, processing the job... [2025-03-20 13:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:06:03] Production.INFO: ==27319== Lock acquired, processing the job... [2025-03-20 13:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:06:04] Production.INFO: count ==12 [2025-03-20 13:06:04] Production.INFO: ==27311== Releasing lock... [2025-03-20 13:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:06:04] Production.INFO: ==27313== Lock acquired, processing the job... [2025-03-20 13:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:06:04] Production.INFO: count ==23 [2025-03-20 13:06:04] Production.INFO: ==27315== Lock acquired, processing the job... [2025-03-20 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723032') start [2025-03-20 13:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:06:04] Production.INFO: Account Balance Start. [2025-03-20 13:06:04] Production.INFO: CreateAllLog Start [2025-03-20 13:06:04] Production.INFO: 117 [2025-03-20 13:06:04] Production.INFO: ==27317== Lock acquired, processing the job... [2025-03-20 13:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723032') end [2025-03-20 13:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:06:04] Production.INFO: 1 [2025-03-20 13:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:06:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:06:04] Production.INFO: ==27319== Releasing lock... [2025-03-20 13:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:04] Production.ERROR: done [2025-03-20 13:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:06:05] Production.INFO: Date 2025-03-15 [2025-03-20 13:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:05] Production.ERROR: done [2025-03-20 13:06:05] Production.INFO: Date 2025-03-16 [2025-03-20 13:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:05] Production.INFO: Date 2025-03-17 [2025-03-20 13:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:05] Production.INFO: Date 2025-03-18 [2025-03-20 13:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:06:05] Production.INFO: Total Charge 0 [2025-03-20 13:06:05] Production.INFO: CreateAllLog End [2025-03-20 13:06:05] Production.INFO: Account Balance End. [2025-03-20 13:06:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:06:05] Production.INFO: ==27315== Releasing lock... [2025-03-20 13:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:06:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:06:06 [end_date_ymd] => 2025-03-20 13:06:06 [RateCDR] => 1 ) [2025-03-20 13:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:06:06' and `end` < '2025-03-20 13:06:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:06:14] Production.ERROR: CronJobId end10 [2025-03-20 13:06:14] Production.INFO: ==27313== Releasing lock... [2025-03-20 13:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:06:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:06:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:06:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:06:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:06:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:06:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:06:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:06:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:06:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:06:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:06:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:06:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:06:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:06:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:06:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:06:15] Production.INFO: call_cost start [2025-03-20 13:06:15] Production.INFO: call_cost end [2025-03-20 13:06:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:06:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:06:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:06:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:06:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:06:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:06:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:06:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:06:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:06:16] Production.INFO: ==27309== Releasing lock... [2025-03-20 13:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:06:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:06:19] Production.INFO: count ==6072 [2025-03-20 13:06:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:06:06 - End Time 2025-03-20 13:06:06 [2025-03-20 13:06:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723034', 'tblTempUsageDetail_20' ) start [2025-03-20 13:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723034', 'tblTempUsageDetail_20' ) end [2025-03-20 13:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723034', 'tblTempVendorCDR_20' ) start [2025-03-20 13:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723034', 'tblTempVendorCDR_20' ) end [2025-03-20 13:06:22] Production.INFO: ProcessCDR(1,14723034,1,1,2) [2025-03-20 13:06:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:06:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:06:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:06:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:06:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723034', 'tblTempUsageDetail_20' ) start [2025-03-20 13:06:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723034', 'tblTempUsageDetail_20' ) end [2025-03-20 13:06:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:06:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:06:28] Production.INFO: ==27317== Releasing lock... [2025-03-20 13:06:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:06:28] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 17:07:01] Production.INFO: ==27380== Lock acquired, processing the job... [2025-03-20 17:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:07:01] Production.INFO: neon service started [2025-03-20 17:07:01] Production.INFO: neon service started [2025-03-20 17:07:01] Production.INFO: ==27380== Releasing lock... [2025-03-20 17:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:07:01] Production.INFO: ==27382== Lock acquired, processing the job... [2025-03-20 13:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:07:02] Production.INFO: ==27382== Releasing lock... [2025-03-20 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:07:02] Production.INFO: ==27384== Lock acquired, processing the job... [2025-03-20 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:07:02] Production.INFO: ==27384== Releasing lock... [2025-03-20 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:07:02] Production.INFO: ==27386== Lock acquired, processing the job... [2025-03-20 13:07:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:07:03] Production.INFO: ==27394== Lock acquired, processing the job... [2025-03-20 13:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:07:03] Production.INFO: ==27388== Lock acquired, processing the job... [2025-03-20 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:07:03] Production.INFO: ==27390== Lock acquired, processing the job... [2025-03-20 13:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:07:03] Production.INFO: ==27392== Lock acquired, processing the job... [2025-03-20 13:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:07:03] Production.INFO: ==27396== Lock acquired, processing the job... [2025-03-20 13:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:07:03] Production.INFO: Account Balance Start. [2025-03-20 13:07:03] Production.INFO: CreateAllLog Start [2025-03-20 13:07:03] Production.INFO: 117 [2025-03-20 13:07:03] Production.ERROR: done [2025-03-20 13:07:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:07:03] Production.INFO: ==27388== Releasing lock... [2025-03-20 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:07:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:03] Production.INFO: count ==12 [2025-03-20 13:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:07:03] Production.INFO: count ==23 [2025-03-20 13:07:03] Production.ERROR: done [2025-03-20 13:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723038') start [2025-03-20 13:07:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723038') end [2025-03-20 13:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:07:04] Production.INFO: 1 [2025-03-20 13:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:07:04] Production.INFO: ==27396== Releasing lock... [2025-03-20 13:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:07:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:07:04] Production.INFO: Total Charge 0 [2025-03-20 13:07:04] Production.INFO: CreateAllLog End [2025-03-20 13:07:04] Production.INFO: Account Balance End. [2025-03-20 13:07:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:07:04] Production.INFO: ==27392== Releasing lock... [2025-03-20 13:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:07:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:07:04 [end_date_ymd] => 2025-03-20 13:07:04 [RateCDR] => 1 ) [2025-03-20 13: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-03-20 10:07:04' and `end` < '2025-03-20 13: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-03-20 13:07:12] Production.ERROR: CronJobId end10 [2025-03-20 13:07:12] Production.INFO: ==27390== Releasing lock... [2025-03-20 13:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:07:15] Production.INFO: call_cost start [2025-03-20 13:07:15] Production.INFO: call_cost end [2025-03-20 13:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:07:16] Production.INFO: ==27386== Releasing lock... [2025-03-20 13:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:07:18] Production.INFO: count ==6073 [2025-03-20 13:07:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:07:04 - End Time 2025-03-20 13:07:04 [2025-03-20 13:07:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723039', 'tblTempUsageDetail_20' ) start [2025-03-20 13:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723039', 'tblTempUsageDetail_20' ) end [2025-03-20 13:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723039', 'tblTempVendorCDR_20' ) start [2025-03-20 13:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723039', 'tblTempVendorCDR_20' ) end [2025-03-20 13:07:21] Production.INFO: ProcessCDR(1,14723039,1,1,2) [2025-03-20 13:07:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:07:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723039', 'tblTempUsageDetail_20' ) start [2025-03-20 13:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723039', 'tblTempUsageDetail_20' ) end [2025-03-20 13:07:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:07:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:07:27] Production.INFO: ==27394== Releasing lock... [2025-03-20 13:07:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:07:27] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 17:08:01] Production.INFO: ==27468== Lock acquired, processing the job... [2025-03-20 17:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:08:01] Production.INFO: neon service started [2025-03-20 17:08:02] Production.INFO: neon service started [2025-03-20 17:08:02] Production.INFO: ==27468== Releasing lock... [2025-03-20 17:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:08:02] Production.INFO: ==27472== Lock acquired, processing the job... [2025-03-20 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:08:02] Production.INFO: ==27472== Releasing lock... [2025-03-20 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:08:02] Production.INFO: ==27470== Lock acquired, processing the job... [2025-03-20 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:08:02] Production.INFO: ==27470== Releasing lock... [2025-03-20 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:08:03] Production.INFO: ==27483== Lock acquired, processing the job... [2025-03-20 13:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:08:03] Production.INFO: ==27475== Lock acquired, processing the job... [2025-03-20 13:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:08:03] Production.INFO: ==27485== Lock acquired, processing the job... [2025-03-20 13:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:08:03] Production.INFO: ==27479== Lock acquired, processing the job... [2025-03-20 13:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:08:03] Production.INFO: ==27477== Lock acquired, processing the job... [2025-03-20 13:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:08:04] Production.INFO: ==27481== Lock acquired, processing the job... [2025-03-20 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:08:04] Production.INFO: count ==12 [2025-03-20 13:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:08:04] Production.INFO: count ==23 [2025-03-20 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723040') start [2025-03-20 13:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:08:04] Production.INFO: Account Balance Start. [2025-03-20 13:08:04] Production.INFO: CreateAllLog Start [2025-03-20 13:08:04] Production.INFO: 117 [2025-03-20 13:08:04] Production.ERROR: done [2025-03-20 13:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:08:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723040') end [2025-03-20 13:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:08:04] Production.INFO: 1 [2025-03-20 13:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:08:04] Production.INFO: ==27485== Releasing lock... [2025-03-20 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:08:04] Production.INFO: ==27477== Releasing lock... [2025-03-20 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:08:04] Production.ERROR: done [2025-03-20 13:08:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:08:05] Production.INFO: Total Charge 0 [2025-03-20 13:08:05] Production.INFO: CreateAllLog End [2025-03-20 13:08:05] Production.INFO: Account Balance End. [2025-03-20 13:08:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:08:05] Production.INFO: ==27481== Releasing lock... [2025-03-20 13:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:08:05 [end_date_ymd] => 2025-03-20 13:08:05 [RateCDR] => 1 ) [2025-03-20 13:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:08:05' and `end` < '2025-03-20 13:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:08:14] Production.ERROR: CronJobId end10 [2025-03-20 13:08:14] Production.INFO: ==27479== Releasing lock... [2025-03-20 13:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:08:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:08:16] Production.INFO: call_cost start [2025-03-20 13:08:16] Production.INFO: call_cost end [2025-03-20 13:08:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:08:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:08:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:08:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:08:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:08:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:08:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:08:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:08:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:08:17] Production.INFO: ==27475== Releasing lock... [2025-03-20 13:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:08:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:08:19] Production.INFO: count ==6059 [2025-03-20 13:08:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:08:05 - End Time 2025-03-20 13:08:05 [2025-03-20 13:08:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723044', 'tblTempUsageDetail_20' ) start [2025-03-20 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723044', 'tblTempUsageDetail_20' ) end [2025-03-20 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723044', 'tblTempVendorCDR_20' ) start [2025-03-20 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723044', 'tblTempVendorCDR_20' ) end [2025-03-20 13:08:22] Production.INFO: ProcessCDR(1,14723044,1,1,2) [2025-03-20 13:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723044', 'tblTempUsageDetail_20' ) start [2025-03-20 13:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723044', 'tblTempUsageDetail_20' ) end [2025-03-20 13:08:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:08:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:08:27] Production.INFO: ==27483== Releasing lock... [2025-03-20 13:08:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:08:27] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 17:09:01] Production.INFO: ==27550== Lock acquired, processing the job... [2025-03-20 17:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:09:01] Production.INFO: neon service started [2025-03-20 17:09:01] Production.INFO: neon service started [2025-03-20 17:09:01] Production.INFO: ==27550== Releasing lock... [2025-03-20 17:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:09:02] Production.INFO: ==27552== Lock acquired, processing the job... [2025-03-20 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:09:02] Production.INFO: ==27554== Lock acquired, processing the job... [2025-03-20 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:09:02] Production.INFO: ==27554== Releasing lock... [2025-03-20 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:09:02] Production.INFO: ==27552== Releasing lock... [2025-03-20 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:09:03] Production.INFO: ==27557== Lock acquired, processing the job... [2025-03-20 13:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:09:03] Production.INFO: ==27559== Lock acquired, processing the job... [2025-03-20 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:09:03] Production.INFO: ==27563== Lock acquired, processing the job... [2025-03-20 13:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:09:03] Production.INFO: Account Balance Start. [2025-03-20 13:09:03] Production.INFO: CreateAllLog Start [2025-03-20 13:09:03] Production.INFO: 117 [2025-03-20 13:09:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:03] Production.INFO: ==27561== Lock acquired, processing the job... [2025-03-20 13:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:09:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:03] Production.INFO: ==27559== Releasing lock... [2025-03-20 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:09:03] Production.INFO: ==27565== Lock acquired, processing the job... [2025-03-20 13:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:09:03] Production.INFO: Date 2025-03-14 [2025-03-20 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:09:03] Production.INFO: Date 2025-03-15 [2025-03-20 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:03] Production.INFO: ==27567== Lock acquired, processing the job... [2025-03-20 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:09:03] Production.INFO: Date 2025-03-16 [2025-03-20 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:03] Production.INFO: Date 2025-03-17 [2025-03-20 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:09:03] Production.INFO: Date 2025-03-18 [2025-03-20 13:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:04] Production.INFO: count ==12 [2025-03-20 13:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:09:04] Production.INFO: count ==23 [2025-03-20 13:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723048') start [2025-03-20 13:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723048') end [2025-03-20 13:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:09:04] Production.INFO: 1 [2025-03-20 13:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:09:04] Production.INFO: Total Charge 0 [2025-03-20 13:09:04] Production.INFO: CreateAllLog End [2025-03-20 13:09:04] Production.INFO: ==27567== Releasing lock... [2025-03-20 13:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:09:04] Production.ERROR: done [2025-03-20 13:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:09:04] Production.INFO: Account Balance End. [2025-03-20 13:09:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:09:04] Production.INFO: ==27563== Releasing lock... [2025-03-20 13:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:09:04] Production.ERROR: done [2025-03-20 13:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:09:05 [end_date_ymd] => 2025-03-20 13:09:05 [RateCDR] => 1 ) [2025-03-20 13:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:09:05' and `end` < '2025-03-20 13:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:09:12] Production.ERROR: CronJobId end10 [2025-03-20 13:09:12] Production.INFO: ==27561== Releasing lock... [2025-03-20 13:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:09:14] Production.INFO: call_cost start [2025-03-20 13:09:14] Production.INFO: call_cost end [2025-03-20 13:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:09:15] Production.INFO: ==27557== Releasing lock... [2025-03-20 13:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:09:19] Production.INFO: count ==6024 [2025-03-20 13:09:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:09:05 - End Time 2025-03-20 13:09:05 [2025-03-20 13:09:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723049', 'tblTempUsageDetail_20' ) start [2025-03-20 13:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723049', 'tblTempUsageDetail_20' ) end [2025-03-20 13:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723049', 'tblTempVendorCDR_20' ) start [2025-03-20 13:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723049', 'tblTempVendorCDR_20' ) end [2025-03-20 13:09:22] Production.INFO: ProcessCDR(1,14723049,1,1,2) [2025-03-20 13:09:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:09:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723049', 'tblTempUsageDetail_20' ) start [2025-03-20 13:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723049', 'tblTempUsageDetail_20' ) end [2025-03-20 13:09:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:09:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:09:27] Production.INFO: ==27565== Releasing lock... [2025-03-20 13:09:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:09:27] Production.INFO: 73 MB #Memory Used# [2025-03-20 17:10:01] Production.INFO: ==27627== Lock acquired, processing the job... [2025-03-20 17:10:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:10:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:10:02] Production.INFO: neon service started [2025-03-20 17:10:02] Production.INFO: neon service started [2025-03-20 17:10:02] Production.INFO: ==27627== Releasing lock... [2025-03-20 17:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:10:02] Production.INFO: ==27631== Lock acquired, processing the job... [2025-03-20 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:10:02] Production.INFO: ==27631== Releasing lock... [2025-03-20 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:10:02] Production.INFO: ==27629== Lock acquired, processing the job... [2025-03-20 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:10:02] Production.INFO: ==27629== Releasing lock... [2025-03-20 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:10:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:10:03] Production.INFO: ==27634== Lock acquired, processing the job... [2025-03-20 13:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 13:10:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 13:10:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 13:10:03] Production.INFO: ==27634== Releasing lock... [2025-03-20 13:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 13:10:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 13:10:04] Production.INFO: ==27636== Lock acquired, processing the job... [2025-03-20 13:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:10:04] Production.INFO: ==27642== Lock acquired, processing the job... [2025-03-20 13:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:10:04] Production.INFO: ==27646== Lock acquired, processing the job... [2025-03-20 13:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 13:10:04] Production.INFO: Account Balance Start. [2025-03-20 13:10:04] Production.INFO: CreateAllLog Start [2025-03-20 13:10:04] Production.INFO: 117 [2025-03-20 13:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:10:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.INFO: ==27638== Lock acquired, processing the job... [2025-03-20 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:10:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.INFO: ==27640== Lock acquired, processing the job... [2025-03-20 13:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:10:04] Production.INFO: ==27644== Lock acquired, processing the job... [2025-03-20 13:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:10:04] Production.INFO: ==27649== Lock acquired, processing the job... [2025-03-20 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:10:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:10:04] Production.ERROR: done [2025-03-20 13:10:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.INFO: count ==12 [2025-03-20 13:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:10:04] Production.INFO: count ==23 [2025-03-20 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723053') start [2025-03-20 13:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 13:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723054', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 13:10:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723053') end [2025-03-20 13:10:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:10:04] Production.INFO: 1 [2025-03-20 13:10:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:10:04] Production.INFO: ==27638== Releasing lock... [2025-03-20 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:10:04] Production.ERROR: done [2025-03-20 13:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:10:04] Production.INFO: ==27649== Releasing lock... [2025-03-20 13:10:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:10:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:10:05] Production.INFO: Total Charge 0 [2025-03-20 13:10:05] Production.INFO: CreateAllLog End [2025-03-20 13:10:05] Production.ERROR: done [2025-03-20 13:10:05] Production.INFO: Account Balance End. [2025-03-20 13:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:10:05] Production.INFO: ==27642== Releasing lock... [2025-03-20 13:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:10:06 [end_date_ymd] => 2025-03-20 13:10:06 [RateCDR] => 1 ) [2025-03-20 13:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:10:06' and `end` < '2025-03-20 13:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723054', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 13:10:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 13:10:08] Production.INFO: ProcessCDR(1,14723054,1,1,2) [2025-03-20 13:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723054,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723054,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:10:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:10:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:10:08] Production.INFO: ==27646== Releasing lock... [2025-03-20 13:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 13:10:08] Production.INFO: 26 MB #Memory Used# [2025-03-20 13:10:14] Production.ERROR: CronJobId end10 [2025-03-20 13:10:14] Production.INFO: ==27640== Releasing lock... [2025-03-20 13:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:10:17] Production.INFO: call_cost start [2025-03-20 13:10:17] Production.INFO: call_cost end [2025-03-20 13:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:10:18] Production.INFO: ==27636== Releasing lock... [2025-03-20 13:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:10:20] Production.INFO: count ==6022 [2025-03-20 13:10:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:10:06 - End Time 2025-03-20 13:10:06 [2025-03-20 13:10:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723055', 'tblTempUsageDetail_20' ) start [2025-03-20 13:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723055', 'tblTempUsageDetail_20' ) end [2025-03-20 13:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723055', 'tblTempVendorCDR_20' ) start [2025-03-20 13:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723055', 'tblTempVendorCDR_20' ) end [2025-03-20 13:10:23] Production.INFO: ProcessCDR(1,14723055,1,1,2) [2025-03-20 13:10:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:10:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723055,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:10:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723055,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723055', 'tblTempUsageDetail_20' ) start [2025-03-20 13:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723055', 'tblTempUsageDetail_20' ) end [2025-03-20 13:10:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:10:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:10:28] Production.INFO: ==27644== Releasing lock... [2025-03-20 13:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:10:28] Production.INFO: 73 MB #Memory Used# [2025-03-20 17:11:01] Production.INFO: ==27713== Lock acquired, processing the job... [2025-03-20 17:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:11:01] Production.INFO: neon service started [2025-03-20 17:11:01] Production.INFO: neon service started [2025-03-20 17:11:01] Production.INFO: ==27713== Releasing lock... [2025-03-20 17:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:11:01] Production.INFO: ==27715== Lock acquired, processing the job... [2025-03-20 13:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:11:02] Production.INFO: ==27715== Releasing lock... [2025-03-20 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:11:02] Production.INFO: ==27717== Lock acquired, processing the job... [2025-03-20 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:11:02] Production.INFO: ==27717== Releasing lock... [2025-03-20 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:11:03] Production.INFO: ==27728== Lock acquired, processing the job... [2025-03-20 13:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:11:03] Production.INFO: ==27726== Lock acquired, processing the job... [2025-03-20 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:11:03] Production.INFO: ==27720== Lock acquired, processing the job... [2025-03-20 13:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:11:03] Production.INFO: ==27722== Lock acquired, processing the job... [2025-03-20 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:11:03] Production.INFO: Account Balance Start. [2025-03-20 13:11:03] Production.INFO: CreateAllLog Start [2025-03-20 13:11:03] Production.INFO: 117 [2025-03-20 13:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:11:03] Production.INFO: ==27724== Lock acquired, processing the job... [2025-03-20 13:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.INFO: ==27730== Lock acquired, processing the job... [2025-03-20 13:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:11:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:11:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.ERROR: done [2025-03-20 13:11:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:11:03] Production.INFO: Date 2025-03-14 [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.INFO: Date 2025-03-15 [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:11:03] Production.INFO: Date 2025-03-16 [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.INFO: count ==12 [2025-03-20 13:11:03] Production.INFO: Date 2025-03-17 [2025-03-20 13:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.INFO: count ==23 [2025-03-20 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723059') start [2025-03-20 13:11:03] Production.INFO: Date 2025-03-18 [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.ERROR: done [2025-03-20 13:11:03] Production.INFO: ==27722== Releasing lock... [2025-03-20 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:11:03] Production.INFO: Date 2025-03-19 [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723059') end [2025-03-20 13:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:11:03] Production.INFO: 1 [2025-03-20 13:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:11:03] Production.INFO: Date 2025-03-20 [2025-03-20 13:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:11:03] Production.INFO: Total Charge 0 [2025-03-20 13:11:04] Production.INFO: CreateAllLog End [2025-03-20 13:11:04] Production.INFO: ==27730== Releasing lock... [2025-03-20 13:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:11:04] Production.INFO: Account Balance End. [2025-03-20 13:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:11:04] Production.INFO: ==27726== Releasing lock... [2025-03-20 13:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:11:05 [end_date_ymd] => 2025-03-20 13:11:05 [RateCDR] => 1 ) [2025-03-20 13:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:11:05' and `end` < '2025-03-20 13:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:11:12] Production.ERROR: CronJobId end10 [2025-03-20 13:11:12] Production.INFO: ==27724== Releasing lock... [2025-03-20 13:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:11:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:11:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:11:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:11:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:11:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:11:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:11:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:11:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:11:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:11:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:11:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:11:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:11:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:11:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:11:14] Production.INFO: call_cost start [2025-03-20 13:11:14] Production.INFO: call_cost end [2025-03-20 13:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:11:15] Production.INFO: ==27720== Releasing lock... [2025-03-20 13:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:11:18] Production.INFO: count ==6038 [2025-03-20 13:11:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:11:05 - End Time 2025-03-20 13:11:05 [2025-03-20 13:11:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723060', 'tblTempUsageDetail_20' ) start [2025-03-20 13:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723060', 'tblTempUsageDetail_20' ) end [2025-03-20 13:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723060', 'tblTempVendorCDR_20' ) start [2025-03-20 13:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723060', 'tblTempVendorCDR_20' ) end [2025-03-20 13:11:21] Production.INFO: ProcessCDR(1,14723060,1,1,2) [2025-03-20 13:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:11:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723060,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:11:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:11:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723060,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723060', 'tblTempUsageDetail_20' ) start [2025-03-20 13:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723060', 'tblTempUsageDetail_20' ) end [2025-03-20 13:11:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:11:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:11:26] Production.INFO: ==27728== Releasing lock... [2025-03-20 13:11:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:11:26] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 17:12:01] Production.INFO: ==27796== Lock acquired, processing the job... [2025-03-20 17:12:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:12:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:12:01] Production.INFO: neon service started [2025-03-20 17:12:01] Production.INFO: neon service started [2025-03-20 17:12:01] Production.INFO: ==27796== Releasing lock... [2025-03-20 17:12:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:12:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:12:02] Production.INFO: ==27800== Lock acquired, processing the job... [2025-03-20 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:12:02] Production.INFO: ==27800== Releasing lock... [2025-03-20 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:12:02] Production.INFO: ==27798== Lock acquired, processing the job... [2025-03-20 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:12:02] Production.INFO: ==27798== Releasing lock... [2025-03-20 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:12:03] Production.INFO: ==27803== Lock acquired, processing the job... [2025-03-20 13:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:12:03] Production.INFO: ==27805== Lock acquired, processing the job... [2025-03-20 13:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:12:03] Production.INFO: ==27807== Lock acquired, processing the job... [2025-03-20 13:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:12:03] Production.INFO: ==27809== Lock acquired, processing the job... [2025-03-20 13:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:12:03] Production.INFO: ==27811== Lock acquired, processing the job... [2025-03-20 13:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:12:03] Production.INFO: Account Balance Start. [2025-03-20 13:12:03] Production.INFO: CreateAllLog Start [2025-03-20 13:12:03] Production.INFO: 117 [2025-03-20 13:12:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:12:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:12:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:03] Production.INFO: ==27813== Lock acquired, processing the job... [2025-03-20 13:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.INFO: ==27805== Releasing lock... [2025-03-20 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.INFO: count ==12 [2025-03-20 13:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:12:04] Production.INFO: count ==23 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723064') start [2025-03-20 13:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.ERROR: done [2025-03-20 13:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723064') end [2025-03-20 13:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:12:04] Production.INFO: 1 [2025-03-20 13:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:12:04] Production.INFO: ==27813== Releasing lock... [2025-03-20 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:12:04] Production.INFO: Total Charge 0 [2025-03-20 13:12:04] Production.INFO: CreateAllLog End [2025-03-20 13:12:04] Production.ERROR: done [2025-03-20 13:12:04] Production.INFO: Account Balance End. [2025-03-20 13:12:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:12:04] Production.INFO: ==27809== Releasing lock... [2025-03-20 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:12:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:12:05 [end_date_ymd] => 2025-03-20 13:12:05 [RateCDR] => 1 ) [2025-03-20 13:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:12:05' and `end` < '2025-03-20 13:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:12:14] Production.ERROR: CronJobId end10 [2025-03-20 13:12:14] Production.INFO: ==27807== Releasing lock... [2025-03-20 13:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:12:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:12:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:12:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:12:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:12:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:12:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:12:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:12:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:12:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:12:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:12:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:12:16] Production.INFO: call_cost start [2025-03-20 13:12:16] Production.INFO: call_cost end [2025-03-20 13:12:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:12:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:12:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:12:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:12:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:12:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:12:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:12:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:12:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:12:17] Production.INFO: ==27803== Releasing lock... [2025-03-20 13:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:12:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:12:19] Production.INFO: count ==6062 [2025-03-20 13:12:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:12:05 - End Time 2025-03-20 13:12:05 [2025-03-20 13:12:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723065', 'tblTempUsageDetail_20' ) start [2025-03-20 13:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723065', 'tblTempUsageDetail_20' ) end [2025-03-20 13:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723065', 'tblTempVendorCDR_20' ) start [2025-03-20 13:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723065', 'tblTempVendorCDR_20' ) end [2025-03-20 13:12:22] Production.INFO: ProcessCDR(1,14723065,1,1,2) [2025-03-20 13:12:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:12:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723065,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:12:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:12:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723065,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723065', 'tblTempUsageDetail_20' ) start [2025-03-20 13:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723065', 'tblTempUsageDetail_20' ) end [2025-03-20 13:12:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:12:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:12:27] Production.INFO: ==27811== Releasing lock... [2025-03-20 13:12:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:12:27] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 17:13:02] Production.INFO: ==27880== Lock acquired, processing the job... [2025-03-20 17:13:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:13:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:13:02] Production.INFO: neon service started [2025-03-20 17:13:02] Production.INFO: neon service started [2025-03-20 17:13:02] Production.INFO: ==27880== Releasing lock... [2025-03-20 17:13:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:13:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:13:02] Production.INFO: ==27883== Lock acquired, processing the job... [2025-03-20 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:13:02] Production.INFO: ==27885== Lock acquired, processing the job... [2025-03-20 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:13:02] Production.INFO: ==27883== Releasing lock... [2025-03-20 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:13:03] Production.INFO: ==27885== Releasing lock... [2025-03-20 17:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:13:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:13:03] Production.INFO: ==27895== Lock acquired, processing the job... [2025-03-20 13:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:13:03] Production.INFO: ==27891== Lock acquired, processing the job... [2025-03-20 13:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:13:03] Production.INFO: ==27887== Lock acquired, processing the job... [2025-03-20 13:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:13:04] Production.INFO: ==27889== Lock acquired, processing the job... [2025-03-20 13:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:13:04] Production.INFO: ==27893== Lock acquired, processing the job... [2025-03-20 13:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:13:04] Production.INFO: ==27897== Lock acquired, processing the job... [2025-03-20 13:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:13:04] Production.INFO: Account Balance Start. [2025-03-20 13:13:04] Production.INFO: CreateAllLog Start [2025-03-20 13:13:04] Production.INFO: 117 [2025-03-20 13:13:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: count ==12 [2025-03-20 13:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:13:04] Production.INFO: count ==23 [2025-03-20 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723069') start [2025-03-20 13:13:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.ERROR: done [2025-03-20 13:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723069') end [2025-03-20 13:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:13:04] Production.INFO: 1 [2025-03-20 13:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: ==27889== Releasing lock... [2025-03-20 13:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: ==27897== Releasing lock... [2025-03-20 13:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:13:04] Production.ERROR: done [2025-03-20 13:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:13:04] Production.INFO: Total Charge 0 [2025-03-20 13:13:04] Production.INFO: CreateAllLog End [2025-03-20 13:13:05] Production.INFO: Account Balance End. [2025-03-20 13:13:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:13:05] Production.INFO: ==27893== Releasing lock... [2025-03-20 13:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:13:05 [end_date_ymd] => 2025-03-20 13:13:05 [RateCDR] => 1 ) [2025-03-20 13:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:13:05' and `end` < '2025-03-20 13:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:13:13] Production.ERROR: CronJobId end10 [2025-03-20 13:13:13] Production.INFO: ==27891== Releasing lock... [2025-03-20 13:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:13:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:13:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:13:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:13:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:13:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:13:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:13:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:13:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:13:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:13:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:13:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:13:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:13:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:13:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:13:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:13:15] Production.INFO: call_cost start [2025-03-20 13:13:15] Production.INFO: call_cost end [2025-03-20 13:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:13:16] Production.INFO: ==27887== Releasing lock... [2025-03-20 13:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:13:19] Production.INFO: count ==6067 [2025-03-20 13:13:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:13:05 - End Time 2025-03-20 13:13:05 [2025-03-20 13:13:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723070', 'tblTempUsageDetail_20' ) start [2025-03-20 13:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723070', 'tblTempUsageDetail_20' ) end [2025-03-20 13:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723070', 'tblTempVendorCDR_20' ) start [2025-03-20 13:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723070', 'tblTempVendorCDR_20' ) end [2025-03-20 13:13:22] Production.INFO: ProcessCDR(1,14723070,1,1,2) [2025-03-20 13:13:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:13:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723070,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:13:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:13:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723070,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:13:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723070', 'tblTempUsageDetail_20' ) start [2025-03-20 13:13:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723070', 'tblTempUsageDetail_20' ) end [2025-03-20 13:13:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:13:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:13:27] Production.INFO: ==27895== Releasing lock... [2025-03-20 13:13:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:13:27] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 17:14:01] Production.INFO: ==27961== Lock acquired, processing the job... [2025-03-20 17:14:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:14:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:14:01] Production.INFO: neon service started [2025-03-20 17:14:01] Production.INFO: neon service started [2025-03-20 17:14:01] Production.INFO: ==27961== Releasing lock... [2025-03-20 17:14:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:14:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:14:02] Production.INFO: ==27966== Lock acquired, processing the job... [2025-03-20 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:14:02] Production.INFO: ==27966== Releasing lock... [2025-03-20 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:14:02] Production.INFO: ==27964== Lock acquired, processing the job... [2025-03-20 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:14:02] Production.INFO: ==27964== Releasing lock... [2025-03-20 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:14:03] Production.INFO: ==27968== Lock acquired, processing the job... [2025-03-20 13:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:14:03] Production.INFO: ==27972== Lock acquired, processing the job... [2025-03-20 13:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:14:03] Production.INFO: ==27976== Lock acquired, processing the job... [2025-03-20 13:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:14:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:14:04] Production.INFO: ==27970== Lock acquired, processing the job... [2025-03-20 13:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:14:04] Production.INFO: ==27974== Lock acquired, processing the job... [2025-03-20 13:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:14:04] Production.ERROR: done [2025-03-20 13:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:14:04] Production.INFO: ==27978== Lock acquired, processing the job... [2025-03-20 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:14:04] Production.ERROR: done [2025-03-20 13:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:14:04] Production.INFO: Account Balance Start. [2025-03-20 13:14:04] Production.INFO: CreateAllLog Start [2025-03-20 13:14:04] Production.INFO: 117 [2025-03-20 13:14:04] Production.INFO: count ==12 [2025-03-20 13:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:04] Production.INFO: count ==23 [2025-03-20 13:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723074') start [2025-03-20 13:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:04] Production.INFO: ==27970== Releasing lock... [2025-03-20 13:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723074') end [2025-03-20 13:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:14:04] Production.INFO: 1 [2025-03-20 13:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:04] Production.INFO: ==27978== Releasing lock... [2025-03-20 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:05] Production.INFO: Date 2025-03-16 [2025-03-20 13:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:05] Production.INFO: Date 2025-03-17 [2025-03-20 13:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:05] Production.INFO: Date 2025-03-18 [2025-03-20 13:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:14:05] Production.INFO: Total Charge 0 [2025-03-20 13:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:14:05 [end_date_ymd] => 2025-03-20 13:14:05 [RateCDR] => 1 ) [2025-03-20 13:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:14:05' and `end` < '2025-03-20 13:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:14:05] Production.INFO: CreateAllLog End [2025-03-20 13:14:05] Production.INFO: Account Balance End. [2025-03-20 13:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:14:05] Production.INFO: ==27974== Releasing lock... [2025-03-20 13:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:14:13] Production.ERROR: CronJobId end10 [2025-03-20 13:14:13] Production.INFO: ==27972== Releasing lock... [2025-03-20 13:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:14:15] Production.INFO: call_cost start [2025-03-20 13:14:15] Production.INFO: call_cost end [2025-03-20 13:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:14:16] Production.INFO: ==27968== Releasing lock... [2025-03-20 13:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:14:18] Production.INFO: count ==6068 [2025-03-20 13:14:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:14:05 - End Time 2025-03-20 13:14:05 [2025-03-20 13:14:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723075', 'tblTempUsageDetail_20' ) start [2025-03-20 13:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723075', 'tblTempUsageDetail_20' ) end [2025-03-20 13:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723075', 'tblTempVendorCDR_20' ) start [2025-03-20 13:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723075', 'tblTempVendorCDR_20' ) end [2025-03-20 13:14:21] Production.INFO: ProcessCDR(1,14723075,1,1,2) [2025-03-20 13:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:14:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:14:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723075', 'tblTempUsageDetail_20' ) start [2025-03-20 13:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723075', 'tblTempUsageDetail_20' ) end [2025-03-20 13:14:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:14:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:14:27] Production.INFO: ==27976== Releasing lock... [2025-03-20 13:14:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:14:27] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 17:15:02] Production.INFO: ==28046== Lock acquired, processing the job... [2025-03-20 17:15:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:15:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:15:02] Production.INFO: neon service started [2025-03-20 17:15:02] Production.INFO: neon service started [2025-03-20 17:15:02] Production.INFO: ==28046== Releasing lock... [2025-03-20 17:15:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:15:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:15:02] Production.INFO: ==28050== Lock acquired, processing the job... [2025-03-20 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:15:02] Production.INFO: ==28050== Releasing lock... [2025-03-20 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:15:02] Production.INFO: ==28048== Lock acquired, processing the job... [2025-03-20 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:15:03] Production.INFO: ==28048== Releasing lock... [2025-03-20 13:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:15:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:15:03] Production.INFO: ==28058== Lock acquired, processing the job... [2025-03-20 13:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:15:04] Production.INFO: ==28056== Lock acquired, processing the job... [2025-03-20 13:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:15:04] Production.INFO: ==28060== Lock acquired, processing the job... [2025-03-20 13:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:15:04] Production.INFO: ==28054== Lock acquired, processing the job... [2025-03-20 13:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:15:04] Production.INFO: Account Balance Start. [2025-03-20 13:15:04] Production.INFO: CreateAllLog Start [2025-03-20 13:15:04] Production.INFO: 117 [2025-03-20 13:15:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: ==28063== Lock acquired, processing the job... [2025-03-20 13:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:15:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: ==28065== Lock acquired, processing the job... [2025-03-20 13:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: ==28056== Releasing lock... [2025-03-20 13:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: count ==12 [2025-03-20 13:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:15:04] Production.INFO: count ==23 [2025-03-20 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723079') start [2025-03-20 13:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.ERROR: done [2025-03-20 13:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:15:04] Production.INFO: Total Charge 0 [2025-03-20 13:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:15:04] Production.INFO: CreateAllLog End [2025-03-20 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723079') end [2025-03-20 13:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:15:04] Production.INFO: 1 [2025-03-20 13:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:15:04] Production.INFO: ==28065== Releasing lock... [2025-03-20 13:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:15:05] Production.ERROR: done [2025-03-20 13:15:05] Production.INFO: Account Balance End. [2025-03-20 13:15:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:15:05] Production.INFO: ==28060== Releasing lock... [2025-03-20 13:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:15:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:15:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:15:06 [end_date_ymd] => 2025-03-20 13:15:06 [RateCDR] => 1 ) [2025-03-20 13:15:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:15:06' and `end` < '2025-03-20 13:15:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:15:14] Production.ERROR: CronJobId end10 [2025-03-20 13:15:14] Production.INFO: ==28058== Releasing lock... [2025-03-20 13:15:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:15:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:15:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:15:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:15:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:15:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:15:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:15:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:15:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:15:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:15:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:15:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:15:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:15:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:15:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:15:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:15:16] Production.INFO: call_cost start [2025-03-20 13:15:16] Production.INFO: call_cost end [2025-03-20 13:15:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:15:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:15:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:15:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:15:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:15:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:15:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:15:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:15:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:15:17] Production.INFO: ==28054== Releasing lock... [2025-03-20 13:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:15:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:15:19] Production.INFO: count ==6053 [2025-03-20 13:15:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:15:06 - End Time 2025-03-20 13:15:06 [2025-03-20 13:15:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723080', 'tblTempUsageDetail_20' ) start [2025-03-20 13:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723080', 'tblTempUsageDetail_20' ) end [2025-03-20 13:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723080', 'tblTempVendorCDR_20' ) start [2025-03-20 13:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723080', 'tblTempVendorCDR_20' ) end [2025-03-20 13:15:22] Production.INFO: ProcessCDR(1,14723080,1,1,2) [2025-03-20 13:15:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:15:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:15:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:15:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723080', 'tblTempUsageDetail_20' ) start [2025-03-20 13:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723080', 'tblTempUsageDetail_20' ) end [2025-03-20 13:15:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:15:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:15:27] Production.INFO: ==28063== Releasing lock... [2025-03-20 13:15:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:15:27] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 17:16:01] Production.INFO: ==28136== Lock acquired, processing the job... [2025-03-20 17:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:16:01] Production.INFO: neon service started [2025-03-20 17:16:01] Production.INFO: neon service started [2025-03-20 17:16:01] Production.INFO: ==28136== Releasing lock... [2025-03-20 17:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:16:02] Production.INFO: ==28138== Lock acquired, processing the job... [2025-03-20 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:16:02] Production.INFO: ==28138== Releasing lock... [2025-03-20 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:16:02] Production.INFO: ==28140== Lock acquired, processing the job... [2025-03-20 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:16:02] Production.INFO: ==28140== Releasing lock... [2025-03-20 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:16:03] Production.INFO: ==28142== Lock acquired, processing the job... [2025-03-20 13:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:16:03] Production.INFO: ==28144== Lock acquired, processing the job... [2025-03-20 13:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:16:03] Production.INFO: ==28150== Lock acquired, processing the job... [2025-03-20 13:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:16:03] Production.INFO: ==28144== Releasing lock... [2025-03-20 13:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:16:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:16:03] Production.INFO: ==28152== Lock acquired, processing the job... [2025-03-20 13:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:16:03] Production.INFO: ==28146== Lock acquired, processing the job... [2025-03-20 13:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:16:03] Production.INFO: ==28148== Lock acquired, processing the job... [2025-03-20 13:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:16:03] Production.ERROR: done [2025-03-20 13:16:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13: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-03-20 13:16:03] Production.INFO: Account Balance Start. [2025-03-20 13:16:03] Production.INFO: CreateAllLog Start [2025-03-20 13:16:03] Production.INFO: 117 [2025-03-20 13:16:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:03] Production.INFO: count ==12 [2025-03-20 13: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-03-20 13:16:03] Production.INFO: count ==23 [2025-03-20 13:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723083') start [2025-03-20 13:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723083') end [2025-03-20 13:16:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:16:03] Production.INFO: 1 [2025-03-20 13:16:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:16:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:03] Production.ERROR: done [2025-03-20 13:16:03] Production.INFO: ==28152== Releasing lock... [2025-03-20 13:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:16:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:16:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:16:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:16:04] Production.INFO: Total Charge 0 [2025-03-20 13:16:04] Production.INFO: CreateAllLog End [2025-03-20 13:16:04] Production.INFO: Account Balance End. [2025-03-20 13:16:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:16:04] Production.INFO: ==28148== Releasing lock... [2025-03-20 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:16:05 [end_date_ymd] => 2025-03-20 13:16:05 [RateCDR] => 1 ) [2025-03-20 13:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:16:05' and `end` < '2025-03-20 13:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:16:12] Production.ERROR: CronJobId end10 [2025-03-20 13:16:12] Production.INFO: ==28146== Releasing lock... [2025-03-20 13:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:16:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:16:14] Production.INFO: call_cost start [2025-03-20 13:16:14] Production.INFO: call_cost end [2025-03-20 13:16:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:16:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:16:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:16:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:16:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:16:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:16:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:16:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:16:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:16:15] Production.INFO: ==28142== Releasing lock... [2025-03-20 13:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:16:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:16:18] Production.INFO: count ==6064 [2025-03-20 13:16:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:16:05 - End Time 2025-03-20 13:16:05 [2025-03-20 13:16:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723085', 'tblTempUsageDetail_20' ) start [2025-03-20 13:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723085', 'tblTempUsageDetail_20' ) end [2025-03-20 13:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723085', 'tblTempVendorCDR_20' ) start [2025-03-20 13:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723085', 'tblTempVendorCDR_20' ) end [2025-03-20 13:16:21] Production.INFO: ProcessCDR(1,14723085,1,1,2) [2025-03-20 13:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:16:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723085', 'tblTempUsageDetail_20' ) start [2025-03-20 13:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723085', 'tblTempUsageDetail_20' ) end [2025-03-20 13:16:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:16:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:16:26] Production.INFO: ==28150== Releasing lock... [2025-03-20 13:16:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:16:26] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 17:17:02] Production.INFO: ==28214== Lock acquired, processing the job... [2025-03-20 17:17:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:17:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:17:02] Production.INFO: neon service started [2025-03-20 17:17:02] Production.INFO: neon service started [2025-03-20 17:17:02] Production.INFO: ==28214== Releasing lock... [2025-03-20 17:17:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:17:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:17:02] Production.INFO: ==28216== Lock acquired, processing the job... [2025-03-20 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:17:02] Production.INFO: ==28218== Lock acquired, processing the job... [2025-03-20 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:17:02] Production.INFO: ==28218== Releasing lock... [2025-03-20 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:17:03] Production.INFO: ==28216== Releasing lock... [2025-03-20 13:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:17:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:17:04] Production.INFO: ==28225== Lock acquired, processing the job... [2025-03-20 13:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:17:04] Production.INFO: ==28229== Lock acquired, processing the job... [2025-03-20 13:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:17:04] Production.INFO: ==28221== Lock acquired, processing the job... [2025-03-20 13:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:17:04] Production.INFO: ==28223== Lock acquired, processing the job... [2025-03-20 13:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:17:04] Production.INFO: ==28227== Lock acquired, processing the job... [2025-03-20 13:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:17:04] Production.INFO: ==28231== Lock acquired, processing the job... [2025-03-20 13:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:17:04] Production.ERROR: done [2025-03-20 13:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13: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-03-20 13:17:04] Production.INFO: count ==12 [2025-03-20 13:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:17:04] Production.INFO: count ==23 [2025-03-20 13:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723088') start [2025-03-20 13:17:04] Production.INFO: ==28223== Releasing lock... [2025-03-20 13:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:17:04] Production.ERROR: done [2025-03-20 13:17:04] Production.INFO: Account Balance Start. [2025-03-20 13:17:04] Production.INFO: CreateAllLog Start [2025-03-20 13:17:04] Production.INFO: 117 [2025-03-20 13:17:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723088') end [2025-03-20 13:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:17:04] Production.INFO: 1 [2025-03-20 13:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:17:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:04] Production.INFO: ==28231== Releasing lock... [2025-03-20 13:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:17:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:05] Production.INFO: Date 2025-03-13 [2025-03-20 13:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:05] Production.INFO: Date 2025-03-14 [2025-03-20 13:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:05] Production.INFO: Date 2025-03-15 [2025-03-20 13:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:05] Production.INFO: Date 2025-03-16 [2025-03-20 13:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:05] Production.INFO: Date 2025-03-17 [2025-03-20 13:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:05] Production.INFO: Date 2025-03-18 [2025-03-20 13:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:17:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:17:05] Production.INFO: Total Charge 0 [2025-03-20 13:17:05] Production.INFO: CreateAllLog End [2025-03-20 13:17:05] Production.INFO: Account Balance End. [2025-03-20 13:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:17:05 [end_date_ymd] => 2025-03-20 13:17:05 [RateCDR] => 1 ) [2025-03-20 13:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:17:05' and `end` < '2025-03-20 13:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:17:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:17:05] Production.INFO: ==28227== Releasing lock... [2025-03-20 13:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:17:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:17:13] Production.ERROR: CronJobId end10 [2025-03-20 13:17:13] Production.INFO: ==28225== Releasing lock... [2025-03-20 13:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:17:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:17:16] Production.INFO: call_cost start [2025-03-20 13:17:16] Production.INFO: call_cost end [2025-03-20 13:17:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:17:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:17:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:17:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:17:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:17:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:17:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:17:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:17:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:17:17] Production.INFO: ==28221== Releasing lock... [2025-03-20 13:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:17:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:17:19] Production.INFO: count ==6053 [2025-03-20 13:17:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:17:05 - End Time 2025-03-20 13:17:05 [2025-03-20 13:17:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723090', 'tblTempUsageDetail_20' ) start [2025-03-20 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723090', 'tblTempUsageDetail_20' ) end [2025-03-20 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723090', 'tblTempVendorCDR_20' ) start [2025-03-20 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723090', 'tblTempVendorCDR_20' ) end [2025-03-20 13:17:22] Production.INFO: ProcessCDR(1,14723090,1,1,2) [2025-03-20 13:17:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:17:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:17:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:17:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723090', 'tblTempUsageDetail_20' ) start [2025-03-20 13:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723090', 'tblTempUsageDetail_20' ) end [2025-03-20 13:17:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:17:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:17:28] Production.INFO: ==28229== Releasing lock... [2025-03-20 13:17:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:17:28] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 17:18:01] Production.INFO: ==28307== Lock acquired, processing the job... [2025-03-20 17:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:18:01] Production.INFO: neon service started [2025-03-20 17:18:01] Production.INFO: neon service started [2025-03-20 17:18:01] Production.INFO: ==28307== Releasing lock... [2025-03-20 17:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:18:01] Production.INFO: ==28309== Lock acquired, processing the job... [2025-03-20 13:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:18:02] Production.INFO: ==28311== Lock acquired, processing the job... [2025-03-20 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:18:02] Production.INFO: ==28309== Releasing lock... [2025-03-20 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:18:02] Production.INFO: ==28311== Releasing lock... [2025-03-20 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:18:02] Production.INFO: 26 MB #Memory Used# [2025-03-20 13:18:03] Production.INFO: ==28313== Lock acquired, processing the job... [2025-03-20 13:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:18:03] Production.INFO: ==28322== Lock acquired, processing the job... [2025-03-20 13:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:18:03] Production.INFO: ==28315== Lock acquired, processing the job... [2025-03-20 13:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:18:03] Production.INFO: ==28317== Lock acquired, processing the job... [2025-03-20 13:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:18:03] Production.INFO: ==28319== Lock acquired, processing the job... [2025-03-20 13:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:18:03] Production.INFO: ==28324== Lock acquired, processing the job... [2025-03-20 13:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:18:03] Production.INFO: Account Balance Start. [2025-03-20 13:18:03] Production.INFO: CreateAllLog Start [2025-03-20 13:18:03] Production.INFO: 117 [2025-03-20 13:18:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:18:03] Production.INFO: count ==12 [2025-03-20 13:18:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:18:03] Production.INFO: count ==23 [2025-03-20 13:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723093') start [2025-03-20 13:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:18:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:03] Production.INFO: Date 2025-03-14 [2025-03-20 13:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:03] Production.INFO: Date 2025-03-15 [2025-03-20 13:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:03] Production.INFO: Date 2025-03-16 [2025-03-20 13:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:03] Production.ERROR: done [2025-03-20 13:18:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:18:03] Production.INFO: ==28315== Releasing lock... [2025-03-20 13:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723093') end [2025-03-20 13:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:04] Production.INFO: 1 [2025-03-20 13:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:18:04] Production.INFO: ==28324== Releasing lock... [2025-03-20 13:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:18:04] Production.ERROR: done [2025-03-20 13:18:04] Production.INFO: Total Charge 0 [2025-03-20 13:18:04] Production.INFO: CreateAllLog End [2025-03-20 13:18:04] Production.INFO: Account Balance End. [2025-03-20 13:18:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:18:04] Production.INFO: ==28319== Releasing lock... [2025-03-20 13:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:18:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:18:04 [end_date_ymd] => 2025-03-20 13:18:04 [RateCDR] => 1 ) [2025-03-20 13:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:18:04' and `end` < '2025-03-20 13:18:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:18:12] Production.ERROR: CronJobId end10 [2025-03-20 13:18:12] Production.INFO: ==28317== Releasing lock... [2025-03-20 13:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:18:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:18:14] Production.INFO: call_cost start [2025-03-20 13:18:14] Production.INFO: call_cost end [2025-03-20 13:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:18:15] Production.INFO: ==28313== Releasing lock... [2025-03-20 13:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:18:18] Production.INFO: count ==6156 [2025-03-20 13:18:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:18:04 - End Time 2025-03-20 13:18:04 [2025-03-20 13:18:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723095', 'tblTempUsageDetail_20' ) start [2025-03-20 13:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723095', 'tblTempUsageDetail_20' ) end [2025-03-20 13:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723095', 'tblTempVendorCDR_20' ) start [2025-03-20 13:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723095', 'tblTempVendorCDR_20' ) end [2025-03-20 13:18:21] Production.INFO: ProcessCDR(1,14723095,1,1,2) [2025-03-20 13:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:18:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:18:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:18:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723095', 'tblTempUsageDetail_20' ) start [2025-03-20 13:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723095', 'tblTempUsageDetail_20' ) end [2025-03-20 13:18:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:18:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:18:27] Production.INFO: ==28322== Releasing lock... [2025-03-20 13:18:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:18:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 17:19:01] Production.INFO: ==28389== Lock acquired, processing the job... [2025-03-20 17:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:19:01] Production.INFO: neon service started [2025-03-20 17:19:02] Production.INFO: neon service started [2025-03-20 17:19:02] Production.INFO: ==28389== Releasing lock... [2025-03-20 17:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:19:02] Production.INFO: ==28393== Lock acquired, processing the job... [2025-03-20 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:19:02] Production.INFO: ==28393== Releasing lock... [2025-03-20 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:19:02] Production.INFO: ==28395== Lock acquired, processing the job... [2025-03-20 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:19:02] Production.INFO: ==28395== Releasing lock... [2025-03-20 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:19:03] Production.INFO: ==28397== Lock acquired, processing the job... [2025-03-20 13:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:19:03] Production.INFO: ==28403== Lock acquired, processing the job... [2025-03-20 13:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:19:03] Production.INFO: ==28407== Lock acquired, processing the job... [2025-03-20 13:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:19:03] Production.INFO: ==28399== Lock acquired, processing the job... [2025-03-20 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:19:03] Production.INFO: Account Balance Start. [2025-03-20 13:19:03] Production.INFO: CreateAllLog Start [2025-03-20 13:19:03] Production.INFO: 117 [2025-03-20 13:19:03] Production.INFO: ==28401== Lock acquired, processing the job... [2025-03-20 13:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:19:03] Production.INFO: count ==12 [2025-03-20 13:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:19:03] Production.INFO: count ==23 [2025-03-20 13:19:03] Production.INFO: ==28405== Lock acquired, processing the job... [2025-03-20 13:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723097') start [2025-03-20 13:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723097') end [2025-03-20 13:19:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:19:03] Production.INFO: 1 [2025-03-20 13:19:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:19:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:19:04] Production.INFO: ==28407== Releasing lock... [2025-03-20 13:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:04] Production.INFO: ==28399== Releasing lock... [2025-03-20 13:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:19:04] Production.ERROR: done [2025-03-20 13:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:04] Production.ERROR: done [2025-03-20 13:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:19:04] Production.INFO: Total Charge 0 [2025-03-20 13:19:04] Production.INFO: CreateAllLog End [2025-03-20 13:19:04] Production.INFO: Account Balance End. [2025-03-20 13:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:19:04] Production.INFO: ==28403== Releasing lock... [2025-03-20 13:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:19:05 [end_date_ymd] => 2025-03-20 13:19:05 [RateCDR] => 1 ) [2025-03-20 13:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:19:05' and `end` < '2025-03-20 13:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:19:13] Production.ERROR: CronJobId end10 [2025-03-20 13:19:13] Production.INFO: ==28401== Releasing lock... [2025-03-20 13:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:19:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:19:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:19:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:19:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:19:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:19:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:19:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:19:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:19:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:19:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:19:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:19:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:19:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:19:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:19:15] Production.INFO: call_cost start [2025-03-20 13:19:15] Production.INFO: call_cost end [2025-03-20 13:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:19:16] Production.INFO: ==28397== Releasing lock... [2025-03-20 13:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:19:19] Production.INFO: count ==6163 [2025-03-20 13:19:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:19:05 - End Time 2025-03-20 13:19:05 [2025-03-20 13:19:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723100', 'tblTempUsageDetail_20' ) start [2025-03-20 13:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723100', 'tblTempUsageDetail_20' ) end [2025-03-20 13:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723100', 'tblTempVendorCDR_20' ) start [2025-03-20 13:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723100', 'tblTempVendorCDR_20' ) end [2025-03-20 13:19:22] Production.INFO: ProcessCDR(1,14723100,1,1,2) [2025-03-20 13:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:19:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:19:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:19:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723100', 'tblTempUsageDetail_20' ) start [2025-03-20 13:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723100', 'tblTempUsageDetail_20' ) end [2025-03-20 13:19:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:19:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:19:27] Production.INFO: ==28405== Releasing lock... [2025-03-20 13:19:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:19:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 17:20:01] Production.INFO: ==28513== Lock acquired, processing the job... [2025-03-20 17:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:20:01] Production.INFO: neon service started [2025-03-20 17:20:01] Production.INFO: neon service started [2025-03-20 17:20:01] Production.INFO: ==28513== Releasing lock... [2025-03-20 17:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:20:01] Production.INFO: ==28515== Lock acquired, processing the job... [2025-03-20 13:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:20:02] Production.INFO: ==28515== Releasing lock... [2025-03-20 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:20:02] Production.INFO: ==28517== Lock acquired, processing the job... [2025-03-20 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:20:02] Production.INFO: ==28517== Releasing lock... [2025-03-20 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:20:03] Production.INFO: ==28523== Lock acquired, processing the job... [2025-03-20 13:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:20:03] Production.INFO: ==28519== Lock acquired, processing the job... [2025-03-20 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 13:20:03] Production.INFO: ==28527== Lock acquired, processing the job... [2025-03-20 13:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:20:03] Production.INFO: ==28525== Lock acquired, processing the job... [2025-03-20 13:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:20:03] Production.INFO: ==28521== Lock acquired, processing the job... [2025-03-20 13:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 13:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 13:20:03] Production.ERROR: CronJob PID - 28521 [2025-03-20 13:20:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 13:20:03] Production.ERROR: CronJob ID - 5 [2025-03-20 13:20:03] Production.ERROR: CronJob Last Run Time 2025-03-20 13:20:00 [2025-03-20 13:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 13:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 13:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 13:20:03] Production.ERROR: CronJob PID - 28523 [2025-03-20 13:20:03] Production.ERROR: CronJob Title - Account Block [2025-03-20 13:20:03] Production.ERROR: CronJob ID - 7 [2025-03-20 13:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:20:03] Production.ERROR: CronJob Last Run Time 2025-03-20 13:20:00 [2025-03-20 13:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 13:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 13:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 13:20:03] Production.ERROR: CronJob PID - 28525 [2025-03-20 13:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 13:20:03] Production.ERROR: CronJob ID - 10 [2025-03-20 13:20:03] Production.ERROR: CronJob Last Run Time 2025-03-20 13:20:00 [2025-03-20 13:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 13:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 13:20:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 13:20:03] Production.ERROR: CronJob PID - 28527 [2025-03-20 13:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 13:20:03] Production.ERROR: CronJob ID - 12 [2025-03-20 13:20:03] Production.ERROR: CronJob Last Run Time 2025-03-20 13:20:00 [2025-03-20 13:20:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 13:20:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 13:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:20:03] Production.INFO: ==28529== Lock acquired, processing the job... [2025-03-20 13:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:20:03] Production.INFO: ==28531== Lock acquired, processing the job... [2025-03-20 13:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 13:20:03] Production.INFO: ==28533== Lock acquired, processing the job... [2025-03-20 13:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 13:20:03] Production.INFO: ==28519== Releasing lock... [2025-03-20 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 13:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 13:20:03] Production.INFO: Account Balance Start. [2025-03-20 13:20:03] Production.INFO: CreateAllLog Start [2025-03-20 13:20:03] Production.INFO: 117 [2025-03-20 13:20:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:20:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13: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-03-20 13:20:03] Production.INFO: count ==12 [2025-03-20 13:20:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:20:03] Production.INFO: count ==23 [2025-03-20 13:20:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:20:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723104') start [2025-03-20 13:20:03] Production.ERROR: done [2025-03-20 13:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:04] Production.INFO: ==28523== Releasing lock... [2025-03-20 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 13:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723105', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 13:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723104') end [2025-03-20 13:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:20:04] Production.INFO: 1 [2025-03-20 13:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:04] Production.INFO: ==28533== Releasing lock... [2025-03-20 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:20:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:04] Production.ERROR: done [2025-03-20 13:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:20:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:04] Production.ERROR: done [2025-03-20 13:20:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:20:04] Production.INFO: Total Charge 0 [2025-03-20 13:20:04] Production.INFO: CreateAllLog End [2025-03-20 13:20:04] Production.INFO: Account Balance End. [2025-03-20 13:20:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:20:04] Production.INFO: ==28527== Releasing lock... [2025-03-20 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:20:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:20:06 [end_date_ymd] => 2025-03-20 13:20:06 [RateCDR] => 1 ) [2025-03-20 13:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:20:06' and `end` < '2025-03-20 13:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723105', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 13:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 13:20:08] Production.INFO: ProcessCDR(1,14723105,1,1,2) [2025-03-20 13:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723105,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723105,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:20:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:20:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:20:08] Production.INFO: ==28531== Releasing lock... [2025-03-20 13:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 13:20:08] Production.INFO: 26 MB #Memory Used# [2025-03-20 13:20:15] Production.ERROR: CronJobId end10 [2025-03-20 13:20:15] Production.INFO: ==28525== Releasing lock... [2025-03-20 13:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:20:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:20:16] Production.INFO: call_cost start [2025-03-20 13:20:16] Production.INFO: call_cost end [2025-03-20 13:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:20:17] Production.INFO: ==28521== Releasing lock... [2025-03-20 13:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:20:22] Production.INFO: count ==6180 [2025-03-20 13:20:25] Production.ERROR: pbx CDR StartTime 2025-03-20 10:20:06 - End Time 2025-03-20 13:20:06 [2025-03-20 13:20:25] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:20:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723106', 'tblTempUsageDetail_20' ) start [2025-03-20 13:20:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723106', 'tblTempUsageDetail_20' ) end [2025-03-20 13:20:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723106', 'tblTempVendorCDR_20' ) start [2025-03-20 13:20:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723106', 'tblTempVendorCDR_20' ) end [2025-03-20 13:20:25] Production.INFO: ProcessCDR(1,14723106,1,1,2) [2025-03-20 13:20:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:20:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:20:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:20:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:20:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723106', 'tblTempUsageDetail_20' ) start [2025-03-20 13:20:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723106', 'tblTempUsageDetail_20' ) end [2025-03-20 13:20:31] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:20:31] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:20:31] Production.INFO: ==28529== Releasing lock... [2025-03-20 13:20:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:20:31] Production.INFO: 74.25 MB #Memory Used# [2025-03-20 17:21:01] Production.INFO: ==28600== Lock acquired, processing the job... [2025-03-20 17:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:21:01] Production.INFO: neon service started [2025-03-20 17:21:01] Production.INFO: neon service started [2025-03-20 17:21:01] Production.INFO: ==28600== Releasing lock... [2025-03-20 17:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:21:02] Production.INFO: ==28604== Lock acquired, processing the job... [2025-03-20 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:21:02] Production.INFO: ==28604== Releasing lock... [2025-03-20 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:21:02] Production.INFO: ==28602== Lock acquired, processing the job... [2025-03-20 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:21:02] Production.INFO: ==28602== Releasing lock... [2025-03-20 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:21:03] Production.INFO: ==28613== Lock acquired, processing the job... [2025-03-20 13:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:21:03] Production.INFO: ==28617== Lock acquired, processing the job... [2025-03-20 13:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:21:03] Production.INFO: Account Balance Start. [2025-03-20 13:21:03] Production.INFO: CreateAllLog Start [2025-03-20 13:21:03] Production.INFO: 117 [2025-03-20 13:21:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:03] Production.INFO: ==28607== Lock acquired, processing the job... [2025-03-20 13:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:21:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:03] Production.INFO: ==28609== Lock acquired, processing the job... [2025-03-20 13:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:21:03] Production.INFO: count ==12 [2025-03-20 13:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:21:03] Production.INFO: count ==23 [2025-03-20 13:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723108') start [2025-03-20 13:21:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:03] Production.INFO: ==28611== Lock acquired, processing the job... [2025-03-20 13:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:21:04] Production.INFO: ==28615== Lock acquired, processing the job... [2025-03-20 13:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723108') end [2025-03-20 13:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:21:04] Production.INFO: 1 [2025-03-20 13:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:21:04] Production.INFO: ==28617== Releasing lock... [2025-03-20 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:04] Production.INFO: ==28609== Releasing lock... [2025-03-20 13:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:21:04] Production.ERROR: done [2025-03-20 13:21:04] Production.INFO: Total Charge 0 [2025-03-20 13:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:21:04] Production.INFO: CreateAllLog End [2025-03-20 13:21:04] Production.ERROR: done [2025-03-20 13:21:05] Production.INFO: Account Balance End. [2025-03-20 13:21:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:21:05] Production.INFO: ==28613== Releasing lock... [2025-03-20 13:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:21:05 [end_date_ymd] => 2025-03-20 13:21:05 [RateCDR] => 1 ) [2025-03-20 13:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:21:05' and `end` < '2025-03-20 13:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:21:13] Production.ERROR: CronJobId end10 [2025-03-20 13:21:13] Production.INFO: ==28611== Releasing lock... [2025-03-20 13:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:21:15] Production.INFO: call_cost start [2025-03-20 13:21:15] Production.INFO: call_cost end [2025-03-20 13:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:21:16] Production.INFO: ==28607== Releasing lock... [2025-03-20 13:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:21:19] Production.INFO: count ==6133 [2025-03-20 13:21:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:21:05 - End Time 2025-03-20 13:21:05 [2025-03-20 13:21:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723111', 'tblTempUsageDetail_20' ) start [2025-03-20 13:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723111', 'tblTempUsageDetail_20' ) end [2025-03-20 13:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723111', 'tblTempVendorCDR_20' ) start [2025-03-20 13:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723111', 'tblTempVendorCDR_20' ) end [2025-03-20 13:21:22] Production.INFO: ProcessCDR(1,14723111,1,1,2) [2025-03-20 13:21:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:21:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723111,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:21:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:21:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723111,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:21:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723111', 'tblTempUsageDetail_20' ) start [2025-03-20 13:21:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723111', 'tblTempUsageDetail_20' ) end [2025-03-20 13:21:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:21:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:21:27] Production.INFO: ==28615== Releasing lock... [2025-03-20 13:21:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:21:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 17:22:01] Production.INFO: ==28678== Lock acquired, processing the job... [2025-03-20 17:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:22:01] Production.INFO: neon service started [2025-03-20 17:22:01] Production.INFO: neon service started [2025-03-20 17:22:01] Production.INFO: ==28678== Releasing lock... [2025-03-20 17:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:22:01] Production.INFO: ==28680== Lock acquired, processing the job... [2025-03-20 13:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:22:02] Production.INFO: ==28680== Releasing lock... [2025-03-20 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:22:02] Production.INFO: ==28682== Lock acquired, processing the job... [2025-03-20 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:22:02] Production.INFO: ==28682== Releasing lock... [2025-03-20 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:22:03] Production.INFO: ==28695== Lock acquired, processing the job... [2025-03-20 13:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:22:03] Production.INFO: ==28697== Lock acquired, processing the job... [2025-03-20 13:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:22:03] Production.INFO: ==28687== Lock acquired, processing the job... [2025-03-20 13:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:22:03] Production.INFO: count ==12 [2025-03-20 13: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-03-20 13:22:03] Production.INFO: count ==23 [2025-03-20 13:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723112') start [2025-03-20 13:22:03] Production.INFO: ==28689== Lock acquired, processing the job... [2025-03-20 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:22:03] Production.INFO: ==28693== Lock acquired, processing the job... [2025-03-20 13:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:22:03] Production.INFO: ==28691== Lock acquired, processing the job... [2025-03-20 13:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:22:03] Production.ERROR: done [2025-03-20 13:22:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723112') end [2025-03-20 13:22:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:22:03] Production.INFO: 1 [2025-03-20 13:22:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:22:03] Production.INFO: Account Balance Start. [2025-03-20 13:22:03] Production.INFO: CreateAllLog Start [2025-03-20 13:22:03] Production.INFO: 117 [2025-03-20 13:22:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:03] Production.INFO: ==28697== Releasing lock... [2025-03-20 13:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:22:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:22:03] Production.ERROR: done [2025-03-20 13:22:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:03] Production.INFO: ==28689== Releasing lock... [2025-03-20 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:22:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:22:04] Production.INFO: Total Charge 0 [2025-03-20 13:22:04] Production.INFO: CreateAllLog End [2025-03-20 13:22:04] Production.INFO: Account Balance End. [2025-03-20 13:22:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:22:04] Production.INFO: ==28693== Releasing lock... [2025-03-20 13:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:22:05 [end_date_ymd] => 2025-03-20 13:22:05 [RateCDR] => 1 ) [2025-03-20 13:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:22:05' and `end` < '2025-03-20 13:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:22:13] Production.ERROR: CronJobId end10 [2025-03-20 13:22:13] Production.INFO: ==28691== Releasing lock... [2025-03-20 13:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:22:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:22:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:22:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:22:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:22:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:22:15] Production.INFO: call_cost start [2025-03-20 13:22:15] Production.INFO: call_cost end [2025-03-20 13:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:22:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:22:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:22:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:22:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:22:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:22:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:22:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:22:16] Production.INFO: ==28687== Releasing lock... [2025-03-20 13:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:22:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:22:18] Production.INFO: count ==6132 [2025-03-20 13:22:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:22:05 - End Time 2025-03-20 13:22:05 [2025-03-20 13:22:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723116', 'tblTempUsageDetail_20' ) start [2025-03-20 13:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723116', 'tblTempUsageDetail_20' ) end [2025-03-20 13:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723116', 'tblTempVendorCDR_20' ) start [2025-03-20 13:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723116', 'tblTempVendorCDR_20' ) end [2025-03-20 13:22:22] Production.INFO: ProcessCDR(1,14723116,1,1,2) [2025-03-20 13:22:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:22:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723116,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:22:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:22:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723116,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723116', 'tblTempUsageDetail_20' ) start [2025-03-20 13:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723116', 'tblTempUsageDetail_20' ) end [2025-03-20 13:22:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:22:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:22:27] Production.INFO: ==28695== Releasing lock... [2025-03-20 13:22:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:22:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 17:23:01] Production.INFO: ==28767== Lock acquired, processing the job... [2025-03-20 17:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:23:01] Production.INFO: neon service started [2025-03-20 17:23:01] Production.INFO: neon service started [2025-03-20 17:23:01] Production.INFO: ==28767== Releasing lock... [2025-03-20 17:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:23:02] Production.INFO: ==28771== Lock acquired, processing the job... [2025-03-20 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:23:02] Production.INFO: ==28771== Releasing lock... [2025-03-20 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:23:02] Production.INFO: ==28769== Lock acquired, processing the job... [2025-03-20 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:23:02] Production.INFO: ==28769== Releasing lock... [2025-03-20 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:23:03] Production.INFO: ==28779== Lock acquired, processing the job... [2025-03-20 13:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:23:03] Production.INFO: ==28781== Lock acquired, processing the job... [2025-03-20 13:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:23:03] Production.INFO: ==28773== Lock acquired, processing the job... [2025-03-20 13:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:23:03] Production.INFO: Account Balance Start. [2025-03-20 13:23:03] Production.INFO: CreateAllLog Start [2025-03-20 13:23:03] Production.INFO: 117 [2025-03-20 13:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:23:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:03] Production.INFO: ==28775== Lock acquired, processing the job... [2025-03-20 13:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:23:03] Production.INFO: ==28777== Lock acquired, processing the job... [2025-03-20 13:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:23:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:03] Production.INFO: ==28784== Lock acquired, processing the job... [2025-03-20 13:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:23:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:04] Production.INFO: count ==12 [2025-03-20 13:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:04] Production.INFO: count ==23 [2025-03-20 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723119') start [2025-03-20 13:23:04] Production.ERROR: done [2025-03-20 13:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723119') end [2025-03-20 13:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:23:04] Production.INFO: 1 [2025-03-20 13:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:23:04] Production.INFO: ==28775== Releasing lock... [2025-03-20 13:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:23:04] Production.ERROR: done [2025-03-20 13:23:04] Production.INFO: Total Charge 0 [2025-03-20 13:23:04] Production.INFO: CreateAllLog End [2025-03-20 13:23:04] Production.INFO: ==28784== Releasing lock... [2025-03-20 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:23:04] Production.INFO: Account Balance End. [2025-03-20 13:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:23:04] Production.INFO: ==28779== Releasing lock... [2025-03-20 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:23:05 [end_date_ymd] => 2025-03-20 13:23:05 [RateCDR] => 1 ) [2025-03-20 13:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:23:05' and `end` < '2025-03-20 13:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:23:13] Production.ERROR: CronJobId end10 [2025-03-20 13:23:13] Production.INFO: ==28777== Releasing lock... [2025-03-20 13:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:23:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:23:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:23:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:23:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:23:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:23:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:23:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:23:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:23:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:23:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:23:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:23:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:23:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:23:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:23:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:23:15] Production.INFO: call_cost start [2025-03-20 13:23:15] Production.INFO: call_cost end [2025-03-20 13:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:23:16] Production.INFO: ==28773== Releasing lock... [2025-03-20 13:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:23:19] Production.INFO: count ==6136 [2025-03-20 13:23:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:23:05 - End Time 2025-03-20 13:23:05 [2025-03-20 13:23:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723121', 'tblTempUsageDetail_20' ) start [2025-03-20 13:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723121', 'tblTempUsageDetail_20' ) end [2025-03-20 13:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723121', 'tblTempVendorCDR_20' ) start [2025-03-20 13:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723121', 'tblTempVendorCDR_20' ) end [2025-03-20 13:23:22] Production.INFO: ProcessCDR(1,14723121,1,1,2) [2025-03-20 13:23:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723121,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:23:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723121,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723121', 'tblTempUsageDetail_20' ) start [2025-03-20 13:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723121', 'tblTempUsageDetail_20' ) end [2025-03-20 13:23:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:23:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:23:27] Production.INFO: ==28781== Releasing lock... [2025-03-20 13:23:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:23:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 17:24:01] Production.INFO: ==28853== Lock acquired, processing the job... [2025-03-20 17:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:24:01] Production.INFO: neon service started [2025-03-20 17:24:01] Production.INFO: neon service started [2025-03-20 17:24:01] Production.INFO: ==28853== Releasing lock... [2025-03-20 17:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:24:01] Production.INFO: ==28855== Lock acquired, processing the job... [2025-03-20 13:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:24:02] Production.INFO: ==28857== Lock acquired, processing the job... [2025-03-20 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:24:02] Production.INFO: ==28857== Releasing lock... [2025-03-20 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:24:02] Production.INFO: ==28855== Releasing lock... [2025-03-20 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:24:03] Production.INFO: ==28862== Lock acquired, processing the job... [2025-03-20 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:24:03] Production.INFO: ==28860== Lock acquired, processing the job... [2025-03-20 13:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:24:03] Production.INFO: ==28864== Lock acquired, processing the job... [2025-03-20 13:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:24:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:24:03] Production.INFO: ==28868== Lock acquired, processing the job... [2025-03-20 13:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:24:03] Production.INFO: ==28866== Lock acquired, processing the job... [2025-03-20 13:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:24:03] Production.INFO: ==28870== Lock acquired, processing the job... [2025-03-20 13:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:24:03] Production.INFO: Account Balance Start. [2025-03-20 13:24:03] Production.INFO: CreateAllLog Start [2025-03-20 13:24:03] Production.INFO: 117 [2025-03-20 13:24:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:24:03] Production.INFO: ==28862== Releasing lock... [2025-03-20 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:24:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:24:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:24:03] Production.INFO: count ==12 [2025-03-20 13:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:03] Production.INFO: count ==23 [2025-03-20 13:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723125') start [2025-03-20 13:24:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:04] Production.ERROR: done [2025-03-20 13:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723125') end [2025-03-20 13:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:24:04] Production.INFO: 1 [2025-03-20 13:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:04] Production.INFO: ==28870== Releasing lock... [2025-03-20 13:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:04] Production.ERROR: done [2025-03-20 13:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:24:04] Production.INFO: Total Charge 0 [2025-03-20 13:24:04] Production.INFO: CreateAllLog End [2025-03-20 13:24:04] Production.INFO: Account Balance End. [2025-03-20 13:24:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:24:04] Production.INFO: ==28866== Releasing lock... [2025-03-20 13:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:24:05 [end_date_ymd] => 2025-03-20 13:24:05 [RateCDR] => 1 ) [2025-03-20 13:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:24:05' and `end` < '2025-03-20 13:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:24:12] Production.ERROR: CronJobId end10 [2025-03-20 13:24:12] Production.INFO: ==28864== Releasing lock... [2025-03-20 13:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:24:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:24:14] Production.INFO: call_cost start [2025-03-20 13:24:14] Production.INFO: call_cost end [2025-03-20 13:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:24:15] Production.INFO: ==28860== Releasing lock... [2025-03-20 13:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:24:18] Production.INFO: count ==6120 [2025-03-20 13:24:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:24:05 - End Time 2025-03-20 13:24:05 [2025-03-20 13:24:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723126', 'tblTempUsageDetail_20' ) start [2025-03-20 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723126', 'tblTempUsageDetail_20' ) end [2025-03-20 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723126', 'tblTempVendorCDR_20' ) start [2025-03-20 13:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723126', 'tblTempVendorCDR_20' ) end [2025-03-20 13:24:21] Production.INFO: ProcessCDR(1,14723126,1,1,2) [2025-03-20 13:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:24:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:24:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723126', 'tblTempUsageDetail_20' ) start [2025-03-20 13:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723126', 'tblTempUsageDetail_20' ) end [2025-03-20 13:24:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:24:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:24:26] Production.INFO: ==28868== Releasing lock... [2025-03-20 13:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:24:26] Production.INFO: 73.75 MB #Memory Used# [2025-03-20 17:25:01] Production.INFO: ==28934== Lock acquired, processing the job... [2025-03-20 17:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:25:01] Production.INFO: neon service started [2025-03-20 17:25:01] Production.INFO: neon service started [2025-03-20 17:25:01] Production.INFO: ==28934== Releasing lock... [2025-03-20 17:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:25:02] Production.INFO: ==28936== Lock acquired, processing the job... [2025-03-20 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:25:02] Production.INFO: ==28938== Lock acquired, processing the job... [2025-03-20 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:25:02] Production.INFO: ==28936== Releasing lock... [2025-03-20 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:25:02] Production.INFO: ==28938== Releasing lock... [2025-03-20 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:25:03] Production.INFO: ==28951== Lock acquired, processing the job... [2025-03-20 13:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:25:03] Production.INFO: ==28947== Lock acquired, processing the job... [2025-03-20 13:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:25:03] Production.INFO: ==28941== Lock acquired, processing the job... [2025-03-20 13:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:25:03] Production.INFO: Account Balance Start. [2025-03-20 13:25:03] Production.INFO: CreateAllLog Start [2025-03-20 13:25:03] Production.INFO: 117 [2025-03-20 13:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:25:03] Production.INFO: ==28943== Lock acquired, processing the job... [2025-03-20 13:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:25:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:03] Production.INFO: count ==12 [2025-03-20 13:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:25:03] Production.INFO: count ==23 [2025-03-20 13:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723128') start [2025-03-20 13:25:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:03] Production.INFO: ==28945== Lock acquired, processing the job... [2025-03-20 13:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:25:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723128') end [2025-03-20 13:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:25:03] Production.INFO: 1 [2025-03-20 13:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:25:03] Production.INFO: ==28951== Releasing lock... [2025-03-20 13:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:25:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:25:03] Production.INFO: ==28949== Lock acquired, processing the job... [2025-03-20 13:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:04] Production.INFO: ==28943== Releasing lock... [2025-03-20 13:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:04] Production.ERROR: done [2025-03-20 13:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:25:04] Production.INFO: Total Charge 0 [2025-03-20 13:25:04] Production.INFO: CreateAllLog End [2025-03-20 13:25:04] Production.ERROR: done [2025-03-20 13:25:04] Production.INFO: Account Balance End. [2025-03-20 13:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:25:04] Production.INFO: ==28947== Releasing lock... [2025-03-20 13:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:25:05 [end_date_ymd] => 2025-03-20 13:25:05 [RateCDR] => 1 ) [2025-03-20 13:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:25:05' and `end` < '2025-03-20 13:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:25:14] Production.ERROR: CronJobId end10 [2025-03-20 13:25:14] Production.INFO: ==28945== Releasing lock... [2025-03-20 13:25:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:25:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:25:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:25:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:25:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:25:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:25:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:25:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:25:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:25:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:25:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:25:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:25:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:25:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:25:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:25:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:25:15] Production.INFO: call_cost start [2025-03-20 13:25:15] Production.INFO: call_cost end [2025-03-20 13:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:25:16] Production.INFO: ==28941== Releasing lock... [2025-03-20 13:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:25:19] Production.INFO: count ==6137 [2025-03-20 13:25:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:25:05 - End Time 2025-03-20 13:25:05 [2025-03-20 13:25:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723131', 'tblTempUsageDetail_20' ) start [2025-03-20 13:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723131', 'tblTempUsageDetail_20' ) end [2025-03-20 13:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723131', 'tblTempVendorCDR_20' ) start [2025-03-20 13:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723131', 'tblTempVendorCDR_20' ) end [2025-03-20 13:25:22] Production.INFO: ProcessCDR(1,14723131,1,1,2) [2025-03-20 13:25:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:25:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:25:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:25:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723131', 'tblTempUsageDetail_20' ) start [2025-03-20 13:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723131', 'tblTempUsageDetail_20' ) end [2025-03-20 13:25:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:25:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:25:27] Production.INFO: ==28949== Releasing lock... [2025-03-20 13:25:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:25:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 17:26:02] Production.INFO: ==29019== Lock acquired, processing the job... [2025-03-20 17:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:26:02] Production.INFO: neon service started [2025-03-20 17:26:02] Production.INFO: neon service started [2025-03-20 17:26:02] Production.INFO: ==29019== Releasing lock... [2025-03-20 17:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:26:02] Production.INFO: ==29022== Lock acquired, processing the job... [2025-03-20 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:26:03] Production.INFO: ==29022== Releasing lock... [2025-03-20 13:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:26:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:26:03] Production.INFO: ==29024== Lock acquired, processing the job... [2025-03-20 17:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:26:03] Production.INFO: ==29024== Releasing lock... [2025-03-20 17:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:26:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:26:04] Production.INFO: ==29026== Lock acquired, processing the job... [2025-03-20 13:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:26:04] Production.INFO: ==29028== Lock acquired, processing the job... [2025-03-20 13:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:26:04] Production.INFO: ==29030== Lock acquired, processing the job... [2025-03-20 13:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:26:04] Production.INFO: ==29036== Lock acquired, processing the job... [2025-03-20 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13: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-03-20 13:26:04] Production.INFO: ==29032== Lock acquired, processing the job... [2025-03-20 13:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:26:04] Production.INFO: count ==12 [2025-03-20 13:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:26:04] Production.INFO: count ==23 [2025-03-20 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723134') start [2025-03-20 13:26:04] Production.INFO: ==29034== Lock acquired, processing the job... [2025-03-20 13:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:26:04] Production.INFO: ==29028== Releasing lock... [2025-03-20 13:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:26:04] Production.INFO: Account Balance Start. [2025-03-20 13:26:04] Production.INFO: CreateAllLog Start [2025-03-20 13:26:04] Production.INFO: 117 [2025-03-20 13:26:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723134') end [2025-03-20 13:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:26:04] Production.INFO: 1 [2025-03-20 13:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:04] Production.INFO: ==29036== Releasing lock... [2025-03-20 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:05] Production.INFO: Date 2025-03-14 [2025-03-20 13:26:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:05] Production.INFO: Date 2025-03-15 [2025-03-20 13:26:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:05] Production.INFO: Date 2025-03-16 [2025-03-20 13:26:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:05] Production.INFO: Date 2025-03-17 [2025-03-20 13:26:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:05] Production.INFO: Date 2025-03-18 [2025-03-20 13:26:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:05] Production.ERROR: done [2025-03-20 13:26:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:26:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:26:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:26:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:26:05] Production.INFO: Total Charge 0 [2025-03-20 13:26:05] Production.INFO: CreateAllLog End [2025-03-20 13:26:05] Production.ERROR: done [2025-03-20 13:26:05] Production.INFO: Account Balance End. [2025-03-20 13:26:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:26:05] Production.INFO: ==29032== Releasing lock... [2025-03-20 13:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:26:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:26:06 [end_date_ymd] => 2025-03-20 13:26:06 [RateCDR] => 1 ) [2025-03-20 13: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-03-20 10:26:06' and `end` < '2025-03-20 13: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-03-20 13: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: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-03-20 13:26:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:26:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:26:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:26:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:26:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:26:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:26:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:26:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:26:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:26:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:26:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:26:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:26:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:26:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:26:14] Production.ERROR: CronJobId end10 [2025-03-20 13:26:14] Production.INFO: ==29030== Releasing lock... [2025-03-20 13:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:26:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:26:14] Production.INFO: call_cost start [2025-03-20 13:26:14] Production.INFO: call_cost end [2025-03-20 13:26:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:26:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:26:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:26:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:26:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:26:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:26:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:26:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:26:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:26:15] Production.INFO: ==29026== Releasing lock... [2025-03-20 13:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:26:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:26:20] Production.INFO: count ==6131 [2025-03-20 13:26:23] Production.ERROR: pbx CDR StartTime 2025-03-20 10:26:06 - End Time 2025-03-20 13:26:06 [2025-03-20 13:26:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:26:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723136', 'tblTempUsageDetail_20' ) start [2025-03-20 13:26:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723136', 'tblTempUsageDetail_20' ) end [2025-03-20 13:26:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723136', 'tblTempVendorCDR_20' ) start [2025-03-20 13:26:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723136', 'tblTempVendorCDR_20' ) end [2025-03-20 13:26:23] Production.INFO: ProcessCDR(1,14723136,1,1,2) [2025-03-20 13:26:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:26:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:26:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:26:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:26:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723136', 'tblTempUsageDetail_20' ) start [2025-03-20 13:26:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723136', 'tblTempUsageDetail_20' ) end [2025-03-20 13:26:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:26:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:26:28] Production.INFO: ==29034== Releasing lock... [2025-03-20 13:26:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:26:28] Production.INFO: 74 MB #Memory Used# [2025-03-20 17:27:02] Production.INFO: ==29099== Lock acquired, processing the job... [2025-03-20 17:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:27:02] Production.INFO: neon service started [2025-03-20 17:27:02] Production.INFO: neon service started [2025-03-20 17:27:02] Production.INFO: ==29099== Releasing lock... [2025-03-20 17:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:27:02] Production.INFO: ==29103== Lock acquired, processing the job... [2025-03-20 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:27:02] Production.INFO: ==29101== Lock acquired, processing the job... [2025-03-20 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:27:02] Production.INFO: ==29103== Releasing lock... [2025-03-20 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:27:03] Production.INFO: ==29101== Releasing lock... [2025-03-20 13:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:27:04] Production.INFO: ==29114== Lock acquired, processing the job... [2025-03-20 13:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:27:04] Production.INFO: ==29116== Lock acquired, processing the job... [2025-03-20 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:27:04] Production.INFO: ==29106== Lock acquired, processing the job... [2025-03-20 13:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:27:04] Production.INFO: ==29108== Lock acquired, processing the job... [2025-03-20 13:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:27:04] Production.INFO: ==29110== Lock acquired, processing the job... [2025-03-20 13:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:27:04] Production.INFO: ==29112== Lock acquired, processing the job... [2025-03-20 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:27:04] Production.INFO: Account Balance Start. [2025-03-20 13:27:04] Production.INFO: CreateAllLog Start [2025-03-20 13:27:04] Production.INFO: 117 [2025-03-20 13:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:27:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:27:04] Production.INFO: count ==12 [2025-03-20 13:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:27:04] Production.INFO: count ==23 [2025-03-20 13:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:27:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723137') start [2025-03-20 13:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:04] Production.ERROR: done [2025-03-20 13:27:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:27:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723137') end [2025-03-20 13:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:27:04] Production.INFO: 1 [2025-03-20 13:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:04] Production.INFO: ==29116== Releasing lock... [2025-03-20 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:27:04] Production.ERROR: done [2025-03-20 13:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:27:04] Production.INFO: ==29108== Releasing lock... [2025-03-20 13:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:05] Production.INFO: Date 2025-03-16 [2025-03-20 13:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:05] Production.INFO: Date 2025-03-17 [2025-03-20 13:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:05] Production.INFO: Date 2025-03-18 [2025-03-20 13:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:27:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:27:05] Production.INFO: Total Charge 0 [2025-03-20 13:27:05] Production.INFO: CreateAllLog End [2025-03-20 13:27:05] Production.INFO: Account Balance End. [2025-03-20 13:27:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:27:05] Production.INFO: ==29112== Releasing lock... [2025-03-20 13:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:27:05 [end_date_ymd] => 2025-03-20 13:27:05 [RateCDR] => 1 ) [2025-03-20 13:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:27:05' and `end` < '2025-03-20 13:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:27:13] Production.ERROR: CronJobId end10 [2025-03-20 13:27:13] Production.INFO: ==29110== Releasing lock... [2025-03-20 13:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:27:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:27:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:27:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:27:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:27:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:27:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:27:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:27:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:27:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:27:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:27:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:27:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:27:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:27:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:27:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:27:16] Production.INFO: call_cost start [2025-03-20 13:27:16] Production.INFO: call_cost end [2025-03-20 13:27:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:27:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:27:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:27:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:27:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:27:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:27:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:27:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:27:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:27:17] Production.INFO: ==29106== Releasing lock... [2025-03-20 13:27:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:27:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:27:19] Production.INFO: count ==6130 [2025-03-20 13:27:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:27:05 - End Time 2025-03-20 13:27:05 [2025-03-20 13:27:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723141', 'tblTempUsageDetail_20' ) start [2025-03-20 13:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723141', 'tblTempUsageDetail_20' ) end [2025-03-20 13:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723141', 'tblTempVendorCDR_20' ) start [2025-03-20 13:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723141', 'tblTempVendorCDR_20' ) end [2025-03-20 13:27:22] Production.INFO: ProcessCDR(1,14723141,1,1,2) [2025-03-20 13:27:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:27:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:27:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:27:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723141', 'tblTempUsageDetail_20' ) start [2025-03-20 13:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723141', 'tblTempUsageDetail_20' ) end [2025-03-20 13:27:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:27:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:27:27] Production.INFO: ==29114== Releasing lock... [2025-03-20 13:27:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:27:27] Production.INFO: 73.75 MB #Memory Used# [2025-03-20 17:28:01] Production.INFO: ==29181== Lock acquired, processing the job... [2025-03-20 17:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:28:01] Production.INFO: neon service started [2025-03-20 17:28:01] Production.INFO: neon service started [2025-03-20 17:28:01] Production.INFO: ==29181== Releasing lock... [2025-03-20 17:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:28:01] Production.INFO: ==29186== Lock acquired, processing the job... [2025-03-20 17:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:28:01] Production.INFO: ==29186== Releasing lock... [2025-03-20 17:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:28:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:28:02] Production.INFO: ==29184== Lock acquired, processing the job... [2025-03-20 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:28:02] Production.INFO: ==29184== Releasing lock... [2025-03-20 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:28:03] Production.INFO: ==29190== Lock acquired, processing the job... [2025-03-20 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:28:03] Production.INFO: ==29198== Lock acquired, processing the job... [2025-03-20 13:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:28:03] Production.INFO: ==29188== Lock acquired, processing the job... [2025-03-20 13:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:28:03] Production.INFO: ==29190== Releasing lock... [2025-03-20 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:28:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:28:03] Production.INFO: ==29192== Lock acquired, processing the job... [2025-03-20 13:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:28:03] Production.INFO: ==29194== Lock acquired, processing the job... [2025-03-20 13:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:28:03] Production.INFO: ==29196== Lock acquired, processing the job... [2025-03-20 13:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:28:03] Production.INFO: count ==12 [2025-03-20 13:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:28:03] Production.INFO: count ==23 [2025-03-20 13:28:03] Production.INFO: Account Balance Start. [2025-03-20 13:28:03] Production.INFO: CreateAllLog Start [2025-03-20 13:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:28:03] Production.INFO: 117 [2025-03-20 13:28:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723143') start [2025-03-20 13:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723143') end [2025-03-20 13:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:28:04] Production.INFO: 1 [2025-03-20 13:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: ==29198== Releasing lock... [2025-03-20 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:28:04] Production.ERROR: done [2025-03-20 13:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:28:04] Production.INFO: Total Charge 0 [2025-03-20 13:28:04] Production.INFO: CreateAllLog End [2025-03-20 13:28:04] Production.ERROR: done [2025-03-20 13:28:04] Production.INFO: Account Balance End. [2025-03-20 13:28:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:28:04] Production.INFO: ==29194== Releasing lock... [2025-03-20 13:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:28:05 [end_date_ymd] => 2025-03-20 13:28:05 [RateCDR] => 1 ) [2025-03-20 13:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:28:05' and `end` < '2025-03-20 13:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:28:13] Production.ERROR: CronJobId end10 [2025-03-20 13:28:13] Production.INFO: ==29192== Releasing lock... [2025-03-20 13:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:28:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:28:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:28:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:28:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:28:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:28:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:28:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:28:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:28:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:28:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:28:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:28:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:28:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:28:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:28:15] Production.INFO: call_cost start [2025-03-20 13:28:15] Production.INFO: call_cost end [2025-03-20 13:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:28:16] Production.INFO: ==29188== Releasing lock... [2025-03-20 13:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:28:19] Production.INFO: count ==6127 [2025-03-20 13:28:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:28:05 - End Time 2025-03-20 13:28:05 [2025-03-20 13:28:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723146', 'tblTempUsageDetail_20' ) start [2025-03-20 13:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723146', 'tblTempUsageDetail_20' ) end [2025-03-20 13:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723146', 'tblTempVendorCDR_20' ) start [2025-03-20 13:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723146', 'tblTempVendorCDR_20' ) end [2025-03-20 13:28:22] Production.INFO: ProcessCDR(1,14723146,1,1,2) [2025-03-20 13:28:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:28:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723146', 'tblTempUsageDetail_20' ) start [2025-03-20 13:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723146', 'tblTempUsageDetail_20' ) end [2025-03-20 13:28:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:28:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:28:27] Production.INFO: ==29196== Releasing lock... [2025-03-20 13:28:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:28:27] Production.INFO: 73.75 MB #Memory Used# [2025-03-20 17:29:02] Production.INFO: ==29264== Lock acquired, processing the job... [2025-03-20 17:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:29:02] Production.INFO: neon service started [2025-03-20 17:29:02] Production.INFO: neon service started [2025-03-20 17:29:02] Production.INFO: ==29264== Releasing lock... [2025-03-20 17:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:29:02] Production.INFO: ==29268== Lock acquired, processing the job... [2025-03-20 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:29:02] Production.INFO: ==29268== Releasing lock... [2025-03-20 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:29:02] Production.INFO: ==29266== Lock acquired, processing the job... [2025-03-20 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:29:03] Production.INFO: ==29266== Releasing lock... [2025-03-20 13:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:29:03] Production.INFO: ==29273== Lock acquired, processing the job... [2025-03-20 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:29:04] Production.INFO: ==29281== Lock acquired, processing the job... [2025-03-20 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:29:04] Production.INFO: ==29271== Lock acquired, processing the job... [2025-03-20 13:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:29:04] Production.INFO: ==29273== Releasing lock... [2025-03-20 13:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:29:04] Production.INFO: ==29275== Lock acquired, processing the job... [2025-03-20 13:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:29:04] Production.INFO: ==29277== Lock acquired, processing the job... [2025-03-20 13:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:29:04] Production.INFO: ==29279== Lock acquired, processing the job... [2025-03-20 13:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:29:04] Production.INFO: count ==12 [2025-03-20 13:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:29:04] Production.INFO: Account Balance Start. [2025-03-20 13:29:04] Production.INFO: CreateAllLog Start [2025-03-20 13:29:04] Production.INFO: count ==23 [2025-03-20 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723148') start [2025-03-20 13:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:29:04] Production.INFO: 117 [2025-03-20 13:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723148') end [2025-03-20 13:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:29:04] Production.INFO: 1 [2025-03-20 13:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:29:04] Production.INFO: ==29281== Releasing lock... [2025-03-20 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:05] Production.ERROR: done [2025-03-20 13:29:05] Production.INFO: Date 2025-03-18 [2025-03-20 13:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:29:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:29:05] Production.ERROR: done [2025-03-20 13:29:05] Production.INFO: Total Charge 0 [2025-03-20 13:29:05] Production.INFO: CreateAllLog End [2025-03-20 13:29:05] Production.INFO: Account Balance End. [2025-03-20 13:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:29:05] Production.INFO: ==29277== Releasing lock... [2025-03-20 13:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:29:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:29:06 [end_date_ymd] => 2025-03-20 13:29:06 [RateCDR] => 1 ) [2025-03-20 13:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:29:06' and `end` < '2025-03-20 13:29:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:29:13] Production.ERROR: CronJobId end10 [2025-03-20 13:29:13] Production.INFO: ==29275== Releasing lock... [2025-03-20 13:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:29:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:29:15] Production.INFO: call_cost start [2025-03-20 13:29:15] Production.INFO: call_cost end [2025-03-20 13:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:29:16] Production.INFO: ==29271== Releasing lock... [2025-03-20 13:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:29:20] Production.INFO: count ==6130 [2025-03-20 13:29:23] Production.ERROR: pbx CDR StartTime 2025-03-20 10:29:06 - End Time 2025-03-20 13:29:06 [2025-03-20 13:29:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723151', 'tblTempUsageDetail_20' ) start [2025-03-20 13:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723151', 'tblTempUsageDetail_20' ) end [2025-03-20 13:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723151', 'tblTempVendorCDR_20' ) start [2025-03-20 13:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723151', 'tblTempVendorCDR_20' ) end [2025-03-20 13:29:23] Production.INFO: ProcessCDR(1,14723151,1,1,2) [2025-03-20 13:29:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:29:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:29:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:29:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:29:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723151', 'tblTempUsageDetail_20' ) start [2025-03-20 13:29:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723151', 'tblTempUsageDetail_20' ) end [2025-03-20 13:29:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:29:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:29:28] Production.INFO: ==29279== Releasing lock... [2025-03-20 13:29:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:29:28] Production.INFO: 74 MB #Memory Used# [2025-03-20 17:30:01] Production.INFO: ==29352== Lock acquired, processing the job... [2025-03-20 17:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:30:01] Production.INFO: neon service started [2025-03-20 17:30:01] Production.INFO: neon service started [2025-03-20 17:30:01] Production.INFO: ==29352== Releasing lock... [2025-03-20 17:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:30:02] Production.INFO: ==29354== Lock acquired, processing the job... [2025-03-20 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:30:02] Production.INFO: ==29356== Lock acquired, processing the job... [2025-03-20 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:30:02] Production.INFO: ==29356== Releasing lock... [2025-03-20 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:30:02] Production.INFO: ==29354== Releasing lock... [2025-03-20 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:30:03] Production.INFO: ==29359== Lock acquired, processing the job... [2025-03-20 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 13:30:03] Production.INFO: ==29361== Lock acquired, processing the job... [2025-03-20 13:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 13:30:03] Production.INFO: ==29363== Lock acquired, processing the job... [2025-03-20 13:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 13:30:03] Production.INFO: ==29359== Releasing lock... [2025-03-20 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 13:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 13:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:30:04] Production.INFO: ==29367== Lock acquired, processing the job... [2025-03-20 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:30:04] Production.INFO: Account Balance Start. [2025-03-20 13:30:04] Production.INFO: CreateAllLog Start [2025-03-20 13:30:04] Production.INFO: 117 [2025-03-20 13:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:04] Production.INFO: ==29365== Lock acquired, processing the job... [2025-03-20 13:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:04] Production.INFO: ==29369== Lock acquired, processing the job... [2025-03-20 13:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:30:04] Production.INFO: ==29371== Lock acquired, processing the job... [2025-03-20 13:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 13:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:04] Production.INFO: ==29363== Releasing lock... [2025-03-20 13:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:30:04] Production.INFO: ==29373== Lock acquired, processing the job... [2025-03-20 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:30:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:04] Production.ERROR: done [2025-03-20 13:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:30:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:30:04] Production.INFO: count ==12 [2025-03-20 13:30:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:30:04] Production.INFO: count ==23 [2025-03-20 13:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723155') start [2025-03-20 13:30:05] Production.ERROR: done [2025-03-20 13:30:05] Production.ERROR: done [2025-03-20 13:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 13:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723155') end [2025-03-20 13:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:30:05] Production.INFO: 1 [2025-03-20 13:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 13:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723157', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 13:30:05] Production.INFO: Total Charge 0 [2025-03-20 13:30:05] Production.INFO: CreateAllLog End [2025-03-20 13:30:05] Production.INFO: ==29373== Releasing lock... [2025-03-20 13:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:30:05] Production.INFO: Account Balance End. [2025-03-20 13:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:30:05] Production.INFO: ==29367== Releasing lock... [2025-03-20 13:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:30:06 [end_date_ymd] => 2025-03-20 13:30:06 [RateCDR] => 1 ) [2025-03-20 13: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-03-20 10:30:06' and `end` < '2025-03-20 13: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-03-20 13:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723157', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 13:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 13:30:09] Production.INFO: ProcessCDR(1,14723157,1,1,2) [2025-03-20 13:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723157,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723157,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:30:09] Production.INFO: ==29371== Releasing lock... [2025-03-20 13:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 13:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 13:30:14] Production.ERROR: CronJobId end10 [2025-03-20 13:30:14] Production.INFO: ==29365== Releasing lock... [2025-03-20 13:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:30:16] Production.INFO: call_cost start [2025-03-20 13:30:16] Production.INFO: call_cost end [2025-03-20 13:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:30:17] Production.INFO: ==29361== Releasing lock... [2025-03-20 13:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:30:20] Production.INFO: count ==6141 [2025-03-20 13:30:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:30:06 - End Time 2025-03-20 13:30:06 [2025-03-20 13:30:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723156', 'tblTempUsageDetail_20' ) start [2025-03-20 13:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723156', 'tblTempUsageDetail_20' ) end [2025-03-20 13:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723156', 'tblTempVendorCDR_20' ) start [2025-03-20 13:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723156', 'tblTempVendorCDR_20' ) end [2025-03-20 13:30:23] Production.INFO: ProcessCDR(1,14723156,1,1,2) [2025-03-20 13:30:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:30:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:30:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:30:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723156', 'tblTempUsageDetail_20' ) start [2025-03-20 13:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723156', 'tblTempUsageDetail_20' ) end [2025-03-20 13:30:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:30:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:30:28] Production.INFO: ==29369== Releasing lock... [2025-03-20 13:30:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:30:28] Production.INFO: 74 MB #Memory Used# [2025-03-20 17:31:02] Production.INFO: ==29442== Lock acquired, processing the job... [2025-03-20 17:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:31:02] Production.INFO: neon service started [2025-03-20 17:31:02] Production.INFO: neon service started [2025-03-20 17:31:02] Production.INFO: ==29442== Releasing lock... [2025-03-20 17:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:31:02] Production.INFO: ==29444== Lock acquired, processing the job... [2025-03-20 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:31:02] Production.INFO: ==29444== Releasing lock... [2025-03-20 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:31:03] Production.INFO: ==29446== Lock acquired, processing the job... [2025-03-20 17:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:31:03] Production.INFO: ==29446== Releasing lock... [2025-03-20 17:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:31:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:31:03] Production.INFO: ==29451== Lock acquired, processing the job... [2025-03-20 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:31:03] Production.INFO: ==29449== Lock acquired, processing the job... [2025-03-20 13:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:31:03] Production.INFO: ==29457== Lock acquired, processing the job... [2025-03-20 13:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:31:04] Production.INFO: ==29453== Lock acquired, processing the job... [2025-03-20 13:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:31:04] Production.INFO: ==29451== Releasing lock... [2025-03-20 13:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:31:04] Production.INFO: ==29459== Lock acquired, processing the job... [2025-03-20 13:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:31:04] Production.INFO: ==29455== Lock acquired, processing the job... [2025-03-20 13:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:31:04] Production.ERROR: done [2025-03-20 13:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:31:04] Production.INFO: Account Balance Start. [2025-03-20 13:31:04] Production.INFO: CreateAllLog Start [2025-03-20 13:31:04] Production.INFO: 117 [2025-03-20 13:31:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:31:04] Production.INFO: count ==12 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:31:04] Production.INFO: count ==23 [2025-03-20 13:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723160') start [2025-03-20 13:31:04] Production.ERROR: done [2025-03-20 13:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723160') end [2025-03-20 13:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:31:04] Production.INFO: 1 [2025-03-20 13:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:31:04] Production.INFO: ==29459== Releasing lock... [2025-03-20 13:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:31:05] Production.INFO: Total Charge 0 [2025-03-20 13:31:05] Production.INFO: CreateAllLog End [2025-03-20 13:31:05] Production.INFO: Account Balance End. [2025-03-20 13:31:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:31:05] Production.INFO: ==29455== Releasing lock... [2025-03-20 13:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:31:05 [end_date_ymd] => 2025-03-20 13:31:05 [RateCDR] => 1 ) [2025-03-20 13:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:31:05' and `end` < '2025-03-20 13:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:31:12] Production.ERROR: CronJobId end10 [2025-03-20 13:31:12] Production.INFO: ==29453== Releasing lock... [2025-03-20 13:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:31:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:31:15] Production.INFO: call_cost start [2025-03-20 13:31:15] Production.INFO: call_cost end [2025-03-20 13:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:31:16] Production.INFO: ==29449== Releasing lock... [2025-03-20 13:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:31:19] Production.INFO: count ==6173 [2025-03-20 13:31:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:31:05 - End Time 2025-03-20 13:31:05 [2025-03-20 13:31:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723162', 'tblTempUsageDetail_20' ) start [2025-03-20 13:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723162', 'tblTempUsageDetail_20' ) end [2025-03-20 13:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723162', 'tblTempVendorCDR_20' ) start [2025-03-20 13:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723162', 'tblTempVendorCDR_20' ) end [2025-03-20 13:31:22] Production.INFO: ProcessCDR(1,14723162,1,1,2) [2025-03-20 13:31:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:31:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:31:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:31:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723162', 'tblTempUsageDetail_20' ) start [2025-03-20 13:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723162', 'tblTempUsageDetail_20' ) end [2025-03-20 13:31:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:31:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:31:27] Production.INFO: ==29457== Releasing lock... [2025-03-20 13:31:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:31:27] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 17:32:01] Production.INFO: ==29525== Lock acquired, processing the job... [2025-03-20 17:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:32:01] Production.INFO: neon service started [2025-03-20 17:32:01] Production.INFO: neon service started [2025-03-20 17:32:01] Production.INFO: ==29525== Releasing lock... [2025-03-20 17:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:32:02] Production.INFO: ==29528== Lock acquired, processing the job... [2025-03-20 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:32:02] Production.INFO: ==29528== Releasing lock... [2025-03-20 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:32:02] Production.INFO: ==29530== Lock acquired, processing the job... [2025-03-20 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:32:02] Production.INFO: ==29530== Releasing lock... [2025-03-20 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:32:03] Production.INFO: ==29536== Lock acquired, processing the job... [2025-03-20 13:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:32:03] Production.INFO: ==29542== Lock acquired, processing the job... [2025-03-20 13:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:32:03] Production.INFO: ==29534== Lock acquired, processing the job... [2025-03-20 13:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:32:03] Production.INFO: ==29532== Lock acquired, processing the job... [2025-03-20 13:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:32:03] Production.INFO: count ==12 [2025-03-20 13:32:03] Production.INFO: ==29538== Lock acquired, processing the job... [2025-03-20 13:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:32:03] Production.INFO: ==29540== Lock acquired, processing the job... [2025-03-20 13:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:32:03] Production.INFO: count ==23 [2025-03-20 13:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723163') start [2025-03-20 13:32:03] Production.INFO: Account Balance Start. [2025-03-20 13:32:03] Production.INFO: CreateAllLog Start [2025-03-20 13:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:32:03] Production.INFO: 117 [2025-03-20 13:32:03] Production.INFO: ==29534== Releasing lock... [2025-03-20 13:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:32:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723163') end [2025-03-20 13:32:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:32:03] Production.INFO: 1 [2025-03-20 13:32:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:32:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.INFO: ==29542== Releasing lock... [2025-03-20 13:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.ERROR: done [2025-03-20 13:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:32:04] Production.INFO: Total Charge 0 [2025-03-20 13:32:04] Production.INFO: CreateAllLog End [2025-03-20 13:32:04] Production.ERROR: done [2025-03-20 13:32:04] Production.INFO: Account Balance End. [2025-03-20 13:32:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:32:04] Production.INFO: ==29538== Releasing lock... [2025-03-20 13:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:32:05 [end_date_ymd] => 2025-03-20 13:32:05 [RateCDR] => 1 ) [2025-03-20 13:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:32:05' and `end` < '2025-03-20 13:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:32:14] Production.ERROR: CronJobId end10 [2025-03-20 13:32:14] Production.INFO: ==29536== Releasing lock... [2025-03-20 13:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:32:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:32:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:32:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:32:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:32:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:32:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:32:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:32:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:32:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:32:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:32:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:32:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:32:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:32:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:32:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:32:16] Production.INFO: call_cost start [2025-03-20 13:32:16] Production.INFO: call_cost end [2025-03-20 13:32:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:32:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:32:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:32:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:32:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:32:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:32:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:32:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:32:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:32:17] Production.INFO: ==29532== Releasing lock... [2025-03-20 13:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:32:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:32:19] Production.INFO: count ==6203 [2025-03-20 13:32:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:32:05 - End Time 2025-03-20 13:32:05 [2025-03-20 13:32:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723167', 'tblTempUsageDetail_20' ) start [2025-03-20 13:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723167', 'tblTempUsageDetail_20' ) end [2025-03-20 13:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723167', 'tblTempVendorCDR_20' ) start [2025-03-20 13:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723167', 'tblTempVendorCDR_20' ) end [2025-03-20 13:32:22] Production.INFO: ProcessCDR(1,14723167,1,1,2) [2025-03-20 13:32:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:32:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:32:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:32:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723167', 'tblTempUsageDetail_20' ) start [2025-03-20 13:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723167', 'tblTempUsageDetail_20' ) end [2025-03-20 13:32:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:32:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:32:27] Production.INFO: ==29540== Releasing lock... [2025-03-20 13:32:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:32:27] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 17:33:02] Production.INFO: ==29605== Lock acquired, processing the job... [2025-03-20 17:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:33:02] Production.INFO: neon service started [2025-03-20 17:33:02] Production.INFO: neon service started [2025-03-20 17:33:02] Production.INFO: ==29605== Releasing lock... [2025-03-20 17:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:33:02] Production.INFO: ==29609== Lock acquired, processing the job... [2025-03-20 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:33:02] Production.INFO: ==29609== Releasing lock... [2025-03-20 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:33:02] Production.INFO: ==29607== Lock acquired, processing the job... [2025-03-20 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:33:03] Production.INFO: ==29607== Releasing lock... [2025-03-20 13:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:33:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:33:03] Production.INFO: ==29616== Lock acquired, processing the job... [2025-03-20 13:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:33:03] Production.INFO: ==29622== Lock acquired, processing the job... [2025-03-20 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:33:04] Production.INFO: ==29612== Lock acquired, processing the job... [2025-03-20 13:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:33:04] Production.INFO: count ==12 [2025-03-20 13:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:33:04] Production.INFO: ==29614== Lock acquired, processing the job... [2025-03-20 13:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:33:04] Production.INFO: count ==23 [2025-03-20 13:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:33:04] Production.INFO: ==29618== Lock acquired, processing the job... [2025-03-20 13:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723168') start [2025-03-20 13:33:04] Production.INFO: ==29620== Lock acquired, processing the job... [2025-03-20 13:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:33:04] Production.INFO: Account Balance Start. [2025-03-20 13:33:04] Production.INFO: CreateAllLog Start [2025-03-20 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723168') end [2025-03-20 13:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:33:04] Production.INFO: 1 [2025-03-20 13:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:33:04] Production.INFO: 117 [2025-03-20 13:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:33:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: ==29622== Releasing lock... [2025-03-20 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: ==29614== Releasing lock... [2025-03-20 13:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.ERROR: done [2025-03-20 13:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:33:04] Production.INFO: Total Charge 0 [2025-03-20 13:33:04] Production.INFO: CreateAllLog End [2025-03-20 13:33:04] Production.ERROR: done [2025-03-20 13:33:05] Production.INFO: Account Balance End. [2025-03-20 13:33:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:33:05] Production.INFO: ==29618== Releasing lock... [2025-03-20 13:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:33:05 [end_date_ymd] => 2025-03-20 13:33:05 [RateCDR] => 1 ) [2025-03-20 13:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:33:05' and `end` < '2025-03-20 13:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:33:14] Production.ERROR: CronJobId end10 [2025-03-20 13:33:14] Production.INFO: ==29616== Releasing lock... [2025-03-20 13:33:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:33:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:33:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:33:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:33:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:33:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:33:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:33:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:33:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:33:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:33:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:33:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:33:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:33:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:33:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:33:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:33:16] Production.INFO: call_cost start [2025-03-20 13:33:16] Production.INFO: call_cost end [2025-03-20 13:33:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:33:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:33:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:33:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:33:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:33:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:33:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:33:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:33:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:33:17] Production.INFO: ==29612== Releasing lock... [2025-03-20 13:33:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:33:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:33:19] Production.INFO: count ==6197 [2025-03-20 13:33:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:33:05 - End Time 2025-03-20 13:33:05 [2025-03-20 13:33:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723172', 'tblTempUsageDetail_20' ) start [2025-03-20 13:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723172', 'tblTempUsageDetail_20' ) end [2025-03-20 13:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723172', 'tblTempVendorCDR_20' ) start [2025-03-20 13:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723172', 'tblTempVendorCDR_20' ) end [2025-03-20 13:33:22] Production.INFO: ProcessCDR(1,14723172,1,1,2) [2025-03-20 13:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:33:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:33:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:33:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723172', 'tblTempUsageDetail_20' ) start [2025-03-20 13:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723172', 'tblTempUsageDetail_20' ) end [2025-03-20 13:33:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:33:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:33:27] Production.INFO: ==29620== Releasing lock... [2025-03-20 13:33:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:33:27] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 17:34:01] Production.INFO: ==29682== Lock acquired, processing the job... [2025-03-20 17:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:34:01] Production.INFO: neon service started [2025-03-20 17:34:01] Production.INFO: neon service started [2025-03-20 17:34:01] Production.INFO: ==29682== Releasing lock... [2025-03-20 17:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:34:01] Production.INFO: ==29686== Lock acquired, processing the job... [2025-03-20 17:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:34:01] Production.INFO: ==29686== Releasing lock... [2025-03-20 17:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:34:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:34:02] Production.INFO: ==29684== Lock acquired, processing the job... [2025-03-20 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:34:02] Production.INFO: ==29684== Releasing lock... [2025-03-20 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:34:03] Production.INFO: ==29689== Lock acquired, processing the job... [2025-03-20 13:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:34:03] Production.INFO: ==29693== Lock acquired, processing the job... [2025-03-20 13:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:34:03] Production.INFO: ==29697== Lock acquired, processing the job... [2025-03-20 13:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:34:03] Production.INFO: ==29691== Lock acquired, processing the job... [2025-03-20 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:34:03] Production.INFO: ==29695== Lock acquired, processing the job... [2025-03-20 13:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:34:03] Production.INFO: ==29699== Lock acquired, processing the job... [2025-03-20 13:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:34:03] Production.INFO: Account Balance Start. [2025-03-20 13:34:03] Production.INFO: CreateAllLog Start [2025-03-20 13:34:03] Production.INFO: 117 [2025-03-20 13:34:03] Production.ERROR: done [2025-03-20 13:34:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:03] Production.INFO: count ==12 [2025-03-20 13:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:34:04] Production.INFO: count ==23 [2025-03-20 13:34:04] Production.ERROR: done [2025-03-20 13:34:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723175') start [2025-03-20 13:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.INFO: ==29691== Releasing lock... [2025-03-20 13:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723175') end [2025-03-20 13:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:34:04] Production.INFO: 1 [2025-03-20 13:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.INFO: ==29699== Releasing lock... [2025-03-20 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:34:04] Production.INFO: Total Charge 0 [2025-03-20 13:34:04] Production.INFO: CreateAllLog End [2025-03-20 13:34:04] Production.INFO: Account Balance End. [2025-03-20 13:34:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:34:04] Production.INFO: ==29695== Releasing lock... [2025-03-20 13:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:34:05 [end_date_ymd] => 2025-03-20 13:34:05 [RateCDR] => 1 ) [2025-03-20 13:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:34:05' and `end` < '2025-03-20 13:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:34:12] Production.ERROR: CronJobId end10 [2025-03-20 13:34:12] Production.INFO: ==29693== Releasing lock... [2025-03-20 13:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:34:14] Production.INFO: call_cost start [2025-03-20 13:34:14] Production.INFO: call_cost end [2025-03-20 13:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:34:15] Production.INFO: ==29689== Releasing lock... [2025-03-20 13:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:34:18] Production.INFO: count ==6211 [2025-03-20 13:34:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:34:05 - End Time 2025-03-20 13:34:05 [2025-03-20 13:34:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723177', 'tblTempUsageDetail_20' ) start [2025-03-20 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723177', 'tblTempUsageDetail_20' ) end [2025-03-20 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723177', 'tblTempVendorCDR_20' ) start [2025-03-20 13:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723177', 'tblTempVendorCDR_20' ) end [2025-03-20 13:34:21] Production.INFO: ProcessCDR(1,14723177,1,1,2) [2025-03-20 13:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:34:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:34:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:34:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723177', 'tblTempUsageDetail_20' ) start [2025-03-20 13:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723177', 'tblTempUsageDetail_20' ) end [2025-03-20 13:34:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:34:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:34:27] Production.INFO: ==29697== Releasing lock... [2025-03-20 13:34:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:34:27] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 17:35:02] Production.INFO: ==29771== Lock acquired, processing the job... [2025-03-20 17:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:35:02] Production.INFO: neon service started [2025-03-20 17:35:02] Production.INFO: neon service started [2025-03-20 17:35:02] Production.INFO: ==29771== Releasing lock... [2025-03-20 17:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:35:02] Production.INFO: ==29775== Lock acquired, processing the job... [2025-03-20 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:35:02] Production.INFO: ==29775== Releasing lock... [2025-03-20 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:35:02] Production.INFO: ==29773== Lock acquired, processing the job... [2025-03-20 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:35:02] Production.INFO: ==29773== Releasing lock... [2025-03-20 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:35:03] Production.INFO: ==29786== Lock acquired, processing the job... [2025-03-20 13:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:35:03] Production.INFO: ==29788== Lock acquired, processing the job... [2025-03-20 13:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:35:04] Production.INFO: ==29777== Lock acquired, processing the job... [2025-03-20 13:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:35:04] Production.INFO: count ==12 [2025-03-20 13:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:35:04] Production.INFO: count ==23 [2025-03-20 13:35:04] Production.INFO: ==29782== Lock acquired, processing the job... [2025-03-20 13:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723178') start [2025-03-20 13:35:04] Production.INFO: ==29780== Lock acquired, processing the job... [2025-03-20 13:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:35:04] Production.INFO: ==29784== Lock acquired, processing the job... [2025-03-20 13:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723178') end [2025-03-20 13:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:35:04] Production.INFO: 1 [2025-03-20 13:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:35:04] Production.INFO: ==29788== Releasing lock... [2025-03-20 13:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:35:04] Production.INFO: Account Balance Start. [2025-03-20 13:35:04] Production.INFO: CreateAllLog Start [2025-03-20 13:35:04] Production.ERROR: done [2025-03-20 13:35:04] Production.INFO: 117 [2025-03-20 13:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:35:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:04] Production.INFO: ==29780== Releasing lock... [2025-03-20 13:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:35:04] Production.ERROR: done [2025-03-20 13:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:35:05] Production.INFO: Total Charge 0 [2025-03-20 13:35:05] Production.INFO: CreateAllLog End [2025-03-20 13:35:05] Production.INFO: Account Balance End. [2025-03-20 13:35:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:35:05] Production.INFO: ==29784== Releasing lock... [2025-03-20 13:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:35:05 [end_date_ymd] => 2025-03-20 13:35:05 [RateCDR] => 1 ) [2025-03-20 13:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:35:05' and `end` < '2025-03-20 13:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:35:14] Production.ERROR: CronJobId end10 [2025-03-20 13:35:14] Production.INFO: ==29782== Releasing lock... [2025-03-20 13:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:35:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:35:16] Production.INFO: call_cost start [2025-03-20 13:35:16] Production.INFO: call_cost end [2025-03-20 13:35:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:35:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:35:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:35:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:35:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:35:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:35:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:35:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:35:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:35:17] Production.INFO: ==29777== Releasing lock... [2025-03-20 13:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:35:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:35:19] Production.INFO: count ==6218 [2025-03-20 13:35:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:35:05 - End Time 2025-03-20 13:35:05 [2025-03-20 13:35:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723182', 'tblTempUsageDetail_20' ) start [2025-03-20 13:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723182', 'tblTempUsageDetail_20' ) end [2025-03-20 13:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723182', 'tblTempVendorCDR_20' ) start [2025-03-20 13:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723182', 'tblTempVendorCDR_20' ) end [2025-03-20 13:35:22] Production.INFO: ProcessCDR(1,14723182,1,1,2) [2025-03-20 13:35:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:35:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:35:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:35:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723182', 'tblTempUsageDetail_20' ) start [2025-03-20 13:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723182', 'tblTempUsageDetail_20' ) end [2025-03-20 13:35:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:35:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:35:28] Production.INFO: ==29786== Releasing lock... [2025-03-20 13:35:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:35:28] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 17:36:01] Production.INFO: ==29893== Lock acquired, processing the job... [2025-03-20 17:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:36:01] Production.INFO: neon service started [2025-03-20 17:36:01] Production.INFO: neon service started [2025-03-20 17:36:01] Production.INFO: ==29893== Releasing lock... [2025-03-20 17:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:36:01] Production.INFO: ==29895== Lock acquired, processing the job... [2025-03-20 13:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:36:02] Production.INFO: ==29895== Releasing lock... [2025-03-20 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:36:02] Production.INFO: ==29897== Lock acquired, processing the job... [2025-03-20 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:36:02] Production.INFO: ==29897== Releasing lock... [2025-03-20 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:36:03] Production.INFO: ==29907== Lock acquired, processing the job... [2025-03-20 13:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:36:03] Production.INFO: ==29909== Lock acquired, processing the job... [2025-03-20 13:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:36:03] Production.INFO: ==29899== Lock acquired, processing the job... [2025-03-20 13:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:36:03] Production.INFO: ==29901== Lock acquired, processing the job... [2025-03-20 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:36:03] Production.INFO: ==29903== Lock acquired, processing the job... [2025-03-20 13:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:36:03] Production.INFO: count ==12 [2025-03-20 13:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:36:03] Production.INFO: count ==23 [2025-03-20 13:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723183') start [2025-03-20 13:36:03] Production.INFO: ==29905== Lock acquired, processing the job... [2025-03-20 13:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723183') end [2025-03-20 13:36:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:36:03] Production.INFO: 1 [2025-03-20 13:36:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:36:03] Production.INFO: ==29909== Releasing lock... [2025-03-20 13:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:36:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:36:03] Production.ERROR: done [2025-03-20 13:36:03] Production.INFO: Account Balance Start. [2025-03-20 13:36:03] Production.INFO: CreateAllLog Start [2025-03-20 13:36:03] Production.INFO: 117 [2025-03-20 13:36:03] Production.INFO: ==29901== Releasing lock... [2025-03-20 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:36:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:36:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:36:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:36:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:03] Production.ERROR: done [2025-03-20 13:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:36:04] Production.INFO: Total Charge 0 [2025-03-20 13:36:04] Production.INFO: CreateAllLog End [2025-03-20 13:36:04] Production.INFO: Account Balance End. [2025-03-20 13:36:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:36:04] Production.INFO: ==29905== Releasing lock... [2025-03-20 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:36:05 [end_date_ymd] => 2025-03-20 13:36:05 [RateCDR] => 1 ) [2025-03-20 13:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:36:05' and `end` < '2025-03-20 13:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:36:12] Production.ERROR: CronJobId end10 [2025-03-20 13:36:12] Production.INFO: ==29903== Releasing lock... [2025-03-20 13:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:36:14] Production.INFO: call_cost start [2025-03-20 13:36:14] Production.INFO: call_cost end [2025-03-20 13:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:36:15] Production.INFO: ==29899== Releasing lock... [2025-03-20 13:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:36:18] Production.INFO: count ==6221 [2025-03-20 13:36:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:36:05 - End Time 2025-03-20 13:36:05 [2025-03-20 13:36:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723187', 'tblTempUsageDetail_20' ) start [2025-03-20 13:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723187', 'tblTempUsageDetail_20' ) end [2025-03-20 13:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723187', 'tblTempVendorCDR_20' ) start [2025-03-20 13:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723187', 'tblTempVendorCDR_20' ) end [2025-03-20 13:36:21] Production.INFO: ProcessCDR(1,14723187,1,1,2) [2025-03-20 13:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:36:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:36:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:36:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723187', 'tblTempUsageDetail_20' ) start [2025-03-20 13:36:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723187', 'tblTempUsageDetail_20' ) end [2025-03-20 13:36:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:36:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:36:27] Production.INFO: ==29907== Releasing lock... [2025-03-20 13:36:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:36:27] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 17:37:01] Production.INFO: ==29975== Lock acquired, processing the job... [2025-03-20 17:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:37:01] Production.INFO: neon service started [2025-03-20 17:37:01] Production.INFO: neon service started [2025-03-20 17:37:01] Production.INFO: ==29975== Releasing lock... [2025-03-20 17:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:37:02] Production.INFO: ==29977== Lock acquired, processing the job... [2025-03-20 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:37:02] Production.INFO: ==29977== Releasing lock... [2025-03-20 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:37:02] Production.INFO: ==29979== Lock acquired, processing the job... [2025-03-20 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:37:02] Production.INFO: ==29979== Releasing lock... [2025-03-20 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:37:03] Production.INFO: ==29981== Lock acquired, processing the job... [2025-03-20 13:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:37:03] Production.INFO: ==29987== Lock acquired, processing the job... [2025-03-20 13:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:37:03] Production.INFO: ==29991== Lock acquired, processing the job... [2025-03-20 13:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:37:03] Production.INFO: ==29983== Lock acquired, processing the job... [2025-03-20 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:37:04] Production.INFO: ==29985== Lock acquired, processing the job... [2025-03-20 13:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:37:04] Production.INFO: Account Balance Start. [2025-03-20 13:37:04] Production.INFO: CreateAllLog Start [2025-03-20 13:37:04] Production.INFO: 117 [2025-03-20 13:37:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:37:04] Production.INFO: count ==12 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:37:04] Production.INFO: count ==23 [2025-03-20 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723188') start [2025-03-20 13:37:04] Production.INFO: ==29989== Lock acquired, processing the job... [2025-03-20 13:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:37:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:37:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723188') end [2025-03-20 13:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:37:04] Production.INFO: 1 [2025-03-20 13:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:37:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.INFO: ==29991== Releasing lock... [2025-03-20 13:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:37:04] Production.INFO: ==29983== Releasing lock... [2025-03-20 13:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.ERROR: done [2025-03-20 13:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:37:04] Production.INFO: Total Charge 0 [2025-03-20 13:37:04] Production.INFO: CreateAllLog End [2025-03-20 13:37:05] Production.ERROR: done [2025-03-20 13:37:05] Production.INFO: Account Balance End. [2025-03-20 13:37:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:37:05] Production.INFO: ==29987== Releasing lock... [2025-03-20 13:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:37:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:37:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:37:06 [end_date_ymd] => 2025-03-20 13:37:06 [RateCDR] => 1 ) [2025-03-20 13:37:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:37:06' and `end` < '2025-03-20 13:37:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:37:14] Production.ERROR: CronJobId end10 [2025-03-20 13:37:14] Production.INFO: ==29985== Releasing lock... [2025-03-20 13:37:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:37:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:37:15] Production.INFO: call_cost start [2025-03-20 13:37:15] Production.INFO: call_cost end [2025-03-20 13:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:37:16] Production.INFO: ==29981== Releasing lock... [2025-03-20 13:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:37:19] Production.INFO: count ==6243 [2025-03-20 13:37:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:37:06 - End Time 2025-03-20 13:37:06 [2025-03-20 13:37:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723192', 'tblTempUsageDetail_20' ) start [2025-03-20 13:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723192', 'tblTempUsageDetail_20' ) end [2025-03-20 13:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723192', 'tblTempVendorCDR_20' ) start [2025-03-20 13:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723192', 'tblTempVendorCDR_20' ) end [2025-03-20 13:37:22] Production.INFO: ProcessCDR(1,14723192,1,1,2) [2025-03-20 13:37:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:37:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:37:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:37:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723192', 'tblTempUsageDetail_20' ) start [2025-03-20 13:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723192', 'tblTempUsageDetail_20' ) end [2025-03-20 13:37:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:37:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:37:28] Production.INFO: ==29989== Releasing lock... [2025-03-20 13:37:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:37:28] Production.INFO: 74.75 MB #Memory Used# [2025-03-20 17:38:01] Production.INFO: ==30059== Lock acquired, processing the job... [2025-03-20 17:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:38:01] Production.INFO: neon service started [2025-03-20 17:38:01] Production.INFO: neon service started [2025-03-20 17:38:01] Production.INFO: ==30059== Releasing lock... [2025-03-20 17:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:38:01] Production.INFO: ==30063== Lock acquired, processing the job... [2025-03-20 17:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:38:01] Production.INFO: ==30063== Releasing lock... [2025-03-20 17:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:38:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:38:01] Production.INFO: ==30061== Lock acquired, processing the job... [2025-03-20 13:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:38:02] Production.INFO: ==30061== Releasing lock... [2025-03-20 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:38:03] Production.INFO: ==30067== Lock acquired, processing the job... [2025-03-20 13:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:38:03] Production.INFO: ==30069== Lock acquired, processing the job... [2025-03-20 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:38:03] Production.INFO: ==30071== Lock acquired, processing the job... [2025-03-20 13:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:38:03] Production.INFO: ==30073== Lock acquired, processing the job... [2025-03-20 13:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:38:03] Production.INFO: ==30075== Lock acquired, processing the job... [2025-03-20 13:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:38:03] Production.INFO: ==30069== Releasing lock... [2025-03-20 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:38:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:38:03] Production.INFO: ==30077== Lock acquired, processing the job... [2025-03-20 13:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:38:03] Production.INFO: Account Balance Start. [2025-03-20 13:38:03] Production.INFO: CreateAllLog Start [2025-03-20 13:38:03] Production.INFO: 117 [2025-03-20 13:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:38:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:03] Production.INFO: count ==12 [2025-03-20 13:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:38:03] Production.INFO: count ==23 [2025-03-20 13:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723196') start [2025-03-20 13:38:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723196') end [2025-03-20 13:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:38:03] Production.INFO: 1 [2025-03-20 13:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:38:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:04] Production.INFO: ==30077== Releasing lock... [2025-03-20 13:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:38:04] Production.ERROR: done [2025-03-20 13:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:04] Production.ERROR: done [2025-03-20 13:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:38:04] Production.INFO: Total Charge 0 [2025-03-20 13:38:04] Production.INFO: CreateAllLog End [2025-03-20 13:38:04] Production.INFO: Account Balance End. [2025-03-20 13:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:38:04] Production.INFO: ==30073== Releasing lock... [2025-03-20 13:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:38:05 [end_date_ymd] => 2025-03-20 13:38:05 [RateCDR] => 1 ) [2025-03-20 13:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:38:05' and `end` < '2025-03-20 13:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:38:13] Production.ERROR: CronJobId end10 [2025-03-20 13:38:13] Production.INFO: ==30071== Releasing lock... [2025-03-20 13:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:38:15] Production.INFO: call_cost start [2025-03-20 13:38:15] Production.INFO: call_cost end [2025-03-20 13:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:38:16] Production.INFO: ==30067== Releasing lock... [2025-03-20 13:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:38:18] Production.INFO: count ==6287 [2025-03-20 13:38:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:38:05 - End Time 2025-03-20 13:38:05 [2025-03-20 13:38:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723197', 'tblTempUsageDetail_20' ) start [2025-03-20 13:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723197', 'tblTempUsageDetail_20' ) end [2025-03-20 13:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723197', 'tblTempVendorCDR_20' ) start [2025-03-20 13:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723197', 'tblTempVendorCDR_20' ) end [2025-03-20 13:38:21] Production.INFO: ProcessCDR(1,14723197,1,1,2) [2025-03-20 13:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723197', 'tblTempUsageDetail_20' ) start [2025-03-20 13:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723197', 'tblTempUsageDetail_20' ) end [2025-03-20 13:38:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:38:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:38:26] Production.INFO: ==30075== Releasing lock... [2025-03-20 13:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:38:26] Production.INFO: 75 MB #Memory Used# [2025-03-20 17:39:01] Production.INFO: ==30150== Lock acquired, processing the job... [2025-03-20 17:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:39:01] Production.INFO: neon service started [2025-03-20 17:39:01] Production.INFO: neon service started [2025-03-20 17:39:01] Production.INFO: ==30150== Releasing lock... [2025-03-20 17:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:39:02] Production.INFO: ==30152== Lock acquired, processing the job... [2025-03-20 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:39:02] Production.INFO: ==30152== Releasing lock... [2025-03-20 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:39:02] Production.INFO: ==30154== Lock acquired, processing the job... [2025-03-20 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:39:02] Production.INFO: ==30154== Releasing lock... [2025-03-20 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:39:03] Production.INFO: ==30169== Lock acquired, processing the job... [2025-03-20 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:39:03] Production.INFO: ==30165== Lock acquired, processing the job... [2025-03-20 13:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:39:03] Production.INFO: count ==12 [2025-03-20 13:39:03] Production.INFO: ==30159== Lock acquired, processing the job... [2025-03-20 13:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:39:03] Production.INFO: ==30167== Lock acquired, processing the job... [2025-03-20 13:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:39:03] Production.INFO: count ==23 [2025-03-20 13:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723198') start [2025-03-20 13:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:39:03] Production.INFO: ==30161== Lock acquired, processing the job... [2025-03-20 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:39:03] Production.INFO: ==30163== Lock acquired, processing the job... [2025-03-20 13:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:39:03] Production.INFO: Account Balance Start. [2025-03-20 13:39:03] Production.INFO: CreateAllLog Start [2025-03-20 13:39:03] Production.INFO: 117 [2025-03-20 13:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723198') end [2025-03-20 13:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:39:04] Production.INFO: 1 [2025-03-20 13:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:04] Production.INFO: ==30169== Releasing lock... [2025-03-20 13:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:04] Production.ERROR: done [2025-03-20 13:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:04] Production.INFO: ==30161== Releasing lock... [2025-03-20 13:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:04] Production.ERROR: done [2025-03-20 13:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:39:04] Production.INFO: Total Charge 0 [2025-03-20 13:39:04] Production.INFO: CreateAllLog End [2025-03-20 13:39:04] Production.INFO: Account Balance End. [2025-03-20 13:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:39:04] Production.INFO: ==30165== Releasing lock... [2025-03-20 13:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:39:05 [end_date_ymd] => 2025-03-20 13:39:05 [RateCDR] => 1 ) [2025-03-20 13:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:39:05' and `end` < '2025-03-20 13:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:39:14] Production.ERROR: CronJobId end10 [2025-03-20 13:39:14] Production.INFO: ==30163== Releasing lock... [2025-03-20 13:39:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:39:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:39:15] Production.INFO: call_cost start [2025-03-20 13:39:15] Production.INFO: call_cost end [2025-03-20 13:39:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:39:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:39:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:39:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:39:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:39:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:39:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:39:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:39:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:39:15] Production.INFO: ==30159== Releasing lock... [2025-03-20 13:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:39:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:39:19] Production.INFO: count ==6329 [2025-03-20 13:39:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:39:05 - End Time 2025-03-20 13:39:05 [2025-03-20 13:39:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723202', 'tblTempUsageDetail_20' ) start [2025-03-20 13:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723202', 'tblTempUsageDetail_20' ) end [2025-03-20 13:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723202', 'tblTempVendorCDR_20' ) start [2025-03-20 13:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723202', 'tblTempVendorCDR_20' ) end [2025-03-20 13:39:22] Production.INFO: ProcessCDR(1,14723202,1,1,2) [2025-03-20 13:39:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:39:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723202', 'tblTempUsageDetail_20' ) start [2025-03-20 13:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723202', 'tblTempUsageDetail_20' ) end [2025-03-20 13:39:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:39:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:39:27] Production.INFO: ==30167== Releasing lock... [2025-03-20 13:39:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:39:27] Production.INFO: 75.5 MB #Memory Used# [2025-03-20 17:40:02] Production.INFO: ==30242== Lock acquired, processing the job... [2025-03-20 17:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:40:02] Production.INFO: neon service started [2025-03-20 17:40:02] Production.INFO: neon service started [2025-03-20 17:40:02] Production.INFO: ==30242== Releasing lock... [2025-03-20 17:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:40:02] Production.INFO: ==30244== Lock acquired, processing the job... [2025-03-20 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:40:03] Production.INFO: ==30246== Lock acquired, processing the job... [2025-03-20 17:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 13:40:03] Production.INFO: ==30244== Releasing lock... [2025-03-20 13:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:40:03] Production.INFO: ==30246== Releasing lock... [2025-03-20 17:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:40:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:40:04] Production.INFO: ==30257== Lock acquired, processing the job... [2025-03-20 13:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:40:04] Production.INFO: ==30261== Lock acquired, processing the job... [2025-03-20 13:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 13:40:04] Production.INFO: Account Balance Start. [2025-03-20 13:40:04] Production.INFO: CreateAllLog Start [2025-03-20 13:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:40:04] Production.INFO: 117 [2025-03-20 13:40:04] Production.INFO: ==30249== Lock acquired, processing the job... [2025-03-20 13:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 13:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:40:04] Production.INFO: ==30263== Lock acquired, processing the job... [2025-03-20 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:04] Production.INFO: ==30251== Lock acquired, processing the job... [2025-03-20 13:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:04] Production.INFO: ==30253== Lock acquired, processing the job... [2025-03-20 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 13:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 13:40:04] Production.ERROR: CronJob PID - 30251 [2025-03-20 13:40:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 13:40:04] Production.ERROR: CronJob ID - 5 [2025-03-20 13:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 13:40:00 [2025-03-20 13:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 13:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 13:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 13:40:04] Production.ERROR: CronJob PID - 30257 [2025-03-20 13:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 13:40:04] Production.ERROR: CronJob ID - 12 [2025-03-20 13:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 13:40:00 [2025-03-20 13:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 13:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 13:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 13:40:04] Production.ERROR: CronJob PID - 30261 [2025-03-20 13:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 13:40:04] Production.ERROR: CronJob ID - 17 [2025-03-20 13:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 13:40:00 [2025-03-20 13:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 13:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 13:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 13:40:04] Production.ERROR: CronJob PID - 30263 [2025-03-20 13:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 13:40:04] Production.ERROR: CronJob ID - 19 [2025-03-20 13:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 13:40:00 [2025-03-20 13:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 13:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 13:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:04] Production.INFO: ==30255== Lock acquired, processing the job... [2025-03-20 13:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 13:40:04] Production.INFO: ==30249== Releasing lock... [2025-03-20 13:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 13:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 13:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:40:04] Production.INFO: ==30259== Lock acquired, processing the job... [2025-03-20 13:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:40:04] Production.INFO: count ==12 [2025-03-20 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:40:04] Production.INFO: count ==23 [2025-03-20 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723204') start [2025-03-20 13:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:40:04] Production.ERROR: done [2025-03-20 13:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723204') end [2025-03-20 13:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:40:04] Production.INFO: 1 [2025-03-20 13:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:40:04] Production.INFO: ==30253== Releasing lock... [2025-03-20 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 13:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723207', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 13:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:04] Production.INFO: ==30263== Releasing lock... [2025-03-20 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:40:05] Production.INFO: Total Charge 0 [2025-03-20 13:40:05] Production.INFO: CreateAllLog End [2025-03-20 13:40:05] Production.ERROR: done [2025-03-20 13:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:40:05] Production.ERROR: done [2025-03-20 13:40:05] Production.INFO: Account Balance End. [2025-03-20 13:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:40:05] Production.INFO: ==30257== Releasing lock... [2025-03-20 13:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:40:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:40:07 [end_date_ymd] => 2025-03-20 13:40:07 [RateCDR] => 1 ) [2025-03-20 13: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-03-20 10:40:07' and `end` < '2025-03-20 13: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-03-20 13:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723207', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 13:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 13:40:09] Production.INFO: ProcessCDR(1,14723207,1,1,2) [2025-03-20 13:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723207,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723207,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:40:09] Production.INFO: ==30261== Releasing lock... [2025-03-20 13:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 13:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 13:40:15] Production.ERROR: CronJobId end10 [2025-03-20 13:40:15] Production.INFO: ==30255== Releasing lock... [2025-03-20 13:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:40:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:40:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:40:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:40:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:40:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:40:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:40:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:40:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:40:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:40:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:40:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:40:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:40:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:40:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:40:17] Production.INFO: call_cost start [2025-03-20 13:40:17] Production.INFO: call_cost end [2025-03-20 13:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:40:18] Production.INFO: ==30251== Releasing lock... [2025-03-20 13:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:40:20] Production.INFO: count ==6329 [2025-03-20 13:40:23] Production.ERROR: pbx CDR StartTime 2025-03-20 10:40:07 - End Time 2025-03-20 13:40:07 [2025-03-20 13:40:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723208', 'tblTempUsageDetail_20' ) start [2025-03-20 13:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723208', 'tblTempUsageDetail_20' ) end [2025-03-20 13:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723208', 'tblTempVendorCDR_20' ) start [2025-03-20 13:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723208', 'tblTempVendorCDR_20' ) end [2025-03-20 13:40:23] Production.INFO: ProcessCDR(1,14723208,1,1,2) [2025-03-20 13:40:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:40:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:40:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:40:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723208', 'tblTempUsageDetail_20' ) start [2025-03-20 13:40:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723208', 'tblTempUsageDetail_20' ) end [2025-03-20 13:40:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:40:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:40:29] Production.INFO: ==30259== Releasing lock... [2025-03-20 13:40:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:40:29] Production.INFO: 75.5 MB #Memory Used# [2025-03-20 17:41:01] Production.INFO: ==30327== Lock acquired, processing the job... [2025-03-20 17:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:41:01] Production.INFO: neon service started [2025-03-20 17:41:01] Production.INFO: neon service started [2025-03-20 17:41:01] Production.INFO: ==30327== Releasing lock... [2025-03-20 17:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:41:02] Production.INFO: ==30329== Lock acquired, processing the job... [2025-03-20 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:41:02] Production.INFO: ==30329== Releasing lock... [2025-03-20 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:41:02] Production.INFO: ==30331== Lock acquired, processing the job... [2025-03-20 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:41:02] Production.INFO: ==30331== Releasing lock... [2025-03-20 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:41:03] Production.INFO: ==30335== Lock acquired, processing the job... [2025-03-20 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:41:03] Production.INFO: ==30333== Lock acquired, processing the job... [2025-03-20 13:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:41:03] Production.INFO: ==30341== Lock acquired, processing the job... [2025-03-20 13:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:41:03] Production.INFO: ==30339== Lock acquired, processing the job... [2025-03-20 13:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:41:03] Production.INFO: ==30337== Lock acquired, processing the job... [2025-03-20 13:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:41:03] Production.INFO: ==30343== Lock acquired, processing the job... [2025-03-20 13:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:41:03] Production.INFO: ==30335== Releasing lock... [2025-03-20 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:41:03] Production.INFO: Account Balance Start. [2025-03-20 13:41:03] Production.INFO: CreateAllLog Start [2025-03-20 13:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:41:03] Production.INFO: 117 [2025-03-20 13:41:04] Production.INFO: count ==12 [2025-03-20 13:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:41:04] Production.INFO: count ==23 [2025-03-20 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723212') start [2025-03-20 13:41:04] Production.ERROR: done [2025-03-20 13:41:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723212') end [2025-03-20 13:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:41:04] Production.INFO: 1 [2025-03-20 13:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: ==30343== Releasing lock... [2025-03-20 13:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:41:04] Production.ERROR: done [2025-03-20 13:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:41:04] Production.INFO: Total Charge 0 [2025-03-20 13:41:04] Production.INFO: CreateAllLog End [2025-03-20 13:41:05] Production.INFO: Account Balance End. [2025-03-20 13:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:41:05] Production.INFO: ==30339== Releasing lock... [2025-03-20 13:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:41:05 [end_date_ymd] => 2025-03-20 13:41:05 [RateCDR] => 1 ) [2025-03-20 13:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:41:05' and `end` < '2025-03-20 13:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:41:13] Production.ERROR: CronJobId end10 [2025-03-20 13:41:13] Production.INFO: ==30337== Releasing lock... [2025-03-20 13:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:41:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:41:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:41:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:41:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:41:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:41:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:41:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:41:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:41:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:41:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:41:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:41:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:41:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:41:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:41:15] Production.INFO: call_cost start [2025-03-20 13:41:15] Production.INFO: call_cost end [2025-03-20 13:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:41:16] Production.INFO: ==30333== Releasing lock... [2025-03-20 13:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:41:19] Production.INFO: count ==6429 [2025-03-20 13:41:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:41:05 - End Time 2025-03-20 13:41:05 [2025-03-20 13:41:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723213', 'tblTempUsageDetail_20' ) start [2025-03-20 13:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723213', 'tblTempUsageDetail_20' ) end [2025-03-20 13:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723213', 'tblTempVendorCDR_20' ) start [2025-03-20 13:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723213', 'tblTempVendorCDR_20' ) end [2025-03-20 13:41:22] Production.INFO: ProcessCDR(1,14723213,1,1,2) [2025-03-20 13:41:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:41:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723213,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:41:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:41:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723213,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723213', 'tblTempUsageDetail_20' ) start [2025-03-20 13:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723213', 'tblTempUsageDetail_20' ) end [2025-03-20 13:41:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:41:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:41:27] Production.INFO: ==30341== Releasing lock... [2025-03-20 13:41:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:41:27] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 17:42:02] Production.INFO: ==30407== Lock acquired, processing the job... [2025-03-20 17:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:42:02] Production.INFO: neon service started [2025-03-20 17:42:02] Production.INFO: neon service started [2025-03-20 17:42:02] Production.INFO: ==30407== Releasing lock... [2025-03-20 17:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:42:02] Production.INFO: ==30409== Lock acquired, processing the job... [2025-03-20 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:42:03] Production.INFO: ==30409== Releasing lock... [2025-03-20 13:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:42:03] Production.INFO: ==30411== Lock acquired, processing the job... [2025-03-20 17:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:42:03] Production.INFO: ==30411== Releasing lock... [2025-03-20 17:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:42:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:42:03] Production.INFO: ==30419== Lock acquired, processing the job... [2025-03-20 13:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:42:04] Production.INFO: Account Balance Start. [2025-03-20 13:42:04] Production.INFO: CreateAllLog Start [2025-03-20 13:42:04] Production.INFO: 117 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:42:04] Production.INFO: Total Charge 0 [2025-03-20 13:42:04] Production.INFO: CreateAllLog End [2025-03-20 13:42:04] Production.INFO: ==30413== Lock acquired, processing the job... [2025-03-20 13:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:42:04] Production.INFO: ==30415== Lock acquired, processing the job... [2025-03-20 13:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:42:04] Production.INFO: ==30417== Lock acquired, processing the job... [2025-03-20 13:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:42:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:42:04] Production.INFO: ==30421== Lock acquired, processing the job... [2025-03-20 13:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:42:04] Production.INFO: Account Balance End. [2025-03-20 13:42:04] Production.INFO: ==30423== Lock acquired, processing the job... [2025-03-20 13:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:42:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:42:04] Production.INFO: ==30419== Releasing lock... [2025-03-20 13:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:42:04] Production.INFO: count ==12 [2025-03-20 13:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:42:04] Production.INFO: count ==23 [2025-03-20 13:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723217') start [2025-03-20 13:42:05] Production.INFO: ==30415== Releasing lock... [2025-03-20 13:42:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:42:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:42:05] Production.ERROR: done [2025-03-20 13:42:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723217') end [2025-03-20 13:42:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:42:05] Production.INFO: 1 [2025-03-20 13:42:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:42:05] Production.INFO: ==30423== Releasing lock... [2025-03-20 13:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:42:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:42:05] Production.ERROR: done [2025-03-20 13:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:42:06 [end_date_ymd] => 2025-03-20 13:42:06 [RateCDR] => 1 ) [2025-03-20 13:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:42:06' and `end` < '2025-03-20 13:42:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:42:14] Production.ERROR: CronJobId end10 [2025-03-20 13:42:14] Production.INFO: ==30417== Releasing lock... [2025-03-20 13:42:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:42:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:42:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:42:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:42:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:42:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:42:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:42:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:42:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:42:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:42:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:42:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:42:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:42:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:42:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:42:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:42:16] Production.INFO: call_cost start [2025-03-20 13:42:16] Production.INFO: call_cost end [2025-03-20 13:42:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:42:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:42:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:42:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:42:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:42:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:42:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:42:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:42:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:42:17] Production.INFO: ==30413== Releasing lock... [2025-03-20 13:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:42:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:42:20] Production.INFO: count ==6445 [2025-03-20 13:42:23] Production.ERROR: pbx CDR StartTime 2025-03-20 10:42:06 - End Time 2025-03-20 13:42:06 [2025-03-20 13:42:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723218', 'tblTempUsageDetail_20' ) start [2025-03-20 13:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723218', 'tblTempUsageDetail_20' ) end [2025-03-20 13:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723218', 'tblTempVendorCDR_20' ) start [2025-03-20 13:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723218', 'tblTempVendorCDR_20' ) end [2025-03-20 13:42:23] Production.INFO: ProcessCDR(1,14723218,1,1,2) [2025-03-20 13:42:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:42:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:42:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:42:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:42:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723218', 'tblTempUsageDetail_20' ) start [2025-03-20 13:42:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723218', 'tblTempUsageDetail_20' ) end [2025-03-20 13:42:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:42:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:42:28] Production.INFO: ==30421== Releasing lock... [2025-03-20 13:42:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:42:28] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 17:43:01] Production.INFO: ==30484== Lock acquired, processing the job... [2025-03-20 17:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:43:01] Production.INFO: neon service started [2025-03-20 17:43:01] Production.INFO: neon service started [2025-03-20 17:43:01] Production.INFO: ==30484== Releasing lock... [2025-03-20 17:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:43:02] Production.INFO: ==30486== Lock acquired, processing the job... [2025-03-20 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:43:02] Production.INFO: ==30486== Releasing lock... [2025-03-20 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:43:02] Production.INFO: ==30489== Lock acquired, processing the job... [2025-03-20 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:43:02] Production.INFO: ==30489== Releasing lock... [2025-03-20 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:43:03] Production.INFO: ==30491== Lock acquired, processing the job... [2025-03-20 13:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:43:03] Production.INFO: ==30493== Lock acquired, processing the job... [2025-03-20 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:43:03] Production.INFO: ==30497== Lock acquired, processing the job... [2025-03-20 13:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:43:03] Production.INFO: Account Balance Start. [2025-03-20 13:43:03] Production.INFO: CreateAllLog Start [2025-03-20 13:43:03] Production.INFO: 117 [2025-03-20 13:43:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: ==30493== Releasing lock... [2025-03-20 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:43:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: ==30495== Lock acquired, processing the job... [2025-03-20 13:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:43:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: Date 2025-03-14 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: ==30499== Lock acquired, processing the job... [2025-03-20 13:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:43:03] Production.INFO: Date 2025-03-15 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: ==30501== Lock acquired, processing the job... [2025-03-20 13:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:43:03] Production.INFO: Date 2025-03-16 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: Date 2025-03-17 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: Date 2025-03-18 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:43:03] Production.INFO: Date 2025-03-19 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:03] Production.INFO: Date 2025-03-20 [2025-03-20 13:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:43:04] Production.INFO: count ==12 [2025-03-20 13:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:43:04] Production.INFO: count ==23 [2025-03-20 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723222') start [2025-03-20 13:43:04] Production.INFO: Total Charge 0 [2025-03-20 13:43:04] Production.INFO: CreateAllLog End [2025-03-20 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723222') end [2025-03-20 13:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:43:04] Production.INFO: 1 [2025-03-20 13:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:43:04] Production.INFO: ==30501== Releasing lock... [2025-03-20 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:43:04] Production.ERROR: done [2025-03-20 13:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:43:04] Production.INFO: Account Balance End. [2025-03-20 13:43:04] Production.ERROR: done [2025-03-20 13:43:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:43:04] Production.INFO: ==30497== Releasing lock... [2025-03-20 13:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:43:05 [end_date_ymd] => 2025-03-20 13:43:05 [RateCDR] => 1 ) [2025-03-20 13:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:43:05' and `end` < '2025-03-20 13:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:43:13] Production.ERROR: CronJobId end10 [2025-03-20 13:43:13] Production.INFO: ==30495== Releasing lock... [2025-03-20 13:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:43:15] Production.INFO: call_cost start [2025-03-20 13:43:16] Production.INFO: call_cost end [2025-03-20 13:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:43:16] Production.INFO: ==30491== Releasing lock... [2025-03-20 13:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:43:19] Production.INFO: count ==6466 [2025-03-20 13:43:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:43:05 - End Time 2025-03-20 13:43:05 [2025-03-20 13:43:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723223', 'tblTempUsageDetail_20' ) start [2025-03-20 13:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723223', 'tblTempUsageDetail_20' ) end [2025-03-20 13:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723223', 'tblTempVendorCDR_20' ) start [2025-03-20 13:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723223', 'tblTempVendorCDR_20' ) end [2025-03-20 13:43:22] Production.INFO: ProcessCDR(1,14723223,1,1,2) [2025-03-20 13:43:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:43:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:43:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:43:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723223', 'tblTempUsageDetail_20' ) start [2025-03-20 13:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723223', 'tblTempUsageDetail_20' ) end [2025-03-20 13:43:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:43:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:43:27] Production.INFO: ==30499== Releasing lock... [2025-03-20 13:43:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:43:27] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 17:44:02] Production.INFO: ==30571== Lock acquired, processing the job... [2025-03-20 17:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:44:02] Production.INFO: neon service started [2025-03-20 17:44:02] Production.INFO: neon service started [2025-03-20 17:44:02] Production.INFO: ==30571== Releasing lock... [2025-03-20 17:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:44:02] Production.INFO: ==30576== Lock acquired, processing the job... [2025-03-20 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:44:02] Production.INFO: ==30576== Releasing lock... [2025-03-20 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:44:02] Production.INFO: ==30574== Lock acquired, processing the job... [2025-03-20 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:44:03] Production.INFO: ==30574== Releasing lock... [2025-03-20 13:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:44:03] Production.INFO: ==30578== Lock acquired, processing the job... [2025-03-20 13:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:44:03] Production.INFO: ==30580== Lock acquired, processing the job... [2025-03-20 13:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:44:04] Production.INFO: ==30590== Lock acquired, processing the job... [2025-03-20 13:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:44:04] Production.INFO: ==30580== Releasing lock... [2025-03-20 13:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:44:04] Production.INFO: count ==12 [2025-03-20 13:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:44:04] Production.INFO: ==30582== Lock acquired, processing the job... [2025-03-20 13:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:44:04] Production.INFO: count ==23 [2025-03-20 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723226') start [2025-03-20 13:44:04] Production.INFO: ==30584== Lock acquired, processing the job... [2025-03-20 13:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723226') end [2025-03-20 13:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:44:04] Production.INFO: 1 [2025-03-20 13:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:44:04] Production.INFO: ==30588== Lock acquired, processing the job... [2025-03-20 13:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:44:04] Production.INFO: ==30590== Releasing lock... [2025-03-20 13:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:44:04] Production.INFO: Account Balance Start. [2025-03-20 13:44:04] Production.INFO: CreateAllLog Start [2025-03-20 13:44:04] Production.INFO: 117 [2025-03-20 13:44:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:05] Production.ERROR: done [2025-03-20 13:44:05] Production.INFO: Date 2025-03-15 [2025-03-20 13:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:44:05] Production.INFO: Date 2025-03-16 [2025-03-20 13:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:05] Production.ERROR: done [2025-03-20 13:44:05] Production.INFO: Date 2025-03-17 [2025-03-20 13:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:05] Production.INFO: Date 2025-03-18 [2025-03-20 13:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:44:05] Production.INFO: Total Charge 0 [2025-03-20 13:44:05] Production.INFO: CreateAllLog End [2025-03-20 13:44:05] Production.INFO: Account Balance End. [2025-03-20 13:44:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:44:05] Production.INFO: ==30584== Releasing lock... [2025-03-20 13:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:44:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:44:06 [end_date_ymd] => 2025-03-20 13:44:06 [RateCDR] => 1 ) [2025-03-20 13:44:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:44:06' and `end` < '2025-03-20 13:44:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:44:14] Production.ERROR: CronJobId end10 [2025-03-20 13:44:14] Production.INFO: ==30582== Releasing lock... [2025-03-20 13:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:44:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:44:15] Production.INFO: call_cost start [2025-03-20 13:44:15] Production.INFO: call_cost end [2025-03-20 13:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:44:16] Production.INFO: ==30578== Releasing lock... [2025-03-20 13:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:44:20] Production.INFO: count ==6485 [2025-03-20 13:44:23] Production.ERROR: pbx CDR StartTime 2025-03-20 10:44:06 - End Time 2025-03-20 13:44:06 [2025-03-20 13:44:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723228', 'tblTempUsageDetail_20' ) start [2025-03-20 13:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723228', 'tblTempUsageDetail_20' ) end [2025-03-20 13:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723228', 'tblTempVendorCDR_20' ) start [2025-03-20 13:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723228', 'tblTempVendorCDR_20' ) end [2025-03-20 13:44:23] Production.INFO: ProcessCDR(1,14723228,1,1,2) [2025-03-20 13:44:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:44:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:44:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:44:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:44:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723228', 'tblTempUsageDetail_20' ) start [2025-03-20 13:44:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723228', 'tblTempUsageDetail_20' ) end [2025-03-20 13:44:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:44:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:44:28] Production.INFO: ==30588== Releasing lock... [2025-03-20 13:44:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:44:28] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 17:45:01] Production.INFO: ==30656== Lock acquired, processing the job... [2025-03-20 17:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:45:01] Production.INFO: neon service started [2025-03-20 17:45:01] Production.INFO: neon service started [2025-03-20 17:45:01] Production.INFO: ==30656== Releasing lock... [2025-03-20 17:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:45:02] Production.INFO: ==30660== Lock acquired, processing the job... [2025-03-20 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:45:02] Production.INFO: ==30660== Releasing lock... [2025-03-20 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:45:02] Production.INFO: ==30658== Lock acquired, processing the job... [2025-03-20 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:45:02] Production.INFO: ==30658== Releasing lock... [2025-03-20 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:45:03] Production.INFO: ==30663== Lock acquired, processing the job... [2025-03-20 13:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:45:03] Production.INFO: ==30665== Lock acquired, processing the job... [2025-03-20 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:45:03] Production.INFO: ==30669== Lock acquired, processing the job... [2025-03-20 13:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:45:03] Production.INFO: Account Balance Start. [2025-03-20 13:45:03] Production.INFO: CreateAllLog Start [2025-03-20 13:45:03] Production.INFO: 117 [2025-03-20 13:45:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:03] Production.INFO: ==30667== Lock acquired, processing the job... [2025-03-20 13:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:45:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:03] Production.INFO: ==30671== Lock acquired, processing the job... [2025-03-20 13:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:45:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:45:03] Production.INFO: Date 2025-03-14 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:45:03] Production.INFO: ==30665== Releasing lock... [2025-03-20 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:45:03] Production.INFO: Date 2025-03-15 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:45:03] Production.INFO: Date 2025-03-16 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:03] Production.INFO: ==30673== Lock acquired, processing the job... [2025-03-20 13:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:45:03] Production.INFO: Date 2025-03-17 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:03] Production.INFO: Date 2025-03-18 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:03] Production.INFO: Date 2025-03-19 [2025-03-20 13:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:45:04] Production.INFO: Total Charge 0 [2025-03-20 13:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:45:04] Production.INFO: CreateAllLog End [2025-03-20 13:45:04] Production.INFO: count ==12 [2025-03-20 13:45:04] Production.ERROR: done [2025-03-20 13:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:45:04] Production.INFO: count ==23 [2025-03-20 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723232') start [2025-03-20 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723232') end [2025-03-20 13:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:45:04] Production.INFO: 1 [2025-03-20 13:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:45:04] Production.INFO: Account Balance End. [2025-03-20 13:45:04] Production.INFO: ==30673== Releasing lock... [2025-03-20 13:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:45:04] Production.ERROR: done [2025-03-20 13:45:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:45:04] Production.INFO: ==30669== Releasing lock... [2025-03-20 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:45:05 [end_date_ymd] => 2025-03-20 13:45:05 [RateCDR] => 1 ) [2025-03-20 13:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:45:05' and `end` < '2025-03-20 13:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:45:14] Production.ERROR: CronJobId end10 [2025-03-20 13:45:14] Production.INFO: ==30667== Releasing lock... [2025-03-20 13:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:45:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:45:15] Production.INFO: call_cost start [2025-03-20 13:45:15] Production.INFO: call_cost end [2025-03-20 13:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:45:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:45:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:45:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:45:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:45:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:45:16] Production.INFO: ==30663== Releasing lock... [2025-03-20 13:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:45:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:45:19] Production.INFO: count ==6502 [2025-03-20 13:45:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:45:05 - End Time 2025-03-20 13:45:05 [2025-03-20 13:45:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723233', 'tblTempUsageDetail_20' ) start [2025-03-20 13:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723233', 'tblTempUsageDetail_20' ) end [2025-03-20 13:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723233', 'tblTempVendorCDR_20' ) start [2025-03-20 13:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723233', 'tblTempVendorCDR_20' ) end [2025-03-20 13:45:22] Production.INFO: ProcessCDR(1,14723233,1,1,2) [2025-03-20 13:45:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:45:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:45:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723233', 'tblTempUsageDetail_20' ) start [2025-03-20 13:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723233', 'tblTempUsageDetail_20' ) end [2025-03-20 13:45:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:45:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:45:27] Production.INFO: ==30671== Releasing lock... [2025-03-20 13:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:45:27] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 17:46:02] Production.INFO: ==30733== Lock acquired, processing the job... [2025-03-20 17:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:46:02] Production.INFO: neon service started [2025-03-20 17:46:02] Production.INFO: neon service started [2025-03-20 17:46:02] Production.INFO: ==30733== Releasing lock... [2025-03-20 17:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:46:02] Production.INFO: ==30735== Lock acquired, processing the job... [2025-03-20 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:46:02] Production.INFO: ==30735== Releasing lock... [2025-03-20 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:46:03] Production.INFO: ==30737== Lock acquired, processing the job... [2025-03-20 17:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:46:03] Production.INFO: ==30737== Releasing lock... [2025-03-20 17:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:46:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:46:03] Production.INFO: ==30740== Lock acquired, processing the job... [2025-03-20 13:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:46:03] Production.INFO: ==30742== Lock acquired, processing the job... [2025-03-20 13:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:46:03] Production.INFO: ==30744== Lock acquired, processing the job... [2025-03-20 13:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:46:03] Production.INFO: ==30746== Lock acquired, processing the job... [2025-03-20 13:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:46:03] Production.INFO: ==30748== Lock acquired, processing the job... [2025-03-20 13:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:46:04] Production.INFO: Account Balance Start. [2025-03-20 13:46:04] Production.INFO: CreateAllLog Start [2025-03-20 13:46:04] Production.INFO: 117 [2025-03-20 13:46:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:46:04] Production.INFO: ==30750== Lock acquired, processing the job... [2025-03-20 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:04] Production.INFO: ==30742== Releasing lock... [2025-03-20 13:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:46:04] Production.INFO: count ==12 [2025-03-20 13:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:46:04] Production.INFO: count ==23 [2025-03-20 13:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723237') start [2025-03-20 13:46:04] Production.ERROR: done [2025-03-20 13:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723237') end [2025-03-20 13:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:46:04] Production.INFO: 1 [2025-03-20 13:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:46:04] Production.ERROR: done [2025-03-20 13:46:04] Production.INFO: ==30750== Releasing lock... [2025-03-20 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:46:05] Production.INFO: Total Charge 0 [2025-03-20 13:46:05] Production.INFO: CreateAllLog End [2025-03-20 13:46:05] Production.INFO: Account Balance End. [2025-03-20 13:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:46:05] Production.INFO: ==30746== Releasing lock... [2025-03-20 13:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:46:05 [end_date_ymd] => 2025-03-20 13:46:05 [RateCDR] => 1 ) [2025-03-20 13:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:46:05' and `end` < '2025-03-20 13:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:46:13] Production.ERROR: CronJobId end10 [2025-03-20 13:46:13] Production.INFO: ==30744== Releasing lock... [2025-03-20 13:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:46:14] Production.INFO: call_cost start [2025-03-20 13:46:14] Production.INFO: call_cost end [2025-03-20 13:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:46:15] Production.INFO: ==30740== Releasing lock... [2025-03-20 13:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:46:19] Production.INFO: count ==6495 [2025-03-20 13:46:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:46:05 - End Time 2025-03-20 13:46:05 [2025-03-20 13:46:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723238', 'tblTempUsageDetail_20' ) start [2025-03-20 13:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723238', 'tblTempUsageDetail_20' ) end [2025-03-20 13:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723238', 'tblTempVendorCDR_20' ) start [2025-03-20 13:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723238', 'tblTempVendorCDR_20' ) end [2025-03-20 13:46:22] Production.INFO: ProcessCDR(1,14723238,1,1,2) [2025-03-20 13:46:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:46:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:46:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:46:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723238', 'tblTempUsageDetail_20' ) start [2025-03-20 13:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723238', 'tblTempUsageDetail_20' ) end [2025-03-20 13:46:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:46:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:46:27] Production.INFO: ==30748== Releasing lock... [2025-03-20 13:46:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:46:27] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 17:47:01] Production.INFO: ==30810== Lock acquired, processing the job... [2025-03-20 17:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:47:01] Production.INFO: neon service started [2025-03-20 17:47:01] Production.INFO: neon service started [2025-03-20 17:47:01] Production.INFO: ==30810== Releasing lock... [2025-03-20 17:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:47:01] Production.INFO: ==30812== Lock acquired, processing the job... [2025-03-20 13:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:47:02] Production.INFO: ==30814== Lock acquired, processing the job... [2025-03-20 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:47:02] Production.INFO: ==30814== Releasing lock... [2025-03-20 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:47:02] Production.INFO: ==30812== Releasing lock... [2025-03-20 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:47:03] Production.INFO: ==30816== Lock acquired, processing the job... [2025-03-20 13:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:47:03] Production.INFO: ==30818== Lock acquired, processing the job... [2025-03-20 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:47:03] Production.INFO: ==30818== Releasing lock... [2025-03-20 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:47:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:47:03] Production.INFO: ==30820== Lock acquired, processing the job... [2025-03-20 13:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:47:03] Production.INFO: ==30822== Lock acquired, processing the job... [2025-03-20 13:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:47:03] Production.INFO: ==30825== Lock acquired, processing the job... [2025-03-20 13:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:47:03] Production.INFO: ==30827== Lock acquired, processing the job... [2025-03-20 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:47:03] Production.INFO: Account Balance Start. [2025-03-20 13:47:03] Production.INFO: CreateAllLog Start [2025-03-20 13:47:03] Production.INFO: 117 [2025-03-20 13:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:47:03] Production.INFO: count ==12 [2025-03-20 13:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:47:03] Production.INFO: count ==23 [2025-03-20 13:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723242') start [2025-03-20 13:47:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723242') end [2025-03-20 13:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:47:04] Production.INFO: 1 [2025-03-20 13:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:47:04] Production.ERROR: done [2025-03-20 13:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.INFO: ==30827== Releasing lock... [2025-03-20 13:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:47:04] Production.ERROR: done [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:47:04] Production.INFO: Total Charge 0 [2025-03-20 13:47:04] Production.INFO: CreateAllLog End [2025-03-20 13:47:04] Production.INFO: Account Balance End. [2025-03-20 13:47:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:47:04] Production.INFO: ==30822== Releasing lock... [2025-03-20 13:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:47:05 [end_date_ymd] => 2025-03-20 13:47:05 [RateCDR] => 1 ) [2025-03-20 13:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:47:05' and `end` < '2025-03-20 13:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:47:13] Production.ERROR: CronJobId end10 [2025-03-20 13:47:13] Production.INFO: ==30820== Releasing lock... [2025-03-20 13:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:47:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:47:15] Production.INFO: call_cost start [2025-03-20 13:47:15] Production.INFO: call_cost end [2025-03-20 13:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:47:16] Production.INFO: ==30816== Releasing lock... [2025-03-20 13:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:47:18] Production.INFO: count ==6501 [2025-03-20 13:47:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:47:05 - End Time 2025-03-20 13:47:05 [2025-03-20 13:47:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723243', 'tblTempUsageDetail_20' ) start [2025-03-20 13:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723243', 'tblTempUsageDetail_20' ) end [2025-03-20 13:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723243', 'tblTempVendorCDR_20' ) start [2025-03-20 13:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723243', 'tblTempVendorCDR_20' ) end [2025-03-20 13:47:21] Production.INFO: ProcessCDR(1,14723243,1,1,2) [2025-03-20 13:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:47:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:47:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:47:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723243', 'tblTempUsageDetail_20' ) start [2025-03-20 13:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723243', 'tblTempUsageDetail_20' ) end [2025-03-20 13:47:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:47:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:47:26] Production.INFO: ==30825== Releasing lock... [2025-03-20 13:47:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:47:26] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 17:48:02] Production.INFO: ==30889== Lock acquired, processing the job... [2025-03-20 17:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:48:02] Production.INFO: neon service started [2025-03-20 17:48:02] Production.INFO: neon service started [2025-03-20 17:48:02] Production.INFO: ==30889== Releasing lock... [2025-03-20 17:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:48:02] Production.INFO: ==30891== Lock acquired, processing the job... [2025-03-20 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:48:02] Production.INFO: ==30893== Lock acquired, processing the job... [2025-03-20 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:48:02] Production.INFO: ==30893== Releasing lock... [2025-03-20 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:48:03] Production.INFO: ==30891== Releasing lock... [2025-03-20 13:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:48:04] Production.INFO: ==30904== Lock acquired, processing the job... [2025-03-20 13:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:48:04] Production.INFO: ==30902== Lock acquired, processing the job... [2025-03-20 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:48:04] Production.INFO: ==30896== Lock acquired, processing the job... [2025-03-20 13:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:48:04] Production.INFO: Account Balance Start. [2025-03-20 13:48:04] Production.INFO: CreateAllLog Start [2025-03-20 13:48:04] Production.INFO: 117 [2025-03-20 13:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.INFO: ==30898== Lock acquired, processing the job... [2025-03-20 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.INFO: ==30906== Lock acquired, processing the job... [2025-03-20 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:48:04] Production.INFO: ==30900== Lock acquired, processing the job... [2025-03-20 13:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.INFO: count ==12 [2025-03-20 13:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:48:04] Production.INFO: count ==23 [2025-03-20 13:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723246') start [2025-03-20 13:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.ERROR: done [2025-03-20 13:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:48:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723246') end [2025-03-20 13:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:48:04] Production.INFO: 1 [2025-03-20 13:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:48:04] Production.INFO: Total Charge 0 [2025-03-20 13:48:04] Production.INFO: CreateAllLog End [2025-03-20 13:48:04] Production.INFO: ==30906== Releasing lock... [2025-03-20 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:48:04] Production.INFO: ==30898== Releasing lock... [2025-03-20 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:48:04] Production.ERROR: done [2025-03-20 13:48:05] Production.INFO: Account Balance End. [2025-03-20 13:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:48:05] Production.INFO: ==30902== Releasing lock... [2025-03-20 13:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:48:06 [end_date_ymd] => 2025-03-20 13:48:06 [RateCDR] => 1 ) [2025-03-20 13:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:48:06' and `end` < '2025-03-20 13:48:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:48:13] Production.ERROR: CronJobId end10 [2025-03-20 13:48:13] Production.INFO: ==30900== Releasing lock... [2025-03-20 13:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:48:16] Production.INFO: call_cost start [2025-03-20 13:48:16] Production.INFO: call_cost end [2025-03-20 13:48:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:48:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:48:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:48:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:48:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:48:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:48:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:48:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:48:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:48:17] Production.INFO: ==30896== Releasing lock... [2025-03-20 13:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:48:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:48:19] Production.INFO: count ==6492 [2025-03-20 13:48:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:48:06 - End Time 2025-03-20 13:48:06 [2025-03-20 13:48:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723248', 'tblTempUsageDetail_20' ) start [2025-03-20 13:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723248', 'tblTempUsageDetail_20' ) end [2025-03-20 13:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723248', 'tblTempVendorCDR_20' ) start [2025-03-20 13:48:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723248', 'tblTempVendorCDR_20' ) end [2025-03-20 13:48:23] Production.INFO: ProcessCDR(1,14723248,1,1,2) [2025-03-20 13:48:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:48:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:48:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:48:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723248', 'tblTempUsageDetail_20' ) start [2025-03-20 13:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723248', 'tblTempUsageDetail_20' ) end [2025-03-20 13:48:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:48:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:48:28] Production.INFO: ==30904== Releasing lock... [2025-03-20 13:48:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:48:28] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 17:49:01] Production.INFO: ==30970== Lock acquired, processing the job... [2025-03-20 17:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:49:01] Production.INFO: neon service started [2025-03-20 17:49:01] Production.INFO: neon service started [2025-03-20 17:49:01] Production.INFO: ==30970== Releasing lock... [2025-03-20 17:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:49:01] Production.INFO: ==30972== Lock acquired, processing the job... [2025-03-20 13:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:49:02] Production.INFO: ==30974== Lock acquired, processing the job... [2025-03-20 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:49:02] Production.INFO: ==30974== Releasing lock... [2025-03-20 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:49:02] Production.INFO: ==30972== Releasing lock... [2025-03-20 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:49:02] Production.INFO: ==30978== Lock acquired, processing the job... [2025-03-20 13:49:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:49:02] Production.INFO: ==30980== Lock acquired, processing the job... [2025-03-20 13:49:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:49:02] Production.INFO: ==30982== Lock acquired, processing the job... [2025-03-20 13:49:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:49:03] Production.INFO: ==30984== Lock acquired, processing the job... [2025-03-20 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:49:03] Production.INFO: ==30980== Releasing lock... [2025-03-20 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:49:03] Production.INFO: Account Balance Start. [2025-03-20 13:49:03] Production.INFO: CreateAllLog Start [2025-03-20 13:49:03] Production.INFO: 117 [2025-03-20 13:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:03] Production.INFO: ==30986== Lock acquired, processing the job... [2025-03-20 13:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:49:03] Production.INFO: ==30988== Lock acquired, processing the job... [2025-03-20 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:49:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:49:03] Production.INFO: count ==12 [2025-03-20 13:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:49:03] Production.INFO: count ==23 [2025-03-20 13:49:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723252') start [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:03] Production.INFO: Date 2025-03-14 [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723252') end [2025-03-20 13:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:49:03] Production.INFO: 1 [2025-03-20 13:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:49:03] Production.INFO: Date 2025-03-15 [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:03] Production.INFO: Date 2025-03-16 [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:03] Production.INFO: Date 2025-03-17 [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:03] Production.INFO: Date 2025-03-18 [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:03] Production.INFO: ==30988== Releasing lock... [2025-03-20 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:49:03] Production.ERROR: done [2025-03-20 13:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:49:03] Production.INFO: Date 2025-03-19 [2025-03-20 13:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:49:04] Production.INFO: Total Charge 0 [2025-03-20 13:49:04] Production.INFO: CreateAllLog End [2025-03-20 13:49:04] Production.ERROR: done [2025-03-20 13:49:04] Production.INFO: Account Balance End. [2025-03-20 13:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:49:04] Production.INFO: ==30984== Releasing lock... [2025-03-20 13:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:49:05 [end_date_ymd] => 2025-03-20 13:49:05 [RateCDR] => 1 ) [2025-03-20 13:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:49:05' and `end` < '2025-03-20 13:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:49:13] Production.ERROR: CronJobId end10 [2025-03-20 13:49:13] Production.INFO: ==30982== Releasing lock... [2025-03-20 13:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:49:14] Production.INFO: call_cost start [2025-03-20 13:49:14] Production.INFO: call_cost end [2025-03-20 13:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:49:15] Production.INFO: ==30978== Releasing lock... [2025-03-20 13:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:49:18] Production.INFO: count ==6486 [2025-03-20 13:49:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:49:05 - End Time 2025-03-20 13:49:05 [2025-03-20 13:49:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723253', 'tblTempUsageDetail_20' ) start [2025-03-20 13:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723253', 'tblTempUsageDetail_20' ) end [2025-03-20 13:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723253', 'tblTempVendorCDR_20' ) start [2025-03-20 13:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723253', 'tblTempVendorCDR_20' ) end [2025-03-20 13:49:21] Production.INFO: ProcessCDR(1,14723253,1,1,2) [2025-03-20 13:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:49:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:49:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:49:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723253', 'tblTempUsageDetail_20' ) start [2025-03-20 13:49:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723253', 'tblTempUsageDetail_20' ) end [2025-03-20 13:49:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:49:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:49:26] Production.INFO: ==30986== Releasing lock... [2025-03-20 13:49:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:49:26] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 17:50:01] Production.INFO: ==31053== Lock acquired, processing the job... [2025-03-20 17:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:50:01] Production.INFO: neon service started [2025-03-20 17:50:01] Production.INFO: neon service started [2025-03-20 17:50:01] Production.INFO: ==31053== Releasing lock... [2025-03-20 17:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:50:02] Production.INFO: ==31057== Lock acquired, processing the job... [2025-03-20 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:50:02] Production.INFO: ==31059== Lock acquired, processing the job... [2025-03-20 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:50:02] Production.INFO: ==31059== Releasing lock... [2025-03-20 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:50:03] Production.INFO: ==31057== Releasing lock... [2025-03-20 13:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:50:04] Production.INFO: ==31066== Lock acquired, processing the job... [2025-03-20 13:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:50:04] Production.INFO: ==31062== Lock acquired, processing the job... [2025-03-20 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 13:50:04] Production.INFO: ==31064== Lock acquired, processing the job... [2025-03-20 13:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 13:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 13:50:04] Production.ERROR: CronJob PID - 31064 [2025-03-20 13:50:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 13:50:04] Production.ERROR: CronJob ID - 5 [2025-03-20 13:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 13:50:00 [2025-03-20 13:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 13:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 13:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 13:50:04] Production.ERROR: CronJob PID - 31066 [2025-03-20 13:50:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 13:50:04] Production.ERROR: CronJob ID - 7 [2025-03-20 13:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 13:50:00 [2025-03-20 13:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 13:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 13:50:04] Production.INFO: ==31072== Lock acquired, processing the job... [2025-03-20 13:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:50:04] Production.INFO: ==31068== Lock acquired, processing the job... [2025-03-20 13:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:50:04] Production.INFO: ==31070== Lock acquired, processing the job... [2025-03-20 13:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 13:50:04] Production.INFO: ==31062== Releasing lock... [2025-03-20 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 13:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 13:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:50:04] Production.INFO: ==31076== Lock acquired, processing the job... [2025-03-20 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:50:04] Production.INFO: ==31074== Lock acquired, processing the job... [2025-03-20 13:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 13:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:50:04] Production.INFO: Account Balance Start. [2025-03-20 13:50:04] Production.INFO: CreateAllLog Start [2025-03-20 13:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:50:04] Production.INFO: 117 [2025-03-20 13:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:50:04] Production.INFO: ==31066== Releasing lock... [2025-03-20 13:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:50:04] Production.INFO: count ==12 [2025-03-20 13:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:50:04] Production.INFO: count ==23 [2025-03-20 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723257') start [2025-03-20 13:50:04] Production.ERROR: done [2025-03-20 13:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723257') end [2025-03-20 13:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:50:04] Production.INFO: 1 [2025-03-20 13:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:04] Production.INFO: ==31076== Releasing lock... [2025-03-20 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:50:04] Production.ERROR: done [2025-03-20 13:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:04] Production.ERROR: done [2025-03-20 13:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 13:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723259', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 13:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 13:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 13:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 13:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:50:05] Production.INFO: Total Charge 0 [2025-03-20 13:50:05] Production.INFO: CreateAllLog End [2025-03-20 13:50:05] Production.INFO: Account Balance End. [2025-03-20 13:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:50:05] Production.INFO: ==31070== Releasing lock... [2025-03-20 13:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:50:06 [end_date_ymd] => 2025-03-20 13:50:06 [RateCDR] => 1 ) [2025-03-20 13:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:50:06' and `end` < '2025-03-20 13:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723259', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 13:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 13:50:09] Production.INFO: ProcessCDR(1,14723259,1,1,2) [2025-03-20 13:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723259,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723259,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:50:09] Production.INFO: ==31074== Releasing lock... [2025-03-20 13:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 13:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 13:50:15] Production.ERROR: CronJobId end10 [2025-03-20 13:50:15] Production.INFO: ==31068== Releasing lock... [2025-03-20 13:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:50:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:50:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:50:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:50:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:50:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:50:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:50:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:50:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:50:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:50:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:50:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:50:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:50:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:50:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:50:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:50:16] Production.INFO: call_cost start [2025-03-20 13:50:16] Production.INFO: call_cost end [2025-03-20 13:50:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:50:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:50:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:50:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:50:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:50:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:50:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:50:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:50:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:50:17] Production.INFO: ==31064== Releasing lock... [2025-03-20 13:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:50:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:50:19] Production.INFO: count ==6506 [2025-03-20 13:50:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:50:06 - End Time 2025-03-20 13:50:06 [2025-03-20 13:50:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723258', 'tblTempUsageDetail_20' ) start [2025-03-20 13:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723258', 'tblTempUsageDetail_20' ) end [2025-03-20 13:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723258', 'tblTempVendorCDR_20' ) start [2025-03-20 13:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723258', 'tblTempVendorCDR_20' ) end [2025-03-20 13:50:23] Production.INFO: ProcessCDR(1,14723258,1,1,2) [2025-03-20 13:50:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:50:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:50:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:50:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723258', 'tblTempUsageDetail_20' ) start [2025-03-20 13:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723258', 'tblTempUsageDetail_20' ) end [2025-03-20 13:50:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:50:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:50:28] Production.INFO: ==31072== Releasing lock... [2025-03-20 13:50:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:50:28] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 17:51:01] Production.INFO: ==31180== Lock acquired, processing the job... [2025-03-20 17:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:51:01] Production.INFO: neon service started [2025-03-20 17:51:01] Production.INFO: neon service started [2025-03-20 17:51:01] Production.INFO: ==31180== Releasing lock... [2025-03-20 17:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:51:01] Production.INFO: ==31182== Lock acquired, processing the job... [2025-03-20 13:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:51:02] Production.INFO: ==31182== Releasing lock... [2025-03-20 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:51:02] Production.INFO: ==31184== Lock acquired, processing the job... [2025-03-20 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:51:02] Production.INFO: ==31184== Releasing lock... [2025-03-20 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:51:03] Production.INFO: ==31190== Lock acquired, processing the job... [2025-03-20 13:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:51:03] Production.INFO: ==31194== Lock acquired, processing the job... [2025-03-20 13:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:51:03] Production.INFO: ==31186== Lock acquired, processing the job... [2025-03-20 13:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:51:03] Production.INFO: ==31188== Lock acquired, processing the job... [2025-03-20 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:51:03] Production.INFO: ==31192== Lock acquired, processing the job... [2025-03-20 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:51:03] Production.INFO: ==31197== Lock acquired, processing the job... [2025-03-20 13:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:51:03] Production.ERROR: done [2025-03-20 13:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:51:03] Production.INFO: Account Balance Start. [2025-03-20 13:51:03] Production.INFO: CreateAllLog Start [2025-03-20 13:51:03] Production.INFO: 117 [2025-03-20 13:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:03] Production.INFO: count ==12 [2025-03-20 13:51:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:51:03] Production.INFO: count ==23 [2025-03-20 13:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723262') start [2025-03-20 13:51:03] Production.ERROR: done [2025-03-20 13:51:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723262') end [2025-03-20 13:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:51:03] Production.INFO: 1 [2025-03-20 13:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:51:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:03] Production.INFO: ==31197== Releasing lock... [2025-03-20 13:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:51:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:04] Production.INFO: ==31188== Releasing lock... [2025-03-20 13:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:51:04] Production.INFO: Total Charge 0 [2025-03-20 13:51:04] Production.INFO: CreateAllLog End [2025-03-20 13:51:04] Production.INFO: Account Balance End. [2025-03-20 13:51:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:51:04] Production.INFO: ==31192== Releasing lock... [2025-03-20 13:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:51:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:51:04 [end_date_ymd] => 2025-03-20 13:51:04 [RateCDR] => 1 ) [2025-03-20 13:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:51:04' and `end` < '2025-03-20 13:51:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:51:13] Production.ERROR: CronJobId end10 [2025-03-20 13:51:13] Production.INFO: ==31190== Releasing lock... [2025-03-20 13:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:51:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:51:15] Production.INFO: call_cost start [2025-03-20 13:51:15] Production.INFO: call_cost end [2025-03-20 13:51:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:51:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:51:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:51:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:51:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:51:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:51:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:51:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:51:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:51:16] Production.INFO: ==31186== Releasing lock... [2025-03-20 13:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:51:18] Production.INFO: count ==6526 [2025-03-20 13:51:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:51:04 - End Time 2025-03-20 13:51:04 [2025-03-20 13:51:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723264', 'tblTempUsageDetail_20' ) start [2025-03-20 13:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723264', 'tblTempUsageDetail_20' ) end [2025-03-20 13:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723264', 'tblTempVendorCDR_20' ) start [2025-03-20 13:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723264', 'tblTempVendorCDR_20' ) end [2025-03-20 13:51:21] Production.INFO: ProcessCDR(1,14723264,1,1,2) [2025-03-20 13:51:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723264,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723264,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723264', 'tblTempUsageDetail_20' ) start [2025-03-20 13:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723264', 'tblTempUsageDetail_20' ) end [2025-03-20 13:51:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:51:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:51:26] Production.INFO: ==31194== Releasing lock... [2025-03-20 13:51:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:51:26] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 17:52:01] Production.INFO: ==31269== Lock acquired, processing the job... [2025-03-20 17:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:52:01] Production.INFO: neon service started [2025-03-20 17:52:01] Production.INFO: neon service started [2025-03-20 17:52:01] Production.INFO: ==31269== Releasing lock... [2025-03-20 17:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:52:02] Production.INFO: ==31271== Lock acquired, processing the job... [2025-03-20 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:52:02] Production.INFO: ==31271== Releasing lock... [2025-03-20 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:52:02] Production.INFO: ==31273== Lock acquired, processing the job... [2025-03-20 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:52:02] Production.INFO: ==31273== Releasing lock... [2025-03-20 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:52:03] Production.INFO: ==31276== Lock acquired, processing the job... [2025-03-20 13:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:52:03] Production.INFO: ==31280== Lock acquired, processing the job... [2025-03-20 13:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:52:03] Production.INFO: ==31278== Lock acquired, processing the job... [2025-03-20 13:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:52:03] Production.INFO: ==31286== Lock acquired, processing the job... [2025-03-20 13:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:52:03] Production.INFO: ==31284== Lock acquired, processing the job... [2025-03-20 13:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:52:03] Production.INFO: ==31282== Lock acquired, processing the job... [2025-03-20 13:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:52:03] Production.INFO: count ==12 [2025-03-20 13:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:52:03] Production.INFO: Account Balance Start. [2025-03-20 13:52:03] Production.INFO: CreateAllLog Start [2025-03-20 13:52:03] Production.INFO: count ==23 [2025-03-20 13:52:03] Production.INFO: 117 [2025-03-20 13:52:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:52:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723267') start [2025-03-20 13:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.INFO: ==31278== Releasing lock... [2025-03-20 13:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723267') end [2025-03-20 13:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:52:04] Production.INFO: 1 [2025-03-20 13:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.INFO: ==31286== Releasing lock... [2025-03-20 13:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.ERROR: done [2025-03-20 13:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.ERROR: done [2025-03-20 13:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:52:04] Production.INFO: Total Charge 0 [2025-03-20 13:52:04] Production.INFO: CreateAllLog End [2025-03-20 13:52:04] Production.INFO: Account Balance End. [2025-03-20 13:52:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:52:05] Production.INFO: ==31282== Releasing lock... [2025-03-20 13:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:52:05 [end_date_ymd] => 2025-03-20 13:52:05 [RateCDR] => 1 ) [2025-03-20 13:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:52:05' and `end` < '2025-03-20 13:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:52:12] Production.ERROR: CronJobId end10 [2025-03-20 13:52:12] Production.INFO: ==31280== Releasing lock... [2025-03-20 13:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:52:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:52:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:52:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:52:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:52:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:52:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:52:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:52:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:52:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:52:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:52:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:52:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:52:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:52:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:52:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:52:15] Production.INFO: call_cost start [2025-03-20 13:52:15] Production.INFO: call_cost end [2025-03-20 13:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:52:16] Production.INFO: ==31276== Releasing lock... [2025-03-20 13:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:52:19] Production.INFO: count ==6508 [2025-03-20 13:52:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:52:05 - End Time 2025-03-20 13:52:05 [2025-03-20 13:52:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723269', 'tblTempUsageDetail_20' ) start [2025-03-20 13:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723269', 'tblTempUsageDetail_20' ) end [2025-03-20 13:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723269', 'tblTempVendorCDR_20' ) start [2025-03-20 13:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723269', 'tblTempVendorCDR_20' ) end [2025-03-20 13:52:22] Production.INFO: ProcessCDR(1,14723269,1,1,2) [2025-03-20 13:52:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:52:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:52:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:52:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723269', 'tblTempUsageDetail_20' ) start [2025-03-20 13:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723269', 'tblTempUsageDetail_20' ) end [2025-03-20 13:52:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:52:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:52:27] Production.INFO: ==31284== Releasing lock... [2025-03-20 13:52:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:52:27] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 17:53:02] Production.INFO: ==31361== Lock acquired, processing the job... [2025-03-20 17:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:53:02] Production.INFO: neon service started [2025-03-20 17:53:02] Production.INFO: neon service started [2025-03-20 17:53:02] Production.INFO: ==31361== Releasing lock... [2025-03-20 17:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:53:03] Production.INFO: ==31363== Lock acquired, processing the job... [2025-03-20 13:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:53:03] Production.INFO: ==31365== Lock acquired, processing the job... [2025-03-20 17:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:53:03] Production.INFO: ==31365== Releasing lock... [2025-03-20 17:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:53:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:53:03] Production.INFO: ==31363== Releasing lock... [2025-03-20 13:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:53:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:53:04] Production.INFO: ==31368== Lock acquired, processing the job... [2025-03-20 13:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:53:04] Production.INFO: ==31370== Lock acquired, processing the job... [2025-03-20 13:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:53:04] Production.INFO: ==31374== Lock acquired, processing the job... [2025-03-20 13:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:53:04] Production.INFO: Account Balance Start. [2025-03-20 13:53:04] Production.INFO: CreateAllLog Start [2025-03-20 13:53:04] Production.INFO: 117 [2025-03-20 13:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:04] Production.INFO: ==31372== Lock acquired, processing the job... [2025-03-20 13:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:53:04] Production.INFO: ==31376== Lock acquired, processing the job... [2025-03-20 13:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:53:04] Production.INFO: ==31378== Lock acquired, processing the job... [2025-03-20 13:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:04] Production.INFO: ==31370== Releasing lock... [2025-03-20 13:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:04] Production.INFO: count ==12 [2025-03-20 13:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:53:04] Production.INFO: count ==23 [2025-03-20 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723273') start [2025-03-20 13:53:04] Production.ERROR: done [2025-03-20 13:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:53:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:53:05] Production.INFO: Total Charge 0 [2025-03-20 13:53:05] Production.INFO: CreateAllLog End [2025-03-20 13:53:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723273') end [2025-03-20 13:53:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:53:05] Production.INFO: 1 [2025-03-20 13:53:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:53:05] Production.INFO: ==31378== Releasing lock... [2025-03-20 13:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:53:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:53:05] Production.ERROR: done [2025-03-20 13:53:05] Production.INFO: Account Balance End. [2025-03-20 13:53:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:53:05] Production.INFO: ==31374== Releasing lock... [2025-03-20 13:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:53:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:53:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:53:06 [end_date_ymd] => 2025-03-20 13:53:06 [RateCDR] => 1 ) [2025-03-20 13:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:53:06' and `end` < '2025-03-20 13:53:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:53:13] Production.ERROR: CronJobId end10 [2025-03-20 13:53:13] Production.INFO: ==31372== Releasing lock... [2025-03-20 13:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:53:15] Production.INFO: call_cost start [2025-03-20 13:53:15] Production.INFO: call_cost end [2025-03-20 13:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:53:16] Production.INFO: ==31368== Releasing lock... [2025-03-20 13:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:53:20] Production.INFO: count ==6513 [2025-03-20 13:53:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:53:06 - End Time 2025-03-20 13:53:06 [2025-03-20 13:53:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723274', 'tblTempUsageDetail_20' ) start [2025-03-20 13:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723274', 'tblTempUsageDetail_20' ) end [2025-03-20 13:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723274', 'tblTempVendorCDR_20' ) start [2025-03-20 13:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723274', 'tblTempVendorCDR_20' ) end [2025-03-20 13:53:23] Production.INFO: ProcessCDR(1,14723274,1,1,2) [2025-03-20 13:53:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:53:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:53:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:53:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723274', 'tblTempUsageDetail_20' ) start [2025-03-20 13:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723274', 'tblTempUsageDetail_20' ) end [2025-03-20 13:53:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:53:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:53:28] Production.INFO: ==31376== Releasing lock... [2025-03-20 13:53:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:53:28] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 17:54:01] Production.INFO: ==31443== Lock acquired, processing the job... [2025-03-20 17:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:54:01] Production.INFO: neon service started [2025-03-20 17:54:01] Production.INFO: neon service started [2025-03-20 17:54:01] Production.INFO: ==31443== Releasing lock... [2025-03-20 17:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:54:02] Production.INFO: ==31447== Lock acquired, processing the job... [2025-03-20 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:54:02] Production.INFO: ==31447== Releasing lock... [2025-03-20 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:54:02] Production.INFO: ==31445== Lock acquired, processing the job... [2025-03-20 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:54:02] Production.INFO: ==31445== Releasing lock... [2025-03-20 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:54:03] Production.INFO: ==31452== Lock acquired, processing the job... [2025-03-20 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:54:03] Production.INFO: ==31460== Lock acquired, processing the job... [2025-03-20 13:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:54:03] Production.INFO: ==31450== Lock acquired, processing the job... [2025-03-20 13:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:54:03] Production.INFO: ==31454== Lock acquired, processing the job... [2025-03-20 13:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:54:03] Production.INFO: ==31452== Releasing lock... [2025-03-20 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:54:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:54:03] Production.INFO: count ==12 [2025-03-20 13:54:03] Production.INFO: ==31456== Lock acquired, processing the job... [2025-03-20 13:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:54:03] Production.INFO: count ==23 [2025-03-20 13:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723276') start [2025-03-20 13:54:03] Production.INFO: ==31458== Lock acquired, processing the job... [2025-03-20 13:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:54:03] Production.INFO: Account Balance Start. [2025-03-20 13:54:03] Production.INFO: CreateAllLog Start [2025-03-20 13:54:03] Production.INFO: 117 [2025-03-20 13:54:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723276') end [2025-03-20 13:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:54:04] Production.INFO: 1 [2025-03-20 13:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.INFO: ==31460== Releasing lock... [2025-03-20 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.ERROR: done [2025-03-20 13:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.ERROR: done [2025-03-20 13:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:54:04] Production.INFO: Total Charge 0 [2025-03-20 13:54:04] Production.INFO: CreateAllLog End [2025-03-20 13:54:05] Production.INFO: Account Balance End. [2025-03-20 13:54:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:54:05] Production.INFO: ==31456== Releasing lock... [2025-03-20 13:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:54:05 [end_date_ymd] => 2025-03-20 13:54:05 [RateCDR] => 1 ) [2025-03-20 13:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:54:05' and `end` < '2025-03-20 13:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:54:12] Production.ERROR: CronJobId end10 [2025-03-20 13:54:12] Production.INFO: ==31454== Releasing lock... [2025-03-20 13:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:54:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:54:14] Production.INFO: call_cost start [2025-03-20 13:54:14] Production.INFO: call_cost end [2025-03-20 13:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:54:15] Production.INFO: ==31450== Releasing lock... [2025-03-20 13:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:54:19] Production.INFO: count ==6519 [2025-03-20 13:54:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:54:05 - End Time 2025-03-20 13:54:05 [2025-03-20 13:54:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723279', 'tblTempUsageDetail_20' ) start [2025-03-20 13:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723279', 'tblTempUsageDetail_20' ) end [2025-03-20 13:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723279', 'tblTempVendorCDR_20' ) start [2025-03-20 13:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723279', 'tblTempVendorCDR_20' ) end [2025-03-20 13:54:22] Production.INFO: ProcessCDR(1,14723279,1,1,2) [2025-03-20 13:54:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:54:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:54:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:54:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723279', 'tblTempUsageDetail_20' ) start [2025-03-20 13:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723279', 'tblTempUsageDetail_20' ) end [2025-03-20 13:54:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:54:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:54:27] Production.INFO: ==31458== Releasing lock... [2025-03-20 13:54:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:54:27] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 17:55:02] Production.INFO: ==31527== Lock acquired, processing the job... [2025-03-20 17:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:55:02] Production.INFO: neon service started [2025-03-20 17:55:02] Production.INFO: neon service started [2025-03-20 17:55:02] Production.INFO: ==31527== Releasing lock... [2025-03-20 17:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:55:02] Production.INFO: ==31529== Lock acquired, processing the job... [2025-03-20 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:55:02] Production.INFO: ==31531== Lock acquired, processing the job... [2025-03-20 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:55:02] Production.INFO: ==31531== Releasing lock... [2025-03-20 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:55:03] Production.INFO: ==31529== Releasing lock... [2025-03-20 13:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:55:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:55:04] Production.INFO: ==31542== Lock acquired, processing the job... [2025-03-20 13:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:55:04] Production.INFO: ==31544== Lock acquired, processing the job... [2025-03-20 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:55:04] Production.INFO: ==31534== Lock acquired, processing the job... [2025-03-20 13:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:55:04] Production.INFO: ==31536== Lock acquired, processing the job... [2025-03-20 13:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:55:04] Production.INFO: ==31540== Lock acquired, processing the job... [2025-03-20 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:55:04] Production.INFO: ==31538== Lock acquired, processing the job... [2025-03-20 13:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:55:04] Production.INFO: count ==12 [2025-03-20 13:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:55:04] Production.INFO: count ==23 [2025-03-20 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723280') start [2025-03-20 13:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:55:04] Production.INFO: Account Balance Start. [2025-03-20 13:55:04] Production.INFO: CreateAllLog Start [2025-03-20 13:55:04] Production.INFO: 117 [2025-03-20 13:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723280') end [2025-03-20 13:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:55:04] Production.INFO: 1 [2025-03-20 13:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:04] Production.INFO: ==31544== Releasing lock... [2025-03-20 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:55:04] Production.ERROR: done [2025-03-20 13:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:04] Production.ERROR: done [2025-03-20 13:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:04] Production.INFO: ==31536== Releasing lock... [2025-03-20 13:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:55:05] Production.INFO: Date 2025-03-19 [2025-03-20 13:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:05] Production.INFO: Date 2025-03-20 [2025-03-20 13:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 13:55:05] Production.INFO: Total Charge 0 [2025-03-20 13:55:05] Production.INFO: CreateAllLog End [2025-03-20 13:55:05] Production.INFO: Account Balance End. [2025-03-20 13:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:55:05] Production.INFO: ==31540== Releasing lock... [2025-03-20 13:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:55:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:55:06 [end_date_ymd] => 2025-03-20 13:55:06 [RateCDR] => 1 ) [2025-03-20 13:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:55:06' and `end` < '2025-03-20 13:55:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:55:13] Production.ERROR: CronJobId end10 [2025-03-20 13:55:13] Production.INFO: ==31538== Releasing lock... [2025-03-20 13:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:55:15] Production.INFO: call_cost start [2025-03-20 13:55:15] Production.INFO: call_cost end [2025-03-20 13:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:55:15] Production.INFO: ==31534== Releasing lock... [2025-03-20 13:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:55:19] Production.INFO: count ==6559 [2025-03-20 13:55:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:55:06 - End Time 2025-03-20 13:55:06 [2025-03-20 13:55:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723284', 'tblTempUsageDetail_20' ) start [2025-03-20 13:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723284', 'tblTempUsageDetail_20' ) end [2025-03-20 13:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723284', 'tblTempVendorCDR_20' ) start [2025-03-20 13:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723284', 'tblTempVendorCDR_20' ) end [2025-03-20 13:55:22] Production.INFO: ProcessCDR(1,14723284,1,1,2) [2025-03-20 13:55:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:55:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:55:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:55:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723284', 'tblTempUsageDetail_20' ) start [2025-03-20 13:55:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723284', 'tblTempUsageDetail_20' ) end [2025-03-20 13:55:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:55:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:55:28] Production.INFO: ==31542== Releasing lock... [2025-03-20 13:55:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:55:28] Production.INFO: 77 MB #Memory Used# [2025-03-20 17:56:01] Production.INFO: ==31621== Lock acquired, processing the job... [2025-03-20 17:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:56:01] Production.INFO: neon service started [2025-03-20 17:56:01] Production.INFO: neon service started [2025-03-20 17:56:01] Production.INFO: ==31621== Releasing lock... [2025-03-20 17:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:56:02] Production.INFO: ==31623== Lock acquired, processing the job... [2025-03-20 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:56:02] Production.INFO: ==31623== Releasing lock... [2025-03-20 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:56:02] Production.INFO: ==31625== Lock acquired, processing the job... [2025-03-20 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:56:02] Production.INFO: ==31625== Releasing lock... [2025-03-20 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:56:03] Production.INFO: ==31635== Lock acquired, processing the job... [2025-03-20 13:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:56:03] Production.INFO: ==31633== Lock acquired, processing the job... [2025-03-20 13:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:56:03] Production.INFO: ==31627== Lock acquired, processing the job... [2025-03-20 13:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:56:03] Production.INFO: Account Balance Start. [2025-03-20 13:56:03] Production.INFO: CreateAllLog Start [2025-03-20 13:56:03] Production.INFO: 117 [2025-03-20 13:56:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:56:03] Production.INFO: ==31629== Lock acquired, processing the job... [2025-03-20 13:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:03] Production.INFO: ==31631== Lock acquired, processing the job... [2025-03-20 13:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:56:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:56:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:03] Production.INFO: ==31637== Lock acquired, processing the job... [2025-03-20 13:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:56:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:56:03] Production.ERROR: done [2025-03-20 13:56:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:56:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:56:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:03] Production.INFO: Date 2025-03-14 [2025-03-20 13:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:04] Production.INFO: count ==12 [2025-03-20 13:56:04] Production.ERROR: done [2025-03-20 13:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:04] Production.INFO: count ==23 [2025-03-20 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723288') start [2025-03-20 13:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:04] Production.INFO: ==31629== Releasing lock... [2025-03-20 13:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723288') end [2025-03-20 13:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:56:04] Production.INFO: 1 [2025-03-20 13:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:04] Production.INFO: ==31637== Releasing lock... [2025-03-20 13:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:56:04] Production.INFO: Total Charge 0 [2025-03-20 13:56:04] Production.INFO: CreateAllLog End [2025-03-20 13:56:04] Production.INFO: Account Balance End. [2025-03-20 13:56:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:56:04] Production.INFO: ==31633== Releasing lock... [2025-03-20 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:56:05 [end_date_ymd] => 2025-03-20 13:56:05 [RateCDR] => 1 ) [2025-03-20 13:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:56:05' and `end` < '2025-03-20 13:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:56:13] Production.ERROR: CronJobId end10 [2025-03-20 13:56:13] Production.INFO: ==31631== Releasing lock... [2025-03-20 13:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:56:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:56:15] Production.INFO: call_cost start [2025-03-20 13:56:15] Production.INFO: call_cost end [2025-03-20 13:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:56:16] Production.INFO: ==31627== Releasing lock... [2025-03-20 13:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:56:18] Production.INFO: count ==6589 [2025-03-20 13:56:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:56:05 - End Time 2025-03-20 13:56:05 [2025-03-20 13:56:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723289', 'tblTempUsageDetail_20' ) start [2025-03-20 13:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723289', 'tblTempUsageDetail_20' ) end [2025-03-20 13:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723289', 'tblTempVendorCDR_20' ) start [2025-03-20 13:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723289', 'tblTempVendorCDR_20' ) end [2025-03-20 13:56:22] Production.INFO: ProcessCDR(1,14723289,1,1,2) [2025-03-20 13:56:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:56:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723289', 'tblTempUsageDetail_20' ) start [2025-03-20 13:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723289', 'tblTempUsageDetail_20' ) end [2025-03-20 13:56:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:56:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:56:27] Production.INFO: ==31635== Releasing lock... [2025-03-20 13:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:56:27] Production.INFO: 77.25 MB #Memory Used# [2025-03-20 17:57:02] Production.INFO: ==31702== Lock acquired, processing the job... [2025-03-20 17:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:57:02] Production.INFO: neon service started [2025-03-20 17:57:02] Production.INFO: neon service started [2025-03-20 17:57:02] Production.INFO: ==31702== Releasing lock... [2025-03-20 17:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:57:02] Production.INFO: ==31706== Lock acquired, processing the job... [2025-03-20 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:57:02] Production.INFO: ==31706== Releasing lock... [2025-03-20 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:57:02] Production.INFO: ==31704== Lock acquired, processing the job... [2025-03-20 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:57:02] Production.INFO: ==31704== Releasing lock... [2025-03-20 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:57:03] Production.INFO: ==31708== Lock acquired, processing the job... [2025-03-20 13:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:57:03] Production.INFO: ==31711== Lock acquired, processing the job... [2025-03-20 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:57:03] Production.INFO: ==31717== Lock acquired, processing the job... [2025-03-20 13:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:57:03] Production.INFO: ==31715== Lock acquired, processing the job... [2025-03-20 13:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:57:03] Production.INFO: ==31713== Lock acquired, processing the job... [2025-03-20 13:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:57:04] Production.INFO: ==31711== Releasing lock... [2025-03-20 13:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:57:04] Production.INFO: ==31719== Lock acquired, processing the job... [2025-03-20 13:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:57:04] Production.INFO: Account Balance Start. [2025-03-20 13:57:04] Production.INFO: CreateAllLog Start [2025-03-20 13:57:04] Production.INFO: 117 [2025-03-20 13:57:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.ERROR: done [2025-03-20 13:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.INFO: count ==12 [2025-03-20 13:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:57:04] Production.INFO: count ==23 [2025-03-20 13:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723293') start [2025-03-20 13:57:04] Production.ERROR: done [2025-03-20 13:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723293') end [2025-03-20 13:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:57:04] Production.INFO: 1 [2025-03-20 13:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.INFO: ==31719== Releasing lock... [2025-03-20 13:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:57:04] Production.INFO: Total Charge 0 [2025-03-20 13:57:04] Production.INFO: CreateAllLog End [2025-03-20 13:57:04] Production.INFO: Account Balance End. [2025-03-20 13:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:57:04] Production.INFO: ==31715== Releasing lock... [2025-03-20 13:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:57:05 [end_date_ymd] => 2025-03-20 13:57:05 [RateCDR] => 1 ) [2025-03-20 13:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:57:05' and `end` < '2025-03-20 13:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:57:12] Production.ERROR: CronJobId end10 [2025-03-20 13:57:12] Production.INFO: ==31713== Releasing lock... [2025-03-20 13:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:57:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:57:15] Production.INFO: call_cost start [2025-03-20 13:57:15] Production.INFO: call_cost end [2025-03-20 13:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:57:16] Production.INFO: ==31708== Releasing lock... [2025-03-20 13:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:57:19] Production.INFO: count ==6577 [2025-03-20 13:57:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:57:05 - End Time 2025-03-20 13:57:05 [2025-03-20 13:57:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723294', 'tblTempUsageDetail_20' ) start [2025-03-20 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723294', 'tblTempUsageDetail_20' ) end [2025-03-20 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723294', 'tblTempVendorCDR_20' ) start [2025-03-20 13:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723294', 'tblTempVendorCDR_20' ) end [2025-03-20 13:57:22] Production.INFO: ProcessCDR(1,14723294,1,1,2) [2025-03-20 13:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:57:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:57:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:57:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723294', 'tblTempUsageDetail_20' ) start [2025-03-20 13:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723294', 'tblTempUsageDetail_20' ) end [2025-03-20 13:57:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:57:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:57:27] Production.INFO: ==31717== Releasing lock... [2025-03-20 13:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:57:27] Production.INFO: 77.25 MB #Memory Used# [2025-03-20 17:58:01] Production.INFO: ==31786== Lock acquired, processing the job... [2025-03-20 17:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:58:01] Production.INFO: neon service started [2025-03-20 17:58:01] Production.INFO: neon service started [2025-03-20 17:58:01] Production.INFO: ==31786== Releasing lock... [2025-03-20 17:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:58:02] Production.INFO: ==31790== Lock acquired, processing the job... [2025-03-20 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 13:58:02] Production.INFO: ==31790== Releasing lock... [2025-03-20 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:58:02] Production.INFO: ==31792== Lock acquired, processing the job... [2025-03-20 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:58:02] Production.INFO: ==31792== Releasing lock... [2025-03-20 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:58:03] Production.INFO: ==31803== Lock acquired, processing the job... [2025-03-20 13:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:58:03] Production.INFO: ==31805== Lock acquired, processing the job... [2025-03-20 13:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:58:03] Production.INFO: ==31795== Lock acquired, processing the job... [2025-03-20 13:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:58:03] Production.INFO: ==31797== Lock acquired, processing the job... [2025-03-20 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:58:03] Production.INFO: ==31799== Lock acquired, processing the job... [2025-03-20 13:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:58:03] Production.INFO: ==31801== Lock acquired, processing the job... [2025-03-20 13:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:58:03] Production.INFO: count ==12 [2025-03-20 13:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:58:03] Production.INFO: count ==23 [2025-03-20 13:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723295') start [2025-03-20 13:58:03] Production.ERROR: done [2025-03-20 13:58:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:58:03] Production.INFO: Account Balance Start. [2025-03-20 13:58:03] Production.INFO: CreateAllLog Start [2025-03-20 13:58:03] Production.INFO: 117 [2025-03-20 13:58:03] Production.INFO: Date 2025-03-08 [2025-03-20 13:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723295') end [2025-03-20 13:58:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:58:03] Production.INFO: 1 [2025-03-20 13:58:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:58:03] Production.INFO: Date 2025-03-09 [2025-03-20 13:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:03] Production.INFO: Date 2025-03-10 [2025-03-20 13:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:03] Production.INFO: Date 2025-03-11 [2025-03-20 13:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:03] Production.INFO: Date 2025-03-12 [2025-03-20 13:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:03] Production.INFO: ==31805== Releasing lock... [2025-03-20 13:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:58:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:58:03] Production.INFO: Date 2025-03-13 [2025-03-20 13:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:03] Production.ERROR: done [2025-03-20 13:58:03] Production.INFO: Date 2025-03-14 [2025-03-20 13:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:03] Production.INFO: Date 2025-03-15 [2025-03-20 13:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:03] Production.INFO: Date 2025-03-16 [2025-03-20 13:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:04] Production.INFO: ==31797== Releasing lock... [2025-03-20 13:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:58:04] Production.INFO: Total Charge 0 [2025-03-20 13:58:04] Production.INFO: CreateAllLog End [2025-03-20 13:58:04] Production.INFO: Account Balance End. [2025-03-20 13:58:04] Production.ERROR: CronJobId end 12 [2025-03-20 13:58:04] Production.INFO: ==31801== Releasing lock... [2025-03-20 13:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:58:05 [end_date_ymd] => 2025-03-20 13:58:05 [RateCDR] => 1 ) [2025-03-20 13:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:58:05' and `end` < '2025-03-20 13:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:58:13] Production.ERROR: CronJobId end10 [2025-03-20 13:58:13] Production.INFO: ==31799== Releasing lock... [2025-03-20 13:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:58:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:58:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:58:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:58:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:58:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:58:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:58:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:58:15] Production.INFO: call_cost start [2025-03-20 13:58:15] Production.INFO: call_cost end [2025-03-20 13:58:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:58:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:58:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:58:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:58:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:58:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:58:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:58:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:58:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:58:16] Production.INFO: ==31795== Releasing lock... [2025-03-20 13:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:58:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:58:18] Production.INFO: count ==6575 [2025-03-20 13:58:21] Production.ERROR: pbx CDR StartTime 2025-03-20 10:58:05 - End Time 2025-03-20 13:58:05 [2025-03-20 13:58:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723299', 'tblTempUsageDetail_20' ) start [2025-03-20 13:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723299', 'tblTempUsageDetail_20' ) end [2025-03-20 13:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723299', 'tblTempVendorCDR_20' ) start [2025-03-20 13:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723299', 'tblTempVendorCDR_20' ) end [2025-03-20 13:58:21] Production.INFO: ProcessCDR(1,14723299,1,1,2) [2025-03-20 13:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723299', 'tblTempUsageDetail_20' ) start [2025-03-20 13:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723299', 'tblTempUsageDetail_20' ) end [2025-03-20 13:58:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:58:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:58:26] Production.INFO: ==31803== Releasing lock... [2025-03-20 13:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:58:26] Production.INFO: 77.25 MB #Memory Used# [2025-03-20 17:59:02] Production.INFO: ==31882== Lock acquired, processing the job... [2025-03-20 17:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 17:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 17:59:02] Production.INFO: neon service started [2025-03-20 17:59:02] Production.INFO: neon service started [2025-03-20 17:59:02] Production.INFO: ==31882== Releasing lock... [2025-03-20 17:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 17:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 13:59:02] Production.INFO: ==31884== Lock acquired, processing the job... [2025-03-20 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:59:02] Production.INFO: ==31886== Lock acquired, processing the job... [2025-03-20 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:59:02] Production.INFO: ==31886== Releasing lock... [2025-03-20 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 17:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 13:59:03] Production.INFO: ==31884== Releasing lock... [2025-03-20 13:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 13:59:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 13:59:03] Production.INFO: ==31891== Lock acquired, processing the job... [2025-03-20 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 13:59:03] Production.INFO: ==31889== Lock acquired, processing the job... [2025-03-20 13:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 13:59:04] Production.INFO: ==31893== Lock acquired, processing the job... [2025-03-20 13:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 13:59:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 13:59:04] Production.INFO: ==31899== Lock acquired, processing the job... [2025-03-20 13:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 13:59:04] Production.INFO: ==31897== Lock acquired, processing the job... [2025-03-20 13:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 13:59:04] Production.INFO: ==31895== Lock acquired, processing the job... [2025-03-20 13:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 13:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 13:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 13:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 13:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 13:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 13:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:59:04] Production.INFO: Account Balance Start. [2025-03-20 13:59:04] Production.INFO: CreateAllLog Start [2025-03-20 13:59:04] Production.INFO: 117 [2025-03-20 13:59:04] Production.INFO: count ==12 [2025-03-20 13:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 13:59:04] Production.INFO: count ==23 [2025-03-20 13:59:04] Production.INFO: Date 2025-03-08 [2025-03-20 13:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723302') start [2025-03-20 13:59:04] Production.INFO: ==31891== Releasing lock... [2025-03-20 13:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 13:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723302') end [2025-03-20 13:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 13:59:04] Production.INFO: 1 [2025-03-20 13:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 13:59:04] Production.INFO: Date 2025-03-09 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.INFO: Date 2025-03-10 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.INFO: Date 2025-03-11 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.INFO: ==31899== Releasing lock... [2025-03-20 13:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 13:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 13:59:04] Production.INFO: Date 2025-03-12 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.ERROR: done [2025-03-20 13:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 13:59:04] Production.INFO: Date 2025-03-13 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 13:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 13:59:04] Production.ERROR: done [2025-03-20 13:59:04] Production.INFO: Total Charge 0 [2025-03-20 13:59:04] Production.INFO: CreateAllLog End [2025-03-20 13:59:05] Production.INFO: Account Balance End. [2025-03-20 13:59:05] Production.ERROR: CronJobId end 12 [2025-03-20 13:59:05] Production.INFO: ==31895== Releasing lock... [2025-03-20 13:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 13:59:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 13:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 10:59:05 [end_date_ymd] => 2025-03-20 13:59:05 [RateCDR] => 1 ) [2025-03-20 13:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 10:59:05' and `end` < '2025-03-20 13:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 13:59:14] Production.ERROR: CronJobId end10 [2025-03-20 13:59:14] Production.INFO: ==31893== Releasing lock... [2025-03-20 13:59:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 13:59:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 13:59:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 13:59:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 13:59:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 13:59:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 13:59:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 13:59:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 13:59:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 13:59:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 13:59:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 13:59:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 13:59:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 13:59:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 13:59:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 13:59:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 13:59:15] Production.INFO: call_cost start [2025-03-20 13:59:15] Production.INFO: call_cost end [2025-03-20 13:59:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 13:59:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 13:59:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 13:59:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 13:59:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 13:59:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 13:59:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 13:59:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 13:59:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 13:59:16] Production.INFO: ==31889== Releasing lock... [2025-03-20 13:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 13:59:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 13:59:19] Production.INFO: count ==6586 [2025-03-20 13:59:22] Production.ERROR: pbx CDR StartTime 2025-03-20 10:59:05 - End Time 2025-03-20 13:59:05 [2025-03-20 13:59:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 13:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723304', 'tblTempUsageDetail_20' ) start [2025-03-20 13:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723304', 'tblTempUsageDetail_20' ) end [2025-03-20 13:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723304', 'tblTempVendorCDR_20' ) start [2025-03-20 13:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723304', 'tblTempVendorCDR_20' ) end [2025-03-20 13:59:22] Production.INFO: ProcessCDR(1,14723304,1,1,2) [2025-03-20 13:59:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:59:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 13:59:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:59:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 13:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723304', 'tblTempUsageDetail_20' ) start [2025-03-20 13:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723304', 'tblTempUsageDetail_20' ) end [2025-03-20 13:59:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 13:59:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 13:59:27] Production.INFO: ==31897== Releasing lock... [2025-03-20 13:59:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 13:59:27] Production.INFO: 77.25 MB #Memory Used# [2025-03-20 18:00:01] Production.INFO: ==31964== Lock acquired, processing the job... [2025-03-20 18:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:00:01] Production.INFO: neon service started [2025-03-20 18:00:01] Production.INFO: neon service started [2025-03-20 18:00:01] Production.INFO: ==31964== Releasing lock... [2025-03-20 18:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:00:01] Production.INFO: ==31966== Lock acquired, processing the job... [2025-03-20 14:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:00:02] Production.INFO: ==31968== Lock acquired, processing the job... [2025-03-20 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:00:02] Production.INFO: ==31968== Releasing lock... [2025-03-20 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:00:02] Production.INFO: ==31966== Releasing lock... [2025-03-20 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:00:03] Production.INFO: ==31979== Lock acquired, processing the job... [2025-03-20 14:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:00:03] Production.INFO: ==31981== Lock acquired, processing the job... [2025-03-20 14:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:00:03] Production.INFO: ==31971== Lock acquired, processing the job... [2025-03-20 14:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 14:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:00:03] Production.INFO: Account Balance Start. [2025-03-20 14:00:03] Production.INFO: CreateAllLog Start [2025-03-20 14:00:03] Production.INFO: 117 [2025-03-20 14:00:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:03] Production.INFO: ==31983== Lock acquired, processing the job... [2025-03-20 14:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 14:00:03] Production.INFO: ==31973== Lock acquired, processing the job... [2025-03-20 14:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:00:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:03] Production.INFO: ==31975== Lock acquired, processing the job... [2025-03-20 14:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:00:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:03] Production.INFO: ==31977== Lock acquired, processing the job... [2025-03-20 14:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:00:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:00:03] Production.INFO: ==31985== Lock acquired, processing the job... [2025-03-20 14:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:00:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:00:03] Production.ERROR: CronJob PID - 31973 [2025-03-20 14:00:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 14:00:03] Production.ERROR: CronJob ID - 5 [2025-03-20 14:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 14:00:00 [2025-03-20 14:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:00:03] Production.ERROR: CronJob PID - 31975 [2025-03-20 14:00:03] Production.ERROR: CronJob Title - Account Block [2025-03-20 14:00:03] Production.ERROR: CronJob ID - 7 [2025-03-20 14:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 14:00:00 [2025-03-20 14:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:00:03] Production.ERROR: CronJob PID - 31977 [2025-03-20 14:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 14:00:03] Production.ERROR: CronJob ID - 10 [2025-03-20 14:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 14:00:00 [2025-03-20 14:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:00:03] Production.ERROR: CronJob PID - 31979 [2025-03-20 14:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 14:00:03] Production.ERROR: CronJob ID - 12 [2025-03-20 14:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 14:00:00 [2025-03-20 14:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:00:03] Production.ERROR: CronJob PID - 31981 [2025-03-20 14:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 14:00:03] Production.ERROR: CronJob ID - 16 [2025-03-20 14:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 14:00:00 [2025-03-20 14:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:00:03] Production.ERROR: CronJob PID - 31983 [2025-03-20 14:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 14:00:03] Production.ERROR: CronJob ID - 17 [2025-03-20 14:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 14:00:00 [2025-03-20 14:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:00:03] Production.INFO: Date 2025-03-14 [2025-03-20 14:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 14:00:04] Production.INFO: ==31971== Releasing lock... [2025-03-20 14:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 14:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 14:00:04] Production.ERROR: done [2025-03-20 14:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:00:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:04] Production.ERROR: done [2025-03-20 14:00:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:04] Production.INFO: count ==12 [2025-03-20 14:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:00:04] Production.INFO: count ==23 [2025-03-20 14:00:04] Production.ERROR: done [2025-03-20 14:00:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:04] Production.INFO: ==31975== Releasing lock... [2025-03-20 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723308') start [2025-03-20 14:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:00:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 14:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723310', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 14:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723308') end [2025-03-20 14:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:00:04] Production.INFO: 1 [2025-03-20 14:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:00:04] Production.INFO: Total Charge 0 [2025-03-20 14:00:04] Production.INFO: ==31985== Releasing lock... [2025-03-20 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:00:04] Production.INFO: CreateAllLog End [2025-03-20 14:00:04] Production.INFO: Account Balance End. [2025-03-20 14:00:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:00:04] Production.INFO: ==31979== Releasing lock... [2025-03-20 14:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:00:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:00:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:00:05 [end_date_ymd] => 2025-03-20 14:00:05 [RateCDR] => 1 ) [2025-03-20 14:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:00:05' and `end` < '2025-03-20 14:00:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723310', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 14:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 14:00:09] Production.INFO: ProcessCDR(1,14723310,1,1,2) [2025-03-20 14:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723310,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723310,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:00:09] Production.INFO: ==31983== Releasing lock... [2025-03-20 14:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 14:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 14:00:15] Production.ERROR: CronJobId end10 [2025-03-20 14:00:15] Production.INFO: ==31977== Releasing lock... [2025-03-20 14:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:00:17] Production.INFO: call_cost start [2025-03-20 14:00:17] Production.INFO: call_cost end [2025-03-20 14:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:00:18] Production.INFO: ==31973== Releasing lock... [2025-03-20 14:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:00:19] Production.INFO: count ==6588 [2025-03-20 14:00:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:00:05 - End Time 2025-03-20 14:00:05 [2025-03-20 14:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723309', 'tblTempUsageDetail_20' ) start [2025-03-20 14:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723309', 'tblTempUsageDetail_20' ) end [2025-03-20 14:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723309', 'tblTempVendorCDR_20' ) start [2025-03-20 14:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723309', 'tblTempVendorCDR_20' ) end [2025-03-20 14:00:22] Production.INFO: ProcessCDR(1,14723309,1,1,2) [2025-03-20 14:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:00:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:00:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:00:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723309', 'tblTempUsageDetail_20' ) start [2025-03-20 14:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723309', 'tblTempUsageDetail_20' ) end [2025-03-20 14:00:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:00:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:00:27] Production.INFO: ==31981== Releasing lock... [2025-03-20 14:00:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:00:27] Production.INFO: 77.25 MB #Memory Used# [2025-03-20 18:01:01] Production.INFO: ==32061== Lock acquired, processing the job... [2025-03-20 18:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:01:01] Production.INFO: neon service started [2025-03-20 18:01:02] Production.INFO: neon service started [2025-03-20 18:01:02] Production.INFO: ==32061== Releasing lock... [2025-03-20 18:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:01:02] Production.INFO: ==32068== Lock acquired, processing the job... [2025-03-20 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:01:02] Production.INFO: ==32068== Releasing lock... [2025-03-20 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:01:02] Production.INFO: ==32070== Lock acquired, processing the job... [2025-03-20 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:01:02] Production.INFO: ==32070== Releasing lock... [2025-03-20 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:01:03] Production.INFO: ==32081== Lock acquired, processing the job... [2025-03-20 14:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:01:03] Production.INFO: ==32078== Lock acquired, processing the job... [2025-03-20 14:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:01:03] Production.INFO: ==32072== Lock acquired, processing the job... [2025-03-20 14:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:01:03] Production.INFO: ==32074== Lock acquired, processing the job... [2025-03-20 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:01:03] Production.INFO: Account Balance Start. [2025-03-20 14:01:03] Production.INFO: CreateAllLog Start [2025-03-20 14:01:03] Production.INFO: 117 [2025-03-20 14:01:03] Production.INFO: ==32076== Lock acquired, processing the job... [2025-03-20 14:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:01:03] Production.INFO: ==32083== Lock acquired, processing the job... [2025-03-20 14:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:01:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:01:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:01:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:01:03] Production.INFO: count ==12 [2025-03-20 14:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:01:03] Production.INFO: count ==23 [2025-03-20 14:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723313') start [2025-03-20 14:01:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:04] Production.ERROR: done [2025-03-20 14:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723313') end [2025-03-20 14:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:01:04] Production.INFO: 1 [2025-03-20 14:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:04] Production.INFO: ==32083== Releasing lock... [2025-03-20 14:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:01:04] Production.INFO: ==32074== Releasing lock... [2025-03-20 14:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:01:04] Production.ERROR: done [2025-03-20 14:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:01:04] Production.INFO: Total Charge 0 [2025-03-20 14:01:04] Production.INFO: CreateAllLog End [2025-03-20 14:01:04] Production.INFO: Account Balance End. [2025-03-20 14:01:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:01:04] Production.INFO: ==32078== Releasing lock... [2025-03-20 14:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:01:05 [end_date_ymd] => 2025-03-20 14:01:05 [RateCDR] => 1 ) [2025-03-20 14:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:01:05' and `end` < '2025-03-20 14:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:01:14] Production.ERROR: CronJobId end10 [2025-03-20 14:01:14] Production.INFO: ==32076== Releasing lock... [2025-03-20 14:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:01:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:01:16] Production.INFO: call_cost start [2025-03-20 14:01:16] Production.INFO: call_cost end [2025-03-20 14:01:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:01:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:01:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:01:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:01:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:01:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:01:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:01:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:01:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:01:17] Production.INFO: ==32072== Releasing lock... [2025-03-20 14:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:01:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:01:19] Production.INFO: count ==6609 [2025-03-20 14:01:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:01:05 - End Time 2025-03-20 14:01:05 [2025-03-20 14:01:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723315', 'tblTempUsageDetail_20' ) start [2025-03-20 14:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723315', 'tblTempUsageDetail_20' ) end [2025-03-20 14:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723315', 'tblTempVendorCDR_20' ) start [2025-03-20 14:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723315', 'tblTempVendorCDR_20' ) end [2025-03-20 14:01:22] Production.INFO: ProcessCDR(1,14723315,1,1,2) [2025-03-20 14:01:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723315', 'tblTempUsageDetail_20' ) start [2025-03-20 14:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723315', 'tblTempUsageDetail_20' ) end [2025-03-20 14:01:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:01:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:01:26] Production.INFO: ==32081== Releasing lock... [2025-03-20 14:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:01:26] Production.INFO: 77.5 MB #Memory Used# [2025-03-20 18:02:01] Production.INFO: ==32147== Lock acquired, processing the job... [2025-03-20 18:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:02:01] Production.INFO: neon service started [2025-03-20 18:02:01] Production.INFO: neon service started [2025-03-20 18:02:01] Production.INFO: ==32147== Releasing lock... [2025-03-20 18:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:02:01] Production.INFO: ==32151== Lock acquired, processing the job... [2025-03-20 18:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:02:01] Production.INFO: ==32151== Releasing lock... [2025-03-20 18:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:02:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:02:02] Production.INFO: ==32149== Lock acquired, processing the job... [2025-03-20 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:02:02] Production.INFO: ==32149== Releasing lock... [2025-03-20 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:02:03] Production.INFO: ==32156== Lock acquired, processing the job... [2025-03-20 14:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:02:03] Production.INFO: ==32160== Lock acquired, processing the job... [2025-03-20 14:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:02:03] Production.INFO: ==32162== Lock acquired, processing the job... [2025-03-20 14:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:02:03] Production.INFO: Account Balance Start. [2025-03-20 14:02:03] Production.INFO: CreateAllLog Start [2025-03-20 14:02:03] Production.INFO: 117 [2025-03-20 14:02:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: ==32154== Lock acquired, processing the job... [2025-03-20 14:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:02:03] Production.INFO: ==32158== Lock acquired, processing the job... [2025-03-20 14:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:02:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: ==32156== Releasing lock... [2025-03-20 14:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:02:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:02:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:02:03] Production.INFO: Date 2025-03-14 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: ==32164== Lock acquired, processing the job... [2025-03-20 14:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:02:03] Production.INFO: Date 2025-03-15 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: Date 2025-03-16 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: Date 2025-03-17 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: Date 2025-03-18 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.ERROR: done [2025-03-20 14:02:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:02:03] Production.INFO: Date 2025-03-19 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:02:03] Production.INFO: Date 2025-03-20 [2025-03-20 14:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:02:03] Production.INFO: Total Charge 0 [2025-03-20 14:02:03] Production.INFO: CreateAllLog End [2025-03-20 14:02:03] Production.INFO: count ==12 [2025-03-20 14:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:02:03] Production.ERROR: done [2025-03-20 14:02:03] Production.INFO: count ==23 [2025-03-20 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723319') start [2025-03-20 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723319') end [2025-03-20 14:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:02:04] Production.INFO: 1 [2025-03-20 14:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:02:04] Production.INFO: Account Balance End. [2025-03-20 14:02:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:02:04] Production.INFO: ==32160== Releasing lock... [2025-03-20 14:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:02:04] Production.INFO: ==32164== Releasing lock... [2025-03-20 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:02:05 [end_date_ymd] => 2025-03-20 14:02:05 [RateCDR] => 1 ) [2025-03-20 14:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:02:05' and `end` < '2025-03-20 14:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:02:13] Production.ERROR: CronJobId end10 [2025-03-20 14:02:13] Production.INFO: ==32158== Releasing lock... [2025-03-20 14:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:02:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:02:14] Production.INFO: call_cost start [2025-03-20 14:02:14] Production.INFO: call_cost end [2025-03-20 14:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:02:15] Production.INFO: ==32154== Releasing lock... [2025-03-20 14:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:02:18] Production.INFO: count ==6585 [2025-03-20 14:02:21] Production.ERROR: pbx CDR StartTime 2025-03-20 11:02:05 - End Time 2025-03-20 14:02:05 [2025-03-20 14:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723320', 'tblTempUsageDetail_20' ) start [2025-03-20 14:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723320', 'tblTempUsageDetail_20' ) end [2025-03-20 14:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723320', 'tblTempVendorCDR_20' ) start [2025-03-20 14:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723320', 'tblTempVendorCDR_20' ) end [2025-03-20 14:02:22] Production.INFO: ProcessCDR(1,14723320,1,1,2) [2025-03-20 14:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:02:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:02:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:02:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723320', 'tblTempUsageDetail_20' ) start [2025-03-20 14:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723320', 'tblTempUsageDetail_20' ) end [2025-03-20 14:02:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:02:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:02:27] Production.INFO: ==32162== Releasing lock... [2025-03-20 14:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:02:27] Production.INFO: 77.25 MB #Memory Used# [2025-03-20 18:03:01] Production.INFO: ==32229== Lock acquired, processing the job... [2025-03-20 18:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:03:01] Production.INFO: neon service started [2025-03-20 18:03:01] Production.INFO: neon service started [2025-03-20 18:03:01] Production.INFO: ==32229== Releasing lock... [2025-03-20 18:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:03:02] Production.INFO: ==32231== Lock acquired, processing the job... [2025-03-20 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:03:02] Production.INFO: ==32231== Releasing lock... [2025-03-20 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:03:02] Production.INFO: ==32233== Lock acquired, processing the job... [2025-03-20 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:03:02] Production.INFO: ==32233== Releasing lock... [2025-03-20 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:03:03] Production.INFO: ==32236== Lock acquired, processing the job... [2025-03-20 14:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:03:03] Production.INFO: ==32242== Lock acquired, processing the job... [2025-03-20 14:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:03:03] Production.INFO: ==32240== Lock acquired, processing the job... [2025-03-20 14:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:03:03] Production.INFO: ==32244== Lock acquired, processing the job... [2025-03-20 14:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:03:03] Production.INFO: ==32238== Lock acquired, processing the job... [2025-03-20 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:03:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:03:03] Production.INFO: Account Balance Start. [2025-03-20 14:03:03] Production.INFO: CreateAllLog Start [2025-03-20 14:03:03] Production.INFO: ==32246== Lock acquired, processing the job... [2025-03-20 14:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:03:03] Production.INFO: 117 [2025-03-20 14:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:03:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:03:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 14: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-03-20 14:03:04] Production.INFO: count ==12 [2025-03-20 14: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-03-20 14:03:04] Production.INFO: count ==23 [2025-03-20 14:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723324') start [2025-03-20 14:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:03:04] Production.INFO: ==32238== Releasing lock... [2025-03-20 14:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:04] Production.ERROR: done [2025-03-20 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723324') end [2025-03-20 14:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:03:04] Production.INFO: 1 [2025-03-20 14:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:04] Production.INFO: ==32246== Releasing lock... [2025-03-20 14:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:03:04] Production.ERROR: done [2025-03-20 14:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:03:04] Production.INFO: Total Charge 0 [2025-03-20 14:03:04] Production.INFO: CreateAllLog End [2025-03-20 14:03:04] Production.INFO: Account Balance End. [2025-03-20 14:03:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:03:04] Production.INFO: ==32242== Releasing lock... [2025-03-20 14:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:03:05 [end_date_ymd] => 2025-03-20 14:03:05 [RateCDR] => 1 ) [2025-03-20 14:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:03:05' and `end` < '2025-03-20 14:03:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:03:13] Production.ERROR: CronJobId end10 [2025-03-20 14:03:13] Production.INFO: ==32240== Releasing lock... [2025-03-20 14:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:03:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:03:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:03:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:03:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:03:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:03:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:03:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:03:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:03:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:03:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:03:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:03:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:03:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:03:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:03:15] Production.INFO: call_cost start [2025-03-20 14:03:15] Production.INFO: call_cost end [2025-03-20 14:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:03:16] Production.INFO: ==32236== Releasing lock... [2025-03-20 14:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:03:18] Production.INFO: count ==6613 [2025-03-20 14:03:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:03:05 - End Time 2025-03-20 14:03:05 [2025-03-20 14:03:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723325', 'tblTempUsageDetail_20' ) start [2025-03-20 14:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723325', 'tblTempUsageDetail_20' ) end [2025-03-20 14:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723325', 'tblTempVendorCDR_20' ) start [2025-03-20 14:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723325', 'tblTempVendorCDR_20' ) end [2025-03-20 14:03:22] Production.INFO: ProcessCDR(1,14723325,1,1,2) [2025-03-20 14:03:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723325', 'tblTempUsageDetail_20' ) start [2025-03-20 14:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723325', 'tblTempUsageDetail_20' ) end [2025-03-20 14:03:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:03:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:03:27] Production.INFO: ==32244== Releasing lock... [2025-03-20 14:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:03:27] Production.INFO: 77.5 MB #Memory Used# [2025-03-20 18:04:01] Production.INFO: ==32308== Lock acquired, processing the job... [2025-03-20 18:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:04:01] Production.INFO: neon service started [2025-03-20 18:04:01] Production.INFO: neon service started [2025-03-20 18:04:01] Production.INFO: ==32308== Releasing lock... [2025-03-20 18:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:04:01] Production.INFO: ==32310== Lock acquired, processing the job... [2025-03-20 14:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:04:02] Production.INFO: ==32312== Lock acquired, processing the job... [2025-03-20 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:04:02] Production.INFO: ==32312== Releasing lock... [2025-03-20 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:04:02] Production.INFO: ==32310== Releasing lock... [2025-03-20 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:04:03] Production.INFO: ==32320== Lock acquired, processing the job... [2025-03-20 14:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:04:03] Production.INFO: ==32314== Lock acquired, processing the job... [2025-03-20 14:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:04:03] Production.INFO: ==32324== Lock acquired, processing the job... [2025-03-20 14:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:04:03] Production.INFO: Account Balance Start. [2025-03-20 14:04:03] Production.INFO: CreateAllLog Start [2025-03-20 14:04:03] Production.INFO: 117 [2025-03-20 14:04:03] Production.INFO: ==32316== Lock acquired, processing the job... [2025-03-20 14:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:04:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14: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-03-20 14:04:03] Production.INFO: ==32318== Lock acquired, processing the job... [2025-03-20 14:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:04:03] Production.INFO: count ==12 [2025-03-20 14:04:03] Production.INFO: Date 2025-03-10 [2025-03-20 14: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-03-20 14:04:03] Production.INFO: count ==23 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723328') start [2025-03-20 14:04:03] Production.INFO: ==32322== Lock acquired, processing the job... [2025-03-20 14:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:04:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723328') end [2025-03-20 14:04:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:04:03] Production.INFO: 1 [2025-03-20 14:04:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:04:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.INFO: Date 2025-03-14 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.INFO: ==32324== Releasing lock... [2025-03-20 14:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:04:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:04:03] Production.INFO: Date 2025-03-15 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.INFO: Date 2025-03-16 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.INFO: Date 2025-03-17 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.INFO: ==32316== Releasing lock... [2025-03-20 14:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:04:03] Production.INFO: Date 2025-03-18 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.INFO: Date 2025-03-19 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.INFO: Date 2025-03-20 [2025-03-20 14:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:04:03] Production.INFO: Total Charge 0 [2025-03-20 14:04:03] Production.INFO: CreateAllLog End [2025-03-20 14:04:03] Production.ERROR: done [2025-03-20 14:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:04:04] Production.INFO: Account Balance End. [2025-03-20 14:04:04] Production.ERROR: done [2025-03-20 14:04:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:04:04] Production.INFO: ==32320== Releasing lock... [2025-03-20 14:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:04:05 [end_date_ymd] => 2025-03-20 14:04:05 [RateCDR] => 1 ) [2025-03-20 14:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:04:05' and `end` < '2025-03-20 14:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:04:13] Production.ERROR: CronJobId end10 [2025-03-20 14:04:13] Production.INFO: ==32318== Releasing lock... [2025-03-20 14:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:04:14] Production.INFO: call_cost start [2025-03-20 14:04:14] Production.INFO: call_cost end [2025-03-20 14:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:04:15] Production.INFO: ==32314== Releasing lock... [2025-03-20 14:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:04:18] Production.INFO: count ==6633 [2025-03-20 14:04:21] Production.ERROR: pbx CDR StartTime 2025-03-20 11:04:05 - End Time 2025-03-20 14:04:05 [2025-03-20 14:04:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723330', 'tblTempUsageDetail_20' ) start [2025-03-20 14:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723330', 'tblTempUsageDetail_20' ) end [2025-03-20 14:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723330', 'tblTempVendorCDR_20' ) start [2025-03-20 14:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723330', 'tblTempVendorCDR_20' ) end [2025-03-20 14:04:21] Production.INFO: ProcessCDR(1,14723330,1,1,2) [2025-03-20 14:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723330', 'tblTempUsageDetail_20' ) start [2025-03-20 14:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723330', 'tblTempUsageDetail_20' ) end [2025-03-20 14:04:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:04:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:04:26] Production.INFO: ==32322== Releasing lock... [2025-03-20 14:04:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:04:26] Production.INFO: 77.75 MB #Memory Used# [2025-03-20 18:05:01] Production.INFO: ==32384== Lock acquired, processing the job... [2025-03-20 18:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:05:01] Production.INFO: neon service started [2025-03-20 18:05:01] Production.INFO: neon service started [2025-03-20 18:05:01] Production.INFO: ==32384== Releasing lock... [2025-03-20 18:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:05:02] Production.INFO: ==32386== Lock acquired, processing the job... [2025-03-20 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:05:02] Production.INFO: ==32388== Lock acquired, processing the job... [2025-03-20 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:05:02] Production.INFO: ==32388== Releasing lock... [2025-03-20 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:05:02] Production.INFO: ==32386== Releasing lock... [2025-03-20 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:05:03] Production.INFO: ==32397== Lock acquired, processing the job... [2025-03-20 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:05:03] Production.INFO: ==32401== Lock acquired, processing the job... [2025-03-20 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:05:03] Production.INFO: Account Balance Start. [2025-03-20 14:05:03] Production.INFO: CreateAllLog Start [2025-03-20 14:05:03] Production.INFO: 117 [2025-03-20 14:05:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14: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-03-20 14:05:04] Production.INFO: count ==12 [2025-03-20 14: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-03-20 14:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:05:04] Production.INFO: count ==23 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723332') start [2025-03-20 14:05:04] Production.INFO: ==32391== Lock acquired, processing the job... [2025-03-20 14:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:05:04] Production.INFO: ==32393== Lock acquired, processing the job... [2025-03-20 14:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.INFO: ==32395== Lock acquired, processing the job... [2025-03-20 14:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723332') end [2025-03-20 14:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:05:04] Production.INFO: 1 [2025-03-20 14:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:05:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:05:04] Production.INFO: ==32401== Releasing lock... [2025-03-20 14:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:05:04] Production.INFO: ==32399== Lock acquired, processing the job... [2025-03-20 14:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.INFO: ==32393== Releasing lock... [2025-03-20 14:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:05:04] Production.INFO: Total Charge 0 [2025-03-20 14:05:04] Production.INFO: CreateAllLog End [2025-03-20 14:05:04] Production.ERROR: done [2025-03-20 14:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:05:04] Production.INFO: Account Balance End. [2025-03-20 14:05:04] Production.ERROR: done [2025-03-20 14:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:05:04] Production.INFO: ==32397== Releasing lock... [2025-03-20 14:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:05:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:05:06 [end_date_ymd] => 2025-03-20 14:05:06 [RateCDR] => 1 ) [2025-03-20 14: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-03-20 11:05:06' and `end` < '2025-03-20 14: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-03-20 14:05:12] Production.ERROR: CronJobId end10 [2025-03-20 14:05:12] Production.INFO: ==32395== Releasing lock... [2025-03-20 14:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:05:14] Production.INFO: call_cost start [2025-03-20 14:05:14] Production.INFO: call_cost end [2025-03-20 14:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:05:15] Production.INFO: ==32391== Releasing lock... [2025-03-20 14:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:05:19] Production.INFO: count ==6609 [2025-03-20 14:05:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:05:06 - End Time 2025-03-20 14:05:06 [2025-03-20 14:05:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723335', 'tblTempUsageDetail_20' ) start [2025-03-20 14:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723335', 'tblTempUsageDetail_20' ) end [2025-03-20 14:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723335', 'tblTempVendorCDR_20' ) start [2025-03-20 14:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723335', 'tblTempVendorCDR_20' ) end [2025-03-20 14:05:23] Production.INFO: ProcessCDR(1,14723335,1,1,2) [2025-03-20 14:05:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:05:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:05:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:05:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723335', 'tblTempUsageDetail_20' ) start [2025-03-20 14:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723335', 'tblTempUsageDetail_20' ) end [2025-03-20 14:05:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:05:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:05:28] Production.INFO: ==32399== Releasing lock... [2025-03-20 14:05:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:05:28] Production.INFO: 77.5 MB #Memory Used# [2025-03-20 18:06:02] Production.INFO: ==32463== Lock acquired, processing the job... [2025-03-20 18:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:06:02] Production.INFO: neon service started [2025-03-20 18:06:02] Production.INFO: neon service started [2025-03-20 18:06:02] Production.INFO: ==32463== Releasing lock... [2025-03-20 18:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:06:02] Production.INFO: ==32467== Lock acquired, processing the job... [2025-03-20 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:06:02] Production.INFO: ==32467== Releasing lock... [2025-03-20 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:06:02] Production.INFO: ==32465== Lock acquired, processing the job... [2025-03-20 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:06:03] Production.INFO: ==32465== Releasing lock... [2025-03-20 14:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:06:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:06:04] Production.INFO: ==32472== Lock acquired, processing the job... [2025-03-20 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:06:04] Production.INFO: ==32476== Lock acquired, processing the job... [2025-03-20 14:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:06:04] Production.INFO: Account Balance Start. [2025-03-20 14:06:04] Production.INFO: CreateAllLog Start [2025-03-20 14:06:04] Production.INFO: 117 [2025-03-20 14:06:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:04] Production.INFO: ==32470== Lock acquired, processing the job... [2025-03-20 14:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:04] Production.INFO: ==32474== Lock acquired, processing the job... [2025-03-20 14:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:06:04] Production.INFO: ==32472== Releasing lock... [2025-03-20 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:04] Production.INFO: ==32478== Lock acquired, processing the job... [2025-03-20 14:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:06:04] Production.INFO: ==32480== Lock acquired, processing the job... [2025-03-20 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:04] Production.INFO: count ==12 [2025-03-20 14:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:06:04] Production.INFO: count ==23 [2025-03-20 14:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723339') start [2025-03-20 14:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723339') end [2025-03-20 14:06:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:06:05] Production.INFO: 1 [2025-03-20 14:06:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:06:05] Production.INFO: Date 2025-03-17 [2025-03-20 14:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:05] Production.INFO: Date 2025-03-18 [2025-03-20 14:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:05] Production.ERROR: done [2025-03-20 14:06:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:06:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:05] Production.INFO: ==32480== Releasing lock... [2025-03-20 14:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:06:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:06:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:06:05] Production.INFO: Total Charge 0 [2025-03-20 14:06:05] Production.INFO: CreateAllLog End [2025-03-20 14:06:05] Production.ERROR: done [2025-03-20 14:06:05] Production.INFO: Account Balance End. [2025-03-20 14:06:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:06:05] Production.INFO: ==32476== Releasing lock... [2025-03-20 14:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:06:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:06:06 [end_date_ymd] => 2025-03-20 14:06:06 [RateCDR] => 1 ) [2025-03-20 14:06:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:06:06' and `end` < '2025-03-20 14: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-03-20 14:06:14] Production.ERROR: CronJobId end10 [2025-03-20 14:06:14] Production.INFO: ==32474== Releasing lock... [2025-03-20 14:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:06:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:06:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:06:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:06:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:06:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:06:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:06:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:06:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:06:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:06:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:06:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:06:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:06:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:06:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:06:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:06:16] Production.INFO: call_cost start [2025-03-20 14:06:16] Production.INFO: call_cost end [2025-03-20 14:06:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:06:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:06:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:06:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:06:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:06:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:06:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:06:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:06:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:06:17] Production.INFO: ==32470== Releasing lock... [2025-03-20 14:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:06:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:06:20] Production.INFO: count ==6598 [2025-03-20 14:06:23] Production.ERROR: pbx CDR StartTime 2025-03-20 11:06:06 - End Time 2025-03-20 14:06:06 [2025-03-20 14:06:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723340', 'tblTempUsageDetail_20' ) start [2025-03-20 14:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723340', 'tblTempUsageDetail_20' ) end [2025-03-20 14:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723340', 'tblTempVendorCDR_20' ) start [2025-03-20 14:06:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723340', 'tblTempVendorCDR_20' ) end [2025-03-20 14:06:23] Production.INFO: ProcessCDR(1,14723340,1,1,2) [2025-03-20 14:06:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:06:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:06:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:06:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:06:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723340', 'tblTempUsageDetail_20' ) start [2025-03-20 14:06:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723340', 'tblTempUsageDetail_20' ) end [2025-03-20 14:06:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:06:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:06:28] Production.INFO: ==32478== Releasing lock... [2025-03-20 14:06:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:06:28] Production.INFO: 77.5 MB #Memory Used# [2025-03-20 18:07:01] Production.INFO: ==32588== Lock acquired, processing the job... [2025-03-20 18:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:07:01] Production.INFO: neon service started [2025-03-20 18:07:01] Production.INFO: neon service started [2025-03-20 18:07:01] Production.INFO: ==32588== Releasing lock... [2025-03-20 18:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:07:02] Production.INFO: ==32592== Lock acquired, processing the job... [2025-03-20 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:07:02] Production.INFO: ==32592== Releasing lock... [2025-03-20 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:07:02] Production.INFO: ==32590== Lock acquired, processing the job... [2025-03-20 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:07:02] Production.INFO: ==32590== Releasing lock... [2025-03-20 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:07:03] Production.INFO: ==32595== Lock acquired, processing the job... [2025-03-20 14:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:07:03] Production.INFO: ==32601== Lock acquired, processing the job... [2025-03-20 14:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:07:03] Production.INFO: ==32597== Lock acquired, processing the job... [2025-03-20 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:07:03] Production.INFO: ==32599== Lock acquired, processing the job... [2025-03-20 14:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:07:03] Production.INFO: Account Balance Start. [2025-03-20 14:07:03] Production.INFO: CreateAllLog Start [2025-03-20 14:07:03] Production.INFO: 117 [2025-03-20 14:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:07:03] Production.INFO: ==32603== Lock acquired, processing the job... [2025-03-20 14:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:07:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:03] Production.INFO: ==32605== Lock acquired, processing the job... [2025-03-20 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:07:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:07:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:07:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:04] Production.INFO: count ==12 [2025-03-20 14:07:04] Production.INFO: ==32597== Releasing lock... [2025-03-20 14:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:07:04] Production.INFO: count ==23 [2025-03-20 14:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723344') start [2025-03-20 14:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723344') end [2025-03-20 14:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:07:04] Production.INFO: 1 [2025-03-20 14:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:04] Production.INFO: ==32605== Releasing lock... [2025-03-20 14:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:07:04] Production.ERROR: done [2025-03-20 14:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:07:04] Production.INFO: Total Charge 0 [2025-03-20 14:07:04] Production.ERROR: done [2025-03-20 14:07:04] Production.INFO: CreateAllLog End [2025-03-20 14:07:04] Production.INFO: Account Balance End. [2025-03-20 14:07:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:07:04] Production.INFO: ==32601== Releasing lock... [2025-03-20 14:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:07:05 [end_date_ymd] => 2025-03-20 14:07:05 [RateCDR] => 1 ) [2025-03-20 14:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:07:05' and `end` < '2025-03-20 14:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:07:12] Production.ERROR: CronJobId end10 [2025-03-20 14:07:12] Production.INFO: ==32599== Releasing lock... [2025-03-20 14:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:07:15] Production.INFO: call_cost start [2025-03-20 14:07:15] Production.INFO: call_cost end [2025-03-20 14:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:07:16] Production.INFO: ==32595== Releasing lock... [2025-03-20 14:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:07:19] Production.INFO: count ==6591 [2025-03-20 14:07:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:07:05 - End Time 2025-03-20 14:07:05 [2025-03-20 14:07:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723345', 'tblTempUsageDetail_20' ) start [2025-03-20 14:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723345', 'tblTempUsageDetail_20' ) end [2025-03-20 14:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723345', 'tblTempVendorCDR_20' ) start [2025-03-20 14:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723345', 'tblTempVendorCDR_20' ) end [2025-03-20 14:07:22] Production.INFO: ProcessCDR(1,14723345,1,1,2) [2025-03-20 14:07:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:07:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:07:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:07:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723345', 'tblTempUsageDetail_20' ) start [2025-03-20 14:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723345', 'tblTempUsageDetail_20' ) end [2025-03-20 14:07:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:07:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:07:27] Production.INFO: ==32603== Releasing lock... [2025-03-20 14:07:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:07:27] Production.INFO: 77.25 MB #Memory Used# [2025-03-20 18:08:02] Production.INFO: ==32667== Lock acquired, processing the job... [2025-03-20 18:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:08:02] Production.INFO: neon service started [2025-03-20 18:08:02] Production.INFO: neon service started [2025-03-20 18:08:02] Production.INFO: ==32667== Releasing lock... [2025-03-20 18:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:08:02] Production.INFO: ==32669== Lock acquired, processing the job... [2025-03-20 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:08:02] Production.INFO: ==32671== Lock acquired, processing the job... [2025-03-20 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:08:02] Production.INFO: ==32669== Releasing lock... [2025-03-20 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:08:03] Production.INFO: ==32671== Releasing lock... [2025-03-20 18:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:08:03] Production.INFO: ==32681== Lock acquired, processing the job... [2025-03-20 14:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:08:04] Production.INFO: ==32683== Lock acquired, processing the job... [2025-03-20 14:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:08:04] Production.INFO: ==32673== Lock acquired, processing the job... [2025-03-20 14:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:08:04] Production.INFO: ==32675== Lock acquired, processing the job... [2025-03-20 14:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:08:04] Production.INFO: ==32677== Lock acquired, processing the job... [2025-03-20 14:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:08:04] Production.INFO: ==32679== Lock acquired, processing the job... [2025-03-20 14:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:08:04] Production.INFO: count ==12 [2025-03-20 14:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:08:04] Production.INFO: count ==23 [2025-03-20 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723346') start [2025-03-20 14:08:04] Production.ERROR: done [2025-03-20 14:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:08:04] Production.INFO: Account Balance Start. [2025-03-20 14:08:04] Production.INFO: CreateAllLog Start [2025-03-20 14:08:04] Production.INFO: 117 [2025-03-20 14:08:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723346') end [2025-03-20 14:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:08:04] Production.INFO: 1 [2025-03-20 14:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:08:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: ==32683== Releasing lock... [2025-03-20 14:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:08:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.ERROR: done [2025-03-20 14:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: ==32675== Releasing lock... [2025-03-20 14:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:08:04] Production.INFO: Total Charge 0 [2025-03-20 14:08:04] Production.INFO: CreateAllLog End [2025-03-20 14:08:04] Production.INFO: Account Balance End. [2025-03-20 14:08:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:08:05] Production.INFO: ==32679== Releasing lock... [2025-03-20 14:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:08:05 [end_date_ymd] => 2025-03-20 14:08:05 [RateCDR] => 1 ) [2025-03-20 14:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:08:05' and `end` < '2025-03-20 14:08:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:08:14] Production.ERROR: CronJobId end10 [2025-03-20 14:08:14] Production.INFO: ==32677== Releasing lock... [2025-03-20 14:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:08:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:08:16] Production.INFO: call_cost start [2025-03-20 14:08:16] Production.INFO: call_cost end [2025-03-20 14:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:08:16] Production.INFO: ==32673== Releasing lock... [2025-03-20 14:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:08:19] Production.INFO: count ==6586 [2025-03-20 14:08:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:08:05 - End Time 2025-03-20 14:08:05 [2025-03-20 14:08:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723350', 'tblTempUsageDetail_20' ) start [2025-03-20 14:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723350', 'tblTempUsageDetail_20' ) end [2025-03-20 14:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723350', 'tblTempVendorCDR_20' ) start [2025-03-20 14:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723350', 'tblTempVendorCDR_20' ) end [2025-03-20 14:08:22] Production.INFO: ProcessCDR(1,14723350,1,1,2) [2025-03-20 14:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723350', 'tblTempUsageDetail_20' ) start [2025-03-20 14:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723350', 'tblTempUsageDetail_20' ) end [2025-03-20 14:08:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:08:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:08:28] Production.INFO: ==32681== Releasing lock... [2025-03-20 14:08:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:08:28] Production.INFO: 77.25 MB #Memory Used# [2025-03-20 18:09:01] Production.INFO: ==32752== Lock acquired, processing the job... [2025-03-20 18:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:09:01] Production.INFO: neon service started [2025-03-20 18:09:01] Production.INFO: neon service started [2025-03-20 18:09:01] Production.INFO: ==32752== Releasing lock... [2025-03-20 18:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:09:02] Production.INFO: ==32754== Lock acquired, processing the job... [2025-03-20 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:09:02] Production.INFO: ==32754== Releasing lock... [2025-03-20 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:09:02] Production.INFO: ==32756== Lock acquired, processing the job... [2025-03-20 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:09:02] Production.INFO: ==32756== Releasing lock... [2025-03-20 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:09:03] Production.INFO: ==32759== Lock acquired, processing the job... [2025-03-20 14:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:09:03] Production.INFO: ==32761== Lock acquired, processing the job... [2025-03-20 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:09:03] Production.INFO: ==301== Lock acquired, processing the job... [2025-03-20 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:09:03] Production.INFO: ==32763== Lock acquired, processing the job... [2025-03-20 14:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:09:03] Production.INFO: ==32765== Lock acquired, processing the job... [2025-03-20 14:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:09:03] Production.INFO: count ==12 [2025-03-20 14:09:03] Production.INFO: ==32767== Lock acquired, processing the job... [2025-03-20 14:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:09:03] Production.INFO: count ==23 [2025-03-20 14:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723353') start [2025-03-20 14:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:09:03] Production.INFO: Account Balance Start. [2025-03-20 14:09:03] Production.INFO: CreateAllLog Start [2025-03-20 14:09:03] Production.INFO: 117 [2025-03-20 14:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:09:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723353') end [2025-03-20 14:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:09:03] Production.INFO: 1 [2025-03-20 14:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:09:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:03] Production.INFO: ==301== Releasing lock... [2025-03-20 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:09:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:09:03] Production.INFO: ==32761== Releasing lock... [2025-03-20 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:09:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:04] Production.ERROR: done [2025-03-20 14:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:09:04] Production.INFO: Total Charge 0 [2025-03-20 14:09:04] Production.INFO: CreateAllLog End [2025-03-20 14:09:04] Production.ERROR: done [2025-03-20 14:09:04] Production.INFO: Account Balance End. [2025-03-20 14:09:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:09:04] Production.INFO: ==32765== Releasing lock... [2025-03-20 14:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:09:05 [end_date_ymd] => 2025-03-20 14:09:05 [RateCDR] => 1 ) [2025-03-20 14:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:09:05' and `end` < '2025-03-20 14:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:09:12] Production.ERROR: CronJobId end10 [2025-03-20 14:09:12] Production.INFO: ==32763== Releasing lock... [2025-03-20 14:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:09:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:09:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:09:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:09:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:09:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:09:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:09:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:09:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:09:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:09:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:09:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:09:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:09:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:09:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:09:14] Production.INFO: call_cost start [2025-03-20 14:09:14] Production.INFO: call_cost end [2025-03-20 14:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:09:15] Production.INFO: ==32759== Releasing lock... [2025-03-20 14:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:09:19] Production.INFO: count ==6628 [2025-03-20 14:09:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:09:05 - End Time 2025-03-20 14:09:05 [2025-03-20 14:09:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723355', 'tblTempUsageDetail_20' ) start [2025-03-20 14:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723355', 'tblTempUsageDetail_20' ) end [2025-03-20 14:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723355', 'tblTempVendorCDR_20' ) start [2025-03-20 14:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723355', 'tblTempVendorCDR_20' ) end [2025-03-20 14:09:22] Production.INFO: ProcessCDR(1,14723355,1,1,2) [2025-03-20 14:09:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:09:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:09:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:09:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723355', 'tblTempUsageDetail_20' ) start [2025-03-20 14:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723355', 'tblTempUsageDetail_20' ) end [2025-03-20 14:09:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:09:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:09:27] Production.INFO: ==32767== Releasing lock... [2025-03-20 14:09:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:09:27] Production.INFO: 77.5 MB #Memory Used# [2025-03-20 18:10:02] Production.INFO: ==387== Lock acquired, processing the job... [2025-03-20 18:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:10:02] Production.INFO: neon service started [2025-03-20 18:10:02] Production.INFO: neon service started [2025-03-20 18:10:02] Production.INFO: ==387== Releasing lock... [2025-03-20 18:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:10:02] Production.INFO: ==391== Lock acquired, processing the job... [2025-03-20 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:10:02] Production.INFO: ==389== Lock acquired, processing the job... [2025-03-20 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:10:02] Production.INFO: ==391== Releasing lock... [2025-03-20 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:10:03] Production.INFO: ==389== Releasing lock... [2025-03-20 14:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:10:04] Production.INFO: ==396== Lock acquired, processing the job... [2025-03-20 14:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:10:04] Production.INFO: ==394== Lock acquired, processing the job... [2025-03-20 14:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 14:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 14:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:10:04] Production.ERROR: CronJob PID - 396 [2025-03-20 14:10:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 14:10:04] Production.ERROR: CronJob ID - 5 [2025-03-20 14:10:04] Production.ERROR: CronJob Last Run Time 2025-03-20 14:10:00 [2025-03-20 14:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:10:04] Production.INFO: ==404== Lock acquired, processing the job... [2025-03-20 14:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 14:10:04] Production.INFO: ==394== Releasing lock... [2025-03-20 14:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 14:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 14:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:10:04] Production.INFO: ==406== Lock acquired, processing the job... [2025-03-20 14:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 14:10:04] Production.INFO: ==398== Lock acquired, processing the job... [2025-03-20 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:10:04] Production.INFO: ==408== Lock acquired, processing the job... [2025-03-20 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:10:04] Production.INFO: ==400== Lock acquired, processing the job... [2025-03-20 14:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:10:04] Production.INFO: ==402== Lock acquired, processing the job... [2025-03-20 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:10:04] Production.INFO: count ==12 [2025-03-20 14:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:10:05] Production.INFO: count ==23 [2025-03-20 14:10:05] Production.ERROR: done [2025-03-20 14:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723357') start [2025-03-20 14:10:05] Production.INFO: Account Balance Start. [2025-03-20 14:10:05] Production.INFO: CreateAllLog Start [2025-03-20 14:10:05] Production.INFO: 117 [2025-03-20 14:10:05] Production.INFO: Date 2025-03-08 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:10:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:10:05] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:10:05] Production.INFO: Date 2025-03-09 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:10:05] Production.INFO: Date 2025-03-10 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.INFO: Date 2025-03-11 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.ERROR: done [2025-03-20 14:10:05] Production.INFO: ==398== Releasing lock... [2025-03-20 14:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:10:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:10:05] Production.INFO: Date 2025-03-12 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.ERROR: done [2025-03-20 14:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723357') end [2025-03-20 14:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:10:05] Production.INFO: 1 [2025-03-20 14:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:10:05] Production.INFO: Date 2025-03-13 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.INFO: ==408== Releasing lock... [2025-03-20 14:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 14:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723361', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 14:10:05] Production.INFO: Date 2025-03-14 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.INFO: Date 2025-03-15 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.INFO: Date 2025-03-16 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.INFO: Date 2025-03-17 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:10:06] Production.INFO: Total Charge 0 [2025-03-20 14:10:06] Production.INFO: CreateAllLog End [2025-03-20 14:10:06] Production.INFO: Account Balance End. [2025-03-20 14:10:06] Production.ERROR: CronJobId end 12 [2025-03-20 14:10:06] Production.INFO: ==402== Releasing lock... [2025-03-20 14:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:10:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:10:06 [end_date_ymd] => 2025-03-20 14:10:06 [RateCDR] => 1 ) [2025-03-20 14:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:10:06' and `end` < '2025-03-20 14:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723361', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 14:10:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 14:10:10] Production.INFO: ProcessCDR(1,14723361,1,1,2) [2025-03-20 14:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723361,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723361,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:10:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:10:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:10:10] Production.INFO: ==406== Releasing lock... [2025-03-20 14:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 14:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 14:10:16] Production.ERROR: CronJobId end10 [2025-03-20 14:10:16] Production.INFO: ==400== Releasing lock... [2025-03-20 14:10:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:10:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:10:18] Production.INFO: call_cost start [2025-03-20 14:10:18] Production.INFO: call_cost end [2025-03-20 14:10:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:10:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:10:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:10:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:10:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:10:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:10:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:10:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:10:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:10:19] Production.INFO: ==396== Releasing lock... [2025-03-20 14:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:10:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:10:20] Production.INFO: count ==6626 [2025-03-20 14:10:23] Production.ERROR: pbx CDR StartTime 2025-03-20 11:10:06 - End Time 2025-03-20 14:10:06 [2025-03-20 14:10:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723360', 'tblTempUsageDetail_20' ) start [2025-03-20 14:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723360', 'tblTempUsageDetail_20' ) end [2025-03-20 14:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723360', 'tblTempVendorCDR_20' ) start [2025-03-20 14:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723360', 'tblTempVendorCDR_20' ) end [2025-03-20 14:10:23] Production.INFO: ProcessCDR(1,14723360,1,1,2) [2025-03-20 14:10:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:10:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:10:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723360', 'tblTempUsageDetail_20' ) start [2025-03-20 14:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723360', 'tblTempUsageDetail_20' ) end [2025-03-20 14:10:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:10:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:10:28] Production.INFO: ==404== Releasing lock... [2025-03-20 14:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:10:28] Production.INFO: 77.5 MB #Memory Used# [2025-03-20 18:11:01] Production.INFO: ==475== Lock acquired, processing the job... [2025-03-20 18:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:11:01] Production.INFO: neon service started [2025-03-20 18:11:01] Production.INFO: neon service started [2025-03-20 18:11:01] Production.INFO: ==475== Releasing lock... [2025-03-20 18:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:11:01] Production.INFO: ==479== Lock acquired, processing the job... [2025-03-20 18:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:11:01] Production.INFO: ==479== Releasing lock... [2025-03-20 18:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:11:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:11:02] Production.INFO: ==477== Lock acquired, processing the job... [2025-03-20 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:11:02] Production.INFO: ==477== Releasing lock... [2025-03-20 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:11:03] Production.INFO: ==486== Lock acquired, processing the job... [2025-03-20 14:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:11:03] Production.INFO: ==482== Lock acquired, processing the job... [2025-03-20 14:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:11:03] Production.INFO: ==488== Lock acquired, processing the job... [2025-03-20 14:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:11:03] Production.INFO: ==484== Lock acquired, processing the job... [2025-03-20 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:11:03] Production.INFO: Account Balance Start. [2025-03-20 14:11:03] Production.INFO: CreateAllLog Start [2025-03-20 14:11:03] Production.INFO: 117 [2025-03-20 14:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:03] Production.INFO: ==492== Lock acquired, processing the job... [2025-03-20 14:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:11:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:11:03] Production.INFO: ==490== Lock acquired, processing the job... [2025-03-20 14:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:11:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:11:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:03] Production.INFO: count ==12 [2025-03-20 14:11:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:11:03] Production.INFO: count ==23 [2025-03-20 14:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723365') start [2025-03-20 14:11:03] Production.INFO: Date 2025-03-14 [2025-03-20 14:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:03] Production.INFO: ==484== Releasing lock... [2025-03-20 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:11:03] Production.INFO: Date 2025-03-15 [2025-03-20 14:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:03] Production.INFO: Date 2025-03-16 [2025-03-20 14:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:03] Production.INFO: Date 2025-03-17 [2025-03-20 14:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:04] Production.ERROR: done [2025-03-20 14:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723365') end [2025-03-20 14:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:11:04] Production.INFO: 1 [2025-03-20 14:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:11:04] Production.INFO: ==492== Releasing lock... [2025-03-20 14:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:11:04] Production.ERROR: done [2025-03-20 14:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:11:04] Production.INFO: Total Charge 0 [2025-03-20 14:11:04] Production.INFO: CreateAllLog End [2025-03-20 14:11:04] Production.INFO: Account Balance End. [2025-03-20 14:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:11:04] Production.INFO: ==488== Releasing lock... [2025-03-20 14:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:11:05 [end_date_ymd] => 2025-03-20 14:11:05 [RateCDR] => 1 ) [2025-03-20 14:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:11:05' and `end` < '2025-03-20 14:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:11:13] Production.ERROR: CronJobId end10 [2025-03-20 14:11:13] Production.INFO: ==486== Releasing lock... [2025-03-20 14:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:11:16] Production.INFO: call_cost start [2025-03-20 14:11:16] Production.INFO: call_cost end [2025-03-20 14:11:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:11:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:11:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:11:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:11:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:11:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:11:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:11:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:11:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:11:17] Production.INFO: ==482== Releasing lock... [2025-03-20 14:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:11:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:11:18] Production.INFO: count ==6541 [2025-03-20 14:11:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:11:05 - End Time 2025-03-20 14:11:05 [2025-03-20 14:11:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723366', 'tblTempUsageDetail_20' ) start [2025-03-20 14:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723366', 'tblTempUsageDetail_20' ) end [2025-03-20 14:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723366', 'tblTempVendorCDR_20' ) start [2025-03-20 14:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723366', 'tblTempVendorCDR_20' ) end [2025-03-20 14:11:22] Production.INFO: ProcessCDR(1,14723366,1,1,2) [2025-03-20 14:11:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:11:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:11:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:11:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723366', 'tblTempUsageDetail_20' ) start [2025-03-20 14:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723366', 'tblTempUsageDetail_20' ) end [2025-03-20 14:11:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:11:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:11:27] Production.INFO: ==490== Releasing lock... [2025-03-20 14:11:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:11:27] Production.INFO: 77 MB #Memory Used# [2025-03-20 18:12:02] Production.INFO: ==560== Lock acquired, processing the job... [2025-03-20 18:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:12:02] Production.INFO: neon service started [2025-03-20 18:12:02] Production.INFO: neon service started [2025-03-20 18:12:02] Production.INFO: ==560== Releasing lock... [2025-03-20 18:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:12:02] Production.INFO: ==562== Lock acquired, processing the job... [2025-03-20 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:12:02] Production.INFO: ==562== Releasing lock... [2025-03-20 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:12:02] Production.INFO: ==564== Lock acquired, processing the job... [2025-03-20 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:12:03] Production.INFO: ==564== Releasing lock... [2025-03-20 18:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:12:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:12:03] Production.INFO: ==570== Lock acquired, processing the job... [2025-03-20 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:12:03] Production.INFO: ==572== Lock acquired, processing the job... [2025-03-20 14:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:12:04] Production.INFO: ==576== Lock acquired, processing the job... [2025-03-20 14:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:12:04] Production.INFO: ==568== Lock acquired, processing the job... [2025-03-20 14:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:12:04] Production.INFO: ==574== Lock acquired, processing the job... [2025-03-20 14:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:12:04] Production.INFO: Account Balance Start. [2025-03-20 14:12:04] Production.INFO: CreateAllLog Start [2025-03-20 14:12:04] Production.INFO: 117 [2025-03-20 14:12:04] Production.INFO: ==579== Lock acquired, processing the job... [2025-03-20 14:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:12:04] Production.INFO: ==570== Releasing lock... [2025-03-20 14:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: count ==12 [2025-03-20 14:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:12:04] Production.INFO: count ==23 [2025-03-20 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723370') start [2025-03-20 14:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:12:04] Production.ERROR: done [2025-03-20 14:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723370') end [2025-03-20 14:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:12:04] Production.INFO: 1 [2025-03-20 14:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:12:04] Production.INFO: ==579== Releasing lock... [2025-03-20 14:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:12:04] Production.ERROR: done [2025-03-20 14:12:04] Production.INFO: Total Charge 0 [2025-03-20 14:12:04] Production.INFO: CreateAllLog End [2025-03-20 14:12:05] Production.INFO: Account Balance End. [2025-03-20 14:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:12:05] Production.INFO: ==574== Releasing lock... [2025-03-20 14:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:12:05 [end_date_ymd] => 2025-03-20 14:12:05 [RateCDR] => 1 ) [2025-03-20 14:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:12:05' and `end` < '2025-03-20 14:12:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:12:12] Production.ERROR: CronJobId end10 [2025-03-20 14:12:12] Production.INFO: ==572== Releasing lock... [2025-03-20 14:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:12:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:12:15] Production.INFO: call_cost start [2025-03-20 14:12:15] Production.INFO: call_cost end [2025-03-20 14:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:12:16] Production.INFO: ==568== Releasing lock... [2025-03-20 14:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:12:19] Production.INFO: count ==6500 [2025-03-20 14:12:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:12:05 - End Time 2025-03-20 14:12:05 [2025-03-20 14:12:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723371', 'tblTempUsageDetail_20' ) start [2025-03-20 14:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723371', 'tblTempUsageDetail_20' ) end [2025-03-20 14:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723371', 'tblTempVendorCDR_20' ) start [2025-03-20 14:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723371', 'tblTempVendorCDR_20' ) end [2025-03-20 14:12:22] Production.INFO: ProcessCDR(1,14723371,1,1,2) [2025-03-20 14:12:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:12:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:12:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:12:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723371', 'tblTempUsageDetail_20' ) start [2025-03-20 14:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723371', 'tblTempUsageDetail_20' ) end [2025-03-20 14:12:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:12:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:12:27] Production.INFO: ==576== Releasing lock... [2025-03-20 14:12:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:12:27] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 18:13:01] Production.INFO: ==655== Lock acquired, processing the job... [2025-03-20 18:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:13:01] Production.INFO: neon service started [2025-03-20 18:13:01] Production.INFO: neon service started [2025-03-20 18:13:01] Production.INFO: ==655== Releasing lock... [2025-03-20 18:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:13:01] Production.INFO: ==662== Lock acquired, processing the job... [2025-03-20 14:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:13:02] Production.INFO: ==664== Lock acquired, processing the job... [2025-03-20 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:13:02] Production.INFO: ==662== Releasing lock... [2025-03-20 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:13:02] Production.INFO: ==664== Releasing lock... [2025-03-20 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:13:03] Production.INFO: ==673== Lock acquired, processing the job... [2025-03-20 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:13:03] Production.INFO: ==668== Lock acquired, processing the job... [2025-03-20 14:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:13:03] Production.INFO: ==676== Lock acquired, processing the job... [2025-03-20 14:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:13:03] Production.INFO: ==679== Lock acquired, processing the job... [2025-03-20 14:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:13:03] Production.INFO: ==681== Lock acquired, processing the job... [2025-03-20 14:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:13:03] Production.INFO: ==673== Releasing lock... [2025-03-20 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:13:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:13:03] Production.INFO: Account Balance Start. [2025-03-20 14:13:03] Production.INFO: CreateAllLog Start [2025-03-20 14:13:03] Production.INFO: 117 [2025-03-20 14:13:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:03] Production.INFO: ==684== Lock acquired, processing the job... [2025-03-20 14:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:13:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:03] Production.INFO: Date 2025-03-14 [2025-03-20 14:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:13:03] Production.INFO: Date 2025-03-15 [2025-03-20 14:13:03] Production.INFO: count ==12 [2025-03-20 14:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:13:03] Production.INFO: count ==23 [2025-03-20 14:13:03] Production.ERROR: done [2025-03-20 14:13:03] Production.INFO: Date 2025-03-16 [2025-03-20 14:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723375') start [2025-03-20 14:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:13:04] Production.ERROR: done [2025-03-20 14:13:04] Production.INFO: Total Charge 0 [2025-03-20 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723375') end [2025-03-20 14:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:13:04] Production.INFO: 1 [2025-03-20 14:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:13:04] Production.INFO: CreateAllLog End [2025-03-20 14:13:04] Production.INFO: ==684== Releasing lock... [2025-03-20 14:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:13:04] Production.INFO: Account Balance End. [2025-03-20 14:13:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:13:04] Production.INFO: ==679== Releasing lock... [2025-03-20 14:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:13:05 [end_date_ymd] => 2025-03-20 14:13:05 [RateCDR] => 1 ) [2025-03-20 14:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:13:05' and `end` < '2025-03-20 14:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:13:13] Production.ERROR: CronJobId end10 [2025-03-20 14:13:13] Production.INFO: ==676== Releasing lock... [2025-03-20 14:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:13:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:13:15] Production.INFO: call_cost start [2025-03-20 14:13:15] Production.INFO: call_cost end [2025-03-20 14:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:13:16] Production.INFO: ==668== Releasing lock... [2025-03-20 14:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:13:18] Production.INFO: count ==6487 [2025-03-20 14:13:21] Production.ERROR: pbx CDR StartTime 2025-03-20 11:13:05 - End Time 2025-03-20 14:13:05 [2025-03-20 14:13:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723376', 'tblTempUsageDetail_20' ) start [2025-03-20 14:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723376', 'tblTempUsageDetail_20' ) end [2025-03-20 14:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723376', 'tblTempVendorCDR_20' ) start [2025-03-20 14:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723376', 'tblTempVendorCDR_20' ) end [2025-03-20 14:13:22] Production.INFO: ProcessCDR(1,14723376,1,1,2) [2025-03-20 14:13:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:13:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:13:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:13:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:13:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723376', 'tblTempUsageDetail_20' ) start [2025-03-20 14:13:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723376', 'tblTempUsageDetail_20' ) end [2025-03-20 14:13:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:13:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:13:28] Production.INFO: ==681== Releasing lock... [2025-03-20 14:13:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:13:28] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 18:14:02] Production.INFO: ==760== Lock acquired, processing the job... [2025-03-20 18:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:14:02] Production.INFO: neon service started [2025-03-20 18:14:02] Production.INFO: neon service started [2025-03-20 18:14:02] Production.INFO: ==760== Releasing lock... [2025-03-20 18:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:14:02] Production.INFO: ==762== Lock acquired, processing the job... [2025-03-20 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:14:02] Production.INFO: ==764== Lock acquired, processing the job... [2025-03-20 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:14:02] Production.INFO: ==764== Releasing lock... [2025-03-20 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:14:03] Production.INFO: ==762== Releasing lock... [2025-03-20 14:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:14:04] Production.INFO: ==773== Lock acquired, processing the job... [2025-03-20 14:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:14:04] Production.INFO: ==767== Lock acquired, processing the job... [2025-03-20 14:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:14:04] Production.INFO: ==777== Lock acquired, processing the job... [2025-03-20 14:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:14:04] Production.INFO: ==769== Lock acquired, processing the job... [2025-03-20 14:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:14:04] Production.INFO: ==771== Lock acquired, processing the job... [2025-03-20 14:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:14:04] Production.INFO: Account Balance Start. [2025-03-20 14:14:04] Production.INFO: CreateAllLog Start [2025-03-20 14:14:04] Production.INFO: ==775== Lock acquired, processing the job... [2025-03-20 14:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:14:04] Production.INFO: 117 [2025-03-20 14:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:04] Production.INFO: count ==12 [2025-03-20 14:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:14:04] Production.INFO: count ==23 [2025-03-20 14:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723378') start [2025-03-20 14:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723378') end [2025-03-20 14:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:14:04] Production.INFO: 1 [2025-03-20 14:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:04] Production.INFO: ==777== Releasing lock... [2025-03-20 14:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:04] Production.INFO: ==769== Releasing lock... [2025-03-20 14:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:04] Production.ERROR: done [2025-03-20 14:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:14:05] Production.INFO: Date 2025-03-18 [2025-03-20 14:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:14:05] Production.ERROR: done [2025-03-20 14:14:05] Production.INFO: Total Charge 0 [2025-03-20 14:14:05] Production.INFO: CreateAllLog End [2025-03-20 14:14:05] Production.INFO: Account Balance End. [2025-03-20 14:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:14:05] Production.INFO: ==773== Releasing lock... [2025-03-20 14:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:14:06 [end_date_ymd] => 2025-03-20 14:14:06 [RateCDR] => 1 ) [2025-03-20 14: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-03-20 11:14:06' and `end` < '2025-03-20 14: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-03-20 14:14:15] Production.ERROR: CronJobId end10 [2025-03-20 14:14:15] Production.INFO: ==771== Releasing lock... [2025-03-20 14:14:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:14:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:14:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:14:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:14:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:14:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:14:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:14:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:14:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:14:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:14:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:14:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:14:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:14:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:14:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:14:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:14:17] Production.INFO: call_cost start [2025-03-20 14:14:17] Production.INFO: call_cost end [2025-03-20 14:14:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:14:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:14:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:14:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:14:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:14:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:14:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:14:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:14:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:14:18] Production.INFO: ==767== Releasing lock... [2025-03-20 14:14:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:14:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:14:20] Production.INFO: count ==6465 [2025-03-20 14:14:23] Production.ERROR: pbx CDR StartTime 2025-03-20 11:14:06 - End Time 2025-03-20 14:14:06 [2025-03-20 14:14:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:14:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723381', 'tblTempUsageDetail_20' ) start [2025-03-20 14:14:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723381', 'tblTempUsageDetail_20' ) end [2025-03-20 14:14:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723381', 'tblTempVendorCDR_20' ) start [2025-03-20 14:14:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723381', 'tblTempVendorCDR_20' ) end [2025-03-20 14:14:23] Production.INFO: ProcessCDR(1,14723381,1,1,2) [2025-03-20 14:14:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:14:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:14:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:14:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:14:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723381', 'tblTempUsageDetail_20' ) start [2025-03-20 14:14:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723381', 'tblTempUsageDetail_20' ) end [2025-03-20 14:14:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:14:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:14:29] Production.INFO: ==775== Releasing lock... [2025-03-20 14:14:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:14:29] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 18:15:01] Production.INFO: ==837== Lock acquired, processing the job... [2025-03-20 18:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:15:01] Production.INFO: neon service started [2025-03-20 18:15:01] Production.INFO: neon service started [2025-03-20 18:15:01] Production.INFO: ==837== Releasing lock... [2025-03-20 18:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:15:01] Production.INFO: ==839== Lock acquired, processing the job... [2025-03-20 14:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:15:02] Production.INFO: ==839== Releasing lock... [2025-03-20 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:15:02] Production.INFO: ==841== Lock acquired, processing the job... [2025-03-20 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:15:02] Production.INFO: ==841== Releasing lock... [2025-03-20 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:15:03] Production.INFO: ==846== Lock acquired, processing the job... [2025-03-20 14:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:15:03] Production.INFO: ==852== Lock acquired, processing the job... [2025-03-20 14:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:15:03] Production.INFO: ==844== Lock acquired, processing the job... [2025-03-20 14:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:15:03] Production.INFO: ==846== Releasing lock... [2025-03-20 14:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:15:03] Production.INFO: ==848== Lock acquired, processing the job... [2025-03-20 14:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:15:03] Production.INFO: ==850== Lock acquired, processing the job... [2025-03-20 14:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:15:03] Production.INFO: ==854== Lock acquired, processing the job... [2025-03-20 14:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:15:03] Production.INFO: Account Balance Start. [2025-03-20 14:15:03] Production.INFO: CreateAllLog Start [2025-03-20 14:15:03] Production.INFO: 117 [2025-03-20 14:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:15:04] Production.ERROR: done [2025-03-20 14:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:15:04] Production.INFO: count ==12 [2025-03-20 14:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:15:04] Production.INFO: count ==23 [2025-03-20 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723385') start [2025-03-20 14:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.ERROR: done [2025-03-20 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723385') end [2025-03-20 14:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:15:04] Production.INFO: 1 [2025-03-20 14:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.INFO: ==854== Releasing lock... [2025-03-20 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:15:04] Production.INFO: Total Charge 0 [2025-03-20 14:15:04] Production.INFO: CreateAllLog End [2025-03-20 14:15:04] Production.INFO: Account Balance End. [2025-03-20 14:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:15:04] Production.INFO: ==850== Releasing lock... [2025-03-20 14:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:15:05 [end_date_ymd] => 2025-03-20 14:15:05 [RateCDR] => 1 ) [2025-03-20 14:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:15:05' and `end` < '2025-03-20 14:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:15:15] Production.ERROR: CronJobId end10 [2025-03-20 14:15:15] Production.INFO: ==848== Releasing lock... [2025-03-20 14:15:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:15:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:15:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:15:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:15:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:15:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:15:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:15:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:15:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:15:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:15:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:15:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:15:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:15:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:15:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:15:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:15:16] Production.INFO: call_cost start [2025-03-20 14:15:16] Production.INFO: call_cost end [2025-03-20 14:15:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:15:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:15:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:15:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:15:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:15:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:15:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:15:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:15:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:15:17] Production.INFO: ==844== Releasing lock... [2025-03-20 14:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:15:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:15:19] Production.INFO: count ==6474 [2025-03-20 14:15:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:15:05 - End Time 2025-03-20 14:15:05 [2025-03-20 14:15:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723386', 'tblTempUsageDetail_20' ) start [2025-03-20 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723386', 'tblTempUsageDetail_20' ) end [2025-03-20 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723386', 'tblTempVendorCDR_20' ) start [2025-03-20 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723386', 'tblTempVendorCDR_20' ) end [2025-03-20 14:15:22] Production.INFO: ProcessCDR(1,14723386,1,1,2) [2025-03-20 14:15:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:15:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:15:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:15:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:15:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723386', 'tblTempUsageDetail_20' ) start [2025-03-20 14:15:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723386', 'tblTempUsageDetail_20' ) end [2025-03-20 14:15:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:15:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:15:28] Production.INFO: ==852== Releasing lock... [2025-03-20 14:15:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:15:28] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 18:16:02] Production.INFO: ==924== Lock acquired, processing the job... [2025-03-20 18:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:16:02] Production.INFO: neon service started [2025-03-20 18:16:02] Production.INFO: neon service started [2025-03-20 18:16:02] Production.INFO: ==924== Releasing lock... [2025-03-20 18:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:16:02] Production.INFO: ==928== Lock acquired, processing the job... [2025-03-20 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:16:02] Production.INFO: ==928== Releasing lock... [2025-03-20 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:16:02] Production.INFO: ==926== Lock acquired, processing the job... [2025-03-20 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:16:03] Production.INFO: ==926== Releasing lock... [2025-03-20 14:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:16:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:16:04] Production.INFO: ==939== Lock acquired, processing the job... [2025-03-20 14:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:16:04] Production.INFO: ==941== Lock acquired, processing the job... [2025-03-20 14:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14: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-03-20 14:16:04] Production.INFO: ==931== Lock acquired, processing the job... [2025-03-20 14:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:16:04] Production.INFO: ==933== Lock acquired, processing the job... [2025-03-20 14:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:16:04] Production.INFO: count ==12 [2025-03-20 14:16:04] Production.INFO: ==935== Lock acquired, processing the job... [2025-03-20 14:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:16:04] Production.INFO: count ==23 [2025-03-20 14:16:04] Production.INFO: ==937== Lock acquired, processing the job... [2025-03-20 14:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723387') start [2025-03-20 14:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:16:04] Production.INFO: Account Balance Start. [2025-03-20 14:16:04] Production.INFO: CreateAllLog Start [2025-03-20 14:16:04] Production.INFO: 117 [2025-03-20 14:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:16:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723387') end [2025-03-20 14:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:16:04] Production.INFO: 1 [2025-03-20 14:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:04] Production.ERROR: done [2025-03-20 14:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:04] Production.INFO: ==941== Releasing lock... [2025-03-20 14:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:04] Production.INFO: ==933== Releasing lock... [2025-03-20 14:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:04] Production.ERROR: done [2025-03-20 14:16:05] Production.INFO: Date 2025-03-18 [2025-03-20 14:16:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:16:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:16:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:16:05] Production.INFO: Total Charge 0 [2025-03-20 14:16:05] Production.INFO: CreateAllLog End [2025-03-20 14:16:05] Production.INFO: Account Balance End. [2025-03-20 14:16:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:16:05] Production.INFO: ==937== Releasing lock... [2025-03-20 14:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:16:05 [end_date_ymd] => 2025-03-20 14:16:05 [RateCDR] => 1 ) [2025-03-20 14:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:16:05' and `end` < '2025-03-20 14:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:16:13] Production.ERROR: CronJobId end10 [2025-03-20 14:16:13] Production.INFO: ==935== Releasing lock... [2025-03-20 14:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:16:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:16:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:16:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:16:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:16:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:16:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:16:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:16:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:16:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:16:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:16:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:16:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:16:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:16:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:16:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:16:16] Production.INFO: call_cost start [2025-03-20 14:16:16] Production.INFO: call_cost end [2025-03-20 14:16:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:16:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:16:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:16:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:16:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:16:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:16:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:16:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:16:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:16:17] Production.INFO: ==931== Releasing lock... [2025-03-20 14:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:16:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:16:19] Production.INFO: count ==6474 [2025-03-20 14:16:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:16:05 - End Time 2025-03-20 14:16:05 [2025-03-20 14:16:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723391', 'tblTempUsageDetail_20' ) start [2025-03-20 14:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723391', 'tblTempUsageDetail_20' ) end [2025-03-20 14:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723391', 'tblTempVendorCDR_20' ) start [2025-03-20 14:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723391', 'tblTempVendorCDR_20' ) end [2025-03-20 14:16:22] Production.INFO: ProcessCDR(1,14723391,1,1,2) [2025-03-20 14:16:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:16:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:16:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:16:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:16:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723391', 'tblTempUsageDetail_20' ) start [2025-03-20 14:16:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723391', 'tblTempUsageDetail_20' ) end [2025-03-20 14:16:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:16:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:16:28] Production.INFO: ==939== Releasing lock... [2025-03-20 14:16:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:16:28] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 18:17:01] Production.INFO: ==1009== Lock acquired, processing the job... [2025-03-20 18:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:17:01] Production.INFO: neon service started [2025-03-20 18:17:01] Production.INFO: neon service started [2025-03-20 18:17:01] Production.INFO: ==1009== Releasing lock... [2025-03-20 18:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:17:02] Production.INFO: ==1011== Lock acquired, processing the job... [2025-03-20 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:17:02] Production.INFO: ==1013== Lock acquired, processing the job... [2025-03-20 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:17:02] Production.INFO: ==1011== Releasing lock... [2025-03-20 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:17:02] Production.INFO: ==1013== Releasing lock... [2025-03-20 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:17:03] Production.INFO: ==1016== Lock acquired, processing the job... [2025-03-20 14:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:17:03] Production.INFO: ==1022== Lock acquired, processing the job... [2025-03-20 14:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:17:03] Production.INFO: ==1018== Lock acquired, processing the job... [2025-03-20 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:17:03] Production.INFO: ==1026== Lock acquired, processing the job... [2025-03-20 14:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:17:03] Production.INFO: ==1020== Lock acquired, processing the job... [2025-03-20 14:17:03] Production.INFO: Account Balance Start. [2025-03-20 14:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:17:03] Production.INFO: CreateAllLog Start [2025-03-20 14:17:03] Production.INFO: 117 [2025-03-20 14:17:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 14: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-03-20 14:17:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:17:03] Production.INFO: count ==12 [2025-03-20 14:17:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 14: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-03-20 14:17:03] Production.INFO: count ==23 [2025-03-20 14:17:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723395') start [2025-03-20 14:17:03] Production.INFO: ==1024== Lock acquired, processing the job... [2025-03-20 14:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:17:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723395') end [2025-03-20 14:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:17:03] Production.INFO: 1 [2025-03-20 14:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:17:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:17:03] Production.INFO: ==1018== Releasing lock... [2025-03-20 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:17:03] Production.INFO: Date 2025-03-14 [2025-03-20 14:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:17:04] Production.INFO: ==1026== Releasing lock... [2025-03-20 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:17:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:17:04] Production.ERROR: done [2025-03-20 14:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:17:04] Production.INFO: Total Charge 0 [2025-03-20 14:17:04] Production.INFO: CreateAllLog End [2025-03-20 14:17:04] Production.ERROR: done [2025-03-20 14:17:04] Production.INFO: Account Balance End. [2025-03-20 14:17:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:17:05] Production.INFO: ==1022== Releasing lock... [2025-03-20 14:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:17:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:17:05 [end_date_ymd] => 2025-03-20 14:17:05 [RateCDR] => 1 ) [2025-03-20 14:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:17:05' and `end` < '2025-03-20 14:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:17:14] Production.ERROR: CronJobId end10 [2025-03-20 14:17:14] Production.INFO: ==1020== Releasing lock... [2025-03-20 14:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:17:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:17:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:17:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:17:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:17:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:17:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:17:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:17:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:17:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:17:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:17:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:17:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:17:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:17:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:17:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:17:17] Production.INFO: call_cost start [2025-03-20 14:17:17] Production.INFO: call_cost end [2025-03-20 14:17:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:17:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:17:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:17:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:17:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:17:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:17:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:17:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:17:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:17:18] Production.INFO: ==1016== Releasing lock... [2025-03-20 14:17:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:17:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:17:19] Production.INFO: count ==6477 [2025-03-20 14:17:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:17:05 - End Time 2025-03-20 14:17:05 [2025-03-20 14:17:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723396', 'tblTempUsageDetail_20' ) start [2025-03-20 14:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723396', 'tblTempUsageDetail_20' ) end [2025-03-20 14:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723396', 'tblTempVendorCDR_20' ) start [2025-03-20 14:17:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723396', 'tblTempVendorCDR_20' ) end [2025-03-20 14:17:23] Production.INFO: ProcessCDR(1,14723396,1,1,2) [2025-03-20 14:17:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:17:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:17:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:17:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:17:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723396', 'tblTempUsageDetail_20' ) start [2025-03-20 14:17:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723396', 'tblTempUsageDetail_20' ) end [2025-03-20 14:17:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:17:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:17:28] Production.INFO: ==1024== Releasing lock... [2025-03-20 14:17:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:17:28] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 18:18:02] Production.INFO: ==1104== Lock acquired, processing the job... [2025-03-20 18:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:18:02] Production.INFO: neon service started [2025-03-20 18:18:02] Production.INFO: neon service started [2025-03-20 18:18:02] Production.INFO: ==1104== Releasing lock... [2025-03-20 18:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 18:18:02] Production.INFO: ==1108== Lock acquired, processing the job... [2025-03-20 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:18:02] Production.INFO: ==1108== Releasing lock... [2025-03-20 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:18:02] Production.INFO: ==1106== Lock acquired, processing the job... [2025-03-20 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:18:03] Production.INFO: ==1106== Releasing lock... [2025-03-20 14:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:18:04] Production.INFO: ==1111== Lock acquired, processing the job... [2025-03-20 14:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:18:04] Production.INFO: ==1113== Lock acquired, processing the job... [2025-03-20 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:18:04] Production.INFO: ==1115== Lock acquired, processing the job... [2025-03-20 14:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:18:04] Production.INFO: ==1119== Lock acquired, processing the job... [2025-03-20 14:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:18:04] Production.INFO: ==1117== Lock acquired, processing the job... [2025-03-20 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:18:04] Production.INFO: ==1121== Lock acquired, processing the job... [2025-03-20 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:18:04] Production.INFO: Account Balance Start. [2025-03-20 14:18:04] Production.INFO: CreateAllLog Start [2025-03-20 14:18:04] Production.INFO: 117 [2025-03-20 14:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:18:04] Production.INFO: ==1113== Releasing lock... [2025-03-20 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:18:04] Production.INFO: count ==12 [2025-03-20 14:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:18:04] Production.INFO: count ==23 [2025-03-20 14:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723400') start [2025-03-20 14:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:04] Production.ERROR: done [2025-03-20 14:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723400') end [2025-03-20 14:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:18:04] Production.INFO: 1 [2025-03-20 14:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:18:04] Production.INFO: ==1121== Releasing lock... [2025-03-20 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:05] Production.ERROR: done [2025-03-20 14:18:05] Production.INFO: Date 2025-03-15 [2025-03-20 14:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:05] Production.INFO: Date 2025-03-16 [2025-03-20 14:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:05] Production.INFO: Date 2025-03-17 [2025-03-20 14:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:05] Production.INFO: Date 2025-03-18 [2025-03-20 14:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:18:05] Production.INFO: Total Charge 0 [2025-03-20 14:18:05] Production.INFO: CreateAllLog End [2025-03-20 14:18:05] Production.INFO: Account Balance End. [2025-03-20 14:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:18:05] Production.INFO: ==1117== Releasing lock... [2025-03-20 14:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:18:06 [end_date_ymd] => 2025-03-20 14:18:06 [RateCDR] => 1 ) [2025-03-20 14: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-03-20 11:18:06' and `end` < '2025-03-20 14: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-03-20 14:18:16] Production.ERROR: CronJobId end10 [2025-03-20 14:18:16] Production.INFO: ==1115== Releasing lock... [2025-03-20 14:18:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:18:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:18:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:18:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:18:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:18:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:18:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:18:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:18:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:18:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:18:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:18:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:18:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:18:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:18:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:18:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:18:17] Production.INFO: call_cost start [2025-03-20 14:18:17] Production.INFO: call_cost end [2025-03-20 14:18:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:18:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:18:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:18:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:18:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:18:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:18:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:18:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:18:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:18:18] Production.INFO: ==1111== Releasing lock... [2025-03-20 14:18:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:18:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:18:20] Production.INFO: count ==6474 [2025-03-20 14:18:23] Production.ERROR: pbx CDR StartTime 2025-03-20 11:18:06 - End Time 2025-03-20 14:18:06 [2025-03-20 14:18:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723401', 'tblTempUsageDetail_20' ) start [2025-03-20 14:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723401', 'tblTempUsageDetail_20' ) end [2025-03-20 14:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723401', 'tblTempVendorCDR_20' ) start [2025-03-20 14:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723401', 'tblTempVendorCDR_20' ) end [2025-03-20 14:18:23] Production.INFO: ProcessCDR(1,14723401,1,1,2) [2025-03-20 14:18:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:18:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:18:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:18:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:18:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723401', 'tblTempUsageDetail_20' ) start [2025-03-20 14:18:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723401', 'tblTempUsageDetail_20' ) end [2025-03-20 14:18:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:18:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:18:29] Production.INFO: ==1119== Releasing lock... [2025-03-20 14:18:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:18:29] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 18:19:01] Production.INFO: ==1193== Lock acquired, processing the job... [2025-03-20 18:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:19:01] Production.INFO: neon service started [2025-03-20 18:19:01] Production.INFO: neon service started [2025-03-20 18:19:01] Production.INFO: ==1193== Releasing lock... [2025-03-20 18:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:19:01] Production.INFO: ==1197== Lock acquired, processing the job... [2025-03-20 18:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:19:01] Production.INFO: ==1197== Releasing lock... [2025-03-20 18:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:19:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:19:02] Production.INFO: ==1195== Lock acquired, processing the job... [2025-03-20 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:19:02] Production.INFO: ==1195== Releasing lock... [2025-03-20 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:19:03] Production.INFO: ==1206== Lock acquired, processing the job... [2025-03-20 14:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:19:03] Production.INFO: Account Balance Start. [2025-03-20 14:19:03] Production.INFO: CreateAllLog Start [2025-03-20 14:19:03] Production.INFO: 117 [2025-03-20 14:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:19:03] Production.INFO: ==1200== Lock acquired, processing the job... [2025-03-20 14:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:03] Production.INFO: ==1210== Lock acquired, processing the job... [2025-03-20 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:19:03] Production.INFO: ==1202== Lock acquired, processing the job... [2025-03-20 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:19:03] Production.INFO: ==1204== Lock acquired, processing the job... [2025-03-20 14:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:19:03] Production.INFO: Date 2025-03-14 [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:03] Production.INFO: ==1208== Lock acquired, processing the job... [2025-03-20 14:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:19:03] Production.INFO: Date 2025-03-15 [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:03] Production.INFO: Date 2025-03-16 [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:19:03] Production.INFO: Date 2025-03-17 [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:19:03] Production.INFO: Date 2025-03-18 [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:03] Production.INFO: Date 2025-03-19 [2025-03-20 14:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:19:04] Production.INFO: Total Charge 0 [2025-03-20 14:19:04] Production.INFO: count ==12 [2025-03-20 14:19:04] Production.INFO: CreateAllLog End [2025-03-20 14:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:19:04] Production.INFO: count ==23 [2025-03-20 14:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723403') start [2025-03-20 14:19:04] Production.INFO: ==1202== Releasing lock... [2025-03-20 14:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:19:04] Production.ERROR: done [2025-03-20 14:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723403') end [2025-03-20 14:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:19:04] Production.INFO: 1 [2025-03-20 14:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:19:04] Production.INFO: Account Balance End. [2025-03-20 14:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:19:04] Production.INFO: ==1206== Releasing lock... [2025-03-20 14:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:19:04] Production.INFO: ==1210== Releasing lock... [2025-03-20 14:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:19:04] Production.ERROR: done [2025-03-20 14:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:19:05 [end_date_ymd] => 2025-03-20 14:19:05 [RateCDR] => 1 ) [2025-03-20 14:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:19:05' and `end` < '2025-03-20 14:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:19:12] Production.ERROR: CronJobId end10 [2025-03-20 14:19:12] Production.INFO: ==1204== Releasing lock... [2025-03-20 14:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:19:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:19:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:19:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:19:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:19:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:19:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:19:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:19:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:19:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:19:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:19:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:19:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:19:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:19:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:19:16] Production.INFO: call_cost start [2025-03-20 14:19:16] Production.INFO: call_cost end [2025-03-20 14:19:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:19:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:19:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:19:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:19:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:19:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:19:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:19:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:19:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:19:17] Production.INFO: ==1200== Releasing lock... [2025-03-20 14:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:19:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:19:19] Production.INFO: count ==6499 [2025-03-20 14:19:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:19:05 - End Time 2025-03-20 14:19:05 [2025-03-20 14:19:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723406', 'tblTempUsageDetail_20' ) start [2025-03-20 14:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723406', 'tblTempUsageDetail_20' ) end [2025-03-20 14:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723406', 'tblTempVendorCDR_20' ) start [2025-03-20 14:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723406', 'tblTempVendorCDR_20' ) end [2025-03-20 14:19:22] Production.INFO: ProcessCDR(1,14723406,1,1,2) [2025-03-20 14:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:19:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:19:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:19:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:19:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723406', 'tblTempUsageDetail_20' ) start [2025-03-20 14:19:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723406', 'tblTempUsageDetail_20' ) end [2025-03-20 14:19:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:19:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:19:28] Production.INFO: ==1208== Releasing lock... [2025-03-20 14:19:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:19:28] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 18:20:02] Production.INFO: ==1289== Lock acquired, processing the job... [2025-03-20 18:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:20:02] Production.INFO: neon service started [2025-03-20 18:20:02] Production.INFO: neon service started [2025-03-20 18:20:02] Production.INFO: ==1289== Releasing lock... [2025-03-20 18:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:20:03] Production.INFO: ==1293== Lock acquired, processing the job... [2025-03-20 18:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:20:03] Production.INFO: ==1291== Lock acquired, processing the job... [2025-03-20 14:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:20:03] Production.INFO: ==1293== Releasing lock... [2025-03-20 18:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:20:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:20:03] Production.INFO: ==1291== Releasing lock... [2025-03-20 14:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:20:04] Production.INFO: ==1296== Lock acquired, processing the job... [2025-03-20 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 14:20:04] Production.INFO: ==1298== Lock acquired, processing the job... [2025-03-20 14:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:20:04] Production.INFO: ==1300== Lock acquired, processing the job... [2025-03-20 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 14:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:20:04] Production.ERROR: CronJob PID - 1298 [2025-03-20 14:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 14:20:04] Production.ERROR: CronJob ID - 5 [2025-03-20 14:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 14:20:00 [2025-03-20 14:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 14:20:04] Production.INFO: ==1296== Releasing lock... [2025-03-20 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 14:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 14:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:20:04] Production.INFO: ==1310== Lock acquired, processing the job... [2025-03-20 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:20:04] Production.INFO: ==1302== Lock acquired, processing the job... [2025-03-20 14:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14: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-03-20 14:20:05] Production.INFO: ==1300== Releasing lock... [2025-03-20 14:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:20:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:20:05] Production.INFO: ==1304== Lock acquired, processing the job... [2025-03-20 14:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:20:05] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:20:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:20:05] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:20:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:20:05] Production.INFO: count ==12 [2025-03-20 14:20:05] Production.INFO: ==1306== Lock acquired, processing the job... [2025-03-20 14:20:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14: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-03-20 14:20:05] Production.INFO: count ==23 [2025-03-20 14:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723409') start [2025-03-20 14:20:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:20:05] Production.INFO: ==1308== Lock acquired, processing the job... [2025-03-20 14:20:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 14:20:05] Production.INFO: Account Balance Start. [2025-03-20 14:20:05] Production.INFO: CreateAllLog Start [2025-03-20 14:20:05] Production.INFO: 117 [2025-03-20 14:20:05] Production.INFO: Date 2025-03-08 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723409') end [2025-03-20 14:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:20:05] Production.INFO: 1 [2025-03-20 14:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:20:05] Production.INFO: Date 2025-03-09 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.INFO: Date 2025-03-10 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.INFO: ==1310== Releasing lock... [2025-03-20 14:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:20:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:20:05] Production.INFO: Date 2025-03-11 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.INFO: Date 2025-03-12 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.INFO: Date 2025-03-13 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.ERROR: done [2025-03-20 14:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:20:05] Production.INFO: Date 2025-03-14 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.INFO: Date 2025-03-15 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.INFO: Date 2025-03-16 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.ERROR: done [2025-03-20 14:20:05] Production.ERROR: done [2025-03-20 14:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 14:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723411', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 14:20:06] Production.INFO: Date 2025-03-20 [2025-03-20 14:20:06] Production.INFO: Reseller ==> 0 [2025-03-20 14:20:06] Production.INFO: Total Charge 0 [2025-03-20 14:20:06] Production.INFO: CreateAllLog End [2025-03-20 14:20:06] Production.INFO: Account Balance End. [2025-03-20 14:20:06] Production.ERROR: CronJobId end 12 [2025-03-20 14:20:06] Production.INFO: ==1304== Releasing lock... [2025-03-20 14:20:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:20:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:20:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:20:07 [end_date_ymd] => 2025-03-20 14:20:07 [RateCDR] => 1 ) [2025-03-20 14:20:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:20:07' and `end` < '2025-03-20 14:20:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723411', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 14:20:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 14:20:10] Production.INFO: ProcessCDR(1,14723411,1,1,2) [2025-03-20 14:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723411,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:20:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723411,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:20:11] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:20:11] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:20:11] Production.INFO: ==1308== Releasing lock... [2025-03-20 14:20:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 14:20:11] Production.INFO: 26 MB #Memory Used# [2025-03-20 14:20:17] Production.ERROR: CronJobId end10 [2025-03-20 14:20:17] Production.INFO: ==1302== Releasing lock... [2025-03-20 14:20:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:20:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:20:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:20:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:20:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:20:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:20:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:20:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:20:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:20:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:20:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:20:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:20:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:20:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:20:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:20:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:20:19] Production.INFO: call_cost start [2025-03-20 14:20:19] Production.INFO: call_cost end [2025-03-20 14:20:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:20:20] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:20:20] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:20:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:20:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:20:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:20:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:20:20] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:20:20] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:20:20] Production.INFO: ==1298== Releasing lock... [2025-03-20 14:20:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:20:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:20:21] Production.INFO: count ==6553 [2025-03-20 14:20:24] Production.ERROR: pbx CDR StartTime 2025-03-20 11:20:07 - End Time 2025-03-20 14:20:07 [2025-03-20 14:20:24] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:20:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723412', 'tblTempUsageDetail_20' ) start [2025-03-20 14:20:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723412', 'tblTempUsageDetail_20' ) end [2025-03-20 14:20:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723412', 'tblTempVendorCDR_20' ) start [2025-03-20 14:20:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723412', 'tblTempVendorCDR_20' ) end [2025-03-20 14:20:25] Production.INFO: ProcessCDR(1,14723412,1,1,2) [2025-03-20 14:20:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:20:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723412,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:20:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:20:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723412,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:20:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723412', 'tblTempUsageDetail_20' ) start [2025-03-20 14:20:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723412', 'tblTempUsageDetail_20' ) end [2025-03-20 14:20:31] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:20:31] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:20:31] Production.INFO: ==1306== Releasing lock... [2025-03-20 14:20:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:20:31] Production.INFO: 77 MB #Memory Used# [2025-03-20 18:21:01] Production.INFO: ==1375== Lock acquired, processing the job... [2025-03-20 18:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:21:01] Production.INFO: neon service started [2025-03-20 18:21:01] Production.INFO: neon service started [2025-03-20 18:21:01] Production.INFO: ==1375== Releasing lock... [2025-03-20 18:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:21:02] Production.INFO: ==1379== Lock acquired, processing the job... [2025-03-20 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:21:02] Production.INFO: ==1381== Lock acquired, processing the job... [2025-03-20 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:21:02] Production.INFO: ==1381== Releasing lock... [2025-03-20 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:21:02] Production.INFO: ==1379== Releasing lock... [2025-03-20 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:21:03] Production.INFO: ==1388== Lock acquired, processing the job... [2025-03-20 14:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:21:03] Production.INFO: ==1390== Lock acquired, processing the job... [2025-03-20 14:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:21:03] Production.INFO: ==1384== Lock acquired, processing the job... [2025-03-20 14:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:21:03] Production.INFO: Account Balance Start. [2025-03-20 14:21:03] Production.INFO: CreateAllLog Start [2025-03-20 14:21:03] Production.INFO: 117 [2025-03-20 14:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:21:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:21:04] Production.INFO: ==1386== Lock acquired, processing the job... [2025-03-20 14:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: ==1394== Lock acquired, processing the job... [2025-03-20 14:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: ==1392== Lock acquired, processing the job... [2025-03-20 14:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:21:04] Production.INFO: count ==12 [2025-03-20 14:21:04] Production.INFO: Total Charge 0 [2025-03-20 14:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:21:04] Production.INFO: count ==23 [2025-03-20 14:21:04] Production.INFO: CreateAllLog End [2025-03-20 14:21:04] Production.INFO: ==1386== Releasing lock... [2025-03-20 14:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723416') start [2025-03-20 14:21:04] Production.INFO: Account Balance End. [2025-03-20 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723416') end [2025-03-20 14:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:21:04] Production.INFO: 1 [2025-03-20 14:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:21:04] Production.INFO: ==1394== Releasing lock... [2025-03-20 14:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:21:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:21:04] Production.INFO: ==1390== Releasing lock... [2025-03-20 14:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:21:05] Production.ERROR: done [2025-03-20 14:21:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:21:05] Production.ERROR: done [2025-03-20 14:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:21:06 [end_date_ymd] => 2025-03-20 14:21:06 [RateCDR] => 1 ) [2025-03-20 14:21:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:21:06' and `end` < '2025-03-20 14:21:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:21:14] Production.ERROR: CronJobId end10 [2025-03-20 14:21:14] Production.INFO: ==1388== Releasing lock... [2025-03-20 14:21:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:21:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:21:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:21:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:21:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:21:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:21:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:21:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:21:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:21:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:21:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:21:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:21:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:21:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:21:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:21:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:21:17] Production.INFO: call_cost start [2025-03-20 14:21:17] Production.INFO: call_cost end [2025-03-20 14:21:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:21:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:21:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:21:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:21:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:21:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:21:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:21:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:21:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:21:18] Production.INFO: ==1384== Releasing lock... [2025-03-20 14:21:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:21:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:21:20] Production.INFO: count ==6602 [2025-03-20 14:21:23] Production.ERROR: pbx CDR StartTime 2025-03-20 11:21:06 - End Time 2025-03-20 14:21:06 [2025-03-20 14:21:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723417', 'tblTempUsageDetail_20' ) start [2025-03-20 14:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723417', 'tblTempUsageDetail_20' ) end [2025-03-20 14:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723417', 'tblTempVendorCDR_20' ) start [2025-03-20 14:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723417', 'tblTempVendorCDR_20' ) end [2025-03-20 14:21:23] Production.INFO: ProcessCDR(1,14723417,1,1,2) [2025-03-20 14:21:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:21:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723417,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:21:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:21:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723417,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:21:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723417', 'tblTempUsageDetail_20' ) start [2025-03-20 14:21:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723417', 'tblTempUsageDetail_20' ) end [2025-03-20 14:21:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:21:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:21:29] Production.INFO: ==1392== Releasing lock... [2025-03-20 14:21:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:21:29] Production.INFO: 77.5 MB #Memory Used# [2025-03-20 18:22:02] Production.INFO: ==1520== Lock acquired, processing the job... [2025-03-20 18:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:22:02] Production.INFO: neon service started [2025-03-20 18:22:02] Production.INFO: neon service started [2025-03-20 18:22:02] Production.INFO: ==1520== Releasing lock... [2025-03-20 18:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:22:02] Production.INFO: ==1538== Lock acquired, processing the job... [2025-03-20 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:22:02] Production.INFO: ==1538== Releasing lock... [2025-03-20 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:22:03] Production.INFO: ==1540== Lock acquired, processing the job... [2025-03-20 18:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:22:03] Production.INFO: ==1540== Releasing lock... [2025-03-20 18:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:22:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:22:03] Production.INFO: ==1543== Lock acquired, processing the job... [2025-03-20 14:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:22:04] Production.INFO: ==1554== Lock acquired, processing the job... [2025-03-20 14:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:22:04] Production.INFO: ==1545== Lock acquired, processing the job... [2025-03-20 14:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:22:04] Production.INFO: ==1549== Lock acquired, processing the job... [2025-03-20 14:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:22:04] Production.INFO: ==1547== Lock acquired, processing the job... [2025-03-20 14:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:22:04] Production.INFO: count ==12 [2025-03-20 14:22:04] Production.INFO: ==1551== Lock acquired, processing the job... [2025-03-20 14:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:22:04] Production.INFO: count ==23 [2025-03-20 14:22:04] Production.INFO: Account Balance Start. [2025-03-20 14:22:04] Production.INFO: CreateAllLog Start [2025-03-20 14:22:04] Production.INFO: 117 [2025-03-20 14:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723419') start [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723419') end [2025-03-20 14:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:22:04] Production.INFO: 1 [2025-03-20 14:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:04] Production.INFO: ==1554== Releasing lock... [2025-03-20 14:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:04] Production.INFO: ==1545== Releasing lock... [2025-03-20 14:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:22:05] Production.ERROR: done [2025-03-20 14:22:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:22:05] Production.INFO: Total Charge 0 [2025-03-20 14:22:05] Production.INFO: CreateAllLog End [2025-03-20 14:22:05] Production.ERROR: done [2025-03-20 14:22:05] Production.INFO: Account Balance End. [2025-03-20 14:22:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:22:05] Production.INFO: ==1549== Releasing lock... [2025-03-20 14:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:22:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:22:06 [end_date_ymd] => 2025-03-20 14:22:06 [RateCDR] => 1 ) [2025-03-20 14: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-03-20 11:22:06' and `end` < '2025-03-20 14: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-03-20 14:22:16] Production.ERROR: CronJobId end10 [2025-03-20 14:22:16] Production.INFO: ==1547== Releasing lock... [2025-03-20 14:22:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:22:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:22:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:22:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:22:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:22:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:22:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:22:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:22:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:22:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:22:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:22:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:22:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:22:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:22:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:22:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:22:18] Production.INFO: call_cost start [2025-03-20 14:22:18] Production.INFO: call_cost end [2025-03-20 14:22:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:22:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:22:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:22:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:22:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:22:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:22:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:22:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:22:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:22:19] Production.INFO: ==1543== Releasing lock... [2025-03-20 14:22:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:22:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:22:19] Production.INFO: count ==6612 [2025-03-20 14:22:23] Production.ERROR: pbx CDR StartTime 2025-03-20 11:22:06 - End Time 2025-03-20 14:22:06 [2025-03-20 14:22:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723422', 'tblTempUsageDetail_20' ) start [2025-03-20 14:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723422', 'tblTempUsageDetail_20' ) end [2025-03-20 14:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723422', 'tblTempVendorCDR_20' ) start [2025-03-20 14:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723422', 'tblTempVendorCDR_20' ) end [2025-03-20 14:22:23] Production.INFO: ProcessCDR(1,14723422,1,1,2) [2025-03-20 14:22:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:22:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:22:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:22:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:22:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723422', 'tblTempUsageDetail_20' ) start [2025-03-20 14:22:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723422', 'tblTempUsageDetail_20' ) end [2025-03-20 14:22:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:22:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:22:29] Production.INFO: ==1551== Releasing lock... [2025-03-20 14:22:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:22:29] Production.INFO: 77.5 MB #Memory Used# [2025-03-20 18:23:01] Production.INFO: ==1633== Lock acquired, processing the job... [2025-03-20 18:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:23:01] Production.INFO: neon service started [2025-03-20 18:23:01] Production.INFO: neon service started [2025-03-20 18:23:01] Production.INFO: ==1633== Releasing lock... [2025-03-20 18:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:23:02] Production.INFO: ==1635== Lock acquired, processing the job... [2025-03-20 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:23:02] Production.INFO: ==1635== Releasing lock... [2025-03-20 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:23:02] Production.INFO: ==1637== Lock acquired, processing the job... [2025-03-20 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:23:02] Production.INFO: ==1637== Releasing lock... [2025-03-20 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:23:03] Production.INFO: ==1647== Lock acquired, processing the job... [2025-03-20 14:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:23:03] Production.INFO: ==1650== Lock acquired, processing the job... [2025-03-20 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:23:03] Production.INFO: ==1639== Lock acquired, processing the job... [2025-03-20 14:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:23:03] Production.INFO: ==1641== Lock acquired, processing the job... [2025-03-20 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:23:03] Production.INFO: ==1643== Lock acquired, processing the job... [2025-03-20 14:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:23:03] Production.INFO: ==1645== Lock acquired, processing the job... [2025-03-20 14:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:23:04] Production.INFO: count ==12 [2025-03-20 14:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:23:04] Production.INFO: count ==23 [2025-03-20 14:23:04] Production.ERROR: done [2025-03-20 14:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723423') start [2025-03-20 14:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:23:04] Production.ERROR: done [2025-03-20 14:23:04] Production.INFO: Account Balance Start. [2025-03-20 14:23:04] Production.INFO: CreateAllLog Start [2025-03-20 14:23:04] Production.INFO: 117 [2025-03-20 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723423') end [2025-03-20 14:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:23:04] Production.INFO: 1 [2025-03-20 14:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:23:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: ==1650== Releasing lock... [2025-03-20 14:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:23:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: ==1641== Releasing lock... [2025-03-20 14:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:23:04] Production.INFO: Total Charge 0 [2025-03-20 14:23:04] Production.INFO: CreateAllLog End [2025-03-20 14:23:05] Production.INFO: Account Balance End. [2025-03-20 14:23:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:23:05] Production.INFO: ==1645== Releasing lock... [2025-03-20 14:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:23:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:23:05 [end_date_ymd] => 2025-03-20 14:23:05 [RateCDR] => 1 ) [2025-03-20 14:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:23:05' and `end` < '2025-03-20 14:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:23:13] Production.ERROR: CronJobId end10 [2025-03-20 14:23:13] Production.INFO: ==1643== Releasing lock... [2025-03-20 14:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:23:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:23:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:23:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:23:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:23:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:23:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:23:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:23:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:23:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:23:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:23:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:23:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:23:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:23:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:23:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:23:16] Production.INFO: call_cost start [2025-03-20 14:23:16] Production.INFO: call_cost end [2025-03-20 14:23:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:23:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:23:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:23:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:23:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:23:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:23:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:23:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:23:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:23:17] Production.INFO: ==1639== Releasing lock... [2025-03-20 14:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:23:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:23:19] Production.INFO: count ==6626 [2025-03-20 14:23:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:23:05 - End Time 2025-03-20 14:23:05 [2025-03-20 14:23:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723427', 'tblTempUsageDetail_20' ) start [2025-03-20 14:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723427', 'tblTempUsageDetail_20' ) end [2025-03-20 14:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723427', 'tblTempVendorCDR_20' ) start [2025-03-20 14:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723427', 'tblTempVendorCDR_20' ) end [2025-03-20 14:23:23] Production.INFO: ProcessCDR(1,14723427,1,1,2) [2025-03-20 14:23:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:23:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:23:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:23:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723427', 'tblTempUsageDetail_20' ) start [2025-03-20 14:23:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723427', 'tblTempUsageDetail_20' ) end [2025-03-20 14:23:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:23:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:23:29] Production.INFO: ==1647== Releasing lock... [2025-03-20 14:23:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:23:29] Production.INFO: 77.5 MB #Memory Used# [2025-03-20 18:24:02] Production.INFO: ==1715== Lock acquired, processing the job... [2025-03-20 18:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:24:02] Production.INFO: neon service started [2025-03-20 18:24:02] Production.INFO: neon service started [2025-03-20 18:24:02] Production.INFO: ==1715== Releasing lock... [2025-03-20 18:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:24:02] Production.INFO: ==1717== Lock acquired, processing the job... [2025-03-20 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:24:03] Production.INFO: ==1717== Releasing lock... [2025-03-20 14:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:24:03] Production.INFO: ==1719== Lock acquired, processing the job... [2025-03-20 18:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:24:03] Production.INFO: ==1719== Releasing lock... [2025-03-20 18:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:24:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:24:04] Production.INFO: ==1722== Lock acquired, processing the job... [2025-03-20 14:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:24:04] Production.INFO: ==1724== Lock acquired, processing the job... [2025-03-20 14:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:24:04] Production.INFO: ==1732== Lock acquired, processing the job... [2025-03-20 14:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:24:04] Production.INFO: ==1728== Lock acquired, processing the job... [2025-03-20 14:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:24:04] Production.INFO: ==1726== Lock acquired, processing the job... [2025-03-20 14:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:24:04] Production.INFO: count ==12 [2025-03-20 14:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:24:04] Production.INFO: count ==23 [2025-03-20 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723430') start [2025-03-20 14:24:04] Production.INFO: ==1730== Lock acquired, processing the job... [2025-03-20 14:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:24:04] Production.INFO: Account Balance Start. [2025-03-20 14:24:04] Production.INFO: CreateAllLog Start [2025-03-20 14:24:04] Production.INFO: 117 [2025-03-20 14:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:24:04] Production.INFO: ==1724== Releasing lock... [2025-03-20 14:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723430') end [2025-03-20 14:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:24:04] Production.INFO: 1 [2025-03-20 14:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:24:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:04] Production.INFO: ==1732== Releasing lock... [2025-03-20 14:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:05] Production.INFO: Date 2025-03-15 [2025-03-20 14:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:05] Production.ERROR: done [2025-03-20 14:24:05] Production.INFO: Date 2025-03-16 [2025-03-20 14:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:24:05] Production.INFO: Date 2025-03-17 [2025-03-20 14:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:05] Production.ERROR: done [2025-03-20 14:24:05] Production.INFO: Date 2025-03-18 [2025-03-20 14:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:24:05] Production.INFO: Total Charge 0 [2025-03-20 14:24:05] Production.INFO: CreateAllLog End [2025-03-20 14:24:05] Production.INFO: Account Balance End. [2025-03-20 14:24:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:24:05] Production.INFO: ==1728== Releasing lock... [2025-03-20 14:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:24:06 [end_date_ymd] => 2025-03-20 14:24:06 [RateCDR] => 1 ) [2025-03-20 14: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-03-20 11:24:06' and `end` < '2025-03-20 14: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-03-20 14:24:14] Production.ERROR: CronJobId end10 [2025-03-20 14:24:14] Production.INFO: ==1726== Releasing lock... [2025-03-20 14:24:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:24:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:24:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:24:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:24:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:24:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:24:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:24:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:24:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:24:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:24:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:24:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:24:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:24:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:24:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:24:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:24:17] Production.INFO: call_cost start [2025-03-20 14:24:17] Production.INFO: call_cost end [2025-03-20 14:24:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:24:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:24:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:24:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:24:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:24:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:24:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:24:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:24:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:24:18] Production.INFO: ==1722== Releasing lock... [2025-03-20 14:24:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:24:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:24:19] Production.INFO: count ==6614 [2025-03-20 14:24:23] Production.ERROR: pbx CDR StartTime 2025-03-20 11:24:06 - End Time 2025-03-20 14:24:06 [2025-03-20 14:24:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723432', 'tblTempUsageDetail_20' ) start [2025-03-20 14:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723432', 'tblTempUsageDetail_20' ) end [2025-03-20 14:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723432', 'tblTempVendorCDR_20' ) start [2025-03-20 14:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723432', 'tblTempVendorCDR_20' ) end [2025-03-20 14:24:23] Production.INFO: ProcessCDR(1,14723432,1,1,2) [2025-03-20 14:24:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:24:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:24:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:24:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:24:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723432', 'tblTempUsageDetail_20' ) start [2025-03-20 14:24:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723432', 'tblTempUsageDetail_20' ) end [2025-03-20 14:24:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:24:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:24:29] Production.INFO: ==1730== Releasing lock... [2025-03-20 14:24:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:24:29] Production.INFO: 77.5 MB #Memory Used# [2025-03-20 18:25:01] Production.INFO: ==1804== Lock acquired, processing the job... [2025-03-20 18:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:25:01] Production.INFO: neon service started [2025-03-20 18:25:01] Production.INFO: neon service started [2025-03-20 18:25:01] Production.INFO: ==1804== Releasing lock... [2025-03-20 18:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:25:02] Production.INFO: ==1808== Lock acquired, processing the job... [2025-03-20 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:25:02] Production.INFO: ==1808== Releasing lock... [2025-03-20 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:25:02] Production.INFO: ==1806== Lock acquired, processing the job... [2025-03-20 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:25:02] Production.INFO: ==1806== Releasing lock... [2025-03-20 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:25:03] Production.INFO: ==1811== Lock acquired, processing the job... [2025-03-20 14:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:25:03] Production.INFO: ==1815== Lock acquired, processing the job... [2025-03-20 14:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:25:03] Production.INFO: ==1820== Lock acquired, processing the job... [2025-03-20 14:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:25:03] Production.INFO: ==1813== Lock acquired, processing the job... [2025-03-20 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:25:03] Production.ERROR: done [2025-03-20 14:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:25:03] Production.INFO: ==1818== Lock acquired, processing the job... [2025-03-20 14:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:25:03] Production.INFO: ==1822== Lock acquired, processing the job... [2025-03-20 14:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:25:04] Production.ERROR: done [2025-03-20 14:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:25:04] Production.INFO: Account Balance Start. [2025-03-20 14:25:04] Production.INFO: CreateAllLog Start [2025-03-20 14:25:04] Production.INFO: count ==12 [2025-03-20 14:25:04] Production.INFO: 117 [2025-03-20 14:25:04] Production.INFO: ==1813== Releasing lock... [2025-03-20 14:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:25:04] Production.INFO: count ==23 [2025-03-20 14:25:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723435') start [2025-03-20 14:25:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723435') end [2025-03-20 14:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:25:04] Production.INFO: 1 [2025-03-20 14:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:25:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.INFO: ==1822== Releasing lock... [2025-03-20 14:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:25:05] Production.INFO: Total Charge 0 [2025-03-20 14:25:05] Production.INFO: CreateAllLog End [2025-03-20 14:25:05] Production.INFO: Account Balance End. [2025-03-20 14:25:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:25:05] Production.INFO: ==1818== Releasing lock... [2025-03-20 14:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:25:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:25:05 [end_date_ymd] => 2025-03-20 14:25:05 [RateCDR] => 1 ) [2025-03-20 14:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:25:05' and `end` < '2025-03-20 14:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:25:13] Production.ERROR: CronJobId end10 [2025-03-20 14:25:13] Production.INFO: ==1815== Releasing lock... [2025-03-20 14:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:25:15] Production.INFO: call_cost start [2025-03-20 14:25:15] Production.INFO: call_cost end [2025-03-20 14:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:25:16] Production.INFO: ==1811== Releasing lock... [2025-03-20 14:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:25:19] Production.INFO: count ==6654 [2025-03-20 14:25:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:25:05 - End Time 2025-03-20 14:25:05 [2025-03-20 14:25:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723437', 'tblTempUsageDetail_20' ) start [2025-03-20 14:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723437', 'tblTempUsageDetail_20' ) end [2025-03-20 14:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723437', 'tblTempVendorCDR_20' ) start [2025-03-20 14:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723437', 'tblTempVendorCDR_20' ) end [2025-03-20 14:25:22] Production.INFO: ProcessCDR(1,14723437,1,1,2) [2025-03-20 14:25:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:25:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:25:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:25:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723437', 'tblTempUsageDetail_20' ) start [2025-03-20 14:25:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723437', 'tblTempUsageDetail_20' ) end [2025-03-20 14:25:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:25:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:25:28] Production.INFO: ==1820== Releasing lock... [2025-03-20 14:25:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:25:28] Production.INFO: 77.75 MB #Memory Used# [2025-03-20 18:26:02] Production.INFO: ==1893== Lock acquired, processing the job... [2025-03-20 18:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:26:02] Production.INFO: neon service started [2025-03-20 18:26:02] Production.INFO: neon service started [2025-03-20 18:26:02] Production.INFO: ==1893== Releasing lock... [2025-03-20 18:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:26:02] Production.INFO: ==1895== Lock acquired, processing the job... [2025-03-20 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:26:03] Production.INFO: ==1897== Lock acquired, processing the job... [2025-03-20 18:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:26:03] Production.INFO: ==1897== Releasing lock... [2025-03-20 18:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:26:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:26:03] Production.INFO: ==1895== Releasing lock... [2025-03-20 14:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:26:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:26:03] Production.INFO: ==1906== Lock acquired, processing the job... [2025-03-20 14:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:26:03] Production.INFO: ==1900== Lock acquired, processing the job... [2025-03-20 14:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:26:03] Production.INFO: Account Balance Start. [2025-03-20 14:26:03] Production.INFO: CreateAllLog Start [2025-03-20 14:26:03] Production.INFO: 117 [2025-03-20 14:26:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:26:04] Production.INFO: ==1902== Lock acquired, processing the job... [2025-03-20 14:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.INFO: ==1910== Lock acquired, processing the job... [2025-03-20 14:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.INFO: ==1904== Lock acquired, processing the job... [2025-03-20 14:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.INFO: ==1908== Lock acquired, processing the job... [2025-03-20 14:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:26:04] Production.INFO: count ==12 [2025-03-20 14:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14: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-03-20 14:26:04] Production.INFO: count ==23 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723441') start [2025-03-20 14:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.INFO: ==1902== Releasing lock... [2025-03-20 14:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723441') end [2025-03-20 14:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:26:04] Production.INFO: 1 [2025-03-20 14:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.INFO: ==1910== Releasing lock... [2025-03-20 14:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:26:04] Production.ERROR: done [2025-03-20 14:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:26:04] Production.INFO: Total Charge 0 [2025-03-20 14:26:04] Production.INFO: CreateAllLog End [2025-03-20 14:26:05] Production.ERROR: done [2025-03-20 14:26:05] Production.INFO: Account Balance End. [2025-03-20 14:26:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:26:05] Production.INFO: ==1906== Releasing lock... [2025-03-20 14:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:26:05 [end_date_ymd] => 2025-03-20 14:26:05 [RateCDR] => 1 ) [2025-03-20 14:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:26:05' and `end` < '2025-03-20 14:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:26:13] Production.ERROR: CronJobId end10 [2025-03-20 14:26:13] Production.INFO: ==1904== Releasing lock... [2025-03-20 14:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:26:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:26:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:26:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:26:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:26:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:26:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:26:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:26:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:26:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:26:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:26:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:26:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:26:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:26:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:26:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:26:15] Production.INFO: call_cost start [2025-03-20 14:26:15] Production.INFO: call_cost end [2025-03-20 14:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:26:16] Production.INFO: ==1900== Releasing lock... [2025-03-20 14:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:26:19] Production.INFO: count ==6670 [2025-03-20 14:26:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:26:05 - End Time 2025-03-20 14:26:05 [2025-03-20 14:26:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723442', 'tblTempUsageDetail_20' ) start [2025-03-20 14:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723442', 'tblTempUsageDetail_20' ) end [2025-03-20 14:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723442', 'tblTempVendorCDR_20' ) start [2025-03-20 14:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723442', 'tblTempVendorCDR_20' ) end [2025-03-20 14:26:22] Production.INFO: ProcessCDR(1,14723442,1,1,2) [2025-03-20 14:26:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:26:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:26:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:26:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723442', 'tblTempUsageDetail_20' ) start [2025-03-20 14:26:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723442', 'tblTempUsageDetail_20' ) end [2025-03-20 14:26:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:26:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:26:28] Production.INFO: ==1908== Releasing lock... [2025-03-20 14:26:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:26:28] Production.INFO: 78 MB #Memory Used# [2025-03-20 18:27:01] Production.INFO: ==1978== Lock acquired, processing the job... [2025-03-20 18:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:27:01] Production.INFO: neon service started [2025-03-20 18:27:01] Production.INFO: neon service started [2025-03-20 18:27:01] Production.INFO: ==1978== Releasing lock... [2025-03-20 18:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:27:02] Production.INFO: ==1984== Lock acquired, processing the job... [2025-03-20 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:27:02] Production.INFO: ==1982== Lock acquired, processing the job... [2025-03-20 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:27:02] Production.INFO: ==1984== Releasing lock... [2025-03-20 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:27:02] Production.INFO: ==1982== Releasing lock... [2025-03-20 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:27:03] Production.INFO: ==1989== Lock acquired, processing the job... [2025-03-20 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:27:03] Production.INFO: ==1993== Lock acquired, processing the job... [2025-03-20 14:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:27:03] Production.INFO: ==1998== Lock acquired, processing the job... [2025-03-20 14:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:27:03] Production.INFO: Account Balance Start. [2025-03-20 14:27:03] Production.INFO: CreateAllLog Start [2025-03-20 14:27:03] Production.INFO: 117 [2025-03-20 14:27:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:03] Production.INFO: ==1989== Releasing lock... [2025-03-20 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:27:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:27:03] Production.INFO: ==1987== Lock acquired, processing the job... [2025-03-20 14:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:27:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:03] Production.INFO: count ==12 [2025-03-20 14:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:27:03] Production.INFO: ==1991== Lock acquired, processing the job... [2025-03-20 14:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:27:03] Production.INFO: count ==23 [2025-03-20 14:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723445') start [2025-03-20 14:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723445') end [2025-03-20 14:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:27:04] Production.INFO: 1 [2025-03-20 14:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:04] Production.INFO: ==1998== Releasing lock... [2025-03-20 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:27:04] Production.INFO: ==1996== Lock acquired, processing the job... [2025-03-20 14:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:27:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:27:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:27:04] Production.INFO: Total Charge 0 [2025-03-20 14:27:04] Production.INFO: CreateAllLog End [2025-03-20 14:27:04] Production.ERROR: done [2025-03-20 14:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:27:04] Production.INFO: Account Balance End. [2025-03-20 14:27:04] Production.ERROR: done [2025-03-20 14:27:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:27:04] Production.INFO: ==1993== Releasing lock... [2025-03-20 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:27:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:27:06 [end_date_ymd] => 2025-03-20 14:27:06 [RateCDR] => 1 ) [2025-03-20 14: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-03-20 11:27:06' and `end` < '2025-03-20 14: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-03-20 14:27:13] Production.ERROR: CronJobId end10 [2025-03-20 14:27:13] Production.INFO: ==1991== Releasing lock... [2025-03-20 14:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:27:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:27:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:27:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:27:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:27:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:27:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:27:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:27:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:27:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:27:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:27:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:27:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:27:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:27:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:27:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:27:15] Production.INFO: call_cost start [2025-03-20 14:27:15] Production.INFO: call_cost end [2025-03-20 14:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:27:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:27:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:27:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:27:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:27:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:27:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:27:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:27:16] Production.INFO: ==1987== Releasing lock... [2025-03-20 14:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:27:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:27:19] Production.INFO: count ==6653 [2025-03-20 14:27:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:27:06 - End Time 2025-03-20 14:27:06 [2025-03-20 14:27:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723447', 'tblTempUsageDetail_20' ) start [2025-03-20 14:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723447', 'tblTempUsageDetail_20' ) end [2025-03-20 14:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723447', 'tblTempVendorCDR_20' ) start [2025-03-20 14:27:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723447', 'tblTempVendorCDR_20' ) end [2025-03-20 14:27:22] Production.INFO: ProcessCDR(1,14723447,1,1,2) [2025-03-20 14:27:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:27:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:27:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:27:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:27:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723447', 'tblTempUsageDetail_20' ) start [2025-03-20 14:27:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723447', 'tblTempUsageDetail_20' ) end [2025-03-20 14:27:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:27:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:27:28] Production.INFO: ==1996== Releasing lock... [2025-03-20 14:27:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:27:28] Production.INFO: 77.75 MB #Memory Used# [2025-03-20 18:28:02] Production.INFO: ==2080== Lock acquired, processing the job... [2025-03-20 18:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:28:02] Production.INFO: neon service started [2025-03-20 18:28:02] Production.INFO: neon service started [2025-03-20 18:28:02] Production.INFO: ==2080== Releasing lock... [2025-03-20 18:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:28:02] Production.INFO: ==2082== Lock acquired, processing the job... [2025-03-20 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:28:02] Production.INFO: ==2082== Releasing lock... [2025-03-20 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:28:03] Production.INFO: ==2084== Lock acquired, processing the job... [2025-03-20 18:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:28:03] Production.INFO: ==2084== Releasing lock... [2025-03-20 18:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:28:03] Production.INFO: ==2089== Lock acquired, processing the job... [2025-03-20 14:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:28:03] Production.INFO: ==2097== Lock acquired, processing the job... [2025-03-20 14:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:28:04] Production.INFO: count ==12 [2025-03-20 14:28:04] Production.INFO: ==2087== Lock acquired, processing the job... [2025-03-20 14:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:28:04] Production.INFO: count ==23 [2025-03-20 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723448') start [2025-03-20 14:28:04] Production.INFO: ==2091== Lock acquired, processing the job... [2025-03-20 14:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:28:04] Production.INFO: ==2093== Lock acquired, processing the job... [2025-03-20 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:28:04] Production.INFO: ==2089== Releasing lock... [2025-03-20 14:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:28:04] Production.INFO: ==2095== Lock acquired, processing the job... [2025-03-20 14:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723448') end [2025-03-20 14:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:28:04] Production.INFO: 1 [2025-03-20 14:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:28:04] Production.INFO: Account Balance Start. [2025-03-20 14:28:04] Production.INFO: CreateAllLog Start [2025-03-20 14:28:04] Production.INFO: 117 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:28:04] Production.INFO: ==2097== Releasing lock... [2025-03-20 14:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.ERROR: done [2025-03-20 14:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:28:04] Production.INFO: Total Charge 0 [2025-03-20 14:28:04] Production.ERROR: done [2025-03-20 14:28:04] Production.INFO: CreateAllLog End [2025-03-20 14:28:05] Production.INFO: Account Balance End. [2025-03-20 14:28:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:28:05] Production.INFO: ==2093== Releasing lock... [2025-03-20 14:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:28:05 [end_date_ymd] => 2025-03-20 14:28:05 [RateCDR] => 1 ) [2025-03-20 14:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:28:05' and `end` < '2025-03-20 14:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:28:15] Production.ERROR: CronJobId end10 [2025-03-20 14:28:15] Production.INFO: ==2091== Releasing lock... [2025-03-20 14:28:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:28:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:28:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:28:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:28:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:28:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:28:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:28:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:28:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:28:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:28:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:28:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:28:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:28:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:28:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:28:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:28:16] Production.INFO: call_cost start [2025-03-20 14:28:16] Production.INFO: call_cost end [2025-03-20 14:28:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:28:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:28:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:28:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:28:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:28:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:28:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:28:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:28:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:28:17] Production.INFO: ==2087== Releasing lock... [2025-03-20 14:28:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:28:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:28:19] Production.INFO: count ==6655 [2025-03-20 14:28:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:28:05 - End Time 2025-03-20 14:28:05 [2025-03-20 14:28:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723452', 'tblTempUsageDetail_20' ) start [2025-03-20 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723452', 'tblTempUsageDetail_20' ) end [2025-03-20 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723452', 'tblTempVendorCDR_20' ) start [2025-03-20 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723452', 'tblTempVendorCDR_20' ) end [2025-03-20 14:28:22] Production.INFO: ProcessCDR(1,14723452,1,1,2) [2025-03-20 14:28:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:28:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723452', 'tblTempUsageDetail_20' ) start [2025-03-20 14:28:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723452', 'tblTempUsageDetail_20' ) end [2025-03-20 14:28:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:28:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:28:28] Production.INFO: ==2095== Releasing lock... [2025-03-20 14:28:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:28:28] Production.INFO: 77.75 MB #Memory Used# [2025-03-20 18:29:01] Production.INFO: ==2163== Lock acquired, processing the job... [2025-03-20 18:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:29:01] Production.INFO: neon service started [2025-03-20 18:29:01] Production.INFO: neon service started [2025-03-20 18:29:01] Production.INFO: ==2163== Releasing lock... [2025-03-20 18:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:29:02] Production.INFO: ==2167== Lock acquired, processing the job... [2025-03-20 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:29:02] Production.INFO: ==2167== Releasing lock... [2025-03-20 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:29:02] Production.INFO: ==2165== Lock acquired, processing the job... [2025-03-20 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:29:02] Production.INFO: ==2165== Releasing lock... [2025-03-20 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:29:03] Production.INFO: ==2172== Lock acquired, processing the job... [2025-03-20 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:29:03] Production.INFO: ==2180== Lock acquired, processing the job... [2025-03-20 14:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:29:03] Production.INFO: ==2170== Lock acquired, processing the job... [2025-03-20 14:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:29:04] Production.INFO: ==2176== Lock acquired, processing the job... [2025-03-20 14:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:29:04] Production.INFO: ==2178== Lock acquired, processing the job... [2025-03-20 14:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:29:04] Production.INFO: ==2174== Lock acquired, processing the job... [2025-03-20 14:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:29:04] Production.INFO: count ==12 [2025-03-20 14:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:29:04] Production.INFO: count ==23 [2025-03-20 14:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723454') start [2025-03-20 14:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723454') end [2025-03-20 14:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:29:04] Production.INFO: 1 [2025-03-20 14:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:29:04] Production.INFO: Account Balance Start. [2025-03-20 14:29:04] Production.INFO: CreateAllLog Start [2025-03-20 14:29:04] Production.INFO: 117 [2025-03-20 14:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: ==2180== Releasing lock... [2025-03-20 14:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:29:04] Production.INFO: ==2172== Releasing lock... [2025-03-20 14:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.ERROR: done [2025-03-20 14:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:29:04] Production.INFO: Total Charge 0 [2025-03-20 14:29:04] Production.INFO: CreateAllLog End [2025-03-20 14:29:04] Production.ERROR: done [2025-03-20 14:29:05] Production.INFO: Account Balance End. [2025-03-20 14:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:29:05] Production.INFO: ==2176== Releasing lock... [2025-03-20 14:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:29:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:29:06 [end_date_ymd] => 2025-03-20 14:29:06 [RateCDR] => 1 ) [2025-03-20 14:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:29:06' and `end` < '2025-03-20 14:29:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:29:14] Production.ERROR: CronJobId end10 [2025-03-20 14:29:14] Production.INFO: ==2174== Releasing lock... [2025-03-20 14:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:29:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:29:16] Production.INFO: call_cost start [2025-03-20 14:29:16] Production.INFO: call_cost end [2025-03-20 14:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:29:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:29:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:29:17] Production.INFO: ==2170== Releasing lock... [2025-03-20 14:29:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:29:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:29:19] Production.INFO: count ==6646 [2025-03-20 14:29:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:29:06 - End Time 2025-03-20 14:29:06 [2025-03-20 14:29:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723457', 'tblTempUsageDetail_20' ) start [2025-03-20 14:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723457', 'tblTempUsageDetail_20' ) end [2025-03-20 14:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723457', 'tblTempVendorCDR_20' ) start [2025-03-20 14:29:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723457', 'tblTempVendorCDR_20' ) end [2025-03-20 14:29:23] Production.INFO: ProcessCDR(1,14723457,1,1,2) [2025-03-20 14:29:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:29:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:29:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:29:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:29:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723457', 'tblTempUsageDetail_20' ) start [2025-03-20 14:29:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723457', 'tblTempUsageDetail_20' ) end [2025-03-20 14:29:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:29:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:29:28] Production.INFO: ==2178== Releasing lock... [2025-03-20 14:29:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:29:28] Production.INFO: 77.75 MB #Memory Used# [2025-03-20 18:30:02] Production.INFO: ==2254== Lock acquired, processing the job... [2025-03-20 18:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:30:02] Production.INFO: neon service started [2025-03-20 18:30:02] Production.INFO: neon service started [2025-03-20 18:30:02] Production.INFO: ==2254== Releasing lock... [2025-03-20 18:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:30:02] Production.INFO: ==2257== Lock acquired, processing the job... [2025-03-20 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:30:03] Production.INFO: ==2259== Lock acquired, processing the job... [2025-03-20 18:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:30:03] Production.INFO: ==2259== Releasing lock... [2025-03-20 18:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:30:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:30:03] Production.INFO: ==2257== Releasing lock... [2025-03-20 14:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:30:04] Production.INFO: ==2261== Lock acquired, processing the job... [2025-03-20 14:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 14:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 14:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 14:30:04] Production.INFO: ==2261== Releasing lock... [2025-03-20 14:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 14:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 14:30:04] Production.INFO: ==2263== Lock acquired, processing the job... [2025-03-20 14:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:30:04] Production.INFO: ==2265== Lock acquired, processing the job... [2025-03-20 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:30:04] Production.INFO: ==2271== Lock acquired, processing the job... [2025-03-20 14:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:30:04] Production.INFO: ==2267== Lock acquired, processing the job... [2025-03-20 14:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:30:04] Production.INFO: ==2269== Lock acquired, processing the job... [2025-03-20 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:30:04] Production.INFO: ==2273== Lock acquired, processing the job... [2025-03-20 14:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 14:30:04] Production.INFO: ==2265== Releasing lock... [2025-03-20 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:30:04] Production.INFO: ==2275== Lock acquired, processing the job... [2025-03-20 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:30:04] Production.INFO: Account Balance Start. [2025-03-20 14:30:04] Production.INFO: CreateAllLog Start [2025-03-20 14:30:04] Production.INFO: 117 [2025-03-20 14:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:04] Production.ERROR: done [2025-03-20 14:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:30:05] Production.INFO: count ==12 [2025-03-20 14:30:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:30:05] Production.INFO: Date 2025-03-10 [2025-03-20 14:30:05] Production.INFO: count ==23 [2025-03-20 14:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723461') start [2025-03-20 14:30:05] Production.INFO: Date 2025-03-11 [2025-03-20 14:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:05] Production.INFO: Date 2025-03-12 [2025-03-20 14:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:05] Production.ERROR: done [2025-03-20 14:30:05] Production.ERROR: done [2025-03-20 14:30:05] Production.INFO: Date 2025-03-13 [2025-03-20 14:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 14:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723462', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 14:30:05] Production.INFO: Date 2025-03-14 [2025-03-20 14:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723461') end [2025-03-20 14:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:30:05] Production.INFO: 1 [2025-03-20 14:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:30:05] Production.INFO: Date 2025-03-15 [2025-03-20 14:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:05] Production.INFO: ==2275== Releasing lock... [2025-03-20 14:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:30:05] Production.INFO: Date 2025-03-16 [2025-03-20 14:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 14:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 14:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:30:05] Production.INFO: Total Charge 0 [2025-03-20 14:30:05] Production.INFO: CreateAllLog End [2025-03-20 14:30:05] Production.INFO: Account Balance End. [2025-03-20 14:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:30:05] Production.INFO: ==2269== Releasing lock... [2025-03-20 14:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:30:06 [end_date_ymd] => 2025-03-20 14:30:06 [RateCDR] => 1 ) [2025-03-20 14:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:30:06' and `end` < '2025-03-20 14:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723462', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 14:30:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 14:30:10] Production.INFO: ProcessCDR(1,14723462,1,1,2) [2025-03-20 14:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723462,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723462,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:30:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:30:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:30:10] Production.INFO: ==2273== Releasing lock... [2025-03-20 14:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 14:30:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 14:30:16] Production.ERROR: CronJobId end10 [2025-03-20 14:30:16] Production.INFO: ==2267== Releasing lock... [2025-03-20 14:30:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:30:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:30:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:30:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:30:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:30:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:30:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:30:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:30:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:30:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:30:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:30:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:30:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:30:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:30:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:30:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:30:18] Production.INFO: call_cost start [2025-03-20 14:30:18] Production.INFO: call_cost end [2025-03-20 14:30:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:30:20] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:30:20] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:30:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:30:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:30:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:30:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:30:20] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:30:20] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:30:20] Production.INFO: ==2263== Releasing lock... [2025-03-20 14:30:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:30:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:30:20] Production.INFO: count ==6596 [2025-03-20 14:30:23] Production.ERROR: pbx CDR StartTime 2025-03-20 11:30:06 - End Time 2025-03-20 14:30:06 [2025-03-20 14:30:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723463', 'tblTempUsageDetail_20' ) start [2025-03-20 14:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723463', 'tblTempUsageDetail_20' ) end [2025-03-20 14:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723463', 'tblTempVendorCDR_20' ) start [2025-03-20 14:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723463', 'tblTempVendorCDR_20' ) end [2025-03-20 14:30:23] Production.INFO: ProcessCDR(1,14723463,1,1,2) [2025-03-20 14:30:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:30:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723463,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:30:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:30:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723463,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:30:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723463', 'tblTempUsageDetail_20' ) start [2025-03-20 14:30:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723463', 'tblTempUsageDetail_20' ) end [2025-03-20 14:30:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:30:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:30:29] Production.INFO: ==2271== Releasing lock... [2025-03-20 14:30:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:30:29] Production.INFO: 77.25 MB #Memory Used# [2025-03-20 18:31:01] Production.INFO: ==2343== Lock acquired, processing the job... [2025-03-20 18:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:31:01] Production.INFO: neon service started [2025-03-20 18:31:01] Production.INFO: neon service started [2025-03-20 18:31:01] Production.INFO: ==2343== Releasing lock... [2025-03-20 18:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:31:02] Production.INFO: ==2345== Lock acquired, processing the job... [2025-03-20 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:31:02] Production.INFO: ==2345== Releasing lock... [2025-03-20 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:31:02] Production.INFO: ==2347== Lock acquired, processing the job... [2025-03-20 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:31:02] Production.INFO: ==2347== Releasing lock... [2025-03-20 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:31:03] Production.INFO: ==2349== Lock acquired, processing the job... [2025-03-20 14:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:31:03] Production.INFO: ==2351== Lock acquired, processing the job... [2025-03-20 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:31:03] Production.INFO: ==2355== Lock acquired, processing the job... [2025-03-20 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:31:03] Production.INFO: Account Balance Start. [2025-03-20 14:31:03] Production.INFO: CreateAllLog Start [2025-03-20 14:31:03] Production.INFO: 117 [2025-03-20 14:31:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:03] Production.INFO: ==2357== Lock acquired, processing the job... [2025-03-20 14:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:31:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:03] Production.INFO: ==2353== Lock acquired, processing the job... [2025-03-20 14:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:31:03] Production.INFO: ==2359== Lock acquired, processing the job... [2025-03-20 14:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:31:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:31:03] Production.INFO: ==2351== Releasing lock... [2025-03-20 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:04] Production.INFO: count ==12 [2025-03-20 14:31:04] Production.ERROR: done [2025-03-20 14:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:31:04] Production.INFO: count ==23 [2025-03-20 14:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723467') start [2025-03-20 14:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:04] Production.ERROR: done [2025-03-20 14:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723467') end [2025-03-20 14:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:31:04] Production.INFO: 1 [2025-03-20 14:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:31:04] Production.INFO: ==2359== Releasing lock... [2025-03-20 14:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:31:04] Production.INFO: Total Charge 0 [2025-03-20 14:31:04] Production.INFO: CreateAllLog End [2025-03-20 14:31:04] Production.INFO: Account Balance End. [2025-03-20 14:31:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:31:04] Production.INFO: ==2355== Releasing lock... [2025-03-20 14:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:31:05 [end_date_ymd] => 2025-03-20 14:31:05 [RateCDR] => 1 ) [2025-03-20 14:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:31:05' and `end` < '2025-03-20 14:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:31:14] Production.ERROR: CronJobId end10 [2025-03-20 14:31:14] Production.INFO: ==2353== Releasing lock... [2025-03-20 14:31:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:31:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:31:15] Production.INFO: call_cost start [2025-03-20 14:31:15] Production.INFO: call_cost end [2025-03-20 14:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:31:16] Production.INFO: ==2349== Releasing lock... [2025-03-20 14:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:31:19] Production.INFO: count ==6661 [2025-03-20 14:31:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:31:05 - End Time 2025-03-20 14:31:05 [2025-03-20 14:31:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723468', 'tblTempUsageDetail_20' ) start [2025-03-20 14:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723468', 'tblTempUsageDetail_20' ) end [2025-03-20 14:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723468', 'tblTempVendorCDR_20' ) start [2025-03-20 14:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723468', 'tblTempVendorCDR_20' ) end [2025-03-20 14:31:22] Production.INFO: ProcessCDR(1,14723468,1,1,2) [2025-03-20 14:31:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:31:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:31:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:31:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723468', 'tblTempUsageDetail_20' ) start [2025-03-20 14:31:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723468', 'tblTempUsageDetail_20' ) end [2025-03-20 14:31:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:31:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:31:28] Production.INFO: ==2357== Releasing lock... [2025-03-20 14:31:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:31:28] Production.INFO: 78 MB #Memory Used# [2025-03-20 18:32:02] Production.INFO: ==2425== Lock acquired, processing the job... [2025-03-20 18:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:32:02] Production.INFO: neon service started [2025-03-20 18:32:02] Production.INFO: neon service started [2025-03-20 18:32:02] Production.INFO: ==2425== Releasing lock... [2025-03-20 18:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:32:02] Production.INFO: ==2427== Lock acquired, processing the job... [2025-03-20 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:32:03] Production.INFO: ==2427== Releasing lock... [2025-03-20 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:32:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:32:03] Production.INFO: ==2429== Lock acquired, processing the job... [2025-03-20 18:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:32:03] Production.INFO: ==2429== Releasing lock... [2025-03-20 18:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:32:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:32:04] Production.INFO: ==2438== Lock acquired, processing the job... [2025-03-20 14:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:32:04] Production.INFO: ==2442== Lock acquired, processing the job... [2025-03-20 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:32:04] Production.INFO: Account Balance Start. [2025-03-20 14:32:04] Production.INFO: CreateAllLog Start [2025-03-20 14:32:04] Production.INFO: ==2431== Lock acquired, processing the job... [2025-03-20 14:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:32:04] Production.INFO: 117 [2025-03-20 14:32:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:32:04] Production.INFO: ==2433== Lock acquired, processing the job... [2025-03-20 14:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:32:04] Production.INFO: ==2435== Lock acquired, processing the job... [2025-03-20 14:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: count ==12 [2025-03-20 14:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:32:04] Production.INFO: count ==23 [2025-03-20 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723470') start [2025-03-20 14:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: ==2440== Lock acquired, processing the job... [2025-03-20 14:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723470') end [2025-03-20 14:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:32:04] Production.INFO: 1 [2025-03-20 14:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:32:04] Production.INFO: ==2442== Releasing lock... [2025-03-20 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:32:04] Production.INFO: Total Charge 0 [2025-03-20 14:32:04] Production.INFO: CreateAllLog End [2025-03-20 14:32:04] Production.INFO: ==2433== Releasing lock... [2025-03-20 14:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:32:05] Production.ERROR: done [2025-03-20 14:32:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:32:05] Production.INFO: Account Balance End. [2025-03-20 14:32:05] Production.ERROR: done [2025-03-20 14:32:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:32:05] Production.INFO: ==2438== Releasing lock... [2025-03-20 14:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:32:06 [end_date_ymd] => 2025-03-20 14:32:06 [RateCDR] => 1 ) [2025-03-20 14:32:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:32:06' and `end` < '2025-03-20 14:32:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:32:15] Production.ERROR: CronJobId end10 [2025-03-20 14:32:15] Production.INFO: ==2435== Releasing lock... [2025-03-20 14:32:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:32:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:32:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:32:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:32:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:32:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:32:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:32:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:32:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:32:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:32:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:32:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:32:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:32:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:32:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:32:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:32:17] Production.INFO: call_cost start [2025-03-20 14:32:17] Production.INFO: call_cost end [2025-03-20 14:32:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:32:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:32:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:32:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:32:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:32:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:32:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:32:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:32:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:32:18] Production.INFO: ==2431== Releasing lock... [2025-03-20 14:32:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:32:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:32:19] Production.INFO: count ==6626 [2025-03-20 14:32:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:32:06 - End Time 2025-03-20 14:32:06 [2025-03-20 14:32:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723473', 'tblTempUsageDetail_20' ) start [2025-03-20 14:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723473', 'tblTempUsageDetail_20' ) end [2025-03-20 14:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723473', 'tblTempVendorCDR_20' ) start [2025-03-20 14:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723473', 'tblTempVendorCDR_20' ) end [2025-03-20 14:32:23] Production.INFO: ProcessCDR(1,14723473,1,1,2) [2025-03-20 14:32:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:32:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:32:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:32:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723473', 'tblTempUsageDetail_20' ) start [2025-03-20 14:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723473', 'tblTempUsageDetail_20' ) end [2025-03-20 14:32:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:32:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:32:28] Production.INFO: ==2440== Releasing lock... [2025-03-20 14:32:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:32:28] Production.INFO: 77.5 MB #Memory Used# [2025-03-20 18:33:01] Production.INFO: ==2508== Lock acquired, processing the job... [2025-03-20 18:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:33:01] Production.INFO: neon service started [2025-03-20 18:33:01] Production.INFO: neon service started [2025-03-20 18:33:01] Production.INFO: ==2508== Releasing lock... [2025-03-20 18:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:33:02] Production.INFO: ==2510== Lock acquired, processing the job... [2025-03-20 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:33:02] Production.INFO: ==2510== Releasing lock... [2025-03-20 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:33:02] Production.INFO: ==2512== Lock acquired, processing the job... [2025-03-20 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:33:02] Production.INFO: ==2512== Releasing lock... [2025-03-20 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:33:03] Production.INFO: ==2523== Lock acquired, processing the job... [2025-03-20 14:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:33:03] Production.INFO: ==2515== Lock acquired, processing the job... [2025-03-20 14:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:33:03] Production.INFO: ==2525== Lock acquired, processing the job... [2025-03-20 14:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:33:03] Production.INFO: ==2517== Lock acquired, processing the job... [2025-03-20 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:33:03] Production.INFO: ==2519== Lock acquired, processing the job... [2025-03-20 14:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:33:03] Production.INFO: ==2521== Lock acquired, processing the job... [2025-03-20 14:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:33:04] Production.INFO: Account Balance Start. [2025-03-20 14:33:04] Production.INFO: CreateAllLog Start [2025-03-20 14:33:04] Production.INFO: 117 [2025-03-20 14:33:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.INFO: count ==12 [2025-03-20 14:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:33:04] Production.INFO: count ==23 [2025-03-20 14:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723474') start [2025-03-20 14:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.ERROR: done [2025-03-20 14:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723474') end [2025-03-20 14:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:33:04] Production.INFO: 1 [2025-03-20 14:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.INFO: ==2517== Releasing lock... [2025-03-20 14:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.INFO: ==2525== Releasing lock... [2025-03-20 14:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.ERROR: done [2025-03-20 14:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:33:04] Production.INFO: Total Charge 0 [2025-03-20 14:33:04] Production.INFO: CreateAllLog End [2025-03-20 14:33:05] Production.INFO: Account Balance End. [2025-03-20 14:33:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:33:05] Production.INFO: ==2521== Releasing lock... [2025-03-20 14:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:33:05 [end_date_ymd] => 2025-03-20 14:33:05 [RateCDR] => 1 ) [2025-03-20 14:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:33:05' and `end` < '2025-03-20 14:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:33:14] Production.ERROR: CronJobId end10 [2025-03-20 14:33:14] Production.INFO: ==2519== Releasing lock... [2025-03-20 14:33:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:33:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:33:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:33:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:33:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:33:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:33:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:33:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:33:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:33:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:33:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:33:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:33:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:33:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:33:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:33:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:33:17] Production.INFO: call_cost start [2025-03-20 14:33:17] Production.INFO: call_cost end [2025-03-20 14:33:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:33:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:33:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:33:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:33:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:33:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:33:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:33:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:33:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:33:18] Production.INFO: ==2515== Releasing lock... [2025-03-20 14:33:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:33:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:33:19] Production.INFO: count ==6584 [2025-03-20 14:33:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:33:05 - End Time 2025-03-20 14:33:05 [2025-03-20 14:33:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723478', 'tblTempUsageDetail_20' ) start [2025-03-20 14:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723478', 'tblTempUsageDetail_20' ) end [2025-03-20 14:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723478', 'tblTempVendorCDR_20' ) start [2025-03-20 14:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723478', 'tblTempVendorCDR_20' ) end [2025-03-20 14:33:22] Production.INFO: ProcessCDR(1,14723478,1,1,2) [2025-03-20 14:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:33:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:33:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:33:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:33:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723478', 'tblTempUsageDetail_20' ) start [2025-03-20 14:33:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723478', 'tblTempUsageDetail_20' ) end [2025-03-20 14:33:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:33:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:33:28] Production.INFO: ==2523== Releasing lock... [2025-03-20 14:33:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:33:28] Production.INFO: 77.25 MB #Memory Used# [2025-03-20 18:34:01] Production.INFO: ==2592== Lock acquired, processing the job... [2025-03-20 18:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:34:01] Production.INFO: neon service started [2025-03-20 18:34:01] Production.INFO: neon service started [2025-03-20 18:34:01] Production.INFO: ==2592== Releasing lock... [2025-03-20 18:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:34:02] Production.INFO: ==2596== Lock acquired, processing the job... [2025-03-20 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:34:02] Production.INFO: ==2596== Releasing lock... [2025-03-20 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:34:02] Production.INFO: ==2594== Lock acquired, processing the job... [2025-03-20 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:34:02] Production.INFO: ==2594== Releasing lock... [2025-03-20 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:34:03] Production.INFO: ==2599== Lock acquired, processing the job... [2025-03-20 14:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:34:03] Production.INFO: ==2605== Lock acquired, processing the job... [2025-03-20 14:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:34:03] Production.INFO: ==2603== Lock acquired, processing the job... [2025-03-20 14:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:34:03] Production.INFO: Account Balance Start. [2025-03-20 14:34:03] Production.INFO: CreateAllLog Start [2025-03-20 14:34:03] Production.INFO: 117 [2025-03-20 14:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:34:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: ==2601== Lock acquired, processing the job... [2025-03-20 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:34:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: Date 2025-03-14 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:34:03] Production.INFO: Date 2025-03-15 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: Date 2025-03-16 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: Date 2025-03-17 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: Date 2025-03-18 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: ==2607== Lock acquired, processing the job... [2025-03-20 14:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:34:03] Production.INFO: Date 2025-03-19 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: Date 2025-03-20 [2025-03-20 14:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:34:03] Production.INFO: ==2609== Lock acquired, processing the job... [2025-03-20 14:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:34:04] Production.INFO: Total Charge 0 [2025-03-20 14:34:04] Production.INFO: CreateAllLog End [2025-03-20 14:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:34:04] Production.INFO: ==2601== Releasing lock... [2025-03-20 14:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:34:04] Production.INFO: count ==12 [2025-03-20 14:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:34:04] Production.INFO: count ==23 [2025-03-20 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723482') start [2025-03-20 14:34:04] Production.ERROR: done [2025-03-20 14:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723482') end [2025-03-20 14:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:34:04] Production.INFO: 1 [2025-03-20 14:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:34:04] Production.INFO: ==2609== Releasing lock... [2025-03-20 14:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:34:04] Production.ERROR: done [2025-03-20 14:34:04] Production.INFO: Account Balance End. [2025-03-20 14:34:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:34:04] Production.INFO: ==2605== Releasing lock... [2025-03-20 14:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:34:05 [end_date_ymd] => 2025-03-20 14:34:05 [RateCDR] => 1 ) [2025-03-20 14:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:34:05' and `end` < '2025-03-20 14:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:34:16] Production.ERROR: CronJobId end10 [2025-03-20 14:34:16] Production.INFO: ==2603== Releasing lock... [2025-03-20 14:34:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:34:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:34:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:34:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:34:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:34:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:34:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:34:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:34:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:34:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:34:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:34:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:34:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:34:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:34:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:34:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:34:18] Production.INFO: call_cost start [2025-03-20 14:34:18] Production.INFO: call_cost end [2025-03-20 14:34:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:34:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:34:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:34:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:34:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:34:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:34:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:34:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:34:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:34:19] Production.INFO: ==2599== Releasing lock... [2025-03-20 14:34:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:34:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:34:19] Production.INFO: count ==6561 [2025-03-20 14:34:23] Production.ERROR: pbx CDR StartTime 2025-03-20 11:34:05 - End Time 2025-03-20 14:34:05 [2025-03-20 14:34:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723483', 'tblTempUsageDetail_20' ) start [2025-03-20 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723483', 'tblTempUsageDetail_20' ) end [2025-03-20 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723483', 'tblTempVendorCDR_20' ) start [2025-03-20 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723483', 'tblTempVendorCDR_20' ) end [2025-03-20 14:34:23] Production.INFO: ProcessCDR(1,14723483,1,1,2) [2025-03-20 14:34:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:34:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:34:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:34:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:34:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723483', 'tblTempUsageDetail_20' ) start [2025-03-20 14:34:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723483', 'tblTempUsageDetail_20' ) end [2025-03-20 14:34:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:34:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:34:29] Production.INFO: ==2607== Releasing lock... [2025-03-20 14:34:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:34:29] Production.INFO: 77 MB #Memory Used# [2025-03-20 18:35:02] Production.INFO: ==2683== Lock acquired, processing the job... [2025-03-20 18:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:35:02] Production.INFO: neon service started [2025-03-20 18:35:02] Production.INFO: neon service started [2025-03-20 18:35:02] Production.INFO: ==2683== Releasing lock... [2025-03-20 18:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:35:02] Production.INFO: ==2685== Lock acquired, processing the job... [2025-03-20 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:35:02] Production.INFO: ==2687== Lock acquired, processing the job... [2025-03-20 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:35:02] Production.INFO: ==2687== Releasing lock... [2025-03-20 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:35:03] Production.INFO: ==2685== Releasing lock... [2025-03-20 14:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:35:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:35:03] Production.INFO: ==2690== Lock acquired, processing the job... [2025-03-20 14:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:35:03] Production.INFO: ==2692== Lock acquired, processing the job... [2025-03-20 14:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:35:03] Production.INFO: ==2694== Lock acquired, processing the job... [2025-03-20 14:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:35:04] Production.INFO: ==2696== Lock acquired, processing the job... [2025-03-20 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:35:04] Production.INFO: Account Balance Start. [2025-03-20 14:35:04] Production.INFO: CreateAllLog Start [2025-03-20 14:35:04] Production.INFO: 117 [2025-03-20 14:35:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.INFO: ==2692== Releasing lock... [2025-03-20 14:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.INFO: ==2698== Lock acquired, processing the job... [2025-03-20 14:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:35:04] Production.INFO: ==2700== Lock acquired, processing the job... [2025-03-20 14:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.INFO: count ==12 [2025-03-20 14:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:35:04] Production.INFO: count ==23 [2025-03-20 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723487') start [2025-03-20 14:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:35:04] Production.ERROR: done [2025-03-20 14:35:04] Production.INFO: Total Charge 0 [2025-03-20 14:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723487') end [2025-03-20 14:35:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:35:05] Production.INFO: 1 [2025-03-20 14:35:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:35:05] Production.INFO: CreateAllLog End [2025-03-20 14:35:05] Production.INFO: ==2700== Releasing lock... [2025-03-20 14:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:35:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:35:05] Production.ERROR: done [2025-03-20 14:35:05] Production.INFO: Account Balance End. [2025-03-20 14:35:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:35:05] Production.INFO: ==2696== Releasing lock... [2025-03-20 14:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:35:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:35:06 [end_date_ymd] => 2025-03-20 14:35:06 [RateCDR] => 1 ) [2025-03-20 14: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-03-20 11:35:06' and `end` < '2025-03-20 14: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-03-20 14:35:15] Production.ERROR: CronJobId end10 [2025-03-20 14:35:15] Production.INFO: ==2694== Releasing lock... [2025-03-20 14:35:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:35:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:35:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:35:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:35:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:35:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:35:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:35:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:35:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:35:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:35:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:35:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:35:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:35:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:35:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:35:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:35:18] Production.INFO: call_cost start [2025-03-20 14:35:18] Production.INFO: call_cost end [2025-03-20 14:35:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:35:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:35:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:35:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:35:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:35:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:35:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:35:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:35:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:35:19] Production.INFO: ==2690== Releasing lock... [2025-03-20 14:35:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:35:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:35:19] Production.INFO: count ==6498 [2025-03-20 14:35:24] Production.ERROR: pbx CDR StartTime 2025-03-20 11:35:06 - End Time 2025-03-20 14:35:06 [2025-03-20 14:35:24] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723488', 'tblTempUsageDetail_20' ) start [2025-03-20 14:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723488', 'tblTempUsageDetail_20' ) end [2025-03-20 14:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723488', 'tblTempVendorCDR_20' ) start [2025-03-20 14:35:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723488', 'tblTempVendorCDR_20' ) end [2025-03-20 14:35:24] Production.INFO: ProcessCDR(1,14723488,1,1,2) [2025-03-20 14:35:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:35:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:35:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:35:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:35:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723488', 'tblTempUsageDetail_20' ) start [2025-03-20 14:35:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723488', 'tblTempUsageDetail_20' ) end [2025-03-20 14:35:32] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:35:32] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:35:32] Production.INFO: ==2698== Releasing lock... [2025-03-20 14:35:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:35:32] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 18:36:01] Production.INFO: ==2777== Lock acquired, processing the job... [2025-03-20 18:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:36:01] Production.INFO: neon service started [2025-03-20 18:36:01] Production.INFO: neon service started [2025-03-20 18:36:01] Production.INFO: ==2777== Releasing lock... [2025-03-20 18:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:36:02] Production.INFO: ==2781== Lock acquired, processing the job... [2025-03-20 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:36:02] Production.INFO: ==2783== Lock acquired, processing the job... [2025-03-20 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:36:02] Production.INFO: ==2783== Releasing lock... [2025-03-20 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:36:02] Production.INFO: ==2781== Releasing lock... [2025-03-20 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:36:03] Production.INFO: ==2786== Lock acquired, processing the job... [2025-03-20 14:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:36:03] Production.INFO: ==2790== Lock acquired, processing the job... [2025-03-20 14:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:36:03] Production.INFO: ==2796== Lock acquired, processing the job... [2025-03-20 14:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:36:03] Production.INFO: count ==12 [2025-03-20 14:36:03] Production.INFO: ==2788== Lock acquired, processing the job... [2025-03-20 14:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:36:03] Production.INFO: count ==23 [2025-03-20 14:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723490') start [2025-03-20 14:36:03] Production.INFO: ==2794== Lock acquired, processing the job... [2025-03-20 14:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:36:04] Production.INFO: ==2792== Lock acquired, processing the job... [2025-03-20 14:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723490') end [2025-03-20 14:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:36:04] Production.INFO: 1 [2025-03-20 14:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:36:04] Production.INFO: Account Balance Start. [2025-03-20 14:36:04] Production.INFO: CreateAllLog Start [2025-03-20 14:36:04] Production.INFO: 117 [2025-03-20 14:36:04] Production.INFO: ==2796== Releasing lock... [2025-03-20 14:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:36:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.INFO: ==2788== Releasing lock... [2025-03-20 14:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.ERROR: done [2025-03-20 14:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.ERROR: done [2025-03-20 14:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:36:04] Production.INFO: Total Charge 0 [2025-03-20 14:36:04] Production.INFO: CreateAllLog End [2025-03-20 14:36:04] Production.INFO: Account Balance End. [2025-03-20 14:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:36:05] Production.INFO: ==2792== Releasing lock... [2025-03-20 14:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:36:05 [end_date_ymd] => 2025-03-20 14:36:05 [RateCDR] => 1 ) [2025-03-20 14:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:36:05' and `end` < '2025-03-20 14:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:36:14] Production.ERROR: CronJobId end10 [2025-03-20 14:36:14] Production.INFO: ==2790== Releasing lock... [2025-03-20 14:36:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:36:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:36:15] Production.INFO: call_cost start [2025-03-20 14:36:15] Production.INFO: call_cost end [2025-03-20 14:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:36:16] Production.INFO: ==2786== Releasing lock... [2025-03-20 14:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:36:19] Production.INFO: count ==6492 [2025-03-20 14:36:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:36:05 - End Time 2025-03-20 14:36:05 [2025-03-20 14:36:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723493', 'tblTempUsageDetail_20' ) start [2025-03-20 14:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723493', 'tblTempUsageDetail_20' ) end [2025-03-20 14:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723493', 'tblTempVendorCDR_20' ) start [2025-03-20 14:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723493', 'tblTempVendorCDR_20' ) end [2025-03-20 14:36:22] Production.INFO: ProcessCDR(1,14723493,1,1,2) [2025-03-20 14:36:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:36:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:36:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:36:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723493', 'tblTempUsageDetail_20' ) start [2025-03-20 14:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723493', 'tblTempUsageDetail_20' ) end [2025-03-20 14:36:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:36:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:36:28] Production.INFO: ==2794== Releasing lock... [2025-03-20 14:36:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:36:28] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 18:37:01] Production.INFO: ==2910== Lock acquired, processing the job... [2025-03-20 18:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:37:02] Production.INFO: neon service started [2025-03-20 18:37:02] Production.INFO: neon service started [2025-03-20 18:37:02] Production.INFO: ==2910== Releasing lock... [2025-03-20 18:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:37:02] Production.INFO: ==2912== Lock acquired, processing the job... [2025-03-20 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:37:02] Production.INFO: ==2912== Releasing lock... [2025-03-20 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:37:02] Production.INFO: ==2914== Lock acquired, processing the job... [2025-03-20 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:37:03] Production.INFO: ==2914== Releasing lock... [2025-03-20 18:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:37:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:37:03] Production.INFO: ==2916== Lock acquired, processing the job... [2025-03-20 14:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:37:03] Production.INFO: ==2920== Lock acquired, processing the job... [2025-03-20 14:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:37:03] Production.INFO: ==2922== Lock acquired, processing the job... [2025-03-20 14:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:37:03] Production.INFO: Account Balance Start. [2025-03-20 14:37:03] Production.INFO: CreateAllLog Start [2025-03-20 14:37:03] Production.INFO: 117 [2025-03-20 14:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:03] Production.INFO: ==2918== Lock acquired, processing the job... [2025-03-20 14:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:03] Production.INFO: ==2926== Lock acquired, processing the job... [2025-03-20 14:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:37:03] Production.INFO: ==2924== Lock acquired, processing the job... [2025-03-20 14:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:37:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:04] Production.INFO: count ==12 [2025-03-20 14:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:37:04] Production.INFO: count ==23 [2025-03-20 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723497') start [2025-03-20 14:37:04] Production.INFO: ==2918== Releasing lock... [2025-03-20 14:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:04] Production.ERROR: done [2025-03-20 14:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723497') end [2025-03-20 14:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:37:04] Production.INFO: 1 [2025-03-20 14:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:37:04] Production.ERROR: done [2025-03-20 14:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:04] Production.INFO: ==2926== Releasing lock... [2025-03-20 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:37:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:37:05] Production.INFO: Total Charge 0 [2025-03-20 14:37:05] Production.INFO: CreateAllLog End [2025-03-20 14:37:05] Production.INFO: Account Balance End. [2025-03-20 14:37:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:37:05] Production.INFO: ==2922== Releasing lock... [2025-03-20 14:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:37:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:37:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:37:06 [end_date_ymd] => 2025-03-20 14:37:06 [RateCDR] => 1 ) [2025-03-20 14: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-03-20 11:37:06' and `end` < '2025-03-20 14: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-03-20 14:37:13] Production.ERROR: CronJobId end10 [2025-03-20 14:37:13] Production.INFO: ==2920== Releasing lock... [2025-03-20 14:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:37:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:37:15] Production.INFO: call_cost start [2025-03-20 14:37:15] Production.INFO: call_cost end [2025-03-20 14:37:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:37:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:37:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:37:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:37:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:37:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:37:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:37:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:37:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:37:16] Production.INFO: ==2916== Releasing lock... [2025-03-20 14:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:37:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:37:19] Production.INFO: count ==6481 [2025-03-20 14:37:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:37:06 - End Time 2025-03-20 14:37:06 [2025-03-20 14:37:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723498', 'tblTempUsageDetail_20' ) start [2025-03-20 14:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723498', 'tblTempUsageDetail_20' ) end [2025-03-20 14:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723498', 'tblTempVendorCDR_20' ) start [2025-03-20 14:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723498', 'tblTempVendorCDR_20' ) end [2025-03-20 14:37:22] Production.INFO: ProcessCDR(1,14723498,1,1,2) [2025-03-20 14:37:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:37:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:37:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:37:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723498', 'tblTempUsageDetail_20' ) start [2025-03-20 14:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723498', 'tblTempUsageDetail_20' ) end [2025-03-20 14:37:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:37:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:37:27] Production.INFO: ==2924== Releasing lock... [2025-03-20 14:37:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:37:27] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 18:38:01] Production.INFO: ==2996== Lock acquired, processing the job... [2025-03-20 18:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:38:01] Production.INFO: neon service started [2025-03-20 18:38:01] Production.INFO: neon service started [2025-03-20 18:38:01] Production.INFO: ==2996== Releasing lock... [2025-03-20 18:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:38:01] Production.INFO: ==3000== Lock acquired, processing the job... [2025-03-20 18:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:38:01] Production.INFO: ==3000== Releasing lock... [2025-03-20 18:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:38:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:38:02] Production.INFO: ==2998== Lock acquired, processing the job... [2025-03-20 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:38:02] Production.INFO: ==2998== Releasing lock... [2025-03-20 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:38:03] Production.INFO: ==3006== Lock acquired, processing the job... [2025-03-20 14:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:38:03] Production.INFO: ==3009== Lock acquired, processing the job... [2025-03-20 14:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:38:03] Production.INFO: ==3002== Lock acquired, processing the job... [2025-03-20 14:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:38:03] Production.INFO: Account Balance Start. [2025-03-20 14:38:03] Production.INFO: CreateAllLog Start [2025-03-20 14:38:03] Production.INFO: 117 [2025-03-20 14:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:38:03] Production.INFO: ==3004== Lock acquired, processing the job... [2025-03-20 14:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:38:03] Production.INFO: ==3011== Lock acquired, processing the job... [2025-03-20 14:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:38:03] Production.INFO: ==3013== Lock acquired, processing the job... [2025-03-20 14:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:38:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:38:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 14: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-03-20 14:38:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:03] Production.INFO: count ==12 [2025-03-20 14: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-03-20 14:38:03] Production.INFO: count ==23 [2025-03-20 14:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723502') start [2025-03-20 14:38:03] Production.INFO: Date 2025-03-14 [2025-03-20 14:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:04] Production.INFO: ==3004== Releasing lock... [2025-03-20 14:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723502') end [2025-03-20 14:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:38:04] Production.INFO: 1 [2025-03-20 14:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:04] Production.INFO: ==3013== Releasing lock... [2025-03-20 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:38:04] Production.ERROR: done [2025-03-20 14:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:38:04] Production.INFO: Total Charge 0 [2025-03-20 14:38:04] Production.INFO: CreateAllLog End [2025-03-20 14:38:04] Production.ERROR: done [2025-03-20 14:38:04] Production.INFO: Account Balance End. [2025-03-20 14:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:38:04] Production.INFO: ==3009== Releasing lock... [2025-03-20 14:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:38:05 [end_date_ymd] => 2025-03-20 14:38:05 [RateCDR] => 1 ) [2025-03-20 14:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:38:05' and `end` < '2025-03-20 14:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:38:13] Production.ERROR: CronJobId end10 [2025-03-20 14:38:13] Production.INFO: ==3006== Releasing lock... [2025-03-20 14:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:38:15] Production.INFO: call_cost start [2025-03-20 14:38:15] Production.INFO: call_cost end [2025-03-20 14:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:38:16] Production.INFO: ==3002== Releasing lock... [2025-03-20 14:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:38:19] Production.INFO: count ==6479 [2025-03-20 14:38:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:38:05 - End Time 2025-03-20 14:38:05 [2025-03-20 14:38:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723503', 'tblTempUsageDetail_20' ) start [2025-03-20 14:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723503', 'tblTempUsageDetail_20' ) end [2025-03-20 14:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723503', 'tblTempVendorCDR_20' ) start [2025-03-20 14:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723503', 'tblTempVendorCDR_20' ) end [2025-03-20 14:38:22] Production.INFO: ProcessCDR(1,14723503,1,1,2) [2025-03-20 14:38:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:38:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:38:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:38:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723503', 'tblTempUsageDetail_20' ) start [2025-03-20 14:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723503', 'tblTempUsageDetail_20' ) end [2025-03-20 14:38:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:38:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:38:27] Production.INFO: ==3011== Releasing lock... [2025-03-20 14:38:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:38:27] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 18:39:01] Production.INFO: ==3082== Lock acquired, processing the job... [2025-03-20 18:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:39:01] Production.INFO: neon service started [2025-03-20 18:39:02] Production.INFO: neon service started [2025-03-20 18:39:02] Production.INFO: ==3082== Releasing lock... [2025-03-20 18:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:39:02] Production.INFO: ==3084== Lock acquired, processing the job... [2025-03-20 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:39:02] Production.INFO: ==3084== Releasing lock... [2025-03-20 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:39:02] Production.INFO: ==3086== Lock acquired, processing the job... [2025-03-20 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:39:02] Production.INFO: ==3086== Releasing lock... [2025-03-20 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:39:03] Production.INFO: ==3088== Lock acquired, processing the job... [2025-03-20 14:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:39:03] Production.INFO: ==3090== Lock acquired, processing the job... [2025-03-20 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:39:03] Production.INFO: ==3092== Lock acquired, processing the job... [2025-03-20 14:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:39:03] Production.INFO: ==3096== Lock acquired, processing the job... [2025-03-20 14:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:39:04] Production.INFO: ==3094== Lock acquired, processing the job... [2025-03-20 14:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:39:04] Production.INFO: ==3099== Lock acquired, processing the job... [2025-03-20 14:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:39:04] Production.INFO: ==3090== Releasing lock... [2025-03-20 14:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:39:04] Production.INFO: Account Balance Start. [2025-03-20 14:39:04] Production.INFO: CreateAllLog Start [2025-03-20 14:39:04] Production.INFO: 117 [2025-03-20 14:39:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.INFO: count ==12 [2025-03-20 14:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:39:04] Production.INFO: count ==23 [2025-03-20 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723507') start [2025-03-20 14:39:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723507') end [2025-03-20 14:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:39:04] Production.INFO: 1 [2025-03-20 14:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:39:04] Production.ERROR: done [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:39:04] Production.INFO: ==3099== Releasing lock... [2025-03-20 14:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.ERROR: done [2025-03-20 14:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:39:04] Production.INFO: Total Charge 0 [2025-03-20 14:39:04] Production.INFO: CreateAllLog End [2025-03-20 14:39:05] Production.INFO: Account Balance End. [2025-03-20 14:39:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:39:05] Production.INFO: ==3094== Releasing lock... [2025-03-20 14:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:39:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:39:05 [end_date_ymd] => 2025-03-20 14:39:05 [RateCDR] => 1 ) [2025-03-20 14:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:39:05' and `end` < '2025-03-20 14:39:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:39:14] Production.ERROR: CronJobId end10 [2025-03-20 14:39:14] Production.INFO: ==3092== Releasing lock... [2025-03-20 14:39:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:39:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:39:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:39:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:39:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:39:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:39:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:39:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:39:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:39:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:39:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:39:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:39:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:39:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:39:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:39:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:39:16] Production.INFO: call_cost start [2025-03-20 14:39:16] Production.INFO: call_cost end [2025-03-20 14:39:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:39:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:39:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:39:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:39:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:39:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:39:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:39:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:39:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:39:17] Production.INFO: ==3088== Releasing lock... [2025-03-20 14:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:39:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:39:19] Production.INFO: count ==6486 [2025-03-20 14:39:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:39:05 - End Time 2025-03-20 14:39:05 [2025-03-20 14:39:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723508', 'tblTempUsageDetail_20' ) start [2025-03-20 14:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723508', 'tblTempUsageDetail_20' ) end [2025-03-20 14:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723508', 'tblTempVendorCDR_20' ) start [2025-03-20 14:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723508', 'tblTempVendorCDR_20' ) end [2025-03-20 14:39:22] Production.INFO: ProcessCDR(1,14723508,1,1,2) [2025-03-20 14:39:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:39:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:39:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:39:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723508', 'tblTempUsageDetail_20' ) start [2025-03-20 14:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723508', 'tblTempUsageDetail_20' ) end [2025-03-20 14:39:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:39:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:39:27] Production.INFO: ==3096== Releasing lock... [2025-03-20 14:39:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:39:27] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 18:40:01] Production.INFO: ==3159== Lock acquired, processing the job... [2025-03-20 18:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:40:01] Production.INFO: neon service started [2025-03-20 18:40:01] Production.INFO: neon service started [2025-03-20 18:40:01] Production.INFO: ==3159== Releasing lock... [2025-03-20 18:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:40:01] Production.INFO: ==3161== Lock acquired, processing the job... [2025-03-20 14:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:40:02] Production.INFO: ==3163== Lock acquired, processing the job... [2025-03-20 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:40:02] Production.INFO: ==3163== Releasing lock... [2025-03-20 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:40:02] Production.INFO: ==3161== Releasing lock... [2025-03-20 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:40:03] Production.INFO: ==3168== Lock acquired, processing the job... [2025-03-20 14:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:40:03] Production.INFO: ==3170== Lock acquired, processing the job... [2025-03-20 14:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:40:03] Production.INFO: ==3174== Lock acquired, processing the job... [2025-03-20 14:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:40:03] Production.INFO: ==3178== Lock acquired, processing the job... [2025-03-20 14:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 14:40:03] Production.INFO: ==3166== Lock acquired, processing the job... [2025-03-20 14:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 14:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:40:03] Production.INFO: ==3172== Lock acquired, processing the job... [2025-03-20 14:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 14:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:40:03] Production.ERROR: CronJob PID - 3168 [2025-03-20 14:40:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 14:40:03] Production.ERROR: CronJob ID - 5 [2025-03-20 14:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 14:40:00 [2025-03-20 14:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:40:03] Production.ERROR: CronJob PID - 3170 [2025-03-20 14:40:03] Production.ERROR: CronJob Title - Account Block [2025-03-20 14:40:03] Production.ERROR: CronJob ID - 7 [2025-03-20 14:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 14:40:00 [2025-03-20 14:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:40:03] Production.ERROR: CronJob PID - 3174 [2025-03-20 14:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 14:40:03] Production.ERROR: CronJob ID - 12 [2025-03-20 14:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 14:40:00 [2025-03-20 14:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 14:40:03] Production.ERROR: CronJob PID - 3178 [2025-03-20 14:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 14:40:03] Production.ERROR: CronJob ID - 17 [2025-03-20 14:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 14:40:00 [2025-03-20 14:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 14:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 14:40:04] Production.INFO: Account Balance Start. [2025-03-20 14:40:04] Production.INFO: CreateAllLog Start [2025-03-20 14:40:04] Production.INFO: 117 [2025-03-20 14:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:40:04] Production.INFO: ==3176== Lock acquired, processing the job... [2025-03-20 14:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 14:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:40:04] Production.INFO: ==3166== Releasing lock... [2025-03-20 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 14:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.INFO: ==3170== Releasing lock... [2025-03-20 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:40:04] Production.INFO: ==3180== Lock acquired, processing the job... [2025-03-20 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:40:04] Production.ERROR: done [2025-03-20 14:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 14:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723512', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 14:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.INFO: count ==12 [2025-03-20 14:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:40:04] Production.INFO: count ==23 [2025-03-20 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723513') start [2025-03-20 14:40:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.ERROR: done [2025-03-20 14:40:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723513') end [2025-03-20 14:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:40:04] Production.INFO: 1 [2025-03-20 14:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:40:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:40:04] Production.INFO: ==3180== Releasing lock... [2025-03-20 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:40:05] Production.INFO: Total Charge 0 [2025-03-20 14:40:05] Production.ERROR: done [2025-03-20 14:40:05] Production.INFO: CreateAllLog End [2025-03-20 14:40:05] Production.INFO: Account Balance End. [2025-03-20 14:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:40:05] Production.INFO: ==3174== Releasing lock... [2025-03-20 14:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:40:06 [end_date_ymd] => 2025-03-20 14:40:06 [RateCDR] => 1 ) [2025-03-20 14:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:40:06' and `end` < '2025-03-20 14:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723512', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 14:40:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 14:40:08] Production.INFO: ProcessCDR(1,14723512,1,1,2) [2025-03-20 14:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723512,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723512,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:40:09] Production.INFO: ==3178== Releasing lock... [2025-03-20 14:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 14:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 14:40:15] Production.ERROR: CronJobId end10 [2025-03-20 14:40:15] Production.INFO: ==3172== Releasing lock... [2025-03-20 14:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:40:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:40:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:40:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:40:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:40:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:40:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:40:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:40:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:40:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:40:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:40:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:40:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:40:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:40:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:40:17] Production.INFO: call_cost start [2025-03-20 14:40:17] Production.INFO: call_cost end [2025-03-20 14:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:40:18] Production.INFO: ==3168== Releasing lock... [2025-03-20 14:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:40:20] Production.INFO: count ==6480 [2025-03-20 14:40:23] Production.ERROR: pbx CDR StartTime 2025-03-20 11:40:06 - End Time 2025-03-20 14:40:06 [2025-03-20 14:40:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723514', 'tblTempUsageDetail_20' ) start [2025-03-20 14:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723514', 'tblTempUsageDetail_20' ) end [2025-03-20 14:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723514', 'tblTempVendorCDR_20' ) start [2025-03-20 14:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723514', 'tblTempVendorCDR_20' ) end [2025-03-20 14:40:23] Production.INFO: ProcessCDR(1,14723514,1,1,2) [2025-03-20 14:40:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:40:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723514,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:40:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:40:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723514,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723514', 'tblTempUsageDetail_20' ) start [2025-03-20 14:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723514', 'tblTempUsageDetail_20' ) end [2025-03-20 14:40:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:40:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:40:27] Production.INFO: ==3176== Releasing lock... [2025-03-20 14:40:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:40:27] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 18:41:01] Production.INFO: ==3245== Lock acquired, processing the job... [2025-03-20 18:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:41:01] Production.INFO: neon service started [2025-03-20 18:41:02] Production.INFO: neon service started [2025-03-20 18:41:02] Production.INFO: ==3245== Releasing lock... [2025-03-20 18:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:41:02] Production.INFO: ==3247== Lock acquired, processing the job... [2025-03-20 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:41:02] Production.INFO: ==3247== Releasing lock... [2025-03-20 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:41:02] Production.INFO: ==3249== Lock acquired, processing the job... [2025-03-20 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:41:02] Production.INFO: ==3249== Releasing lock... [2025-03-20 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:41:03] Production.INFO: ==3256== Lock acquired, processing the job... [2025-03-20 14:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:41:03] Production.INFO: ==3260== Lock acquired, processing the job... [2025-03-20 14:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:41:03] Production.INFO: ==3252== Lock acquired, processing the job... [2025-03-20 14:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:41:03] Production.INFO: ==3254== Lock acquired, processing the job... [2025-03-20 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:41:03] Production.INFO: ==3258== Lock acquired, processing the job... [2025-03-20 14:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:41:03] Production.INFO: ==3262== Lock acquired, processing the job... [2025-03-20 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:41:04] Production.INFO: Account Balance Start. [2025-03-20 14:41:04] Production.INFO: CreateAllLog Start [2025-03-20 14:41:04] Production.INFO: 117 [2025-03-20 14:41:04] Production.INFO: Date 2025-03-08 [2025-03-20 14: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-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.INFO: count ==12 [2025-03-20 14: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-03-20 14:41:04] Production.INFO: count ==23 [2025-03-20 14:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.ERROR: done [2025-03-20 14:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723518') start [2025-03-20 14:41:04] Production.INFO: ==3254== Releasing lock... [2025-03-20 14:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723518') end [2025-03-20 14:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:41:04] Production.INFO: 1 [2025-03-20 14:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:41:04] Production.ERROR: done [2025-03-20 14:41:04] Production.INFO: ==3262== Releasing lock... [2025-03-20 14:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:41:04] Production.INFO: Total Charge 0 [2025-03-20 14:41:05] Production.INFO: CreateAllLog End [2025-03-20 14:41:05] Production.INFO: Account Balance End. [2025-03-20 14:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:41:05] Production.INFO: ==3258== Releasing lock... [2025-03-20 14:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:41:05 [end_date_ymd] => 2025-03-20 14:41:05 [RateCDR] => 1 ) [2025-03-20 14:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:41:05' and `end` < '2025-03-20 14:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:41:12] Production.ERROR: CronJobId end10 [2025-03-20 14:41:12] Production.INFO: ==3256== Releasing lock... [2025-03-20 14:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:41:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:41:15] Production.INFO: call_cost start [2025-03-20 14:41:15] Production.INFO: call_cost end [2025-03-20 14:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:41:16] Production.INFO: ==3252== Releasing lock... [2025-03-20 14:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:41:19] Production.INFO: count ==6462 [2025-03-20 14:41:21] Production.ERROR: pbx CDR StartTime 2025-03-20 11:41:05 - End Time 2025-03-20 14:41:05 [2025-03-20 14:41:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723519', 'tblTempUsageDetail_20' ) start [2025-03-20 14:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723519', 'tblTempUsageDetail_20' ) end [2025-03-20 14:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723519', 'tblTempVendorCDR_20' ) start [2025-03-20 14:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723519', 'tblTempVendorCDR_20' ) end [2025-03-20 14:41:22] Production.INFO: ProcessCDR(1,14723519,1,1,2) [2025-03-20 14:41:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:41:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:41:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:41:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723519', 'tblTempUsageDetail_20' ) start [2025-03-20 14:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723519', 'tblTempUsageDetail_20' ) end [2025-03-20 14:41:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:41:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:41:27] Production.INFO: ==3260== Releasing lock... [2025-03-20 14:41:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:41:27] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 18:42:01] Production.INFO: ==3318== Lock acquired, processing the job... [2025-03-20 18:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:42:01] Production.INFO: neon service started [2025-03-20 18:42:01] Production.INFO: neon service started [2025-03-20 18:42:01] Production.INFO: ==3318== Releasing lock... [2025-03-20 18:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:42:01] Production.INFO: ==3320== Lock acquired, processing the job... [2025-03-20 14:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:42:02] Production.INFO: ==3322== Lock acquired, processing the job... [2025-03-20 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:42:02] Production.INFO: ==3322== Releasing lock... [2025-03-20 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:42:02] Production.INFO: ==3320== Releasing lock... [2025-03-20 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:42:03] Production.INFO: ==3325== Lock acquired, processing the job... [2025-03-20 14:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:42:03] Production.INFO: ==3335== Lock acquired, processing the job... [2025-03-20 14:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:42:03] Production.INFO: ==3327== Lock acquired, processing the job... [2025-03-20 14:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:42:03] Production.INFO: ==3329== Lock acquired, processing the job... [2025-03-20 14:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:42:03] Production.INFO: ==3331== Lock acquired, processing the job... [2025-03-20 14:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14: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-03-20 14:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:42:03] Production.INFO: Account Balance Start. [2025-03-20 14:42:03] Production.INFO: CreateAllLog Start [2025-03-20 14:42:03] Production.INFO: count ==12 [2025-03-20 14:42:03] Production.INFO: 117 [2025-03-20 14: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-03-20 14:42:03] Production.INFO: ==3333== Lock acquired, processing the job... [2025-03-20 14:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:42:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:42:03] Production.INFO: count ==23 [2025-03-20 14:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:42:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723521') start [2025-03-20 14:42:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:03] Production.INFO: ==3327== Releasing lock... [2025-03-20 14:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:42:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723521') end [2025-03-20 14:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:42:04] Production.INFO: 1 [2025-03-20 14:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:04] Production.INFO: ==3335== Releasing lock... [2025-03-20 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:42:04] Production.ERROR: done [2025-03-20 14:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:04] Production.ERROR: done [2025-03-20 14:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:42:04] Production.INFO: Total Charge 0 [2025-03-20 14:42:04] Production.INFO: CreateAllLog End [2025-03-20 14:42:04] Production.INFO: Account Balance End. [2025-03-20 14:42:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:42:04] Production.INFO: ==3331== Releasing lock... [2025-03-20 14:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:42:05 [end_date_ymd] => 2025-03-20 14:42:05 [RateCDR] => 1 ) [2025-03-20 14:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:42:05' and `end` < '2025-03-20 14:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:42:13] Production.ERROR: CronJobId end10 [2025-03-20 14:42:13] Production.INFO: ==3329== Releasing lock... [2025-03-20 14:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:42:15] Production.INFO: call_cost start [2025-03-20 14:42:15] Production.INFO: call_cost end [2025-03-20 14:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:42:16] Production.INFO: ==3325== Releasing lock... [2025-03-20 14:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:42:19] Production.INFO: count ==6435 [2025-03-20 14:42:21] Production.ERROR: pbx CDR StartTime 2025-03-20 11:42:05 - End Time 2025-03-20 14:42:05 [2025-03-20 14:42:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723524', 'tblTempUsageDetail_20' ) start [2025-03-20 14:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723524', 'tblTempUsageDetail_20' ) end [2025-03-20 14:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723524', 'tblTempVendorCDR_20' ) start [2025-03-20 14:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723524', 'tblTempVendorCDR_20' ) end [2025-03-20 14:42:22] Production.INFO: ProcessCDR(1,14723524,1,1,2) [2025-03-20 14:42:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:42:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723524', 'tblTempUsageDetail_20' ) start [2025-03-20 14:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723524', 'tblTempUsageDetail_20' ) end [2025-03-20 14:42:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:42:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:42:27] Production.INFO: ==3333== Releasing lock... [2025-03-20 14:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:42:27] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 18:43:01] Production.INFO: ==3402== Lock acquired, processing the job... [2025-03-20 18:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:43:01] Production.INFO: neon service started [2025-03-20 18:43:01] Production.INFO: neon service started [2025-03-20 18:43:01] Production.INFO: ==3402== Releasing lock... [2025-03-20 18:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:43:02] Production.INFO: ==3404== Lock acquired, processing the job... [2025-03-20 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:43:02] Production.INFO: ==3406== Lock acquired, processing the job... [2025-03-20 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:43:02] Production.INFO: ==3406== Releasing lock... [2025-03-20 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:43:02] Production.INFO: ==3404== Releasing lock... [2025-03-20 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:43:03] Production.INFO: ==3411== Lock acquired, processing the job... [2025-03-20 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:43:03] Production.INFO: ==3409== Lock acquired, processing the job... [2025-03-20 14:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:43:03] Production.INFO: ==3419== Lock acquired, processing the job... [2025-03-20 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:43:03] Production.INFO: ==3417== Lock acquired, processing the job... [2025-03-20 14:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:43:03] Production.INFO: count ==12 [2025-03-20 14:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:43:03] Production.INFO: count ==23 [2025-03-20 14:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723526') start [2025-03-20 14:43:03] Production.INFO: ==3415== Lock acquired, processing the job... [2025-03-20 14:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:43:04] Production.INFO: ==3413== Lock acquired, processing the job... [2025-03-20 14:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:43:04] Production.INFO: ==3411== Releasing lock... [2025-03-20 14:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723526') end [2025-03-20 14:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:43:04] Production.INFO: 1 [2025-03-20 14:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:43:04] Production.INFO: Account Balance Start. [2025-03-20 14:43:04] Production.INFO: CreateAllLog Start [2025-03-20 14:43:04] Production.INFO: 117 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: ==3419== Releasing lock... [2025-03-20 14:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:43:04] Production.ERROR: done [2025-03-20 14:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:43:04] Production.ERROR: done [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:43:04] Production.INFO: Total Charge 0 [2025-03-20 14:43:04] Production.INFO: CreateAllLog End [2025-03-20 14:43:04] Production.INFO: Account Balance End. [2025-03-20 14:43:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:43:04] Production.INFO: ==3415== Releasing lock... [2025-03-20 14:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:43:05 [end_date_ymd] => 2025-03-20 14:43:05 [RateCDR] => 1 ) [2025-03-20 14:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:43:05' and `end` < '2025-03-20 14:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:43:12] Production.ERROR: CronJobId end10 [2025-03-20 14:43:12] Production.INFO: ==3413== Releasing lock... [2025-03-20 14:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:43:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:43:14] Production.INFO: call_cost start [2025-03-20 14:43:14] Production.INFO: call_cost end [2025-03-20 14:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:43:15] Production.INFO: ==3409== Releasing lock... [2025-03-20 14:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:43:19] Production.INFO: count ==6412 [2025-03-20 14:43:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:43:05 - End Time 2025-03-20 14:43:05 [2025-03-20 14:43:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723529', 'tblTempUsageDetail_20' ) start [2025-03-20 14:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723529', 'tblTempUsageDetail_20' ) end [2025-03-20 14:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723529', 'tblTempVendorCDR_20' ) start [2025-03-20 14:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723529', 'tblTempVendorCDR_20' ) end [2025-03-20 14:43:22] Production.INFO: ProcessCDR(1,14723529,1,1,2) [2025-03-20 14:43:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:43:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:43:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:43:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723529', 'tblTempUsageDetail_20' ) start [2025-03-20 14:43:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723529', 'tblTempUsageDetail_20' ) end [2025-03-20 14:43:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:43:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:43:28] Production.INFO: ==3417== Releasing lock... [2025-03-20 14:43:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:43:28] Production.INFO: 76 MB #Memory Used# [2025-03-20 18:44:01] Production.INFO: ==3485== Lock acquired, processing the job... [2025-03-20 18:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:44:01] Production.INFO: neon service started [2025-03-20 18:44:01] Production.INFO: neon service started [2025-03-20 18:44:01] Production.INFO: ==3485== Releasing lock... [2025-03-20 18:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:44:01] Production.INFO: ==3487== Lock acquired, processing the job... [2025-03-20 14:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:44:02] Production.INFO: ==3487== Releasing lock... [2025-03-20 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:44:02] Production.INFO: ==3489== Lock acquired, processing the job... [2025-03-20 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:44:02] Production.INFO: ==3489== Releasing lock... [2025-03-20 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:44:02] Production.INFO: ==3491== Lock acquired, processing the job... [2025-03-20 14:44:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:44:02] Production.INFO: ==3493== Lock acquired, processing the job... [2025-03-20 14:44:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:44:03] Production.INFO: ==3497== Lock acquired, processing the job... [2025-03-20 14:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:44:03] Production.INFO: Account Balance Start. [2025-03-20 14:44:03] Production.INFO: CreateAllLog Start [2025-03-20 14:44:03] Production.INFO: 117 [2025-03-20 14:44:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.INFO: ==3495== Lock acquired, processing the job... [2025-03-20 14:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:44:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.INFO: ==3493== Releasing lock... [2025-03-20 14:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:44:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:44:03] Production.INFO: ==3499== Lock acquired, processing the job... [2025-03-20 14:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:44:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:44:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:44:03] Production.INFO: Date 2025-03-14 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.INFO: ==3501== Lock acquired, processing the job... [2025-03-20 14:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:44:03] Production.INFO: Date 2025-03-15 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.INFO: Date 2025-03-16 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.INFO: Date 2025-03-17 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.INFO: Date 2025-03-18 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.INFO: Date 2025-03-19 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.INFO: Date 2025-03-20 [2025-03-20 14:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:44:03] Production.INFO: Total Charge 0 [2025-03-20 14:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:44:03] Production.INFO: CreateAllLog End [2025-03-20 14:44:03] Production.INFO: count ==12 [2025-03-20 14:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:44:03] Production.INFO: count ==23 [2025-03-20 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723533') start [2025-03-20 14:44:04] Production.ERROR: done [2025-03-20 14:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:44:04] Production.INFO: Account Balance End. [2025-03-20 14:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:44:04] Production.INFO: ==3497== Releasing lock... [2025-03-20 14:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:44:04] Production.ERROR: done [2025-03-20 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723533') end [2025-03-20 14:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:44:04] Production.INFO: 1 [2025-03-20 14:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:44:04] Production.INFO: ==3501== Releasing lock... [2025-03-20 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:44:05 [end_date_ymd] => 2025-03-20 14:44:05 [RateCDR] => 1 ) [2025-03-20 14:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:44:05' and `end` < '2025-03-20 14:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:44:14] Production.ERROR: CronJobId end10 [2025-03-20 14:44:14] Production.INFO: ==3495== Releasing lock... [2025-03-20 14:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:44:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:44:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:44:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:44:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:44:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:44:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:44:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:44:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:44:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:44:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:44:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:44:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:44:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:44:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:44:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:44:16] Production.INFO: call_cost start [2025-03-20 14:44:16] Production.INFO: call_cost end [2025-03-20 14:44:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:44:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:44:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:44:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:44:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:44:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:44:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:44:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:44:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:44:17] Production.INFO: ==3491== Releasing lock... [2025-03-20 14:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:44:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:44:18] Production.INFO: count ==6355 [2025-03-20 14:44:21] Production.ERROR: pbx CDR StartTime 2025-03-20 11:44:05 - End Time 2025-03-20 14:44:05 [2025-03-20 14:44:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723534', 'tblTempUsageDetail_20' ) start [2025-03-20 14:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723534', 'tblTempUsageDetail_20' ) end [2025-03-20 14:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723534', 'tblTempVendorCDR_20' ) start [2025-03-20 14:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723534', 'tblTempVendorCDR_20' ) end [2025-03-20 14:44:21] Production.INFO: ProcessCDR(1,14723534,1,1,2) [2025-03-20 14:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723534', 'tblTempUsageDetail_20' ) start [2025-03-20 14:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723534', 'tblTempUsageDetail_20' ) end [2025-03-20 14:44:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:44:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:44:27] Production.INFO: ==3499== Releasing lock... [2025-03-20 14:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:44:27] Production.INFO: 75.5 MB #Memory Used# [2025-03-20 18:45:01] Production.INFO: ==3573== Lock acquired, processing the job... [2025-03-20 18:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:45:01] Production.INFO: neon service started [2025-03-20 18:45:01] Production.INFO: neon service started [2025-03-20 18:45:01] Production.INFO: ==3573== Releasing lock... [2025-03-20 18:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:45:02] Production.INFO: ==3575== Lock acquired, processing the job... [2025-03-20 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:45:02] Production.INFO: ==3577== Lock acquired, processing the job... [2025-03-20 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:45:02] Production.INFO: ==3577== Releasing lock... [2025-03-20 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:45:02] Production.INFO: ==3575== Releasing lock... [2025-03-20 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:45:03] Production.INFO: ==3584== Lock acquired, processing the job... [2025-03-20 14:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:45:03] Production.INFO: ==3590== Lock acquired, processing the job... [2025-03-20 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:45:03] Production.INFO: count ==12 [2025-03-20 14:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:45:03] Production.INFO: ==3580== Lock acquired, processing the job... [2025-03-20 14:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:45:03] Production.INFO: count ==23 [2025-03-20 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723535') start [2025-03-20 14:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:45:03] Production.INFO: ==3582== Lock acquired, processing the job... [2025-03-20 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723535') end [2025-03-20 14:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:45:03] Production.INFO: 1 [2025-03-20 14:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:45:03] Production.INFO: ==3588== Lock acquired, processing the job... [2025-03-20 14:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:45:03] Production.INFO: ==3586== Lock acquired, processing the job... [2025-03-20 14:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:45:03] Production.INFO: ==3590== Releasing lock... [2025-03-20 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:45:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:45:04] Production.INFO: Account Balance Start. [2025-03-20 14:45:04] Production.INFO: CreateAllLog Start [2025-03-20 14:45:04] Production.INFO: 117 [2025-03-20 14:45:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.INFO: ==3582== Releasing lock... [2025-03-20 14:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.ERROR: done [2025-03-20 14:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.ERROR: done [2025-03-20 14:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:45:04] Production.INFO: Total Charge 0 [2025-03-20 14:45:04] Production.INFO: CreateAllLog End [2025-03-20 14:45:04] Production.INFO: Account Balance End. [2025-03-20 14:45:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:45:04] Production.INFO: ==3586== Releasing lock... [2025-03-20 14:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:45:05 [end_date_ymd] => 2025-03-20 14:45:05 [RateCDR] => 1 ) [2025-03-20 14:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:45:05' and `end` < '2025-03-20 14:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:45:12] Production.ERROR: CronJobId end10 [2025-03-20 14:45:12] Production.INFO: ==3584== Releasing lock... [2025-03-20 14:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:45:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:45:16] Production.INFO: call_cost start [2025-03-20 14:45:16] Production.INFO: call_cost end [2025-03-20 14:45:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:45:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:45:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:45:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:45:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:45:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:45:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:45:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:45:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:45:17] Production.INFO: ==3580== Releasing lock... [2025-03-20 14:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:45:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:45:18] Production.INFO: count ==6319 [2025-03-20 14:45:21] Production.ERROR: pbx CDR StartTime 2025-03-20 11:45:05 - End Time 2025-03-20 14:45:05 [2025-03-20 14:45:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723539', 'tblTempUsageDetail_20' ) start [2025-03-20 14:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723539', 'tblTempUsageDetail_20' ) end [2025-03-20 14:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723539', 'tblTempVendorCDR_20' ) start [2025-03-20 14:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723539', 'tblTempVendorCDR_20' ) end [2025-03-20 14:45:22] Production.INFO: ProcessCDR(1,14723539,1,1,2) [2025-03-20 14:45:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:45:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:45:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723539', 'tblTempUsageDetail_20' ) start [2025-03-20 14:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723539', 'tblTempUsageDetail_20' ) end [2025-03-20 14:45:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:45:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:45:27] Production.INFO: ==3588== Releasing lock... [2025-03-20 14:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:45:27] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 18:46:02] Production.INFO: ==3655== Lock acquired, processing the job... [2025-03-20 18:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:46:02] Production.INFO: neon service started [2025-03-20 18:46:02] Production.INFO: neon service started [2025-03-20 18:46:02] Production.INFO: ==3655== Releasing lock... [2025-03-20 18:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:46:03] Production.INFO: ==3657== Lock acquired, processing the job... [2025-03-20 14:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:46:03] Production.INFO: ==3659== Lock acquired, processing the job... [2025-03-20 18:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:46:03] Production.INFO: ==3659== Releasing lock... [2025-03-20 18:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:46:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:46:03] Production.INFO: ==3657== Releasing lock... [2025-03-20 14:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:46:04] Production.INFO: ==3662== Lock acquired, processing the job... [2025-03-20 14:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:46:04] Production.INFO: ==3670== Lock acquired, processing the job... [2025-03-20 14:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:46:04] Production.INFO: ==3664== Lock acquired, processing the job... [2025-03-20 14:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:46:04] Production.INFO: ==3666== Lock acquired, processing the job... [2025-03-20 14:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:46:04] Production.INFO: ==3668== Lock acquired, processing the job... [2025-03-20 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:46:04] Production.INFO: ==3672== Lock acquired, processing the job... [2025-03-20 14:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:46:04] Production.INFO: Account Balance Start. [2025-03-20 14:46:04] Production.INFO: CreateAllLog Start [2025-03-20 14:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:46:04] Production.INFO: 117 [2025-03-20 14:46:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:46:04] Production.ERROR: done [2025-03-20 14:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:46:04] Production.INFO: count ==12 [2025-03-20 14:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:04] Production.INFO: count ==23 [2025-03-20 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723543') start [2025-03-20 14:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:05] Production.INFO: Date 2025-03-12 [2025-03-20 14:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:05] Production.INFO: Date 2025-03-13 [2025-03-20 14:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:05] Production.INFO: Date 2025-03-14 [2025-03-20 14:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:05] Production.INFO: Date 2025-03-15 [2025-03-20 14:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:05] Production.ERROR: done [2025-03-20 14:46:05] Production.INFO: ==3664== Releasing lock... [2025-03-20 14:46:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:46:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:46:05] Production.INFO: Date 2025-03-16 [2025-03-20 14:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:05] Production.INFO: Date 2025-03-17 [2025-03-20 14:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723543') end [2025-03-20 14:46:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:46:05] Production.INFO: 1 [2025-03-20 14:46:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:46:05] Production.INFO: Date 2025-03-18 [2025-03-20 14:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:05] Production.INFO: ==3672== Releasing lock... [2025-03-20 14:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:46:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:46:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:46:05] Production.INFO: Total Charge 0 [2025-03-20 14:46:05] Production.INFO: CreateAllLog End [2025-03-20 14:46:05] Production.INFO: Account Balance End. [2025-03-20 14:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:46:05] Production.INFO: ==3668== Releasing lock... [2025-03-20 14:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:46:06 [end_date_ymd] => 2025-03-20 14:46:06 [RateCDR] => 1 ) [2025-03-20 14: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-03-20 11:46:06' and `end` < '2025-03-20 14: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-03-20 14:46:14] Production.ERROR: CronJobId end10 [2025-03-20 14:46:14] Production.INFO: ==3666== Releasing lock... [2025-03-20 14:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:46:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:46:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:46:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:46:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:46:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:46:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:46:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:46:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:46:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:46:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:46:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:46:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:46:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:46:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:46:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:46:16] Production.INFO: call_cost start [2025-03-20 14:46:16] Production.INFO: call_cost end [2025-03-20 14:46:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:46:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:46:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:46:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:46:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:46:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:46:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:46:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:46:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:46:17] Production.INFO: ==3662== Releasing lock... [2025-03-20 14:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:46:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:46:19] Production.INFO: count ==6280 [2025-03-20 14:46:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:46:06 - End Time 2025-03-20 14:46:06 [2025-03-20 14:46:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723544', 'tblTempUsageDetail_20' ) start [2025-03-20 14:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723544', 'tblTempUsageDetail_20' ) end [2025-03-20 14:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723544', 'tblTempVendorCDR_20' ) start [2025-03-20 14:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723544', 'tblTempVendorCDR_20' ) end [2025-03-20 14:46:23] Production.INFO: ProcessCDR(1,14723544,1,1,2) [2025-03-20 14:46:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:46:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:46:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:46:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723544', 'tblTempUsageDetail_20' ) start [2025-03-20 14:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723544', 'tblTempUsageDetail_20' ) end [2025-03-20 14:46:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:46:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:46:28] Production.INFO: ==3670== Releasing lock... [2025-03-20 14:46:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:46:28] Production.INFO: 75 MB #Memory Used# [2025-03-20 18:47:01] Production.INFO: ==3739== Lock acquired, processing the job... [2025-03-20 18:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:47:01] Production.INFO: neon service started [2025-03-20 18:47:01] Production.INFO: neon service started [2025-03-20 18:47:01] Production.INFO: ==3739== Releasing lock... [2025-03-20 18:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:47:02] Production.INFO: ==3741== Lock acquired, processing the job... [2025-03-20 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:47:02] Production.INFO: ==3741== Releasing lock... [2025-03-20 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:47:02] Production.INFO: ==3743== Lock acquired, processing the job... [2025-03-20 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:47:02] Production.INFO: ==3743== Releasing lock... [2025-03-20 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:47:03] Production.INFO: ==3747== Lock acquired, processing the job... [2025-03-20 14:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:47:03] Production.INFO: ==3749== Lock acquired, processing the job... [2025-03-20 14:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:47:03] Production.INFO: ==3751== Lock acquired, processing the job... [2025-03-20 14:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:47:03] Production.INFO: Account Balance Start. [2025-03-20 14:47:03] Production.INFO: CreateAllLog Start [2025-03-20 14:47:03] Production.INFO: 117 [2025-03-20 14:47:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:03] Production.INFO: ==3745== Lock acquired, processing the job... [2025-03-20 14:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:47:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:03] Production.INFO: ==3756== Lock acquired, processing the job... [2025-03-20 14:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:47:03] Production.INFO: ==3747== Releasing lock... [2025-03-20 14:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:47:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:47:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:04] Production.INFO: ==3753== Lock acquired, processing the job... [2025-03-20 14:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:04] Production.INFO: count ==12 [2025-03-20 14:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:47:04] Production.INFO: count ==23 [2025-03-20 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723548') start [2025-03-20 14:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723548') end [2025-03-20 14:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:47:04] Production.INFO: 1 [2025-03-20 14:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:47:04] Production.INFO: Total Charge 0 [2025-03-20 14:47:04] Production.INFO: ==3756== Releasing lock... [2025-03-20 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:47:04] Production.INFO: CreateAllLog End [2025-03-20 14:47:04] Production.ERROR: done [2025-03-20 14:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:47:04] Production.ERROR: done [2025-03-20 14:47:04] Production.INFO: Account Balance End. [2025-03-20 14:47:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:47:04] Production.INFO: ==3751== Releasing lock... [2025-03-20 14:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:47:05 [end_date_ymd] => 2025-03-20 14:47:05 [RateCDR] => 1 ) [2025-03-20 14:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:47:05' and `end` < '2025-03-20 14:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:47:13] Production.ERROR: CronJobId end10 [2025-03-20 14:47:13] Production.INFO: ==3749== Releasing lock... [2025-03-20 14:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:47:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:47:15] Production.INFO: call_cost start [2025-03-20 14:47:15] Production.INFO: call_cost end [2025-03-20 14:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:47:16] Production.INFO: ==3745== Releasing lock... [2025-03-20 14:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:47:19] Production.INFO: count ==6262 [2025-03-20 14:47:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:47:05 - End Time 2025-03-20 14:47:05 [2025-03-20 14:47:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723549', 'tblTempUsageDetail_20' ) start [2025-03-20 14:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723549', 'tblTempUsageDetail_20' ) end [2025-03-20 14:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723549', 'tblTempVendorCDR_20' ) start [2025-03-20 14:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723549', 'tblTempVendorCDR_20' ) end [2025-03-20 14:47:22] Production.INFO: ProcessCDR(1,14723549,1,1,2) [2025-03-20 14:47:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:47:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:47:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:47:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723549', 'tblTempUsageDetail_20' ) start [2025-03-20 14:47:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723549', 'tblTempUsageDetail_20' ) end [2025-03-20 14:47:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:47:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:47:27] Production.INFO: ==3753== Releasing lock... [2025-03-20 14:47:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:47:27] Production.INFO: 74.75 MB #Memory Used# [2025-03-20 18:48:02] Production.INFO: ==3824== Lock acquired, processing the job... [2025-03-20 18:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:48:02] Production.INFO: neon service started [2025-03-20 18:48:02] Production.INFO: neon service started [2025-03-20 18:48:02] Production.INFO: ==3824== Releasing lock... [2025-03-20 18:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:48:03] Production.INFO: ==3826== Lock acquired, processing the job... [2025-03-20 14:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:48:03] Production.INFO: ==3828== Lock acquired, processing the job... [2025-03-20 18:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:48:03] Production.INFO: ==3828== Releasing lock... [2025-03-20 18:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:48:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:48:03] Production.INFO: ==3826== Releasing lock... [2025-03-20 14:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:48:04] Production.INFO: ==3831== Lock acquired, processing the job... [2025-03-20 14:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:48:04] Production.INFO: ==3835== Lock acquired, processing the job... [2025-03-20 14:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:48:04] Production.INFO: ==3839== Lock acquired, processing the job... [2025-03-20 14:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:48:04] Production.INFO: ==3833== Lock acquired, processing the job... [2025-03-20 14:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:48:04] Production.INFO: ==3837== Lock acquired, processing the job... [2025-03-20 14:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:48:04] Production.ERROR: done [2025-03-20 14:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:48:04] Production.INFO: ==3841== Lock acquired, processing the job... [2025-03-20 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:48:04] Production.INFO: Account Balance Start. [2025-03-20 14:48:04] Production.INFO: CreateAllLog Start [2025-03-20 14:48:04] Production.INFO: 117 [2025-03-20 14:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.INFO: Date 2025-03-09 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.INFO: Date 2025-03-10 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.ERROR: done [2025-03-20 14:48:05] Production.INFO: Date 2025-03-11 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.INFO: ==3833== Releasing lock... [2025-03-20 14:48:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:48:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:48:05] Production.INFO: Date 2025-03-12 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48: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-03-20 14:48:05] Production.INFO: count ==12 [2025-03-20 14:48: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-03-20 14:48:05] Production.INFO: count ==23 [2025-03-20 14:48:05] Production.INFO: Date 2025-03-13 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723553') start [2025-03-20 14:48:05] Production.INFO: Date 2025-03-14 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.INFO: Date 2025-03-15 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.INFO: Date 2025-03-16 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723553') end [2025-03-20 14:48:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:48:05] Production.INFO: 1 [2025-03-20 14:48:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:48:05] Production.INFO: Date 2025-03-17 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.INFO: Date 2025-03-18 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:48:05] Production.INFO: ==3841== Releasing lock... [2025-03-20 14:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:48:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:48:05] Production.INFO: Total Charge 0 [2025-03-20 14:48:05] Production.INFO: CreateAllLog End [2025-03-20 14:48:05] Production.INFO: Account Balance End. [2025-03-20 14:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:48:05] Production.INFO: ==3837== Releasing lock... [2025-03-20 14:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:48:06 [end_date_ymd] => 2025-03-20 14:48:06 [RateCDR] => 1 ) [2025-03-20 14:48:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:48:06' and `end` < '2025-03-20 14:48:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:48:15] Production.ERROR: CronJobId end10 [2025-03-20 14:48:15] Production.INFO: ==3835== Releasing lock... [2025-03-20 14:48:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:48:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:48:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:48:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:48:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:48:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:48:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:48:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:48:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:48:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:48:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:48:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:48:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:48:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:48:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:48:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:48:17] Production.INFO: call_cost start [2025-03-20 14:48:17] Production.INFO: call_cost end [2025-03-20 14:48:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:48:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:48:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:48:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:48:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:48:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:48:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:48:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:48:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:48:18] Production.INFO: ==3831== Releasing lock... [2025-03-20 14:48:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:48:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:48:19] Production.INFO: count ==6272 [2025-03-20 14:48:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:48:06 - End Time 2025-03-20 14:48:06 [2025-03-20 14:48:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723554', 'tblTempUsageDetail_20' ) start [2025-03-20 14:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723554', 'tblTempUsageDetail_20' ) end [2025-03-20 14:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723554', 'tblTempVendorCDR_20' ) start [2025-03-20 14:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723554', 'tblTempVendorCDR_20' ) end [2025-03-20 14:48:22] Production.INFO: ProcessCDR(1,14723554,1,1,2) [2025-03-20 14:48:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:48:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:48:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:48:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723554', 'tblTempUsageDetail_20' ) start [2025-03-20 14:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723554', 'tblTempUsageDetail_20' ) end [2025-03-20 14:48:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:48:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:48:28] Production.INFO: ==3839== Releasing lock... [2025-03-20 14:48:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:48:28] Production.INFO: 75 MB #Memory Used# [2025-03-20 18:49:01] Production.INFO: ==3918== Lock acquired, processing the job... [2025-03-20 18:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:49:01] Production.INFO: neon service started [2025-03-20 18:49:01] Production.INFO: neon service started [2025-03-20 18:49:01] Production.INFO: ==3918== Releasing lock... [2025-03-20 18:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:49:02] Production.INFO: ==3922== Lock acquired, processing the job... [2025-03-20 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:49:02] Production.INFO: ==3922== Releasing lock... [2025-03-20 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:49:02] Production.INFO: ==3920== Lock acquired, processing the job... [2025-03-20 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:49:02] Production.INFO: ==3920== Releasing lock... [2025-03-20 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:49:03] Production.INFO: ==3931== Lock acquired, processing the job... [2025-03-20 14:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:49:03] Production.INFO: Account Balance Start. [2025-03-20 14:49:03] Production.INFO: CreateAllLog Start [2025-03-20 14:49:03] Production.INFO: 117 [2025-03-20 14:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:49:03] Production.INFO: ==3935== Lock acquired, processing the job... [2025-03-20 14:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:03] Production.INFO: ==3925== Lock acquired, processing the job... [2025-03-20 14:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:49:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:03] Production.INFO: ==3927== Lock acquired, processing the job... [2025-03-20 14:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:49:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:03] Production.INFO: count ==12 [2025-03-20 14:49:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:03] Production.INFO: count ==23 [2025-03-20 14:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723556') start [2025-03-20 14:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:04] Production.INFO: ==3929== Lock acquired, processing the job... [2025-03-20 14:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:04] Production.INFO: ==3933== Lock acquired, processing the job... [2025-03-20 14:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723556') end [2025-03-20 14:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:49:04] Production.INFO: 1 [2025-03-20 14:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:49:04] Production.INFO: ==3935== Releasing lock... [2025-03-20 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:49:04] Production.INFO: Total Charge 0 [2025-03-20 14:49:04] Production.INFO: CreateAllLog End [2025-03-20 14:49:04] Production.INFO: ==3927== Releasing lock... [2025-03-20 14:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:49:04] Production.ERROR: done [2025-03-20 14:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:49:04] Production.INFO: Account Balance End. [2025-03-20 14:49:04] Production.ERROR: done [2025-03-20 14:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:49:04] Production.INFO: ==3931== Releasing lock... [2025-03-20 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:49:05 [end_date_ymd] => 2025-03-20 14:49:05 [RateCDR] => 1 ) [2025-03-20 14:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:49:05' and `end` < '2025-03-20 14:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:49:13] Production.ERROR: CronJobId end10 [2025-03-20 14:49:13] Production.INFO: ==3929== Releasing lock... [2025-03-20 14:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:49:16] Production.INFO: call_cost start [2025-03-20 14:49:16] Production.INFO: call_cost end [2025-03-20 14:49:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:49:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:49:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:49:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:49:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:49:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:49:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:49:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:49:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:49:17] Production.INFO: ==3925== Releasing lock... [2025-03-20 14:49:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:49:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:49:19] Production.INFO: count ==6261 [2025-03-20 14:49:21] Production.ERROR: pbx CDR StartTime 2025-03-20 11:49:05 - End Time 2025-03-20 14:49:05 [2025-03-20 14:49:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723559', 'tblTempUsageDetail_20' ) start [2025-03-20 14:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723559', 'tblTempUsageDetail_20' ) end [2025-03-20 14:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723559', 'tblTempVendorCDR_20' ) start [2025-03-20 14:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723559', 'tblTempVendorCDR_20' ) end [2025-03-20 14:49:22] Production.INFO: ProcessCDR(1,14723559,1,1,2) [2025-03-20 14:49:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:49:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:49:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:49:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:49:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723559', 'tblTempUsageDetail_20' ) start [2025-03-20 14:49:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723559', 'tblTempUsageDetail_20' ) end [2025-03-20 14:49:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:49:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:49:27] Production.INFO: ==3933== Releasing lock... [2025-03-20 14:49:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:49:27] Production.INFO: 74.75 MB #Memory Used# [2025-03-20 18:50:02] Production.INFO: ==4006== Lock acquired, processing the job... [2025-03-20 18:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:50:02] Production.INFO: neon service started [2025-03-20 18:50:02] Production.INFO: neon service started [2025-03-20 18:50:02] Production.INFO: ==4006== Releasing lock... [2025-03-20 18:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:50:02] Production.INFO: ==4008== Lock acquired, processing the job... [2025-03-20 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:50:03] Production.INFO: ==4010== Lock acquired, processing the job... [2025-03-20 18:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:50:03] Production.INFO: ==4010== Releasing lock... [2025-03-20 18:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:50:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:50:03] Production.INFO: ==4008== Releasing lock... [2025-03-20 14:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:50:03] Production.INFO: ==4012== Lock acquired, processing the job... [2025-03-20 14:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 14:50:04] Production.INFO: ==4014== Lock acquired, processing the job... [2025-03-20 14:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 14:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 14:50:04] Production.INFO: ==4012== Releasing lock... [2025-03-20 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 14:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 14:50:04] Production.INFO: ==4016== Lock acquired, processing the job... [2025-03-20 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:50:04] Production.INFO: ==4026== Lock acquired, processing the job... [2025-03-20 14:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 14:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:50:04] Production.INFO: ==4018== Lock acquired, processing the job... [2025-03-20 14:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:50:04] Production.INFO: ==4016== Releasing lock... [2025-03-20 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:50:04] Production.INFO: ==4021== Lock acquired, processing the job... [2025-03-20 14:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:50:04] Production.INFO: ==4024== Lock acquired, processing the job... [2025-03-20 14:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:50:04] Production.INFO: ==4028== Lock acquired, processing the job... [2025-03-20 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:50:04] Production.INFO: Account Balance Start. [2025-03-20 14:50:04] Production.INFO: CreateAllLog Start [2025-03-20 14:50:04] Production.ERROR: done [2025-03-20 14:50:04] Production.INFO: 117 [2025-03-20 14:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 14:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723564', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 14:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:04] Production.INFO: count ==12 [2025-03-20 14:50:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:50:05] Production.INFO: count ==23 [2025-03-20 14:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723563') start [2025-03-20 14:50:05] Production.INFO: Date 2025-03-10 [2025-03-20 14:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:05] Production.INFO: Date 2025-03-11 [2025-03-20 14:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:05] Production.INFO: Date 2025-03-12 [2025-03-20 14:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723563') end [2025-03-20 14:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:50:05] Production.INFO: 1 [2025-03-20 14:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:50:05] Production.ERROR: done [2025-03-20 14:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:50:05] Production.INFO: Date 2025-03-13 [2025-03-20 14:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:05] Production.INFO: Date 2025-03-14 [2025-03-20 14:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:05] Production.INFO: Date 2025-03-15 [2025-03-20 14:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 14:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 14:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:05] Production.INFO: ==4028== Releasing lock... [2025-03-20 14:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 14:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:05] Production.ERROR: done [2025-03-20 14:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:50:05] Production.INFO: Total Charge 0 [2025-03-20 14:50:05] Production.INFO: CreateAllLog End [2025-03-20 14:50:05] Production.INFO: Account Balance End. [2025-03-20 14:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:50:05] Production.INFO: ==4021== Releasing lock... [2025-03-20 14:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:50:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:50:07 [end_date_ymd] => 2025-03-20 14:50:07 [RateCDR] => 1 ) [2025-03-20 14:50:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:50:07' and `end` < '2025-03-20 14:50:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723564', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 14:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 14:50:09] Production.INFO: ProcessCDR(1,14723564,1,1,2) [2025-03-20 14:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723564,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723564,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:50:09] Production.INFO: ==4026== Releasing lock... [2025-03-20 14:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 14:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 14:50:16] Production.ERROR: CronJobId end10 [2025-03-20 14:50:16] Production.INFO: ==4018== Releasing lock... [2025-03-20 14:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:50:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:50:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:50:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:50:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:50:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:50:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:50:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:50:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:50:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:50:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:50:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:50:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:50:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:50:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:50:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:50:18] Production.INFO: call_cost start [2025-03-20 14:50:18] Production.INFO: call_cost end [2025-03-20 14:50:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:50:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:50:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:50:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:50:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:50:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:50:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:50:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:50:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:50:19] Production.INFO: ==4014== Releasing lock... [2025-03-20 14:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:50:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:50:20] Production.INFO: count ==6255 [2025-03-20 14:50:23] Production.ERROR: pbx CDR StartTime 2025-03-20 11:50:07 - End Time 2025-03-20 14:50:07 [2025-03-20 14:50:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723565', 'tblTempUsageDetail_20' ) start [2025-03-20 14:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723565', 'tblTempUsageDetail_20' ) end [2025-03-20 14:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723565', 'tblTempVendorCDR_20' ) start [2025-03-20 14:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723565', 'tblTempVendorCDR_20' ) end [2025-03-20 14:50:23] Production.INFO: ProcessCDR(1,14723565,1,1,2) [2025-03-20 14:50:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:50:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723565,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:50:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:50:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723565,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723565', 'tblTempUsageDetail_20' ) start [2025-03-20 14:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723565', 'tblTempUsageDetail_20' ) end [2025-03-20 14:50:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:50:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:50:28] Production.INFO: ==4024== Releasing lock... [2025-03-20 14:50:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:50:28] Production.INFO: 74.75 MB #Memory Used# [2025-03-20 18:51:01] Production.INFO: ==4098== Lock acquired, processing the job... [2025-03-20 18:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:51:01] Production.INFO: neon service started [2025-03-20 18:51:01] Production.INFO: neon service started [2025-03-20 18:51:01] Production.INFO: ==4098== Releasing lock... [2025-03-20 18:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:51:02] Production.INFO: ==4104== Lock acquired, processing the job... [2025-03-20 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:51:02] Production.INFO: ==4104== Releasing lock... [2025-03-20 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:51:02] Production.INFO: ==4102== Lock acquired, processing the job... [2025-03-20 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:51:02] Production.INFO: ==4102== Releasing lock... [2025-03-20 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:51:03] Production.INFO: ==4109== Lock acquired, processing the job... [2025-03-20 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:51:03] Production.INFO: ==4111== Lock acquired, processing the job... [2025-03-20 14:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:51:03] Production.INFO: ==4113== Lock acquired, processing the job... [2025-03-20 14:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:51:03] Production.INFO: ==4107== Lock acquired, processing the job... [2025-03-20 14:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:51:03] Production.INFO: Account Balance Start. [2025-03-20 14:51:03] Production.INFO: CreateAllLog Start [2025-03-20 14:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:51:03] Production.INFO: 117 [2025-03-20 14:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:03] Production.INFO: ==4115== Lock acquired, processing the job... [2025-03-20 14:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:51:03] Production.INFO: ==4117== Lock acquired, processing the job... [2025-03-20 14:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:51:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:51:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:51:03] Production.INFO: ==4109== Releasing lock... [2025-03-20 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:51:03] Production.INFO: count ==12 [2025-03-20 14:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:51:04] Production.INFO: count ==23 [2025-03-20 14:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723569') start [2025-03-20 14:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:04] Production.ERROR: done [2025-03-20 14:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723569') end [2025-03-20 14:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:51:04] Production.INFO: 1 [2025-03-20 14:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:04] Production.INFO: ==4117== Releasing lock... [2025-03-20 14:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:51:04] Production.ERROR: done [2025-03-20 14:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:51:04] Production.INFO: Total Charge 0 [2025-03-20 14:51:04] Production.INFO: CreateAllLog End [2025-03-20 14:51:04] Production.INFO: Account Balance End. [2025-03-20 14:51:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:51:04] Production.INFO: ==4113== Releasing lock... [2025-03-20 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:51:05 [end_date_ymd] => 2025-03-20 14:51:05 [RateCDR] => 1 ) [2025-03-20 14:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:51:05' and `end` < '2025-03-20 14:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:51:14] Production.ERROR: CronJobId end10 [2025-03-20 14:51:14] Production.INFO: ==4111== Releasing lock... [2025-03-20 14:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:51:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:51:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:51:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:51:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:51:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:51:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:51:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:51:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:51:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:51:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:51:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:51:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:51:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:51:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:51:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:51:16] Production.INFO: call_cost start [2025-03-20 14:51:16] Production.INFO: call_cost end [2025-03-20 14:51:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:51:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:51:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:51:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:51:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:51:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:51:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:51:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:51:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:51:17] Production.INFO: ==4107== Releasing lock... [2025-03-20 14:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:51:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:51:19] Production.INFO: count ==6208 [2025-03-20 14:51:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:51:05 - End Time 2025-03-20 14:51:05 [2025-03-20 14:51:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723570', 'tblTempUsageDetail_20' ) start [2025-03-20 14:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723570', 'tblTempUsageDetail_20' ) end [2025-03-20 14:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723570', 'tblTempVendorCDR_20' ) start [2025-03-20 14:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723570', 'tblTempVendorCDR_20' ) end [2025-03-20 14:51:22] Production.INFO: ProcessCDR(1,14723570,1,1,2) [2025-03-20 14:51:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723570,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:51:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723570,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723570', 'tblTempUsageDetail_20' ) start [2025-03-20 14:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723570', 'tblTempUsageDetail_20' ) end [2025-03-20 14:51:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:51:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:51:27] Production.INFO: ==4115== Releasing lock... [2025-03-20 14:51:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:51:27] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 18:52:02] Production.INFO: ==4190== Lock acquired, processing the job... [2025-03-20 18:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:52:02] Production.INFO: neon service started [2025-03-20 18:52:02] Production.INFO: neon service started [2025-03-20 18:52:02] Production.INFO: ==4190== Releasing lock... [2025-03-20 18:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:52:02] Production.INFO: ==4192== Lock acquired, processing the job... [2025-03-20 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:52:03] Production.INFO: ==4192== Releasing lock... [2025-03-20 14:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:52:03] Production.INFO: ==4194== Lock acquired, processing the job... [2025-03-20 18:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:52:03] Production.INFO: ==4194== Releasing lock... [2025-03-20 18:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:52:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:52:04] Production.INFO: ==4203== Lock acquired, processing the job... [2025-03-20 14:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:52:04] Production.INFO: ==4205== Lock acquired, processing the job... [2025-03-20 14:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:52:04] Production.INFO: Account Balance Start. [2025-03-20 14:52:04] Production.INFO: CreateAllLog Start [2025-03-20 14:52:04] Production.INFO: 117 [2025-03-20 14:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.INFO: ==4197== Lock acquired, processing the job... [2025-03-20 14:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:52:04] Production.INFO: ==4199== Lock acquired, processing the job... [2025-03-20 14:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.INFO: ==4201== Lock acquired, processing the job... [2025-03-20 14:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:52:04] Production.INFO: ==4207== Lock acquired, processing the job... [2025-03-20 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14: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-03-20 14:52:04] Production.INFO: count ==12 [2025-03-20 14:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14: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-03-20 14:52:04] Production.INFO: count ==23 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723572') start [2025-03-20 14:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.ERROR: done [2025-03-20 14:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:52:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723572') end [2025-03-20 14:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:52:04] Production.INFO: 1 [2025-03-20 14:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:52:05] Production.ERROR: done [2025-03-20 14:52:05] Production.INFO: Total Charge 0 [2025-03-20 14:52:05] Production.INFO: ==4207== Releasing lock... [2025-03-20 14:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:52:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:52:05] Production.INFO: ==4199== Releasing lock... [2025-03-20 14:52:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:52:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:52:05] Production.INFO: CreateAllLog End [2025-03-20 14:52:05] Production.INFO: Account Balance End. [2025-03-20 14:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:52:05] Production.INFO: ==4203== Releasing lock... [2025-03-20 14:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:52:06 [end_date_ymd] => 2025-03-20 14:52:06 [RateCDR] => 1 ) [2025-03-20 14:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:52:06' and `end` < '2025-03-20 14:52:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:52:14] Production.ERROR: CronJobId end10 [2025-03-20 14:52:14] Production.INFO: ==4201== Releasing lock... [2025-03-20 14:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:52:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:52:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:52:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:52:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:52:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:52:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:52:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:52:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:52:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:52:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:52:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:52:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:52:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:52:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:52:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:52:16] Production.INFO: call_cost start [2025-03-20 14:52:16] Production.INFO: call_cost end [2025-03-20 14:52:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:52:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:52:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:52:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:52:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:52:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:52:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:52:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:52:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:52:17] Production.INFO: ==4197== Releasing lock... [2025-03-20 14:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:52:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:52:19] Production.INFO: count ==6206 [2025-03-20 14:52:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:52:06 - End Time 2025-03-20 14:52:06 [2025-03-20 14:52:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723575', 'tblTempUsageDetail_20' ) start [2025-03-20 14:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723575', 'tblTempUsageDetail_20' ) end [2025-03-20 14:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723575', 'tblTempVendorCDR_20' ) start [2025-03-20 14:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723575', 'tblTempVendorCDR_20' ) end [2025-03-20 14:52:23] Production.INFO: ProcessCDR(1,14723575,1,1,2) [2025-03-20 14:52:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:52:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:52:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:52:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:52:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723575', 'tblTempUsageDetail_20' ) start [2025-03-20 14:52:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723575', 'tblTempUsageDetail_20' ) end [2025-03-20 14:52:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:52:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:52:28] Production.INFO: ==4205== Releasing lock... [2025-03-20 14:52:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:52:28] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 18:53:01] Production.INFO: ==4307== Lock acquired, processing the job... [2025-03-20 18:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:53:02] Production.INFO: neon service started [2025-03-20 18:53:02] Production.INFO: neon service started [2025-03-20 18:53:02] Production.INFO: ==4307== Releasing lock... [2025-03-20 18:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:53:02] Production.INFO: ==4309== Lock acquired, processing the job... [2025-03-20 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:53:02] Production.INFO: ==4311== Lock acquired, processing the job... [2025-03-20 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:53:02] Production.INFO: ==4309== Releasing lock... [2025-03-20 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:53:02] Production.INFO: ==4311== Releasing lock... [2025-03-20 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:53:03] Production.INFO: ==4314== Lock acquired, processing the job... [2025-03-20 14:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:53:03] Production.INFO: ==4316== Lock acquired, processing the job... [2025-03-20 14:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:53:03] Production.INFO: ==4318== Lock acquired, processing the job... [2025-03-20 14:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:53:03] Production.INFO: ==4320== Lock acquired, processing the job... [2025-03-20 14:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:53:04] Production.INFO: ==4324== Lock acquired, processing the job... [2025-03-20 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:53:04] Production.INFO: ==4322== Lock acquired, processing the job... [2025-03-20 14:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:53:04] Production.INFO: Account Balance Start. [2025-03-20 14:53:04] Production.INFO: CreateAllLog Start [2025-03-20 14:53:04] Production.INFO: 117 [2025-03-20 14:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:53:04] Production.INFO: ==4316== Releasing lock... [2025-03-20 14:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.INFO: count ==12 [2025-03-20 14:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:53:04] Production.INFO: count ==23 [2025-03-20 14:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723579') start [2025-03-20 14:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723579') end [2025-03-20 14:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:53:04] Production.INFO: 1 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:53:04] Production.INFO: ==4324== Releasing lock... [2025-03-20 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.ERROR: done [2025-03-20 14:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.ERROR: done [2025-03-20 14:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:53:04] Production.INFO: Total Charge 0 [2025-03-20 14:53:04] Production.INFO: CreateAllLog End [2025-03-20 14:53:05] Production.INFO: Account Balance End. [2025-03-20 14:53:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:53:05] Production.INFO: ==4320== Releasing lock... [2025-03-20 14:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:53:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:53:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:53:06 [end_date_ymd] => 2025-03-20 14:53:06 [RateCDR] => 1 ) [2025-03-20 14:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:53:06' and `end` < '2025-03-20 14:53:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:53:13] Production.ERROR: CronJobId end10 [2025-03-20 14:53:13] Production.INFO: ==4318== Releasing lock... [2025-03-20 14:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:53:16] Production.INFO: call_cost start [2025-03-20 14:53:16] Production.INFO: call_cost end [2025-03-20 14:53:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:53:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:53:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:53:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:53:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:53:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:53:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:53:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:53:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:53:17] Production.INFO: ==4314== Releasing lock... [2025-03-20 14:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:53:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:53:19] Production.INFO: count ==6176 [2025-03-20 14:53:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:53:06 - End Time 2025-03-20 14:53:06 [2025-03-20 14:53:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723580', 'tblTempUsageDetail_20' ) start [2025-03-20 14:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723580', 'tblTempUsageDetail_20' ) end [2025-03-20 14:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723580', 'tblTempVendorCDR_20' ) start [2025-03-20 14:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723580', 'tblTempVendorCDR_20' ) end [2025-03-20 14:53:22] Production.INFO: ProcessCDR(1,14723580,1,1,2) [2025-03-20 14:53:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:53:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:53:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:53:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:53:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723580', 'tblTempUsageDetail_20' ) start [2025-03-20 14:53:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723580', 'tblTempUsageDetail_20' ) end [2025-03-20 14:53:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:53:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:53:28] Production.INFO: ==4322== Releasing lock... [2025-03-20 14:53:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:53:28] Production.INFO: 74.25 MB #Memory Used# [2025-03-20 18:54:01] Production.INFO: ==4387== Lock acquired, processing the job... [2025-03-20 18:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:54:01] Production.INFO: neon service started [2025-03-20 18:54:01] Production.INFO: neon service started [2025-03-20 18:54:01] Production.INFO: ==4387== Releasing lock... [2025-03-20 18:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:54:01] Production.INFO: ==4389== Lock acquired, processing the job... [2025-03-20 14:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:54:02] Production.INFO: ==4391== Lock acquired, processing the job... [2025-03-20 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 14:54:02] Production.INFO: ==4389== Releasing lock... [2025-03-20 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:54:02] Production.INFO: ==4391== Releasing lock... [2025-03-20 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:54:03] Production.INFO: ==4394== Lock acquired, processing the job... [2025-03-20 14:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:54:03] Production.INFO: ==4404== Lock acquired, processing the job... [2025-03-20 14:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:54:03] Production.INFO: ==4400== Lock acquired, processing the job... [2025-03-20 14:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:54:03] Production.INFO: Account Balance Start. [2025-03-20 14:54:03] Production.INFO: CreateAllLog Start [2025-03-20 14:54:03] Production.INFO: 117 [2025-03-20 14:54:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:54:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:03] Production.INFO: count ==12 [2025-03-20 14:54:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:54:03] Production.INFO: count ==23 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:03] Production.INFO: ==4402== Lock acquired, processing the job... [2025-03-20 14:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723583') start [2025-03-20 14:54:03] Production.INFO: ==4396== Lock acquired, processing the job... [2025-03-20 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:54:03] Production.INFO: ==4398== Lock acquired, processing the job... [2025-03-20 14:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:54:03] Production.INFO: Date 2025-03-11 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:54:03] Production.INFO: Date 2025-03-12 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723583') end [2025-03-20 14:54:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:54:03] Production.INFO: 1 [2025-03-20 14:54:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:54:03] Production.INFO: Date 2025-03-13 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:03] Production.INFO: Date 2025-03-14 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:54:03] Production.INFO: ==4404== Releasing lock... [2025-03-20 14:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:54:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:54:03] Production.INFO: Date 2025-03-15 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:03] Production.INFO: Date 2025-03-16 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:03] Production.INFO: Date 2025-03-17 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:03] Production.INFO: Date 2025-03-18 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:03] Production.INFO: Date 2025-03-19 [2025-03-20 14:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:54:04] Production.ERROR: done [2025-03-20 14:54:04] Production.INFO: Total Charge 0 [2025-03-20 14:54:04] Production.INFO: ==4396== Releasing lock... [2025-03-20 14:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:54:04] Production.INFO: CreateAllLog End [2025-03-20 14:54:04] Production.ERROR: done [2025-03-20 14:54:04] Production.INFO: Account Balance End. [2025-03-20 14:54:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:54:04] Production.INFO: ==4400== Releasing lock... [2025-03-20 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:54:05 [end_date_ymd] => 2025-03-20 14:54:05 [RateCDR] => 1 ) [2025-03-20 14:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:54:05' and `end` < '2025-03-20 14:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:54:13] Production.ERROR: CronJobId end10 [2025-03-20 14:54:13] Production.INFO: ==4398== Releasing lock... [2025-03-20 14:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:54:15] Production.INFO: call_cost start [2025-03-20 14:54:15] Production.INFO: call_cost end [2025-03-20 14:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:54:16] Production.INFO: ==4394== Releasing lock... [2025-03-20 14:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:54:19] Production.INFO: count ==6149 [2025-03-20 14:54:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:54:05 - End Time 2025-03-20 14:54:05 [2025-03-20 14:54:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723585', 'tblTempUsageDetail_20' ) start [2025-03-20 14:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723585', 'tblTempUsageDetail_20' ) end [2025-03-20 14:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723585', 'tblTempVendorCDR_20' ) start [2025-03-20 14:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723585', 'tblTempVendorCDR_20' ) end [2025-03-20 14:54:22] Production.INFO: ProcessCDR(1,14723585,1,1,2) [2025-03-20 14:54:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:54:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:54:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:54:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723585', 'tblTempUsageDetail_20' ) start [2025-03-20 14:54:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723585', 'tblTempUsageDetail_20' ) end [2025-03-20 14:54:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:54:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:54:28] Production.INFO: ==4402== Releasing lock... [2025-03-20 14:54:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:54:28] Production.INFO: 74 MB #Memory Used# [2025-03-20 18:55:01] Production.INFO: ==4471== Lock acquired, processing the job... [2025-03-20 18:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:55:01] Production.INFO: neon service started [2025-03-20 18:55:02] Production.INFO: neon service started [2025-03-20 18:55:02] Production.INFO: ==4471== Releasing lock... [2025-03-20 18:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 14:55:02] Production.INFO: ==4473== Lock acquired, processing the job... [2025-03-20 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:55:02] Production.INFO: ==4473== Releasing lock... [2025-03-20 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:55:02] Production.INFO: ==4475== Lock acquired, processing the job... [2025-03-20 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:55:02] Production.INFO: ==4475== Releasing lock... [2025-03-20 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:55:03] Production.INFO: ==4487== Lock acquired, processing the job... [2025-03-20 14:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:55:03] Production.INFO: ==4485== Lock acquired, processing the job... [2025-03-20 14:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:55:03] Production.INFO: count ==12 [2025-03-20 14:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:55:03] Production.INFO: count ==23 [2025-03-20 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723586') start [2025-03-20 14:55:04] Production.INFO: ==4479== Lock acquired, processing the job... [2025-03-20 14:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:55:04] Production.INFO: ==4477== Lock acquired, processing the job... [2025-03-20 14:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:55:04] Production.INFO: ==4481== Lock acquired, processing the job... [2025-03-20 14:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:55:04] Production.INFO: ==4483== Lock acquired, processing the job... [2025-03-20 14:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723586') end [2025-03-20 14:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:55:04] Production.INFO: 1 [2025-03-20 14:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:55:04] Production.INFO: Account Balance Start. [2025-03-20 14:55:04] Production.INFO: CreateAllLog Start [2025-03-20 14:55:04] Production.INFO: ==4487== Releasing lock... [2025-03-20 14:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:55:04] Production.INFO: 117 [2025-03-20 14:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.ERROR: done [2025-03-20 14:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.ERROR: done [2025-03-20 14:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.INFO: ==4479== Releasing lock... [2025-03-20 14:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:55:05] Production.INFO: Total Charge 0 [2025-03-20 14:55:05] Production.INFO: CreateAllLog End [2025-03-20 14:55:05] Production.INFO: Account Balance End. [2025-03-20 14:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:55:05] Production.INFO: ==4483== Releasing lock... [2025-03-20 14:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:55:05 [end_date_ymd] => 2025-03-20 14:55:05 [RateCDR] => 1 ) [2025-03-20 14:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:55:05' and `end` < '2025-03-20 14:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:55:15] Production.ERROR: CronJobId end10 [2025-03-20 14:55:15] Production.INFO: ==4481== Releasing lock... [2025-03-20 14:55:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:55:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:55:15] Production.INFO: call_cost start [2025-03-20 14:55:15] Production.INFO: call_cost end [2025-03-20 14:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:55:16] Production.INFO: ==4477== Releasing lock... [2025-03-20 14:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:55:19] Production.INFO: count ==6116 [2025-03-20 14:55:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:55:05 - End Time 2025-03-20 14:55:05 [2025-03-20 14:55:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723590', 'tblTempUsageDetail_20' ) start [2025-03-20 14:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723590', 'tblTempUsageDetail_20' ) end [2025-03-20 14:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723590', 'tblTempVendorCDR_20' ) start [2025-03-20 14:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723590', 'tblTempVendorCDR_20' ) end [2025-03-20 14:55:22] Production.INFO: ProcessCDR(1,14723590,1,1,2) [2025-03-20 14:55:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:55:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:55:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:55:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723590', 'tblTempUsageDetail_20' ) start [2025-03-20 14:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723590', 'tblTempUsageDetail_20' ) end [2025-03-20 14:55:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:55:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:55:27] Production.INFO: ==4485== Releasing lock... [2025-03-20 14:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:55:27] Production.INFO: 73.75 MB #Memory Used# [2025-03-20 18:56:01] Production.INFO: ==4560== Lock acquired, processing the job... [2025-03-20 18:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:56:01] Production.INFO: neon service started [2025-03-20 18:56:01] Production.INFO: neon service started [2025-03-20 18:56:01] Production.INFO: ==4560== Releasing lock... [2025-03-20 18:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:56:01] Production.INFO: ==4564== Lock acquired, processing the job... [2025-03-20 18:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:56:01] Production.INFO: ==4564== Releasing lock... [2025-03-20 18:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:56:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:56:02] Production.INFO: ==4562== Lock acquired, processing the job... [2025-03-20 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:56:02] Production.INFO: ==4562== Releasing lock... [2025-03-20 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:56:03] Production.INFO: ==4571== Lock acquired, processing the job... [2025-03-20 14:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:56:03] Production.INFO: ==4568== Lock acquired, processing the job... [2025-03-20 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:56:03] Production.INFO: ==4566== Lock acquired, processing the job... [2025-03-20 14:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:56:03] Production.INFO: ==4582== Lock acquired, processing the job... [2025-03-20 14:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:56:03] Production.INFO: ==4578== Lock acquired, processing the job... [2025-03-20 14:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:56:03] Production.INFO: ==4584== Lock acquired, processing the job... [2025-03-20 14:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:56:03] Production.INFO: ==4568== Releasing lock... [2025-03-20 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:56:03] Production.INFO: Account Balance Start. [2025-03-20 14:56:03] Production.INFO: CreateAllLog Start [2025-03-20 14:56:04] Production.INFO: 117 [2025-03-20 14:56:04] Production.INFO: count ==12 [2025-03-20 14:56:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: count ==23 [2025-03-20 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723593') start [2025-03-20 14:56:04] Production.ERROR: done [2025-03-20 14:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:56:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.ERROR: done [2025-03-20 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723593') end [2025-03-20 14:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:56:04] Production.INFO: 1 [2025-03-20 14:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:56:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: ==4584== Releasing lock... [2025-03-20 14:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:56:04] Production.INFO: Total Charge 0 [2025-03-20 14:56:04] Production.INFO: CreateAllLog End [2025-03-20 14:56:04] Production.INFO: Account Balance End. [2025-03-20 14:56:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:56:04] Production.INFO: ==4578== Releasing lock... [2025-03-20 14:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:56:05 [end_date_ymd] => 2025-03-20 14:56:05 [RateCDR] => 1 ) [2025-03-20 14:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:56:05' and `end` < '2025-03-20 14:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:56:14] Production.ERROR: CronJobId end10 [2025-03-20 14:56:14] Production.INFO: ==4571== Releasing lock... [2025-03-20 14:56:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:56:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:56:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:56:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:56:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:56:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:56:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:56:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:56:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:56:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:56:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:56:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:56:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:56:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:56:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:56:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:56:16] Production.INFO: call_cost start [2025-03-20 14:56:16] Production.INFO: call_cost end [2025-03-20 14:56:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:56:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:56:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:56:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:56:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:56:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:56:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:56:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:56:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:56:17] Production.INFO: ==4566== Releasing lock... [2025-03-20 14:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:56:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:56:18] Production.INFO: count ==6082 [2025-03-20 14:56:21] Production.ERROR: pbx CDR StartTime 2025-03-20 11:56:05 - End Time 2025-03-20 14:56:05 [2025-03-20 14:56:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723595', 'tblTempUsageDetail_20' ) start [2025-03-20 14:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723595', 'tblTempUsageDetail_20' ) end [2025-03-20 14:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723595', 'tblTempVendorCDR_20' ) start [2025-03-20 14:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723595', 'tblTempVendorCDR_20' ) end [2025-03-20 14:56:21] Production.INFO: ProcessCDR(1,14723595,1,1,2) [2025-03-20 14:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:56:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723595', 'tblTempUsageDetail_20' ) start [2025-03-20 14:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723595', 'tblTempUsageDetail_20' ) end [2025-03-20 14:56:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:56:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:56:27] Production.INFO: ==4582== Releasing lock... [2025-03-20 14:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:56:27] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 18:57:01] Production.INFO: ==4660== Lock acquired, processing the job... [2025-03-20 18:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:57:01] Production.INFO: neon service started [2025-03-20 18:57:01] Production.INFO: neon service started [2025-03-20 18:57:01] Production.INFO: ==4660== Releasing lock... [2025-03-20 18:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:57:02] Production.INFO: ==4664== Lock acquired, processing the job... [2025-03-20 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:57:02] Production.INFO: ==4664== Releasing lock... [2025-03-20 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:57:02] Production.INFO: ==4662== Lock acquired, processing the job... [2025-03-20 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:57:03] Production.INFO: ==4662== Releasing lock... [2025-03-20 14:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:57:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:57:04] Production.INFO: ==4675== Lock acquired, processing the job... [2025-03-20 14:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:57:04] Production.INFO: ==4677== Lock acquired, processing the job... [2025-03-20 14:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:57:04] Production.INFO: ==4667== Lock acquired, processing the job... [2025-03-20 14:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:57:04] Production.INFO: ==4669== Lock acquired, processing the job... [2025-03-20 14:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:57:04] Production.INFO: ==4671== Lock acquired, processing the job... [2025-03-20 14:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:57:04] Production.INFO: ==4673== Lock acquired, processing the job... [2025-03-20 14:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:57:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:57:04] Production.INFO: count ==12 [2025-03-20 14:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:57:04] Production.INFO: count ==23 [2025-03-20 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723596') start [2025-03-20 14:57:04] Production.ERROR: done [2025-03-20 14:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:57:04] Production.INFO: Account Balance Start. [2025-03-20 14:57:04] Production.INFO: CreateAllLog Start [2025-03-20 14:57:04] Production.INFO: 117 [2025-03-20 14:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:57:04] Production.INFO: Date 2025-03-08 [2025-03-20 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723596') end [2025-03-20 14:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:57:04] Production.INFO: 1 [2025-03-20 14:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:57:04] Production.INFO: ==4677== Releasing lock... [2025-03-20 14:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:57:04] Production.ERROR: done [2025-03-20 14:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:04] Production.INFO: ==4669== Releasing lock... [2025-03-20 14:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:05] Production.INFO: Date 2025-03-19 [2025-03-20 14:57:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:05] Production.INFO: Date 2025-03-20 [2025-03-20 14:57:05] Production.INFO: Reseller ==> 0 [2025-03-20 14:57:05] Production.INFO: Total Charge 0 [2025-03-20 14:57:05] Production.INFO: CreateAllLog End [2025-03-20 14:57:05] Production.INFO: Account Balance End. [2025-03-20 14:57:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:57:05] Production.INFO: ==4673== Releasing lock... [2025-03-20 14:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:57:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:57:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:57:06 [end_date_ymd] => 2025-03-20 14:57:06 [RateCDR] => 1 ) [2025-03-20 14:57:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:57:06' and `end` < '2025-03-20 14:57:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:57:14] Production.ERROR: CronJobId end10 [2025-03-20 14:57:14] Production.INFO: ==4671== Releasing lock... [2025-03-20 14:57:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:57:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:57:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:57:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:57:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:57:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:57:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:57:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:57:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:57:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:57:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:57:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:57:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:57:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:57:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:57:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:57:16] Production.INFO: call_cost start [2025-03-20 14:57:16] Production.INFO: call_cost end [2025-03-20 14:57:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:57:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:57:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:57:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:57:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:57:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:57:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:57:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:57:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:57:17] Production.INFO: ==4667== Releasing lock... [2025-03-20 14:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:57:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:57:19] Production.INFO: count ==6031 [2025-03-20 14:57:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:57:06 - End Time 2025-03-20 14:57:06 [2025-03-20 14:57:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723600', 'tblTempUsageDetail_20' ) start [2025-03-20 14:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723600', 'tblTempUsageDetail_20' ) end [2025-03-20 14:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723600', 'tblTempVendorCDR_20' ) start [2025-03-20 14:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723600', 'tblTempVendorCDR_20' ) end [2025-03-20 14:57:22] Production.INFO: ProcessCDR(1,14723600,1,1,2) [2025-03-20 14:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:57:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:57:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:57:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723600', 'tblTempUsageDetail_20' ) start [2025-03-20 14:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723600', 'tblTempUsageDetail_20' ) end [2025-03-20 14:57:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:57:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:57:27] Production.INFO: ==4675== Releasing lock... [2025-03-20 14:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:57:27] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 18:58:01] Production.INFO: ==4743== Lock acquired, processing the job... [2025-03-20 18:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:58:01] Production.INFO: neon service started [2025-03-20 18:58:01] Production.INFO: neon service started [2025-03-20 18:58:01] Production.INFO: ==4743== Releasing lock... [2025-03-20 18:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:58:02] Production.INFO: ==4748== Lock acquired, processing the job... [2025-03-20 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:58:02] Production.INFO: ==4748== Releasing lock... [2025-03-20 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:58:02] Production.INFO: ==4746== Lock acquired, processing the job... [2025-03-20 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:58:02] Production.INFO: ==4746== Releasing lock... [2025-03-20 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:58:03] Production.INFO: ==4750== Lock acquired, processing the job... [2025-03-20 14:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:58:03] Production.INFO: ==4752== Lock acquired, processing the job... [2025-03-20 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:58:03] Production.INFO: ==4758== Lock acquired, processing the job... [2025-03-20 14:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:58:03] Production.INFO: ==4754== Lock acquired, processing the job... [2025-03-20 14:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:58:03] Production.INFO: ==4752== Releasing lock... [2025-03-20 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:58:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:58:03] Production.INFO: ==4756== Lock acquired, processing the job... [2025-03-20 14:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:58:03] Production.INFO: ==4760== Lock acquired, processing the job... [2025-03-20 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:58:03] Production.INFO: Account Balance Start. [2025-03-20 14:58:03] Production.INFO: CreateAllLog Start [2025-03-20 14:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:58:03] Production.INFO: 117 [2025-03-20 14:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:58:03] Production.ERROR: done [2025-03-20 14:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:58:04] Production.INFO: Date 2025-03-08 [2025-03-20 14: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-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.INFO: count ==12 [2025-03-20 14: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-03-20 14:58:04] Production.INFO: count ==23 [2025-03-20 14:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723604') start [2025-03-20 14:58:04] Production.INFO: Date 2025-03-09 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.INFO: Date 2025-03-10 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.ERROR: done [2025-03-20 14:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723604') end [2025-03-20 14:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:58:04] Production.INFO: 1 [2025-03-20 14:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:58:04] Production.INFO: ==4760== Releasing lock... [2025-03-20 14:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:58:04] Production.INFO: Total Charge 0 [2025-03-20 14:58:04] Production.INFO: CreateAllLog End [2025-03-20 14:58:04] Production.INFO: Account Balance End. [2025-03-20 14:58:04] Production.ERROR: CronJobId end 12 [2025-03-20 14:58:04] Production.INFO: ==4756== Releasing lock... [2025-03-20 14:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:58:05 [end_date_ymd] => 2025-03-20 14:58:05 [RateCDR] => 1 ) [2025-03-20 14:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 11:58:05' and `end` < '2025-03-20 14:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 14:58:13] Production.ERROR: CronJobId end10 [2025-03-20 14:58:13] Production.INFO: ==4754== Releasing lock... [2025-03-20 14:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:58:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:58:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:58:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:58:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:58:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:58:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:58:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:58:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:58:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:58:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:58:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:58:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:58:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:58:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:58:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:58:16] Production.INFO: call_cost start [2025-03-20 14:58:16] Production.INFO: call_cost end [2025-03-20 14:58:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:58:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:58:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:58:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:58:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:58:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:58:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:58:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:58:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:58:17] Production.INFO: ==4750== Releasing lock... [2025-03-20 14:58:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:58:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:58:18] Production.INFO: count ==6022 [2025-03-20 14:58:21] Production.ERROR: pbx CDR StartTime 2025-03-20 11:58:05 - End Time 2025-03-20 14:58:05 [2025-03-20 14:58:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723605', 'tblTempUsageDetail_20' ) start [2025-03-20 14:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723605', 'tblTempUsageDetail_20' ) end [2025-03-20 14:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723605', 'tblTempVendorCDR_20' ) start [2025-03-20 14:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723605', 'tblTempVendorCDR_20' ) end [2025-03-20 14:58:21] Production.INFO: ProcessCDR(1,14723605,1,1,2) [2025-03-20 14:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723605', 'tblTempUsageDetail_20' ) start [2025-03-20 14:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723605', 'tblTempUsageDetail_20' ) end [2025-03-20 14:58:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:58:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:58:26] Production.INFO: ==4758== Releasing lock... [2025-03-20 14:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:58:26] Production.INFO: 73 MB #Memory Used# [2025-03-20 18:59:02] Production.INFO: ==4832== Lock acquired, processing the job... [2025-03-20 18:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 18:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 18:59:02] Production.INFO: neon service started [2025-03-20 18:59:02] Production.INFO: neon service started [2025-03-20 18:59:02] Production.INFO: ==4832== Releasing lock... [2025-03-20 18:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 18:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:59:02] Production.INFO: ==4836== Lock acquired, processing the job... [2025-03-20 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:59:02] Production.INFO: ==4836== Releasing lock... [2025-03-20 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 18:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 14:59:02] Production.INFO: ==4834== Lock acquired, processing the job... [2025-03-20 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 14:59:02] Production.INFO: ==4834== Releasing lock... [2025-03-20 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 14:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 14:59:03] Production.INFO: ==4843== Lock acquired, processing the job... [2025-03-20 14:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 14:59:03] Production.INFO: ==4845== Lock acquired, processing the job... [2025-03-20 14:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 14:59:03] Production.INFO: ==4847== Lock acquired, processing the job... [2025-03-20 14:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 14:59:03] Production.INFO: Account Balance Start. [2025-03-20 14:59:03] Production.INFO: CreateAllLog Start [2025-03-20 14:59:03] Production.INFO: 117 [2025-03-20 14:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 14:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 14:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 14:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 14:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 14:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 14:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:03] Production.INFO: Date 2025-03-10 [2025-03-20 14:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 14:59:04] Production.INFO: Date 2025-03-11 [2025-03-20 14:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:04] Production.INFO: ==4839== Lock acquired, processing the job... [2025-03-20 14:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 14:59:04] Production.INFO: Date 2025-03-12 [2025-03-20 14:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:04] Production.INFO: ==4841== Lock acquired, processing the job... [2025-03-20 14:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 14:59:04] Production.INFO: Date 2025-03-13 [2025-03-20 14:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 14:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 14:59:04] Production.INFO: ==4849== Lock acquired, processing the job... [2025-03-20 14:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 14:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 14:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 14:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 14:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 14:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:04] Production.ERROR: done [2025-03-20 14:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 14:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 14:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 14:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 14:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:59:04] Production.INFO: count ==12 [2025-03-20 14:59:04] Production.INFO: Total Charge 0 [2025-03-20 14:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 14:59:04] Production.INFO: count ==23 [2025-03-20 14:59:04] Production.ERROR: done [2025-03-20 14:59:04] Production.INFO: ==4841== Releasing lock... [2025-03-20 14:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 14:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 14:59:04] Production.INFO: CreateAllLog End [2025-03-20 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723609') start [2025-03-20 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723609') end [2025-03-20 14:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 14:59:04] Production.INFO: 1 [2025-03-20 14:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 14:59:04] Production.INFO: Account Balance End. [2025-03-20 14:59:04] Production.INFO: ==4849== Releasing lock... [2025-03-20 14:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 14:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 14:59:05] Production.ERROR: CronJobId end 12 [2025-03-20 14:59:05] Production.INFO: ==4845== Releasing lock... [2025-03-20 14:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 14:59:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 14:59:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 11:59:06 [end_date_ymd] => 2025-03-20 14:59:06 [RateCDR] => 1 ) [2025-03-20 14: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-03-20 11:59:06' and `end` < '2025-03-20 14: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-03-20 14:59:13] Production.ERROR: CronJobId end10 [2025-03-20 14:59:13] Production.INFO: ==4843== Releasing lock... [2025-03-20 14:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 14:59:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 14:59:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 14:59:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 14:59:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 14:59:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 14:59:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 14:59:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 14:59:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 14:59:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 14:59:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 14:59:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 14:59:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 14:59:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 14:59:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 14:59:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 14:59:16] Production.INFO: call_cost start [2025-03-20 14:59:16] Production.INFO: call_cost end [2025-03-20 14:59:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 14:59:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 14:59:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 14:59:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 14:59:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 14:59:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 14:59:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 14:59:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 14:59:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 14:59:17] Production.INFO: ==4839== Releasing lock... [2025-03-20 14:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 14:59:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 14:59:19] Production.INFO: count ==6010 [2025-03-20 14:59:22] Production.ERROR: pbx CDR StartTime 2025-03-20 11:59:06 - End Time 2025-03-20 14:59:06 [2025-03-20 14:59:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 14:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723610', 'tblTempUsageDetail_20' ) start [2025-03-20 14:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723610', 'tblTempUsageDetail_20' ) end [2025-03-20 14:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723610', 'tblTempVendorCDR_20' ) start [2025-03-20 14:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723610', 'tblTempVendorCDR_20' ) end [2025-03-20 14:59:22] Production.INFO: ProcessCDR(1,14723610,1,1,2) [2025-03-20 14:59:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:59:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 14:59:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:59:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 14:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723610', 'tblTempUsageDetail_20' ) start [2025-03-20 14:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723610', 'tblTempUsageDetail_20' ) end [2025-03-20 14:59:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 14:59:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 14:59:27] Production.INFO: ==4847== Releasing lock... [2025-03-20 14:59:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 14:59:27] Production.INFO: 73 MB #Memory Used# [2025-03-20 19:00:01] Production.INFO: ==4919== Lock acquired, processing the job... [2025-03-20 19:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:00:01] Production.INFO: neon service started [2025-03-20 19:00:01] Production.INFO: neon service started [2025-03-20 19:00:01] Production.INFO: ==4919== Releasing lock... [2025-03-20 19:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:00:01] Production.INFO: ==4923== Lock acquired, processing the job... [2025-03-20 19:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:00:01] Production.INFO: ==4923== Releasing lock... [2025-03-20 19:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:00:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:00:01] Production.INFO: ==4921== Lock acquired, processing the job... [2025-03-20 15:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:00:02] Production.INFO: ==4921== Releasing lock... [2025-03-20 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:00:03] Production.INFO: ==4934== Lock acquired, processing the job... [2025-03-20 15:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:00:03] Production.INFO: ==4926== Lock acquired, processing the job... [2025-03-20 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 15:00:03] Production.INFO: Account Balance Start. [2025-03-20 15:00:03] Production.INFO: CreateAllLog Start [2025-03-20 15:00:03] Production.INFO: 117 [2025-03-20 15:00:03] Production.INFO: ==4936== Lock acquired, processing the job... [2025-03-20 15:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:00:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 15:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 15:00:03] Production.ERROR: CronJob PID - 4934 [2025-03-20 15:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 15:00:03] Production.ERROR: CronJob ID - 12 [2025-03-20 15:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 15:00:00 [2025-03-20 15:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 15:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 15:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:03] Production.INFO: ==4938== Lock acquired, processing the job... [2025-03-20 15:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 15:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 15:00:03] Production.INFO: ==4926== Releasing lock... [2025-03-20 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 15:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 15:00:03] Production.INFO: ==4930== Lock acquired, processing the job... [2025-03-20 15:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:00:03] Production.INFO: ==4928== Lock acquired, processing the job... [2025-03-20 15:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:00:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:03] Production.INFO: ==4932== Lock acquired, processing the job... [2025-03-20 15:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:00:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:00:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:04] Production.INFO: ==4940== Lock acquired, processing the job... [2025-03-20 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:00:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:00:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:04] Production.ERROR: done [2025-03-20 15:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:00:04] Production.ERROR: done [2025-03-20 15:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:00:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:04] Production.INFO: count ==12 [2025-03-20 15:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:00:04] Production.INFO: count ==23 [2025-03-20 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723612') start [2025-03-20 15:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 15:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723615', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 15:00:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:00:04] Production.INFO: Total Charge 0 [2025-03-20 15:00:04] Production.INFO: CreateAllLog End [2025-03-20 15:00:04] Production.ERROR: done [2025-03-20 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723612') end [2025-03-20 15:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:00:04] Production.INFO: 1 [2025-03-20 15:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:00:04] Production.INFO: ==4930== Releasing lock... [2025-03-20 15:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:00:04] Production.INFO: ==4940== Releasing lock... [2025-03-20 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:00:05] Production.INFO: Account Balance End. [2025-03-20 15:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:00:05] Production.INFO: ==4934== Releasing lock... [2025-03-20 15:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:00:06 [end_date_ymd] => 2025-03-20 15:00:06 [RateCDR] => 1 ) [2025-03-20 15:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:00:06' and `end` < '2025-03-20 15:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723615', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 15:00:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 15:00:08] Production.INFO: ProcessCDR(1,14723615,1,1,2) [2025-03-20 15:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723615,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723615,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:00:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:00:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:00:08] Production.INFO: ==4938== Releasing lock... [2025-03-20 15:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 15:00:08] Production.INFO: 26 MB #Memory Used# [2025-03-20 15:00:15] Production.ERROR: CronJobId end10 [2025-03-20 15:00:15] Production.INFO: ==4932== Releasing lock... [2025-03-20 15:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:00:17] Production.INFO: call_cost start [2025-03-20 15:00:17] Production.INFO: call_cost end [2025-03-20 15:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:00:18] Production.INFO: ==4928== Releasing lock... [2025-03-20 15:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:00:19] Production.INFO: count ==6013 [2025-03-20 15:00:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:00:06 - End Time 2025-03-20 15:00:06 [2025-03-20 15:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723616', 'tblTempUsageDetail_20' ) start [2025-03-20 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723616', 'tblTempUsageDetail_20' ) end [2025-03-20 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723616', 'tblTempVendorCDR_20' ) start [2025-03-20 15:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723616', 'tblTempVendorCDR_20' ) end [2025-03-20 15:00:22] Production.INFO: ProcessCDR(1,14723616,1,1,2) [2025-03-20 15:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:00:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723616,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:00:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:00:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723616,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723616', 'tblTempUsageDetail_20' ) start [2025-03-20 15:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723616', 'tblTempUsageDetail_20' ) end [2025-03-20 15:00:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:00:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:00:28] Production.INFO: ==4936== Releasing lock... [2025-03-20 15:00:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:00:28] Production.INFO: 73 MB #Memory Used# [2025-03-20 19:01:01] Production.INFO: ==5018== Lock acquired, processing the job... [2025-03-20 19:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:01:01] Production.INFO: neon service started [2025-03-20 19:01:01] Production.INFO: neon service started [2025-03-20 19:01:01] Production.INFO: ==5018== Releasing lock... [2025-03-20 19:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:01:02] Production.INFO: ==5027== Lock acquired, processing the job... [2025-03-20 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:01:02] Production.INFO: ==5027== Releasing lock... [2025-03-20 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:01:02] Production.INFO: ==5025== Lock acquired, processing the job... [2025-03-20 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:01:02] Production.INFO: ==5025== Releasing lock... [2025-03-20 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:01:03] Production.INFO: ==5030== Lock acquired, processing the job... [2025-03-20 15:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:01:03] Production.INFO: ==5034== Lock acquired, processing the job... [2025-03-20 15:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:01:03] Production.INFO: ==5032== Lock acquired, processing the job... [2025-03-20 15:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:01:03] Production.INFO: ==5036== Lock acquired, processing the job... [2025-03-20 15:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:01:03] Production.INFO: ==5040== Lock acquired, processing the job... [2025-03-20 15:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:01:03] Production.INFO: ==5038== Lock acquired, processing the job... [2025-03-20 15:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:01:03] Production.INFO: Account Balance Start. [2025-03-20 15:01:03] Production.INFO: CreateAllLog Start [2025-03-20 15:01:03] Production.INFO: 117 [2025-03-20 15:01:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:01:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:03] Production.INFO: count ==12 [2025-03-20 15:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:01:04] Production.INFO: count ==23 [2025-03-20 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723620') start [2025-03-20 15:01:04] Production.INFO: ==5032== Releasing lock... [2025-03-20 15:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723620') end [2025-03-20 15:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:01:04] Production.INFO: 1 [2025-03-20 15:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:04] Production.INFO: ==5040== Releasing lock... [2025-03-20 15:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:01:04] Production.ERROR: done [2025-03-20 15:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:01:04] Production.INFO: Total Charge 0 [2025-03-20 15:01:04] Production.INFO: CreateAllLog End [2025-03-20 15:01:04] Production.ERROR: done [2025-03-20 15:01:04] Production.INFO: Account Balance End. [2025-03-20 15:01:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:01:04] Production.INFO: ==5036== Releasing lock... [2025-03-20 15:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:01:05 [end_date_ymd] => 2025-03-20 15:01:05 [RateCDR] => 1 ) [2025-03-20 15:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:01:05' and `end` < '2025-03-20 15:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:01:14] Production.ERROR: CronJobId end10 [2025-03-20 15:01:14] Production.INFO: ==5034== Releasing lock... [2025-03-20 15:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:01:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:01:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:01:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:01:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:01:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:01:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:01:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:01:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:01:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:01:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:01:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:01:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:01:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:01:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:01:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:01:17] Production.INFO: call_cost start [2025-03-20 15:01:17] Production.INFO: call_cost end [2025-03-20 15:01:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:01:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:01:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:01:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:01:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:01:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:01:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:01:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:01:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:01:18] Production.INFO: ==5030== Releasing lock... [2025-03-20 15:01:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:01:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:01:19] Production.INFO: count ==6026 [2025-03-20 15:01:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:01:05 - End Time 2025-03-20 15:01:05 [2025-03-20 15:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723621', 'tblTempUsageDetail_20' ) start [2025-03-20 15:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723621', 'tblTempUsageDetail_20' ) end [2025-03-20 15:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723621', 'tblTempVendorCDR_20' ) start [2025-03-20 15:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723621', 'tblTempVendorCDR_20' ) end [2025-03-20 15:01:22] Production.INFO: ProcessCDR(1,14723621,1,1,2) [2025-03-20 15:01:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:01:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723621', 'tblTempUsageDetail_20' ) start [2025-03-20 15:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723621', 'tblTempUsageDetail_20' ) end [2025-03-20 15:01:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:01:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:01:27] Production.INFO: ==5038== Releasing lock... [2025-03-20 15:01:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:01:27] Production.INFO: 73 MB #Memory Used# [2025-03-20 19:02:02] Production.INFO: ==5176== Lock acquired, processing the job... [2025-03-20 19:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:02:02] Production.INFO: neon service started [2025-03-20 19:02:02] Production.INFO: neon service started [2025-03-20 19:02:02] Production.INFO: ==5176== Releasing lock... [2025-03-20 19:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:02:03] Production.INFO: ==5181== Lock acquired, processing the job... [2025-03-20 19:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:02:03] Production.INFO: ==5179== Lock acquired, processing the job... [2025-03-20 15:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:02:03] Production.INFO: ==5181== Releasing lock... [2025-03-20 19:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:02:03] Production.INFO: ==5179== Releasing lock... [2025-03-20 15:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:02:04] Production.INFO: ==5193== Lock acquired, processing the job... [2025-03-20 15:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:02:04] Production.INFO: ==5191== Lock acquired, processing the job... [2025-03-20 15:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:02:04] Production.INFO: count ==12 [2025-03-20 15:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:02:04] Production.INFO: ==5183== Lock acquired, processing the job... [2025-03-20 15:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:02:04] Production.INFO: count ==23 [2025-03-20 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723622') start [2025-03-20 15:02:04] Production.INFO: ==5185== Lock acquired, processing the job... [2025-03-20 15:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:02:04] Production.INFO: ==5187== Lock acquired, processing the job... [2025-03-20 15:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:02:04] Production.INFO: ==5189== Lock acquired, processing the job... [2025-03-20 15:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:02:05] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:02:05] Production.INFO: Account Balance Start. [2025-03-20 15:02:05] Production.INFO: CreateAllLog Start [2025-03-20 15:02:05] Production.INFO: 117 [2025-03-20 15:02:05] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:02:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:02:05] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723622') end [2025-03-20 15:02:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:02:05] Production.INFO: 1 [2025-03-20 15:02:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:02:05] Production.INFO: Date 2025-03-08 [2025-03-20 15:02:05] Production.INFO: ==5193== Releasing lock... [2025-03-20 15:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:02:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:02:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.INFO: Date 2025-03-09 [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.INFO: Date 2025-03-10 [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.INFO: Date 2025-03-11 [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.INFO: Date 2025-03-12 [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.INFO: Date 2025-03-13 [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.ERROR: done [2025-03-20 15:02:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:02:05] Production.INFO: Date 2025-03-14 [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.INFO: Date 2025-03-15 [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.INFO: Date 2025-03-16 [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.ERROR: done [2025-03-20 15:02:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:02:05] Production.INFO: ==5185== Releasing lock... [2025-03-20 15:02:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:02:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:02:05] Production.INFO: Total Charge 0 [2025-03-20 15:02:05] Production.INFO: CreateAllLog End [2025-03-20 15:02:06] Production.INFO: Account Balance End. [2025-03-20 15:02:06] Production.ERROR: CronJobId end 12 [2025-03-20 15:02:06] Production.INFO: ==5189== Releasing lock... [2025-03-20 15:02:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:02:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:02:06 [end_date_ymd] => 2025-03-20 15:02:06 [RateCDR] => 1 ) [2025-03-20 15:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:02:06' and `end` < '2025-03-20 15:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:02:15] Production.ERROR: CronJobId end10 [2025-03-20 15:02:15] Production.INFO: ==5187== Releasing lock... [2025-03-20 15:02:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:02:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:02:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:02:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:02:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:02:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:02:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:02:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:02:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:02:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:02:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:02:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:02:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:02:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:02:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:02:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:02:17] Production.INFO: call_cost start [2025-03-20 15:02:17] Production.INFO: call_cost end [2025-03-20 15:02:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:02:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:02:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:02:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:02:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:02:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:02:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:02:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:02:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:02:18] Production.INFO: ==5183== Releasing lock... [2025-03-20 15:02:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:02:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:02:20] Production.INFO: count ==6041 [2025-03-20 15:02:23] Production.ERROR: pbx CDR StartTime 2025-03-20 12:02:06 - End Time 2025-03-20 15:02:06 [2025-03-20 15:02:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723626', 'tblTempUsageDetail_20' ) start [2025-03-20 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723626', 'tblTempUsageDetail_20' ) end [2025-03-20 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723626', 'tblTempVendorCDR_20' ) start [2025-03-20 15:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723626', 'tblTempVendorCDR_20' ) end [2025-03-20 15:02:23] Production.INFO: ProcessCDR(1,14723626,1,1,2) [2025-03-20 15:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:02:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:02:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723626', 'tblTempUsageDetail_20' ) start [2025-03-20 15:02:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723626', 'tblTempUsageDetail_20' ) end [2025-03-20 15:02:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:02:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:02:29] Production.INFO: ==5191== Releasing lock... [2025-03-20 15:02:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:02:29] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 19:03:01] Production.INFO: ==5261== Lock acquired, processing the job... [2025-03-20 19:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:03:01] Production.INFO: neon service started [2025-03-20 19:03:01] Production.INFO: neon service started [2025-03-20 19:03:01] Production.INFO: ==5261== Releasing lock... [2025-03-20 19:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:03:02] Production.INFO: ==5263== Lock acquired, processing the job... [2025-03-20 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:03:02] Production.INFO: ==5265== Lock acquired, processing the job... [2025-03-20 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:03:02] Production.INFO: ==5263== Releasing lock... [2025-03-20 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:03:02] Production.INFO: ==5265== Releasing lock... [2025-03-20 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:03:03] Production.INFO: ==5274== Lock acquired, processing the job... [2025-03-20 15:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:03:03] Production.INFO: ==5268== Lock acquired, processing the job... [2025-03-20 15:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:03:03] Production.INFO: ==5278== Lock acquired, processing the job... [2025-03-20 15:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:03:03] Production.INFO: ==5270== Lock acquired, processing the job... [2025-03-20 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:03:03] Production.INFO: ==5272== Lock acquired, processing the job... [2025-03-20 15:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:03:04] Production.INFO: Account Balance Start. [2025-03-20 15:03:04] Production.INFO: CreateAllLog Start [2025-03-20 15:03:04] Production.INFO: 117 [2025-03-20 15:03:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.INFO: count ==12 [2025-03-20 15:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:03:04] Production.INFO: count ==23 [2025-03-20 15:03:04] Production.INFO: ==5276== Lock acquired, processing the job... [2025-03-20 15:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723629') start [2025-03-20 15:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723629') end [2025-03-20 15:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:03:04] Production.INFO: 1 [2025-03-20 15:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:03:04] Production.INFO: ==5278== Releasing lock... [2025-03-20 15:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.INFO: ==5270== Releasing lock... [2025-03-20 15:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.ERROR: done [2025-03-20 15:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:03:04] Production.INFO: Total Charge 0 [2025-03-20 15:03:04] Production.INFO: CreateAllLog End [2025-03-20 15:03:04] Production.ERROR: done [2025-03-20 15:03:04] Production.INFO: Account Balance End. [2025-03-20 15:03:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:03:05] Production.INFO: ==5274== Releasing lock... [2025-03-20 15:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:03:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:03:06 [end_date_ymd] => 2025-03-20 15:03:06 [RateCDR] => 1 ) [2025-03-20 15:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:03:06' and `end` < '2025-03-20 15:03:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:03:14] Production.ERROR: CronJobId end10 [2025-03-20 15:03:14] Production.INFO: ==5272== Releasing lock... [2025-03-20 15:03:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:03:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:03:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:03:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:03:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:03:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:03:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:03:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:03:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:03:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:03:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:03:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:03:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:03:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:03:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:03:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:03:16] Production.INFO: call_cost start [2025-03-20 15:03:16] Production.INFO: call_cost end [2025-03-20 15:03:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:03:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:03:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:03:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:03:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:03:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:03:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:03:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:03:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:03:17] Production.INFO: ==5268== Releasing lock... [2025-03-20 15:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:03:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:03:19] Production.INFO: count ==6049 [2025-03-20 15:03:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:03:06 - End Time 2025-03-20 15:03:06 [2025-03-20 15:03:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723631', 'tblTempUsageDetail_20' ) start [2025-03-20 15:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723631', 'tblTempUsageDetail_20' ) end [2025-03-20 15:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723631', 'tblTempVendorCDR_20' ) start [2025-03-20 15:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723631', 'tblTempVendorCDR_20' ) end [2025-03-20 15:03:23] Production.INFO: ProcessCDR(1,14723631,1,1,2) [2025-03-20 15:03:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:03:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:03:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:03:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:03:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723631', 'tblTempUsageDetail_20' ) start [2025-03-20 15:03:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723631', 'tblTempUsageDetail_20' ) end [2025-03-20 15:03:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:03:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:03:29] Production.INFO: ==5276== Releasing lock... [2025-03-20 15:03:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:03:29] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 19:04:01] Production.INFO: ==5352== Lock acquired, processing the job... [2025-03-20 19:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:04:01] Production.INFO: neon service started [2025-03-20 19:04:01] Production.INFO: neon service started [2025-03-20 19:04:01] Production.INFO: ==5352== Releasing lock... [2025-03-20 19:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:04:01] Production.INFO: ==5354== Lock acquired, processing the job... [2025-03-20 15:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:04:02] Production.INFO: ==5354== Releasing lock... [2025-03-20 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:04:02] Production.INFO: ==5356== Lock acquired, processing the job... [2025-03-20 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:04:02] Production.INFO: ==5356== Releasing lock... [2025-03-20 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:04:03] Production.INFO: ==5367== Lock acquired, processing the job... [2025-03-20 15:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:04:03] Production.INFO: ==5363== Lock acquired, processing the job... [2025-03-20 15:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:04:03] Production.INFO: ==5358== Lock acquired, processing the job... [2025-03-20 15:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:04:03] Production.INFO: ==5361== Lock acquired, processing the job... [2025-03-20 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:04:03] Production.INFO: ==5365== Lock acquired, processing the job... [2025-03-20 15:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:04:03] Production.INFO: ==5369== Lock acquired, processing the job... [2025-03-20 15:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:04:03] Production.INFO: Account Balance Start. [2025-03-20 15:04:03] Production.INFO: CreateAllLog Start [2025-03-20 15:04:03] Production.INFO: 117 [2025-03-20 15:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:04:03] Production.INFO: count ==12 [2025-03-20 15:04:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:04:03] Production.INFO: count ==23 [2025-03-20 15:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723635') start [2025-03-20 15:04:03] Production.ERROR: done [2025-03-20 15:04:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:04:03] Production.INFO: ==5361== Releasing lock... [2025-03-20 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723635') end [2025-03-20 15:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:04:04] Production.INFO: 1 [2025-03-20 15:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:04:04] Production.ERROR: done [2025-03-20 15:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.INFO: ==5369== Releasing lock... [2025-03-20 15:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:04:04] Production.INFO: Total Charge 0 [2025-03-20 15:04:04] Production.INFO: CreateAllLog End [2025-03-20 15:04:04] Production.INFO: Account Balance End. [2025-03-20 15:04:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:04:04] Production.INFO: ==5365== Releasing lock... [2025-03-20 15:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:04:05 [end_date_ymd] => 2025-03-20 15:04:05 [RateCDR] => 1 ) [2025-03-20 15:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:04:05' and `end` < '2025-03-20 15:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:04:13] Production.ERROR: CronJobId end10 [2025-03-20 15:04:13] Production.INFO: ==5363== Releasing lock... [2025-03-20 15:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:04:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:04:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:04:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:04:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:04:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:04:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:04:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:04:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:04:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:04:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:04:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:04:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:04:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:04:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:04:16] Production.INFO: call_cost start [2025-03-20 15:04:16] Production.INFO: call_cost end [2025-03-20 15:04:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:04:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:04:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:04:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:04:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:04:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:04:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:04:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:04:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:04:17] Production.INFO: ==5358== Releasing lock... [2025-03-20 15:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:04:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:04:19] Production.INFO: count ==6054 [2025-03-20 15:04:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:04:05 - End Time 2025-03-20 15:04:05 [2025-03-20 15:04:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723636', 'tblTempUsageDetail_20' ) start [2025-03-20 15:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723636', 'tblTempUsageDetail_20' ) end [2025-03-20 15:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723636', 'tblTempVendorCDR_20' ) start [2025-03-20 15:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723636', 'tblTempVendorCDR_20' ) end [2025-03-20 15:04:22] Production.INFO: ProcessCDR(1,14723636,1,1,2) [2025-03-20 15:04:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:04:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723636', 'tblTempUsageDetail_20' ) start [2025-03-20 15:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723636', 'tblTempUsageDetail_20' ) end [2025-03-20 15:04:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:04:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:04:27] Production.INFO: ==5367== Releasing lock... [2025-03-20 15:04:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:04:27] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 19:05:01] Production.INFO: ==5512== Lock acquired, processing the job... [2025-03-20 19:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:05:01] Production.INFO: neon service started [2025-03-20 19:05:01] Production.INFO: neon service started [2025-03-20 19:05:01] Production.INFO: ==5512== Releasing lock... [2025-03-20 19:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:05:02] Production.INFO: ==5514== Lock acquired, processing the job... [2025-03-20 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:05:02] Production.INFO: ==5514== Releasing lock... [2025-03-20 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:05:02] Production.INFO: ==5516== Lock acquired, processing the job... [2025-03-20 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:05:02] Production.INFO: ==5516== Releasing lock... [2025-03-20 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:05:03] Production.INFO: ==5520== Lock acquired, processing the job... [2025-03-20 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:05:03] Production.INFO: ==5528== Lock acquired, processing the job... [2025-03-20 15:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:05:03] Production.INFO: ==5518== Lock acquired, processing the job... [2025-03-20 15:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:05:03] Production.INFO: ==5522== Lock acquired, processing the job... [2025-03-20 15:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:05:03] Production.INFO: count ==12 [2025-03-20 15:05:03] Production.INFO: ==5524== Lock acquired, processing the job... [2025-03-20 15:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:05:03] Production.INFO: count ==23 [2025-03-20 15:05:03] Production.INFO: ==5526== Lock acquired, processing the job... [2025-03-20 15:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723637') start [2025-03-20 15:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723637') end [2025-03-20 15:05:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:05:03] Production.INFO: 1 [2025-03-20 15:05:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:05:03] Production.INFO: Account Balance Start. [2025-03-20 15:05:03] Production.INFO: CreateAllLog Start [2025-03-20 15:05:03] Production.INFO: 117 [2025-03-20 15:05:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:05:03] Production.INFO: ==5520== Releasing lock... [2025-03-20 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:03] Production.INFO: ==5528== Releasing lock... [2025-03-20 15:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:05:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:05:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:03] Production.INFO: Date 2025-03-12 [2025-03-20 15:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:04] Production.ERROR: done [2025-03-20 15:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:04] Production.ERROR: done [2025-03-20 15:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:05:04] Production.INFO: Total Charge 0 [2025-03-20 15:05:04] Production.INFO: CreateAllLog End [2025-03-20 15:05:04] Production.INFO: Account Balance End. [2025-03-20 15:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:05:04] Production.INFO: ==5524== Releasing lock... [2025-03-20 15:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:05:05 [end_date_ymd] => 2025-03-20 15:05:05 [RateCDR] => 1 ) [2025-03-20 15:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:05:05' and `end` < '2025-03-20 15:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:05:12] Production.ERROR: CronJobId end10 [2025-03-20 15:05:12] Production.INFO: ==5522== Releasing lock... [2025-03-20 15:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:05:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:05:14] Production.INFO: call_cost start [2025-03-20 15:05:14] Production.INFO: call_cost end [2025-03-20 15:05:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:05:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:05:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:05:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:05:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:05:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:05:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:05:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:05:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:05:15] Production.INFO: ==5518== Releasing lock... [2025-03-20 15:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:05:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:05:18] Production.INFO: count ==6085 [2025-03-20 15:05:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:05:05 - End Time 2025-03-20 15:05:05 [2025-03-20 15:05:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723641', 'tblTempUsageDetail_20' ) start [2025-03-20 15:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723641', 'tblTempUsageDetail_20' ) end [2025-03-20 15:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723641', 'tblTempVendorCDR_20' ) start [2025-03-20 15:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723641', 'tblTempVendorCDR_20' ) end [2025-03-20 15:05:22] Production.INFO: ProcessCDR(1,14723641,1,1,2) [2025-03-20 15:05:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:05:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:05:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:05:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723641', 'tblTempUsageDetail_20' ) start [2025-03-20 15:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723641', 'tblTempUsageDetail_20' ) end [2025-03-20 15:05:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:05:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:05:27] Production.INFO: ==5526== Releasing lock... [2025-03-20 15:05:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:05:27] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 19:06:02] Production.INFO: ==5592== Lock acquired, processing the job... [2025-03-20 19:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:06:02] Production.INFO: neon service started [2025-03-20 19:06:02] Production.INFO: neon service started [2025-03-20 19:06:02] Production.INFO: ==5592== Releasing lock... [2025-03-20 19:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:06:02] Production.INFO: ==5594== Lock acquired, processing the job... [2025-03-20 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:06:03] Production.INFO: ==5594== Releasing lock... [2025-03-20 15:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:06:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:06:03] Production.INFO: ==5596== Lock acquired, processing the job... [2025-03-20 19:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:06:03] Production.INFO: ==5596== Releasing lock... [2025-03-20 19:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:06:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:06:03] Production.INFO: ==5602== Lock acquired, processing the job... [2025-03-20 15:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:06:03] Production.INFO: ==5608== Lock acquired, processing the job... [2025-03-20 15:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:06:04] Production.INFO: ==5598== Lock acquired, processing the job... [2025-03-20 15:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:06:04] Production.INFO: ==5600== Lock acquired, processing the job... [2025-03-20 15:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:06:04] Production.INFO: ==5604== Lock acquired, processing the job... [2025-03-20 15:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:06:04] Production.INFO: count ==12 [2025-03-20 15:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:06:04] Production.INFO: count ==23 [2025-03-20 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723642') start [2025-03-20 15:06:04] Production.INFO: ==5606== Lock acquired, processing the job... [2025-03-20 15:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:06:04] Production.INFO: Account Balance Start. [2025-03-20 15:06:04] Production.INFO: CreateAllLog Start [2025-03-20 15:06:04] Production.INFO: 117 [2025-03-20 15:06:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723642') end [2025-03-20 15:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:06:04] Production.INFO: 1 [2025-03-20 15:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:06:04] Production.INFO: ==5608== Releasing lock... [2025-03-20 15:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:04] Production.INFO: ==5600== Releasing lock... [2025-03-20 15:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:04] Production.ERROR: done [2025-03-20 15:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:04] Production.ERROR: done [2025-03-20 15:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:05] Production.INFO: Date 2025-03-16 [2025-03-20 15:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:06:05] Production.INFO: Total Charge 0 [2025-03-20 15:06:05] Production.INFO: CreateAllLog End [2025-03-20 15:06:05] Production.INFO: Account Balance End. [2025-03-20 15:06:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:06:05] Production.INFO: ==5604== Releasing lock... [2025-03-20 15:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:06:05 [end_date_ymd] => 2025-03-20 15:06:05 [RateCDR] => 1 ) [2025-03-20 15:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:06:05' and `end` < '2025-03-20 15:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:06:13] Production.ERROR: CronJobId end10 [2025-03-20 15:06:13] Production.INFO: ==5602== Releasing lock... [2025-03-20 15:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:06:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:06:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:06:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:06:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:06:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:06:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:06:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:06:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:06:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:06:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:06:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:06:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:06:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:06:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:06:16] Production.INFO: call_cost start [2025-03-20 15:06:16] Production.INFO: call_cost end [2025-03-20 15:06:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:06:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:06:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:06:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:06:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:06:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:06:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:06:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:06:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:06:17] Production.INFO: ==5598== Releasing lock... [2025-03-20 15:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:06:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:06:19] Production.INFO: count ==6098 [2025-03-20 15:06:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:06:05 - End Time 2025-03-20 15:06:05 [2025-03-20 15:06:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723646', 'tblTempUsageDetail_20' ) start [2025-03-20 15:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723646', 'tblTempUsageDetail_20' ) end [2025-03-20 15:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723646', 'tblTempVendorCDR_20' ) start [2025-03-20 15:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723646', 'tblTempVendorCDR_20' ) end [2025-03-20 15:06:22] Production.INFO: ProcessCDR(1,14723646,1,1,2) [2025-03-20 15:06:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:06:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:06:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:06:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:06:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723646', 'tblTempUsageDetail_20' ) start [2025-03-20 15:06:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723646', 'tblTempUsageDetail_20' ) end [2025-03-20 15:06:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:06:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:06:27] Production.INFO: ==5606== Releasing lock... [2025-03-20 15:06:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:06:27] Production.INFO: 73.75 MB #Memory Used# [2025-03-20 19:07:01] Production.INFO: ==5671== Lock acquired, processing the job... [2025-03-20 19:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:07:01] Production.INFO: neon service started [2025-03-20 19:07:01] Production.INFO: neon service started [2025-03-20 19:07:01] Production.INFO: ==5671== Releasing lock... [2025-03-20 19:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:07:02] Production.INFO: ==5675== Lock acquired, processing the job... [2025-03-20 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:07:02] Production.INFO: ==5675== Releasing lock... [2025-03-20 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:07:02] Production.INFO: ==5673== Lock acquired, processing the job... [2025-03-20 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:07:02] Production.INFO: ==5673== Releasing lock... [2025-03-20 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:07:03] Production.INFO: ==5680== Lock acquired, processing the job... [2025-03-20 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:07:03] Production.INFO: ==5682== Lock acquired, processing the job... [2025-03-20 15:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:07:03] Production.INFO: ==5688== Lock acquired, processing the job... [2025-03-20 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:07:03] Production.INFO: ==5680== Releasing lock... [2025-03-20 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:07:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:07:03] Production.INFO: count ==12 [2025-03-20 15:07:03] Production.INFO: ==5678== Lock acquired, processing the job... [2025-03-20 15:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:07:03] Production.INFO: count ==23 [2025-03-20 15:07:03] Production.INFO: ==5686== Lock acquired, processing the job... [2025-03-20 15:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723648') start [2025-03-20 15:07:03] Production.INFO: ==5684== Lock acquired, processing the job... [2025-03-20 15:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723648') end [2025-03-20 15:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:07:04] Production.INFO: 1 [2025-03-20 15:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:07:04] Production.INFO: ==5688== Releasing lock... [2025-03-20 15:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:07:04] Production.INFO: Account Balance Start. [2025-03-20 15:07:04] Production.INFO: CreateAllLog Start [2025-03-20 15:07:04] Production.INFO: 117 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.ERROR: done [2025-03-20 15:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.ERROR: done [2025-03-20 15:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:07:04] Production.INFO: Total Charge 0 [2025-03-20 15:07:04] Production.INFO: CreateAllLog End [2025-03-20 15:07:05] Production.INFO: Account Balance End. [2025-03-20 15:07:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:07:05] Production.INFO: ==5684== Releasing lock... [2025-03-20 15:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:07:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:07:05 [end_date_ymd] => 2025-03-20 15:07:05 [RateCDR] => 1 ) [2025-03-20 15:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:07:05' and `end` < '2025-03-20 15:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:07:12] Production.ERROR: CronJobId end10 [2025-03-20 15:07:12] Production.INFO: ==5682== Releasing lock... [2025-03-20 15:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:07:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:07:14] Production.INFO: call_cost start [2025-03-20 15:07:14] Production.INFO: call_cost end [2025-03-20 15:07:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:07:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:07:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:07:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:07:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:07:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:07:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:07:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:07:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:07:15] Production.INFO: ==5678== Releasing lock... [2025-03-20 15:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:07:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:07:19] Production.INFO: count ==6122 [2025-03-20 15:07:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:07:05 - End Time 2025-03-20 15:07:05 [2025-03-20 15:07:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723651', 'tblTempUsageDetail_20' ) start [2025-03-20 15:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723651', 'tblTempUsageDetail_20' ) end [2025-03-20 15:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723651', 'tblTempVendorCDR_20' ) start [2025-03-20 15:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723651', 'tblTempVendorCDR_20' ) end [2025-03-20 15:07:22] Production.INFO: ProcessCDR(1,14723651,1,1,2) [2025-03-20 15:07:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:07:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:07:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723651', 'tblTempUsageDetail_20' ) start [2025-03-20 15:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723651', 'tblTempUsageDetail_20' ) end [2025-03-20 15:07:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:07:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:07:27] Production.INFO: ==5686== Releasing lock... [2025-03-20 15:07:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:07:27] Production.INFO: 73.75 MB #Memory Used# [2025-03-20 19:08:02] Production.INFO: ==5838== Lock acquired, processing the job... [2025-03-20 19:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:08:02] Production.INFO: neon service started [2025-03-20 19:08:02] Production.INFO: neon service started [2025-03-20 19:08:02] Production.INFO: ==5838== Releasing lock... [2025-03-20 19:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:08:02] Production.INFO: ==5840== Lock acquired, processing the job... [2025-03-20 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:08:02] Production.INFO: ==5842== Lock acquired, processing the job... [2025-03-20 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:08:03] Production.INFO: ==5842== Releasing lock... [2025-03-20 19:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:08:03] Production.INFO: ==5840== Releasing lock... [2025-03-20 15:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:08:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:08:04] Production.INFO: ==5845== Lock acquired, processing the job... [2025-03-20 15:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:08:04] Production.INFO: ==5847== Lock acquired, processing the job... [2025-03-20 15:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:08:04] Production.INFO: ==5849== Lock acquired, processing the job... [2025-03-20 15:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:08:04] Production.INFO: ==5851== Lock acquired, processing the job... [2025-03-20 15:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:08:04] Production.INFO: ==5853== Lock acquired, processing the job... [2025-03-20 15:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:08:04] Production.INFO: Account Balance Start. [2025-03-20 15:08:04] Production.INFO: CreateAllLog Start [2025-03-20 15:08:04] Production.INFO: 117 [2025-03-20 15:08:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:08:04] Production.INFO: ==5855== Lock acquired, processing the job... [2025-03-20 15:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:08:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:04] Production.INFO: ==5847== Releasing lock... [2025-03-20 15:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:08:04] Production.INFO: count ==12 [2025-03-20 15:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:08:04] Production.INFO: count ==23 [2025-03-20 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723655') start [2025-03-20 15:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:05] Production.ERROR: done [2025-03-20 15:08:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:08:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723655') end [2025-03-20 15:08:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:08:05] Production.INFO: 1 [2025-03-20 15:08:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:08:05] Production.INFO: Date 2025-03-12 [2025-03-20 15:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:05] Production.INFO: Date 2025-03-13 [2025-03-20 15:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:05] Production.ERROR: done [2025-03-20 15:08:05] Production.INFO: ==5855== Releasing lock... [2025-03-20 15:08:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:08:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:08:05] Production.INFO: Date 2025-03-14 [2025-03-20 15:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:05] Production.INFO: Date 2025-03-15 [2025-03-20 15:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:05] Production.INFO: Date 2025-03-16 [2025-03-20 15:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:08:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:08:05] Production.INFO: Total Charge 0 [2025-03-20 15:08:05] Production.INFO: CreateAllLog End [2025-03-20 15:08:05] Production.INFO: Account Balance End. [2025-03-20 15:08:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:08:05] Production.INFO: ==5851== Releasing lock... [2025-03-20 15:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:08:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:08:06 [end_date_ymd] => 2025-03-20 15:08:06 [RateCDR] => 1 ) [2025-03-20 15:08:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:08:06' and `end` < '2025-03-20 15:08:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:08:13] Production.ERROR: CronJobId end10 [2025-03-20 15:08:13] Production.INFO: ==5849== Releasing lock... [2025-03-20 15:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:08:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:08:15] Production.INFO: call_cost start [2025-03-20 15:08:15] Production.INFO: call_cost end [2025-03-20 15:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:08:16] Production.INFO: ==5845== Releasing lock... [2025-03-20 15:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:08:19] Production.INFO: count ==6134 [2025-03-20 15:08:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:08:06 - End Time 2025-03-20 15:08:06 [2025-03-20 15:08:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723656', 'tblTempUsageDetail_20' ) start [2025-03-20 15:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723656', 'tblTempUsageDetail_20' ) end [2025-03-20 15:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723656', 'tblTempVendorCDR_20' ) start [2025-03-20 15:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723656', 'tblTempVendorCDR_20' ) end [2025-03-20 15:08:22] Production.INFO: ProcessCDR(1,14723656,1,1,2) [2025-03-20 15:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723656', 'tblTempUsageDetail_20' ) start [2025-03-20 15:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723656', 'tblTempUsageDetail_20' ) end [2025-03-20 15:08:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:08:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:08:28] Production.INFO: ==5853== Releasing lock... [2025-03-20 15:08:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:08:28] Production.INFO: 74 MB #Memory Used# [2025-03-20 19:09:01] Production.INFO: ==5959== Lock acquired, processing the job... [2025-03-20 19:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:09:01] Production.INFO: neon service started [2025-03-20 19:09:01] Production.INFO: neon service started [2025-03-20 19:09:01] Production.INFO: ==5959== Releasing lock... [2025-03-20 19:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:09:02] Production.INFO: ==5961== Lock acquired, processing the job... [2025-03-20 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:09:02] Production.INFO: ==5961== Releasing lock... [2025-03-20 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:09:02] Production.INFO: ==5963== Lock acquired, processing the job... [2025-03-20 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:09:02] Production.INFO: ==5963== Releasing lock... [2025-03-20 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:09:03] Production.INFO: ==5966== Lock acquired, processing the job... [2025-03-20 15:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:09:03] Production.INFO: ==5970== Lock acquired, processing the job... [2025-03-20 15:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:09:03] Production.INFO: ==5974== Lock acquired, processing the job... [2025-03-20 15:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:09:03] Production.INFO: ==5968== Lock acquired, processing the job... [2025-03-20 15:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:09:03] Production.INFO: ==5972== Lock acquired, processing the job... [2025-03-20 15:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:09:03] Production.INFO: ==5976== Lock acquired, processing the job... [2025-03-20 15:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:09:03] Production.INFO: Account Balance Start. [2025-03-20 15:09:03] Production.INFO: CreateAllLog Start [2025-03-20 15:09:03] Production.INFO: 117 [2025-03-20 15:09:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:09:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:03] Production.INFO: count ==12 [2025-03-20 15:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:09:03] Production.ERROR: done [2025-03-20 15:09:03] Production.INFO: count ==23 [2025-03-20 15:09:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:09:03] Production.INFO: Date 2025-03-12 [2025-03-20 15:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723660') start [2025-03-20 15:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:04] Production.INFO: ==5968== Releasing lock... [2025-03-20 15:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:09:04] Production.ERROR: done [2025-03-20 15:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723660') end [2025-03-20 15:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:09:04] Production.INFO: 1 [2025-03-20 15:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:09:04] Production.INFO: Total Charge 0 [2025-03-20 15:09:04] Production.INFO: ==5976== Releasing lock... [2025-03-20 15:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:09:04] Production.INFO: CreateAllLog End [2025-03-20 15:09:04] Production.INFO: Account Balance End. [2025-03-20 15:09:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:09:04] Production.INFO: ==5972== Releasing lock... [2025-03-20 15:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:09:05 [end_date_ymd] => 2025-03-20 15:09:05 [RateCDR] => 1 ) [2025-03-20 15:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:09:05' and `end` < '2025-03-20 15:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:09:14] Production.ERROR: CronJobId end10 [2025-03-20 15:09:14] Production.INFO: ==5970== Releasing lock... [2025-03-20 15:09:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:09:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:09:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:09:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:09:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:09:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:09:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:09:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:09:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:09:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:09:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:09:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:09:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:09:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:09:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:09:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:09:16] Production.INFO: call_cost start [2025-03-20 15:09:16] Production.INFO: call_cost end [2025-03-20 15:09:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:09:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:09:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:09:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:09:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:09:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:09:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:09:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:09:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:09:17] Production.INFO: ==5966== Releasing lock... [2025-03-20 15:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:09:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:09:19] Production.INFO: count ==6137 [2025-03-20 15:09:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:09:05 - End Time 2025-03-20 15:09:05 [2025-03-20 15:09:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723661', 'tblTempUsageDetail_20' ) start [2025-03-20 15:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723661', 'tblTempUsageDetail_20' ) end [2025-03-20 15:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723661', 'tblTempVendorCDR_20' ) start [2025-03-20 15:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723661', 'tblTempVendorCDR_20' ) end [2025-03-20 15:09:22] Production.INFO: ProcessCDR(1,14723661,1,1,2) [2025-03-20 15:09:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723661', 'tblTempUsageDetail_20' ) start [2025-03-20 15:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723661', 'tblTempUsageDetail_20' ) end [2025-03-20 15:09:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:09:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:09:27] Production.INFO: ==5974== Releasing lock... [2025-03-20 15:09:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:09:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 19:10:02] Production.INFO: ==6056== Lock acquired, processing the job... [2025-03-20 19:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:10:02] Production.INFO: neon service started [2025-03-20 19:10:02] Production.INFO: neon service started [2025-03-20 19:10:02] Production.INFO: ==6056== Releasing lock... [2025-03-20 19:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:10:02] Production.INFO: ==6060== Lock acquired, processing the job... [2025-03-20 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:10:02] Production.INFO: ==6060== Releasing lock... [2025-03-20 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:10:02] Production.INFO: ==6058== Lock acquired, processing the job... [2025-03-20 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:10:03] Production.INFO: ==6058== Releasing lock... [2025-03-20 15:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:10:04] Production.INFO: ==6062== Lock acquired, processing the job... [2025-03-20 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 15:10:04] Production.INFO: ==6064== Lock acquired, processing the job... [2025-03-20 15:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 15:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 15:10:04] Production.INFO: ==6062== Releasing lock... [2025-03-20 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 15:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 15:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:10:04] Production.INFO: ==6069== Lock acquired, processing the job... [2025-03-20 15:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:10:04] Production.INFO: ==6074== Lock acquired, processing the job... [2025-03-20 15:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:10:04] Production.INFO: ==6067== Lock acquired, processing the job... [2025-03-20 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:10:04] Production.INFO: ==6071== Lock acquired, processing the job... [2025-03-20 15:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:10:04] Production.INFO: ==6067== Releasing lock... [2025-03-20 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:10:04] Production.INFO: ==6079== Lock acquired, processing the job... [2025-03-20 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:10:04] Production.INFO: ==6076== Lock acquired, processing the job... [2025-03-20 15:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 15:10:04] Production.INFO: Account Balance Start. [2025-03-20 15:10:04] Production.INFO: CreateAllLog Start [2025-03-20 15:10:04] Production.INFO: 117 [2025-03-20 15:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:04] Production.ERROR: done [2025-03-20 15:10:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:10:05] Production.INFO: Date 2025-03-09 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:10:05] Production.INFO: Date 2025-03-10 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.INFO: Date 2025-03-11 [2025-03-20 15:10:05] Production.INFO: count ==12 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:10:05] Production.ERROR: done [2025-03-20 15:10:05] Production.INFO: count ==23 [2025-03-20 15:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723665') start [2025-03-20 15:10:05] Production.INFO: Date 2025-03-12 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.INFO: Date 2025-03-13 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.INFO: Date 2025-03-14 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.ERROR: done [2025-03-20 15:10:05] Production.INFO: Date 2025-03-15 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 15:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723667', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 15:10:05] Production.INFO: Date 2025-03-16 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723665') end [2025-03-20 15:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:10:05] Production.INFO: 1 [2025-03-20 15:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:10:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.INFO: ==6079== Releasing lock... [2025-03-20 15:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:10:05] Production.INFO: Total Charge 0 [2025-03-20 15:10:05] Production.INFO: CreateAllLog End [2025-03-20 15:10:06] Production.INFO: Account Balance End. [2025-03-20 15:10:06] Production.ERROR: CronJobId end 12 [2025-03-20 15:10:06] Production.INFO: ==6071== Releasing lock... [2025-03-20 15:10:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:10:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:10:06 [end_date_ymd] => 2025-03-20 15:10:06 [RateCDR] => 1 ) [2025-03-20 15:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:10:06' and `end` < '2025-03-20 15:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723667', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 15:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 15:10:09] Production.INFO: ProcessCDR(1,14723667,1,1,2) [2025-03-20 15:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723667,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723667,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:10:09] Production.INFO: ==6076== Releasing lock... [2025-03-20 15:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 15:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 15:10:17] Production.ERROR: CronJobId end10 [2025-03-20 15:10:17] Production.INFO: ==6069== Releasing lock... [2025-03-20 15:10:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:10:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:10:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:10:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:10:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:10:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:10:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:10:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:10:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:10:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:10:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:10:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:10:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:10:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:10:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:10:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:10:19] Production.INFO: call_cost start [2025-03-20 15:10:19] Production.INFO: call_cost end [2025-03-20 15:10:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:10:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:10:20] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:10:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:10:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:10:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:10:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:10:20] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:10:20] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:10:20] Production.INFO: ==6064== Releasing lock... [2025-03-20 15:10:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:10:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:10:20] Production.INFO: count ==6146 [2025-03-20 15:10:23] Production.ERROR: pbx CDR StartTime 2025-03-20 12:10:06 - End Time 2025-03-20 15:10:06 [2025-03-20 15:10:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723666', 'tblTempUsageDetail_20' ) start [2025-03-20 15:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723666', 'tblTempUsageDetail_20' ) end [2025-03-20 15:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723666', 'tblTempVendorCDR_20' ) start [2025-03-20 15:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723666', 'tblTempVendorCDR_20' ) end [2025-03-20 15:10:23] Production.INFO: ProcessCDR(1,14723666,1,1,2) [2025-03-20 15:10:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:10:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:10:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723666', 'tblTempUsageDetail_20' ) start [2025-03-20 15:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723666', 'tblTempUsageDetail_20' ) end [2025-03-20 15:10:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:10:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:10:28] Production.INFO: ==6074== Releasing lock... [2025-03-20 15:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:10:28] Production.INFO: 74 MB #Memory Used# [2025-03-20 19:11:01] Production.INFO: ==6148== Lock acquired, processing the job... [2025-03-20 19:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:11:01] Production.INFO: neon service started [2025-03-20 19:11:01] Production.INFO: neon service started [2025-03-20 19:11:01] Production.INFO: ==6148== Releasing lock... [2025-03-20 19:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:11:02] Production.INFO: ==6150== Lock acquired, processing the job... [2025-03-20 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:11:02] Production.INFO: ==6150== Releasing lock... [2025-03-20 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:11:02] Production.INFO: ==6152== Lock acquired, processing the job... [2025-03-20 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:11:02] Production.INFO: ==6152== Releasing lock... [2025-03-20 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:11:03] Production.INFO: ==6159== Lock acquired, processing the job... [2025-03-20 15:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:11:03] Production.INFO: ==6157== Lock acquired, processing the job... [2025-03-20 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:11:03] Production.INFO: ==6155== Lock acquired, processing the job... [2025-03-20 15:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:11:03] Production.INFO: ==6165== Lock acquired, processing the job... [2025-03-20 15:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:11:03] Production.INFO: count ==12 [2025-03-20 15:11:03] Production.INFO: ==6161== Lock acquired, processing the job... [2025-03-20 15:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:11:03] Production.INFO: count ==23 [2025-03-20 15:11:03] Production.INFO: ==6163== Lock acquired, processing the job... [2025-03-20 15:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723668') start [2025-03-20 15:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723668') end [2025-03-20 15:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:11:03] Production.INFO: 1 [2025-03-20 15:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:11:03] Production.INFO: Account Balance Start. [2025-03-20 15:11:03] Production.INFO: CreateAllLog Start [2025-03-20 15:11:03] Production.INFO: 117 [2025-03-20 15:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:11:04] Production.INFO: ==6157== Releasing lock... [2025-03-20 15:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:11:04] Production.INFO: ==6165== Releasing lock... [2025-03-20 15:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.ERROR: done [2025-03-20 15:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:11:04] Production.INFO: Total Charge 0 [2025-03-20 15:11:04] Production.INFO: CreateAllLog End [2025-03-20 15:11:04] Production.ERROR: done [2025-03-20 15:11:04] Production.INFO: Account Balance End. [2025-03-20 15:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:11:04] Production.INFO: ==6161== Releasing lock... [2025-03-20 15:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:11:05 [end_date_ymd] => 2025-03-20 15:11:05 [RateCDR] => 1 ) [2025-03-20 15:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:11:05' and `end` < '2025-03-20 15:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:11:16] Production.ERROR: CronJobId end10 [2025-03-20 15:11:16] Production.INFO: ==6159== Releasing lock... [2025-03-20 15:11:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:11:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:11:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:11:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:11:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:11:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:11:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:11:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:11:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:11:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:11:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:11:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:11:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:11:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:11:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:11:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:11:17] Production.INFO: call_cost start [2025-03-20 15:11:17] Production.INFO: call_cost end [2025-03-20 15:11:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:11:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:11:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:11:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:11:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:11:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:11:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:11:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:11:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:11:18] Production.INFO: ==6155== Releasing lock... [2025-03-20 15:11:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:11:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:11:19] Production.INFO: count ==6159 [2025-03-20 15:11:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:11:05 - End Time 2025-03-20 15:11:05 [2025-03-20 15:11:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723672', 'tblTempUsageDetail_20' ) start [2025-03-20 15:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723672', 'tblTempUsageDetail_20' ) end [2025-03-20 15:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723672', 'tblTempVendorCDR_20' ) start [2025-03-20 15:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723672', 'tblTempVendorCDR_20' ) end [2025-03-20 15:11:22] Production.INFO: ProcessCDR(1,14723672,1,1,2) [2025-03-20 15:11:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:11:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:11:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:11:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723672', 'tblTempUsageDetail_20' ) start [2025-03-20 15:11:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723672', 'tblTempUsageDetail_20' ) end [2025-03-20 15:11:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:11:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:11:28] Production.INFO: ==6163== Releasing lock... [2025-03-20 15:11:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:11:28] Production.INFO: 74 MB #Memory Used# [2025-03-20 19:12:02] Production.INFO: ==6312== Lock acquired, processing the job... [2025-03-20 19:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:12:02] Production.INFO: neon service started [2025-03-20 19:12:02] Production.INFO: neon service started [2025-03-20 19:12:02] Production.INFO: ==6312== Releasing lock... [2025-03-20 19:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:12:02] Production.INFO: ==6314== Lock acquired, processing the job... [2025-03-20 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:12:02] Production.INFO: ==6316== Lock acquired, processing the job... [2025-03-20 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:12:02] Production.INFO: ==6316== Releasing lock... [2025-03-20 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:12:03] Production.INFO: ==6314== Releasing lock... [2025-03-20 15:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:12:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:12:04] Production.INFO: ==6323== Lock acquired, processing the job... [2025-03-20 15:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:12:04] Production.INFO: ==6329== Lock acquired, processing the job... [2025-03-20 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:12:04] Production.INFO: ==6319== Lock acquired, processing the job... [2025-03-20 15:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:12:04] Production.INFO: count ==12 [2025-03-20 15:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:12:04] Production.INFO: count ==23 [2025-03-20 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723673') start [2025-03-20 15:12:04] Production.INFO: ==6321== Lock acquired, processing the job... [2025-03-20 15:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723673') end [2025-03-20 15:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:12:04] Production.INFO: 1 [2025-03-20 15:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:12:04] Production.INFO: ==6327== Lock acquired, processing the job... [2025-03-20 15:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:12:04] Production.INFO: ==6325== Lock acquired, processing the job... [2025-03-20 15:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:12:04] Production.INFO: ==6329== Releasing lock... [2025-03-20 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:12:04] Production.INFO: Account Balance Start. [2025-03-20 15:12:04] Production.INFO: CreateAllLog Start [2025-03-20 15:12:04] Production.INFO: 117 [2025-03-20 15:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.ERROR: done [2025-03-20 15:12:05] Production.INFO: ==6321== Releasing lock... [2025-03-20 15:12:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:12:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:12:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:12:05] Production.INFO: Date 2025-03-10 [2025-03-20 15:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.INFO: Date 2025-03-11 [2025-03-20 15:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.INFO: Date 2025-03-12 [2025-03-20 15:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.INFO: Date 2025-03-13 [2025-03-20 15:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.INFO: Date 2025-03-14 [2025-03-20 15:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.INFO: Date 2025-03-15 [2025-03-20 15:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.ERROR: done [2025-03-20 15:12:05] Production.INFO: Date 2025-03-16 [2025-03-20 15:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:12:05] Production.INFO: Total Charge 0 [2025-03-20 15:12:05] Production.INFO: CreateAllLog End [2025-03-20 15:12:05] Production.INFO: Account Balance End. [2025-03-20 15:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:12:05] Production.INFO: ==6325== Releasing lock... [2025-03-20 15:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:12:06 [end_date_ymd] => 2025-03-20 15:12:06 [RateCDR] => 1 ) [2025-03-20 15:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:12:06' and `end` < '2025-03-20 15:12:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:12:13] Production.ERROR: CronJobId end10 [2025-03-20 15:12:13] Production.INFO: ==6323== Releasing lock... [2025-03-20 15:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:12:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:12:15] Production.INFO: call_cost start [2025-03-20 15:12:15] Production.INFO: call_cost end [2025-03-20 15:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:12:16] Production.INFO: ==6319== Releasing lock... [2025-03-20 15:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:12:19] Production.INFO: count ==6149 [2025-03-20 15:12:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:12:06 - End Time 2025-03-20 15:12:06 [2025-03-20 15:12:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723677', 'tblTempUsageDetail_20' ) start [2025-03-20 15:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723677', 'tblTempUsageDetail_20' ) end [2025-03-20 15:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723677', 'tblTempVendorCDR_20' ) start [2025-03-20 15:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723677', 'tblTempVendorCDR_20' ) end [2025-03-20 15:12:22] Production.INFO: ProcessCDR(1,14723677,1,1,2) [2025-03-20 15:12:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:12:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:12:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:12:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723677', 'tblTempUsageDetail_20' ) start [2025-03-20 15:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723677', 'tblTempUsageDetail_20' ) end [2025-03-20 15:12:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:12:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:12:28] Production.INFO: ==6327== Releasing lock... [2025-03-20 15:12:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:12:28] Production.INFO: 74 MB #Memory Used# [2025-03-20 19:13:01] Production.INFO: ==6395== Lock acquired, processing the job... [2025-03-20 19:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:13:01] Production.INFO: neon service started [2025-03-20 19:13:01] Production.INFO: neon service started [2025-03-20 19:13:01] Production.INFO: ==6395== Releasing lock... [2025-03-20 19:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:13:02] Production.INFO: ==6400== Lock acquired, processing the job... [2025-03-20 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:13:02] Production.INFO: ==6398== Lock acquired, processing the job... [2025-03-20 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:13:02] Production.INFO: ==6400== Releasing lock... [2025-03-20 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:13:02] Production.INFO: ==6398== Releasing lock... [2025-03-20 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:13:03] Production.INFO: ==6402== Lock acquired, processing the job... [2025-03-20 15:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:13:03] Production.INFO: ==6404== Lock acquired, processing the job... [2025-03-20 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:13:03] Production.INFO: ==6410== Lock acquired, processing the job... [2025-03-20 15:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:13:03] Production.INFO: ==6412== Lock acquired, processing the job... [2025-03-20 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:13:03] Production.INFO: ==6406== Lock acquired, processing the job... [2025-03-20 15:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:13:03] Production.INFO: ==6408== Lock acquired, processing the job... [2025-03-20 15:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:13:03] Production.ERROR: done [2025-03-20 15:13:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:13:03] Production.INFO: Account Balance Start. [2025-03-20 15:13:03] Production.INFO: CreateAllLog Start [2025-03-20 15:13:03] Production.INFO: 117 [2025-03-20 15:13:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:13:04] Production.INFO: count ==12 [2025-03-20 15:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:13:04] Production.INFO: count ==23 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723680') start [2025-03-20 15:13:04] Production.ERROR: done [2025-03-20 15:13:04] Production.INFO: ==6404== Releasing lock... [2025-03-20 15:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:13:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723680') end [2025-03-20 15:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:13:04] Production.INFO: 1 [2025-03-20 15:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:13:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.INFO: ==6412== Releasing lock... [2025-03-20 15:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:13:04] Production.INFO: Total Charge 0 [2025-03-20 15:13:04] Production.INFO: CreateAllLog End [2025-03-20 15:13:04] Production.INFO: Account Balance End. [2025-03-20 15:13:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:13:04] Production.INFO: ==6408== Releasing lock... [2025-03-20 15:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:13:05 [end_date_ymd] => 2025-03-20 15:13:05 [RateCDR] => 1 ) [2025-03-20 15:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:13:05' and `end` < '2025-03-20 15:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:13:14] Production.ERROR: CronJobId end10 [2025-03-20 15:13:14] Production.INFO: ==6406== Releasing lock... [2025-03-20 15:13:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:13:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:13:14] Production.INFO: call_cost start [2025-03-20 15:13:14] Production.INFO: call_cost end [2025-03-20 15:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:13:15] Production.INFO: ==6402== Releasing lock... [2025-03-20 15:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:13:18] Production.INFO: count ==6158 [2025-03-20 15:13:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:13:05 - End Time 2025-03-20 15:13:05 [2025-03-20 15:13:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723682', 'tblTempUsageDetail_20' ) start [2025-03-20 15:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723682', 'tblTempUsageDetail_20' ) end [2025-03-20 15:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723682', 'tblTempVendorCDR_20' ) start [2025-03-20 15:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723682', 'tblTempVendorCDR_20' ) end [2025-03-20 15:13:21] Production.INFO: ProcessCDR(1,14723682,1,1,2) [2025-03-20 15:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:13:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:13:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:13:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723682', 'tblTempUsageDetail_20' ) start [2025-03-20 15:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723682', 'tblTempUsageDetail_20' ) end [2025-03-20 15:13:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:13:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:13:26] Production.INFO: ==6410== Releasing lock... [2025-03-20 15:13:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:13:26] Production.INFO: 74 MB #Memory Used# [2025-03-20 19:14:02] Production.INFO: ==6489== Lock acquired, processing the job... [2025-03-20 19:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:14:02] Production.INFO: neon service started [2025-03-20 19:14:02] Production.INFO: neon service started [2025-03-20 19:14:02] Production.INFO: ==6489== Releasing lock... [2025-03-20 19:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:14:02] Production.INFO: ==6493== Lock acquired, processing the job... [2025-03-20 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:14:02] Production.INFO: ==6493== Releasing lock... [2025-03-20 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:14:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:14:02] Production.INFO: ==6495== Lock acquired, processing the job... [2025-03-20 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:14:02] Production.INFO: ==6495== Releasing lock... [2025-03-20 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:14:03] Production.INFO: ==6499== Lock acquired, processing the job... [2025-03-20 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:14:03] Production.INFO: ==6507== Lock acquired, processing the job... [2025-03-20 15:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:14:03] Production.INFO: ==6497== Lock acquired, processing the job... [2025-03-20 15:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:14:03] Production.INFO: count ==12 [2025-03-20 15:14:03] Production.INFO: ==6501== Lock acquired, processing the job... [2025-03-20 15:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:14:04] Production.INFO: ==6503== Lock acquired, processing the job... [2025-03-20 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:14:04] Production.INFO: count ==23 [2025-03-20 15:14:04] Production.INFO: ==6505== Lock acquired, processing the job... [2025-03-20 15:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723683') start [2025-03-20 15:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:14:04] Production.INFO: Account Balance Start. [2025-03-20 15:14:04] Production.INFO: CreateAllLog Start [2025-03-20 15:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:14:04] Production.INFO: 117 [2025-03-20 15:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.INFO: ==6499== Releasing lock... [2025-03-20 15:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723683') end [2025-03-20 15:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:14:04] Production.INFO: 1 [2025-03-20 15:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:14:04] Production.INFO: ==6507== Releasing lock... [2025-03-20 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.ERROR: done [2025-03-20 15:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.ERROR: done [2025-03-20 15:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:14:04] Production.INFO: Total Charge 0 [2025-03-20 15:14:05] Production.INFO: CreateAllLog End [2025-03-20 15:14:05] Production.INFO: Account Balance End. [2025-03-20 15:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:14:05] Production.INFO: ==6503== Releasing lock... [2025-03-20 15:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:14:05 [end_date_ymd] => 2025-03-20 15:14:05 [RateCDR] => 1 ) [2025-03-20 15:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:14:05' and `end` < '2025-03-20 15:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:14:13] Production.ERROR: CronJobId end10 [2025-03-20 15:14:13] Production.INFO: ==6501== Releasing lock... [2025-03-20 15:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:14:15] Production.INFO: call_cost start [2025-03-20 15:14:15] Production.INFO: call_cost end [2025-03-20 15:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:14:16] Production.INFO: ==6497== Releasing lock... [2025-03-20 15:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:14:19] Production.INFO: count ==6168 [2025-03-20 15:14:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:14:05 - End Time 2025-03-20 15:14:05 [2025-03-20 15:14:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723687', 'tblTempUsageDetail_20' ) start [2025-03-20 15:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723687', 'tblTempUsageDetail_20' ) end [2025-03-20 15:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723687', 'tblTempVendorCDR_20' ) start [2025-03-20 15:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723687', 'tblTempVendorCDR_20' ) end [2025-03-20 15:14:22] Production.INFO: ProcessCDR(1,14723687,1,1,2) [2025-03-20 15:14:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:14:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:14:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:14:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723687', 'tblTempUsageDetail_20' ) start [2025-03-20 15:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723687', 'tblTempUsageDetail_20' ) end [2025-03-20 15:14:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:14:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:14:27] Production.INFO: ==6505== Releasing lock... [2025-03-20 15:14:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:14:27] Production.INFO: 74.25 MB #Memory Used# [2025-03-20 19:15:01] Production.INFO: ==6616== Lock acquired, processing the job... [2025-03-20 19:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:15:01] Production.INFO: neon service started [2025-03-20 19:15:01] Production.INFO: neon service started [2025-03-20 19:15:01] Production.INFO: ==6616== Releasing lock... [2025-03-20 19:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:15:01] Production.INFO: ==6618== Lock acquired, processing the job... [2025-03-20 15:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:15:02] Production.INFO: ==6620== Lock acquired, processing the job... [2025-03-20 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:15:02] Production.INFO: ==6620== Releasing lock... [2025-03-20 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:15:02] Production.INFO: ==6618== Releasing lock... [2025-03-20 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:15:03] Production.INFO: ==6631== Lock acquired, processing the job... [2025-03-20 15:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:15:03] Production.INFO: ==6634== Lock acquired, processing the job... [2025-03-20 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:15:03] Production.INFO: ==6638== Lock acquired, processing the job... [2025-03-20 15:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:15:03] Production.INFO: ==6643== Lock acquired, processing the job... [2025-03-20 15:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:15:03] Production.INFO: ==6634== Releasing lock... [2025-03-20 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:15:03] Production.INFO: ==6648== Lock acquired, processing the job... [2025-03-20 15:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:15:03] Production.INFO: Account Balance Start. [2025-03-20 15:15:03] Production.INFO: CreateAllLog Start [2025-03-20 15:15:03] Production.INFO: 117 [2025-03-20 15:15:03] Production.INFO: ==6653== Lock acquired, processing the job... [2025-03-20 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:15:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:04] Production.INFO: count ==12 [2025-03-20 15: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-03-20 15:15:04] Production.INFO: count ==23 [2025-03-20 15:15:04] Production.ERROR: done [2025-03-20 15:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723691') start [2025-03-20 15:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:04] Production.ERROR: done [2025-03-20 15:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723691') end [2025-03-20 15:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:15:04] Production.INFO: 1 [2025-03-20 15:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:04] Production.INFO: ==6653== Releasing lock... [2025-03-20 15:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:15:04] Production.INFO: Total Charge 0 [2025-03-20 15:15:04] Production.INFO: CreateAllLog End [2025-03-20 15:15:05] Production.INFO: Account Balance End. [2025-03-20 15:15:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:15:05] Production.INFO: ==6643== Releasing lock... [2025-03-20 15:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:15:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:15:05 [end_date_ymd] => 2025-03-20 15:15:05 [RateCDR] => 1 ) [2025-03-20 15:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:15:05' and `end` < '2025-03-20 15:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:15:13] Production.ERROR: CronJobId end10 [2025-03-20 15:15:13] Production.INFO: ==6638== Releasing lock... [2025-03-20 15:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:15:15] Production.INFO: call_cost start [2025-03-20 15:15:15] Production.INFO: call_cost end [2025-03-20 15:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:15:16] Production.INFO: ==6631== Releasing lock... [2025-03-20 15:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:15:19] Production.INFO: count ==6178 [2025-03-20 15:15:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:15:05 - End Time 2025-03-20 15:15:05 [2025-03-20 15:15:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723692', 'tblTempUsageDetail_20' ) start [2025-03-20 15:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723692', 'tblTempUsageDetail_20' ) end [2025-03-20 15:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723692', 'tblTempVendorCDR_20' ) start [2025-03-20 15:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723692', 'tblTempVendorCDR_20' ) end [2025-03-20 15:15:22] Production.INFO: ProcessCDR(1,14723692,1,1,2) [2025-03-20 15:15:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:15:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:15:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:15:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723692', 'tblTempUsageDetail_20' ) start [2025-03-20 15:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723692', 'tblTempUsageDetail_20' ) end [2025-03-20 15:15:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:15:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:15:27] Production.INFO: ==6648== Releasing lock... [2025-03-20 15:15:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:15:27] Production.INFO: 74.25 MB #Memory Used# [2025-03-20 19:16:01] Production.INFO: ==6741== Lock acquired, processing the job... [2025-03-20 19:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:16:01] Production.INFO: neon service started [2025-03-20 19:16:02] Production.INFO: neon service started [2025-03-20 19:16:02] Production.INFO: ==6741== Releasing lock... [2025-03-20 19:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:16:02] Production.INFO: ==6745== Lock acquired, processing the job... [2025-03-20 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:16:02] Production.INFO: ==6745== Releasing lock... [2025-03-20 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:16:02] Production.INFO: ==6743== Lock acquired, processing the job... [2025-03-20 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:16:02] Production.INFO: ==6743== Releasing lock... [2025-03-20 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:16:03] Production.INFO: ==6748== Lock acquired, processing the job... [2025-03-20 15:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:16:03] Production.INFO: ==6752== Lock acquired, processing the job... [2025-03-20 15:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:16:03] Production.INFO: ==6756== Lock acquired, processing the job... [2025-03-20 15:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:16:03] Production.INFO: ==6750== Lock acquired, processing the job... [2025-03-20 15:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:16:04] Production.INFO: ==6758== Lock acquired, processing the job... [2025-03-20 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:16:04] Production.INFO: ==6754== Lock acquired, processing the job... [2025-03-20 15:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:16:04] Production.ERROR: done [2025-03-20 15:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:16:04] Production.INFO: Account Balance Start. [2025-03-20 15:16:04] Production.INFO: CreateAllLog Start [2025-03-20 15:16:04] Production.INFO: 117 [2025-03-20 15:16:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:16:04] Production.INFO: ==6750== Releasing lock... [2025-03-20 15:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.INFO: count ==12 [2025-03-20 15:16:04] Production.ERROR: done [2025-03-20 15:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:16:04] Production.INFO: count ==23 [2025-03-20 15:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723695') start [2025-03-20 15:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723695') end [2025-03-20 15:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:16:04] Production.INFO: 1 [2025-03-20 15:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.INFO: ==6758== Releasing lock... [2025-03-20 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:16:04] Production.INFO: Total Charge 0 [2025-03-20 15:16:04] Production.INFO: CreateAllLog End [2025-03-20 15:16:05] Production.INFO: Account Balance End. [2025-03-20 15:16:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:16:05] Production.INFO: ==6754== Releasing lock... [2025-03-20 15:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:16:05 [end_date_ymd] => 2025-03-20 15:16:05 [RateCDR] => 1 ) [2025-03-20 15:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:16:05' and `end` < '2025-03-20 15:16:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:16:13] Production.ERROR: CronJobId end10 [2025-03-20 15:16:13] Production.INFO: ==6752== Releasing lock... [2025-03-20 15:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:16:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:16:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:16:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:16:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:16:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:16:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:16:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:16:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:16:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:16:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:16:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:16:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:16:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:16:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:16:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:16:15] Production.INFO: call_cost start [2025-03-20 15:16:15] Production.INFO: call_cost end [2025-03-20 15:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:16:16] Production.INFO: ==6748== Releasing lock... [2025-03-20 15:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:16:19] Production.INFO: count ==6184 [2025-03-20 15:16:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:16:05 - End Time 2025-03-20 15:16:05 [2025-03-20 15:16:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723697', 'tblTempUsageDetail_20' ) start [2025-03-20 15:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723697', 'tblTempUsageDetail_20' ) end [2025-03-20 15:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723697', 'tblTempVendorCDR_20' ) start [2025-03-20 15:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723697', 'tblTempVendorCDR_20' ) end [2025-03-20 15:16:22] Production.INFO: ProcessCDR(1,14723697,1,1,2) [2025-03-20 15:16:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:16:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723697', 'tblTempUsageDetail_20' ) start [2025-03-20 15:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723697', 'tblTempUsageDetail_20' ) end [2025-03-20 15:16:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:16:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:16:26] Production.INFO: ==6756== Releasing lock... [2025-03-20 15:16:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:16:26] Production.INFO: 74.25 MB #Memory Used# [2025-03-20 19:17:01] Production.INFO: ==6833== Lock acquired, processing the job... [2025-03-20 19:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:17:01] Production.INFO: neon service started [2025-03-20 19:17:01] Production.INFO: neon service started [2025-03-20 19:17:01] Production.INFO: ==6833== Releasing lock... [2025-03-20 19:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:17:01] Production.INFO: ==6835== Lock acquired, processing the job... [2025-03-20 15:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:17:02] Production.INFO: ==6835== Releasing lock... [2025-03-20 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:17:02] Production.INFO: ==6837== Lock acquired, processing the job... [2025-03-20 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:17:02] Production.INFO: ==6837== Releasing lock... [2025-03-20 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:17:03] Production.INFO: ==6846== Lock acquired, processing the job... [2025-03-20 15:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:17:03] Production.INFO: ==6848== Lock acquired, processing the job... [2025-03-20 15:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:17:03] Production.INFO: ==6842== Lock acquired, processing the job... [2025-03-20 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:17:03] Production.INFO: ==6840== Lock acquired, processing the job... [2025-03-20 15:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:17:03] Production.INFO: Account Balance Start. [2025-03-20 15:17:03] Production.INFO: CreateAllLog Start [2025-03-20 15:17:03] Production.INFO: 117 [2025-03-20 15:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:17:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:17:03] Production.INFO: ==6844== Lock acquired, processing the job... [2025-03-20 15:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:17:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:03] Production.INFO: ==6850== Lock acquired, processing the job... [2025-03-20 15:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:17:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:17:03] Production.INFO: Date 2025-03-12 [2025-03-20 15:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:17:03] Production.INFO: Date 2025-03-13 [2025-03-20 15:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:03] Production.INFO: Date 2025-03-14 [2025-03-20 15:17:03] Production.INFO: ==6842== Releasing lock... [2025-03-20 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:17:03] Production.INFO: count ==12 [2025-03-20 15:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:17:03] Production.INFO: count ==23 [2025-03-20 15:17:03] Production.INFO: Date 2025-03-15 [2025-03-20 15:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723701') start [2025-03-20 15:17:03] Production.ERROR: done [2025-03-20 15:17:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:17:03] Production.INFO: Date 2025-03-16 [2025-03-20 15:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:03] Production.INFO: Date 2025-03-17 [2025-03-20 15:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:04] Production.ERROR: done [2025-03-20 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723701') end [2025-03-20 15:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:17:04] Production.INFO: 1 [2025-03-20 15:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:04] Production.INFO: ==6850== Releasing lock... [2025-03-20 15:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:17:04] Production.INFO: Total Charge 0 [2025-03-20 15:17:04] Production.INFO: CreateAllLog End [2025-03-20 15:17:04] Production.INFO: Account Balance End. [2025-03-20 15:17:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:17:04] Production.INFO: ==6846== Releasing lock... [2025-03-20 15:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:17:05 [end_date_ymd] => 2025-03-20 15:17:05 [RateCDR] => 1 ) [2025-03-20 15:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:17:05' and `end` < '2025-03-20 15:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:17:14] Production.ERROR: CronJobId end10 [2025-03-20 15:17:14] Production.INFO: ==6844== Releasing lock... [2025-03-20 15:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:17:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:17:15] Production.INFO: call_cost start [2025-03-20 15:17:15] Production.INFO: call_cost end [2025-03-20 15:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:17:16] Production.INFO: ==6840== Releasing lock... [2025-03-20 15:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:17:18] Production.INFO: count ==6212 [2025-03-20 15:17:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:17:05 - End Time 2025-03-20 15:17:05 [2025-03-20 15:17:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723702', 'tblTempUsageDetail_20' ) start [2025-03-20 15:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723702', 'tblTempUsageDetail_20' ) end [2025-03-20 15:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723702', 'tblTempVendorCDR_20' ) start [2025-03-20 15:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723702', 'tblTempVendorCDR_20' ) end [2025-03-20 15:17:21] Production.INFO: ProcessCDR(1,14723702,1,1,2) [2025-03-20 15:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:17:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:17:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:17:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723702', 'tblTempUsageDetail_20' ) start [2025-03-20 15:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723702', 'tblTempUsageDetail_20' ) end [2025-03-20 15:17:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:17:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:17:27] Production.INFO: ==6848== Releasing lock... [2025-03-20 15:17:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:17:27] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 19:18:01] Production.INFO: ==6927== Lock acquired, processing the job... [2025-03-20 19:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:18:01] Production.INFO: neon service started [2025-03-20 19:18:01] Production.INFO: neon service started [2025-03-20 19:18:01] Production.INFO: ==6927== Releasing lock... [2025-03-20 19:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:18:02] Production.INFO: ==6931== Lock acquired, processing the job... [2025-03-20 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:18:02] Production.INFO: ==6931== Releasing lock... [2025-03-20 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:18:02] Production.INFO: 26 MB #Memory Used# [2025-03-20 15:18:02] Production.INFO: ==6929== Lock acquired, processing the job... [2025-03-20 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:18:03] Production.INFO: ==6929== Releasing lock... [2025-03-20 15:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:18:04] Production.INFO: ==6935== Lock acquired, processing the job... [2025-03-20 15:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:18:04] Production.INFO: ==6937== Lock acquired, processing the job... [2025-03-20 15:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:18:04] Production.INFO: ==6944== Lock acquired, processing the job... [2025-03-20 15:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:18:04] Production.INFO: ==6939== Lock acquired, processing the job... [2025-03-20 15:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:18:04] Production.INFO: ==6942== Lock acquired, processing the job... [2025-03-20 15:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:18:04] Production.INFO: ==6946== Lock acquired, processing the job... [2025-03-20 15:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:18:04] Production.INFO: Account Balance Start. [2025-03-20 15:18:04] Production.INFO: CreateAllLog Start [2025-03-20 15:18:04] Production.INFO: ==6937== Releasing lock... [2025-03-20 15:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:18:04] Production.INFO: 117 [2025-03-20 15:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:04] Production.INFO: count ==12 [2025-03-20 15:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:18:04] Production.INFO: count ==23 [2025-03-20 15:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723706') start [2025-03-20 15:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:04] Production.ERROR: done [2025-03-20 15:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723706') end [2025-03-20 15:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:18:04] Production.INFO: 1 [2025-03-20 15:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:04] Production.INFO: ==6946== Releasing lock... [2025-03-20 15:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:18:05] Production.ERROR: done [2025-03-20 15:18:05] Production.INFO: Date 2025-03-12 [2025-03-20 15:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:05] Production.INFO: Date 2025-03-13 [2025-03-20 15:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:05] Production.INFO: Date 2025-03-14 [2025-03-20 15:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:05] Production.INFO: Date 2025-03-15 [2025-03-20 15:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:05] Production.INFO: Date 2025-03-16 [2025-03-20 15:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:18:05] Production.INFO: Total Charge 0 [2025-03-20 15:18:05] Production.INFO: CreateAllLog End [2025-03-20 15:18:05] Production.INFO: Account Balance End. [2025-03-20 15:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:18:05] Production.INFO: ==6942== Releasing lock... [2025-03-20 15:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:18:06 [end_date_ymd] => 2025-03-20 15:18:06 [RateCDR] => 1 ) [2025-03-20 15: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-03-20 12:18:06' and `end` < '2025-03-20 15: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-03-20 15:18:14] Production.ERROR: CronJobId end10 [2025-03-20 15:18:14] Production.INFO: ==6939== Releasing lock... [2025-03-20 15:18:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:18:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:18:16] Production.INFO: call_cost start [2025-03-20 15:18:16] Production.INFO: call_cost end [2025-03-20 15:18:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:18:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:18:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:18:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:18:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:18:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:18:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:18:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:18:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:18:17] Production.INFO: ==6935== Releasing lock... [2025-03-20 15:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:18:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:18:20] Production.INFO: count ==6213 [2025-03-20 15:18:23] Production.ERROR: pbx CDR StartTime 2025-03-20 12:18:06 - End Time 2025-03-20 15:18:06 [2025-03-20 15:18:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723707', 'tblTempUsageDetail_20' ) start [2025-03-20 15:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723707', 'tblTempUsageDetail_20' ) end [2025-03-20 15:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723707', 'tblTempVendorCDR_20' ) start [2025-03-20 15:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723707', 'tblTempVendorCDR_20' ) end [2025-03-20 15:18:23] Production.INFO: ProcessCDR(1,14723707,1,1,2) [2025-03-20 15:18:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:18:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:18:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:18:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:18:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723707', 'tblTempUsageDetail_20' ) start [2025-03-20 15:18:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723707', 'tblTempUsageDetail_20' ) end [2025-03-20 15:18:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:18:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:18:29] Production.INFO: ==6944== Releasing lock... [2025-03-20 15:18:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:18:29] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 19:19:01] Production.INFO: ==7011== Lock acquired, processing the job... [2025-03-20 19:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:19:01] Production.INFO: neon service started [2025-03-20 19:19:01] Production.INFO: neon service started [2025-03-20 19:19:01] Production.INFO: ==7011== Releasing lock... [2025-03-20 19:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:19:01] Production.INFO: ==7013== Lock acquired, processing the job... [2025-03-20 15:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:19:02] Production.INFO: ==7013== Releasing lock... [2025-03-20 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:19:02] Production.INFO: ==7015== Lock acquired, processing the job... [2025-03-20 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:19:02] Production.INFO: ==7015== Releasing lock... [2025-03-20 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:19:03] Production.INFO: ==7024== Lock acquired, processing the job... [2025-03-20 15:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:19:03] Production.INFO: Account Balance Start. [2025-03-20 15:19:03] Production.INFO: CreateAllLog Start [2025-03-20 15:19:03] Production.INFO: 117 [2025-03-20 15:19:03] Production.INFO: ==7028== Lock acquired, processing the job... [2025-03-20 15:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:19:03] Production.INFO: ==7018== Lock acquired, processing the job... [2025-03-20 15:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.INFO: ==7020== Lock acquired, processing the job... [2025-03-20 15:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:19:03] Production.INFO: ==7022== Lock acquired, processing the job... [2025-03-20 15:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:19:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:19:03] Production.INFO: count ==12 [2025-03-20 15:19:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.INFO: count ==23 [2025-03-20 15:19:03] Production.INFO: ==7026== Lock acquired, processing the job... [2025-03-20 15:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723709') start [2025-03-20 15:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:19:03] Production.INFO: Date 2025-03-12 [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:19:03] Production.INFO: Date 2025-03-13 [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723709') end [2025-03-20 15:19:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:19:03] Production.INFO: 1 [2025-03-20 15:19:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:19:03] Production.INFO: Date 2025-03-14 [2025-03-20 15:19:03] Production.INFO: ==7028== Releasing lock... [2025-03-20 15:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:19:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.ERROR: done [2025-03-20 15:19:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:19:03] Production.INFO: ==7020== Releasing lock... [2025-03-20 15:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:19:03] Production.INFO: Date 2025-03-15 [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.INFO: Date 2025-03-16 [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.INFO: Date 2025-03-17 [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.INFO: Date 2025-03-18 [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.INFO: Date 2025-03-19 [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.INFO: Date 2025-03-20 [2025-03-20 15:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:19:03] Production.INFO: Total Charge 0 [2025-03-20 15:19:03] Production.ERROR: done [2025-03-20 15:19:04] Production.INFO: CreateAllLog End [2025-03-20 15:19:04] Production.INFO: Account Balance End. [2025-03-20 15:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:19:04] Production.INFO: ==7024== Releasing lock... [2025-03-20 15:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:19:05 [end_date_ymd] => 2025-03-20 15:19:05 [RateCDR] => 1 ) [2025-03-20 15:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:19:05' and `end` < '2025-03-20 15:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:19:12] Production.ERROR: CronJobId end10 [2025-03-20 15:19:12] Production.INFO: ==7022== Releasing lock... [2025-03-20 15:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:19:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:19:15] Production.INFO: call_cost start [2025-03-20 15:19:15] Production.INFO: call_cost end [2025-03-20 15:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:19:16] Production.INFO: ==7018== Releasing lock... [2025-03-20 15:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:19:19] Production.INFO: count ==6207 [2025-03-20 15:19:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:19:05 - End Time 2025-03-20 15:19:05 [2025-03-20 15:19:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723712', 'tblTempUsageDetail_20' ) start [2025-03-20 15:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723712', 'tblTempUsageDetail_20' ) end [2025-03-20 15:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723712', 'tblTempVendorCDR_20' ) start [2025-03-20 15:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723712', 'tblTempVendorCDR_20' ) end [2025-03-20 15:19:22] Production.INFO: ProcessCDR(1,14723712,1,1,2) [2025-03-20 15:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:19:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:19:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:19:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723712', 'tblTempUsageDetail_20' ) start [2025-03-20 15:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723712', 'tblTempUsageDetail_20' ) end [2025-03-20 15:19:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:19:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:19:27] Production.INFO: ==7026== Releasing lock... [2025-03-20 15:19:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:19:27] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 19:20:01] Production.INFO: ==7089== Lock acquired, processing the job... [2025-03-20 19:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:20:01] Production.INFO: neon service started [2025-03-20 19:20:01] Production.INFO: neon service started [2025-03-20 19:20:01] Production.INFO: ==7089== Releasing lock... [2025-03-20 19:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:20:02] Production.INFO: ==7091== Lock acquired, processing the job... [2025-03-20 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:20:02] Production.INFO: ==7091== Releasing lock... [2025-03-20 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:20:02] Production.INFO: ==7093== Lock acquired, processing the job... [2025-03-20 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:20:02] Production.INFO: ==7093== Releasing lock... [2025-03-20 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:20:03] Production.INFO: ==7096== Lock acquired, processing the job... [2025-03-20 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 15:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 15:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 15:20:03] Production.INFO: ==7096== Releasing lock... [2025-03-20 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 15:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 15:20:03] Production.INFO: ==7098== Lock acquired, processing the job... [2025-03-20 15:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:20:04] Production.INFO: ==7104== Lock acquired, processing the job... [2025-03-20 15:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:20:04] Production.INFO: ==7106== Lock acquired, processing the job... [2025-03-20 15:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:20:04] Production.INFO: Account Balance Start. [2025-03-20 15:20:04] Production.INFO: CreateAllLog Start [2025-03-20 15:20:04] Production.INFO: 117 [2025-03-20 15:20:04] Production.INFO: ==7100== Lock acquired, processing the job... [2025-03-20 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:20:04] Production.INFO: ==7108== Lock acquired, processing the job... [2025-03-20 15:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:20:04] Production.INFO: ==7102== Lock acquired, processing the job... [2025-03-20 15:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:20:04] Production.INFO: ==7110== Lock acquired, processing the job... [2025-03-20 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:20:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:20:04] Production.INFO: count ==12 [2025-03-20 15:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:20:04] Production.INFO: count ==23 [2025-03-20 15:20:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723716') start [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723716') end [2025-03-20 15:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:20:04] Production.INFO: 1 [2025-03-20 15:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:20:04] Production.ERROR: done [2025-03-20 15:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:20:04] Production.ERROR: done [2025-03-20 15:20:04] Production.INFO: ==7110== Releasing lock... [2025-03-20 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:20:04] Production.INFO: ==7100== Releasing lock... [2025-03-20 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 15:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723717', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 15:20:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:20:04] Production.ERROR: done [2025-03-20 15:20:05] Production.INFO: Total Charge 0 [2025-03-20 15:20:05] Production.INFO: CreateAllLog End [2025-03-20 15:20:05] Production.INFO: Account Balance End. [2025-03-20 15:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:20:05] Production.INFO: ==7104== Releasing lock... [2025-03-20 15:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:20:06 [end_date_ymd] => 2025-03-20 15:20:06 [RateCDR] => 1 ) [2025-03-20 15: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-03-20 12:20:06' and `end` < '2025-03-20 15: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-03-20 15:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723717', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 15:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 15:20:09] Production.INFO: ProcessCDR(1,14723717,1,1,2) [2025-03-20 15:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723717,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723717,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:20:10] Production.INFO: ==7108== Releasing lock... [2025-03-20 15:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 15:20:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 15:20:15] Production.ERROR: CronJobId end10 [2025-03-20 15:20:15] Production.INFO: ==7102== Releasing lock... [2025-03-20 15:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:20:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:20:16] Production.INFO: call_cost start [2025-03-20 15:20:16] Production.INFO: call_cost end [2025-03-20 15:20:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:20:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:20:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:20:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:20:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:20:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:20:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:20:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:20:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:20:17] Production.INFO: ==7098== Releasing lock... [2025-03-20 15:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:20:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:20:20] Production.INFO: count ==6248 [2025-03-20 15:20:23] Production.ERROR: pbx CDR StartTime 2025-03-20 12:20:06 - End Time 2025-03-20 15:20:06 [2025-03-20 15:20:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723718', 'tblTempUsageDetail_20' ) start [2025-03-20 15:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723718', 'tblTempUsageDetail_20' ) end [2025-03-20 15:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723718', 'tblTempVendorCDR_20' ) start [2025-03-20 15:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723718', 'tblTempVendorCDR_20' ) end [2025-03-20 15:20:23] Production.INFO: ProcessCDR(1,14723718,1,1,2) [2025-03-20 15:20:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:20:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723718,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:20:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:20:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723718,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723718', 'tblTempUsageDetail_20' ) start [2025-03-20 15:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723718', 'tblTempUsageDetail_20' ) end [2025-03-20 15:20:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:20:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:20:29] Production.INFO: ==7106== Releasing lock... [2025-03-20 15:20:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:20:29] Production.INFO: 74.75 MB #Memory Used# [2025-03-20 19:21:02] Production.INFO: ==7176== Lock acquired, processing the job... [2025-03-20 19:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:21:02] Production.INFO: neon service started [2025-03-20 19:21:02] Production.INFO: neon service started [2025-03-20 19:21:02] Production.INFO: ==7176== Releasing lock... [2025-03-20 19:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:21:02] Production.INFO: ==7178== Lock acquired, processing the job... [2025-03-20 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:21:03] Production.INFO: ==7180== Lock acquired, processing the job... [2025-03-20 19:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:21:03] Production.INFO: ==7180== Releasing lock... [2025-03-20 19:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:21:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:21:03] Production.INFO: ==7178== Releasing lock... [2025-03-20 15:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:21:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:21:03] Production.INFO: ==7185== Lock acquired, processing the job... [2025-03-20 15:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:21:04] Production.INFO: ==7187== Lock acquired, processing the job... [2025-03-20 15:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:21:04] Production.INFO: ==7182== Lock acquired, processing the job... [2025-03-20 15:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:21:04] Production.INFO: ==7193== Lock acquired, processing the job... [2025-03-20 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:21:04] Production.INFO: ==7185== Releasing lock... [2025-03-20 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:21:04] Production.INFO: ==7189== Lock acquired, processing the job... [2025-03-20 15:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:21:04] Production.INFO: count ==12 [2025-03-20 15:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:21:04] Production.INFO: ==7191== Lock acquired, processing the job... [2025-03-20 15:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:21:04] Production.INFO: count ==23 [2025-03-20 15:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723720') start [2025-03-20 15:21:04] Production.INFO: Account Balance Start. [2025-03-20 15:21:04] Production.INFO: CreateAllLog Start [2025-03-20 15:21:04] Production.INFO: 117 [2025-03-20 15:21:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723720') end [2025-03-20 15:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:21:04] Production.INFO: 1 [2025-03-20 15:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:04] Production.INFO: ==7193== Releasing lock... [2025-03-20 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:21:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:04] Production.ERROR: done [2025-03-20 15:21:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:05] Production.INFO: Date 2025-03-12 [2025-03-20 15:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:05] Production.INFO: Date 2025-03-13 [2025-03-20 15:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:05] Production.INFO: Date 2025-03-14 [2025-03-20 15:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:05] Production.INFO: Date 2025-03-15 [2025-03-20 15:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:05] Production.ERROR: done [2025-03-20 15:21:05] Production.INFO: Date 2025-03-16 [2025-03-20 15:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:21:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:21:05] Production.INFO: Total Charge 0 [2025-03-20 15:21:05] Production.INFO: CreateAllLog End [2025-03-20 15:21:05] Production.INFO: Account Balance End. [2025-03-20 15:21:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:21:05] Production.INFO: ==7189== Releasing lock... [2025-03-20 15:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:21:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:21:06 [end_date_ymd] => 2025-03-20 15:21:06 [RateCDR] => 1 ) [2025-03-20 15:21:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:21:06' and `end` < '2025-03-20 15:21:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:21:13] Production.ERROR: CronJobId end10 [2025-03-20 15:21:13] Production.INFO: ==7187== Releasing lock... [2025-03-20 15:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:21:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:21:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:21:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:21:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:21:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:21:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:21:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:21:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:21:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:21:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:21:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:21:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:21:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:21:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:21:15] Production.INFO: call_cost start [2025-03-20 15:21:15] Production.INFO: call_cost end [2025-03-20 15:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:21:16] Production.INFO: ==7182== Releasing lock... [2025-03-20 15:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:21:21] Production.INFO: count ==6370 [2025-03-20 15:21:23] Production.ERROR: pbx CDR StartTime 2025-03-20 12:21:06 - End Time 2025-03-20 15:21:06 [2025-03-20 15:21:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:21:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723723', 'tblTempUsageDetail_20' ) start [2025-03-20 15:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723723', 'tblTempUsageDetail_20' ) end [2025-03-20 15:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723723', 'tblTempVendorCDR_20' ) start [2025-03-20 15:21:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723723', 'tblTempVendorCDR_20' ) end [2025-03-20 15:21:24] Production.INFO: ProcessCDR(1,14723723,1,1,2) [2025-03-20 15:21:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:21:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723723,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:21:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:21:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723723,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:21:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723723', 'tblTempUsageDetail_20' ) start [2025-03-20 15:21:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723723', 'tblTempUsageDetail_20' ) end [2025-03-20 15:21:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:21:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:21:29] Production.INFO: ==7191== Releasing lock... [2025-03-20 15:21:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:21:29] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 19:22:01] Production.INFO: ==7261== Lock acquired, processing the job... [2025-03-20 19:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:22:01] Production.INFO: neon service started [2025-03-20 19:22:01] Production.INFO: neon service started [2025-03-20 19:22:01] Production.INFO: ==7261== Releasing lock... [2025-03-20 19:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:22:02] Production.INFO: ==7263== Lock acquired, processing the job... [2025-03-20 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:22:02] Production.INFO: ==7263== Releasing lock... [2025-03-20 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:22:02] Production.INFO: ==7265== Lock acquired, processing the job... [2025-03-20 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:22:02] Production.INFO: ==7265== Releasing lock... [2025-03-20 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:22:03] Production.INFO: ==7276== Lock acquired, processing the job... [2025-03-20 15:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:22:03] Production.ERROR: done [2025-03-20 15:22:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:22:03] Production.INFO: ==7268== Lock acquired, processing the job... [2025-03-20 15:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:22:03] Production.INFO: ==7278== Lock acquired, processing the job... [2025-03-20 15:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:22:03] Production.INFO: ==7270== Lock acquired, processing the job... [2025-03-20 15:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:22:03] Production.ERROR: done [2025-03-20 15:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:22:03] Production.INFO: ==7272== Lock acquired, processing the job... [2025-03-20 15:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:22:03] Production.INFO: ==7274== Lock acquired, processing the job... [2025-03-20 15:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:22:03] Production.INFO: count ==12 [2025-03-20 15:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:22:03] Production.INFO: count ==23 [2025-03-20 15:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723724') start [2025-03-20 15:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:22:04] Production.INFO: Account Balance Start. [2025-03-20 15:22:04] Production.INFO: CreateAllLog Start [2025-03-20 15:22:04] Production.INFO: 117 [2025-03-20 15:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723724') end [2025-03-20 15:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:22:04] Production.INFO: 1 [2025-03-20 15:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:22:04] Production.INFO: ==7278== Releasing lock... [2025-03-20 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: ==7270== Releasing lock... [2025-03-20 15:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:22:04] Production.INFO: Total Charge 0 [2025-03-20 15:22:04] Production.INFO: CreateAllLog End [2025-03-20 15:22:04] Production.INFO: Account Balance End. [2025-03-20 15:22:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:22:04] Production.INFO: ==7274== Releasing lock... [2025-03-20 15:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:22:05 [end_date_ymd] => 2025-03-20 15:22:05 [RateCDR] => 1 ) [2025-03-20 15:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:22:05' and `end` < '2025-03-20 15:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:22:13] Production.ERROR: CronJobId end10 [2025-03-20 15:22:13] Production.INFO: ==7272== Releasing lock... [2025-03-20 15:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:22:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:22:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:22:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:22:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:22:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:22:15] Production.INFO: call_cost start [2025-03-20 15:22:15] Production.INFO: call_cost end [2025-03-20 15:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:22:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:22:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:22:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:22:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:22:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:22:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:22:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:22:16] Production.INFO: ==7268== Releasing lock... [2025-03-20 15:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:22:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:22:19] Production.INFO: count ==6404 [2025-03-20 15:22:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:22:05 - End Time 2025-03-20 15:22:05 [2025-03-20 15:22:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723725', 'tblTempUsageDetail_20' ) start [2025-03-20 15:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723725', 'tblTempUsageDetail_20' ) end [2025-03-20 15:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723725', 'tblTempVendorCDR_20' ) start [2025-03-20 15:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723725', 'tblTempVendorCDR_20' ) end [2025-03-20 15:22:22] Production.INFO: ProcessCDR(1,14723725,1,1,2) [2025-03-20 15:22:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:22:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:22:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:22:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723725', 'tblTempUsageDetail_20' ) start [2025-03-20 15:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723725', 'tblTempUsageDetail_20' ) end [2025-03-20 15:22:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:22:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:22:27] Production.INFO: ==7276== Releasing lock... [2025-03-20 15:22:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:22:27] Production.INFO: 76 MB #Memory Used# [2025-03-20 19:23:02] Production.INFO: ==7341== Lock acquired, processing the job... [2025-03-20 19:23:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:23:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:23:02] Production.INFO: neon service started [2025-03-20 19:23:02] Production.INFO: neon service started [2025-03-20 19:23:02] Production.INFO: ==7341== Releasing lock... [2025-03-20 19:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:23:02] Production.INFO: ==7343== Lock acquired, processing the job... [2025-03-20 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:23:03] Production.INFO: ==7345== Lock acquired, processing the job... [2025-03-20 19:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:23:03] Production.INFO: ==7345== Releasing lock... [2025-03-20 19:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:23:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:23:03] Production.INFO: ==7343== Releasing lock... [2025-03-20 15:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:23:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:23:04] Production.INFO: ==7354== Lock acquired, processing the job... [2025-03-20 15:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:23:04] Production.INFO: ==7358== Lock acquired, processing the job... [2025-03-20 15:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:23:04] Production.INFO: Account Balance Start. [2025-03-20 15:23:04] Production.INFO: CreateAllLog Start [2025-03-20 15:23:04] Production.INFO: 117 [2025-03-20 15:23:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:23:04] Production.INFO: ==7348== Lock acquired, processing the job... [2025-03-20 15:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:23:04] Production.INFO: count ==12 [2025-03-20 15:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:23:04] Production.INFO: ==7352== Lock acquired, processing the job... [2025-03-20 15:23:04] Production.INFO: count ==23 [2025-03-20 15:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723730') start [2025-03-20 15:23:04] Production.INFO: ==7350== Lock acquired, processing the job... [2025-03-20 15:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:23:04] Production.INFO: ==7356== Lock acquired, processing the job... [2025-03-20 15:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723730') end [2025-03-20 15:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:23:04] Production.INFO: 1 [2025-03-20 15:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:04] Production.INFO: ==7358== Releasing lock... [2025-03-20 15:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:04] Production.INFO: ==7350== Releasing lock... [2025-03-20 15:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:23:05] Production.ERROR: done [2025-03-20 15:23:05] Production.INFO: Date 2025-03-16 [2025-03-20 15:23:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:23:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:23:05] Production.INFO: Total Charge 0 [2025-03-20 15:23:05] Production.ERROR: done [2025-03-20 15:23:05] Production.INFO: CreateAllLog End [2025-03-20 15:23:05] Production.INFO: Account Balance End. [2025-03-20 15:23:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:23:05] Production.INFO: ==7354== Releasing lock... [2025-03-20 15:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:23:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:23:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:23:06 [end_date_ymd] => 2025-03-20 15:23:06 [RateCDR] => 1 ) [2025-03-20 15: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-03-20 12:23:06' and `end` < '2025-03-20 15: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-03-20 15:23:13] Production.ERROR: CronJobId end10 [2025-03-20 15:23:13] Production.INFO: ==7352== Releasing lock... [2025-03-20 15:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:23:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:23:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:23:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:23:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:23:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:23:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:23:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:23:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:23:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:23:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:23:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:23:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:23:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:23:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:23:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:23:15] Production.INFO: call_cost start [2025-03-20 15:23:15] Production.INFO: call_cost end [2025-03-20 15:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:23:16] Production.INFO: ==7348== Releasing lock... [2025-03-20 15:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:23:19] Production.INFO: count ==6399 [2025-03-20 15:23:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:23:06 - End Time 2025-03-20 15:23:06 [2025-03-20 15:23:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723733', 'tblTempUsageDetail_20' ) start [2025-03-20 15:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723733', 'tblTempUsageDetail_20' ) end [2025-03-20 15:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723733', 'tblTempVendorCDR_20' ) start [2025-03-20 15:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723733', 'tblTempVendorCDR_20' ) end [2025-03-20 15:23:23] Production.INFO: ProcessCDR(1,14723733,1,1,2) [2025-03-20 15:23:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:23:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:23:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:23:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723733', 'tblTempUsageDetail_20' ) start [2025-03-20 15:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723733', 'tblTempUsageDetail_20' ) end [2025-03-20 15:23:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:23:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:23:28] Production.INFO: ==7356== Releasing lock... [2025-03-20 15:23:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:23:28] Production.INFO: 76 MB #Memory Used# [2025-03-20 19:24:02] Production.INFO: ==7458== Lock acquired, processing the job... [2025-03-20 19:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:24:02] Production.INFO: neon service started [2025-03-20 19:24:02] Production.INFO: neon service started [2025-03-20 19:24:02] Production.INFO: ==7458== Releasing lock... [2025-03-20 19:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:24:02] Production.INFO: ==7462== Lock acquired, processing the job... [2025-03-20 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:24:02] Production.INFO: ==7462== Releasing lock... [2025-03-20 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:24:02] Production.INFO: ==7460== Lock acquired, processing the job... [2025-03-20 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:24:03] Production.INFO: ==7460== Releasing lock... [2025-03-20 15:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:24:04] Production.INFO: ==7465== Lock acquired, processing the job... [2025-03-20 15:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:24:04] Production.INFO: ==7475== Lock acquired, processing the job... [2025-03-20 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:24:04] Production.INFO: count ==12 [2025-03-20 15:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:24:04] Production.INFO: count ==23 [2025-03-20 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723735') start [2025-03-20 15:24:04] Production.INFO: ==7467== Lock acquired, processing the job... [2025-03-20 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:24:04] Production.INFO: ==7469== Lock acquired, processing the job... [2025-03-20 15:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:24:04] Production.INFO: ==7471== Lock acquired, processing the job... [2025-03-20 15:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:24:04] Production.INFO: ==7473== Lock acquired, processing the job... [2025-03-20 15:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723735') end [2025-03-20 15:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:24:04] Production.INFO: 1 [2025-03-20 15:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:24:04] Production.INFO: ==7475== Releasing lock... [2025-03-20 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:24:04] Production.INFO: Account Balance Start. [2025-03-20 15:24:04] Production.INFO: CreateAllLog Start [2025-03-20 15:24:04] Production.INFO: 117 [2025-03-20 15:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:24:04] Production.INFO: ==7467== Releasing lock... [2025-03-20 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:24:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:04] Production.ERROR: done [2025-03-20 15:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:24:05] Production.INFO: Date 2025-03-11 [2025-03-20 15:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:05] Production.INFO: Date 2025-03-12 [2025-03-20 15:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:05] Production.ERROR: done [2025-03-20 15:24:05] Production.INFO: Date 2025-03-13 [2025-03-20 15:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:05] Production.INFO: Date 2025-03-14 [2025-03-20 15:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:05] Production.INFO: Date 2025-03-15 [2025-03-20 15:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:05] Production.INFO: Date 2025-03-16 [2025-03-20 15:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:24:05] Production.INFO: Total Charge 0 [2025-03-20 15:24:05] Production.INFO: CreateAllLog End [2025-03-20 15:24:05] Production.INFO: Account Balance End. [2025-03-20 15:24:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:24:05] Production.INFO: ==7471== Releasing lock... [2025-03-20 15:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:24:06 [end_date_ymd] => 2025-03-20 15:24:06 [RateCDR] => 1 ) [2025-03-20 15: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-03-20 12:24:06' and `end` < '2025-03-20 15: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-03-20 15:24:14] Production.ERROR: CronJobId end10 [2025-03-20 15:24:14] Production.INFO: ==7469== Releasing lock... [2025-03-20 15:24:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:24:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:24:15] Production.INFO: call_cost start [2025-03-20 15:24:15] Production.INFO: call_cost end [2025-03-20 15:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:24:16] Production.INFO: ==7465== Releasing lock... [2025-03-20 15:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:24:20] Production.INFO: count ==6382 [2025-03-20 15:24:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:24:06 - End Time 2025-03-20 15:24:06 [2025-03-20 15:24:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723738', 'tblTempUsageDetail_20' ) start [2025-03-20 15:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723738', 'tblTempUsageDetail_20' ) end [2025-03-20 15:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723738', 'tblTempVendorCDR_20' ) start [2025-03-20 15:24:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723738', 'tblTempVendorCDR_20' ) end [2025-03-20 15:24:23] Production.INFO: ProcessCDR(1,14723738,1,1,2) [2025-03-20 15:24:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:24:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:24:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:24:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:24:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723738', 'tblTempUsageDetail_20' ) start [2025-03-20 15:24:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723738', 'tblTempUsageDetail_20' ) end [2025-03-20 15:24:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:24:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:24:28] Production.INFO: ==7473== Releasing lock... [2025-03-20 15:24:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:24:28] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 19:25:01] Production.INFO: ==7534== Lock acquired, processing the job... [2025-03-20 19:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:25:01] Production.INFO: neon service started [2025-03-20 19:25:01] Production.INFO: neon service started [2025-03-20 19:25:01] Production.INFO: ==7534== Releasing lock... [2025-03-20 19:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:25:01] Production.INFO: ==7537== Lock acquired, processing the job... [2025-03-20 15:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:25:02] Production.INFO: ==7537== Releasing lock... [2025-03-20 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:25:02] Production.INFO: ==7539== Lock acquired, processing the job... [2025-03-20 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:25:02] Production.INFO: ==7539== Releasing lock... [2025-03-20 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:25:03] Production.INFO: ==7545== Lock acquired, processing the job... [2025-03-20 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:25:03] Production.INFO: ==7553== Lock acquired, processing the job... [2025-03-20 15:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:25:03] Production.INFO: ==7543== Lock acquired, processing the job... [2025-03-20 15:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:25:03] Production.INFO: ==7547== Lock acquired, processing the job... [2025-03-20 15:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:25:03] Production.INFO: count ==12 [2025-03-20 15:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:25:03] Production.INFO: count ==23 [2025-03-20 15:25:03] Production.INFO: ==7549== Lock acquired, processing the job... [2025-03-20 15:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723740') start [2025-03-20 15:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:25:03] Production.INFO: ==7551== Lock acquired, processing the job... [2025-03-20 15:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723740') end [2025-03-20 15:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:25:03] Production.INFO: 1 [2025-03-20 15:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:25:03] Production.INFO: ==7545== Releasing lock... [2025-03-20 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:25:03] Production.INFO: Account Balance Start. [2025-03-20 15:25:03] Production.INFO: CreateAllLog Start [2025-03-20 15:25:03] Production.INFO: 117 [2025-03-20 15:25:03] Production.INFO: ==7553== Releasing lock... [2025-03-20 15:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:25:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.ERROR: done [2025-03-20 15:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:25:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.ERROR: done [2025-03-20 15:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:25:04] Production.INFO: Total Charge 0 [2025-03-20 15:25:04] Production.INFO: CreateAllLog End [2025-03-20 15:25:04] Production.INFO: Account Balance End. [2025-03-20 15:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:25:04] Production.INFO: ==7549== Releasing lock... [2025-03-20 15:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:25:05 [end_date_ymd] => 2025-03-20 15:25:05 [RateCDR] => 1 ) [2025-03-20 15:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:25:05' and `end` < '2025-03-20 15:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:25:13] Production.ERROR: CronJobId end10 [2025-03-20 15:25:13] Production.INFO: ==7547== Releasing lock... [2025-03-20 15:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:25:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:25:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:25:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:25:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:25:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:25:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:25:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:25:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:25:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:25:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:25:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:25:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:25:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:25:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:25:16] Production.INFO: call_cost start [2025-03-20 15:25:16] Production.INFO: call_cost end [2025-03-20 15:25:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:25:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:25:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:25:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:25:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:25:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:25:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:25:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:25:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:25:17] Production.INFO: ==7543== Releasing lock... [2025-03-20 15:25:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:25:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:25:18] Production.INFO: count ==6371 [2025-03-20 15:25:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:25:05 - End Time 2025-03-20 15:25:05 [2025-03-20 15:25:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723743', 'tblTempUsageDetail_20' ) start [2025-03-20 15:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723743', 'tblTempUsageDetail_20' ) end [2025-03-20 15:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723743', 'tblTempVendorCDR_20' ) start [2025-03-20 15:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723743', 'tblTempVendorCDR_20' ) end [2025-03-20 15:25:22] Production.INFO: ProcessCDR(1,14723743,1,1,2) [2025-03-20 15:25:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:25:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:25:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:25:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723743', 'tblTempUsageDetail_20' ) start [2025-03-20 15:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723743', 'tblTempUsageDetail_20' ) end [2025-03-20 15:25:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:25:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:25:27] Production.INFO: ==7551== Releasing lock... [2025-03-20 15:25:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:25:27] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 19:26:02] Production.INFO: ==7614== Lock acquired, processing the job... [2025-03-20 19:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:26:02] Production.INFO: neon service started [2025-03-20 19:26:02] Production.INFO: neon service started [2025-03-20 19:26:02] Production.INFO: ==7614== Releasing lock... [2025-03-20 19:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:26:02] Production.INFO: ==7616== Lock acquired, processing the job... [2025-03-20 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:26:02] Production.INFO: ==7618== Lock acquired, processing the job... [2025-03-20 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:26:02] Production.INFO: ==7616== Releasing lock... [2025-03-20 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:26:02] Production.INFO: ==7618== Releasing lock... [2025-03-20 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:26:03] Production.INFO: ==7633== Lock acquired, processing the job... [2025-03-20 15:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:26:03] Production.INFO: ==7631== Lock acquired, processing the job... [2025-03-20 15:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:26:03] Production.INFO: ==7622== Lock acquired, processing the job... [2025-03-20 15:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:26:04] Production.INFO: ==7624== Lock acquired, processing the job... [2025-03-20 15:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:26:04] Production.INFO: ==7626== Lock acquired, processing the job... [2025-03-20 15:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:26:04] Production.INFO: count ==12 [2025-03-20 15:26:04] Production.INFO: ==7629== Lock acquired, processing the job... [2025-03-20 15:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:26:04] Production.INFO: count ==23 [2025-03-20 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723744') start [2025-03-20 15:26:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:26:04] Production.INFO: Account Balance Start. [2025-03-20 15:26:04] Production.INFO: CreateAllLog Start [2025-03-20 15:26:04] Production.INFO: 117 [2025-03-20 15:26:04] Production.ERROR: done [2025-03-20 15:26:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723744') end [2025-03-20 15:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:26:04] Production.INFO: 1 [2025-03-20 15:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.INFO: ==7633== Releasing lock... [2025-03-20 15:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.ERROR: done [2025-03-20 15:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.INFO: ==7624== Releasing lock... [2025-03-20 15:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:26:04] Production.INFO: Total Charge 0 [2025-03-20 15:26:04] Production.INFO: CreateAllLog End [2025-03-20 15:26:05] Production.INFO: Account Balance End. [2025-03-20 15:26:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:26:05] Production.INFO: ==7629== Releasing lock... [2025-03-20 15:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:26:05 [end_date_ymd] => 2025-03-20 15:26:05 [RateCDR] => 1 ) [2025-03-20 15:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:26:05' and `end` < '2025-03-20 15:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:26:13] Production.ERROR: CronJobId end10 [2025-03-20 15:26:13] Production.INFO: ==7626== Releasing lock... [2025-03-20 15:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:26:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:26:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:26:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:26:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:26:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:26:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:26:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:26:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:26:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:26:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:26:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:26:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:26:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:26:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:26:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:26:15] Production.INFO: call_cost start [2025-03-20 15:26:15] Production.INFO: call_cost end [2025-03-20 15:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:26:16] Production.INFO: ==7622== Releasing lock... [2025-03-20 15:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:26:19] Production.INFO: count ==6384 [2025-03-20 15:26:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:26:05 - End Time 2025-03-20 15:26:05 [2025-03-20 15:26:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723748', 'tblTempUsageDetail_20' ) start [2025-03-20 15:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723748', 'tblTempUsageDetail_20' ) end [2025-03-20 15:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723748', 'tblTempVendorCDR_20' ) start [2025-03-20 15:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723748', 'tblTempVendorCDR_20' ) end [2025-03-20 15:26:22] Production.INFO: ProcessCDR(1,14723748,1,1,2) [2025-03-20 15:26:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:26:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:26:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:26:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723748', 'tblTempUsageDetail_20' ) start [2025-03-20 15:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723748', 'tblTempUsageDetail_20' ) end [2025-03-20 15:26:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:26:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:26:27] Production.INFO: ==7631== Releasing lock... [2025-03-20 15:26:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:26:27] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 19:27:01] Production.INFO: ==7693== Lock acquired, processing the job... [2025-03-20 19:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:27:01] Production.INFO: neon service started [2025-03-20 19:27:01] Production.INFO: neon service started [2025-03-20 19:27:01] Production.INFO: ==7693== Releasing lock... [2025-03-20 19:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:27:01] Production.INFO: ==7695== Lock acquired, processing the job... [2025-03-20 15:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:27:02] Production.INFO: ==7695== Releasing lock... [2025-03-20 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:27:02] Production.INFO: ==7697== Lock acquired, processing the job... [2025-03-20 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:27:02] Production.INFO: ==7697== Releasing lock... [2025-03-20 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:27:03] Production.INFO: ==7699== Lock acquired, processing the job... [2025-03-20 15:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:27:03] Production.INFO: ==7706== Lock acquired, processing the job... [2025-03-20 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:27:03] Production.INFO: ==7708== Lock acquired, processing the job... [2025-03-20 15:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:27:03] Production.INFO: ==7702== Lock acquired, processing the job... [2025-03-20 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:27:03] Production.INFO: ==7704== Lock acquired, processing the job... [2025-03-20 15:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:27:03] Production.INFO: ==7710== Lock acquired, processing the job... [2025-03-20 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:27:03] Production.INFO: Account Balance Start. [2025-03-20 15:27:03] Production.INFO: CreateAllLog Start [2025-03-20 15:27:03] Production.INFO: 117 [2025-03-20 15:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:27:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:27:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:03] Production.INFO: count ==12 [2025-03-20 15:27:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:27:03] Production.INFO: count ==23 [2025-03-20 15:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723751') start [2025-03-20 15:27:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:03] Production.INFO: Date 2025-03-12 [2025-03-20 15:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:03] Production.INFO: ==7702== Releasing lock... [2025-03-20 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:27:03] Production.INFO: Date 2025-03-13 [2025-03-20 15:27:03] Production.ERROR: done [2025-03-20 15:27:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723751') end [2025-03-20 15:27:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:27:03] Production.INFO: 1 [2025-03-20 15:27:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:27:03] Production.INFO: Date 2025-03-14 [2025-03-20 15:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:03] Production.INFO: Date 2025-03-15 [2025-03-20 15:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:03] Production.INFO: Date 2025-03-16 [2025-03-20 15:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:03] Production.INFO: ==7710== Releasing lock... [2025-03-20 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:27:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:27:03] Production.ERROR: done [2025-03-20 15:27:03] Production.INFO: Date 2025-03-17 [2025-03-20 15:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:27:04] Production.INFO: Total Charge 0 [2025-03-20 15:27:04] Production.INFO: CreateAllLog End [2025-03-20 15:27:04] Production.INFO: Account Balance End. [2025-03-20 15:27:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:27:04] Production.INFO: ==7706== Releasing lock... [2025-03-20 15:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:27:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:27:04 [end_date_ymd] => 2025-03-20 15:27:04 [RateCDR] => 1 ) [2025-03-20 15: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-03-20 12:27:04' and `end` < '2025-03-20 15: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-03-20 15:27:13] Production.ERROR: CronJobId end10 [2025-03-20 15:27:13] Production.INFO: ==7704== Releasing lock... [2025-03-20 15:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:27:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:27:14] Production.INFO: call_cost start [2025-03-20 15:27:14] Production.INFO: call_cost end [2025-03-20 15:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:27:15] Production.INFO: ==7699== Releasing lock... [2025-03-20 15:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:27:18] Production.INFO: count ==6383 [2025-03-20 15:27:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:27:04 - End Time 2025-03-20 15:27:04 [2025-03-20 15:27:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723753', 'tblTempUsageDetail_20' ) start [2025-03-20 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723753', 'tblTempUsageDetail_20' ) end [2025-03-20 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723753', 'tblTempVendorCDR_20' ) start [2025-03-20 15:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723753', 'tblTempVendorCDR_20' ) end [2025-03-20 15:27:21] Production.INFO: ProcessCDR(1,14723753,1,1,2) [2025-03-20 15:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723753', 'tblTempUsageDetail_20' ) start [2025-03-20 15:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723753', 'tblTempUsageDetail_20' ) end [2025-03-20 15:27:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:27:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:27:26] Production.INFO: ==7708== Releasing lock... [2025-03-20 15:27:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:27:26] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 19:28:01] Production.INFO: ==7782== Lock acquired, processing the job... [2025-03-20 19:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:28:01] Production.INFO: neon service started [2025-03-20 19:28:02] Production.INFO: neon service started [2025-03-20 19:28:02] Production.INFO: ==7782== Releasing lock... [2025-03-20 19:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:28:02] Production.INFO: ==7784== Lock acquired, processing the job... [2025-03-20 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:28:02] Production.INFO: ==7784== Releasing lock... [2025-03-20 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:28:02] Production.INFO: ==7786== Lock acquired, processing the job... [2025-03-20 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:28:02] Production.INFO: ==7786== Releasing lock... [2025-03-20 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:28:03] Production.INFO: ==7791== Lock acquired, processing the job... [2025-03-20 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:28:03] Production.INFO: ==7789== Lock acquired, processing the job... [2025-03-20 15:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:28:03] Production.INFO: ==7793== Lock acquired, processing the job... [2025-03-20 15:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:28:03] Production.INFO: ==7795== Lock acquired, processing the job... [2025-03-20 15:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:28:03] Production.INFO: ==7797== Lock acquired, processing the job... [2025-03-20 15:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:28:03] Production.INFO: ==7799== Lock acquired, processing the job... [2025-03-20 15:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:28:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:28:03] Production.INFO: Account Balance Start. [2025-03-20 15:28:03] Production.INFO: CreateAllLog Start [2025-03-20 15:28:03] Production.INFO: 117 [2025-03-20 15:28:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:03] Production.INFO: Date 2025-03-12 [2025-03-20 15:28:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:04] Production.INFO: ==7791== Releasing lock... [2025-03-20 15:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:28:04] Production.INFO: count ==12 [2025-03-20 15:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:28:04] Production.ERROR: done [2025-03-20 15:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:28:04] Production.INFO: count ==23 [2025-03-20 15:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723757') start [2025-03-20 15:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:04] Production.ERROR: done [2025-03-20 15:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:28:04] Production.INFO: Total Charge 0 [2025-03-20 15:28:04] Production.INFO: CreateAllLog End [2025-03-20 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723757') end [2025-03-20 15:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:28:04] Production.INFO: 1 [2025-03-20 15:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:28:04] Production.INFO: ==7799== Releasing lock... [2025-03-20 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:28:04] Production.INFO: Account Balance End. [2025-03-20 15:28:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:28:04] Production.INFO: ==7795== Releasing lock... [2025-03-20 15:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:28:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:28:05 [end_date_ymd] => 2025-03-20 15:28:05 [RateCDR] => 1 ) [2025-03-20 15:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:28:05' and `end` < '2025-03-20 15:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:28:13] Production.ERROR: CronJobId end10 [2025-03-20 15:28:13] Production.INFO: ==7793== Releasing lock... [2025-03-20 15:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:28:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:28:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:28:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:28:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:28:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:28:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:28:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:28:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:28:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:28:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:28:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:28:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:28:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:28:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:28:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:28:16] Production.INFO: call_cost start [2025-03-20 15:28:16] Production.INFO: call_cost end [2025-03-20 15:28:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:28:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:28:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:28:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:28:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:28:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:28:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:28:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:28:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:28:17] Production.INFO: ==7789== Releasing lock... [2025-03-20 15:28:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:28:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:28:19] Production.INFO: count ==6396 [2025-03-20 15:28:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:28:05 - End Time 2025-03-20 15:28:05 [2025-03-20 15:28:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723758', 'tblTempUsageDetail_20' ) start [2025-03-20 15:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723758', 'tblTempUsageDetail_20' ) end [2025-03-20 15:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723758', 'tblTempVendorCDR_20' ) start [2025-03-20 15:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723758', 'tblTempVendorCDR_20' ) end [2025-03-20 15:28:22] Production.INFO: ProcessCDR(1,14723758,1,1,2) [2025-03-20 15:28:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:28:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:28:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:28:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:28:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723758', 'tblTempUsageDetail_20' ) start [2025-03-20 15:28:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723758', 'tblTempUsageDetail_20' ) end [2025-03-20 15:28:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:28:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:28:28] Production.INFO: ==7797== Releasing lock... [2025-03-20 15:28:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:28:28] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 19:29:01] Production.INFO: ==7868== Lock acquired, processing the job... [2025-03-20 19:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:29:01] Production.INFO: neon service started [2025-03-20 19:29:01] Production.INFO: neon service started [2025-03-20 19:29:01] Production.INFO: ==7868== Releasing lock... [2025-03-20 19:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:29:02] Production.INFO: ==7870== Lock acquired, processing the job... [2025-03-20 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:29:02] Production.INFO: ==7872== Lock acquired, processing the job... [2025-03-20 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:29:02] Production.INFO: ==7872== Releasing lock... [2025-03-20 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:29:02] Production.INFO: ==7870== Releasing lock... [2025-03-20 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:29:03] Production.INFO: ==7877== Lock acquired, processing the job... [2025-03-20 15:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:29:03] Production.INFO: ==7879== Lock acquired, processing the job... [2025-03-20 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:29:03] Production.INFO: ==7887== Lock acquired, processing the job... [2025-03-20 15:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:29:03] Production.INFO: ==7881== Lock acquired, processing the job... [2025-03-20 15:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:29:03] Production.INFO: count ==12 [2025-03-20 15:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:29:03] Production.INFO: count ==23 [2025-03-20 15:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723760') start [2025-03-20 15:29:03] Production.INFO: ==7883== Lock acquired, processing the job... [2025-03-20 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:29:03] Production.INFO: ==7885== Lock acquired, processing the job... [2025-03-20 15:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:29:03] Production.INFO: Account Balance Start. [2025-03-20 15:29:03] Production.INFO: CreateAllLog Start [2025-03-20 15:29:03] Production.INFO: 117 [2025-03-20 15:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723760') end [2025-03-20 15:29:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:29:03] Production.INFO: 1 [2025-03-20 15:29:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:29:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:29:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:03] Production.INFO: ==7887== Releasing lock... [2025-03-20 15:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:29:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.INFO: ==7879== Releasing lock... [2025-03-20 15:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.ERROR: done [2025-03-20 15:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.ERROR: done [2025-03-20 15:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:29:04] Production.INFO: Total Charge 0 [2025-03-20 15:29:04] Production.INFO: CreateAllLog End [2025-03-20 15:29:04] Production.INFO: Account Balance End. [2025-03-20 15:29:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:29:04] Production.INFO: ==7883== Releasing lock... [2025-03-20 15:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:29:05 [end_date_ymd] => 2025-03-20 15:29:05 [RateCDR] => 1 ) [2025-03-20 15:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:29:05' and `end` < '2025-03-20 15:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:29:12] Production.ERROR: CronJobId end10 [2025-03-20 15:29:12] Production.INFO: ==7881== Releasing lock... [2025-03-20 15:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:29:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:29:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:29:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:29:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:29:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:29:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:29:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:29:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:29:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:29:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:29:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:29:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:29:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:29:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:29:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:29:15] Production.INFO: call_cost start [2025-03-20 15:29:15] Production.INFO: call_cost end [2025-03-20 15:29:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:29:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:29:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:29:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:29:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:29:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:29:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:29:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:29:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:29:15] Production.INFO: ==7877== Releasing lock... [2025-03-20 15:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:29:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:29:19] Production.INFO: count ==6398 [2025-03-20 15:29:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:29:05 - End Time 2025-03-20 15:29:05 [2025-03-20 15:29:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723763', 'tblTempUsageDetail_20' ) start [2025-03-20 15:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723763', 'tblTempUsageDetail_20' ) end [2025-03-20 15:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723763', 'tblTempVendorCDR_20' ) start [2025-03-20 15:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723763', 'tblTempVendorCDR_20' ) end [2025-03-20 15:29:22] Production.INFO: ProcessCDR(1,14723763,1,1,2) [2025-03-20 15:29:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:29:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:29:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:29:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723763', 'tblTempUsageDetail_20' ) start [2025-03-20 15:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723763', 'tblTempUsageDetail_20' ) end [2025-03-20 15:29:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:29:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:29:27] Production.INFO: ==7885== Releasing lock... [2025-03-20 15:29:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:29:27] Production.INFO: 76 MB #Memory Used# [2025-03-20 19:30:01] Production.INFO: ==7955== Lock acquired, processing the job... [2025-03-20 19:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:30:01] Production.INFO: neon service started [2025-03-20 19:30:02] Production.INFO: neon service started [2025-03-20 19:30:02] Production.INFO: ==7955== Releasing lock... [2025-03-20 19:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:30:02] Production.INFO: ==7959== Lock acquired, processing the job... [2025-03-20 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:30:02] Production.INFO: ==7957== Lock acquired, processing the job... [2025-03-20 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:30:02] Production.INFO: ==7959== Releasing lock... [2025-03-20 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:30:03] Production.INFO: ==7957== Releasing lock... [2025-03-20 15:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:30:04] Production.INFO: ==7962== Lock acquired, processing the job... [2025-03-20 15:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 15:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 15:30:04] Production.INFO: ==7964== Lock acquired, processing the job... [2025-03-20 15:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 15:30:04] Production.INFO: ==7962== Releasing lock... [2025-03-20 15:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 15:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 15:30:04] Production.INFO: ==7970== Lock acquired, processing the job... [2025-03-20 15:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:30:04] Production.INFO: ==7966== Lock acquired, processing the job... [2025-03-20 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:30:04] Production.INFO: ==7972== Lock acquired, processing the job... [2025-03-20 15:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:30:04] Production.INFO: Account Balance Start. [2025-03-20 15:30:04] Production.INFO: CreateAllLog Start [2025-03-20 15:30:04] Production.INFO: 117 [2025-03-20 15:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:30:04] Production.INFO: ==7968== Lock acquired, processing the job... [2025-03-20 15:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:04] Production.INFO: ==7976== Lock acquired, processing the job... [2025-03-20 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:30:04] Production.INFO: ==7974== Lock acquired, processing the job... [2025-03-20 15:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 15:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:30:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:30:04] Production.INFO: count ==12 [2025-03-20 15:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:30:04] Production.INFO: count ==23 [2025-03-20 15:30:04] Production.INFO: ==7966== Releasing lock... [2025-03-20 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723767') start [2025-03-20 15:30:05] Production.ERROR: done [2025-03-20 15:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723767') end [2025-03-20 15:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:30:05] Production.INFO: 1 [2025-03-20 15:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:30:05] Production.ERROR: done [2025-03-20 15:30:05] Production.INFO: ==7976== Releasing lock... [2025-03-20 15:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:30:05] Production.INFO: Total Charge 0 [2025-03-20 15:30:05] Production.INFO: CreateAllLog End [2025-03-20 15:30:05] Production.ERROR: done [2025-03-20 15:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 15:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723768', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 15:30:05] Production.INFO: Account Balance End. [2025-03-20 15:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:30:05] Production.INFO: ==7970== Releasing lock... [2025-03-20 15:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:30:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:30:07 [end_date_ymd] => 2025-03-20 15:30:07 [RateCDR] => 1 ) [2025-03-20 15:30:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:30:07' and `end` < '2025-03-20 15:30:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723768', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 15:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 15:30:09] Production.INFO: ProcessCDR(1,14723768,1,1,2) [2025-03-20 15:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723768,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723768,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:30:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:30:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:30:10] Production.INFO: ==7974== Releasing lock... [2025-03-20 15:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 15:30:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 15:30:16] Production.ERROR: CronJobId end10 [2025-03-20 15:30:16] Production.INFO: ==7968== Releasing lock... [2025-03-20 15:30:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:30:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:30:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:30:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:30:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:30:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:30:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:30:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:30:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:30:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:30:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:30:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:30:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:30:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:30:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:30:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:30:17] Production.INFO: call_cost start [2025-03-20 15:30:17] Production.INFO: call_cost end [2025-03-20 15:30:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:30:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:30:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:30:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:30:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:30:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:30:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:30:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:30:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:30:18] Production.INFO: ==7964== Releasing lock... [2025-03-20 15:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:30:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:30:20] Production.INFO: count ==6394 [2025-03-20 15:30:23] Production.ERROR: pbx CDR StartTime 2025-03-20 12:30:07 - End Time 2025-03-20 15:30:07 [2025-03-20 15:30:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723769', 'tblTempUsageDetail_20' ) start [2025-03-20 15:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723769', 'tblTempUsageDetail_20' ) end [2025-03-20 15:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723769', 'tblTempVendorCDR_20' ) start [2025-03-20 15:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723769', 'tblTempVendorCDR_20' ) end [2025-03-20 15:30:24] Production.INFO: ProcessCDR(1,14723769,1,1,2) [2025-03-20 15:30:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:30:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723769,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:30:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:30:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723769,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:30:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723769', 'tblTempUsageDetail_20' ) start [2025-03-20 15:30:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723769', 'tblTempUsageDetail_20' ) end [2025-03-20 15:30:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:30:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:30:29] Production.INFO: ==7972== Releasing lock... [2025-03-20 15:30:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:30:29] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 19:31:01] Production.INFO: ==8050== Lock acquired, processing the job... [2025-03-20 19:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:31:01] Production.INFO: neon service started [2025-03-20 19:31:01] Production.INFO: neon service started [2025-03-20 19:31:01] Production.INFO: ==8050== Releasing lock... [2025-03-20 19:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:31:01] Production.INFO: ==8052== Lock acquired, processing the job... [2025-03-20 15:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:31:02] Production.INFO: ==8054== Lock acquired, processing the job... [2025-03-20 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:31:02] Production.INFO: ==8052== Releasing lock... [2025-03-20 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:31:02] Production.INFO: ==8054== Releasing lock... [2025-03-20 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:31:03] Production.INFO: ==8056== Lock acquired, processing the job... [2025-03-20 15:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:31:03] Production.INFO: ==8066== Lock acquired, processing the job... [2025-03-20 15:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:31:03] Production.INFO: ==8064== Lock acquired, processing the job... [2025-03-20 15:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:31:03] Production.INFO: ==8058== Lock acquired, processing the job... [2025-03-20 15:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:31:03] Production.INFO: ==8060== Lock acquired, processing the job... [2025-03-20 15:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:31:03] Production.INFO: ==8062== Lock acquired, processing the job... [2025-03-20 15:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:31:03] Production.INFO: count ==12 [2025-03-20 15:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:31:03] Production.INFO: count ==23 [2025-03-20 15:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:31:03] Production.INFO: Account Balance Start. [2025-03-20 15:31:03] Production.INFO: CreateAllLog Start [2025-03-20 15:31:03] Production.INFO: 117 [2025-03-20 15:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723771') start [2025-03-20 15:31:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:03] Production.INFO: ==8058== Releasing lock... [2025-03-20 15:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:31:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:31:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:03] Production.INFO: Date 2025-03-12 [2025-03-20 15:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723771') end [2025-03-20 15:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:31:03] Production.INFO: 1 [2025-03-20 15:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:31:03] Production.INFO: Date 2025-03-13 [2025-03-20 15:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:03] Production.INFO: Date 2025-03-14 [2025-03-20 15:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:03] Production.INFO: ==8066== Releasing lock... [2025-03-20 15:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:31:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:31:04] Production.ERROR: done [2025-03-20 15:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:31:04] Production.INFO: Total Charge 0 [2025-03-20 15:31:04] Production.INFO: CreateAllLog End [2025-03-20 15:31:04] Production.ERROR: done [2025-03-20 15:31:04] Production.INFO: Account Balance End. [2025-03-20 15:31:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:31:04] Production.INFO: ==8062== Releasing lock... [2025-03-20 15:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:31:05 [end_date_ymd] => 2025-03-20 15:31:05 [RateCDR] => 1 ) [2025-03-20 15:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:31:05' and `end` < '2025-03-20 15:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:31:14] Production.ERROR: CronJobId end10 [2025-03-20 15:31:14] Production.INFO: ==8060== Releasing lock... [2025-03-20 15:31:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:31:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:31:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:31:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:31:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:31:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:31:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:31:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:31:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:31:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:31:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:31:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:31:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:31:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:31:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:31:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:31:16] Production.INFO: call_cost start [2025-03-20 15:31:16] Production.INFO: call_cost end [2025-03-20 15:31:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:31:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:31:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:31:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:31:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:31:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:31:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:31:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:31:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:31:17] Production.INFO: ==8056== Releasing lock... [2025-03-20 15:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:31:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:31:19] Production.INFO: count ==6428 [2025-03-20 15:31:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:31:05 - End Time 2025-03-20 15:31:05 [2025-03-20 15:31:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723774', 'tblTempUsageDetail_20' ) start [2025-03-20 15:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723774', 'tblTempUsageDetail_20' ) end [2025-03-20 15:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723774', 'tblTempVendorCDR_20' ) start [2025-03-20 15:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723774', 'tblTempVendorCDR_20' ) end [2025-03-20 15:31:22] Production.INFO: ProcessCDR(1,14723774,1,1,2) [2025-03-20 15:31:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:31:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723774,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:31:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:31:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723774,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723774', 'tblTempUsageDetail_20' ) start [2025-03-20 15:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723774', 'tblTempUsageDetail_20' ) end [2025-03-20 15:31:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:31:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:31:27] Production.INFO: ==8064== Releasing lock... [2025-03-20 15:31:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:31:27] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:32:01] Production.INFO: ==8142== Lock acquired, processing the job... [2025-03-20 19:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:32:01] Production.INFO: neon service started [2025-03-20 19:32:01] Production.INFO: neon service started [2025-03-20 19:32:01] Production.INFO: ==8142== Releasing lock... [2025-03-20 19:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:32:02] Production.INFO: ==8146== Lock acquired, processing the job... [2025-03-20 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:32:02] Production.INFO: ==8146== Releasing lock... [2025-03-20 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:32:02] Production.INFO: ==8144== Lock acquired, processing the job... [2025-03-20 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:32:02] Production.INFO: ==8144== Releasing lock... [2025-03-20 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:32:03] Production.INFO: ==8149== Lock acquired, processing the job... [2025-03-20 15:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:32:03] Production.INFO: ==8152== Lock acquired, processing the job... [2025-03-20 15:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:32:03] Production.INFO: ==8160== Lock acquired, processing the job... [2025-03-20 15:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:32:03] Production.INFO: count ==12 [2025-03-20 15:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:32:03] Production.INFO: count ==23 [2025-03-20 15:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723777') start [2025-03-20 15:32:04] Production.INFO: ==8152== Releasing lock... [2025-03-20 15:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:32:04] Production.INFO: ==8154== Lock acquired, processing the job... [2025-03-20 15:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:32:04] Production.INFO: ==8156== Lock acquired, processing the job... [2025-03-20 15:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723777') end [2025-03-20 15:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:32:04] Production.INFO: 1 [2025-03-20 15:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:32:04] Production.INFO: ==8160== Releasing lock... [2025-03-20 15:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:32:04] Production.INFO: ==8158== Lock acquired, processing the job... [2025-03-20 15:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:32:04] Production.INFO: Account Balance Start. [2025-03-20 15:32:04] Production.INFO: CreateAllLog Start [2025-03-20 15:32:04] Production.INFO: 117 [2025-03-20 15:32:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.ERROR: done [2025-03-20 15:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:32:04] Production.INFO: Total Charge 0 [2025-03-20 15:32:04] Production.INFO: CreateAllLog End [2025-03-20 15:32:05] Production.ERROR: done [2025-03-20 15:32:05] Production.INFO: Account Balance End. [2025-03-20 15:32:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:32:05] Production.INFO: ==8156== Releasing lock... [2025-03-20 15:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:32:05 [end_date_ymd] => 2025-03-20 15:32:05 [RateCDR] => 1 ) [2025-03-20 15:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:32:05' and `end` < '2025-03-20 15:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:32:13] Production.ERROR: CronJobId end10 [2025-03-20 15:32:13] Production.INFO: ==8154== Releasing lock... [2025-03-20 15:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:32:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:32:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:32:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:32:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:32:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:32:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:32:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:32:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:32:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:32:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:32:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:32:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:32:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:32:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:32:16] Production.INFO: call_cost start [2025-03-20 15:32:16] Production.INFO: call_cost end [2025-03-20 15:32:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:32:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:32:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:32:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:32:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:32:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:32:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:32:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:32:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:32:17] Production.INFO: ==8149== Releasing lock... [2025-03-20 15:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:32:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:32:19] Production.INFO: count ==6443 [2025-03-20 15:32:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:32:05 - End Time 2025-03-20 15:32:05 [2025-03-20 15:32:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723779', 'tblTempUsageDetail_20' ) start [2025-03-20 15:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723779', 'tblTempUsageDetail_20' ) end [2025-03-20 15:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723779', 'tblTempVendorCDR_20' ) start [2025-03-20 15:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723779', 'tblTempVendorCDR_20' ) end [2025-03-20 15:32:22] Production.INFO: ProcessCDR(1,14723779,1,1,2) [2025-03-20 15:32:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:32:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:32:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:32:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723779', 'tblTempUsageDetail_20' ) start [2025-03-20 15:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723779', 'tblTempUsageDetail_20' ) end [2025-03-20 15:32:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:32:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:32:28] Production.INFO: ==8158== Releasing lock... [2025-03-20 15:32:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:32:28] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:33:01] Production.INFO: ==8230== Lock acquired, processing the job... [2025-03-20 19:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:33:01] Production.INFO: neon service started [2025-03-20 19:33:01] Production.INFO: neon service started [2025-03-20 19:33:01] Production.INFO: ==8230== Releasing lock... [2025-03-20 19:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:33:01] Production.INFO: ==8234== Lock acquired, processing the job... [2025-03-20 19:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:33:01] Production.INFO: ==8234== Releasing lock... [2025-03-20 19:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:33:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:33:01] Production.INFO: ==8232== Lock acquired, processing the job... [2025-03-20 15:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:33:02] Production.INFO: ==8232== Releasing lock... [2025-03-20 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:33:03] Production.INFO: ==8238== Lock acquired, processing the job... [2025-03-20 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:33:03] Production.INFO: ==8246== Lock acquired, processing the job... [2025-03-20 15:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:33:03] Production.INFO: count ==12 [2025-03-20 15:33:03] Production.INFO: ==8238== Releasing lock... [2025-03-20 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:33:03] Production.INFO: count ==23 [2025-03-20 15:33:03] Production.INFO: ==8236== Lock acquired, processing the job... [2025-03-20 15:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723781') start [2025-03-20 15:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723781') end [2025-03-20 15:33:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:33:03] Production.INFO: 1 [2025-03-20 15:33:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:33:03] Production.INFO: ==8242== Lock acquired, processing the job... [2025-03-20 15:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:33:03] Production.INFO: ==8240== Lock acquired, processing the job... [2025-03-20 15:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:33:03] Production.INFO: ==8246== Releasing lock... [2025-03-20 15:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:33:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:33:03] Production.INFO: ==8244== Lock acquired, processing the job... [2025-03-20 15:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:33:03] Production.INFO: Account Balance Start. [2025-03-20 15:33:03] Production.INFO: CreateAllLog Start [2025-03-20 15:33:03] Production.INFO: 117 [2025-03-20 15:33:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:33:03] Production.ERROR: done [2025-03-20 15:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:33:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.ERROR: done [2025-03-20 15:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:33:04] Production.INFO: Total Charge 0 [2025-03-20 15:33:04] Production.INFO: CreateAllLog End [2025-03-20 15:33:04] Production.INFO: Account Balance End. [2025-03-20 15:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:33:04] Production.INFO: ==8242== Releasing lock... [2025-03-20 15:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:33:05 [end_date_ymd] => 2025-03-20 15:33:05 [RateCDR] => 1 ) [2025-03-20 15:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:33:05' and `end` < '2025-03-20 15:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:33:12] Production.ERROR: CronJobId end10 [2025-03-20 15:33:12] Production.INFO: ==8240== Releasing lock... [2025-03-20 15:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:33:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:33:14] Production.INFO: call_cost start [2025-03-20 15:33:14] Production.INFO: call_cost end [2025-03-20 15:33:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:33:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:33:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:33:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:33:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:33:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:33:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:33:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:33:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:33:15] Production.INFO: ==8236== Releasing lock... [2025-03-20 15:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:33:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:33:19] Production.INFO: count ==6476 [2025-03-20 15:33:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:33:05 - End Time 2025-03-20 15:33:05 [2025-03-20 15:33:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723784', 'tblTempUsageDetail_20' ) start [2025-03-20 15:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723784', 'tblTempUsageDetail_20' ) end [2025-03-20 15:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723784', 'tblTempVendorCDR_20' ) start [2025-03-20 15:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723784', 'tblTempVendorCDR_20' ) end [2025-03-20 15:33:22] Production.INFO: ProcessCDR(1,14723784,1,1,2) [2025-03-20 15:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:33:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723784', 'tblTempUsageDetail_20' ) start [2025-03-20 15:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723784', 'tblTempUsageDetail_20' ) end [2025-03-20 15:33:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:33:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:33:27] Production.INFO: ==8244== Releasing lock... [2025-03-20 15:33:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:33:27] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 19:34:01] Production.INFO: ==8306== Lock acquired, processing the job... [2025-03-20 19:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:34:01] Production.INFO: neon service started [2025-03-20 19:34:01] Production.INFO: neon service started [2025-03-20 19:34:01] Production.INFO: ==8306== Releasing lock... [2025-03-20 19:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:34:02] Production.INFO: ==8310== Lock acquired, processing the job... [2025-03-20 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:34:02] Production.INFO: ==8310== Releasing lock... [2025-03-20 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:34:02] Production.INFO: ==8312== Lock acquired, processing the job... [2025-03-20 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:34:02] Production.INFO: ==8312== Releasing lock... [2025-03-20 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:34:03] Production.INFO: ==8318== Lock acquired, processing the job... [2025-03-20 15:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:34:03] Production.INFO: ==8325== Lock acquired, processing the job... [2025-03-20 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:34:03] Production.INFO: ==8314== Lock acquired, processing the job... [2025-03-20 15:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:34:04] Production.INFO: ==8316== Lock acquired, processing the job... [2025-03-20 15:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:34:04] Production.INFO: ==8321== Lock acquired, processing the job... [2025-03-20 15:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:34:04] Production.INFO: count ==12 [2025-03-20 15:34:04] Production.INFO: ==8323== Lock acquired, processing the job... [2025-03-20 15:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:34:04] Production.INFO: count ==23 [2025-03-20 15:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723785') start [2025-03-20 15:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:34:04] Production.INFO: Account Balance Start. [2025-03-20 15:34:04] Production.INFO: CreateAllLog Start [2025-03-20 15:34:04] Production.INFO: 117 [2025-03-20 15:34:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723785') end [2025-03-20 15:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:34:04] Production.INFO: 1 [2025-03-20 15:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:34:04] Production.INFO: ==8325== Releasing lock... [2025-03-20 15:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.ERROR: done [2025-03-20 15:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.INFO: ==8316== Releasing lock... [2025-03-20 15:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.ERROR: done [2025-03-20 15:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:34:04] Production.INFO: Total Charge 0 [2025-03-20 15:34:05] Production.INFO: CreateAllLog End [2025-03-20 15:34:05] Production.INFO: Account Balance End. [2025-03-20 15:34:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:34:05] Production.INFO: ==8321== Releasing lock... [2025-03-20 15:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:34:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:34:06 [end_date_ymd] => 2025-03-20 15:34:06 [RateCDR] => 1 ) [2025-03-20 15:34:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:34:06' and `end` < '2025-03-20 15:34:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:34:14] Production.ERROR: CronJobId end10 [2025-03-20 15:34:14] Production.INFO: ==8318== Releasing lock... [2025-03-20 15:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:34:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:34:16] Production.INFO: call_cost start [2025-03-20 15:34:16] Production.INFO: call_cost end [2025-03-20 15:34:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:34:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:34:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:34:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:34:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:34:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:34:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:34:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:34:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:34:17] Production.INFO: ==8314== Releasing lock... [2025-03-20 15:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:34:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:34:19] Production.INFO: count ==6464 [2025-03-20 15:34:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:34:06 - End Time 2025-03-20 15:34:06 [2025-03-20 15:34:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723789', 'tblTempUsageDetail_20' ) start [2025-03-20 15:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723789', 'tblTempUsageDetail_20' ) end [2025-03-20 15:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723789', 'tblTempVendorCDR_20' ) start [2025-03-20 15:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723789', 'tblTempVendorCDR_20' ) end [2025-03-20 15:34:22] Production.INFO: ProcessCDR(1,14723789,1,1,2) [2025-03-20 15:34:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:34:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:34:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:34:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723789', 'tblTempUsageDetail_20' ) start [2025-03-20 15:34:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723789', 'tblTempUsageDetail_20' ) end [2025-03-20 15:34:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:34:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:34:28] Production.INFO: ==8323== Releasing lock... [2025-03-20 15:34:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:34:28] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:35:02] Production.INFO: ==8403== Lock acquired, processing the job... [2025-03-20 19:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:35:02] Production.INFO: neon service started [2025-03-20 19:35:02] Production.INFO: neon service started [2025-03-20 19:35:02] Production.INFO: ==8403== Releasing lock... [2025-03-20 19:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:35:02] Production.INFO: ==8405== Lock acquired, processing the job... [2025-03-20 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:35:03] Production.INFO: ==8405== Releasing lock... [2025-03-20 15:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:35:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:35:03] Production.INFO: ==8407== Lock acquired, processing the job... [2025-03-20 19:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:35:03] Production.INFO: ==8407== Releasing lock... [2025-03-20 19:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:35:04] Production.INFO: ==8416== Lock acquired, processing the job... [2025-03-20 15:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:35:04] Production.INFO: ==8409== Lock acquired, processing the job... [2025-03-20 15:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:35:04] Production.INFO: ==8418== Lock acquired, processing the job... [2025-03-20 15:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:35:04] Production.INFO: Account Balance Start. [2025-03-20 15:35:04] Production.INFO: CreateAllLog Start [2025-03-20 15:35:04] Production.INFO: 117 [2025-03-20 15:35:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:04] Production.INFO: ==8411== Lock acquired, processing the job... [2025-03-20 15:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:35:04] Production.INFO: ==8414== Lock acquired, processing the job... [2025-03-20 15:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:04] Production.INFO: ==8420== Lock acquired, processing the job... [2025-03-20 15:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15: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-03-20 15:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:35:04] Production.INFO: count ==12 [2025-03-20 15:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:35:04] Production.INFO: count ==23 [2025-03-20 15:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723792') start [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:04] Production.ERROR: done [2025-03-20 15:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723792') end [2025-03-20 15:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:35:04] Production.INFO: 1 [2025-03-20 15:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:35:05] Production.INFO: ==8420== Releasing lock... [2025-03-20 15:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:35:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:35:05] Production.INFO: ==8411== Releasing lock... [2025-03-20 15:35:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:35:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:35:05] Production.INFO: Total Charge 0 [2025-03-20 15:35:05] Production.ERROR: done [2025-03-20 15:35:05] Production.INFO: CreateAllLog End [2025-03-20 15:35:05] Production.INFO: Account Balance End. [2025-03-20 15:35:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:35:05] Production.INFO: ==8416== Releasing lock... [2025-03-20 15:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:35:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:35:06 [end_date_ymd] => 2025-03-20 15:35:06 [RateCDR] => 1 ) [2025-03-20 15: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-03-20 12:35:06' and `end` < '2025-03-20 15: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-03-20 15:35:14] Production.ERROR: CronJobId end10 [2025-03-20 15:35:14] Production.INFO: ==8414== Releasing lock... [2025-03-20 15:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:35:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:35:16] Production.INFO: call_cost start [2025-03-20 15:35:16] Production.INFO: call_cost end [2025-03-20 15:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:35:16] Production.INFO: ==8409== Releasing lock... [2025-03-20 15:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:35:19] Production.INFO: count ==6475 [2025-03-20 15:35:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:35:06 - End Time 2025-03-20 15:35:06 [2025-03-20 15:35:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723794', 'tblTempUsageDetail_20' ) start [2025-03-20 15:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723794', 'tblTempUsageDetail_20' ) end [2025-03-20 15:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723794', 'tblTempVendorCDR_20' ) start [2025-03-20 15:35:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723794', 'tblTempVendorCDR_20' ) end [2025-03-20 15:35:23] Production.INFO: ProcessCDR(1,14723794,1,1,2) [2025-03-20 15:35:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:35:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:35:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:35:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723794', 'tblTempUsageDetail_20' ) start [2025-03-20 15:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723794', 'tblTempUsageDetail_20' ) end [2025-03-20 15:35:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:35:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:35:28] Production.INFO: ==8418== Releasing lock... [2025-03-20 15:35:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:35:28] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 19:36:01] Production.INFO: ==8493== Lock acquired, processing the job... [2025-03-20 19:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:36:01] Production.INFO: neon service started [2025-03-20 19:36:01] Production.INFO: neon service started [2025-03-20 19:36:01] Production.INFO: ==8493== Releasing lock... [2025-03-20 19:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:36:02] Production.INFO: ==8497== Lock acquired, processing the job... [2025-03-20 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:36:02] Production.INFO: ==8497== Releasing lock... [2025-03-20 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:36:02] Production.INFO: ==8495== Lock acquired, processing the job... [2025-03-20 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:36:02] Production.INFO: ==8495== Releasing lock... [2025-03-20 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:36:03] Production.INFO: ==8504== Lock acquired, processing the job... [2025-03-20 15:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:36:03] Production.INFO: ==8500== Lock acquired, processing the job... [2025-03-20 15:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:36:04] Production.INFO: ==8510== Lock acquired, processing the job... [2025-03-20 15:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:36:04] Production.INFO: ==8502== Lock acquired, processing the job... [2025-03-20 15:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:36:04] Production.INFO: ==8506== Lock acquired, processing the job... [2025-03-20 15:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:36:04] Production.INFO: ==8508== Lock acquired, processing the job... [2025-03-20 15:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:36:04] Production.INFO: count ==12 [2025-03-20 15:36:04] Production.INFO: Account Balance Start. [2025-03-20 15:36:04] Production.INFO: CreateAllLog Start [2025-03-20 15:36:04] Production.INFO: 117 [2025-03-20 15:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:36:04] Production.INFO: count ==23 [2025-03-20 15:36:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723796') start [2025-03-20 15:36:04] Production.INFO: ==8502== Releasing lock... [2025-03-20 15:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723796') end [2025-03-20 15:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:36:04] Production.INFO: 1 [2025-03-20 15:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:04] Production.INFO: ==8510== Releasing lock... [2025-03-20 15:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:04] Production.ERROR: done [2025-03-20 15:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:36:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:36:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:05] Production.ERROR: done [2025-03-20 15:36:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:36:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:36:05] Production.INFO: Total Charge 0 [2025-03-20 15:36:05] Production.INFO: CreateAllLog End [2025-03-20 15:36:05] Production.INFO: Account Balance End. [2025-03-20 15:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:36:05] Production.INFO: ==8506== Releasing lock... [2025-03-20 15:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:36:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:36:06 [end_date_ymd] => 2025-03-20 15:36:06 [RateCDR] => 1 ) [2025-03-20 15: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-03-20 12:36:06' and `end` < '2025-03-20 15: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-03-20 15:36:12] Production.ERROR: CronJobId end10 [2025-03-20 15:36:12] Production.INFO: ==8504== Releasing lock... [2025-03-20 15:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:36:15] Production.INFO: call_cost start [2025-03-20 15:36:15] Production.INFO: call_cost end [2025-03-20 15:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:36:16] Production.INFO: ==8500== Releasing lock... [2025-03-20 15:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:36:19] Production.INFO: count ==6496 [2025-03-20 15:36:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:36:06 - End Time 2025-03-20 15:36:06 [2025-03-20 15:36:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723799', 'tblTempUsageDetail_20' ) start [2025-03-20 15:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723799', 'tblTempUsageDetail_20' ) end [2025-03-20 15:36:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723799', 'tblTempVendorCDR_20' ) start [2025-03-20 15:36:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723799', 'tblTempVendorCDR_20' ) end [2025-03-20 15:36:23] Production.INFO: ProcessCDR(1,14723799,1,1,2) [2025-03-20 15:36:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:36:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:36:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:36:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723799', 'tblTempUsageDetail_20' ) start [2025-03-20 15:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723799', 'tblTempUsageDetail_20' ) end [2025-03-20 15:36:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:36:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:36:28] Production.INFO: ==8508== Releasing lock... [2025-03-20 15:36:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:36:28] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 19:37:01] Production.INFO: ==8588== Lock acquired, processing the job... [2025-03-20 19:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:37:01] Production.INFO: neon service started [2025-03-20 19:37:01] Production.INFO: neon service started [2025-03-20 19:37:01] Production.INFO: ==8588== Releasing lock... [2025-03-20 19:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:37:01] Production.INFO: ==8590== Lock acquired, processing the job... [2025-03-20 15:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:37:02] Production.INFO: ==8592== Lock acquired, processing the job... [2025-03-20 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:37:02] Production.INFO: ==8590== Releasing lock... [2025-03-20 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:37:02] Production.INFO: ==8592== Releasing lock... [2025-03-20 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:37:03] Production.INFO: ==8603== Lock acquired, processing the job... [2025-03-20 15:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:37:03] Production.INFO: ==8595== Lock acquired, processing the job... [2025-03-20 15:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:37:03] Production.INFO: ==8597== Lock acquired, processing the job... [2025-03-20 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:37:03] Production.INFO: ==8605== Lock acquired, processing the job... [2025-03-20 15:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:37:03] Production.INFO: ==8599== Lock acquired, processing the job... [2025-03-20 15:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:37:03] Production.INFO: ==8601== Lock acquired, processing the job... [2025-03-20 15:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:37:03] Production.INFO: Account Balance Start. [2025-03-20 15:37:03] Production.INFO: CreateAllLog Start [2025-03-20 15:37:03] Production.INFO: 117 [2025-03-20 15:37:03] Production.INFO: count ==12 [2025-03-20 15:37:03] Production.ERROR: done [2025-03-20 15:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:37:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:37:03] Production.INFO: count ==23 [2025-03-20 15:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723801') start [2025-03-20 15:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:03] Production.INFO: Date 2025-03-12 [2025-03-20 15:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723801') end [2025-03-20 15:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:37:03] Production.INFO: 1 [2025-03-20 15:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:37:03] Production.INFO: ==8605== Releasing lock... [2025-03-20 15:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:37:03] Production.ERROR: done [2025-03-20 15:37:04] Production.INFO: ==8597== Releasing lock... [2025-03-20 15:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:37:04] Production.INFO: Total Charge 0 [2025-03-20 15:37:04] Production.INFO: CreateAllLog End [2025-03-20 15:37:04] Production.INFO: Account Balance End. [2025-03-20 15:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:37:04] Production.INFO: ==8601== Releasing lock... [2025-03-20 15:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:37:05 [end_date_ymd] => 2025-03-20 15:37:05 [RateCDR] => 1 ) [2025-03-20 15:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:37:05' and `end` < '2025-03-20 15:37:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:37:15] Production.ERROR: CronJobId end10 [2025-03-20 15:37:15] Production.INFO: ==8599== Releasing lock... [2025-03-20 15:37:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:37:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:37:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:37:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:37:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:37:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:37:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:37:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:37:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:37:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:37:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:37:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:37:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:37:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:37:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:37:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:37:17] Production.INFO: call_cost start [2025-03-20 15:37:17] Production.INFO: call_cost end [2025-03-20 15:37:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:37:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:37:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:37:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:37:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:37:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:37:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:37:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:37:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:37:18] Production.INFO: ==8595== Releasing lock... [2025-03-20 15:37:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:37:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:37:19] Production.INFO: count ==6507 [2025-03-20 15:37:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:37:05 - End Time 2025-03-20 15:37:05 [2025-03-20 15:37:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723804', 'tblTempUsageDetail_20' ) start [2025-03-20 15:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723804', 'tblTempUsageDetail_20' ) end [2025-03-20 15:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723804', 'tblTempVendorCDR_20' ) start [2025-03-20 15:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723804', 'tblTempVendorCDR_20' ) end [2025-03-20 15:37:22] Production.INFO: ProcessCDR(1,14723804,1,1,2) [2025-03-20 15:37:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:37:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:37:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:37:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723804', 'tblTempUsageDetail_20' ) start [2025-03-20 15:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723804', 'tblTempUsageDetail_20' ) end [2025-03-20 15:37:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:37:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:37:27] Production.INFO: ==8603== Releasing lock... [2025-03-20 15:37:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:37:27] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 19:38:01] Production.INFO: ==8681== Lock acquired, processing the job... [2025-03-20 19:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:38:01] Production.INFO: neon service started [2025-03-20 19:38:01] Production.INFO: neon service started [2025-03-20 19:38:01] Production.INFO: ==8681== Releasing lock... [2025-03-20 19:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:38:02] Production.INFO: ==8683== Lock acquired, processing the job... [2025-03-20 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:38:02] Production.INFO: ==8685== Lock acquired, processing the job... [2025-03-20 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:38:02] Production.INFO: ==8685== Releasing lock... [2025-03-20 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:38:02] Production.INFO: ==8683== Releasing lock... [2025-03-20 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:38:03] Production.INFO: ==8690== Lock acquired, processing the job... [2025-03-20 15:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:38:03] Production.INFO: ==8696== Lock acquired, processing the job... [2025-03-20 15:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:38:03] Production.INFO: ==8688== Lock acquired, processing the job... [2025-03-20 15:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:38:03] Production.INFO: ==8692== Lock acquired, processing the job... [2025-03-20 15:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:38:03] Production.INFO: ==8694== Lock acquired, processing the job... [2025-03-20 15:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:38:04] Production.INFO: ==8698== Lock acquired, processing the job... [2025-03-20 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:38:04] Production.INFO: ==8690== Releasing lock... [2025-03-20 15:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:38:04] Production.INFO: Account Balance Start. [2025-03-20 15:38:04] Production.INFO: CreateAllLog Start [2025-03-20 15:38:04] Production.INFO: 117 [2025-03-20 15:38:04] Production.INFO: count ==12 [2025-03-20 15:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:38:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:38:04] Production.INFO: count ==23 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723807') start [2025-03-20 15:38:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.ERROR: done [2025-03-20 15:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723807') end [2025-03-20 15:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:38:04] Production.INFO: 1 [2025-03-20 15:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:38:04] Production.INFO: ==8698== Releasing lock... [2025-03-20 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.ERROR: done [2025-03-20 15:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:38:04] Production.INFO: Total Charge 0 [2025-03-20 15:38:04] Production.INFO: CreateAllLog End [2025-03-20 15:38:04] Production.INFO: Account Balance End. [2025-03-20 15:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:38:04] Production.INFO: ==8694== Releasing lock... [2025-03-20 15:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:38:05 [end_date_ymd] => 2025-03-20 15:38:05 [RateCDR] => 1 ) [2025-03-20 15:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:38:05' and `end` < '2025-03-20 15:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:38:13] Production.ERROR: CronJobId end10 [2025-03-20 15:38:13] Production.INFO: ==8692== Releasing lock... [2025-03-20 15:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:38:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:38:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:38:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:38:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:38:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:38:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:38:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:38:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:38:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:38:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:38:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:38:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:38:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:38:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:38:15] Production.INFO: call_cost start [2025-03-20 15:38:15] Production.INFO: call_cost end [2025-03-20 15:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:38:16] Production.INFO: ==8688== Releasing lock... [2025-03-20 15:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:38:19] Production.INFO: count ==6509 [2025-03-20 15:38:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:38:05 - End Time 2025-03-20 15:38:05 [2025-03-20 15:38:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723809', 'tblTempUsageDetail_20' ) start [2025-03-20 15:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723809', 'tblTempUsageDetail_20' ) end [2025-03-20 15:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723809', 'tblTempVendorCDR_20' ) start [2025-03-20 15:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723809', 'tblTempVendorCDR_20' ) end [2025-03-20 15:38:22] Production.INFO: ProcessCDR(1,14723809,1,1,2) [2025-03-20 15:38:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:38:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:38:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:38:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723809', 'tblTempUsageDetail_20' ) start [2025-03-20 15:38:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723809', 'tblTempUsageDetail_20' ) end [2025-03-20 15:38:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:38:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:38:28] Production.INFO: ==8696== Releasing lock... [2025-03-20 15:38:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:38:28] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 19:39:01] Production.INFO: ==8804== Lock acquired, processing the job... [2025-03-20 19:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:39:01] Production.INFO: neon service started [2025-03-20 19:39:01] Production.INFO: neon service started [2025-03-20 19:39:01] Production.INFO: ==8804== Releasing lock... [2025-03-20 19:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:39:01] Production.INFO: ==8808== Lock acquired, processing the job... [2025-03-20 19:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:39:01] Production.INFO: ==8808== Releasing lock... [2025-03-20 19:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:39:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:39:01] Production.INFO: ==8806== Lock acquired, processing the job... [2025-03-20 15:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:39:02] Production.INFO: ==8806== Releasing lock... [2025-03-20 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:39:03] Production.INFO: ==8813== Lock acquired, processing the job... [2025-03-20 15:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:39:03] Production.INFO: ==8811== Lock acquired, processing the job... [2025-03-20 15:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:39:03] Production.INFO: ==8821== Lock acquired, processing the job... [2025-03-20 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:39:03] Production.INFO: ==8813== Releasing lock... [2025-03-20 15:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:39:03] Production.INFO: ==8815== Lock acquired, processing the job... [2025-03-20 15:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:39:03] Production.INFO: ==8817== Lock acquired, processing the job... [2025-03-20 15:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:39:03] Production.INFO: ==8819== Lock acquired, processing the job... [2025-03-20 15:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:39:03] Production.INFO: Account Balance Start. [2025-03-20 15:39:03] Production.INFO: CreateAllLog Start [2025-03-20 15:39:03] Production.INFO: 117 [2025-03-20 15:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:03] Production.INFO: count ==12 [2025-03-20 15:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:39:03] Production.INFO: count ==23 [2025-03-20 15:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723812') start [2025-03-20 15:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:39:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723812') end [2025-03-20 15:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:39:03] Production.INFO: 1 [2025-03-20 15:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:39:03] Production.INFO: ==8821== Releasing lock... [2025-03-20 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:39:03] Production.INFO: Date 2025-03-12 [2025-03-20 15:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:03] Production.INFO: Date 2025-03-13 [2025-03-20 15:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:03] Production.INFO: Date 2025-03-14 [2025-03-20 15:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:03] Production.ERROR: done [2025-03-20 15:39:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:39:03] Production.INFO: Date 2025-03-15 [2025-03-20 15:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:04] Production.ERROR: done [2025-03-20 15:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:39:04] Production.INFO: Total Charge 0 [2025-03-20 15:39:04] Production.INFO: CreateAllLog End [2025-03-20 15:39:04] Production.INFO: Account Balance End. [2025-03-20 15:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:39:04] Production.INFO: ==8817== Releasing lock... [2025-03-20 15:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:39:05 [end_date_ymd] => 2025-03-20 15:39:05 [RateCDR] => 1 ) [2025-03-20 15: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-03-20 12:39:05' and `end` < '2025-03-20 15: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-03-20 15:39:13] Production.ERROR: CronJobId end10 [2025-03-20 15:39:13] Production.INFO: ==8815== Releasing lock... [2025-03-20 15:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:39:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:39:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:39:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:39:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:39:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:39:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:39:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:39:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:39:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:39:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:39:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:39:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:39:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:39:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:39:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:39:15] Production.INFO: call_cost start [2025-03-20 15:39:15] Production.INFO: call_cost end [2025-03-20 15:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:39:16] Production.INFO: ==8811== Releasing lock... [2025-03-20 15:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:39:18] Production.INFO: count ==6493 [2025-03-20 15:39:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:39:05 - End Time 2025-03-20 15:39:05 [2025-03-20 15:39:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723814', 'tblTempUsageDetail_20' ) start [2025-03-20 15:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723814', 'tblTempUsageDetail_20' ) end [2025-03-20 15:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723814', 'tblTempVendorCDR_20' ) start [2025-03-20 15:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723814', 'tblTempVendorCDR_20' ) end [2025-03-20 15:39:22] Production.INFO: ProcessCDR(1,14723814,1,1,2) [2025-03-20 15:39:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:39:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723814', 'tblTempUsageDetail_20' ) start [2025-03-20 15:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723814', 'tblTempUsageDetail_20' ) end [2025-03-20 15:39:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:39:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:39:27] Production.INFO: ==8819== Releasing lock... [2025-03-20 15:39:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:39:27] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 19:40:01] Production.INFO: ==8891== Lock acquired, processing the job... [2025-03-20 19:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:40:02] Production.INFO: neon service started [2025-03-20 19:40:02] Production.INFO: neon service started [2025-03-20 19:40:02] Production.INFO: ==8891== Releasing lock... [2025-03-20 19:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:40:02] Production.INFO: ==8895== Lock acquired, processing the job... [2025-03-20 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:40:02] Production.INFO: ==8895== Releasing lock... [2025-03-20 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:40:02] Production.INFO: ==8893== Lock acquired, processing the job... [2025-03-20 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:40:03] Production.INFO: ==8893== Releasing lock... [2025-03-20 15:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:40:03] Production.INFO: ==8902== Lock acquired, processing the job... [2025-03-20 15:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:40:04] Production.INFO: ==8898== Lock acquired, processing the job... [2025-03-20 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 15:40:04] Production.INFO: ==8906== Lock acquired, processing the job... [2025-03-20 15:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 15:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 15:40:04] Production.ERROR: CronJob PID - 8902 [2025-03-20 15:40:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 15:40:04] Production.ERROR: CronJob ID - 7 [2025-03-20 15:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 15:40:00 [2025-03-20 15:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 15:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 15:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 15:40:04] Production.ERROR: CronJob PID - 8906 [2025-03-20 15:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 15:40:04] Production.ERROR: CronJob ID - 12 [2025-03-20 15:40:04] Production.INFO: ==8900== Lock acquired, processing the job... [2025-03-20 15:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 15:40:00 [2025-03-20 15:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 15:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 15:40:04] Production.INFO: ==8912== Lock acquired, processing the job... [2025-03-20 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 15:40:04] Production.INFO: ==8898== Releasing lock... [2025-03-20 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 15:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 15:40:04] Production.INFO: Account Balance Start. [2025-03-20 15:40:04] Production.INFO: CreateAllLog Start [2025-03-20 15:40:04] Production.INFO: 117 [2025-03-20 15:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:40:04] Production.INFO: ==8904== Lock acquired, processing the job... [2025-03-20 15:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:04] Production.INFO: ==8902== Releasing lock... [2025-03-20 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:40:04] Production.INFO: count ==12 [2025-03-20 15:40:04] Production.INFO: ==8908== Lock acquired, processing the job... [2025-03-20 15:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:40:04] Production.INFO: count ==23 [2025-03-20 15:40:04] Production.INFO: ==8910== Lock acquired, processing the job... [2025-03-20 15:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 15:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723818') start [2025-03-20 15:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723818') end [2025-03-20 15:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:40:04] Production.INFO: 1 [2025-03-20 15:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:40:04] Production.INFO: ==8912== Releasing lock... [2025-03-20 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:40:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:05] Production.ERROR: done [2025-03-20 15:40:05] Production.ERROR: done [2025-03-20 15:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:40:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 15:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723819', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 15:40:05] Production.INFO: Total Charge 0 [2025-03-20 15:40:05] Production.INFO: CreateAllLog End [2025-03-20 15:40:05] Production.ERROR: done [2025-03-20 15:40:05] Production.INFO: Account Balance End. [2025-03-20 15:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:40:05] Production.INFO: ==8906== Releasing lock... [2025-03-20 15:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:40:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:40:07 [end_date_ymd] => 2025-03-20 15:40:07 [RateCDR] => 1 ) [2025-03-20 15: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-03-20 12:40:07' and `end` < '2025-03-20 15: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-03-20 15:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723819', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 15:40:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 15:40:10] Production.INFO: ProcessCDR(1,14723819,1,1,2) [2025-03-20 15:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723819,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723819,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:40:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:40:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:40:10] Production.INFO: ==8910== Releasing lock... [2025-03-20 15:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 15:40:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 15:40:15] Production.ERROR: CronJobId end10 [2025-03-20 15:40:15] Production.INFO: ==8904== Releasing lock... [2025-03-20 15:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:40:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:40:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:40:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:40:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:40:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:40:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:40:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:40:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:40:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:40:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:40:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:40:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:40:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:40:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:40:17] Production.INFO: call_cost start [2025-03-20 15:40:17] Production.INFO: call_cost end [2025-03-20 15:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:40:18] Production.INFO: ==8900== Releasing lock... [2025-03-20 15:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:40:20] Production.INFO: count ==6497 [2025-03-20 15:40:23] Production.ERROR: pbx CDR StartTime 2025-03-20 12:40:07 - End Time 2025-03-20 15:40:07 [2025-03-20 15:40:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723820', 'tblTempUsageDetail_20' ) start [2025-03-20 15:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723820', 'tblTempUsageDetail_20' ) end [2025-03-20 15:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723820', 'tblTempVendorCDR_20' ) start [2025-03-20 15:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723820', 'tblTempVendorCDR_20' ) end [2025-03-20 15:40:24] Production.INFO: ProcessCDR(1,14723820,1,1,2) [2025-03-20 15:40:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:40:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723820,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:40:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:40:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723820,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:40:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723820', 'tblTempUsageDetail_20' ) start [2025-03-20 15:40:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723820', 'tblTempUsageDetail_20' ) end [2025-03-20 15:40:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:40:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:40:29] Production.INFO: ==8908== Releasing lock... [2025-03-20 15:40:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:40:29] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 19:41:01] Production.INFO: ==8979== Lock acquired, processing the job... [2025-03-20 19:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:41:01] Production.INFO: neon service started [2025-03-20 19:41:01] Production.INFO: neon service started [2025-03-20 19:41:01] Production.INFO: ==8979== Releasing lock... [2025-03-20 19:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:41:01] Production.INFO: ==8981== Lock acquired, processing the job... [2025-03-20 15:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:41:02] Production.INFO: ==8981== Releasing lock... [2025-03-20 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:41:02] Production.INFO: ==8983== Lock acquired, processing the job... [2025-03-20 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:41:02] Production.INFO: ==8983== Releasing lock... [2025-03-20 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:41:03] Production.INFO: ==8991== Lock acquired, processing the job... [2025-03-20 15:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:41:03] Production.INFO: ==8993== Lock acquired, processing the job... [2025-03-20 15:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:41:03] Production.INFO: Account Balance Start. [2025-03-20 15:41:03] Production.INFO: CreateAllLog Start [2025-03-20 15:41:03] Production.INFO: 117 [2025-03-20 15:41:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:03] Production.INFO: ==8985== Lock acquired, processing the job... [2025-03-20 15:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:41:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:03] Production.INFO: ==8987== Lock acquired, processing the job... [2025-03-20 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:41:03] Production.INFO: ==8989== Lock acquired, processing the job... [2025-03-20 15:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:41:03] Production.INFO: Date 2025-03-12 [2025-03-20 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:03] Production.INFO: ==8995== Lock acquired, processing the job... [2025-03-20 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:41:03] Production.INFO: Date 2025-03-13 [2025-03-20 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:41:03] Production.INFO: Date 2025-03-14 [2025-03-20 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:41:03] Production.INFO: Date 2025-03-15 [2025-03-20 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:03] Production.INFO: count ==12 [2025-03-20 15:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:41:03] Production.INFO: count ==23 [2025-03-20 15:41:03] Production.ERROR: done [2025-03-20 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723824') start [2025-03-20 15:41:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:41:03] Production.INFO: Date 2025-03-16 [2025-03-20 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723824') end [2025-03-20 15:41:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:41:03] Production.INFO: 1 [2025-03-20 15:41:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:41:03] Production.INFO: Date 2025-03-17 [2025-03-20 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:03] Production.INFO: ==8995== Releasing lock... [2025-03-20 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:41:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:41:03] Production.INFO: Date 2025-03-18 [2025-03-20 15:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:04] Production.INFO: ==8987== Releasing lock... [2025-03-20 15:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:41:04] Production.ERROR: done [2025-03-20 15:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:41:04] Production.INFO: Total Charge 0 [2025-03-20 15:41:04] Production.INFO: CreateAllLog End [2025-03-20 15:41:04] Production.INFO: Account Balance End. [2025-03-20 15:41:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:41:04] Production.INFO: ==8991== Releasing lock... [2025-03-20 15:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:41:05 [end_date_ymd] => 2025-03-20 15:41:05 [RateCDR] => 1 ) [2025-03-20 15:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:41:05' and `end` < '2025-03-20 15:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:41:13] Production.ERROR: CronJobId end10 [2025-03-20 15:41:13] Production.INFO: ==8989== Releasing lock... [2025-03-20 15:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:41:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:41:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:41:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:41:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:41:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:41:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:41:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:41:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:41:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:41:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:41:15] Production.INFO: call_cost start [2025-03-20 15:41:15] Production.INFO: call_cost end [2025-03-20 15:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:41:16] Production.INFO: ==8985== Releasing lock... [2025-03-20 15:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:41:19] Production.INFO: count ==6506 [2025-03-20 15:41:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:41:05 - End Time 2025-03-20 15:41:05 [2025-03-20 15:41:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723825', 'tblTempUsageDetail_20' ) start [2025-03-20 15:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723825', 'tblTempUsageDetail_20' ) end [2025-03-20 15:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723825', 'tblTempVendorCDR_20' ) start [2025-03-20 15:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723825', 'tblTempVendorCDR_20' ) end [2025-03-20 15:41:22] Production.INFO: ProcessCDR(1,14723825,1,1,2) [2025-03-20 15:41:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:41:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723825,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:41:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:41:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723825,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723825', 'tblTempUsageDetail_20' ) start [2025-03-20 15:41:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723825', 'tblTempUsageDetail_20' ) end [2025-03-20 15:41:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:41:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:41:28] Production.INFO: ==8993== Releasing lock... [2025-03-20 15:41:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:41:28] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 19:42:01] Production.INFO: ==9065== Lock acquired, processing the job... [2025-03-20 19:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:42:01] Production.INFO: neon service started [2025-03-20 19:42:01] Production.INFO: neon service started [2025-03-20 19:42:01] Production.INFO: ==9065== Releasing lock... [2025-03-20 19:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:42:02] Production.INFO: ==9067== Lock acquired, processing the job... [2025-03-20 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:42:02] Production.INFO: ==9067== Releasing lock... [2025-03-20 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:42:02] Production.INFO: ==9069== Lock acquired, processing the job... [2025-03-20 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:42:02] Production.INFO: ==9069== Releasing lock... [2025-03-20 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:42:03] Production.INFO: ==9074== Lock acquired, processing the job... [2025-03-20 15:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:42:03] Production.INFO: ==9072== Lock acquired, processing the job... [2025-03-20 15:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:42:03] Production.INFO: ==9082== Lock acquired, processing the job... [2025-03-20 15:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:42:03] Production.INFO: ==9076== Lock acquired, processing the job... [2025-03-20 15:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:42:03] Production.INFO: ==9078== Lock acquired, processing the job... [2025-03-20 15:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:42:03] Production.INFO: ==9080== Lock acquired, processing the job... [2025-03-20 15:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:42:03] Production.INFO: Account Balance Start. [2025-03-20 15:42:03] Production.INFO: CreateAllLog Start [2025-03-20 15:42:03] Production.INFO: count ==12 [2025-03-20 15:42:03] Production.INFO: 117 [2025-03-20 15:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:42:04] Production.INFO: count ==23 [2025-03-20 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723827') start [2025-03-20 15:42:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.INFO: ==9074== Releasing lock... [2025-03-20 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723827') end [2025-03-20 15:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:42:04] Production.INFO: 1 [2025-03-20 15:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.INFO: ==9082== Releasing lock... [2025-03-20 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:42:04] Production.ERROR: done [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:42:04] Production.ERROR: done [2025-03-20 15:42:04] Production.INFO: Total Charge 0 [2025-03-20 15:42:04] Production.INFO: CreateAllLog End [2025-03-20 15:42:04] Production.INFO: Account Balance End. [2025-03-20 15:42:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:42:05] Production.INFO: ==9078== Releasing lock... [2025-03-20 15:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:42:05 [end_date_ymd] => 2025-03-20 15:42:05 [RateCDR] => 1 ) [2025-03-20 15:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:42:05' and `end` < '2025-03-20 15:42:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:42:13] Production.ERROR: CronJobId end10 [2025-03-20 15:42:13] Production.INFO: ==9076== Releasing lock... [2025-03-20 15:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:42:15] Production.INFO: call_cost start [2025-03-20 15:42:15] Production.INFO: call_cost end [2025-03-20 15:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:42:16] Production.INFO: ==9072== Releasing lock... [2025-03-20 15:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:42:18] Production.INFO: count ==6502 [2025-03-20 15:42:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:42:05 - End Time 2025-03-20 15:42:05 [2025-03-20 15:42:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723830', 'tblTempUsageDetail_20' ) start [2025-03-20 15:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723830', 'tblTempUsageDetail_20' ) end [2025-03-20 15:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723830', 'tblTempVendorCDR_20' ) start [2025-03-20 15:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723830', 'tblTempVendorCDR_20' ) end [2025-03-20 15:42:22] Production.INFO: ProcessCDR(1,14723830,1,1,2) [2025-03-20 15:42:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:42:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723830', 'tblTempUsageDetail_20' ) start [2025-03-20 15:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723830', 'tblTempUsageDetail_20' ) end [2025-03-20 15:42:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:42:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:42:27] Production.INFO: ==9080== Releasing lock... [2025-03-20 15:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:42:27] Production.INFO: 76.75 MB #Memory Used# [2025-03-20 19:43:02] Production.INFO: ==9163== Lock acquired, processing the job... [2025-03-20 19:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:43:02] Production.INFO: neon service started [2025-03-20 19:43:02] Production.INFO: neon service started [2025-03-20 19:43:02] Production.INFO: ==9163== Releasing lock... [2025-03-20 19:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:43:02] Production.INFO: ==9165== Lock acquired, processing the job... [2025-03-20 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:43:03] Production.INFO: ==9167== Lock acquired, processing the job... [2025-03-20 19:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:43:03] Production.INFO: ==9167== Releasing lock... [2025-03-20 19:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:43:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:43:03] Production.INFO: ==9165== Releasing lock... [2025-03-20 15:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:43:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:43:04] Production.INFO: ==9170== Lock acquired, processing the job... [2025-03-20 15:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:43:04] Production.INFO: ==9176== Lock acquired, processing the job... [2025-03-20 15:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:43:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:43:04] Production.INFO: ==9172== Lock acquired, processing the job... [2025-03-20 15:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:43:04] Production.INFO: Account Balance Start. [2025-03-20 15:43:04] Production.INFO: CreateAllLog Start [2025-03-20 15:43:04] Production.INFO: 117 [2025-03-20 15:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: ==9174== Lock acquired, processing the job... [2025-03-20 15:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: ==9178== Lock acquired, processing the job... [2025-03-20 15:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:43:04] Production.INFO: ==9172== Releasing lock... [2025-03-20 15:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:43:04] Production.INFO: ==9180== Lock acquired, processing the job... [2025-03-20 15:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:43:04] Production.INFO: Total Charge 0 [2025-03-20 15:43:04] Production.INFO: CreateAllLog End [2025-03-20 15:43:05] Production.INFO: count ==12 [2025-03-20 15:43:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:43:05] Production.INFO: count ==23 [2025-03-20 15:43:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723834') start [2025-03-20 15:43:05] Production.ERROR: done [2025-03-20 15:43:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:43:05] Production.ERROR: done [2025-03-20 15:43:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723834') end [2025-03-20 15:43:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:43:05] Production.INFO: 1 [2025-03-20 15:43:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:43:05] Production.INFO: Account Balance End. [2025-03-20 15:43:05] Production.INFO: ==9180== Releasing lock... [2025-03-20 15:43:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:43:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:43:05] Production.INFO: ==9176== Releasing lock... [2025-03-20 15:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:43:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:43:06 [end_date_ymd] => 2025-03-20 15:43:06 [RateCDR] => 1 ) [2025-03-20 15:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:43:06' and `end` < '2025-03-20 15:43:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:43:15] Production.ERROR: CronJobId end10 [2025-03-20 15:43:15] Production.INFO: ==9174== Releasing lock... [2025-03-20 15:43:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:43:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:43:16] Production.INFO: call_cost start [2025-03-20 15:43:16] Production.INFO: call_cost end [2025-03-20 15:43:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:43:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:43:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:43:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:43:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:43:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:43:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:43:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:43:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:43:17] Production.INFO: ==9170== Releasing lock... [2025-03-20 15:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:43:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:43:19] Production.INFO: count ==6476 [2025-03-20 15:43:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:43:06 - End Time 2025-03-20 15:43:06 [2025-03-20 15:43:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723835', 'tblTempUsageDetail_20' ) start [2025-03-20 15:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723835', 'tblTempUsageDetail_20' ) end [2025-03-20 15:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723835', 'tblTempVendorCDR_20' ) start [2025-03-20 15:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723835', 'tblTempVendorCDR_20' ) end [2025-03-20 15:43:23] Production.INFO: ProcessCDR(1,14723835,1,1,2) [2025-03-20 15:43:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:43:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:43:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:43:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:43:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723835', 'tblTempUsageDetail_20' ) start [2025-03-20 15:43:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723835', 'tblTempUsageDetail_20' ) end [2025-03-20 15:43:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:43:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:43:28] Production.INFO: ==9178== Releasing lock... [2025-03-20 15:43:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:43:28] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 19:44:01] Production.INFO: ==9246== Lock acquired, processing the job... [2025-03-20 19:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:44:01] Production.INFO: neon service started [2025-03-20 19:44:01] Production.INFO: neon service started [2025-03-20 19:44:01] Production.INFO: ==9246== Releasing lock... [2025-03-20 19:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:44:02] Production.INFO: ==9251== Lock acquired, processing the job... [2025-03-20 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:44:02] Production.INFO: ==9251== Releasing lock... [2025-03-20 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:44:02] Production.INFO: ==9249== Lock acquired, processing the job... [2025-03-20 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:44:02] Production.INFO: ==9249== Releasing lock... [2025-03-20 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:44:03] Production.INFO: ==9253== Lock acquired, processing the job... [2025-03-20 15:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:44:03] Production.INFO: ==9255== Lock acquired, processing the job... [2025-03-20 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:44:03] Production.INFO: ==9261== Lock acquired, processing the job... [2025-03-20 15:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:44:03] Production.INFO: ==9257== Lock acquired, processing the job... [2025-03-20 15:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:44:03] Production.INFO: ==9259== Lock acquired, processing the job... [2025-03-20 15:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:44:04] Production.INFO: ==9263== Lock acquired, processing the job... [2025-03-20 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:44:04] Production.INFO: ==9255== Releasing lock... [2025-03-20 15:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:44:04] Production.INFO: Account Balance Start. [2025-03-20 15:44:04] Production.INFO: CreateAllLog Start [2025-03-20 15:44:04] Production.INFO: 117 [2025-03-20 15:44:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:44:04] Production.ERROR: done [2025-03-20 15:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:44:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.INFO: count ==12 [2025-03-20 15:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:44:04] Production.INFO: count ==23 [2025-03-20 15:44:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723839') start [2025-03-20 15:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.ERROR: done [2025-03-20 15:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723839') end [2025-03-20 15:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:44:04] Production.INFO: 1 [2025-03-20 15:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:44:04] Production.INFO: ==9263== Releasing lock... [2025-03-20 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:44:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:44:04] Production.INFO: Total Charge 0 [2025-03-20 15:44:04] Production.INFO: CreateAllLog End [2025-03-20 15:44:04] Production.INFO: Account Balance End. [2025-03-20 15:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:44:04] Production.INFO: ==9259== Releasing lock... [2025-03-20 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:44:05 [end_date_ymd] => 2025-03-20 15:44:05 [RateCDR] => 1 ) [2025-03-20 15:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:44:05' and `end` < '2025-03-20 15:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:44:14] Production.ERROR: CronJobId end10 [2025-03-20 15:44:14] Production.INFO: ==9257== Releasing lock... [2025-03-20 15:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:44:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:44:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:44:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:44:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:44:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:44:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:44:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:44:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:44:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:44:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:44:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:44:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:44:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:44:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:44:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:44:15] Production.INFO: call_cost start [2025-03-20 15:44:15] Production.INFO: call_cost end [2025-03-20 15:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:44:16] Production.INFO: ==9253== Releasing lock... [2025-03-20 15:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:44:19] Production.INFO: count ==6466 [2025-03-20 15:44:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:44:05 - End Time 2025-03-20 15:44:05 [2025-03-20 15:44:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723840', 'tblTempUsageDetail_20' ) start [2025-03-20 15:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723840', 'tblTempUsageDetail_20' ) end [2025-03-20 15:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723840', 'tblTempVendorCDR_20' ) start [2025-03-20 15:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723840', 'tblTempVendorCDR_20' ) end [2025-03-20 15:44:22] Production.INFO: ProcessCDR(1,14723840,1,1,2) [2025-03-20 15:44:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:44:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:44:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:44:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723840', 'tblTempUsageDetail_20' ) start [2025-03-20 15:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723840', 'tblTempUsageDetail_20' ) end [2025-03-20 15:44:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:44:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:44:27] Production.INFO: ==9261== Releasing lock... [2025-03-20 15:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:44:27] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 19:45:02] Production.INFO: ==9342== Lock acquired, processing the job... [2025-03-20 19:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:45:02] Production.INFO: neon service started [2025-03-20 19:45:02] Production.INFO: neon service started [2025-03-20 19:45:02] Production.INFO: ==9342== Releasing lock... [2025-03-20 19:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:45:02] Production.INFO: ==9346== Lock acquired, processing the job... [2025-03-20 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:45:02] Production.INFO: ==9346== Releasing lock... [2025-03-20 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:45:02] Production.INFO: ==9344== Lock acquired, processing the job... [2025-03-20 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:45:03] Production.INFO: ==9344== Releasing lock... [2025-03-20 15:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:45:04] Production.INFO: ==9353== Lock acquired, processing the job... [2025-03-20 15:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:45:04] Production.INFO: ==9357== Lock acquired, processing the job... [2025-03-20 15:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:45:04] Production.INFO: ==9349== Lock acquired, processing the job... [2025-03-20 15:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:45:04] Production.INFO: ==9351== Lock acquired, processing the job... [2025-03-20 15:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:45:04] Production.INFO: ==9355== Lock acquired, processing the job... [2025-03-20 15:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:45:04] Production.INFO: ==9359== Lock acquired, processing the job... [2025-03-20 15:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:45:04] Production.INFO: Account Balance Start. [2025-03-20 15:45:04] Production.INFO: CreateAllLog Start [2025-03-20 15:45:04] Production.INFO: 117 [2025-03-20 15:45:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:45:04] Production.ERROR: done [2025-03-20 15:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:04] Production.INFO: count ==12 [2025-03-20 15:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:45:04] Production.INFO: count ==23 [2025-03-20 15:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723844') start [2025-03-20 15:45:04] Production.ERROR: done [2025-03-20 15:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723844') end [2025-03-20 15:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:45:04] Production.INFO: 1 [2025-03-20 15:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:45:04] Production.INFO: ==9359== Releasing lock... [2025-03-20 15:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:04] Production.INFO: ==9351== Releasing lock... [2025-03-20 15:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:45:05] Production.INFO: Date 2025-03-13 [2025-03-20 15:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:05] Production.INFO: Date 2025-03-14 [2025-03-20 15:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:05] Production.INFO: Date 2025-03-15 [2025-03-20 15:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:05] Production.INFO: Date 2025-03-16 [2025-03-20 15:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:45:05] Production.INFO: Total Charge 0 [2025-03-20 15:45:05] Production.INFO: CreateAllLog End [2025-03-20 15:45:05] Production.INFO: Account Balance End. [2025-03-20 15:45:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:45:05] Production.INFO: ==9355== Releasing lock... [2025-03-20 15:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:45:05 [end_date_ymd] => 2025-03-20 15:45:05 [RateCDR] => 1 ) [2025-03-20 15:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:45:05' and `end` < '2025-03-20 15:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:45:14] Production.ERROR: CronJobId end10 [2025-03-20 15:45:14] Production.INFO: ==9353== Releasing lock... [2025-03-20 15:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:45:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:45:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:45:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:45:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:45:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:45:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:45:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:45:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:45:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:45:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:45:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:45:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:45:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:45:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:45:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:45:16] Production.INFO: call_cost start [2025-03-20 15:45:16] Production.INFO: call_cost end [2025-03-20 15:45:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:45:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:45:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:45:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:45:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:45:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:45:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:45:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:45:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:45:17] Production.INFO: ==9349== Releasing lock... [2025-03-20 15:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:45:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:45:19] Production.INFO: count ==6445 [2025-03-20 15:45:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:45:05 - End Time 2025-03-20 15:45:05 [2025-03-20 15:45:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723845', 'tblTempUsageDetail_20' ) start [2025-03-20 15:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723845', 'tblTempUsageDetail_20' ) end [2025-03-20 15:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723845', 'tblTempVendorCDR_20' ) start [2025-03-20 15:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723845', 'tblTempVendorCDR_20' ) end [2025-03-20 15:45:22] Production.INFO: ProcessCDR(1,14723845,1,1,2) [2025-03-20 15:45:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:45:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:45:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723845', 'tblTempUsageDetail_20' ) start [2025-03-20 15:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723845', 'tblTempUsageDetail_20' ) end [2025-03-20 15:45:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:45:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:45:27] Production.INFO: ==9357== Releasing lock... [2025-03-20 15:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:45:27] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:46:01] Production.INFO: ==9423== Lock acquired, processing the job... [2025-03-20 19:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:46:01] Production.INFO: neon service started [2025-03-20 19:46:01] Production.INFO: neon service started [2025-03-20 19:46:01] Production.INFO: ==9423== Releasing lock... [2025-03-20 19:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:46:02] Production.INFO: ==9427== Lock acquired, processing the job... [2025-03-20 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:46:02] Production.INFO: ==9427== Releasing lock... [2025-03-20 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:46:02] Production.INFO: ==9425== Lock acquired, processing the job... [2025-03-20 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:46:02] Production.INFO: ==9425== Releasing lock... [2025-03-20 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:46:03] Production.INFO: ==9436== Lock acquired, processing the job... [2025-03-20 15:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:46:03] Production.INFO: ==9438== Lock acquired, processing the job... [2025-03-20 15:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:46:03] Production.INFO: Account Balance Start. [2025-03-20 15:46:03] Production.INFO: CreateAllLog Start [2025-03-20 15:46:03] Production.INFO: 117 [2025-03-20 15:46:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:46:03] Production.INFO: ==9430== Lock acquired, processing the job... [2025-03-20 15:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:46:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:46:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:03] Production.INFO: ==9432== Lock acquired, processing the job... [2025-03-20 15:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:46:04] Production.INFO: ==9434== Lock acquired, processing the job... [2025-03-20 15:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:46:04] Production.INFO: ==9440== Lock acquired, processing the job... [2025-03-20 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:46:04] Production.ERROR: done [2025-03-20 15:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:04] Production.INFO: count ==12 [2025-03-20 15:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:46:04] Production.INFO: count ==23 [2025-03-20 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723849') start [2025-03-20 15:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:04] Production.INFO: ==9432== Releasing lock... [2025-03-20 15:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:46:04] Production.ERROR: done [2025-03-20 15:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723849') end [2025-03-20 15:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:46:04] Production.INFO: 1 [2025-03-20 15:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:04] Production.INFO: ==9440== Releasing lock... [2025-03-20 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:46:04] Production.INFO: Total Charge 0 [2025-03-20 15:46:04] Production.INFO: CreateAllLog End [2025-03-20 15:46:04] Production.INFO: Account Balance End. [2025-03-20 15:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:46:05] Production.INFO: ==9436== Releasing lock... [2025-03-20 15:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:46:05 [end_date_ymd] => 2025-03-20 15:46:05 [RateCDR] => 1 ) [2025-03-20 15:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:46:05' and `end` < '2025-03-20 15:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:46:13] Production.ERROR: CronJobId end10 [2025-03-20 15:46:13] Production.INFO: ==9434== Releasing lock... [2025-03-20 15:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:46:15] Production.INFO: call_cost start [2025-03-20 15:46:15] Production.INFO: call_cost end [2025-03-20 15:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:46:16] Production.INFO: ==9430== Releasing lock... [2025-03-20 15:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:46:19] Production.INFO: count ==6449 [2025-03-20 15:46:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:46:05 - End Time 2025-03-20 15:46:05 [2025-03-20 15:46:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723850', 'tblTempUsageDetail_20' ) start [2025-03-20 15:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723850', 'tblTempUsageDetail_20' ) end [2025-03-20 15:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723850', 'tblTempVendorCDR_20' ) start [2025-03-20 15:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723850', 'tblTempVendorCDR_20' ) end [2025-03-20 15:46:22] Production.INFO: ProcessCDR(1,14723850,1,1,2) [2025-03-20 15:46:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:46:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723850', 'tblTempUsageDetail_20' ) start [2025-03-20 15:46:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723850', 'tblTempUsageDetail_20' ) end [2025-03-20 15:46:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:46:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:46:27] Production.INFO: ==9438== Releasing lock... [2025-03-20 15:46:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:46:27] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:47:02] Production.INFO: ==9508== Lock acquired, processing the job... [2025-03-20 19:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:47:02] Production.INFO: neon service started [2025-03-20 19:47:02] Production.INFO: neon service started [2025-03-20 19:47:02] Production.INFO: ==9508== Releasing lock... [2025-03-20 19:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:47:02] Production.INFO: ==9510== Lock acquired, processing the job... [2025-03-20 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:47:02] Production.INFO: ==9512== Lock acquired, processing the job... [2025-03-20 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:47:02] Production.INFO: ==9512== Releasing lock... [2025-03-20 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:47:03] Production.INFO: ==9510== Releasing lock... [2025-03-20 15:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:47:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:47:04] Production.INFO: ==9521== Lock acquired, processing the job... [2025-03-20 15:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:47:04] Production.INFO: ==9515== Lock acquired, processing the job... [2025-03-20 15:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:47:04] Production.INFO: ==9525== Lock acquired, processing the job... [2025-03-20 15:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:47:04] Production.INFO: Account Balance Start. [2025-03-20 15:47:04] Production.INFO: CreateAllLog Start [2025-03-20 15:47:04] Production.INFO: 117 [2025-03-20 15:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:47:04] Production.INFO: ==9517== Lock acquired, processing the job... [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.INFO: count ==12 [2025-03-20 15:47:04] Production.INFO: ==9519== Lock acquired, processing the job... [2025-03-20 15:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.INFO: ==9523== Lock acquired, processing the job... [2025-03-20 15:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:47:04] Production.INFO: count ==23 [2025-03-20 15:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723853') start [2025-03-20 15:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723853') end [2025-03-20 15:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:47:04] Production.INFO: 1 [2025-03-20 15:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:47:04] Production.INFO: ==9525== Releasing lock... [2025-03-20 15:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:47:04] Production.INFO: ==9517== Releasing lock... [2025-03-20 15:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:47:04] Production.INFO: Total Charge 0 [2025-03-20 15:47:04] Production.INFO: CreateAllLog End [2025-03-20 15:47:05] Production.ERROR: done [2025-03-20 15:47:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:47:05] Production.INFO: Account Balance End. [2025-03-20 15:47:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:47:05] Production.INFO: ==9521== Releasing lock... [2025-03-20 15:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:47:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:47:05] Production.ERROR: done [2025-03-20 15:47:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:47:06 [end_date_ymd] => 2025-03-20 15:47:06 [RateCDR] => 1 ) [2025-03-20 15:47:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:47:06' and `end` < '2025-03-20 15:47:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:47:14] Production.ERROR: CronJobId end10 [2025-03-20 15:47:14] Production.INFO: ==9519== Releasing lock... [2025-03-20 15:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:47:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:47:16] Production.INFO: call_cost start [2025-03-20 15:47:16] Production.INFO: call_cost end [2025-03-20 15:47:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:47:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:47:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:47:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:47:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:47:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:47:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:47:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:47:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:47:17] Production.INFO: ==9515== Releasing lock... [2025-03-20 15:47:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:47:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:47:20] Production.INFO: count ==6436 [2025-03-20 15:47:23] Production.ERROR: pbx CDR StartTime 2025-03-20 12:47:06 - End Time 2025-03-20 15:47:06 [2025-03-20 15:47:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723855', 'tblTempUsageDetail_20' ) start [2025-03-20 15:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723855', 'tblTempUsageDetail_20' ) end [2025-03-20 15:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723855', 'tblTempVendorCDR_20' ) start [2025-03-20 15:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723855', 'tblTempVendorCDR_20' ) end [2025-03-20 15:47:23] Production.INFO: ProcessCDR(1,14723855,1,1,2) [2025-03-20 15:47:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:47:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:47:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:47:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:47:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723855', 'tblTempUsageDetail_20' ) start [2025-03-20 15:47:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723855', 'tblTempUsageDetail_20' ) end [2025-03-20 15:47:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:47:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:47:29] Production.INFO: ==9523== Releasing lock... [2025-03-20 15:47:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:47:29] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:48:01] Production.INFO: ==9598== Lock acquired, processing the job... [2025-03-20 19:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:48:01] Production.INFO: neon service started [2025-03-20 19:48:01] Production.INFO: neon service started [2025-03-20 19:48:01] Production.INFO: ==9598== Releasing lock... [2025-03-20 19:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:48:02] Production.INFO: ==9601== Lock acquired, processing the job... [2025-03-20 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:48:02] Production.INFO: ==9603== Lock acquired, processing the job... [2025-03-20 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:48:02] Production.INFO: ==9603== Releasing lock... [2025-03-20 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:48:02] Production.INFO: ==9601== Releasing lock... [2025-03-20 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:48:03] Production.INFO: ==9609== Lock acquired, processing the job... [2025-03-20 15:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:48:03] Production.INFO: ==9613== Lock acquired, processing the job... [2025-03-20 15:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:48:03] Production.INFO: ==9605== Lock acquired, processing the job... [2025-03-20 15:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:48:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:48:03] Production.INFO: ==9607== Lock acquired, processing the job... [2025-03-20 15:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:48:03] Production.INFO: ==9611== Lock acquired, processing the job... [2025-03-20 15:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:48:04] Production.INFO: ==9615== Lock acquired, processing the job... [2025-03-20 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:48:04] Production.INFO: Account Balance Start. [2025-03-20 15:48:04] Production.INFO: CreateAllLog Start [2025-03-20 15:48:04] Production.INFO: 117 [2025-03-20 15:48:04] Production.INFO: count ==12 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:48:04] Production.INFO: count ==23 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723858') start [2025-03-20 15:48:04] Production.ERROR: done [2025-03-20 15:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723858') end [2025-03-20 15:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:48:04] Production.INFO: 1 [2025-03-20 15:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.ERROR: done [2025-03-20 15:48:04] Production.INFO: ==9615== Releasing lock... [2025-03-20 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:48:04] Production.INFO: ==9607== Releasing lock... [2025-03-20 15:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:48:04] Production.INFO: Total Charge 0 [2025-03-20 15:48:04] Production.INFO: CreateAllLog End [2025-03-20 15:48:04] Production.INFO: Account Balance End. [2025-03-20 15:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:48:05] Production.INFO: ==9611== Releasing lock... [2025-03-20 15:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:48:05 [end_date_ymd] => 2025-03-20 15:48:05 [RateCDR] => 1 ) [2025-03-20 15:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:48:05' and `end` < '2025-03-20 15:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:48:13] Production.ERROR: CronJobId end10 [2025-03-20 15:48:13] Production.INFO: ==9609== Releasing lock... [2025-03-20 15:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:48:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:48:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:48:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:48:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:48:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:48:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:48:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:48:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:48:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:48:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:48:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:48:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:48:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:48:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:48:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:48:15] Production.INFO: call_cost start [2025-03-20 15:48:15] Production.INFO: call_cost end [2025-03-20 15:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:48:16] Production.INFO: ==9605== Releasing lock... [2025-03-20 15:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:48:19] Production.INFO: count ==6448 [2025-03-20 15:48:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:48:05 - End Time 2025-03-20 15:48:05 [2025-03-20 15:48:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723860', 'tblTempUsageDetail_20' ) start [2025-03-20 15:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723860', 'tblTempUsageDetail_20' ) end [2025-03-20 15:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723860', 'tblTempVendorCDR_20' ) start [2025-03-20 15:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723860', 'tblTempVendorCDR_20' ) end [2025-03-20 15:48:22] Production.INFO: ProcessCDR(1,14723860,1,1,2) [2025-03-20 15:48:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:48:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:48:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:48:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723860', 'tblTempUsageDetail_20' ) start [2025-03-20 15:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723860', 'tblTempUsageDetail_20' ) end [2025-03-20 15:48:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:48:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:48:27] Production.INFO: ==9613== Releasing lock... [2025-03-20 15:48:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:48:27] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:49:02] Production.INFO: ==9679== Lock acquired, processing the job... [2025-03-20 19:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:49:02] Production.INFO: neon service started [2025-03-20 19:49:02] Production.INFO: neon service started [2025-03-20 19:49:02] Production.INFO: ==9679== Releasing lock... [2025-03-20 19:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:49:02] Production.INFO: ==9681== Lock acquired, processing the job... [2025-03-20 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:49:02] Production.INFO: ==9681== Releasing lock... [2025-03-20 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:49:03] Production.INFO: ==9683== Lock acquired, processing the job... [2025-03-20 19:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:49:03] Production.INFO: ==9683== Releasing lock... [2025-03-20 19:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:49:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:49:03] Production.INFO: ==9687== Lock acquired, processing the job... [2025-03-20 15:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:49:03] Production.INFO: ==9692== Lock acquired, processing the job... [2025-03-20 15:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:49:03] Production.INFO: ==9694== Lock acquired, processing the job... [2025-03-20 15:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:49:03] Production.INFO: ==9690== Lock acquired, processing the job... [2025-03-20 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:49:04] Production.INFO: Account Balance Start. [2025-03-20 15:49:04] Production.INFO: CreateAllLog Start [2025-03-20 15:49:04] Production.INFO: 117 [2025-03-20 15:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:49:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:49:04] Production.INFO: ==9696== Lock acquired, processing the job... [2025-03-20 15:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:49:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:49:04] Production.INFO: ==9698== Lock acquired, processing the job... [2025-03-20 15:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:49:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:04] Production.INFO: ==9690== Releasing lock... [2025-03-20 15:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:49:04] Production.INFO: count ==12 [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:04] Production.ERROR: done [2025-03-20 15:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:49:04] Production.INFO: count ==23 [2025-03-20 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723864') start [2025-03-20 15:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:04] Production.ERROR: done [2025-03-20 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723864') end [2025-03-20 15:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:49:04] Production.INFO: 1 [2025-03-20 15:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:49:05] Production.INFO: ==9698== Releasing lock... [2025-03-20 15:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:49:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:49:05] Production.INFO: Total Charge 0 [2025-03-20 15:49:05] Production.INFO: CreateAllLog End [2025-03-20 15:49:05] Production.INFO: Account Balance End. [2025-03-20 15:49:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:49:05] Production.INFO: ==9694== Releasing lock... [2025-03-20 15:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:49:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:49:06 [end_date_ymd] => 2025-03-20 15:49:06 [RateCDR] => 1 ) [2025-03-20 15: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-03-20 12:49:06' and `end` < '2025-03-20 15: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-03-20 15:49:14] Production.ERROR: CronJobId end10 [2025-03-20 15:49:14] Production.INFO: ==9692== Releasing lock... [2025-03-20 15:49:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:49:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:49:15] Production.INFO: call_cost start [2025-03-20 15:49:15] Production.INFO: call_cost end [2025-03-20 15:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:49:16] Production.INFO: ==9687== Releasing lock... [2025-03-20 15:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:49:20] Production.INFO: count ==6441 [2025-03-20 15:49:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:49:06 - End Time 2025-03-20 15:49:06 [2025-03-20 15:49:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723865', 'tblTempUsageDetail_20' ) start [2025-03-20 15:49:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723865', 'tblTempUsageDetail_20' ) end [2025-03-20 15:49:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723865', 'tblTempVendorCDR_20' ) start [2025-03-20 15:49:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723865', 'tblTempVendorCDR_20' ) end [2025-03-20 15:49:23] Production.INFO: ProcessCDR(1,14723865,1,1,2) [2025-03-20 15:49:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:49:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:49:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:49:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:49:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723865', 'tblTempUsageDetail_20' ) start [2025-03-20 15:49:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723865', 'tblTempUsageDetail_20' ) end [2025-03-20 15:49:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:49:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:49:28] Production.INFO: ==9696== Releasing lock... [2025-03-20 15:49:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:49:28] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:50:01] Production.INFO: ==9764== Lock acquired, processing the job... [2025-03-20 19:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:50:01] Production.INFO: neon service started [2025-03-20 19:50:01] Production.INFO: neon service started [2025-03-20 19:50:01] Production.INFO: ==9764== Releasing lock... [2025-03-20 19:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:50:02] Production.INFO: ==9766== Lock acquired, processing the job... [2025-03-20 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:50:02] Production.INFO: ==9768== Lock acquired, processing the job... [2025-03-20 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:50:02] Production.INFO: ==9766== Releasing lock... [2025-03-20 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:50:02] Production.INFO: ==9768== Releasing lock... [2025-03-20 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:50:03] Production.INFO: ==9773== Lock acquired, processing the job... [2025-03-20 15:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:50:03] Production.INFO: ==9771== Lock acquired, processing the job... [2025-03-20 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 15:50:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:50:03] Production.INFO: ==9777== Lock acquired, processing the job... [2025-03-20 15:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:50:03] Production.INFO: ==9775== Lock acquired, processing the job... [2025-03-20 15:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:50:03] Production.INFO: ==9783== Lock acquired, processing the job... [2025-03-20 15:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 15:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 15:50:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 15:50:03] Production.ERROR: CronJob PID - 9773 [2025-03-20 15:50:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 15:50:03] Production.ERROR: CronJob ID - 5 [2025-03-20 15:50:03] Production.ERROR: CronJob Last Run Time 2025-03-20 15:50:00 [2025-03-20 15:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 15:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 15:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 15:50:03] Production.ERROR: CronJob PID - 9775 [2025-03-20 15:50:03] Production.ERROR: CronJob Title - Account Block [2025-03-20 15:50:03] Production.ERROR: CronJob ID - 7 [2025-03-20 15:50:03] Production.ERROR: CronJob Last Run Time 2025-03-20 15:50:00 [2025-03-20 15:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 15:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 15:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 15:50:03] Production.ERROR: CronJob PID - 9777 [2025-03-20 15:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 15:50:03] Production.ERROR: CronJob ID - 10 [2025-03-20 15:50:03] Production.ERROR: CronJob Last Run Time 2025-03-20 15:50:00 [2025-03-20 15:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 15:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 15:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 15:50:03] Production.ERROR: CronJob PID - 9783 [2025-03-20 15:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 15:50:03] Production.ERROR: CronJob ID - 17 [2025-03-20 15:50:03] Production.ERROR: CronJob Last Run Time 2025-03-20 15:50:00 [2025-03-20 15:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 15:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 15:50:03] Production.INFO: ==9779== Lock acquired, processing the job... [2025-03-20 15:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:50:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 15:50:03] Production.INFO: ==9771== Releasing lock... [2025-03-20 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 15:50:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 15:50:04] Production.INFO: Account Balance Start. [2025-03-20 15:50:04] Production.INFO: CreateAllLog Start [2025-03-20 15:50:04] Production.INFO: 117 [2025-03-20 15:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.INFO: ==9781== Lock acquired, processing the job... [2025-03-20 15:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:50:04] Production.INFO: ==9785== Lock acquired, processing the job... [2025-03-20 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.ERROR: done [2025-03-20 15:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.INFO: ==9775== Releasing lock... [2025-03-20 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 15:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723870', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 15:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.INFO: count ==12 [2025-03-20 15:50:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:50:04] Production.INFO: count ==23 [2025-03-20 15:50:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723869') start [2025-03-20 15:50:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723869') end [2025-03-20 15:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:50:04] Production.INFO: 1 [2025-03-20 15:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:50:04] Production.INFO: Total Charge 0 [2025-03-20 15:50:04] Production.INFO: CreateAllLog End [2025-03-20 15:50:05] Production.INFO: ==9785== Releasing lock... [2025-03-20 15:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:50:05] Production.ERROR: done [2025-03-20 15:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:50:05] Production.INFO: Account Balance End. [2025-03-20 15:50:05] Production.ERROR: done [2025-03-20 15:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:50:05] Production.INFO: ==9779== Releasing lock... [2025-03-20 15:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:50:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:50:07 [end_date_ymd] => 2025-03-20 15:50:07 [RateCDR] => 1 ) [2025-03-20 15:50:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:50:07' and `end` < '2025-03-20 15:50:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723870', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 15:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 15:50:09] Production.INFO: ProcessCDR(1,14723870,1,1,2) [2025-03-20 15:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723870,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723870,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:50:09] Production.INFO: ==9783== Releasing lock... [2025-03-20 15:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 15:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 15:50:15] Production.ERROR: CronJobId end10 [2025-03-20 15:50:15] Production.INFO: ==9777== Releasing lock... [2025-03-20 15:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:50:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:50:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:50:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:50:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:50:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:50:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:50:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:50:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:50:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:50:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:50:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:50:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:50:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:50:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:50:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:50:18] Production.INFO: call_cost start [2025-03-20 15:50:18] Production.INFO: call_cost end [2025-03-20 15:50:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:50:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:50:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:50:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:50:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:50:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:50:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:50:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:50:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:50:19] Production.INFO: ==9773== Releasing lock... [2025-03-20 15:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:50:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:50:20] Production.INFO: count ==6434 [2025-03-20 15:50:23] Production.ERROR: pbx CDR StartTime 2025-03-20 12:50:07 - End Time 2025-03-20 15:50:07 [2025-03-20 15:50:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723871', 'tblTempUsageDetail_20' ) start [2025-03-20 15:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723871', 'tblTempUsageDetail_20' ) end [2025-03-20 15:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723871', 'tblTempVendorCDR_20' ) start [2025-03-20 15:50:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723871', 'tblTempVendorCDR_20' ) end [2025-03-20 15:50:23] Production.INFO: ProcessCDR(1,14723871,1,1,2) [2025-03-20 15:50:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:50:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723871,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:50:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:50:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723871,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723871', 'tblTempUsageDetail_20' ) start [2025-03-20 15:50:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723871', 'tblTempUsageDetail_20' ) end [2025-03-20 15:50:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:50:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:50:29] Production.INFO: ==9781== Releasing lock... [2025-03-20 15:50:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:50:29] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:51:02] Production.INFO: ==9849== Lock acquired, processing the job... [2025-03-20 19:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:51:02] Production.INFO: neon service started [2025-03-20 19:51:02] Production.INFO: neon service started [2025-03-20 19:51:02] Production.INFO: ==9849== Releasing lock... [2025-03-20 19:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:51:02] Production.INFO: ==9851== Lock acquired, processing the job... [2025-03-20 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:51:02] Production.INFO: ==9851== Releasing lock... [2025-03-20 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:51:02] Production.INFO: ==9853== Lock acquired, processing the job... [2025-03-20 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:51:03] Production.INFO: ==9853== Releasing lock... [2025-03-20 19:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:51:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:51:03] Production.INFO: ==9856== Lock acquired, processing the job... [2025-03-20 15:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:51:03] Production.INFO: ==9858== Lock acquired, processing the job... [2025-03-20 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:51:03] Production.INFO: ==9860== Lock acquired, processing the job... [2025-03-20 15:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:51:04] Production.INFO: ==9862== Lock acquired, processing the job... [2025-03-20 15:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:51:04] Production.INFO: ==9866== Lock acquired, processing the job... [2025-03-20 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:51:04] Production.INFO: Account Balance Start. [2025-03-20 15:51:04] Production.INFO: CreateAllLog Start [2025-03-20 15:51:04] Production.INFO: 117 [2025-03-20 15:51:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:04] Production.INFO: ==9864== Lock acquired, processing the job... [2025-03-20 15:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:51:04] Production.INFO: ==9858== Releasing lock... [2025-03-20 15:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:51:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:51:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:51:04] Production.INFO: count ==12 [2025-03-20 15:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:51:04] Production.INFO: count ==23 [2025-03-20 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723875') start [2025-03-20 15:51:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723875') end [2025-03-20 15:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:51:04] Production.INFO: 1 [2025-03-20 15:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:04] Production.INFO: ==9866== Releasing lock... [2025-03-20 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:51:04] Production.ERROR: done [2025-03-20 15:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:05] Production.ERROR: done [2025-03-20 15:51:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:51:05] Production.INFO: Total Charge 0 [2025-03-20 15:51:05] Production.INFO: CreateAllLog End [2025-03-20 15:51:05] Production.INFO: Account Balance End. [2025-03-20 15:51:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:51:05] Production.INFO: ==9862== Releasing lock... [2025-03-20 15:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:51:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:51:06 [end_date_ymd] => 2025-03-20 15:51:06 [RateCDR] => 1 ) [2025-03-20 15:51:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:51:06' and `end` < '2025-03-20 15:51:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:51:14] Production.ERROR: CronJobId end10 [2025-03-20 15:51:14] Production.INFO: ==9860== Releasing lock... [2025-03-20 15:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:51:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:51:15] Production.INFO: call_cost start [2025-03-20 15:51:15] Production.INFO: call_cost end [2025-03-20 15:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:51:16] Production.INFO: ==9856== Releasing lock... [2025-03-20 15:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:51:19] Production.INFO: count ==6430 [2025-03-20 15:51:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:51:06 - End Time 2025-03-20 15:51:06 [2025-03-20 15:51:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723876', 'tblTempUsageDetail_20' ) start [2025-03-20 15:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723876', 'tblTempUsageDetail_20' ) end [2025-03-20 15:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723876', 'tblTempVendorCDR_20' ) start [2025-03-20 15:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723876', 'tblTempVendorCDR_20' ) end [2025-03-20 15:51:23] Production.INFO: ProcessCDR(1,14723876,1,1,2) [2025-03-20 15:51:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:51:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723876,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:51:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:51:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723876,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:51:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723876', 'tblTempUsageDetail_20' ) start [2025-03-20 15:51:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723876', 'tblTempUsageDetail_20' ) end [2025-03-20 15:51:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:51:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:51:28] Production.INFO: ==9864== Releasing lock... [2025-03-20 15:51:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:51:28] Production.INFO: 76 MB #Memory Used# [2025-03-20 19:52:01] Production.INFO: ==9930== Lock acquired, processing the job... [2025-03-20 19:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:52:01] Production.INFO: neon service started [2025-03-20 19:52:01] Production.INFO: neon service started [2025-03-20 19:52:01] Production.INFO: ==9930== Releasing lock... [2025-03-20 19:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:52:02] Production.INFO: ==9934== Lock acquired, processing the job... [2025-03-20 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:52:02] Production.INFO: ==9934== Releasing lock... [2025-03-20 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:52:02] Production.INFO: ==9932== Lock acquired, processing the job... [2025-03-20 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:52:02] Production.INFO: ==9932== Releasing lock... [2025-03-20 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:52:03] Production.INFO: ==9937== Lock acquired, processing the job... [2025-03-20 15:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:52:03] Production.INFO: ==9939== Lock acquired, processing the job... [2025-03-20 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:52:03] Production.INFO: ==9941== Lock acquired, processing the job... [2025-03-20 15:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:52:03] Production.INFO: ==9945== Lock acquired, processing the job... [2025-03-20 15:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:52:03] Production.INFO: ==9943== Lock acquired, processing the job... [2025-03-20 15:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:52:03] Production.INFO: ==9947== Lock acquired, processing the job... [2025-03-20 15:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:52:03] Production.INFO: Account Balance Start. [2025-03-20 15:52:03] Production.INFO: CreateAllLog Start [2025-03-20 15:52:03] Production.INFO: 117 [2025-03-20 15:52:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: ==9939== Releasing lock... [2025-03-20 15:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:52:04] Production.ERROR: done [2025-03-20 15:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: count ==12 [2025-03-20 15:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:52:04] Production.INFO: count ==23 [2025-03-20 15:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723880') start [2025-03-20 15:52:04] Production.ERROR: done [2025-03-20 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723880') end [2025-03-20 15:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:52:04] Production.INFO: 1 [2025-03-20 15:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: ==9947== Releasing lock... [2025-03-20 15:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:52:04] Production.INFO: Total Charge 0 [2025-03-20 15:52:04] Production.INFO: CreateAllLog End [2025-03-20 15:52:05] Production.INFO: Account Balance End. [2025-03-20 15:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:52:05] Production.INFO: ==9943== Releasing lock... [2025-03-20 15:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:52:05 [end_date_ymd] => 2025-03-20 15:52:05 [RateCDR] => 1 ) [2025-03-20 15:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:52:05' and `end` < '2025-03-20 15:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:52:13] Production.ERROR: CronJobId end10 [2025-03-20 15:52:13] Production.INFO: ==9941== Releasing lock... [2025-03-20 15:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:52:15] Production.INFO: call_cost start [2025-03-20 15:52:15] Production.INFO: call_cost end [2025-03-20 15:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:52:16] Production.INFO: ==9937== Releasing lock... [2025-03-20 15:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:52:19] Production.INFO: count ==6450 [2025-03-20 15:52:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:52:05 - End Time 2025-03-20 15:52:05 [2025-03-20 15:52:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723881', 'tblTempUsageDetail_20' ) start [2025-03-20 15:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723881', 'tblTempUsageDetail_20' ) end [2025-03-20 15:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723881', 'tblTempVendorCDR_20' ) start [2025-03-20 15:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723881', 'tblTempVendorCDR_20' ) end [2025-03-20 15:52:22] Production.INFO: ProcessCDR(1,14723881,1,1,2) [2025-03-20 15:52:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:52:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:52:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:52:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723881', 'tblTempUsageDetail_20' ) start [2025-03-20 15:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723881', 'tblTempUsageDetail_20' ) end [2025-03-20 15:52:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:52:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:52:27] Production.INFO: ==9945== Releasing lock... [2025-03-20 15:52:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:52:27] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:53:02] Production.INFO: ==10008== Lock acquired, processing the job... [2025-03-20 19:53:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:53:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:53:02] Production.INFO: neon service started [2025-03-20 19:53:02] Production.INFO: neon service started [2025-03-20 19:53:02] Production.INFO: ==10008== Releasing lock... [2025-03-20 19:53:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:53:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:53:02] Production.INFO: ==10012== Lock acquired, processing the job... [2025-03-20 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:53:02] Production.INFO: ==10012== Releasing lock... [2025-03-20 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:53:02] Production.INFO: ==10010== Lock acquired, processing the job... [2025-03-20 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:53:02] Production.INFO: ==10010== Releasing lock... [2025-03-20 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:53:03] Production.INFO: ==10019== Lock acquired, processing the job... [2025-03-20 15:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:53:03] Production.INFO: ==10025== Lock acquired, processing the job... [2025-03-20 15:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:53:04] Production.INFO: ==10015== Lock acquired, processing the job... [2025-03-20 15:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:53:04] Production.INFO: count ==12 [2025-03-20 15:53:04] Production.INFO: ==10017== Lock acquired, processing the job... [2025-03-20 15:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:53:04] Production.INFO: count ==23 [2025-03-20 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723882') start [2025-03-20 15:53:04] Production.INFO: ==10021== Lock acquired, processing the job... [2025-03-20 15:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:53:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:53:04] Production.INFO: ==10023== Lock acquired, processing the job... [2025-03-20 15:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723882') end [2025-03-20 15:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:53:04] Production.INFO: 1 [2025-03-20 15:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:53:04] Production.INFO: ==10025== Releasing lock... [2025-03-20 15:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:53:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:53:04] Production.INFO: Account Balance Start. [2025-03-20 15:53:04] Production.INFO: CreateAllLog Start [2025-03-20 15:53:04] Production.INFO: 117 [2025-03-20 15:53:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:04] Production.INFO: ==10017== Releasing lock... [2025-03-20 15:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:53:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:04] Production.ERROR: done [2025-03-20 15:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:53:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:04] Production.ERROR: done [2025-03-20 15:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:53:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:53:05] Production.INFO: Total Charge 0 [2025-03-20 15:53:05] Production.INFO: CreateAllLog End [2025-03-20 15:53:05] Production.INFO: Account Balance End. [2025-03-20 15:53:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:53:05] Production.INFO: ==10021== Releasing lock... [2025-03-20 15:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:53:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:53:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:53:06 [end_date_ymd] => 2025-03-20 15:53:06 [RateCDR] => 1 ) [2025-03-20 15:53:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:53:06' and `end` < '2025-03-20 15:53:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:53:14] Production.ERROR: CronJobId end10 [2025-03-20 15:53:14] Production.INFO: ==10019== Releasing lock... [2025-03-20 15:53:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:53:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:53:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:53:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:53:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:53:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:53:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:53:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:53:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:53:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:53:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:53:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:53:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:53:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:53:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:53:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:53:16] Production.INFO: call_cost start [2025-03-20 15:53:16] Production.INFO: call_cost end [2025-03-20 15:53:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:53:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:53:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:53:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:53:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:53:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:53:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:53:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:53:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:53:17] Production.INFO: ==10015== Releasing lock... [2025-03-20 15:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:53:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:53:19] Production.INFO: count ==6460 [2025-03-20 15:53:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:53:06 - End Time 2025-03-20 15:53:06 [2025-03-20 15:53:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723886', 'tblTempUsageDetail_20' ) start [2025-03-20 15:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723886', 'tblTempUsageDetail_20' ) end [2025-03-20 15:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723886', 'tblTempVendorCDR_20' ) start [2025-03-20 15:53:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723886', 'tblTempVendorCDR_20' ) end [2025-03-20 15:53:23] Production.INFO: ProcessCDR(1,14723886,1,1,2) [2025-03-20 15:53:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:53:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:53:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723886', 'tblTempUsageDetail_20' ) start [2025-03-20 15:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723886', 'tblTempUsageDetail_20' ) end [2025-03-20 15:53:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:53:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:53:26] Production.INFO: ==10023== Releasing lock... [2025-03-20 15:53:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:53:26] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:54:01] Production.INFO: ==10086== Lock acquired, processing the job... [2025-03-20 19:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:54:01] Production.INFO: neon service started [2025-03-20 19:54:01] Production.INFO: neon service started [2025-03-20 19:54:01] Production.INFO: ==10086== Releasing lock... [2025-03-20 19:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:54:02] Production.INFO: ==10088== Lock acquired, processing the job... [2025-03-20 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:54:02] Production.INFO: ==10090== Lock acquired, processing the job... [2025-03-20 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:54:02] Production.INFO: ==10090== Releasing lock... [2025-03-20 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:54:02] Production.INFO: ==10088== Releasing lock... [2025-03-20 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:54:03] Production.INFO: ==10093== Lock acquired, processing the job... [2025-03-20 15:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:54:03] Production.INFO: ==10097== Lock acquired, processing the job... [2025-03-20 15:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:54:03] Production.INFO: ==10101== Lock acquired, processing the job... [2025-03-20 15:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:54:03] Production.INFO: ==10095== Lock acquired, processing the job... [2025-03-20 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:54:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:54:03] Production.INFO: ==10099== Lock acquired, processing the job... [2025-03-20 15:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:54:03] Production.INFO: ==10103== Lock acquired, processing the job... [2025-03-20 15:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:54:03] Production.INFO: Account Balance Start. [2025-03-20 15:54:03] Production.INFO: CreateAllLog Start [2025-03-20 15:54:03] Production.INFO: 117 [2025-03-20 15:54:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:54:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:03] Production.INFO: count ==12 [2025-03-20 15:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:54:03] Production.INFO: count ==23 [2025-03-20 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723890') start [2025-03-20 15:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.ERROR: done [2025-03-20 15:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723890') end [2025-03-20 15:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:54:04] Production.INFO: 1 [2025-03-20 15:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:54:04] Production.INFO: ==10103== Releasing lock... [2025-03-20 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:54:04] Production.INFO: ==10095== Releasing lock... [2025-03-20 15:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.ERROR: done [2025-03-20 15:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:54:04] Production.INFO: Total Charge 0 [2025-03-20 15:54:04] Production.INFO: CreateAllLog End [2025-03-20 15:54:04] Production.INFO: Account Balance End. [2025-03-20 15:54:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:54:04] Production.INFO: ==10099== Releasing lock... [2025-03-20 15:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:54:05 [end_date_ymd] => 2025-03-20 15:54:05 [RateCDR] => 1 ) [2025-03-20 15:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:54:05' and `end` < '2025-03-20 15:54:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:54:13] Production.ERROR: CronJobId end10 [2025-03-20 15:54:13] Production.INFO: ==10097== Releasing lock... [2025-03-20 15:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:54:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:54:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:54:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:54:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:54:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:54:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:54:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:54:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:54:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:54:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:54:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:54:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:54:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:54:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:54:16] Production.INFO: call_cost start [2025-03-20 15:54:16] Production.INFO: call_cost end [2025-03-20 15:54:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:54:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:54:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:54:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:54:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:54:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:54:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:54:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:54:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:54:17] Production.INFO: ==10093== Releasing lock... [2025-03-20 15:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:54:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:54:19] Production.INFO: count ==6489 [2025-03-20 15:54:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:54:05 - End Time 2025-03-20 15:54:05 [2025-03-20 15:54:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723891', 'tblTempUsageDetail_20' ) start [2025-03-20 15:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723891', 'tblTempUsageDetail_20' ) end [2025-03-20 15:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723891', 'tblTempVendorCDR_20' ) start [2025-03-20 15:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723891', 'tblTempVendorCDR_20' ) end [2025-03-20 15:54:22] Production.INFO: ProcessCDR(1,14723891,1,1,2) [2025-03-20 15:54:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:54:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:54:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:54:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723891', 'tblTempUsageDetail_20' ) start [2025-03-20 15:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723891', 'tblTempUsageDetail_20' ) end [2025-03-20 15:54:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:54:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:54:27] Production.INFO: ==10101== Releasing lock... [2025-03-20 15:54:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:54:27] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 19:55:02] Production.INFO: ==10212== Lock acquired, processing the job... [2025-03-20 19:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:55:02] Production.INFO: neon service started [2025-03-20 19:55:02] Production.INFO: neon service started [2025-03-20 19:55:02] Production.INFO: ==10212== Releasing lock... [2025-03-20 19:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:55:02] Production.INFO: ==10214== Lock acquired, processing the job... [2025-03-20 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:55:02] Production.INFO: ==10214== Releasing lock... [2025-03-20 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:55:03] Production.INFO: ==10216== Lock acquired, processing the job... [2025-03-20 19:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:55:03] Production.INFO: ==10216== Releasing lock... [2025-03-20 19:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:55:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:55:04] Production.INFO: ==10219== Lock acquired, processing the job... [2025-03-20 15:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:55:04] Production.INFO: ==10221== Lock acquired, processing the job... [2025-03-20 15:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:55:04] Production.INFO: ==10225== Lock acquired, processing the job... [2025-03-20 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:55:04] Production.INFO: Account Balance Start. [2025-03-20 15:55:04] Production.INFO: CreateAllLog Start [2025-03-20 15:55:04] Production.INFO: 117 [2025-03-20 15:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:55:04] Production.INFO: ==10223== Lock acquired, processing the job... [2025-03-20 15:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:04] Production.INFO: ==10227== Lock acquired, processing the job... [2025-03-20 15:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:04] Production.INFO: ==10229== Lock acquired, processing the job... [2025-03-20 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:55:04] Production.INFO: ==10221== Releasing lock... [2025-03-20 15:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:04] Production.INFO: count ==12 [2025-03-20 15:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:55:04] Production.INFO: count ==23 [2025-03-20 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723895') start [2025-03-20 15:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:05] Production.ERROR: done [2025-03-20 15:55:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:55:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723895') end [2025-03-20 15:55:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:55:05] Production.INFO: 1 [2025-03-20 15:55:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:55:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:55:05] Production.INFO: ==10229== Releasing lock... [2025-03-20 15:55:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:55:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:55:05] Production.INFO: Total Charge 0 [2025-03-20 15:55:05] Production.ERROR: done [2025-03-20 15:55:05] Production.INFO: CreateAllLog End [2025-03-20 15:55:05] Production.INFO: Account Balance End. [2025-03-20 15:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:55:05] Production.INFO: ==10225== Releasing lock... [2025-03-20 15:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:55:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:55:06 [end_date_ymd] => 2025-03-20 15:55:06 [RateCDR] => 1 ) [2025-03-20 15:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:55:06' and `end` < '2025-03-20 15:55:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:55:14] Production.ERROR: CronJobId end10 [2025-03-20 15:55:14] Production.INFO: ==10223== Releasing lock... [2025-03-20 15:55:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:55:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:55:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:55:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:55:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:55:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:55:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:55:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:55:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:55:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:55:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:55:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:55:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:55:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:55:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:55:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:55:16] Production.INFO: call_cost start [2025-03-20 15:55:16] Production.INFO: call_cost end [2025-03-20 15:55:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:55:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:55:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:55:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:55:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:55:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:55:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:55:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:55:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:55:17] Production.INFO: ==10219== Releasing lock... [2025-03-20 15:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:55:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:55:19] Production.INFO: count ==6465 [2025-03-20 15:55:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:55:06 - End Time 2025-03-20 15:55:06 [2025-03-20 15:55:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723896', 'tblTempUsageDetail_20' ) start [2025-03-20 15:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723896', 'tblTempUsageDetail_20' ) end [2025-03-20 15:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723896', 'tblTempVendorCDR_20' ) start [2025-03-20 15:55:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723896', 'tblTempVendorCDR_20' ) end [2025-03-20 15:55:23] Production.INFO: ProcessCDR(1,14723896,1,1,2) [2025-03-20 15:55:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:55:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:55:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:55:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:55:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723896', 'tblTempUsageDetail_20' ) start [2025-03-20 15:55:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723896', 'tblTempUsageDetail_20' ) end [2025-03-20 15:55:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:55:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:55:28] Production.INFO: ==10227== Releasing lock... [2025-03-20 15:55:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:55:28] Production.INFO: 76.5 MB #Memory Used# [2025-03-20 19:56:01] Production.INFO: ==10299== Lock acquired, processing the job... [2025-03-20 19:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:56:01] Production.INFO: neon service started [2025-03-20 19:56:01] Production.INFO: neon service started [2025-03-20 19:56:01] Production.INFO: ==10299== Releasing lock... [2025-03-20 19:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:56:02] Production.INFO: ==10301== Lock acquired, processing the job... [2025-03-20 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:56:02] Production.INFO: ==10301== Releasing lock... [2025-03-20 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:56:02] Production.INFO: ==10303== Lock acquired, processing the job... [2025-03-20 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:56:02] Production.INFO: ==10303== Releasing lock... [2025-03-20 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:56:03] Production.INFO: ==10306== Lock acquired, processing the job... [2025-03-20 15:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:56:03] Production.INFO: ==10308== Lock acquired, processing the job... [2025-03-20 15:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:56:03] Production.INFO: ==10314== Lock acquired, processing the job... [2025-03-20 15:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:56:03] Production.INFO: ==10310== Lock acquired, processing the job... [2025-03-20 15:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:56:03] Production.INFO: ==10312== Lock acquired, processing the job... [2025-03-20 15:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:56:03] Production.INFO: ==10316== Lock acquired, processing the job... [2025-03-20 15:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:56:03] Production.INFO: Account Balance Start. [2025-03-20 15:56:03] Production.INFO: CreateAllLog Start [2025-03-20 15:56:03] Production.INFO: 117 [2025-03-20 15:56:03] Production.INFO: Date 2025-03-08 [2025-03-20 15:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:56:03] Production.INFO: count ==12 [2025-03-20 15:56:03] Production.INFO: Date 2025-03-09 [2025-03-20 15:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:56:03] Production.INFO: count ==23 [2025-03-20 15:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723900') start [2025-03-20 15:56:03] Production.INFO: ==10308== Releasing lock... [2025-03-20 15:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:56:03] Production.INFO: Date 2025-03-10 [2025-03-20 15:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:03] Production.ERROR: done [2025-03-20 15:56:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:56:03] Production.INFO: Date 2025-03-11 [2025-03-20 15:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723900') end [2025-03-20 15:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:56:04] Production.INFO: 1 [2025-03-20 15:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:04] Production.INFO: ==10316== Releasing lock... [2025-03-20 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:04] Production.ERROR: done [2025-03-20 15:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:56:04] Production.INFO: Total Charge 0 [2025-03-20 15:56:04] Production.INFO: CreateAllLog End [2025-03-20 15:56:04] Production.INFO: Account Balance End. [2025-03-20 15:56:04] Production.ERROR: CronJobId end 12 [2025-03-20 15:56:04] Production.INFO: ==10312== Releasing lock... [2025-03-20 15:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:56:05 [end_date_ymd] => 2025-03-20 15:56:05 [RateCDR] => 1 ) [2025-03-20 15:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:56:05' and `end` < '2025-03-20 15:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:56:12] Production.ERROR: CronJobId end10 [2025-03-20 15:56:12] Production.INFO: ==10310== Releasing lock... [2025-03-20 15:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:56:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:56:15] Production.INFO: call_cost start [2025-03-20 15:56:15] Production.INFO: call_cost end [2025-03-20 15:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:56:16] Production.INFO: ==10306== Releasing lock... [2025-03-20 15:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:56:18] Production.INFO: count ==6427 [2025-03-20 15:56:21] Production.ERROR: pbx CDR StartTime 2025-03-20 12:56:05 - End Time 2025-03-20 15:56:05 [2025-03-20 15:56:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723901', 'tblTempUsageDetail_20' ) start [2025-03-20 15:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723901', 'tblTempUsageDetail_20' ) end [2025-03-20 15:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723901', 'tblTempVendorCDR_20' ) start [2025-03-20 15:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723901', 'tblTempVendorCDR_20' ) end [2025-03-20 15:56:22] Production.INFO: ProcessCDR(1,14723901,1,1,2) [2025-03-20 15:56:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:56:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723901', 'tblTempUsageDetail_20' ) start [2025-03-20 15:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723901', 'tblTempUsageDetail_20' ) end [2025-03-20 15:56:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:56:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:56:27] Production.INFO: ==10314== Releasing lock... [2025-03-20 15:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:56:27] Production.INFO: 76 MB #Memory Used# [2025-03-20 19:57:02] Production.INFO: ==10382== Lock acquired, processing the job... [2025-03-20 19:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:57:02] Production.INFO: neon service started [2025-03-20 19:57:02] Production.INFO: neon service started [2025-03-20 19:57:02] Production.INFO: ==10382== Releasing lock... [2025-03-20 19:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:57:02] Production.INFO: ==10385== Lock acquired, processing the job... [2025-03-20 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 15:57:02] Production.INFO: ==10385== Releasing lock... [2025-03-20 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:57:02] Production.INFO: ==10387== Lock acquired, processing the job... [2025-03-20 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:57:03] Production.INFO: ==10387== Releasing lock... [2025-03-20 19:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:57:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:57:03] Production.INFO: ==10389== Lock acquired, processing the job... [2025-03-20 15:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:57:03] Production.INFO: ==10391== Lock acquired, processing the job... [2025-03-20 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:57:03] Production.INFO: ==10397== Lock acquired, processing the job... [2025-03-20 15:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:57:04] Production.INFO: ==10399== Lock acquired, processing the job... [2025-03-20 15:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:57:04] Production.INFO: ==10393== Lock acquired, processing the job... [2025-03-20 15:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:57:04] Production.INFO: ==10395== Lock acquired, processing the job... [2025-03-20 15:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:57:04] Production.INFO: Account Balance Start. [2025-03-20 15:57:04] Production.INFO: CreateAllLog Start [2025-03-20 15:57:04] Production.INFO: 117 [2025-03-20 15:57:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:57:04] Production.INFO: count ==12 [2025-03-20 15:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:57:04] Production.INFO: count ==23 [2025-03-20 15:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:04] Production.INFO: ==10391== Releasing lock... [2025-03-20 15:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723904') start [2025-03-20 15:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:04] Production.ERROR: done [2025-03-20 15:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723904') end [2025-03-20 15:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:57:04] Production.INFO: 1 [2025-03-20 15:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:04] Production.INFO: ==10399== Releasing lock... [2025-03-20 15:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:57:04] Production.ERROR: done [2025-03-20 15:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:57:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:57:05] Production.INFO: Total Charge 0 [2025-03-20 15:57:05] Production.INFO: CreateAllLog End [2025-03-20 15:57:05] Production.INFO: Account Balance End. [2025-03-20 15:57:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:57:05] Production.INFO: ==10395== Releasing lock... [2025-03-20 15:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:57:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:57:05 [end_date_ymd] => 2025-03-20 15:57:05 [RateCDR] => 1 ) [2025-03-20 15:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:57:05' and `end` < '2025-03-20 15:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:57:14] Production.ERROR: CronJobId end10 [2025-03-20 15:57:14] Production.INFO: ==10393== Releasing lock... [2025-03-20 15:57:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:57:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:57:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:57:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:57:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:57:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:57:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:57:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:57:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:57:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:57:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:57:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:57:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:57:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:57:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:57:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:57:16] Production.INFO: call_cost start [2025-03-20 15:57:16] Production.INFO: call_cost end [2025-03-20 15:57:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:57:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:57:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:57:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:57:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:57:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:57:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:57:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:57:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:57:17] Production.INFO: ==10389== Releasing lock... [2025-03-20 15:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:57:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:57:19] Production.INFO: count ==6436 [2025-03-20 15:57:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:57:05 - End Time 2025-03-20 15:57:05 [2025-03-20 15:57:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723906', 'tblTempUsageDetail_20' ) start [2025-03-20 15:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723906', 'tblTempUsageDetail_20' ) end [2025-03-20 15:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723906', 'tblTempVendorCDR_20' ) start [2025-03-20 15:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723906', 'tblTempVendorCDR_20' ) end [2025-03-20 15:57:23] Production.INFO: ProcessCDR(1,14723906,1,1,2) [2025-03-20 15:57:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:57:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:57:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:57:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723906', 'tblTempUsageDetail_20' ) start [2025-03-20 15:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723906', 'tblTempUsageDetail_20' ) end [2025-03-20 15:57:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:57:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:57:28] Production.INFO: ==10397== Releasing lock... [2025-03-20 15:57:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:57:28] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:58:01] Production.INFO: ==10472== Lock acquired, processing the job... [2025-03-20 19:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:58:01] Production.INFO: neon service started [2025-03-20 19:58:01] Production.INFO: neon service started [2025-03-20 19:58:01] Production.INFO: ==10472== Releasing lock... [2025-03-20 19:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:58:02] Production.INFO: ==10476== Lock acquired, processing the job... [2025-03-20 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 15:58:02] Production.INFO: ==10474== Lock acquired, processing the job... [2025-03-20 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:58:02] Production.INFO: ==10476== Releasing lock... [2025-03-20 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:58:03] Production.INFO: ==10474== Releasing lock... [2025-03-20 15:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:58:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:58:03] Production.INFO: ==10481== Lock acquired, processing the job... [2025-03-20 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:58:03] Production.INFO: ==10479== Lock acquired, processing the job... [2025-03-20 15:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:58:03] Production.INFO: ==10485== Lock acquired, processing the job... [2025-03-20 15:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:58:03] Production.INFO: Account Balance Start. [2025-03-20 15:58:03] Production.INFO: CreateAllLog Start [2025-03-20 15:58:03] Production.INFO: 117 [2025-03-20 15:58:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:58:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.INFO: ==10483== Lock acquired, processing the job... [2025-03-20 15:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:58:04] Production.INFO: ==10487== Lock acquired, processing the job... [2025-03-20 15:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:58:04] Production.INFO: ==10481== Releasing lock... [2025-03-20 15:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:58:04] Production.INFO: ==10489== Lock acquired, processing the job... [2025-03-20 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.INFO: count ==12 [2025-03-20 15:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:58:04] Production.INFO: count ==23 [2025-03-20 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723910') start [2025-03-20 15:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.ERROR: done [2025-03-20 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723910') end [2025-03-20 15:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:58:04] Production.INFO: 1 [2025-03-20 15:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:58:04] Production.INFO: ==10489== Releasing lock... [2025-03-20 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 15:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:58:04] Production.INFO: Total Charge 0 [2025-03-20 15:58:04] Production.INFO: CreateAllLog End [2025-03-20 15:58:04] Production.ERROR: done [2025-03-20 15:58:05] Production.INFO: Account Balance End. [2025-03-20 15:58:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:58:05] Production.INFO: ==10485== Releasing lock... [2025-03-20 15:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:58:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:58:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:58:06 [end_date_ymd] => 2025-03-20 15:58:06 [RateCDR] => 1 ) [2025-03-20 15:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 12:58:06' and `end` < '2025-03-20 15:58:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 15:58:14] Production.ERROR: CronJobId end10 [2025-03-20 15:58:14] Production.INFO: ==10483== Releasing lock... [2025-03-20 15:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:58:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:58:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:58:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:58:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:58:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:58:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:58:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:58:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:58:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:58:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:58:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:58:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:58:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:58:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:58:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:58:16] Production.INFO: call_cost start [2025-03-20 15:58:16] Production.INFO: call_cost end [2025-03-20 15:58:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:58:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:58:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:58:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:58:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:58:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:58:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:58:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:58:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:58:17] Production.INFO: ==10479== Releasing lock... [2025-03-20 15:58:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:58:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:58:19] Production.INFO: count ==6434 [2025-03-20 15:58:22] Production.ERROR: pbx CDR StartTime 2025-03-20 12:58:06 - End Time 2025-03-20 15:58:06 [2025-03-20 15:58:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723911', 'tblTempUsageDetail_20' ) start [2025-03-20 15:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723911', 'tblTempUsageDetail_20' ) end [2025-03-20 15:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723911', 'tblTempVendorCDR_20' ) start [2025-03-20 15:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723911', 'tblTempVendorCDR_20' ) end [2025-03-20 15:58:22] Production.INFO: ProcessCDR(1,14723911,1,1,2) [2025-03-20 15:58:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:58:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:58:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:58:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723911', 'tblTempUsageDetail_20' ) start [2025-03-20 15:58:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723911', 'tblTempUsageDetail_20' ) end [2025-03-20 15:58:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:58:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:58:28] Production.INFO: ==10487== Releasing lock... [2025-03-20 15:58:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:58:28] Production.INFO: 76.25 MB #Memory Used# [2025-03-20 19:59:02] Production.INFO: ==10558== Lock acquired, processing the job... [2025-03-20 19:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 19:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 19:59:02] Production.INFO: neon service started [2025-03-20 19:59:02] Production.INFO: neon service started [2025-03-20 19:59:02] Production.INFO: ==10558== Releasing lock... [2025-03-20 19:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 19:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 15:59:02] Production.INFO: ==10561== Lock acquired, processing the job... [2025-03-20 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:59:03] Production.INFO: ==10563== Lock acquired, processing the job... [2025-03-20 19:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:59:03] Production.INFO: ==10563== Releasing lock... [2025-03-20 19:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 19:59:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 15:59:03] Production.INFO: ==10561== Releasing lock... [2025-03-20 15:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 15:59:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 15:59:04] Production.INFO: ==10569== Lock acquired, processing the job... [2025-03-20 15:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 15:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 15:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 15:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 15:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 15:59:04] Production.INFO: ==10575== Lock acquired, processing the job... [2025-03-20 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 15:59:04] Production.INFO: ==10565== Lock acquired, processing the job... [2025-03-20 15:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 15:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:59:04] Production.INFO: ==10567== Lock acquired, processing the job... [2025-03-20 15:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 15:59:04] Production.INFO: count ==12 [2025-03-20 15:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 15:59:04] Production.INFO: count ==23 [2025-03-20 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723912') start [2025-03-20 15:59:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 15:59:04] Production.INFO: ==10571== Lock acquired, processing the job... [2025-03-20 15:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 15:59:04] Production.INFO: ==10573== Lock acquired, processing the job... [2025-03-20 15:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723912') end [2025-03-20 15:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 15:59:04] Production.INFO: 1 [2025-03-20 15:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 15:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 15:59:04] Production.INFO: ==10575== Releasing lock... [2025-03-20 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 15:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 15:59:04] Production.INFO: Account Balance Start. [2025-03-20 15:59:04] Production.INFO: CreateAllLog Start [2025-03-20 15:59:04] Production.INFO: 117 [2025-03-20 15:59:04] Production.INFO: Date 2025-03-08 [2025-03-20 15:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:04] Production.INFO: Date 2025-03-09 [2025-03-20 15:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:04] Production.INFO: Date 2025-03-10 [2025-03-20 15:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:04] Production.INFO: Date 2025-03-11 [2025-03-20 15:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:05] Production.INFO: Date 2025-03-12 [2025-03-20 15:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:05] Production.INFO: Date 2025-03-13 [2025-03-20 15:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:05] Production.INFO: Date 2025-03-14 [2025-03-20 15:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:05] Production.INFO: Date 2025-03-15 [2025-03-20 15:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:05] Production.INFO: Date 2025-03-16 [2025-03-20 15:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:05] Production.INFO: ==10567== Releasing lock... [2025-03-20 15:59:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 15:59:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 15:59:05] Production.ERROR: done [2025-03-20 15:59:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 15:59:05] Production.INFO: Date 2025-03-17 [2025-03-20 15:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:05] Production.ERROR: done [2025-03-20 15:59:05] Production.INFO: Date 2025-03-18 [2025-03-20 15:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:05] Production.INFO: Date 2025-03-19 [2025-03-20 15:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:05] Production.INFO: Date 2025-03-20 [2025-03-20 15:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 15:59:05] Production.INFO: Total Charge 0 [2025-03-20 15:59:05] Production.INFO: CreateAllLog End [2025-03-20 15:59:05] Production.INFO: Account Balance End. [2025-03-20 15:59:05] Production.ERROR: CronJobId end 12 [2025-03-20 15:59:05] Production.INFO: ==10571== Releasing lock... [2025-03-20 15:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 15:59:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 15:59:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 12:59:06 [end_date_ymd] => 2025-03-20 15:59:06 [RateCDR] => 1 ) [2025-03-20 15: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-03-20 12:59:06' and `end` < '2025-03-20 15: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-03-20 15:59:15] Production.ERROR: CronJobId end10 [2025-03-20 15:59:15] Production.INFO: ==10569== Releasing lock... [2025-03-20 15:59:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 15:59:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 15:59:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 15:59:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 15:59:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 15:59:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 15:59:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 15:59:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 15:59:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 15:59:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 15:59:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 15:59:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 15:59:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 15:59:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 15:59:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 15:59:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 15:59:16] Production.INFO: call_cost start [2025-03-20 15:59:16] Production.INFO: call_cost end [2025-03-20 15:59:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 15:59:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 15:59:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 15:59:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 15:59:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 15:59:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 15:59:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 15:59:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 15:59:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 15:59:17] Production.INFO: ==10565== Releasing lock... [2025-03-20 15:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 15:59:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 15:59:20] Production.INFO: count ==6424 [2025-03-20 15:59:23] Production.ERROR: pbx CDR StartTime 2025-03-20 12:59:06 - End Time 2025-03-20 15:59:06 [2025-03-20 15:59:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 15:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723916', 'tblTempUsageDetail_20' ) start [2025-03-20 15:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723916', 'tblTempUsageDetail_20' ) end [2025-03-20 15:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723916', 'tblTempVendorCDR_20' ) start [2025-03-20 15:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723916', 'tblTempVendorCDR_20' ) end [2025-03-20 15:59:23] Production.INFO: ProcessCDR(1,14723916,1,1,2) [2025-03-20 15:59:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:59:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 15:59:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:59:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 15:59:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723916', 'tblTempUsageDetail_20' ) start [2025-03-20 15:59:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723916', 'tblTempUsageDetail_20' ) end [2025-03-20 15:59:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 15:59:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 15:59:28] Production.INFO: ==10573== Releasing lock... [2025-03-20 15:59:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 15:59:28] Production.INFO: 76 MB #Memory Used# [2025-03-20 20:00:01] Production.INFO: ==10643== Lock acquired, processing the job... [2025-03-20 20:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:00:01] Production.INFO: neon service started [2025-03-20 20:00:01] Production.INFO: neon service started [2025-03-20 20:00:01] Production.INFO: ==10643== Releasing lock... [2025-03-20 20:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:00:02] Production.INFO: ==10647== Lock acquired, processing the job... [2025-03-20 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:00:02] Production.INFO: ==10647== Releasing lock... [2025-03-20 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:00:02] Production.INFO: ==10645== Lock acquired, processing the job... [2025-03-20 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:00:02] Production.INFO: ==10645== Releasing lock... [2025-03-20 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:00:03] Production.INFO: ==10650== Lock acquired, processing the job... [2025-03-20 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 16:00:03] Production.INFO: ==10652== Lock acquired, processing the job... [2025-03-20 16:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 16:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 16:00:03] Production.INFO: ==10650== Releasing lock... [2025-03-20 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 16:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 16:00:04] Production.INFO: ==10656== Lock acquired, processing the job... [2025-03-20 16:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:00:04] Production.INFO: ==10654== Lock acquired, processing the job... [2025-03-20 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:00:04] Production.INFO: ==10660== Lock acquired, processing the job... [2025-03-20 16:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:00:04] Production.INFO: ==10658== Lock acquired, processing the job... [2025-03-20 16:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:00:04] Production.INFO: ==10662== Lock acquired, processing the job... [2025-03-20 16:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 16:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:00:04] Production.INFO: ==10664== Lock acquired, processing the job... [2025-03-20 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:00:04] Production.INFO: Account Balance Start. [2025-03-20 16:00:04] Production.INFO: CreateAllLog Start [2025-03-20 16:00:04] Production.INFO: 117 [2025-03-20 16:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:04] Production.INFO: count ==12 [2025-03-20 16:00:04] Production.ERROR: done [2025-03-20 16:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:00:04] Production.INFO: count ==23 [2025-03-20 16:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723920') start [2025-03-20 16:00:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:04] Production.INFO: ==10654== Releasing lock... [2025-03-20 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:00:04] Production.ERROR: done [2025-03-20 16:00:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723920') end [2025-03-20 16:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:00:04] Production.INFO: 1 [2025-03-20 16:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:00:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:04] Production.INFO: ==10664== Releasing lock... [2025-03-20 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:00:04] Production.ERROR: done [2025-03-20 16:00:05] Production.INFO: Date 2025-03-14 [2025-03-20 16:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 16:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723922', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 16:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 16:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 16:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 16:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:00:05] Production.INFO: Total Charge 0 [2025-03-20 16:00:05] Production.INFO: CreateAllLog End [2025-03-20 16:00:05] Production.INFO: Account Balance End. [2025-03-20 16:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:00:05] Production.INFO: ==10658== Releasing lock... [2025-03-20 16:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:00:06 [end_date_ymd] => 2025-03-20 16:00:06 [RateCDR] => 1 ) [2025-03-20 16:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:00:06' and `end` < '2025-03-20 16:00:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723922', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 16:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 16:00:09] Production.INFO: ProcessCDR(1,14723922,1,1,2) [2025-03-20 16:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723922,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723922,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:00:09] Production.INFO: ==10662== Releasing lock... [2025-03-20 16:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 16:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 16:00:15] Production.ERROR: CronJobId end10 [2025-03-20 16:00:15] Production.INFO: ==10656== Releasing lock... [2025-03-20 16:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:00:17] Production.INFO: call_cost start [2025-03-20 16:00:17] Production.INFO: call_cost end [2025-03-20 16:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:00:18] Production.INFO: ==10652== Releasing lock... [2025-03-20 16:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:00:19] Production.INFO: count ==6402 [2025-03-20 16:00:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:00:06 - End Time 2025-03-20 16:00:06 [2025-03-20 16:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723921', 'tblTempUsageDetail_20' ) start [2025-03-20 16:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723921', 'tblTempUsageDetail_20' ) end [2025-03-20 16:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723921', 'tblTempVendorCDR_20' ) start [2025-03-20 16:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723921', 'tblTempVendorCDR_20' ) end [2025-03-20 16:00:23] Production.INFO: ProcessCDR(1,14723921,1,1,2) [2025-03-20 16:00:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:00:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:00:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:00:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723921', 'tblTempUsageDetail_20' ) start [2025-03-20 16:00:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723921', 'tblTempUsageDetail_20' ) end [2025-03-20 16:00:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:00:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:00:28] Production.INFO: ==10660== Releasing lock... [2025-03-20 16:00:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:00:28] Production.INFO: 76 MB #Memory Used# [2025-03-20 20:01:02] Production.INFO: ==10738== Lock acquired, processing the job... [2025-03-20 20:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:01:02] Production.INFO: neon service started [2025-03-20 20:01:02] Production.INFO: neon service started [2025-03-20 20:01:02] Production.INFO: ==10738== Releasing lock... [2025-03-20 20:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:01:02] Production.INFO: ==10752== Lock acquired, processing the job... [2025-03-20 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:01:02] Production.INFO: ==10752== Releasing lock... [2025-03-20 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:01:02] Production.INFO: ==10750== Lock acquired, processing the job... [2025-03-20 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:01:03] Production.INFO: ==10750== Releasing lock... [2025-03-20 16:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:01:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:01:03] Production.INFO: ==10758== Lock acquired, processing the job... [2025-03-20 16:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:01:03] Production.INFO: ==10756== Lock acquired, processing the job... [2025-03-20 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:01:03] Production.INFO: ==10762== Lock acquired, processing the job... [2025-03-20 16:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:01:04] Production.INFO: ==10754== Lock acquired, processing the job... [2025-03-20 16:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:01:04] Production.INFO: ==10760== Lock acquired, processing the job... [2025-03-20 16:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:01:04] Production.INFO: ==10765== Lock acquired, processing the job... [2025-03-20 16:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:01:04] Production.ERROR: done [2025-03-20 16:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:01:04] Production.INFO: ==10756== Releasing lock... [2025-03-20 16:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:01:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:01:04] Production.INFO: Account Balance Start. [2025-03-20 16:01:04] Production.INFO: CreateAllLog Start [2025-03-20 16:01:04] Production.INFO: 117 [2025-03-20 16:01:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:01:04] Production.INFO: count ==12 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.ERROR: done [2025-03-20 16:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.INFO: count ==23 [2025-03-20 16:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723926') start [2025-03-20 16:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723926') end [2025-03-20 16:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:01:04] Production.INFO: 1 [2025-03-20 16:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.INFO: ==10765== Releasing lock... [2025-03-20 16:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:01:04] Production.INFO: Total Charge 0 [2025-03-20 16:01:05] Production.INFO: CreateAllLog End [2025-03-20 16:01:05] Production.INFO: Account Balance End. [2025-03-20 16:01:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:01:05] Production.INFO: ==10760== Releasing lock... [2025-03-20 16:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:01:05 [end_date_ymd] => 2025-03-20 16:01:05 [RateCDR] => 1 ) [2025-03-20 16:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:01:05' and `end` < '2025-03-20 16:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:01:14] Production.ERROR: CronJobId end10 [2025-03-20 16:01:14] Production.INFO: ==10758== Releasing lock... [2025-03-20 16:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:01:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:01:16] Production.INFO: call_cost start [2025-03-20 16:01:16] Production.INFO: call_cost end [2025-03-20 16:01:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:01:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:01:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:01:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:01:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:01:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:01:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:01:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:01:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:01:17] Production.INFO: ==10754== Releasing lock... [2025-03-20 16:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:01:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:01:19] Production.INFO: count ==6383 [2025-03-20 16:01:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:01:05 - End Time 2025-03-20 16:01:05 [2025-03-20 16:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723927', 'tblTempUsageDetail_20' ) start [2025-03-20 16:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723927', 'tblTempUsageDetail_20' ) end [2025-03-20 16:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723927', 'tblTempVendorCDR_20' ) start [2025-03-20 16:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723927', 'tblTempVendorCDR_20' ) end [2025-03-20 16:01:22] Production.INFO: ProcessCDR(1,14723927,1,1,2) [2025-03-20 16:01:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723927', 'tblTempUsageDetail_20' ) start [2025-03-20 16:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723927', 'tblTempUsageDetail_20' ) end [2025-03-20 16:01:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:01:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:01:26] Production.INFO: ==10762== Releasing lock... [2025-03-20 16:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:01:26] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 20:02:01] Production.INFO: ==10829== Lock acquired, processing the job... [2025-03-20 20:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:02:01] Production.INFO: neon service started [2025-03-20 20:02:01] Production.INFO: neon service started [2025-03-20 20:02:01] Production.INFO: ==10829== Releasing lock... [2025-03-20 20:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:02:02] Production.INFO: ==10831== Lock acquired, processing the job... [2025-03-20 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:02:02] Production.INFO: ==10831== Releasing lock... [2025-03-20 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:02:02] Production.INFO: ==10833== Lock acquired, processing the job... [2025-03-20 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:02:02] Production.INFO: ==10833== Releasing lock... [2025-03-20 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:02:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:02:03] Production.INFO: ==10839== Lock acquired, processing the job... [2025-03-20 16:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:02:03] Production.INFO: ==10845== Lock acquired, processing the job... [2025-03-20 16:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:02:03] Production.INFO: ==10835== Lock acquired, processing the job... [2025-03-20 16:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:02:03] Production.INFO: ==10837== Lock acquired, processing the job... [2025-03-20 16:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:02:03] Production.INFO: ==10841== Lock acquired, processing the job... [2025-03-20 16:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:02:03] Production.INFO: ==10843== Lock acquired, processing the job... [2025-03-20 16:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:02:03] Production.INFO: Account Balance Start. [2025-03-20 16:02:03] Production.INFO: CreateAllLog Start [2025-03-20 16:02:03] Production.INFO: 117 [2025-03-20 16:02:03] Production.INFO: count ==12 [2025-03-20 16:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:02:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:02:03] Production.INFO: count ==23 [2025-03-20 16:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723929') start [2025-03-20 16:02:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723929') end [2025-03-20 16:02:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:02:03] Production.INFO: 1 [2025-03-20 16:02:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:02:03] Production.INFO: ==10845== Releasing lock... [2025-03-20 16:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:02:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:02:03] Production.INFO: ==10837== Releasing lock... [2025-03-20 16:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:02:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:04] Production.ERROR: done [2025-03-20 16:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:04] Production.ERROR: done [2025-03-20 16:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:02:04] Production.INFO: Total Charge 0 [2025-03-20 16:02:04] Production.INFO: CreateAllLog End [2025-03-20 16:02:04] Production.INFO: Account Balance End. [2025-03-20 16:02:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:02:04] Production.INFO: ==10841== Releasing lock... [2025-03-20 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:02:05 [end_date_ymd] => 2025-03-20 16:02:05 [RateCDR] => 1 ) [2025-03-20 16:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:02:05' and `end` < '2025-03-20 16:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:02:13] Production.ERROR: CronJobId end10 [2025-03-20 16:02:13] Production.INFO: ==10839== Releasing lock... [2025-03-20 16:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:02:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:02:15] Production.INFO: call_cost start [2025-03-20 16:02:15] Production.INFO: call_cost end [2025-03-20 16:02:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:02:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:02:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:02:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:02:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:02:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:02:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:02:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:02:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:02:16] Production.INFO: ==10835== Releasing lock... [2025-03-20 16:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:02:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:02:18] Production.INFO: count ==6338 [2025-03-20 16:02:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:02:05 - End Time 2025-03-20 16:02:05 [2025-03-20 16:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723932', 'tblTempUsageDetail_20' ) start [2025-03-20 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723932', 'tblTempUsageDetail_20' ) end [2025-03-20 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723932', 'tblTempVendorCDR_20' ) start [2025-03-20 16:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723932', 'tblTempVendorCDR_20' ) end [2025-03-20 16:02:21] Production.INFO: ProcessCDR(1,14723932,1,1,2) [2025-03-20 16:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:02:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:02:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:02:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723932', 'tblTempUsageDetail_20' ) start [2025-03-20 16:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723932', 'tblTempUsageDetail_20' ) end [2025-03-20 16:02:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:02:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:02:26] Production.INFO: ==10843== Releasing lock... [2025-03-20 16:02:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:02:26] Production.INFO: 75.5 MB #Memory Used# [2025-03-20 20:03:02] Production.INFO: ==10912== Lock acquired, processing the job... [2025-03-20 20:03:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:03:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:03:02] Production.INFO: neon service started [2025-03-20 20:03:02] Production.INFO: neon service started [2025-03-20 20:03:02] Production.INFO: ==10912== Releasing lock... [2025-03-20 20:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:03:02] Production.INFO: ==10914== Lock acquired, processing the job... [2025-03-20 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:03:03] Production.INFO: ==10916== Lock acquired, processing the job... [2025-03-20 20:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:03:03] Production.INFO: ==10914== Releasing lock... [2025-03-20 16:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:03:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:03:03] Production.INFO: ==10916== Releasing lock... [2025-03-20 20:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:03:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:03:03] Production.INFO: ==10919== Lock acquired, processing the job... [2025-03-20 16:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:03:03] Production.INFO: ==10923== Lock acquired, processing the job... [2025-03-20 16:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:03:04] Production.INFO: ==10929== Lock acquired, processing the job... [2025-03-20 16:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:03:04] Production.INFO: ==10921== Lock acquired, processing the job... [2025-03-20 16:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:03:04] Production.INFO: count ==12 [2025-03-20 16:03:04] Production.INFO: ==10925== Lock acquired, processing the job... [2025-03-20 16:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:03:04] Production.INFO: count ==23 [2025-03-20 16:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723934') start [2025-03-20 16:03:04] Production.INFO: ==10927== Lock acquired, processing the job... [2025-03-20 16:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723934') end [2025-03-20 16:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:03:04] Production.INFO: 1 [2025-03-20 16:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:03:04] Production.INFO: Account Balance Start. [2025-03-20 16:03:04] Production.INFO: CreateAllLog Start [2025-03-20 16:03:04] Production.INFO: 117 [2025-03-20 16:03:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:04] Production.INFO: ==10929== Releasing lock... [2025-03-20 16:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:03:04] Production.INFO: ==10921== Releasing lock... [2025-03-20 16:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:04] Production.ERROR: done [2025-03-20 16:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:03:05] Production.INFO: Date 2025-03-16 [2025-03-20 16:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:05] Production.INFO: Date 2025-03-17 [2025-03-20 16:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:05] Production.ERROR: done [2025-03-20 16:03:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:03:05] Production.INFO: Total Charge 0 [2025-03-20 16:03:05] Production.INFO: CreateAllLog End [2025-03-20 16:03:05] Production.INFO: Account Balance End. [2025-03-20 16:03:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:03:05] Production.INFO: ==10925== Releasing lock... [2025-03-20 16:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:03:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:03:06 [end_date_ymd] => 2025-03-20 16:03:06 [RateCDR] => 1 ) [2025-03-20 16:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:03:06' and `end` < '2025-03-20 16:03:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:03:13] Production.ERROR: CronJobId end10 [2025-03-20 16:03:13] Production.INFO: ==10923== Releasing lock... [2025-03-20 16:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:03:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:03:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:03:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:03:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:03:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:03:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:03:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:03:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:03:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:03:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:03:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:03:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:03:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:03:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:03:15] Production.INFO: call_cost start [2025-03-20 16:03:15] Production.INFO: call_cost end [2025-03-20 16:03:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:03:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:03:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:03:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:03:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:03:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:03:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:03:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:03:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:03:16] Production.INFO: ==10919== Releasing lock... [2025-03-20 16:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:03:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:03:19] Production.INFO: count ==6327 [2025-03-20 16:03:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:03:06 - End Time 2025-03-20 16:03:06 [2025-03-20 16:03:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723937', 'tblTempUsageDetail_20' ) start [2025-03-20 16:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723937', 'tblTempUsageDetail_20' ) end [2025-03-20 16:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723937', 'tblTempVendorCDR_20' ) start [2025-03-20 16:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723937', 'tblTempVendorCDR_20' ) end [2025-03-20 16:03:23] Production.INFO: ProcessCDR(1,14723937,1,1,2) [2025-03-20 16:03:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:03:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:03:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:03:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:03:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723937', 'tblTempUsageDetail_20' ) start [2025-03-20 16:03:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723937', 'tblTempUsageDetail_20' ) end [2025-03-20 16:03:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:03:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:03:29] Production.INFO: ==10927== Releasing lock... [2025-03-20 16:03:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:03:29] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:04:01] Production.INFO: ==10988== Lock acquired, processing the job... [2025-03-20 20:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:04:01] Production.INFO: neon service started [2025-03-20 20:04:01] Production.INFO: neon service started [2025-03-20 20:04:01] Production.INFO: ==10988== Releasing lock... [2025-03-20 20:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:04:02] Production.INFO: ==10992== Lock acquired, processing the job... [2025-03-20 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:04:02] Production.INFO: ==10992== Releasing lock... [2025-03-20 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:04:02] Production.INFO: ==10990== Lock acquired, processing the job... [2025-03-20 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:04:02] Production.INFO: ==10990== Releasing lock... [2025-03-20 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:04:03] Production.INFO: ==11000== Lock acquired, processing the job... [2025-03-20 16:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:04:03] Production.INFO: ==11006== Lock acquired, processing the job... [2025-03-20 16:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:04:03] Production.INFO: ==10996== Lock acquired, processing the job... [2025-03-20 16:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:04:03] Production.INFO: count ==12 [2025-03-20 16:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:04:03] Production.INFO: count ==23 [2025-03-20 16:04:03] Production.INFO: ==10998== Lock acquired, processing the job... [2025-03-20 16:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723938') start [2025-03-20 16:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:04:03] Production.INFO: ==11002== Lock acquired, processing the job... [2025-03-20 16:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:04:03] Production.INFO: ==11004== Lock acquired, processing the job... [2025-03-20 16:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723938') end [2025-03-20 16:04:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:04:03] Production.INFO: 1 [2025-03-20 16:04:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:04:03] Production.INFO: Account Balance Start. [2025-03-20 16:04:03] Production.INFO: CreateAllLog Start [2025-03-20 16:04:03] Production.INFO: 117 [2025-03-20 16:04:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:03] Production.INFO: ==11006== Releasing lock... [2025-03-20 16:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:04:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.INFO: ==10998== Releasing lock... [2025-03-20 16:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.ERROR: done [2025-03-20 16:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.ERROR: done [2025-03-20 16:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:04:04] Production.INFO: Total Charge 0 [2025-03-20 16:04:04] Production.INFO: CreateAllLog End [2025-03-20 16:04:04] Production.INFO: Account Balance End. [2025-03-20 16:04:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:04:04] Production.INFO: ==11002== Releasing lock... [2025-03-20 16:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:04:05 [end_date_ymd] => 2025-03-20 16:04:05 [RateCDR] => 1 ) [2025-03-20 16:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:04:05' and `end` < '2025-03-20 16:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:04:12] Production.ERROR: CronJobId end10 [2025-03-20 16:04:12] Production.INFO: ==11000== Releasing lock... [2025-03-20 16:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:04:14] Production.INFO: call_cost start [2025-03-20 16:04:14] Production.INFO: call_cost end [2025-03-20 16:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:04:15] Production.INFO: ==10996== Releasing lock... [2025-03-20 16:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:04:18] Production.INFO: count ==6320 [2025-03-20 16:04:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:04:05 - End Time 2025-03-20 16:04:05 [2025-03-20 16:04:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723942', 'tblTempUsageDetail_20' ) start [2025-03-20 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723942', 'tblTempUsageDetail_20' ) end [2025-03-20 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723942', 'tblTempVendorCDR_20' ) start [2025-03-20 16:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723942', 'tblTempVendorCDR_20' ) end [2025-03-20 16:04:21] Production.INFO: ProcessCDR(1,14723942,1,1,2) [2025-03-20 16:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723942', 'tblTempUsageDetail_20' ) start [2025-03-20 16:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723942', 'tblTempUsageDetail_20' ) end [2025-03-20 16:04:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:04:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:04:27] Production.INFO: ==11004== Releasing lock... [2025-03-20 16:04:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:04:27] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:05:02] Production.INFO: ==11070== Lock acquired, processing the job... [2025-03-20 20:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:05:02] Production.INFO: neon service started [2025-03-20 20:05:02] Production.INFO: neon service started [2025-03-20 20:05:02] Production.INFO: ==11070== Releasing lock... [2025-03-20 20:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:05:02] Production.INFO: ==11072== Lock acquired, processing the job... [2025-03-20 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:05:02] Production.INFO: ==11072== Releasing lock... [2025-03-20 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:05:02] Production.INFO: ==11074== Lock acquired, processing the job... [2025-03-20 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:05:02] Production.INFO: ==11074== Releasing lock... [2025-03-20 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:05:03] Production.INFO: ==11076== Lock acquired, processing the job... [2025-03-20 16:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:05:03] Production.INFO: ==11086== Lock acquired, processing the job... [2025-03-20 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:05:03] Production.INFO: ==11078== Lock acquired, processing the job... [2025-03-20 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:05:03] Production.INFO: ==11080== Lock acquired, processing the job... [2025-03-20 16:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:05:03] Production.INFO: count ==12 [2025-03-20 16:05:03] Production.INFO: ==11082== Lock acquired, processing the job... [2025-03-20 16:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:05:03] Production.INFO: count ==23 [2025-03-20 16:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723944') start [2025-03-20 16:05:03] Production.INFO: ==11084== Lock acquired, processing the job... [2025-03-20 16:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723944') end [2025-03-20 16:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:05:04] Production.INFO: 1 [2025-03-20 16:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:05:04] Production.INFO: Account Balance Start. [2025-03-20 16:05:04] Production.INFO: CreateAllLog Start [2025-03-20 16:05:04] Production.INFO: 117 [2025-03-20 16:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:05:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:04] Production.INFO: ==11086== Releasing lock... [2025-03-20 16:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:05:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:04] Production.INFO: ==11078== Releasing lock... [2025-03-20 16:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:04] Production.ERROR: done [2025-03-20 16:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:04] Production.ERROR: done [2025-03-20 16:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:05:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:05:05] Production.INFO: Total Charge 0 [2025-03-20 16:05:05] Production.INFO: CreateAllLog End [2025-03-20 16:05:05] Production.INFO: Account Balance End. [2025-03-20 16:05:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:05:05] Production.INFO: ==11082== Releasing lock... [2025-03-20 16:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:05:05 [end_date_ymd] => 2025-03-20 16:05:05 [RateCDR] => 1 ) [2025-03-20 16:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:05:05' and `end` < '2025-03-20 16:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:05:13] Production.ERROR: CronJobId end10 [2025-03-20 16:05:13] Production.INFO: ==11080== Releasing lock... [2025-03-20 16:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:05:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:05:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:05:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:05:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:05:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:05:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:05:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:05:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:05:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:05:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:05:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:05:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:05:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:05:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:05:15] Production.INFO: call_cost start [2025-03-20 16:05:15] Production.INFO: call_cost end [2025-03-20 16:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:05:16] Production.INFO: ==11076== Releasing lock... [2025-03-20 16:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:05:19] Production.INFO: count ==6293 [2025-03-20 16:05:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:05:05 - End Time 2025-03-20 16:05:05 [2025-03-20 16:05:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723947', 'tblTempUsageDetail_20' ) start [2025-03-20 16:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723947', 'tblTempUsageDetail_20' ) end [2025-03-20 16:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723947', 'tblTempVendorCDR_20' ) start [2025-03-20 16:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723947', 'tblTempVendorCDR_20' ) end [2025-03-20 16:05:22] Production.INFO: ProcessCDR(1,14723947,1,1,2) [2025-03-20 16:05:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:05:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:05:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:05:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723947', 'tblTempUsageDetail_20' ) start [2025-03-20 16:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723947', 'tblTempUsageDetail_20' ) end [2025-03-20 16:05:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:05:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:05:27] Production.INFO: ==11084== Releasing lock... [2025-03-20 16:05:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:05:27] Production.INFO: 75 MB #Memory Used# [2025-03-20 20:06:01] Production.INFO: ==11154== Lock acquired, processing the job... [2025-03-20 20:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:06:01] Production.INFO: neon service started [2025-03-20 20:06:01] Production.INFO: neon service started [2025-03-20 20:06:01] Production.INFO: ==11154== Releasing lock... [2025-03-20 20:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:06:01] Production.INFO: ==11156== Lock acquired, processing the job... [2025-03-20 16:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:06:02] Production.INFO: ==11156== Releasing lock... [2025-03-20 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:06:02] Production.INFO: ==11158== Lock acquired, processing the job... [2025-03-20 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:06:02] Production.INFO: ==11158== Releasing lock... [2025-03-20 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:06:03] Production.INFO: ==11160== Lock acquired, processing the job... [2025-03-20 16:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:06:03] Production.INFO: ==11165== Lock acquired, processing the job... [2025-03-20 16:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:06:03] Production.INFO: ==11162== Lock acquired, processing the job... [2025-03-20 16:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:06:03] Production.INFO: ==11169== Lock acquired, processing the job... [2025-03-20 16:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:06:03] Production.INFO: ==11167== Lock acquired, processing the job... [2025-03-20 16:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:06:03] Production.INFO: Account Balance Start. [2025-03-20 16:06:03] Production.INFO: CreateAllLog Start [2025-03-20 16:06:03] Production.INFO: 117 [2025-03-20 16:06:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:06:03] Production.INFO: ==11171== Lock acquired, processing the job... [2025-03-20 16:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 16: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-03-20 16:06:03] Production.INFO: ==11162== Releasing lock... [2025-03-20 16:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:06:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:06:03] Production.INFO: count ==12 [2025-03-20 16: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-03-20 16:06:03] Production.INFO: count ==23 [2025-03-20 16:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723951') start [2025-03-20 16:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723951') end [2025-03-20 16:06:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:06:03] Production.INFO: 1 [2025-03-20 16:06:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:06:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:03] Production.ERROR: done [2025-03-20 16:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:06:03] Production.INFO: ==11171== Releasing lock... [2025-03-20 16:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:06:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:06:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:04] Production.ERROR: done [2025-03-20 16:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:06:04] Production.INFO: Total Charge 0 [2025-03-20 16:06:04] Production.INFO: CreateAllLog End [2025-03-20 16:06:04] Production.INFO: Account Balance End. [2025-03-20 16:06:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:06:04] Production.INFO: ==11167== Releasing lock... [2025-03-20 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:06:05 [end_date_ymd] => 2025-03-20 16:06:05 [RateCDR] => 1 ) [2025-03-20 16:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:06:05' and `end` < '2025-03-20 16:06:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:06:13] Production.ERROR: CronJobId end10 [2025-03-20 16:06:13] Production.INFO: ==11165== Releasing lock... [2025-03-20 16:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:06:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:06:14] Production.INFO: call_cost start [2025-03-20 16:06:14] Production.INFO: call_cost end [2025-03-20 16:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:06:15] Production.INFO: ==11160== Releasing lock... [2025-03-20 16:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:06:18] Production.INFO: count ==6331 [2025-03-20 16:06:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:06:05 - End Time 2025-03-20 16:06:05 [2025-03-20 16:06:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723952', 'tblTempUsageDetail_20' ) start [2025-03-20 16:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723952', 'tblTempUsageDetail_20' ) end [2025-03-20 16:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723952', 'tblTempVendorCDR_20' ) start [2025-03-20 16:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723952', 'tblTempVendorCDR_20' ) end [2025-03-20 16:06:21] Production.INFO: ProcessCDR(1,14723952,1,1,2) [2025-03-20 16:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723952', 'tblTempUsageDetail_20' ) start [2025-03-20 16:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723952', 'tblTempUsageDetail_20' ) end [2025-03-20 16:06:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:06:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:06:26] Production.INFO: ==11169== Releasing lock... [2025-03-20 16:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:06:26] Production.INFO: 75.5 MB #Memory Used# [2025-03-20 20:07:01] Production.INFO: ==11248== Lock acquired, processing the job... [2025-03-20 20:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:07:02] Production.INFO: neon service started [2025-03-20 20:07:02] Production.INFO: neon service started [2025-03-20 20:07:02] Production.INFO: ==11248== Releasing lock... [2025-03-20 20:07:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:07:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:07:02] Production.INFO: ==11252== Lock acquired, processing the job... [2025-03-20 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:07:02] Production.INFO: ==11252== Releasing lock... [2025-03-20 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:07:02] Production.INFO: ==11250== Lock acquired, processing the job... [2025-03-20 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:07:02] Production.INFO: ==11250== Releasing lock... [2025-03-20 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:07:03] Production.INFO: ==11256== Lock acquired, processing the job... [2025-03-20 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:07:03] Production.INFO: ==11262== Lock acquired, processing the job... [2025-03-20 16:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:07:03] Production.INFO: ==11254== Lock acquired, processing the job... [2025-03-20 16:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:07:03] Production.INFO: ==11258== Lock acquired, processing the job... [2025-03-20 16:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:07:04] Production.INFO: ==11260== Lock acquired, processing the job... [2025-03-20 16:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:07:04] Production.INFO: ==11264== Lock acquired, processing the job... [2025-03-20 16:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:07:04] Production.INFO: count ==12 [2025-03-20 16:07:04] Production.INFO: Account Balance Start. [2025-03-20 16:07:04] Production.INFO: CreateAllLog Start [2025-03-20 16:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:07:04] Production.INFO: 117 [2025-03-20 16:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:07:04] Production.INFO: count ==23 [2025-03-20 16:07:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723955') start [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.ERROR: done [2025-03-20 16:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:07:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723955') end [2025-03-20 16:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:07:04] Production.INFO: 1 [2025-03-20 16:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:07:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.INFO: ==11264== Releasing lock... [2025-03-20 16:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:07:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.ERROR: done [2025-03-20 16:07:04] Production.INFO: ==11256== Releasing lock... [2025-03-20 16:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:07:04] Production.INFO: Total Charge 0 [2025-03-20 16:07:05] Production.INFO: CreateAllLog End [2025-03-20 16:07:05] Production.INFO: Account Balance End. [2025-03-20 16:07:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:07:05] Production.INFO: ==11260== Releasing lock... [2025-03-20 16:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:07:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:07:05 [end_date_ymd] => 2025-03-20 16:07:05 [RateCDR] => 1 ) [2025-03-20 16:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:07:05' and `end` < '2025-03-20 16:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:07:13] Production.ERROR: CronJobId end10 [2025-03-20 16:07:13] Production.INFO: ==11258== Releasing lock... [2025-03-20 16:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:07:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:07:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:07:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:07:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:07:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:07:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:07:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:07:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:07:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:07:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:07:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:07:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:07:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:07:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:07:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:07:15] Production.INFO: call_cost start [2025-03-20 16:07:15] Production.INFO: call_cost end [2025-03-20 16:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:07:16] Production.INFO: ==11254== Releasing lock... [2025-03-20 16:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:07:19] Production.INFO: count ==6308 [2025-03-20 16:07:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:07:05 - End Time 2025-03-20 16:07:05 [2025-03-20 16:07:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723957', 'tblTempUsageDetail_20' ) start [2025-03-20 16:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723957', 'tblTempUsageDetail_20' ) end [2025-03-20 16:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723957', 'tblTempVendorCDR_20' ) start [2025-03-20 16:07:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723957', 'tblTempVendorCDR_20' ) end [2025-03-20 16:07:22] Production.INFO: ProcessCDR(1,14723957,1,1,2) [2025-03-20 16:07:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:07:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723957', 'tblTempUsageDetail_20' ) start [2025-03-20 16:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723957', 'tblTempUsageDetail_20' ) end [2025-03-20 16:07:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:07:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:07:27] Production.INFO: ==11262== Releasing lock... [2025-03-20 16:07:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:07:27] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:08:01] Production.INFO: ==11337== Lock acquired, processing the job... [2025-03-20 20:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:08:01] Production.INFO: neon service started [2025-03-20 20:08:01] Production.INFO: neon service started [2025-03-20 20:08:01] Production.INFO: ==11337== Releasing lock... [2025-03-20 20:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:08:01] Production.INFO: ==11341== Lock acquired, processing the job... [2025-03-20 20:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:08:01] Production.INFO: ==11341== Releasing lock... [2025-03-20 20:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:08:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:08:01] Production.INFO: ==11339== Lock acquired, processing the job... [2025-03-20 16:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:08:02] Production.INFO: ==11339== Releasing lock... [2025-03-20 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:08:02] Production.INFO: ==11344== Lock acquired, processing the job... [2025-03-20 16:08:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:08:03] Production.INFO: ==11346== Lock acquired, processing the job... [2025-03-20 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:08:03] Production.INFO: ==11352== Lock acquired, processing the job... [2025-03-20 16:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:08:03] Production.INFO: ==11348== Lock acquired, processing the job... [2025-03-20 16:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:08:03] Production.INFO: ==11350== Lock acquired, processing the job... [2025-03-20 16:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:08:03] Production.INFO: ==11354== Lock acquired, processing the job... [2025-03-20 16:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:08:03] Production.INFO: ==11346== Releasing lock... [2025-03-20 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:08:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16: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-03-20 16:08:03] Production.INFO: Account Balance Start. [2025-03-20 16:08:03] Production.INFO: CreateAllLog Start [2025-03-20 16:08:03] Production.INFO: 117 [2025-03-20 16:08:03] Production.INFO: count ==12 [2025-03-20 16:08:03] Production.ERROR: done [2025-03-20 16:08:03] Production.INFO: Date 2025-03-08 [2025-03-20 16: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-03-20 16:08:03] Production.INFO: count ==23 [2025-03-20 16:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723961') start [2025-03-20 16:08:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723961') end [2025-03-20 16:08:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:08:03] Production.INFO: 1 [2025-03-20 16:08:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:08:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:03] Production.INFO: ==11354== Releasing lock... [2025-03-20 16:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:08:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:08:03] Production.ERROR: done [2025-03-20 16:08:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:03] Production.INFO: Date 2025-03-14 [2025-03-20 16:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:03] Production.INFO: Date 2025-03-15 [2025-03-20 16:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:08:04] Production.INFO: Total Charge 0 [2025-03-20 16:08:04] Production.INFO: CreateAllLog End [2025-03-20 16:08:04] Production.INFO: Account Balance End. [2025-03-20 16:08:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:08:04] Production.INFO: ==11350== Releasing lock... [2025-03-20 16:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:08:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:08:04 [end_date_ymd] => 2025-03-20 16:08:04 [RateCDR] => 1 ) [2025-03-20 16: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-03-20 13:08:04' and `end` < '2025-03-20 16: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-03-20 16:08:12] Production.ERROR: CronJobId end10 [2025-03-20 16:08:12] Production.INFO: ==11348== Releasing lock... [2025-03-20 16:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:08:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:08:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:08:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:08:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:08:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:08:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:08:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:08:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:08:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:08:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:08:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:08:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:08:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:08:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:08:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:08:14] Production.INFO: call_cost start [2025-03-20 16:08:14] Production.INFO: call_cost end [2025-03-20 16:08:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:08:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:08:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:08:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:08:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:08:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:08:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:08:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:08:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:08:15] Production.INFO: ==11344== Releasing lock... [2025-03-20 16:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:08:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:08:18] Production.INFO: count ==6276 [2025-03-20 16:08:20] Production.ERROR: pbx CDR StartTime 2025-03-20 13:08:04 - End Time 2025-03-20 16:08:04 [2025-03-20 16:08:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723962', 'tblTempUsageDetail_20' ) start [2025-03-20 16:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723962', 'tblTempUsageDetail_20' ) end [2025-03-20 16:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723962', 'tblTempVendorCDR_20' ) start [2025-03-20 16:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723962', 'tblTempVendorCDR_20' ) end [2025-03-20 16:08:21] Production.INFO: ProcessCDR(1,14723962,1,1,2) [2025-03-20 16:08:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:08:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:08:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723962', 'tblTempUsageDetail_20' ) start [2025-03-20 16:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723962', 'tblTempUsageDetail_20' ) end [2025-03-20 16:08:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:08:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:08:26] Production.INFO: ==11352== Releasing lock... [2025-03-20 16:08:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:08:26] Production.INFO: 75 MB #Memory Used# [2025-03-20 20:09:01] Production.INFO: ==11423== Lock acquired, processing the job... [2025-03-20 20:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:09:01] Production.INFO: neon service started [2025-03-20 20:09:01] Production.INFO: neon service started [2025-03-20 20:09:01] Production.INFO: ==11423== Releasing lock... [2025-03-20 20:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:09:02] Production.INFO: ==11425== Lock acquired, processing the job... [2025-03-20 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:09:02] Production.INFO: ==11427== Lock acquired, processing the job... [2025-03-20 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:09:02] Production.INFO: ==11427== Releasing lock... [2025-03-20 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:09:02] Production.INFO: ==11425== Releasing lock... [2025-03-20 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:09:03] Production.INFO: ==11434== Lock acquired, processing the job... [2025-03-20 16:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:09:03] Production.INFO: ==11430== Lock acquired, processing the job... [2025-03-20 16:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:09:03] Production.INFO: ==11436== Lock acquired, processing the job... [2025-03-20 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:09:03] Production.INFO: ==11432== Lock acquired, processing the job... [2025-03-20 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:09:03] Production.INFO: ==11438== Lock acquired, processing the job... [2025-03-20 16:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:09:03] Production.INFO: Account Balance Start. [2025-03-20 16:09:03] Production.INFO: CreateAllLog Start [2025-03-20 16:09:03] Production.INFO: 117 [2025-03-20 16:09:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:09:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:03] Production.INFO: ==11440== Lock acquired, processing the job... [2025-03-20 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:09:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:03] Production.INFO: ==11432== Releasing lock... [2025-03-20 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:09:03] Production.INFO: Date 2025-03-14 [2025-03-20 16:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:09:03] Production.INFO: count ==12 [2025-03-20 16:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:09:03] Production.INFO: count ==23 [2025-03-20 16:09:03] Production.INFO: Date 2025-03-15 [2025-03-20 16:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723966') start [2025-03-20 16:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:04] Production.ERROR: done [2025-03-20 16:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723966') end [2025-03-20 16:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:09:04] Production.INFO: 1 [2025-03-20 16:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:09:04] Production.ERROR: done [2025-03-20 16:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:09:04] Production.INFO: ==11440== Releasing lock... [2025-03-20 16:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:09:04] Production.INFO: Total Charge 0 [2025-03-20 16:09:04] Production.INFO: CreateAllLog End [2025-03-20 16:09:04] Production.INFO: Account Balance End. [2025-03-20 16:09:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:09:04] Production.INFO: ==11436== Releasing lock... [2025-03-20 16:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:09:05 [end_date_ymd] => 2025-03-20 16:09:05 [RateCDR] => 1 ) [2025-03-20 16:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:09:05' and `end` < '2025-03-20 16:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:09:12] Production.ERROR: CronJobId end10 [2025-03-20 16:09:12] Production.INFO: ==11434== Releasing lock... [2025-03-20 16:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:09:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:09:14] Production.INFO: call_cost start [2025-03-20 16:09:14] Production.INFO: call_cost end [2025-03-20 16:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:09:15] Production.INFO: ==11430== Releasing lock... [2025-03-20 16:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:09:18] Production.INFO: count ==6246 [2025-03-20 16:09:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:09:05 - End Time 2025-03-20 16:09:05 [2025-03-20 16:09:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723967', 'tblTempUsageDetail_20' ) start [2025-03-20 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723967', 'tblTempUsageDetail_20' ) end [2025-03-20 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723967', 'tblTempVendorCDR_20' ) start [2025-03-20 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723967', 'tblTempVendorCDR_20' ) end [2025-03-20 16:09:21] Production.INFO: ProcessCDR(1,14723967,1,1,2) [2025-03-20 16:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723967', 'tblTempUsageDetail_20' ) start [2025-03-20 16:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723967', 'tblTempUsageDetail_20' ) end [2025-03-20 16:09:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:09:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:09:26] Production.INFO: ==11438== Releasing lock... [2025-03-20 16:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:09:26] Production.INFO: 74.75 MB #Memory Used# [2025-03-20 20:10:02] Production.INFO: ==11552== Lock acquired, processing the job... [2025-03-20 20:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:10:02] Production.INFO: neon service started [2025-03-20 20:10:02] Production.INFO: neon service started [2025-03-20 20:10:02] Production.INFO: ==11552== Releasing lock... [2025-03-20 20:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:10:02] Production.INFO: ==11554== Lock acquired, processing the job... [2025-03-20 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:10:02] Production.INFO: ==11556== Lock acquired, processing the job... [2025-03-20 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:10:03] Production.INFO: ==11556== Releasing lock... [2025-03-20 20:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:10:03] Production.INFO: ==11554== Releasing lock... [2025-03-20 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:10:04] Production.INFO: ==11559== Lock acquired, processing the job... [2025-03-20 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 16:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 16:10:04] Production.INFO: ==11563== Lock acquired, processing the job... [2025-03-20 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 16:10:04] Production.INFO: ==11559== Releasing lock... [2025-03-20 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 16:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 16:10:04] Production.INFO: ==11567== Lock acquired, processing the job... [2025-03-20 16:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:10:04] Production.INFO: Account Balance Start. [2025-03-20 16:10:04] Production.INFO: CreateAllLog Start [2025-03-20 16:10:04] Production.INFO: 117 [2025-03-20 16:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: ==11563== Releasing lock... [2025-03-20 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:10:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: ==11561== Lock acquired, processing the job... [2025-03-20 16:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:10:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: ==11565== Lock acquired, processing the job... [2025-03-20 16:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:10:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:10:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:10:04] Production.INFO: ==11571== Lock acquired, processing the job... [2025-03-20 16:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 16:10:04] Production.INFO: ==11573== Lock acquired, processing the job... [2025-03-20 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:10:04] Production.INFO: ==11569== Lock acquired, processing the job... [2025-03-20 16:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:10:04] Production.INFO: Total Charge 0 [2025-03-20 16:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:10:04] Production.INFO: CreateAllLog End [2025-03-20 16:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:10:04] Production.INFO: count ==12 [2025-03-20 16:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:10:04] Production.INFO: count ==23 [2025-03-20 16:10:04] Production.INFO: Account Balance End. [2025-03-20 16:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723971') start [2025-03-20 16:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:10:05] Production.INFO: ==11567== Releasing lock... [2025-03-20 16:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:10:05] Production.ERROR: done [2025-03-20 16:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723971') end [2025-03-20 16:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:10:05] Production.INFO: 1 [2025-03-20 16:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 16:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723972', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 16:10:05] Production.INFO: ==11573== Releasing lock... [2025-03-20 16:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:10:05] Production.ERROR: done [2025-03-20 16:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:10:05] Production.ERROR: done [2025-03-20 16:10:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:10:07 [end_date_ymd] => 2025-03-20 16:10:07 [RateCDR] => 1 ) [2025-03-20 16:10:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:10:07' and `end` < '2025-03-20 16:10:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14723972', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 16:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 16:10:09] Production.INFO: ProcessCDR(1,14723972,1,1,2) [2025-03-20 16:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14723972,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14723972,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:10:09] Production.INFO: ==11571== Releasing lock... [2025-03-20 16:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 16:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 16:10:17] Production.ERROR: CronJobId end10 [2025-03-20 16:10:17] Production.INFO: ==11565== Releasing lock... [2025-03-20 16:10:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:10:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:10:18] Production.INFO: call_cost start [2025-03-20 16:10:18] Production.INFO: call_cost end [2025-03-20 16:10:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:10:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:10:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:10:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:10:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:10:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:10:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:10:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:10:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:10:19] Production.INFO: ==11561== Releasing lock... [2025-03-20 16:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:10:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:10:20] Production.INFO: count ==6256 [2025-03-20 16:10:23] Production.ERROR: pbx CDR StartTime 2025-03-20 13:10:07 - End Time 2025-03-20 16:10:07 [2025-03-20 16:10:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723973', 'tblTempUsageDetail_20' ) start [2025-03-20 16:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723973', 'tblTempUsageDetail_20' ) end [2025-03-20 16:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723973', 'tblTempVendorCDR_20' ) start [2025-03-20 16:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723973', 'tblTempVendorCDR_20' ) end [2025-03-20 16:10:23] Production.INFO: ProcessCDR(1,14723973,1,1,2) [2025-03-20 16:10:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:10:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723973,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:10:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723973,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723973', 'tblTempUsageDetail_20' ) start [2025-03-20 16:10:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723973', 'tblTempUsageDetail_20' ) end [2025-03-20 16:10:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:10:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:10:29] Production.INFO: ==11569== Releasing lock... [2025-03-20 16:10:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:10:29] Production.INFO: 74.75 MB #Memory Used# [2025-03-20 20:11:01] Production.INFO: ==11647== Lock acquired, processing the job... [2025-03-20 20:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:11:01] Production.INFO: neon service started [2025-03-20 20:11:01] Production.INFO: neon service started [2025-03-20 20:11:01] Production.INFO: ==11647== Releasing lock... [2025-03-20 20:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:11:02] Production.INFO: ==11651== Lock acquired, processing the job... [2025-03-20 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:11:02] Production.INFO: ==11651== Releasing lock... [2025-03-20 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:11:02] Production.INFO: ==11649== Lock acquired, processing the job... [2025-03-20 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:11:02] Production.INFO: ==11649== Releasing lock... [2025-03-20 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:11:03] Production.INFO: ==11657== Lock acquired, processing the job... [2025-03-20 16:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:11:03] Production.INFO: ==11664== Lock acquired, processing the job... [2025-03-20 16:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:11:03] Production.INFO: ==11655== Lock acquired, processing the job... [2025-03-20 16:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:11:03] Production.INFO: ==11653== Lock acquired, processing the job... [2025-03-20 16:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:11:03] Production.INFO: ==11662== Lock acquired, processing the job... [2025-03-20 16:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:11:03] Production.INFO: ==11659== Lock acquired, processing the job... [2025-03-20 16:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:11:03] Production.INFO: count ==12 [2025-03-20 16:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:11:03] Production.INFO: count ==23 [2025-03-20 16:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723974') start [2025-03-20 16:11:03] Production.INFO: Account Balance Start. [2025-03-20 16:11:03] Production.INFO: CreateAllLog Start [2025-03-20 16:11:03] Production.INFO: 117 [2025-03-20 16:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:04] Production.INFO: ==11655== Releasing lock... [2025-03-20 16:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723974') end [2025-03-20 16:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:11:04] Production.INFO: 1 [2025-03-20 16:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:04] Production.INFO: ==11664== Releasing lock... [2025-03-20 16:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:04] Production.ERROR: done [2025-03-20 16:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:11:04] Production.INFO: Total Charge 0 [2025-03-20 16:11:04] Production.INFO: CreateAllLog End [2025-03-20 16:11:04] Production.ERROR: done [2025-03-20 16:11:04] Production.INFO: Account Balance End. [2025-03-20 16:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:11:04] Production.INFO: ==11659== Releasing lock... [2025-03-20 16:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:11:05 [end_date_ymd] => 2025-03-20 16:11:05 [RateCDR] => 1 ) [2025-03-20 16:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:11:05' and `end` < '2025-03-20 16:11:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:11:13] Production.ERROR: CronJobId end10 [2025-03-20 16:11:13] Production.INFO: ==11657== Releasing lock... [2025-03-20 16:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:11:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:11:16] Production.INFO: call_cost start [2025-03-20 16:11:16] Production.INFO: call_cost end [2025-03-20 16:11:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:11:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:11:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:11:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:11:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:11:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:11:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:11:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:11:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:11:17] Production.INFO: ==11653== Releasing lock... [2025-03-20 16:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:11:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:11:19] Production.INFO: count ==6275 [2025-03-20 16:11:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:11:05 - End Time 2025-03-20 16:11:05 [2025-03-20 16:11:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723978', 'tblTempUsageDetail_20' ) start [2025-03-20 16:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723978', 'tblTempUsageDetail_20' ) end [2025-03-20 16:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723978', 'tblTempVendorCDR_20' ) start [2025-03-20 16:11:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723978', 'tblTempVendorCDR_20' ) end [2025-03-20 16:11:22] Production.INFO: ProcessCDR(1,14723978,1,1,2) [2025-03-20 16:11:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:11:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723978,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:11:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:11:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723978,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723978', 'tblTempUsageDetail_20' ) start [2025-03-20 16:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723978', 'tblTempUsageDetail_20' ) end [2025-03-20 16:11:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:11:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:11:27] Production.INFO: ==11662== Releasing lock... [2025-03-20 16:11:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:11:27] Production.INFO: 75 MB #Memory Used# [2025-03-20 20:12:02] Production.INFO: ==11738== Lock acquired, processing the job... [2025-03-20 20:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:12:02] Production.INFO: neon service started [2025-03-20 20:12:02] Production.INFO: neon service started [2025-03-20 20:12:02] Production.INFO: ==11738== Releasing lock... [2025-03-20 20:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:12:03] Production.INFO: ==11740== Lock acquired, processing the job... [2025-03-20 16:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:12:03] Production.INFO: ==11742== Lock acquired, processing the job... [2025-03-20 20:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:12:03] Production.INFO: ==11742== Releasing lock... [2025-03-20 20:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:12:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:12:03] Production.INFO: ==11740== Releasing lock... [2025-03-20 16:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:12:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:12:04] Production.INFO: ==11745== Lock acquired, processing the job... [2025-03-20 16:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:12:04] Production.INFO: ==11749== Lock acquired, processing the job... [2025-03-20 16:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:12:04] Production.INFO: ==11751== Lock acquired, processing the job... [2025-03-20 16:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:12:04] Production.INFO: Account Balance Start. [2025-03-20 16:12:04] Production.INFO: CreateAllLog Start [2025-03-20 16:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:12:04] Production.INFO: 117 [2025-03-20 16:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:04] Production.INFO: ==11747== Lock acquired, processing the job... [2025-03-20 16:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:04] Production.INFO: ==11753== Lock acquired, processing the job... [2025-03-20 16:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:12:04] Production.INFO: ==11755== Lock acquired, processing the job... [2025-03-20 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:04] Production.INFO: count ==12 [2025-03-20 16:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:12:04] Production.INFO: count ==23 [2025-03-20 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723982') start [2025-03-20 16:12:05] Production.INFO: Date 2025-03-15 [2025-03-20 16:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:05] Production.INFO: ==11747== Releasing lock... [2025-03-20 16:12:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:12:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:12:05] Production.INFO: Date 2025-03-16 [2025-03-20 16:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:05] Production.INFO: Date 2025-03-17 [2025-03-20 16:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:05] Production.ERROR: PBX CALL prc_importPBXExtension('14723982') end [2025-03-20 16:12:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:12:05] Production.INFO: 1 [2025-03-20 16:12:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:12:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:12:05] Production.INFO: Total Charge 0 [2025-03-20 16:12:05] Production.INFO: CreateAllLog End [2025-03-20 16:12:05] Production.INFO: ==11755== Releasing lock... [2025-03-20 16:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:12:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:12:05] Production.ERROR: done [2025-03-20 16:12:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:12:05] Production.ERROR: done [2025-03-20 16:12:05] Production.INFO: Account Balance End. [2025-03-20 16:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:12:05] Production.INFO: ==11751== Releasing lock... [2025-03-20 16:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:12:06 [end_date_ymd] => 2025-03-20 16:12:06 [RateCDR] => 1 ) [2025-03-20 16:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:12:06' and `end` < '2025-03-20 16:12:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:12:15] Production.ERROR: CronJobId end10 [2025-03-20 16:12:15] Production.INFO: ==11749== Releasing lock... [2025-03-20 16:12:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:12:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:12:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:12:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:12:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:12:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:12:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:12:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:12:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:12:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:12:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:12:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:12:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:12:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:12:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:12:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:12:17] Production.INFO: call_cost start [2025-03-20 16:12:17] Production.INFO: call_cost end [2025-03-20 16:12:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:12:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:12:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:12:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:12:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:12:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:12:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:12:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:12:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:12:18] Production.INFO: ==11745== Releasing lock... [2025-03-20 16:12:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:12:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:12:20] Production.INFO: count ==6291 [2025-03-20 16:12:23] Production.ERROR: pbx CDR StartTime 2025-03-20 13:12:06 - End Time 2025-03-20 16:12:06 [2025-03-20 16:12:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723983', 'tblTempUsageDetail_20' ) start [2025-03-20 16:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723983', 'tblTempUsageDetail_20' ) end [2025-03-20 16:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723983', 'tblTempVendorCDR_20' ) start [2025-03-20 16:12:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723983', 'tblTempVendorCDR_20' ) end [2025-03-20 16:12:23] Production.INFO: ProcessCDR(1,14723983,1,1,2) [2025-03-20 16:12:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:12:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:12:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:12:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723983', 'tblTempUsageDetail_20' ) start [2025-03-20 16:12:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723983', 'tblTempUsageDetail_20' ) end [2025-03-20 16:12:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:12:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:12:28] Production.INFO: ==11753== Releasing lock... [2025-03-20 16:12:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:12:28] Production.INFO: 75 MB #Memory Used# [2025-03-20 20:13:01] Production.INFO: ==11837== Lock acquired, processing the job... [2025-03-20 20:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:13:01] Production.INFO: neon service started [2025-03-20 20:13:01] Production.INFO: neon service started [2025-03-20 20:13:01] Production.INFO: ==11837== Releasing lock... [2025-03-20 20:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:13:02] Production.INFO: ==11839== Lock acquired, processing the job... [2025-03-20 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:13:02] Production.INFO: ==11841== Lock acquired, processing the job... [2025-03-20 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:13:02] Production.INFO: ==11841== Releasing lock... [2025-03-20 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:13:02] Production.INFO: ==11839== Releasing lock... [2025-03-20 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:13:03] Production.INFO: ==11850== Lock acquired, processing the job... [2025-03-20 16:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:13:03] Production.INFO: ==11844== Lock acquired, processing the job... [2025-03-20 16:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:13:03] Production.INFO: ==11846== Lock acquired, processing the job... [2025-03-20 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:13:03] Production.INFO: Account Balance Start. [2025-03-20 16:13:03] Production.INFO: CreateAllLog Start [2025-03-20 16:13:03] Production.INFO: 117 [2025-03-20 16:13:03] Production.INFO: ==11848== Lock acquired, processing the job... [2025-03-20 16:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:13:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:13:03] Production.INFO: ==11854== Lock acquired, processing the job... [2025-03-20 16:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:03] Production.INFO: ==11852== Lock acquired, processing the job... [2025-03-20 16:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:13:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:13:04] Production.INFO: ==11846== Releasing lock... [2025-03-20 16:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:13:04] Production.INFO: count ==12 [2025-03-20 16:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:13:04] Production.INFO: count ==23 [2025-03-20 16:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723987') start [2025-03-20 16:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723987') end [2025-03-20 16:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:13:04] Production.INFO: 1 [2025-03-20 16:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:13:04] Production.ERROR: done [2025-03-20 16:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:13:04] Production.INFO: ==11854== Releasing lock... [2025-03-20 16:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:04] Production.ERROR: done [2025-03-20 16:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:13:04] Production.INFO: Total Charge 0 [2025-03-20 16:13:04] Production.INFO: CreateAllLog End [2025-03-20 16:13:04] Production.INFO: Account Balance End. [2025-03-20 16:13:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:13:04] Production.INFO: ==11850== Releasing lock... [2025-03-20 16:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:13:05 [end_date_ymd] => 2025-03-20 16:13:05 [RateCDR] => 1 ) [2025-03-20 16:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:13:05' and `end` < '2025-03-20 16:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:13:14] Production.ERROR: CronJobId end10 [2025-03-20 16:13:14] Production.INFO: ==11848== Releasing lock... [2025-03-20 16:13:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:13:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:13:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:13:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:13:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:13:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:13:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:13:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:13:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:13:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:13:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:13:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:13:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:13:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:13:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:13:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:13:15] Production.INFO: call_cost start [2025-03-20 16:13:15] Production.INFO: call_cost end [2025-03-20 16:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:13:16] Production.INFO: ==11844== Releasing lock... [2025-03-20 16:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:13:19] Production.INFO: count ==6293 [2025-03-20 16:13:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:13:05 - End Time 2025-03-20 16:13:05 [2025-03-20 16:13:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723988', 'tblTempUsageDetail_20' ) start [2025-03-20 16:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723988', 'tblTempUsageDetail_20' ) end [2025-03-20 16:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723988', 'tblTempVendorCDR_20' ) start [2025-03-20 16:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723988', 'tblTempVendorCDR_20' ) end [2025-03-20 16:13:22] Production.INFO: ProcessCDR(1,14723988,1,1,2) [2025-03-20 16:13:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:13:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:13:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:13:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:13:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723988', 'tblTempUsageDetail_20' ) start [2025-03-20 16:13:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723988', 'tblTempUsageDetail_20' ) end [2025-03-20 16:13:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:13:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:13:28] Production.INFO: ==11852== Releasing lock... [2025-03-20 16:13:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:13:28] Production.INFO: 75 MB #Memory Used# [2025-03-20 20:14:02] Production.INFO: ==11935== Lock acquired, processing the job... [2025-03-20 20:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:14:02] Production.INFO: neon service started [2025-03-20 20:14:02] Production.INFO: neon service started [2025-03-20 20:14:02] Production.INFO: ==11935== Releasing lock... [2025-03-20 20:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:14:02] Production.INFO: ==11937== Lock acquired, processing the job... [2025-03-20 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:14:03] Production.INFO: ==11939== Lock acquired, processing the job... [2025-03-20 20:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:14:03] Production.INFO: ==11937== Releasing lock... [2025-03-20 16:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:14:03] Production.INFO: ==11939== Releasing lock... [2025-03-20 20:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:14:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:14:04] Production.INFO: ==11944== Lock acquired, processing the job... [2025-03-20 16:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:14:04] Production.INFO: ==11946== Lock acquired, processing the job... [2025-03-20 16:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:14:04] Production.INFO: ==11948== Lock acquired, processing the job... [2025-03-20 16:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:14:04] Production.INFO: ==11950== Lock acquired, processing the job... [2025-03-20 16:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:14:04] Production.INFO: ==11952== Lock acquired, processing the job... [2025-03-20 16:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:14:04] Production.INFO: Account Balance Start. [2025-03-20 16:14:04] Production.INFO: CreateAllLog Start [2025-03-20 16:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:14:04] Production.INFO: 117 [2025-03-20 16:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:14:04] Production.INFO: ==11954== Lock acquired, processing the job... [2025-03-20 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:14:04] Production.INFO: count ==12 [2025-03-20 16:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:04] Production.INFO: count ==23 [2025-03-20 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723992') start [2025-03-20 16:14:04] Production.INFO: ==11946== Releasing lock... [2025-03-20 16:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:14:04] Production.ERROR: done [2025-03-20 16:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14723992') end [2025-03-20 16:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:14:04] Production.INFO: 1 [2025-03-20 16:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:04] Production.ERROR: done [2025-03-20 16:14:05] Production.INFO: ==11954== Releasing lock... [2025-03-20 16:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:14:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:14:05] Production.INFO: Date 2025-03-17 [2025-03-20 16:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:14:05] Production.INFO: Total Charge 0 [2025-03-20 16:14:05] Production.INFO: CreateAllLog End [2025-03-20 16:14:05] Production.INFO: Account Balance End. [2025-03-20 16:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:14:05] Production.INFO: ==11950== Releasing lock... [2025-03-20 16:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:14:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:14:05 [end_date_ymd] => 2025-03-20 16:14:05 [RateCDR] => 1 ) [2025-03-20 16:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:14:05' and `end` < '2025-03-20 16:14:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:14:14] Production.ERROR: CronJobId end10 [2025-03-20 16:14:14] Production.INFO: ==11948== Releasing lock... [2025-03-20 16:14:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:14:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:14:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:14:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:14:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:14:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:14:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:14:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:14:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:14:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:14:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:14:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:14:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:14:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:14:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:14:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:14:16] Production.INFO: call_cost start [2025-03-20 16:14:16] Production.INFO: call_cost end [2025-03-20 16:14:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:14:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:14:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:14:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:14:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:14:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:14:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:14:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:14:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:14:17] Production.INFO: ==11944== Releasing lock... [2025-03-20 16:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:14:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:14:19] Production.INFO: count ==6319 [2025-03-20 16:14:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:14:05 - End Time 2025-03-20 16:14:05 [2025-03-20 16:14:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723993', 'tblTempUsageDetail_20' ) start [2025-03-20 16:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723993', 'tblTempUsageDetail_20' ) end [2025-03-20 16:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723993', 'tblTempVendorCDR_20' ) start [2025-03-20 16:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723993', 'tblTempVendorCDR_20' ) end [2025-03-20 16:14:22] Production.INFO: ProcessCDR(1,14723993,1,1,2) [2025-03-20 16:14:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:14:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:14:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:14:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723993', 'tblTempUsageDetail_20' ) start [2025-03-20 16:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723993', 'tblTempUsageDetail_20' ) end [2025-03-20 16:14:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:14:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:14:27] Production.INFO: ==11952== Releasing lock... [2025-03-20 16:14:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:14:27] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:15:01] Production.INFO: ==12029== Lock acquired, processing the job... [2025-03-20 20:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:15:01] Production.INFO: neon service started [2025-03-20 20:15:01] Production.INFO: neon service started [2025-03-20 20:15:01] Production.INFO: ==12029== Releasing lock... [2025-03-20 20:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:15:02] Production.INFO: ==12032== Lock acquired, processing the job... [2025-03-20 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:15:02] Production.INFO: ==12032== Releasing lock... [2025-03-20 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:15:02] Production.INFO: ==12034== Lock acquired, processing the job... [2025-03-20 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:15:02] Production.INFO: ==12034== Releasing lock... [2025-03-20 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:15:03] Production.INFO: ==12042== Lock acquired, processing the job... [2025-03-20 16:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:15:03] Production.INFO: ==12046== Lock acquired, processing the job... [2025-03-20 16:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:15:03] Production.INFO: Account Balance Start. [2025-03-20 16:15:03] Production.INFO: CreateAllLog Start [2025-03-20 16:15:03] Production.INFO: 117 [2025-03-20 16:15:03] Production.INFO: ==12036== Lock acquired, processing the job... [2025-03-20 16:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:15:03] Production.INFO: ==12038== Lock acquired, processing the job... [2025-03-20 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:03] Production.INFO: count ==12 [2025-03-20 16:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:15:03] Production.INFO: count ==23 [2025-03-20 16:15:03] Production.INFO: ==12040== Lock acquired, processing the job... [2025-03-20 16:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:15:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723995') start [2025-03-20 16:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:15:03] Production.INFO: ==12044== Lock acquired, processing the job... [2025-03-20 16:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14723995') end [2025-03-20 16:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:15:03] Production.INFO: 1 [2025-03-20 16:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:15:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:03] Production.INFO: ==12046== Releasing lock... [2025-03-20 16:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:15:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:15:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:15:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:03] Production.INFO: Date 2025-03-14 [2025-03-20 16:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:03] Production.INFO: Date 2025-03-15 [2025-03-20 16:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:03] Production.INFO: Date 2025-03-16 [2025-03-20 16:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:04] Production.INFO: ==12038== Releasing lock... [2025-03-20 16:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:15:04] Production.ERROR: done [2025-03-20 16:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:15:04] Production.INFO: Total Charge 0 [2025-03-20 16:15:04] Production.INFO: CreateAllLog End [2025-03-20 16:15:04] Production.ERROR: done [2025-03-20 16:15:04] Production.INFO: Account Balance End. [2025-03-20 16:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:15:04] Production.INFO: ==12042== Releasing lock... [2025-03-20 16:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:15:05 [end_date_ymd] => 2025-03-20 16:15:05 [RateCDR] => 1 ) [2025-03-20 16:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:15:05' and `end` < '2025-03-20 16:15:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:15:13] Production.ERROR: CronJobId end10 [2025-03-20 16:15:13] Production.INFO: ==12040== Releasing lock... [2025-03-20 16:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:15:15] Production.INFO: call_cost start [2025-03-20 16:15:15] Production.INFO: call_cost end [2025-03-20 16:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:15:16] Production.INFO: ==12036== Releasing lock... [2025-03-20 16:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:15:19] Production.INFO: count ==6316 [2025-03-20 16:15:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:15:05 - End Time 2025-03-20 16:15:05 [2025-03-20 16:15:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723998', 'tblTempUsageDetail_20' ) start [2025-03-20 16:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14723998', 'tblTempUsageDetail_20' ) end [2025-03-20 16:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723998', 'tblTempVendorCDR_20' ) start [2025-03-20 16:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14723998', 'tblTempVendorCDR_20' ) end [2025-03-20 16:15:22] Production.INFO: ProcessCDR(1,14723998,1,1,2) [2025-03-20 16:15:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14723998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:15:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14723998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:15:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14723998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:15:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14723998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723998', 'tblTempUsageDetail_20' ) start [2025-03-20 16:15:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14723998', 'tblTempUsageDetail_20' ) end [2025-03-20 16:15:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:15:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:15:28] Production.INFO: ==12044== Releasing lock... [2025-03-20 16:15:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:15:28] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:16:02] Production.INFO: ==12118== Lock acquired, processing the job... [2025-03-20 20:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:16:02] Production.INFO: neon service started [2025-03-20 20:16:02] Production.INFO: neon service started [2025-03-20 20:16:02] Production.INFO: ==12118== Releasing lock... [2025-03-20 20:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:16:02] Production.INFO: ==12123== Lock acquired, processing the job... [2025-03-20 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:16:02] Production.INFO: ==12123== Releasing lock... [2025-03-20 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:16:02] Production.INFO: ==12121== Lock acquired, processing the job... [2025-03-20 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:16:03] Production.INFO: ==12121== Releasing lock... [2025-03-20 16:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:16:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:16:03] Production.INFO: ==12127== Lock acquired, processing the job... [2025-03-20 16:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:16:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:16:03] Production.INFO: ==12131== Lock acquired, processing the job... [2025-03-20 16:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:16:04] Production.INFO: ==12133== Lock acquired, processing the job... [2025-03-20 16:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:16:04] Production.INFO: Account Balance Start. [2025-03-20 16:16:04] Production.INFO: CreateAllLog Start [2025-03-20 16:16:04] Production.INFO: 117 [2025-03-20 16:16:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: ==12129== Lock acquired, processing the job... [2025-03-20 16:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: ==12135== Lock acquired, processing the job... [2025-03-20 16:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: ==12137== Lock acquired, processing the job... [2025-03-20 16:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: count ==12 [2025-03-20 16:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:16:04] Production.INFO: count ==23 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: ==12129== Releasing lock... [2025-03-20 16:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724002') start [2025-03-20 16:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:16:04] Production.INFO: Total Charge 0 [2025-03-20 16:16:04] Production.INFO: CreateAllLog End [2025-03-20 16:16:05] Production.ERROR: done [2025-03-20 16:16:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724002') end [2025-03-20 16:16:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:16:05] Production.INFO: 1 [2025-03-20 16:16:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:16:05] Production.INFO: Account Balance End. [2025-03-20 16:16:05] Production.INFO: ==12137== Releasing lock... [2025-03-20 16:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:16:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:16:05] Production.ERROR: done [2025-03-20 16:16:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:16:05] Production.INFO: ==12133== Releasing lock... [2025-03-20 16:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:16:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:16:06 [end_date_ymd] => 2025-03-20 16:16:06 [RateCDR] => 1 ) [2025-03-20 16:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:16:06' and `end` < '2025-03-20 16:16:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:16:14] Production.ERROR: CronJobId end10 [2025-03-20 16:16:14] Production.INFO: ==12131== Releasing lock... [2025-03-20 16:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:16:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:16:16] Production.INFO: call_cost start [2025-03-20 16:16:16] Production.INFO: call_cost end [2025-03-20 16:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:16:16] Production.INFO: ==12127== Releasing lock... [2025-03-20 16:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:16:19] Production.INFO: count ==6308 [2025-03-20 16:16:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:16:06 - End Time 2025-03-20 16:16:06 [2025-03-20 16:16:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724003', 'tblTempUsageDetail_20' ) start [2025-03-20 16:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724003', 'tblTempUsageDetail_20' ) end [2025-03-20 16:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724003', 'tblTempVendorCDR_20' ) start [2025-03-20 16:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724003', 'tblTempVendorCDR_20' ) end [2025-03-20 16:16:22] Production.INFO: ProcessCDR(1,14724003,1,1,2) [2025-03-20 16:16:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:16:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:16:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:16:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724003', 'tblTempUsageDetail_20' ) start [2025-03-20 16:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724003', 'tblTempUsageDetail_20' ) end [2025-03-20 16:16:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:16:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:16:27] Production.INFO: ==12135== Releasing lock... [2025-03-20 16:16:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:16:27] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:17:01] Production.INFO: ==12209== Lock acquired, processing the job... [2025-03-20 20:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:17:01] Production.INFO: neon service started [2025-03-20 20:17:01] Production.INFO: neon service started [2025-03-20 20:17:01] Production.INFO: ==12209== Releasing lock... [2025-03-20 20:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:17:02] Production.INFO: ==12213== Lock acquired, processing the job... [2025-03-20 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:17:02] Production.INFO: ==12213== Releasing lock... [2025-03-20 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:17:02] Production.INFO: ==12211== Lock acquired, processing the job... [2025-03-20 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:17:02] Production.INFO: ==12211== Releasing lock... [2025-03-20 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:17:03] Production.INFO: ==12220== Lock acquired, processing the job... [2025-03-20 16:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:17:03] Production.INFO: ==12218== Lock acquired, processing the job... [2025-03-20 16:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:17:03] Production.INFO: ==12224== Lock acquired, processing the job... [2025-03-20 16:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:17:03] Production.INFO: ==12216== Lock acquired, processing the job... [2025-03-20 16:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:17:03] Production.INFO: ==12222== Lock acquired, processing the job... [2025-03-20 16:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:17:03] Production.INFO: ==12226== Lock acquired, processing the job... [2025-03-20 16:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:17:03] Production.INFO: Account Balance Start. [2025-03-20 16:17:03] Production.INFO: CreateAllLog Start [2025-03-20 16:17:03] Production.INFO: 117 [2025-03-20 16:17:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: count ==12 [2025-03-20 16:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:17:04] Production.INFO: count ==23 [2025-03-20 16:17:04] Production.ERROR: done [2025-03-20 16:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724007') start [2025-03-20 16:17:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724007') end [2025-03-20 16:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:17:04] Production.INFO: 1 [2025-03-20 16:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:17:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: ==12218== Releasing lock... [2025-03-20 16:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:17:04] Production.INFO: ==12226== Releasing lock... [2025-03-20 16:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:17:04] Production.ERROR: done [2025-03-20 16:17:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:17:04] Production.INFO: Total Charge 0 [2025-03-20 16:17:04] Production.INFO: CreateAllLog End [2025-03-20 16:17:05] Production.INFO: Account Balance End. [2025-03-20 16:17:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:17:05] Production.INFO: ==12222== Releasing lock... [2025-03-20 16:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:17:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:17:05 [end_date_ymd] => 2025-03-20 16:17:05 [RateCDR] => 1 ) [2025-03-20 16:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:17:05' and `end` < '2025-03-20 16:17:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:17:13] Production.ERROR: CronJobId end10 [2025-03-20 16:17:13] Production.INFO: ==12220== Releasing lock... [2025-03-20 16:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:17:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:17:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:17:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:17:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:17:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:17:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:17:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:17:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:17:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:17:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:17:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:17:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:17:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:17:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:17:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:17:15] Production.INFO: call_cost start [2025-03-20 16:17:15] Production.INFO: call_cost end [2025-03-20 16:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:17:16] Production.INFO: ==12216== Releasing lock... [2025-03-20 16:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:17:18] Production.INFO: count ==6321 [2025-03-20 16:17:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:17:05 - End Time 2025-03-20 16:17:05 [2025-03-20 16:17:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724008', 'tblTempUsageDetail_20' ) start [2025-03-20 16:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724008', 'tblTempUsageDetail_20' ) end [2025-03-20 16:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724008', 'tblTempVendorCDR_20' ) start [2025-03-20 16:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724008', 'tblTempVendorCDR_20' ) end [2025-03-20 16:17:21] Production.INFO: ProcessCDR(1,14724008,1,1,2) [2025-03-20 16:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:17:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:17:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:17:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724008', 'tblTempUsageDetail_20' ) start [2025-03-20 16:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724008', 'tblTempUsageDetail_20' ) end [2025-03-20 16:17:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:17:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:17:26] Production.INFO: ==12224== Releasing lock... [2025-03-20 16:17:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:17:26] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:18:02] Production.INFO: ==12290== Lock acquired, processing the job... [2025-03-20 20:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:18:02] Production.INFO: neon service started [2025-03-20 20:18:02] Production.INFO: neon service started [2025-03-20 20:18:02] Production.INFO: ==12290== Releasing lock... [2025-03-20 20:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 16:18:02] Production.INFO: ==12292== Lock acquired, processing the job... [2025-03-20 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:18:02] Production.INFO: ==12294== Lock acquired, processing the job... [2025-03-20 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:18:02] Production.INFO: ==12292== Releasing lock... [2025-03-20 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:18:03] Production.INFO: ==12294== Releasing lock... [2025-03-20 20:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:18:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:18:03] Production.INFO: ==12297== Lock acquired, processing the job... [2025-03-20 16:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:18:03] Production.INFO: ==12299== Lock acquired, processing the job... [2025-03-20 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:18:03] Production.INFO: ==12301== Lock acquired, processing the job... [2025-03-20 16:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:18:04] Production.INFO: ==12303== Lock acquired, processing the job... [2025-03-20 16:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:18:04] Production.INFO: ==12305== Lock acquired, processing the job... [2025-03-20 16:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:18:04] Production.INFO: Account Balance Start. [2025-03-20 16:18:04] Production.INFO: CreateAllLog Start [2025-03-20 16:18:04] Production.INFO: 117 [2025-03-20 16:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: ==12307== Lock acquired, processing the job... [2025-03-20 16:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:18:04] Production.INFO: ==12299== Releasing lock... [2025-03-20 16:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: count ==12 [2025-03-20 16:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:18:04] Production.INFO: count ==23 [2025-03-20 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724012') start [2025-03-20 16:18:04] Production.ERROR: done [2025-03-20 16:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724012') end [2025-03-20 16:18:04] Production.ERROR: done [2025-03-20 16:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:18:04] Production.INFO: 1 [2025-03-20 16:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:18:04] Production.INFO: ==12307== Releasing lock... [2025-03-20 16:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:18:04] Production.INFO: Total Charge 0 [2025-03-20 16:18:05] Production.INFO: CreateAllLog End [2025-03-20 16:18:05] Production.INFO: Account Balance End. [2025-03-20 16:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:18:05] Production.INFO: ==12303== Releasing lock... [2025-03-20 16:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:18:06 [end_date_ymd] => 2025-03-20 16:18:06 [RateCDR] => 1 ) [2025-03-20 16: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-03-20 13:18:06' and `end` < '2025-03-20 16: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-03-20 16:18:13] Production.ERROR: CronJobId end10 [2025-03-20 16:18:13] Production.INFO: ==12301== Releasing lock... [2025-03-20 16:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:18:15] Production.INFO: call_cost start [2025-03-20 16:18:15] Production.INFO: call_cost end [2025-03-20 16:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:18:16] Production.INFO: ==12297== Releasing lock... [2025-03-20 16:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:18:19] Production.INFO: count ==6312 [2025-03-20 16:18:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:18:06 - End Time 2025-03-20 16:18:06 [2025-03-20 16:18:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724013', 'tblTempUsageDetail_20' ) start [2025-03-20 16:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724013', 'tblTempUsageDetail_20' ) end [2025-03-20 16:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724013', 'tblTempVendorCDR_20' ) start [2025-03-20 16:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724013', 'tblTempVendorCDR_20' ) end [2025-03-20 16:18:22] Production.INFO: ProcessCDR(1,14724013,1,1,2) [2025-03-20 16:18:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:18:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:18:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:18:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724013', 'tblTempUsageDetail_20' ) start [2025-03-20 16:18:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724013', 'tblTempUsageDetail_20' ) end [2025-03-20 16:18:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:18:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:18:27] Production.INFO: ==12305== Releasing lock... [2025-03-20 16:18:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:18:27] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:19:01] Production.INFO: ==12374== Lock acquired, processing the job... [2025-03-20 20:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:19:01] Production.INFO: neon service started [2025-03-20 20:19:01] Production.INFO: neon service started [2025-03-20 20:19:01] Production.INFO: ==12374== Releasing lock... [2025-03-20 20:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:19:02] Production.INFO: ==12378== Lock acquired, processing the job... [2025-03-20 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:19:02] Production.INFO: ==12378== Releasing lock... [2025-03-20 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:19:02] Production.INFO: ==12376== Lock acquired, processing the job... [2025-03-20 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:19:02] Production.INFO: ==12376== Releasing lock... [2025-03-20 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:19:03] Production.INFO: ==12381== Lock acquired, processing the job... [2025-03-20 16:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:19:03] Production.INFO: ==12383== Lock acquired, processing the job... [2025-03-20 16:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:19:03] Production.INFO: ==12385== Lock acquired, processing the job... [2025-03-20 16:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:19:03] Production.INFO: ==12387== Lock acquired, processing the job... [2025-03-20 16:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:19:03] Production.INFO: ==12389== Lock acquired, processing the job... [2025-03-20 16:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:19:03] Production.INFO: ==12391== Lock acquired, processing the job... [2025-03-20 16:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:19:03] Production.INFO: Account Balance Start. [2025-03-20 16:19:03] Production.INFO: CreateAllLog Start [2025-03-20 16:19:03] Production.INFO: 117 [2025-03-20 16:19:03] Production.INFO: ==12383== Releasing lock... [2025-03-20 16:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:19:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:03] Production.INFO: count ==12 [2025-03-20 16:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:19:03] Production.INFO: count ==23 [2025-03-20 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724017') start [2025-03-20 16:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:04] Production.ERROR: done [2025-03-20 16:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724017') end [2025-03-20 16:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:19:04] Production.INFO: 1 [2025-03-20 16:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:19:04] Production.INFO: ==12391== Releasing lock... [2025-03-20 16:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:19:04] Production.ERROR: done [2025-03-20 16:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:19:04] Production.INFO: Total Charge 0 [2025-03-20 16:19:04] Production.INFO: CreateAllLog End [2025-03-20 16:19:04] Production.INFO: Account Balance End. [2025-03-20 16:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:19:04] Production.INFO: ==12387== Releasing lock... [2025-03-20 16:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:19:05 [end_date_ymd] => 2025-03-20 16:19:05 [RateCDR] => 1 ) [2025-03-20 16:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:19:05' and `end` < '2025-03-20 16:19:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:19:13] Production.ERROR: CronJobId end10 [2025-03-20 16:19:13] Production.INFO: ==12385== Releasing lock... [2025-03-20 16:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:19:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:19:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:19:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:19:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:19:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:19:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:19:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:19:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:19:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:19:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:19:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:19:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:19:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:19:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:19:14] Production.INFO: call_cost start [2025-03-20 16:19:14] Production.INFO: call_cost end [2025-03-20 16:19:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:19:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:19:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:19:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:19:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:19:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:19:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:19:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:19:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:19:15] Production.INFO: ==12381== Releasing lock... [2025-03-20 16:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:19:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:19:19] Production.INFO: count ==6311 [2025-03-20 16:19:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:19:05 - End Time 2025-03-20 16:19:05 [2025-03-20 16:19:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724018', 'tblTempUsageDetail_20' ) start [2025-03-20 16:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724018', 'tblTempUsageDetail_20' ) end [2025-03-20 16:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724018', 'tblTempVendorCDR_20' ) start [2025-03-20 16:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724018', 'tblTempVendorCDR_20' ) end [2025-03-20 16:19:22] Production.INFO: ProcessCDR(1,14724018,1,1,2) [2025-03-20 16:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:19:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:19:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:19:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724018', 'tblTempUsageDetail_20' ) start [2025-03-20 16:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724018', 'tblTempUsageDetail_20' ) end [2025-03-20 16:19:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:19:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:19:27] Production.INFO: ==12389== Releasing lock... [2025-03-20 16:19:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:19:27] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:20:02] Production.INFO: ==12458== Lock acquired, processing the job... [2025-03-20 20:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:20:02] Production.INFO: neon service started [2025-03-20 20:20:02] Production.INFO: neon service started [2025-03-20 20:20:02] Production.INFO: ==12458== Releasing lock... [2025-03-20 20:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:20:02] Production.INFO: ==12462== Lock acquired, processing the job... [2025-03-20 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:20:02] Production.INFO: ==12462== Releasing lock... [2025-03-20 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:20:02] Production.INFO: ==12460== Lock acquired, processing the job... [2025-03-20 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:20:02] Production.INFO: ==12460== Releasing lock... [2025-03-20 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:20:03] Production.INFO: ==12464== Lock acquired, processing the job... [2025-03-20 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 16:20:03] Production.INFO: ==12466== Lock acquired, processing the job... [2025-03-20 16:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:20:03] Production.INFO: ==12468== Lock acquired, processing the job... [2025-03-20 16:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 16:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 16:20:04] Production.ERROR: CronJob PID - 12466 [2025-03-20 16:20:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 16:20:04] Production.ERROR: CronJob ID - 5 [2025-03-20 16:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 16:20:00 [2025-03-20 16:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 16:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 16:20:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 16:20:04] Production.ERROR: CronJob PID - 12468 [2025-03-20 16:20:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 16:20:04] Production.ERROR: CronJob ID - 7 [2025-03-20 16:20:04] Production.ERROR: CronJob Last Run Time 2025-03-20 16:20:00 [2025-03-20 16:20:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 16:20:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 16:20:04] Production.INFO: ==12477== Lock acquired, processing the job... [2025-03-20 16:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 16:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 16:20:04] Production.INFO: ==12464== Releasing lock... [2025-03-20 16:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 16:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 16:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:20:04] Production.INFO: ==12471== Lock acquired, processing the job... [2025-03-20 16:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:20:04] Production.ERROR: done [2025-03-20 16:20:04] Production.INFO: ==12468== Releasing lock... [2025-03-20 16:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:20:04] Production.INFO: ==12473== Lock acquired, processing the job... [2025-03-20 16:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:20:04] Production.INFO: ==12475== Lock acquired, processing the job... [2025-03-20 16:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 16:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724021', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 16:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:20:04] Production.INFO: ==12479== Lock acquired, processing the job... [2025-03-20 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:20:04] Production.INFO: Account Balance Start. [2025-03-20 16:20:04] Production.INFO: CreateAllLog Start [2025-03-20 16:20:04] Production.INFO: 117 [2025-03-20 16:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:04] Production.INFO: count ==12 [2025-03-20 16:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:20:04] Production.INFO: count ==23 [2025-03-20 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724023') start [2025-03-20 16:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:05] Production.INFO: Date 2025-03-13 [2025-03-20 16:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:05] Production.INFO: Date 2025-03-14 [2025-03-20 16:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724023') end [2025-03-20 16:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:20:05] Production.INFO: 1 [2025-03-20 16:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:20:05] Production.INFO: ==12479== Releasing lock... [2025-03-20 16:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:20:05] Production.ERROR: done [2025-03-20 16:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:20:05] Production.INFO: Date 2025-03-15 [2025-03-20 16:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:05] Production.INFO: Date 2025-03-16 [2025-03-20 16:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 16:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:05] Production.ERROR: done [2025-03-20 16:20:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:20:05] Production.INFO: Total Charge 0 [2025-03-20 16:20:05] Production.INFO: CreateAllLog End [2025-03-20 16:20:05] Production.INFO: Account Balance End. [2025-03-20 16:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:20:05] Production.INFO: ==12473== Releasing lock... [2025-03-20 16:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:20:06 [end_date_ymd] => 2025-03-20 16:20:06 [RateCDR] => 1 ) [2025-03-20 16:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:20:06' and `end` < '2025-03-20 16:20:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724021', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 16:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 16:20:09] Production.INFO: ProcessCDR(1,14724021,1,1,2) [2025-03-20 16:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724021,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724021,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:20:09] Production.INFO: ==12477== Releasing lock... [2025-03-20 16:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 16:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 16:20:16] Production.ERROR: CronJobId end10 [2025-03-20 16:20:16] Production.INFO: ==12471== Releasing lock... [2025-03-20 16:20:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:20:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:20:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:20:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:20:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:20:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:20:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:20:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:20:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:20:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:20:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:20:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:20:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:20:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:20:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:20:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:20:17] Production.INFO: call_cost start [2025-03-20 16:20:17] Production.INFO: call_cost end [2025-03-20 16:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:20:18] Production.INFO: ==12466== Releasing lock... [2025-03-20 16:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:20:20] Production.INFO: count ==6299 [2025-03-20 16:20:23] Production.ERROR: pbx CDR StartTime 2025-03-20 13:20:06 - End Time 2025-03-20 16:20:06 [2025-03-20 16:20:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724024', 'tblTempUsageDetail_20' ) start [2025-03-20 16:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724024', 'tblTempUsageDetail_20' ) end [2025-03-20 16:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724024', 'tblTempVendorCDR_20' ) start [2025-03-20 16:20:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724024', 'tblTempVendorCDR_20' ) end [2025-03-20 16:20:23] Production.INFO: ProcessCDR(1,14724024,1,1,2) [2025-03-20 16:20:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:20:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724024,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:20:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:20:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724024,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724024', 'tblTempUsageDetail_20' ) start [2025-03-20 16:20:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724024', 'tblTempUsageDetail_20' ) end [2025-03-20 16:20:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:20:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:20:28] Production.INFO: ==12475== Releasing lock... [2025-03-20 16:20:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:20:28] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:21:01] Production.INFO: ==12540== Lock acquired, processing the job... [2025-03-20 20:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:21:01] Production.INFO: neon service started [2025-03-20 20:21:01] Production.INFO: neon service started [2025-03-20 20:21:01] Production.INFO: ==12540== Releasing lock... [2025-03-20 20:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:21:02] Production.INFO: ==12542== Lock acquired, processing the job... [2025-03-20 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:21:02] Production.INFO: ==12545== Lock acquired, processing the job... [2025-03-20 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:21:02] Production.INFO: ==12545== Releasing lock... [2025-03-20 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:21:02] Production.INFO: ==12542== Releasing lock... [2025-03-20 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:21:03] Production.INFO: ==12547== Lock acquired, processing the job... [2025-03-20 16:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:21:03] Production.INFO: ==12549== Lock acquired, processing the job... [2025-03-20 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:21:03] Production.INFO: ==12551== Lock acquired, processing the job... [2025-03-20 16:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:21:03] Production.INFO: ==12549== Releasing lock... [2025-03-20 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:21:03] Production.INFO: ==12555== Lock acquired, processing the job... [2025-03-20 16:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:21:03] Production.INFO: ==12553== Lock acquired, processing the job... [2025-03-20 16:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:21:03] Production.INFO: ==12557== Lock acquired, processing the job... [2025-03-20 16:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:21:03] Production.INFO: Account Balance Start. [2025-03-20 16:21:03] Production.INFO: CreateAllLog Start [2025-03-20 16:21:03] Production.INFO: 117 [2025-03-20 16:21:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 16: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-03-20 16:21:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:04] Production.INFO: count ==12 [2025-03-20 16:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:21:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:04] Production.ERROR: done [2025-03-20 16:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:21:04] Production.INFO: count ==23 [2025-03-20 16:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724028') start [2025-03-20 16:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:04] Production.ERROR: done [2025-03-20 16:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:21:04] Production.INFO: Total Charge 0 [2025-03-20 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724028') end [2025-03-20 16:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:21:04] Production.INFO: 1 [2025-03-20 16:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:21:04] Production.INFO: CreateAllLog End [2025-03-20 16:21:04] Production.INFO: ==12557== Releasing lock... [2025-03-20 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:21:04] Production.INFO: Account Balance End. [2025-03-20 16:21:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:21:04] Production.INFO: ==12553== Releasing lock... [2025-03-20 16:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:21:05 [end_date_ymd] => 2025-03-20 16:21:05 [RateCDR] => 1 ) [2025-03-20 16:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:21:05' and `end` < '2025-03-20 16:21:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:21:13] Production.ERROR: CronJobId end10 [2025-03-20 16:21:13] Production.INFO: ==12551== Releasing lock... [2025-03-20 16:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:21:15] Production.INFO: call_cost start [2025-03-20 16:21:15] Production.INFO: call_cost end [2025-03-20 16:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:21:16] Production.INFO: ==12547== Releasing lock... [2025-03-20 16:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:21:19] Production.INFO: count ==6364 [2025-03-20 16:21:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:21:05 - End Time 2025-03-20 16:21:05 [2025-03-20 16:21:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724029', 'tblTempUsageDetail_20' ) start [2025-03-20 16:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724029', 'tblTempUsageDetail_20' ) end [2025-03-20 16:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724029', 'tblTempVendorCDR_20' ) start [2025-03-20 16:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724029', 'tblTempVendorCDR_20' ) end [2025-03-20 16:21:22] Production.INFO: ProcessCDR(1,14724029,1,1,2) [2025-03-20 16:21:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:21:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:21:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:21:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:21:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724029', 'tblTempUsageDetail_20' ) start [2025-03-20 16:21:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724029', 'tblTempUsageDetail_20' ) end [2025-03-20 16:21:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:21:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:21:27] Production.INFO: ==12555== Releasing lock... [2025-03-20 16:21:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:21:27] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 20:22:02] Production.INFO: ==12628== Lock acquired, processing the job... [2025-03-20 20:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:22:02] Production.INFO: neon service started [2025-03-20 20:22:02] Production.INFO: neon service started [2025-03-20 20:22:02] Production.INFO: ==12628== Releasing lock... [2025-03-20 20:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:22:02] Production.INFO: ==12632== Lock acquired, processing the job... [2025-03-20 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:22:02] Production.INFO: ==12632== Releasing lock... [2025-03-20 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:22:02] Production.INFO: ==12630== Lock acquired, processing the job... [2025-03-20 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:22:02] Production.INFO: ==12630== Releasing lock... [2025-03-20 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:22:03] Production.INFO: ==12641== Lock acquired, processing the job... [2025-03-20 16:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:22:03] Production.INFO: ==12634== Lock acquired, processing the job... [2025-03-20 16:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:22:03] Production.INFO: ==12645== Lock acquired, processing the job... [2025-03-20 16:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:22:03] Production.INFO: ==12637== Lock acquired, processing the job... [2025-03-20 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:22:03] Production.INFO: Account Balance Start. [2025-03-20 16:22:03] Production.INFO: CreateAllLog Start [2025-03-20 16:22:03] Production.INFO: 117 [2025-03-20 16:22:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:22:03] Production.INFO: ==12639== Lock acquired, processing the job... [2025-03-20 16:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.INFO: count ==12 [2025-03-20 16:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.INFO: count ==23 [2025-03-20 16:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724032') start [2025-03-20 16:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:22:04] Production.INFO: ==12643== Lock acquired, processing the job... [2025-03-20 16:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724032') end [2025-03-20 16:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:22:04] Production.INFO: 1 [2025-03-20 16:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:22:04] Production.INFO: ==12645== Releasing lock... [2025-03-20 16:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.INFO: ==12637== Releasing lock... [2025-03-20 16:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:22:04] Production.INFO: Total Charge 0 [2025-03-20 16:22:04] Production.ERROR: done [2025-03-20 16:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:22:04] Production.INFO: CreateAllLog End [2025-03-20 16:22:04] Production.ERROR: done [2025-03-20 16:22:05] Production.INFO: Account Balance End. [2025-03-20 16:22:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:22:05] Production.INFO: ==12641== Releasing lock... [2025-03-20 16:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:22:05 [end_date_ymd] => 2025-03-20 16:22:05 [RateCDR] => 1 ) [2025-03-20 16:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:22:05' and `end` < '2025-03-20 16:22:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:22:14] Production.ERROR: CronJobId end10 [2025-03-20 16:22:14] Production.INFO: ==12639== Releasing lock... [2025-03-20 16:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:22:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:22:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:22:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:22:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:22:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:22:16] Production.INFO: call_cost start [2025-03-20 16:22:16] Production.INFO: call_cost end [2025-03-20 16:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:22:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:22:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:22:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:22:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:22:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:22:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:22:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:22:17] Production.INFO: ==12634== Releasing lock... [2025-03-20 16:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:22:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:22:19] Production.INFO: count ==6375 [2025-03-20 16:22:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:22:05 - End Time 2025-03-20 16:22:05 [2025-03-20 16:22:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724034', 'tblTempUsageDetail_20' ) start [2025-03-20 16:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724034', 'tblTempUsageDetail_20' ) end [2025-03-20 16:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724034', 'tblTempVendorCDR_20' ) start [2025-03-20 16:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724034', 'tblTempVendorCDR_20' ) end [2025-03-20 16:22:22] Production.INFO: ProcessCDR(1,14724034,1,1,2) [2025-03-20 16:22:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:22:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:22:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:22:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724034', 'tblTempUsageDetail_20' ) start [2025-03-20 16:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724034', 'tblTempUsageDetail_20' ) end [2025-03-20 16:22:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:22:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:22:27] Production.INFO: ==12643== Releasing lock... [2025-03-20 16:22:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:22:27] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 20:23:01] Production.INFO: ==12722== Lock acquired, processing the job... [2025-03-20 20:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:23:01] Production.INFO: neon service started [2025-03-20 20:23:01] Production.INFO: neon service started [2025-03-20 20:23:01] Production.INFO: ==12722== Releasing lock... [2025-03-20 20:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:23:01] Production.INFO: ==12724== Lock acquired, processing the job... [2025-03-20 16:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:23:02] Production.INFO: ==12724== Releasing lock... [2025-03-20 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:23:02] Production.INFO: ==12726== Lock acquired, processing the job... [2025-03-20 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:23:02] Production.INFO: ==12726== Releasing lock... [2025-03-20 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:23:03] Production.INFO: ==12736== Lock acquired, processing the job... [2025-03-20 16:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:23:03] Production.INFO: ==12738== Lock acquired, processing the job... [2025-03-20 16:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:23:03] Production.INFO: Account Balance Start. [2025-03-20 16:23:03] Production.INFO: CreateAllLog Start [2025-03-20 16:23:03] Production.INFO: 117 [2025-03-20 16:23:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.INFO: Date 2025-03-14 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.INFO: ==12732== Lock acquired, processing the job... [2025-03-20 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:23:03] Production.INFO: ==12730== Lock acquired, processing the job... [2025-03-20 16:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:23:03] Production.INFO: ==12734== Lock acquired, processing the job... [2025-03-20 16:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:23:03] Production.INFO: Date 2025-03-15 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.INFO: Date 2025-03-16 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.INFO: ==12740== Lock acquired, processing the job... [2025-03-20 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:23:03] Production.INFO: Date 2025-03-17 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:23:03] Production.ERROR: done [2025-03-20 16:23:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:23:03] Production.INFO: Date 2025-03-18 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:23:03] Production.INFO: Date 2025-03-19 [2025-03-20 16:23:03] Production.INFO: count ==12 [2025-03-20 16:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:23:03] Production.INFO: count ==23 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724036') start [2025-03-20 16:23:03] Production.INFO: Date 2025-03-20 [2025-03-20 16:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:23:03] Production.INFO: ==12732== Releasing lock... [2025-03-20 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:23:03] Production.ERROR: done [2025-03-20 16:23:03] Production.INFO: Total Charge 0 [2025-03-20 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724036') end [2025-03-20 16:23:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:23:03] Production.INFO: 1 [2025-03-20 16:23:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:23:04] Production.INFO: CreateAllLog End [2025-03-20 16:23:04] Production.INFO: ==12740== Releasing lock... [2025-03-20 16:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:23:04] Production.INFO: Account Balance End. [2025-03-20 16:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:23:04] Production.INFO: ==12736== Releasing lock... [2025-03-20 16:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:23:05 [end_date_ymd] => 2025-03-20 16:23:05 [RateCDR] => 1 ) [2025-03-20 16:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:23:05' and `end` < '2025-03-20 16:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:23:13] Production.ERROR: CronJobId end10 [2025-03-20 16:23:13] Production.INFO: ==12734== Releasing lock... [2025-03-20 16:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:23:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:23:15] Production.INFO: call_cost start [2025-03-20 16:23:15] Production.INFO: call_cost end [2025-03-20 16:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:23:16] Production.INFO: ==12730== Releasing lock... [2025-03-20 16:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:23:18] Production.INFO: count ==6385 [2025-03-20 16:23:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:23:05 - End Time 2025-03-20 16:23:05 [2025-03-20 16:23:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724039', 'tblTempUsageDetail_20' ) start [2025-03-20 16:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724039', 'tblTempUsageDetail_20' ) end [2025-03-20 16:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724039', 'tblTempVendorCDR_20' ) start [2025-03-20 16:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724039', 'tblTempVendorCDR_20' ) end [2025-03-20 16:23:21] Production.INFO: ProcessCDR(1,14724039,1,1,2) [2025-03-20 16:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:23:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724039', 'tblTempUsageDetail_20' ) start [2025-03-20 16:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724039', 'tblTempUsageDetail_20' ) end [2025-03-20 16:23:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:23:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:23:26] Production.INFO: ==12738== Releasing lock... [2025-03-20 16:23:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:23:26] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 20:24:02] Production.INFO: ==12801== Lock acquired, processing the job... [2025-03-20 20:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:24:02] Production.INFO: neon service started [2025-03-20 20:24:02] Production.INFO: neon service started [2025-03-20 20:24:02] Production.INFO: ==12801== Releasing lock... [2025-03-20 20:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:24:02] Production.INFO: ==12805== Lock acquired, processing the job... [2025-03-20 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:24:02] Production.INFO: ==12805== Releasing lock... [2025-03-20 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:24:02] Production.INFO: ==12803== Lock acquired, processing the job... [2025-03-20 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:24:02] Production.INFO: ==12803== Releasing lock... [2025-03-20 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:24:03] Production.INFO: ==12814== Lock acquired, processing the job... [2025-03-20 16:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:24:03] Production.INFO: Account Balance Start. [2025-03-20 16:24:03] Production.INFO: CreateAllLog Start [2025-03-20 16:24:03] Production.INFO: 117 [2025-03-20 16:24:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:03] Production.INFO: ==12818== Lock acquired, processing the job... [2025-03-20 16:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:24:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:03] Production.INFO: ==12807== Lock acquired, processing the job... [2025-03-20 16:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16: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-03-20 16:24:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:03] Production.INFO: count ==12 [2025-03-20 16: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-03-20 16:24:04] Production.INFO: count ==23 [2025-03-20 16:24:04] Production.INFO: ==12809== Lock acquired, processing the job... [2025-03-20 16:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724041') start [2025-03-20 16:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:24:04] Production.INFO: ==12812== Lock acquired, processing the job... [2025-03-20 16:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:04] Production.INFO: ==12816== Lock acquired, processing the job... [2025-03-20 16:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724041') end [2025-03-20 16:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:24:04] Production.INFO: 1 [2025-03-20 16:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:04] Production.INFO: ==12818== Releasing lock... [2025-03-20 16:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:24:04] Production.INFO: ==12809== Releasing lock... [2025-03-20 16:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:24:04] Production.INFO: Total Charge 0 [2025-03-20 16:24:04] Production.INFO: CreateAllLog End [2025-03-20 16:24:04] Production.ERROR: done [2025-03-20 16:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:24:04] Production.ERROR: done [2025-03-20 16:24:04] Production.INFO: Account Balance End. [2025-03-20 16:24:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:24:04] Production.INFO: ==12814== Releasing lock... [2025-03-20 16:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:24:05 [end_date_ymd] => 2025-03-20 16:24:05 [RateCDR] => 1 ) [2025-03-20 16:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:24:05' and `end` < '2025-03-20 16:24:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:24:13] Production.ERROR: CronJobId end10 [2025-03-20 16:24:13] Production.INFO: ==12812== Releasing lock... [2025-03-20 16:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:24:15] Production.INFO: call_cost start [2025-03-20 16:24:15] Production.INFO: call_cost end [2025-03-20 16:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:24:16] Production.INFO: ==12807== Releasing lock... [2025-03-20 16:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:24:19] Production.INFO: count ==6393 [2025-03-20 16:24:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:24:05 - End Time 2025-03-20 16:24:05 [2025-03-20 16:24:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724044', 'tblTempUsageDetail_20' ) start [2025-03-20 16:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724044', 'tblTempUsageDetail_20' ) end [2025-03-20 16:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724044', 'tblTempVendorCDR_20' ) start [2025-03-20 16:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724044', 'tblTempVendorCDR_20' ) end [2025-03-20 16:24:22] Production.INFO: ProcessCDR(1,14724044,1,1,2) [2025-03-20 16:24:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:24:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:24:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:24:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:24:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724044', 'tblTempUsageDetail_20' ) start [2025-03-20 16:24:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724044', 'tblTempUsageDetail_20' ) end [2025-03-20 16:24:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:24:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:24:28] Production.INFO: ==12816== Releasing lock... [2025-03-20 16:24:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:24:28] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 20:25:01] Production.INFO: ==12882== Lock acquired, processing the job... [2025-03-20 20:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:25:01] Production.INFO: neon service started [2025-03-20 20:25:01] Production.INFO: neon service started [2025-03-20 20:25:01] Production.INFO: ==12882== Releasing lock... [2025-03-20 20:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:25:02] Production.INFO: ==12884== Lock acquired, processing the job... [2025-03-20 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:25:02] Production.INFO: ==12886== Lock acquired, processing the job... [2025-03-20 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:25:02] Production.INFO: ==12886== Releasing lock... [2025-03-20 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:25:02] Production.INFO: ==12884== Releasing lock... [2025-03-20 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:25:03] Production.INFO: ==12891== Lock acquired, processing the job... [2025-03-20 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:25:03] Production.INFO: ==12893== Lock acquired, processing the job... [2025-03-20 16:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:25:03] Production.INFO: ==12895== Lock acquired, processing the job... [2025-03-20 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:25:03] Production.INFO: Account Balance Start. [2025-03-20 16:25:03] Production.INFO: CreateAllLog Start [2025-03-20 16:25:03] Production.INFO: 117 [2025-03-20 16:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:25:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:03] Production.INFO: ==12889== Lock acquired, processing the job... [2025-03-20 16:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:25:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:03] Production.INFO: ==12897== Lock acquired, processing the job... [2025-03-20 16:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:25:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:03] Production.INFO: Date 2025-03-14 [2025-03-20 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:25:03] Production.INFO: Date 2025-03-15 [2025-03-20 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:25:03] Production.INFO: Date 2025-03-16 [2025-03-20 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:03] Production.INFO: Date 2025-03-17 [2025-03-20 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:03] Production.INFO: ==12899== Lock acquired, processing the job... [2025-03-20 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:25:03] Production.INFO: Date 2025-03-18 [2025-03-20 16:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:25:04] Production.INFO: ==12891== Releasing lock... [2025-03-20 16:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 16: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-03-20 16:25:04] Production.INFO: count ==12 [2025-03-20 16:25:04] Production.ERROR: done [2025-03-20 16:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:25:04] Production.INFO: count ==23 [2025-03-20 16:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:25:04] Production.INFO: Total Charge 0 [2025-03-20 16:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724048') start [2025-03-20 16:25:04] Production.INFO: CreateAllLog End [2025-03-20 16:25:04] Production.ERROR: done [2025-03-20 16:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724048') end [2025-03-20 16:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:25:04] Production.INFO: 1 [2025-03-20 16:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:25:04] Production.INFO: ==12899== Releasing lock... [2025-03-20 16:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:25:04] Production.INFO: Account Balance End. [2025-03-20 16:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:25:04] Production.INFO: ==12895== Releasing lock... [2025-03-20 16:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:25:05 [end_date_ymd] => 2025-03-20 16:25:05 [RateCDR] => 1 ) [2025-03-20 16:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:25:05' and `end` < '2025-03-20 16:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:25:13] Production.ERROR: CronJobId end10 [2025-03-20 16:25:13] Production.INFO: ==12893== Releasing lock... [2025-03-20 16:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:25:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:25:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:25:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:25:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:25:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:25:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:25:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:25:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:25:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:25:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:25:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:25:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:25:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:25:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:25:15] Production.INFO: call_cost start [2025-03-20 16:25:15] Production.INFO: call_cost end [2025-03-20 16:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:25:16] Production.INFO: ==12889== Releasing lock... [2025-03-20 16:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:25:19] Production.INFO: count ==6388 [2025-03-20 16:25:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:25:05 - End Time 2025-03-20 16:25:05 [2025-03-20 16:25:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724049', 'tblTempUsageDetail_20' ) start [2025-03-20 16:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724049', 'tblTempUsageDetail_20' ) end [2025-03-20 16:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724049', 'tblTempVendorCDR_20' ) start [2025-03-20 16:25:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724049', 'tblTempVendorCDR_20' ) end [2025-03-20 16:25:22] Production.INFO: ProcessCDR(1,14724049,1,1,2) [2025-03-20 16:25:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:25:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:25:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:25:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724049', 'tblTempUsageDetail_20' ) start [2025-03-20 16:25:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724049', 'tblTempUsageDetail_20' ) end [2025-03-20 16:25:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:25:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:25:27] Production.INFO: ==12897== Releasing lock... [2025-03-20 16:25:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:25:27] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 20:26:02] Production.INFO: ==13019== Lock acquired, processing the job... [2025-03-20 20:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:26:02] Production.INFO: neon service started [2025-03-20 20:26:02] Production.INFO: neon service started [2025-03-20 20:26:02] Production.INFO: ==13019== Releasing lock... [2025-03-20 20:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:26:02] Production.INFO: ==13021== Lock acquired, processing the job... [2025-03-20 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:26:02] Production.INFO: ==13021== Releasing lock... [2025-03-20 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:26:02] Production.INFO: ==13024== Lock acquired, processing the job... [2025-03-20 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:26:02] Production.INFO: ==13024== Releasing lock... [2025-03-20 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:26:03] Production.INFO: ==13026== Lock acquired, processing the job... [2025-03-20 16:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:26:03] Production.INFO: ==13028== Lock acquired, processing the job... [2025-03-20 16:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:26:03] Production.INFO: ==13036== Lock acquired, processing the job... [2025-03-20 16:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:26:03] Production.INFO: ==13030== Lock acquired, processing the job... [2025-03-20 16:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:26:03] Production.INFO: ==13032== Lock acquired, processing the job... [2025-03-20 16:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:26:03] Production.INFO: ==13034== Lock acquired, processing the job... [2025-03-20 16:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:26:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:26:03] Production.INFO: count ==12 [2025-03-20 16:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:26:03] Production.INFO: Account Balance Start. [2025-03-20 16:26:03] Production.INFO: CreateAllLog Start [2025-03-20 16:26:03] Production.INFO: count ==23 [2025-03-20 16:26:03] Production.INFO: 117 [2025-03-20 16:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724052') start [2025-03-20 16:26:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:26:03] Production.INFO: ==13028== Releasing lock... [2025-03-20 16:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:26:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724052') end [2025-03-20 16:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:26:04] Production.INFO: 1 [2025-03-20 16:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.INFO: ==13036== Releasing lock... [2025-03-20 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:26:04] Production.ERROR: done [2025-03-20 16:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.ERROR: done [2025-03-20 16:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:26:04] Production.INFO: Total Charge 0 [2025-03-20 16:26:04] Production.INFO: CreateAllLog End [2025-03-20 16:26:04] Production.INFO: Account Balance End. [2025-03-20 16:26:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:26:04] Production.INFO: ==13032== Releasing lock... [2025-03-20 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:26:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:26:05 [end_date_ymd] => 2025-03-20 16:26:05 [RateCDR] => 1 ) [2025-03-20 16:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:26:05' and `end` < '2025-03-20 16:26:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:26:14] Production.ERROR: CronJobId end10 [2025-03-20 16:26:14] Production.INFO: ==13030== Releasing lock... [2025-03-20 16:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:26:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:26:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:26:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:26:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:26:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:26:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:26:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:26:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:26:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:26:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:26:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:26:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:26:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:26:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:26:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:26:15] Production.INFO: call_cost start [2025-03-20 16:26:15] Production.INFO: call_cost end [2025-03-20 16:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:26:16] Production.INFO: ==13026== Releasing lock... [2025-03-20 16:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:26:19] Production.INFO: count ==6382 [2025-03-20 16:26:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:26:05 - End Time 2025-03-20 16:26:05 [2025-03-20 16:26:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724054', 'tblTempUsageDetail_20' ) start [2025-03-20 16:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724054', 'tblTempUsageDetail_20' ) end [2025-03-20 16:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724054', 'tblTempVendorCDR_20' ) start [2025-03-20 16:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724054', 'tblTempVendorCDR_20' ) end [2025-03-20 16:26:22] Production.INFO: ProcessCDR(1,14724054,1,1,2) [2025-03-20 16:26:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:26:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:26:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:26:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724054', 'tblTempUsageDetail_20' ) start [2025-03-20 16:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724054', 'tblTempUsageDetail_20' ) end [2025-03-20 16:26:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:26:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:26:27] Production.INFO: ==13034== Releasing lock... [2025-03-20 16:26:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:26:27] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 20:27:01] Production.INFO: ==13104== Lock acquired, processing the job... [2025-03-20 20:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:27:01] Production.INFO: neon service started [2025-03-20 20:27:01] Production.INFO: neon service started [2025-03-20 20:27:01] Production.INFO: ==13104== Releasing lock... [2025-03-20 20:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:27:01] Production.INFO: ==13106== Lock acquired, processing the job... [2025-03-20 16:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:27:02] Production.INFO: ==13106== Releasing lock... [2025-03-20 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:27:02] Production.INFO: ==13108== Lock acquired, processing the job... [2025-03-20 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:27:02] Production.INFO: ==13108== Releasing lock... [2025-03-20 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:27:02] Production.INFO: ==13110== Lock acquired, processing the job... [2025-03-20 16:27:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:27:02] Production.INFO: ==13112== Lock acquired, processing the job... [2025-03-20 16:27:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:27:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:27:03] Production.INFO: ==13116== Lock acquired, processing the job... [2025-03-20 16:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:27:03] Production.INFO: Account Balance Start. [2025-03-20 16:27:03] Production.INFO: CreateAllLog Start [2025-03-20 16:27:03] Production.INFO: 117 [2025-03-20 16:27:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: ==13112== Releasing lock... [2025-03-20 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:27:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:27:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: ==13114== Lock acquired, processing the job... [2025-03-20 16:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:27:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: ==13118== Lock acquired, processing the job... [2025-03-20 16:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:27:03] Production.INFO: Date 2025-03-14 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: ==13120== Lock acquired, processing the job... [2025-03-20 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:27:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:27:03] Production.INFO: Date 2025-03-15 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:27:03] Production.INFO: Date 2025-03-16 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: Date 2025-03-17 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:27:03] Production.INFO: Date 2025-03-18 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: Date 2025-03-19 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: Date 2025-03-20 [2025-03-20 16:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:27:03] Production.INFO: count ==12 [2025-03-20 16:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:27:03] Production.INFO: Total Charge 0 [2025-03-20 16:27:03] Production.INFO: count ==23 [2025-03-20 16:27:03] Production.INFO: CreateAllLog End [2025-03-20 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724058') start [2025-03-20 16:27:04] Production.INFO: Account Balance End. [2025-03-20 16:27:04] Production.ERROR: done [2025-03-20 16:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724058') end [2025-03-20 16:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:27:04] Production.INFO: 1 [2025-03-20 16:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:27:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:27:04] Production.INFO: ==13116== Releasing lock... [2025-03-20 16:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:27:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:27:04] Production.INFO: ==13120== Releasing lock... [2025-03-20 16:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:27:04] Production.ERROR: done [2025-03-20 16:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:27:05 [end_date_ymd] => 2025-03-20 16:27:05 [RateCDR] => 1 ) [2025-03-20 16:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:27:05' and `end` < '2025-03-20 16:27:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:27:12] Production.ERROR: CronJobId end10 [2025-03-20 16:27:12] Production.INFO: ==13114== Releasing lock... [2025-03-20 16:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:27:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:27:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:27:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:27:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:27:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:27:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:27:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:27:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:27:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:27:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:27:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:27:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:27:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:27:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:27:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:27:14] Production.INFO: call_cost start [2025-03-20 16:27:14] Production.INFO: call_cost end [2025-03-20 16:27:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:27:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:27:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:27:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:27:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:27:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:27:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:27:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:27:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:27:15] Production.INFO: ==13110== Releasing lock... [2025-03-20 16:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:27:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:27:18] Production.INFO: count ==6381 [2025-03-20 16:27:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:27:05 - End Time 2025-03-20 16:27:05 [2025-03-20 16:27:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724059', 'tblTempUsageDetail_20' ) start [2025-03-20 16:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724059', 'tblTempUsageDetail_20' ) end [2025-03-20 16:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724059', 'tblTempVendorCDR_20' ) start [2025-03-20 16:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724059', 'tblTempVendorCDR_20' ) end [2025-03-20 16:27:21] Production.INFO: ProcessCDR(1,14724059,1,1,2) [2025-03-20 16:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:27:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:27:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:27:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724059', 'tblTempUsageDetail_20' ) start [2025-03-20 16:27:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724059', 'tblTempUsageDetail_20' ) end [2025-03-20 16:27:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:27:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:27:26] Production.INFO: ==13118== Releasing lock... [2025-03-20 16:27:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:27:26] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 20:28:01] Production.INFO: ==13192== Lock acquired, processing the job... [2025-03-20 20:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:28:01] Production.INFO: neon service started [2025-03-20 20:28:01] Production.INFO: neon service started [2025-03-20 20:28:01] Production.INFO: ==13192== Releasing lock... [2025-03-20 20:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:28:02] Production.INFO: ==13194== Lock acquired, processing the job... [2025-03-20 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:28:02] Production.INFO: ==13196== Lock acquired, processing the job... [2025-03-20 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:28:02] Production.INFO: ==13194== Releasing lock... [2025-03-20 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:28:02] Production.INFO: ==13196== Releasing lock... [2025-03-20 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:28:03] Production.INFO: ==13198== Lock acquired, processing the job... [2025-03-20 16:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:28:03] Production.INFO: ==13202== Lock acquired, processing the job... [2025-03-20 16:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:28:03] Production.INFO: ==13209== Lock acquired, processing the job... [2025-03-20 16:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:28:03] Production.INFO: ==13200== Lock acquired, processing the job... [2025-03-20 16:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:28:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:28:03] Production.INFO: ==13205== Lock acquired, processing the job... [2025-03-20 16:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:28:03] Production.INFO: count ==12 [2025-03-20 16:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:28:03] Production.INFO: count ==23 [2025-03-20 16:28:03] Production.INFO: ==13207== Lock acquired, processing the job... [2025-03-20 16:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724060') start [2025-03-20 16:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724060') end [2025-03-20 16:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:28:04] Production.INFO: 1 [2025-03-20 16:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:28:04] Production.INFO: Account Balance Start. [2025-03-20 16:28:04] Production.INFO: CreateAllLog Start [2025-03-20 16:28:04] Production.INFO: 117 [2025-03-20 16:28:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:04] Production.INFO: ==13209== Releasing lock... [2025-03-20 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:28:04] Production.INFO: ==13200== Releasing lock... [2025-03-20 16:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:04] Production.ERROR: done [2025-03-20 16:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:04] Production.ERROR: done [2025-03-20 16:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:28:05] Production.INFO: Total Charge 0 [2025-03-20 16:28:05] Production.INFO: CreateAllLog End [2025-03-20 16:28:05] Production.INFO: Account Balance End. [2025-03-20 16:28:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:28:05] Production.INFO: ==13205== Releasing lock... [2025-03-20 16:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:28:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:28:05 [end_date_ymd] => 2025-03-20 16:28:05 [RateCDR] => 1 ) [2025-03-20 16:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:28:05' and `end` < '2025-03-20 16:28:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:28:12] Production.ERROR: CronJobId end10 [2025-03-20 16:28:12] Production.INFO: ==13202== Releasing lock... [2025-03-20 16:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:28:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:28:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:28:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:28:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:28:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:28:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:28:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:28:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:28:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:28:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:28:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:28:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:28:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:28:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:28:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:28:15] Production.INFO: call_cost start [2025-03-20 16:28:15] Production.INFO: call_cost end [2025-03-20 16:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:28:16] Production.INFO: ==13198== Releasing lock... [2025-03-20 16:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:28:19] Production.INFO: count ==6377 [2025-03-20 16:28:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:28:05 - End Time 2025-03-20 16:28:05 [2025-03-20 16:28:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724064', 'tblTempUsageDetail_20' ) start [2025-03-20 16:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724064', 'tblTempUsageDetail_20' ) end [2025-03-20 16:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724064', 'tblTempVendorCDR_20' ) start [2025-03-20 16:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724064', 'tblTempVendorCDR_20' ) end [2025-03-20 16:28:22] Production.INFO: ProcessCDR(1,14724064,1,1,2) [2025-03-20 16:28:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:28:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:28:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:28:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724064', 'tblTempUsageDetail_20' ) start [2025-03-20 16:28:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724064', 'tblTempUsageDetail_20' ) end [2025-03-20 16:28:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:28:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:28:27] Production.INFO: ==13207== Releasing lock... [2025-03-20 16:28:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:28:27] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 20:29:02] Production.INFO: ==13280== Lock acquired, processing the job... [2025-03-20 20:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:29:02] Production.INFO: neon service started [2025-03-20 20:29:02] Production.INFO: neon service started [2025-03-20 20:29:02] Production.INFO: ==13280== Releasing lock... [2025-03-20 20:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:29:02] Production.INFO: ==13282== Lock acquired, processing the job... [2025-03-20 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:29:02] Production.INFO: ==13282== Releasing lock... [2025-03-20 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:29:03] Production.INFO: ==13284== Lock acquired, processing the job... [2025-03-20 20:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:29:03] Production.INFO: ==13284== Releasing lock... [2025-03-20 20:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:29:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:29:03] Production.INFO: ==13291== Lock acquired, processing the job... [2025-03-20 16:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:29:03] Production.INFO: ==13297== Lock acquired, processing the job... [2025-03-20 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:29:03] Production.INFO: ==13287== Lock acquired, processing the job... [2025-03-20 16:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:29:04] Production.INFO: ==13289== Lock acquired, processing the job... [2025-03-20 16:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:29:04] Production.INFO: ==13293== Lock acquired, processing the job... [2025-03-20 16:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:29:04] Production.INFO: ==13295== Lock acquired, processing the job... [2025-03-20 16:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:29:04] Production.INFO: count ==12 [2025-03-20 16:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:29:04] Production.INFO: count ==23 [2025-03-20 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724065') start [2025-03-20 16:29:04] Production.INFO: Account Balance Start. [2025-03-20 16:29:04] Production.INFO: CreateAllLog Start [2025-03-20 16:29:04] Production.INFO: 117 [2025-03-20 16:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724065') end [2025-03-20 16:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:29:04] Production.INFO: 1 [2025-03-20 16:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.INFO: ==13297== Releasing lock... [2025-03-20 16:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:29:04] Production.INFO: ==13289== Releasing lock... [2025-03-20 16:29:04] Production.ERROR: done [2025-03-20 16:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:29:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.ERROR: done [2025-03-20 16:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:29:04] Production.INFO: Total Charge 0 [2025-03-20 16:29:04] Production.INFO: CreateAllLog End [2025-03-20 16:29:05] Production.INFO: Account Balance End. [2025-03-20 16:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:29:05] Production.INFO: ==13293== Releasing lock... [2025-03-20 16:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:29:05 [end_date_ymd] => 2025-03-20 16:29:05 [RateCDR] => 1 ) [2025-03-20 16:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:29:05' and `end` < '2025-03-20 16:29:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:29:14] Production.ERROR: CronJobId end10 [2025-03-20 16:29:14] Production.INFO: ==13291== Releasing lock... [2025-03-20 16:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:29:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:29:16] Production.INFO: call_cost start [2025-03-20 16:29:16] Production.INFO: call_cost end [2025-03-20 16:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:29:16] Production.INFO: ==13287== Releasing lock... [2025-03-20 16:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:29:19] Production.INFO: count ==6371 [2025-03-20 16:29:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:29:05 - End Time 2025-03-20 16:29:05 [2025-03-20 16:29:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724069', 'tblTempUsageDetail_20' ) start [2025-03-20 16:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724069', 'tblTempUsageDetail_20' ) end [2025-03-20 16:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724069', 'tblTempVendorCDR_20' ) start [2025-03-20 16:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724069', 'tblTempVendorCDR_20' ) end [2025-03-20 16:29:22] Production.INFO: ProcessCDR(1,14724069,1,1,2) [2025-03-20 16:29:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:29:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:29:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:29:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724069', 'tblTempUsageDetail_20' ) start [2025-03-20 16:29:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724069', 'tblTempUsageDetail_20' ) end [2025-03-20 16:29:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:29:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:29:27] Production.INFO: ==13295== Releasing lock... [2025-03-20 16:29:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:29:27] Production.INFO: 75.75 MB #Memory Used# [2025-03-20 20:30:01] Production.INFO: ==13365== Lock acquired, processing the job... [2025-03-20 20:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:30:01] Production.INFO: neon service started [2025-03-20 20:30:01] Production.INFO: neon service started [2025-03-20 20:30:01] Production.INFO: ==13365== Releasing lock... [2025-03-20 20:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:30:02] Production.INFO: ==13369== Lock acquired, processing the job... [2025-03-20 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:30:02] Production.INFO: ==13367== Lock acquired, processing the job... [2025-03-20 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:30:02] Production.INFO: ==13369== Releasing lock... [2025-03-20 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:30:02] Production.INFO: ==13367== Releasing lock... [2025-03-20 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:30:03] Production.INFO: ==13374== Lock acquired, processing the job... [2025-03-20 16:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:30:03] Production.INFO: ==13372== Lock acquired, processing the job... [2025-03-20 16:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 16:30:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 16:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 16:30:04] Production.ERROR: CronJob PID - 13374 [2025-03-20 16:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 16:30:04] Production.ERROR: CronJob ID - 5 [2025-03-20 16:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 16:30:00 [2025-03-20 16:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 16:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 16:30:04] Production.INFO: ==13378== Lock acquired, processing the job... [2025-03-20 16:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:30:04] Production.INFO: ==13376== Lock acquired, processing the job... [2025-03-20 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 16:30:04] Production.INFO: ==13372== Releasing lock... [2025-03-20 16:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 16:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 16:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:30:04] Production.INFO: ==13380== Lock acquired, processing the job... [2025-03-20 16:30:04] Production.INFO: ==13386== Lock acquired, processing the job... [2025-03-20 16:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:30:04] Production.INFO: ==13382== Lock acquired, processing the job... [2025-03-20 16:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:30:04] Production.INFO: ==13384== Lock acquired, processing the job... [2025-03-20 16:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 16:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:30:04] Production.INFO: Account Balance Start. [2025-03-20 16:30:04] Production.INFO: CreateAllLog Start [2025-03-20 16:30:04] Production.INFO: 117 [2025-03-20 16:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:04] Production.INFO: count ==12 [2025-03-20 16:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:30:04] Production.INFO: count ==23 [2025-03-20 16:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724072') start [2025-03-20 16:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724072') end [2025-03-20 16:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:30:04] Production.INFO: 1 [2025-03-20 16:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:30:04] Production.INFO: ==13376== Releasing lock... [2025-03-20 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:04] Production.INFO: ==13386== Releasing lock... [2025-03-20 16:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:30:04] Production.ERROR: done [2025-03-20 16:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:30:04] Production.ERROR: done [2025-03-20 16:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 16:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724074', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 16:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:05] Production.ERROR: done [2025-03-20 16:30:05] Production.INFO: Date 2025-03-14 [2025-03-20 16:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:05] Production.INFO: Date 2025-03-15 [2025-03-20 16:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:05] Production.INFO: Date 2025-03-16 [2025-03-20 16:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 16:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:30:05] Production.INFO: Total Charge 0 [2025-03-20 16:30:05] Production.INFO: CreateAllLog End [2025-03-20 16:30:05] Production.INFO: Account Balance End. [2025-03-20 16:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:30:05] Production.INFO: ==13380== Releasing lock... [2025-03-20 16:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:30:06 [end_date_ymd] => 2025-03-20 16:30:06 [RateCDR] => 1 ) [2025-03-20 16:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:30:06' and `end` < '2025-03-20 16:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724074', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 16:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 16:30:09] Production.INFO: ProcessCDR(1,14724074,1,1,2) [2025-03-20 16:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724074,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724074,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:30:09] Production.INFO: ==13384== Releasing lock... [2025-03-20 16:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 16:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 16:30:14] Production.ERROR: CronJobId end10 [2025-03-20 16:30:14] Production.INFO: ==13378== Releasing lock... [2025-03-20 16:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:30:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:30:16] Production.INFO: call_cost start [2025-03-20 16:30:16] Production.INFO: call_cost end [2025-03-20 16:30:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:30:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:30:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:30:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:30:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:30:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:30:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:30:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:30:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:30:17] Production.INFO: ==13374== Releasing lock... [2025-03-20 16:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:30:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:30:20] Production.INFO: count ==6354 [2025-03-20 16:30:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:30:06 - End Time 2025-03-20 16:30:06 [2025-03-20 16:30:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724075', 'tblTempUsageDetail_20' ) start [2025-03-20 16:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724075', 'tblTempUsageDetail_20' ) end [2025-03-20 16:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724075', 'tblTempVendorCDR_20' ) start [2025-03-20 16:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724075', 'tblTempVendorCDR_20' ) end [2025-03-20 16:30:23] Production.INFO: ProcessCDR(1,14724075,1,1,2) [2025-03-20 16:30:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:30:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724075,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:30:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:30:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724075,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724075', 'tblTempUsageDetail_20' ) start [2025-03-20 16:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724075', 'tblTempUsageDetail_20' ) end [2025-03-20 16:30:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:30:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:30:27] Production.INFO: ==13382== Releasing lock... [2025-03-20 16:30:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:30:27] Production.INFO: 75.5 MB #Memory Used# [2025-03-20 20:31:02] Production.INFO: ==13453== Lock acquired, processing the job... [2025-03-20 20:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:31:02] Production.INFO: neon service started [2025-03-20 20:31:02] Production.INFO: neon service started [2025-03-20 20:31:02] Production.INFO: ==13453== Releasing lock... [2025-03-20 20:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:31:02] Production.INFO: ==13455== Lock acquired, processing the job... [2025-03-20 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:31:02] Production.INFO: ==13455== Releasing lock... [2025-03-20 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:31:03] Production.INFO: ==13457== Lock acquired, processing the job... [2025-03-20 20:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:31:03] Production.INFO: ==13457== Releasing lock... [2025-03-20 20:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:31:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:31:03] Production.INFO: ==13460== Lock acquired, processing the job... [2025-03-20 16:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:31:03] Production.INFO: ==13462== Lock acquired, processing the job... [2025-03-20 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:31:03] Production.INFO: ==13464== Lock acquired, processing the job... [2025-03-20 16:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:31:03] Production.INFO: ==13466== Lock acquired, processing the job... [2025-03-20 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:31:03] Production.INFO: Account Balance Start. [2025-03-20 16:31:03] Production.INFO: CreateAllLog Start [2025-03-20 16:31:03] Production.INFO: 117 [2025-03-20 16:31:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.INFO: ==13468== Lock acquired, processing the job... [2025-03-20 16:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.INFO: ==13462== Releasing lock... [2025-03-20 16:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:31:04] Production.INFO: ==13470== Lock acquired, processing the job... [2025-03-20 16:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:31:04] Production.INFO: count ==12 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:31:04] Production.INFO: count ==23 [2025-03-20 16:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724079') start [2025-03-20 16:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.ERROR: done [2025-03-20 16:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724079') end [2025-03-20 16:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:31:04] Production.INFO: 1 [2025-03-20 16:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.INFO: ==13470== Releasing lock... [2025-03-20 16:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.ERROR: done [2025-03-20 16:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:31:04] Production.INFO: Total Charge 0 [2025-03-20 16:31:04] Production.INFO: CreateAllLog End [2025-03-20 16:31:05] Production.INFO: Account Balance End. [2025-03-20 16:31:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:31:05] Production.INFO: ==13466== Releasing lock... [2025-03-20 16:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:31:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:31:05 [end_date_ymd] => 2025-03-20 16:31:05 [RateCDR] => 1 ) [2025-03-20 16: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-03-20 13:31:05' and `end` < '2025-03-20 16:31:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:31:13] Production.ERROR: CronJobId end10 [2025-03-20 16:31:13] Production.INFO: ==13464== Releasing lock... [2025-03-20 16:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:31:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:31:14] Production.INFO: call_cost start [2025-03-20 16:31:14] Production.INFO: call_cost end [2025-03-20 16:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:31:15] Production.INFO: ==13460== Releasing lock... [2025-03-20 16:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:31:19] Production.INFO: count ==6327 [2025-03-20 16:31:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:31:05 - End Time 2025-03-20 16:31:05 [2025-03-20 16:31:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724080', 'tblTempUsageDetail_20' ) start [2025-03-20 16:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724080', 'tblTempUsageDetail_20' ) end [2025-03-20 16:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724080', 'tblTempVendorCDR_20' ) start [2025-03-20 16:31:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724080', 'tblTempVendorCDR_20' ) end [2025-03-20 16:31:22] Production.INFO: ProcessCDR(1,14724080,1,1,2) [2025-03-20 16:31:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:31:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:31:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:31:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724080', 'tblTempUsageDetail_20' ) start [2025-03-20 16:31:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724080', 'tblTempUsageDetail_20' ) end [2025-03-20 16:31:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:31:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:31:27] Production.INFO: ==13468== Releasing lock... [2025-03-20 16:31:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:31:27] Production.INFO: 75.5 MB #Memory Used# [2025-03-20 20:32:01] Production.INFO: ==13544== Lock acquired, processing the job... [2025-03-20 20:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:32:01] Production.INFO: neon service started [2025-03-20 20:32:01] Production.INFO: neon service started [2025-03-20 20:32:01] Production.INFO: ==13544== Releasing lock... [2025-03-20 20:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:32:01] Production.INFO: ==13547== Lock acquired, processing the job... [2025-03-20 16:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:32:02] Production.INFO: ==13547== Releasing lock... [2025-03-20 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:32:02] Production.INFO: ==13549== Lock acquired, processing the job... [2025-03-20 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:32:02] Production.INFO: ==13549== Releasing lock... [2025-03-20 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:32:03] Production.INFO: ==13553== Lock acquired, processing the job... [2025-03-20 16:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:32:03] Production.INFO: ==13555== Lock acquired, processing the job... [2025-03-20 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:32:03] Production.INFO: ==13559== Lock acquired, processing the job... [2025-03-20 16:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:32:03] Production.INFO: ==13557== Lock acquired, processing the job... [2025-03-20 16:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:32:03] Production.INFO: Account Balance Start. [2025-03-20 16:32:03] Production.INFO: CreateAllLog Start [2025-03-20 16:32:03] Production.INFO: 117 [2025-03-20 16:32:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:32:03] Production.INFO: ==13555== Releasing lock... [2025-03-20 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:32:03] Production.INFO: ==13563== Lock acquired, processing the job... [2025-03-20 16:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:32:03] Production.INFO: ==13561== Lock acquired, processing the job... [2025-03-20 16:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:32:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:32:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:32:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:03] Production.INFO: count ==12 [2025-03-20 16:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:32:04] Production.INFO: count ==23 [2025-03-20 16:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724084') start [2025-03-20 16:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724084') end [2025-03-20 16:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:32:04] Production.INFO: 1 [2025-03-20 16:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:04] Production.INFO: ==13563== Releasing lock... [2025-03-20 16:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:04] Production.ERROR: done [2025-03-20 16:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:32:04] Production.ERROR: done [2025-03-20 16:32:04] Production.INFO: Total Charge 0 [2025-03-20 16:32:04] Production.INFO: CreateAllLog End [2025-03-20 16:32:04] Production.INFO: Account Balance End. [2025-03-20 16:32:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:32:04] Production.INFO: ==13559== Releasing lock... [2025-03-20 16:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:32:05 [end_date_ymd] => 2025-03-20 16:32:05 [RateCDR] => 1 ) [2025-03-20 16:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:32:05' and `end` < '2025-03-20 16:32:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:32:14] Production.ERROR: CronJobId end10 [2025-03-20 16:32:14] Production.INFO: ==13557== Releasing lock... [2025-03-20 16:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:32:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:32:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:32:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:32:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:32:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:32:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:32:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:32:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:32:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:32:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:32:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:32:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:32:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:32:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:32:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:32:15] Production.INFO: call_cost start [2025-03-20 16:32:15] Production.INFO: call_cost end [2025-03-20 16:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:32:16] Production.INFO: ==13553== Releasing lock... [2025-03-20 16:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:32:19] Production.INFO: count ==6324 [2025-03-20 16:32:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:32:05 - End Time 2025-03-20 16:32:05 [2025-03-20 16:32:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724085', 'tblTempUsageDetail_20' ) start [2025-03-20 16:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724085', 'tblTempUsageDetail_20' ) end [2025-03-20 16:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724085', 'tblTempVendorCDR_20' ) start [2025-03-20 16:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724085', 'tblTempVendorCDR_20' ) end [2025-03-20 16:32:22] Production.INFO: ProcessCDR(1,14724085,1,1,2) [2025-03-20 16:32:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:32:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724085', 'tblTempUsageDetail_20' ) start [2025-03-20 16:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724085', 'tblTempUsageDetail_20' ) end [2025-03-20 16:32:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:32:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:32:27] Production.INFO: ==13561== Releasing lock... [2025-03-20 16:32:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:32:27] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:33:02] Production.INFO: ==13636== Lock acquired, processing the job... [2025-03-20 20:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:33:02] Production.INFO: neon service started [2025-03-20 20:33:02] Production.INFO: neon service started [2025-03-20 20:33:02] Production.INFO: ==13636== Releasing lock... [2025-03-20 20:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:33:02] Production.INFO: ==13639== Lock acquired, processing the job... [2025-03-20 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:33:02] Production.INFO: ==13641== Lock acquired, processing the job... [2025-03-20 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:33:02] Production.INFO: ==13641== Releasing lock... [2025-03-20 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:33:02] Production.INFO: ==13639== Releasing lock... [2025-03-20 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:33:03] Production.INFO: ==13649== Lock acquired, processing the job... [2025-03-20 16:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:33:03] Production.INFO: ==13653== Lock acquired, processing the job... [2025-03-20 16:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:33:03] Production.INFO: Account Balance Start. [2025-03-20 16:33:03] Production.INFO: CreateAllLog Start [2025-03-20 16:33:03] Production.INFO: 117 [2025-03-20 16:33:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:03] Production.INFO: count ==12 [2025-03-20 16:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:33:03] Production.INFO: count ==23 [2025-03-20 16:33:03] Production.INFO: ==13643== Lock acquired, processing the job... [2025-03-20 16:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724087') start [2025-03-20 16:33:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:33:03] Production.INFO: ==13645== Lock acquired, processing the job... [2025-03-20 16:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:03] Production.INFO: ==13647== Lock acquired, processing the job... [2025-03-20 16:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:33:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724087') end [2025-03-20 16:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:33:04] Production.INFO: 1 [2025-03-20 16:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:33:04] Production.INFO: ==13651== Lock acquired, processing the job... [2025-03-20 16:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:33:04] Production.INFO: ==13653== Releasing lock... [2025-03-20 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:04] Production.INFO: ==13645== Releasing lock... [2025-03-20 16:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:33:04] Production.INFO: Total Charge 0 [2025-03-20 16:33:04] Production.INFO: CreateAllLog End [2025-03-20 16:33:04] Production.ERROR: done [2025-03-20 16:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:33:04] Production.ERROR: done [2025-03-20 16:33:04] Production.INFO: Account Balance End. [2025-03-20 16:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:33:04] Production.INFO: ==13649== Releasing lock... [2025-03-20 16:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:33:05 [end_date_ymd] => 2025-03-20 16:33:05 [RateCDR] => 1 ) [2025-03-20 16:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:33:05' and `end` < '2025-03-20 16:33:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:33:14] Production.ERROR: CronJobId end10 [2025-03-20 16:33:14] Production.INFO: ==13647== Releasing lock... [2025-03-20 16:33:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:33:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:33:16] Production.INFO: call_cost start [2025-03-20 16:33:16] Production.INFO: call_cost end [2025-03-20 16:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:33:16] Production.INFO: ==13643== Releasing lock... [2025-03-20 16:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:33:19] Production.INFO: count ==6330 [2025-03-20 16:33:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:33:05 - End Time 2025-03-20 16:33:05 [2025-03-20 16:33:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724090', 'tblTempUsageDetail_20' ) start [2025-03-20 16:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724090', 'tblTempUsageDetail_20' ) end [2025-03-20 16:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724090', 'tblTempVendorCDR_20' ) start [2025-03-20 16:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724090', 'tblTempVendorCDR_20' ) end [2025-03-20 16:33:22] Production.INFO: ProcessCDR(1,14724090,1,1,2) [2025-03-20 16:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:33:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:33:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:33:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724090', 'tblTempUsageDetail_20' ) start [2025-03-20 16:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724090', 'tblTempUsageDetail_20' ) end [2025-03-20 16:33:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:33:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:33:27] Production.INFO: ==13651== Releasing lock... [2025-03-20 16:33:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:33:27] Production.INFO: 75.5 MB #Memory Used# [2025-03-20 20:34:01] Production.INFO: ==13721== Lock acquired, processing the job... [2025-03-20 20:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:34:01] Production.INFO: neon service started [2025-03-20 20:34:01] Production.INFO: neon service started [2025-03-20 20:34:01] Production.INFO: ==13721== Releasing lock... [2025-03-20 20:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:34:02] Production.INFO: ==13723== Lock acquired, processing the job... [2025-03-20 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:34:02] Production.INFO: ==13725== Lock acquired, processing the job... [2025-03-20 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:34:02] Production.INFO: ==13725== Releasing lock... [2025-03-20 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:34:02] Production.INFO: ==13723== Releasing lock... [2025-03-20 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:34:03] Production.INFO: ==13732== Lock acquired, processing the job... [2025-03-20 16:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:34:03] Production.INFO: ==13730== Lock acquired, processing the job... [2025-03-20 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:34:03] Production.INFO: ==13728== Lock acquired, processing the job... [2025-03-20 16:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:34:03] Production.INFO: ==13734== Lock acquired, processing the job... [2025-03-20 16:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:34:03] Production.INFO: ==13738== Lock acquired, processing the job... [2025-03-20 16:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:34:03] Production.INFO: Account Balance Start. [2025-03-20 16:34:03] Production.INFO: CreateAllLog Start [2025-03-20 16:34:03] Production.INFO: 117 [2025-03-20 16:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:34:03] Production.INFO: ==13736== Lock acquired, processing the job... [2025-03-20 16:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:34:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:34:03] Production.INFO: count ==12 [2025-03-20 16:34:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:34:03] Production.INFO: count ==23 [2025-03-20 16:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724094') start [2025-03-20 16:34:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:03] Production.INFO: ==13730== Releasing lock... [2025-03-20 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:34:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724094') end [2025-03-20 16:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:34:04] Production.INFO: 1 [2025-03-20 16:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:04] Production.INFO: ==13738== Releasing lock... [2025-03-20 16:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:34:04] Production.ERROR: done [2025-03-20 16:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:34:04] Production.INFO: Total Charge 0 [2025-03-20 16:34:04] Production.INFO: CreateAllLog End [2025-03-20 16:34:04] Production.ERROR: done [2025-03-20 16:34:04] Production.INFO: Account Balance End. [2025-03-20 16:34:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:34:04] Production.INFO: ==13734== Releasing lock... [2025-03-20 16:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:34:05 [end_date_ymd] => 2025-03-20 16:34:05 [RateCDR] => 1 ) [2025-03-20 16:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:34:05' and `end` < '2025-03-20 16:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:34:13] Production.ERROR: CronJobId end10 [2025-03-20 16:34:13] Production.INFO: ==13732== Releasing lock... [2025-03-20 16:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:34:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:34:14] Production.INFO: call_cost start [2025-03-20 16:34:14] Production.INFO: call_cost end [2025-03-20 16:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:34:15] Production.INFO: ==13728== Releasing lock... [2025-03-20 16:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:34:19] Production.INFO: count ==6337 [2025-03-20 16:34:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:34:05 - End Time 2025-03-20 16:34:05 [2025-03-20 16:34:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724095', 'tblTempUsageDetail_20' ) start [2025-03-20 16:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724095', 'tblTempUsageDetail_20' ) end [2025-03-20 16:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724095', 'tblTempVendorCDR_20' ) start [2025-03-20 16:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724095', 'tblTempVendorCDR_20' ) end [2025-03-20 16:34:22] Production.INFO: ProcessCDR(1,14724095,1,1,2) [2025-03-20 16:34:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:34:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:34:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:34:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724095', 'tblTempUsageDetail_20' ) start [2025-03-20 16:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724095', 'tblTempUsageDetail_20' ) end [2025-03-20 16:34:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:34:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:34:27] Production.INFO: ==13736== Releasing lock... [2025-03-20 16:34:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:34:27] Production.INFO: 75.5 MB #Memory Used# [2025-03-20 20:35:02] Production.INFO: ==13810== Lock acquired, processing the job... [2025-03-20 20:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:35:02] Production.INFO: neon service started [2025-03-20 20:35:02] Production.INFO: neon service started [2025-03-20 20:35:02] Production.INFO: ==13810== Releasing lock... [2025-03-20 20:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:35:02] Production.INFO: ==13812== Lock acquired, processing the job... [2025-03-20 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:35:02] Production.INFO: ==13814== Lock acquired, processing the job... [2025-03-20 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:35:02] Production.INFO: ==13814== Releasing lock... [2025-03-20 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:35:03] Production.INFO: ==13812== Releasing lock... [2025-03-20 16:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:35:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:35:04] Production.INFO: ==13821== Lock acquired, processing the job... [2025-03-20 16:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:35:04] Production.INFO: ==13827== Lock acquired, processing the job... [2025-03-20 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:35:04] Production.INFO: ==13817== Lock acquired, processing the job... [2025-03-20 16:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:35:04] Production.INFO: ==13819== Lock acquired, processing the job... [2025-03-20 16:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:35:04] Production.INFO: ==13823== Lock acquired, processing the job... [2025-03-20 16:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:35:04] Production.INFO: count ==12 [2025-03-20 16:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:35:04] Production.INFO: count ==23 [2025-03-20 16:35:04] Production.INFO: ==13825== Lock acquired, processing the job... [2025-03-20 16:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724096') start [2025-03-20 16:35:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:35:04] Production.INFO: Account Balance Start. [2025-03-20 16:35:04] Production.INFO: CreateAllLog Start [2025-03-20 16:35:04] Production.INFO: 117 [2025-03-20 16:35:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:35:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724096') end [2025-03-20 16:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:35:04] Production.INFO: 1 [2025-03-20 16:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:04] Production.INFO: ==13827== Releasing lock... [2025-03-20 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:04] Production.INFO: ==13819== Releasing lock... [2025-03-20 16:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:04] Production.ERROR: done [2025-03-20 16:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:05] Production.INFO: Date 2025-03-14 [2025-03-20 16:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:05] Production.ERROR: done [2025-03-20 16:35:05] Production.INFO: Date 2025-03-15 [2025-03-20 16:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:05] Production.INFO: Date 2025-03-16 [2025-03-20 16:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:05] Production.INFO: Date 2025-03-17 [2025-03-20 16:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:35:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:35:05] Production.INFO: Total Charge 0 [2025-03-20 16:35:05] Production.INFO: CreateAllLog End [2025-03-20 16:35:05] Production.INFO: Account Balance End. [2025-03-20 16:35:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:35:05] Production.INFO: ==13823== Releasing lock... [2025-03-20 16:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:35:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:35:06 [end_date_ymd] => 2025-03-20 16:35:06 [RateCDR] => 1 ) [2025-03-20 16: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-03-20 13:35:06' and `end` < '2025-03-20 16: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-03-20 16:35:14] Production.ERROR: CronJobId end10 [2025-03-20 16:35:14] Production.INFO: ==13821== Releasing lock... [2025-03-20 16:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:35:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:35:15] Production.INFO: call_cost start [2025-03-20 16:35:15] Production.INFO: call_cost end [2025-03-20 16:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:35:16] Production.INFO: ==13817== Releasing lock... [2025-03-20 16:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:35:19] Production.INFO: count ==6305 [2025-03-20 16:35:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:35:06 - End Time 2025-03-20 16:35:06 [2025-03-20 16:35:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724100', 'tblTempUsageDetail_20' ) start [2025-03-20 16:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724100', 'tblTempUsageDetail_20' ) end [2025-03-20 16:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724100', 'tblTempVendorCDR_20' ) start [2025-03-20 16:35:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724100', 'tblTempVendorCDR_20' ) end [2025-03-20 16:35:22] Production.INFO: ProcessCDR(1,14724100,1,1,2) [2025-03-20 16:35:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:35:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:35:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:35:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:35:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724100', 'tblTempUsageDetail_20' ) start [2025-03-20 16:35:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724100', 'tblTempUsageDetail_20' ) end [2025-03-20 16:35:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:35:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:35:28] Production.INFO: ==13825== Releasing lock... [2025-03-20 16:35:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:35:28] Production.INFO: 75.25 MB #Memory Used# [2025-03-20 20:36:01] Production.INFO: ==13898== Lock acquired, processing the job... [2025-03-20 20:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:36:01] Production.INFO: neon service started [2025-03-20 20:36:01] Production.INFO: neon service started [2025-03-20 20:36:01] Production.INFO: ==13898== Releasing lock... [2025-03-20 20:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:36:02] Production.INFO: ==13900== Lock acquired, processing the job... [2025-03-20 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:36:02] Production.INFO: ==13900== Releasing lock... [2025-03-20 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:36:02] Production.INFO: ==13902== Lock acquired, processing the job... [2025-03-20 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:36:02] Production.INFO: ==13902== Releasing lock... [2025-03-20 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:36:03] Production.INFO: ==13904== Lock acquired, processing the job... [2025-03-20 16:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:36:03] Production.INFO: ==13912== Lock acquired, processing the job... [2025-03-20 16:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:36:03] Production.INFO: ==13906== Lock acquired, processing the job... [2025-03-20 16:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:36:03] Production.INFO: ==13908== Lock acquired, processing the job... [2025-03-20 16:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:36:03] Production.INFO: ==13910== Lock acquired, processing the job... [2025-03-20 16:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:36:03] Production.ERROR: done [2025-03-20 16:36:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:36:03] Production.INFO: ==13914== Lock acquired, processing the job... [2025-03-20 16:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:36:03] Production.INFO: Account Balance Start. [2025-03-20 16:36:03] Production.INFO: CreateAllLog Start [2025-03-20 16:36:03] Production.ERROR: done [2025-03-20 16:36:03] Production.INFO: 117 [2025-03-20 16:36:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: ==13906== Releasing lock... [2025-03-20 16:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: count ==12 [2025-03-20 16:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: count ==23 [2025-03-20 16:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724104') start [2025-03-20 16:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724104') end [2025-03-20 16:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:36:04] Production.INFO: 1 [2025-03-20 16:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:36:04] Production.INFO: ==13914== Releasing lock... [2025-03-20 16:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:36:04] Production.INFO: Total Charge 0 [2025-03-20 16:36:04] Production.INFO: CreateAllLog End [2025-03-20 16:36:04] Production.INFO: Account Balance End. [2025-03-20 16:36:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:36:04] Production.INFO: ==13910== Releasing lock... [2025-03-20 16:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:36:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:36:05 [end_date_ymd] => 2025-03-20 16:36:05 [RateCDR] => 1 ) [2025-03-20 16:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:36:05' and `end` < '2025-03-20 16:36:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:36:13] Production.ERROR: CronJobId end10 [2025-03-20 16:36:13] Production.INFO: ==13908== Releasing lock... [2025-03-20 16:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:36:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:36:14] Production.INFO: call_cost start [2025-03-20 16:36:14] Production.INFO: call_cost end [2025-03-20 16:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:36:15] Production.INFO: ==13904== Releasing lock... [2025-03-20 16:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:36:18] Production.INFO: count ==6291 [2025-03-20 16:36:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:36:05 - End Time 2025-03-20 16:36:05 [2025-03-20 16:36:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724105', 'tblTempUsageDetail_20' ) start [2025-03-20 16:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724105', 'tblTempUsageDetail_20' ) end [2025-03-20 16:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724105', 'tblTempVendorCDR_20' ) start [2025-03-20 16:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724105', 'tblTempVendorCDR_20' ) end [2025-03-20 16:36:21] Production.INFO: ProcessCDR(1,14724105,1,1,2) [2025-03-20 16:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:36:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:36:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:36:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724105', 'tblTempUsageDetail_20' ) start [2025-03-20 16:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724105', 'tblTempUsageDetail_20' ) end [2025-03-20 16:36:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:36:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:36:27] Production.INFO: ==13912== Releasing lock... [2025-03-20 16:36:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:36:27] Production.INFO: 75 MB #Memory Used# [2025-03-20 20:37:02] Production.INFO: ==13978== Lock acquired, processing the job... [2025-03-20 20:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:37:02] Production.INFO: neon service started [2025-03-20 20:37:02] Production.INFO: neon service started [2025-03-20 20:37:02] Production.INFO: ==13978== Releasing lock... [2025-03-20 20:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:37:02] Production.INFO: ==13980== Lock acquired, processing the job... [2025-03-20 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:37:02] Production.INFO: ==13980== Releasing lock... [2025-03-20 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:37:02] Production.INFO: ==13982== Lock acquired, processing the job... [2025-03-20 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:37:03] Production.INFO: ==13982== Releasing lock... [2025-03-20 20:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:37:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:37:03] Production.INFO: ==13991== Lock acquired, processing the job... [2025-03-20 16:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:37:03] Production.INFO: Account Balance Start. [2025-03-20 16:37:03] Production.INFO: CreateAllLog Start [2025-03-20 16:37:03] Production.INFO: 117 [2025-03-20 16:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:03] Production.INFO: Date 2025-03-14 [2025-03-20 16:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:03] Production.INFO: Date 2025-03-15 [2025-03-20 16:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:03] Production.INFO: Date 2025-03-16 [2025-03-20 16:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:04] Production.INFO: ==13985== Lock acquired, processing the job... [2025-03-20 16:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:37:04] Production.INFO: Total Charge 0 [2025-03-20 16:37:04] Production.INFO: CreateAllLog End [2025-03-20 16:37:04] Production.INFO: ==13987== Lock acquired, processing the job... [2025-03-20 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:37:04] Production.INFO: ==13989== Lock acquired, processing the job... [2025-03-20 16:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:37:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:37:04] Production.INFO: ==13993== Lock acquired, processing the job... [2025-03-20 16:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:37:04] Production.INFO: ==13995== Lock acquired, processing the job... [2025-03-20 16:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:37:04] Production.INFO: Account Balance End. [2025-03-20 16:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:37:04] Production.INFO: ==13991== Releasing lock... [2025-03-20 16:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:37:04] Production.INFO: ==13987== Releasing lock... [2025-03-20 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:37:04] Production.INFO: count ==12 [2025-03-20 16:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:37:04] Production.INFO: count ==23 [2025-03-20 16:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724109') start [2025-03-20 16:37:04] Production.ERROR: done [2025-03-20 16:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724109') end [2025-03-20 16:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:37:04] Production.INFO: 1 [2025-03-20 16:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:37:04] Production.ERROR: done [2025-03-20 16:37:05] Production.INFO: ==13995== Releasing lock... [2025-03-20 16:37:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:37:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:37:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:37:06 [end_date_ymd] => 2025-03-20 16:37:06 [RateCDR] => 1 ) [2025-03-20 16: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-03-20 13:37:06' and `end` < '2025-03-20 16: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-03-20 16:37:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #11 [internal function]: App\Console\Commands\NeonAlerts->fire() #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,12))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #9 [internal function]: App\Console\Commands\NeonAlerts->fire() #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 {main} [2025-03-20 16:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:37:14] Production.INFO: call_cost start [2025-03-20 16:37:14] Production.INFO: call_cost end [2025-03-20 16:37:14] Production.ERROR: CronJobId end10 [2025-03-20 16:37:14] Production.INFO: ==13989== Releasing lock... [2025-03-20 16:37:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:37:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:37:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:37:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:37:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:37:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:37:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:37:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:37:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:37:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:37:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:37:14] Production.INFO: ==13985== Releasing lock... [2025-03-20 16:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:37:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:37:19] Production.INFO: count ==6229 [2025-03-20 16:37:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:37:06 - End Time 2025-03-20 16:37:06 [2025-03-20 16:37:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724110', 'tblTempUsageDetail_20' ) start [2025-03-20 16:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724110', 'tblTempUsageDetail_20' ) end [2025-03-20 16:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724110', 'tblTempVendorCDR_20' ) start [2025-03-20 16:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724110', 'tblTempVendorCDR_20' ) end [2025-03-20 16:37:22] Production.INFO: ProcessCDR(1,14724110,1,1,2) [2025-03-20 16:37:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:37:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:37:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:37:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724110', 'tblTempUsageDetail_20' ) start [2025-03-20 16:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724110', 'tblTempUsageDetail_20' ) end [2025-03-20 16:37:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:37:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:37:27] Production.INFO: ==13993== Releasing lock... [2025-03-20 16:37:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:37:27] Production.INFO: 74.5 MB #Memory Used# [2025-03-20 20:38:01] Production.INFO: ==14068== Lock acquired, processing the job... [2025-03-20 20:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:38:01] Production.INFO: neon service started [2025-03-20 20:38:01] Production.INFO: neon service started [2025-03-20 20:38:01] Production.INFO: ==14068== Releasing lock... [2025-03-20 20:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:38:02] Production.INFO: ==14070== Lock acquired, processing the job... [2025-03-20 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:38:02] Production.INFO: ==14072== Lock acquired, processing the job... [2025-03-20 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:38:02] Production.INFO: ==14072== Releasing lock... [2025-03-20 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:38:02] Production.INFO: ==14070== Releasing lock... [2025-03-20 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:38:03] Production.INFO: ==14081== Lock acquired, processing the job... [2025-03-20 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:38:03] Production.INFO: Account Balance Start. [2025-03-20 16:38:03] Production.INFO: CreateAllLog Start [2025-03-20 16:38:03] Production.INFO: 117 [2025-03-20 16:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:03] Production.INFO: ==14086== Lock acquired, processing the job... [2025-03-20 16:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:38:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:38:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:03] Production.INFO: count ==12 [2025-03-20 16:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:38:03] Production.INFO: count ==23 [2025-03-20 16:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724112') start [2025-03-20 16:38:03] Production.INFO: Date 2025-03-14 [2025-03-20 16:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:03] Production.INFO: ==14075== Lock acquired, processing the job... [2025-03-20 16:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:38:03] Production.INFO: Date 2025-03-15 [2025-03-20 16:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:03] Production.INFO: ==14079== Lock acquired, processing the job... [2025-03-20 16:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:38:04] Production.INFO: ==14077== Lock acquired, processing the job... [2025-03-20 16:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:38:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:04] Production.INFO: ==14083== Lock acquired, processing the job... [2025-03-20 16:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724112') end [2025-03-20 16:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:38:04] Production.INFO: 1 [2025-03-20 16:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:38:04] Production.INFO: ==14086== Releasing lock... [2025-03-20 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:38:04] Production.INFO: Total Charge 0 [2025-03-20 16:38:04] Production.INFO: CreateAllLog End [2025-03-20 16:38:04] Production.INFO: ==14077== Releasing lock... [2025-03-20 16:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:38:04] Production.INFO: Account Balance End. [2025-03-20 16:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:38:04] Production.INFO: ==14081== Releasing lock... [2025-03-20 16:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:38:04] Production.ERROR: done [2025-03-20 16:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:38:04] Production.ERROR: done [2025-03-20 16:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:38:05 [end_date_ymd] => 2025-03-20 16:38:05 [RateCDR] => 1 ) [2025-03-20 16:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:38:05' and `end` < '2025-03-20 16:38:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:38:13] Production.ERROR: CronJobId end10 [2025-03-20 16:38:13] Production.INFO: ==14079== Releasing lock... [2025-03-20 16:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:38:14] Production.INFO: call_cost start [2025-03-20 16:38:14] Production.INFO: call_cost end [2025-03-20 16:38:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:38:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:38:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:38:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:38:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:38:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:38:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:38:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:38:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:38:15] Production.INFO: ==14075== Releasing lock... [2025-03-20 16:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:38:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:38:19] Production.INFO: count ==6186 [2025-03-20 16:38:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:38:05 - End Time 2025-03-20 16:38:05 [2025-03-20 16:38:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724115', 'tblTempUsageDetail_20' ) start [2025-03-20 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724115', 'tblTempUsageDetail_20' ) end [2025-03-20 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724115', 'tblTempVendorCDR_20' ) start [2025-03-20 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724115', 'tblTempVendorCDR_20' ) end [2025-03-20 16:38:21] Production.INFO: ProcessCDR(1,14724115,1,1,2) [2025-03-20 16:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724115', 'tblTempUsageDetail_20' ) start [2025-03-20 16:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724115', 'tblTempUsageDetail_20' ) end [2025-03-20 16:38:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:38:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:38:26] Production.INFO: ==14083== Releasing lock... [2025-03-20 16:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:38:26] Production.INFO: 74.25 MB #Memory Used# [2025-03-20 20:39:02] Production.INFO: ==14151== Lock acquired, processing the job... [2025-03-20 20:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:39:02] Production.INFO: neon service started [2025-03-20 20:39:02] Production.INFO: neon service started [2025-03-20 20:39:02] Production.INFO: ==14151== Releasing lock... [2025-03-20 20:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:39:02] Production.INFO: ==14157== Lock acquired, processing the job... [2025-03-20 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:39:02] Production.INFO: ==14157== Releasing lock... [2025-03-20 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:39:02] Production.INFO: ==14155== Lock acquired, processing the job... [2025-03-20 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:39:02] Production.INFO: ==14155== Releasing lock... [2025-03-20 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:39:04] Production.INFO: ==14170== Lock acquired, processing the job... [2025-03-20 16:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:39:04] Production.INFO: ==14172== Lock acquired, processing the job... [2025-03-20 16:39:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:39:04] Production.INFO: ==14162== Lock acquired, processing the job... [2025-03-20 16:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:39:04] Production.INFO: ==14166== Lock acquired, processing the job... [2025-03-20 16:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:39:04] Production.INFO: ==14164== Lock acquired, processing the job... [2025-03-20 16:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:39:04] Production.INFO: ==14168== Lock acquired, processing the job... [2025-03-20 16:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:39:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:39:04] Production.INFO: Account Balance Start. [2025-03-20 16:39:04] Production.INFO: CreateAllLog Start [2025-03-20 16:39:04] Production.INFO: 117 [2025-03-20 16:39:04] Production.INFO: count ==12 [2025-03-20 16:39:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:39:04] Production.INFO: count ==23 [2025-03-20 16:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:39:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724116') start [2025-03-20 16:39:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:04] Production.ERROR: done [2025-03-20 16:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:39:04] Production.INFO: ==14164== Releasing lock... [2025-03-20 16:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:39:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724116') end [2025-03-20 16:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:39:04] Production.INFO: 1 [2025-03-20 16:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:39:04] Production.INFO: ==14172== Releasing lock... [2025-03-20 16:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:04] Production.ERROR: done [2025-03-20 16:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:05] Production.INFO: Date 2025-03-16 [2025-03-20 16:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:05] Production.INFO: Date 2025-03-17 [2025-03-20 16:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:39:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:39:05] Production.INFO: Total Charge 0 [2025-03-20 16:39:05] Production.INFO: CreateAllLog End [2025-03-20 16:39:05] Production.INFO: Account Balance End. [2025-03-20 16:39:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:39:05] Production.INFO: ==14168== Releasing lock... [2025-03-20 16:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:39:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:39:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:39:06 [end_date_ymd] => 2025-03-20 16:39:06 [RateCDR] => 1 ) [2025-03-20 16:39:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:39:06' and `end` < '2025-03-20 16:39:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:39:13] Production.ERROR: CronJobId end10 [2025-03-20 16:39:13] Production.INFO: ==14166== Releasing lock... [2025-03-20 16:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:39:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:39:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:39:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:39:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:39:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:39:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:39:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:39:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:39:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:39:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:39:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:39:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:39:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:39:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:39:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:39:16] Production.INFO: call_cost start [2025-03-20 16:39:16] Production.INFO: call_cost end [2025-03-20 16:39:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:39:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:39:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:39:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:39:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:39:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:39:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:39:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:39:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:39:17] Production.INFO: ==14162== Releasing lock... [2025-03-20 16:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:39:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:39:19] Production.INFO: count ==6168 [2025-03-20 16:39:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:39:06 - End Time 2025-03-20 16:39:06 [2025-03-20 16:39:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724120', 'tblTempUsageDetail_20' ) start [2025-03-20 16:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724120', 'tblTempUsageDetail_20' ) end [2025-03-20 16:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724120', 'tblTempVendorCDR_20' ) start [2025-03-20 16:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724120', 'tblTempVendorCDR_20' ) end [2025-03-20 16:39:22] Production.INFO: ProcessCDR(1,14724120,1,1,2) [2025-03-20 16:39:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724120', 'tblTempUsageDetail_20' ) start [2025-03-20 16:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724120', 'tblTempUsageDetail_20' ) end [2025-03-20 16:39:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:39:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:39:25] Production.INFO: ==14170== Releasing lock... [2025-03-20 16:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:39:25] Production.INFO: 74.25 MB #Memory Used# [2025-03-20 20:40:01] Production.INFO: ==14251== Lock acquired, processing the job... [2025-03-20 20:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:40:01] Production.INFO: neon service started [2025-03-20 20:40:01] Production.INFO: neon service started [2025-03-20 20:40:01] Production.INFO: ==14251== Releasing lock... [2025-03-20 20:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:40:02] Production.INFO: ==14253== Lock acquired, processing the job... [2025-03-20 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:40:02] Production.INFO: ==14253== Releasing lock... [2025-03-20 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:40:02] Production.INFO: ==14255== Lock acquired, processing the job... [2025-03-20 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:40:02] Production.INFO: ==14255== Releasing lock... [2025-03-20 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:40:03] Production.INFO: ==14259== Lock acquired, processing the job... [2025-03-20 16:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:40:03] Production.INFO: ==14257== Lock acquired, processing the job... [2025-03-20 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 16:40:03] Production.INFO: ==14270== Lock acquired, processing the job... [2025-03-20 16:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 16:40:03] Production.INFO: ==14272== Lock acquired, processing the job... [2025-03-20 16:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 16:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 16:40:03] Production.ERROR: CronJob PID - 14259 [2025-03-20 16:40:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 16:40:03] Production.ERROR: CronJob ID - 5 [2025-03-20 16:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 16:40:00 [2025-03-20 16:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 16:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 16:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 16:40:03] Production.ERROR: CronJob PID - 14270 [2025-03-20 16:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 16:40:03] Production.ERROR: CronJob ID - 17 [2025-03-20 16:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 16:40:00 [2025-03-20 16:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 16:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 16:40:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 16:40:03] Production.ERROR: CronJob PID - 14272 [2025-03-20 16:40:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 16:40:03] Production.ERROR: CronJob ID - 19 [2025-03-20 16:40:03] Production.ERROR: CronJob Last Run Time 2025-03-20 16:40:00 [2025-03-20 16:40:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 16:40:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 16: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-03-20 16:40:03] Production.INFO: ==14261== Lock acquired, processing the job... [2025-03-20 16:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:40:03] Production.INFO: ==14264== Lock acquired, processing the job... [2025-03-20 16:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:40:03] Production.INFO: ==14266== Lock acquired, processing the job... [2025-03-20 16:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:40:03] Production.INFO: count ==12 [2025-03-20 16:40:03] Production.INFO: ==14268== Lock acquired, processing the job... [2025-03-20 16:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16: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-03-20 16:40:03] Production.INFO: count ==23 [2025-03-20 16:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 16:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724122') start [2025-03-20 16:40:03] Production.INFO: ==14257== Releasing lock... [2025-03-20 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 16:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 16:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:40:04] Production.INFO: Account Balance Start. [2025-03-20 16:40:04] Production.INFO: CreateAllLog Start [2025-03-20 16:40:04] Production.INFO: 117 [2025-03-20 16:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724122') end [2025-03-20 16:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:40:04] Production.INFO: 1 [2025-03-20 16:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:40:04] Production.ERROR: done [2025-03-20 16:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.INFO: ==14272== Releasing lock... [2025-03-20 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 16:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724125', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 16:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.INFO: ==14261== Releasing lock... [2025-03-20 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.ERROR: done [2025-03-20 16:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:40:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:40:04] Production.ERROR: done [2025-03-20 16:40:04] Production.INFO: Total Charge 0 [2025-03-20 16:40:04] Production.INFO: CreateAllLog End [2025-03-20 16:40:04] Production.INFO: Account Balance End. [2025-03-20 16:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:40:05] Production.INFO: ==14266== Releasing lock... [2025-03-20 16:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:40:06 [end_date_ymd] => 2025-03-20 16:40:06 [RateCDR] => 1 ) [2025-03-20 16:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:40:06' and `end` < '2025-03-20 16:40:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724125', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 16:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 16:40:09] Production.INFO: ProcessCDR(1,14724125,1,1,2) [2025-03-20 16:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724125,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724125,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:40:09] Production.INFO: ==14270== Releasing lock... [2025-03-20 16:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 16:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 16:40:14] Production.ERROR: CronJobId end10 [2025-03-20 16:40:14] Production.INFO: ==14264== Releasing lock... [2025-03-20 16:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:40:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:40:17] Production.INFO: call_cost start [2025-03-20 16:40:17] Production.INFO: call_cost end [2025-03-20 16:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:40:18] Production.INFO: ==14259== Releasing lock... [2025-03-20 16:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:40:19] Production.INFO: count ==6148 [2025-03-20 16:40:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:40:06 - End Time 2025-03-20 16:40:06 [2025-03-20 16:40:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724126', 'tblTempUsageDetail_20' ) start [2025-03-20 16:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724126', 'tblTempUsageDetail_20' ) end [2025-03-20 16:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724126', 'tblTempVendorCDR_20' ) start [2025-03-20 16:40:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724126', 'tblTempVendorCDR_20' ) end [2025-03-20 16:40:22] Production.INFO: ProcessCDR(1,14724126,1,1,2) [2025-03-20 16:40:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:40:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724126,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:40:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:40:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724126,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724126', 'tblTempUsageDetail_20' ) start [2025-03-20 16:40:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724126', 'tblTempUsageDetail_20' ) end [2025-03-20 16:40:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:40:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:40:28] Production.INFO: ==14268== Releasing lock... [2025-03-20 16:40:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:40:28] Production.INFO: 74 MB #Memory Used# [2025-03-20 20:41:02] Production.INFO: ==14385== Lock acquired, processing the job... [2025-03-20 20:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:41:02] Production.INFO: neon service started [2025-03-20 20:41:02] Production.INFO: neon service started [2025-03-20 20:41:02] Production.INFO: ==14385== Releasing lock... [2025-03-20 20:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:41:02] Production.INFO: ==14389== Lock acquired, processing the job... [2025-03-20 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:41:02] Production.INFO: ==14389== Releasing lock... [2025-03-20 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:41:02] Production.INFO: ==14387== Lock acquired, processing the job... [2025-03-20 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:41:02] Production.INFO: ==14387== Releasing lock... [2025-03-20 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:41:03] Production.INFO: ==14395== Lock acquired, processing the job... [2025-03-20 16:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:41:03] Production.INFO: ==14399== Lock acquired, processing the job... [2025-03-20 16:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:41:03] Production.INFO: ==14393== Lock acquired, processing the job... [2025-03-20 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:41:03] Production.INFO: ==14391== Lock acquired, processing the job... [2025-03-20 16:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:41:03] Production.INFO: ==14397== Lock acquired, processing the job... [2025-03-20 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:41:03] Production.INFO: ==14402== Lock acquired, processing the job... [2025-03-20 16:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:41:04] Production.INFO: Account Balance Start. [2025-03-20 16:41:04] Production.INFO: CreateAllLog Start [2025-03-20 16:41:04] Production.INFO: 117 [2025-03-20 16:41:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16: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-03-20 16:41:04] Production.INFO: count ==12 [2025-03-20 16:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:41:04] Production.INFO: count ==23 [2025-03-20 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724130') start [2025-03-20 16:41:04] Production.ERROR: done [2025-03-20 16:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.INFO: ==14393== Releasing lock... [2025-03-20 16:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724130') end [2025-03-20 16:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:41:04] Production.INFO: 1 [2025-03-20 16:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.INFO: ==14402== Releasing lock... [2025-03-20 16:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:41:04] Production.ERROR: done [2025-03-20 16:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:41:04] Production.INFO: Total Charge 0 [2025-03-20 16:41:04] Production.INFO: CreateAllLog End [2025-03-20 16:41:04] Production.INFO: Account Balance End. [2025-03-20 16:41:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:41:04] Production.INFO: ==14397== Releasing lock... [2025-03-20 16:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:41:05 [end_date_ymd] => 2025-03-20 16:41:05 [RateCDR] => 1 ) [2025-03-20 16:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:41:05' and `end` < '2025-03-20 16:41:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:41:13] Production.ERROR: CronJobId end10 [2025-03-20 16:41:13] Production.INFO: ==14395== Releasing lock... [2025-03-20 16:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:41:15] Production.INFO: call_cost start [2025-03-20 16:41:15] Production.INFO: call_cost end [2025-03-20 16:41:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:41:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:41:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:41:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:41:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:41:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:41:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:41:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:41:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:41:16] Production.INFO: ==14391== Releasing lock... [2025-03-20 16:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:41:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:41:19] Production.INFO: count ==6135 [2025-03-20 16:41:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:41:05 - End Time 2025-03-20 16:41:05 [2025-03-20 16:41:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724131', 'tblTempUsageDetail_20' ) start [2025-03-20 16:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724131', 'tblTempUsageDetail_20' ) end [2025-03-20 16:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724131', 'tblTempVendorCDR_20' ) start [2025-03-20 16:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724131', 'tblTempVendorCDR_20' ) end [2025-03-20 16:41:22] Production.INFO: ProcessCDR(1,14724131,1,1,2) [2025-03-20 16:41:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:41:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:41:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:41:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724131', 'tblTempUsageDetail_20' ) start [2025-03-20 16:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724131', 'tblTempUsageDetail_20' ) end [2025-03-20 16:41:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:41:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:41:26] Production.INFO: ==14399== Releasing lock... [2025-03-20 16:41:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:41:26] Production.INFO: 74 MB #Memory Used# [2025-03-20 20:42:01] Production.INFO: ==14469== Lock acquired, processing the job... [2025-03-20 20:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:42:01] Production.INFO: neon service started [2025-03-20 20:42:01] Production.INFO: neon service started [2025-03-20 20:42:01] Production.INFO: ==14469== Releasing lock... [2025-03-20 20:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:42:01] Production.INFO: ==14471== Lock acquired, processing the job... [2025-03-20 16:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:42:02] Production.INFO: ==14471== Releasing lock... [2025-03-20 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:42:02] Production.INFO: ==14473== Lock acquired, processing the job... [2025-03-20 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:42:02] Production.INFO: ==14473== Releasing lock... [2025-03-20 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:42:03] Production.INFO: ==14475== Lock acquired, processing the job... [2025-03-20 16:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:42:03] Production.INFO: ==14477== Lock acquired, processing the job... [2025-03-20 16:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:42:03] Production.INFO: ==14484== Lock acquired, processing the job... [2025-03-20 16:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:42:03] Production.INFO: ==14479== Lock acquired, processing the job... [2025-03-20 16:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:42:03] Production.INFO: ==14477== Releasing lock... [2025-03-20 16:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:42:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:42:03] Production.INFO: ==14481== Lock acquired, processing the job... [2025-03-20 16:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:42:03] Production.INFO: ==14486== Lock acquired, processing the job... [2025-03-20 16:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:42:03] Production.ERROR: done [2025-03-20 16:42:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:42:03] Production.INFO: Account Balance Start. [2025-03-20 16:42:03] Production.INFO: CreateAllLog Start [2025-03-20 16:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:42:03] Production.INFO: 117 [2025-03-20 16: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-03-20 16:42:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:42:03] Production.INFO: count ==12 [2025-03-20 16:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16: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-03-20 16:42:03] Production.INFO: count ==23 [2025-03-20 16:42:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724135') start [2025-03-20 16:42:04] Production.ERROR: done [2025-03-20 16:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724135') end [2025-03-20 16:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:42:04] Production.INFO: 1 [2025-03-20 16:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.INFO: ==14486== Releasing lock... [2025-03-20 16:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:42:04] Production.INFO: Total Charge 0 [2025-03-20 16:42:04] Production.INFO: CreateAllLog End [2025-03-20 16:42:04] Production.INFO: Account Balance End. [2025-03-20 16:42:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:42:04] Production.INFO: ==14481== Releasing lock... [2025-03-20 16:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:42:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:42:04 [end_date_ymd] => 2025-03-20 16:42:04 [RateCDR] => 1 ) [2025-03-20 16: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-03-20 13:42:04' and `end` < '2025-03-20 16: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-03-20 16:42:13] Production.ERROR: CronJobId end10 [2025-03-20 16:42:13] Production.INFO: ==14479== Releasing lock... [2025-03-20 16:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:42:14] Production.INFO: call_cost start [2025-03-20 16:42:14] Production.INFO: call_cost end [2025-03-20 16:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:42:15] Production.INFO: ==14475== Releasing lock... [2025-03-20 16:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:42:18] Production.INFO: count ==6127 [2025-03-20 16:42:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:42:04 - End Time 2025-03-20 16:42:04 [2025-03-20 16:42:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724136', 'tblTempUsageDetail_20' ) start [2025-03-20 16:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724136', 'tblTempUsageDetail_20' ) end [2025-03-20 16:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724136', 'tblTempVendorCDR_20' ) start [2025-03-20 16:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724136', 'tblTempVendorCDR_20' ) end [2025-03-20 16:42:21] Production.INFO: ProcessCDR(1,14724136,1,1,2) [2025-03-20 16:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:42:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724136', 'tblTempUsageDetail_20' ) start [2025-03-20 16:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724136', 'tblTempUsageDetail_20' ) end [2025-03-20 16:42:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:42:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:42:26] Production.INFO: ==14484== Releasing lock... [2025-03-20 16:42:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:42:26] Production.INFO: 73.75 MB #Memory Used# [2025-03-20 20:43:02] Production.INFO: ==14564== Lock acquired, processing the job... [2025-03-20 20:43:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:43:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:43:02] Production.INFO: neon service started [2025-03-20 20:43:02] Production.INFO: neon service started [2025-03-20 20:43:02] Production.INFO: ==14564== Releasing lock... [2025-03-20 20:43:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:43:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:43:02] Production.INFO: ==14568== Lock acquired, processing the job... [2025-03-20 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 16:43:02] Production.INFO: ==14566== Lock acquired, processing the job... [2025-03-20 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:43:02] Production.INFO: ==14568== Releasing lock... [2025-03-20 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:43:02] Production.INFO: ==14566== Releasing lock... [2025-03-20 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:43:03] Production.INFO: ==14571== Lock acquired, processing the job... [2025-03-20 16:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:43:03] Production.INFO: ==14581== Lock acquired, processing the job... [2025-03-20 16:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:43:04] Production.INFO: ==14573== Lock acquired, processing the job... [2025-03-20 16:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:43:04] Production.INFO: ==14579== Lock acquired, processing the job... [2025-03-20 16:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:43:04] Production.INFO: ==14577== Lock acquired, processing the job... [2025-03-20 16:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:43:04] Production.INFO: ==14575== Lock acquired, processing the job... [2025-03-20 16:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:43:04] Production.INFO: count ==12 [2025-03-20 16:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:43:04] Production.INFO: count ==23 [2025-03-20 16:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724138') start [2025-03-20 16:43:04] Production.INFO: Account Balance Start. [2025-03-20 16:43:04] Production.INFO: CreateAllLog Start [2025-03-20 16:43:04] Production.INFO: 117 [2025-03-20 16:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724138') end [2025-03-20 16:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:43:04] Production.INFO: 1 [2025-03-20 16:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:43:04] Production.INFO: ==14581== Releasing lock... [2025-03-20 16:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:04] Production.INFO: ==14573== Releasing lock... [2025-03-20 16:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:04] Production.ERROR: done [2025-03-20 16:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:05] Production.ERROR: done [2025-03-20 16:43:05] Production.INFO: Date 2025-03-17 [2025-03-20 16:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:43:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:43:05] Production.INFO: Total Charge 0 [2025-03-20 16:43:05] Production.INFO: CreateAllLog End [2025-03-20 16:43:05] Production.INFO: Account Balance End. [2025-03-20 16:43:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:43:05] Production.INFO: ==14577== Releasing lock... [2025-03-20 16:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:43:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:43:05 [end_date_ymd] => 2025-03-20 16:43:05 [RateCDR] => 1 ) [2025-03-20 16:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:43:05' and `end` < '2025-03-20 16:43:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:43:15] Production.ERROR: CronJobId end10 [2025-03-20 16:43:15] Production.INFO: ==14575== Releasing lock... [2025-03-20 16:43:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:43:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:43:16] Production.INFO: call_cost start [2025-03-20 16:43:16] Production.INFO: call_cost end [2025-03-20 16:43:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:43:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:43:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:43:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:43:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:43:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:43:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:43:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:43:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:43:17] Production.INFO: ==14571== Releasing lock... [2025-03-20 16:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:43:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:43:19] Production.INFO: count ==6133 [2025-03-20 16:43:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:43:05 - End Time 2025-03-20 16:43:05 [2025-03-20 16:43:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724141', 'tblTempUsageDetail_20' ) start [2025-03-20 16:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724141', 'tblTempUsageDetail_20' ) end [2025-03-20 16:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724141', 'tblTempVendorCDR_20' ) start [2025-03-20 16:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724141', 'tblTempVendorCDR_20' ) end [2025-03-20 16:43:22] Production.INFO: ProcessCDR(1,14724141,1,1,2) [2025-03-20 16:43:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:43:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:43:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:43:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724141', 'tblTempUsageDetail_20' ) start [2025-03-20 16:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724141', 'tblTempUsageDetail_20' ) end [2025-03-20 16:43:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:43:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:43:27] Production.INFO: ==14579== Releasing lock... [2025-03-20 16:43:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:43:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 20:44:01] Production.INFO: ==14657== Lock acquired, processing the job... [2025-03-20 20:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:44:01] Production.INFO: neon service started [2025-03-20 20:44:01] Production.INFO: neon service started [2025-03-20 20:44:01] Production.INFO: ==14657== Releasing lock... [2025-03-20 20:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:44:01] Production.INFO: ==14661== Lock acquired, processing the job... [2025-03-20 20:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:44:01] Production.INFO: ==14661== Releasing lock... [2025-03-20 20:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:44:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:44:02] Production.INFO: ==14659== Lock acquired, processing the job... [2025-03-20 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:44:02] Production.INFO: ==14659== Releasing lock... [2025-03-20 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:44:03] Production.INFO: ==14668== Lock acquired, processing the job... [2025-03-20 16:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:44:03] Production.INFO: ==14674== Lock acquired, processing the job... [2025-03-20 16:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:44:03] Production.INFO: ==14664== Lock acquired, processing the job... [2025-03-20 16:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:44:03] Production.INFO: ==14666== Lock acquired, processing the job... [2025-03-20 16:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:44:03] Production.INFO: count ==12 [2025-03-20 16:44:03] Production.INFO: ==14670== Lock acquired, processing the job... [2025-03-20 16:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:44:03] Production.INFO: count ==23 [2025-03-20 16:44:03] Production.INFO: ==14672== Lock acquired, processing the job... [2025-03-20 16:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724142') start [2025-03-20 16:44:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724142') end [2025-03-20 16:44:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:44:03] Production.INFO: 1 [2025-03-20 16:44:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:44:03] Production.INFO: Account Balance Start. [2025-03-20 16:44:03] Production.INFO: CreateAllLog Start [2025-03-20 16:44:03] Production.INFO: 117 [2025-03-20 16:44:04] Production.INFO: ==14674== Releasing lock... [2025-03-20 16:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:44:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.ERROR: done [2025-03-20 16:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:44:04] Production.INFO: ==14666== Releasing lock... [2025-03-20 16:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.ERROR: done [2025-03-20 16:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:44:04] Production.INFO: Total Charge 0 [2025-03-20 16:44:04] Production.INFO: CreateAllLog End [2025-03-20 16:44:04] Production.INFO: Account Balance End. [2025-03-20 16:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:44:04] Production.INFO: ==14670== Releasing lock... [2025-03-20 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:44:05 [end_date_ymd] => 2025-03-20 16:44:05 [RateCDR] => 1 ) [2025-03-20 16:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:44:05' and `end` < '2025-03-20 16:44:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:44:13] Production.ERROR: CronJobId end10 [2025-03-20 16:44:13] Production.INFO: ==14668== Releasing lock... [2025-03-20 16:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:44:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:44:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:44:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:44:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:44:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:44:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:44:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:44:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:44:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:44:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:44:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:44:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:44:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:44:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:44:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:44:15] Production.INFO: call_cost start [2025-03-20 16:44:15] Production.INFO: call_cost end [2025-03-20 16:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:44:16] Production.INFO: ==14664== Releasing lock... [2025-03-20 16:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:44:18] Production.INFO: count ==6131 [2025-03-20 16:44:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:44:05 - End Time 2025-03-20 16:44:05 [2025-03-20 16:44:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724146', 'tblTempUsageDetail_20' ) start [2025-03-20 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724146', 'tblTempUsageDetail_20' ) end [2025-03-20 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724146', 'tblTempVendorCDR_20' ) start [2025-03-20 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724146', 'tblTempVendorCDR_20' ) end [2025-03-20 16:44:21] Production.INFO: ProcessCDR(1,14724146,1,1,2) [2025-03-20 16:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724146', 'tblTempUsageDetail_20' ) start [2025-03-20 16:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724146', 'tblTempUsageDetail_20' ) end [2025-03-20 16:44:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:44:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:44:27] Production.INFO: ==14672== Releasing lock... [2025-03-20 16:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:44:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 20:45:02] Production.INFO: ==14753== Lock acquired, processing the job... [2025-03-20 20:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:45:02] Production.INFO: neon service started [2025-03-20 20:45:02] Production.INFO: neon service started [2025-03-20 20:45:02] Production.INFO: ==14753== Releasing lock... [2025-03-20 20:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:45:02] Production.INFO: ==14758== Lock acquired, processing the job... [2025-03-20 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:45:02] Production.INFO: ==14758== Releasing lock... [2025-03-20 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:45:02] Production.INFO: ==14756== Lock acquired, processing the job... [2025-03-20 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:45:02] Production.INFO: ==14756== Releasing lock... [2025-03-20 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:45:03] Production.INFO: ==14760== Lock acquired, processing the job... [2025-03-20 16:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:45:03] Production.INFO: ==14770== Lock acquired, processing the job... [2025-03-20 16:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:45:04] Production.INFO: ==14762== Lock acquired, processing the job... [2025-03-20 16:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:45:04] Production.INFO: count ==12 [2025-03-20 16:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:45:04] Production.INFO: ==14764== Lock acquired, processing the job... [2025-03-20 16:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:45:04] Production.INFO: ==14766== Lock acquired, processing the job... [2025-03-20 16:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:45:04] Production.INFO: count ==23 [2025-03-20 16:45:04] Production.INFO: ==14768== Lock acquired, processing the job... [2025-03-20 16:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724148') start [2025-03-20 16:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724148') end [2025-03-20 16:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:45:04] Production.INFO: 1 [2025-03-20 16:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:45:04] Production.INFO: Account Balance Start. [2025-03-20 16:45:04] Production.INFO: CreateAllLog Start [2025-03-20 16:45:04] Production.INFO: 117 [2025-03-20 16:45:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:04] Production.INFO: ==14770== Releasing lock... [2025-03-20 16:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:45:04] Production.INFO: ==14762== Releasing lock... [2025-03-20 16:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:05] Production.ERROR: done [2025-03-20 16:45:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:45:05] Production.INFO: Date 2025-03-15 [2025-03-20 16:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:05] Production.INFO: Date 2025-03-16 [2025-03-20 16:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:05] Production.INFO: Date 2025-03-17 [2025-03-20 16:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:05] Production.ERROR: done [2025-03-20 16:45:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:45:05] Production.INFO: Total Charge 0 [2025-03-20 16:45:05] Production.INFO: CreateAllLog End [2025-03-20 16:45:05] Production.INFO: Account Balance End. [2025-03-20 16:45:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:45:05] Production.INFO: ==14766== Releasing lock... [2025-03-20 16:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:45:06 [end_date_ymd] => 2025-03-20 16:45:06 [RateCDR] => 1 ) [2025-03-20 16:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:45:06' and `end` < '2025-03-20 16:45:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:45:13] Production.ERROR: CronJobId end10 [2025-03-20 16:45:13] Production.INFO: ==14764== Releasing lock... [2025-03-20 16:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:45:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:45:15] Production.INFO: call_cost start [2025-03-20 16:45:15] Production.INFO: call_cost end [2025-03-20 16:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:45:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:45:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:45:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:45:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:45:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:45:16] Production.INFO: ==14760== Releasing lock... [2025-03-20 16:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:45:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:45:19] Production.INFO: count ==6143 [2025-03-20 16:45:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:45:06 - End Time 2025-03-20 16:45:06 [2025-03-20 16:45:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724151', 'tblTempUsageDetail_20' ) start [2025-03-20 16:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724151', 'tblTempUsageDetail_20' ) end [2025-03-20 16:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724151', 'tblTempVendorCDR_20' ) start [2025-03-20 16:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724151', 'tblTempVendorCDR_20' ) end [2025-03-20 16:45:22] Production.INFO: ProcessCDR(1,14724151,1,1,2) [2025-03-20 16:45:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:45:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:45:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724151', 'tblTempUsageDetail_20' ) start [2025-03-20 16:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724151', 'tblTempUsageDetail_20' ) end [2025-03-20 16:45:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:45:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:45:27] Production.INFO: ==14768== Releasing lock... [2025-03-20 16:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:45:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 20:46:01] Production.INFO: ==14846== Lock acquired, processing the job... [2025-03-20 20:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:46:01] Production.INFO: neon service started [2025-03-20 20:46:01] Production.INFO: neon service started [2025-03-20 20:46:01] Production.INFO: ==14846== Releasing lock... [2025-03-20 20:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:46:01] Production.INFO: ==14848== Lock acquired, processing the job... [2025-03-20 16:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:46:02] Production.INFO: ==14848== Releasing lock... [2025-03-20 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:46:02] Production.INFO: ==14850== Lock acquired, processing the job... [2025-03-20 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:46:02] Production.INFO: ==14850== Releasing lock... [2025-03-20 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:46:03] Production.INFO: ==14853== Lock acquired, processing the job... [2025-03-20 16:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:46:03] Production.INFO: ==14859== Lock acquired, processing the job... [2025-03-20 16:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:46:03] Production.INFO: ==14861== Lock acquired, processing the job... [2025-03-20 16:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:46:03] Production.INFO: Account Balance Start. [2025-03-20 16:46:03] Production.INFO: CreateAllLog Start [2025-03-20 16:46:03] Production.INFO: 117 [2025-03-20 16:46:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:46:03] Production.INFO: ==14855== Lock acquired, processing the job... [2025-03-20 16:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:46:03] Production.INFO: ==14857== Lock acquired, processing the job... [2025-03-20 16:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:46:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.INFO: ==14863== Lock acquired, processing the job... [2025-03-20 16:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:46:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:46:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:46:03] Production.INFO: Date 2025-03-14 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.INFO: count ==12 [2025-03-20 16:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:46:03] Production.INFO: count ==23 [2025-03-20 16:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724154') start [2025-03-20 16:46:03] Production.INFO: Date 2025-03-15 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:46:03] Production.INFO: Date 2025-03-16 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.INFO: Date 2025-03-17 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724154') end [2025-03-20 16:46:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:46:03] Production.INFO: 1 [2025-03-20 16:46:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:46:03] Production.ERROR: done [2025-03-20 16:46:03] Production.INFO: Date 2025-03-18 [2025-03-20 16:46:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.INFO: ==14863== Releasing lock... [2025-03-20 16:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:46:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:46:03] Production.INFO: Date 2025-03-19 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.INFO: Date 2025-03-20 [2025-03-20 16:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:46:03] Production.INFO: Total Charge 0 [2025-03-20 16:46:03] Production.INFO: CreateAllLog End [2025-03-20 16:46:03] Production.INFO: ==14855== Releasing lock... [2025-03-20 16:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:46:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:46:04] Production.ERROR: done [2025-03-20 16:46:04] Production.INFO: Account Balance End. [2025-03-20 16:46:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:46:04] Production.INFO: ==14859== Releasing lock... [2025-03-20 16:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:46:05 [end_date_ymd] => 2025-03-20 16:46:05 [RateCDR] => 1 ) [2025-03-20 16:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:46:05' and `end` < '2025-03-20 16:46:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:46:14] Production.ERROR: CronJobId end10 [2025-03-20 16:46:14] Production.INFO: ==14857== Releasing lock... [2025-03-20 16:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:46:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:46:15] Production.INFO: call_cost start [2025-03-20 16:46:15] Production.INFO: call_cost end [2025-03-20 16:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:46:16] Production.INFO: ==14853== Releasing lock... [2025-03-20 16:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:46:18] Production.INFO: count ==6139 [2025-03-20 16:46:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:46:05 - End Time 2025-03-20 16:46:05 [2025-03-20 16:46:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724156', 'tblTempUsageDetail_20' ) start [2025-03-20 16:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724156', 'tblTempUsageDetail_20' ) end [2025-03-20 16:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724156', 'tblTempVendorCDR_20' ) start [2025-03-20 16:46:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724156', 'tblTempVendorCDR_20' ) end [2025-03-20 16:46:22] Production.INFO: ProcessCDR(1,14724156,1,1,2) [2025-03-20 16:46:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:46:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:46:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:46:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724156', 'tblTempUsageDetail_20' ) start [2025-03-20 16:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724156', 'tblTempUsageDetail_20' ) end [2025-03-20 16:46:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:46:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:46:25] Production.INFO: ==14861== Releasing lock... [2025-03-20 16:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:46:25] Production.INFO: 74 MB #Memory Used# [2025-03-20 20:47:01] Production.INFO: ==14945== Lock acquired, processing the job... [2025-03-20 20:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:47:01] Production.INFO: neon service started [2025-03-20 20:47:01] Production.INFO: neon service started [2025-03-20 20:47:01] Production.INFO: ==14945== Releasing lock... [2025-03-20 20:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:47:02] Production.INFO: ==14947== Lock acquired, processing the job... [2025-03-20 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:47:02] Production.INFO: ==14947== Releasing lock... [2025-03-20 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:47:02] Production.INFO: ==14949== Lock acquired, processing the job... [2025-03-20 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:47:02] Production.INFO: ==14949== Releasing lock... [2025-03-20 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:47:03] Production.INFO: ==14952== Lock acquired, processing the job... [2025-03-20 16:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:47:03] Production.INFO: ==14958== Lock acquired, processing the job... [2025-03-20 16:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:47:03] Production.INFO: ==14962== Lock acquired, processing the job... [2025-03-20 16:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:47:03] Production.INFO: ==14955== Lock acquired, processing the job... [2025-03-20 16:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:47:03] Production.INFO: ==14960== Lock acquired, processing the job... [2025-03-20 16:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:47:03] Production.INFO: ==14964== Lock acquired, processing the job... [2025-03-20 16:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:47:04] Production.INFO: Account Balance Start. [2025-03-20 16:47:04] Production.INFO: CreateAllLog Start [2025-03-20 16:47:04] Production.INFO: 117 [2025-03-20 16:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.INFO: count ==12 [2025-03-20 16:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:47:04] Production.INFO: count ==23 [2025-03-20 16:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.ERROR: done [2025-03-20 16:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724159') start [2025-03-20 16:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.INFO: ==14955== Releasing lock... [2025-03-20 16:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.ERROR: done [2025-03-20 16:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724159') end [2025-03-20 16:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:47:04] Production.INFO: 1 [2025-03-20 16:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:47:04] Production.INFO: ==14964== Releasing lock... [2025-03-20 16:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:47:04] Production.INFO: Total Charge 0 [2025-03-20 16:47:04] Production.INFO: CreateAllLog End [2025-03-20 16:47:04] Production.INFO: Account Balance End. [2025-03-20 16:47:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:47:04] Production.INFO: ==14960== Releasing lock... [2025-03-20 16:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:47:05 [end_date_ymd] => 2025-03-20 16:47:05 [RateCDR] => 1 ) [2025-03-20 16:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:47:05' and `end` < '2025-03-20 16:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:47:14] Production.ERROR: CronJobId end10 [2025-03-20 16:47:14] Production.INFO: ==14958== Releasing lock... [2025-03-20 16:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:47:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:47:16] Production.INFO: call_cost start [2025-03-20 16:47:16] Production.INFO: call_cost end [2025-03-20 16:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:47:16] Production.INFO: ==14952== Releasing lock... [2025-03-20 16:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:47:19] Production.INFO: count ==6158 [2025-03-20 16:47:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:47:05 - End Time 2025-03-20 16:47:05 [2025-03-20 16:47:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724161', 'tblTempUsageDetail_20' ) start [2025-03-20 16:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724161', 'tblTempUsageDetail_20' ) end [2025-03-20 16:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724161', 'tblTempVendorCDR_20' ) start [2025-03-20 16:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724161', 'tblTempVendorCDR_20' ) end [2025-03-20 16:47:22] Production.INFO: ProcessCDR(1,14724161,1,1,2) [2025-03-20 16:47:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:47:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:47:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:47:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724161', 'tblTempUsageDetail_20' ) start [2025-03-20 16:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724161', 'tblTempUsageDetail_20' ) end [2025-03-20 16:47:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:47:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:47:27] Production.INFO: ==14962== Releasing lock... [2025-03-20 16:47:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:47:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 20:48:02] Production.INFO: ==15043== Lock acquired, processing the job... [2025-03-20 20:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:48:02] Production.INFO: neon service started [2025-03-20 20:48:02] Production.INFO: neon service started [2025-03-20 20:48:02] Production.INFO: ==15043== Releasing lock... [2025-03-20 20:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:48:02] Production.INFO: ==15047== Lock acquired, processing the job... [2025-03-20 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:48:02] Production.INFO: ==15047== Releasing lock... [2025-03-20 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:48:02] Production.INFO: ==15045== Lock acquired, processing the job... [2025-03-20 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:48:03] Production.INFO: ==15045== Releasing lock... [2025-03-20 16:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:48:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:48:04] Production.INFO: ==15052== Lock acquired, processing the job... [2025-03-20 16:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:48:04] Production.INFO: ==15054== Lock acquired, processing the job... [2025-03-20 16:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:48:04] Production.INFO: ==15060== Lock acquired, processing the job... [2025-03-20 16:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:48:04] Production.INFO: ==15062== Lock acquired, processing the job... [2025-03-20 16:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:48:04] Production.INFO: ==15056== Lock acquired, processing the job... [2025-03-20 16:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:48:04] Production.INFO: ==15058== Lock acquired, processing the job... [2025-03-20 16:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:48:04] Production.INFO: ==15054== Releasing lock... [2025-03-20 16:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:48:04] Production.INFO: Account Balance Start. [2025-03-20 16:48:04] Production.INFO: CreateAllLog Start [2025-03-20 16:48:04] Production.INFO: 117 [2025-03-20 16:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:48:04] Production.ERROR: done [2025-03-20 16:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:04] Production.INFO: count ==12 [2025-03-20 16:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:48:04] Production.INFO: count ==23 [2025-03-20 16:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724164') start [2025-03-20 16:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:04] Production.ERROR: done [2025-03-20 16:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724164') end [2025-03-20 16:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:48:04] Production.INFO: 1 [2025-03-20 16:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:48:05] Production.INFO: Total Charge 0 [2025-03-20 16:48:05] Production.INFO: CreateAllLog End [2025-03-20 16:48:05] Production.INFO: ==15062== Releasing lock... [2025-03-20 16:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:48:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:48:05] Production.INFO: Account Balance End. [2025-03-20 16:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:48:05] Production.INFO: ==15058== Releasing lock... [2025-03-20 16:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:48:05 [end_date_ymd] => 2025-03-20 16:48:05 [RateCDR] => 1 ) [2025-03-20 16: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-03-20 13:48:05' and `end` < '2025-03-20 16:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:48:15] Production.ERROR: CronJobId end10 [2025-03-20 16:48:15] Production.INFO: ==15056== Releasing lock... [2025-03-20 16:48:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:48:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:48:15] Production.INFO: call_cost start [2025-03-20 16:48:15] Production.INFO: call_cost end [2025-03-20 16:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:48:16] Production.INFO: ==15052== Releasing lock... [2025-03-20 16:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:48:19] Production.INFO: count ==6157 [2025-03-20 16:48:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:48:05 - End Time 2025-03-20 16:48:05 [2025-03-20 16:48:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724166', 'tblTempUsageDetail_20' ) start [2025-03-20 16:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724166', 'tblTempUsageDetail_20' ) end [2025-03-20 16:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724166', 'tblTempVendorCDR_20' ) start [2025-03-20 16:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724166', 'tblTempVendorCDR_20' ) end [2025-03-20 16:48:22] Production.INFO: ProcessCDR(1,14724166,1,1,2) [2025-03-20 16:48:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:48:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:48:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:48:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724166', 'tblTempUsageDetail_20' ) start [2025-03-20 16:48:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724166', 'tblTempUsageDetail_20' ) end [2025-03-20 16:48:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:48:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:48:27] Production.INFO: ==15060== Releasing lock... [2025-03-20 16:48:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:48:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 20:49:01] Production.INFO: ==15137== Lock acquired, processing the job... [2025-03-20 20:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:49:01] Production.INFO: neon service started [2025-03-20 20:49:01] Production.INFO: neon service started [2025-03-20 20:49:01] Production.INFO: ==15137== Releasing lock... [2025-03-20 20:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:49:02] Production.INFO: ==15139== Lock acquired, processing the job... [2025-03-20 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:49:02] Production.INFO: ==15141== Lock acquired, processing the job... [2025-03-20 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:49:02] Production.INFO: ==15141== Releasing lock... [2025-03-20 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:49:02] Production.INFO: ==15139== Releasing lock... [2025-03-20 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:49:03] Production.INFO: ==15144== Lock acquired, processing the job... [2025-03-20 16:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:49:03] Production.INFO: ==15148== Lock acquired, processing the job... [2025-03-20 16:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:49:03] Production.INFO: ==15150== Lock acquired, processing the job... [2025-03-20 16:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:49:03] Production.INFO: ==15146== Lock acquired, processing the job... [2025-03-20 16:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:49:03] Production.INFO: Account Balance Start. [2025-03-20 16:49:03] Production.INFO: CreateAllLog Start [2025-03-20 16:49:03] Production.INFO: 117 [2025-03-20 16:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:49:03] Production.INFO: ==15152== Lock acquired, processing the job... [2025-03-20 16:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:49:03] Production.INFO: ==15154== Lock acquired, processing the job... [2025-03-20 16:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 16: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-03-20 16:49:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:04] Production.INFO: count ==12 [2025-03-20 16:49:04] Production.INFO: ==15146== Releasing lock... [2025-03-20 16:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:49:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16: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-03-20 16:49:04] Production.INFO: count ==23 [2025-03-20 16:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724170') start [2025-03-20 16:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:04] Production.ERROR: done [2025-03-20 16:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724170') end [2025-03-20 16:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:49:04] Production.INFO: 1 [2025-03-20 16:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:49:04] Production.INFO: ==15154== Releasing lock... [2025-03-20 16:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:49:04] Production.ERROR: done [2025-03-20 16:49:04] Production.INFO: Total Charge 0 [2025-03-20 16:49:04] Production.INFO: CreateAllLog End [2025-03-20 16:49:05] Production.INFO: Account Balance End. [2025-03-20 16:49:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:49:05] Production.INFO: ==15150== Releasing lock... [2025-03-20 16:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:49:05 [end_date_ymd] => 2025-03-20 16:49:05 [RateCDR] => 1 ) [2025-03-20 16:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:49:05' and `end` < '2025-03-20 16:49:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:49:13] Production.ERROR: CronJobId end10 [2025-03-20 16:49:13] Production.INFO: ==15148== Releasing lock... [2025-03-20 16:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:49:15] Production.INFO: call_cost start [2025-03-20 16:49:15] Production.INFO: call_cost end [2025-03-20 16:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:49:16] Production.INFO: ==15144== Releasing lock... [2025-03-20 16:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:49:19] Production.INFO: count ==6147 [2025-03-20 16:49:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:49:05 - End Time 2025-03-20 16:49:05 [2025-03-20 16:49:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724171', 'tblTempUsageDetail_20' ) start [2025-03-20 16:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724171', 'tblTempUsageDetail_20' ) end [2025-03-20 16:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724171', 'tblTempVendorCDR_20' ) start [2025-03-20 16:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724171', 'tblTempVendorCDR_20' ) end [2025-03-20 16:49:22] Production.INFO: ProcessCDR(1,14724171,1,1,2) [2025-03-20 16:49:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:49:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:49:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:49:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:49:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724171', 'tblTempUsageDetail_20' ) start [2025-03-20 16:49:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724171', 'tblTempUsageDetail_20' ) end [2025-03-20 16:49:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:49:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:49:27] Production.INFO: ==15152== Releasing lock... [2025-03-20 16:49:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:49:27] Production.INFO: 74 MB #Memory Used# [2025-03-20 20:50:02] Production.INFO: ==15250== Lock acquired, processing the job... [2025-03-20 20:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:50:02] Production.INFO: neon service started [2025-03-20 20:50:02] Production.INFO: neon service started [2025-03-20 20:50:02] Production.INFO: ==15250== Releasing lock... [2025-03-20 20:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:50:02] Production.INFO: ==15252== Lock acquired, processing the job... [2025-03-20 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:50:03] Production.INFO: ==15252== Releasing lock... [2025-03-20 16:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:50:03] Production.INFO: ==15254== Lock acquired, processing the job... [2025-03-20 20:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:50:03] Production.INFO: ==15254== Releasing lock... [2025-03-20 20:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:50:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:50:04] Production.INFO: ==15264== Lock acquired, processing the job... [2025-03-20 16:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:50:04] Production.INFO: ==15262== Lock acquired, processing the job... [2025-03-20 16:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:50:04] Production.INFO: ==15271== Lock acquired, processing the job... [2025-03-20 16:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:50:04] Production.INFO: Account Balance Start. [2025-03-20 16:50:04] Production.INFO: CreateAllLog Start [2025-03-20 16:50:04] Production.INFO: 117 [2025-03-20 16:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:04] Production.INFO: ==15256== Lock acquired, processing the job... [2025-03-20 16:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 16:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:04] Production.INFO: count ==12 [2025-03-20 16:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:50:04] Production.INFO: count ==23 [2025-03-20 16:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724173') start [2025-03-20 16:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:04] Production.INFO: ==15258== Lock acquired, processing the job... [2025-03-20 16:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 16:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 16:50:04] Production.ERROR: CronJob PID - 15262 [2025-03-20 16:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 16:50:04] Production.ERROR: CronJob ID - 10 [2025-03-20 16:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 16:50:00 [2025-03-20 16:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 16:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 16:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 16:50:04] Production.ERROR: CronJob PID - 15264 [2025-03-20 16:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 16:50:04] Production.ERROR: CronJob ID - 12 [2025-03-20 16:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 16:50:00 [2025-03-20 16:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 16:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 16:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 16:50:04] Production.ERROR: CronJob PID - 15271 [2025-03-20 16:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 16:50:04] Production.ERROR: CronJob ID - 19 [2025-03-20 16:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 16:50:00 [2025-03-20 16:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 16:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 16:50:04] Production.INFO: ==15260== Lock acquired, processing the job... [2025-03-20 16:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 16:50:04] Production.INFO: ==15256== Releasing lock... [2025-03-20 16:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 16:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 16:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724173') end [2025-03-20 16:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:50:04] Production.INFO: 1 [2025-03-20 16:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:50:04] Production.INFO: ==15271== Releasing lock... [2025-03-20 16:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:04] Production.INFO: ==15268== Lock acquired, processing the job... [2025-03-20 16:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 16:50:04] Production.INFO: ==15266== Lock acquired, processing the job... [2025-03-20 16:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:50:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:05] Production.INFO: ==15260== Releasing lock... [2025-03-20 16:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:50:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:50:05] Production.ERROR: done [2025-03-20 16:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:50:05] Production.ERROR: done [2025-03-20 16:50:05] Production.INFO: Total Charge 0 [2025-03-20 16:50:05] Production.INFO: CreateAllLog End [2025-03-20 16:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 16:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724176', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 16:50:05] Production.ERROR: done [2025-03-20 16:50:05] Production.INFO: Account Balance End. [2025-03-20 16:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:50:05] Production.INFO: ==15264== Releasing lock... [2025-03-20 16:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:50:06 [end_date_ymd] => 2025-03-20 16:50:06 [RateCDR] => 1 ) [2025-03-20 16:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:50:06' and `end` < '2025-03-20 16:50:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724176', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 16:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 16:50:09] Production.INFO: ProcessCDR(1,14724176,1,1,2) [2025-03-20 16:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724176,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724176,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:50:09] Production.INFO: ==15268== Releasing lock... [2025-03-20 16:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 16:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 16:50:16] Production.ERROR: CronJobId end10 [2025-03-20 16:50:16] Production.INFO: ==15262== Releasing lock... [2025-03-20 16:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:50:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:50:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:50:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:50:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:50:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:50:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:50:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:50:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:50:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:50:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:50:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:50:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:50:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:50:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:50:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:50:17] Production.INFO: call_cost start [2025-03-20 16:50:17] Production.INFO: call_cost end [2025-03-20 16:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:50:18] Production.INFO: ==15258== Releasing lock... [2025-03-20 16:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:50:20] Production.INFO: count ==6125 [2025-03-20 16:50:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:50:06 - End Time 2025-03-20 16:50:06 [2025-03-20 16:50:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724177', 'tblTempUsageDetail_20' ) start [2025-03-20 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724177', 'tblTempUsageDetail_20' ) end [2025-03-20 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724177', 'tblTempVendorCDR_20' ) start [2025-03-20 16:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724177', 'tblTempVendorCDR_20' ) end [2025-03-20 16:50:22] Production.INFO: ProcessCDR(1,14724177,1,1,2) [2025-03-20 16:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:50:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:50:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:50:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724177', 'tblTempUsageDetail_20' ) start [2025-03-20 16:50:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724177', 'tblTempUsageDetail_20' ) end [2025-03-20 16:50:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:50:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:50:27] Production.INFO: ==15266== Releasing lock... [2025-03-20 16:50:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:50:27] Production.INFO: 73.75 MB #Memory Used# [2025-03-20 20:51:01] Production.INFO: ==15355== Lock acquired, processing the job... [2025-03-20 20:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:51:01] Production.INFO: neon service started [2025-03-20 20:51:01] Production.INFO: neon service started [2025-03-20 20:51:01] Production.INFO: ==15355== Releasing lock... [2025-03-20 20:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:51:02] Production.INFO: ==15357== Lock acquired, processing the job... [2025-03-20 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:51:02] Production.INFO: ==15357== Releasing lock... [2025-03-20 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:51:02] Production.INFO: ==15359== Lock acquired, processing the job... [2025-03-20 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:51:02] Production.INFO: ==15359== Releasing lock... [2025-03-20 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:51:03] Production.INFO: ==15369== Lock acquired, processing the job... [2025-03-20 16:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:51:03] Production.INFO: ==15371== Lock acquired, processing the job... [2025-03-20 16:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:51:03] Production.INFO: ==15361== Lock acquired, processing the job... [2025-03-20 16:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:51:03] Production.INFO: ==15363== Lock acquired, processing the job... [2025-03-20 16:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:51:03] Production.INFO: ==15365== Lock acquired, processing the job... [2025-03-20 16:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:51:03] Production.INFO: ==15367== Lock acquired, processing the job... [2025-03-20 16:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:51:03] Production.INFO: count ==12 [2025-03-20 16:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:51:03] Production.INFO: count ==23 [2025-03-20 16:51:03] Production.INFO: Account Balance Start. [2025-03-20 16:51:03] Production.INFO: CreateAllLog Start [2025-03-20 16:51:03] Production.INFO: 117 [2025-03-20 16:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724180') start [2025-03-20 16:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:03] Production.INFO: ==15363== Releasing lock... [2025-03-20 16:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:51:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:04] Production.ERROR: done [2025-03-20 16:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724180') end [2025-03-20 16:51:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:51:04] Production.INFO: 1 [2025-03-20 16:51:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:51:04] Production.INFO: ==15371== Releasing lock... [2025-03-20 16:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:51:04] Production.ERROR: done [2025-03-20 16:51:04] Production.INFO: Total Charge 0 [2025-03-20 16:51:04] Production.INFO: CreateAllLog End [2025-03-20 16:51:04] Production.INFO: Account Balance End. [2025-03-20 16:51:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:51:04] Production.INFO: ==15367== Releasing lock... [2025-03-20 16:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:51:05 [end_date_ymd] => 2025-03-20 16:51:05 [RateCDR] => 1 ) [2025-03-20 16:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:51:05' and `end` < '2025-03-20 16:51:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:51:14] Production.ERROR: CronJobId end10 [2025-03-20 16:51:14] Production.INFO: ==15365== Releasing lock... [2025-03-20 16:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:51:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:51:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:51:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:51:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:51:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:51:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:51:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:51:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:51:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:51:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:51:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:51:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:51:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:51:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:51:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:51:15] Production.INFO: call_cost start [2025-03-20 16:51:15] Production.INFO: call_cost end [2025-03-20 16:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:51:16] Production.INFO: ==15361== Releasing lock... [2025-03-20 16:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:51:18] Production.INFO: count ==6138 [2025-03-20 16:51:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:51:05 - End Time 2025-03-20 16:51:05 [2025-03-20 16:51:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724182', 'tblTempUsageDetail_20' ) start [2025-03-20 16:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724182', 'tblTempUsageDetail_20' ) end [2025-03-20 16:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724182', 'tblTempVendorCDR_20' ) start [2025-03-20 16:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724182', 'tblTempVendorCDR_20' ) end [2025-03-20 16:51:21] Production.INFO: ProcessCDR(1,14724182,1,1,2) [2025-03-20 16:51:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724182', 'tblTempUsageDetail_20' ) start [2025-03-20 16:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724182', 'tblTempUsageDetail_20' ) end [2025-03-20 16:51:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:51:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:51:26] Production.INFO: ==15369== Releasing lock... [2025-03-20 16:51:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:51:26] Production.INFO: 74 MB #Memory Used# [2025-03-20 20:52:02] Production.INFO: ==15458== Lock acquired, processing the job... [2025-03-20 20:52:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:52:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:52:02] Production.INFO: neon service started [2025-03-20 20:52:02] Production.INFO: neon service started [2025-03-20 20:52:02] Production.INFO: ==15458== Releasing lock... [2025-03-20 20:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:52:02] Production.INFO: ==15460== Lock acquired, processing the job... [2025-03-20 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:52:02] Production.INFO: ==15460== Releasing lock... [2025-03-20 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:52:03] Production.INFO: ==15462== Lock acquired, processing the job... [2025-03-20 20:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:52:03] Production.INFO: ==15462== Releasing lock... [2025-03-20 20:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:52:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:52:03] Production.INFO: ==15464== Lock acquired, processing the job... [2025-03-20 16:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:52:03] Production.INFO: ==15470== Lock acquired, processing the job... [2025-03-20 16:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:52:03] Production.INFO: ==15474== Lock acquired, processing the job... [2025-03-20 16:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:52:04] Production.INFO: Account Balance Start. [2025-03-20 16:52:04] Production.INFO: CreateAllLog Start [2025-03-20 16:52:04] Production.INFO: 117 [2025-03-20 16:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:52:04] Production.INFO: ==15466== Lock acquired, processing the job... [2025-03-20 16:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.INFO: ==15468== Lock acquired, processing the job... [2025-03-20 16:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.INFO: count ==12 [2025-03-20 16:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:52:04] Production.INFO: count ==23 [2025-03-20 16:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.INFO: ==15472== Lock acquired, processing the job... [2025-03-20 16:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724185') start [2025-03-20 16:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724185') end [2025-03-20 16:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:52:04] Production.INFO: 1 [2025-03-20 16:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.INFO: ==15474== Releasing lock... [2025-03-20 16:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.INFO: ==15466== Releasing lock... [2025-03-20 16:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:52:04] Production.ERROR: done [2025-03-20 16:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:52:04] Production.INFO: Total Charge 0 [2025-03-20 16:52:04] Production.INFO: CreateAllLog End [2025-03-20 16:52:04] Production.ERROR: done [2025-03-20 16:52:05] Production.INFO: Account Balance End. [2025-03-20 16:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:52:05] Production.INFO: ==15470== Releasing lock... [2025-03-20 16:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:52:06 [end_date_ymd] => 2025-03-20 16:52:06 [RateCDR] => 1 ) [2025-03-20 16: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-03-20 13:52:06' and `end` < '2025-03-20 16: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-03-20 16:52:14] Production.ERROR: CronJobId end10 [2025-03-20 16:52:14] Production.INFO: ==15468== Releasing lock... [2025-03-20 16:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:52:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:52:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:52:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:52:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:52:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:52:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:52:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:52:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:52:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:52:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:52:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:52:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:52:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:52:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:52:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:52:15] Production.INFO: call_cost start [2025-03-20 16:52:15] Production.INFO: call_cost end [2025-03-20 16:52:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:52:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:52:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:52:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:52:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:52:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:52:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:52:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:52:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:52:16] Production.INFO: ==15464== Releasing lock... [2025-03-20 16:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:52:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:52:19] Production.INFO: count ==6125 [2025-03-20 16:52:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:52:06 - End Time 2025-03-20 16:52:06 [2025-03-20 16:52:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724187', 'tblTempUsageDetail_20' ) start [2025-03-20 16:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724187', 'tblTempUsageDetail_20' ) end [2025-03-20 16:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724187', 'tblTempVendorCDR_20' ) start [2025-03-20 16:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724187', 'tblTempVendorCDR_20' ) end [2025-03-20 16:52:22] Production.INFO: ProcessCDR(1,14724187,1,1,2) [2025-03-20 16:52:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:52:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:52:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:52:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724187', 'tblTempUsageDetail_20' ) start [2025-03-20 16:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724187', 'tblTempUsageDetail_20' ) end [2025-03-20 16:52:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:52:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:52:27] Production.INFO: ==15472== Releasing lock... [2025-03-20 16:52:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:52:27] Production.INFO: 73.75 MB #Memory Used# [2025-03-20 20:53:01] Production.INFO: ==15557== Lock acquired, processing the job... [2025-03-20 20:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:53:01] Production.INFO: neon service started [2025-03-20 20:53:01] Production.INFO: neon service started [2025-03-20 20:53:01] Production.INFO: ==15557== Releasing lock... [2025-03-20 20:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:53:02] Production.INFO: ==15561== Lock acquired, processing the job... [2025-03-20 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:53:02] Production.INFO: ==15561== Releasing lock... [2025-03-20 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:53:02] Production.INFO: ==15559== Lock acquired, processing the job... [2025-03-20 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:53:02] Production.INFO: ==15559== Releasing lock... [2025-03-20 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:53:03] Production.INFO: ==15564== Lock acquired, processing the job... [2025-03-20 16:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:53:03] Production.INFO: ==15566== Lock acquired, processing the job... [2025-03-20 16:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:53:03] Production.INFO: ==15570== Lock acquired, processing the job... [2025-03-20 16:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:53:03] Production.INFO: Account Balance Start. [2025-03-20 16:53:03] Production.INFO: CreateAllLog Start [2025-03-20 16:53:03] Production.INFO: 117 [2025-03-20 16:53:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:53:03] Production.INFO: ==15568== Lock acquired, processing the job... [2025-03-20 16:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:53:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:03] Production.INFO: ==15574== Lock acquired, processing the job... [2025-03-20 16:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:53:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:03] Production.INFO: ==15572== Lock acquired, processing the job... [2025-03-20 16:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:53:03] Production.INFO: Date 2025-03-14 [2025-03-20 16:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:53:03] Production.INFO: Date 2025-03-15 [2025-03-20 16:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:53:03] Production.INFO: ==15566== Releasing lock... [2025-03-20 16:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:53:03] Production.INFO: count ==12 [2025-03-20 16:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:53:03] Production.INFO: count ==23 [2025-03-20 16:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724191') start [2025-03-20 16:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:53:04] Production.INFO: Total Charge 0 [2025-03-20 16:53:04] Production.INFO: CreateAllLog End [2025-03-20 16:53:04] Production.ERROR: done [2025-03-20 16:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724191') end [2025-03-20 16:53:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:53:04] Production.INFO: 1 [2025-03-20 16:53:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:53:04] Production.INFO: ==15574== Releasing lock... [2025-03-20 16:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:53:04] Production.ERROR: done [2025-03-20 16:53:04] Production.INFO: Account Balance End. [2025-03-20 16:53:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:53:04] Production.INFO: ==15570== Releasing lock... [2025-03-20 16:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:53:05 [end_date_ymd] => 2025-03-20 16:53:05 [RateCDR] => 1 ) [2025-03-20 16:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:53:05' and `end` < '2025-03-20 16:53:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:53:13] Production.ERROR: CronJobId end10 [2025-03-20 16:53:13] Production.INFO: ==15568== Releasing lock... [2025-03-20 16:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:53:15] Production.INFO: call_cost start [2025-03-20 16:53:15] Production.INFO: call_cost end [2025-03-20 16:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:53:16] Production.INFO: ==15564== Releasing lock... [2025-03-20 16:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:53:19] Production.INFO: count ==6107 [2025-03-20 16:53:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:53:05 - End Time 2025-03-20 16:53:05 [2025-03-20 16:53:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724192', 'tblTempUsageDetail_20' ) start [2025-03-20 16:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724192', 'tblTempUsageDetail_20' ) end [2025-03-20 16:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724192', 'tblTempVendorCDR_20' ) start [2025-03-20 16:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724192', 'tblTempVendorCDR_20' ) end [2025-03-20 16:53:21] Production.INFO: ProcessCDR(1,14724192,1,1,2) [2025-03-20 16:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:53:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:53:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724192', 'tblTempUsageDetail_20' ) start [2025-03-20 16:53:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724192', 'tblTempUsageDetail_20' ) end [2025-03-20 16:53:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:53:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:53:27] Production.INFO: ==15572== Releasing lock... [2025-03-20 16:53:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:53:27] Production.INFO: 73.75 MB #Memory Used# [2025-03-20 20:54:02] Production.INFO: ==15651== Lock acquired, processing the job... [2025-03-20 20:54:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:54:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:54:02] Production.INFO: neon service started [2025-03-20 20:54:02] Production.INFO: neon service started [2025-03-20 20:54:02] Production.INFO: ==15651== Releasing lock... [2025-03-20 20:54:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:54:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:54:02] Production.INFO: ==15655== Lock acquired, processing the job... [2025-03-20 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:54:02] Production.INFO: ==15655== Releasing lock... [2025-03-20 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:54:02] Production.INFO: ==15653== Lock acquired, processing the job... [2025-03-20 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:54:03] Production.INFO: ==15653== Releasing lock... [2025-03-20 16:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:54:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:54:03] Production.INFO: ==15658== Lock acquired, processing the job... [2025-03-20 16:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:54:03] Production.INFO: ==15660== Lock acquired, processing the job... [2025-03-20 16:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:54:03] Production.INFO: ==15662== Lock acquired, processing the job... [2025-03-20 16:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:54:04] Production.INFO: ==15664== Lock acquired, processing the job... [2025-03-20 16:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:54:04] Production.INFO: ==15666== Lock acquired, processing the job... [2025-03-20 16:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:54:04] Production.INFO: Account Balance Start. [2025-03-20 16:54:04] Production.INFO: CreateAllLog Start [2025-03-20 16:54:04] Production.INFO: 117 [2025-03-20 16:54:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:04] Production.INFO: ==15668== Lock acquired, processing the job... [2025-03-20 16:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:04] Production.INFO: ==15660== Releasing lock... [2025-03-20 16:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 16: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-03-20 16:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:04] Production.INFO: count ==12 [2025-03-20 16: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-03-20 16:54:04] Production.INFO: count ==23 [2025-03-20 16:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724196') start [2025-03-20 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:04] Production.ERROR: done [2025-03-20 16:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724196') end [2025-03-20 16:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:54:04] Production.INFO: 1 [2025-03-20 16:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:04] Production.INFO: ==15668== Releasing lock... [2025-03-20 16:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:54:05] Production.INFO: Date 2025-03-18 [2025-03-20 16:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:05] Production.ERROR: done [2025-03-20 16:54:05] Production.INFO: Date 2025-03-19 [2025-03-20 16:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:05] Production.INFO: Date 2025-03-20 [2025-03-20 16:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 16:54:05] Production.INFO: Total Charge 0 [2025-03-20 16:54:05] Production.INFO: CreateAllLog End [2025-03-20 16:54:05] Production.INFO: Account Balance End. [2025-03-20 16:54:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:54:05] Production.INFO: ==15664== Releasing lock... [2025-03-20 16:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:54:06 [end_date_ymd] => 2025-03-20 16:54:06 [RateCDR] => 1 ) [2025-03-20 16: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-03-20 13:54:06' and `end` < '2025-03-20 16: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-03-20 16:54:13] Production.ERROR: CronJobId end10 [2025-03-20 16:54:13] Production.INFO: ==15662== Releasing lock... [2025-03-20 16:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:54:15] Production.INFO: call_cost start [2025-03-20 16:54:15] Production.INFO: call_cost end [2025-03-20 16:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:54:16] Production.INFO: ==15658== Releasing lock... [2025-03-20 16:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:54:19] Production.INFO: count ==6076 [2025-03-20 16:54:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:54:06 - End Time 2025-03-20 16:54:06 [2025-03-20 16:54:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724197', 'tblTempUsageDetail_20' ) start [2025-03-20 16:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724197', 'tblTempUsageDetail_20' ) end [2025-03-20 16:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724197', 'tblTempVendorCDR_20' ) start [2025-03-20 16:54:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724197', 'tblTempVendorCDR_20' ) end [2025-03-20 16:54:22] Production.INFO: ProcessCDR(1,14724197,1,1,2) [2025-03-20 16:54:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:54:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:54:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:54:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:54:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724197', 'tblTempUsageDetail_20' ) start [2025-03-20 16:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724197', 'tblTempUsageDetail_20' ) end [2025-03-20 16:54:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:54:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:54:27] Production.INFO: ==15666== Releasing lock... [2025-03-20 16:54:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:54:27] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 20:55:01] Production.INFO: ==15741== Lock acquired, processing the job... [2025-03-20 20:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:55:01] Production.INFO: neon service started [2025-03-20 20:55:01] Production.INFO: neon service started [2025-03-20 20:55:01] Production.INFO: ==15741== Releasing lock... [2025-03-20 20:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:55:02] Production.INFO: ==15743== Lock acquired, processing the job... [2025-03-20 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:55:02] Production.INFO: ==15743== Releasing lock... [2025-03-20 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:55:02] Production.INFO: ==15745== Lock acquired, processing the job... [2025-03-20 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:55:02] Production.INFO: ==15745== Releasing lock... [2025-03-20 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:55:03] Production.INFO: ==15750== Lock acquired, processing the job... [2025-03-20 16:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:55:03] Production.INFO: ==15748== Lock acquired, processing the job... [2025-03-20 16:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:55:03] Production.INFO: ==15750== Releasing lock... [2025-03-20 16:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:55:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:55:03] Production.INFO: ==15752== Lock acquired, processing the job... [2025-03-20 16:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:55:03] Production.INFO: ==15758== Lock acquired, processing the job... [2025-03-20 16:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:55:03] Production.INFO: ==15754== Lock acquired, processing the job... [2025-03-20 16:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:55:03] Production.INFO: ==15756== Lock acquired, processing the job... [2025-03-20 16:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:55:03] Production.INFO: Account Balance Start. [2025-03-20 16:55:03] Production.INFO: CreateAllLog Start [2025-03-20 16:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:55:03] Production.INFO: 117 [2025-03-20 16:55:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16: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-03-20 16:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:55:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:03] Production.INFO: count ==12 [2025-03-20 16: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-03-20 16:55:03] Production.INFO: count ==23 [2025-03-20 16:55:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724201') start [2025-03-20 16:55:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724201') end [2025-03-20 16:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:55:04] Production.INFO: 1 [2025-03-20 16:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:55:04] Production.INFO: ==15758== Releasing lock... [2025-03-20 16:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:04] Production.ERROR: done [2025-03-20 16:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:04] Production.ERROR: done [2025-03-20 16:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:55:04] Production.INFO: Total Charge 0 [2025-03-20 16:55:04] Production.INFO: CreateAllLog End [2025-03-20 16:55:04] Production.INFO: Account Balance End. [2025-03-20 16:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:55:05] Production.INFO: ==15754== Releasing lock... [2025-03-20 16:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:55:05 [end_date_ymd] => 2025-03-20 16:55:05 [RateCDR] => 1 ) [2025-03-20 16:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:55:05' and `end` < '2025-03-20 16:55:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:55:13] Production.ERROR: CronJobId end10 [2025-03-20 16:55:13] Production.INFO: ==15752== Releasing lock... [2025-03-20 16:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:55:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:55:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:55:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:55:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:55:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:55:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:55:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:55:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:55:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:55:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:55:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:55:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:55:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:55:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:55:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:55:14] Production.INFO: call_cost start [2025-03-20 16:55:14] Production.INFO: call_cost end [2025-03-20 16:55:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:55:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:55:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:55:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:55:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:55:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:55:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:55:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:55:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:55:15] Production.INFO: ==15748== Releasing lock... [2025-03-20 16:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:55:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:55:18] Production.INFO: count ==6064 [2025-03-20 16:55:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:55:05 - End Time 2025-03-20 16:55:05 [2025-03-20 16:55:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724202', 'tblTempUsageDetail_20' ) start [2025-03-20 16:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724202', 'tblTempUsageDetail_20' ) end [2025-03-20 16:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724202', 'tblTempVendorCDR_20' ) start [2025-03-20 16:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724202', 'tblTempVendorCDR_20' ) end [2025-03-20 16:55:21] Production.INFO: ProcessCDR(1,14724202,1,1,2) [2025-03-20 16:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:55:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724202', 'tblTempUsageDetail_20' ) start [2025-03-20 16:55:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724202', 'tblTempUsageDetail_20' ) end [2025-03-20 16:55:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:55:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:55:26] Production.INFO: ==15756== Releasing lock... [2025-03-20 16:55:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:55:26] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 20:56:02] Production.INFO: ==15879== Lock acquired, processing the job... [2025-03-20 20:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:56:02] Production.INFO: neon service started [2025-03-20 20:56:02] Production.INFO: neon service started [2025-03-20 20:56:02] Production.INFO: ==15879== Releasing lock... [2025-03-20 20:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:56:02] Production.INFO: ==15883== Lock acquired, processing the job... [2025-03-20 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:56:02] Production.INFO: ==15883== Releasing lock... [2025-03-20 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:56:02] Production.INFO: ==15881== Lock acquired, processing the job... [2025-03-20 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:56:03] Production.INFO: ==15881== Releasing lock... [2025-03-20 16:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:56:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:56:03] Production.INFO: ==15892== Lock acquired, processing the job... [2025-03-20 16:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:56:03] Production.INFO: ==15885== Lock acquired, processing the job... [2025-03-20 16:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:56:04] Production.INFO: Account Balance Start. [2025-03-20 16:56:04] Production.INFO: CreateAllLog Start [2025-03-20 16:56:04] Production.INFO: 117 [2025-03-20 16:56:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:56:04] Production.INFO: ==15896== Lock acquired, processing the job... [2025-03-20 16:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:56:04] Production.INFO: ==15887== Lock acquired, processing the job... [2025-03-20 16:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:56:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:56:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16: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-03-20 16:56:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:56:04] Production.INFO: count ==12 [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16: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-03-20 16:56:04] Production.INFO: count ==23 [2025-03-20 16:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:56:04] Production.INFO: ==15889== Lock acquired, processing the job... [2025-03-20 16:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724205') start [2025-03-20 16:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:56:04] Production.INFO: ==15894== Lock acquired, processing the job... [2025-03-20 16:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724205') end [2025-03-20 16:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:56:04] Production.INFO: 1 [2025-03-20 16:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:56:04] Production.INFO: ==15896== Releasing lock... [2025-03-20 16:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:56:04] Production.INFO: ==15887== Releasing lock... [2025-03-20 16:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:56:04] Production.INFO: Total Charge 0 [2025-03-20 16:56:04] Production.INFO: CreateAllLog End [2025-03-20 16:56:04] Production.ERROR: done [2025-03-20 16:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:56:04] Production.INFO: Account Balance End. [2025-03-20 16:56:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:56:04] Production.INFO: ==15892== Releasing lock... [2025-03-20 16:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:56:04] Production.ERROR: done [2025-03-20 16:56:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:56:06 [end_date_ymd] => 2025-03-20 16:56:06 [RateCDR] => 1 ) [2025-03-20 16: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-03-20 13:56:06' and `end` < '2025-03-20 16: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-03-20 16:56:13] Production.ERROR: CronJobId end10 [2025-03-20 16:56:13] Production.INFO: ==15889== Releasing lock... [2025-03-20 16:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:56:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:56:15] Production.INFO: call_cost start [2025-03-20 16:56:15] Production.INFO: call_cost end [2025-03-20 16:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:56:16] Production.INFO: ==15885== Releasing lock... [2025-03-20 16:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:56:19] Production.INFO: count ==6064 [2025-03-20 16:56:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:56:06 - End Time 2025-03-20 16:56:06 [2025-03-20 16:56:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724207', 'tblTempUsageDetail_20' ) start [2025-03-20 16:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724207', 'tblTempUsageDetail_20' ) end [2025-03-20 16:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724207', 'tblTempVendorCDR_20' ) start [2025-03-20 16:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724207', 'tblTempVendorCDR_20' ) end [2025-03-20 16:56:22] Production.INFO: ProcessCDR(1,14724207,1,1,2) [2025-03-20 16:56:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:56:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724207', 'tblTempUsageDetail_20' ) start [2025-03-20 16:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724207', 'tblTempUsageDetail_20' ) end [2025-03-20 16:56:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:56:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:56:27] Production.INFO: ==15894== Releasing lock... [2025-03-20 16:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:56:27] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 20:57:01] Production.INFO: ==15979== Lock acquired, processing the job... [2025-03-20 20:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:57:01] Production.INFO: neon service started [2025-03-20 20:57:01] Production.INFO: neon service started [2025-03-20 20:57:01] Production.INFO: ==15979== Releasing lock... [2025-03-20 20:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 20:57:01] Production.INFO: ==15983== Lock acquired, processing the job... [2025-03-20 20:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:57:01] Production.INFO: ==15983== Releasing lock... [2025-03-20 20:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:57:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:57:02] Production.INFO: ==15981== Lock acquired, processing the job... [2025-03-20 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:57:02] Production.INFO: ==15981== Releasing lock... [2025-03-20 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:57:03] Production.INFO: ==15988== Lock acquired, processing the job... [2025-03-20 16:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:57:03] Production.INFO: ==15990== Lock acquired, processing the job... [2025-03-20 16:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:57:03] Production.INFO: ==15986== Lock acquired, processing the job... [2025-03-20 16:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:57:03] Production.INFO: ==15988== Releasing lock... [2025-03-20 16:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:57:03] Production.INFO: ==15992== Lock acquired, processing the job... [2025-03-20 16:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:57:03] Production.INFO: ==15994== Lock acquired, processing the job... [2025-03-20 16:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:57:03] Production.INFO: ==15996== Lock acquired, processing the job... [2025-03-20 16:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:57:03] Production.INFO: Account Balance Start. [2025-03-20 16:57:03] Production.INFO: CreateAllLog Start [2025-03-20 16:57:03] Production.INFO: 117 [2025-03-20 16:57:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:03] Production.INFO: Date 2025-03-10 [2025-03-20 16:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:03] Production.INFO: Date 2025-03-11 [2025-03-20 16:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:03] Production.INFO: Date 2025-03-12 [2025-03-20 16:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:03] Production.INFO: Date 2025-03-13 [2025-03-20 16:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:03] Production.INFO: Date 2025-03-14 [2025-03-20 16:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:57:03] Production.INFO: Date 2025-03-15 [2025-03-20 16:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:04] Production.INFO: count ==12 [2025-03-20 16:57:04] Production.ERROR: done [2025-03-20 16:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:04] Production.INFO: count ==23 [2025-03-20 16:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724211') start [2025-03-20 16:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:57:04] Production.INFO: Total Charge 0 [2025-03-20 16:57:04] Production.ERROR: done [2025-03-20 16:57:04] Production.INFO: CreateAllLog End [2025-03-20 16:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724211') end [2025-03-20 16:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:57:04] Production.INFO: 1 [2025-03-20 16:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:57:04] Production.INFO: ==15996== Releasing lock... [2025-03-20 16:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:57:04] Production.INFO: Account Balance End. [2025-03-20 16:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:57:04] Production.INFO: ==15992== Releasing lock... [2025-03-20 16:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:57:05 [end_date_ymd] => 2025-03-20 16:57:05 [RateCDR] => 1 ) [2025-03-20 16:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:57:05' and `end` < '2025-03-20 16:57:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:57:13] Production.ERROR: CronJobId end10 [2025-03-20 16:57:13] Production.INFO: ==15990== Releasing lock... [2025-03-20 16:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:57:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:57:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:57:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:57:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:57:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:57:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:57:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:57:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:57:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:57:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:57:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:57:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:57:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:57:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:57:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:57:16] Production.INFO: call_cost start [2025-03-20 16:57:16] Production.INFO: call_cost end [2025-03-20 16:57:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:57:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:57:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:57:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:57:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:57:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:57:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:57:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:57:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:57:17] Production.INFO: ==15986== Releasing lock... [2025-03-20 16:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:57:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:57:19] Production.INFO: count ==6066 [2025-03-20 16:57:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:57:05 - End Time 2025-03-20 16:57:05 [2025-03-20 16:57:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724212', 'tblTempUsageDetail_20' ) start [2025-03-20 16:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724212', 'tblTempUsageDetail_20' ) end [2025-03-20 16:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724212', 'tblTempVendorCDR_20' ) start [2025-03-20 16:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724212', 'tblTempVendorCDR_20' ) end [2025-03-20 16:57:21] Production.INFO: ProcessCDR(1,14724212,1,1,2) [2025-03-20 16:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:57:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724212', 'tblTempUsageDetail_20' ) start [2025-03-20 16:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724212', 'tblTempUsageDetail_20' ) end [2025-03-20 16:57:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:57:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:57:27] Production.INFO: ==15994== Releasing lock... [2025-03-20 16:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:57:27] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 20:58:02] Production.INFO: ==16086== Lock acquired, processing the job... [2025-03-20 20:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:58:02] Production.INFO: neon service started [2025-03-20 20:58:02] Production.INFO: neon service started [2025-03-20 20:58:02] Production.INFO: ==16086== Releasing lock... [2025-03-20 20:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:58:02] Production.INFO: ==16088== Lock acquired, processing the job... [2025-03-20 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 16:58:02] Production.INFO: ==16088== Releasing lock... [2025-03-20 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 20:58:02] Production.INFO: ==16090== Lock acquired, processing the job... [2025-03-20 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:58:03] Production.INFO: ==16090== Releasing lock... [2025-03-20 20:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:58:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:58:03] Production.INFO: ==16093== Lock acquired, processing the job... [2025-03-20 16:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:58:03] Production.INFO: ==16097== Lock acquired, processing the job... [2025-03-20 16:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:58:03] Production.INFO: ==16095== Lock acquired, processing the job... [2025-03-20 16:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16:58:03] Production.INFO: ==16103== Lock acquired, processing the job... [2025-03-20 16:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16:58:03] Production.INFO: ==16099== Lock acquired, processing the job... [2025-03-20 16:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:58:03] Production.INFO: ==16101== Lock acquired, processing the job... [2025-03-20 16:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:58:04] Production.INFO: count ==12 [2025-03-20 16:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 16:58:04] Production.INFO: Account Balance Start. [2025-03-20 16:58:04] Production.INFO: CreateAllLog Start [2025-03-20 16:58:04] Production.INFO: count ==23 [2025-03-20 16:58:04] Production.INFO: 117 [2025-03-20 16:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724216') start [2025-03-20 16:58:04] Production.INFO: Date 2025-03-08 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.INFO: Date 2025-03-09 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724216') end [2025-03-20 16:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:58:04] Production.INFO: 1 [2025-03-20 16:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:58:04] Production.INFO: ==16095== Releasing lock... [2025-03-20 16:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:58:04] Production.INFO: ==16103== Releasing lock... [2025-03-20 16:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:58:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.ERROR: done [2025-03-20 16:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.ERROR: done [2025-03-20 16:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:58:04] Production.INFO: Total Charge 0 [2025-03-20 16:58:04] Production.INFO: CreateAllLog End [2025-03-20 16:58:04] Production.INFO: Account Balance End. [2025-03-20 16:58:05] Production.ERROR: CronJobId end 12 [2025-03-20 16:58:05] Production.INFO: ==16099== Releasing lock... [2025-03-20 16:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:58:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:58:05 [end_date_ymd] => 2025-03-20 16:58:05 [RateCDR] => 1 ) [2025-03-20 16:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:58:05' and `end` < '2025-03-20 16:58:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:58:15] Production.ERROR: CronJobId end10 [2025-03-20 16:58:15] Production.INFO: ==16097== Releasing lock... [2025-03-20 16:58:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:58:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:58:15] Production.INFO: call_cost start [2025-03-20 16:58:15] Production.INFO: call_cost end [2025-03-20 16:58:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:58:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:58:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:58:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:58:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:58:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:58:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:58:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:58:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:58:16] Production.INFO: ==16093== Releasing lock... [2025-03-20 16:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:58:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:58:19] Production.INFO: count ==6060 [2025-03-20 16:58:21] Production.ERROR: pbx CDR StartTime 2025-03-20 13:58:05 - End Time 2025-03-20 16:58:05 [2025-03-20 16:58:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724217', 'tblTempUsageDetail_20' ) start [2025-03-20 16:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724217', 'tblTempUsageDetail_20' ) end [2025-03-20 16:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724217', 'tblTempVendorCDR_20' ) start [2025-03-20 16:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724217', 'tblTempVendorCDR_20' ) end [2025-03-20 16:58:22] Production.INFO: ProcessCDR(1,14724217,1,1,2) [2025-03-20 16:58:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:58:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724217', 'tblTempUsageDetail_20' ) start [2025-03-20 16:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724217', 'tblTempUsageDetail_20' ) end [2025-03-20 16:58:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:58:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:58:27] Production.INFO: ==16101== Releasing lock... [2025-03-20 16:58:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:58:27] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 20:59:01] Production.INFO: ==16185== Lock acquired, processing the job... [2025-03-20 20:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 20:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 20:59:01] Production.INFO: neon service started [2025-03-20 20:59:01] Production.INFO: neon service started [2025-03-20 20:59:01] Production.INFO: ==16185== Releasing lock... [2025-03-20 20:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 20:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 16:59:01] Production.INFO: ==16190== Lock acquired, processing the job... [2025-03-20 16:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 20:59:02] Production.INFO: ==16192== Lock acquired, processing the job... [2025-03-20 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 20:59:02] Production.INFO: ==16192== Releasing lock... [2025-03-20 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 20:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 16:59:02] Production.INFO: ==16190== Releasing lock... [2025-03-20 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 16:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 16:59:03] Production.INFO: ==16196== Lock acquired, processing the job... [2025-03-20 16:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 16:59:03] Production.INFO: ==16198== Lock acquired, processing the job... [2025-03-20 16:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 16:59:03] Production.INFO: ==16204== Lock acquired, processing the job... [2025-03-20 16:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 16:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 16:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 16:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 16: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-03-20 16:59:03] Production.INFO: count ==12 [2025-03-20 16:59:03] Production.INFO: ==16194== Lock acquired, processing the job... [2025-03-20 16:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 16:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 16: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-03-20 16:59:03] Production.INFO: count ==23 [2025-03-20 16:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724219') start [2025-03-20 16:59:03] Production.INFO: ==16200== Lock acquired, processing the job... [2025-03-20 16:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 16:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 16:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724219') end [2025-03-20 16:59:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 16:59:03] Production.INFO: 1 [2025-03-20 16:59:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 16:59:03] Production.INFO: ==16202== Lock acquired, processing the job... [2025-03-20 16:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 16:59:03] Production.INFO: ==16204== Releasing lock... [2025-03-20 16:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 16:59:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 16:59:03] Production.INFO: ==16196== Releasing lock... [2025-03-20 16:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 16:59:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 16:59:03] Production.INFO: Account Balance Start. [2025-03-20 16:59:03] Production.INFO: CreateAllLog Start [2025-03-20 16:59:03] Production.INFO: 117 [2025-03-20 16:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 16:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 16:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 16:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.INFO: Date 2025-03-10 [2025-03-20 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.INFO: Date 2025-03-11 [2025-03-20 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.INFO: Date 2025-03-12 [2025-03-20 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.INFO: Date 2025-03-13 [2025-03-20 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.ERROR: done [2025-03-20 16:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 16:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 16:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 16:59:04] Production.INFO: Total Charge 0 [2025-03-20 16:59:04] Production.INFO: CreateAllLog End [2025-03-20 16:59:04] Production.ERROR: done [2025-03-20 16:59:04] Production.INFO: Account Balance End. [2025-03-20 16:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 16:59:04] Production.INFO: ==16200== Releasing lock... [2025-03-20 16:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 16:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 16:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 13:59:05 [end_date_ymd] => 2025-03-20 16:59:05 [RateCDR] => 1 ) [2025-03-20 16:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 13:59:05' and `end` < '2025-03-20 16:59:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 16:59:14] Production.ERROR: CronJobId end10 [2025-03-20 16:59:14] Production.INFO: ==16198== Releasing lock... [2025-03-20 16:59:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 16:59:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 16:59:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 16:59:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 16:59:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 16:59:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 16:59:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 16:59:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 16:59:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 16:59:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 16:59:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 16:59:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 16:59:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 16:59:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 16:59:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 16:59:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 16:59:15] Production.INFO: call_cost start [2025-03-20 16:59:15] Production.INFO: call_cost end [2025-03-20 16:59:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 16:59:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 16:59:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 16:59:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 16:59:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 16:59:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 16:59:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 16:59:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 16:59:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 16:59:16] Production.INFO: ==16194== Releasing lock... [2025-03-20 16:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 16:59:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 16:59:19] Production.INFO: count ==6061 [2025-03-20 16:59:22] Production.ERROR: pbx CDR StartTime 2025-03-20 13:59:05 - End Time 2025-03-20 16:59:05 [2025-03-20 16:59:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 16:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724222', 'tblTempUsageDetail_20' ) start [2025-03-20 16:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724222', 'tblTempUsageDetail_20' ) end [2025-03-20 16:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724222', 'tblTempVendorCDR_20' ) start [2025-03-20 16:59:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724222', 'tblTempVendorCDR_20' ) end [2025-03-20 16:59:22] Production.INFO: ProcessCDR(1,14724222,1,1,2) [2025-03-20 16:59:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:59:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 16:59:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:59:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 16:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724222', 'tblTempUsageDetail_20' ) start [2025-03-20 16:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724222', 'tblTempUsageDetail_20' ) end [2025-03-20 16:59:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 16:59:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 16:59:27] Production.INFO: ==16202== Releasing lock... [2025-03-20 16:59:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 16:59:27] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 21:00:01] Production.INFO: ==16271== Lock acquired, processing the job... [2025-03-20 21:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:00:01] Production.INFO: neon service started [2025-03-20 21:00:01] Production.INFO: neon service started [2025-03-20 21:00:01] Production.INFO: ==16271== Releasing lock... [2025-03-20 21:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:00:02] Production.INFO: ==16275== Lock acquired, processing the job... [2025-03-20 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:00:02] Production.INFO: ==16275== Releasing lock... [2025-03-20 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:00:02] Production.INFO: ==16273== Lock acquired, processing the job... [2025-03-20 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:00:02] Production.INFO: ==16273== Releasing lock... [2025-03-20 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:00:03] Production.INFO: ==16278== Lock acquired, processing the job... [2025-03-20 17:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 17:00:03] Production.INFO: ==16280== Lock acquired, processing the job... [2025-03-20 17:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 17:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 17:00:03] Production.ERROR: CronJob PID - 16280 [2025-03-20 17:00:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 17:00:03] Production.ERROR: CronJob ID - 5 [2025-03-20 17:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 17:00:00 [2025-03-20 17:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 17:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 17:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 17:00:03] Production.INFO: ==16278== Releasing lock... [2025-03-20 17:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 17:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 17:00:04] Production.INFO: ==16282== Lock acquired, processing the job... [2025-03-20 17:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:00:04] Production.INFO: ==16290== Lock acquired, processing the job... [2025-03-20 17:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 17:00:04] Production.INFO: ==16284== Lock acquired, processing the job... [2025-03-20 17:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:00:04] Production.INFO: ==16286== Lock acquired, processing the job... [2025-03-20 17:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:00:04] Production.INFO: ==16288== Lock acquired, processing the job... [2025-03-20 17:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:00:04] Production.INFO: ==16292== Lock acquired, processing the job... [2025-03-20 17:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:00:04] Production.INFO: ==16282== Releasing lock... [2025-03-20 17:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:00:04] Production.INFO: Account Balance Start. [2025-03-20 17:00:04] Production.INFO: CreateAllLog Start [2025-03-20 17:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:00:04] Production.INFO: 117 [2025-03-20 17:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 17:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:04] Production.INFO: count ==12 [2025-03-20 17:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 17:00:04] Production.INFO: count ==23 [2025-03-20 17:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724226') start [2025-03-20 17:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:04] Production.ERROR: done [2025-03-20 17:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 17:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724227', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 17:00:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724226') end [2025-03-20 17:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:00:04] Production.INFO: 1 [2025-03-20 17:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:00:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:04] Production.ERROR: done [2025-03-20 17:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:00:04] Production.INFO: ==16292== Releasing lock... [2025-03-20 17:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:00:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:00:05] Production.ERROR: done [2025-03-20 17:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:00:05] Production.INFO: Total Charge 0 [2025-03-20 17:00:05] Production.INFO: CreateAllLog End [2025-03-20 17:00:05] Production.INFO: Account Balance End. [2025-03-20 17:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:00:05] Production.INFO: ==16286== Releasing lock... [2025-03-20 17:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:00:06 [end_date_ymd] => 2025-03-20 17:00:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:00:06' and `end` < '2025-03-20 17: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-03-20 17:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724227', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 17:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 17:00:09] Production.INFO: ProcessCDR(1,14724227,1,1,2) [2025-03-20 17:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724227,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724227,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:00:09] Production.INFO: ==16290== Releasing lock... [2025-03-20 17:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 17:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 17:00:15] Production.ERROR: CronJobId end10 [2025-03-20 17:00:15] Production.INFO: ==16284== Releasing lock... [2025-03-20 17:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:00:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:00:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:00:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:00:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:00:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:00:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:00:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:00:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:00:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:00:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:00:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:00:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:00:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:00:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:00:17] Production.INFO: call_cost start [2025-03-20 17:00:17] Production.INFO: call_cost end [2025-03-20 17:00:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:00:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:00:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:00:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:00:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:00:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:00:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:00:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:00:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:00:18] Production.INFO: ==16280== Releasing lock... [2025-03-20 17:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:00:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:00:19] Production.INFO: count ==6035 [2025-03-20 17:00:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:00:06 - End Time 2025-03-20 17:00:06 [2025-03-20 17:00:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724228', 'tblTempUsageDetail_20' ) start [2025-03-20 17:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724228', 'tblTempUsageDetail_20' ) end [2025-03-20 17:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724228', 'tblTempVendorCDR_20' ) start [2025-03-20 17:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724228', 'tblTempVendorCDR_20' ) end [2025-03-20 17:00:22] Production.INFO: ProcessCDR(1,14724228,1,1,2) [2025-03-20 17:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:00:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:00:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:00:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724228', 'tblTempUsageDetail_20' ) start [2025-03-20 17:00:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724228', 'tblTempUsageDetail_20' ) end [2025-03-20 17:00:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:00:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:00:27] Production.INFO: ==16288== Releasing lock... [2025-03-20 17:00:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:00:27] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 21:01:01] Production.INFO: ==16372== Lock acquired, processing the job... [2025-03-20 21:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:01:01] Production.INFO: neon service started [2025-03-20 21:01:01] Production.INFO: neon service started [2025-03-20 21:01:01] Production.INFO: ==16372== Releasing lock... [2025-03-20 21:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:01:01] Production.INFO: ==16384== Lock acquired, processing the job... [2025-03-20 17:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:01:02] Production.INFO: ==16386== Lock acquired, processing the job... [2025-03-20 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:01:02] Production.INFO: ==16386== Releasing lock... [2025-03-20 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:01:02] Production.INFO: ==16384== Releasing lock... [2025-03-20 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:01:03] Production.INFO: ==16390== Lock acquired, processing the job... [2025-03-20 17:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:01:03] Production.INFO: ==16396== Lock acquired, processing the job... [2025-03-20 17:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:01:03] Production.INFO: ==16388== Lock acquired, processing the job... [2025-03-20 17:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:01:03] Production.INFO: ==16390== Releasing lock... [2025-03-20 17:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:01:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:01:03] Production.INFO: ==16392== Lock acquired, processing the job... [2025-03-20 17:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:01:03] Production.INFO: ==16394== Lock acquired, processing the job... [2025-03-20 17:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:01:03] Production.INFO: ==16398== Lock acquired, processing the job... [2025-03-20 17:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:01:03] Production.INFO: Account Balance Start. [2025-03-20 17:01:03] Production.INFO: CreateAllLog Start [2025-03-20 17:01:03] Production.ERROR: done [2025-03-20 17:01:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:01:03] Production.INFO: 117 [2025-03-20 17:01:03] Production.INFO: Date 2025-03-08 [2025-03-20 17: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-03-20 17:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:03] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:01:03] Production.INFO: count ==23 [2025-03-20 17:01:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724231') start [2025-03-20 17:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:01:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:03] Production.ERROR: done [2025-03-20 17:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724231') end [2025-03-20 17:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:01:04] Production.INFO: 1 [2025-03-20 17:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:04] Production.INFO: ==16398== Releasing lock... [2025-03-20 17:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:01:04] Production.INFO: Total Charge 0 [2025-03-20 17:01:04] Production.INFO: CreateAllLog End [2025-03-20 17:01:04] Production.INFO: Account Balance End. [2025-03-20 17:01:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:01:04] Production.INFO: ==16394== Releasing lock... [2025-03-20 17:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:01:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:01:05 [end_date_ymd] => 2025-03-20 17:01:05 [RateCDR] => 1 ) [2025-03-20 17:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 14:01:05' and `end` < '2025-03-20 17:01:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 17:01:14] Production.ERROR: CronJobId end10 [2025-03-20 17:01:14] Production.INFO: ==16392== Releasing lock... [2025-03-20 17:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:01:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:01:15] Production.INFO: call_cost start [2025-03-20 17:01:15] Production.INFO: call_cost end [2025-03-20 17:01:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:01:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:01:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:01:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:01:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:01:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:01:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:01:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:01:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:01:16] Production.INFO: ==16388== Releasing lock... [2025-03-20 17:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:01:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:01:18] Production.INFO: count ==6020 [2025-03-20 17:01:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:01:05 - End Time 2025-03-20 17:01:05 [2025-03-20 17:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724233', 'tblTempUsageDetail_20' ) start [2025-03-20 17:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724233', 'tblTempUsageDetail_20' ) end [2025-03-20 17:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724233', 'tblTempVendorCDR_20' ) start [2025-03-20 17:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724233', 'tblTempVendorCDR_20' ) end [2025-03-20 17:01:21] Production.INFO: ProcessCDR(1,14724233,1,1,2) [2025-03-20 17:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724233', 'tblTempUsageDetail_20' ) start [2025-03-20 17:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724233', 'tblTempUsageDetail_20' ) end [2025-03-20 17:01:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:01:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:01:26] Production.INFO: ==16396== Releasing lock... [2025-03-20 17:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:01:26] Production.INFO: 73 MB #Memory Used# [2025-03-20 21:02:02] Production.INFO: ==16478== Lock acquired, processing the job... [2025-03-20 21:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:02:02] Production.INFO: neon service started [2025-03-20 21:02:02] Production.INFO: neon service started [2025-03-20 21:02:02] Production.INFO: ==16478== Releasing lock... [2025-03-20 21:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:02:02] Production.INFO: ==16481== Lock acquired, processing the job... [2025-03-20 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:02:02] Production.INFO: ==16481== Releasing lock... [2025-03-20 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:02:03] Production.INFO: ==16483== Lock acquired, processing the job... [2025-03-20 21:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:02:03] Production.INFO: ==16483== Releasing lock... [2025-03-20 21:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:02:03] Production.INFO: ==16492== Lock acquired, processing the job... [2025-03-20 17:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:02:04] Production.INFO: ==16496== Lock acquired, processing the job... [2025-03-20 17:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:02:04] Production.INFO: ==16486== Lock acquired, processing the job... [2025-03-20 17:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:02:04] Production.INFO: ==16488== Lock acquired, processing the job... [2025-03-20 17:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 17:02:04] Production.INFO: Account Balance Start. [2025-03-20 17:02:04] Production.INFO: CreateAllLog Start [2025-03-20 17:02:04] Production.INFO: 117 [2025-03-20 17:02:04] Production.INFO: ==16490== Lock acquired, processing the job... [2025-03-20 17:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:02:04] Production.INFO: count ==12 [2025-03-20 17:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 17:02:04] Production.INFO: count ==23 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:02:04] Production.INFO: ==16494== Lock acquired, processing the job... [2025-03-20 17:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724235') start [2025-03-20 17:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724235') end [2025-03-20 17:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:02:04] Production.INFO: 1 [2025-03-20 17:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.INFO: ==16488== Releasing lock... [2025-03-20 17:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:02:04] Production.INFO: ==16496== Releasing lock... [2025-03-20 17:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.ERROR: done [2025-03-20 17:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:02:04] Production.INFO: Total Charge 0 [2025-03-20 17:02:04] Production.INFO: CreateAllLog End [2025-03-20 17:02:04] Production.ERROR: done [2025-03-20 17:02:04] Production.INFO: Account Balance End. [2025-03-20 17:02:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:02:05] Production.INFO: ==16492== Releasing lock... [2025-03-20 17:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:02:06 [end_date_ymd] => 2025-03-20 17:02:06 [RateCDR] => 1 ) [2025-03-20 17:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 14:02:06' and `end` < '2025-03-20 17:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 17:02:15] Production.ERROR: CronJobId end10 [2025-03-20 17:02:15] Production.INFO: ==16490== Releasing lock... [2025-03-20 17:02:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:02:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:02:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:02:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:02:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:02:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:02:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:02:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:02:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:02:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:02:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:02:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:02:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:02:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:02:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:02:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:02:17] Production.INFO: call_cost start [2025-03-20 17:02:17] Production.INFO: call_cost end [2025-03-20 17:02:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:02:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:02:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:02:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:02:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:02:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:02:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:02:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:02:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:02:18] Production.INFO: ==16486== Releasing lock... [2025-03-20 17:02:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:02:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:02:19] Production.INFO: count ==6028 [2025-03-20 17:02:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:02:06 - End Time 2025-03-20 17:02:06 [2025-03-20 17:02:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724238', 'tblTempUsageDetail_20' ) start [2025-03-20 17:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724238', 'tblTempUsageDetail_20' ) end [2025-03-20 17:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724238', 'tblTempVendorCDR_20' ) start [2025-03-20 17:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724238', 'tblTempVendorCDR_20' ) end [2025-03-20 17:02:22] Production.INFO: ProcessCDR(1,14724238,1,1,2) [2025-03-20 17:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:02:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:02:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:02:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724238', 'tblTempUsageDetail_20' ) start [2025-03-20 17:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724238', 'tblTempUsageDetail_20' ) end [2025-03-20 17:02:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:02:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:02:28] Production.INFO: ==16494== Releasing lock... [2025-03-20 17:02:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:02:28] Production.INFO: 73 MB #Memory Used# [2025-03-20 21:03:01] Production.INFO: ==16570== Lock acquired, processing the job... [2025-03-20 21:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:03:01] Production.INFO: neon service started [2025-03-20 21:03:01] Production.INFO: neon service started [2025-03-20 21:03:01] Production.INFO: ==16570== Releasing lock... [2025-03-20 21:03:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:03:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:03:02] Production.INFO: ==16572== Lock acquired, processing the job... [2025-03-20 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:03:02] Production.INFO: ==16574== Lock acquired, processing the job... [2025-03-20 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:03:02] Production.INFO: ==16574== Releasing lock... [2025-03-20 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:03:02] Production.INFO: ==16572== Releasing lock... [2025-03-20 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:03:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:03:03] Production.INFO: ==16577== Lock acquired, processing the job... [2025-03-20 17:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:03:03] Production.INFO: ==16579== Lock acquired, processing the job... [2025-03-20 17:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:03:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:03:03] Production.INFO: ==16587== Lock acquired, processing the job... [2025-03-20 17:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 17:03:03] Production.INFO: ==16581== Lock acquired, processing the job... [2025-03-20 17:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:03:03] Production.INFO: count ==12 [2025-03-20 17:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 17:03:03] Production.INFO: count ==23 [2025-03-20 17:03:03] Production.INFO: ==16583== Lock acquired, processing the job... [2025-03-20 17:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:03:03] Production.INFO: ==16579== Releasing lock... [2025-03-20 17:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:03:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724241') start [2025-03-20 17:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:03:03] Production.INFO: ==16585== Lock acquired, processing the job... [2025-03-20 17:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724241') end [2025-03-20 17:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:03:04] Production.INFO: 1 [2025-03-20 17:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:03:04] Production.INFO: Account Balance Start. [2025-03-20 17:03:04] Production.INFO: CreateAllLog Start [2025-03-20 17:03:04] Production.INFO: 117 [2025-03-20 17:03:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.INFO: ==16587== Releasing lock... [2025-03-20 17:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.ERROR: done [2025-03-20 17:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.ERROR: done [2025-03-20 17:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:03:04] Production.INFO: Total Charge 0 [2025-03-20 17:03:04] Production.INFO: CreateAllLog End [2025-03-20 17:03:05] Production.INFO: Account Balance End. [2025-03-20 17:03:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:03:05] Production.INFO: ==16583== Releasing lock... [2025-03-20 17:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:03:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:03:06 [end_date_ymd] => 2025-03-20 17:03:06 [RateCDR] => 1 ) [2025-03-20 17:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 14:03:06' and `end` < '2025-03-20 17:03:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 17:03:13] Production.ERROR: CronJobId end10 [2025-03-20 17:03:13] Production.INFO: ==16581== Releasing lock... [2025-03-20 17:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:03:14] Production.INFO: call_cost start [2025-03-20 17:03:14] Production.INFO: call_cost end [2025-03-20 17:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:03:15] Production.INFO: ==16577== Releasing lock... [2025-03-20 17:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:03:19] Production.INFO: count ==6016 [2025-03-20 17:03:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:03:06 - End Time 2025-03-20 17:03:06 [2025-03-20 17:03:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724243', 'tblTempUsageDetail_20' ) start [2025-03-20 17:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724243', 'tblTempUsageDetail_20' ) end [2025-03-20 17:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724243', 'tblTempVendorCDR_20' ) start [2025-03-20 17:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724243', 'tblTempVendorCDR_20' ) end [2025-03-20 17:03:22] Production.INFO: ProcessCDR(1,14724243,1,1,2) [2025-03-20 17:03:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:03:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:03:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724243', 'tblTempUsageDetail_20' ) start [2025-03-20 17:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724243', 'tblTempUsageDetail_20' ) end [2025-03-20 17:03:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:03:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:03:27] Production.INFO: ==16585== Releasing lock... [2025-03-20 17:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:03:27] Production.INFO: 73 MB #Memory Used# [2025-03-20 21:04:02] Production.INFO: ==16672== Lock acquired, processing the job... [2025-03-20 21:04:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:04:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:04:02] Production.INFO: neon service started [2025-03-20 21:04:02] Production.INFO: neon service started [2025-03-20 21:04:02] Production.INFO: ==16672== Releasing lock... [2025-03-20 21:04:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:04:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:04:02] Production.INFO: ==16676== Lock acquired, processing the job... [2025-03-20 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:04:02] Production.INFO: ==16676== Releasing lock... [2025-03-20 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:04:02] Production.INFO: ==16674== Lock acquired, processing the job... [2025-03-20 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:04:02] Production.INFO: ==16674== Releasing lock... [2025-03-20 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:04:03] Production.INFO: ==16679== Lock acquired, processing the job... [2025-03-20 17:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:04:03] Production.INFO: ==16685== Lock acquired, processing the job... [2025-03-20 17:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:04:03] Production.INFO: ==16683== Lock acquired, processing the job... [2025-03-20 17:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:04:03] Production.INFO: Account Balance Start. [2025-03-20 17:04:03] Production.INFO: CreateAllLog Start [2025-03-20 17:04:03] Production.INFO: 117 [2025-03-20 17:04:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:04:03] Production.INFO: ==16681== Lock acquired, processing the job... [2025-03-20 17:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:04:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:04:04] Production.INFO: ==16687== Lock acquired, processing the job... [2025-03-20 17:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:04:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:04:04] Production.INFO: ==16689== Lock acquired, processing the job... [2025-03-20 17:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:04:04] Production.INFO: count ==12 [2025-03-20 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:04:04] Production.INFO: count ==23 [2025-03-20 17:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724247') start [2025-03-20 17:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:04:04] Production.ERROR: done [2025-03-20 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:04:04] Production.INFO: ==16681== Releasing lock... [2025-03-20 17:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:04:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724247') end [2025-03-20 17:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:04:04] Production.INFO: 1 [2025-03-20 17:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:04:04] Production.INFO: ==16689== Releasing lock... [2025-03-20 17:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:04:04] Production.ERROR: done [2025-03-20 17:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:04:05] Production.INFO: Total Charge 0 [2025-03-20 17:04:05] Production.INFO: CreateAllLog End [2025-03-20 17:04:05] Production.INFO: Account Balance End. [2025-03-20 17:04:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:04:05] Production.INFO: ==16685== Releasing lock... [2025-03-20 17:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:04:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:04:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:04:06 [end_date_ymd] => 2025-03-20 17:04:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:04:06' and `end` < '2025-03-20 17: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-03-20 17:04:13] Production.ERROR: CronJobId end10 [2025-03-20 17:04:13] Production.INFO: ==16683== Releasing lock... [2025-03-20 17:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:04:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:04:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:04:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:04:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:04:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:04:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:04:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:04:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:04:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:04:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:04:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:04:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:04:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:04:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:04:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:04:16] Production.INFO: call_cost start [2025-03-20 17:04:16] Production.INFO: call_cost end [2025-03-20 17:04:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:04:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:04:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:04:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:04:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:04:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:04:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:04:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:04:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:04:17] Production.INFO: ==16679== Releasing lock... [2025-03-20 17:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:04:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:04:19] Production.INFO: count ==6015 [2025-03-20 17:04:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:04:06 - End Time 2025-03-20 17:04:06 [2025-03-20 17:04:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724248', 'tblTempUsageDetail_20' ) start [2025-03-20 17:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724248', 'tblTempUsageDetail_20' ) end [2025-03-20 17:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724248', 'tblTempVendorCDR_20' ) start [2025-03-20 17:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724248', 'tblTempVendorCDR_20' ) end [2025-03-20 17:04:22] Production.INFO: ProcessCDR(1,14724248,1,1,2) [2025-03-20 17:04:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:04:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724248', 'tblTempUsageDetail_20' ) start [2025-03-20 17:04:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724248', 'tblTempUsageDetail_20' ) end [2025-03-20 17:04:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:04:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:04:28] Production.INFO: ==16687== Releasing lock... [2025-03-20 17:04:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:04:28] Production.INFO: 73 MB #Memory Used# [2025-03-20 21:05:01] Production.INFO: ==16771== Lock acquired, processing the job... [2025-03-20 21:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:05:01] Production.INFO: neon service started [2025-03-20 21:05:01] Production.INFO: neon service started [2025-03-20 21:05:01] Production.INFO: ==16771== Releasing lock... [2025-03-20 21:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:05:02] Production.INFO: ==16775== Lock acquired, processing the job... [2025-03-20 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:05:02] Production.INFO: ==16775== Releasing lock... [2025-03-20 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:05:02] Production.INFO: ==16773== Lock acquired, processing the job... [2025-03-20 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:05:02] Production.INFO: ==16773== Releasing lock... [2025-03-20 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:05:03] Production.INFO: ==16780== Lock acquired, processing the job... [2025-03-20 17:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:05:03] Production.INFO: ==16786== Lock acquired, processing the job... [2025-03-20 17:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:05:03] Production.INFO: ==16778== Lock acquired, processing the job... [2025-03-20 17:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:05:03] Production.INFO: ==16782== Lock acquired, processing the job... [2025-03-20 17:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:05:03] Production.INFO: ==16784== Lock acquired, processing the job... [2025-03-20 17:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:05:03] Production.INFO: ==16788== Lock acquired, processing the job... [2025-03-20 17:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:05:03] Production.INFO: ==16780== Releasing lock... [2025-03-20 17:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:05:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:05:03] Production.INFO: Account Balance Start. [2025-03-20 17:05:03] Production.INFO: CreateAllLog Start [2025-03-20 17:05:03] Production.INFO: 117 [2025-03-20 17:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:05:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:05:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:03] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:05:03] Production.INFO: count ==23 [2025-03-20 17:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724252') start [2025-03-20 17:05:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:05:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:04] Production.ERROR: done [2025-03-20 17:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724252') end [2025-03-20 17:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:05:04] Production.INFO: 1 [2025-03-20 17:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:05:04] Production.INFO: ==16788== Releasing lock... [2025-03-20 17:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:05:04] Production.ERROR: done [2025-03-20 17:05:04] Production.INFO: Total Charge 0 [2025-03-20 17:05:04] Production.INFO: CreateAllLog End [2025-03-20 17:05:04] Production.INFO: Account Balance End. [2025-03-20 17:05:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:05:04] Production.INFO: ==16784== Releasing lock... [2025-03-20 17:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:05:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:05:05 [end_date_ymd] => 2025-03-20 17:05:05 [RateCDR] => 1 ) [2025-03-20 17:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 14:05:05' and `end` < '2025-03-20 17:05:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 17:05:13] Production.ERROR: CronJobId end10 [2025-03-20 17:05:13] Production.INFO: ==16782== Releasing lock... [2025-03-20 17:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:05:15] Production.INFO: call_cost start [2025-03-20 17:05:15] Production.INFO: call_cost end [2025-03-20 17:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:05:16] Production.INFO: ==16778== Releasing lock... [2025-03-20 17:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:05:19] Production.INFO: count ==6004 [2025-03-20 17:05:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:05:05 - End Time 2025-03-20 17:05:05 [2025-03-20 17:05:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724253', 'tblTempUsageDetail_20' ) start [2025-03-20 17:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724253', 'tblTempUsageDetail_20' ) end [2025-03-20 17:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724253', 'tblTempVendorCDR_20' ) start [2025-03-20 17:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724253', 'tblTempVendorCDR_20' ) end [2025-03-20 17:05:21] Production.INFO: ProcessCDR(1,14724253,1,1,2) [2025-03-20 17:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:05:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:05:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:05:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724253', 'tblTempUsageDetail_20' ) start [2025-03-20 17:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724253', 'tblTempUsageDetail_20' ) end [2025-03-20 17:05:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:05:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:05:27] Production.INFO: ==16786== Releasing lock... [2025-03-20 17:05:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:05:27] Production.INFO: 73 MB #Memory Used# [2025-03-20 21:06:02] Production.INFO: ==16868== Lock acquired, processing the job... [2025-03-20 21:06:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:06:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:06:02] Production.INFO: neon service started [2025-03-20 21:06:02] Production.INFO: neon service started [2025-03-20 21:06:02] Production.INFO: ==16868== Releasing lock... [2025-03-20 21:06:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:06:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:06:02] Production.INFO: ==16871== Lock acquired, processing the job... [2025-03-20 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:06:02] Production.INFO: ==16874== Lock acquired, processing the job... [2025-03-20 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:06:02] Production.INFO: ==16874== Releasing lock... [2025-03-20 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:06:03] Production.INFO: ==16871== Releasing lock... [2025-03-20 17:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:06:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:06:03] Production.INFO: ==16881== Lock acquired, processing the job... [2025-03-20 17:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:06:03] Production.INFO: ==16877== Lock acquired, processing the job... [2025-03-20 17:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:06:04] Production.INFO: ==16879== Lock acquired, processing the job... [2025-03-20 17:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:06:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:06:04] Production.INFO: ==16883== Lock acquired, processing the job... [2025-03-20 17:06:04] Production.INFO: ==16885== Lock acquired, processing the job... [2025-03-20 17:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:06:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:06:04] Production.INFO: ==16887== Lock acquired, processing the job... [2025-03-20 17:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:06:04] Production.INFO: Account Balance Start. [2025-03-20 17:06:04] Production.INFO: CreateAllLog Start [2025-03-20 17:06:04] Production.INFO: 117 [2025-03-20 17:06:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:06:04] Production.INFO: count ==12 [2025-03-20 17:06:04] Production.INFO: Date 2025-03-10 [2025-03-20 17: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-03-20 17:06:04] Production.INFO: count ==23 [2025-03-20 17:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724257') start [2025-03-20 17:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:04] Production.ERROR: done [2025-03-20 17:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:06:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724257') end [2025-03-20 17:06:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:06:04] Production.INFO: 1 [2025-03-20 17:06:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:06:04] Production.INFO: ==16879== Releasing lock... [2025-03-20 17:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:06:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:06:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:04] Production.INFO: ==16887== Releasing lock... [2025-03-20 17:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:06:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:06:04] Production.ERROR: done [2025-03-20 17:06:05] Production.INFO: Date 2025-03-15 [2025-03-20 17:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:06:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:06:05] Production.INFO: Total Charge 0 [2025-03-20 17:06:05] Production.INFO: CreateAllLog End [2025-03-20 17:06:05] Production.INFO: Account Balance End. [2025-03-20 17:06:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:06:05] Production.INFO: ==16883== Releasing lock... [2025-03-20 17:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:06:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:06:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:06:06 [end_date_ymd] => 2025-03-20 17:06:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:06:06' and `end` < '2025-03-20 17: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-03-20 17:06:14] Production.ERROR: CronJobId end10 [2025-03-20 17:06:14] Production.INFO: ==16881== Releasing lock... [2025-03-20 17:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:06:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:06:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:06:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:06:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:06:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:06:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:06:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:06:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:06:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:06:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:06:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:06:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:06:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:06:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:06:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:06:16] Production.INFO: call_cost start [2025-03-20 17:06:16] Production.INFO: call_cost end [2025-03-20 17:06:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:06:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:06:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:06:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:06:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:06:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:06:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:06:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:06:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:06:17] Production.INFO: ==16877== Releasing lock... [2025-03-20 17:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:06:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:06:19] Production.INFO: count ==6032 [2025-03-20 17:06:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:06:06 - End Time 2025-03-20 17:06:06 [2025-03-20 17:06:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724258', 'tblTempUsageDetail_20' ) start [2025-03-20 17:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724258', 'tblTempUsageDetail_20' ) end [2025-03-20 17:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724258', 'tblTempVendorCDR_20' ) start [2025-03-20 17:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724258', 'tblTempVendorCDR_20' ) end [2025-03-20 17:06:22] Production.INFO: ProcessCDR(1,14724258,1,1,2) [2025-03-20 17:06:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:06:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:06:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724258', 'tblTempUsageDetail_20' ) start [2025-03-20 17:06:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724258', 'tblTempUsageDetail_20' ) end [2025-03-20 17:06:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:06:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:06:27] Production.INFO: ==16885== Releasing lock... [2025-03-20 17:06:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:06:27] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 21:07:01] Production.INFO: ==16965== Lock acquired, processing the job... [2025-03-20 21:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:07:01] Production.INFO: neon service started [2025-03-20 21:07:01] Production.INFO: neon service started [2025-03-20 21:07:01] Production.INFO: ==16965== Releasing lock... [2025-03-20 21:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:07:02] Production.INFO: ==16970== Lock acquired, processing the job... [2025-03-20 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:07:02] Production.INFO: ==16970== Releasing lock... [2025-03-20 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:07:02] Production.INFO: ==16968== Lock acquired, processing the job... [2025-03-20 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:07:02] Production.INFO: ==16968== Releasing lock... [2025-03-20 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:07:03] Production.INFO: ==16974== Lock acquired, processing the job... [2025-03-20 17:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:07:03] Production.INFO: ==16976== Lock acquired, processing the job... [2025-03-20 17:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:07:03] Production.INFO: ==16980== Lock acquired, processing the job... [2025-03-20 17:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:07:03] Production.INFO: Account Balance Start. [2025-03-20 17:07:03] Production.INFO: CreateAllLog Start [2025-03-20 17:07:03] Production.INFO: 117 [2025-03-20 17:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:03] Production.INFO: ==16978== Lock acquired, processing the job... [2025-03-20 17:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:07:03] Production.INFO: ==16982== Lock acquired, processing the job... [2025-03-20 17:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:07:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:03] Production.INFO: ==16984== Lock acquired, processing the job... [2025-03-20 17:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:07:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:07:04] Production.INFO: ==16976== Releasing lock... [2025-03-20 17:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:07:04] Production.INFO: count ==23 [2025-03-20 17:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724262') start [2025-03-20 17:07:04] Production.ERROR: done [2025-03-20 17:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:07:04] Production.INFO: Total Charge 0 [2025-03-20 17:07:04] Production.INFO: CreateAllLog End [2025-03-20 17:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724262') end [2025-03-20 17:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:07:04] Production.INFO: 1 [2025-03-20 17:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:07:04] Production.INFO: ==16984== Releasing lock... [2025-03-20 17:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:07:04] Production.ERROR: done [2025-03-20 17:07:04] Production.INFO: Account Balance End. [2025-03-20 17:07:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:07:04] Production.INFO: ==16980== Releasing lock... [2025-03-20 17:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:07:05 [end_date_ymd] => 2025-03-20 17:07:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:07:05' and `end` < '2025-03-20 17: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-03-20 17:07:14] Production.ERROR: CronJobId end10 [2025-03-20 17:07:14] Production.INFO: ==16978== Releasing lock... [2025-03-20 17:07:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:07:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:07:16] Production.INFO: call_cost start [2025-03-20 17:07:16] Production.INFO: call_cost end [2025-03-20 17:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:07:16] Production.INFO: ==16974== Releasing lock... [2025-03-20 17:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:07:18] Production.INFO: count ==6002 [2025-03-20 17:07:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:07:05 - End Time 2025-03-20 17:07:05 [2025-03-20 17:07:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724263', 'tblTempUsageDetail_20' ) start [2025-03-20 17:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724263', 'tblTempUsageDetail_20' ) end [2025-03-20 17:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724263', 'tblTempVendorCDR_20' ) start [2025-03-20 17:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724263', 'tblTempVendorCDR_20' ) end [2025-03-20 17:07:21] Production.INFO: ProcessCDR(1,14724263,1,1,2) [2025-03-20 17:07:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:07:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:07:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:07:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724263', 'tblTempUsageDetail_20' ) start [2025-03-20 17:07:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724263', 'tblTempUsageDetail_20' ) end [2025-03-20 17:07:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:07:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:07:27] Production.INFO: ==16982== Releasing lock... [2025-03-20 17:07:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:07:27] Production.INFO: 73 MB #Memory Used# [2025-03-20 21:08:02] Production.INFO: ==17071== Lock acquired, processing the job... [2025-03-20 21:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:08:02] Production.INFO: neon service started [2025-03-20 21:08:02] Production.INFO: neon service started [2025-03-20 21:08:02] Production.INFO: ==17071== Releasing lock... [2025-03-20 21:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:08:02] Production.INFO: ==17073== Lock acquired, processing the job... [2025-03-20 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:08:02] Production.INFO: ==17075== Lock acquired, processing the job... [2025-03-20 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:08:02] Production.INFO: ==17073== Releasing lock... [2025-03-20 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:08:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:08:02] Production.INFO: ==17075== Releasing lock... [2025-03-20 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:08:03] Production.INFO: ==17077== Lock acquired, processing the job... [2025-03-20 17:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:08:03] Production.INFO: ==17079== Lock acquired, processing the job... [2025-03-20 17:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:08:03] Production.INFO: ==17081== Lock acquired, processing the job... [2025-03-20 17:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:08:03] Production.INFO: ==17083== Lock acquired, processing the job... [2025-03-20 17:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:08:03] Production.INFO: ==17087== Lock acquired, processing the job... [2025-03-20 17:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:08:04] Production.INFO: Account Balance Start. [2025-03-20 17:08:04] Production.INFO: CreateAllLog Start [2025-03-20 17:08:04] Production.INFO: 117 [2025-03-20 17:08:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.INFO: ==17090== Lock acquired, processing the job... [2025-03-20 17:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:08:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.INFO: ==17079== Releasing lock... [2025-03-20 17:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:08:04] Production.INFO: count ==23 [2025-03-20 17:08:04] Production.ERROR: done [2025-03-20 17:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724267') start [2025-03-20 17:08:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724267') end [2025-03-20 17:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:08:04] Production.INFO: 1 [2025-03-20 17:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:08:04] Production.ERROR: done [2025-03-20 17:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:08:04] Production.INFO: ==17090== Releasing lock... [2025-03-20 17:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:08:04] Production.INFO: Total Charge 0 [2025-03-20 17:08:04] Production.INFO: CreateAllLog End [2025-03-20 17:08:05] Production.INFO: Account Balance End. [2025-03-20 17:08:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:08:05] Production.INFO: ==17083== Releasing lock... [2025-03-20 17:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:08:05 [end_date_ymd] => 2025-03-20 17:08:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:08:05' and `end` < '2025-03-20 17: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-03-20 17:08:15] Production.ERROR: CronJobId end10 [2025-03-20 17:08:15] Production.INFO: ==17081== Releasing lock... [2025-03-20 17:08:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:08:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:08:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:08:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:08:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:08:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:08:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:08:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:08:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:08:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:08:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:08:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:08:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:08:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:08:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:08:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:08:16] Production.INFO: call_cost start [2025-03-20 17:08:16] Production.INFO: call_cost end [2025-03-20 17:08:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:08:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:08:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:08:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:08:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:08:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:08:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:08:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:08:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:08:17] Production.INFO: ==17077== Releasing lock... [2025-03-20 17:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:08:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:08:19] Production.INFO: count ==5995 [2025-03-20 17:08:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:08:05 - End Time 2025-03-20 17:08:05 [2025-03-20 17:08:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724268', 'tblTempUsageDetail_20' ) start [2025-03-20 17:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724268', 'tblTempUsageDetail_20' ) end [2025-03-20 17:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724268', 'tblTempVendorCDR_20' ) start [2025-03-20 17:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724268', 'tblTempVendorCDR_20' ) end [2025-03-20 17:08:21] Production.INFO: ProcessCDR(1,14724268,1,1,2) [2025-03-20 17:08:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:08:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:08:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:08:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:08:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724268', 'tblTempUsageDetail_20' ) start [2025-03-20 17:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724268', 'tblTempUsageDetail_20' ) end [2025-03-20 17:08:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:08:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:08:27] Production.INFO: ==17087== Releasing lock... [2025-03-20 17:08:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:08:27] Production.INFO: 72.75 MB #Memory Used# [2025-03-20 21:09:01] Production.INFO: ==17172== Lock acquired, processing the job... [2025-03-20 21:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:09:01] Production.INFO: neon service started [2025-03-20 21:09:01] Production.INFO: neon service started [2025-03-20 21:09:01] Production.INFO: ==17172== Releasing lock... [2025-03-20 21:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:09:02] Production.INFO: ==17177== Lock acquired, processing the job... [2025-03-20 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:09:02] Production.INFO: ==17177== Releasing lock... [2025-03-20 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:09:02] Production.INFO: ==17175== Lock acquired, processing the job... [2025-03-20 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:09:02] Production.INFO: ==17175== Releasing lock... [2025-03-20 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:09:03] Production.INFO: ==17183== Lock acquired, processing the job... [2025-03-20 17:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:09:03] Production.INFO: ==17188== Lock acquired, processing the job... [2025-03-20 17:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:09:03] Production.INFO: ==17179== Lock acquired, processing the job... [2025-03-20 17:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:09:03] Production.INFO: ==17181== Lock acquired, processing the job... [2025-03-20 17:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:09:04] Production.INFO: ==17190== Lock acquired, processing the job... [2025-03-20 17:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:09:04] Production.INFO: ==17185== Lock acquired, processing the job... [2025-03-20 17:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:09:04] Production.INFO: Account Balance Start. [2025-03-20 17:09:04] Production.INFO: CreateAllLog Start [2025-03-20 17:09:04] Production.INFO: 117 [2025-03-20 17:09:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:09:04] Production.INFO: Date 2025-03-08 [2025-03-20 17: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-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:09:04] Production.INFO: count ==23 [2025-03-20 17:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724269') start [2025-03-20 17:09:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.ERROR: done [2025-03-20 17:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724269') end [2025-03-20 17:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:09:04] Production.INFO: 1 [2025-03-20 17:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.INFO: ==17190== Releasing lock... [2025-03-20 17:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.ERROR: done [2025-03-20 17:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.INFO: ==17181== Releasing lock... [2025-03-20 17:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:09:05] Production.INFO: Total Charge 0 [2025-03-20 17:09:05] Production.INFO: CreateAllLog End [2025-03-20 17:09:05] Production.INFO: Account Balance End. [2025-03-20 17:09:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:09:05] Production.INFO: ==17185== Releasing lock... [2025-03-20 17:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:09:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:09:05 [end_date_ymd] => 2025-03-20 17:09:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:09:05' and `end` < '2025-03-20 17: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-03-20 17:09:13] Production.ERROR: CronJobId end10 [2025-03-20 17:09:13] Production.INFO: ==17183== Releasing lock... [2025-03-20 17:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:09:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:09:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:09:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:09:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:09:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:09:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:09:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:09:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:09:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:09:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:09:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:09:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:09:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:09:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:09:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:09:16] Production.INFO: call_cost start [2025-03-20 17:09:16] Production.INFO: call_cost end [2025-03-20 17:09:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:09:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:09:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:09:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:09:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:09:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:09:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:09:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:09:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:09:17] Production.INFO: ==17179== Releasing lock... [2025-03-20 17:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:09:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:09:19] Production.INFO: count ==6031 [2025-03-20 17:09:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:09:05 - End Time 2025-03-20 17:09:05 [2025-03-20 17:09:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724273', 'tblTempUsageDetail_20' ) start [2025-03-20 17:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724273', 'tblTempUsageDetail_20' ) end [2025-03-20 17:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724273', 'tblTempVendorCDR_20' ) start [2025-03-20 17:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724273', 'tblTempVendorCDR_20' ) end [2025-03-20 17:09:22] Production.INFO: ProcessCDR(1,14724273,1,1,2) [2025-03-20 17:09:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:09:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:09:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:09:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724273', 'tblTempUsageDetail_20' ) start [2025-03-20 17:09:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724273', 'tblTempUsageDetail_20' ) end [2025-03-20 17:09:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:09:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:09:27] Production.INFO: ==17188== Releasing lock... [2025-03-20 17:09:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:09:27] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 21:10:02] Production.INFO: ==17271== Lock acquired, processing the job... [2025-03-20 21:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:10:02] Production.INFO: neon service started [2025-03-20 21:10:02] Production.INFO: neon service started [2025-03-20 21:10:02] Production.INFO: ==17271== Releasing lock... [2025-03-20 21:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:10:02] Production.INFO: ==17276== Lock acquired, processing the job... [2025-03-20 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:10:02] Production.INFO: ==17276== Releasing lock... [2025-03-20 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:10:02] Production.INFO: ==17274== Lock acquired, processing the job... [2025-03-20 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:10:03] Production.INFO: ==17274== Releasing lock... [2025-03-20 17:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:10:04] Production.INFO: ==17284== Lock acquired, processing the job... [2025-03-20 17:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:10:04] Production.INFO: ==17286== Lock acquired, processing the job... [2025-03-20 17:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:10:04] Production.INFO: ==17278== Lock acquired, processing the job... [2025-03-20 17:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 17:10:04] Production.INFO: ==17290== Lock acquired, processing the job... [2025-03-20 17:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 17:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:10:04] Production.INFO: Account Balance Start. [2025-03-20 17:10:04] Production.INFO: CreateAllLog Start [2025-03-20 17:10:04] Production.INFO: 117 [2025-03-20 17:10:04] Production.INFO: ==17280== Lock acquired, processing the job... [2025-03-20 17:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 17:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 17:10:04] Production.ERROR: CronJob PID - 17284 [2025-03-20 17:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 17:10:04] Production.ERROR: CronJob ID - 10 [2025-03-20 17:10:04] Production.ERROR: CronJob Last Run Time 2025-03-20 17:10:00 [2025-03-20 17:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 17:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 17:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 17:10:04] Production.ERROR: CronJob PID - 17286 [2025-03-20 17:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 17:10:04] Production.ERROR: CronJob ID - 12 [2025-03-20 17:10:04] Production.ERROR: CronJob Last Run Time 2025-03-20 17:10:00 [2025-03-20 17:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 17:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 17:10:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 17:10:04] Production.ERROR: CronJob PID - 17290 [2025-03-20 17:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 17:10:04] Production.ERROR: CronJob ID - 17 [2025-03-20 17:10:04] Production.ERROR: CronJob Last Run Time 2025-03-20 17:10:00 [2025-03-20 17:10:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 17:10:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 17:10:04] Production.INFO: ==17282== Lock acquired, processing the job... [2025-03-20 17:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:10:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 17:10:04] Production.INFO: ==17278== Releasing lock... [2025-03-20 17:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 17:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 17:10:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:10:04] Production.INFO: ==17288== Lock acquired, processing the job... [2025-03-20 17:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:10:04] Production.INFO: ==17292== Lock acquired, processing the job... [2025-03-20 17:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:05] Production.ERROR: done [2025-03-20 17:10:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 17:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724278', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 17:10:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 17:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:10:05] Production.INFO: Total Charge 0 [2025-03-20 17:10:05] Production.INFO: CreateAllLog End [2025-03-20 17:10:05] Production.INFO: count ==12 [2025-03-20 17:10:05] Production.INFO: ==17282== Releasing lock... [2025-03-20 17:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:10:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 17:10:05] Production.INFO: count ==23 [2025-03-20 17:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724277') start [2025-03-20 17:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724277') end [2025-03-20 17:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:10:05] Production.INFO: 1 [2025-03-20 17:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:10:05] Production.INFO: Account Balance End. [2025-03-20 17:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:10:05] Production.INFO: ==17286== Releasing lock... [2025-03-20 17:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:10:05] Production.INFO: ==17292== Releasing lock... [2025-03-20 17:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:10:05] Production.ERROR: done [2025-03-20 17:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:10:05] Production.ERROR: done [2025-03-20 17:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:10:06 [end_date_ymd] => 2025-03-20 17:10:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:10:06' and `end` < '2025-03-20 17: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-03-20 17:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724278', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 17:10:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 17:10:08] Production.INFO: ProcessCDR(1,14724278,1,1,2) [2025-03-20 17:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724278,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724278,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:10:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:10:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:10:08] Production.INFO: ==17290== Releasing lock... [2025-03-20 17:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 17:10:08] Production.INFO: 26 MB #Memory Used# [2025-03-20 17:10:15] Production.ERROR: CronJobId end10 [2025-03-20 17:10:15] Production.INFO: ==17284== Releasing lock... [2025-03-20 17:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:10:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:10:17] Production.INFO: call_cost start [2025-03-20 17:10:17] Production.INFO: call_cost end [2025-03-20 17:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:10:18] Production.INFO: ==17280== Releasing lock... [2025-03-20 17:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:10:20] Production.INFO: count ==6007 [2025-03-20 17:10:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:10:06 - End Time 2025-03-20 17:10:06 [2025-03-20 17:10:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724279', 'tblTempUsageDetail_20' ) start [2025-03-20 17:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724279', 'tblTempUsageDetail_20' ) end [2025-03-20 17:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724279', 'tblTempVendorCDR_20' ) start [2025-03-20 17:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724279', 'tblTempVendorCDR_20' ) end [2025-03-20 17:10:22] Production.INFO: ProcessCDR(1,14724279,1,1,2) [2025-03-20 17:10:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:10:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:10:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:10:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724279', 'tblTempUsageDetail_20' ) start [2025-03-20 17:10:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724279', 'tblTempUsageDetail_20' ) end [2025-03-20 17:10:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:10:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:10:26] Production.INFO: ==17288== Releasing lock... [2025-03-20 17:10:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:10:26] Production.INFO: 73 MB #Memory Used# [2025-03-20 21:11:01] Production.INFO: ==17369== Lock acquired, processing the job... [2025-03-20 21:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:11:01] Production.INFO: neon service started [2025-03-20 21:11:01] Production.INFO: neon service started [2025-03-20 21:11:01] Production.INFO: ==17369== Releasing lock... [2025-03-20 21:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:11:01] Production.INFO: ==17371== Lock acquired, processing the job... [2025-03-20 17:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:11:02] Production.INFO: ==17371== Releasing lock... [2025-03-20 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:11:02] Production.INFO: ==17373== Lock acquired, processing the job... [2025-03-20 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:11:02] Production.INFO: ==17373== Releasing lock... [2025-03-20 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:11:03] Production.INFO: ==17377== Lock acquired, processing the job... [2025-03-20 17:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:11:03] Production.INFO: ==17381== Lock acquired, processing the job... [2025-03-20 17:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:11:03] Production.INFO: ==17375== Lock acquired, processing the job... [2025-03-20 17:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:11:03] Production.INFO: Account Balance Start. [2025-03-20 17:11:03] Production.INFO: CreateAllLog Start [2025-03-20 17:11:03] Production.INFO: 117 [2025-03-20 17:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:11:03] Production.INFO: ==17379== Lock acquired, processing the job... [2025-03-20 17:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:11:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:03] Production.INFO: ==17383== Lock acquired, processing the job... [2025-03-20 17:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:11:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:11:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:03] Production.INFO: ==17385== Lock acquired, processing the job... [2025-03-20 17:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:11:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:11:03] Production.INFO: Date 2025-03-14 [2025-03-20 17:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:03] Production.INFO: Date 2025-03-15 [2025-03-20 17:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:03] Production.INFO: Date 2025-03-16 [2025-03-20 17:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:03] Production.INFO: Date 2025-03-17 [2025-03-20 17:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:03] Production.INFO: ==17377== Releasing lock... [2025-03-20 17:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17: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-03-20 17:11:03] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:11:03] Production.INFO: count ==23 [2025-03-20 17:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724283') start [2025-03-20 17:11:03] Production.INFO: Date 2025-03-18 [2025-03-20 17:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:04] Production.ERROR: done [2025-03-20 17:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724283') end [2025-03-20 17:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:11:04] Production.INFO: 1 [2025-03-20 17:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:11:04] Production.ERROR: done [2025-03-20 17:11:04] Production.INFO: Total Charge 0 [2025-03-20 17:11:04] Production.INFO: ==17385== Releasing lock... [2025-03-20 17:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:11:04] Production.INFO: CreateAllLog End [2025-03-20 17:11:04] Production.INFO: Account Balance End. [2025-03-20 17:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:11:04] Production.INFO: ==17381== Releasing lock... [2025-03-20 17:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:11:05 [end_date_ymd] => 2025-03-20 17:11:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:11:05' and `end` < '2025-03-20 17: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-03-20 17:11:12] Production.ERROR: CronJobId end10 [2025-03-20 17:11:12] Production.INFO: ==17379== Releasing lock... [2025-03-20 17:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:11:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:11:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:11:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:11:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:11:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:11:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:11:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:11:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:11:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:11:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:11:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:11:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:11:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:11:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:11:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:11:14] Production.INFO: call_cost start [2025-03-20 17:11:14] Production.INFO: call_cost end [2025-03-20 17:11:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:11:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:11:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:11:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:11:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:11:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:11:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:11:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:11:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:11:15] Production.INFO: ==17375== Releasing lock... [2025-03-20 17:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:11:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:11:18] Production.INFO: count ==6001 [2025-03-20 17:11:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:11:05 - End Time 2025-03-20 17:11:05 [2025-03-20 17:11:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724284', 'tblTempUsageDetail_20' ) start [2025-03-20 17:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724284', 'tblTempUsageDetail_20' ) end [2025-03-20 17:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724284', 'tblTempVendorCDR_20' ) start [2025-03-20 17:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724284', 'tblTempVendorCDR_20' ) end [2025-03-20 17:11:21] Production.INFO: ProcessCDR(1,14724284,1,1,2) [2025-03-20 17:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:11:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:11:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:11:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724284', 'tblTempUsageDetail_20' ) start [2025-03-20 17:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724284', 'tblTempUsageDetail_20' ) end [2025-03-20 17:11:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:11:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:11:26] Production.INFO: ==17383== Releasing lock... [2025-03-20 17:11:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:11:26] Production.INFO: 73 MB #Memory Used# [2025-03-20 21:12:02] Production.INFO: ==17501== Lock acquired, processing the job... [2025-03-20 21:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:12:02] Production.INFO: neon service started [2025-03-20 21:12:02] Production.INFO: neon service started [2025-03-20 21:12:02] Production.INFO: ==17501== Releasing lock... [2025-03-20 21:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:12:02] Production.INFO: ==17505== Lock acquired, processing the job... [2025-03-20 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:12:02] Production.INFO: ==17505== Releasing lock... [2025-03-20 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:12:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:12:02] Production.INFO: ==17503== Lock acquired, processing the job... [2025-03-20 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:12:02] Production.INFO: ==17503== Releasing lock... [2025-03-20 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:12:03] Production.INFO: ==17508== Lock acquired, processing the job... [2025-03-20 17:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:12:03] Production.INFO: ==17510== Lock acquired, processing the job... [2025-03-20 17:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:12:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:12:03] Production.INFO: ==17516== Lock acquired, processing the job... [2025-03-20 17:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:12:03] Production.INFO: ==17514== Lock acquired, processing the job... [2025-03-20 17:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:12:03] Production.INFO: ==17512== Lock acquired, processing the job... [2025-03-20 17:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:12:04] Production.INFO: ==17518== Lock acquired, processing the job... [2025-03-20 17:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:12:04] Production.INFO: Account Balance Start. [2025-03-20 17:12:04] Production.INFO: CreateAllLog Start [2025-03-20 17:12:04] Production.INFO: 117 [2025-03-20 17:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17: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-03-20 17:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:12:04] Production.INFO: count ==23 [2025-03-20 17:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724288') start [2025-03-20 17:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:12:04] Production.ERROR: done [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:12:04] Production.INFO: ==17510== Releasing lock... [2025-03-20 17:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724288') end [2025-03-20 17:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:12:04] Production.INFO: 1 [2025-03-20 17:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.INFO: ==17518== Releasing lock... [2025-03-20 17:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.ERROR: done [2025-03-20 17:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:12:04] Production.INFO: Total Charge 0 [2025-03-20 17:12:04] Production.INFO: CreateAllLog End [2025-03-20 17:12:05] Production.INFO: Account Balance End. [2025-03-20 17:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:12:05] Production.INFO: ==17514== Releasing lock... [2025-03-20 17:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:12:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:12:05 [end_date_ymd] => 2025-03-20 17:12:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:12:05' and `end` < '2025-03-20 17: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-03-20 17:12:14] Production.ERROR: CronJobId end10 [2025-03-20 17:12:14] Production.INFO: ==17512== Releasing lock... [2025-03-20 17:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:12:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:12:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:12:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:12:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:12:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:12:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:12:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:12:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:12:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:12:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:12:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:12:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:12:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:12:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:12:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:12:15] Production.INFO: call_cost start [2025-03-20 17:12:15] Production.INFO: call_cost end [2025-03-20 17:12:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:12:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:12:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:12:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:12:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:12:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:12:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:12:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:12:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:12:16] Production.INFO: ==17508== Releasing lock... [2025-03-20 17:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:12:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:12:18] Production.INFO: count ==5994 [2025-03-20 17:12:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:12:05 - End Time 2025-03-20 17:12:05 [2025-03-20 17:12:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724289', 'tblTempUsageDetail_20' ) start [2025-03-20 17:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724289', 'tblTempUsageDetail_20' ) end [2025-03-20 17:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724289', 'tblTempVendorCDR_20' ) start [2025-03-20 17:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724289', 'tblTempVendorCDR_20' ) end [2025-03-20 17:12:21] Production.INFO: ProcessCDR(1,14724289,1,1,2) [2025-03-20 17:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:12:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:12:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:12:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724289', 'tblTempUsageDetail_20' ) start [2025-03-20 17:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724289', 'tblTempUsageDetail_20' ) end [2025-03-20 17:12:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:12:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:12:27] Production.INFO: ==17516== Releasing lock... [2025-03-20 17:12:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:12:27] Production.INFO: 72.75 MB #Memory Used# [2025-03-20 21:13:01] Production.INFO: ==17587== Lock acquired, processing the job... [2025-03-20 21:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:13:01] Production.INFO: neon service started [2025-03-20 21:13:01] Production.INFO: neon service started [2025-03-20 21:13:01] Production.INFO: ==17587== Releasing lock... [2025-03-20 21:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:13:02] Production.INFO: ==17590== Lock acquired, processing the job... [2025-03-20 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:13:02] Production.INFO: ==17592== Lock acquired, processing the job... [2025-03-20 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:13:02] Production.INFO: ==17592== Releasing lock... [2025-03-20 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:13:02] Production.INFO: ==17590== Releasing lock... [2025-03-20 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:13:03] Production.INFO: ==17600== Lock acquired, processing the job... [2025-03-20 17:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:13:03] Production.INFO: ==17604== Lock acquired, processing the job... [2025-03-20 17:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:13:03] Production.INFO: ==17594== Lock acquired, processing the job... [2025-03-20 17:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17: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-03-20 17:13:03] Production.INFO: Account Balance Start. [2025-03-20 17:13:03] Production.INFO: CreateAllLog Start [2025-03-20 17:13:03] Production.INFO: ==17602== Lock acquired, processing the job... [2025-03-20 17:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:13:03] Production.INFO: count ==12 [2025-03-20 17:13:03] Production.INFO: 117 [2025-03-20 17:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:13:03] Production.INFO: ==17598== Lock acquired, processing the job... [2025-03-20 17:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17: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-03-20 17:13:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:13:03] Production.INFO: ==17596== Lock acquired, processing the job... [2025-03-20 17:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:13:03] Production.INFO: count ==23 [2025-03-20 17:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724290') start [2025-03-20 17:13:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724290') end [2025-03-20 17:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:13:03] Production.INFO: 1 [2025-03-20 17:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:13:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:13:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:03] Production.INFO: ==17604== Releasing lock... [2025-03-20 17:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:13:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:13:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:03] Production.INFO: Date 2025-03-14 [2025-03-20 17:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:03] Production.INFO: Date 2025-03-15 [2025-03-20 17:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:04] Production.ERROR: done [2025-03-20 17:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:04] Production.INFO: ==17596== Releasing lock... [2025-03-20 17:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:13:04] Production.ERROR: done [2025-03-20 17:13:04] Production.INFO: Total Charge 0 [2025-03-20 17:13:04] Production.INFO: CreateAllLog End [2025-03-20 17:13:04] Production.INFO: Account Balance End. [2025-03-20 17:13:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:13:04] Production.INFO: ==17600== Releasing lock... [2025-03-20 17:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:13:05 [end_date_ymd] => 2025-03-20 17:13:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:13:05' and `end` < '2025-03-20 17: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-03-20 17:13:14] Production.ERROR: CronJobId end10 [2025-03-20 17:13:14] Production.INFO: ==17598== Releasing lock... [2025-03-20 17:13:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:13:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:13:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:13:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:13:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:13:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:13:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:13:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:13:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:13:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:13:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:13:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:13:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:13:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:13:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:13:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:13:15] Production.INFO: call_cost start [2025-03-20 17:13:15] Production.INFO: call_cost end [2025-03-20 17:13:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:13:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:13:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:13:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:13:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:13:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:13:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:13:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:13:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:13:16] Production.INFO: ==17594== Releasing lock... [2025-03-20 17:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:13:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:13:18] Production.INFO: count ==5979 [2025-03-20 17:13:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:13:05 - End Time 2025-03-20 17:13:05 [2025-03-20 17:13:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724294', 'tblTempUsageDetail_20' ) start [2025-03-20 17:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724294', 'tblTempUsageDetail_20' ) end [2025-03-20 17:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724294', 'tblTempVendorCDR_20' ) start [2025-03-20 17:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724294', 'tblTempVendorCDR_20' ) end [2025-03-20 17:13:21] Production.INFO: ProcessCDR(1,14724294,1,1,2) [2025-03-20 17:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:13:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724294', 'tblTempUsageDetail_20' ) start [2025-03-20 17:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724294', 'tblTempUsageDetail_20' ) end [2025-03-20 17:13:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:13:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:13:26] Production.INFO: ==17602== Releasing lock... [2025-03-20 17:13:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:13:26] Production.INFO: 72.75 MB #Memory Used# [2025-03-20 21:14:02] Production.INFO: ==17674== Lock acquired, processing the job... [2025-03-20 21:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:14:02] Production.INFO: neon service started [2025-03-20 21:14:02] Production.INFO: neon service started [2025-03-20 21:14:02] Production.INFO: ==17674== Releasing lock... [2025-03-20 21:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:14:02] Production.INFO: ==17676== Lock acquired, processing the job... [2025-03-20 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:14:02] Production.INFO: ==17678== Lock acquired, processing the job... [2025-03-20 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:14:02] Production.INFO: ==17678== Releasing lock... [2025-03-20 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:14:03] Production.INFO: ==17676== Releasing lock... [2025-03-20 17:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:14:03] Production.INFO: ==17681== Lock acquired, processing the job... [2025-03-20 17:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:14:03] Production.INFO: ==17683== Lock acquired, processing the job... [2025-03-20 17:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:14:04] Production.INFO: ==17689== Lock acquired, processing the job... [2025-03-20 17:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:14:04] Production.INFO: ==17685== Lock acquired, processing the job... [2025-03-20 17:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:14:04] Production.INFO: ==17683== Releasing lock... [2025-03-20 17:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:14:04] Production.INFO: ==17687== Lock acquired, processing the job... [2025-03-20 17:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:14:04] Production.INFO: ==17691== Lock acquired, processing the job... [2025-03-20 17:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:14:04] Production.INFO: Account Balance Start. [2025-03-20 17:14:04] Production.INFO: CreateAllLog Start [2025-03-20 17:14:04] Production.INFO: 117 [2025-03-20 17:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:14:04] Production.INFO: count ==23 [2025-03-20 17:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724298') start [2025-03-20 17:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:04] Production.ERROR: done [2025-03-20 17:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724298') end [2025-03-20 17:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:14:04] Production.INFO: 1 [2025-03-20 17:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:04] Production.INFO: ==17691== Releasing lock... [2025-03-20 17:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:14:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:05] Production.ERROR: done [2025-03-20 17:14:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:14:05] Production.INFO: Total Charge 0 [2025-03-20 17:14:05] Production.INFO: CreateAllLog End [2025-03-20 17:14:05] Production.INFO: Account Balance End. [2025-03-20 17:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:14:05] Production.INFO: ==17687== Releasing lock... [2025-03-20 17:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:14:06 [end_date_ymd] => 2025-03-20 17:14:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:14:06' and `end` < '2025-03-20 17: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-03-20 17:14:14] Production.ERROR: CronJobId end10 [2025-03-20 17:14:14] Production.INFO: ==17685== Releasing lock... [2025-03-20 17:14:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:14:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:14:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:14:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:14:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:14:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:14:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:14:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:14:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:14:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:14:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:14:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:14:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:14:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:14:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:14:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:14:16] Production.INFO: call_cost start [2025-03-20 17:14:16] Production.INFO: call_cost end [2025-03-20 17:14:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:14:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:14:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:14:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:14:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:14:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:14:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:14:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:14:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:14:17] Production.INFO: ==17681== Releasing lock... [2025-03-20 17:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:14:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:14:19] Production.INFO: count ==5985 [2025-03-20 17:14:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:14:06 - End Time 2025-03-20 17:14:06 [2025-03-20 17:14:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724299', 'tblTempUsageDetail_20' ) start [2025-03-20 17:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724299', 'tblTempUsageDetail_20' ) end [2025-03-20 17:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724299', 'tblTempVendorCDR_20' ) start [2025-03-20 17:14:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724299', 'tblTempVendorCDR_20' ) end [2025-03-20 17:14:22] Production.INFO: ProcessCDR(1,14724299,1,1,2) [2025-03-20 17:14:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:14:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:14:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724299', 'tblTempUsageDetail_20' ) start [2025-03-20 17:14:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724299', 'tblTempUsageDetail_20' ) end [2025-03-20 17:14:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:14:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:14:27] Production.INFO: ==17689== Releasing lock... [2025-03-20 17:14:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:14:27] Production.INFO: 72.75 MB #Memory Used# [2025-03-20 21:15:01] Production.INFO: ==17762== Lock acquired, processing the job... [2025-03-20 21:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:15:01] Production.INFO: neon service started [2025-03-20 21:15:01] Production.INFO: neon service started [2025-03-20 21:15:01] Production.INFO: ==17762== Releasing lock... [2025-03-20 21:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:15:01] Production.INFO: ==17764== Lock acquired, processing the job... [2025-03-20 17:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:15:02] Production.INFO: ==17766== Lock acquired, processing the job... [2025-03-20 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:15:02] Production.INFO: ==17766== Releasing lock... [2025-03-20 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:15:02] Production.INFO: ==17764== Releasing lock... [2025-03-20 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:15:03] Production.INFO: ==17769== Lock acquired, processing the job... [2025-03-20 17:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:15:03] Production.INFO: ==17773== Lock acquired, processing the job... [2025-03-20 17:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:15:03] Production.INFO: ==17779== Lock acquired, processing the job... [2025-03-20 17:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:15:03] Production.INFO: ==17775== Lock acquired, processing the job... [2025-03-20 17:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:15:03] Production.INFO: ==17771== Lock acquired, processing the job... [2025-03-20 17:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:15:03] Production.INFO: ==17777== Lock acquired, processing the job... [2025-03-20 17:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17: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-03-20 17:15:03] Production.INFO: Account Balance Start. [2025-03-20 17:15:03] Production.INFO: CreateAllLog Start [2025-03-20 17:15:03] Production.INFO: 117 [2025-03-20 17:15:03] Production.INFO: count ==12 [2025-03-20 17:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 17: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-03-20 17:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:03] Production.INFO: count ==23 [2025-03-20 17:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724301') start [2025-03-20 17:15:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724301') end [2025-03-20 17:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:15:03] Production.INFO: 1 [2025-03-20 17:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:15:03] Production.INFO: Date 2025-03-14 [2025-03-20 17:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:03] Production.INFO: ==17779== Releasing lock... [2025-03-20 17:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:15:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:15:03] Production.ERROR: done [2025-03-20 17:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:15:03] Production.INFO: ==17771== Releasing lock... [2025-03-20 17:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:15:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:15:03] Production.INFO: Date 2025-03-15 [2025-03-20 17:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:03] Production.INFO: Date 2025-03-16 [2025-03-20 17:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:03] Production.INFO: Date 2025-03-17 [2025-03-20 17:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:15:04] Production.ERROR: done [2025-03-20 17:15:04] Production.INFO: Total Charge 0 [2025-03-20 17:15:04] Production.INFO: CreateAllLog End [2025-03-20 17:15:04] Production.INFO: Account Balance End. [2025-03-20 17:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:15:04] Production.INFO: ==17775== Releasing lock... [2025-03-20 17:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:15:05 [end_date_ymd] => 2025-03-20 17:15:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:15:05' and `end` < '2025-03-20 17: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-03-20 17:15:13] Production.ERROR: CronJobId end10 [2025-03-20 17:15:13] Production.INFO: ==17773== Releasing lock... [2025-03-20 17:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:15:15] Production.INFO: call_cost start [2025-03-20 17:15:15] Production.INFO: call_cost end [2025-03-20 17:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:15:15] Production.INFO: ==17769== Releasing lock... [2025-03-20 17:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:15:18] Production.INFO: count ==5983 [2025-03-20 17:15:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:15:05 - End Time 2025-03-20 17:15:05 [2025-03-20 17:15:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724304', 'tblTempUsageDetail_20' ) start [2025-03-20 17:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724304', 'tblTempUsageDetail_20' ) end [2025-03-20 17:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724304', 'tblTempVendorCDR_20' ) start [2025-03-20 17:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724304', 'tblTempVendorCDR_20' ) end [2025-03-20 17:15:21] Production.INFO: ProcessCDR(1,14724304,1,1,2) [2025-03-20 17:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:15:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:15:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:15:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724304', 'tblTempUsageDetail_20' ) start [2025-03-20 17:15:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724304', 'tblTempUsageDetail_20' ) end [2025-03-20 17:15:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:15:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:15:27] Production.INFO: ==17777== Releasing lock... [2025-03-20 17:15:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:15:27] Production.INFO: 72.75 MB #Memory Used# [2025-03-20 21:16:01] Production.INFO: ==17855== Lock acquired, processing the job... [2025-03-20 21:16:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:16:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:16:01] Production.INFO: neon service started [2025-03-20 21:16:01] Production.INFO: neon service started [2025-03-20 21:16:01] Production.INFO: ==17855== Releasing lock... [2025-03-20 21:16:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:16:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:16:02] Production.INFO: ==17857== Lock acquired, processing the job... [2025-03-20 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:16:02] Production.INFO: ==17859== Lock acquired, processing the job... [2025-03-20 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:16:02] Production.INFO: ==17859== Releasing lock... [2025-03-20 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:16:02] Production.INFO: ==17857== Releasing lock... [2025-03-20 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:16:03] Production.INFO: ==17866== Lock acquired, processing the job... [2025-03-20 17:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:16:03] Production.INFO: ==17868== Lock acquired, processing the job... [2025-03-20 17:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:16:03] Production.INFO: ==17862== Lock acquired, processing the job... [2025-03-20 17:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:16:04] Production.INFO: ==17864== Lock acquired, processing the job... [2025-03-20 17:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:16:04] Production.INFO: Account Balance Start. [2025-03-20 17:16:04] Production.INFO: CreateAllLog Start [2025-03-20 17:16:04] Production.INFO: 117 [2025-03-20 17:16:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.INFO: ==17870== Lock acquired, processing the job... [2025-03-20 17:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.INFO: ==17872== Lock acquired, processing the job... [2025-03-20 17:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.INFO: count ==12 [2025-03-20 17:16:04] Production.INFO: ==17864== Releasing lock... [2025-03-20 17:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17: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-03-20 17:16:04] Production.INFO: count ==23 [2025-03-20 17:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724308') start [2025-03-20 17:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.ERROR: done [2025-03-20 17:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724308') end [2025-03-20 17:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:16:04] Production.INFO: 1 [2025-03-20 17:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:16:04] Production.INFO: ==17872== Releasing lock... [2025-03-20 17:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:16:04] Production.INFO: Total Charge 0 [2025-03-20 17:16:04] Production.INFO: CreateAllLog End [2025-03-20 17:16:04] Production.ERROR: done [2025-03-20 17:16:05] Production.INFO: Account Balance End. [2025-03-20 17:16:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:16:05] Production.INFO: ==17868== Releasing lock... [2025-03-20 17:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:16:05 [end_date_ymd] => 2025-03-20 17:16:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:16:05' and `end` < '2025-03-20 17: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-03-20 17:16:14] Production.ERROR: CronJobId end10 [2025-03-20 17:16:14] Production.INFO: ==17866== Releasing lock... [2025-03-20 17:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:16:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:16:16] Production.INFO: call_cost start [2025-03-20 17:16:16] Production.INFO: call_cost end [2025-03-20 17:16:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:16:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:16:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:16:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:16:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:16:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:16:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:16:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:16:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:16:17] Production.INFO: ==17862== Releasing lock... [2025-03-20 17:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:16:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:16:19] Production.INFO: count ==5970 [2025-03-20 17:16:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:16:05 - End Time 2025-03-20 17:16:05 [2025-03-20 17:16:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724309', 'tblTempUsageDetail_20' ) start [2025-03-20 17:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724309', 'tblTempUsageDetail_20' ) end [2025-03-20 17:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724309', 'tblTempVendorCDR_20' ) start [2025-03-20 17:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724309', 'tblTempVendorCDR_20' ) end [2025-03-20 17:16:21] Production.INFO: ProcessCDR(1,14724309,1,1,2) [2025-03-20 17:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:16:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:16:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:16:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724309', 'tblTempUsageDetail_20' ) start [2025-03-20 17:16:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724309', 'tblTempUsageDetail_20' ) end [2025-03-20 17:16:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:16:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:16:26] Production.INFO: ==17870== Releasing lock... [2025-03-20 17:16:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:16:26] Production.INFO: 72.75 MB #Memory Used# [2025-03-20 21:17:01] Production.INFO: ==17952== Lock acquired, processing the job... [2025-03-20 21:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:17:01] Production.INFO: neon service started [2025-03-20 21:17:01] Production.INFO: neon service started [2025-03-20 21:17:01] Production.INFO: ==17952== Releasing lock... [2025-03-20 21:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:17:01] Production.INFO: ==17956== Lock acquired, processing the job... [2025-03-20 21:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:17:01] Production.INFO: ==17956== Releasing lock... [2025-03-20 21:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:17:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:17:01] Production.INFO: ==17954== Lock acquired, processing the job... [2025-03-20 17:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:17:02] Production.INFO: ==17954== Releasing lock... [2025-03-20 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:17:03] Production.INFO: ==17967== Lock acquired, processing the job... [2025-03-20 17:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:17:03] Production.INFO: ==17969== Lock acquired, processing the job... [2025-03-20 17:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:17:03] Production.INFO: ==17963== Lock acquired, processing the job... [2025-03-20 17:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:17:03] Production.INFO: ==17961== Lock acquired, processing the job... [2025-03-20 17:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17: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-03-20 17:17:03] Production.INFO: ==17959== Lock acquired, processing the job... [2025-03-20 17:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:17:03] Production.INFO: count ==12 [2025-03-20 17:17:03] Production.INFO: ==17965== Lock acquired, processing the job... [2025-03-20 17:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17: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-03-20 17:17:03] Production.INFO: count ==23 [2025-03-20 17:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724310') start [2025-03-20 17:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:17:03] Production.INFO: Account Balance Start. [2025-03-20 17:17:03] Production.INFO: CreateAllLog Start [2025-03-20 17:17:03] Production.INFO: 117 [2025-03-20 17:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:17:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724310') end [2025-03-20 17:17:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:17:03] Production.INFO: 1 [2025-03-20 17:17:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:17:03] Production.ERROR: done [2025-03-20 17:17:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:17:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:03] Production.ERROR: done [2025-03-20 17:17:03] Production.INFO: ==17961== Releasing lock... [2025-03-20 17:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:17:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:17:03] Production.INFO: ==17969== Releasing lock... [2025-03-20 17:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:17:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:17:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:03] Production.INFO: Date 2025-03-14 [2025-03-20 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:03] Production.INFO: Date 2025-03-15 [2025-03-20 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:03] Production.INFO: Date 2025-03-16 [2025-03-20 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:03] Production.INFO: Date 2025-03-17 [2025-03-20 17:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:17:04] Production.INFO: Total Charge 0 [2025-03-20 17:17:04] Production.INFO: CreateAllLog End [2025-03-20 17:17:04] Production.INFO: Account Balance End. [2025-03-20 17:17:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:17:04] Production.INFO: ==17965== Releasing lock... [2025-03-20 17:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:17:05 [end_date_ymd] => 2025-03-20 17:17:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:17:05' and `end` < '2025-03-20 17: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-03-20 17:17:12] Production.ERROR: CronJobId end10 [2025-03-20 17:17:12] Production.INFO: ==17963== Releasing lock... [2025-03-20 17:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:17:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:17:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:17:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:17:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:17:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:17:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:17:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:17:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:17:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:17:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:17:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:17:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:17:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:17:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:17:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:17:14] Production.INFO: call_cost start [2025-03-20 17:17:14] Production.INFO: call_cost end [2025-03-20 17:17:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:17:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:17:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:17:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:17:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:17:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:17:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:17:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:17:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:17:15] Production.INFO: ==17959== Releasing lock... [2025-03-20 17:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:17:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:17:18] Production.INFO: count ==6076 [2025-03-20 17:17:20] Production.ERROR: pbx CDR StartTime 2025-03-20 14:17:05 - End Time 2025-03-20 17:17:05 [2025-03-20 17:17:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724314', 'tblTempUsageDetail_20' ) start [2025-03-20 17:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724314', 'tblTempUsageDetail_20' ) end [2025-03-20 17:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724314', 'tblTempVendorCDR_20' ) start [2025-03-20 17:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724314', 'tblTempVendorCDR_20' ) end [2025-03-20 17:17:21] Production.INFO: ProcessCDR(1,14724314,1,1,2) [2025-03-20 17:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:17:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:17:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724314', 'tblTempUsageDetail_20' ) start [2025-03-20 17:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724314', 'tblTempUsageDetail_20' ) end [2025-03-20 17:17:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:17:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:17:24] Production.INFO: ==17967== Releasing lock... [2025-03-20 17:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:17:24] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 21:18:01] Production.INFO: ==18053== Lock acquired, processing the job... [2025-03-20 21:18:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:18:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:18:01] Production.INFO: neon service started [2025-03-20 21:18:01] Production.INFO: neon service started [2025-03-20 21:18:01] Production.INFO: ==18053== Releasing lock... [2025-03-20 21:18:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:18:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:18:02] Production.INFO: ==18055== Lock acquired, processing the job... [2025-03-20 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:18:02] Production.INFO: ==18055== Releasing lock... [2025-03-20 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:18:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:18:02] Production.INFO: ==18057== Lock acquired, processing the job... [2025-03-20 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:18:02] Production.INFO: ==18057== Releasing lock... [2025-03-20 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:18:02] Production.INFO: 26 MB #Memory Used# [2025-03-20 17:18:03] Production.INFO: ==18062== Lock acquired, processing the job... [2025-03-20 17:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:18:03] Production.INFO: ==18070== Lock acquired, processing the job... [2025-03-20 17:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:18:03] Production.INFO: ==18060== Lock acquired, processing the job... [2025-03-20 17:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:18:03] Production.INFO: ==18064== Lock acquired, processing the job... [2025-03-20 17:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:18:03] Production.INFO: ==18062== Releasing lock... [2025-03-20 17:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:18:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:18:03] Production.INFO: ==18066== Lock acquired, processing the job... [2025-03-20 17:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:18:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17: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-03-20 17:18:03] Production.INFO: ==18068== Lock acquired, processing the job... [2025-03-20 17:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:18:03] Production.INFO: Account Balance Start. [2025-03-20 17:18:03] Production.INFO: CreateAllLog Start [2025-03-20 17:18:03] Production.INFO: 117 [2025-03-20 17:18:03] Production.INFO: count ==12 [2025-03-20 17:18:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:18:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17: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-03-20 17:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:03] Production.INFO: count ==23 [2025-03-20 17:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724317') start [2025-03-20 17:18:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:18:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724317') end [2025-03-20 17:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:18:04] Production.INFO: 1 [2025-03-20 17:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:04] Production.INFO: ==18070== Releasing lock... [2025-03-20 17:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:18:04] Production.ERROR: done [2025-03-20 17:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:18:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:18:04] Production.INFO: Total Charge 0 [2025-03-20 17:18:04] Production.INFO: CreateAllLog End [2025-03-20 17:18:04] Production.ERROR: done [2025-03-20 17:18:04] Production.INFO: Account Balance End. [2025-03-20 17:18:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:18:04] Production.INFO: ==18066== Releasing lock... [2025-03-20 17:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:18:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:18:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:18:05 [end_date_ymd] => 2025-03-20 17:18:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:18:05' and `end` < '2025-03-20 17: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-03-20 17:18:13] Production.ERROR: CronJobId end10 [2025-03-20 17:18:13] Production.INFO: ==18064== Releasing lock... [2025-03-20 17:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:18:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:18:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:18:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:18:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:18:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:18:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:18:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:18:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:18:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:18:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:18:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:18:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:18:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:18:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:18:14] Production.INFO: call_cost start [2025-03-20 17:18:14] Production.INFO: call_cost end [2025-03-20 17:18:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:18:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:18:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:18:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:18:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:18:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:18:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:18:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:18:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:18:15] Production.INFO: ==18060== Releasing lock... [2025-03-20 17:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:18:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:18:18] Production.INFO: count ==6065 [2025-03-20 17:18:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:18:05 - End Time 2025-03-20 17:18:05 [2025-03-20 17:18:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724319', 'tblTempUsageDetail_20' ) start [2025-03-20 17:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724319', 'tblTempUsageDetail_20' ) end [2025-03-20 17:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724319', 'tblTempVendorCDR_20' ) start [2025-03-20 17:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724319', 'tblTempVendorCDR_20' ) end [2025-03-20 17:18:21] Production.INFO: ProcessCDR(1,14724319,1,1,2) [2025-03-20 17:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724319', 'tblTempUsageDetail_20' ) start [2025-03-20 17:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724319', 'tblTempUsageDetail_20' ) end [2025-03-20 17:18:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:18:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:18:25] Production.INFO: ==18068== Releasing lock... [2025-03-20 17:18:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:18:25] Production.INFO: 73.5 MB #Memory Used# [2025-03-20 21:19:02] Production.INFO: ==18141== Lock acquired, processing the job... [2025-03-20 21:19:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:19:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:19:02] Production.INFO: neon service started [2025-03-20 21:19:02] Production.INFO: neon service started [2025-03-20 21:19:02] Production.INFO: ==18141== Releasing lock... [2025-03-20 21:19:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:19:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:19:02] Production.INFO: ==18143== Lock acquired, processing the job... [2025-03-20 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:19:02] Production.INFO: ==18145== Lock acquired, processing the job... [2025-03-20 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:19:02] Production.INFO: ==18145== Releasing lock... [2025-03-20 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:19:03] Production.INFO: ==18143== Releasing lock... [2025-03-20 17:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:19:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:19:03] Production.INFO: ==18150== Lock acquired, processing the job... [2025-03-20 17:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:19:03] Production.INFO: ==18152== Lock acquired, processing the job... [2025-03-20 17:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:19:04] Production.INFO: ==18156== Lock acquired, processing the job... [2025-03-20 17:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:19:04] Production.INFO: ==18150== Releasing lock... [2025-03-20 17:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:19:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:19:04] Production.INFO: ==18148== Lock acquired, processing the job... [2025-03-20 17:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:19:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:19:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:19:04] Production.INFO: ==18154== Lock acquired, processing the job... [2025-03-20 17:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:19:04] Production.INFO: ==18158== Lock acquired, processing the job... [2025-03-20 17:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17: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-03-20 17:19:04] Production.INFO: Account Balance Start. [2025-03-20 17:19:04] Production.INFO: CreateAllLog Start [2025-03-20 17:19:04] Production.INFO: 117 [2025-03-20 17:19:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:19:04] Production.INFO: count ==12 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:19:04] Production.INFO: count ==23 [2025-03-20 17:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724322') start [2025-03-20 17:19:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724322') end [2025-03-20 17:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:19:04] Production.INFO: 1 [2025-03-20 17:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:19:04] Production.ERROR: done [2025-03-20 17:19:04] Production.INFO: ==18158== Releasing lock... [2025-03-20 17:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:19:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:19:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:19:05] Production.ERROR: done [2025-03-20 17:19:05] Production.INFO: Total Charge 0 [2025-03-20 17:19:05] Production.INFO: CreateAllLog End [2025-03-20 17:19:05] Production.INFO: Account Balance End. [2025-03-20 17:19:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:19:05] Production.INFO: ==18154== Releasing lock... [2025-03-20 17:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:19:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:19:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:19:06 [end_date_ymd] => 2025-03-20 17:19:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:19:06' and `end` < '2025-03-20 17: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-03-20 17:19:15] Production.ERROR: CronJobId end10 [2025-03-20 17:19:15] Production.INFO: ==18152== Releasing lock... [2025-03-20 17:19:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:19:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:19:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:19:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:19:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:19:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:19:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:19:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:19:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:19:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:19:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:19:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:19:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:19:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:19:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:19:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:19:16] Production.INFO: call_cost start [2025-03-20 17:19:16] Production.INFO: call_cost end [2025-03-20 17:19:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:19:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:19:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:19:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:19:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:19:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:19:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:19:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:19:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:19:17] Production.INFO: ==18148== Releasing lock... [2025-03-20 17:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:19:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:19:19] Production.INFO: count ==6050 [2025-03-20 17:19:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:19:06 - End Time 2025-03-20 17:19:06 [2025-03-20 17:19:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724324', 'tblTempUsageDetail_20' ) start [2025-03-20 17:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724324', 'tblTempUsageDetail_20' ) end [2025-03-20 17:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724324', 'tblTempVendorCDR_20' ) start [2025-03-20 17:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724324', 'tblTempVendorCDR_20' ) end [2025-03-20 17:19:21] Production.INFO: ProcessCDR(1,14724324,1,1,2) [2025-03-20 17:19:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:19:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:19:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:19:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724324', 'tblTempUsageDetail_20' ) start [2025-03-20 17:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724324', 'tblTempUsageDetail_20' ) end [2025-03-20 17:19:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:19:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:19:27] Production.INFO: ==18156== Releasing lock... [2025-03-20 17:19:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:19:27] Production.INFO: 73.25 MB #Memory Used# [2025-03-20 21:20:01] Production.INFO: ==18232== Lock acquired, processing the job... [2025-03-20 21:20:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:20:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:20:01] Production.INFO: neon service started [2025-03-20 21:20:01] Production.INFO: neon service started [2025-03-20 21:20:01] Production.INFO: ==18232== Releasing lock... [2025-03-20 21:20:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:20:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:20:02] Production.INFO: ==18236== Lock acquired, processing the job... [2025-03-20 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:20:02] Production.INFO: ==18236== Releasing lock... [2025-03-20 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:20:02] Production.INFO: ==18234== Lock acquired, processing the job... [2025-03-20 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:20:02] Production.INFO: ==18234== Releasing lock... [2025-03-20 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:20:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:20:03] Production.INFO: ==18241== Lock acquired, processing the job... [2025-03-20 17:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 17:20:03] Production.INFO: ==18245== Lock acquired, processing the job... [2025-03-20 17:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:20:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 17:20:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 17:20:03] Production.INFO: ==18241== Releasing lock... [2025-03-20 17:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 17:20:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 17:20:03] Production.INFO: ==18247== Lock acquired, processing the job... [2025-03-20 17:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:20:03] Production.INFO: ==18243== Lock acquired, processing the job... [2025-03-20 17:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:20:03] Production.INFO: ==18255== Lock acquired, processing the job... [2025-03-20 17:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:20:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:20:03] Production.INFO: ==18245== Releasing lock... [2025-03-20 17:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:20:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:20:04] Production.INFO: ==18249== Lock acquired, processing the job... [2025-03-20 17:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17: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-03-20 17:20:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:20:04] Production.INFO: count ==23 [2025-03-20 17:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724327') start [2025-03-20 17:20:04] Production.INFO: ==18251== Lock acquired, processing the job... [2025-03-20 17:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:20:04] Production.INFO: ==18253== Lock acquired, processing the job... [2025-03-20 17:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 17:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724327') end [2025-03-20 17:20:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:20:04] Production.INFO: 1 [2025-03-20 17:20:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:20:04] Production.INFO: Account Balance Start. [2025-03-20 17:20:04] Production.INFO: CreateAllLog Start [2025-03-20 17:20:04] Production.INFO: 117 [2025-03-20 17:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:20:04] Production.INFO: ==18255== Releasing lock... [2025-03-20 17:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:20:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:04] Production.ERROR: done [2025-03-20 17:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 17:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724329', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 17:20:04] Production.ERROR: done [2025-03-20 17:20:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:05] Production.ERROR: done [2025-03-20 17:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:20:05] Production.INFO: Total Charge 0 [2025-03-20 17:20:05] Production.INFO: CreateAllLog End [2025-03-20 17:20:05] Production.INFO: Account Balance End. [2025-03-20 17:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:20:05] Production.INFO: ==18249== Releasing lock... [2025-03-20 17:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:20:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:20:05 [end_date_ymd] => 2025-03-20 17:20:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:20:05' and `end` < '2025-03-20 17: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-03-20 17:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724329', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 17:20:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 17:20:08] Production.INFO: ProcessCDR(1,14724329,1,1,2) [2025-03-20 17:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724329,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724329,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:20:08] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:20:08] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:20:09] Production.INFO: ==18253== Releasing lock... [2025-03-20 17:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 17:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 17:20:15] Production.ERROR: CronJobId end10 [2025-03-20 17:20:15] Production.INFO: ==18247== Releasing lock... [2025-03-20 17:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:20:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:20:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:20:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:20:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:20:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:20:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:20:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:20:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:20:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:20:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:20:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:20:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:20:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:20:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:20:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:20:17] Production.INFO: call_cost start [2025-03-20 17:20:17] Production.INFO: call_cost end [2025-03-20 17:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:20:18] Production.INFO: ==18243== Releasing lock... [2025-03-20 17:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:20:19] Production.INFO: count ==6011 [2025-03-20 17:20:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:20:05 - End Time 2025-03-20 17:20:05 [2025-03-20 17:20:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724330', 'tblTempUsageDetail_20' ) start [2025-03-20 17:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724330', 'tblTempUsageDetail_20' ) end [2025-03-20 17:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724330', 'tblTempVendorCDR_20' ) start [2025-03-20 17:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724330', 'tblTempVendorCDR_20' ) end [2025-03-20 17:20:22] Production.INFO: ProcessCDR(1,14724330,1,1,2) [2025-03-20 17:20:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:20:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:20:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:20:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724330', 'tblTempUsageDetail_20' ) start [2025-03-20 17:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724330', 'tblTempUsageDetail_20' ) end [2025-03-20 17:20:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:20:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:20:27] Production.INFO: ==18251== Releasing lock... [2025-03-20 17:20:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:20:27] Production.INFO: 73 MB #Memory Used# [2025-03-20 21:21:02] Production.INFO: ==18318== Lock acquired, processing the job... [2025-03-20 21:21:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:21:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:21:02] Production.INFO: neon service started [2025-03-20 21:21:02] Production.INFO: neon service started [2025-03-20 21:21:02] Production.INFO: ==18318== Releasing lock... [2025-03-20 21:21:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:21:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:21:02] Production.INFO: ==18320== Lock acquired, processing the job... [2025-03-20 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:21:02] Production.INFO: ==18320== Releasing lock... [2025-03-20 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:21:02] Production.INFO: ==18322== Lock acquired, processing the job... [2025-03-20 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:21:02] Production.INFO: ==18322== Releasing lock... [2025-03-20 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:21:03] Production.INFO: ==18331== Lock acquired, processing the job... [2025-03-20 17:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:21:03] Production.INFO: Account Balance Start. [2025-03-20 17:21:03] Production.INFO: CreateAllLog Start [2025-03-20 17:21:03] Production.INFO: 117 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-14 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-15 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-16 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-17 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-18 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: Date 2025-03-19 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:03] Production.INFO: ==18327== Lock acquired, processing the job... [2025-03-20 17:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:21:03] Production.INFO: Date 2025-03-20 [2025-03-20 17:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:21:04] Production.INFO: Total Charge 0 [2025-03-20 17:21:04] Production.INFO: ==18329== Lock acquired, processing the job... [2025-03-20 17:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:21:04] Production.INFO: ==18333== Lock acquired, processing the job... [2025-03-20 17:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:21:04] Production.INFO: ==18325== Lock acquired, processing the job... [2025-03-20 17:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:21:04] Production.INFO: CreateAllLog End [2025-03-20 17:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:21:04] Production.INFO: ==18335== Lock acquired, processing the job... [2025-03-20 17:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:21:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17: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-03-20 17:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:21:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:21:04] Production.INFO: count ==23 [2025-03-20 17:21:04] Production.INFO: ==18327== Releasing lock... [2025-03-20 17:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:21:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:21:04] Production.INFO: Account Balance End. [2025-03-20 17:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724333') start [2025-03-20 17:21:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:21:04] Production.INFO: ==18331== Releasing lock... [2025-03-20 17:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:21:04] Production.ERROR: done [2025-03-20 17:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724333') end [2025-03-20 17:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:21:04] Production.INFO: 1 [2025-03-20 17:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:21:04] Production.INFO: ==18335== Releasing lock... [2025-03-20 17:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:21:04] Production.ERROR: done [2025-03-20 17:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:21:05 [end_date_ymd] => 2025-03-20 17:21:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:21:05' and `end` < '2025-03-20 17: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-03-20 17:21:13] Production.ERROR: CronJobId end10 [2025-03-20 17:21:13] Production.INFO: ==18329== Releasing lock... [2025-03-20 17:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:21:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:21:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:21:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:21:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:21:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:21:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:21:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:21:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:21:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:21:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:21:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:21:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:21:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:21:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:21:16] Production.INFO: call_cost start [2025-03-20 17:21:16] Production.INFO: call_cost end [2025-03-20 17:21:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:21:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:21:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:21:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:21:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:21:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:21:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:21:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:21:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:21:17] Production.INFO: ==18325== Releasing lock... [2025-03-20 17:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:21:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:21:19] Production.INFO: count ==5935 [2025-03-20 17:21:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:21:05 - End Time 2025-03-20 17:21:05 [2025-03-20 17:21:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724335', 'tblTempUsageDetail_20' ) start [2025-03-20 17:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724335', 'tblTempUsageDetail_20' ) end [2025-03-20 17:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724335', 'tblTempVendorCDR_20' ) start [2025-03-20 17:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724335', 'tblTempVendorCDR_20' ) end [2025-03-20 17:21:21] Production.INFO: ProcessCDR(1,14724335,1,1,2) [2025-03-20 17:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:21:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:21:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:21:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724335', 'tblTempUsageDetail_20' ) start [2025-03-20 17:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724335', 'tblTempUsageDetail_20' ) end [2025-03-20 17:21:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:21:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:21:26] Production.INFO: ==18333== Releasing lock... [2025-03-20 17:21:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:21:26] Production.INFO: 72.5 MB #Memory Used# [2025-03-20 21:22:01] Production.INFO: ==18409== Lock acquired, processing the job... [2025-03-20 21:22:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:22:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:22:01] Production.INFO: neon service started [2025-03-20 21:22:01] Production.INFO: neon service started [2025-03-20 21:22:01] Production.INFO: ==18409== Releasing lock... [2025-03-20 21:22:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:22:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:22:01] Production.INFO: ==18411== Lock acquired, processing the job... [2025-03-20 17:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:22:02] Production.INFO: ==18411== Releasing lock... [2025-03-20 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:22:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:22:02] Production.INFO: ==18413== Lock acquired, processing the job... [2025-03-20 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:22:02] Production.INFO: ==18413== Releasing lock... [2025-03-20 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:22:03] Production.INFO: ==18419== Lock acquired, processing the job... [2025-03-20 17:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:22:03] Production.INFO: ==18423== Lock acquired, processing the job... [2025-03-20 17:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:22:03] Production.INFO: ==18415== Lock acquired, processing the job... [2025-03-20 17:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:22:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:22:03] Production.INFO: ==18417== Lock acquired, processing the job... [2025-03-20 17:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:22:03] Production.INFO: ==18421== Lock acquired, processing the job... [2025-03-20 17:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:22:03] Production.INFO: ==18425== Lock acquired, processing the job... [2025-03-20 17:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:22:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17: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-03-20 17:22:03] Production.INFO: Account Balance Start. [2025-03-20 17:22:03] Production.INFO: CreateAllLog Start [2025-03-20 17:22:03] Production.INFO: 117 [2025-03-20 17:22:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:22:03] Production.INFO: count ==12 [2025-03-20 17:22:03] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:22:03] Production.INFO: count ==23 [2025-03-20 17:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724337') start [2025-03-20 17:22:03] Production.ERROR: done [2025-03-20 17:22:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724337') end [2025-03-20 17:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:22:04] Production.INFO: 1 [2025-03-20 17:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: ==18425== Releasing lock... [2025-03-20 17:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:22:04] Production.INFO: ==18417== Releasing lock... [2025-03-20 17:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:22:04] Production.ERROR: done [2025-03-20 17:22:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:22:04] Production.INFO: Total Charge 0 [2025-03-20 17:22:04] Production.INFO: CreateAllLog End [2025-03-20 17:22:04] Production.INFO: Account Balance End. [2025-03-20 17:22:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:22:04] Production.INFO: ==18421== Releasing lock... [2025-03-20 17:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:22:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:22:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:22:05 [end_date_ymd] => 2025-03-20 17:22:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:22:05' and `end` < '2025-03-20 17: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-03-20 17:22:13] Production.ERROR: CronJobId end10 [2025-03-20 17:22:13] Production.INFO: ==18419== Releasing lock... [2025-03-20 17:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:22:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:22:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:22:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:22:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:22:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:22:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:22:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:22:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:22:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:22:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:22:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:22:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:22:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:22:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:22:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:22:15] Production.INFO: call_cost start [2025-03-20 17:22:15] Production.INFO: call_cost end [2025-03-20 17:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:22:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:22:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:22:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:22:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:22:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:22:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:22:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:22:16] Production.INFO: ==18415== Releasing lock... [2025-03-20 17:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:22:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:22:18] Production.INFO: count ==5883 [2025-03-20 17:22:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:22:05 - End Time 2025-03-20 17:22:05 [2025-03-20 17:22:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724340', 'tblTempUsageDetail_20' ) start [2025-03-20 17:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724340', 'tblTempUsageDetail_20' ) end [2025-03-20 17:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724340', 'tblTempVendorCDR_20' ) start [2025-03-20 17:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724340', 'tblTempVendorCDR_20' ) end [2025-03-20 17:22:21] Production.INFO: ProcessCDR(1,14724340,1,1,2) [2025-03-20 17:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:22:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:22:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724340', 'tblTempUsageDetail_20' ) start [2025-03-20 17:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724340', 'tblTempUsageDetail_20' ) end [2025-03-20 17:22:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:22:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:22:26] Production.INFO: ==18423== Releasing lock... [2025-03-20 17:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:22:26] Production.INFO: 72 MB #Memory Used# [2025-03-20 21:23:01] Production.INFO: ==18495== Lock acquired, processing the job... [2025-03-20 21:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:23:01] Production.INFO: neon service started [2025-03-20 21:23:02] Production.INFO: neon service started [2025-03-20 21:23:02] Production.INFO: ==18495== Releasing lock... [2025-03-20 21:23:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:23:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:23:02] Production.INFO: ==18499== Lock acquired, processing the job... [2025-03-20 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:23:02] Production.INFO: ==18497== Lock acquired, processing the job... [2025-03-20 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:23:02] Production.INFO: ==18499== Releasing lock... [2025-03-20 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:23:03] Production.INFO: ==18497== Releasing lock... [2025-03-20 17:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:23:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:23:03] Production.INFO: ==18508== Lock acquired, processing the job... [2025-03-20 17:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:23:03] Production.INFO: ==18512== Lock acquired, processing the job... [2025-03-20 17:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:23:03] Production.INFO: Account Balance Start. [2025-03-20 17:23:03] Production.INFO: CreateAllLog Start [2025-03-20 17:23:03] Production.INFO: 117 [2025-03-20 17:23:03] Production.INFO: ==18502== Lock acquired, processing the job... [2025-03-20 17:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:23:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:23:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:23:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:23:04] Production.INFO: count ==23 [2025-03-20 17:23:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724342') start [2025-03-20 17:23:04] Production.INFO: ==18504== Lock acquired, processing the job... [2025-03-20 17:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.INFO: ==18506== Lock acquired, processing the job... [2025-03-20 17:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724342') end [2025-03-20 17:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:23:04] Production.INFO: 1 [2025-03-20 17:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:23:04] Production.INFO: ==18512== Releasing lock... [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:23:04] Production.INFO: ==18510== Lock acquired, processing the job... [2025-03-20 17:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:23:04] Production.INFO: Total Charge 0 [2025-03-20 17:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:23:04] Production.INFO: CreateAllLog End [2025-03-20 17:23:04] Production.INFO: ==18504== Releasing lock... [2025-03-20 17:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:23:04] Production.ERROR: done [2025-03-20 17:23:04] Production.INFO: Account Balance End. [2025-03-20 17:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:23:04] Production.INFO: ==18508== Releasing lock... [2025-03-20 17:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:23:05] Production.ERROR: done [2025-03-20 17:23:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:23:06 [end_date_ymd] => 2025-03-20 17:23:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:23:06' and `end` < '2025-03-20 17: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-03-20 17:23:14] Production.ERROR: CronJobId end10 [2025-03-20 17:23:14] Production.INFO: ==18506== Releasing lock... [2025-03-20 17:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:23:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:23:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:23:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:23:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:23:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:23:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:23:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:23:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:23:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:23:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:23:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:23:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:23:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:23:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:23:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:23:15] Production.INFO: call_cost start [2025-03-20 17:23:15] Production.INFO: call_cost end [2025-03-20 17:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:23:16] Production.INFO: ==18502== Releasing lock... [2025-03-20 17:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:23:19] Production.INFO: count ==5881 [2025-03-20 17:23:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:23:06 - End Time 2025-03-20 17:23:06 [2025-03-20 17:23:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724345', 'tblTempUsageDetail_20' ) start [2025-03-20 17:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724345', 'tblTempUsageDetail_20' ) end [2025-03-20 17:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724345', 'tblTempVendorCDR_20' ) start [2025-03-20 17:23:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724345', 'tblTempVendorCDR_20' ) end [2025-03-20 17:23:22] Production.INFO: ProcessCDR(1,14724345,1,1,2) [2025-03-20 17:23:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:23:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724345', 'tblTempUsageDetail_20' ) start [2025-03-20 17:23:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724345', 'tblTempUsageDetail_20' ) end [2025-03-20 17:23:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:23:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:23:27] Production.INFO: ==18510== Releasing lock... [2025-03-20 17:23:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:23:27] Production.INFO: 72 MB #Memory Used# [2025-03-20 21:24:01] Production.INFO: ==18589== Lock acquired, processing the job... [2025-03-20 21:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:24:01] Production.INFO: neon service started [2025-03-20 21:24:01] Production.INFO: neon service started [2025-03-20 21:24:01] Production.INFO: ==18589== Releasing lock... [2025-03-20 21:24:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:24:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:24:01] Production.INFO: ==18591== Lock acquired, processing the job... [2025-03-20 17:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:24:02] Production.INFO: ==18591== Releasing lock... [2025-03-20 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:24:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:24:02] Production.INFO: ==18593== Lock acquired, processing the job... [2025-03-20 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:24:02] Production.INFO: ==18593== Releasing lock... [2025-03-20 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:24:02] Production.INFO: ==18595== Lock acquired, processing the job... [2025-03-20 17:24:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:24:02] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:24:03] Production.INFO: ==18597== Lock acquired, processing the job... [2025-03-20 17:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:24:03] Production.INFO: ==18604== Lock acquired, processing the job... [2025-03-20 17:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:24:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:24:03] Production.INFO: ==18600== Lock acquired, processing the job... [2025-03-20 17:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:24:03] Production.INFO: ==18597== Releasing lock... [2025-03-20 17:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:24:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:24:03] Production.INFO: ==18602== Lock acquired, processing the job... [2025-03-20 17:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:24:03] Production.INFO: ==18606== Lock acquired, processing the job... [2025-03-20 17:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:24:03] Production.ERROR: done [2025-03-20 17:24:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17: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-03-20 17:24:03] Production.INFO: Account Balance Start. [2025-03-20 17:24:03] Production.INFO: CreateAllLog Start [2025-03-20 17:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:24:03] Production.INFO: 117 [2025-03-20 17:24:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:03] Production.INFO: count ==12 [2025-03-20 17:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17: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-03-20 17:24:03] Production.INFO: count ==23 [2025-03-20 17:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724348') start [2025-03-20 17:24:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:24:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:03] Production.ERROR: done [2025-03-20 17:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724348') end [2025-03-20 17:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:24:04] Production.INFO: 1 [2025-03-20 17:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:04] Production.INFO: ==18606== Releasing lock... [2025-03-20 17:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:24:04] Production.INFO: Total Charge 0 [2025-03-20 17:24:04] Production.INFO: CreateAllLog End [2025-03-20 17:24:04] Production.INFO: Account Balance End. [2025-03-20 17:24:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:24:04] Production.INFO: ==18602== Releasing lock... [2025-03-20 17:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:24:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:24:05 [end_date_ymd] => 2025-03-20 17:24:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:24:05' and `end` < '2025-03-20 17: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-03-20 17:24:13] Production.ERROR: CronJobId end10 [2025-03-20 17:24:13] Production.INFO: ==18600== Releasing lock... [2025-03-20 17:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:24:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:24:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:24:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:24:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:24:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:24:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:24:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:24:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:24:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:24:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:24:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:24:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:24:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:24:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:24:14] Production.INFO: call_cost start [2025-03-20 17:24:14] Production.INFO: call_cost end [2025-03-20 17:24:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:24:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:24:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:24:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:24:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:24:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:24:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:24:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:24:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:24:15] Production.INFO: ==18595== Releasing lock... [2025-03-20 17:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:24:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:24:18] Production.INFO: count ==5868 [2025-03-20 17:24:20] Production.ERROR: pbx CDR StartTime 2025-03-20 14:24:05 - End Time 2025-03-20 17:24:05 [2025-03-20 17:24:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724350', 'tblTempUsageDetail_20' ) start [2025-03-20 17:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724350', 'tblTempUsageDetail_20' ) end [2025-03-20 17:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724350', 'tblTempVendorCDR_20' ) start [2025-03-20 17:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724350', 'tblTempVendorCDR_20' ) end [2025-03-20 17:24:20] Production.INFO: ProcessCDR(1,14724350,1,1,2) [2025-03-20 17:24:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:24:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:24:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:24:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724350', 'tblTempUsageDetail_20' ) start [2025-03-20 17:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724350', 'tblTempUsageDetail_20' ) end [2025-03-20 17:24:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:24:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:24:25] Production.INFO: ==18604== Releasing lock... [2025-03-20 17:24:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:24:25] Production.INFO: 72 MB #Memory Used# [2025-03-20 21:25:01] Production.INFO: ==18673== Lock acquired, processing the job... [2025-03-20 21:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:25:01] Production.INFO: neon service started [2025-03-20 21:25:01] Production.INFO: neon service started [2025-03-20 21:25:01] Production.INFO: ==18673== Releasing lock... [2025-03-20 21:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:25:02] Production.INFO: ==18675== Lock acquired, processing the job... [2025-03-20 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:25:02] Production.INFO: ==18677== Lock acquired, processing the job... [2025-03-20 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:25:02] Production.INFO: ==18677== Releasing lock... [2025-03-20 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:25:02] Production.INFO: ==18675== Releasing lock... [2025-03-20 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:25:03] Production.INFO: ==18679== Lock acquired, processing the job... [2025-03-20 17:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:25:03] Production.INFO: ==18681== Lock acquired, processing the job... [2025-03-20 17:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:25:03] Production.INFO: ==18683== Lock acquired, processing the job... [2025-03-20 17:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:25:03] Production.INFO: ==18687== Lock acquired, processing the job... [2025-03-20 17:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:25:03] Production.INFO: ==18685== Lock acquired, processing the job... [2025-03-20 17:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:25:03] Production.INFO: ==18690== Lock acquired, processing the job... [2025-03-20 17:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:25:03] Production.INFO: ==18681== Releasing lock... [2025-03-20 17:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:25:03] Production.INFO: Account Balance Start. [2025-03-20 17:25:03] Production.INFO: CreateAllLog Start [2025-03-20 17:25:03] Production.INFO: 117 [2025-03-20 17:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.ERROR: done [2025-03-20 17:25:04] Production.INFO: Date 2025-03-10 [2025-03-20 17: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-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:25:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:25:04] Production.INFO: count ==23 [2025-03-20 17:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724354') start [2025-03-20 17:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.ERROR: done [2025-03-20 17:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724354') end [2025-03-20 17:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:25:04] Production.INFO: 1 [2025-03-20 17:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.INFO: ==18690== Releasing lock... [2025-03-20 17:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:25:04] Production.INFO: Total Charge 0 [2025-03-20 17:25:04] Production.INFO: CreateAllLog End [2025-03-20 17:25:04] Production.INFO: Account Balance End. [2025-03-20 17:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:25:04] Production.INFO: ==18685== Releasing lock... [2025-03-20 17:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:25:05 [end_date_ymd] => 2025-03-20 17:25:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:25:05' and `end` < '2025-03-20 17: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-03-20 17:25:13] Production.ERROR: CronJobId end10 [2025-03-20 17:25:13] Production.INFO: ==18683== Releasing lock... [2025-03-20 17:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:25:14] Production.INFO: call_cost start [2025-03-20 17:25:14] Production.INFO: call_cost end [2025-03-20 17:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:25:15] Production.INFO: ==18679== Releasing lock... [2025-03-20 17:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:25:18] Production.INFO: count ==5838 [2025-03-20 17:25:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:25:05 - End Time 2025-03-20 17:25:05 [2025-03-20 17:25:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724355', 'tblTempUsageDetail_20' ) start [2025-03-20 17:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724355', 'tblTempUsageDetail_20' ) end [2025-03-20 17:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724355', 'tblTempVendorCDR_20' ) start [2025-03-20 17:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724355', 'tblTempVendorCDR_20' ) end [2025-03-20 17:25:21] Production.INFO: ProcessCDR(1,14724355,1,1,2) [2025-03-20 17:25:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:25:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:25:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:25:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:25:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724355', 'tblTempUsageDetail_20' ) start [2025-03-20 17:25:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724355', 'tblTempUsageDetail_20' ) end [2025-03-20 17:25:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:25:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:25:26] Production.INFO: ==18687== Releasing lock... [2025-03-20 17:25:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:25:26] Production.INFO: 71.75 MB #Memory Used# [2025-03-20 21:26:02] Production.INFO: ==18756== Lock acquired, processing the job... [2025-03-20 21:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:26:02] Production.INFO: neon service started [2025-03-20 21:26:02] Production.INFO: neon service started [2025-03-20 21:26:02] Production.INFO: ==18756== Releasing lock... [2025-03-20 21:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:26:02] Production.INFO: ==18762== Lock acquired, processing the job... [2025-03-20 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:26:02] Production.INFO: ==18762== Releasing lock... [2025-03-20 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:26:02] Production.INFO: ==18758== Lock acquired, processing the job... [2025-03-20 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:26:03] Production.INFO: ==18758== Releasing lock... [2025-03-20 17:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:26:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:26:03] Production.INFO: ==18765== Lock acquired, processing the job... [2025-03-20 17:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:26:03] Production.INFO: ==18767== Lock acquired, processing the job... [2025-03-20 17:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:26:03] Production.INFO: ==18771== Lock acquired, processing the job... [2025-03-20 17:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:26:04] Production.INFO: ==18769== Lock acquired, processing the job... [2025-03-20 17:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:26:04] Production.INFO: Account Balance Start. [2025-03-20 17:26:04] Production.INFO: CreateAllLog Start [2025-03-20 17:26:04] Production.INFO: 117 [2025-03-20 17:26:04] Production.INFO: ==18767== Releasing lock... [2025-03-20 17:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:26:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:26:04] Production.INFO: ==18773== Lock acquired, processing the job... [2025-03-20 17:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:04] Production.INFO: ==18775== Lock acquired, processing the job... [2025-03-20 17:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:26:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:26:04] Production.INFO: count ==23 [2025-03-20 17:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724359') start [2025-03-20 17:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724359') end [2025-03-20 17:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:26:04] Production.INFO: 1 [2025-03-20 17:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:04] Production.INFO: ==18775== Releasing lock... [2025-03-20 17:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:04] Production.ERROR: done [2025-03-20 17:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:26:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:26:05] Production.INFO: Total Charge 0 [2025-03-20 17:26:05] Production.INFO: CreateAllLog End [2025-03-20 17:26:05] Production.ERROR: done [2025-03-20 17:26:05] Production.INFO: Account Balance End. [2025-03-20 17:26:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:26:05] Production.INFO: ==18771== Releasing lock... [2025-03-20 17:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:26:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:26:06 [end_date_ymd] => 2025-03-20 17:26:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:26:06' and `end` < '2025-03-20 17: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-03-20 17:26:14] Production.ERROR: CronJobId end10 [2025-03-20 17:26:14] Production.INFO: ==18769== Releasing lock... [2025-03-20 17:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:26:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:26:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:26:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:26:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:26:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:26:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:26:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:26:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:26:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:26:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:26:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:26:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:26:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:26:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:26:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:26:15] Production.INFO: call_cost start [2025-03-20 17:26:15] Production.INFO: call_cost end [2025-03-20 17:26:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:26:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:26:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:26:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:26:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:26:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:26:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:26:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:26:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:26:16] Production.INFO: ==18765== Releasing lock... [2025-03-20 17:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:26:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:26:19] Production.INFO: count ==5809 [2025-03-20 17:26:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:26:06 - End Time 2025-03-20 17:26:06 [2025-03-20 17:26:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724360', 'tblTempUsageDetail_20' ) start [2025-03-20 17:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724360', 'tblTempUsageDetail_20' ) end [2025-03-20 17:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724360', 'tblTempVendorCDR_20' ) start [2025-03-20 17:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724360', 'tblTempVendorCDR_20' ) end [2025-03-20 17:26:21] Production.INFO: ProcessCDR(1,14724360,1,1,2) [2025-03-20 17:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:26:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:26:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:26:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724360', 'tblTempUsageDetail_20' ) start [2025-03-20 17:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724360', 'tblTempUsageDetail_20' ) end [2025-03-20 17:26:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:26:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:26:27] Production.INFO: ==18773== Releasing lock... [2025-03-20 17:26:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:26:27] Production.INFO: 71.5 MB #Memory Used# [2025-03-20 21:27:01] Production.INFO: ==18885== Lock acquired, processing the job... [2025-03-20 21:27:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:27:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:27:01] Production.INFO: neon service started [2025-03-20 21:27:01] Production.INFO: neon service started [2025-03-20 21:27:01] Production.INFO: ==18885== Releasing lock... [2025-03-20 21:27:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:27:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:27:02] Production.INFO: ==18887== Lock acquired, processing the job... [2025-03-20 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:27:02] Production.INFO: ==18889== Lock acquired, processing the job... [2025-03-20 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:27:02] Production.INFO: ==18889== Releasing lock... [2025-03-20 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:27:02] Production.INFO: ==18887== Releasing lock... [2025-03-20 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:27:03] Production.INFO: ==18892== Lock acquired, processing the job... [2025-03-20 17:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:27:03] Production.INFO: ==18896== Lock acquired, processing the job... [2025-03-20 17:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:27:03] Production.INFO: ==18898== Lock acquired, processing the job... [2025-03-20 17:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:27:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:27:03] Production.INFO: Account Balance Start. [2025-03-20 17:27:03] Production.INFO: CreateAllLog Start [2025-03-20 17:27:03] Production.INFO: 117 [2025-03-20 17:27:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:27:03] Production.INFO: ==18894== Lock acquired, processing the job... [2025-03-20 17:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:27:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:27:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:03] Production.INFO: ==18900== Lock acquired, processing the job... [2025-03-20 17:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:04] Production.INFO: ==18902== Lock acquired, processing the job... [2025-03-20 17:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:27:04] Production.INFO: count ==12 [2025-03-20 17:27:04] Production.INFO: ==18894== Releasing lock... [2025-03-20 17:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:27:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17: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-03-20 17:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:27:04] Production.INFO: count ==23 [2025-03-20 17:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724364') start [2025-03-20 17:27:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724364') end [2025-03-20 17:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:27:04] Production.INFO: 1 [2025-03-20 17:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:27:04] Production.ERROR: done [2025-03-20 17:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:27:04] Production.INFO: ==18902== Releasing lock... [2025-03-20 17:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:27:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:27:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:27:04] Production.INFO: Total Charge 0 [2025-03-20 17:27:04] Production.INFO: CreateAllLog End [2025-03-20 17:27:04] Production.ERROR: done [2025-03-20 17:27:04] Production.INFO: Account Balance End. [2025-03-20 17:27:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:27:05] Production.INFO: ==18898== Releasing lock... [2025-03-20 17:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:27:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:27:05 [end_date_ymd] => 2025-03-20 17:27:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:27:05' and `end` < '2025-03-20 17: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-03-20 17:27:14] Production.ERROR: CronJobId end10 [2025-03-20 17:27:14] Production.INFO: ==18896== Releasing lock... [2025-03-20 17:27:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:27:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:27:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:27:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:27:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:27:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:27:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:27:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:27:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:27:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:27:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:27:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:27:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:27:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:27:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:27:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:27:16] Production.INFO: call_cost start [2025-03-20 17:27:16] Production.INFO: call_cost end [2025-03-20 17:27:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:27:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:27:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:27:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:27:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:27:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:27:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:27:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:27:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:27:17] Production.INFO: ==18892== Releasing lock... [2025-03-20 17:27:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:27:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:27:18] Production.INFO: count ==5788 [2025-03-20 17:27:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:27:05 - End Time 2025-03-20 17:27:05 [2025-03-20 17:27:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724365', 'tblTempUsageDetail_20' ) start [2025-03-20 17:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724365', 'tblTempUsageDetail_20' ) end [2025-03-20 17:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724365', 'tblTempVendorCDR_20' ) start [2025-03-20 17:27:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724365', 'tblTempVendorCDR_20' ) end [2025-03-20 17:27:21] Production.INFO: ProcessCDR(1,14724365,1,1,2) [2025-03-20 17:27:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:27:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:27:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724365', 'tblTempUsageDetail_20' ) start [2025-03-20 17:27:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724365', 'tblTempUsageDetail_20' ) end [2025-03-20 17:27:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:27:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:27:25] Production.INFO: ==18900== Releasing lock... [2025-03-20 17:27:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:27:25] Production.INFO: 71.25 MB #Memory Used# [2025-03-20 21:28:02] Production.INFO: ==18976== Lock acquired, processing the job... [2025-03-20 21:28:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:28:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:28:02] Production.INFO: neon service started [2025-03-20 21:28:02] Production.INFO: neon service started [2025-03-20 21:28:02] Production.INFO: ==18976== Releasing lock... [2025-03-20 21:28:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:28:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:28:02] Production.INFO: ==18978== Lock acquired, processing the job... [2025-03-20 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:28:02] Production.INFO: ==18978== Releasing lock... [2025-03-20 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:28:02] Production.INFO: ==18980== Lock acquired, processing the job... [2025-03-20 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:28:03] Production.INFO: ==18980== Releasing lock... [2025-03-20 21:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:28:03] Production.INFO: ==18986== Lock acquired, processing the job... [2025-03-20 17:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:28:03] Production.INFO: ==18993== Lock acquired, processing the job... [2025-03-20 17:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:28:03] Production.INFO: ==18982== Lock acquired, processing the job... [2025-03-20 17:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:28:04] Production.INFO: ==18984== Lock acquired, processing the job... [2025-03-20 17:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17: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-03-20 17:28:04] Production.INFO: ==18988== Lock acquired, processing the job... [2025-03-20 17:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:28:04] Production.INFO: ==18991== Lock acquired, processing the job... [2025-03-20 17:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:28:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:28:04] Production.INFO: count ==23 [2025-03-20 17:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724366') start [2025-03-20 17:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724366') end [2025-03-20 17:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:28:04] Production.INFO: 1 [2025-03-20 17:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:28:04] Production.INFO: Account Balance Start. [2025-03-20 17:28:04] Production.INFO: CreateAllLog Start [2025-03-20 17:28:04] Production.INFO: 117 [2025-03-20 17:28:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:28:04] Production.INFO: ==18984== Releasing lock... [2025-03-20 17:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:04] Production.INFO: ==18993== Releasing lock... [2025-03-20 17:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:04] Production.ERROR: done [2025-03-20 17:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:04] Production.ERROR: done [2025-03-20 17:28:05] Production.INFO: Date 2025-03-12 [2025-03-20 17:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:05] Production.INFO: Date 2025-03-13 [2025-03-20 17:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:05] Production.INFO: Date 2025-03-14 [2025-03-20 17:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:05] Production.INFO: Date 2025-03-15 [2025-03-20 17:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:28:05] Production.INFO: Total Charge 0 [2025-03-20 17:28:05] Production.INFO: CreateAllLog End [2025-03-20 17:28:05] Production.INFO: Account Balance End. [2025-03-20 17:28:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:28:05] Production.INFO: ==18988== Releasing lock... [2025-03-20 17:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:28:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:28:06 [end_date_ymd] => 2025-03-20 17:28:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:28:06' and `end` < '2025-03-20 17: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-03-20 17:28:14] Production.ERROR: CronJobId end10 [2025-03-20 17:28:14] Production.INFO: ==18986== Releasing lock... [2025-03-20 17:28:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:28:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:28:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:28:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:28:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:28:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:28:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:28:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:28:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:28:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:28:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:28:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:28:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:28:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:28:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:28:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:28:15] Production.INFO: call_cost start [2025-03-20 17:28:15] Production.INFO: call_cost end [2025-03-20 17:28:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:28:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:28:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:28:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:28:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:28:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:28:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:28:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:28:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:28:16] Production.INFO: ==18982== Releasing lock... [2025-03-20 17:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:28:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:28:19] Production.INFO: count ==5759 [2025-03-20 17:28:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:28:06 - End Time 2025-03-20 17:28:06 [2025-03-20 17:28:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724370', 'tblTempUsageDetail_20' ) start [2025-03-20 17:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724370', 'tblTempUsageDetail_20' ) end [2025-03-20 17:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724370', 'tblTempVendorCDR_20' ) start [2025-03-20 17:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724370', 'tblTempVendorCDR_20' ) end [2025-03-20 17:28:21] Production.INFO: ProcessCDR(1,14724370,1,1,2) [2025-03-20 17:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:28:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:28:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:28:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:28:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724370', 'tblTempUsageDetail_20' ) start [2025-03-20 17:28:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724370', 'tblTempUsageDetail_20' ) end [2025-03-20 17:28:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:28:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:28:25] Production.INFO: ==18991== Releasing lock... [2025-03-20 17:28:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:28:25] Production.INFO: 71 MB #Memory Used# [2025-03-20 21:29:01] Production.INFO: ==19059== Lock acquired, processing the job... [2025-03-20 21:29:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:29:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:29:01] Production.INFO: neon service started [2025-03-20 21:29:01] Production.INFO: neon service started [2025-03-20 21:29:01] Production.INFO: ==19059== Releasing lock... [2025-03-20 21:29:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:29:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:29:02] Production.INFO: ==19061== Lock acquired, processing the job... [2025-03-20 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:29:02] Production.INFO: ==19063== Lock acquired, processing the job... [2025-03-20 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:29:02] Production.INFO: ==19061== Releasing lock... [2025-03-20 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:29:02] Production.INFO: ==19063== Releasing lock... [2025-03-20 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:29:03] Production.INFO: ==19074== Lock acquired, processing the job... [2025-03-20 17:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:29:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:29:03] Production.INFO: ==19066== Lock acquired, processing the job... [2025-03-20 17:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:29:03] Production.ERROR: done [2025-03-20 17:29:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:29:03] Production.INFO: ==19068== Lock acquired, processing the job... [2025-03-20 17:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:29:03] Production.INFO: ==19070== Lock acquired, processing the job... [2025-03-20 17:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:29:03] Production.INFO: ==19072== Lock acquired, processing the job... [2025-03-20 17:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:29:03] Production.INFO: ==19076== Lock acquired, processing the job... [2025-03-20 17:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:29:03] Production.ERROR: done [2025-03-20 17:29:03] Production.INFO: Account Balance Start. [2025-03-20 17:29:03] Production.INFO: CreateAllLog Start [2025-03-20 17:29:03] Production.INFO: 117 [2025-03-20 17:29:03] Production.INFO: Date 2025-03-08 [2025-03-20 17: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-03-20 17:29:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:29:03] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:29:03] Production.INFO: count ==23 [2025-03-20 17:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724371') start [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724371') end [2025-03-20 17:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:29:04] Production.INFO: 1 [2025-03-20 17:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:29:04] Production.INFO: ==19076== Releasing lock... [2025-03-20 17:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:29:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: ==19068== Releasing lock... [2025-03-20 17:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:29:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:29:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:29:04] Production.INFO: Total Charge 0 [2025-03-20 17:29:04] Production.INFO: CreateAllLog End [2025-03-20 17:29:04] Production.INFO: Account Balance End. [2025-03-20 17:29:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:29:04] Production.INFO: ==19072== Releasing lock... [2025-03-20 17:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:29:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:29:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:29:05 [end_date_ymd] => 2025-03-20 17:29:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:29:05' and `end` < '2025-03-20 17: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-03-20 17:29:14] Production.ERROR: CronJobId end10 [2025-03-20 17:29:14] Production.INFO: ==19070== Releasing lock... [2025-03-20 17:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:29:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:29:15] Production.INFO: call_cost start [2025-03-20 17:29:15] Production.INFO: call_cost end [2025-03-20 17:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:29:16] Production.INFO: ==19066== Releasing lock... [2025-03-20 17:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:29:18] Production.INFO: count ==5732 [2025-03-20 17:29:20] Production.ERROR: pbx CDR StartTime 2025-03-20 14:29:05 - End Time 2025-03-20 17:29:05 [2025-03-20 17:29:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724375', 'tblTempUsageDetail_20' ) start [2025-03-20 17:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724375', 'tblTempUsageDetail_20' ) end [2025-03-20 17:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724375', 'tblTempVendorCDR_20' ) start [2025-03-20 17:29:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724375', 'tblTempVendorCDR_20' ) end [2025-03-20 17:29:21] Production.INFO: ProcessCDR(1,14724375,1,1,2) [2025-03-20 17:29:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724375', 'tblTempUsageDetail_20' ) start [2025-03-20 17:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724375', 'tblTempUsageDetail_20' ) end [2025-03-20 17:29:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:29:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:29:24] Production.INFO: ==19074== Releasing lock... [2025-03-20 17:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:29:24] Production.INFO: 71 MB #Memory Used# [2025-03-20 21:30:02] Production.INFO: ==19146== Lock acquired, processing the job... [2025-03-20 21:30:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:30:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:30:02] Production.INFO: neon service started [2025-03-20 21:30:02] Production.INFO: neon service started [2025-03-20 21:30:02] Production.INFO: ==19146== Releasing lock... [2025-03-20 21:30:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:30:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:30:02] Production.INFO: ==19150== Lock acquired, processing the job... [2025-03-20 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:30:02] Production.INFO: ==19150== Releasing lock... [2025-03-20 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:30:02] Production.INFO: ==19148== Lock acquired, processing the job... [2025-03-20 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:30:03] Production.INFO: ==19148== Releasing lock... [2025-03-20 17:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:30:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:30:04] Production.INFO: ==19155== Lock acquired, processing the job... [2025-03-20 17:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 17:30:04] Production.INFO: ==19157== Lock acquired, processing the job... [2025-03-20 17:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:30:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 17:30:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 17:30:04] Production.ERROR: CronJob PID - 19157 [2025-03-20 17:30:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 17:30:04] Production.ERROR: CronJob ID - 5 [2025-03-20 17:30:04] Production.ERROR: CronJob Last Run Time 2025-03-20 17:30:00 [2025-03-20 17:30:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 17:30:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 17:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:30:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 17:30:04] Production.INFO: ==19155== Releasing lock... [2025-03-20 17:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 17:30:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 17:30:04] Production.INFO: ==19163== Lock acquired, processing the job... [2025-03-20 17:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:30:04] Production.INFO: ==19159== Lock acquired, processing the job... [2025-03-20 17:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:30:04] Production.INFO: Account Balance Start. [2025-03-20 17:30:04] Production.INFO: CreateAllLog Start [2025-03-20 17:30:04] Production.INFO: 117 [2025-03-20 17:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:30:04] Production.INFO: ==19167== Lock acquired, processing the job... [2025-03-20 17:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 17:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:04] Production.INFO: ==19161== Lock acquired, processing the job... [2025-03-20 17:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:04] Production.INFO: ==19165== Lock acquired, processing the job... [2025-03-20 17:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:04] Production.INFO: ==19169== Lock acquired, processing the job... [2025-03-20 17:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:30:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:04] Production.INFO: ==19159== Releasing lock... [2025-03-20 17:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:30:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 17:30:05] Production.INFO: count ==12 [2025-03-20 17:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 17:30:05] Production.INFO: count ==23 [2025-03-20 17:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724379') start [2025-03-20 17:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724379') end [2025-03-20 17:30:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:30:05] Production.INFO: 1 [2025-03-20 17:30:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:05] Production.ERROR: done [2025-03-20 17:30:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:30:05] Production.ERROR: done [2025-03-20 17:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:30:05] Production.INFO: Total Charge 0 [2025-03-20 17:30:05] Production.INFO: CreateAllLog End [2025-03-20 17:30:05] Production.INFO: ==19169== Releasing lock... [2025-03-20 17:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:30:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 17:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724380', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 17:30:05] Production.ERROR: done [2025-03-20 17:30:05] Production.INFO: Account Balance End. [2025-03-20 17:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:30:05] Production.INFO: ==19163== Releasing lock... [2025-03-20 17:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:30:06 [end_date_ymd] => 2025-03-20 17:30:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:30:06' and `end` < '2025-03-20 17: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-03-20 17:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724380', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 17:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 17:30:09] Production.INFO: ProcessCDR(1,14724380,1,1,2) [2025-03-20 17:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724380,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724380,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:30:09] Production.INFO: ==19167== Releasing lock... [2025-03-20 17:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 17:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 17:30:15] Production.ERROR: CronJobId end10 [2025-03-20 17:30:15] Production.INFO: ==19161== Releasing lock... [2025-03-20 17:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:30:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:30:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:30:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:30:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:30:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:30:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:30:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:30:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:30:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:30:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:30:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:30:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:30:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:30:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:30:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:30:17] Production.INFO: call_cost start [2025-03-20 17:30:17] Production.INFO: call_cost end [2025-03-20 17:30:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:30:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:30:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:30:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:30:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:30:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:30:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:30:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:30:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:30:18] Production.INFO: ==19157== Releasing lock... [2025-03-20 17:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:30:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:30:19] Production.INFO: count ==5700 [2025-03-20 17:30:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:30:06 - End Time 2025-03-20 17:30:06 [2025-03-20 17:30:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724381', 'tblTempUsageDetail_20' ) start [2025-03-20 17:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724381', 'tblTempUsageDetail_20' ) end [2025-03-20 17:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724381', 'tblTempVendorCDR_20' ) start [2025-03-20 17:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724381', 'tblTempVendorCDR_20' ) end [2025-03-20 17:30:22] Production.INFO: ProcessCDR(1,14724381,1,1,2) [2025-03-20 17:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:30:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:30:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:30:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724381', 'tblTempUsageDetail_20' ) start [2025-03-20 17:30:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724381', 'tblTempUsageDetail_20' ) end [2025-03-20 17:30:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:30:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:30:27] Production.INFO: ==19165== Releasing lock... [2025-03-20 17:30:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:30:27] Production.INFO: 70.75 MB #Memory Used# [2025-03-20 21:31:01] Production.INFO: ==19230== Lock acquired, processing the job... [2025-03-20 21:31:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:31:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:31:01] Production.INFO: neon service started [2025-03-20 21:31:01] Production.INFO: neon service started [2025-03-20 21:31:01] Production.INFO: ==19230== Releasing lock... [2025-03-20 21:31:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:31:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:31:02] Production.INFO: ==19232== Lock acquired, processing the job... [2025-03-20 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:31:02] Production.INFO: ==19234== Lock acquired, processing the job... [2025-03-20 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:31:02] Production.INFO: ==19234== Releasing lock... [2025-03-20 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:31:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:31:02] Production.INFO: ==19232== Releasing lock... [2025-03-20 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:31:03] Production.INFO: ==19247== Lock acquired, processing the job... [2025-03-20 17:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:31:03] Production.INFO: ==19243== Lock acquired, processing the job... [2025-03-20 17:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17: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-03-20 17:31:03] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:31:03] Production.INFO: count ==23 [2025-03-20 17:31:03] Production.INFO: ==19237== Lock acquired, processing the job... [2025-03-20 17:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724382') start [2025-03-20 17:31:03] Production.INFO: Account Balance Start. [2025-03-20 17:31:03] Production.INFO: CreateAllLog Start [2025-03-20 17:31:03] Production.INFO: 117 [2025-03-20 17:31:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:31:03] Production.INFO: ==19239== Lock acquired, processing the job... [2025-03-20 17:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:31:03] Production.INFO: ==19241== Lock acquired, processing the job... [2025-03-20 17:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724382') end [2025-03-20 17:31:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:31:03] Production.INFO: 1 [2025-03-20 17:31:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:31:03] Production.INFO: ==19245== Lock acquired, processing the job... [2025-03-20 17:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:31:03] Production.INFO: ==19247== Releasing lock... [2025-03-20 17:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:31:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:31:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:31:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:04] Production.INFO: ==19239== Releasing lock... [2025-03-20 17:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:04] Production.ERROR: done [2025-03-20 17:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:31:04] Production.INFO: Total Charge 0 [2025-03-20 17:31:04] Production.INFO: CreateAllLog End [2025-03-20 17:31:04] Production.ERROR: done [2025-03-20 17:31:04] Production.INFO: Account Balance End. [2025-03-20 17:31:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:31:04] Production.INFO: ==19243== Releasing lock... [2025-03-20 17:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:31:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:31:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:31:05 [end_date_ymd] => 2025-03-20 17:31:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:31:05' and `end` < '2025-03-20 17: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-03-20 17:31:13] Production.ERROR: CronJobId end10 [2025-03-20 17:31:13] Production.INFO: ==19241== Releasing lock... [2025-03-20 17:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:31:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:31:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:31:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:31:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:31:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:31:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:31:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:31:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:31:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:31:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:31:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:31:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:31:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:31:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:31:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:31:14] Production.INFO: call_cost start [2025-03-20 17:31:14] Production.INFO: call_cost end [2025-03-20 17:31:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:31:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:31:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:31:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:31:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:31:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:31:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:31:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:31:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:31:15] Production.INFO: ==19237== Releasing lock... [2025-03-20 17:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:31:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:31:18] Production.INFO: count ==5643 [2025-03-20 17:31:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:31:05 - End Time 2025-03-20 17:31:05 [2025-03-20 17:31:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724386', 'tblTempUsageDetail_20' ) start [2025-03-20 17:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724386', 'tblTempUsageDetail_20' ) end [2025-03-20 17:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724386', 'tblTempVendorCDR_20' ) start [2025-03-20 17:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724386', 'tblTempVendorCDR_20' ) end [2025-03-20 17:31:21] Production.INFO: ProcessCDR(1,14724386,1,1,2) [2025-03-20 17:31:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:31:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:31:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:31:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724386', 'tblTempUsageDetail_20' ) start [2025-03-20 17:31:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724386', 'tblTempUsageDetail_20' ) end [2025-03-20 17:31:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:31:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:31:26] Production.INFO: ==19245== Releasing lock... [2025-03-20 17:31:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:31:26] Production.INFO: 70.5 MB #Memory Used# [2025-03-20 21:32:02] Production.INFO: ==19317== Lock acquired, processing the job... [2025-03-20 21:32:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:32:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:32:02] Production.INFO: neon service started [2025-03-20 21:32:02] Production.INFO: neon service started [2025-03-20 21:32:02] Production.INFO: ==19317== Releasing lock... [2025-03-20 21:32:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:32:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:32:02] Production.INFO: ==19321== Lock acquired, processing the job... [2025-03-20 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:32:02] Production.INFO: ==19321== Releasing lock... [2025-03-20 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:32:02] Production.INFO: ==19319== Lock acquired, processing the job... [2025-03-20 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:32:03] Production.INFO: ==19319== Releasing lock... [2025-03-20 17:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:32:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:32:03] Production.INFO: ==19329== Lock acquired, processing the job... [2025-03-20 17:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:32:03] Production.INFO: ==19336== Lock acquired, processing the job... [2025-03-20 17:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:32:04] Production.INFO: ==19324== Lock acquired, processing the job... [2025-03-20 17:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:32:04] Production.INFO: ==19326== Lock acquired, processing the job... [2025-03-20 17:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17: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-03-20 17:32:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:32:04] Production.INFO: count ==12 [2025-03-20 17:32:04] Production.INFO: ==19332== Lock acquired, processing the job... [2025-03-20 17:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:32:04] Production.INFO: ==19334== Lock acquired, processing the job... [2025-03-20 17:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17: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-03-20 17:32:04] Production.INFO: count ==23 [2025-03-20 17:32:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:32:04] Production.INFO: Account Balance Start. [2025-03-20 17:32:04] Production.INFO: CreateAllLog Start [2025-03-20 17:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724387') start [2025-03-20 17:32:04] Production.INFO: 117 [2025-03-20 17:32:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724387') end [2025-03-20 17:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:32:04] Production.INFO: 1 [2025-03-20 17:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:04] Production.INFO: ==19336== Releasing lock... [2025-03-20 17:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:32:04] Production.INFO: ==19326== Releasing lock... [2025-03-20 17:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:05] Production.ERROR: done [2025-03-20 17:32:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:32:05] Production.INFO: Date 2025-03-15 [2025-03-20 17:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:05] Production.ERROR: done [2025-03-20 17:32:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:32:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:32:05] Production.INFO: Total Charge 0 [2025-03-20 17:32:05] Production.INFO: CreateAllLog End [2025-03-20 17:32:05] Production.INFO: Account Balance End. [2025-03-20 17:32:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:32:05] Production.INFO: ==19332== Releasing lock... [2025-03-20 17:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:32:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:32:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:32:06 [end_date_ymd] => 2025-03-20 17:32:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:32:06' and `end` < '2025-03-20 17: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-03-20 17:32:13] Production.ERROR: CronJobId end10 [2025-03-20 17:32:13] Production.INFO: ==19329== Releasing lock... [2025-03-20 17:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:32:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:32:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:32:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:32:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:32:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:32:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:32:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:32:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:32:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:32:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:32:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:32:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:32:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:32:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:32:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:32:15] Production.INFO: call_cost start [2025-03-20 17:32:15] Production.INFO: call_cost end [2025-03-20 17:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:32:16] Production.INFO: ==19324== Releasing lock... [2025-03-20 17:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:32:19] Production.INFO: count ==5631 [2025-03-20 17:32:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:32:06 - End Time 2025-03-20 17:32:06 [2025-03-20 17:32:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724391', 'tblTempUsageDetail_20' ) start [2025-03-20 17:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724391', 'tblTempUsageDetail_20' ) end [2025-03-20 17:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724391', 'tblTempVendorCDR_20' ) start [2025-03-20 17:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724391', 'tblTempVendorCDR_20' ) end [2025-03-20 17:32:21] Production.INFO: ProcessCDR(1,14724391,1,1,2) [2025-03-20 17:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:32:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:32:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:32:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:32:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724391', 'tblTempUsageDetail_20' ) start [2025-03-20 17:32:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724391', 'tblTempUsageDetail_20' ) end [2025-03-20 17:32:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:32:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:32:27] Production.INFO: ==19334== Releasing lock... [2025-03-20 17:32:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:32:27] Production.INFO: 70.25 MB #Memory Used# [2025-03-20 21:33:01] Production.INFO: ==19396== Lock acquired, processing the job... [2025-03-20 21:33:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:33:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:33:01] Production.INFO: neon service started [2025-03-20 21:33:01] Production.INFO: neon service started [2025-03-20 21:33:01] Production.INFO: ==19396== Releasing lock... [2025-03-20 21:33:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:33:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:33:01] Production.INFO: ==19401== Lock acquired, processing the job... [2025-03-20 21:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:33:02] Production.INFO: ==19401== Releasing lock... [2025-03-20 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:33:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:33:02] Production.INFO: ==19399== Lock acquired, processing the job... [2025-03-20 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:33:02] Production.INFO: ==19399== Releasing lock... [2025-03-20 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:33:03] Production.INFO: ==19403== Lock acquired, processing the job... [2025-03-20 17:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:33:03] Production.INFO: ==19407== Lock acquired, processing the job... [2025-03-20 17:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:33:03] Production.INFO: ==19405== Lock acquired, processing the job... [2025-03-20 17:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:33:03] Production.INFO: ==19412== Lock acquired, processing the job... [2025-03-20 17:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:33:03] Production.INFO: ==19409== Lock acquired, processing the job... [2025-03-20 17:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:33:03] Production.INFO: ==19415== Lock acquired, processing the job... [2025-03-20 17:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:33:03] Production.ERROR: done [2025-03-20 17:33:03] Production.INFO: Account Balance Start. [2025-03-20 17:33:03] Production.INFO: CreateAllLog Start [2025-03-20 17:33:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:33:03] Production.INFO: ==19405== Releasing lock... [2025-03-20 17:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:33:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:33:03] Production.INFO: 117 [2025-03-20 17: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-03-20 17:33:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:33:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:03] Production.INFO: count ==12 [2025-03-20 17:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:33:04] Production.INFO: count ==23 [2025-03-20 17:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724395') start [2025-03-20 17:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:04] Production.ERROR: done [2025-03-20 17:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724395') end [2025-03-20 17:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:33:04] Production.INFO: 1 [2025-03-20 17:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:33:04] Production.INFO: ==19415== Releasing lock... [2025-03-20 17:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:33:04] Production.INFO: Total Charge 0 [2025-03-20 17:33:04] Production.INFO: CreateAllLog End [2025-03-20 17:33:04] Production.INFO: Account Balance End. [2025-03-20 17:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:33:04] Production.INFO: ==19409== Releasing lock... [2025-03-20 17:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:33:05 [end_date_ymd] => 2025-03-20 17:33:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:33:05' and `end` < '2025-03-20 17: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-03-20 17:33:13] Production.ERROR: CronJobId end10 [2025-03-20 17:33:13] Production.INFO: ==19407== Releasing lock... [2025-03-20 17:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:33:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:33:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:33:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:33:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:33:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:33:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:33:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:33:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:33:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:33:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:33:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:33:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:33:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:33:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:33:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:33:15] Production.INFO: call_cost start [2025-03-20 17:33:15] Production.INFO: call_cost end [2025-03-20 17:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:33:16] Production.INFO: ==19403== Releasing lock... [2025-03-20 17:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:33:18] Production.INFO: count ==5616 [2025-03-20 17:33:20] Production.ERROR: pbx CDR StartTime 2025-03-20 14:33:05 - End Time 2025-03-20 17:33:05 [2025-03-20 17:33:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724396', 'tblTempUsageDetail_20' ) start [2025-03-20 17:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724396', 'tblTempUsageDetail_20' ) end [2025-03-20 17:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724396', 'tblTempVendorCDR_20' ) start [2025-03-20 17:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724396', 'tblTempVendorCDR_20' ) end [2025-03-20 17:33:20] Production.INFO: ProcessCDR(1,14724396,1,1,2) [2025-03-20 17:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:33:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:33:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:33:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724396', 'tblTempUsageDetail_20' ) start [2025-03-20 17:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724396', 'tblTempUsageDetail_20' ) end [2025-03-20 17:33:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:33:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:33:25] Production.INFO: ==19412== Releasing lock... [2025-03-20 17:33:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:33:25] Production.INFO: 70 MB #Memory Used# [2025-03-20 21:34:02] Production.INFO: ==19495== Lock acquired, processing the job... [2025-03-20 21:34:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:34:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:34:02] Production.INFO: neon service started [2025-03-20 21:34:02] Production.INFO: neon service started [2025-03-20 21:34:02] Production.INFO: ==19495== Releasing lock... [2025-03-20 21:34:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:34:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:34:02] Production.INFO: ==19497== Lock acquired, processing the job... [2025-03-20 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:34:02] Production.INFO: ==19497== Releasing lock... [2025-03-20 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:34:03] Production.INFO: ==19499== Lock acquired, processing the job... [2025-03-20 21:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:34:03] Production.INFO: ==19499== Releasing lock... [2025-03-20 21:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:34:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:34:03] Production.INFO: ==19507== Lock acquired, processing the job... [2025-03-20 17:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:34:03] Production.INFO: ==19503== Lock acquired, processing the job... [2025-03-20 17:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:34:03] Production.INFO: Account Balance Start. [2025-03-20 17:34:03] Production.INFO: CreateAllLog Start [2025-03-20 17:34:03] Production.INFO: 117 [2025-03-20 17:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:34:03] Production.INFO: ==19501== Lock acquired, processing the job... [2025-03-20 17:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.INFO: ==19505== Lock acquired, processing the job... [2025-03-20 17:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:34:04] Production.INFO: ==19512== Lock acquired, processing the job... [2025-03-20 17:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.INFO: ==19509== Lock acquired, processing the job... [2025-03-20 17:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.INFO: ==19503== Releasing lock... [2025-03-20 17:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:34:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17: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-03-20 17:34:04] Production.INFO: count ==12 [2025-03-20 17:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 17: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-03-20 17:34:04] Production.INFO: count ==23 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724400') start [2025-03-20 17:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.ERROR: done [2025-03-20 17:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724400') end [2025-03-20 17:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:34:04] Production.INFO: 1 [2025-03-20 17:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:34:04] Production.INFO: Total Charge 0 [2025-03-20 17:34:04] Production.INFO: CreateAllLog End [2025-03-20 17:34:04] Production.INFO: ==19512== Releasing lock... [2025-03-20 17:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:34:04] Production.ERROR: done [2025-03-20 17:34:05] Production.INFO: Account Balance End. [2025-03-20 17:34:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:34:05] Production.INFO: ==19507== Releasing lock... [2025-03-20 17:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:34:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:34:05 [end_date_ymd] => 2025-03-20 17:34:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:34:05' and `end` < '2025-03-20 17: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-03-20 17:34:14] Production.ERROR: CronJobId end10 [2025-03-20 17:34:14] Production.INFO: ==19505== Releasing lock... [2025-03-20 17:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:34:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:34:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:34:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:34:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:34:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:34:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:34:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:34:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:34:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:34:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:34:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:34:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:34:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:34:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:34:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:34:15] Production.INFO: call_cost start [2025-03-20 17:34:15] Production.INFO: call_cost end [2025-03-20 17:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:34:16] Production.INFO: ==19501== Releasing lock... [2025-03-20 17:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:34:19] Production.INFO: count ==5627 [2025-03-20 17:34:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:34:05 - End Time 2025-03-20 17:34:05 [2025-03-20 17:34:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724401', 'tblTempUsageDetail_20' ) start [2025-03-20 17:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724401', 'tblTempUsageDetail_20' ) end [2025-03-20 17:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724401', 'tblTempVendorCDR_20' ) start [2025-03-20 17:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724401', 'tblTempVendorCDR_20' ) end [2025-03-20 17:34:21] Production.INFO: ProcessCDR(1,14724401,1,1,2) [2025-03-20 17:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:34:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:34:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:34:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724401', 'tblTempUsageDetail_20' ) start [2025-03-20 17:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724401', 'tblTempUsageDetail_20' ) end [2025-03-20 17:34:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:34:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:34:26] Production.INFO: ==19509== Releasing lock... [2025-03-20 17:34:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:34:26] Production.INFO: 70 MB #Memory Used# [2025-03-20 21:35:01] Production.INFO: ==19582== Lock acquired, processing the job... [2025-03-20 21:35:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:35:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:35:01] Production.INFO: neon service started [2025-03-20 21:35:01] Production.INFO: neon service started [2025-03-20 21:35:01] Production.INFO: ==19582== Releasing lock... [2025-03-20 21:35:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:35:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:35:01] Production.INFO: ==19584== Lock acquired, processing the job... [2025-03-20 17:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:35:02] Production.INFO: ==19586== Lock acquired, processing the job... [2025-03-20 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:35:02] Production.INFO: ==19586== Releasing lock... [2025-03-20 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:35:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:35:02] Production.INFO: ==19584== Releasing lock... [2025-03-20 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:35:03] Production.INFO: ==19588== Lock acquired, processing the job... [2025-03-20 17:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:35:03] Production.INFO: ==19594== Lock acquired, processing the job... [2025-03-20 17:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:35:03] Production.INFO: ==19597== Lock acquired, processing the job... [2025-03-20 17:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:35:03] Production.INFO: Account Balance Start. [2025-03-20 17:35:03] Production.INFO: CreateAllLog Start [2025-03-20 17:35:03] Production.INFO: 117 [2025-03-20 17:35:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:35:03] Production.INFO: ==19590== Lock acquired, processing the job... [2025-03-20 17:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:35:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.INFO: ==19592== Lock acquired, processing the job... [2025-03-20 17:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:35:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.INFO: Date 2025-03-14 [2025-03-20 17:35:03] Production.INFO: ==19599== Lock acquired, processing the job... [2025-03-20 17:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:35:03] Production.INFO: Date 2025-03-15 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.INFO: Date 2025-03-16 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.ERROR: done [2025-03-20 17:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:35:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:35:03] Production.INFO: Date 2025-03-17 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:35:03] Production.INFO: Date 2025-03-18 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:35:03] Production.INFO: count ==23 [2025-03-20 17:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724405') start [2025-03-20 17:35:03] Production.INFO: Date 2025-03-19 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.INFO: ==19590== Releasing lock... [2025-03-20 17:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:35:03] Production.INFO: Date 2025-03-20 [2025-03-20 17:35:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:35:03] Production.ERROR: done [2025-03-20 17:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724405') end [2025-03-20 17:35:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:35:03] Production.INFO: 1 [2025-03-20 17:35:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:35:04] Production.INFO: Total Charge 0 [2025-03-20 17:35:04] Production.INFO: CreateAllLog End [2025-03-20 17:35:04] Production.INFO: ==19599== Releasing lock... [2025-03-20 17:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:35:04] Production.INFO: Account Balance End. [2025-03-20 17:35:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:35:04] Production.INFO: ==19594== Releasing lock... [2025-03-20 17:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:35:05 [end_date_ymd] => 2025-03-20 17:35:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:35:05' and `end` < '2025-03-20 17: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-03-20 17:35:13] Production.ERROR: CronJobId end10 [2025-03-20 17:35:13] Production.INFO: ==19592== Releasing lock... [2025-03-20 17:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:35:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:35:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:35:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:35:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:35:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:35:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:35:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:35:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:35:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:35:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:35:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:35:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:35:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:35:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:35:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:35:14] Production.INFO: call_cost start [2025-03-20 17:35:14] Production.INFO: call_cost end [2025-03-20 17:35:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:35:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:35:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:35:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:35:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:35:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:35:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:35:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:35:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:35:15] Production.INFO: ==19588== Releasing lock... [2025-03-20 17:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:35:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:35:18] Production.INFO: count ==5602 [2025-03-20 17:35:20] Production.ERROR: pbx CDR StartTime 2025-03-20 14:35:05 - End Time 2025-03-20 17:35:05 [2025-03-20 17:35:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724406', 'tblTempUsageDetail_20' ) start [2025-03-20 17:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724406', 'tblTempUsageDetail_20' ) end [2025-03-20 17:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724406', 'tblTempVendorCDR_20' ) start [2025-03-20 17:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724406', 'tblTempVendorCDR_20' ) end [2025-03-20 17:35:20] Production.INFO: ProcessCDR(1,14724406,1,1,2) [2025-03-20 17:35:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:35:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:35:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:35:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:35:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724406', 'tblTempUsageDetail_20' ) start [2025-03-20 17:35:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724406', 'tblTempUsageDetail_20' ) end [2025-03-20 17:35:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:35:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:35:25] Production.INFO: ==19597== Releasing lock... [2025-03-20 17:35:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:35:25] Production.INFO: 70 MB #Memory Used# [2025-03-20 21:36:02] Production.INFO: ==19664== Lock acquired, processing the job... [2025-03-20 21:36:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:36:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:36:02] Production.INFO: neon service started [2025-03-20 21:36:02] Production.INFO: neon service started [2025-03-20 21:36:02] Production.INFO: ==19664== Releasing lock... [2025-03-20 21:36:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:36:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:36:02] Production.INFO: ==19669== Lock acquired, processing the job... [2025-03-20 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:36:02] Production.INFO: ==19669== Releasing lock... [2025-03-20 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:36:02] Production.INFO: ==19667== Lock acquired, processing the job... [2025-03-20 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:36:02] Production.INFO: ==19667== Releasing lock... [2025-03-20 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:36:03] Production.INFO: ==19681== Lock acquired, processing the job... [2025-03-20 17:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:36:03] Production.INFO: ==19679== Lock acquired, processing the job... [2025-03-20 17:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17: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-03-20 17:36:04] Production.INFO: count ==12 [2025-03-20 17:36:04] Production.INFO: ==19671== Lock acquired, processing the job... [2025-03-20 17:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17: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-03-20 17:36:04] Production.INFO: count ==23 [2025-03-20 17:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724407') start [2025-03-20 17:36:04] Production.INFO: ==19673== Lock acquired, processing the job... [2025-03-20 17:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:36:04] Production.INFO: ==19675== Lock acquired, processing the job... [2025-03-20 17:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:36:04] Production.INFO: ==19677== Lock acquired, processing the job... [2025-03-20 17:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:36:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724407') end [2025-03-20 17:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:36:04] Production.INFO: 1 [2025-03-20 17:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:36:04] Production.ERROR: done [2025-03-20 17:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:36:04] Production.INFO: ==19681== Releasing lock... [2025-03-20 17:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:36:04] Production.INFO: Account Balance Start. [2025-03-20 17:36:04] Production.INFO: CreateAllLog Start [2025-03-20 17:36:04] Production.INFO: 117 [2025-03-20 17:36:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:04] Production.INFO: ==19673== Releasing lock... [2025-03-20 17:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:36:04] Production.ERROR: done [2025-03-20 17:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:36:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:36:05] Production.INFO: Total Charge 0 [2025-03-20 17:36:05] Production.INFO: CreateAllLog End [2025-03-20 17:36:05] Production.INFO: Account Balance End. [2025-03-20 17:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:36:05] Production.INFO: ==19677== Releasing lock... [2025-03-20 17:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:36:05 [end_date_ymd] => 2025-03-20 17:36:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:36:05' and `end` < '2025-03-20 17: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-03-20 17:36:13] Production.ERROR: CronJobId end10 [2025-03-20 17:36:13] Production.INFO: ==19675== Releasing lock... [2025-03-20 17:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:36:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:36:14] Production.INFO: call_cost start [2025-03-20 17:36:14] Production.INFO: call_cost end [2025-03-20 17:36:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:36:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:36:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:36:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:36:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:36:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:36:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:36:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:36:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:36:15] Production.INFO: ==19671== Releasing lock... [2025-03-20 17:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:36:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:36:18] Production.INFO: count ==5602 [2025-03-20 17:36:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:36:05 - End Time 2025-03-20 17:36:05 [2025-03-20 17:36:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724411', 'tblTempUsageDetail_20' ) start [2025-03-20 17:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724411', 'tblTempUsageDetail_20' ) end [2025-03-20 17:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724411', 'tblTempVendorCDR_20' ) start [2025-03-20 17:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724411', 'tblTempVendorCDR_20' ) end [2025-03-20 17:36:21] Production.INFO: ProcessCDR(1,14724411,1,1,2) [2025-03-20 17:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:36:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:36:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:36:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724411', 'tblTempUsageDetail_20' ) start [2025-03-20 17:36:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724411', 'tblTempUsageDetail_20' ) end [2025-03-20 17:36:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:36:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:36:26] Production.INFO: ==19679== Releasing lock... [2025-03-20 17:36:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:36:26] Production.INFO: 70 MB #Memory Used# [2025-03-20 21:37:01] Production.INFO: ==19753== Lock acquired, processing the job... [2025-03-20 21:37:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:37:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:37:01] Production.INFO: neon service started [2025-03-20 21:37:01] Production.INFO: neon service started [2025-03-20 21:37:01] Production.INFO: ==19753== Releasing lock... [2025-03-20 21:37:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:37:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:37:01] Production.INFO: ==19755== Lock acquired, processing the job... [2025-03-20 17:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:37:02] Production.INFO: ==19755== Releasing lock... [2025-03-20 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:37:02] Production.INFO: ==19757== Lock acquired, processing the job... [2025-03-20 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:37:02] Production.INFO: ==19757== Releasing lock... [2025-03-20 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:37:03] Production.INFO: ==19759== Lock acquired, processing the job... [2025-03-20 17:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:37:03] Production.INFO: ==19761== Lock acquired, processing the job... [2025-03-20 17:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:37:03] Production.INFO: ==19765== Lock acquired, processing the job... [2025-03-20 17:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:37:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:37:03] Production.INFO: ==19763== Lock acquired, processing the job... [2025-03-20 17:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:37:03] Production.INFO: Account Balance Start. [2025-03-20 17:37:03] Production.INFO: CreateAllLog Start [2025-03-20 17:37:03] Production.INFO: 117 [2025-03-20 17:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:37:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:37:03] Production.INFO: ==19769== Lock acquired, processing the job... [2025-03-20 17:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:37:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:37:03] Production.INFO: ==19767== Lock acquired, processing the job... [2025-03-20 17:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:37:03] Production.INFO: ==19761== Releasing lock... [2025-03-20 17:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:37:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:37:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:37:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:37:03] Production.INFO: Date 2025-03-14 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:37:03] Production.INFO: Date 2025-03-15 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:37:03] Production.INFO: count ==12 [2025-03-20 17:37:03] Production.INFO: Date 2025-03-16 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:37:03] Production.INFO: count ==23 [2025-03-20 17:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724415') start [2025-03-20 17:37:03] Production.INFO: Date 2025-03-17 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:37:03] Production.INFO: Date 2025-03-18 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:37:03] Production.INFO: Date 2025-03-19 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724415') end [2025-03-20 17:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:37:03] Production.INFO: 1 [2025-03-20 17:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:37:03] Production.INFO: ==19769== Releasing lock... [2025-03-20 17:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:37:03] Production.INFO: Date 2025-03-20 [2025-03-20 17:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:37:03] Production.INFO: Total Charge 0 [2025-03-20 17:37:03] Production.INFO: CreateAllLog End [2025-03-20 17:37:04] Production.ERROR: done [2025-03-20 17:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:37:04] Production.INFO: Account Balance End. [2025-03-20 17:37:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:37:04] Production.INFO: ==19765== Releasing lock... [2025-03-20 17:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:37:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:37:04] Production.ERROR: done [2025-03-20 17:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:37:05 [end_date_ymd] => 2025-03-20 17:37:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:37:05' and `end` < '2025-03-20 17: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-03-20 17:37:13] Production.ERROR: CronJobId end10 [2025-03-20 17:37:13] Production.INFO: ==19763== Releasing lock... [2025-03-20 17:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:37:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:37:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:37:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:37:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:37:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:37:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:37:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:37:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:37:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:37:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:37:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:37:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:37:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:37:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:37:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:37:14] Production.INFO: call_cost start [2025-03-20 17:37:14] Production.INFO: call_cost end [2025-03-20 17:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:37:15] Production.INFO: ==19759== Releasing lock... [2025-03-20 17:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:37:18] Production.INFO: count ==5600 [2025-03-20 17:37:20] Production.ERROR: pbx CDR StartTime 2025-03-20 14:37:05 - End Time 2025-03-20 17:37:05 [2025-03-20 17:37:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724416', 'tblTempUsageDetail_20' ) start [2025-03-20 17:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724416', 'tblTempUsageDetail_20' ) end [2025-03-20 17:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724416', 'tblTempVendorCDR_20' ) start [2025-03-20 17:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724416', 'tblTempVendorCDR_20' ) end [2025-03-20 17:37:20] Production.INFO: ProcessCDR(1,14724416,1,1,2) [2025-03-20 17:37:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:37:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724416', 'tblTempUsageDetail_20' ) start [2025-03-20 17:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724416', 'tblTempUsageDetail_20' ) end [2025-03-20 17:37:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:37:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:37:26] Production.INFO: ==19767== Releasing lock... [2025-03-20 17:37:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:37:26] Production.INFO: 70 MB #Memory Used# [2025-03-20 21:38:02] Production.INFO: ==19835== Lock acquired, processing the job... [2025-03-20 21:38:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:38:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:38:02] Production.INFO: neon service started [2025-03-20 21:38:02] Production.INFO: neon service started [2025-03-20 21:38:02] Production.INFO: ==19835== Releasing lock... [2025-03-20 21:38:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:38:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:38:02] Production.INFO: ==19838== Lock acquired, processing the job... [2025-03-20 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:38:02] Production.INFO: ==19838== Releasing lock... [2025-03-20 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:38:02] Production.INFO: ==19840== Lock acquired, processing the job... [2025-03-20 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:38:02] Production.INFO: ==19840== Releasing lock... [2025-03-20 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:38:03] Production.INFO: ==19842== Lock acquired, processing the job... [2025-03-20 17:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:38:03] Production.INFO: ==19848== Lock acquired, processing the job... [2025-03-20 17:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:38:03] Production.INFO: Account Balance Start. [2025-03-20 17:38:03] Production.INFO: CreateAllLog Start [2025-03-20 17:38:03] Production.INFO: 117 [2025-03-20 17:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:38:03] Production.INFO: ==19844== Lock acquired, processing the job... [2025-03-20 17:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:38:03] Production.INFO: ==19846== Lock acquired, processing the job... [2025-03-20 17:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:38:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:38:03] Production.INFO: ==19850== Lock acquired, processing the job... [2025-03-20 17:38:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:38:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:38:04] Production.INFO: ==19852== Lock acquired, processing the job... [2025-03-20 17:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:38:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:38:04] Production.INFO: count ==12 [2025-03-20 17:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:38:04] Production.INFO: count ==23 [2025-03-20 17:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724420') start [2025-03-20 17:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:38:04] Production.INFO: ==19844== Releasing lock... [2025-03-20 17:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724420') end [2025-03-20 17:38:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:38:04] Production.INFO: 1 [2025-03-20 17:38:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:38:04] Production.INFO: Total Charge 0 [2025-03-20 17:38:04] Production.INFO: CreateAllLog End [2025-03-20 17:38:04] Production.INFO: ==19852== Releasing lock... [2025-03-20 17:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:38:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:38:04] Production.ERROR: done [2025-03-20 17:38:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:38:04] Production.INFO: Account Balance End. [2025-03-20 17:38:04] Production.ERROR: done [2025-03-20 17:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:38:04] Production.INFO: ==19848== Releasing lock... [2025-03-20 17:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:38:05 [end_date_ymd] => 2025-03-20 17:38:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:38:05' and `end` < '2025-03-20 17: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-03-20 17:38:14] Production.ERROR: CronJobId end10 [2025-03-20 17:38:14] Production.INFO: ==19846== Releasing lock... [2025-03-20 17:38:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:38:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:38:15] Production.INFO: call_cost start [2025-03-20 17:38:15] Production.INFO: call_cost end [2025-03-20 17:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:38:16] Production.INFO: ==19842== Releasing lock... [2025-03-20 17:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:38:19] Production.INFO: count ==5606 [2025-03-20 17:38:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:38:05 - End Time 2025-03-20 17:38:05 [2025-03-20 17:38:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724421', 'tblTempUsageDetail_20' ) start [2025-03-20 17:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724421', 'tblTempUsageDetail_20' ) end [2025-03-20 17:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724421', 'tblTempVendorCDR_20' ) start [2025-03-20 17:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724421', 'tblTempVendorCDR_20' ) end [2025-03-20 17:38:21] Production.INFO: ProcessCDR(1,14724421,1,1,2) [2025-03-20 17:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724421', 'tblTempUsageDetail_20' ) start [2025-03-20 17:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724421', 'tblTempUsageDetail_20' ) end [2025-03-20 17:38:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:38:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:38:26] Production.INFO: ==19850== Releasing lock... [2025-03-20 17:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:38:26] Production.INFO: 70 MB #Memory Used# [2025-03-20 21:39:01] Production.INFO: ==19924== Lock acquired, processing the job... [2025-03-20 21:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:39:01] Production.INFO: neon service started [2025-03-20 21:39:01] Production.INFO: neon service started [2025-03-20 21:39:01] Production.INFO: ==19924== Releasing lock... [2025-03-20 21:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:39:01] Production.INFO: ==19926== Lock acquired, processing the job... [2025-03-20 17:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:39:02] Production.INFO: ==19926== Releasing lock... [2025-03-20 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:39:02] Production.INFO: ==19928== Lock acquired, processing the job... [2025-03-20 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:39:02] Production.INFO: ==19928== Releasing lock... [2025-03-20 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:39:03] Production.INFO: ==19936== Lock acquired, processing the job... [2025-03-20 17:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:39:03] Production.INFO: ==19930== Lock acquired, processing the job... [2025-03-20 17:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:39:03] Production.INFO: ==19940== Lock acquired, processing the job... [2025-03-20 17:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:39:03] Production.INFO: ==19932== Lock acquired, processing the job... [2025-03-20 17:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:39:03] Production.INFO: Account Balance Start. [2025-03-20 17:39:03] Production.INFO: CreateAllLog Start [2025-03-20 17:39:03] Production.INFO: ==19934== Lock acquired, processing the job... [2025-03-20 17:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:39:03] Production.INFO: 117 [2025-03-20 17:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:39:03] Production.INFO: ==19938== Lock acquired, processing the job... [2025-03-20 17:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:39:03] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:39:03] Production.INFO: count ==23 [2025-03-20 17:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724423') start [2025-03-20 17:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724423') end [2025-03-20 17:39:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:39:03] Production.INFO: 1 [2025-03-20 17:39:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:39:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:03] Production.INFO: ==19940== Releasing lock... [2025-03-20 17:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:39:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:39:03] Production.INFO: ==19932== Releasing lock... [2025-03-20 17:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:39:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:39:03] Production.ERROR: done [2025-03-20 17:39:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:39:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:04] Production.ERROR: done [2025-03-20 17:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:39:04] Production.INFO: Total Charge 0 [2025-03-20 17:39:04] Production.INFO: CreateAllLog End [2025-03-20 17:39:04] Production.INFO: Account Balance End. [2025-03-20 17:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:39:04] Production.INFO: ==19936== Releasing lock... [2025-03-20 17:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:39:05 [end_date_ymd] => 2025-03-20 17:39:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:39:05' and `end` < '2025-03-20 17: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-03-20 17:39:13] Production.ERROR: CronJobId end10 [2025-03-20 17:39:13] Production.INFO: ==19934== Releasing lock... [2025-03-20 17:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:39:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:39:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:39:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:39:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:39:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:39:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:39:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:39:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:39:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:39:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:39:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:39:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:39:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:39:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:39:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:39:15] Production.INFO: call_cost start [2025-03-20 17:39:15] Production.INFO: call_cost end [2025-03-20 17:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:39:16] Production.INFO: ==19930== Releasing lock... [2025-03-20 17:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:39:18] Production.INFO: count ==5601 [2025-03-20 17:39:20] Production.ERROR: pbx CDR StartTime 2025-03-20 14:39:05 - End Time 2025-03-20 17:39:05 [2025-03-20 17:39:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724426', 'tblTempUsageDetail_20' ) start [2025-03-20 17:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724426', 'tblTempUsageDetail_20' ) end [2025-03-20 17:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724426', 'tblTempVendorCDR_20' ) start [2025-03-20 17:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724426', 'tblTempVendorCDR_20' ) end [2025-03-20 17:39:20] Production.INFO: ProcessCDR(1,14724426,1,1,2) [2025-03-20 17:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724426', 'tblTempUsageDetail_20' ) start [2025-03-20 17:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724426', 'tblTempUsageDetail_20' ) end [2025-03-20 17:39:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:39:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:39:25] Production.INFO: ==19938== Releasing lock... [2025-03-20 17:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:39:25] Production.INFO: 70 MB #Memory Used# [2025-03-20 21:40:02] Production.INFO: ==20013== Lock acquired, processing the job... [2025-03-20 21:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:40:02] Production.INFO: neon service started [2025-03-20 21:40:02] Production.INFO: neon service started [2025-03-20 21:40:02] Production.INFO: ==20013== Releasing lock... [2025-03-20 21:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:40:02] Production.INFO: ==20015== Lock acquired, processing the job... [2025-03-20 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:40:02] Production.INFO: ==20017== Lock acquired, processing the job... [2025-03-20 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:40:02] Production.INFO: ==20017== Releasing lock... [2025-03-20 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:40:02] Production.INFO: ==20015== Releasing lock... [2025-03-20 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:40:03] Production.INFO: ==20025== Lock acquired, processing the job... [2025-03-20 17:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:40:03] Production.INFO: ==20027== Lock acquired, processing the job... [2025-03-20 17:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:40:04] Production.INFO: ==20031== Lock acquired, processing the job... [2025-03-20 17:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:40:04] Production.INFO: ==20021== Lock acquired, processing the job... [2025-03-20 17:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 17:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:40:04] Production.INFO: ==20023== Lock acquired, processing the job... [2025-03-20 17:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 17:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 17:40:04] Production.ERROR: CronJob PID - 20025 [2025-03-20 17:40:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 17:40:04] Production.ERROR: CronJob ID - 7 [2025-03-20 17:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 17:40:00 [2025-03-20 17:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 17:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 17:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 17:40:04] Production.ERROR: CronJob PID - 20027 [2025-03-20 17:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 17:40:04] Production.ERROR: CronJob ID - 10 [2025-03-20 17:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 17:40:00 [2025-03-20 17:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 17:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 17:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 17:40:04] Production.ERROR: CronJob PID - 20031 [2025-03-20 17:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 17:40:04] Production.ERROR: CronJob ID - 16 [2025-03-20 17:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 17:40:00 [2025-03-20 17:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 17:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 17:40:04] Production.INFO: ==20036== Lock acquired, processing the job... [2025-03-20 17:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 17:40:04] Production.INFO: ==20021== Releasing lock... [2025-03-20 17:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 17:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 17:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17: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-03-20 17:40:04] Production.INFO: ==20029== Lock acquired, processing the job... [2025-03-20 17:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:40:04] Production.INFO: ==20034== Lock acquired, processing the job... [2025-03-20 17:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 17:40:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:40:04] Production.INFO: count ==23 [2025-03-20 17:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724429') start [2025-03-20 17:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:40:04] Production.INFO: ==20025== Releasing lock... [2025-03-20 17:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:40:04] Production.INFO: Account Balance Start. [2025-03-20 17:40:04] Production.INFO: CreateAllLog Start [2025-03-20 17:40:04] Production.INFO: 117 [2025-03-20 17:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724429') end [2025-03-20 17:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:40:04] Production.INFO: 1 [2025-03-20 17:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:40:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:04] Production.INFO: ==20036== Releasing lock... [2025-03-20 17:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:40:04] Production.ERROR: done [2025-03-20 17:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:40:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:04] Production.ERROR: done [2025-03-20 17:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:04] Production.ERROR: done [2025-03-20 17:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 17:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724432', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 17:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:05] Production.INFO: Date 2025-03-15 [2025-03-20 17:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:40:05] Production.INFO: Total Charge 0 [2025-03-20 17:40:05] Production.INFO: CreateAllLog End [2025-03-20 17:40:05] Production.INFO: Account Balance End. [2025-03-20 17:40:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:40:05] Production.INFO: ==20029== Releasing lock... [2025-03-20 17:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:40:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:40:06 [end_date_ymd] => 2025-03-20 17:40:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:40:06' and `end` < '2025-03-20 17: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-03-20 17:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724432', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 17:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 17:40:09] Production.INFO: ProcessCDR(1,14724432,1,1,2) [2025-03-20 17:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724432,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724432,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:40:09] Production.INFO: ==20034== Releasing lock... [2025-03-20 17:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 17:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 17:40:15] Production.ERROR: CronJobId end10 [2025-03-20 17:40:15] Production.INFO: ==20027== Releasing lock... [2025-03-20 17:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:40:16] Production.INFO: call_cost start [2025-03-20 17:40:16] Production.INFO: call_cost end [2025-03-20 17:40:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:40:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:40:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:40:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:40:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:40:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:40:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:40:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:40:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:40:17] Production.INFO: ==20023== Releasing lock... [2025-03-20 17:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:40:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:40:19] Production.INFO: count ==5613 [2025-03-20 17:40:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:40:06 - End Time 2025-03-20 17:40:06 [2025-03-20 17:40:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724431', 'tblTempUsageDetail_20' ) start [2025-03-20 17:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724431', 'tblTempUsageDetail_20' ) end [2025-03-20 17:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724431', 'tblTempVendorCDR_20' ) start [2025-03-20 17:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724431', 'tblTempVendorCDR_20' ) end [2025-03-20 17:40:21] Production.INFO: ProcessCDR(1,14724431,1,1,2) [2025-03-20 17:40:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:40:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:40:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:40:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724431', 'tblTempUsageDetail_20' ) start [2025-03-20 17:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724431', 'tblTempUsageDetail_20' ) end [2025-03-20 17:40:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:40:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:40:26] Production.INFO: ==20031== Releasing lock... [2025-03-20 17:40:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:40:26] Production.INFO: 70 MB #Memory Used# [2025-03-20 21:41:01] Production.INFO: ==20103== Lock acquired, processing the job... [2025-03-20 21:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:41:01] Production.INFO: neon service started [2025-03-20 21:41:01] Production.INFO: neon service started [2025-03-20 21:41:01] Production.INFO: ==20103== Releasing lock... [2025-03-20 21:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:41:02] Production.INFO: ==20105== Lock acquired, processing the job... [2025-03-20 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:41:02] Production.INFO: ==20107== Lock acquired, processing the job... [2025-03-20 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:41:02] Production.INFO: ==20107== Releasing lock... [2025-03-20 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:41:02] Production.INFO: ==20105== Releasing lock... [2025-03-20 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:41:03] Production.INFO: ==20112== Lock acquired, processing the job... [2025-03-20 17:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:41:03] Production.INFO: ==20114== Lock acquired, processing the job... [2025-03-20 17:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:41:03] Production.INFO: ==20116== Lock acquired, processing the job... [2025-03-20 17:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:41:03] Production.INFO: ==20110== Lock acquired, processing the job... [2025-03-20 17:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:41:03] Production.INFO: Account Balance Start. [2025-03-20 17:41:03] Production.INFO: CreateAllLog Start [2025-03-20 17:41:03] Production.INFO: 117 [2025-03-20 17:41:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:03] Production.INFO: ==20120== Lock acquired, processing the job... [2025-03-20 17:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:41:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:41:03] Production.INFO: ==20112== Releasing lock... [2025-03-20 17:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:41:03] Production.INFO: ==20118== Lock acquired, processing the job... [2025-03-20 17:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:41:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:03] Production.INFO: Date 2025-03-14 [2025-03-20 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:41:03] Production.INFO: count ==12 [2025-03-20 17:41:03] Production.INFO: Date 2025-03-15 [2025-03-20 17: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-03-20 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:03] Production.INFO: count ==23 [2025-03-20 17:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724436') start [2025-03-20 17:41:03] Production.INFO: Date 2025-03-16 [2025-03-20 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:03] Production.INFO: Date 2025-03-17 [2025-03-20 17:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:03] Production.INFO: Date 2025-03-18 [2025-03-20 17:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724436') end [2025-03-20 17:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:41:04] Production.INFO: 1 [2025-03-20 17:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:41:04] Production.INFO: Total Charge 0 [2025-03-20 17:41:04] Production.INFO: ==20120== Releasing lock... [2025-03-20 17:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:41:04] Production.INFO: CreateAllLog End [2025-03-20 17:41:04] Production.ERROR: done [2025-03-20 17:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:41:04] Production.ERROR: done [2025-03-20 17:41:04] Production.INFO: Account Balance End. [2025-03-20 17:41:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:41:04] Production.INFO: ==20116== Releasing lock... [2025-03-20 17:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:41:05 [end_date_ymd] => 2025-03-20 17:41:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:41:05' and `end` < '2025-03-20 17: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-03-20 17:41:13] Production.ERROR: CronJobId end10 [2025-03-20 17:41:13] Production.INFO: ==20114== Releasing lock... [2025-03-20 17:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:41:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:41:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:41:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:41:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:41:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:41:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:41:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:41:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:41:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:41:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:41:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:41:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:41:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:41:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:41:14] Production.INFO: call_cost start [2025-03-20 17:41:14] Production.INFO: call_cost end [2025-03-20 17:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:41:15] Production.INFO: ==20110== Releasing lock... [2025-03-20 17:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:41:18] Production.INFO: count ==5551 [2025-03-20 17:41:20] Production.ERROR: pbx CDR StartTime 2025-03-20 14:41:05 - End Time 2025-03-20 17:41:05 [2025-03-20 17:41:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724437', 'tblTempUsageDetail_20' ) start [2025-03-20 17:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724437', 'tblTempUsageDetail_20' ) end [2025-03-20 17:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724437', 'tblTempVendorCDR_20' ) start [2025-03-20 17:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724437', 'tblTempVendorCDR_20' ) end [2025-03-20 17:41:21] Production.INFO: ProcessCDR(1,14724437,1,1,2) [2025-03-20 17:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:41:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:41:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:41:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724437', 'tblTempUsageDetail_20' ) start [2025-03-20 17:41:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724437', 'tblTempUsageDetail_20' ) end [2025-03-20 17:41:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:41:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:41:26] Production.INFO: ==20118== Releasing lock... [2025-03-20 17:41:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:41:26] Production.INFO: 69.5 MB #Memory Used# [2025-03-20 21:42:01] Production.INFO: ==20183== Lock acquired, processing the job... [2025-03-20 21:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:42:02] Production.INFO: neon service started [2025-03-20 21:42:02] Production.INFO: neon service started [2025-03-20 21:42:02] Production.INFO: ==20183== Releasing lock... [2025-03-20 21:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:42:02] Production.INFO: ==20185== Lock acquired, processing the job... [2025-03-20 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:42:02] Production.INFO: ==20187== Lock acquired, processing the job... [2025-03-20 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:42:02] Production.INFO: ==20187== Releasing lock... [2025-03-20 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:42:03] Production.INFO: ==20185== Releasing lock... [2025-03-20 17:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:42:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:42:03] Production.INFO: ==20190== Lock acquired, processing the job... [2025-03-20 17:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:42:03] Production.INFO: ==20192== Lock acquired, processing the job... [2025-03-20 17:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:42:03] Production.INFO: ==20194== Lock acquired, processing the job... [2025-03-20 17:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:42:04] Production.INFO: ==20196== Lock acquired, processing the job... [2025-03-20 17:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:42:04] Production.INFO: ==20192== Releasing lock... [2025-03-20 17:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:42:04] Production.INFO: ==20198== Lock acquired, processing the job... [2025-03-20 17:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:42:04] Production.INFO: ==20200== Lock acquired, processing the job... [2025-03-20 17:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:42:04] Production.INFO: Account Balance Start. [2025-03-20 17:42:04] Production.INFO: CreateAllLog Start [2025-03-20 17:42:04] Production.INFO: 117 [2025-03-20 17:42:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:42:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:42:04] Production.INFO: count ==23 [2025-03-20 17:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724441') start [2025-03-20 17:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:04] Production.ERROR: done [2025-03-20 17:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724441') end [2025-03-20 17:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:42:04] Production.INFO: 1 [2025-03-20 17:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:05] Production.INFO: ==20200== Releasing lock... [2025-03-20 17:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:42:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:42:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:05] Production.ERROR: done [2025-03-20 17:42:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:42:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:42:05] Production.INFO: Total Charge 0 [2025-03-20 17:42:05] Production.INFO: CreateAllLog End [2025-03-20 17:42:05] Production.INFO: Account Balance End. [2025-03-20 17:42:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:42:05] Production.INFO: ==20196== Releasing lock... [2025-03-20 17:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:42:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:42:06 [end_date_ymd] => 2025-03-20 17:42:06 [RateCDR] => 1 ) [2025-03-20 17:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 14:42:06' and `end` < '2025-03-20 17:42:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 17:42:14] Production.ERROR: CronJobId end10 [2025-03-20 17:42:14] Production.INFO: ==20194== Releasing lock... [2025-03-20 17:42:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:42:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:42:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:42:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:42:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:42:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:42:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:42:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:42:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:42:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:42:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:42:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:42:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:42:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:42:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:42:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:42:15] Production.INFO: call_cost start [2025-03-20 17:42:15] Production.INFO: call_cost end [2025-03-20 17:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:42:16] Production.INFO: ==20190== Releasing lock... [2025-03-20 17:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:42:19] Production.INFO: count ==5565 [2025-03-20 17:42:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:42:06 - End Time 2025-03-20 17:42:06 [2025-03-20 17:42:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724442', 'tblTempUsageDetail_20' ) start [2025-03-20 17:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724442', 'tblTempUsageDetail_20' ) end [2025-03-20 17:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724442', 'tblTempVendorCDR_20' ) start [2025-03-20 17:42:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724442', 'tblTempVendorCDR_20' ) end [2025-03-20 17:42:22] Production.INFO: ProcessCDR(1,14724442,1,1,2) [2025-03-20 17:42:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:42:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:42:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:42:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724442', 'tblTempUsageDetail_20' ) start [2025-03-20 17:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724442', 'tblTempUsageDetail_20' ) end [2025-03-20 17:42:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:42:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:42:27] Production.INFO: ==20198== Releasing lock... [2025-03-20 17:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:42:27] Production.INFO: 69.75 MB #Memory Used# [2025-03-20 21:43:01] Production.INFO: ==20301== Lock acquired, processing the job... [2025-03-20 21:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:43:01] Production.INFO: neon service started [2025-03-20 21:43:01] Production.INFO: neon service started [2025-03-20 21:43:01] Production.INFO: ==20301== Releasing lock... [2025-03-20 21:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:43:02] Production.INFO: ==20303== Lock acquired, processing the job... [2025-03-20 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:43:02] Production.INFO: ==20305== Lock acquired, processing the job... [2025-03-20 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:43:02] Production.INFO: ==20305== Releasing lock... [2025-03-20 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:43:02] Production.INFO: ==20303== Releasing lock... [2025-03-20 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:43:03] Production.INFO: ==20312== Lock acquired, processing the job... [2025-03-20 17:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:43:03] Production.INFO: ==20314== Lock acquired, processing the job... [2025-03-20 17:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:43:03] Production.INFO: ==20316== Lock acquired, processing the job... [2025-03-20 17:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:43:03] Production.INFO: Account Balance Start. [2025-03-20 17:43:03] Production.INFO: CreateAllLog Start [2025-03-20 17:43:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:43:03] Production.INFO: 117 [2025-03-20 17:43:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.INFO: ==20308== Lock acquired, processing the job... [2025-03-20 17:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:43:03] Production.INFO: ==20310== Lock acquired, processing the job... [2025-03-20 17:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:43:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.INFO: Date 2025-03-14 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:43:03] Production.INFO: Date 2025-03-15 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.INFO: ==20318== Lock acquired, processing the job... [2025-03-20 17:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:43:03] Production.INFO: Date 2025-03-16 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.ERROR: done [2025-03-20 17: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-03-20 17:43:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:43:03] Production.INFO: Date 2025-03-17 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.INFO: count ==12 [2025-03-20 17:43:03] Production.INFO: Date 2025-03-18 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.INFO: Date 2025-03-19 [2025-03-20 17: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-03-20 17:43:03] Production.INFO: count ==23 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724446') start [2025-03-20 17:43:03] Production.ERROR: done [2025-03-20 17:43:03] Production.INFO: Date 2025-03-20 [2025-03-20 17:43:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:43:04] Production.INFO: ==20310== Releasing lock... [2025-03-20 17:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:43:04] Production.INFO: Total Charge 0 [2025-03-20 17:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724446') end [2025-03-20 17:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:43:04] Production.INFO: 1 [2025-03-20 17:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:43:04] Production.INFO: CreateAllLog End [2025-03-20 17:43:04] Production.INFO: ==20318== Releasing lock... [2025-03-20 17:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:43:04] Production.INFO: Account Balance End. [2025-03-20 17:43:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:43:04] Production.INFO: ==20314== Releasing lock... [2025-03-20 17:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:43:05 [end_date_ymd] => 2025-03-20 17:43:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:43:05' and `end` < '2025-03-20 17: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-03-20 17:43:13] Production.ERROR: CronJobId end10 [2025-03-20 17:43:13] Production.INFO: ==20312== Releasing lock... [2025-03-20 17:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:43:15] Production.INFO: call_cost start [2025-03-20 17:43:15] Production.INFO: call_cost end [2025-03-20 17:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:43:16] Production.INFO: ==20308== Releasing lock... [2025-03-20 17:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:43:18] Production.INFO: count ==5560 [2025-03-20 17:43:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:43:05 - End Time 2025-03-20 17:43:05 [2025-03-20 17:43:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724447', 'tblTempUsageDetail_20' ) start [2025-03-20 17:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724447', 'tblTempUsageDetail_20' ) end [2025-03-20 17:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724447', 'tblTempVendorCDR_20' ) start [2025-03-20 17:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724447', 'tblTempVendorCDR_20' ) end [2025-03-20 17:43:21] Production.INFO: ProcessCDR(1,14724447,1,1,2) [2025-03-20 17:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:43:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:43:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:43:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724447', 'tblTempUsageDetail_20' ) start [2025-03-20 17:43:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724447', 'tblTempUsageDetail_20' ) end [2025-03-20 17:43:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:43:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:43:26] Production.INFO: ==20316== Releasing lock... [2025-03-20 17:43:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:43:26] Production.INFO: 69.5 MB #Memory Used# [2025-03-20 21:44:01] Production.INFO: ==20384== Lock acquired, processing the job... [2025-03-20 21:44:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:44:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:44:01] Production.INFO: neon service started [2025-03-20 21:44:01] Production.INFO: neon service started [2025-03-20 21:44:01] Production.INFO: ==20384== Releasing lock... [2025-03-20 21:44:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:44:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:44:02] Production.INFO: ==20386== Lock acquired, processing the job... [2025-03-20 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:44:02] Production.INFO: ==20386== Releasing lock... [2025-03-20 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:44:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:44:02] Production.INFO: ==20388== Lock acquired, processing the job... [2025-03-20 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:44:02] Production.INFO: ==20388== Releasing lock... [2025-03-20 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:44:03] Production.INFO: ==20396== Lock acquired, processing the job... [2025-03-20 17:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:44:03] Production.INFO: ==20400== Lock acquired, processing the job... [2025-03-20 17:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:44:03] Production.INFO: ==20390== Lock acquired, processing the job... [2025-03-20 17:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:44:03] Production.INFO: ==20392== Lock acquired, processing the job... [2025-03-20 17:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:44:03] Production.INFO: Account Balance Start. [2025-03-20 17:44:03] Production.INFO: CreateAllLog Start [2025-03-20 17:44:03] Production.INFO: ==20394== Lock acquired, processing the job... [2025-03-20 17:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:44:03] Production.INFO: 117 [2025-03-20 17:44:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:44:03] Production.INFO: ==20398== Lock acquired, processing the job... [2025-03-20 17:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:44:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:44:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:44:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:44:04] Production.INFO: count ==12 [2025-03-20 17:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17: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-03-20 17:44:04] Production.INFO: count ==23 [2025-03-20 17:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724449') start [2025-03-20 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:04] Production.INFO: ==20392== Releasing lock... [2025-03-20 17:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:44:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724449') end [2025-03-20 17:44:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:44:04] Production.INFO: 1 [2025-03-20 17:44:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:44:04] Production.INFO: Total Charge 0 [2025-03-20 17:44:04] Production.INFO: CreateAllLog End [2025-03-20 17:44:04] Production.INFO: ==20400== Releasing lock... [2025-03-20 17:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:44:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:44:04] Production.ERROR: done [2025-03-20 17:44:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:44:04] Production.INFO: Account Balance End. [2025-03-20 17:44:04] Production.ERROR: done [2025-03-20 17:44:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:44:04] Production.INFO: ==20396== Releasing lock... [2025-03-20 17:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:44:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:44:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:44:05 [end_date_ymd] => 2025-03-20 17:44:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:44:05' and `end` < '2025-03-20 17: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-03-20 17:44:14] Production.ERROR: CronJobId end10 [2025-03-20 17:44:14] Production.INFO: ==20394== Releasing lock... [2025-03-20 17:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:44:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:44:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:44:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:44:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:44:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:44:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:44:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:44:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:44:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:44:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:44:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:44:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:44:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:44:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:44:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:44:15] Production.INFO: call_cost start [2025-03-20 17:44:15] Production.INFO: call_cost end [2025-03-20 17:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:44:16] Production.INFO: ==20390== Releasing lock... [2025-03-20 17:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:44:19] Production.INFO: count ==5557 [2025-03-20 17:44:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:44:05 - End Time 2025-03-20 17:44:05 [2025-03-20 17:44:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724452', 'tblTempUsageDetail_20' ) start [2025-03-20 17:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724452', 'tblTempUsageDetail_20' ) end [2025-03-20 17:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724452', 'tblTempVendorCDR_20' ) start [2025-03-20 17:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724452', 'tblTempVendorCDR_20' ) end [2025-03-20 17:44:21] Production.INFO: ProcessCDR(1,14724452,1,1,2) [2025-03-20 17:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724452', 'tblTempUsageDetail_20' ) start [2025-03-20 17:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724452', 'tblTempUsageDetail_20' ) end [2025-03-20 17:44:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:44:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:44:26] Production.INFO: ==20398== Releasing lock... [2025-03-20 17:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:44:26] Production.INFO: 69.5 MB #Memory Used# [2025-03-20 21:45:02] Production.INFO: ==20472== Lock acquired, processing the job... [2025-03-20 21:45:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:45:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:45:02] Production.INFO: neon service started [2025-03-20 21:45:02] Production.INFO: neon service started [2025-03-20 21:45:02] Production.INFO: ==20472== Releasing lock... [2025-03-20 21:45:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:45:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 21:45:02] Production.INFO: ==20477== Lock acquired, processing the job... [2025-03-20 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:45:02] Production.INFO: ==20477== Releasing lock... [2025-03-20 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:45:02] Production.INFO: ==20475== Lock acquired, processing the job... [2025-03-20 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:45:03] Production.INFO: ==20475== Releasing lock... [2025-03-20 17:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:45:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:45:04] Production.INFO: ==20479== Lock acquired, processing the job... [2025-03-20 17:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:45:04] Production.INFO: ==20481== Lock acquired, processing the job... [2025-03-20 17:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:45:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:45:04] Production.INFO: ==20489== Lock acquired, processing the job... [2025-03-20 17:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17: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-03-20 17:45:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:45:04] Production.INFO: count ==23 [2025-03-20 17:45:04] Production.INFO: ==20481== Releasing lock... [2025-03-20 17:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724455') start [2025-03-20 17:45:04] Production.INFO: ==20483== Lock acquired, processing the job... [2025-03-20 17:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:45:04] Production.INFO: ==20485== Lock acquired, processing the job... [2025-03-20 17:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:45:04] Production.INFO: ==20487== Lock acquired, processing the job... [2025-03-20 17:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724455') end [2025-03-20 17:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:45:04] Production.INFO: 1 [2025-03-20 17:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:45:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:45:04] Production.INFO: Account Balance Start. [2025-03-20 17:45:04] Production.INFO: CreateAllLog Start [2025-03-20 17:45:04] Production.INFO: 117 [2025-03-20 17:45:04] Production.INFO: ==20489== Releasing lock... [2025-03-20 17:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:45:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:05] Production.INFO: Date 2025-03-11 [2025-03-20 17:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:05] Production.ERROR: done [2025-03-20 17:45:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:45:05] Production.INFO: Date 2025-03-12 [2025-03-20 17:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:05] Production.INFO: Date 2025-03-13 [2025-03-20 17:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:05] Production.INFO: Date 2025-03-14 [2025-03-20 17:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:05] Production.INFO: Date 2025-03-15 [2025-03-20 17:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:05] Production.ERROR: done [2025-03-20 17:45:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:45:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:45:05] Production.INFO: Total Charge 0 [2025-03-20 17:45:05] Production.INFO: CreateAllLog End [2025-03-20 17:45:05] Production.INFO: Account Balance End. [2025-03-20 17:45:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:45:05] Production.INFO: ==20485== Releasing lock... [2025-03-20 17:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:45:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:45:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:45:06 [end_date_ymd] => 2025-03-20 17:45:06 [RateCDR] => 1 ) [2025-03-20 17:45:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 14:45:06' and `end` < '2025-03-20 17:45:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 17:45:14] Production.ERROR: CronJobId end10 [2025-03-20 17:45:14] Production.INFO: ==20483== Releasing lock... [2025-03-20 17:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:45:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:45:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:45:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:45:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:45:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:45:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:45:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:45:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:45:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:45:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:45:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:45:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:45:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:45:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:45:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:45:16] Production.INFO: call_cost start [2025-03-20 17:45:16] Production.INFO: call_cost end [2025-03-20 17:45:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:45:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:45:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:45:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:45:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:45:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:45:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:45:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:45:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:45:17] Production.INFO: ==20479== Releasing lock... [2025-03-20 17:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:45:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:45:19] Production.INFO: count ==5545 [2025-03-20 17:45:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:45:06 - End Time 2025-03-20 17:45:06 [2025-03-20 17:45:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724457', 'tblTempUsageDetail_20' ) start [2025-03-20 17:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724457', 'tblTempUsageDetail_20' ) end [2025-03-20 17:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724457', 'tblTempVendorCDR_20' ) start [2025-03-20 17:45:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724457', 'tblTempVendorCDR_20' ) end [2025-03-20 17:45:22] Production.INFO: ProcessCDR(1,14724457,1,1,2) [2025-03-20 17:45:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:45:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:45:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724457', 'tblTempUsageDetail_20' ) start [2025-03-20 17:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724457', 'tblTempUsageDetail_20' ) end [2025-03-20 17:45:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:45:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:45:27] Production.INFO: ==20487== Releasing lock... [2025-03-20 17:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:45:27] Production.INFO: 69.5 MB #Memory Used# [2025-03-20 21:46:01] Production.INFO: ==20560== Lock acquired, processing the job... [2025-03-20 21:46:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:46:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:46:01] Production.INFO: neon service started [2025-03-20 21:46:01] Production.INFO: neon service started [2025-03-20 21:46:01] Production.INFO: ==20560== Releasing lock... [2025-03-20 21:46:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:46:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:46:02] Production.INFO: ==20562== Lock acquired, processing the job... [2025-03-20 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:46:02] Production.INFO: ==20564== Lock acquired, processing the job... [2025-03-20 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:46:02] Production.INFO: ==20564== Releasing lock... [2025-03-20 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:46:02] Production.INFO: ==20562== Releasing lock... [2025-03-20 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:46:03] Production.INFO: ==20572== Lock acquired, processing the job... [2025-03-20 17:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:46:03] Production.INFO: ==20577== Lock acquired, processing the job... [2025-03-20 17:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:46:03] Production.INFO: ==20566== Lock acquired, processing the job... [2025-03-20 17:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:46:03] Production.INFO: Account Balance Start. [2025-03-20 17:46:03] Production.INFO: CreateAllLog Start [2025-03-20 17:46:03] Production.INFO: 117 [2025-03-20 17:46:03] Production.INFO: ==20568== Lock acquired, processing the job... [2025-03-20 17:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:46:03] Production.INFO: Date 2025-03-08 [2025-03-20 17: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-03-20 17:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:03] Production.INFO: count ==12 [2025-03-20 17:46:03] Production.INFO: ==20570== Lock acquired, processing the job... [2025-03-20 17:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17: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-03-20 17:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:46:03] Production.INFO: count ==23 [2025-03-20 17:46:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:46:03] Production.INFO: ==20575== Lock acquired, processing the job... [2025-03-20 17:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724459') start [2025-03-20 17:46:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724459') end [2025-03-20 17:46:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:46:03] Production.INFO: 1 [2025-03-20 17:46:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:46:04] Production.INFO: ==20577== Releasing lock... [2025-03-20 17:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:46:04] Production.INFO: ==20568== Releasing lock... [2025-03-20 17:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:04] Production.ERROR: done [2025-03-20 17:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:04] Production.ERROR: done [2025-03-20 17:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:46:04] Production.INFO: Total Charge 0 [2025-03-20 17:46:04] Production.INFO: CreateAllLog End [2025-03-20 17:46:04] Production.INFO: Account Balance End. [2025-03-20 17:46:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:46:04] Production.INFO: ==20572== Releasing lock... [2025-03-20 17:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:46:05 [end_date_ymd] => 2025-03-20 17:46:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:46:05' and `end` < '2025-03-20 17: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-03-20 17:46:13] Production.ERROR: CronJobId end10 [2025-03-20 17:46:13] Production.INFO: ==20570== Releasing lock... [2025-03-20 17:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:46:15] Production.INFO: call_cost start [2025-03-20 17:46:15] Production.INFO: call_cost end [2025-03-20 17:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:46:16] Production.INFO: ==20566== Releasing lock... [2025-03-20 17:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:46:18] Production.INFO: count ==5547 [2025-03-20 17:46:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:46:05 - End Time 2025-03-20 17:46:05 [2025-03-20 17:46:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724462', 'tblTempUsageDetail_20' ) start [2025-03-20 17:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724462', 'tblTempUsageDetail_20' ) end [2025-03-20 17:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724462', 'tblTempVendorCDR_20' ) start [2025-03-20 17:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724462', 'tblTempVendorCDR_20' ) end [2025-03-20 17:46:21] Production.INFO: ProcessCDR(1,14724462,1,1,2) [2025-03-20 17:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724462', 'tblTempUsageDetail_20' ) start [2025-03-20 17:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724462', 'tblTempUsageDetail_20' ) end [2025-03-20 17:46:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:46:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:46:25] Production.INFO: ==20575== Releasing lock... [2025-03-20 17:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:46:25] Production.INFO: 69.5 MB #Memory Used# [2025-03-20 21:47:02] Production.INFO: ==20649== Lock acquired, processing the job... [2025-03-20 21:47:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:47:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:47:02] Production.INFO: neon service started [2025-03-20 21:47:02] Production.INFO: neon service started [2025-03-20 21:47:02] Production.INFO: ==20649== Releasing lock... [2025-03-20 21:47:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:47:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:47:03] Production.INFO: ==20651== Lock acquired, processing the job... [2025-03-20 17:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:47:03] Production.INFO: ==20653== Lock acquired, processing the job... [2025-03-20 21:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:47:03] Production.INFO: ==20653== Releasing lock... [2025-03-20 21:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:47:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:47:03] Production.INFO: ==20651== Releasing lock... [2025-03-20 17:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:47:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:47:04] Production.INFO: ==20660== Lock acquired, processing the job... [2025-03-20 17:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:47:04] Production.INFO: ==20664== Lock acquired, processing the job... [2025-03-20 17:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:47:04] Production.INFO: ==20658== Lock acquired, processing the job... [2025-03-20 17:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:47:04] Production.INFO: Account Balance Start. [2025-03-20 17:47:04] Production.INFO: CreateAllLog Start [2025-03-20 17:47:04] Production.INFO: 117 [2025-03-20 17:47:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:47:04] Production.INFO: ==20662== Lock acquired, processing the job... [2025-03-20 17:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:47:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:47:05] Production.INFO: ==20660== Releasing lock... [2025-03-20 17:47:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:47:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:47:05] Production.INFO: ==20666== Lock acquired, processing the job... [2025-03-20 17:47:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:47:05] Production.INFO: Date 2025-03-11 [2025-03-20 17:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:05] Production.INFO: ==20668== Lock acquired, processing the job... [2025-03-20 17:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:47:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:47:05] Production.INFO: Date 2025-03-12 [2025-03-20 17:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:47:05] Production.INFO: Date 2025-03-13 [2025-03-20 17:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:05] Production.INFO: Date 2025-03-14 [2025-03-20 17:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:05] Production.INFO: Date 2025-03-15 [2025-03-20 17:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:47: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-03-20 17:47:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:05] Production.INFO: count ==12 [2025-03-20 17:47: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-03-20 17:47:05] Production.INFO: count ==23 [2025-03-20 17:47:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724466') start [2025-03-20 17:47:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:47:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:47:05] Production.INFO: Total Charge 0 [2025-03-20 17:47:05] Production.ERROR: done [2025-03-20 17:47:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:47:05] Production.INFO: CreateAllLog End [2025-03-20 17:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724466') end [2025-03-20 17:47:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:47:05] Production.INFO: 1 [2025-03-20 17:47:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:47:05] Production.INFO: ==20668== Releasing lock... [2025-03-20 17:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:47:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:47:05] Production.ERROR: done [2025-03-20 17:47:06] Production.INFO: Account Balance End. [2025-03-20 17:47:06] Production.ERROR: CronJobId end 12 [2025-03-20 17:47:06] Production.INFO: ==20664== Releasing lock... [2025-03-20 17:47:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:47:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:47:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:47:07 [end_date_ymd] => 2025-03-20 17:47:07 [RateCDR] => 1 ) [2025-03-20 17:47: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-03-20 14:47:07' and `end` < '2025-03-20 17:47: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-03-20 17:47:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:47:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:47:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:47:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:47:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:47:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:47:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:47:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:47:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:47:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:47:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:47:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:47:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:47:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:47:16] Production.ERROR: CronJobId end10 [2025-03-20 17:47:16] Production.INFO: ==20662== Releasing lock... [2025-03-20 17:47:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:47:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:47:16] Production.INFO: call_cost start [2025-03-20 17:47:16] Production.INFO: call_cost end [2025-03-20 17:47:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:47:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:47:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:47:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:47:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:47:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:47:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:47:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:47:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:47:18] Production.INFO: ==20658== Releasing lock... [2025-03-20 17:47:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:47:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:47:20] Production.INFO: count ==5524 [2025-03-20 17:47:23] Production.ERROR: pbx CDR StartTime 2025-03-20 14:47:07 - End Time 2025-03-20 17:47:07 [2025-03-20 17:47:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724467', 'tblTempUsageDetail_20' ) start [2025-03-20 17:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724467', 'tblTempUsageDetail_20' ) end [2025-03-20 17:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724467', 'tblTempVendorCDR_20' ) start [2025-03-20 17:47:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724467', 'tblTempVendorCDR_20' ) end [2025-03-20 17:47:23] Production.INFO: ProcessCDR(1,14724467,1,1,2) [2025-03-20 17:47:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:47:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:47:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:47:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:47:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724467', 'tblTempUsageDetail_20' ) start [2025-03-20 17:47:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724467', 'tblTempUsageDetail_20' ) end [2025-03-20 17:47:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:47:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:47:29] Production.INFO: ==20666== Releasing lock... [2025-03-20 17:47:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:47:29] Production.INFO: 69.25 MB #Memory Used# [2025-03-20 21:48:01] Production.INFO: ==20731== Lock acquired, processing the job... [2025-03-20 21:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:48:01] Production.INFO: neon service started [2025-03-20 21:48:01] Production.INFO: neon service started [2025-03-20 21:48:01] Production.INFO: ==20731== Releasing lock... [2025-03-20 21:48:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:48:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:48:02] Production.INFO: ==20733== Lock acquired, processing the job... [2025-03-20 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:48:02] Production.INFO: ==20735== Lock acquired, processing the job... [2025-03-20 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:48:02] Production.INFO: ==20735== Releasing lock... [2025-03-20 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:48:02] Production.INFO: ==20733== Releasing lock... [2025-03-20 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:48:03] Production.INFO: ==20744== Lock acquired, processing the job... [2025-03-20 17:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:48:03] Production.INFO: ==20748== Lock acquired, processing the job... [2025-03-20 17:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:48:04] Production.INFO: ==20738== Lock acquired, processing the job... [2025-03-20 17:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:48:04] Production.INFO: Account Balance Start. [2025-03-20 17:48:04] Production.INFO: CreateAllLog Start [2025-03-20 17:48:04] Production.INFO: 117 [2025-03-20 17:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:48:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:48:04] Production.INFO: count ==23 [2025-03-20 17:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724469') start [2025-03-20 17:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:48:04] Production.INFO: ==20740== Lock acquired, processing the job... [2025-03-20 17:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.INFO: ==20742== Lock acquired, processing the job... [2025-03-20 17:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724469') end [2025-03-20 17:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:48:04] Production.INFO: 1 [2025-03-20 17:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.INFO: ==20748== Releasing lock... [2025-03-20 17:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:48:04] Production.INFO: ==20746== Lock acquired, processing the job... [2025-03-20 17:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:48:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:48:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:48:04] Production.INFO: ==20740== Releasing lock... [2025-03-20 17:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:48:04] Production.ERROR: done [2025-03-20 17:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:48:04] Production.INFO: Total Charge 0 [2025-03-20 17:48:04] Production.INFO: CreateAllLog End [2025-03-20 17:48:05] Production.ERROR: done [2025-03-20 17:48:05] Production.INFO: Account Balance End. [2025-03-20 17:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:48:05] Production.INFO: ==20744== Releasing lock... [2025-03-20 17:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:48:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:48:06 [end_date_ymd] => 2025-03-20 17:48:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:48:06' and `end` < '2025-03-20 17: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-03-20 17:48:15] Production.ERROR: CronJobId end10 [2025-03-20 17:48:15] Production.INFO: ==20742== Releasing lock... [2025-03-20 17:48:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:48:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:48:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:48:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:48:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:48:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:48:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:48:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:48:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:48:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:48:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:48:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:48:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:48:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:48:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:48:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:48:17] Production.INFO: call_cost start [2025-03-20 17:48:17] Production.INFO: call_cost end [2025-03-20 17:48:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:48:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:48:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:48:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:48:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:48:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:48:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:48:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:48:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:48:18] Production.INFO: ==20738== Releasing lock... [2025-03-20 17:48:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:48:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:48:19] Production.INFO: count ==5475 [2025-03-20 17:48:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:48:06 - End Time 2025-03-20 17:48:06 [2025-03-20 17:48:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724472', 'tblTempUsageDetail_20' ) start [2025-03-20 17:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724472', 'tblTempUsageDetail_20' ) end [2025-03-20 17:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724472', 'tblTempVendorCDR_20' ) start [2025-03-20 17:48:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724472', 'tblTempVendorCDR_20' ) end [2025-03-20 17:48:22] Production.INFO: ProcessCDR(1,14724472,1,1,2) [2025-03-20 17:48:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:48:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:48:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:48:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724472', 'tblTempUsageDetail_20' ) start [2025-03-20 17:48:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724472', 'tblTempUsageDetail_20' ) end [2025-03-20 17:48:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:48:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:48:28] Production.INFO: ==20746== Releasing lock... [2025-03-20 17:48:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:48:28] Production.INFO: 69 MB #Memory Used# [2025-03-20 21:49:02] Production.INFO: ==20816== Lock acquired, processing the job... [2025-03-20 21:49:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:49:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:49:02] Production.INFO: neon service started [2025-03-20 21:49:02] Production.INFO: neon service started [2025-03-20 21:49:02] Production.INFO: ==20816== Releasing lock... [2025-03-20 21:49:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:49:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:49:03] Production.INFO: ==20818== Lock acquired, processing the job... [2025-03-20 17:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:49:03] Production.INFO: ==20820== Lock acquired, processing the job... [2025-03-20 21:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:49:03] Production.INFO: ==20820== Releasing lock... [2025-03-20 21:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:49:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:49:03] Production.INFO: ==20818== Releasing lock... [2025-03-20 17:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:49:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:49:04] Production.INFO: ==20831== Lock acquired, processing the job... [2025-03-20 17:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:49:04] Production.INFO: ==20833== Lock acquired, processing the job... [2025-03-20 17:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:49:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:49:04] Production.INFO: ==20823== Lock acquired, processing the job... [2025-03-20 17:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17: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-03-20 17:49:04] Production.INFO: ==20825== Lock acquired, processing the job... [2025-03-20 17:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:49:04] Production.INFO: ==20827== Lock acquired, processing the job... [2025-03-20 17:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:49:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:49:04] Production.INFO: count ==23 [2025-03-20 17:49:04] Production.INFO: ==20829== Lock acquired, processing the job... [2025-03-20 17:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724473') start [2025-03-20 17:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:49:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724473') end [2025-03-20 17:49:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:49:04] Production.INFO: 1 [2025-03-20 17:49:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:49:04] Production.ERROR: done [2025-03-20 17:49:04] Production.INFO: ==20833== Releasing lock... [2025-03-20 17:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:49:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:49:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:49:04] Production.INFO: Account Balance Start. [2025-03-20 17:49:04] Production.INFO: CreateAllLog Start [2025-03-20 17:49:04] Production.INFO: 117 [2025-03-20 17:49:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: ==20825== Releasing lock... [2025-03-20 17:49:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:49:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:49:05] Production.INFO: Date 2025-03-09 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.ERROR: done [2025-03-20 17:49:05] Production.INFO: Date 2025-03-10 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: Date 2025-03-11 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: Date 2025-03-12 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: Date 2025-03-13 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: Date 2025-03-14 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: Date 2025-03-15 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:49:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:49:05] Production.INFO: Total Charge 0 [2025-03-20 17:49:05] Production.INFO: CreateAllLog End [2025-03-20 17:49:05] Production.INFO: Account Balance End. [2025-03-20 17:49:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:49:05] Production.INFO: ==20829== Releasing lock... [2025-03-20 17:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:49:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:49:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:49:06 [end_date_ymd] => 2025-03-20 17:49:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:49:06' and `end` < '2025-03-20 17: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-03-20 17:49:14] Production.ERROR: CronJobId end10 [2025-03-20 17:49:14] Production.INFO: ==20827== Releasing lock... [2025-03-20 17:49:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:49:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:49:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:49:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:49:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:49:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:49:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:49:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:49:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:49:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:49:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:49:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:49:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:49:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:49:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:49:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:49:17] Production.INFO: call_cost start [2025-03-20 17:49:17] Production.INFO: call_cost end [2025-03-20 17:49:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:49:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:49:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:49:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:49:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:49:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:49:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:49:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:49:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:49:18] Production.INFO: ==20823== Releasing lock... [2025-03-20 17:49:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:49:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:49:20] Production.INFO: count ==5463 [2025-03-20 17:49:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:49:06 - End Time 2025-03-20 17:49:06 [2025-03-20 17:49:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724477', 'tblTempUsageDetail_20' ) start [2025-03-20 17:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724477', 'tblTempUsageDetail_20' ) end [2025-03-20 17:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724477', 'tblTempVendorCDR_20' ) start [2025-03-20 17:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724477', 'tblTempVendorCDR_20' ) end [2025-03-20 17:49:22] Production.INFO: ProcessCDR(1,14724477,1,1,2) [2025-03-20 17:49:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:49:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:49:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:49:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:49:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724477', 'tblTempUsageDetail_20' ) start [2025-03-20 17:49:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724477', 'tblTempUsageDetail_20' ) end [2025-03-20 17:49:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:49:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:49:28] Production.INFO: ==20831== Releasing lock... [2025-03-20 17:49:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:49:28] Production.INFO: 68.75 MB #Memory Used# [2025-03-20 21:50:01] Production.INFO: ==20898== Lock acquired, processing the job... [2025-03-20 21:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:50:01] Production.INFO: neon service started [2025-03-20 21:50:01] Production.INFO: neon service started [2025-03-20 21:50:01] Production.INFO: ==20898== Releasing lock... [2025-03-20 21:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:50:02] Production.INFO: ==20900== Lock acquired, processing the job... [2025-03-20 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:50:02] Production.INFO: ==20902== Lock acquired, processing the job... [2025-03-20 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:50:02] Production.INFO: ==20902== Releasing lock... [2025-03-20 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:50:02] Production.INFO: ==20900== Releasing lock... [2025-03-20 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:50:03] Production.INFO: ==20909== Lock acquired, processing the job... [2025-03-20 17:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:50:03] Production.INFO: ==20905== Lock acquired, processing the job... [2025-03-20 17:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 17:50:04] Production.INFO: ==20915== Lock acquired, processing the job... [2025-03-20 17:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:50:04] Production.INFO: ==20907== Lock acquired, processing the job... [2025-03-20 17:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 17:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 17:50:04] Production.ERROR: CronJob PID - 20909 [2025-03-20 17:50:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 17:50:04] Production.ERROR: CronJob ID - 7 [2025-03-20 17:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 17:50:00 [2025-03-20 17:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 17:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 17:50:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 17:50:04] Production.ERROR: CronJob PID - 20915 [2025-03-20 17:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 17:50:04] Production.ERROR: CronJob ID - 16 [2025-03-20 17:50:04] Production.ERROR: CronJob Last Run Time 2025-03-20 17:50:00 [2025-03-20 17:50:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 17:50:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 17:50:04] Production.INFO: ==20911== Lock acquired, processing the job... [2025-03-20 17:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 17:50:04] Production.INFO: ==20905== Releasing lock... [2025-03-20 17:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 17:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 17:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:50:04] Production.INFO: ==20913== Lock acquired, processing the job... [2025-03-20 17:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:50:04] Production.INFO: ==20917== Lock acquired, processing the job... [2025-03-20 17:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 17:50:04] Production.INFO: ==20919== Lock acquired, processing the job... [2025-03-20 17:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:50:04] Production.INFO: ==20909== Releasing lock... [2025-03-20 17:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:50:04] Production.ERROR: done [2025-03-20 17:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17: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-03-20 17:50:04] Production.INFO: Account Balance Start. [2025-03-20 17:50:04] Production.INFO: CreateAllLog Start [2025-03-20 17:50:04] Production.INFO: 117 [2025-03-20 17:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:50:04] Production.INFO: count ==23 [2025-03-20 17:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724480') start [2025-03-20 17:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724480') end [2025-03-20 17:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:50:04] Production.INFO: 1 [2025-03-20 17:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:50:04] Production.ERROR: done [2025-03-20 17:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:05] Production.INFO: Date 2025-03-11 [2025-03-20 17:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:05] Production.INFO: Date 2025-03-12 [2025-03-20 17:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:05] Production.INFO: ==20919== Releasing lock... [2025-03-20 17:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:50:05] Production.INFO: Date 2025-03-13 [2025-03-20 17:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:05] Production.ERROR: done [2025-03-20 17:50:05] Production.INFO: Date 2025-03-14 [2025-03-20 17:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 17:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724483', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 17:50:05] Production.INFO: Date 2025-03-15 [2025-03-20 17:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:50:05] Production.INFO: Total Charge 0 [2025-03-20 17:50:05] Production.INFO: CreateAllLog End [2025-03-20 17:50:05] Production.INFO: Account Balance End. [2025-03-20 17:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:50:05] Production.INFO: ==20913== Releasing lock... [2025-03-20 17:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:50:06 [end_date_ymd] => 2025-03-20 17:50:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:50:06' and `end` < '2025-03-20 17: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-03-20 17:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724483', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 17:50:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 17:50:09] Production.INFO: ProcessCDR(1,14724483,1,1,2) [2025-03-20 17:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724483,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724483,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:50:09] Production.INFO: ==20917== Releasing lock... [2025-03-20 17:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 17:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 17:50:17] Production.ERROR: CronJobId end10 [2025-03-20 17:50:17] Production.INFO: ==20911== Releasing lock... [2025-03-20 17:50:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:50:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:50:19] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:50:19] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:50:19] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:50:19] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:50:19] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:50:19] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:50:19] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:50:19] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:50:19] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:50:19] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:50:19] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:50:19] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:50:19] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:50:19] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:50:19] Production.INFO: count ==5463 [2025-03-20 17:50:19] Production.INFO: call_cost start [2025-03-20 17:50:19] Production.INFO: call_cost end [2025-03-20 17:50:21] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:50:21] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:50:21] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:50:21] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:50:21] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:50:21] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:50:21] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:50:21] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:50:21] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:50:21] Production.INFO: ==20907== Releasing lock... [2025-03-20 17:50:21] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:50:21] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:50:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:50:06 - End Time 2025-03-20 17:50:06 [2025-03-20 17:50:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724482', 'tblTempUsageDetail_20' ) start [2025-03-20 17:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724482', 'tblTempUsageDetail_20' ) end [2025-03-20 17:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724482', 'tblTempVendorCDR_20' ) start [2025-03-20 17:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724482', 'tblTempVendorCDR_20' ) end [2025-03-20 17:50:22] Production.INFO: ProcessCDR(1,14724482,1,1,2) [2025-03-20 17:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:50:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:50:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:50:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724482', 'tblTempUsageDetail_20' ) start [2025-03-20 17:50:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724482', 'tblTempUsageDetail_20' ) end [2025-03-20 17:50:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:50:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:50:28] Production.INFO: ==20915== Releasing lock... [2025-03-20 17:50:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:50:28] Production.INFO: 68.75 MB #Memory Used# [2025-03-20 21:51:02] Production.INFO: ==20991== Lock acquired, processing the job... [2025-03-20 21:51:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:51:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:51:02] Production.INFO: neon service started [2025-03-20 21:51:02] Production.INFO: neon service started [2025-03-20 21:51:02] Production.INFO: ==20991== Releasing lock... [2025-03-20 21:51:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:51:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:51:02] Production.INFO: ==20994== Lock acquired, processing the job... [2025-03-20 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:51:03] Production.INFO: ==20994== Releasing lock... [2025-03-20 17:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:51:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:51:03] Production.INFO: ==20996== Lock acquired, processing the job... [2025-03-20 21:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:51:03] Production.INFO: ==20996== Releasing lock... [2025-03-20 21:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:51:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:51:03] Production.INFO: ==21002== Lock acquired, processing the job... [2025-03-20 17:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:51:04] Production.INFO: ==20998== Lock acquired, processing the job... [2025-03-20 17:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:51:04] Production.INFO: ==21006== Lock acquired, processing the job... [2025-03-20 17:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:51:04] Production.INFO: ==21000== Lock acquired, processing the job... [2025-03-20 17:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:51:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:51:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:51:04] Production.INFO: ==21004== Lock acquired, processing the job... [2025-03-20 17:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:51:04] Production.INFO: ==21008== Lock acquired, processing the job... [2025-03-20 17:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:51:04] Production.INFO: Account Balance Start. [2025-03-20 17:51:04] Production.INFO: CreateAllLog Start [2025-03-20 17:51:04] Production.INFO: 117 [2025-03-20 17:51:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:51:04] Production.INFO: count ==12 [2025-03-20 17:51:05] Production.ERROR: done [2025-03-20 17:51:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:51: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-03-20 17:51:05] Production.INFO: ==21000== Releasing lock... [2025-03-20 17:51:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:51:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:51:05] Production.INFO: count ==23 [2025-03-20 17:51:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724487') start [2025-03-20 17:51:05] Production.INFO: Date 2025-03-09 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.INFO: Date 2025-03-10 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.INFO: Date 2025-03-11 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.ERROR: done [2025-03-20 17:51:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724487') end [2025-03-20 17:51:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:51:05] Production.INFO: 1 [2025-03-20 17:51:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:51:05] Production.INFO: ==21008== Releasing lock... [2025-03-20 17:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:51:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:51:05] Production.INFO: Date 2025-03-12 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.INFO: Date 2025-03-13 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.INFO: Date 2025-03-14 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.INFO: Date 2025-03-15 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:51:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:51:05] Production.INFO: Total Charge 0 [2025-03-20 17:51:05] Production.INFO: CreateAllLog End [2025-03-20 17:51:05] Production.INFO: Account Balance End. [2025-03-20 17:51:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:51:05] Production.INFO: ==21004== Releasing lock... [2025-03-20 17:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:51:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:51:06 [end_date_ymd] => 2025-03-20 17:51:06 [RateCDR] => 1 ) [2025-03-20 17:51:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 14:51:06' and `end` < '2025-03-20 17:51:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 17:51:15] Production.ERROR: CronJobId end10 [2025-03-20 17:51:15] Production.INFO: ==21002== Releasing lock... [2025-03-20 17:51:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:51:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:51:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:51:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:51:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:51:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:51:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:51:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:51:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:51:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:51:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:51:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:51:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:51:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:51:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:51:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:51:16] Production.INFO: call_cost start [2025-03-20 17:51:16] Production.INFO: call_cost end [2025-03-20 17:51:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:51:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:51:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:51:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:51:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:51:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:51:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:51:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:51:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:51:17] Production.INFO: ==20998== Releasing lock... [2025-03-20 17:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:51:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:51:19] Production.INFO: count ==5444 [2025-03-20 17:51:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:51:06 - End Time 2025-03-20 17:51:06 [2025-03-20 17:51:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724488', 'tblTempUsageDetail_20' ) start [2025-03-20 17:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724488', 'tblTempUsageDetail_20' ) end [2025-03-20 17:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724488', 'tblTempVendorCDR_20' ) start [2025-03-20 17:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724488', 'tblTempVendorCDR_20' ) end [2025-03-20 17:51:22] Production.INFO: ProcessCDR(1,14724488,1,1,2) [2025-03-20 17:51:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:51:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:51:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:51:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724488', 'tblTempUsageDetail_20' ) start [2025-03-20 17:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724488', 'tblTempUsageDetail_20' ) end [2025-03-20 17:51:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:51:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:51:28] Production.INFO: ==21006== Releasing lock... [2025-03-20 17:51:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:51:28] Production.INFO: 68.75 MB #Memory Used# [2025-03-20 21:52:01] Production.INFO: ==21071== Lock acquired, processing the job... [2025-03-20 21:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:52:01] Production.INFO: neon service started [2025-03-20 21:52:01] Production.INFO: neon service started [2025-03-20 21:52:01] Production.INFO: ==21071== Releasing lock... [2025-03-20 21:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:52:02] Production.INFO: ==21073== Lock acquired, processing the job... [2025-03-20 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:52:02] Production.INFO: ==21075== Lock acquired, processing the job... [2025-03-20 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:52:02] Production.INFO: ==21075== Releasing lock... [2025-03-20 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:52:03] Production.INFO: ==21073== Releasing lock... [2025-03-20 17:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:52:03] Production.INFO: ==21082== Lock acquired, processing the job... [2025-03-20 17:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:52:04] Production.INFO: ==21078== Lock acquired, processing the job... [2025-03-20 17:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:52:04] Production.INFO: ==21086== Lock acquired, processing the job... [2025-03-20 17:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:52:04] Production.INFO: ==21080== Lock acquired, processing the job... [2025-03-20 17:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:52:04] Production.INFO: ==21084== Lock acquired, processing the job... [2025-03-20 17:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:52:04] Production.INFO: ==21088== Lock acquired, processing the job... [2025-03-20 17:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:52:04] Production.INFO: Account Balance Start. [2025-03-20 17:52:04] Production.INFO: CreateAllLog Start [2025-03-20 17:52:04] Production.INFO: 117 [2025-03-20 17:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:52:04] Production.INFO: count ==12 [2025-03-20 17:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:52:04] Production.INFO: count ==23 [2025-03-20 17:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724492') start [2025-03-20 17:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:52:04] Production.ERROR: done [2025-03-20 17:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:52:04] Production.INFO: ==21080== Releasing lock... [2025-03-20 17:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724492') end [2025-03-20 17:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:52:04] Production.INFO: 1 [2025-03-20 17:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:52:05] Production.INFO: Date 2025-03-16 [2025-03-20 17:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:52:05] Production.INFO: ==21088== Releasing lock... [2025-03-20 17:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:52:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:52:05] Production.ERROR: done [2025-03-20 17:52:05] Production.INFO: Date 2025-03-17 [2025-03-20 17:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:52:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:52:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:52:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:52:05] Production.INFO: Total Charge 0 [2025-03-20 17:52:05] Production.INFO: CreateAllLog End [2025-03-20 17:52:05] Production.INFO: Account Balance End. [2025-03-20 17:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:52:05] Production.INFO: ==21084== Releasing lock... [2025-03-20 17:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:52:06 [end_date_ymd] => 2025-03-20 17:52:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:52:06' and `end` < '2025-03-20 17: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-03-20 17:52:14] Production.ERROR: CronJobId end10 [2025-03-20 17:52:14] Production.INFO: ==21082== Releasing lock... [2025-03-20 17:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:52:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:52:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:52:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:52:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:52:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:52:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:52:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:52:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:52:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:52:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:52:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:52:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:52:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:52:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:52:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:52:17] Production.INFO: call_cost start [2025-03-20 17:52:17] Production.INFO: call_cost end [2025-03-20 17:52:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:52:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:52:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:52:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:52:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:52:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:52:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:52:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:52:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:52:18] Production.INFO: ==21078== Releasing lock... [2025-03-20 17:52:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:52:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:52:19] Production.INFO: count ==5426 [2025-03-20 17:52:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:52:06 - End Time 2025-03-20 17:52:06 [2025-03-20 17:52:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724493', 'tblTempUsageDetail_20' ) start [2025-03-20 17:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724493', 'tblTempUsageDetail_20' ) end [2025-03-20 17:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724493', 'tblTempVendorCDR_20' ) start [2025-03-20 17:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724493', 'tblTempVendorCDR_20' ) end [2025-03-20 17:52:22] Production.INFO: ProcessCDR(1,14724493,1,1,2) [2025-03-20 17:52:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:52:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:52:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:52:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724493', 'tblTempUsageDetail_20' ) start [2025-03-20 17:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724493', 'tblTempUsageDetail_20' ) end [2025-03-20 17:52:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:52:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:52:27] Production.INFO: ==21086== Releasing lock... [2025-03-20 17:52:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:52:27] Production.INFO: 68.5 MB #Memory Used# [2025-03-20 21:53:01] Production.INFO: ==21158== Lock acquired, processing the job... [2025-03-20 21:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:53:01] Production.INFO: neon service started [2025-03-20 21:53:01] Production.INFO: neon service started [2025-03-20 21:53:01] Production.INFO: ==21158== Releasing lock... [2025-03-20 21:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:53:01] Production.INFO: ==21160== Lock acquired, processing the job... [2025-03-20 17:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:53:02] Production.INFO: ==21162== Lock acquired, processing the job... [2025-03-20 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:53:02] Production.INFO: ==21160== Releasing lock... [2025-03-20 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:53:02] Production.INFO: ==21162== Releasing lock... [2025-03-20 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:53:03] Production.INFO: ==21173== Lock acquired, processing the job... [2025-03-20 17:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:53:03] Production.INFO: ==21177== Lock acquired, processing the job... [2025-03-20 17:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17: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-03-20 17:53:03] Production.INFO: ==21165== Lock acquired, processing the job... [2025-03-20 17:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:53:03] Production.INFO: Account Balance Start. [2025-03-20 17:53:03] Production.INFO: CreateAllLog Start [2025-03-20 17:53:03] Production.INFO: 117 [2025-03-20 17:53:03] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:53:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:53:03] Production.INFO: count ==23 [2025-03-20 17:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:03] Production.INFO: ==21167== Lock acquired, processing the job... [2025-03-20 17:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724494') start [2025-03-20 17:53:03] Production.INFO: ==21170== Lock acquired, processing the job... [2025-03-20 17:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:53:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:03] Production.INFO: ==21175== Lock acquired, processing the job... [2025-03-20 17:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:53:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724494') end [2025-03-20 17:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:53:03] Production.INFO: 1 [2025-03-20 17:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:53:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:53:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:53:03] Production.INFO: ==21177== Releasing lock... [2025-03-20 17:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:53:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:03] Production.INFO: Date 2025-03-14 [2025-03-20 17:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:03] Production.INFO: Date 2025-03-15 [2025-03-20 17:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:03] Production.INFO: Date 2025-03-16 [2025-03-20 17:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:03] Production.INFO: Date 2025-03-17 [2025-03-20 17:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:04] Production.INFO: ==21167== Releasing lock... [2025-03-20 17:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:53:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:53:04] Production.ERROR: done [2025-03-20 17:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:53:04] Production.INFO: Total Charge 0 [2025-03-20 17:53:04] Production.INFO: CreateAllLog End [2025-03-20 17:53:04] Production.ERROR: done [2025-03-20 17:53:04] Production.INFO: Account Balance End. [2025-03-20 17:53:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:53:04] Production.INFO: ==21173== Releasing lock... [2025-03-20 17:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:53:05 [end_date_ymd] => 2025-03-20 17:53:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:53:05' and `end` < '2025-03-20 17: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-03-20 17:53:14] Production.ERROR: CronJobId end10 [2025-03-20 17:53:14] Production.INFO: ==21170== Releasing lock... [2025-03-20 17:53:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:53:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:53:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:53:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:53:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:53:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:53:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:53:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:53:16] Production.INFO: call_cost start [2025-03-20 17:53:16] Production.INFO: call_cost end [2025-03-20 17:53:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:53:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:53:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:53:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:53:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:53:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:53:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:53:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:53:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:53:17] Production.INFO: ==21165== Releasing lock... [2025-03-20 17:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:53:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:53:18] Production.INFO: count ==5422 [2025-03-20 17:53:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:53:05 - End Time 2025-03-20 17:53:05 [2025-03-20 17:53:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724498', 'tblTempUsageDetail_20' ) start [2025-03-20 17:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724498', 'tblTempUsageDetail_20' ) end [2025-03-20 17:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724498', 'tblTempVendorCDR_20' ) start [2025-03-20 17:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724498', 'tblTempVendorCDR_20' ) end [2025-03-20 17:53:21] Production.INFO: ProcessCDR(1,14724498,1,1,2) [2025-03-20 17:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:53:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:53:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:53:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724498', 'tblTempUsageDetail_20' ) start [2025-03-20 17:53:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724498', 'tblTempUsageDetail_20' ) end [2025-03-20 17:53:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:53:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:53:26] Production.INFO: ==21175== Releasing lock... [2025-03-20 17:53:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:53:26] Production.INFO: 68.5 MB #Memory Used# [2025-03-20 21:54:01] Production.INFO: ==21242== Lock acquired, processing the job... [2025-03-20 21:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:54:01] Production.INFO: neon service started [2025-03-20 21:54:01] Production.INFO: neon service started [2025-03-20 21:54:01] Production.INFO: ==21242== Releasing lock... [2025-03-20 21:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:54:02] Production.INFO: ==21246== Lock acquired, processing the job... [2025-03-20 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:54:02] Production.INFO: ==21248== Lock acquired, processing the job... [2025-03-20 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 17:54:02] Production.INFO: ==21246== Releasing lock... [2025-03-20 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:54:02] Production.INFO: ==21248== Releasing lock... [2025-03-20 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:54:03] Production.INFO: ==21253== Lock acquired, processing the job... [2025-03-20 17:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:54:03] Production.INFO: ==21251== Lock acquired, processing the job... [2025-03-20 17:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:54:03] Production.INFO: ==21255== Lock acquired, processing the job... [2025-03-20 17:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:54:03] Production.INFO: ==21257== Lock acquired, processing the job... [2025-03-20 17:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:54:04] Production.INFO: ==21259== Lock acquired, processing the job... [2025-03-20 17:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:54:04] Production.INFO: ==21253== Releasing lock... [2025-03-20 17:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:54:04] Production.INFO: ==21261== Lock acquired, processing the job... [2025-03-20 17:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:54:04] Production.INFO: Account Balance Start. [2025-03-20 17:54:04] Production.INFO: CreateAllLog Start [2025-03-20 17:54:04] Production.INFO: 117 [2025-03-20 17:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:54:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:54:04] Production.INFO: count ==23 [2025-03-20 17:54:04] Production.ERROR: done [2025-03-20 17:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724502') start [2025-03-20 17:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724502') end [2025-03-20 17:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:54:04] Production.INFO: 1 [2025-03-20 17:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:54:04] Production.ERROR: done [2025-03-20 17:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:04] Production.INFO: ==21261== Releasing lock... [2025-03-20 17:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:54:05] Production.INFO: Total Charge 0 [2025-03-20 17:54:05] Production.INFO: CreateAllLog End [2025-03-20 17:54:05] Production.INFO: Account Balance End. [2025-03-20 17:54:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:54:05] Production.INFO: ==21257== Releasing lock... [2025-03-20 17:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:54:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:54:06 [end_date_ymd] => 2025-03-20 17:54:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:54:06' and `end` < '2025-03-20 17: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-03-20 17:54:16] Production.ERROR: CronJobId end10 [2025-03-20 17:54:16] Production.INFO: ==21255== Releasing lock... [2025-03-20 17:54:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:54:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:54:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:54:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:54:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:54:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:54:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:54:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:54:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:54:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:54:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:54:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:54:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:54:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:54:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:54:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:54:18] Production.INFO: call_cost start [2025-03-20 17:54:18] Production.INFO: call_cost end [2025-03-20 17:54:19] Production.INFO: count ==5409 [2025-03-20 17:54:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:54:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:54:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:54:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:54:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:54:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:54:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:54:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:54:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:54:19] Production.INFO: ==21251== Releasing lock... [2025-03-20 17:54:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:54:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:54:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:54:06 - End Time 2025-03-20 17:54:06 [2025-03-20 17:54:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724503', 'tblTempUsageDetail_20' ) start [2025-03-20 17:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724503', 'tblTempUsageDetail_20' ) end [2025-03-20 17:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724503', 'tblTempVendorCDR_20' ) start [2025-03-20 17:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724503', 'tblTempVendorCDR_20' ) end [2025-03-20 17:54:21] Production.INFO: ProcessCDR(1,14724503,1,1,2) [2025-03-20 17:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:54:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:54:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:54:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724503', 'tblTempUsageDetail_20' ) start [2025-03-20 17:54:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724503', 'tblTempUsageDetail_20' ) end [2025-03-20 17:54:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:54:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:54:27] Production.INFO: ==21259== Releasing lock... [2025-03-20 17:54:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:54:27] Production.INFO: 68.5 MB #Memory Used# [2025-03-20 21:55:01] Production.INFO: ==21324== Lock acquired, processing the job... [2025-03-20 21:55:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:55:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:55:01] Production.INFO: neon service started [2025-03-20 21:55:01] Production.INFO: neon service started [2025-03-20 21:55:01] Production.INFO: ==21324== Releasing lock... [2025-03-20 21:55:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:55:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:55:02] Production.INFO: ==21326== Lock acquired, processing the job... [2025-03-20 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:55:02] Production.INFO: ==21328== Lock acquired, processing the job... [2025-03-20 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:55:02] Production.INFO: ==21328== Releasing lock... [2025-03-20 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:55:02] Production.INFO: ==21326== Releasing lock... [2025-03-20 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:55:03] Production.INFO: ==21337== Lock acquired, processing the job... [2025-03-20 17:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:55:03] Production.INFO: ==21333== Lock acquired, processing the job... [2025-03-20 17:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:55:03] Production.INFO: ==21339== Lock acquired, processing the job... [2025-03-20 17:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:55:03] Production.INFO: ==21335== Lock acquired, processing the job... [2025-03-20 17:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:55:03] Production.INFO: Account Balance Start. [2025-03-20 17:55:03] Production.INFO: CreateAllLog Start [2025-03-20 17:55:03] Production.INFO: 117 [2025-03-20 17:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:04] Production.INFO: ==21341== Lock acquired, processing the job... [2025-03-20 17:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:55:04] Production.INFO: ==21343== Lock acquired, processing the job... [2025-03-20 17:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:55:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:55:04] Production.INFO: count ==23 [2025-03-20 17:55:04] Production.INFO: ==21335== Releasing lock... [2025-03-20 17:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724507') start [2025-03-20 17:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724507') end [2025-03-20 17:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:55:04] Production.INFO: 1 [2025-03-20 17:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:04] Production.INFO: ==21343== Releasing lock... [2025-03-20 17:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:55:04] Production.ERROR: done [2025-03-20 17:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:04] Production.ERROR: done [2025-03-20 17:55:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:55:05] Production.INFO: Total Charge 0 [2025-03-20 17:55:05] Production.INFO: CreateAllLog End [2025-03-20 17:55:05] Production.INFO: Account Balance End. [2025-03-20 17:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:55:05] Production.INFO: ==21339== Releasing lock... [2025-03-20 17:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:55:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:55:06 [end_date_ymd] => 2025-03-20 17:55:06 [RateCDR] => 1 ) [2025-03-20 17:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 14:55:06' and `end` < '2025-03-20 17:55:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 17:55:16] Production.ERROR: CronJobId end10 [2025-03-20 17:55:16] Production.INFO: ==21337== Releasing lock... [2025-03-20 17:55:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:55:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:55:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:55:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:55:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:55:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:55:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:55:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:55:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:55:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:55:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:55:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:55:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:55:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:55:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:55:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:55:17] Production.INFO: call_cost start [2025-03-20 17:55:17] Production.INFO: call_cost end [2025-03-20 17:55:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:55:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:55:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:55:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:55:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:55:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:55:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:55:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:55:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:55:18] Production.INFO: ==21333== Releasing lock... [2025-03-20 17:55:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:55:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:55:19] Production.INFO: count ==5413 [2025-03-20 17:55:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:55:06 - End Time 2025-03-20 17:55:06 [2025-03-20 17:55:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724508', 'tblTempUsageDetail_20' ) start [2025-03-20 17:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724508', 'tblTempUsageDetail_20' ) end [2025-03-20 17:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724508', 'tblTempVendorCDR_20' ) start [2025-03-20 17:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724508', 'tblTempVendorCDR_20' ) end [2025-03-20 17:55:21] Production.INFO: ProcessCDR(1,14724508,1,1,2) [2025-03-20 17:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:55:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724508', 'tblTempUsageDetail_20' ) start [2025-03-20 17:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724508', 'tblTempUsageDetail_20' ) end [2025-03-20 17:55:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:55:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:55:27] Production.INFO: ==21341== Releasing lock... [2025-03-20 17:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:55:27] Production.INFO: 68.5 MB #Memory Used# [2025-03-20 21:56:02] Production.INFO: ==21415== Lock acquired, processing the job... [2025-03-20 21:56:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:56:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:56:02] Production.INFO: neon service started [2025-03-20 21:56:02] Production.INFO: neon service started [2025-03-20 21:56:02] Production.INFO: ==21415== Releasing lock... [2025-03-20 21:56:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:56:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:56:02] Production.INFO: ==21417== Lock acquired, processing the job... [2025-03-20 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:56:02] Production.INFO: ==21417== Releasing lock... [2025-03-20 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:56:03] Production.INFO: ==21419== Lock acquired, processing the job... [2025-03-20 21:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:56:03] Production.INFO: ==21419== Releasing lock... [2025-03-20 21:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:56:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:56:03] Production.INFO: ==21422== Lock acquired, processing the job... [2025-03-20 17:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:56:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:56:04] Production.INFO: ==21432== Lock acquired, processing the job... [2025-03-20 17:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:56:04] Production.INFO: ==21424== Lock acquired, processing the job... [2025-03-20 17:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:56:04] Production.INFO: ==21426== Lock acquired, processing the job... [2025-03-20 17:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:56:04] Production.INFO: ==21428== Lock acquired, processing the job... [2025-03-20 17:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17: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-03-20 17:56:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:56:04] Production.INFO: ==21430== Lock acquired, processing the job... [2025-03-20 17:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:56:04] Production.INFO: count ==23 [2025-03-20 17:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724510') start [2025-03-20 17:56:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:56:04] Production.INFO: Account Balance Start. [2025-03-20 17:56:04] Production.INFO: CreateAllLog Start [2025-03-20 17:56:04] Production.INFO: 117 [2025-03-20 17:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:56:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724510') end [2025-03-20 17:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:56:04] Production.INFO: 1 [2025-03-20 17:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:56:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:04] Production.INFO: ==21432== Releasing lock... [2025-03-20 17:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:56:04] Production.INFO: ==21424== Releasing lock... [2025-03-20 17:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:04] Production.ERROR: done [2025-03-20 17:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:05] Production.INFO: Date 2025-03-18 [2025-03-20 17:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:56:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:56:05] Production.INFO: Total Charge 0 [2025-03-20 17:56:05] Production.INFO: CreateAllLog End [2025-03-20 17:56:05] Production.ERROR: done [2025-03-20 17:56:05] Production.INFO: Account Balance End. [2025-03-20 17:56:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:56:05] Production.INFO: ==21428== Releasing lock... [2025-03-20 17:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:56:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:56:06 [end_date_ymd] => 2025-03-20 17:56:06 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:56:06' and `end` < '2025-03-20 17: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-03-20 17:56:15] Production.ERROR: CronJobId end10 [2025-03-20 17:56:15] Production.INFO: ==21426== Releasing lock... [2025-03-20 17:56:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:56:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:56:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:56:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:56:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:56:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:56:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:56:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:56:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:56:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:56:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:56:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:56:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:56:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:56:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:56:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:56:17] Production.INFO: call_cost start [2025-03-20 17:56:17] Production.INFO: call_cost end [2025-03-20 17:56:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:56:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:56:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:56:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:56:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:56:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:56:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:56:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:56:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:56:18] Production.INFO: ==21422== Releasing lock... [2025-03-20 17:56:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:56:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:56:19] Production.INFO: count ==5406 [2025-03-20 17:56:22] Production.ERROR: pbx CDR StartTime 2025-03-20 14:56:06 - End Time 2025-03-20 17:56:06 [2025-03-20 17:56:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724513', 'tblTempUsageDetail_20' ) start [2025-03-20 17:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724513', 'tblTempUsageDetail_20' ) end [2025-03-20 17:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724513', 'tblTempVendorCDR_20' ) start [2025-03-20 17:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724513', 'tblTempVendorCDR_20' ) end [2025-03-20 17:56:22] Production.INFO: ProcessCDR(1,14724513,1,1,2) [2025-03-20 17:56:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:56:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:56:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:56:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724513', 'tblTempUsageDetail_20' ) start [2025-03-20 17:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724513', 'tblTempUsageDetail_20' ) end [2025-03-20 17:56:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:56:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:56:26] Production.INFO: ==21430== Releasing lock... [2025-03-20 17:56:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:56:26] Production.INFO: 68.5 MB #Memory Used# [2025-03-20 21:57:01] Production.INFO: ==21491== Lock acquired, processing the job... [2025-03-20 21:57:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:57:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:57:01] Production.INFO: neon service started [2025-03-20 21:57:01] Production.INFO: neon service started [2025-03-20 21:57:01] Production.INFO: ==21491== Releasing lock... [2025-03-20 21:57:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:57:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:57:01] Production.INFO: ==21493== Lock acquired, processing the job... [2025-03-20 17:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 21:57:02] Production.INFO: ==21495== Lock acquired, processing the job... [2025-03-20 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:57:02] Production.INFO: ==21495== Releasing lock... [2025-03-20 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:57:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:57:02] Production.INFO: ==21493== Releasing lock... [2025-03-20 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 17:57:03] Production.INFO: ==21500== Lock acquired, processing the job... [2025-03-20 17:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:57:03] Production.INFO: ==21504== Lock acquired, processing the job... [2025-03-20 17:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:57:03] Production.INFO: ==21506== Lock acquired, processing the job... [2025-03-20 17:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:57:03] Production.INFO: Account Balance Start. [2025-03-20 17:57:03] Production.INFO: CreateAllLog Start [2025-03-20 17:57:03] Production.INFO: 117 [2025-03-20 17:57:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:57:03] Production.INFO: ==21498== Lock acquired, processing the job... [2025-03-20 17:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:03] Production.INFO: ==21502== Lock acquired, processing the job... [2025-03-20 17:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:57:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:03] Production.INFO: ==21508== Lock acquired, processing the job... [2025-03-20 17:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:57:03] Production.INFO: ==21500== Releasing lock... [2025-03-20 17:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:57:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:57:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:57:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:57:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:57:04] Production.ERROR: done [2025-03-20 17:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:57:04] Production.INFO: count ==23 [2025-03-20 17:57:04] Production.ERROR: done [2025-03-20 17:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724517') start [2025-03-20 17:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724517') end [2025-03-20 17:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:57:04] Production.INFO: 1 [2025-03-20 17:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:57:04] Production.INFO: ==21508== Releasing lock... [2025-03-20 17:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:57:04] Production.INFO: Total Charge 0 [2025-03-20 17:57:04] Production.INFO: CreateAllLog End [2025-03-20 17:57:04] Production.INFO: Account Balance End. [2025-03-20 17:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:57:04] Production.INFO: ==21504== Releasing lock... [2025-03-20 17:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:57:05 [end_date_ymd] => 2025-03-20 17:57:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:57:05' and `end` < '2025-03-20 17: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-03-20 17:57:13] Production.ERROR: CronJobId end10 [2025-03-20 17:57:13] Production.INFO: ==21502== Releasing lock... [2025-03-20 17:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:57:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:57:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:57:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:57:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:57:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:57:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:57:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:57:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:57:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:57:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:57:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:57:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:57:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:57:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:57:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:57:17] Production.INFO: call_cost start [2025-03-20 17:57:17] Production.INFO: call_cost end [2025-03-20 17:57:18] Production.INFO: count ==5394 [2025-03-20 17:57:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:57:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:57:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:57:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:57:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:57:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:57:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:57:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:57:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:57:18] Production.INFO: ==21498== Releasing lock... [2025-03-20 17:57:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:57:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:57:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:57:05 - End Time 2025-03-20 17:57:05 [2025-03-20 17:57:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724518', 'tblTempUsageDetail_20' ) start [2025-03-20 17:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724518', 'tblTempUsageDetail_20' ) end [2025-03-20 17:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724518', 'tblTempVendorCDR_20' ) start [2025-03-20 17:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724518', 'tblTempVendorCDR_20' ) end [2025-03-20 17:57:21] Production.INFO: ProcessCDR(1,14724518,1,1,2) [2025-03-20 17:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:57:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724518', 'tblTempUsageDetail_20' ) start [2025-03-20 17:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724518', 'tblTempUsageDetail_20' ) end [2025-03-20 17:57:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:57:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:57:27] Production.INFO: ==21506== Releasing lock... [2025-03-20 17:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:57:27] Production.INFO: 68.25 MB #Memory Used# [2025-03-20 21:58:02] Production.INFO: ==21623== Lock acquired, processing the job... [2025-03-20 21:58:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:58:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:58:02] Production.INFO: neon service started [2025-03-20 21:58:02] Production.INFO: neon service started [2025-03-20 21:58:02] Production.INFO: ==21623== Releasing lock... [2025-03-20 21:58:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:58:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:58:02] Production.INFO: ==21626== Lock acquired, processing the job... [2025-03-20 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:58:02] Production.INFO: ==21626== Releasing lock... [2025-03-20 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:58:03] Production.INFO: ==21628== Lock acquired, processing the job... [2025-03-20 21:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:58:03] Production.INFO: ==21628== Releasing lock... [2025-03-20 21:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:58:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:58:04] Production.INFO: ==21630== Lock acquired, processing the job... [2025-03-20 17:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:58:04] Production.INFO: ==21632== Lock acquired, processing the job... [2025-03-20 17:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:58:04] Production.INFO: ==21634== Lock acquired, processing the job... [2025-03-20 17:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:58:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:58:04] Production.INFO: ==21636== Lock acquired, processing the job... [2025-03-20 17:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:58:04] Production.INFO: ==21640== Lock acquired, processing the job... [2025-03-20 17:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:58:04] Production.INFO: Account Balance Start. [2025-03-20 17:58:04] Production.INFO: CreateAllLog Start [2025-03-20 17:58:04] Production.INFO: 117 [2025-03-20 17:58:04] Production.INFO: Date 2025-03-08 [2025-03-20 17:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:04] Production.INFO: Date 2025-03-09 [2025-03-20 17:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:58:04] Production.INFO: ==21638== Lock acquired, processing the job... [2025-03-20 17:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:58:04] Production.INFO: Date 2025-03-10 [2025-03-20 17:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:58:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:58:04] Production.INFO: count ==23 [2025-03-20 17:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 17:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724522') start [2025-03-20 17:58:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 17:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 17:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:04] Production.INFO: ==21632== Releasing lock... [2025-03-20 17:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 17:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724522') end [2025-03-20 17:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:58:04] Production.INFO: 1 [2025-03-20 17:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:04] Production.INFO: ==21640== Releasing lock... [2025-03-20 17:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:58:04] Production.ERROR: done [2025-03-20 17:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:05] Production.INFO: Date 2025-03-19 [2025-03-20 17:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:05] Production.ERROR: done [2025-03-20 17:58:05] Production.INFO: Date 2025-03-20 [2025-03-20 17:58:05] Production.INFO: Reseller ==> 0 [2025-03-20 17:58:05] Production.INFO: Total Charge 0 [2025-03-20 17:58:05] Production.INFO: CreateAllLog End [2025-03-20 17:58:05] Production.INFO: Account Balance End. [2025-03-20 17:58:05] Production.ERROR: CronJobId end 12 [2025-03-20 17:58:05] Production.INFO: ==21636== Releasing lock... [2025-03-20 17:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:58:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:58:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:58:06 [end_date_ymd] => 2025-03-20 17:58:06 [RateCDR] => 1 ) [2025-03-20 17:58:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 14:58:06' and `end` < '2025-03-20 17:58:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 17:58:15] Production.ERROR: CronJobId end10 [2025-03-20 17:58:15] Production.INFO: ==21634== Releasing lock... [2025-03-20 17:58:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:58:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:58:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:58:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:58:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:58:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:58:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:58:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:58:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:58:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:58:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:58:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:58:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:58:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:58:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:58:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:58:16] Production.INFO: call_cost start [2025-03-20 17:58:16] Production.INFO: call_cost end [2025-03-20 17:58:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:58:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:58:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:58:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:58:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:58:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:58:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:58:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:58:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:58:18] Production.INFO: ==21630== Releasing lock... [2025-03-20 17:58:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:58:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:58:19] Production.INFO: count ==5390 [2025-03-20 17:58:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:58:06 - End Time 2025-03-20 17:58:06 [2025-03-20 17:58:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724523', 'tblTempUsageDetail_20' ) start [2025-03-20 17:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724523', 'tblTempUsageDetail_20' ) end [2025-03-20 17:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724523', 'tblTempVendorCDR_20' ) start [2025-03-20 17:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724523', 'tblTempVendorCDR_20' ) end [2025-03-20 17:58:21] Production.INFO: ProcessCDR(1,14724523,1,1,2) [2025-03-20 17:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:58:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724523', 'tblTempUsageDetail_20' ) start [2025-03-20 17:58:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724523', 'tblTempUsageDetail_20' ) end [2025-03-20 17:58:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:58:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:58:27] Production.INFO: ==21638== Releasing lock... [2025-03-20 17:58:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:58:27] Production.INFO: 68.25 MB #Memory Used# [2025-03-20 21:59:01] Production.INFO: ==21705== Lock acquired, processing the job... [2025-03-20 21:59:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 21:59:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 21:59:01] Production.INFO: neon service started [2025-03-20 21:59:01] Production.INFO: neon service started [2025-03-20 21:59:01] Production.INFO: ==21705== Releasing lock... [2025-03-20 21:59:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 21:59:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 17:59:02] Production.INFO: ==21707== Lock acquired, processing the job... [2025-03-20 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 17:59:02] Production.INFO: ==21707== Releasing lock... [2025-03-20 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 17:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 21:59:02] Production.INFO: ==21710== Lock acquired, processing the job... [2025-03-20 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 21:59:02] Production.INFO: ==21710== Releasing lock... [2025-03-20 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 21:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 17:59:03] Production.INFO: ==21712== Lock acquired, processing the job... [2025-03-20 17:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 17:59:03] Production.INFO: ==21718== Lock acquired, processing the job... [2025-03-20 17:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 17:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 17:59:03] Production.INFO: Account Balance Start. [2025-03-20 17:59:03] Production.INFO: CreateAllLog Start [2025-03-20 17:59:03] Production.INFO: 117 [2025-03-20 17:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 17:59:03] Production.INFO: ==21716== Lock acquired, processing the job... [2025-03-20 17:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 17:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:03] Production.INFO: Date 2025-03-09 [2025-03-20 17:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:03] Production.INFO: ==21714== Lock acquired, processing the job... [2025-03-20 17:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 17:59:03] Production.INFO: Date 2025-03-10 [2025-03-20 17:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 17:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 17:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 17:59:03] Production.INFO: Date 2025-03-11 [2025-03-20 17:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:03] Production.INFO: ==21720== Lock acquired, processing the job... [2025-03-20 17:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 17:59:03] Production.INFO: Date 2025-03-12 [2025-03-20 17:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:03] Production.INFO: Date 2025-03-13 [2025-03-20 17:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 17:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:03] Production.INFO: ==21722== Lock acquired, processing the job... [2025-03-20 17:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 17:59:03] Production.INFO: Date 2025-03-14 [2025-03-20 17:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 17:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 17:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 17: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-03-20 17:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 17:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:04] Production.INFO: count ==12 [2025-03-20 17: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-03-20 17:59:04] Production.INFO: count ==23 [2025-03-20 17:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724527') start [2025-03-20 17:59:04] Production.INFO: ==21714== Releasing lock... [2025-03-20 17:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 17:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 17:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 17:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724527') end [2025-03-20 17:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 17:59:04] Production.INFO: 1 [2025-03-20 17:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 17:59:04] Production.INFO: ==21722== Releasing lock... [2025-03-20 17:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 17:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 17:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 17:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 17:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 17:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 17:59:04] Production.INFO: Total Charge 0 [2025-03-20 17:59:04] Production.INFO: CreateAllLog End [2025-03-20 17:59:04] Production.ERROR: done [2025-03-20 17:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 17:59:04] Production.INFO: Account Balance End. [2025-03-20 17:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 17:59:04] Production.INFO: ==21718== Releasing lock... [2025-03-20 17:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 17:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 17:59:04] Production.ERROR: done [2025-03-20 17:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 14:59:05 [end_date_ymd] => 2025-03-20 17:59:05 [RateCDR] => 1 ) [2025-03-20 17: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-03-20 14:59:05' and `end` < '2025-03-20 17: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-03-20 17:59:14] Production.ERROR: CronJobId end10 [2025-03-20 17:59:14] Production.INFO: ==21716== Releasing lock... [2025-03-20 17:59:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 17:59:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 17:59:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 17:59:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 17:59:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 17:59:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 17:59:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 17:59:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 17:59:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 17:59:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 17:59:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 17:59:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 17:59:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 17:59:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 17:59:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 17:59:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 17:59:17] Production.INFO: call_cost start [2025-03-20 17:59:17] Production.INFO: call_cost end [2025-03-20 17:59:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 17:59:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 17:59:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 17:59:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 17:59:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 17:59:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 17:59:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 17:59:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 17:59:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 17:59:18] Production.INFO: ==21712== Releasing lock... [2025-03-20 17:59:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 17:59:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 17:59:18] Production.INFO: count ==5396 [2025-03-20 17:59:21] Production.ERROR: pbx CDR StartTime 2025-03-20 14:59:05 - End Time 2025-03-20 17:59:05 [2025-03-20 17:59:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 17:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724528', 'tblTempUsageDetail_20' ) start [2025-03-20 17:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724528', 'tblTempUsageDetail_20' ) end [2025-03-20 17:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724528', 'tblTempVendorCDR_20' ) start [2025-03-20 17:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724528', 'tblTempVendorCDR_20' ) end [2025-03-20 17:59:21] Production.INFO: ProcessCDR(1,14724528,1,1,2) [2025-03-20 17:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:59:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 17:59:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:59:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 17:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724528', 'tblTempUsageDetail_20' ) start [2025-03-20 17:59:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724528', 'tblTempUsageDetail_20' ) end [2025-03-20 17:59:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 17:59:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 17:59:26] Production.INFO: ==21720== Releasing lock... [2025-03-20 17:59:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 17:59:26] Production.INFO: 68.25 MB #Memory Used# [2025-03-20 22:00:02] Production.INFO: ==21793== Lock acquired, processing the job... [2025-03-20 22:00:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:00:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:00:02] Production.INFO: neon service started [2025-03-20 22:00:02] Production.INFO: neon service started [2025-03-20 22:00:02] Production.INFO: ==21793== Releasing lock... [2025-03-20 22:00:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:00:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:00:02] Production.INFO: ==21797== Lock acquired, processing the job... [2025-03-20 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:00:02] Production.INFO: ==21797== Releasing lock... [2025-03-20 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:00:02] Production.INFO: ==21795== Lock acquired, processing the job... [2025-03-20 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:00:03] Production.INFO: ==21795== Releasing lock... [2025-03-20 18:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:00:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:00:04] Production.INFO: ==21800== Lock acquired, processing the job... [2025-03-20 18:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 18:00:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 18:00:04] Production.INFO: ==21806== Lock acquired, processing the job... [2025-03-20 18:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:00:04] Production.INFO: ==21812== Lock acquired, processing the job... [2025-03-20 18:00:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 18:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 18:00:04] Production.INFO: ==21800== Releasing lock... [2025-03-20 18:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 18:00:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 18:00:04] Production.INFO: ==21802== Lock acquired, processing the job... [2025-03-20 18:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:00:04] Production.INFO: ==21804== Lock acquired, processing the job... [2025-03-20 18:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:00:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:00:04] Production.INFO: ==21808== Lock acquired, processing the job... [2025-03-20 18:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:00:04] Production.INFO: ==21810== Lock acquired, processing the job... [2025-03-20 18:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:00:05] Production.INFO: ==21814== Lock acquired, processing the job... [2025-03-20 18:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:00:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:00:05] Production.ERROR: done [2025-03-20 18:00:05] Production.INFO: Account Balance Start. [2025-03-20 18:00:05] Production.INFO: CreateAllLog Start [2025-03-20 18:00:05] Production.INFO: 117 [2025-03-20 18:00:05] Production.INFO: Date 2025-03-08 [2025-03-20 18:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 18:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724532', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 18:00:05] Production.INFO: Date 2025-03-09 [2025-03-20 18:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:00:05] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:00:05] Production.INFO: Date 2025-03-10 [2025-03-20 18:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:05] Production.INFO: count ==23 [2025-03-20 18:00:05] Production.INFO: Date 2025-03-11 [2025-03-20 18:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724533') start [2025-03-20 18:00:05] Production.INFO: Date 2025-03-12 [2025-03-20 18:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:05] Production.INFO: Date 2025-03-13 [2025-03-20 18:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:05] Production.INFO: Date 2025-03-14 [2025-03-20 18:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:05] Production.ERROR: done [2025-03-20 18:00:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:00:05] Production.INFO: ==21804== Releasing lock... [2025-03-20 18:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:00:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:00:05] Production.INFO: Date 2025-03-15 [2025-03-20 18:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:06] Production.ERROR: PBX CALL prc_importPBXExtension('14724533') end [2025-03-20 18:00:06] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:00:06] Production.INFO: 1 [2025-03-20 18:00:06] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:00:06] Production.INFO: Date 2025-03-16 [2025-03-20 18:00:06] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:06] Production.INFO: Date 2025-03-17 [2025-03-20 18:00:06] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:06] Production.INFO: Date 2025-03-18 [2025-03-20 18:00:06] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:06] Production.INFO: ==21814== Releasing lock... [2025-03-20 18:00:06] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:00:06] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:00:06] Production.ERROR: done [2025-03-20 18:00:06] Production.INFO: Date 2025-03-19 [2025-03-20 18:00:06] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:06] Production.INFO: Date 2025-03-20 [2025-03-20 18:00:06] Production.INFO: Reseller ==> 0 [2025-03-20 18:00:06] Production.INFO: Total Charge 0 [2025-03-20 18:00:06] Production.INFO: CreateAllLog End [2025-03-20 18:00:06] Production.INFO: Account Balance End. [2025-03-20 18:00:06] Production.ERROR: CronJobId end 12 [2025-03-20 18:00:06] Production.INFO: ==21808== Releasing lock... [2025-03-20 18:00:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:00:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:00:08] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:00:08 [end_date_ymd] => 2025-03-20 18:00:08 [RateCDR] => 1 ) [2025-03-20 18:00:08] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 15:00:08' and `end` < '2025-03-20 18:00:08' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 18:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724532', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 18:00:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 18:00:10] Production.INFO: ProcessCDR(1,14724532,1,1,2) [2025-03-20 18:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724532,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724532,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:00:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:00:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:00:10] Production.INFO: ==21812== Releasing lock... [2025-03-20 18:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 18:00:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 18:00:16] Production.ERROR: CronJobId end10 [2025-03-20 18:00:16] Production.INFO: ==21806== Releasing lock... [2025-03-20 18:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:00:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:00:19] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:00:19] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:00:19] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:00:19] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:00:19] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:00:19] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:00:19] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:00:19] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:00:19] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:00:19] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:00:19] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:00:19] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:00:19] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:00:19] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:00:19] Production.INFO: call_cost start [2025-03-20 18:00:19] Production.INFO: call_cost end [2025-03-20 18:00:20] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:00:20] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:00:20] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:00:20] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:00:20] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:00:20] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:00:20] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:00:20] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:00:20] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:00:20] Production.INFO: ==21802== Releasing lock... [2025-03-20 18:00:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:00:20] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:00:21] Production.INFO: count ==5393 [2025-03-20 18:00:23] Production.ERROR: pbx CDR StartTime 2025-03-20 15:00:08 - End Time 2025-03-20 18:00:08 [2025-03-20 18:00:23] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724534', 'tblTempUsageDetail_20' ) start [2025-03-20 18:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724534', 'tblTempUsageDetail_20' ) end [2025-03-20 18:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724534', 'tblTempVendorCDR_20' ) start [2025-03-20 18:00:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724534', 'tblTempVendorCDR_20' ) end [2025-03-20 18:00:23] Production.INFO: ProcessCDR(1,14724534,1,1,2) [2025-03-20 18:00:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:00:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:00:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:00:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:00:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724534', 'tblTempUsageDetail_20' ) start [2025-03-20 18:00:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724534', 'tblTempUsageDetail_20' ) end [2025-03-20 18:00:29] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:00:29] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:00:29] Production.INFO: ==21810== Releasing lock... [2025-03-20 18:00:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:00:29] Production.INFO: 68.25 MB #Memory Used# [2025-03-20 22:01:01] Production.INFO: ==21882== Lock acquired, processing the job... [2025-03-20 22:01:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:01:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:01:01] Production.INFO: neon service started [2025-03-20 22:01:01] Production.INFO: neon service started [2025-03-20 22:01:01] Production.INFO: ==21882== Releasing lock... [2025-03-20 22:01:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:01:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:01:02] Production.INFO: ==21895== Lock acquired, processing the job... [2025-03-20 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:01:02] Production.INFO: ==21895== Releasing lock... [2025-03-20 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:01:02] Production.INFO: ==21897== Lock acquired, processing the job... [2025-03-20 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:01:02] Production.INFO: ==21897== Releasing lock... [2025-03-20 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:01:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:01:03] Production.INFO: ==21899== Lock acquired, processing the job... [2025-03-20 18:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:01:03] Production.INFO: ==21903== Lock acquired, processing the job... [2025-03-20 18:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:01:03] Production.INFO: ==21907== Lock acquired, processing the job... [2025-03-20 18:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:01:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:01:04] Production.INFO: ==21901== Lock acquired, processing the job... [2025-03-20 18:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:01:04] Production.INFO: ==21905== Lock acquired, processing the job... [2025-03-20 18:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:01:04] Production.INFO: ==21910== Lock acquired, processing the job... [2025-03-20 18:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:01:04] Production.ERROR: done [2025-03-20 18:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:01:04] Production.INFO: Account Balance Start. [2025-03-20 18:01:04] Production.INFO: CreateAllLog Start [2025-03-20 18: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-03-20 18:01:04] Production.INFO: 117 [2025-03-20 18:01:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:01:04] Production.INFO: count ==23 [2025-03-20 18:01:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724536') start [2025-03-20 18:01:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.ERROR: done [2025-03-20 18:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724536') end [2025-03-20 18:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:01:04] Production.INFO: 1 [2025-03-20 18:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:01:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:01:04] Production.INFO: ==21910== Releasing lock... [2025-03-20 18:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.INFO: ==21901== Releasing lock... [2025-03-20 18:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:01:05] Production.INFO: Total Charge 0 [2025-03-20 18:01:05] Production.INFO: CreateAllLog End [2025-03-20 18:01:05] Production.INFO: Account Balance End. [2025-03-20 18:01:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:01:05] Production.INFO: ==21905== Releasing lock... [2025-03-20 18:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:01:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:01:05 [end_date_ymd] => 2025-03-20 18:01:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:01:05' and `end` < '2025-03-20 18: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-03-20 18:01:16] Production.ERROR: CronJobId end10 [2025-03-20 18:01:16] Production.INFO: ==21903== Releasing lock... [2025-03-20 18:01:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:01:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:01:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:01:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:01:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:01:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:01:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:01:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:01:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:01:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:01:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:01:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:01:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:01:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:01:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:01:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:01:18] Production.INFO: call_cost start [2025-03-20 18:01:18] Production.INFO: call_cost end [2025-03-20 18:01:19] Production.INFO: count ==5329 [2025-03-20 18:01:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:01:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:01:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:01:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:01:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:01:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:01:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:01:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:01:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:01:19] Production.INFO: ==21899== Releasing lock... [2025-03-20 18:01:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:01:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:01:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:01:05 - End Time 2025-03-20 18:01:05 [2025-03-20 18:01:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724539', 'tblTempUsageDetail_20' ) start [2025-03-20 18:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724539', 'tblTempUsageDetail_20' ) end [2025-03-20 18:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724539', 'tblTempVendorCDR_20' ) start [2025-03-20 18:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724539', 'tblTempVendorCDR_20' ) end [2025-03-20 18:01:21] Production.INFO: ProcessCDR(1,14724539,1,1,2) [2025-03-20 18:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:01:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724539', 'tblTempUsageDetail_20' ) start [2025-03-20 18:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724539', 'tblTempUsageDetail_20' ) end [2025-03-20 18:01:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:01:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:01:27] Production.INFO: ==21907== Releasing lock... [2025-03-20 18:01:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:01:27] Production.INFO: 67.75 MB #Memory Used# [2025-03-20 22:02:02] Production.INFO: ==21978== Lock acquired, processing the job... [2025-03-20 22:02:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:02:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:02:02] Production.INFO: neon service started [2025-03-20 22:02:02] Production.INFO: neon service started [2025-03-20 22:02:02] Production.INFO: ==21978== Releasing lock... [2025-03-20 22:02:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:02:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:02:02] Production.INFO: ==21980== Lock acquired, processing the job... [2025-03-20 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:02:03] Production.INFO: ==21980== Releasing lock... [2025-03-20 18:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:02:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:02:03] Production.INFO: ==21982== Lock acquired, processing the job... [2025-03-20 22:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:02:03] Production.INFO: ==21982== Releasing lock... [2025-03-20 22:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:02:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:02:04] Production.INFO: ==21989== Lock acquired, processing the job... [2025-03-20 18:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:02:04] Production.INFO: ==21991== Lock acquired, processing the job... [2025-03-20 18:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:02:04] Production.INFO: Account Balance Start. [2025-03-20 18:02:04] Production.INFO: CreateAllLog Start [2025-03-20 18:02:04] Production.INFO: 117 [2025-03-20 18:02:04] Production.INFO: ==21987== Lock acquired, processing the job... [2025-03-20 18:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:02:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:02:04] Production.INFO: ==21985== Lock acquired, processing the job... [2025-03-20 18:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:04] Production.INFO: ==21993== Lock acquired, processing the job... [2025-03-20 18:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:02:04] Production.INFO: ==21995== Lock acquired, processing the job... [2025-03-20 18:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:02:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:02:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18: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-03-20 18:02:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:02:04] Production.INFO: count ==23 [2025-03-20 18:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724541') start [2025-03-20 18:02:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:04] Production.INFO: ==21987== Releasing lock... [2025-03-20 18:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:02:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:02:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724541') end [2025-03-20 18:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:02:04] Production.INFO: 1 [2025-03-20 18:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:02:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:04] Production.INFO: ==21995== Releasing lock... [2025-03-20 18:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:02:05] Production.ERROR: done [2025-03-20 18:02:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:02:05] Production.INFO: Date 2025-03-15 [2025-03-20 18:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:05] Production.INFO: Date 2025-03-16 [2025-03-20 18:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:05] Production.INFO: Date 2025-03-17 [2025-03-20 18:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:02:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:02:05] Production.INFO: Total Charge 0 [2025-03-20 18:02:05] Production.INFO: CreateAllLog End [2025-03-20 18:02:05] Production.ERROR: done [2025-03-20 18:02:05] Production.INFO: Account Balance End. [2025-03-20 18:02:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:02:05] Production.INFO: ==21991== Releasing lock... [2025-03-20 18:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:02:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:02:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:02:06 [end_date_ymd] => 2025-03-20 18:02:06 [RateCDR] => 1 ) [2025-03-20 18:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 15:02:06' and `end` < '2025-03-20 18:02:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 18:02:15] Production.ERROR: CronJobId end10 [2025-03-20 18:02:15] Production.INFO: ==21989== Releasing lock... [2025-03-20 18:02:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:02:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:02:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:02:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:02:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:02:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:02:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:02:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:02:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:02:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:02:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:02:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:02:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:02:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:02:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:02:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:02:16] Production.INFO: call_cost start [2025-03-20 18:02:16] Production.INFO: call_cost end [2025-03-20 18:02:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:02:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:02:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:02:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:02:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:02:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:02:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:02:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:02:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:02:17] Production.INFO: ==21985== Releasing lock... [2025-03-20 18:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:02:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:02:19] Production.INFO: count ==5310 [2025-03-20 18:02:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:02:06 - End Time 2025-03-20 18:02:06 [2025-03-20 18:02:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724544', 'tblTempUsageDetail_20' ) start [2025-03-20 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724544', 'tblTempUsageDetail_20' ) end [2025-03-20 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724544', 'tblTempVendorCDR_20' ) start [2025-03-20 18:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724544', 'tblTempVendorCDR_20' ) end [2025-03-20 18:02:22] Production.INFO: ProcessCDR(1,14724544,1,1,2) [2025-03-20 18:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:02:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:02:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:02:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724544', 'tblTempUsageDetail_20' ) start [2025-03-20 18:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724544', 'tblTempUsageDetail_20' ) end [2025-03-20 18:02:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:02:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:02:27] Production.INFO: ==21993== Releasing lock... [2025-03-20 18:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:02:27] Production.INFO: 67.75 MB #Memory Used# [2025-03-20 22:03:01] Production.INFO: ==22064== Lock acquired, processing the job... [2025-03-20 22:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:03:02] Production.INFO: neon service started [2025-03-20 22:03:02] Production.INFO: neon service started [2025-03-20 22:03:02] Production.INFO: ==22064== Releasing lock... [2025-03-20 22:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:03:02] Production.INFO: ==22068== Lock acquired, processing the job... [2025-03-20 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:03:02] Production.INFO: ==22066== Lock acquired, processing the job... [2025-03-20 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:03:02] Production.INFO: ==22068== Releasing lock... [2025-03-20 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:03:03] Production.INFO: ==22066== Releasing lock... [2025-03-20 18:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:03:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:03:04] Production.INFO: ==22079== Lock acquired, processing the job... [2025-03-20 18:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:03:04] Production.INFO: ==22073== Lock acquired, processing the job... [2025-03-20 18:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:03:04] Production.INFO: ==22071== Lock acquired, processing the job... [2025-03-20 18:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:03:04] Production.INFO: ==22075== Lock acquired, processing the job... [2025-03-20 18:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:03:04] Production.INFO: ==22077== Lock acquired, processing the job... [2025-03-20 18:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:03:04] Production.INFO: ==22081== Lock acquired, processing the job... [2025-03-20 18:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:03:04] Production.INFO: Account Balance Start. [2025-03-20 18:03:04] Production.INFO: CreateAllLog Start [2025-03-20 18:03:04] Production.INFO: 117 [2025-03-20 18:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:03:04] Production.INFO: Date 2025-03-08 [2025-03-20 18: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-03-20 18:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:03:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:03:04] Production.INFO: count ==23 [2025-03-20 18:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724548') start [2025-03-20 18:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:04] Production.ERROR: done [2025-03-20 18:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:03:04] Production.INFO: ==22073== Releasing lock... [2025-03-20 18:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724548') end [2025-03-20 18:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:03:04] Production.INFO: 1 [2025-03-20 18:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:05] Production.INFO: ==22081== Releasing lock... [2025-03-20 18:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:03:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:03:05] Production.ERROR: done [2025-03-20 18:03:05] Production.INFO: Date 2025-03-16 [2025-03-20 18:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:05] Production.INFO: Date 2025-03-17 [2025-03-20 18:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:03:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:03:05] Production.INFO: Total Charge 0 [2025-03-20 18:03:05] Production.INFO: CreateAllLog End [2025-03-20 18:03:05] Production.INFO: Account Balance End. [2025-03-20 18:03:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:03:05] Production.INFO: ==22077== Releasing lock... [2025-03-20 18:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:03:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:03:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:03:06 [end_date_ymd] => 2025-03-20 18:03:06 [RateCDR] => 1 ) [2025-03-20 18:03:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 15:03:06' and `end` < '2025-03-20 18:03:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 18:03:16] Production.ERROR: CronJobId end10 [2025-03-20 18:03:16] Production.INFO: ==22075== Releasing lock... [2025-03-20 18:03:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:03:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:03:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:03:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:03:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:03:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:03:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:03:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:03:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:03:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:03:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:03:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:03:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:03:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:03:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:03:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:03:17] Production.INFO: call_cost start [2025-03-20 18:03:17] Production.INFO: call_cost end [2025-03-20 18:03:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:03:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:03:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:03:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:03:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:03:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:03:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:03:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:03:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:03:18] Production.INFO: ==22071== Releasing lock... [2025-03-20 18:03:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:03:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:03:19] Production.INFO: count ==5295 [2025-03-20 18:03:22] Production.ERROR: pbx CDR StartTime 2025-03-20 15:03:06 - End Time 2025-03-20 18:03:06 [2025-03-20 18:03:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724549', 'tblTempUsageDetail_20' ) start [2025-03-20 18:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724549', 'tblTempUsageDetail_20' ) end [2025-03-20 18:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724549', 'tblTempVendorCDR_20' ) start [2025-03-20 18:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724549', 'tblTempVendorCDR_20' ) end [2025-03-20 18:03:22] Production.INFO: ProcessCDR(1,14724549,1,1,2) [2025-03-20 18:03:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:03:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:03:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724549', 'tblTempUsageDetail_20' ) start [2025-03-20 18:03:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724549', 'tblTempUsageDetail_20' ) end [2025-03-20 18:03:28] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:03:28] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:03:28] Production.INFO: ==22079== Releasing lock... [2025-03-20 18:03:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:03:28] Production.INFO: 67.5 MB #Memory Used# [2025-03-20 22:04:01] Production.INFO: ==22154== Lock acquired, processing the job... [2025-03-20 22:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:04:01] Production.INFO: neon service started [2025-03-20 22:04:01] Production.INFO: neon service started [2025-03-20 22:04:01] Production.INFO: ==22154== Releasing lock... [2025-03-20 22:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:04:01] Production.INFO: ==22156== Lock acquired, processing the job... [2025-03-20 18:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:04:02] Production.INFO: ==22158== Lock acquired, processing the job... [2025-03-20 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:04:02] Production.INFO: ==22158== Releasing lock... [2025-03-20 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:04:02] Production.INFO: ==22156== Releasing lock... [2025-03-20 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:04:03] Production.INFO: ==22163== Lock acquired, processing the job... [2025-03-20 18:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:04:03] Production.INFO: ==22165== Lock acquired, processing the job... [2025-03-20 18:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:04:03] Production.INFO: ==22171== Lock acquired, processing the job... [2025-03-20 18:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:04:03] Production.INFO: ==22161== Lock acquired, processing the job... [2025-03-20 18:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18: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-03-20 18:04:03] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:04:03] Production.INFO: count ==23 [2025-03-20 18:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724551') start [2025-03-20 18:04:03] Production.INFO: ==22163== Releasing lock... [2025-03-20 18:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:04:03] Production.INFO: ==22167== Lock acquired, processing the job... [2025-03-20 18:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:04:03] Production.INFO: ==22169== Lock acquired, processing the job... [2025-03-20 18:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724551') end [2025-03-20 18:04:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:04:03] Production.INFO: 1 [2025-03-20 18:04:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:04:03] Production.INFO: ==22171== Releasing lock... [2025-03-20 18:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:04:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:04:03] Production.INFO: Account Balance Start. [2025-03-20 18:04:03] Production.INFO: CreateAllLog Start [2025-03-20 18:04:03] Production.INFO: 117 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.ERROR: done [2025-03-20 18:04:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:04:04] Production.INFO: Total Charge 0 [2025-03-20 18:04:04] Production.INFO: CreateAllLog End [2025-03-20 18:04:04] Production.ERROR: done [2025-03-20 18:04:04] Production.INFO: Account Balance End. [2025-03-20 18:04:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:04:04] Production.INFO: ==22167== Releasing lock... [2025-03-20 18:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:04:05 [end_date_ymd] => 2025-03-20 18:04:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:04:05' and `end` < '2025-03-20 18: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-03-20 18:04:15] Production.ERROR: CronJobId end10 [2025-03-20 18:04:15] Production.INFO: ==22165== Releasing lock... [2025-03-20 18:04:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:04:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:04:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:04:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:04:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:04:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:04:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:04:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:04:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:04:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:04:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:04:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:04:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:04:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:04:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:04:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:04:17] Production.INFO: call_cost start [2025-03-20 18:04:17] Production.INFO: call_cost end [2025-03-20 18:04:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:04:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:04:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:04:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:04:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:04:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:04:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:04:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:04:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:04:18] Production.INFO: ==22161== Releasing lock... [2025-03-20 18:04:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:04:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:04:18] Production.INFO: count ==5266 [2025-03-20 18:04:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:04:05 - End Time 2025-03-20 18:04:05 [2025-03-20 18:04:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724554', 'tblTempUsageDetail_20' ) start [2025-03-20 18:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724554', 'tblTempUsageDetail_20' ) end [2025-03-20 18:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724554', 'tblTempVendorCDR_20' ) start [2025-03-20 18:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724554', 'tblTempVendorCDR_20' ) end [2025-03-20 18:04:21] Production.INFO: ProcessCDR(1,14724554,1,1,2) [2025-03-20 18:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:04:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724554', 'tblTempUsageDetail_20' ) start [2025-03-20 18:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724554', 'tblTempUsageDetail_20' ) end [2025-03-20 18:04:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:04:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:04:27] Production.INFO: ==22169== Releasing lock... [2025-03-20 18:04:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:04:27] Production.INFO: 67.5 MB #Memory Used# [2025-03-20 22:05:01] Production.INFO: ==22237== Lock acquired, processing the job... [2025-03-20 22:05:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:05:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:05:01] Production.INFO: neon service started [2025-03-20 22:05:01] Production.INFO: neon service started [2025-03-20 22:05:01] Production.INFO: ==22237== Releasing lock... [2025-03-20 22:05:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:05:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:05:02] Production.INFO: ==22239== Lock acquired, processing the job... [2025-03-20 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:05:02] Production.INFO: ==22239== Releasing lock... [2025-03-20 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:05:02] Production.INFO: ==22241== Lock acquired, processing the job... [2025-03-20 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:05:02] Production.INFO: ==22241== Releasing lock... [2025-03-20 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:05:03] Production.INFO: ==22244== Lock acquired, processing the job... [2025-03-20 18:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:05:03] Production.INFO: ==22252== Lock acquired, processing the job... [2025-03-20 18:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:05:03] Production.INFO: ==22254== Lock acquired, processing the job... [2025-03-20 18:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:05:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:05:03] Production.INFO: ==22246== Lock acquired, processing the job... [2025-03-20 18:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18: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-03-20 18:05:03] Production.INFO: ==22248== Lock acquired, processing the job... [2025-03-20 18:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:05:03] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:05:04] Production.INFO: count ==23 [2025-03-20 18:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724556') start [2025-03-20 18:05:04] Production.INFO: ==22250== Lock acquired, processing the job... [2025-03-20 18:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:05:04] Production.INFO: Account Balance Start. [2025-03-20 18:05:04] Production.INFO: CreateAllLog Start [2025-03-20 18:05:04] Production.INFO: 117 [2025-03-20 18:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724556') end [2025-03-20 18:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:05:04] Production.INFO: 1 [2025-03-20 18:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:05:04] Production.INFO: ==22254== Releasing lock... [2025-03-20 18:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:05:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.ERROR: done [2025-03-20 18:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:05:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: ==22246== Releasing lock... [2025-03-20 18:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:05:04] Production.ERROR: done [2025-03-20 18:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:05:04] Production.INFO: Total Charge 0 [2025-03-20 18:05:04] Production.INFO: CreateAllLog End [2025-03-20 18:05:05] Production.INFO: Account Balance End. [2025-03-20 18:05:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:05:05] Production.INFO: ==22250== Releasing lock... [2025-03-20 18:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:05:05 [end_date_ymd] => 2025-03-20 18:05:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:05:05' and `end` < '2025-03-20 18: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-03-20 18:05:13] Production.ERROR: CronJobId end10 [2025-03-20 18:05:13] Production.INFO: ==22248== Releasing lock... [2025-03-20 18:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:05:15] Production.INFO: call_cost start [2025-03-20 18:05:15] Production.INFO: call_cost end [2025-03-20 18:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:05:16] Production.INFO: ==22244== Releasing lock... [2025-03-20 18:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:05:18] Production.INFO: count ==5245 [2025-03-20 18:05:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:05:05 - End Time 2025-03-20 18:05:05 [2025-03-20 18:05:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724559', 'tblTempUsageDetail_20' ) start [2025-03-20 18:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724559', 'tblTempUsageDetail_20' ) end [2025-03-20 18:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724559', 'tblTempVendorCDR_20' ) start [2025-03-20 18:05:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724559', 'tblTempVendorCDR_20' ) end [2025-03-20 18:05:21] Production.INFO: ProcessCDR(1,14724559,1,1,2) [2025-03-20 18:05:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:05:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:05:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:05:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724559', 'tblTempUsageDetail_20' ) start [2025-03-20 18:05:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724559', 'tblTempUsageDetail_20' ) end [2025-03-20 18:05:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:05:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:05:26] Production.INFO: ==22252== Releasing lock... [2025-03-20 18:05:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:05:26] Production.INFO: 67.25 MB #Memory Used# [2025-03-20 22:06:01] Production.INFO: ==22311== Lock acquired, processing the job... [2025-03-20 22:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:06:01] Production.INFO: neon service started [2025-03-20 22:06:01] Production.INFO: neon service started [2025-03-20 22:06:01] Production.INFO: ==22311== Releasing lock... [2025-03-20 22:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:06:02] Production.INFO: ==22313== Lock acquired, processing the job... [2025-03-20 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:06:02] Production.INFO: ==22315== Lock acquired, processing the job... [2025-03-20 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:06:02] Production.INFO: ==22315== Releasing lock... [2025-03-20 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:06:02] Production.INFO: ==22313== Releasing lock... [2025-03-20 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:06:03] Production.INFO: ==22328== Lock acquired, processing the job... [2025-03-20 18:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:06:03] Production.INFO: ==22324== Lock acquired, processing the job... [2025-03-20 18:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:06:03] Production.INFO: ==22320== Lock acquired, processing the job... [2025-03-20 18:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18: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-03-20 18:06:03] Production.INFO: Account Balance Start. [2025-03-20 18:06:03] Production.INFO: CreateAllLog Start [2025-03-20 18:06:03] Production.INFO: count ==12 [2025-03-20 18:06:03] Production.INFO: 117 [2025-03-20 18: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-03-20 18:06:03] Production.INFO: count ==23 [2025-03-20 18:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724560') start [2025-03-20 18:06:03] Production.INFO: ==22318== Lock acquired, processing the job... [2025-03-20 18:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:06:03] Production.INFO: ==22322== Lock acquired, processing the job... [2025-03-20 18:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:06:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:03] Production.INFO: ==22326== Lock acquired, processing the job... [2025-03-20 18:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:06:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:06:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724560') end [2025-03-20 18:06:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:06:03] Production.INFO: 1 [2025-03-20 18:06:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:06:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:03] Production.INFO: Date 2025-03-12 [2025-03-20 18:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:03] Production.INFO: ==22328== Releasing lock... [2025-03-20 18:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:06:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:06:03] Production.INFO: Date 2025-03-13 [2025-03-20 18:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:03] Production.INFO: ==22320== Releasing lock... [2025-03-20 18:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:06:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:06:03] Production.INFO: Date 2025-03-14 [2025-03-20 18:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:04] Production.ERROR: done [2025-03-20 18:06:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:06:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:04] Production.ERROR: done [2025-03-20 18:06:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:06:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:06:04] Production.INFO: Total Charge 0 [2025-03-20 18:06:04] Production.INFO: CreateAllLog End [2025-03-20 18:06:04] Production.INFO: Account Balance End. [2025-03-20 18:06:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:06:04] Production.INFO: ==22324== Releasing lock... [2025-03-20 18:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:06:05 [end_date_ymd] => 2025-03-20 18:06:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:06:05' and `end` < '2025-03-20 18: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-03-20 18:06:11] Production.ERROR: CronJobId end10 [2025-03-20 18:06:11] Production.INFO: ==22322== Releasing lock... [2025-03-20 18:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:06:11] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:06:14] Production.INFO: call_cost start [2025-03-20 18:06:14] Production.INFO: call_cost end [2025-03-20 18:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:06:15] Production.INFO: ==22318== Releasing lock... [2025-03-20 18:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:06:18] Production.INFO: count ==5216 [2025-03-20 18:06:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:06:05 - End Time 2025-03-20 18:06:05 [2025-03-20 18:06:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724564', 'tblTempUsageDetail_20' ) start [2025-03-20 18:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724564', 'tblTempUsageDetail_20' ) end [2025-03-20 18:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724564', 'tblTempVendorCDR_20' ) start [2025-03-20 18:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724564', 'tblTempVendorCDR_20' ) end [2025-03-20 18:06:20] Production.INFO: ProcessCDR(1,14724564,1,1,2) [2025-03-20 18:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:06:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:06:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:06:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724564', 'tblTempUsageDetail_20' ) start [2025-03-20 18:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724564', 'tblTempUsageDetail_20' ) end [2025-03-20 18:06:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:06:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:06:25] Production.INFO: ==22326== Releasing lock... [2025-03-20 18:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:06:25] Production.INFO: 67 MB #Memory Used# [2025-03-20 22:07:01] Production.INFO: ==22391== Lock acquired, processing the job... [2025-03-20 22:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:07:01] Production.INFO: neon service started [2025-03-20 22:07:01] Production.INFO: neon service started [2025-03-20 22:07:01] Production.INFO: ==22391== Releasing lock... [2025-03-20 22:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:07:02] Production.INFO: ==22393== Lock acquired, processing the job... [2025-03-20 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:07:02] Production.INFO: ==22395== Lock acquired, processing the job... [2025-03-20 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:07:02] Production.INFO: ==22393== Releasing lock... [2025-03-20 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:07:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:07:02] Production.INFO: ==22395== Releasing lock... [2025-03-20 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:07:03] Production.INFO: ==22397== Lock acquired, processing the job... [2025-03-20 18:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:07:03] Production.INFO: ==22399== Lock acquired, processing the job... [2025-03-20 18:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:07:03] Production.INFO: ==22403== Lock acquired, processing the job... [2025-03-20 18:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:07:03] Production.INFO: ==22401== Lock acquired, processing the job... [2025-03-20 18:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:07:03] Production.INFO: Account Balance Start. [2025-03-20 18:07:03] Production.INFO: CreateAllLog Start [2025-03-20 18:07:03] Production.INFO: 117 [2025-03-20 18:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:07:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:03] Production.INFO: ==22406== Lock acquired, processing the job... [2025-03-20 18:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:07:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:03] Production.INFO: ==22409== Lock acquired, processing the job... [2025-03-20 18:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:07:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:07:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:03] Production.INFO: Date 2025-03-12 [2025-03-20 18:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:03] Production.INFO: Date 2025-03-13 [2025-03-20 18:07:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:04] Production.INFO: ==22399== Releasing lock... [2025-03-20 18:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18: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-03-20 18:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:07:04] Production.INFO: count ==12 [2025-03-20 18:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:07:04] Production.INFO: count ==23 [2025-03-20 18:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724568') start [2025-03-20 18:07:04] Production.ERROR: done [2025-03-20 18:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724568') end [2025-03-20 18:07:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:07:04] Production.INFO: 1 [2025-03-20 18:07:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:07:04] Production.INFO: ==22409== Releasing lock... [2025-03-20 18:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:07:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:07:04] Production.ERROR: done [2025-03-20 18:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:07:04] Production.INFO: Total Charge 0 [2025-03-20 18:07:04] Production.INFO: CreateAllLog End [2025-03-20 18:07:04] Production.INFO: Account Balance End. [2025-03-20 18:07:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:07:04] Production.INFO: ==22403== Releasing lock... [2025-03-20 18:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:07:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:07:05 [end_date_ymd] => 2025-03-20 18:07:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:07:05' and `end` < '2025-03-20 18: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-03-20 18:07:14] Production.ERROR: CronJobId end10 [2025-03-20 18:07:14] Production.INFO: ==22401== Releasing lock... [2025-03-20 18:07:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:07:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:07:16] Production.INFO: call_cost start [2025-03-20 18:07:16] Production.INFO: call_cost end [2025-03-20 18:07:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:07:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:07:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:07:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:07:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:07:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:07:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:07:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:07:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:07:17] Production.INFO: ==22397== Releasing lock... [2025-03-20 18:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:07:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:07:18] Production.INFO: count ==5203 [2025-03-20 18:07:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:07:05 - End Time 2025-03-20 18:07:05 [2025-03-20 18:07:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724569', 'tblTempUsageDetail_20' ) start [2025-03-20 18:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724569', 'tblTempUsageDetail_20' ) end [2025-03-20 18:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724569', 'tblTempVendorCDR_20' ) start [2025-03-20 18:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724569', 'tblTempVendorCDR_20' ) end [2025-03-20 18:07:20] Production.INFO: ProcessCDR(1,14724569,1,1,2) [2025-03-20 18:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:07:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:07:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724569', 'tblTempUsageDetail_20' ) start [2025-03-20 18:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724569', 'tblTempUsageDetail_20' ) end [2025-03-20 18:07:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:07:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:07:24] Production.INFO: ==22406== Releasing lock... [2025-03-20 18:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:07:24] Production.INFO: 67 MB #Memory Used# [2025-03-20 22:08:02] Production.INFO: ==22493== Lock acquired, processing the job... [2025-03-20 22:08:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:08:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:08:02] Production.INFO: neon service started [2025-03-20 22:08:02] Production.INFO: neon service started [2025-03-20 22:08:02] Production.INFO: ==22493== Releasing lock... [2025-03-20 22:08:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:08:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:08:02] Production.INFO: ==22495== Lock acquired, processing the job... [2025-03-20 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:08:03] Production.INFO: ==22495== Releasing lock... [2025-03-20 18:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:08:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:08:03] Production.INFO: ==22497== Lock acquired, processing the job... [2025-03-20 22:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:08:03] Production.INFO: ==22497== Releasing lock... [2025-03-20 22:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:08:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:08:04] Production.INFO: ==22506== Lock acquired, processing the job... [2025-03-20 18:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:08:04] Production.INFO: ==22510== Lock acquired, processing the job... [2025-03-20 18:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:08:04] Production.INFO: ==22500== Lock acquired, processing the job... [2025-03-20 18:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:08:04] Production.INFO: Account Balance Start. [2025-03-20 18:08:04] Production.INFO: CreateAllLog Start [2025-03-20 18:08:04] Production.INFO: 117 [2025-03-20 18:08:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18: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-03-20 18:08:04] Production.INFO: count ==12 [2025-03-20 18:08:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:08:04] Production.INFO: count ==23 [2025-03-20 18:08:04] Production.INFO: ==22502== Lock acquired, processing the job... [2025-03-20 18:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:08:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.INFO: ==22504== Lock acquired, processing the job... [2025-03-20 18:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724571') start [2025-03-20 18:08:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.INFO: ==22508== Lock acquired, processing the job... [2025-03-20 18:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724571') end [2025-03-20 18:08:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:08:04] Production.INFO: 1 [2025-03-20 18:08:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:08:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:08:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.INFO: ==22510== Releasing lock... [2025-03-20 18:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:08:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:08:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:08:04] Production.INFO: Total Charge 0 [2025-03-20 18:08:04] Production.INFO: CreateAllLog End [2025-03-20 18:08:04] Production.INFO: ==22502== Releasing lock... [2025-03-20 18:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:08:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:08:05] Production.INFO: Account Balance End. [2025-03-20 18:08:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:08:05] Production.INFO: ==22506== Releasing lock... [2025-03-20 18:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:08:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:08:05] Production.ERROR: done [2025-03-20 18:08:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:08:05] Production.ERROR: done [2025-03-20 18:08:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:08:06 [end_date_ymd] => 2025-03-20 18:08:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:08:06' and `end` < '2025-03-20 18: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-03-20 18:08:15] Production.ERROR: CronJobId end10 [2025-03-20 18:08:15] Production.INFO: ==22504== Releasing lock... [2025-03-20 18:08:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:08:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:08:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:08:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:08:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:08:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:08:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:08:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:08:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:08:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:08:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:08:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:08:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:08:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:08:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:08:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:08:16] Production.INFO: call_cost start [2025-03-20 18:08:16] Production.INFO: call_cost end [2025-03-20 18:08:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:08:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:08:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:08:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:08:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:08:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:08:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:08:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:08:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:08:17] Production.INFO: ==22500== Releasing lock... [2025-03-20 18:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:08:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:08:19] Production.INFO: count ==5198 [2025-03-20 18:08:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:08:06 - End Time 2025-03-20 18:08:06 [2025-03-20 18:08:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724574', 'tblTempUsageDetail_20' ) start [2025-03-20 18:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724574', 'tblTempUsageDetail_20' ) end [2025-03-20 18:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724574', 'tblTempVendorCDR_20' ) start [2025-03-20 18:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724574', 'tblTempVendorCDR_20' ) end [2025-03-20 18:08:22] Production.INFO: ProcessCDR(1,14724574,1,1,2) [2025-03-20 18:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724574', 'tblTempUsageDetail_20' ) start [2025-03-20 18:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724574', 'tblTempUsageDetail_20' ) end [2025-03-20 18:08:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:08:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:08:27] Production.INFO: ==22508== Releasing lock... [2025-03-20 18:08:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:08:27] Production.INFO: 67 MB #Memory Used# [2025-03-20 22:09:01] Production.INFO: ==22578== Lock acquired, processing the job... [2025-03-20 22:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:09:01] Production.INFO: neon service started [2025-03-20 22:09:01] Production.INFO: neon service started [2025-03-20 22:09:01] Production.INFO: ==22578== Releasing lock... [2025-03-20 22:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:09:02] Production.INFO: ==22580== Lock acquired, processing the job... [2025-03-20 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:09:02] Production.INFO: ==22582== Lock acquired, processing the job... [2025-03-20 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:09:02] Production.INFO: ==22580== Releasing lock... [2025-03-20 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:09:02] Production.INFO: ==22582== Releasing lock... [2025-03-20 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:09:03] Production.INFO: ==22585== Lock acquired, processing the job... [2025-03-20 18:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:09:03] Production.INFO: ==22591== Lock acquired, processing the job... [2025-03-20 18:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:09:03] Production.INFO: ==22589== Lock acquired, processing the job... [2025-03-20 18:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:09:03] Production.INFO: ==22587== Lock acquired, processing the job... [2025-03-20 18:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:09:03] Production.INFO: Account Balance Start. [2025-03-20 18:09:03] Production.INFO: CreateAllLog Start [2025-03-20 18:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:09:03] Production.INFO: 117 [2025-03-20 18:09:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:09:04] Production.INFO: ==22593== Lock acquired, processing the job... [2025-03-20 18:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:09:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:09:04] Production.INFO: ==22595== Lock acquired, processing the job... [2025-03-20 18:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:09:04] Production.INFO: ==22587== Releasing lock... [2025-03-20 18:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:09:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:09:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:09:04] Production.INFO: count ==12 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:09:04] Production.INFO: count ==23 [2025-03-20 18:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724578') start [2025-03-20 18:09:04] Production.ERROR: done [2025-03-20 18:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724578') end [2025-03-20 18:09:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:09:04] Production.INFO: 1 [2025-03-20 18:09:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:09:04] Production.INFO: ==22595== Releasing lock... [2025-03-20 18:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:09:04] Production.ERROR: done [2025-03-20 18:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:09:04] Production.INFO: Total Charge 0 [2025-03-20 18:09:04] Production.INFO: CreateAllLog End [2025-03-20 18:09:05] Production.INFO: Account Balance End. [2025-03-20 18:09:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:09:05] Production.INFO: ==22591== Releasing lock... [2025-03-20 18:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:09:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:09:05 [end_date_ymd] => 2025-03-20 18:09:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:09:05' and `end` < '2025-03-20 18: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-03-20 18:09:14] Production.ERROR: CronJobId end10 [2025-03-20 18:09:14] Production.INFO: ==22589== Releasing lock... [2025-03-20 18:09:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:09:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:09:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:09:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:09:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:09:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:09:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:09:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:09:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:09:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:09:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:09:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:09:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:09:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:09:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:09:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:09:17] Production.INFO: call_cost start [2025-03-20 18:09:17] Production.INFO: call_cost end [2025-03-20 18:09:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:09:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:09:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:09:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:09:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:09:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:09:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:09:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:09:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:09:18] Production.INFO: ==22585== Releasing lock... [2025-03-20 18:09:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:09:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:09:19] Production.INFO: count ==5197 [2025-03-20 18:09:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:09:05 - End Time 2025-03-20 18:09:05 [2025-03-20 18:09:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724579', 'tblTempUsageDetail_20' ) start [2025-03-20 18:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724579', 'tblTempUsageDetail_20' ) end [2025-03-20 18:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724579', 'tblTempVendorCDR_20' ) start [2025-03-20 18:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724579', 'tblTempVendorCDR_20' ) end [2025-03-20 18:09:21] Production.INFO: ProcessCDR(1,14724579,1,1,2) [2025-03-20 18:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724579', 'tblTempUsageDetail_20' ) start [2025-03-20 18:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724579', 'tblTempUsageDetail_20' ) end [2025-03-20 18:09:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:09:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:09:26] Production.INFO: ==22593== Releasing lock... [2025-03-20 18:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:09:26] Production.INFO: 67 MB #Memory Used# [2025-03-20 22:10:02] Production.INFO: ==22671== Lock acquired, processing the job... [2025-03-20 22:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:10:02] Production.INFO: neon service started [2025-03-20 22:10:02] Production.INFO: neon service started [2025-03-20 22:10:02] Production.INFO: ==22671== Releasing lock... [2025-03-20 22:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:10:02] Production.INFO: ==22674== Lock acquired, processing the job... [2025-03-20 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:10:02] Production.INFO: ==22676== Lock acquired, processing the job... [2025-03-20 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:10:02] Production.INFO: ==22676== Releasing lock... [2025-03-20 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:10:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:10:03] Production.INFO: ==22674== Releasing lock... [2025-03-20 18:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:10:04] Production.INFO: ==22679== Lock acquired, processing the job... [2025-03-20 18:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 18:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 18:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 18:10:04] Production.INFO: ==22679== Releasing lock... [2025-03-20 18:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 18:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 18:10:04] Production.INFO: ==22681== Lock acquired, processing the job... [2025-03-20 18:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:10:04] Production.INFO: ==22685== Lock acquired, processing the job... [2025-03-20 18:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:10:04] Production.INFO: ==22691== Lock acquired, processing the job... [2025-03-20 18:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 18:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:10:04] Production.INFO: ==22683== Lock acquired, processing the job... [2025-03-20 18:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:10:04] Production.INFO: ==22687== Lock acquired, processing the job... [2025-03-20 18:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:10:04] Production.INFO: ==22693== Lock acquired, processing the job... [2025-03-20 18:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:10:04] Production.INFO: ==22689== Lock acquired, processing the job... [2025-03-20 18:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:10:04] Production.INFO: Account Balance Start. [2025-03-20 18:10:04] Production.INFO: CreateAllLog Start [2025-03-20 18:10:04] Production.INFO: 117 [2025-03-20 18: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-03-20 18:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:10:04] Production.INFO: count ==12 [2025-03-20 18:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.ERROR: done [2025-03-20 18:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 18:10:05] Production.INFO: count ==23 [2025-03-20 18:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724582') start [2025-03-20 18:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 18:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724584', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 18:10:05] Production.INFO: Date 2025-03-09 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.INFO: Date 2025-03-10 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724582') end [2025-03-20 18:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:10:05] Production.INFO: 1 [2025-03-20 18:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:10:05] Production.INFO: Date 2025-03-11 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.INFO: Date 2025-03-12 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.ERROR: done [2025-03-20 18:10:05] Production.INFO: ==22693== Releasing lock... [2025-03-20 18:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:10:05] Production.INFO: Date 2025-03-13 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:10:05] Production.INFO: Date 2025-03-14 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.INFO: ==22683== Releasing lock... [2025-03-20 18:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:10:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:10:05] Production.ERROR: done [2025-03-20 18:10:05] Production.INFO: Date 2025-03-15 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.INFO: Date 2025-03-16 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.INFO: Date 2025-03-17 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:10:05] Production.INFO: Total Charge 0 [2025-03-20 18:10:05] Production.INFO: CreateAllLog End [2025-03-20 18:10:05] Production.INFO: Account Balance End. [2025-03-20 18:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:10:05] Production.INFO: ==22687== Releasing lock... [2025-03-20 18:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:10:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:10:07 [end_date_ymd] => 2025-03-20 18:10:07 [RateCDR] => 1 ) [2025-03-20 18:10:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 15:10:07' and `end` < '2025-03-20 18:10:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 18:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724584', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 18:10:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 18:10:10] Production.INFO: ProcessCDR(1,14724584,1,1,2) [2025-03-20 18:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724584,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724584,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:10:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:10:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:10:10] Production.INFO: ==22691== Releasing lock... [2025-03-20 18:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 18:10:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 18:10:15] Production.ERROR: CronJobId end10 [2025-03-20 18:10:15] Production.INFO: ==22685== Releasing lock... [2025-03-20 18:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:10:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:10:18] Production.INFO: call_cost start [2025-03-20 18:10:18] Production.INFO: call_cost end [2025-03-20 18:10:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:10:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:10:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:10:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:10:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:10:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:10:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:10:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:10:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:10:19] Production.INFO: ==22681== Releasing lock... [2025-03-20 18:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:10:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:10:20] Production.INFO: count ==5180 [2025-03-20 18:10:22] Production.ERROR: pbx CDR StartTime 2025-03-20 15:10:07 - End Time 2025-03-20 18:10:07 [2025-03-20 18:10:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724585', 'tblTempUsageDetail_20' ) start [2025-03-20 18:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724585', 'tblTempUsageDetail_20' ) end [2025-03-20 18:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724585', 'tblTempVendorCDR_20' ) start [2025-03-20 18:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724585', 'tblTempVendorCDR_20' ) end [2025-03-20 18:10:22] Production.INFO: ProcessCDR(1,14724585,1,1,2) [2025-03-20 18:10:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:10:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:10:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:10:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:10:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724585', 'tblTempUsageDetail_20' ) start [2025-03-20 18:10:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724585', 'tblTempUsageDetail_20' ) end [2025-03-20 18:10:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:10:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:10:27] Production.INFO: ==22689== Releasing lock... [2025-03-20 18:10:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:10:27] Production.INFO: 66.75 MB #Memory Used# [2025-03-20 22:11:01] Production.INFO: ==22754== Lock acquired, processing the job... [2025-03-20 22:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:11:01] Production.INFO: neon service started [2025-03-20 22:11:01] Production.INFO: neon service started [2025-03-20 22:11:01] Production.INFO: ==22754== Releasing lock... [2025-03-20 22:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:11:02] Production.INFO: ==22756== Lock acquired, processing the job... [2025-03-20 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:11:02] Production.INFO: ==22758== Lock acquired, processing the job... [2025-03-20 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:11:02] Production.INFO: ==22758== Releasing lock... [2025-03-20 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:11:02] Production.INFO: ==22756== Releasing lock... [2025-03-20 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:11:03] Production.INFO: ==22763== Lock acquired, processing the job... [2025-03-20 18:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:11:03] Production.INFO: ==22765== Lock acquired, processing the job... [2025-03-20 18:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:11:03] Production.INFO: ==22771== Lock acquired, processing the job... [2025-03-20 18:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:11:03] Production.INFO: ==22763== Releasing lock... [2025-03-20 18:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:11:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:11:03] Production.INFO: ==22761== Lock acquired, processing the job... [2025-03-20 18:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18: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-03-20 18:11:03] Production.INFO: ==22767== Lock acquired, processing the job... [2025-03-20 18:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:11:03] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:11:03] Production.INFO: count ==23 [2025-03-20 18:11:03] Production.INFO: ==22769== Lock acquired, processing the job... [2025-03-20 18:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724587') start [2025-03-20 18:11:03] Production.INFO: Account Balance Start. [2025-03-20 18:11:03] Production.INFO: CreateAllLog Start [2025-03-20 18:11:03] Production.INFO: 117 [2025-03-20 18:11:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724587') end [2025-03-20 18:11:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:11:04] Production.INFO: 1 [2025-03-20 18:11:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:11:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.INFO: ==22771== Releasing lock... [2025-03-20 18:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:11:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:11:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.ERROR: done [2025-03-20 18:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:11:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.ERROR: done [2025-03-20 18:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:11:04] Production.INFO: Total Charge 0 [2025-03-20 18:11:04] Production.INFO: CreateAllLog End [2025-03-20 18:11:05] Production.INFO: Account Balance End. [2025-03-20 18:11:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:11:05] Production.INFO: ==22767== Releasing lock... [2025-03-20 18:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:11:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:11:05 [end_date_ymd] => 2025-03-20 18:11:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:11:05' and `end` < '2025-03-20 18: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-03-20 18:11:14] Production.ERROR: CronJobId end10 [2025-03-20 18:11:14] Production.INFO: ==22765== Releasing lock... [2025-03-20 18:11:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:11:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:11:15] Production.INFO: call_cost start [2025-03-20 18:11:15] Production.INFO: call_cost end [2025-03-20 18:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:11:16] Production.INFO: ==22761== Releasing lock... [2025-03-20 18:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:11:19] Production.INFO: count ==5121 [2025-03-20 18:11:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:11:05 - End Time 2025-03-20 18:11:05 [2025-03-20 18:11:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724590', 'tblTempUsageDetail_20' ) start [2025-03-20 18:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724590', 'tblTempUsageDetail_20' ) end [2025-03-20 18:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724590', 'tblTempVendorCDR_20' ) start [2025-03-20 18:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724590', 'tblTempVendorCDR_20' ) end [2025-03-20 18:11:21] Production.INFO: ProcessCDR(1,14724590,1,1,2) [2025-03-20 18:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:11:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:11:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:11:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724590', 'tblTempUsageDetail_20' ) start [2025-03-20 18:11:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724590', 'tblTempUsageDetail_20' ) end [2025-03-20 18:11:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:11:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:11:26] Production.INFO: ==22769== Releasing lock... [2025-03-20 18:11:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:11:26] Production.INFO: 66.25 MB #Memory Used# [2025-03-20 22:12:02] Production.INFO: ==22841== Lock acquired, processing the job... [2025-03-20 22:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:12:02] Production.INFO: neon service started [2025-03-20 22:12:02] Production.INFO: neon service started [2025-03-20 22:12:02] Production.INFO: ==22841== Releasing lock... [2025-03-20 22:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:12:02] Production.INFO: ==22843== Lock acquired, processing the job... [2025-03-20 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:12:02] Production.INFO: ==22845== Lock acquired, processing the job... [2025-03-20 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:12:03] Production.INFO: ==22845== Releasing lock... [2025-03-20 22:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:12:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:12:03] Production.INFO: ==22843== Releasing lock... [2025-03-20 18:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:12:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:12:04] Production.INFO: ==22856== Lock acquired, processing the job... [2025-03-20 18:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:12:04] Production.INFO: ==22860== Lock acquired, processing the job... [2025-03-20 18:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:12:04] Production.INFO: Account Balance Start. [2025-03-20 18:12:04] Production.INFO: CreateAllLog Start [2025-03-20 18:12:04] Production.INFO: 117 [2025-03-20 18:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 18: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-03-20 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:04] Production.INFO: ==22850== Lock acquired, processing the job... [2025-03-20 18:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:12:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:12:04] Production.INFO: count ==23 [2025-03-20 18:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724592') start [2025-03-20 18:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:04] Production.INFO: ==22852== Lock acquired, processing the job... [2025-03-20 18:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:04] Production.INFO: ==22854== Lock acquired, processing the job... [2025-03-20 18:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:04] Production.INFO: ==22858== Lock acquired, processing the job... [2025-03-20 18:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724592') end [2025-03-20 18:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:12:04] Production.INFO: 1 [2025-03-20 18:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:12:04] Production.INFO: ==22860== Releasing lock... [2025-03-20 18:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:05] Production.INFO: ==22852== Releasing lock... [2025-03-20 18:12:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:12:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:12:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:05] Production.ERROR: done [2025-03-20 18:12:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:12:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:12:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:12:05] Production.ERROR: done [2025-03-20 18:12:05] Production.INFO: Total Charge 0 [2025-03-20 18:12:05] Production.INFO: CreateAllLog End [2025-03-20 18:12:05] Production.INFO: Account Balance End. [2025-03-20 18:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:12:05] Production.INFO: ==22856== Releasing lock... [2025-03-20 18:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:12:06 [end_date_ymd] => 2025-03-20 18:12:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:12:06' and `end` < '2025-03-20 18: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-03-20 18:12:15] Production.ERROR: CronJobId end10 [2025-03-20 18:12:15] Production.INFO: ==22854== Releasing lock... [2025-03-20 18:12:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:12:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:12:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:12:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:12:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:12:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:12:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:12:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:12:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:12:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:12:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:12:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:12:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:12:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:12:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:12:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:12:17] Production.INFO: call_cost start [2025-03-20 18:12:17] Production.INFO: call_cost end [2025-03-20 18:12:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:12:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:12:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:12:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:12:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:12:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:12:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:12:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:12:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:12:18] Production.INFO: ==22850== Releasing lock... [2025-03-20 18:12:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:12:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:12:19] Production.INFO: count ==5098 [2025-03-20 18:12:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:12:06 - End Time 2025-03-20 18:12:06 [2025-03-20 18:12:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724595', 'tblTempUsageDetail_20' ) start [2025-03-20 18:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724595', 'tblTempUsageDetail_20' ) end [2025-03-20 18:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724595', 'tblTempVendorCDR_20' ) start [2025-03-20 18:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724595', 'tblTempVendorCDR_20' ) end [2025-03-20 18:12:21] Production.INFO: ProcessCDR(1,14724595,1,1,2) [2025-03-20 18:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:12:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:12:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724595', 'tblTempUsageDetail_20' ) start [2025-03-20 18:12:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724595', 'tblTempUsageDetail_20' ) end [2025-03-20 18:12:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:12:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:12:27] Production.INFO: ==22858== Releasing lock... [2025-03-20 18:12:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:12:27] Production.INFO: 66.25 MB #Memory Used# [2025-03-20 22:13:01] Production.INFO: ==22920== Lock acquired, processing the job... [2025-03-20 22:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:13:01] Production.INFO: neon service started [2025-03-20 22:13:01] Production.INFO: neon service started [2025-03-20 22:13:01] Production.INFO: ==22920== Releasing lock... [2025-03-20 22:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:13:02] Production.INFO: ==22922== Lock acquired, processing the job... [2025-03-20 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:13:02] Production.INFO: ==22924== Lock acquired, processing the job... [2025-03-20 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:13:02] Production.INFO: ==22924== Releasing lock... [2025-03-20 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:13:02] Production.INFO: ==22922== Releasing lock... [2025-03-20 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:13:03] Production.INFO: ==22932== Lock acquired, processing the job... [2025-03-20 18:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:13:03] Production.INFO: ==22934== Lock acquired, processing the job... [2025-03-20 18:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:13:03] Production.INFO: Account Balance Start. [2025-03-20 18:13:03] Production.INFO: CreateAllLog Start [2025-03-20 18:13:03] Production.INFO: 117 [2025-03-20 18:13:03] Production.INFO: ==22928== Lock acquired, processing the job... [2025-03-20 18:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:13:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:13:04] Production.INFO: ==22936== Lock acquired, processing the job... [2025-03-20 18:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:13:04] Production.INFO: ==22930== Lock acquired, processing the job... [2025-03-20 18:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:13:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:13:04] Production.INFO: ==22938== Lock acquired, processing the job... [2025-03-20 18:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:13:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:13:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:13:04] Production.INFO: count ==23 [2025-03-20 18:13:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724598') start [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724598') end [2025-03-20 18:13:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:13:04] Production.INFO: 1 [2025-03-20 18:13:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.INFO: ==22938== Releasing lock... [2025-03-20 18:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:13:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:13:04] Production.ERROR: done [2025-03-20 18:13:04] Production.INFO: ==22930== Releasing lock... [2025-03-20 18:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.ERROR: done [2025-03-20 18:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:13:04] Production.INFO: Total Charge 0 [2025-03-20 18:13:04] Production.INFO: CreateAllLog End [2025-03-20 18:13:05] Production.INFO: Account Balance End. [2025-03-20 18:13:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:13:05] Production.INFO: ==22934== Releasing lock... [2025-03-20 18:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:13:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:13:05 [end_date_ymd] => 2025-03-20 18:13:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:13:05' and `end` < '2025-03-20 18: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-03-20 18:13:13] Production.ERROR: CronJobId end10 [2025-03-20 18:13:13] Production.INFO: ==22932== Releasing lock... [2025-03-20 18:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:13:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:13:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:13:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:13:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:13:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:13:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:13:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:13:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:13:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:13:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:13:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:13:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:13:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:13:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:13:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:13:16] Production.INFO: call_cost start [2025-03-20 18:13:16] Production.INFO: call_cost end [2025-03-20 18:13:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:13:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:13:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:13:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:13:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:13:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:13:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:13:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:13:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:13:17] Production.INFO: ==22928== Releasing lock... [2025-03-20 18:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:13:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:13:18] Production.INFO: count ==5087 [2025-03-20 18:13:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:13:05 - End Time 2025-03-20 18:13:05 [2025-03-20 18:13:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724600', 'tblTempUsageDetail_20' ) start [2025-03-20 18:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724600', 'tblTempUsageDetail_20' ) end [2025-03-20 18:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724600', 'tblTempVendorCDR_20' ) start [2025-03-20 18:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724600', 'tblTempVendorCDR_20' ) end [2025-03-20 18:13:21] Production.INFO: ProcessCDR(1,14724600,1,1,2) [2025-03-20 18:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:13:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724600', 'tblTempUsageDetail_20' ) start [2025-03-20 18:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724600', 'tblTempUsageDetail_20' ) end [2025-03-20 18:13:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:13:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:13:26] Production.INFO: ==22936== Releasing lock... [2025-03-20 18:13:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:13:26] Production.INFO: 66 MB #Memory Used# [2025-03-20 22:14:02] Production.INFO: ==23059== Lock acquired, processing the job... [2025-03-20 22:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:14:02] Production.INFO: neon service started [2025-03-20 22:14:02] Production.INFO: neon service started [2025-03-20 22:14:02] Production.INFO: ==23059== Releasing lock... [2025-03-20 22:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:14:02] Production.INFO: ==23061== Lock acquired, processing the job... [2025-03-20 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:14:03] Production.INFO: ==23061== Releasing lock... [2025-03-20 18:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:14:03] Production.INFO: ==23063== Lock acquired, processing the job... [2025-03-20 22:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:14:03] Production.INFO: ==23063== Releasing lock... [2025-03-20 22:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:14:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:14:03] Production.INFO: ==23065== Lock acquired, processing the job... [2025-03-20 18:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:14:03] Production.INFO: ==23069== Lock acquired, processing the job... [2025-03-20 18:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:14:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:14:03] Production.INFO: ==23067== Lock acquired, processing the job... [2025-03-20 18:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:14:04] Production.INFO: ==23076== Lock acquired, processing the job... [2025-03-20 18:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18: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-03-20 18:14:04] Production.INFO: ==23071== Lock acquired, processing the job... [2025-03-20 18:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:14:04] Production.INFO: ==23073== Lock acquired, processing the job... [2025-03-20 18:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:14:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:14:04] Production.INFO: count ==23 [2025-03-20 18:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724603') start [2025-03-20 18:14:04] Production.INFO: Account Balance Start. [2025-03-20 18:14:04] Production.INFO: CreateAllLog Start [2025-03-20 18:14:04] Production.INFO: 117 [2025-03-20 18:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724603') end [2025-03-20 18:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:14:04] Production.INFO: 1 [2025-03-20 18:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.INFO: ==23076== Releasing lock... [2025-03-20 18:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:14:04] Production.INFO: ==23067== Releasing lock... [2025-03-20 18:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.ERROR: done [2025-03-20 18:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:14:05] Production.INFO: Total Charge 0 [2025-03-20 18:14:05] Production.INFO: CreateAllLog End [2025-03-20 18:14:05] Production.ERROR: done [2025-03-20 18:14:05] Production.INFO: Account Balance End. [2025-03-20 18:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:14:05] Production.INFO: ==23071== Releasing lock... [2025-03-20 18:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:14:06 [end_date_ymd] => 2025-03-20 18:14:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:14:06' and `end` < '2025-03-20 18: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-03-20 18:14:14] Production.ERROR: CronJobId end10 [2025-03-20 18:14:14] Production.INFO: ==23069== Releasing lock... [2025-03-20 18:14:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:14:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:14:15] Production.INFO: call_cost start [2025-03-20 18:14:15] Production.INFO: call_cost end [2025-03-20 18:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:14:16] Production.INFO: ==23065== Releasing lock... [2025-03-20 18:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:14:19] Production.INFO: count ==5070 [2025-03-20 18:14:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:14:06 - End Time 2025-03-20 18:14:06 [2025-03-20 18:14:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724605', 'tblTempUsageDetail_20' ) start [2025-03-20 18:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724605', 'tblTempUsageDetail_20' ) end [2025-03-20 18:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724605', 'tblTempVendorCDR_20' ) start [2025-03-20 18:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724605', 'tblTempVendorCDR_20' ) end [2025-03-20 18:14:21] Production.INFO: ProcessCDR(1,14724605,1,1,2) [2025-03-20 18:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:14:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:14:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724605', 'tblTempUsageDetail_20' ) start [2025-03-20 18:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724605', 'tblTempUsageDetail_20' ) end [2025-03-20 18:14:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:14:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:14:26] Production.INFO: ==23073== Releasing lock... [2025-03-20 18:14:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:14:26] Production.INFO: 66 MB #Memory Used# [2025-03-20 22:15:01] Production.INFO: ==23139== Lock acquired, processing the job... [2025-03-20 22:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:15:01] Production.INFO: neon service started [2025-03-20 22:15:01] Production.INFO: neon service started [2025-03-20 22:15:01] Production.INFO: ==23139== Releasing lock... [2025-03-20 22:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:15:02] Production.INFO: ==23143== Lock acquired, processing the job... [2025-03-20 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:15:02] Production.INFO: ==23143== Releasing lock... [2025-03-20 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:15:02] Production.INFO: ==23141== Lock acquired, processing the job... [2025-03-20 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:15:02] Production.INFO: ==23141== Releasing lock... [2025-03-20 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:15:03] Production.INFO: ==23152== Lock acquired, processing the job... [2025-03-20 18:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:15:03] Production.INFO: ==23154== Lock acquired, processing the job... [2025-03-20 18:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:15:03] Production.INFO: Account Balance Start. [2025-03-20 18:15:03] Production.INFO: CreateAllLog Start [2025-03-20 18:15:03] Production.INFO: 117 [2025-03-20 18:15:03] Production.INFO: ==23146== Lock acquired, processing the job... [2025-03-20 18:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:15:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:03] Production.INFO: ==23148== Lock acquired, processing the job... [2025-03-20 18:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:15:03] Production.INFO: ==23150== Lock acquired, processing the job... [2025-03-20 18:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:15:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:15:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:04] Production.INFO: ==23156== Lock acquired, processing the job... [2025-03-20 18:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:15:04] Production.ERROR: done [2025-03-20 18:15:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:04] Production.INFO: ==23148== Releasing lock... [2025-03-20 18:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18: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-03-20 18:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:04] Production.INFO: count ==12 [2025-03-20 18:15:04] Production.ERROR: done [2025-03-20 18: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-03-20 18:15:04] Production.INFO: count ==23 [2025-03-20 18:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724609') start [2025-03-20 18:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724609') end [2025-03-20 18:15:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:15:04] Production.INFO: 1 [2025-03-20 18:15:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:15:04] Production.INFO: ==23156== Releasing lock... [2025-03-20 18:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:15:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:15:04] Production.INFO: Total Charge 0 [2025-03-20 18:15:04] Production.INFO: CreateAllLog End [2025-03-20 18:15:04] Production.INFO: Account Balance End. [2025-03-20 18:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:15:04] Production.INFO: ==23152== Releasing lock... [2025-03-20 18:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:15:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:15:05 [end_date_ymd] => 2025-03-20 18:15:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:15:05' and `end` < '2025-03-20 18: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-03-20 18:15:13] Production.ERROR: CronJobId end10 [2025-03-20 18:15:13] Production.INFO: ==23150== Releasing lock... [2025-03-20 18:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:15:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:15:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:15:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:15:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:15:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:15:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:15:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:15:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:15:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:15:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:15:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:15:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:15:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:15:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:15:15] Production.INFO: call_cost start [2025-03-20 18:15:15] Production.INFO: call_cost end [2025-03-20 18:15:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:15:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:15:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:15:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:15:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:15:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:15:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:15:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:15:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:15:16] Production.INFO: ==23146== Releasing lock... [2025-03-20 18:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:15:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:15:18] Production.INFO: count ==5075 [2025-03-20 18:15:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:15:05 - End Time 2025-03-20 18:15:05 [2025-03-20 18:15:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724610', 'tblTempUsageDetail_20' ) start [2025-03-20 18:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724610', 'tblTempUsageDetail_20' ) end [2025-03-20 18:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724610', 'tblTempVendorCDR_20' ) start [2025-03-20 18:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724610', 'tblTempVendorCDR_20' ) end [2025-03-20 18:15:20] Production.INFO: ProcessCDR(1,14724610,1,1,2) [2025-03-20 18:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:15:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:15:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:15:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724610', 'tblTempUsageDetail_20' ) start [2025-03-20 18:15:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724610', 'tblTempUsageDetail_20' ) end [2025-03-20 18:15:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:15:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:15:25] Production.INFO: ==23154== Releasing lock... [2025-03-20 18:15:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:15:25] Production.INFO: 66 MB #Memory Used# [2025-03-20 22:16:02] Production.INFO: ==23232== Lock acquired, processing the job... [2025-03-20 22:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:16:02] Production.INFO: neon service started [2025-03-20 22:16:02] Production.INFO: neon service started [2025-03-20 22:16:02] Production.INFO: ==23232== Releasing lock... [2025-03-20 22:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:16:02] Production.INFO: ==23234== Lock acquired, processing the job... [2025-03-20 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:16:02] Production.INFO: ==23234== Releasing lock... [2025-03-20 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:16:03] Production.INFO: ==23236== Lock acquired, processing the job... [2025-03-20 22:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:16:03] Production.INFO: ==23236== Releasing lock... [2025-03-20 22:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:16:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:16:03] Production.INFO: ==23241== Lock acquired, processing the job... [2025-03-20 18:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:16:03] Production.INFO: ==23249== Lock acquired, processing the job... [2025-03-20 18:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:16:03] Production.INFO: ==23239== Lock acquired, processing the job... [2025-03-20 18:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18: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-03-20 18:16:04] Production.INFO: ==23243== Lock acquired, processing the job... [2025-03-20 18:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:16:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:16:04] Production.INFO: count ==23 [2025-03-20 18:16:04] Production.INFO: ==23245== Lock acquired, processing the job... [2025-03-20 18:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724612') start [2025-03-20 18:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:16:04] Production.INFO: ==23247== Lock acquired, processing the job... [2025-03-20 18:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:16:04] Production.INFO: ==23241== Releasing lock... [2025-03-20 18:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:16:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:16:04] Production.INFO: Account Balance Start. [2025-03-20 18:16:04] Production.INFO: CreateAllLog Start [2025-03-20 18:16:04] Production.INFO: 117 [2025-03-20 18:16:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724612') end [2025-03-20 18:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:16:04] Production.INFO: 1 [2025-03-20 18:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.INFO: ==23249== Releasing lock... [2025-03-20 18:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.ERROR: done [2025-03-20 18:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:16:04] Production.ERROR: done [2025-03-20 18:16:04] Production.INFO: Total Charge 0 [2025-03-20 18:16:04] Production.INFO: CreateAllLog End [2025-03-20 18:16:04] Production.INFO: Account Balance End. [2025-03-20 18:16:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:16:05] Production.INFO: ==23245== Releasing lock... [2025-03-20 18:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:16:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:16:05 [end_date_ymd] => 2025-03-20 18:16:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:16:05' and `end` < '2025-03-20 18: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-03-20 18:16:14] Production.ERROR: CronJobId end10 [2025-03-20 18:16:14] Production.INFO: ==23243== Releasing lock... [2025-03-20 18:16:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:16:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:16:15] Production.INFO: call_cost start [2025-03-20 18:16:15] Production.INFO: call_cost end [2025-03-20 18:16:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:16:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:16:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:16:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:16:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:16:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:16:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:16:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:16:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:16:16] Production.INFO: ==23239== Releasing lock... [2025-03-20 18:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:16:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:16:18] Production.INFO: count ==5065 [2025-03-20 18:16:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:16:05 - End Time 2025-03-20 18:16:05 [2025-03-20 18:16:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724615', 'tblTempUsageDetail_20' ) start [2025-03-20 18:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724615', 'tblTempUsageDetail_20' ) end [2025-03-20 18:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724615', 'tblTempVendorCDR_20' ) start [2025-03-20 18:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724615', 'tblTempVendorCDR_20' ) end [2025-03-20 18:16:21] Production.INFO: ProcessCDR(1,14724615,1,1,2) [2025-03-20 18:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:16:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:16:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:16:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724615', 'tblTempUsageDetail_20' ) start [2025-03-20 18:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724615', 'tblTempUsageDetail_20' ) end [2025-03-20 18:16:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:16:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:16:25] Production.INFO: ==23247== Releasing lock... [2025-03-20 18:16:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:16:25] Production.INFO: 66 MB #Memory Used# [2025-03-20 22:17:01] Production.INFO: ==23315== Lock acquired, processing the job... [2025-03-20 22:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:17:01] Production.INFO: neon service started [2025-03-20 22:17:01] Production.INFO: neon service started [2025-03-20 22:17:01] Production.INFO: ==23315== Releasing lock... [2025-03-20 22:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:17:02] Production.INFO: ==23319== Lock acquired, processing the job... [2025-03-20 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:17:02] Production.INFO: ==23319== Releasing lock... [2025-03-20 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:17:02] Production.INFO: ==23317== Lock acquired, processing the job... [2025-03-20 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:17:02] Production.INFO: ==23317== Releasing lock... [2025-03-20 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:17:03] Production.INFO: ==23332== Lock acquired, processing the job... [2025-03-20 18:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:17:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:17:03] Production.INFO: ==23334== Lock acquired, processing the job... [2025-03-20 18:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:17:03] Production.INFO: ==23324== Lock acquired, processing the job... [2025-03-20 18:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:17:03] Production.INFO: ==23326== Lock acquired, processing the job... [2025-03-20 18:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:17:04] Production.ERROR: done [2025-03-20 18:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:17:04] Production.INFO: ==23328== Lock acquired, processing the job... [2025-03-20 18:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:17:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:17:04] Production.INFO: ==23330== Lock acquired, processing the job... [2025-03-20 18:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:17:04] Production.ERROR: done [2025-03-20 18: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-03-20 18:17:04] Production.INFO: Account Balance Start. [2025-03-20 18:17:04] Production.INFO: CreateAllLog Start [2025-03-20 18:17:04] Production.INFO: 117 [2025-03-20 18:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:17:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:17:04] Production.INFO: count ==12 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:17:04] Production.INFO: count ==23 [2025-03-20 18:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724616') start [2025-03-20 18:17:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724616') end [2025-03-20 18:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:17:04] Production.INFO: 1 [2025-03-20 18:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:17:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.INFO: ==23334== Releasing lock... [2025-03-20 18:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:17:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.INFO: ==23326== Releasing lock... [2025-03-20 18:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:17:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:17:04] Production.INFO: Total Charge 0 [2025-03-20 18:17:05] Production.INFO: CreateAllLog End [2025-03-20 18:17:05] Production.INFO: Account Balance End. [2025-03-20 18:17:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:17:05] Production.INFO: ==23330== Releasing lock... [2025-03-20 18:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:17:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:17:05 [end_date_ymd] => 2025-03-20 18:17:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:17:05' and `end` < '2025-03-20 18: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-03-20 18:17:14] Production.ERROR: CronJobId end10 [2025-03-20 18:17:14] Production.INFO: ==23328== Releasing lock... [2025-03-20 18:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:17:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:17:16] Production.INFO: call_cost start [2025-03-20 18:17:16] Production.INFO: call_cost end [2025-03-20 18:17:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:17:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:17:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:17:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:17:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:17:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:17:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:17:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:17:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:17:17] Production.INFO: ==23324== Releasing lock... [2025-03-20 18:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:17:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:17:18] Production.INFO: count ==5029 [2025-03-20 18:17:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:17:05 - End Time 2025-03-20 18:17:05 [2025-03-20 18:17:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724618', 'tblTempUsageDetail_20' ) start [2025-03-20 18:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724618', 'tblTempUsageDetail_20' ) end [2025-03-20 18:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724618', 'tblTempVendorCDR_20' ) start [2025-03-20 18:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724618', 'tblTempVendorCDR_20' ) end [2025-03-20 18:17:20] Production.INFO: ProcessCDR(1,14724618,1,1,2) [2025-03-20 18:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:17:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:17:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:17:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724618', 'tblTempUsageDetail_20' ) start [2025-03-20 18:17:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724618', 'tblTempUsageDetail_20' ) end [2025-03-20 18:17:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:17:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:17:26] Production.INFO: ==23332== Releasing lock... [2025-03-20 18:17:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:17:26] Production.INFO: 65.5 MB #Memory Used# [2025-03-20 22:18:02] Production.INFO: ==23396== Lock acquired, processing the job... [2025-03-20 22:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:18:02] Production.INFO: neon service started [2025-03-20 22:18:02] Production.INFO: neon service started [2025-03-20 22:18:02] Production.INFO: ==23396== Releasing lock... [2025-03-20 22:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 22:18:02] Production.INFO: ==23400== Lock acquired, processing the job... [2025-03-20 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:18:02] Production.INFO: ==23400== Releasing lock... [2025-03-20 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:18:02] Production.INFO: ==23398== Lock acquired, processing the job... [2025-03-20 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:18:03] Production.INFO: ==23398== Releasing lock... [2025-03-20 18:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:18:04] Production.INFO: ==23411== Lock acquired, processing the job... [2025-03-20 18:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:18:04] Production.INFO: ==23413== Lock acquired, processing the job... [2025-03-20 18:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18: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-03-20 18:18:04] Production.INFO: ==23403== Lock acquired, processing the job... [2025-03-20 18:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:18:04] Production.INFO: count ==12 [2025-03-20 18:18:04] Production.INFO: ==23405== Lock acquired, processing the job... [2025-03-20 18:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18: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-03-20 18:18:04] Production.INFO: count ==23 [2025-03-20 18:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724621') start [2025-03-20 18:18:04] Production.INFO: ==23409== Lock acquired, processing the job... [2025-03-20 18:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:18:04] Production.INFO: ==23407== Lock acquired, processing the job... [2025-03-20 18:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724621') end [2025-03-20 18:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:18:04] Production.INFO: 1 [2025-03-20 18:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:18:04] Production.INFO: Account Balance Start. [2025-03-20 18:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:18:04] Production.INFO: CreateAllLog Start [2025-03-20 18:18:04] Production.INFO: 117 [2025-03-20 18:18:04] Production.INFO: ==23413== Releasing lock... [2025-03-20 18:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:18:04] Production.ERROR: done [2025-03-20 18:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:04] Production.ERROR: done [2025-03-20 18:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:04] Production.INFO: ==23405== Releasing lock... [2025-03-20 18:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:05] Production.INFO: Date 2025-03-16 [2025-03-20 18:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:05] Production.INFO: Date 2025-03-17 [2025-03-20 18:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:18:05] Production.INFO: Total Charge 0 [2025-03-20 18:18:05] Production.INFO: CreateAllLog End [2025-03-20 18:18:05] Production.INFO: Account Balance End. [2025-03-20 18:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:18:05] Production.INFO: ==23409== Releasing lock... [2025-03-20 18:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:18:06 [end_date_ymd] => 2025-03-20 18:18:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:18:06' and `end` < '2025-03-20 18: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-03-20 18:18:15] Production.ERROR: CronJobId end10 [2025-03-20 18:18:15] Production.INFO: ==23407== Releasing lock... [2025-03-20 18:18:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:18:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:18:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:18:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:18:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:18:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:18:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:18:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:18:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:18:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:18:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:18:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:18:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:18:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:18:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:18:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:18:17] Production.INFO: call_cost start [2025-03-20 18:18:18] Production.INFO: call_cost end [2025-03-20 18:18:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:18:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:18:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:18:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:18:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:18:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:18:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:18:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:18:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:18:19] Production.INFO: ==23403== Releasing lock... [2025-03-20 18:18:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:18:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:18:19] Production.INFO: count ==4984 [2025-03-20 18:18:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:18:06 - End Time 2025-03-20 18:18:06 [2025-03-20 18:18:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724625', 'tblTempUsageDetail_20' ) start [2025-03-20 18:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724625', 'tblTempUsageDetail_20' ) end [2025-03-20 18:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724625', 'tblTempVendorCDR_20' ) start [2025-03-20 18:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724625', 'tblTempVendorCDR_20' ) end [2025-03-20 18:18:21] Production.INFO: ProcessCDR(1,14724625,1,1,2) [2025-03-20 18:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724625', 'tblTempUsageDetail_20' ) start [2025-03-20 18:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724625', 'tblTempUsageDetail_20' ) end [2025-03-20 18:18:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:18:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:18:25] Production.INFO: ==23411== Releasing lock... [2025-03-20 18:18:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:18:25] Production.INFO: 65.25 MB #Memory Used# [2025-03-20 22:19:01] Production.INFO: ==23478== Lock acquired, processing the job... [2025-03-20 22:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:19:01] Production.INFO: neon service started [2025-03-20 22:19:01] Production.INFO: neon service started [2025-03-20 22:19:01] Production.INFO: ==23478== Releasing lock... [2025-03-20 22:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:19:02] Production.INFO: ==23480== Lock acquired, processing the job... [2025-03-20 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:19:02] Production.INFO: ==23480== Releasing lock... [2025-03-20 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:19:02] Production.INFO: ==23482== Lock acquired, processing the job... [2025-03-20 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:19:02] Production.INFO: ==23482== Releasing lock... [2025-03-20 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:19:03] Production.INFO: ==23484== Lock acquired, processing the job... [2025-03-20 18:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:19:03] Production.INFO: ==23487== Lock acquired, processing the job... [2025-03-20 18:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:19:03] Production.INFO: ==23489== Lock acquired, processing the job... [2025-03-20 18:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:19:03] Production.INFO: ==23491== Lock acquired, processing the job... [2025-03-20 18:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:19:03] Production.INFO: ==23487== Releasing lock... [2025-03-20 18:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:19:03] Production.INFO: ==23493== Lock acquired, processing the job... [2025-03-20 18:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:19:03] Production.INFO: ==23495== Lock acquired, processing the job... [2025-03-20 18:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:19:03] Production.INFO: Account Balance Start. [2025-03-20 18:19:03] Production.INFO: CreateAllLog Start [2025-03-20 18:19:03] Production.INFO: 117 [2025-03-20 18:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:19:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:19:03] Production.INFO: Date 2025-03-12 [2025-03-20 18:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:03] Production.INFO: Date 2025-03-13 [2025-03-20 18:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:19:04] Production.INFO: count ==23 [2025-03-20 18:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724629') start [2025-03-20 18:19:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724629') end [2025-03-20 18:19:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:19:04] Production.INFO: 1 [2025-03-20 18:19:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:19:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:04] Production.INFO: ==23495== Releasing lock... [2025-03-20 18:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:19:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:19:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:04] Production.ERROR: done [2025-03-20 18:19:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:19:04] Production.INFO: Total Charge 0 [2025-03-20 18:19:04] Production.INFO: CreateAllLog End [2025-03-20 18:19:04] Production.ERROR: done [2025-03-20 18:19:04] Production.INFO: Account Balance End. [2025-03-20 18:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:19:04] Production.INFO: ==23491== Releasing lock... [2025-03-20 18:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:19:05 [end_date_ymd] => 2025-03-20 18:19:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:19:05' and `end` < '2025-03-20 18: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-03-20 18:19:13] Production.ERROR: CronJobId end10 [2025-03-20 18:19:13] Production.INFO: ==23489== Releasing lock... [2025-03-20 18:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:19:15] Production.INFO: call_cost start [2025-03-20 18:19:15] Production.INFO: call_cost end [2025-03-20 18:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:19:16] Production.INFO: ==23484== Releasing lock... [2025-03-20 18:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:19:18] Production.INFO: count ==4961 [2025-03-20 18:19:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:19:05 - End Time 2025-03-20 18:19:05 [2025-03-20 18:19:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724630', 'tblTempUsageDetail_20' ) start [2025-03-20 18:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724630', 'tblTempUsageDetail_20' ) end [2025-03-20 18:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724630', 'tblTempVendorCDR_20' ) start [2025-03-20 18:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724630', 'tblTempVendorCDR_20' ) end [2025-03-20 18:19:21] Production.INFO: ProcessCDR(1,14724630,1,1,2) [2025-03-20 18:19:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:19:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:19:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:19:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724630', 'tblTempUsageDetail_20' ) start [2025-03-20 18:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724630', 'tblTempUsageDetail_20' ) end [2025-03-20 18:19:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:19:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:19:26] Production.INFO: ==23493== Releasing lock... [2025-03-20 18:19:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:19:26] Production.INFO: 65 MB #Memory Used# [2025-03-20 22:20:02] Production.INFO: ==23564== Lock acquired, processing the job... [2025-03-20 22:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:20:02] Production.INFO: neon service started [2025-03-20 22:20:02] Production.INFO: neon service started [2025-03-20 22:20:02] Production.INFO: ==23564== Releasing lock... [2025-03-20 22:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:20:02] Production.INFO: ==23566== Lock acquired, processing the job... [2025-03-20 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:20:03] Production.INFO: ==23568== Lock acquired, processing the job... [2025-03-20 22:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:20:03] Production.INFO: ==23568== Releasing lock... [2025-03-20 22:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:20:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:20:03] Production.INFO: ==23566== Releasing lock... [2025-03-20 18:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:20:04] Production.INFO: ==23571== Lock acquired, processing the job... [2025-03-20 18:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 18:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 18:20:04] Production.INFO: ==23573== Lock acquired, processing the job... [2025-03-20 18:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 18:20:04] Production.INFO: ==23571== Releasing lock... [2025-03-20 18:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 18:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 18:20:04] Production.INFO: ==23575== Lock acquired, processing the job... [2025-03-20 18:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:20:04] Production.INFO: ==23581== Lock acquired, processing the job... [2025-03-20 18:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:20:04] Production.INFO: ==23577== Lock acquired, processing the job... [2025-03-20 18:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:20:04] Production.INFO: ==23579== Lock acquired, processing the job... [2025-03-20 18:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:20:05] Production.INFO: ==23583== Lock acquired, processing the job... [2025-03-20 18:20:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 18:20:05] Production.INFO: ==23575== Releasing lock... [2025-03-20 18:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:20:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:20:05] Production.INFO: ==23585== Lock acquired, processing the job... [2025-03-20 18:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:20:05] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:20:05] Production.INFO: Account Balance Start. [2025-03-20 18:20:05] Production.INFO: CreateAllLog Start [2025-03-20 18:20:05] Production.INFO: 117 [2025-03-20 18:20:05] Production.INFO: Date 2025-03-08 [2025-03-20 18: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-03-20 18:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:05] Production.INFO: count ==12 [2025-03-20 18:20:05] Production.INFO: Date 2025-03-09 [2025-03-20 18:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:05] Production.ERROR: done [2025-03-20 18:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18: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-03-20 18:20:05] Production.INFO: count ==23 [2025-03-20 18:20:05] Production.INFO: Date 2025-03-10 [2025-03-20 18:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724634') start [2025-03-20 18:20:05] Production.INFO: Date 2025-03-11 [2025-03-20 18:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:05] Production.INFO: Date 2025-03-12 [2025-03-20 18:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:05] Production.ERROR: done [2025-03-20 18:20:05] Production.INFO: Date 2025-03-13 [2025-03-20 18:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:05] Production.ERROR: done [2025-03-20 18:20:05] Production.INFO: Date 2025-03-14 [2025-03-20 18:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 18:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724635', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 18:20:05] Production.INFO: Date 2025-03-15 [2025-03-20 18:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724634') end [2025-03-20 18:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:20:05] Production.INFO: 1 [2025-03-20 18:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:20:05] Production.INFO: Date 2025-03-16 [2025-03-20 18:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:06] Production.INFO: ==23585== Releasing lock... [2025-03-20 18:20:06] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:20:06] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:20:06] Production.INFO: Date 2025-03-17 [2025-03-20 18:20:06] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:06] Production.INFO: Date 2025-03-18 [2025-03-20 18:20:06] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:06] Production.INFO: Date 2025-03-19 [2025-03-20 18:20:06] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:06] Production.INFO: Date 2025-03-20 [2025-03-20 18:20:06] Production.INFO: Reseller ==> 0 [2025-03-20 18:20:06] Production.INFO: Total Charge 0 [2025-03-20 18:20:06] Production.INFO: CreateAllLog End [2025-03-20 18:20:06] Production.INFO: Account Balance End. [2025-03-20 18:20:06] Production.ERROR: CronJobId end 12 [2025-03-20 18:20:06] Production.INFO: ==23579== Releasing lock... [2025-03-20 18:20:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:20:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:20:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:20:07 [end_date_ymd] => 2025-03-20 18:20:07 [RateCDR] => 1 ) [2025-03-20 18:20:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 15:20:07' and `end` < '2025-03-20 18:20:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 18:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724635', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 18:20:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 18:20:10] Production.INFO: ProcessCDR(1,14724635,1,1,2) [2025-03-20 18:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724635,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:20:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724635,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:20:11] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:20:11] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:20:11] Production.INFO: ==23583== Releasing lock... [2025-03-20 18:20:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 18:20:11] Production.INFO: 26 MB #Memory Used# [2025-03-20 18:20:17] Production.ERROR: CronJobId end10 [2025-03-20 18:20:17] Production.INFO: ==23577== Releasing lock... [2025-03-20 18:20:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:20:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:20:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:20:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:20:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:20:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:20:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:20:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:20:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:20:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:20:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:20:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:20:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:20:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:20:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:20:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:20:18] Production.INFO: call_cost start [2025-03-20 18:20:18] Production.INFO: call_cost end [2025-03-20 18:20:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:20:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:20:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:20:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:20:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:20:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:20:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:20:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:20:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:20:19] Production.INFO: ==23573== Releasing lock... [2025-03-20 18:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:20:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:20:20] Production.INFO: count ==4891 [2025-03-20 18:20:22] Production.ERROR: pbx CDR StartTime 2025-03-20 15:20:07 - End Time 2025-03-20 18:20:07 [2025-03-20 18:20:22] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724636', 'tblTempUsageDetail_20' ) start [2025-03-20 18:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724636', 'tblTempUsageDetail_20' ) end [2025-03-20 18:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724636', 'tblTempVendorCDR_20' ) start [2025-03-20 18:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724636', 'tblTempVendorCDR_20' ) end [2025-03-20 18:20:22] Production.INFO: ProcessCDR(1,14724636,1,1,2) [2025-03-20 18:20:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:20:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:20:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:20:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724636', 'tblTempUsageDetail_20' ) start [2025-03-20 18:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724636', 'tblTempUsageDetail_20' ) end [2025-03-20 18:20:27] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:20:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:20:27] Production.INFO: ==23581== Releasing lock... [2025-03-20 18:20:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:20:27] Production.INFO: 64.5 MB #Memory Used# [2025-03-20 22:21:01] Production.INFO: ==23648== Lock acquired, processing the job... [2025-03-20 22:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:21:01] Production.INFO: neon service started [2025-03-20 22:21:01] Production.INFO: neon service started [2025-03-20 22:21:01] Production.INFO: ==23648== Releasing lock... [2025-03-20 22:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:21:02] Production.INFO: ==23652== Lock acquired, processing the job... [2025-03-20 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:21:02] Production.INFO: ==23652== Releasing lock... [2025-03-20 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:21:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:21:02] Production.INFO: ==23650== Lock acquired, processing the job... [2025-03-20 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:21:02] Production.INFO: ==23650== Releasing lock... [2025-03-20 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:21:03] Production.INFO: ==23655== Lock acquired, processing the job... [2025-03-20 18:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:21:03] Production.INFO: ==23657== Lock acquired, processing the job... [2025-03-20 18:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:21:03] Production.INFO: ==23661== Lock acquired, processing the job... [2025-03-20 18:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:21:03] Production.INFO: ==23659== Lock acquired, processing the job... [2025-03-20 18:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:21:03] Production.INFO: Account Balance Start. [2025-03-20 18:21:03] Production.INFO: CreateAllLog Start [2025-03-20 18:21:03] Production.INFO: 117 [2025-03-20 18:21:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:03] Production.INFO: ==23665== Lock acquired, processing the job... [2025-03-20 18:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:21:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:21:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:03] Production.INFO: Date 2025-03-12 [2025-03-20 18:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:03] Production.INFO: Date 2025-03-13 [2025-03-20 18:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:03] Production.INFO: ==23657== Releasing lock... [2025-03-20 18:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18: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-03-20 18:21:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:21:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:21:04] Production.INFO: count ==23 [2025-03-20 18:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724640') start [2025-03-20 18:21:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:04] Production.INFO: ==23663== Lock acquired, processing the job... [2025-03-20 18:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:21:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724640') end [2025-03-20 18:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:21:04] Production.INFO: 1 [2025-03-20 18:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:21:04] Production.INFO: ==23665== Releasing lock... [2025-03-20 18:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:21:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:21:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:21:04] Production.INFO: Total Charge 0 [2025-03-20 18:21:04] Production.INFO: CreateAllLog End [2025-03-20 18:21:04] Production.ERROR: done [2025-03-20 18:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:21:04] Production.INFO: Account Balance End. [2025-03-20 18:21:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:21:04] Production.INFO: ==23661== Releasing lock... [2025-03-20 18:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:21:04] Production.ERROR: done [2025-03-20 18:21:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:21:06 [end_date_ymd] => 2025-03-20 18:21:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:21:06' and `end` < '2025-03-20 18: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-03-20 18:21:13] Production.ERROR: CronJobId end10 [2025-03-20 18:21:13] Production.INFO: ==23659== Releasing lock... [2025-03-20 18:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:21:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:21:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:21:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:21:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:21:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:21:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:21:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:21:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:21:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:21:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:21:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:21:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:21:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:21:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:21:16] Production.INFO: call_cost start [2025-03-20 18:21:16] Production.INFO: call_cost end [2025-03-20 18:21:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:21:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:21:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:21:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:21:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:21:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:21:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:21:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:21:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:21:16] Production.INFO: ==23655== Releasing lock... [2025-03-20 18:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:21:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:21:19] Production.INFO: count ==4784 [2025-03-20 18:21:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:21:06 - End Time 2025-03-20 18:21:06 [2025-03-20 18:21:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724641', 'tblTempUsageDetail_20' ) start [2025-03-20 18:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724641', 'tblTempUsageDetail_20' ) end [2025-03-20 18:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724641', 'tblTempVendorCDR_20' ) start [2025-03-20 18:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724641', 'tblTempVendorCDR_20' ) end [2025-03-20 18:21:21] Production.INFO: ProcessCDR(1,14724641,1,1,2) [2025-03-20 18:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:21:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:21:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724641', 'tblTempUsageDetail_20' ) start [2025-03-20 18:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724641', 'tblTempUsageDetail_20' ) end [2025-03-20 18:21:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:21:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:21:24] Production.INFO: ==23663== Releasing lock... [2025-03-20 18:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:21:24] Production.INFO: 63.75 MB #Memory Used# [2025-03-20 22:22:02] Production.INFO: ==23738== Lock acquired, processing the job... [2025-03-20 22:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:22:02] Production.INFO: neon service started [2025-03-20 22:22:02] Production.INFO: neon service started [2025-03-20 22:22:02] Production.INFO: ==23738== Releasing lock... [2025-03-20 22:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:22:02] Production.INFO: ==23742== Lock acquired, processing the job... [2025-03-20 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:22:02] Production.INFO: ==23742== Releasing lock... [2025-03-20 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:22:02] Production.INFO: ==23740== Lock acquired, processing the job... [2025-03-20 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:22:03] Production.INFO: ==23740== Releasing lock... [2025-03-20 18:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:22:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:22:04] Production.INFO: ==23747== Lock acquired, processing the job... [2025-03-20 18:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:22:04] Production.INFO: ==23755== Lock acquired, processing the job... [2025-03-20 18:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:22:04] Production.INFO: ==23745== Lock acquired, processing the job... [2025-03-20 18:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18: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-03-20 18:22:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:22:04] Production.INFO: ==23747== Releasing lock... [2025-03-20 18:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:22:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:22:04] Production.INFO: count ==23 [2025-03-20 18:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724643') start [2025-03-20 18:22:04] Production.INFO: ==23749== Lock acquired, processing the job... [2025-03-20 18:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:22:04] Production.INFO: ==23751== Lock acquired, processing the job... [2025-03-20 18:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724643') end [2025-03-20 18:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:22:04] Production.INFO: 1 [2025-03-20 18:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:22:04] Production.INFO: ==23753== Lock acquired, processing the job... [2025-03-20 18:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:22:04] Production.INFO: ==23755== Releasing lock... [2025-03-20 18:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:22:04] Production.INFO: Account Balance Start. [2025-03-20 18:22:04] Production.INFO: CreateAllLog Start [2025-03-20 18:22:04] Production.INFO: 117 [2025-03-20 18:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:05] Production.INFO: Date 2025-03-13 [2025-03-20 18:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:05] Production.INFO: Date 2025-03-14 [2025-03-20 18:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:05] Production.INFO: Date 2025-03-15 [2025-03-20 18:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:05] Production.INFO: Date 2025-03-16 [2025-03-20 18:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:05] Production.INFO: Date 2025-03-17 [2025-03-20 18:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:05] Production.ERROR: done [2025-03-20 18:22:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:22:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:22:05] Production.INFO: Total Charge 0 [2025-03-20 18:22:05] Production.INFO: CreateAllLog End [2025-03-20 18:22:05] Production.ERROR: done [2025-03-20 18:22:05] Production.INFO: Account Balance End. [2025-03-20 18:22:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:22:05] Production.INFO: ==23751== Releasing lock... [2025-03-20 18:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:22:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:22:06 [end_date_ymd] => 2025-03-20 18:22:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:22:06' and `end` < '2025-03-20 18: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-03-20 18:22:15] Production.ERROR: CronJobId end10 [2025-03-20 18:22:15] Production.INFO: ==23749== Releasing lock... [2025-03-20 18:22:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:22:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:22:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:22:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:22:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:22:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:22:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:22:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:22:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:22:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:22:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:22:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:22:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:22:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:22:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:22:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:22:17] Production.INFO: call_cost start [2025-03-20 18:22:17] Production.INFO: call_cost end [2025-03-20 18:22:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:22:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:22:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:22:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:22:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:22:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:22:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:22:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:22:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:22:18] Production.INFO: ==23745== Releasing lock... [2025-03-20 18:22:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:22:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:22:19] Production.INFO: count ==4734 [2025-03-20 18:22:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:22:06 - End Time 2025-03-20 18:22:06 [2025-03-20 18:22:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724646', 'tblTempUsageDetail_20' ) start [2025-03-20 18:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724646', 'tblTempUsageDetail_20' ) end [2025-03-20 18:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724646', 'tblTempVendorCDR_20' ) start [2025-03-20 18:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724646', 'tblTempVendorCDR_20' ) end [2025-03-20 18:22:21] Production.INFO: ProcessCDR(1,14724646,1,1,2) [2025-03-20 18:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:22:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:22:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724646', 'tblTempUsageDetail_20' ) start [2025-03-20 18:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724646', 'tblTempUsageDetail_20' ) end [2025-03-20 18:22:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:22:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:22:26] Production.INFO: ==23753== Releasing lock... [2025-03-20 18:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:22:26] Production.INFO: 63.5 MB #Memory Used# [2025-03-20 22:23:01] Production.INFO: ==23834== Lock acquired, processing the job... [2025-03-20 22:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:23:01] Production.INFO: neon service started [2025-03-20 22:23:01] Production.INFO: neon service started [2025-03-20 22:23:01] Production.INFO: ==23834== Releasing lock... [2025-03-20 22:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:23:02] Production.INFO: ==23838== Lock acquired, processing the job... [2025-03-20 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:23:02] Production.INFO: ==23838== Releasing lock... [2025-03-20 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:23:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:23:02] Production.INFO: ==23836== Lock acquired, processing the job... [2025-03-20 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:23:02] Production.INFO: ==23836== Releasing lock... [2025-03-20 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:23:03] Production.INFO: ==23841== Lock acquired, processing the job... [2025-03-20 18:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:23:03] Production.INFO: ==23843== Lock acquired, processing the job... [2025-03-20 18:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:23:03] Production.INFO: ==23847== Lock acquired, processing the job... [2025-03-20 18:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:23:03] Production.INFO: Account Balance Start. [2025-03-20 18:23:03] Production.INFO: CreateAllLog Start [2025-03-20 18:23:03] Production.INFO: 117 [2025-03-20 18:23:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:03] Production.INFO: ==23845== Lock acquired, processing the job... [2025-03-20 18:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:23:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:03] Production.INFO: ==23849== Lock acquired, processing the job... [2025-03-20 18:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:23:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:04] Production.INFO: ==23851== Lock acquired, processing the job... [2025-03-20 18:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:04] Production.INFO: ==23843== Releasing lock... [2025-03-20 18:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:23:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:23:04] Production.INFO: Total Charge 0 [2025-03-20 18:23:04] Production.INFO: CreateAllLog End [2025-03-20 18: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-03-20 18:23:04] Production.ERROR: done [2025-03-20 18:23:04] Production.INFO: count ==12 [2025-03-20 18:23:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18: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-03-20 18:23:04] Production.INFO: count ==23 [2025-03-20 18:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724650') start [2025-03-20 18:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724650') end [2025-03-20 18:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:23:04] Production.INFO: 1 [2025-03-20 18:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:23:04] Production.INFO: Account Balance End. [2025-03-20 18:23:04] Production.ERROR: done [2025-03-20 18:23:04] Production.INFO: ==23851== Releasing lock... [2025-03-20 18:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:23:04] Production.INFO: ==23847== Releasing lock... [2025-03-20 18:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:23:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:23:06 [end_date_ymd] => 2025-03-20 18:23:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:23:06' and `end` < '2025-03-20 18: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-03-20 18:23:13] Production.ERROR: CronJobId end10 [2025-03-20 18:23:13] Production.INFO: ==23845== Releasing lock... [2025-03-20 18:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:23:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:23:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:23:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:23:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:23:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:23:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:23:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:23:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:23:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:23:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:23:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:23:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:23:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:23:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:23:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:23:15] Production.INFO: call_cost start [2025-03-20 18:23:15] Production.INFO: call_cost end [2025-03-20 18:23:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:23:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:23:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:23:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:23:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:23:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:23:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:23:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:23:16] Production.INFO: ==23841== Releasing lock... [2025-03-20 18:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:23:19] Production.INFO: count ==4727 [2025-03-20 18:23:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:23:06 - End Time 2025-03-20 18:23:06 [2025-03-20 18:23:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724651', 'tblTempUsageDetail_20' ) start [2025-03-20 18:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724651', 'tblTempUsageDetail_20' ) end [2025-03-20 18:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724651', 'tblTempVendorCDR_20' ) start [2025-03-20 18:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724651', 'tblTempVendorCDR_20' ) end [2025-03-20 18:23:21] Production.INFO: ProcessCDR(1,14724651,1,1,2) [2025-03-20 18:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:23:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:23:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:23:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724651', 'tblTempUsageDetail_20' ) start [2025-03-20 18:23:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724651', 'tblTempUsageDetail_20' ) end [2025-03-20 18:23:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:23:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:23:26] Production.INFO: ==23849== Releasing lock... [2025-03-20 18:23:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:23:26] Production.INFO: 63.25 MB #Memory Used# [2025-03-20 22:24:02] Production.INFO: ==23913== Lock acquired, processing the job... [2025-03-20 22:24:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:24:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:24:02] Production.INFO: neon service started [2025-03-20 22:24:02] Production.INFO: neon service started [2025-03-20 22:24:02] Production.INFO: ==23913== Releasing lock... [2025-03-20 22:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:24:03] Production.INFO: ==23917== Lock acquired, processing the job... [2025-03-20 22:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 18:24:03] Production.INFO: ==23915== Lock acquired, processing the job... [2025-03-20 18:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:24:03] Production.INFO: ==23917== Releasing lock... [2025-03-20 22:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:24:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:24:03] Production.INFO: ==23915== Releasing lock... [2025-03-20 18:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:24:04] Production.INFO: ==23920== Lock acquired, processing the job... [2025-03-20 18:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:24:04] Production.INFO: ==23924== Lock acquired, processing the job... [2025-03-20 18:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:24:04] Production.INFO: ==23928== Lock acquired, processing the job... [2025-03-20 18:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:24:04] Production.INFO: ==23922== Lock acquired, processing the job... [2025-03-20 18:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:24:04] Production.INFO: ==23926== Lock acquired, processing the job... [2025-03-20 18:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:24:04] Production.INFO: ==23930== Lock acquired, processing the job... [2025-03-20 18:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:24:04] Production.INFO: Account Balance Start. [2025-03-20 18:24:04] Production.INFO: CreateAllLog Start [2025-03-20 18:24:04] Production.INFO: 117 [2025-03-20 18:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 18:24:05] Production.INFO: Date 2025-03-09 [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: Date 2025-03-10 [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: count ==12 [2025-03-20 18:24:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 18:24:05] Production.INFO: count ==23 [2025-03-20 18:24:05] Production.INFO: Date 2025-03-11 [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724655') start [2025-03-20 18:24:05] Production.INFO: ==23922== Releasing lock... [2025-03-20 18:24:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:24:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:24:05] Production.ERROR: done [2025-03-20 18:24:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724655') end [2025-03-20 18:24:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:24:05] Production.INFO: 1 [2025-03-20 18:24:05] Production.INFO: Date 2025-03-12 [2025-03-20 18:24:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: Date 2025-03-13 [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: Date 2025-03-14 [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: Date 2025-03-15 [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: Date 2025-03-16 [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: ==23930== Releasing lock... [2025-03-20 18:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:24:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:24:05] Production.ERROR: done [2025-03-20 18:24:05] Production.INFO: Date 2025-03-17 [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:24:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:24:05] Production.INFO: Total Charge 0 [2025-03-20 18:24:05] Production.INFO: CreateAllLog End [2025-03-20 18:24:05] Production.INFO: Account Balance End. [2025-03-20 18:24:06] Production.ERROR: CronJobId end 12 [2025-03-20 18:24:06] Production.INFO: ==23926== Releasing lock... [2025-03-20 18:24:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:24:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:24:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:24:06 [end_date_ymd] => 2025-03-20 18:24:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:24:06' and `end` < '2025-03-20 18: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-03-20 18:24:13] Production.ERROR: CronJobId end10 [2025-03-20 18:24:13] Production.INFO: ==23924== Releasing lock... [2025-03-20 18:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:24:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:24:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:24:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:24:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:24:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:24:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:24:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:24:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:24:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:24:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:24:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:24:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:24:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:24:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:24:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:24:16] Production.INFO: call_cost start [2025-03-20 18:24:16] Production.INFO: call_cost end [2025-03-20 18:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:24:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:24:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:24:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:24:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:24:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:24:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:24:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:24:17] Production.INFO: ==23920== Releasing lock... [2025-03-20 18:24:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:24:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:24:19] Production.INFO: count ==4718 [2025-03-20 18:24:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:24:06 - End Time 2025-03-20 18:24:06 [2025-03-20 18:24:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724656', 'tblTempUsageDetail_20' ) start [2025-03-20 18:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724656', 'tblTempUsageDetail_20' ) end [2025-03-20 18:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724656', 'tblTempVendorCDR_20' ) start [2025-03-20 18:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724656', 'tblTempVendorCDR_20' ) end [2025-03-20 18:24:21] Production.INFO: ProcessCDR(1,14724656,1,1,2) [2025-03-20 18:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:24:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:24:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724656', 'tblTempUsageDetail_20' ) start [2025-03-20 18:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724656', 'tblTempUsageDetail_20' ) end [2025-03-20 18:24:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:24:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:24:26] Production.INFO: ==23928== Releasing lock... [2025-03-20 18:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:24:26] Production.INFO: 63.25 MB #Memory Used# [2025-03-20 22:25:01] Production.INFO: ==23998== Lock acquired, processing the job... [2025-03-20 22:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:25:01] Production.INFO: neon service started [2025-03-20 22:25:01] Production.INFO: neon service started [2025-03-20 22:25:01] Production.INFO: ==23998== Releasing lock... [2025-03-20 22:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:25:02] Production.INFO: ==24000== Lock acquired, processing the job... [2025-03-20 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:25:02] Production.INFO: ==24002== Lock acquired, processing the job... [2025-03-20 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:25:02] Production.INFO: ==24002== Releasing lock... [2025-03-20 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:25:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:25:02] Production.INFO: ==24000== Releasing lock... [2025-03-20 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:25:03] Production.INFO: ==24005== Lock acquired, processing the job... [2025-03-20 18:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:25:03] Production.INFO: ==24007== Lock acquired, processing the job... [2025-03-20 18:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:25:03] Production.INFO: ==24011== Lock acquired, processing the job... [2025-03-20 18:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:25:03] Production.INFO: ==24009== Lock acquired, processing the job... [2025-03-20 18:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:25:03] Production.INFO: Account Balance Start. [2025-03-20 18:25:03] Production.INFO: CreateAllLog Start [2025-03-20 18:25:03] Production.INFO: 117 [2025-03-20 18:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:25:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:04] Production.INFO: ==24013== Lock acquired, processing the job... [2025-03-20 18:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:25:04] Production.INFO: ==24015== Lock acquired, processing the job... [2025-03-20 18:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:25:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:25:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:25:04] Production.INFO: ==24007== Releasing lock... [2025-03-20 18:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:25:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:25:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:25:04] Production.INFO: count ==23 [2025-03-20 18:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724660') start [2025-03-20 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724660') end [2025-03-20 18:25:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:25:04] Production.INFO: 1 [2025-03-20 18:25:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:25:04] Production.INFO: Total Charge 0 [2025-03-20 18:25:04] Production.INFO: CreateAllLog End [2025-03-20 18:25:04] Production.INFO: ==24015== Releasing lock... [2025-03-20 18:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:25:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:25:04] Production.ERROR: done [2025-03-20 18:25:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:25:04] Production.INFO: Account Balance End. [2025-03-20 18:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:25:04] Production.INFO: ==24011== Releasing lock... [2025-03-20 18:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:25:04] Production.ERROR: done [2025-03-20 18:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:25:05 [end_date_ymd] => 2025-03-20 18:25:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:25:05' and `end` < '2025-03-20 18: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-03-20 18:25:13] Production.ERROR: CronJobId end10 [2025-03-20 18:25:13] Production.INFO: ==24009== Releasing lock... [2025-03-20 18:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:25:15] Production.INFO: call_cost start [2025-03-20 18:25:15] Production.INFO: call_cost end [2025-03-20 18:25:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:25:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:25:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:25:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:25:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:25:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:25:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:25:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:25:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:25:16] Production.INFO: ==24005== Releasing lock... [2025-03-20 18:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:25:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:25:18] Production.INFO: count ==4702 [2025-03-20 18:25:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:25:05 - End Time 2025-03-20 18:25:05 [2025-03-20 18:25:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724661', 'tblTempUsageDetail_20' ) start [2025-03-20 18:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724661', 'tblTempUsageDetail_20' ) end [2025-03-20 18:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724661', 'tblTempVendorCDR_20' ) start [2025-03-20 18:25:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724661', 'tblTempVendorCDR_20' ) end [2025-03-20 18:25:20] Production.INFO: ProcessCDR(1,14724661,1,1,2) [2025-03-20 18:25:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724661', 'tblTempUsageDetail_20' ) start [2025-03-20 18:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724661', 'tblTempUsageDetail_20' ) end [2025-03-20 18:25:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:25:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:25:24] Production.INFO: ==24013== Releasing lock... [2025-03-20 18:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:25:24] Production.INFO: 63.25 MB #Memory Used# [2025-03-20 22:26:02] Production.INFO: ==24087== Lock acquired, processing the job... [2025-03-20 22:26:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:26:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:26:02] Production.INFO: neon service started [2025-03-20 22:26:02] Production.INFO: neon service started [2025-03-20 22:26:02] Production.INFO: ==24087== Releasing lock... [2025-03-20 22:26:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:26:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:26:03] Production.INFO: ==24089== Lock acquired, processing the job... [2025-03-20 18:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:26:03] Production.INFO: ==24091== Lock acquired, processing the job... [2025-03-20 22:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:26:03] Production.INFO: ==24091== Releasing lock... [2025-03-20 22:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:26:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:26:04] Production.INFO: ==24089== Releasing lock... [2025-03-20 18:26:04] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:26:04] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:26:05] Production.INFO: ==24097== Lock acquired, processing the job... [2025-03-20 18:26:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:26:05] Production.INFO: ==24101== Lock acquired, processing the job... [2025-03-20 18:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:26:05] Production.INFO: ==24103== Lock acquired, processing the job... [2025-03-20 18:26:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:26:05] Production.INFO: ==24095== Lock acquired, processing the job... [2025-03-20 18:26:05] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:26:05] Production.INFO: ==24099== Lock acquired, processing the job... [2025-03-20 18:26:05] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:26:05] Production.INFO: ==24105== Lock acquired, processing the job... [2025-03-20 18:26:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:26:07] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:26:08] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:26:08] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:26:08] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:26:08] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:26:10] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:26:10] Production.INFO: Account Balance Start. [2025-03-20 18:26:10] Production.INFO: CreateAllLog Start [2025-03-20 18:26:10] Production.INFO: 117 [2025-03-20 18:26:10] Production.INFO: Date 2025-03-08 [2025-03-20 18:26:10] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 18:26:10] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:10] Production.INFO: count ==12 [2025-03-20 18:26:10] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 18:26:10] Production.INFO: count ==23 [2025-03-20 18:26:10] Production.INFO: Date 2025-03-09 [2025-03-20 18:26:10] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:10] Production.ERROR: PBX CALL prc_importPBXExtension('14724663') start [2025-03-20 18:26:11] Production.ERROR: done [2025-03-20 18:26:11] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:26:11] Production.ERROR: PBX CALL prc_importPBXExtension('14724663') end [2025-03-20 18:26:11] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:26:11] Production.INFO: 1 [2025-03-20 18:26:11] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:26:11] Production.INFO: Date 2025-03-10 [2025-03-20 18:26:11] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:11] Production.INFO: Date 2025-03-11 [2025-03-20 18:26:11] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:11] Production.INFO: Date 2025-03-12 [2025-03-20 18:26:11] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:11] Production.INFO: Date 2025-03-13 [2025-03-20 18:26:11] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:11] Production.INFO: Date 2025-03-14 [2025-03-20 18:26:11] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:11] Production.INFO: Date 2025-03-15 [2025-03-20 18:26:11] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:11] Production.INFO: Date 2025-03-16 [2025-03-20 18:26:11] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:12] Production.INFO: Date 2025-03-17 [2025-03-20 18:26:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:12] Production.INFO: Date 2025-03-18 [2025-03-20 18:26:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:12] Production.INFO: Date 2025-03-19 [2025-03-20 18:26:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:12] Production.INFO: Date 2025-03-20 [2025-03-20 18:26:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:26:12] Production.INFO: Total Charge 0 [2025-03-20 18:26:13] Production.INFO: ==24097== Releasing lock... [2025-03-20 18:26:13] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:26:13] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:26:13] Production.INFO: CreateAllLog End [2025-03-20 18:26:14] Production.INFO: ==24105== Releasing lock... [2025-03-20 18:26:14] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:26:14] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:26:15] Production.ERROR: done [2025-03-20 18:26:16] Production.INFO: Account Balance End. [2025-03-20 18:26:17] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:26:17 [end_date_ymd] => 2025-03-20 18:26:17 [RateCDR] => 1 ) [2025-03-20 18:26:17] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 15:26:17' and `end` < '2025-03-20 18:26:17' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 18:26:18] Production.ERROR: CronJobId end 12 [2025-03-20 18:26:18] Production.INFO: ==24101== Releasing lock... [2025-03-20 18:26:18] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:26:18] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:26:30] Production.INFO: count ==4691 [2025-03-20 22:27:02] Production.INFO: ==24181== Lock acquired, processing the job... [2025-03-20 22:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:27:02] Production.INFO: neon service started [2025-03-20 22:27:02] Production.INFO: neon service started [2025-03-20 22:27:02] Production.INFO: ==24181== Releasing lock... [2025-03-20 22:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:27:02] Production.INFO: ==24183== Lock acquired, processing the job... [2025-03-20 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:27:02] Production.INFO: ==24185== Lock acquired, processing the job... [2025-03-20 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:27:02] Production.INFO: ==24185== Releasing lock... [2025-03-20 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:27:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:27:02] Production.INFO: ==24183== Releasing lock... [2025-03-20 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:27:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:27:03] Production.INFO: ==24187== Lock acquired, processing the job... [2025-03-20 18:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:27:03] Production.INFO: ==24189== Lock acquired, processing the job... [2025-03-20 18:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:27:03] Production.INFO: ==24191== Lock acquired, processing the job... [2025-03-20 18:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:27:22] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 18:27:22] Production.INFO: count ==12 [2025-03-20 18:27:23] Production.INFO: Account Balance Start. [2025-03-20 18:27:23] Production.INFO: CreateAllLog Start [2025-03-20 18:27:23] Production.INFO: 117 [2025-03-20 18:27:23] Production.INFO: Date 2025-03-08 [2025-03-20 18:27:23] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:23] Production.INFO: Date 2025-03-09 [2025-03-20 18:27:23] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:23] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 18:27:23] Production.INFO: count ==23 [2025-03-20 18:27:23] Production.ERROR: PBX CALL prc_importPBXExtension('14724668') start [2025-03-20 18:27:23] Production.INFO: Date 2025-03-10 [2025-03-20 18:27:23] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:23] Production.INFO: Date 2025-03-11 [2025-03-20 18:27:23] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:23] Production.ERROR: PBX CALL prc_importPBXExtension('14724668') end [2025-03-20 18:27:23] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:27:23] Production.INFO: 1 [2025-03-20 18:27:23] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:27:23] Production.INFO: Date 2025-03-12 [2025-03-20 18:27:23] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:23] Production.INFO: Date 2025-03-13 [2025-03-20 18:27:23] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:23] Production.INFO: Date 2025-03-14 [2025-03-20 18:27:23] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:23] Production.INFO: Date 2025-03-15 [2025-03-20 18:27:23] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:23] Production.INFO: Date 2025-03-16 [2025-03-20 18:27:23] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:23] Production.INFO: Date 2025-03-17 [2025-03-20 18:27:23] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:24] Production.INFO: ==24191== Releasing lock... [2025-03-20 18:27:24] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:27:24] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:27:25] Production.INFO: Date 2025-03-18 [2025-03-20 18:27:25] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:25] Production.INFO: Date 2025-03-19 [2025-03-20 18:27:25] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:25] Production.INFO: Date 2025-03-20 [2025-03-20 18:27:25] Production.INFO: Reseller ==> 0 [2025-03-20 18:27:25] Production.INFO: Total Charge 0 [2025-03-20 18:27:27] Production.INFO: ==24187== Releasing lock... [2025-03-20 18:27:27] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:27:27] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:27:27] Production.INFO: CreateAllLog End [2025-03-20 18:27:30] Production.INFO: Account Balance End. [2025-03-20 18:27:30] Production.ERROR: pbx CDR StartTime 2025-03-20 15:26:17 - End Time 2025-03-20 18:26:17 [2025-03-20 18:27:30] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:27:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724666', 'tblTempUsageDetail_20' ) start [2025-03-20 18:27:34] Production.ERROR: CronJobId end 12 [2025-03-20 18:27:34] Production.INFO: ==24189== Releasing lock... [2025-03-20 18:27:34] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:27:34] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:27:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724666', 'tblTempUsageDetail_20' ) end [2025-03-20 18:27:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724666', 'tblTempVendorCDR_20' ) start [2025-03-20 18:27:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724666', 'tblTempVendorCDR_20' ) end [2025-03-20 18:27:38] Production.INFO: ProcessCDR(1,14724666,1,1,2) [2025-03-20 18:27:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:27:51] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:27:51] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 22:28:01] Production.INFO: ==24260== Lock acquired, processing the job... [2025-03-20 22:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:28:01] Production.INFO: neon service started [2025-03-20 22:28:01] Production.INFO: neon service started [2025-03-20 22:28:01] Production.INFO: ==24260== Releasing lock... [2025-03-20 22:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:28:02] Production.INFO: ==24262== Lock acquired, processing the job... [2025-03-20 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:28:02] Production.INFO: ==24264== Lock acquired, processing the job... [2025-03-20 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:28:03] Production.INFO: ==24264== Releasing lock... [2025-03-20 22:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:28:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:28:03] Production.INFO: ==24262== Releasing lock... [2025-03-20 18:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:28:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:28:04] Production.INFO: ==24268== Lock acquired, processing the job... [2025-03-20 18:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:28:04] Production.INFO: ==24272== Lock acquired, processing the job... [2025-03-20 18:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:28:04] Production.INFO: ==24270== Lock acquired, processing the job... [2025-03-20 18:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:28:05] Production.INFO: Account Balance Start. [2025-03-20 18:28:05] Production.INFO: CreateAllLog Start [2025-03-20 18:28:05] Production.INFO: 117 [2025-03-20 18:28:05] Production.INFO: Date 2025-03-08 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28: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-03-20 18:28:05] Production.INFO: Date 2025-03-09 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28:05] Production.INFO: Date 2025-03-10 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28:05] Production.INFO: count ==12 [2025-03-20 18:28:05] Production.INFO: Date 2025-03-11 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28: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-03-20 18:28:05] Production.INFO: count ==23 [2025-03-20 18:28:05] Production.INFO: Date 2025-03-12 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724670') start [2025-03-20 18:28:05] Production.INFO: Date 2025-03-13 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28:05] Production.INFO: Date 2025-03-14 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28:05] Production.INFO: Date 2025-03-15 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28:05] Production.INFO: Date 2025-03-16 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28:05] Production.INFO: Date 2025-03-17 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:28:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:28:05] Production.INFO: Total Charge 0 [2025-03-20 18:28:06] Production.INFO: CreateAllLog End [2025-03-20 18:28:07] Production.ERROR: PBX CALL prc_importPBXExtension('14724670') end [2025-03-20 18:28:07] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:28:07] Production.INFO: 1 [2025-03-20 18:28:07] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:28:09] Production.INFO: ==24268== Releasing lock... [2025-03-20 18:28:09] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:28:09] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:28:09] Production.INFO: Account Balance End. [2025-03-20 18:28:11] Production.INFO: ==24272== Releasing lock... [2025-03-20 18:28:11] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:28:11] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:28:12] Production.ERROR: CronJobId end 12 [2025-03-20 18:28:12] Production.INFO: ==24270== Releasing lock... [2025-03-20 18:28:12] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:28:12] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:28:18] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:28:18] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724666', 'tblTempUsageDetail_20' ) start [2025-03-20 18:28:26] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:28:26] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:28:26] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:28:26] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:28:26] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:28:26] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:28:26] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:28:26] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:28:26] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:28:26] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:28:26] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:28:26] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:28:26] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:28:26] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724666', 'tblTempUsageDetail_20' ) end [2025-03-20 18:28:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:28:27] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:28:28] Production.INFO: call_cost start [2025-03-20 18:28:29] Production.INFO: call_cost end [2025-03-20 18:28:32] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:28:32] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:28:32] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:28:32] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:28:32] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:28:32] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:28:32] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:28:32] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:28:32] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:28:32] Production.INFO: ==24103== Releasing lock... [2025-03-20 18:28:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:28:32] Production.INFO: 63 MB #Memory Used# [2025-03-20 18:28:32] Production.INFO: ==24095== Releasing lock... [2025-03-20 18:28:32] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:28:32] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:28:48] Production.ERROR: CronJobId end10 [2025-03-20 18:28:48] Production.INFO: ==24099== Releasing lock... [2025-03-20 18:28:48] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:28:48] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 22:29:02] Production.INFO: ==24382== Lock acquired, processing the job... [2025-03-20 22:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:29:02] Production.INFO: neon service started [2025-03-20 22:29:02] Production.INFO: neon service started [2025-03-20 22:29:02] Production.INFO: ==24382== Releasing lock... [2025-03-20 22:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:29:02] Production.INFO: ==24384== Lock acquired, processing the job... [2025-03-20 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:29:02] Production.INFO: ==24384== Releasing lock... [2025-03-20 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:29:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:29:03] Production.INFO: ==24386== Lock acquired, processing the job... [2025-03-20 22:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:29:03] Production.INFO: ==24386== Releasing lock... [2025-03-20 22:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:29:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:29:03] Production.INFO: ==24388== Lock acquired, processing the job... [2025-03-20 18:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:29:03] Production.INFO: ==24390== Lock acquired, processing the job... [2025-03-20 18:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:29:03] Production.INFO: ==24394== Lock acquired, processing the job... [2025-03-20 18:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:29:03] Production.INFO: ==24392== Lock acquired, processing the job... [2025-03-20 18:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:29:04] Production.INFO: ==24396== Lock acquired, processing the job... [2025-03-20 18:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:29:04] Production.INFO: ==24398== Lock acquired, processing the job... [2025-03-20 18:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:29:06] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:29:07] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:29:07] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:29:07] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:29:07] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:29:07] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:29:07] Production.INFO: Account Balance Start. [2025-03-20 18:29:07] Production.INFO: CreateAllLog Start [2025-03-20 18:29:07] Production.INFO: 117 [2025-03-20 18:29:08] Production.INFO: Date 2025-03-08 [2025-03-20 18:29:08] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:08] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 18:29:08] Production.INFO: Date 2025-03-09 [2025-03-20 18:29:08] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:08] Production.INFO: count ==12 [2025-03-20 18:29:09] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 18:29:09] Production.INFO: count ==23 [2025-03-20 18:29:10] Production.ERROR: PBX CALL prc_importPBXExtension('14724674') start [2025-03-20 18:29:12] Production.INFO: Date 2025-03-10 [2025-03-20 18:29:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:12] Production.INFO: Date 2025-03-11 [2025-03-20 18:29:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:12] Production.INFO: Date 2025-03-12 [2025-03-20 18:29:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:12] Production.INFO: Date 2025-03-13 [2025-03-20 18:29:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:12] Production.INFO: Date 2025-03-14 [2025-03-20 18:29:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:12] Production.INFO: Date 2025-03-15 [2025-03-20 18:29:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:12] Production.INFO: Date 2025-03-16 [2025-03-20 18:29:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:12] Production.INFO: Date 2025-03-17 [2025-03-20 18:29:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:12] Production.INFO: Date 2025-03-18 [2025-03-20 18:29:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:12] Production.INFO: Date 2025-03-19 [2025-03-20 18:29:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:12] Production.INFO: Date 2025-03-20 [2025-03-20 18:29:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:29:12] Production.INFO: Total Charge 0 [2025-03-20 18:29:13] Production.INFO: CreateAllLog End [2025-03-20 18:29:13] Production.ERROR: PBX CALL prc_importPBXExtension('14724674') end [2025-03-20 18:29:13] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:29:13] Production.INFO: 1 [2025-03-20 18:29:13] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:29:13] Production.ERROR: done [2025-03-20 18:29:13] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:29:13] Production.INFO: ==24398== Releasing lock... [2025-03-20 18:29:13] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:29:13] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:29:14] Production.INFO: Account Balance End. [2025-03-20 18:29:15] Production.INFO: ==24390== Releasing lock... [2025-03-20 18:29:15] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:29:15] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:29:16] Production.ERROR: done [2025-03-20 18:29:16] Production.ERROR: CronJobId end 12 [2025-03-20 18:29:16] Production.INFO: ==24394== Releasing lock... [2025-03-20 18:29:16] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:29:16] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:29:17] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:29:17 [end_date_ymd] => 2025-03-20 18:29:17 [RateCDR] => 1 ) [2025-03-20 18:29:17] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 15:29:17' and `end` < '2025-03-20 18:29:17' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 18:29:30] Production.INFO: count ==4651 [2025-03-20 22:30:01] Production.INFO: ==24472== Lock acquired, processing the job... [2025-03-20 22:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:30:01] Production.INFO: neon service started [2025-03-20 22:30:01] Production.INFO: neon service started [2025-03-20 22:30:01] Production.INFO: ==24472== Releasing lock... [2025-03-20 22:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:30:02] Production.INFO: ==24474== Lock acquired, processing the job... [2025-03-20 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:30:02] Production.INFO: ==24474== Releasing lock... [2025-03-20 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:30:02] Production.INFO: ==24476== Lock acquired, processing the job... [2025-03-20 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:30:02] Production.INFO: ==24476== Releasing lock... [2025-03-20 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:30:03] Production.INFO: ==24480== Lock acquired, processing the job... [2025-03-20 18:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:30:03] Production.INFO: ==24478== Lock acquired, processing the job... [2025-03-20 18:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 18:30:03] Production.INFO: ==24482== Lock acquired, processing the job... [2025-03-20 18:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:30:03] Production.INFO: ==24484== Lock acquired, processing the job... [2025-03-20 18:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 18:30:03] Production.INFO: ==24486== Lock acquired, processing the job... [2025-03-20 18:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:30:06] Production.ERROR: CronJob PID - 24388 [2025-03-20 18:30:06] Production.ERROR: CronJob Title - System Alerts [2025-03-20 18:30:06] Production.ERROR: CronJob ID - 5 [2025-03-20 18:30:06] Production.ERROR: CronJob Last Run Time 2025-03-20 18:29:00 [2025-03-20 18:30:06] Production.ERROR: CronJob Active Minutes 1 [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:30:06] Production.ERROR: CronJob PID - 24480 [2025-03-20 18:30:06] Production.ERROR: CronJob Title - Account Block [2025-03-20 18:30:06] Production.ERROR: CronJob ID - 7 [2025-03-20 18:30:06] Production.ERROR: CronJob Last Run Time 2025-03-20 18:30:00 [2025-03-20 18:30:06] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:30:06] Production.ERROR: CronJob PID - 24392 [2025-03-20 18:30:06] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 18:30:06] Production.ERROR: CronJob ID - 10 [2025-03-20 18:30:06] Production.ERROR: CronJob Last Run Time 2025-03-20 18:29:00 [2025-03-20 18:30:06] Production.ERROR: CronJob Active Minutes 1 [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:30:06] Production.ERROR: CronJob PID - 24482 [2025-03-20 18:30:06] Production.ERROR: CronJob Title - Prepaid Account Balance [2025-03-20 18:30:06] Production.ERROR: CronJob ID - 12 [2025-03-20 18:30:06] Production.ERROR: CronJob Last Run Time 2025-03-20 18:30:00 [2025-03-20 18:30:06] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:30:06] Production.ERROR: CronJob PID - 24396 [2025-03-20 18:30:06] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 18:30:06] Production.ERROR: CronJob ID - 16 [2025-03-20 18:30:06] Production.ERROR: CronJob Last Run Time 2025-03-20 18:29:00 [2025-03-20 18:30:06] Production.ERROR: CronJob Active Minutes 1 [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:30:06] Production.ERROR: CronJob PID - 24484 [2025-03-20 18:30:06] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 18:30:06] Production.ERROR: CronJob ID - 17 [2025-03-20 18:30:06] Production.ERROR: CronJob Last Run Time 2025-03-20 18:30:00 [2025-03-20 18:30:06] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:30:06] Production.ERROR: CronJob PID - 24486 [2025-03-20 18:30:06] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 18:30:06] Production.ERROR: CronJob ID - 19 [2025-03-20 18:30:06] Production.ERROR: CronJob Last Run Time 2025-03-20 18:30:00 [2025-03-20 18:30:06] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 18:30:06] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:30:06] Production.INFO: Account Balance Start. [2025-03-20 18:30:06] Production.INFO: CreateAllLog Start [2025-03-20 18:30:06] Production.INFO: 117 [2025-03-20 18:30:07] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 18:30:07] Production.INFO: count ==12 [2025-03-20 18:30:08] Production.INFO: Date 2025-03-08 [2025-03-20 18:30:08] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:09] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 18:30:09] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 18:30:09] Production.INFO: ==24478== Releasing lock... [2025-03-20 18:30:09] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 18:30:09] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 18:30:09] Production.INFO: count ==23 [2025-03-20 18:30:09] Production.ERROR: PBX CALL prc_importPBXExtension('14724679') start [2025-03-20 18:30:09] Production.ERROR: done [2025-03-20 18:30:09] Production.INFO: Date 2025-03-09 [2025-03-20 18:30:09] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:09] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 18:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724681', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 18:30:09] Production.INFO: Date 2025-03-10 [2025-03-20 18:30:09] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:09] Production.INFO: Date 2025-03-11 [2025-03-20 18:30:09] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:09] Production.INFO: Date 2025-03-12 [2025-03-20 18:30:09] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:09] Production.INFO: Date 2025-03-13 [2025-03-20 18:30:09] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:09] Production.INFO: Date 2025-03-14 [2025-03-20 18:30:09] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:09] Production.INFO: Date 2025-03-15 [2025-03-20 18:30:09] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:09] Production.INFO: Date 2025-03-16 [2025-03-20 18:30:09] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:09] Production.INFO: Date 2025-03-17 [2025-03-20 18:30:09] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:09] Production.INFO: Date 2025-03-18 [2025-03-20 18:30:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:12] Production.ERROR: PBX CALL prc_importPBXExtension('14724679') end [2025-03-20 18:30:12] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:30:12] Production.INFO: 1 [2025-03-20 18:30:12] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:30:12] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724681', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 18:30:12] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 18:30:12] Production.INFO: ProcessCDR(1,14724681,1,1,2) [2025-03-20 18:30:12] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724681,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:30:12] Production.INFO: Date 2025-03-19 [2025-03-20 18:30:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:12] Production.INFO: Date 2025-03-20 [2025-03-20 18:30:12] Production.INFO: Reseller ==> 0 [2025-03-20 18:30:12] Production.INFO: Total Charge 0 [2025-03-20 18:30:12] Production.INFO: ==24480== Releasing lock... [2025-03-20 18:30:12] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:30:12] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:30:13] Production.INFO: CreateAllLog End [2025-03-20 18:30:15] Production.INFO: ==24486== Releasing lock... [2025-03-20 18:30:15] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:30:15] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:30:15] Production.INFO: Account Balance End. [2025-03-20 18:30:15] Production.ERROR: pbx CDR StartTime 2025-03-20 15:29:17 - End Time 2025-03-20 18:29:17 [2025-03-20 18:30:15] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:30:15] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724677', 'tblTempUsageDetail_20' ) start [2025-03-20 18:30:15] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724681,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:30:15] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:30:15] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:30:18] Production.INFO: ==24484== Releasing lock... [2025-03-20 18:30:18] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 18:30:18] Production.INFO: 26 MB #Memory Used# [2025-03-20 18:30:18] Production.ERROR: CronJobId end 12 [2025-03-20 18:30:18] Production.INFO: ==24482== Releasing lock... [2025-03-20 18:30:18] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:30:18] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724677', 'tblTempUsageDetail_20' ) end [2025-03-20 18:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724677', 'tblTempVendorCDR_20' ) start [2025-03-20 18:30:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724677', 'tblTempVendorCDR_20' ) end [2025-03-20 18:30:23] Production.INFO: ProcessCDR(1,14724677,1,1,2) [2025-03-20 18:30:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:30:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:30:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:30:50] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:30:50] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:30:50] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:30:50] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:30:50] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:30:50] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:30:50] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:30:50] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:30:50] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:30:50] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:30:50] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:30:50] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:30:50] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:30:50] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:30:50] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:30:50] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724677', 'tblTempUsageDetail_20' ) start [2025-03-20 18:30:52] Production.INFO: call_cost start [2025-03-20 18:30:52] Production.INFO: call_cost end [2025-03-20 18:30:54] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:30:54] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:30:54] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:30:54] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:30:54] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:30:54] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:30:54] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:30:54] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:30:54] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:30:55] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724677', 'tblTempUsageDetail_20' ) end [2025-03-20 18:30:55] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:30:55] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:30:57] Production.INFO: ==24388== Releasing lock... [2025-03-20 18:30:57] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:30:57] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:30:59] Production.INFO: ==24396== Releasing lock... [2025-03-20 18:30:59] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:30:59] Production.INFO: 62.75 MB #Memory Used# [2025-03-20 22:31:02] Production.INFO: ==24563== Lock acquired, processing the job... [2025-03-20 22:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:31:02] Production.INFO: neon service started [2025-03-20 22:31:02] Production.INFO: neon service started [2025-03-20 22:31:02] Production.INFO: ==24563== Releasing lock... [2025-03-20 22:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:31:02] Production.INFO: ==24565== Lock acquired, processing the job... [2025-03-20 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:31:02] Production.INFO: ==24565== Releasing lock... [2025-03-20 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:31:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:31:03] Production.INFO: ==24567== Lock acquired, processing the job... [2025-03-20 22:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:31:03] Production.INFO: ==24567== Releasing lock... [2025-03-20 22:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:31:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:31:03] Production.INFO: ==24570== Lock acquired, processing the job... [2025-03-20 18:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:31:03] Production.INFO: ==24572== Lock acquired, processing the job... [2025-03-20 18:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:31:03] Production.INFO: ==24574== Lock acquired, processing the job... [2025-03-20 18:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:31:03] Production.INFO: ==24576== Lock acquired, processing the job... [2025-03-20 18:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:31:03] Production.INFO: ==24578== Lock acquired, processing the job... [2025-03-20 18:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:31:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:31:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18: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-03-20 18:31:04] Production.INFO: count ==12 [2025-03-20 18:31:04] Production.INFO: Account Balance Start. [2025-03-20 18:31:04] Production.INFO: CreateAllLog Start [2025-03-20 18:31:04] Production.INFO: 117 [2025-03-20 18: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-03-20 18:31:04] Production.INFO: count ==23 [2025-03-20 18:31:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724682') start [2025-03-20 18:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Date 2025-03-10 [2025-03-20 18:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Date 2025-03-11 [2025-03-20 18:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Date 2025-03-12 [2025-03-20 18:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Date 2025-03-13 [2025-03-20 18:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Date 2025-03-14 [2025-03-20 18:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Date 2025-03-15 [2025-03-20 18:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Date 2025-03-16 [2025-03-20 18:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Date 2025-03-17 [2025-03-20 18:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:31:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:31:05] Production.INFO: Total Charge 0 [2025-03-20 18:31:05] Production.INFO: CreateAllLog End [2025-03-20 18:31:05] Production.ERROR: done [2025-03-20 18:31:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724682') end [2025-03-20 18:31:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:31:05] Production.INFO: 1 [2025-03-20 18:31:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:31:08] Production.INFO: ==24572== Releasing lock... [2025-03-20 18:31:08] Production.INFO: ==24578== Releasing lock... [2025-03-20 18:31:08] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:31:08] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:31:08] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:31:08] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:31:08] Production.INFO: Account Balance End. [2025-03-20 18:31:09] Production.ERROR: done [2025-03-20 18:31:09] Production.ERROR: CronJobId end 12 [2025-03-20 18:31:09] Production.INFO: ==24574== Releasing lock... [2025-03-20 18:31:09] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:31:09] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:31:10] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:31:10 [end_date_ymd] => 2025-03-20 18:31:10 [RateCDR] => 1 ) [2025-03-20 18:31:10] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 15:31:10' and `end` < '2025-03-20 18:31:10' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 18:31:23] Production.INFO: count ==4562 [2025-03-20 18:31:24] Production.ERROR: CronJobId end10 [2025-03-20 18:31:24] Production.INFO: ==24392== Releasing lock... [2025-03-20 18:31:24] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:31:24] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:31:45] Production.ERROR: pbx CDR StartTime 2025-03-20 15:31:10 - End Time 2025-03-20 18:31:10 [2025-03-20 18:31:45] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:31:45] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724686', 'tblTempUsageDetail_20' ) start [2025-03-20 18:31:46] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724686', 'tblTempUsageDetail_20' ) end [2025-03-20 18:31:46] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724686', 'tblTempVendorCDR_20' ) start [2025-03-20 18:31:46] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724686', 'tblTempVendorCDR_20' ) end [2025-03-20 18:31:46] Production.INFO: ProcessCDR(1,14724686,1,1,2) [2025-03-20 18:31:46] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:31:49] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:31:49] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:31:50] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:31:50] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:31:50] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:31:50] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:31:50] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:31:50] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:31:50] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:31:50] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:31:50] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:31:50] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:31:50] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:31:50] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:31:50] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:31:50] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:31:50] Production.INFO: call_cost start [2025-03-20 18:31:50] Production.INFO: call_cost end [2025-03-20 18:31:51] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:31:51] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:31:51] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:31:51] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:31:51] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:31:51] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:31:51] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:31:51] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:31:51] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:31:51] Production.INFO: ==24570== Releasing lock... [2025-03-20 18:31:51] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:31:51] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:31:51] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:31:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724686', 'tblTempUsageDetail_20' ) start [2025-03-20 18:31:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724686', 'tblTempUsageDetail_20' ) end [2025-03-20 18:31:51] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:31:51] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:31:51] Production.INFO: ==24576== Releasing lock... [2025-03-20 18:31:51] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:31:51] Production.INFO: 62.25 MB #Memory Used# [2025-03-20 22:32:01] Production.INFO: ==24657== Lock acquired, processing the job... [2025-03-20 22:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:32:01] Production.INFO: neon service started [2025-03-20 22:32:01] Production.INFO: neon service started [2025-03-20 22:32:01] Production.INFO: ==24657== Releasing lock... [2025-03-20 22:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:32:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:32:02] Production.INFO: ==24662== Lock acquired, processing the job... [2025-03-20 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:32:02] Production.INFO: ==24662== Releasing lock... [2025-03-20 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:32:02] Production.INFO: ==24660== Lock acquired, processing the job... [2025-03-20 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:32:02] Production.INFO: ==24660== Releasing lock... [2025-03-20 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:32:03] Production.INFO: ==24664== Lock acquired, processing the job... [2025-03-20 18:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:32:03] Production.INFO: ==24666== Lock acquired, processing the job... [2025-03-20 18:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:32:03] Production.INFO: ==24672== Lock acquired, processing the job... [2025-03-20 18:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:32:03] Production.INFO: ==24668== Lock acquired, processing the job... [2025-03-20 18:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:32:03] Production.INFO: ==24670== Lock acquired, processing the job... [2025-03-20 18:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:32:03] Production.INFO: ==24674== Lock acquired, processing the job... [2025-03-20 18:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:32:03] Production.INFO: ==24666== Releasing lock... [2025-03-20 18:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:32:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:32:03] Production.INFO: Account Balance Start. [2025-03-20 18:32:03] Production.INFO: CreateAllLog Start [2025-03-20 18:32:03] Production.INFO: 117 [2025-03-20 18:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:32:03] Production.INFO: Date 2025-03-08 [2025-03-20 18: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-03-20 18:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:32:04] Production.ERROR: done [2025-03-20 18:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:32:04] Production.INFO: count ==23 [2025-03-20 18:32:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724689') start [2025-03-20 18:32:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.ERROR: done [2025-03-20 18:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724689') end [2025-03-20 18:32:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:32:04] Production.INFO: 1 [2025-03-20 18:32:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.INFO: ==24674== Releasing lock... [2025-03-20 18:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:32:04] Production.INFO: Total Charge 0 [2025-03-20 18:32:04] Production.INFO: CreateAllLog End [2025-03-20 18:32:04] Production.INFO: Account Balance End. [2025-03-20 18:32:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:32:04] Production.INFO: ==24670== Releasing lock... [2025-03-20 18:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:32:05 [end_date_ymd] => 2025-03-20 18:32:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:32:05' and `end` < '2025-03-20 18: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-03-20 18:32:14] Production.ERROR: CronJobId end10 [2025-03-20 18:32:14] Production.INFO: ==24668== Releasing lock... [2025-03-20 18:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:32:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:32:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:32:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:32:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:32:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:32:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:32:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:32:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:32:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:32:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:32:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:32:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:32:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:32:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:32:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:32:16] Production.INFO: call_cost start [2025-03-20 18:32:16] Production.INFO: call_cost end [2025-03-20 18:32:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:32:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:32:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:32:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:32:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:32:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:32:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:32:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:32:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:32:17] Production.INFO: ==24664== Releasing lock... [2025-03-20 18:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:32:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:32:18] Production.INFO: count ==4560 [2025-03-20 18:32:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:32:05 - End Time 2025-03-20 18:32:05 [2025-03-20 18:32:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724691', 'tblTempUsageDetail_20' ) start [2025-03-20 18:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724691', 'tblTempUsageDetail_20' ) end [2025-03-20 18:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724691', 'tblTempVendorCDR_20' ) start [2025-03-20 18:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724691', 'tblTempVendorCDR_20' ) end [2025-03-20 18:32:20] Production.INFO: ProcessCDR(1,14724691,1,1,2) [2025-03-20 18:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:32:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:32:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724691', 'tblTempUsageDetail_20' ) start [2025-03-20 18:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724691', 'tblTempUsageDetail_20' ) end [2025-03-20 18:32:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:32:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:32:25] Production.INFO: ==24672== Releasing lock... [2025-03-20 18:32:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:32:25] Production.INFO: 62 MB #Memory Used# [2025-03-20 22:33:02] Production.INFO: ==24760== Lock acquired, processing the job... [2025-03-20 22:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:33:02] Production.INFO: neon service started [2025-03-20 22:33:02] Production.INFO: neon service started [2025-03-20 22:33:02] Production.INFO: ==24760== Releasing lock... [2025-03-20 22:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:33:02] Production.INFO: ==24763== Lock acquired, processing the job... [2025-03-20 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:33:02] Production.INFO: ==24763== Releasing lock... [2025-03-20 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:33:03] Production.INFO: ==24766== Lock acquired, processing the job... [2025-03-20 22:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:33:03] Production.INFO: ==24766== Releasing lock... [2025-03-20 22:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:33:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:33:03] Production.INFO: ==24768== Lock acquired, processing the job... [2025-03-20 18:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:33:03] Production.INFO: ==24770== Lock acquired, processing the job... [2025-03-20 18:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:33:03] Production.INFO: ==24774== Lock acquired, processing the job... [2025-03-20 18:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:33:03] Production.INFO: ==24772== Lock acquired, processing the job... [2025-03-20 18:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:33:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:33:04] Production.INFO: Account Balance Start. [2025-03-20 18:33:04] Production.INFO: CreateAllLog Start [2025-03-20 18:33:04] Production.INFO: ==24778== Lock acquired, processing the job... [2025-03-20 18:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:33:04] Production.INFO: 117 [2025-03-20 18:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:33:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:33:04] Production.INFO: ==24776== Lock acquired, processing the job... [2025-03-20 18:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18: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-03-20 18:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:04] Production.INFO: count ==12 [2025-03-20 18:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18: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-03-20 18:33:04] Production.INFO: count ==23 [2025-03-20 18:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724695') start [2025-03-20 18:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724695') end [2025-03-20 18:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:33:04] Production.INFO: 1 [2025-03-20 18:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:33:04] Production.INFO: ==24778== Releasing lock... [2025-03-20 18:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:33:04] Production.INFO: ==24770== Releasing lock... [2025-03-20 18:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:33:04] Production.ERROR: done [2025-03-20 18:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:04] Production.ERROR: done [2025-03-20 18:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:33:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:33:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:33:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:33:05] Production.INFO: Total Charge 0 [2025-03-20 18:33:05] Production.INFO: CreateAllLog End [2025-03-20 18:33:05] Production.INFO: Account Balance End. [2025-03-20 18:33:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:33:05] Production.INFO: ==24774== Releasing lock... [2025-03-20 18:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:33:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:33:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:33:06 [end_date_ymd] => 2025-03-20 18:33:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:33:06' and `end` < '2025-03-20 18: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-03-20 18:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:33:15] Production.ERROR: CronJobId end10 [2025-03-20 18:33:15] Production.INFO: ==24772== Releasing lock... [2025-03-20 18:33:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:33:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:33:15] Production.INFO: call_cost start [2025-03-20 18:33:15] Production.INFO: call_cost end [2025-03-20 18:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:33:16] Production.INFO: ==24768== Releasing lock... [2025-03-20 18:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:33:19] Production.INFO: count ==4535 [2025-03-20 18:33:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:33:06 - End Time 2025-03-20 18:33:06 [2025-03-20 18:33:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724696', 'tblTempUsageDetail_20' ) start [2025-03-20 18:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724696', 'tblTempUsageDetail_20' ) end [2025-03-20 18:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724696', 'tblTempVendorCDR_20' ) start [2025-03-20 18:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724696', 'tblTempVendorCDR_20' ) end [2025-03-20 18:33:20] Production.INFO: ProcessCDR(1,14724696,1,1,2) [2025-03-20 18:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:33:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:33:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:33:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724696', 'tblTempUsageDetail_20' ) start [2025-03-20 18:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724696', 'tblTempUsageDetail_20' ) end [2025-03-20 18:33:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:33:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:33:25] Production.INFO: ==24776== Releasing lock... [2025-03-20 18:33:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:33:25] Production.INFO: 62 MB #Memory Used# [2025-03-20 22:34:01] Production.INFO: ==24855== Lock acquired, processing the job... [2025-03-20 22:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:34:01] Production.INFO: neon service started [2025-03-20 22:34:01] Production.INFO: neon service started [2025-03-20 22:34:01] Production.INFO: ==24855== Releasing lock... [2025-03-20 22:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:34:02] Production.INFO: ==24861== Lock acquired, processing the job... [2025-03-20 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:34:02] Production.INFO: ==24861== Releasing lock... [2025-03-20 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:34:02] Production.INFO: ==24859== Lock acquired, processing the job... [2025-03-20 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:34:02] Production.INFO: ==24859== Releasing lock... [2025-03-20 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:34:03] Production.INFO: ==24866== Lock acquired, processing the job... [2025-03-20 18:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:34:03] Production.INFO: ==24874== Lock acquired, processing the job... [2025-03-20 18:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:34:03] Production.INFO: ==24864== Lock acquired, processing the job... [2025-03-20 18:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18: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-03-20 18:34:03] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:34:03] Production.INFO: count ==23 [2025-03-20 18:34:03] Production.INFO: ==24870== Lock acquired, processing the job... [2025-03-20 18:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:34:03] Production.INFO: ==24868== Lock acquired, processing the job... [2025-03-20 18:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:34:03] Production.INFO: ==24872== Lock acquired, processing the job... [2025-03-20 18:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724698') start [2025-03-20 18:34:03] Production.INFO: Account Balance Start. [2025-03-20 18:34:03] Production.INFO: CreateAllLog Start [2025-03-20 18:34:03] Production.INFO: 117 [2025-03-20 18:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:03] Production.INFO: ==24866== Releasing lock... [2025-03-20 18:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724698') end [2025-03-20 18:34:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:34:03] Production.INFO: 1 [2025-03-20 18:34:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:34:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:34:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:34:03] Production.INFO: ==24874== Releasing lock... [2025-03-20 18:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:34:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:04] Production.ERROR: done [2025-03-20 18:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:34:04] Production.INFO: Total Charge 0 [2025-03-20 18:34:04] Production.INFO: CreateAllLog End [2025-03-20 18:34:04] Production.ERROR: done [2025-03-20 18:34:04] Production.INFO: Account Balance End. [2025-03-20 18:34:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:34:04] Production.INFO: ==24870== Releasing lock... [2025-03-20 18:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:34:05 [end_date_ymd] => 2025-03-20 18:34:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:34:05' and `end` < '2025-03-20 18: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-03-20 18:34:12] Production.ERROR: CronJobId end10 [2025-03-20 18:34:12] Production.INFO: ==24868== Releasing lock... [2025-03-20 18:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:34:14] Production.INFO: call_cost start [2025-03-20 18:34:14] Production.INFO: call_cost end [2025-03-20 18:34:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:34:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:34:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:34:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:34:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:34:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:34:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:34:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:34:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:34:15] Production.INFO: ==24864== Releasing lock... [2025-03-20 18:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:34:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:34:18] Production.INFO: count ==4523 [2025-03-20 18:34:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:34:05 - End Time 2025-03-20 18:34:05 [2025-03-20 18:34:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724701', 'tblTempUsageDetail_20' ) start [2025-03-20 18:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724701', 'tblTempUsageDetail_20' ) end [2025-03-20 18:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724701', 'tblTempVendorCDR_20' ) start [2025-03-20 18:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724701', 'tblTempVendorCDR_20' ) end [2025-03-20 18:34:20] Production.INFO: ProcessCDR(1,14724701,1,1,2) [2025-03-20 18:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724701', 'tblTempUsageDetail_20' ) start [2025-03-20 18:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724701', 'tblTempUsageDetail_20' ) end [2025-03-20 18:34:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:34:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:34:25] Production.INFO: ==24872== Releasing lock... [2025-03-20 18:34:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:34:25] Production.INFO: 61.75 MB #Memory Used# [2025-03-20 22:35:02] Production.INFO: ==24946== Lock acquired, processing the job... [2025-03-20 22:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:35:02] Production.INFO: neon service started [2025-03-20 22:35:02] Production.INFO: neon service started [2025-03-20 22:35:02] Production.INFO: ==24946== Releasing lock... [2025-03-20 22:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:35:02] Production.INFO: ==24948== Lock acquired, processing the job... [2025-03-20 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:35:02] Production.INFO: ==24948== Releasing lock... [2025-03-20 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:35:02] Production.INFO: ==24950== Lock acquired, processing the job... [2025-03-20 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:35:03] Production.INFO: ==24950== Releasing lock... [2025-03-20 22:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:35:03] Production.INFO: ==24952== Lock acquired, processing the job... [2025-03-20 18:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:35:03] Production.INFO: ==24954== Lock acquired, processing the job... [2025-03-20 18:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:35:03] Production.INFO: ==24960== Lock acquired, processing the job... [2025-03-20 18:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:35:03] Production.INFO: ==24962== Lock acquired, processing the job... [2025-03-20 18:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:35:03] Production.INFO: ==24956== Lock acquired, processing the job... [2025-03-20 18:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:35:03] Production.INFO: ==24954== Releasing lock... [2025-03-20 18:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:35:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:35:04] Production.INFO: ==24958== Lock acquired, processing the job... [2025-03-20 18:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18: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-03-20 18:35:04] Production.INFO: Account Balance Start. [2025-03-20 18:35:04] Production.INFO: CreateAllLog Start [2025-03-20 18:35:04] Production.INFO: 117 [2025-03-20 18:35:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:35:04] Production.INFO: count ==23 [2025-03-20 18:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724704') start [2025-03-20 18:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.ERROR: done [2025-03-20 18:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724704') end [2025-03-20 18:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:35:04] Production.INFO: 1 [2025-03-20 18:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.INFO: ==24962== Releasing lock... [2025-03-20 18:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.ERROR: done [2025-03-20 18:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:35:04] Production.INFO: Total Charge 0 [2025-03-20 18:35:04] Production.INFO: CreateAllLog End [2025-03-20 18:35:04] Production.INFO: Account Balance End. [2025-03-20 18:35:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:35:04] Production.INFO: ==24958== Releasing lock... [2025-03-20 18:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:35:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:35:05 [end_date_ymd] => 2025-03-20 18:35:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:35:05' and `end` < '2025-03-20 18: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-03-20 18:35:14] Production.ERROR: CronJobId end10 [2025-03-20 18:35:14] Production.INFO: ==24956== Releasing lock... [2025-03-20 18:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:35:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:35:16] Production.INFO: call_cost start [2025-03-20 18:35:16] Production.INFO: call_cost end [2025-03-20 18:35:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:35:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:35:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:35:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:35:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:35:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:35:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:35:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:35:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:35:17] Production.INFO: ==24952== Releasing lock... [2025-03-20 18:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:35:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:35:18] Production.INFO: count ==4508 [2025-03-20 18:35:19] Production.ERROR: pbx CDR StartTime 2025-03-20 15:35:05 - End Time 2025-03-20 18:35:05 [2025-03-20 18:35:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724706', 'tblTempUsageDetail_20' ) start [2025-03-20 18:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724706', 'tblTempUsageDetail_20' ) end [2025-03-20 18:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724706', 'tblTempVendorCDR_20' ) start [2025-03-20 18:35:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724706', 'tblTempVendorCDR_20' ) end [2025-03-20 18:35:20] Production.INFO: ProcessCDR(1,14724706,1,1,2) [2025-03-20 18:35:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724706', 'tblTempUsageDetail_20' ) start [2025-03-20 18:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724706', 'tblTempUsageDetail_20' ) end [2025-03-20 18:35:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:35:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:35:23] Production.INFO: ==24960== Releasing lock... [2025-03-20 18:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:35:23] Production.INFO: 61.75 MB #Memory Used# [2025-03-20 22:36:01] Production.INFO: ==25036== Lock acquired, processing the job... [2025-03-20 22:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:36:01] Production.INFO: neon service started [2025-03-20 22:36:01] Production.INFO: neon service started [2025-03-20 22:36:01] Production.INFO: ==25036== Releasing lock... [2025-03-20 22:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:36:02] Production.INFO: ==25040== Lock acquired, processing the job... [2025-03-20 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:36:02] Production.INFO: ==25040== Releasing lock... [2025-03-20 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:36:02] Production.INFO: ==25038== Lock acquired, processing the job... [2025-03-20 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:36:02] Production.INFO: ==25038== Releasing lock... [2025-03-20 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:36:03] Production.INFO: ==25044== Lock acquired, processing the job... [2025-03-20 18:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:36:03] Production.INFO: ==25053== Lock acquired, processing the job... [2025-03-20 18:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:36:03] Production.INFO: ==25042== Lock acquired, processing the job... [2025-03-20 18:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18: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-03-20 18:36:03] Production.INFO: ==25046== Lock acquired, processing the job... [2025-03-20 18:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:36:03] Production.INFO: count ==12 [2025-03-20 18:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18: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-03-20 18:36:03] Production.INFO: count ==23 [2025-03-20 18:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724708') start [2025-03-20 18:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724708') end [2025-03-20 18:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:36:04] Production.INFO: 1 [2025-03-20 18:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:36:04] Production.INFO: ==25048== Lock acquired, processing the job... [2025-03-20 18:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:36:04] Production.INFO: ==25053== Releasing lock... [2025-03-20 18:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:36:04] Production.INFO: ==25044== Releasing lock... [2025-03-20 18:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:36:04] Production.INFO: ==25051== Lock acquired, processing the job... [2025-03-20 18:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:36:04] Production.INFO: Account Balance Start. [2025-03-20 18:36:04] Production.INFO: CreateAllLog Start [2025-03-20 18:36:04] Production.INFO: 117 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:36:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.ERROR: done [2025-03-20 18:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.ERROR: done [2025-03-20 18:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:36:04] Production.INFO: Total Charge 0 [2025-03-20 18:36:04] Production.INFO: CreateAllLog End [2025-03-20 18:36:05] Production.INFO: Account Balance End. [2025-03-20 18:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:36:05] Production.INFO: ==25048== Releasing lock... [2025-03-20 18:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:36:05 [end_date_ymd] => 2025-03-20 18:36:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:36:05' and `end` < '2025-03-20 18: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-03-20 18:36:13] Production.ERROR: CronJobId end10 [2025-03-20 18:36:13] Production.INFO: ==25046== Releasing lock... [2025-03-20 18:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:36:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:36:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:36:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:36:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:36:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:36:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:36:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:36:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:36:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:36:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:36:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:36:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:36:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:36:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:36:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:36:15] Production.INFO: call_cost start [2025-03-20 18:36:15] Production.INFO: call_cost end [2025-03-20 18:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:36:16] Production.INFO: ==25042== Releasing lock... [2025-03-20 18:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:36:18] Production.INFO: count ==4481 [2025-03-20 18:36:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:36:05 - End Time 2025-03-20 18:36:05 [2025-03-20 18:36:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724711', 'tblTempUsageDetail_20' ) start [2025-03-20 18:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724711', 'tblTempUsageDetail_20' ) end [2025-03-20 18:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724711', 'tblTempVendorCDR_20' ) start [2025-03-20 18:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724711', 'tblTempVendorCDR_20' ) end [2025-03-20 18:36:20] Production.INFO: ProcessCDR(1,14724711,1,1,2) [2025-03-20 18:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724711', 'tblTempUsageDetail_20' ) start [2025-03-20 18:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724711', 'tblTempUsageDetail_20' ) end [2025-03-20 18:36:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:36:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:36:24] Production.INFO: ==25051== Releasing lock... [2025-03-20 18:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:36:24] Production.INFO: 61.5 MB #Memory Used# [2025-03-20 22:37:02] Production.INFO: ==25120== Lock acquired, processing the job... [2025-03-20 22:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:37:02] Production.INFO: neon service started [2025-03-20 22:37:02] Production.INFO: neon service started [2025-03-20 22:37:02] Production.INFO: ==25120== Releasing lock... [2025-03-20 22:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:37:02] Production.INFO: ==25123== Lock acquired, processing the job... [2025-03-20 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:37:02] Production.INFO: ==25123== Releasing lock... [2025-03-20 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:37:02] Production.INFO: ==25125== Lock acquired, processing the job... [2025-03-20 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:37:02] Production.INFO: ==25125== Releasing lock... [2025-03-20 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:37:03] Production.INFO: ==25139== Lock acquired, processing the job... [2025-03-20 18:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18: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-03-20 18:37:03] Production.INFO: ==25133== Lock acquired, processing the job... [2025-03-20 18:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:37:03] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:37:03] Production.INFO: count ==23 [2025-03-20 18:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724712') start [2025-03-20 18:37:03] Production.INFO: Account Balance Start. [2025-03-20 18:37:03] Production.INFO: CreateAllLog Start [2025-03-20 18:37:03] Production.INFO: 117 [2025-03-20 18:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724712') end [2025-03-20 18:37:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:37:03] Production.INFO: 1 [2025-03-20 18:37:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:37:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:03] Production.INFO: ==25139== Releasing lock... [2025-03-20 18:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:37:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:37:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:03] Production.INFO: Date 2025-03-12 [2025-03-20 18:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:04] Production.INFO: ==25127== Lock acquired, processing the job... [2025-03-20 18:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:04] Production.INFO: ==25129== Lock acquired, processing the job... [2025-03-20 18:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:37:04] Production.INFO: ==25131== Lock acquired, processing the job... [2025-03-20 18:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:37:04] Production.INFO: ==25136== Lock acquired, processing the job... [2025-03-20 18:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:37:04] Production.ERROR: done [2025-03-20 18:37:04] Production.INFO: ==25129== Releasing lock... [2025-03-20 18:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:37:04] Production.INFO: Total Charge 0 [2025-03-20 18:37:04] Production.INFO: CreateAllLog End [2025-03-20 18:37:04] Production.ERROR: done [2025-03-20 18:37:04] Production.INFO: Account Balance End. [2025-03-20 18:37:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:37:05] Production.INFO: ==25133== Releasing lock... [2025-03-20 18:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:37:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:37:05 [end_date_ymd] => 2025-03-20 18:37:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:37:05' and `end` < '2025-03-20 18: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-03-20 18:37:14] Production.ERROR: CronJobId end10 [2025-03-20 18:37:14] Production.INFO: ==25131== Releasing lock... [2025-03-20 18:37:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:37:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:37:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:37:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:37:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:37:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:37:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:37:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:37:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:37:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:37:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:37:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:37:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:37:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:37:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:37:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:37:15] Production.INFO: call_cost start [2025-03-20 18:37:15] Production.INFO: call_cost end [2025-03-20 18:37:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:37:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:37:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:37:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:37:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:37:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:37:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:37:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:37:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:37:15] Production.INFO: ==25127== Releasing lock... [2025-03-20 18:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:37:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:37:18] Production.INFO: count ==4476 [2025-03-20 18:37:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:37:05 - End Time 2025-03-20 18:37:05 [2025-03-20 18:37:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724716', 'tblTempUsageDetail_20' ) start [2025-03-20 18:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724716', 'tblTempUsageDetail_20' ) end [2025-03-20 18:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724716', 'tblTempVendorCDR_20' ) start [2025-03-20 18:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724716', 'tblTempVendorCDR_20' ) end [2025-03-20 18:37:20] Production.INFO: ProcessCDR(1,14724716,1,1,2) [2025-03-20 18:37:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:37:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:37:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:37:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724716', 'tblTempUsageDetail_20' ) start [2025-03-20 18:37:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724716', 'tblTempUsageDetail_20' ) end [2025-03-20 18:37:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:37:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:37:25] Production.INFO: ==25136== Releasing lock... [2025-03-20 18:37:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:37:25] Production.INFO: 61.5 MB #Memory Used# [2025-03-20 22:38:01] Production.INFO: ==25213== Lock acquired, processing the job... [2025-03-20 22:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:38:01] Production.INFO: neon service started [2025-03-20 22:38:01] Production.INFO: neon service started [2025-03-20 22:38:01] Production.INFO: ==25213== Releasing lock... [2025-03-20 22:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:38:01] Production.INFO: ==25215== Lock acquired, processing the job... [2025-03-20 18:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:38:02] Production.INFO: ==25215== Releasing lock... [2025-03-20 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:38:02] Production.INFO: ==25217== Lock acquired, processing the job... [2025-03-20 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:38:02] Production.INFO: ==25217== Releasing lock... [2025-03-20 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:38:03] Production.INFO: ==25224== Lock acquired, processing the job... [2025-03-20 18:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:38:03] Production.INFO: ==25220== Lock acquired, processing the job... [2025-03-20 18:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:38:03] Production.INFO: ==25228== Lock acquired, processing the job... [2025-03-20 18:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:38:03] Production.INFO: ==25222== Lock acquired, processing the job... [2025-03-20 18:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:38:03] Production.INFO: ==25226== Lock acquired, processing the job... [2025-03-20 18:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:38:03] Production.INFO: ==25230== Lock acquired, processing the job... [2025-03-20 18:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:38:03] Production.INFO: Account Balance Start. [2025-03-20 18:38:03] Production.INFO: CreateAllLog Start [2025-03-20 18:38:03] Production.INFO: 117 [2025-03-20 18:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:38:03] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:38:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:38:03] Production.INFO: count ==23 [2025-03-20 18:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724720') start [2025-03-20 18:38:03] Production.ERROR: done [2025-03-20 18:38:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:38:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724720') end [2025-03-20 18:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:38:03] Production.INFO: 1 [2025-03-20 18:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:38:03] Production.INFO: Date 2025-03-12 [2025-03-20 18:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:03] Production.INFO: Date 2025-03-13 [2025-03-20 18:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:03] Production.INFO: ==25230== Releasing lock... [2025-03-20 18:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:38:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:38:04] Production.ERROR: done [2025-03-20 18:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:04] Production.INFO: ==25222== Releasing lock... [2025-03-20 18:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:38:04] Production.INFO: Total Charge 0 [2025-03-20 18:38:04] Production.INFO: CreateAllLog End [2025-03-20 18:38:04] Production.INFO: Account Balance End. [2025-03-20 18:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:38:04] Production.INFO: ==25226== Releasing lock... [2025-03-20 18:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:38:05 [end_date_ymd] => 2025-03-20 18:38:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:38:05' and `end` < '2025-03-20 18: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-03-20 18:38:13] Production.ERROR: CronJobId end10 [2025-03-20 18:38:13] Production.INFO: ==25224== Releasing lock... [2025-03-20 18:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:38:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:38:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:38:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:38:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:38:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:38:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:38:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:38:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:38:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:38:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:38:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:38:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:38:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:38:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:38:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:38:15] Production.INFO: call_cost start [2025-03-20 18:38:15] Production.INFO: call_cost end [2025-03-20 18:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:38:16] Production.INFO: ==25220== Releasing lock... [2025-03-20 18:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:38:18] Production.INFO: count ==4466 [2025-03-20 18:38:19] Production.ERROR: pbx CDR StartTime 2025-03-20 15:38:05 - End Time 2025-03-20 18:38:05 [2025-03-20 18:38:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724721', 'tblTempUsageDetail_20' ) start [2025-03-20 18:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724721', 'tblTempUsageDetail_20' ) end [2025-03-20 18:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724721', 'tblTempVendorCDR_20' ) start [2025-03-20 18:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724721', 'tblTempVendorCDR_20' ) end [2025-03-20 18:38:19] Production.INFO: ProcessCDR(1,14724721,1,1,2) [2025-03-20 18:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:38:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:38:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:38:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724721', 'tblTempUsageDetail_20' ) start [2025-03-20 18:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724721', 'tblTempUsageDetail_20' ) end [2025-03-20 18:38:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:38:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:38:25] Production.INFO: ==25228== Releasing lock... [2025-03-20 18:38:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:38:25] Production.INFO: 61.5 MB #Memory Used# [2025-03-20 22:39:01] Production.INFO: ==25305== Lock acquired, processing the job... [2025-03-20 22:39:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:39:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:39:01] Production.INFO: neon service started [2025-03-20 22:39:01] Production.INFO: neon service started [2025-03-20 22:39:01] Production.INFO: ==25305== Releasing lock... [2025-03-20 22:39:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:39:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:39:02] Production.INFO: ==25307== Lock acquired, processing the job... [2025-03-20 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:39:02] Production.INFO: ==25307== Releasing lock... [2025-03-20 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:39:02] Production.INFO: ==25309== Lock acquired, processing the job... [2025-03-20 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:39:02] Production.INFO: ==25309== Releasing lock... [2025-03-20 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:39:03] Production.INFO: ==25317== Lock acquired, processing the job... [2025-03-20 18:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:39:03] Production.INFO: ==25319== Lock acquired, processing the job... [2025-03-20 18:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:39:03] Production.INFO: ==25311== Lock acquired, processing the job... [2025-03-20 18:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:39:03] Production.INFO: Account Balance Start. [2025-03-20 18:39:03] Production.INFO: CreateAllLog Start [2025-03-20 18:39:03] Production.INFO: ==25313== Lock acquired, processing the job... [2025-03-20 18:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:39:03] Production.INFO: 117 [2025-03-20 18:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:39:03] Production.INFO: ==25315== Lock acquired, processing the job... [2025-03-20 18:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:03] Production.INFO: ==25321== Lock acquired, processing the job... [2025-03-20 18:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:39:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:39:04] Production.ERROR: done [2025-03-20 18:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18: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-03-20 18:39:04] Production.INFO: count ==12 [2025-03-20 18:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:04] Production.ERROR: done [2025-03-20 18: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-03-20 18:39:04] Production.INFO: count ==23 [2025-03-20 18:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724724') start [2025-03-20 18:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724724') end [2025-03-20 18:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:39:04] Production.INFO: 1 [2025-03-20 18:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:04] Production.INFO: ==25321== Releasing lock... [2025-03-20 18:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:04] Production.INFO: ==25313== Releasing lock... [2025-03-20 18:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:39:04] Production.INFO: Total Charge 0 [2025-03-20 18:39:04] Production.INFO: CreateAllLog End [2025-03-20 18:39:04] Production.INFO: Account Balance End. [2025-03-20 18:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:39:04] Production.INFO: ==25317== Releasing lock... [2025-03-20 18:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:39:05 [end_date_ymd] => 2025-03-20 18:39:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:39:05' and `end` < '2025-03-20 18: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-03-20 18:39:13] Production.ERROR: CronJobId end10 [2025-03-20 18:39:13] Production.INFO: ==25315== Releasing lock... [2025-03-20 18:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:39:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:39:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:39:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:39:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:39:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:39:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:39:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:39:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:39:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:39:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:39:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:39:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:39:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:39:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:39:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:39:15] Production.INFO: call_cost start [2025-03-20 18:39:15] Production.INFO: call_cost end [2025-03-20 18:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:39:16] Production.INFO: ==25311== Releasing lock... [2025-03-20 18:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:39:18] Production.INFO: count ==4458 [2025-03-20 18:39:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:39:05 - End Time 2025-03-20 18:39:05 [2025-03-20 18:39:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724726', 'tblTempUsageDetail_20' ) start [2025-03-20 18:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724726', 'tblTempUsageDetail_20' ) end [2025-03-20 18:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724726', 'tblTempVendorCDR_20' ) start [2025-03-20 18:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724726', 'tblTempVendorCDR_20' ) end [2025-03-20 18:39:20] Production.INFO: ProcessCDR(1,14724726,1,1,2) [2025-03-20 18:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724726', 'tblTempUsageDetail_20' ) start [2025-03-20 18:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724726', 'tblTempUsageDetail_20' ) end [2025-03-20 18:39:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:39:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:39:25] Production.INFO: ==25319== Releasing lock... [2025-03-20 18:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:39:25] Production.INFO: 61.25 MB #Memory Used# [2025-03-20 22:40:02] Production.INFO: ==25395== Lock acquired, processing the job... [2025-03-20 22:40:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:40:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:40:02] Production.INFO: neon service started [2025-03-20 22:40:02] Production.INFO: neon service started [2025-03-20 22:40:02] Production.INFO: ==25395== Releasing lock... [2025-03-20 22:40:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:40:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:40:02] Production.INFO: ==25399== Lock acquired, processing the job... [2025-03-20 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:40:02] Production.INFO: ==25399== Releasing lock... [2025-03-20 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:40:02] Production.INFO: ==25397== Lock acquired, processing the job... [2025-03-20 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:40:03] Production.INFO: ==25397== Releasing lock... [2025-03-20 18:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:40:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:40:04] Production.INFO: ==25404== Lock acquired, processing the job... [2025-03-20 18:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:40:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:40:04] Production.INFO: ==25412== Lock acquired, processing the job... [2025-03-20 18:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:40:04] Production.INFO: ==25416== Lock acquired, processing the job... [2025-03-20 18:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:40:04] Production.INFO: ==25402== Lock acquired, processing the job... [2025-03-20 18:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 18:40:04] Production.INFO: ==25406== Lock acquired, processing the job... [2025-03-20 18:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:40:04] Production.INFO: ==25408== Lock acquired, processing the job... [2025-03-20 18:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:40:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 18:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:40:04] Production.ERROR: CronJob PID - 25404 [2025-03-20 18:40:04] Production.ERROR: CronJob Title - System Alerts [2025-03-20 18:40:04] Production.ERROR: CronJob ID - 5 [2025-03-20 18:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 18:40:00 [2025-03-20 18:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 18:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:40:04] Production.ERROR: CronJob PID - 25406 [2025-03-20 18:40:04] Production.ERROR: CronJob Title - Account Block [2025-03-20 18:40:04] Production.ERROR: CronJob ID - 7 [2025-03-20 18:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 18:40:00 [2025-03-20 18:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 18:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:40:04] Production.ERROR: CronJob PID - 25412 [2025-03-20 18:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download [2025-03-20 18:40:04] Production.ERROR: CronJob ID - 16 [2025-03-20 18:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 18:40:00 [2025-03-20 18:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 18:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:40:04] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:40:04] Production.ERROR: CronJob PID - 25416 [2025-03-20 18:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs [2025-03-20 18:40:04] Production.ERROR: CronJob ID - 19 [2025-03-20 18:40:04] Production.ERROR: CronJob Last Run Time 2025-03-20 18:40:00 [2025-03-20 18:40:04] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 18:40:04] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:40:04] Production.INFO: ==25410== Lock acquired, processing the job... [2025-03-20 18:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18: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-03-20 18:40:04] Production.INFO: ==25414== Lock acquired, processing the job... [2025-03-20 18:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 18:40:04] Production.INFO: count ==12 [2025-03-20 18:40:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 18:40:04] Production.INFO: ==25402== Releasing lock... [2025-03-20 18:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 18:40:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 18: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-03-20 18:40:04] Production.INFO: count ==23 [2025-03-20 18:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724728') start [2025-03-20 18:40:04] Production.ERROR: done [2025-03-20 18:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:40:04] Production.INFO: Account Balance Start. [2025-03-20 18:40:04] Production.INFO: CreateAllLog Start [2025-03-20 18:40:04] Production.INFO: 117 [2025-03-20 18:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724728') end [2025-03-20 18:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:40:04] Production.INFO: 1 [2025-03-20 18:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:40:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:40:05] Production.INFO: ==25416== Releasing lock... [2025-03-20 18:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:40:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:40:05] Production.INFO: ==25406== Releasing lock... [2025-03-20 18:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:40:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:40:05] Production.INFO: Date 2025-03-09 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.ERROR: done [2025-03-20 18:40:05] Production.ERROR: done [2025-03-20 18:40:05] Production.INFO: Date 2025-03-10 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.INFO: Date 2025-03-11 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 18:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724732', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 18:40:05] Production.INFO: Date 2025-03-12 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.INFO: Date 2025-03-13 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.INFO: Date 2025-03-14 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.INFO: Date 2025-03-15 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.INFO: Date 2025-03-16 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.INFO: Date 2025-03-17 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:40:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:40:05] Production.INFO: Total Charge 0 [2025-03-20 18:40:05] Production.INFO: CreateAllLog End [2025-03-20 18:40:06] Production.INFO: Account Balance End. [2025-03-20 18:40:06] Production.ERROR: CronJobId end 12 [2025-03-20 18:40:06] Production.INFO: ==25410== Releasing lock... [2025-03-20 18:40:06] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:40:06] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:40:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:40:06 [end_date_ymd] => 2025-03-20 18:40:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:40:06' and `end` < '2025-03-20 18: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-03-20 18:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724732', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 18:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 18:40:09] Production.INFO: ProcessCDR(1,14724732,1,1,2) [2025-03-20 18:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724732,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724732,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:40:09] Production.INFO: ==25414== Releasing lock... [2025-03-20 18:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 18:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 18:40:16] Production.ERROR: CronJobId end10 [2025-03-20 18:40:16] Production.INFO: ==25408== Releasing lock... [2025-03-20 18:40:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:40:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:40:17] Production.INFO: call_cost start [2025-03-20 18:40:17] Production.INFO: call_cost end [2025-03-20 18:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:40:18] Production.INFO: ==25404== Releasing lock... [2025-03-20 18:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:40:19] Production.INFO: count ==4448 [2025-03-20 18:40:21] Production.ERROR: pbx CDR StartTime 2025-03-20 15:40:06 - End Time 2025-03-20 18:40:06 [2025-03-20 18:40:21] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724731', 'tblTempUsageDetail_20' ) start [2025-03-20 18:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724731', 'tblTempUsageDetail_20' ) end [2025-03-20 18:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724731', 'tblTempVendorCDR_20' ) start [2025-03-20 18:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724731', 'tblTempVendorCDR_20' ) end [2025-03-20 18:40:21] Production.INFO: ProcessCDR(1,14724731,1,1,2) [2025-03-20 18:40:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:40:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724731', 'tblTempUsageDetail_20' ) start [2025-03-20 18:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724731', 'tblTempUsageDetail_20' ) end [2025-03-20 18:40:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:40:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:40:25] Production.INFO: ==25412== Releasing lock... [2025-03-20 18:40:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:40:25] Production.INFO: 61.25 MB #Memory Used# [2025-03-20 22:41:01] Production.INFO: ==25492== Lock acquired, processing the job... [2025-03-20 22:41:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:41:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:41:01] Production.INFO: neon service started [2025-03-20 22:41:01] Production.INFO: neon service started [2025-03-20 22:41:01] Production.INFO: ==25492== Releasing lock... [2025-03-20 22:41:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:41:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:41:02] Production.INFO: ==25496== Lock acquired, processing the job... [2025-03-20 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:41:02] Production.INFO: ==25496== Releasing lock... [2025-03-20 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:41:02] Production.INFO: ==25494== Lock acquired, processing the job... [2025-03-20 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:41:02] Production.INFO: ==25494== Releasing lock... [2025-03-20 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:41:03] Production.INFO: ==25501== Lock acquired, processing the job... [2025-03-20 18:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:41:03] Production.INFO: ==25503== Lock acquired, processing the job... [2025-03-20 18:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:41:03] Production.INFO: ==25505== Lock acquired, processing the job... [2025-03-20 18:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:41:03] Production.INFO: ==25503== Releasing lock... [2025-03-20 18:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:41:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:41:03] Production.INFO: ==25507== Lock acquired, processing the job... [2025-03-20 18:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:41:03] Production.INFO: ==25509== Lock acquired, processing the job... [2025-03-20 18:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:41:03] Production.INFO: ==25511== Lock acquired, processing the job... [2025-03-20 18:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:41:03] Production.INFO: Account Balance Start. [2025-03-20 18:41:03] Production.INFO: CreateAllLog Start [2025-03-20 18:41:03] Production.INFO: 117 [2025-03-20 18:41:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:41:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:41:04] Production.INFO: count ==23 [2025-03-20 18:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724736') start [2025-03-20 18:41:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724736') end [2025-03-20 18:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:41:04] Production.INFO: 1 [2025-03-20 18:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:41:04] Production.ERROR: done [2025-03-20 18:41:04] Production.INFO: ==25511== Releasing lock... [2025-03-20 18:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:41:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.ERROR: done [2025-03-20 18:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:41:04] Production.INFO: Total Charge 0 [2025-03-20 18:41:04] Production.INFO: CreateAllLog End [2025-03-20 18:41:05] Production.INFO: Account Balance End. [2025-03-20 18:41:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:41:05] Production.INFO: ==25507== Releasing lock... [2025-03-20 18:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:41:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:41:05 [end_date_ymd] => 2025-03-20 18:41:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:41:05' and `end` < '2025-03-20 18: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-03-20 18:41:13] Production.ERROR: CronJobId end10 [2025-03-20 18:41:13] Production.INFO: ==25505== Releasing lock... [2025-03-20 18:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:41:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:41:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:41:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:41:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:41:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:41:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:41:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:41:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:41:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:41:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:41:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:41:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:41:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:41:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:41:16] Production.INFO: call_cost start [2025-03-20 18:41:16] Production.INFO: call_cost end [2025-03-20 18:41:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:41:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:41:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:41:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:41:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:41:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:41:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:41:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:41:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:41:17] Production.INFO: ==25501== Releasing lock... [2025-03-20 18:41:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:41:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:41:18] Production.INFO: count ==4375 [2025-03-20 18:41:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:41:05 - End Time 2025-03-20 18:41:05 [2025-03-20 18:41:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724737', 'tblTempUsageDetail_20' ) start [2025-03-20 18:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724737', 'tblTempUsageDetail_20' ) end [2025-03-20 18:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724737', 'tblTempVendorCDR_20' ) start [2025-03-20 18:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724737', 'tblTempVendorCDR_20' ) end [2025-03-20 18:41:20] Production.INFO: ProcessCDR(1,14724737,1,1,2) [2025-03-20 18:41:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724737', 'tblTempUsageDetail_20' ) start [2025-03-20 18:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724737', 'tblTempUsageDetail_20' ) end [2025-03-20 18:41:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:41:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:41:23] Production.INFO: ==25509== Releasing lock... [2025-03-20 18:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:41:23] Production.INFO: 60.75 MB #Memory Used# [2025-03-20 22:42:02] Production.INFO: ==25589== Lock acquired, processing the job... [2025-03-20 22:42:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:42:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:42:02] Production.INFO: neon service started [2025-03-20 22:42:02] Production.INFO: neon service started [2025-03-20 22:42:02] Production.INFO: ==25589== Releasing lock... [2025-03-20 22:42:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:42:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:42:02] Production.INFO: ==25591== Lock acquired, processing the job... [2025-03-20 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:42:02] Production.INFO: ==25591== Releasing lock... [2025-03-20 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:42:02] Production.INFO: ==25593== Lock acquired, processing the job... [2025-03-20 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:42:02] Production.INFO: ==25593== Releasing lock... [2025-03-20 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:42:03] Production.INFO: ==25595== Lock acquired, processing the job... [2025-03-20 18:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:42:03] Production.INFO: ==25601== Lock acquired, processing the job... [2025-03-20 18:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:42:03] Production.INFO: ==25605== Lock acquired, processing the job... [2025-03-20 18:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:42:03] Production.INFO: ==25597== Lock acquired, processing the job... [2025-03-20 18:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:42:03] Production.INFO: ==25599== Lock acquired, processing the job... [2025-03-20 18:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:42:04] Production.INFO: Account Balance Start. [2025-03-20 18:42:04] Production.INFO: CreateAllLog Start [2025-03-20 18:42:04] Production.INFO: 117 [2025-03-20 18: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-03-20 18:42:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:42:04] Production.INFO: count ==12 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18: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-03-20 18:42:04] Production.INFO: count ==23 [2025-03-20 18:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:42:04] Production.INFO: ==25603== Lock acquired, processing the job... [2025-03-20 18:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724740') start [2025-03-20 18:42:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:42:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.INFO: ==25597== Releasing lock... [2025-03-20 18:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724740') end [2025-03-20 18:42:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:42:04] Production.INFO: 1 [2025-03-20 18:42:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.INFO: ==25605== Releasing lock... [2025-03-20 18:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:42:04] Production.ERROR: done [2025-03-20 18:42:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.ERROR: done [2025-03-20 18:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:42:04] Production.INFO: Total Charge 0 [2025-03-20 18:42:04] Production.INFO: CreateAllLog End [2025-03-20 18:42:05] Production.INFO: Account Balance End. [2025-03-20 18:42:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:42:05] Production.INFO: ==25601== Releasing lock... [2025-03-20 18:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:42:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:42:05 [end_date_ymd] => 2025-03-20 18:42:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:42:05' and `end` < '2025-03-20 18: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-03-20 18:42:13] Production.ERROR: CronJobId end10 [2025-03-20 18:42:13] Production.INFO: ==25599== Releasing lock... [2025-03-20 18:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:42:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:42:14] Production.INFO: call_cost start [2025-03-20 18:42:14] Production.INFO: call_cost end [2025-03-20 18:42:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:42:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:42:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:42:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:42:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:42:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:42:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:42:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:42:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:42:15] Production.INFO: ==25595== Releasing lock... [2025-03-20 18:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:42:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:42:18] Production.INFO: count ==4355 [2025-03-20 18:42:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:42:05 - End Time 2025-03-20 18:42:05 [2025-03-20 18:42:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724742', 'tblTempUsageDetail_20' ) start [2025-03-20 18:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724742', 'tblTempUsageDetail_20' ) end [2025-03-20 18:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724742', 'tblTempVendorCDR_20' ) start [2025-03-20 18:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724742', 'tblTempVendorCDR_20' ) end [2025-03-20 18:42:20] Production.INFO: ProcessCDR(1,14724742,1,1,2) [2025-03-20 18:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724742', 'tblTempUsageDetail_20' ) start [2025-03-20 18:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724742', 'tblTempUsageDetail_20' ) end [2025-03-20 18:42:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:42:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:42:23] Production.INFO: ==25603== Releasing lock... [2025-03-20 18:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:42:23] Production.INFO: 60.5 MB #Memory Used# [2025-03-20 22:43:01] Production.INFO: ==25683== Lock acquired, processing the job... [2025-03-20 22:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:43:01] Production.INFO: neon service started [2025-03-20 22:43:01] Production.INFO: neon service started [2025-03-20 22:43:01] Production.INFO: ==25683== Releasing lock... [2025-03-20 22:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:43:02] Production.INFO: ==25685== Lock acquired, processing the job... [2025-03-20 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:43:02] Production.INFO: ==25687== Lock acquired, processing the job... [2025-03-20 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:43:02] Production.INFO: ==25687== Releasing lock... [2025-03-20 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:43:02] Production.INFO: ==25685== Releasing lock... [2025-03-20 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:43:03] Production.INFO: ==25694== Lock acquired, processing the job... [2025-03-20 18:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:43:03] Production.INFO: ==25702== Lock acquired, processing the job... [2025-03-20 18:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:43:03] Production.INFO: ==25692== Lock acquired, processing the job... [2025-03-20 18:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:43:03] Production.INFO: ==25696== Lock acquired, processing the job... [2025-03-20 18:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18: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-03-20 18:43:03] Production.INFO: ==25698== Lock acquired, processing the job... [2025-03-20 18:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:43:03] Production.INFO: ==25694== Releasing lock... [2025-03-20 18:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:43:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:43:03] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:43:03] Production.INFO: count ==23 [2025-03-20 18:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:43:03] Production.INFO: ==25700== Lock acquired, processing the job... [2025-03-20 18:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724744') start [2025-03-20 18:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:43:04] Production.INFO: Account Balance Start. [2025-03-20 18:43:04] Production.INFO: CreateAllLog Start [2025-03-20 18:43:04] Production.INFO: 117 [2025-03-20 18:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724744') end [2025-03-20 18:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:43:04] Production.INFO: 1 [2025-03-20 18:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.INFO: ==25702== Releasing lock... [2025-03-20 18:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:43:04] Production.ERROR: done [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.ERROR: done [2025-03-20 18:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:43:04] Production.INFO: Total Charge 0 [2025-03-20 18:43:04] Production.INFO: CreateAllLog End [2025-03-20 18:43:04] Production.INFO: Account Balance End. [2025-03-20 18:43:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:43:04] Production.INFO: ==25698== Releasing lock... [2025-03-20 18:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:43:05 [end_date_ymd] => 2025-03-20 18:43:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:43:05' and `end` < '2025-03-20 18: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-03-20 18:43:13] Production.ERROR: CronJobId end10 [2025-03-20 18:43:13] Production.INFO: ==25696== Releasing lock... [2025-03-20 18:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:43:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:43:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:43:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:43:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:43:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:43:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:43:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:43:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:43:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:43:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:43:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:43:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:43:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:43:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:43:14] Production.INFO: call_cost start [2025-03-20 18:43:14] Production.INFO: call_cost end [2025-03-20 18:43:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:43:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:43:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:43:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:43:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:43:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:43:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:43:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:43:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:43:15] Production.INFO: ==25692== Releasing lock... [2025-03-20 18:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:43:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:43:18] Production.INFO: count ==4343 [2025-03-20 18:43:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:43:05 - End Time 2025-03-20 18:43:05 [2025-03-20 18:43:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724747', 'tblTempUsageDetail_20' ) start [2025-03-20 18:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724747', 'tblTempUsageDetail_20' ) end [2025-03-20 18:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724747', 'tblTempVendorCDR_20' ) start [2025-03-20 18:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724747', 'tblTempVendorCDR_20' ) end [2025-03-20 18:43:20] Production.INFO: ProcessCDR(1,14724747,1,1,2) [2025-03-20 18:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724747', 'tblTempUsageDetail_20' ) start [2025-03-20 18:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724747', 'tblTempUsageDetail_20' ) end [2025-03-20 18:43:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:43:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:43:23] Production.INFO: ==25700== Releasing lock... [2025-03-20 18:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:43:23] Production.INFO: 60.5 MB #Memory Used# [2025-03-20 22:44:02] Production.INFO: ==25819== Lock acquired, processing the job... [2025-03-20 22:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:44:02] Production.INFO: neon service started [2025-03-20 22:44:02] Production.INFO: neon service started [2025-03-20 22:44:02] Production.INFO: ==25819== Releasing lock... [2025-03-20 22:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:44:02] Production.INFO: ==25821== Lock acquired, processing the job... [2025-03-20 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:44:02] Production.INFO: ==25823== Lock acquired, processing the job... [2025-03-20 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:44:02] Production.INFO: ==25823== Releasing lock... [2025-03-20 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:44:03] Production.INFO: ==25821== Releasing lock... [2025-03-20 18:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:44:04] Production.INFO: ==25828== Lock acquired, processing the job... [2025-03-20 18:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:44:04] Production.INFO: ==25834== Lock acquired, processing the job... [2025-03-20 18:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:44:04] Production.INFO: ==25832== Lock acquired, processing the job... [2025-03-20 18:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:44:04] Production.INFO: Account Balance Start. [2025-03-20 18:44:04] Production.INFO: CreateAllLog Start [2025-03-20 18:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:44:04] Production.INFO: 117 [2025-03-20 18:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:44:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:04] Production.INFO: ==25830== Lock acquired, processing the job... [2025-03-20 18:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:44:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:04] Production.INFO: ==25836== Lock acquired, processing the job... [2025-03-20 18:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:44:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:04] Production.INFO: ==25838== Lock acquired, processing the job... [2025-03-20 18:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:44:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:44:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:44:04] Production.INFO: count ==23 [2025-03-20 18:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724751') start [2025-03-20 18:44:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:05] Production.ERROR: done [2025-03-20 18:44:05] Production.INFO: ==25830== Releasing lock... [2025-03-20 18:44:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:44:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724751') end [2025-03-20 18:44:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:44:05] Production.INFO: 1 [2025-03-20 18:44:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:44:05] Production.INFO: Date 2025-03-17 [2025-03-20 18:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:44:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:05] Production.ERROR: done [2025-03-20 18:44:05] Production.INFO: ==25838== Releasing lock... [2025-03-20 18:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:44:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:44:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:44:05] Production.INFO: Total Charge 0 [2025-03-20 18:44:05] Production.INFO: CreateAllLog End [2025-03-20 18:44:05] Production.INFO: Account Balance End. [2025-03-20 18:44:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:44:05] Production.INFO: ==25834== Releasing lock... [2025-03-20 18:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:44:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:44:06 [end_date_ymd] => 2025-03-20 18:44:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:44:06' and `end` < '2025-03-20 18: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-03-20 18:44:13] Production.ERROR: CronJobId end10 [2025-03-20 18:44:13] Production.INFO: ==25832== Releasing lock... [2025-03-20 18:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:44:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:44:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:44:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:44:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:44:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:44:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:44:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:44:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:44:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:44:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:44:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:44:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:44:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:44:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:44:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:44:16] Production.INFO: call_cost start [2025-03-20 18:44:16] Production.INFO: call_cost end [2025-03-20 18:44:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:44:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:44:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:44:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:44:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:44:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:44:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:44:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:44:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:44:17] Production.INFO: ==25828== Releasing lock... [2025-03-20 18:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:44:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:44:19] Production.INFO: count ==4344 [2025-03-20 18:44:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:44:06 - End Time 2025-03-20 18:44:06 [2025-03-20 18:44:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724752', 'tblTempUsageDetail_20' ) start [2025-03-20 18:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724752', 'tblTempUsageDetail_20' ) end [2025-03-20 18:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724752', 'tblTempVendorCDR_20' ) start [2025-03-20 18:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724752', 'tblTempVendorCDR_20' ) end [2025-03-20 18:44:21] Production.INFO: ProcessCDR(1,14724752,1,1,2) [2025-03-20 18:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:44:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:44:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:44:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:44:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724752', 'tblTempUsageDetail_20' ) start [2025-03-20 18:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724752', 'tblTempUsageDetail_20' ) end [2025-03-20 18:44:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:44:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:44:26] Production.INFO: ==25836== Releasing lock... [2025-03-20 18:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:44:26] Production.INFO: 60.5 MB #Memory Used# [2025-03-20 22:45:01] Production.INFO: ==25910== Lock acquired, processing the job... [2025-03-20 22:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:45:01] Production.INFO: neon service started [2025-03-20 22:45:01] Production.INFO: neon service started [2025-03-20 22:45:01] Production.INFO: ==25910== Releasing lock... [2025-03-20 22:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:45:02] Production.INFO: ==25914== Lock acquired, processing the job... [2025-03-20 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:45:02] Production.INFO: ==25914== Releasing lock... [2025-03-20 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:45:02] Production.INFO: ==25916== Lock acquired, processing the job... [2025-03-20 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:45:02] Production.INFO: ==25916== Releasing lock... [2025-03-20 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:45:03] Production.INFO: ==25928== Lock acquired, processing the job... [2025-03-20 18:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:45:03] Production.INFO: ==25926== Lock acquired, processing the job... [2025-03-20 18:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:45:03] Production.INFO: ==25918== Lock acquired, processing the job... [2025-03-20 18:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18: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-03-20 18:45:03] Production.INFO: ==25920== Lock acquired, processing the job... [2025-03-20 18:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:45:03] Production.INFO: count ==12 [2025-03-20 18:45:03] Production.INFO: ==25922== Lock acquired, processing the job... [2025-03-20 18:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18: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-03-20 18:45:03] Production.INFO: ==25924== Lock acquired, processing the job... [2025-03-20 18:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:45:03] Production.INFO: count ==23 [2025-03-20 18:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724753') start [2025-03-20 18:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724753') end [2025-03-20 18:45:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:45:03] Production.INFO: 1 [2025-03-20 18:45:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:45:03] Production.INFO: Account Balance Start. [2025-03-20 18:45:03] Production.INFO: CreateAllLog Start [2025-03-20 18:45:03] Production.INFO: ==25928== Releasing lock... [2025-03-20 18:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:45:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:45:03] Production.INFO: 117 [2025-03-20 18:45:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:03] Production.ERROR: done [2025-03-20 18:45:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:45:03] Production.INFO: ==25920== Releasing lock... [2025-03-20 18:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:45:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:45:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:03] Production.INFO: Date 2025-03-12 [2025-03-20 18:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:03] Production.INFO: Date 2025-03-13 [2025-03-20 18:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:03] Production.INFO: Date 2025-03-14 [2025-03-20 18:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:45:04] Production.ERROR: done [2025-03-20 18:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:45:04] Production.INFO: Total Charge 0 [2025-03-20 18:45:04] Production.INFO: CreateAllLog End [2025-03-20 18:45:04] Production.INFO: Account Balance End. [2025-03-20 18:45:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:45:04] Production.INFO: ==25924== Releasing lock... [2025-03-20 18:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:45:05 [end_date_ymd] => 2025-03-20 18:45:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:45:05' and `end` < '2025-03-20 18: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-03-20 18:45:13] Production.ERROR: CronJobId end10 [2025-03-20 18:45:13] Production.INFO: ==25922== Releasing lock... [2025-03-20 18:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:45:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:45:16] Production.INFO: call_cost start [2025-03-20 18:45:16] Production.INFO: call_cost end [2025-03-20 18:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:45:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:45:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:45:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:45:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:45:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:45:17] Production.INFO: ==25918== Releasing lock... [2025-03-20 18:45:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:45:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:45:18] Production.INFO: count ==4341 [2025-03-20 18:45:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:45:05 - End Time 2025-03-20 18:45:05 [2025-03-20 18:45:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724757', 'tblTempUsageDetail_20' ) start [2025-03-20 18:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724757', 'tblTempUsageDetail_20' ) end [2025-03-20 18:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724757', 'tblTempVendorCDR_20' ) start [2025-03-20 18:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724757', 'tblTempVendorCDR_20' ) end [2025-03-20 18:45:20] Production.INFO: ProcessCDR(1,14724757,1,1,2) [2025-03-20 18:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:45:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724757', 'tblTempUsageDetail_20' ) start [2025-03-20 18:45:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724757', 'tblTempUsageDetail_20' ) end [2025-03-20 18:45:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:45:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:45:25] Production.INFO: ==25926== Releasing lock... [2025-03-20 18:45:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:45:25] Production.INFO: 60.5 MB #Memory Used# [2025-03-20 22:46:02] Production.INFO: ==26001== Lock acquired, processing the job... [2025-03-20 22:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:46:02] Production.INFO: neon service started [2025-03-20 22:46:02] Production.INFO: neon service started [2025-03-20 22:46:02] Production.INFO: ==26001== Releasing lock... [2025-03-20 22:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:46:02] Production.INFO: ==26008== Lock acquired, processing the job... [2025-03-20 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:46:02] Production.INFO: ==26008== Releasing lock... [2025-03-20 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:46:02] Production.INFO: ==26006== Lock acquired, processing the job... [2025-03-20 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:46:02] Production.INFO: ==26006== Releasing lock... [2025-03-20 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:46:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:46:03] Production.INFO: ==26010== Lock acquired, processing the job... [2025-03-20 18:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:46:03] Production.INFO: ==26012== Lock acquired, processing the job... [2025-03-20 18:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:46:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:46:03] Production.INFO: ==26016== Lock acquired, processing the job... [2025-03-20 18:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:46:03] Production.INFO: Account Balance Start. [2025-03-20 18:46:03] Production.INFO: CreateAllLog Start [2025-03-20 18:46:03] Production.INFO: 117 [2025-03-20 18:46:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:46:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.INFO: ==26014== Lock acquired, processing the job... [2025-03-20 18:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.INFO: ==26012== Releasing lock... [2025-03-20 18:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:46:04] Production.INFO: ==26020== Lock acquired, processing the job... [2025-03-20 18:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:46:04] Production.INFO: ==26018== Lock acquired, processing the job... [2025-03-20 18:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:46:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.INFO: count ==12 [2025-03-20 18:46:04] Production.INFO: Date 2025-03-17 [2025-03-20 18: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-03-20 18:46:04] Production.INFO: count ==23 [2025-03-20 18:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724761') start [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724761') end [2025-03-20 18:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:46:04] Production.INFO: 1 [2025-03-20 18:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:46:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:46:04] Production.INFO: ==26020== Releasing lock... [2025-03-20 18:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:46:04] Production.INFO: Total Charge 0 [2025-03-20 18:46:04] Production.ERROR: done [2025-03-20 18:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:46:04] Production.INFO: CreateAllLog End [2025-03-20 18:46:04] Production.ERROR: done [2025-03-20 18:46:04] Production.INFO: Account Balance End. [2025-03-20 18:46:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:46:04] Production.INFO: ==26016== Releasing lock... [2025-03-20 18:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:46:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:46:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:46:05 [end_date_ymd] => 2025-03-20 18:46:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:46:05' and `end` < '2025-03-20 18: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-03-20 18:46:13] Production.ERROR: CronJobId end10 [2025-03-20 18:46:13] Production.INFO: ==26014== Releasing lock... [2025-03-20 18:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:46:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:46:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:46:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:46:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:46:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:46:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:46:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:46:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:46:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:46:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:46:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:46:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:46:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:46:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:46:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:46:14] Production.INFO: call_cost start [2025-03-20 18:46:14] Production.INFO: call_cost end [2025-03-20 18:46:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:46:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:46:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:46:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:46:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:46:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:46:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:46:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:46:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:46:15] Production.INFO: ==26010== Releasing lock... [2025-03-20 18:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:46:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:46:18] Production.INFO: count ==4347 [2025-03-20 18:46:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:46:05 - End Time 2025-03-20 18:46:05 [2025-03-20 18:46:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724762', 'tblTempUsageDetail_20' ) start [2025-03-20 18:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724762', 'tblTempUsageDetail_20' ) end [2025-03-20 18:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724762', 'tblTempVendorCDR_20' ) start [2025-03-20 18:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724762', 'tblTempVendorCDR_20' ) end [2025-03-20 18:46:20] Production.INFO: ProcessCDR(1,14724762,1,1,2) [2025-03-20 18:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724762', 'tblTempUsageDetail_20' ) start [2025-03-20 18:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724762', 'tblTempUsageDetail_20' ) end [2025-03-20 18:46:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:46:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:46:24] Production.INFO: ==26018== Releasing lock... [2025-03-20 18:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:46:24] Production.INFO: 60.5 MB #Memory Used# [2025-03-20 22:47:01] Production.INFO: ==26095== Lock acquired, processing the job... [2025-03-20 22:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:47:01] Production.INFO: neon service started [2025-03-20 22:47:01] Production.INFO: neon service started [2025-03-20 22:47:01] Production.INFO: ==26095== Releasing lock... [2025-03-20 22:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:47:01] Production.INFO: ==26100== Lock acquired, processing the job... [2025-03-20 18:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:47:02] Production.INFO: ==26100== Releasing lock... [2025-03-20 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:47:02] Production.INFO: ==26102== Lock acquired, processing the job... [2025-03-20 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:47:02] Production.INFO: ==26102== Releasing lock... [2025-03-20 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:47:02] Production.INFO: ==26108== Lock acquired, processing the job... [2025-03-20 18:47:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:47:03] Production.INFO: ==26104== Lock acquired, processing the job... [2025-03-20 18:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:47:03] Production.INFO: ==26106== Lock acquired, processing the job... [2025-03-20 18:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:47:03] Production.INFO: ==26114== Lock acquired, processing the job... [2025-03-20 18:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:47:03] Production.INFO: ==26110== Lock acquired, processing the job... [2025-03-20 18:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:47:03] Production.INFO: ==26112== Lock acquired, processing the job... [2025-03-20 18:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:47:03] Production.INFO: Account Balance Start. [2025-03-20 18:47:03] Production.INFO: CreateAllLog Start [2025-03-20 18:47:03] Production.INFO: 117 [2025-03-20 18:47:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:47:03] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:47:03] Production.INFO: count ==23 [2025-03-20 18:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724766') start [2025-03-20 18:47:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.ERROR: done [2025-03-20 18:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:47:04] Production.INFO: ==26106== Releasing lock... [2025-03-20 18:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:47:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724766') end [2025-03-20 18:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:47:04] Production.INFO: 1 [2025-03-20 18:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:47:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.INFO: ==26114== Releasing lock... [2025-03-20 18:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:47:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.ERROR: done [2025-03-20 18:47:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:47:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:47:04] Production.INFO: Total Charge 0 [2025-03-20 18:47:04] Production.INFO: CreateAllLog End [2025-03-20 18:47:04] Production.INFO: Account Balance End. [2025-03-20 18:47:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:47:04] Production.INFO: ==26110== Releasing lock... [2025-03-20 18:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:47:05 [end_date_ymd] => 2025-03-20 18:47:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:47:05' and `end` < '2025-03-20 18: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-03-20 18:47:13] Production.ERROR: CronJobId end10 [2025-03-20 18:47:13] Production.INFO: ==26108== Releasing lock... [2025-03-20 18:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:47:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:47:15] Production.INFO: call_cost start [2025-03-20 18:47:15] Production.INFO: call_cost end [2025-03-20 18:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:47:16] Production.INFO: ==26104== Releasing lock... [2025-03-20 18:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:47:18] Production.INFO: count ==4334 [2025-03-20 18:47:19] Production.ERROR: pbx CDR StartTime 2025-03-20 15:47:05 - End Time 2025-03-20 18:47:05 [2025-03-20 18:47:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724767', 'tblTempUsageDetail_20' ) start [2025-03-20 18:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724767', 'tblTempUsageDetail_20' ) end [2025-03-20 18:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724767', 'tblTempVendorCDR_20' ) start [2025-03-20 18:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724767', 'tblTempVendorCDR_20' ) end [2025-03-20 18:47:19] Production.INFO: ProcessCDR(1,14724767,1,1,2) [2025-03-20 18:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724767', 'tblTempUsageDetail_20' ) start [2025-03-20 18:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724767', 'tblTempUsageDetail_20' ) end [2025-03-20 18:47:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:47:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:47:24] Production.INFO: ==26112== Releasing lock... [2025-03-20 18:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:47:24] Production.INFO: 60.5 MB #Memory Used# [2025-03-20 22:48:01] Production.INFO: ==26182== Lock acquired, processing the job... [2025-03-20 22:48:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:48:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:48:01] Production.INFO: neon service started [2025-03-20 22:48:02] Production.INFO: neon service started [2025-03-20 22:48:02] Production.INFO: ==26182== Releasing lock... [2025-03-20 22:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:48:02] Production.INFO: ==26184== Lock acquired, processing the job... [2025-03-20 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:48:02] Production.INFO: ==26186== Lock acquired, processing the job... [2025-03-20 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:48:02] Production.INFO: ==26186== Releasing lock... [2025-03-20 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:48:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:48:02] Production.INFO: ==26184== Releasing lock... [2025-03-20 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:48:03] Production.INFO: ==26198== Lock acquired, processing the job... [2025-03-20 18:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:48:03] Production.INFO: ==26190== Lock acquired, processing the job... [2025-03-20 18:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:48:04] Production.INFO: ==26192== Lock acquired, processing the job... [2025-03-20 18:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:48:04] Production.INFO: ==26200== Lock acquired, processing the job... [2025-03-20 18:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:48:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:48:04] Production.INFO: ==26194== Lock acquired, processing the job... [2025-03-20 18:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:48:04] Production.INFO: ==26196== Lock acquired, processing the job... [2025-03-20 18:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18: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-03-20 18:48:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:48:04] Production.INFO: count ==23 [2025-03-20 18:48:04] Production.INFO: Account Balance Start. [2025-03-20 18:48:04] Production.INFO: CreateAllLog Start [2025-03-20 18:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724770') start [2025-03-20 18:48:04] Production.ERROR: done [2025-03-20 18:48:04] Production.INFO: ==26192== Releasing lock... [2025-03-20 18:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:48:04] Production.INFO: 117 [2025-03-20 18:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.ERROR: done [2025-03-20 18:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724770') end [2025-03-20 18:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:48:04] Production.INFO: 1 [2025-03-20 18:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.INFO: ==26200== Releasing lock... [2025-03-20 18:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:48:05] Production.INFO: Total Charge 0 [2025-03-20 18:48:05] Production.INFO: CreateAllLog End [2025-03-20 18:48:05] Production.INFO: Account Balance End. [2025-03-20 18:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:48:05] Production.INFO: ==26196== Releasing lock... [2025-03-20 18:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:48:05 [end_date_ymd] => 2025-03-20 18:48:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:48:05' and `end` < '2025-03-20 18: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-03-20 18:48:15] Production.ERROR: CronJobId end10 [2025-03-20 18:48:15] Production.INFO: ==26194== Releasing lock... [2025-03-20 18:48:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:48:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:48:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:48:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:48:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:48:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:48:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:48:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:48:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:48:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:48:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:48:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:48:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:48:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:48:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:48:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:48:16] Production.INFO: call_cost start [2025-03-20 18:48:16] Production.INFO: call_cost end [2025-03-20 18:48:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:48:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:48:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:48:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:48:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:48:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:48:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:48:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:48:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:48:17] Production.INFO: ==26190== Releasing lock... [2025-03-20 18:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:48:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:48:18] Production.INFO: count ==4326 [2025-03-20 18:48:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:48:05 - End Time 2025-03-20 18:48:05 [2025-03-20 18:48:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724772', 'tblTempUsageDetail_20' ) start [2025-03-20 18:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724772', 'tblTempUsageDetail_20' ) end [2025-03-20 18:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724772', 'tblTempVendorCDR_20' ) start [2025-03-20 18:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724772', 'tblTempVendorCDR_20' ) end [2025-03-20 18:48:20] Production.INFO: ProcessCDR(1,14724772,1,1,2) [2025-03-20 18:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:48:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724772', 'tblTempUsageDetail_20' ) start [2025-03-20 18:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724772', 'tblTempUsageDetail_20' ) end [2025-03-20 18:48:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:48:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:48:25] Production.INFO: ==26198== Releasing lock... [2025-03-20 18:48:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:48:25] Production.INFO: 60.25 MB #Memory Used# [2025-03-20 22:49:01] Production.INFO: ==26280== Lock acquired, processing the job... [2025-03-20 22:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:49:01] Production.INFO: neon service started [2025-03-20 22:49:01] Production.INFO: neon service started [2025-03-20 22:49:01] Production.INFO: ==26280== Releasing lock... [2025-03-20 22:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:49:01] Production.INFO: ==26282== Lock acquired, processing the job... [2025-03-20 18:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:49:02] Production.INFO: ==26282== Releasing lock... [2025-03-20 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:49:02] Production.INFO: ==26284== Lock acquired, processing the job... [2025-03-20 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:49:02] Production.INFO: ==26284== Releasing lock... [2025-03-20 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:49:02] Production.INFO: ==26294== Lock acquired, processing the job... [2025-03-20 18:49:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:49:03] Production.INFO: ==26296== Lock acquired, processing the job... [2025-03-20 18:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:49:03] Production.INFO: ==26288== Lock acquired, processing the job... [2025-03-20 18:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:49:03] Production.INFO: ==26286== Lock acquired, processing the job... [2025-03-20 18:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:49:03] Production.INFO: ==26290== Lock acquired, processing the job... [2025-03-20 18:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:49:03] Production.INFO: ==26292== Lock acquired, processing the job... [2025-03-20 18:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18: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-03-20 18:49:03] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:49:03] Production.ERROR: done [2025-03-20 18:49:03] Production.INFO: Account Balance Start. [2025-03-20 18:49:03] Production.INFO: CreateAllLog Start [2025-03-20 18:49:03] Production.INFO: count ==23 [2025-03-20 18:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724773') start [2025-03-20 18:49:03] Production.INFO: 117 [2025-03-20 18:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:49:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:03] Production.ERROR: done [2025-03-20 18:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724773') end [2025-03-20 18:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:49:03] Production.INFO: 1 [2025-03-20 18:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:49:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:49:03] Production.INFO: ==26296== Releasing lock... [2025-03-20 18:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:03] Production.INFO: Date 2025-03-12 [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:03] Production.INFO: Date 2025-03-13 [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:03] Production.INFO: ==26288== Releasing lock... [2025-03-20 18:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:49:03] Production.INFO: Date 2025-03-14 [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:03] Production.INFO: Date 2025-03-15 [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:03] Production.INFO: Date 2025-03-16 [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:03] Production.INFO: Date 2025-03-17 [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:03] Production.INFO: Date 2025-03-18 [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:03] Production.INFO: Date 2025-03-19 [2025-03-20 18:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:49:04] Production.INFO: Total Charge 0 [2025-03-20 18:49:04] Production.INFO: CreateAllLog End [2025-03-20 18:49:04] Production.INFO: Account Balance End. [2025-03-20 18:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:49:04] Production.INFO: ==26292== Releasing lock... [2025-03-20 18:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:49:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:49:04 [end_date_ymd] => 2025-03-20 18:49:04 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:49:04' and `end` < '2025-03-20 18: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-03-20 18:49:13] Production.ERROR: CronJobId end10 [2025-03-20 18:49:13] Production.INFO: ==26290== Releasing lock... [2025-03-20 18:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:49:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:49:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:49:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:49:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:49:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:49:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:49:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:49:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:49:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:49:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:49:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:49:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:49:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:49:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:49:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:49:15] Production.INFO: call_cost start [2025-03-20 18:49:15] Production.INFO: call_cost end [2025-03-20 18:49:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:49:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:49:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:49:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:49:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:49:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:49:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:49:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:49:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:49:16] Production.INFO: ==26286== Releasing lock... [2025-03-20 18:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:49:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:49:17] Production.INFO: count ==4306 [2025-03-20 18:49:19] Production.ERROR: pbx CDR StartTime 2025-03-20 15:49:04 - End Time 2025-03-20 18:49:04 [2025-03-20 18:49:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724777', 'tblTempUsageDetail_20' ) start [2025-03-20 18:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724777', 'tblTempUsageDetail_20' ) end [2025-03-20 18:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724777', 'tblTempVendorCDR_20' ) start [2025-03-20 18:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724777', 'tblTempVendorCDR_20' ) end [2025-03-20 18:49:19] Production.INFO: ProcessCDR(1,14724777,1,1,2) [2025-03-20 18:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724777', 'tblTempUsageDetail_20' ) start [2025-03-20 18:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724777', 'tblTempUsageDetail_20' ) end [2025-03-20 18:49:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:49:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:49:24] Production.INFO: ==26294== Releasing lock... [2025-03-20 18:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:49:24] Production.INFO: 60.25 MB #Memory Used# [2025-03-20 22:50:01] Production.INFO: ==26370== Lock acquired, processing the job... [2025-03-20 22:50:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:50:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:50:01] Production.INFO: neon service started [2025-03-20 22:50:01] Production.INFO: neon service started [2025-03-20 22:50:01] Production.INFO: ==26370== Releasing lock... [2025-03-20 22:50:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:50:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:50:02] Production.INFO: ==26374== Lock acquired, processing the job... [2025-03-20 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:50:02] Production.INFO: ==26374== Releasing lock... [2025-03-20 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:50:02] Production.INFO: ==26372== Lock acquired, processing the job... [2025-03-20 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:50:02] Production.INFO: ==26372== Releasing lock... [2025-03-20 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:50:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:50:03] Production.INFO: ==26377== Lock acquired, processing the job... [2025-03-20 18:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 18:50:03] Production.INFO: ==26379== Lock acquired, processing the job... [2025-03-20 18:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:50:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 18:50:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 18:50:03] Production.ERROR: CronJob PID - 26379 [2025-03-20 18:50:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 18:50:03] Production.ERROR: CronJob ID - 5 [2025-03-20 18:50:03] Production.ERROR: CronJob Last Run Time 2025-03-20 18:50:00 [2025-03-20 18:50:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 18:50:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 18:50:04] Production.INFO: ==26381== Lock acquired, processing the job... [2025-03-20 18:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 18:50:04] Production.INFO: ==26377== Releasing lock... [2025-03-20 18:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 18:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 18:50:04] Production.INFO: ==26385== Lock acquired, processing the job... [2025-03-20 18:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:50:04] Production.INFO: ==26383== Lock acquired, processing the job... [2025-03-20 18:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:50:04] Production.INFO: ==26387== Lock acquired, processing the job... [2025-03-20 18:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:50:04] Production.INFO: ==26389== Lock acquired, processing the job... [2025-03-20 18:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 18:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:50:04] Production.INFO: Account Balance Start. [2025-03-20 18:50:04] Production.INFO: CreateAllLog Start [2025-03-20 18:50:04] Production.INFO: 117 [2025-03-20 18:50:04] Production.INFO: ==26391== Lock acquired, processing the job... [2025-03-20 18:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:50:04] Production.INFO: ==26381== Releasing lock... [2025-03-20 18:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:50:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:50:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:50:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:50:04] Production.INFO: count ==23 [2025-03-20 18:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724781') start [2025-03-20 18:50:04] Production.ERROR: done [2025-03-20 18:50:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:50:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724781') end [2025-03-20 18:50:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:50:04] Production.INFO: 1 [2025-03-20 18:50:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:50:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:50:04] Production.INFO: Total Charge 0 [2025-03-20 18:50:04] Production.INFO: CreateAllLog End [2025-03-20 18:50:04] Production.INFO: ==26391== Releasing lock... [2025-03-20 18:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:50:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:50:05] Production.ERROR: done [2025-03-20 18:50:05] Production.ERROR: done [2025-03-20 18:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 18:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724782', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 18:50:05] Production.INFO: Account Balance End. [2025-03-20 18:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:50:05] Production.INFO: ==26385== Releasing lock... [2025-03-20 18:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:50:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:50:06 [end_date_ymd] => 2025-03-20 18:50:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:50:06' and `end` < '2025-03-20 18: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-03-20 18:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724782', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 18:50:08] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 18:50:08] Production.INFO: ProcessCDR(1,14724782,1,1,2) [2025-03-20 18:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724782,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724782,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:50:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:50:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:50:09] Production.INFO: ==26389== Releasing lock... [2025-03-20 18:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 18:50:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 18:50:16] Production.ERROR: CronJobId end10 [2025-03-20 18:50:16] Production.INFO: ==26383== Releasing lock... [2025-03-20 18:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:50:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:50:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:50:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:50:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:50:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:50:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:50:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:50:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:50:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:50:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:50:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:50:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:50:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:50:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:50:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:50:17] Production.INFO: call_cost start [2025-03-20 18:50:17] Production.INFO: call_cost end [2025-03-20 18:50:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:50:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:50:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:50:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:50:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:50:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:50:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:50:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:50:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:50:18] Production.INFO: ==26379== Releasing lock... [2025-03-20 18:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:50:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:50:19] Production.INFO: count ==4276 [2025-03-20 18:50:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:50:06 - End Time 2025-03-20 18:50:06 [2025-03-20 18:50:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724783', 'tblTempUsageDetail_20' ) start [2025-03-20 18:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724783', 'tblTempUsageDetail_20' ) end [2025-03-20 18:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724783', 'tblTempVendorCDR_20' ) start [2025-03-20 18:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724783', 'tblTempVendorCDR_20' ) end [2025-03-20 18:50:21] Production.INFO: ProcessCDR(1,14724783,1,1,2) [2025-03-20 18:50:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:50:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:50:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:50:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724783', 'tblTempUsageDetail_20' ) start [2025-03-20 18:50:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724783', 'tblTempUsageDetail_20' ) end [2025-03-20 18:50:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:50:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:50:26] Production.INFO: ==26387== Releasing lock... [2025-03-20 18:50:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:50:26] Production.INFO: 60 MB #Memory Used# [2025-03-20 22:51:01] Production.INFO: ==26462== Lock acquired, processing the job... [2025-03-20 22:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:51:01] Production.INFO: neon service started [2025-03-20 22:51:01] Production.INFO: neon service started [2025-03-20 22:51:01] Production.INFO: ==26462== Releasing lock... [2025-03-20 22:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:51:01] Production.INFO: ==26464== Lock acquired, processing the job... [2025-03-20 18:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:51:02] Production.INFO: ==26464== Releasing lock... [2025-03-20 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:51:02] Production.INFO: ==26466== Lock acquired, processing the job... [2025-03-20 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:51:02] Production.INFO: ==26466== Releasing lock... [2025-03-20 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:51:02] Production.INFO: ==26470== Lock acquired, processing the job... [2025-03-20 18:51:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:51:03] Production.INFO: ==26473== Lock acquired, processing the job... [2025-03-20 18:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:51:03] Production.INFO: ==26481== Lock acquired, processing the job... [2025-03-20 18:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:51:03] Production.INFO: ==26468== Lock acquired, processing the job... [2025-03-20 18:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:51:03] Production.INFO: ==26478== Lock acquired, processing the job... [2025-03-20 18:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:51:03] Production.INFO: ==26483== Lock acquired, processing the job... [2025-03-20 18:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:51:03] Production.INFO: ==26470== Releasing lock... [2025-03-20 18:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:51:03] Production.INFO: Account Balance Start. [2025-03-20 18:51:03] Production.INFO: CreateAllLog Start [2025-03-20 18:51:03] Production.INFO: 117 [2025-03-20 18:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 18: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-03-20 18:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:03] Production.INFO: count ==12 [2025-03-20 18:51:03] Production.ERROR: done [2025-03-20 18:51:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18: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-03-20 18:51:03] Production.INFO: count ==23 [2025-03-20 18:51:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724787') start [2025-03-20 18:51:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:03] Production.ERROR: done [2025-03-20 18:51:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724787') end [2025-03-20 18:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:51:03] Production.INFO: 1 [2025-03-20 18:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:51:03] Production.INFO: Date 2025-03-12 [2025-03-20 18:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:03] Production.INFO: ==26483== Releasing lock... [2025-03-20 18:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:51:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:51:03] Production.INFO: Date 2025-03-13 [2025-03-20 18:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:51:04] Production.INFO: Total Charge 0 [2025-03-20 18:51:04] Production.INFO: CreateAllLog End [2025-03-20 18:51:04] Production.INFO: Account Balance End. [2025-03-20 18:51:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:51:04] Production.INFO: ==26478== Releasing lock... [2025-03-20 18:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:51:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:51:05 [end_date_ymd] => 2025-03-20 18:51:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:51:05' and `end` < '2025-03-20 18: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-03-20 18:51:14] Production.ERROR: CronJobId end10 [2025-03-20 18:51:14] Production.INFO: ==26473== Releasing lock... [2025-03-20 18:51:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:51:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:51:15] Production.INFO: call_cost start [2025-03-20 18:51:15] Production.INFO: call_cost end [2025-03-20 18:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:51:16] Production.INFO: ==26468== Releasing lock... [2025-03-20 18:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:51:17] Production.INFO: count ==4164 [2025-03-20 18:51:19] Production.ERROR: pbx CDR StartTime 2025-03-20 15:51:05 - End Time 2025-03-20 18:51:05 [2025-03-20 18:51:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724788', 'tblTempUsageDetail_20' ) start [2025-03-20 18:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724788', 'tblTempUsageDetail_20' ) end [2025-03-20 18:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724788', 'tblTempVendorCDR_20' ) start [2025-03-20 18:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724788', 'tblTempVendorCDR_20' ) end [2025-03-20 18:51:19] Production.INFO: ProcessCDR(1,14724788,1,1,2) [2025-03-20 18:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:51:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:51:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724788', 'tblTempUsageDetail_20' ) start [2025-03-20 18:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724788', 'tblTempUsageDetail_20' ) end [2025-03-20 18:51:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:51:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:51:24] Production.INFO: ==26481== Releasing lock... [2025-03-20 18:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:51:24] Production.INFO: 59.25 MB #Memory Used# [2025-03-20 22:52:01] Production.INFO: ==26555== Lock acquired, processing the job... [2025-03-20 22:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:52:01] Production.INFO: neon service started [2025-03-20 22:52:01] Production.INFO: neon service started [2025-03-20 22:52:01] Production.INFO: ==26555== Releasing lock... [2025-03-20 22:52:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:52:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:52:02] Production.INFO: ==26559== Lock acquired, processing the job... [2025-03-20 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:52:02] Production.INFO: ==26559== Releasing lock... [2025-03-20 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:52:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:52:02] Production.INFO: ==26557== Lock acquired, processing the job... [2025-03-20 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:52:03] Production.INFO: ==26557== Releasing lock... [2025-03-20 18:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:52:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:52:03] Production.INFO: ==26562== Lock acquired, processing the job... [2025-03-20 18:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:52:03] Production.INFO: ==26564== Lock acquired, processing the job... [2025-03-20 18:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:52:04] Production.INFO: ==26570== Lock acquired, processing the job... [2025-03-20 18:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:52:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:52:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:52:04] Production.INFO: ==26566== Lock acquired, processing the job... [2025-03-20 18:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:52:04] Production.INFO: ==26568== Lock acquired, processing the job... [2025-03-20 18:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:52:04] Production.INFO: ==26572== Lock acquired, processing the job... [2025-03-20 18:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:52:04] Production.ERROR: done [2025-03-20 18:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:52:04] Production.INFO: Account Balance Start. [2025-03-20 18:52:04] Production.INFO: ==26564== Releasing lock... [2025-03-20 18:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:52:04] Production.INFO: CreateAllLog Start [2025-03-20 18:52:04] Production.INFO: 117 [2025-03-20 18:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 18: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-03-20 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:52:04] Production.INFO: count ==23 [2025-03-20 18:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724792') start [2025-03-20 18:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:04] Production.ERROR: done [2025-03-20 18:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724792') end [2025-03-20 18:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:52:04] Production.INFO: 1 [2025-03-20 18:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:05] Production.INFO: ==26572== Releasing lock... [2025-03-20 18:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:52:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:52:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:52:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:52:05] Production.INFO: Total Charge 0 [2025-03-20 18:52:05] Production.INFO: CreateAllLog End [2025-03-20 18:52:05] Production.INFO: Account Balance End. [2025-03-20 18:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:52:05] Production.INFO: ==26568== Releasing lock... [2025-03-20 18:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:52:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:52:06 [end_date_ymd] => 2025-03-20 18:52:06 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:52:06' and `end` < '2025-03-20 18: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-03-20 18:52:15] Production.ERROR: CronJobId end10 [2025-03-20 18:52:15] Production.INFO: ==26566== Releasing lock... [2025-03-20 18:52:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:52:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:52:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:52:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:52:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:52:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:52:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:52:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:52:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:52:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:52:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:52:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:52:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:52:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:52:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:52:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:52:17] Production.INFO: call_cost start [2025-03-20 18:52:17] Production.INFO: call_cost end [2025-03-20 18:52:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:52:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:52:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:52:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:52:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:52:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:52:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:52:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:52:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:52:18] Production.INFO: ==26562== Releasing lock... [2025-03-20 18:52:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:52:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:52:19] Production.INFO: count ==4139 [2025-03-20 18:52:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:52:06 - End Time 2025-03-20 18:52:06 [2025-03-20 18:52:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724793', 'tblTempUsageDetail_20' ) start [2025-03-20 18:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724793', 'tblTempUsageDetail_20' ) end [2025-03-20 18:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724793', 'tblTempVendorCDR_20' ) start [2025-03-20 18:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724793', 'tblTempVendorCDR_20' ) end [2025-03-20 18:52:21] Production.INFO: ProcessCDR(1,14724793,1,1,2) [2025-03-20 18:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:52:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724793', 'tblTempUsageDetail_20' ) start [2025-03-20 18:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724793', 'tblTempUsageDetail_20' ) end [2025-03-20 18:52:26] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:52:26] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:52:26] Production.INFO: ==26570== Releasing lock... [2025-03-20 18:52:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:52:26] Production.INFO: 59 MB #Memory Used# [2025-03-20 22:53:01] Production.INFO: ==26643== Lock acquired, processing the job... [2025-03-20 22:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:53:01] Production.INFO: neon service started [2025-03-20 22:53:01] Production.INFO: neon service started [2025-03-20 22:53:01] Production.INFO: ==26643== Releasing lock... [2025-03-20 22:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:53:01] Production.INFO: ==26647== Lock acquired, processing the job... [2025-03-20 22:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:53:01] Production.INFO: ==26647== Releasing lock... [2025-03-20 22:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:53:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:53:01] Production.INFO: ==26645== Lock acquired, processing the job... [2025-03-20 18:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:53:02] Production.INFO: ==26645== Releasing lock... [2025-03-20 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:53:03] Production.INFO: ==26652== Lock acquired, processing the job... [2025-03-20 18:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:53:03] Production.INFO: ==26656== Lock acquired, processing the job... [2025-03-20 18:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:53:03] Production.INFO: Account Balance Start. [2025-03-20 18:53:03] Production.INFO: CreateAllLog Start [2025-03-20 18:53:03] Production.INFO: 117 [2025-03-20 18:53:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:03] Production.INFO: ==26654== Lock acquired, processing the job... [2025-03-20 18:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:53:03] Production.INFO: ==26650== Lock acquired, processing the job... [2025-03-20 18:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:53:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:53:03] Production.INFO: ==26658== Lock acquired, processing the job... [2025-03-20 18:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:03] Production.INFO: ==26660== Lock acquired, processing the job... [2025-03-20 18:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:53:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18: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-03-20 18:53:03] Production.INFO: Date 2025-03-12 [2025-03-20 18:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:03] Production.INFO: Date 2025-03-13 [2025-03-20 18:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:03] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:53:03] Production.INFO: count ==23 [2025-03-20 18:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724796') start [2025-03-20 18:53:03] Production.INFO: Date 2025-03-14 [2025-03-20 18:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:03] Production.INFO: ==26652== Releasing lock... [2025-03-20 18:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724796') end [2025-03-20 18:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:53:03] Production.INFO: 1 [2025-03-20 18:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:53:03] Production.INFO: Date 2025-03-15 [2025-03-20 18:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:04] Production.INFO: ==26660== Releasing lock... [2025-03-20 18:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:53:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:53:04] Production.ERROR: done [2025-03-20 18:53:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:53:04] Production.INFO: Total Charge 0 [2025-03-20 18:53:04] Production.INFO: CreateAllLog End [2025-03-20 18:53:04] Production.ERROR: done [2025-03-20 18:53:04] Production.INFO: Account Balance End. [2025-03-20 18:53:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:53:04] Production.INFO: ==26656== Releasing lock... [2025-03-20 18:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:53:05 [end_date_ymd] => 2025-03-20 18:53:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:53:05' and `end` < '2025-03-20 18: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-03-20 18:53:13] Production.ERROR: CronJobId end10 [2025-03-20 18:53:13] Production.INFO: ==26654== Releasing lock... [2025-03-20 18:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:53:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:53:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:53:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:53:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:53:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:53:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:53:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:53:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:53:15] Production.INFO: call_cost start [2025-03-20 18:53:15] Production.INFO: call_cost end [2025-03-20 18:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:53:16] Production.INFO: ==26650== Releasing lock... [2025-03-20 18:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:53:18] Production.INFO: count ==4109 [2025-03-20 18:53:19] Production.ERROR: pbx CDR StartTime 2025-03-20 15:53:05 - End Time 2025-03-20 18:53:05 [2025-03-20 18:53:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724798', 'tblTempUsageDetail_20' ) start [2025-03-20 18:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724798', 'tblTempUsageDetail_20' ) end [2025-03-20 18:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724798', 'tblTempVendorCDR_20' ) start [2025-03-20 18:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724798', 'tblTempVendorCDR_20' ) end [2025-03-20 18:53:20] Production.INFO: ProcessCDR(1,14724798,1,1,2) [2025-03-20 18:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:53:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724798', 'tblTempUsageDetail_20' ) start [2025-03-20 18:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724798', 'tblTempUsageDetail_20' ) end [2025-03-20 18:53:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:53:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:53:25] Production.INFO: ==26658== Releasing lock... [2025-03-20 18:53:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:53:25] Production.INFO: 58.75 MB #Memory Used# [2025-03-20 22:54:01] Production.INFO: ==26727== Lock acquired, processing the job... [2025-03-20 22:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:54:01] Production.INFO: neon service started [2025-03-20 22:54:01] Production.INFO: neon service started [2025-03-20 22:54:01] Production.INFO: ==26727== Releasing lock... [2025-03-20 22:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:54:02] Production.INFO: ==26729== Lock acquired, processing the job... [2025-03-20 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:54:02] Production.INFO: ==26731== Lock acquired, processing the job... [2025-03-20 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:54:02] Production.INFO: ==26731== Releasing lock... [2025-03-20 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:54:02] Production.INFO: ==26729== Releasing lock... [2025-03-20 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:54:03] Production.INFO: ==26738== Lock acquired, processing the job... [2025-03-20 18:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:54:03] Production.INFO: ==26744== Lock acquired, processing the job... [2025-03-20 18:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:54:03] Production.INFO: ==26734== Lock acquired, processing the job... [2025-03-20 18:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18: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-03-20 18:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:54:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:54:04] Production.INFO: count ==23 [2025-03-20 18:54:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:54:04] Production.INFO: ==26736== Lock acquired, processing the job... [2025-03-20 18:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724799') start [2025-03-20 18:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724799') end [2025-03-20 18:54:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:54:04] Production.INFO: 1 [2025-03-20 18:54:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:54:04] Production.INFO: ==26740== Lock acquired, processing the job... [2025-03-20 18:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:54:04] Production.INFO: ==26744== Releasing lock... [2025-03-20 18:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:54:04] Production.INFO: Account Balance Start. [2025-03-20 18:54:04] Production.INFO: CreateAllLog Start [2025-03-20 18:54:04] Production.INFO: ==26742== Lock acquired, processing the job... [2025-03-20 18:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:54:04] Production.INFO: 117 [2025-03-20 18:54:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:04] Production.INFO: ==26736== Releasing lock... [2025-03-20 18:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:04] Production.ERROR: done [2025-03-20 18:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:04] Production.ERROR: done [2025-03-20 18:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:05] Production.INFO: Date 2025-03-18 [2025-03-20 18:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:05] Production.INFO: Date 2025-03-19 [2025-03-20 18:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:54:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:54:05] Production.INFO: Total Charge 0 [2025-03-20 18:54:05] Production.INFO: CreateAllLog End [2025-03-20 18:54:05] Production.INFO: Account Balance End. [2025-03-20 18:54:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:54:05] Production.INFO: ==26740== Releasing lock... [2025-03-20 18:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:54:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:54:05 [end_date_ymd] => 2025-03-20 18:54:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:54:05' and `end` < '2025-03-20 18: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-03-20 18:54:13] Production.ERROR: CronJobId end10 [2025-03-20 18:54:13] Production.INFO: ==26738== Releasing lock... [2025-03-20 18:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:54:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:54:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:54:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:54:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:54:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:54:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:54:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:54:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:54:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:54:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:54:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:54:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:54:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:54:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:54:15] Production.INFO: call_cost start [2025-03-20 18:54:15] Production.INFO: call_cost end [2025-03-20 18:54:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:54:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:54:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:54:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:54:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:54:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:54:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:54:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:54:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:54:16] Production.INFO: ==26734== Releasing lock... [2025-03-20 18:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:54:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:54:18] Production.INFO: count ==4093 [2025-03-20 18:54:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:54:05 - End Time 2025-03-20 18:54:05 [2025-03-20 18:54:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724803', 'tblTempUsageDetail_20' ) start [2025-03-20 18:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724803', 'tblTempUsageDetail_20' ) end [2025-03-20 18:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724803', 'tblTempVendorCDR_20' ) start [2025-03-20 18:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724803', 'tblTempVendorCDR_20' ) end [2025-03-20 18:54:20] Production.INFO: ProcessCDR(1,14724803,1,1,2) [2025-03-20 18:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724803', 'tblTempUsageDetail_20' ) start [2025-03-20 18:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724803', 'tblTempUsageDetail_20' ) end [2025-03-20 18:54:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:54:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:54:23] Production.INFO: ==26742== Releasing lock... [2025-03-20 18:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:54:23] Production.INFO: 58.5 MB #Memory Used# [2025-03-20 22:55:02] Production.INFO: ==26823== Lock acquired, processing the job... [2025-03-20 22:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:55:02] Production.INFO: neon service started [2025-03-20 22:55:02] Production.INFO: neon service started [2025-03-20 22:55:02] Production.INFO: ==26823== Releasing lock... [2025-03-20 22:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:55:02] Production.INFO: ==26825== Lock acquired, processing the job... [2025-03-20 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:55:02] Production.INFO: ==26825== Releasing lock... [2025-03-20 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:55:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:55:03] Production.INFO: ==26827== Lock acquired, processing the job... [2025-03-20 22:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:55:03] Production.INFO: ==26827== Releasing lock... [2025-03-20 22:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:55:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:55:03] Production.INFO: ==26829== Lock acquired, processing the job... [2025-03-20 18:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:55:03] Production.INFO: ==26831== Lock acquired, processing the job... [2025-03-20 18:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:55:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:55:03] Production.INFO: ==26837== Lock acquired, processing the job... [2025-03-20 18:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:55:04] Production.INFO: ==26834== Lock acquired, processing the job... [2025-03-20 18:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:55:04] Production.INFO: Account Balance Start. [2025-03-20 18:55:04] Production.INFO: CreateAllLog Start [2025-03-20 18:55:04] Production.INFO: 117 [2025-03-20 18:55:04] Production.INFO: ==26840== Lock acquired, processing the job... [2025-03-20 18:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:04] Production.INFO: ==26831== Releasing lock... [2025-03-20 18:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:04] Production.INFO: ==26843== Lock acquired, processing the job... [2025-03-20 18:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:55:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:04] Production.INFO: count ==12 [2025-03-20 18:55:04] Production.ERROR: done [2025-03-20 18:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18: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-03-20 18:55:04] Production.INFO: count ==23 [2025-03-20 18:55:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724807') start [2025-03-20 18:55:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:04] Production.ERROR: done [2025-03-20 18:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724807') end [2025-03-20 18:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:55:04] Production.INFO: 1 [2025-03-20 18:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:55:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:04] Production.INFO: ==26843== Releasing lock... [2025-03-20 18:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:55:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:05] Production.INFO: Date 2025-03-20 [2025-03-20 18:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 18:55:05] Production.INFO: Total Charge 0 [2025-03-20 18:55:05] Production.INFO: CreateAllLog End [2025-03-20 18:55:05] Production.INFO: Account Balance End. [2025-03-20 18:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:55:05] Production.INFO: ==26837== Releasing lock... [2025-03-20 18:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:55:05 [end_date_ymd] => 2025-03-20 18:55:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:55:05' and `end` < '2025-03-20 18: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-03-20 18:55:14] Production.ERROR: CronJobId end10 [2025-03-20 18:55:14] Production.INFO: ==26834== Releasing lock... [2025-03-20 18:55:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:55:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:55:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:55:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:55:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:55:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:55:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:55:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:55:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:55:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:55:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:55:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:55:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:55:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:55:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:55:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:55:16] Production.INFO: call_cost start [2025-03-20 18:55:16] Production.INFO: call_cost end [2025-03-20 18:55:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:55:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:55:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:55:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:55:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:55:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:55:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:55:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:55:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:55:17] Production.INFO: ==26829== Releasing lock... [2025-03-20 18:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:55:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:55:18] Production.INFO: count ==4091 [2025-03-20 18:55:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:55:05 - End Time 2025-03-20 18:55:05 [2025-03-20 18:55:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724808', 'tblTempUsageDetail_20' ) start [2025-03-20 18:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724808', 'tblTempUsageDetail_20' ) end [2025-03-20 18:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724808', 'tblTempVendorCDR_20' ) start [2025-03-20 18:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724808', 'tblTempVendorCDR_20' ) end [2025-03-20 18:55:20] Production.INFO: ProcessCDR(1,14724808,1,1,2) [2025-03-20 18:55:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:55:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:55:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724808', 'tblTempUsageDetail_20' ) start [2025-03-20 18:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724808', 'tblTempUsageDetail_20' ) end [2025-03-20 18:55:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:55:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:55:24] Production.INFO: ==26840== Releasing lock... [2025-03-20 18:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:55:24] Production.INFO: 58.75 MB #Memory Used# [2025-03-20 22:56:01] Production.INFO: ==26912== Lock acquired, processing the job... [2025-03-20 22:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:56:01] Production.INFO: neon service started [2025-03-20 22:56:01] Production.INFO: neon service started [2025-03-20 22:56:01] Production.INFO: ==26912== Releasing lock... [2025-03-20 22:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 22:56:02] Production.INFO: ==26917== Lock acquired, processing the job... [2025-03-20 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:56:02] Production.INFO: ==26917== Releasing lock... [2025-03-20 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:56:02] Production.INFO: ==26915== Lock acquired, processing the job... [2025-03-20 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:56:02] Production.INFO: ==26915== Releasing lock... [2025-03-20 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:56:03] Production.INFO: ==26923== Lock acquired, processing the job... [2025-03-20 18:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:56:03] Production.INFO: ==26919== Lock acquired, processing the job... [2025-03-20 18:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:56:03] Production.INFO: ==26927== Lock acquired, processing the job... [2025-03-20 18:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:56:03] Production.INFO: ==26921== Lock acquired, processing the job... [2025-03-20 18:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:56:03] Production.INFO: ==26925== Lock acquired, processing the job... [2025-03-20 18:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:56:03] Production.INFO: ==26929== Lock acquired, processing the job... [2025-03-20 18:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18: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-03-20 18:56:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:56:04] Production.ERROR: done [2025-03-20 18:56:04] Production.INFO: Account Balance Start. [2025-03-20 18:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:56:04] Production.INFO: CreateAllLog Start [2025-03-20 18:56:04] Production.INFO: count ==23 [2025-03-20 18:56:04] Production.INFO: 117 [2025-03-20 18:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724811') start [2025-03-20 18:56:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724811') end [2025-03-20 18:56:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:56:04] Production.INFO: 1 [2025-03-20 18:56:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:56:04] Production.ERROR: done [2025-03-20 18:56:04] Production.INFO: ==26929== Releasing lock... [2025-03-20 18:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:56:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:56:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: ==26921== Releasing lock... [2025-03-20 18:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:56:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:56:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:56:04] Production.INFO: Total Charge 0 [2025-03-20 18:56:04] Production.INFO: CreateAllLog End [2025-03-20 18:56:04] Production.INFO: Account Balance End. [2025-03-20 18:56:05] Production.ERROR: CronJobId end 12 [2025-03-20 18:56:05] Production.INFO: ==26925== Releasing lock... [2025-03-20 18:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:56:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:56:05 [end_date_ymd] => 2025-03-20 18:56:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:56:05' and `end` < '2025-03-20 18: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-03-20 18:56:14] Production.ERROR: CronJobId end10 [2025-03-20 18:56:14] Production.INFO: ==26923== Releasing lock... [2025-03-20 18:56:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:56:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:56:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:56:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:56:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:56:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:56:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:56:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:56:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:56:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:56:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:56:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:56:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:56:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:56:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:56:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:56:15] Production.INFO: call_cost start [2025-03-20 18:56:15] Production.INFO: call_cost end [2025-03-20 18:56:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:56:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:56:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:56:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:56:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:56:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:56:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:56:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:56:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:56:16] Production.INFO: ==26919== Releasing lock... [2025-03-20 18:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:56:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:56:18] Production.INFO: count ==4076 [2025-03-20 18:56:19] Production.ERROR: pbx CDR StartTime 2025-03-20 15:56:05 - End Time 2025-03-20 18:56:05 [2025-03-20 18:56:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724813', 'tblTempUsageDetail_20' ) start [2025-03-20 18:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724813', 'tblTempUsageDetail_20' ) end [2025-03-20 18:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724813', 'tblTempVendorCDR_20' ) start [2025-03-20 18:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724813', 'tblTempVendorCDR_20' ) end [2025-03-20 18:56:20] Production.INFO: ProcessCDR(1,14724813,1,1,2) [2025-03-20 18:56:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724813', 'tblTempUsageDetail_20' ) start [2025-03-20 18:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724813', 'tblTempUsageDetail_20' ) end [2025-03-20 18:56:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:56:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:56:24] Production.INFO: ==26927== Releasing lock... [2025-03-20 18:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:56:24] Production.INFO: 58.5 MB #Memory Used# [2025-03-20 22:57:02] Production.INFO: ==27002== Lock acquired, processing the job... [2025-03-20 22:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:57:02] Production.INFO: neon service started [2025-03-20 22:57:02] Production.INFO: neon service started [2025-03-20 22:57:02] Production.INFO: ==27002== Releasing lock... [2025-03-20 22:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:57:02] Production.INFO: ==27004== Lock acquired, processing the job... [2025-03-20 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:57:02] Production.INFO: ==27004== Releasing lock... [2025-03-20 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:57:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:57:03] Production.INFO: ==27006== Lock acquired, processing the job... [2025-03-20 22:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:57:03] Production.INFO: ==27006== Releasing lock... [2025-03-20 22:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:57:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:57:03] Production.INFO: ==27013== Lock acquired, processing the job... [2025-03-20 18:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:57:03] Production.INFO: ==27009== Lock acquired, processing the job... [2025-03-20 18:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:57:03] Production.INFO: ==27011== Lock acquired, processing the job... [2025-03-20 18:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:57:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:57:03] Production.INFO: ==27017== Lock acquired, processing the job... [2025-03-20 18:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:57:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:57:04] Production.INFO: ==27015== Lock acquired, processing the job... [2025-03-20 18:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:57:04] Production.INFO: Account Balance Start. [2025-03-20 18:57:04] Production.INFO: CreateAllLog Start [2025-03-20 18:57:04] Production.INFO: 117 [2025-03-20 18:57:04] Production.INFO: ==27019== Lock acquired, processing the job... [2025-03-20 18:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:57:04] Production.INFO: ==27011== Releasing lock... [2025-03-20 18:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:57:04] Production.INFO: Date 2025-03-08 [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.ERROR: done [2025-03-20 18:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:57:04] Production.INFO: count ==23 [2025-03-20 18:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724817') start [2025-03-20 18:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:57:04] Production.ERROR: done [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724817') end [2025-03-20 18:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:57:04] Production.INFO: 1 [2025-03-20 18:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.INFO: ==27019== Releasing lock... [2025-03-20 18:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:57:04] Production.INFO: Total Charge 0 [2025-03-20 18:57:04] Production.INFO: CreateAllLog End [2025-03-20 18:57:04] Production.INFO: Account Balance End. [2025-03-20 18:57:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:57:04] Production.INFO: ==27015== Releasing lock... [2025-03-20 18:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:57:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:57:05 [end_date_ymd] => 2025-03-20 18:57:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:57:05' and `end` < '2025-03-20 18: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-03-20 18:57:14] Production.ERROR: CronJobId end10 [2025-03-20 18:57:14] Production.INFO: ==27013== Releasing lock... [2025-03-20 18:57:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:57:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:57:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:57:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:57:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:57:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:57:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:57:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:57:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:57:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:57:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:57:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:57:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:57:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:57:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:57:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:57:15] Production.INFO: call_cost start [2025-03-20 18:57:15] Production.INFO: call_cost end [2025-03-20 18:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:57:16] Production.INFO: ==27009== Releasing lock... [2025-03-20 18:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:57:18] Production.INFO: count ==4023 [2025-03-20 18:57:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:57:05 - End Time 2025-03-20 18:57:05 [2025-03-20 18:57:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724818', 'tblTempUsageDetail_20' ) start [2025-03-20 18:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724818', 'tblTempUsageDetail_20' ) end [2025-03-20 18:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724818', 'tblTempVendorCDR_20' ) start [2025-03-20 18:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724818', 'tblTempVendorCDR_20' ) end [2025-03-20 18:57:20] Production.INFO: ProcessCDR(1,14724818,1,1,2) [2025-03-20 18:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724818', 'tblTempUsageDetail_20' ) start [2025-03-20 18:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724818', 'tblTempUsageDetail_20' ) end [2025-03-20 18:57:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:57:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:57:23] Production.INFO: ==27017== Releasing lock... [2025-03-20 18:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:57:23] Production.INFO: 58 MB #Memory Used# [2025-03-20 22:58:01] Production.INFO: ==27088== Lock acquired, processing the job... [2025-03-20 22:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:58:01] Production.INFO: neon service started [2025-03-20 22:58:01] Production.INFO: neon service started [2025-03-20 22:58:01] Production.INFO: ==27088== Releasing lock... [2025-03-20 22:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:58:02] Production.INFO: ==27090== Lock acquired, processing the job... [2025-03-20 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 22:58:02] Production.INFO: ==27092== Lock acquired, processing the job... [2025-03-20 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:58:02] Production.INFO: ==27092== Releasing lock... [2025-03-20 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:58:02] Production.INFO: ==27090== Releasing lock... [2025-03-20 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 18:58:03] Production.INFO: ==27101== Lock acquired, processing the job... [2025-03-20 18:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:58:03] Production.INFO: ==27099== Lock acquired, processing the job... [2025-03-20 18:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:58:03] Production.INFO: ==27095== Lock acquired, processing the job... [2025-03-20 18:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:58:03] Production.INFO: Account Balance Start. [2025-03-20 18:58:03] Production.INFO: CreateAllLog Start [2025-03-20 18:58:03] Production.INFO: 117 [2025-03-20 18:58:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:03] Production.INFO: ==27097== Lock acquired, processing the job... [2025-03-20 18:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:58:03] Production.INFO: Date 2025-03-09 [2025-03-20 18:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:58:03] Production.INFO: Date 2025-03-10 [2025-03-20 18:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:03] Production.INFO: ==27103== Lock acquired, processing the job... [2025-03-20 18:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:58:03] Production.INFO: ==27105== Lock acquired, processing the job... [2025-03-20 18:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:58:03] Production.INFO: Date 2025-03-11 [2025-03-20 18:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:58:04] Production.INFO: count ==23 [2025-03-20 18:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724822') start [2025-03-20 18:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:04] Production.INFO: ==27097== Releasing lock... [2025-03-20 18:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724822') end [2025-03-20 18:58:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:58:04] Production.INFO: 1 [2025-03-20 18:58:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:04] Production.INFO: ==27105== Releasing lock... [2025-03-20 18:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:58:04] Production.ERROR: done [2025-03-20 18:58:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:04] Production.ERROR: done [2025-03-20 18:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:58:04] Production.INFO: Total Charge 0 [2025-03-20 18:58:04] Production.INFO: CreateAllLog End [2025-03-20 18:58:04] Production.INFO: Account Balance End. [2025-03-20 18:58:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:58:04] Production.INFO: ==27101== Releasing lock... [2025-03-20 18:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:58:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:58:05 [end_date_ymd] => 2025-03-20 18:58:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:58:05' and `end` < '2025-03-20 18: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-03-20 18:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:58:14] Production.ERROR: CronJobId end10 [2025-03-20 18:58:14] Production.INFO: ==27099== Releasing lock... [2025-03-20 18:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:58:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:58:14] Production.INFO: call_cost start [2025-03-20 18:58:14] Production.INFO: call_cost end [2025-03-20 18:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:58:15] Production.INFO: ==27095== Releasing lock... [2025-03-20 18:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:58:18] Production.INFO: count ==4002 [2025-03-20 18:58:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:58:05 - End Time 2025-03-20 18:58:05 [2025-03-20 18:58:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724823', 'tblTempUsageDetail_20' ) start [2025-03-20 18:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724823', 'tblTempUsageDetail_20' ) end [2025-03-20 18:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724823', 'tblTempVendorCDR_20' ) start [2025-03-20 18:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724823', 'tblTempVendorCDR_20' ) end [2025-03-20 18:58:20] Production.INFO: ProcessCDR(1,14724823,1,1,2) [2025-03-20 18:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:58:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724823', 'tblTempUsageDetail_20' ) start [2025-03-20 18:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724823', 'tblTempUsageDetail_20' ) end [2025-03-20 18:58:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:58:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:58:25] Production.INFO: ==27103== Releasing lock... [2025-03-20 18:58:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:58:25] Production.INFO: 57.75 MB #Memory Used# [2025-03-20 22:59:02] Production.INFO: ==27178== Lock acquired, processing the job... [2025-03-20 22:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 22:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 22:59:02] Production.INFO: neon service started [2025-03-20 22:59:02] Production.INFO: neon service started [2025-03-20 22:59:02] Production.INFO: ==27178== Releasing lock... [2025-03-20 22:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 22:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 18:59:02] Production.INFO: ==27181== Lock acquired, processing the job... [2025-03-20 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 18:59:02] Production.INFO: ==27181== Releasing lock... [2025-03-20 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 18:59:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 22:59:02] Production.INFO: ==27183== Lock acquired, processing the job... [2025-03-20 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 22:59:03] Production.INFO: ==27183== Releasing lock... [2025-03-20 22:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 22:59:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 18:59:03] Production.INFO: ==27185== Lock acquired, processing the job... [2025-03-20 18:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 18:59:03] Production.INFO: ==27187== Lock acquired, processing the job... [2025-03-20 18:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 18:59:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 18:59:03] Production.INFO: ==27189== Lock acquired, processing the job... [2025-03-20 18:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 18:59:03] Production.INFO: ==27191== Lock acquired, processing the job... [2025-03-20 18:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 18:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 18:59:03] Production.INFO: ==27195== Lock acquired, processing the job... [2025-03-20 18:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 18:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 18:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 18:59:03] Production.INFO: ==27193== Lock acquired, processing the job... [2025-03-20 18:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 18:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 18:59:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 18:59:03] Production.INFO: Account Balance Start. [2025-03-20 18:59:03] Production.INFO: CreateAllLog Start [2025-03-20 18:59:03] Production.INFO: 117 [2025-03-20 18:59:03] Production.INFO: Date 2025-03-08 [2025-03-20 18:59:03] Production.INFO: Reseller ==> 0 [2025-03-20 18: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-03-20 18:59:04] Production.INFO: Date 2025-03-09 [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.INFO: Date 2025-03-10 [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.INFO: count ==12 [2025-03-20 18: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-03-20 18:59:04] Production.INFO: count ==23 [2025-03-20 18:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724827') start [2025-03-20 18:59:04] Production.INFO: Date 2025-03-11 [2025-03-20 18:59:04] Production.INFO: ==27187== Releasing lock... [2025-03-20 18:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 18:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.INFO: Date 2025-03-12 [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.INFO: Date 2025-03-13 [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724827') end [2025-03-20 18:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 18:59:04] Production.INFO: 1 [2025-03-20 18:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 18:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.INFO: ==27195== Releasing lock... [2025-03-20 18:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 18:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 18:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.ERROR: done [2025-03-20 18:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 18:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.INFO: Date 2025-03-19 [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.INFO: Date 2025-03-20 [2025-03-20 18:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 18:59:04] Production.INFO: Total Charge 0 [2025-03-20 18:59:04] Production.ERROR: done [2025-03-20 18:59:04] Production.INFO: CreateAllLog End [2025-03-20 18:59:04] Production.INFO: Account Balance End. [2025-03-20 18:59:04] Production.ERROR: CronJobId end 12 [2025-03-20 18:59:04] Production.INFO: ==27191== Releasing lock... [2025-03-20 18:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 18:59:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 18:59:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 15:59:05 [end_date_ymd] => 2025-03-20 18:59:05 [RateCDR] => 1 ) [2025-03-20 18: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-03-20 15:59:05' and `end` < '2025-03-20 18: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-03-20 18:59:13] Production.ERROR: CronJobId end10 [2025-03-20 18:59:13] Production.INFO: ==27189== Releasing lock... [2025-03-20 18:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 18:59:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 18:59:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 18:59:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 18:59:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 18:59:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 18:59:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 18:59:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 18:59:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 18:59:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 18:59:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 18:59:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 18:59:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 18:59:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 18:59:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 18:59:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 18:59:14] Production.INFO: call_cost start [2025-03-20 18:59:14] Production.INFO: call_cost end [2025-03-20 18:59:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 18:59:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 18:59:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 18:59:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 18:59:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 18:59:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 18:59:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 18:59:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 18:59:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 18:59:15] Production.INFO: ==27185== Releasing lock... [2025-03-20 18:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 18:59:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 18:59:18] Production.INFO: count ==3998 [2025-03-20 18:59:20] Production.ERROR: pbx CDR StartTime 2025-03-20 15:59:05 - End Time 2025-03-20 18:59:05 [2025-03-20 18:59:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 18:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724828', 'tblTempUsageDetail_20' ) start [2025-03-20 18:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724828', 'tblTempUsageDetail_20' ) end [2025-03-20 18:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724828', 'tblTempVendorCDR_20' ) start [2025-03-20 18:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724828', 'tblTempVendorCDR_20' ) end [2025-03-20 18:59:20] Production.INFO: ProcessCDR(1,14724828,1,1,2) [2025-03-20 18:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:59:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 18:59:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:59:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 18:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724828', 'tblTempUsageDetail_20' ) start [2025-03-20 18:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724828', 'tblTempUsageDetail_20' ) end [2025-03-20 18:59:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 18:59:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 18:59:25] Production.INFO: ==27193== Releasing lock... [2025-03-20 18:59:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 18:59:25] Production.INFO: 57.75 MB #Memory Used# [2025-03-20 23:00:01] Production.INFO: ==27308== Lock acquired, processing the job... [2025-03-20 23:00:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:00:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:00:01] Production.INFO: neon service started [2025-03-20 23:00:01] Production.INFO: neon service started [2025-03-20 23:00:01] Production.INFO: ==27308== Releasing lock... [2025-03-20 23:00:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:00:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:00:02] Production.INFO: ==27312== Lock acquired, processing the job... [2025-03-20 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:00:02] Production.INFO: ==27312== Releasing lock... [2025-03-20 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:00:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:00:02] Production.INFO: ==27310== Lock acquired, processing the job... [2025-03-20 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:00:02] Production.INFO: ==27310== Releasing lock... [2025-03-20 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:00:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:00:03] Production.INFO: ==27317== Lock acquired, processing the job... [2025-03-20 19:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:00:03] Production.INFO: ==27319== Lock acquired, processing the job... [2025-03-20 19:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:00:03] Production.INFO: ==27321== Lock acquired, processing the job... [2025-03-20 19:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:00:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:00:03] Production.INFO: ==27315== Lock acquired, processing the job... [2025-03-20 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 19:00:03] Production.INFO: ==27327== Lock acquired, processing the job... [2025-03-20 19:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 19:00:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 19:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 19:00:03] Production.ERROR: CronJob PID - 27317 [2025-03-20 19:00:03] Production.ERROR: CronJob Title - System Alerts [2025-03-20 19:00:03] Production.ERROR: CronJob ID - 5 [2025-03-20 19:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 19:00:00 [2025-03-20 19:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 19:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 19:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 19:00:03] Production.ERROR: CronJob PID - 27319 [2025-03-20 19:00:03] Production.ERROR: CronJob Title - Account Block [2025-03-20 19:00:03] Production.ERROR: CronJob ID - 7 [2025-03-20 19:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 19:00:00 [2025-03-20 19:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 19:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 19:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 19:00:03] Production.ERROR: CronJob PID - 27321 [2025-03-20 19:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live [2025-03-20 19:00:03] Production.ERROR: CronJob ID - 10 [2025-03-20 19:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 19:00:00 [2025-03-20 19:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 19:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 19:00:03] Production.ERROR: ========================== active cronjob email start ============================= [2025-03-20 19:00:03] Production.ERROR: CronJob PID - 27327 [2025-03-20 19:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process [2025-03-20 19:00:03] Production.ERROR: CronJob ID - 17 [2025-03-20 19:00:03] Production.ERROR: CronJob Last Run Time 2025-03-20 19:00:00 [2025-03-20 19:00:03] Production.ERROR: CronJob Active Minutes 0 [2025-03-20 19:00:03] Production.ERROR: ========================== active cronjob email end ============================= [2025-03-20 19:00:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:00:03] Production.INFO: ==27323== Lock acquired, processing the job... [2025-03-20 19:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:00:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 19:00:03] Production.INFO: ==27315== Releasing lock... [2025-03-20 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 19:00:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 19:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:00:04] Production.INFO: ==27325== Lock acquired, processing the job... [2025-03-20 19:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:00:04] Production.INFO: ==27329== Lock acquired, processing the job... [2025-03-20 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:00:04] Production.INFO: ==27319== Releasing lock... [2025-03-20 19:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:00:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:00:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:00:04] Production.INFO: Account Balance Start. [2025-03-20 19:00:04] Production.INFO: CreateAllLog Start [2025-03-20 19:00:04] Production.INFO: 117 [2025-03-20 19:00:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:04] Production.ERROR: done [2025-03-20 19:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:00:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:04] Production.INFO: count ==12 [2025-03-20 19:00:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 19:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724833', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 19:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:00:04] Production.INFO: count ==23 [2025-03-20 19:00:04] Production.ERROR: done [2025-03-20 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724832') start [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:00:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724832') end [2025-03-20 19:00:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:00:04] Production.INFO: 1 [2025-03-20 19:00:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:00:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:04] Production.ERROR: done [2025-03-20 19:00:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:04] Production.INFO: ==27329== Releasing lock... [2025-03-20 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:00:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:00:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:00:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:00:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:00:05] Production.INFO: Total Charge 0 [2025-03-20 19:00:05] Production.INFO: CreateAllLog End [2025-03-20 19:00:05] Production.INFO: Account Balance End. [2025-03-20 19:00:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:00:05] Production.INFO: ==27323== Releasing lock... [2025-03-20 19:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:00:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:00:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:00:06 [end_date_ymd] => 2025-03-20 19:00:06 [RateCDR] => 1 ) [2025-03-20 19: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-03-20 16:00:06' and `end` < '2025-03-20 19: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-03-20 19:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724833', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 19:00:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 19:00:09] Production.INFO: ProcessCDR(1,14724833,1,1,2) [2025-03-20 19:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724833,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724833,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:00:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:00:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:00:09] Production.INFO: ==27327== Releasing lock... [2025-03-20 19:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 19:00:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 19:00:15] Production.ERROR: CronJobId end10 [2025-03-20 19:00:15] Production.INFO: ==27321== Releasing lock... [2025-03-20 19:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:00:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:00:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:00:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:00:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:00:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:00:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:00:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:00:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:00:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:00:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:00:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:00:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:00:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:00:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:00:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:00:16] Production.INFO: call_cost start [2025-03-20 19:00:16] Production.INFO: call_cost end [2025-03-20 19:00:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:00:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:00:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:00:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:00:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:00:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:00:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:00:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:00:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:00:17] Production.INFO: ==27317== Releasing lock... [2025-03-20 19:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:00:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:00:18] Production.INFO: count ==3991 [2025-03-20 19:00:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:00:06 - End Time 2025-03-20 19:00:06 [2025-03-20 19:00:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724834', 'tblTempUsageDetail_20' ) start [2025-03-20 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724834', 'tblTempUsageDetail_20' ) end [2025-03-20 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724834', 'tblTempVendorCDR_20' ) start [2025-03-20 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724834', 'tblTempVendorCDR_20' ) end [2025-03-20 19:00:20] Production.INFO: ProcessCDR(1,14724834,1,1,2) [2025-03-20 19:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:00:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:00:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724834', 'tblTempUsageDetail_20' ) start [2025-03-20 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724834', 'tblTempUsageDetail_20' ) end [2025-03-20 19:00:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:00:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:00:25] Production.INFO: ==27325== Releasing lock... [2025-03-20 19:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:00:25] Production.INFO: 57.75 MB #Memory Used# [2025-03-20 23:01:02] Production.INFO: ==27403== Lock acquired, processing the job... [2025-03-20 23:01:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:01:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:01:02] Production.INFO: neon service started [2025-03-20 23:01:02] Production.INFO: neon service started [2025-03-20 23:01:02] Production.INFO: ==27403== Releasing lock... [2025-03-20 23:01:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:01:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:01:02] Production.INFO: ==27408== Lock acquired, processing the job... [2025-03-20 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:01:02] Production.INFO: ==27408== Releasing lock... [2025-03-20 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:01:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:01:03] Production.INFO: ==27410== Lock acquired, processing the job... [2025-03-20 23:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:01:03] Production.INFO: ==27410== Releasing lock... [2025-03-20 23:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:01:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:01:03] Production.INFO: ==27430== Lock acquired, processing the job... [2025-03-20 19:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:01:03] Production.INFO: ==27436== Lock acquired, processing the job... [2025-03-20 19:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:01:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:01:03] Production.INFO: ==27441== Lock acquired, processing the job... [2025-03-20 19:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:01:03] Production.INFO: Account Balance Start. [2025-03-20 19:01:03] Production.INFO: CreateAllLog Start [2025-03-20 19:01:03] Production.INFO: 117 [2025-03-20 19:01:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:01:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:03] Production.INFO: ==27434== Lock acquired, processing the job... [2025-03-20 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:01:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:04] Production.INFO: ==27450== Lock acquired, processing the job... [2025-03-20 19:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:01:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:04] Production.INFO: ==27446== Lock acquired, processing the job... [2025-03-20 19:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:01:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:01:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:01:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:01:04] Production.INFO: count ==23 [2025-03-20 19:01:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724838') start [2025-03-20 19:01:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:01:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:01:04] Production.INFO: Total Charge 0 [2025-03-20 19:01:04] Production.INFO: CreateAllLog End [2025-03-20 19:01:04] Production.INFO: ==27434== Releasing lock... [2025-03-20 19:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:01:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724838') end [2025-03-20 19:01:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:01:04] Production.INFO: 1 [2025-03-20 19:01:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:01:04] Production.INFO: ==27450== Releasing lock... [2025-03-20 19:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:01:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:01:04] Production.ERROR: done [2025-03-20 19:01:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:01:04] Production.INFO: Account Balance End. [2025-03-20 19:01:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:01:05] Production.INFO: ==27441== Releasing lock... [2025-03-20 19:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:01:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:01:05] Production.ERROR: done [2025-03-20 19:01:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:01:06 [end_date_ymd] => 2025-03-20 19:01:06 [RateCDR] => 1 ) [2025-03-20 19: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-03-20 16:01:06' and `end` < '2025-03-20 19: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-03-20 19:01:14] Production.ERROR: CronJobId end10 [2025-03-20 19:01:14] Production.INFO: ==27436== Releasing lock... [2025-03-20 19:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:01:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:01:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:01:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:01:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:01:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:01:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:01:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:01:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:01:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:01:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:01:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:01:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:01:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:01:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:01:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:01:16] Production.INFO: call_cost start [2025-03-20 19:01:16] Production.INFO: call_cost end [2025-03-20 19:01:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:01:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:01:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:01:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:01:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:01:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:01:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:01:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:01:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:01:17] Production.INFO: ==27430== Releasing lock... [2025-03-20 19:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:01:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:01:18] Production.INFO: count ==3910 [2025-03-20 19:01:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:01:06 - End Time 2025-03-20 19:01:06 [2025-03-20 19:01:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724839', 'tblTempUsageDetail_20' ) start [2025-03-20 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724839', 'tblTempUsageDetail_20' ) end [2025-03-20 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724839', 'tblTempVendorCDR_20' ) start [2025-03-20 19:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724839', 'tblTempVendorCDR_20' ) end [2025-03-20 19:01:20] Production.INFO: ProcessCDR(1,14724839,1,1,2) [2025-03-20 19:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724839', 'tblTempUsageDetail_20' ) start [2025-03-20 19:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724839', 'tblTempUsageDetail_20' ) end [2025-03-20 19:01:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:01:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:01:25] Production.INFO: ==27446== Releasing lock... [2025-03-20 19:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:01:25] Production.INFO: 57.25 MB #Memory Used# [2025-03-20 23:02:01] Production.INFO: ==27572== Lock acquired, processing the job... [2025-03-20 23:02:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:02:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:02:01] Production.INFO: neon service started [2025-03-20 23:02:01] Production.INFO: neon service started [2025-03-20 23:02:01] Production.INFO: ==27572== Releasing lock... [2025-03-20 23:02:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:02:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:02:01] Production.INFO: ==27576== Lock acquired, processing the job... [2025-03-20 23:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:02:01] Production.INFO: ==27576== Releasing lock... [2025-03-20 23:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:02:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:02:02] Production.INFO: ==27574== Lock acquired, processing the job... [2025-03-20 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:02:02] Production.INFO: ==27574== Releasing lock... [2025-03-20 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:02:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:02:03] Production.INFO: ==27580== Lock acquired, processing the job... [2025-03-20 19:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:02:03] Production.INFO: ==27585== Lock acquired, processing the job... [2025-03-20 19:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:02:03] Production.INFO: ==27578== Lock acquired, processing the job... [2025-03-20 19:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:02:03] Production.INFO: Account Balance Start. [2025-03-20 19:02:03] Production.INFO: CreateAllLog Start [2025-03-20 19:02:03] Production.INFO: 117 [2025-03-20 19:02:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:02:03] Production.INFO: ==27583== Lock acquired, processing the job... [2025-03-20 19:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:02:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:02:03] Production.INFO: ==27580== Releasing lock... [2025-03-20 19:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:02:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:02:03] Production.INFO: Date 2025-03-13 [2025-03-20 19:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:03] Production.INFO: ==27587== Lock acquired, processing the job... [2025-03-20 19:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:02:03] Production.INFO: Date 2025-03-14 [2025-03-20 19:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:03] Production.INFO: ==27589== Lock acquired, processing the job... [2025-03-20 19:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:02:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:02:03] Production.INFO: Date 2025-03-15 [2025-03-20 19:02:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:02:03] Production.INFO: count ==12 [2025-03-20 19:02:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:02:04] Production.INFO: count ==23 [2025-03-20 19:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724843') start [2025-03-20 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724843') end [2025-03-20 19:02:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:02:04] Production.INFO: 1 [2025-03-20 19:02:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:02:04] Production.INFO: ==27589== Releasing lock... [2025-03-20 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:02:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:02:04] Production.ERROR: done [2025-03-20 19:02:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:02:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:02:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:02:04] Production.INFO: Total Charge 0 [2025-03-20 19:02:04] Production.ERROR: done [2025-03-20 19:02:04] Production.INFO: CreateAllLog End [2025-03-20 19:02:04] Production.INFO: Account Balance End. [2025-03-20 19:02:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:02:04] Production.INFO: ==27585== Releasing lock... [2025-03-20 19:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:02:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:02:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:02:05 [end_date_ymd] => 2025-03-20 19:02:05 [RateCDR] => 1 ) [2025-03-20 19:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:02:05' and `end` < '2025-03-20 19:02:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:02:13] Production.ERROR: CronJobId end10 [2025-03-20 19:02:13] Production.INFO: ==27583== Releasing lock... [2025-03-20 19:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:02:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:02:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:02:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:02:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:02:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:02:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:02:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:02:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:02:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:02:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:02:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:02:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:02:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:02:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:02:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:02:15] Production.INFO: call_cost start [2025-03-20 19:02:15] Production.INFO: call_cost end [2025-03-20 19:02:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:02:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:02:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:02:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:02:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:02:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:02:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:02:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:02:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:02:15] Production.INFO: ==27578== Releasing lock... [2025-03-20 19:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:02:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:02:18] Production.INFO: count ==3900 [2025-03-20 19:02:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:02:05 - End Time 2025-03-20 19:02:05 [2025-03-20 19:02:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724844', 'tblTempUsageDetail_20' ) start [2025-03-20 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724844', 'tblTempUsageDetail_20' ) end [2025-03-20 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724844', 'tblTempVendorCDR_20' ) start [2025-03-20 19:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724844', 'tblTempVendorCDR_20' ) end [2025-03-20 19:02:20] Production.INFO: ProcessCDR(1,14724844,1,1,2) [2025-03-20 19:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724844', 'tblTempUsageDetail_20' ) start [2025-03-20 19:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724844', 'tblTempUsageDetail_20' ) end [2025-03-20 19:02:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:02:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:02:23] Production.INFO: ==27587== Releasing lock... [2025-03-20 19:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:02:23] Production.INFO: 57.25 MB #Memory Used# [2025-03-20 23:03:01] Production.INFO: ==27653== Lock acquired, processing the job... [2025-03-20 23:03:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:03:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:03:02] Production.INFO: neon service started [2025-03-20 23:03:02] Production.INFO: neon service started [2025-03-20 23:03:02] Production.INFO: ==27653== Releasing lock... [2025-03-20 23:03:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:03:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:03:02] Production.INFO: ==27655== Lock acquired, processing the job... [2025-03-20 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:03:02] Production.INFO: ==27657== Lock acquired, processing the job... [2025-03-20 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:03:02] Production.INFO: ==27657== Releasing lock... [2025-03-20 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:03:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:03:03] Production.INFO: ==27655== Releasing lock... [2025-03-20 19:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:03:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:03:03] Production.INFO: ==27666== Lock acquired, processing the job... [2025-03-20 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:03:03] Production.INFO: Account Balance Start. [2025-03-20 19:03:03] Production.INFO: CreateAllLog Start [2025-03-20 19:03:03] Production.INFO: 117 [2025-03-20 19:03:03] Production.INFO: ==27670== Lock acquired, processing the job... [2025-03-20 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:03:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:03:04] Production.INFO: ==27662== Lock acquired, processing the job... [2025-03-20 19:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:03:04] Production.INFO: count ==12 [2025-03-20 19:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:03:04] Production.INFO: ==27660== Lock acquired, processing the job... [2025-03-20 19:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:03:04] Production.INFO: count ==23 [2025-03-20 19:03:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.INFO: ==27664== Lock acquired, processing the job... [2025-03-20 19:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724846') start [2025-03-20 19:03:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.INFO: ==27668== Lock acquired, processing the job... [2025-03-20 19:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:03:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:03:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:03:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724846') end [2025-03-20 19:03:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:03:04] Production.INFO: 1 [2025-03-20 19:03:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:03:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.INFO: ==27670== Releasing lock... [2025-03-20 19:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:03:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:03:04] Production.INFO: ==27662== Releasing lock... [2025-03-20 19:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:03:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:03:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:03:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:03:04] Production.ERROR: done [2025-03-20 19:03:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:03:04] Production.INFO: Total Charge 0 [2025-03-20 19:03:04] Production.INFO: CreateAllLog End [2025-03-20 19:03:04] Production.ERROR: done [2025-03-20 19:03:04] Production.INFO: Account Balance End. [2025-03-20 19:03:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:03:04] Production.INFO: ==27666== Releasing lock... [2025-03-20 19:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:03:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:03:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:03:05 [end_date_ymd] => 2025-03-20 19:03:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:03:05' and `end` < '2025-03-20 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-03-20 19:03:13] Production.ERROR: CronJobId end10 [2025-03-20 19:03:13] Production.INFO: ==27664== Releasing lock... [2025-03-20 19:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:03:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:03:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:03:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:03:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:03:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:03:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:03:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:03:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:03:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:03:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:03:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:03:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:03:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:03:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:03:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:03:14] Production.INFO: call_cost start [2025-03-20 19:03:14] Production.INFO: call_cost end [2025-03-20 19:03:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:03:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:03:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:03:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:03:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:03:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:03:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:03:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:03:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:03:15] Production.INFO: ==27660== Releasing lock... [2025-03-20 19:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:03:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:03:18] Production.INFO: count ==3877 [2025-03-20 19:03:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:03:05 - End Time 2025-03-20 19:03:05 [2025-03-20 19:03:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724849', 'tblTempUsageDetail_20' ) start [2025-03-20 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724849', 'tblTempUsageDetail_20' ) end [2025-03-20 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724849', 'tblTempVendorCDR_20' ) start [2025-03-20 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724849', 'tblTempVendorCDR_20' ) end [2025-03-20 19:03:20] Production.INFO: ProcessCDR(1,14724849,1,1,2) [2025-03-20 19:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724849', 'tblTempUsageDetail_20' ) start [2025-03-20 19:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724849', 'tblTempUsageDetail_20' ) end [2025-03-20 19:03:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:03:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:03:23] Production.INFO: ==27668== Releasing lock... [2025-03-20 19:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:03:23] Production.INFO: 57 MB #Memory Used# [2025-03-20 23:04:01] Production.INFO: ==27736== Lock acquired, processing the job... [2025-03-20 23:04:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:04:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:04:01] Production.INFO: neon service started [2025-03-20 23:04:01] Production.INFO: neon service started [2025-03-20 23:04:01] Production.INFO: ==27736== Releasing lock... [2025-03-20 23:04:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:04:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:04:01] Production.INFO: ==27738== Lock acquired, processing the job... [2025-03-20 19:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:04:02] Production.INFO: ==27741== Lock acquired, processing the job... [2025-03-20 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:04:02] Production.INFO: ==27741== Releasing lock... [2025-03-20 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:04:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:04:02] Production.INFO: ==27738== Releasing lock... [2025-03-20 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:04:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:04:03] Production.INFO: ==27745== Lock acquired, processing the job... [2025-03-20 19:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:04:03] Production.INFO: ==27747== Lock acquired, processing the job... [2025-03-20 19:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:04:03] Production.INFO: ==27751== Lock acquired, processing the job... [2025-03-20 19:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:04:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:04:03] Production.INFO: ==27743== Lock acquired, processing the job... [2025-03-20 19:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:04:03] Production.INFO: ==27745== Releasing lock... [2025-03-20 19:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:04:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:04:03] Production.INFO: ==27749== Lock acquired, processing the job... [2025-03-20 19:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:04:03] Production.INFO: ==27753== Lock acquired, processing the job... [2025-03-20 19:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:04:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:04:03] Production.ERROR: done [2025-03-20 19:04:03] Production.INFO: Account Balance Start. [2025-03-20 19:04:03] Production.INFO: CreateAllLog Start [2025-03-20 19:04:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:04:03] Production.INFO: 117 [2025-03-20 19:04:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:04:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:03] Production.INFO: count ==12 [2025-03-20 19:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:04:04] Production.INFO: count ==23 [2025-03-20 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724853') start [2025-03-20 19:04:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.ERROR: done [2025-03-20 19:04:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724853') end [2025-03-20 19:04:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:04:04] Production.INFO: 1 [2025-03-20 19:04:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:04:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:04:04] Production.INFO: ==27753== Releasing lock... [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:04:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:04:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:04:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:04:04] Production.INFO: Total Charge 0 [2025-03-20 19:04:04] Production.INFO: CreateAllLog End [2025-03-20 19:04:04] Production.INFO: Account Balance End. [2025-03-20 19:04:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:04:04] Production.INFO: ==27749== Releasing lock... [2025-03-20 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:04:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:04:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:04:05 [end_date_ymd] => 2025-03-20 19:04:05 [RateCDR] => 1 ) [2025-03-20 19:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:04:05' and `end` < '2025-03-20 19:04:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:04:12] Production.ERROR: CronJobId end10 [2025-03-20 19:04:12] Production.INFO: ==27747== Releasing lock... [2025-03-20 19:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:04:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:04:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:04:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:04:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:04:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:04:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:04:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:04:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:04:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:04:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:04:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:04:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:04:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:04:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:04:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:04:14] Production.INFO: call_cost start [2025-03-20 19:04:14] Production.INFO: call_cost end [2025-03-20 19:04:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:04:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:04:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:04:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:04:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:04:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:04:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:04:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:04:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:04:15] Production.INFO: ==27743== Releasing lock... [2025-03-20 19:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:04:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:04:18] Production.INFO: count ==3862 [2025-03-20 19:04:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:04:05 - End Time 2025-03-20 19:04:05 [2025-03-20 19:04:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724854', 'tblTempUsageDetail_20' ) start [2025-03-20 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724854', 'tblTempUsageDetail_20' ) end [2025-03-20 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724854', 'tblTempVendorCDR_20' ) start [2025-03-20 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724854', 'tblTempVendorCDR_20' ) end [2025-03-20 19:04:19] Production.INFO: ProcessCDR(1,14724854,1,1,2) [2025-03-20 19:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724854', 'tblTempUsageDetail_20' ) start [2025-03-20 19:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724854', 'tblTempUsageDetail_20' ) end [2025-03-20 19:04:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:04:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:04:22] Production.INFO: ==27751== Releasing lock... [2025-03-20 19:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:04:22] Production.INFO: 56.75 MB #Memory Used# [2025-03-20 23:05:02] Production.INFO: ==27904== Lock acquired, processing the job... [2025-03-20 23:05:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:05:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:05:02] Production.INFO: neon service started [2025-03-20 23:05:02] Production.INFO: neon service started [2025-03-20 23:05:02] Production.INFO: ==27904== Releasing lock... [2025-03-20 23:05:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:05:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:05:02] Production.INFO: ==27909== Lock acquired, processing the job... [2025-03-20 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:05:02] Production.INFO: ==27909== Releasing lock... [2025-03-20 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:05:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:05:02] Production.INFO: ==27907== Lock acquired, processing the job... [2025-03-20 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:05:02] Production.INFO: ==27907== Releasing lock... [2025-03-20 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:05:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:05:03] Production.INFO: ==27911== Lock acquired, processing the job... [2025-03-20 19:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:05:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:05:03] Production.INFO: ==27913== Lock acquired, processing the job... [2025-03-20 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:05:03] Production.INFO: ==27915== Lock acquired, processing the job... [2025-03-20 19:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:05:03] Production.INFO: ==27921== Lock acquired, processing the job... [2025-03-20 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:05:03] Production.INFO: ==27919== Lock acquired, processing the job... [2025-03-20 19:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:05:03] Production.INFO: ==27917== Lock acquired, processing the job... [2025-03-20 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:05:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:05:04] Production.INFO: Account Balance Start. [2025-03-20 19:05:04] Production.INFO: CreateAllLog Start [2025-03-20 19:05:04] Production.INFO: 117 [2025-03-20 19:05:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:05:04] Production.INFO: ==27913== Releasing lock... [2025-03-20 19:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:05:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:05:04] Production.INFO: count ==23 [2025-03-20 19:05:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724858') start [2025-03-20 19:05:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724858') end [2025-03-20 19:05:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:05:04] Production.INFO: 1 [2025-03-20 19:05:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:05:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.INFO: ==27921== Releasing lock... [2025-03-20 19:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:05:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:05:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.ERROR: done [2025-03-20 19:05:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:05:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.ERROR: done [2025-03-20 19:05:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:05:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:05:04] Production.INFO: Total Charge 0 [2025-03-20 19:05:04] Production.INFO: CreateAllLog End [2025-03-20 19:05:05] Production.INFO: Account Balance End. [2025-03-20 19:05:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:05:05] Production.INFO: ==27917== Releasing lock... [2025-03-20 19:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:05:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:05:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:05:05 [end_date_ymd] => 2025-03-20 19:05:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:05:05' and `end` < '2025-03-20 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-03-20 19:05:13] Production.ERROR: CronJobId end10 [2025-03-20 19:05:13] Production.INFO: ==27915== Releasing lock... [2025-03-20 19:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:05:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:05:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:05:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:05:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:05:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:05:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:05:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:05:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:05:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:05:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:05:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:05:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:05:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:05:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:05:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:05:15] Production.INFO: call_cost start [2025-03-20 19:05:15] Production.INFO: call_cost end [2025-03-20 19:05:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:05:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:05:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:05:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:05:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:05:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:05:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:05:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:05:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:05:16] Production.INFO: ==27911== Releasing lock... [2025-03-20 19:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:05:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:05:18] Production.INFO: count ==3847 [2025-03-20 19:05:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:05:05 - End Time 2025-03-20 19:05:05 [2025-03-20 19:05:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724859', 'tblTempUsageDetail_20' ) start [2025-03-20 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724859', 'tblTempUsageDetail_20' ) end [2025-03-20 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724859', 'tblTempVendorCDR_20' ) start [2025-03-20 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724859', 'tblTempVendorCDR_20' ) end [2025-03-20 19:05:19] Production.INFO: ProcessCDR(1,14724859,1,1,2) [2025-03-20 19:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724859', 'tblTempUsageDetail_20' ) start [2025-03-20 19:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724859', 'tblTempUsageDetail_20' ) end [2025-03-20 19:05:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:05:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:05:24] Production.INFO: ==27919== Releasing lock... [2025-03-20 19:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:05:24] Production.INFO: 56.75 MB #Memory Used# [2025-03-20 23:06:01] Production.INFO: ==27979== Lock acquired, processing the job... [2025-03-20 23:06:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:06:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:06:01] Production.INFO: neon service started [2025-03-20 23:06:01] Production.INFO: neon service started [2025-03-20 23:06:01] Production.INFO: ==27979== Releasing lock... [2025-03-20 23:06:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:06:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:06:01] Production.INFO: ==27981== Lock acquired, processing the job... [2025-03-20 19:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:06:02] Production.INFO: ==27981== Releasing lock... [2025-03-20 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:06:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:06:02] Production.INFO: ==27983== Lock acquired, processing the job... [2025-03-20 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:06:02] Production.INFO: ==27983== Releasing lock... [2025-03-20 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:06:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:06:03] Production.INFO: ==27988== Lock acquired, processing the job... [2025-03-20 19:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:06:03] Production.INFO: ==27998== Lock acquired, processing the job... [2025-03-20 19:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:06:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:06:03] Production.INFO: ==27990== Lock acquired, processing the job... [2025-03-20 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:06:03] Production.INFO: count ==12 [2025-03-20 19:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:06:03] Production.INFO: count ==23 [2025-03-20 19:06:03] Production.INFO: ==27992== Lock acquired, processing the job... [2025-03-20 19:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724860') start [2025-03-20 19:06:03] Production.INFO: ==27994== Lock acquired, processing the job... [2025-03-20 19:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:06:03] Production.INFO: ==27996== Lock acquired, processing the job... [2025-03-20 19:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:06:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:06:03] Production.INFO: Account Balance Start. [2025-03-20 19:06:03] Production.INFO: CreateAllLog Start [2025-03-20 19:06:03] Production.INFO: 117 [2025-03-20 19:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724860') end [2025-03-20 19:06:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:06:03] Production.INFO: 1 [2025-03-20 19:06:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:06:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:06:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.INFO: ==27998== Releasing lock... [2025-03-20 19:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:06:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:06:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.INFO: Date 2025-03-13 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.INFO: Date 2025-03-14 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.INFO: Date 2025-03-15 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.INFO: Date 2025-03-16 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.INFO: ==27990== Releasing lock... [2025-03-20 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:06:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:06:03] Production.INFO: Date 2025-03-17 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.ERROR: done [2025-03-20 19:06:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:06:03] Production.INFO: Date 2025-03-18 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.INFO: Date 2025-03-19 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:03] Production.INFO: Date 2025-03-20 [2025-03-20 19:06:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:06:04] Production.INFO: Total Charge 0 [2025-03-20 19:06:04] Production.INFO: CreateAllLog End [2025-03-20 19:06:04] Production.ERROR: done [2025-03-20 19:06:04] Production.INFO: Account Balance End. [2025-03-20 19:06:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:06:04] Production.INFO: ==27994== Releasing lock... [2025-03-20 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:06:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:06:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:06:05 [end_date_ymd] => 2025-03-20 19:06:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:06:05' and `end` < '2025-03-20 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-03-20 19:06:12] Production.ERROR: CronJobId end10 [2025-03-20 19:06:12] Production.INFO: ==27992== Releasing lock... [2025-03-20 19:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:06:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:06:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:06:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:06:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:06:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:06:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:06:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:06:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:06:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:06:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:06:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:06:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:06:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:06:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:06:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:06:14] Production.INFO: call_cost start [2025-03-20 19:06:14] Production.INFO: call_cost end [2025-03-20 19:06:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:06:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:06:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:06:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:06:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:06:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:06:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:06:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:06:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:06:15] Production.INFO: ==27988== Releasing lock... [2025-03-20 19:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:06:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:06:18] Production.INFO: count ==3811 [2025-03-20 19:06:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:06:05 - End Time 2025-03-20 19:06:05 [2025-03-20 19:06:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724864', 'tblTempUsageDetail_20' ) start [2025-03-20 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724864', 'tblTempUsageDetail_20' ) end [2025-03-20 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724864', 'tblTempVendorCDR_20' ) start [2025-03-20 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724864', 'tblTempVendorCDR_20' ) end [2025-03-20 19:06:19] Production.INFO: ProcessCDR(1,14724864,1,1,2) [2025-03-20 19:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724864', 'tblTempUsageDetail_20' ) start [2025-03-20 19:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724864', 'tblTempUsageDetail_20' ) end [2025-03-20 19:06:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:06:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:06:24] Production.INFO: ==27996== Releasing lock... [2025-03-20 19:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:06:24] Production.INFO: 57.25 MB #Memory Used# [2025-03-20 23:07:01] Production.INFO: ==28072== Lock acquired, processing the job... [2025-03-20 23:07:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:07:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:07:01] Production.INFO: neon service started [2025-03-20 23:07:01] Production.INFO: neon service started [2025-03-20 23:07:01] Production.INFO: ==28072== Releasing lock... [2025-03-20 23:07:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:07:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:07:02] Production.INFO: ==28074== Lock acquired, processing the job... [2025-03-20 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:07:02] Production.INFO: ==28076== Lock acquired, processing the job... [2025-03-20 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:07:02] Production.INFO: ==28076== Releasing lock... [2025-03-20 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:07:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:07:03] Production.INFO: ==28074== Releasing lock... [2025-03-20 19:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:07:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:07:03] Production.INFO: ==28079== Lock acquired, processing the job... [2025-03-20 19:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:07:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:07:03] Production.INFO: ==28083== Lock acquired, processing the job... [2025-03-20 19:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:07:03] Production.INFO: ==28085== Lock acquired, processing the job... [2025-03-20 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:07:03] Production.INFO: Account Balance Start. [2025-03-20 19:07:03] Production.INFO: CreateAllLog Start [2025-03-20 19:07:03] Production.INFO: 117 [2025-03-20 19:07:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: ==28081== Lock acquired, processing the job... [2025-03-20 19:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:07:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:07:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: ==28087== Lock acquired, processing the job... [2025-03-20 19:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:07:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:07:04] Production.INFO: ==28089== Lock acquired, processing the job... [2025-03-20 19:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:07:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:07:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:07:04] Production.INFO: Total Charge 0 [2025-03-20 19:07:04] Production.INFO: CreateAllLog End [2025-03-20 19:07:04] Production.INFO: ==28081== Releasing lock... [2025-03-20 19:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:07:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:07:04] Production.INFO: count ==12 [2025-03-20 19:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:07:04] Production.ERROR: done [2025-03-20 19:07:04] Production.INFO: count ==23 [2025-03-20 19:07:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724868') start [2025-03-20 19:07:04] Production.ERROR: done [2025-03-20 19:07:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724868') end [2025-03-20 19:07:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:07:05] Production.INFO: 1 [2025-03-20 19:07:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:07:05] Production.INFO: Account Balance End. [2025-03-20 19:07:05] Production.INFO: ==28089== Releasing lock... [2025-03-20 19:07:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:07:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:07:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:07:05] Production.INFO: ==28085== Releasing lock... [2025-03-20 19:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:07:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:07:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:07:05 [end_date_ymd] => 2025-03-20 19:07:05 [RateCDR] => 1 ) [2025-03-20 19:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:07:05' and `end` < '2025-03-20 19:07:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:07:13] Production.ERROR: CronJobId end10 [2025-03-20 19:07:13] Production.INFO: ==28083== Releasing lock... [2025-03-20 19:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:07:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:07:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:07:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:07:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:07:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:07:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:07:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:07:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:07:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:07:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:07:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:07:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:07:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:07:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:07:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:07:15] Production.INFO: call_cost start [2025-03-20 19:07:15] Production.INFO: call_cost end [2025-03-20 19:07:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:07:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:07:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:07:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:07:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:07:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:07:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:07:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:07:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:07:16] Production.INFO: ==28079== Releasing lock... [2025-03-20 19:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:07:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:07:18] Production.INFO: count ==3799 [2025-03-20 19:07:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:07:05 - End Time 2025-03-20 19:07:05 [2025-03-20 19:07:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724869', 'tblTempUsageDetail_20' ) start [2025-03-20 19:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724869', 'tblTempUsageDetail_20' ) end [2025-03-20 19:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724869', 'tblTempVendorCDR_20' ) start [2025-03-20 19:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724869', 'tblTempVendorCDR_20' ) end [2025-03-20 19:07:20] Production.INFO: ProcessCDR(1,14724869,1,1,2) [2025-03-20 19:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724869', 'tblTempUsageDetail_20' ) start [2025-03-20 19:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724869', 'tblTempUsageDetail_20' ) end [2025-03-20 19:07:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:07:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:07:23] Production.INFO: ==28087== Releasing lock... [2025-03-20 19:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:07:23] Production.INFO: 56.25 MB #Memory Used# [2025-03-20 23:08:01] Production.INFO: ==28235== Lock acquired, processing the job... [2025-03-20 23:08:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:08:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:08:01] Production.INFO: neon service started [2025-03-20 23:08:01] Production.INFO: neon service started [2025-03-20 23:08:01] Production.INFO: ==28235== Releasing lock... [2025-03-20 23:08:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:08:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:08:01] Production.INFO: ==28237== Lock acquired, processing the job... [2025-03-20 19:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:08:01] Production.INFO: ==28237== Releasing lock... [2025-03-20 19:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:08:01] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:08:02] Production.INFO: ==28239== Lock acquired, processing the job... [2025-03-20 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:08:02] Production.INFO: ==28239== Releasing lock... [2025-03-20 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:08:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:08:03] Production.INFO: ==28243== Lock acquired, processing the job... [2025-03-20 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:08:03] Production.INFO: ==28247== Lock acquired, processing the job... [2025-03-20 19:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:08:03] Production.INFO: ==28241== Lock acquired, processing the job... [2025-03-20 19:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:08:03] Production.INFO: ==28245== Lock acquired, processing the job... [2025-03-20 19:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:08:03] Production.INFO: ==28249== Lock acquired, processing the job... [2025-03-20 19:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:08:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:08:03] Production.INFO: Account Balance Start. [2025-03-20 19:08:03] Production.INFO: CreateAllLog Start [2025-03-20 19:08:03] Production.INFO: 117 [2025-03-20 19:08:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:08:03] Production.INFO: ==28251== Lock acquired, processing the job... [2025-03-20 19:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:03] Production.INFO: ==28243== Releasing lock... [2025-03-20 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:08:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:08:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:08:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:08:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:03] Production.INFO: count ==12 [2025-03-20 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-03-20 19:08:03] Production.INFO: count ==23 [2025-03-20 19:08:03] Production.INFO: Date 2025-03-13 [2025-03-20 19:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724873') start [2025-03-20 19:08:03] Production.INFO: Date 2025-03-14 [2025-03-20 19:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724873') end [2025-03-20 19:08:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:08:03] Production.INFO: 1 [2025-03-20 19:08:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:08:03] Production.INFO: Date 2025-03-15 [2025-03-20 19:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:03] Production.INFO: Date 2025-03-16 [2025-03-20 19:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:03] Production.INFO: Date 2025-03-17 [2025-03-20 19:08:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:03] Production.INFO: ==28251== Releasing lock... [2025-03-20 19:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:08:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:08:03] Production.ERROR: done [2025-03-20 19:08:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:08:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:04] Production.ERROR: done [2025-03-20 19:08:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:08:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:08:04] Production.INFO: Total Charge 0 [2025-03-20 19:08:04] Production.INFO: CreateAllLog End [2025-03-20 19:08:04] Production.INFO: Account Balance End. [2025-03-20 19:08:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:08:04] Production.INFO: ==28247== Releasing lock... [2025-03-20 19:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:08:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:08:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:08:05 [end_date_ymd] => 2025-03-20 19:08:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:08:05' and `end` < '2025-03-20 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-03-20 19:08:13] Production.ERROR: CronJobId end10 [2025-03-20 19:08:13] Production.INFO: ==28245== Releasing lock... [2025-03-20 19:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:08:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:08:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:08:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:08:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:08:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:08:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:08:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:08:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:08:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:08:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:08:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:08:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:08:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:08:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:08:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:08:15] Production.INFO: call_cost start [2025-03-20 19:08:15] Production.INFO: call_cost end [2025-03-20 19:08:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:08:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:08:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:08:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:08:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:08:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:08:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:08:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:08:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:08:16] Production.INFO: ==28241== Releasing lock... [2025-03-20 19:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:08:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:08:17] Production.INFO: count ==3788 [2025-03-20 19:08:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:08:05 - End Time 2025-03-20 19:08:05 [2025-03-20 19:08:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724874', 'tblTempUsageDetail_20' ) start [2025-03-20 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724874', 'tblTempUsageDetail_20' ) end [2025-03-20 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724874', 'tblTempVendorCDR_20' ) start [2025-03-20 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724874', 'tblTempVendorCDR_20' ) end [2025-03-20 19:08:19] Production.INFO: ProcessCDR(1,14724874,1,1,2) [2025-03-20 19:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724874', 'tblTempUsageDetail_20' ) start [2025-03-20 19:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724874', 'tblTempUsageDetail_20' ) end [2025-03-20 19:08:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:08:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:08:24] Production.INFO: ==28249== Releasing lock... [2025-03-20 19:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:08:24] Production.INFO: 56.25 MB #Memory Used# [2025-03-20 23:09:01] Production.INFO: ==28327== Lock acquired, processing the job... [2025-03-20 23:09:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:09:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:09:01] Production.INFO: neon service started [2025-03-20 23:09:01] Production.INFO: neon service started [2025-03-20 23:09:01] Production.INFO: ==28327== Releasing lock... [2025-03-20 23:09:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:09:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:09:02] Production.INFO: ==28331== Lock acquired, processing the job... [2025-03-20 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:09:02] Production.INFO: ==28331== Releasing lock... [2025-03-20 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:09:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:09:02] Production.INFO: ==28329== Lock acquired, processing the job... [2025-03-20 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:09:02] Production.INFO: ==28329== Releasing lock... [2025-03-20 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:09:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:09:03] Production.INFO: ==28334== Lock acquired, processing the job... [2025-03-20 19:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:09:03] Production.INFO: ==28336== Lock acquired, processing the job... [2025-03-20 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:09:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:09:03] Production.INFO: ==28344== Lock acquired, processing the job... [2025-03-20 19:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:09:03] Production.INFO: ==28338== Lock acquired, processing the job... [2025-03-20 19:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:09:03] Production.INFO: ==28336== Releasing lock... [2025-03-20 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:09:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 19:09:03] Production.INFO: count ==12 [2025-03-20 19:09:03] Production.INFO: ==28340== Lock acquired, processing the job... [2025-03-20 19:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 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-03-20 19:09:03] Production.INFO: count ==23 [2025-03-20 19:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:09:03] Production.INFO: ==28342== Lock acquired, processing the job... [2025-03-20 19:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724877') start [2025-03-20 19:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:09:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:09:03] Production.INFO: Account Balance Start. [2025-03-20 19:09:03] Production.INFO: CreateAllLog Start [2025-03-20 19:09:03] Production.INFO: 117 [2025-03-20 19:09:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:09:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724877') end [2025-03-20 19:09:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:09:03] Production.INFO: 1 [2025-03-20 19:09:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:09:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.INFO: ==28344== Releasing lock... [2025-03-20 19:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:09:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:09:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.ERROR: done [2025-03-20 19:09:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:09:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.ERROR: done [2025-03-20 19:09:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:09:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:09:04] Production.INFO: Total Charge 0 [2025-03-20 19:09:04] Production.INFO: CreateAllLog End [2025-03-20 19:09:04] Production.INFO: Account Balance End. [2025-03-20 19:09:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:09:04] Production.INFO: ==28340== Releasing lock... [2025-03-20 19:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:09:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:09:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:09:05 [end_date_ymd] => 2025-03-20 19:09:05 [RateCDR] => 1 ) [2025-03-20 19:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:09:05' and `end` < '2025-03-20 19:09:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:09:13] Production.ERROR: CronJobId end10 [2025-03-20 19:09:13] Production.INFO: ==28338== Releasing lock... [2025-03-20 19:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:09:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:09:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:09:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:09:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:09:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:09:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:09:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:09:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:09:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:09:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:09:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:09:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:09:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:09:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:09:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:09:14] Production.INFO: call_cost start [2025-03-20 19:09:14] Production.INFO: call_cost end [2025-03-20 19:09:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:09:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:09:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:09:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:09:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:09:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:09:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:09:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:09:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:09:15] Production.INFO: ==28334== Releasing lock... [2025-03-20 19:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:09:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:09:18] Production.INFO: count ==3763 [2025-03-20 19:09:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:09:05 - End Time 2025-03-20 19:09:05 [2025-03-20 19:09:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724879', 'tblTempUsageDetail_20' ) start [2025-03-20 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724879', 'tblTempUsageDetail_20' ) end [2025-03-20 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724879', 'tblTempVendorCDR_20' ) start [2025-03-20 19:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724879', 'tblTempVendorCDR_20' ) end [2025-03-20 19:09:20] Production.INFO: ProcessCDR(1,14724879,1,1,2) [2025-03-20 19:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724879', 'tblTempUsageDetail_20' ) start [2025-03-20 19:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724879', 'tblTempUsageDetail_20' ) end [2025-03-20 19:09:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:09:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:09:23] Production.INFO: ==28342== Releasing lock... [2025-03-20 19:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:09:23] Production.INFO: 56 MB #Memory Used# [2025-03-20 23:10:02] Production.INFO: ==28408== Lock acquired, processing the job... [2025-03-20 23:10:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:10:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:10:02] Production.INFO: neon service started [2025-03-20 23:10:02] Production.INFO: neon service started [2025-03-20 23:10:02] Production.INFO: ==28408== Releasing lock... [2025-03-20 23:10:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:10:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:10:02] Production.INFO: ==28412== Lock acquired, processing the job... [2025-03-20 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:10:03] Production.INFO: ==28414== Lock acquired, processing the job... [2025-03-20 23:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:10:03] Production.INFO: ==28414== Releasing lock... [2025-03-20 23:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:10:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:10:03] Production.INFO: ==28412== Releasing lock... [2025-03-20 19:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:10:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:10:04] Production.INFO: ==28417== Lock acquired, processing the job... [2025-03-20 19:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 19:10:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 19:10:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 19:10:04] Production.INFO: ==28417== Releasing lock... [2025-03-20 19:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 19:10:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 19:10:04] Production.INFO: ==28421== Lock acquired, processing the job... [2025-03-20 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:10:04] Production.INFO: ==28419== Lock acquired, processing the job... [2025-03-20 19:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:10:04] Production.INFO: ==28425== Lock acquired, processing the job... [2025-03-20 19:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:10:04] Production.INFO: ==28429== Lock acquired, processing the job... [2025-03-20 19:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 19:10:04] Production.INFO: ==28423== Lock acquired, processing the job... [2025-03-20 19:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:10:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:10:04] Production.INFO: Account Balance Start. [2025-03-20 19:10:04] Production.INFO: CreateAllLog Start [2025-03-20 19:10:04] Production.INFO: 117 [2025-03-20 19:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:10:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:04] Production.INFO: ==28427== Lock acquired, processing the job... [2025-03-20 19:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:10:04] Production.INFO: ==28431== Lock acquired, processing the job... [2025-03-20 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:10:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:10:04] Production.INFO: ==28421== Releasing lock... [2025-03-20 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:10:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:10:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:10:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:10:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:10:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:10:04] Production.INFO: count ==23 [2025-03-20 19:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724883') start [2025-03-20 19:10:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:10:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:05] Production.ERROR: done [2025-03-20 19:10:05] Production.INFO: Date 2025-03-14 [2025-03-20 19:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724883') end [2025-03-20 19:10:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:10:05] Production.INFO: 1 [2025-03-20 19:10:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 19:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724884', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 19:10:05] Production.INFO: ==28431== Releasing lock... [2025-03-20 19:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:10:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:10:05] Production.INFO: Date 2025-03-15 [2025-03-20 19:10:05] Production.ERROR: done [2025-03-20 19:10:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:05] Production.INFO: Date 2025-03-16 [2025-03-20 19:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:05] Production.INFO: Date 2025-03-17 [2025-03-20 19:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:05] Production.INFO: Date 2025-03-18 [2025-03-20 19:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:05] Production.ERROR: done [2025-03-20 19:10:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:10:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:10:05] Production.INFO: Total Charge 0 [2025-03-20 19:10:05] Production.INFO: CreateAllLog End [2025-03-20 19:10:05] Production.INFO: Account Balance End. [2025-03-20 19:10:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:10:05] Production.INFO: ==28425== Releasing lock... [2025-03-20 19:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:10:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:10:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:10:06 [end_date_ymd] => 2025-03-20 19:10:06 [RateCDR] => 1 ) [2025-03-20 19:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:10:06' and `end` < '2025-03-20 19:10:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724884', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 19:10:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 19:10:09] Production.INFO: ProcessCDR(1,14724884,1,1,2) [2025-03-20 19:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724884,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724884,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:10:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:10:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:10:09] Production.INFO: ==28429== Releasing lock... [2025-03-20 19:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 19:10:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 19:10:14] Production.ERROR: CronJobId end10 [2025-03-20 19:10:14] Production.INFO: ==28423== Releasing lock... [2025-03-20 19:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:10:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:10:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:10:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:10:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:10:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:10:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:10:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:10:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:10:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:10:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:10:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:10:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:10:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:10:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:10:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:10:17] Production.INFO: call_cost start [2025-03-20 19:10:17] Production.INFO: call_cost end [2025-03-20 19:10:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:10:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:10:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:10:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:10:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:10:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:10:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:10:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:10:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:10:18] Production.INFO: ==28419== Releasing lock... [2025-03-20 19:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:10:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:10:19] Production.INFO: count ==3734 [2025-03-20 19:10:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:10:06 - End Time 2025-03-20 19:10:06 [2025-03-20 19:10:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724885', 'tblTempUsageDetail_20' ) start [2025-03-20 19:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724885', 'tblTempUsageDetail_20' ) end [2025-03-20 19:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724885', 'tblTempVendorCDR_20' ) start [2025-03-20 19:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724885', 'tblTempVendorCDR_20' ) end [2025-03-20 19:10:20] Production.INFO: ProcessCDR(1,14724885,1,1,2) [2025-03-20 19:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:10:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:10:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724885', 'tblTempUsageDetail_20' ) start [2025-03-20 19:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724885', 'tblTempUsageDetail_20' ) end [2025-03-20 19:10:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:10:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:10:25] Production.INFO: ==28427== Releasing lock... [2025-03-20 19:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:10:25] Production.INFO: 55.75 MB #Memory Used# [2025-03-20 23:11:01] Production.INFO: ==28500== Lock acquired, processing the job... [2025-03-20 23:11:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:11:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:11:01] Production.INFO: neon service started [2025-03-20 23:11:01] Production.INFO: neon service started [2025-03-20 23:11:01] Production.INFO: ==28500== Releasing lock... [2025-03-20 23:11:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:11:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:11:02] Production.INFO: ==28502== Lock acquired, processing the job... [2025-03-20 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:11:02] Production.INFO: ==28502== Releasing lock... [2025-03-20 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:11:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:11:02] Production.INFO: ==28504== Lock acquired, processing the job... [2025-03-20 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:11:02] Production.INFO: ==28504== Releasing lock... [2025-03-20 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:11:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:11:03] Production.INFO: ==28506== Lock acquired, processing the job... [2025-03-20 19:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:11:03] Production.INFO: ==28510== Lock acquired, processing the job... [2025-03-20 19:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:11:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:11:03] Production.INFO: ==28508== Lock acquired, processing the job... [2025-03-20 19:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:11:03] Production.INFO: ==28512== Lock acquired, processing the job... [2025-03-20 19:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:11:03] Production.INFO: ==28516== Lock acquired, processing the job... [2025-03-20 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 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-03-20 19:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:11:03] Production.INFO: ==28514== Lock acquired, processing the job... [2025-03-20 19:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:11:03] Production.INFO: Account Balance Start. [2025-03-20 19:11:03] Production.INFO: CreateAllLog Start [2025-03-20 19:11:03] Production.INFO: count ==12 [2025-03-20 19:11:03] Production.INFO: 117 [2025-03-20 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-03-20 19:11:03] Production.INFO: count ==23 [2025-03-20 19:11:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724888') start [2025-03-20 19:11:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724888') end [2025-03-20 19:11:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:11:03] Production.INFO: 1 [2025-03-20 19:11:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:11:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:03] Production.INFO: ==28516== Releasing lock... [2025-03-20 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:11:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:11:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:11:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:04] Production.INFO: ==28508== Releasing lock... [2025-03-20 19:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:11:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:11:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:11:04] Production.ERROR: done [2025-03-20 19:11:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:11:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:11:04] Production.INFO: Total Charge 0 [2025-03-20 19:11:04] Production.ERROR: done [2025-03-20 19:11:04] Production.INFO: CreateAllLog End [2025-03-20 19:11:04] Production.INFO: Account Balance End. [2025-03-20 19:11:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:11:04] Production.INFO: ==28512== Releasing lock... [2025-03-20 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:11:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:11:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:11:05 [end_date_ymd] => 2025-03-20 19:11:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:11:05' and `end` < '2025-03-20 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-03-20 19:11:14] Production.ERROR: CronJobId end10 [2025-03-20 19:11:14] Production.INFO: ==28510== Releasing lock... [2025-03-20 19:11:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:11:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:11:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:11:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:11:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:11:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:11:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:11:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:11:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:11:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:11:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:11:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:11:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:11:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:11:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:11:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:11:15] Production.INFO: call_cost start [2025-03-20 19:11:15] Production.INFO: call_cost end [2025-03-20 19:11:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:11:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:11:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:11:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:11:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:11:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:11:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:11:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:11:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:11:16] Production.INFO: ==28506== Releasing lock... [2025-03-20 19:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:11:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:11:18] Production.INFO: count ==3647 [2025-03-20 19:11:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:11:05 - End Time 2025-03-20 19:11:05 [2025-03-20 19:11:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724890', 'tblTempUsageDetail_20' ) start [2025-03-20 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724890', 'tblTempUsageDetail_20' ) end [2025-03-20 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724890', 'tblTempVendorCDR_20' ) start [2025-03-20 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724890', 'tblTempVendorCDR_20' ) end [2025-03-20 19:11:19] Production.INFO: ProcessCDR(1,14724890,1,1,2) [2025-03-20 19:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724890', 'tblTempUsageDetail_20' ) start [2025-03-20 19:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724890', 'tblTempUsageDetail_20' ) end [2025-03-20 19:11:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:11:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:11:25] Production.INFO: ==28514== Releasing lock... [2025-03-20 19:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:11:25] Production.INFO: 55.75 MB #Memory Used# [2025-03-20 23:12:02] Production.INFO: ==28661== Lock acquired, processing the job... [2025-03-20 23:12:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:12:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:12:02] Production.INFO: neon service started [2025-03-20 23:12:02] Production.INFO: neon service started [2025-03-20 23:12:02] Production.INFO: ==28661== Releasing lock... [2025-03-20 23:12:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:12:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:12:02] Production.INFO: ==28663== Lock acquired, processing the job... [2025-03-20 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:12:02] Production.INFO: ==28663== Releasing lock... [2025-03-20 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:12:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:12:03] Production.INFO: ==28665== Lock acquired, processing the job... [2025-03-20 23:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:12:03] Production.INFO: ==28665== Releasing lock... [2025-03-20 23:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:12:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:12:03] Production.INFO: ==28669== Lock acquired, processing the job... [2025-03-20 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:12:03] Production.INFO: ==28667== Lock acquired, processing the job... [2025-03-20 19:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:12:03] Production.INFO: ==28676== Lock acquired, processing the job... [2025-03-20 19:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:12:03] Production.INFO: ==28671== Lock acquired, processing the job... [2025-03-20 19:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:12:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:12:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:12:04] Production.INFO: ==28674== Lock acquired, processing the job... [2025-03-20 19:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:12:04] Production.INFO: Account Balance Start. [2025-03-20 19:12:04] Production.INFO: CreateAllLog Start [2025-03-20 19:12:04] Production.INFO: 117 [2025-03-20 19:12:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:12:04] Production.INFO: ==28678== Lock acquired, processing the job... [2025-03-20 19:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:12:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:12:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:12:04] Production.INFO: ==28669== Releasing lock... [2025-03-20 19:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:12:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:12:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:12:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:12:04] Production.INFO: count ==12 [2025-03-20 19:12:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:12:04] Production.INFO: count ==23 [2025-03-20 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724894') start [2025-03-20 19:12:04] Production.ERROR: done [2025-03-20 19:12:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:12:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:12:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:12:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724894') end [2025-03-20 19:12:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:12:04] Production.INFO: 1 [2025-03-20 19:12:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:12:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:12:04] Production.INFO: ==28678== Releasing lock... [2025-03-20 19:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:12:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:12:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:12:04] Production.ERROR: done [2025-03-20 19:12:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:12:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:12:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:12:04] Production.INFO: Total Charge 0 [2025-03-20 19:12:05] Production.INFO: CreateAllLog End [2025-03-20 19:12:05] Production.INFO: Account Balance End. [2025-03-20 19:12:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:12:05] Production.INFO: ==28674== Releasing lock... [2025-03-20 19:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:12:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:12:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:12:06 [end_date_ymd] => 2025-03-20 19:12:06 [RateCDR] => 1 ) [2025-03-20 19:12:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:12:06' and `end` < '2025-03-20 19:12:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:12:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-03-20 19:12:12] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:12:12] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:12:12] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:12:12] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:12:12] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:12:12] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:12:12] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:12:12] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:12:12] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:12:12] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:12:12] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:12:12] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:12:12] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:12:12] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:12:13] Production.INFO: call_cost start [2025-03-20 19:12:13] Production.INFO: call_cost end [2025-03-20 19:12:13] Production.ERROR: CronJobId end10 [2025-03-20 19:12:13] Production.INFO: ==28671== Releasing lock... [2025-03-20 19:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:12:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:12:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:12:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:12:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:12:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:12:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:12:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:12:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:12:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:12:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:12:14] Production.INFO: ==28667== Releasing lock... [2025-03-20 19:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:12:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:12:18] Production.INFO: count ==3625 [2025-03-20 19:12:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:12:06 - End Time 2025-03-20 19:12:06 [2025-03-20 19:12:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724895', 'tblTempUsageDetail_20' ) start [2025-03-20 19:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724895', 'tblTempUsageDetail_20' ) end [2025-03-20 19:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724895', 'tblTempVendorCDR_20' ) start [2025-03-20 19:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724895', 'tblTempVendorCDR_20' ) end [2025-03-20 19:12:20] Production.INFO: ProcessCDR(1,14724895,1,1,2) [2025-03-20 19:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724895', 'tblTempUsageDetail_20' ) start [2025-03-20 19:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724895', 'tblTempUsageDetail_20' ) end [2025-03-20 19:12:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:12:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:12:25] Production.INFO: ==28676== Releasing lock... [2025-03-20 19:12:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:12:25] Production.INFO: 55.5 MB #Memory Used# [2025-03-20 23:13:01] Production.INFO: ==28737== Lock acquired, processing the job... [2025-03-20 23:13:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:13:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:13:01] Production.INFO: neon service started [2025-03-20 23:13:01] Production.INFO: neon service started [2025-03-20 23:13:01] Production.INFO: ==28737== Releasing lock... [2025-03-20 23:13:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:13:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:13:01] Production.INFO: ==28741== Lock acquired, processing the job... [2025-03-20 23:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:13:02] Production.INFO: ==28741== Releasing lock... [2025-03-20 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:13:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:13:02] Production.INFO: ==28739== Lock acquired, processing the job... [2025-03-20 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:13:02] Production.INFO: ==28739== Releasing lock... [2025-03-20 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:13:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:13:03] Production.INFO: ==28745== Lock acquired, processing the job... [2025-03-20 19:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:13:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:13:03] Production.INFO: ==28755== Lock acquired, processing the job... [2025-03-20 19:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:13:03] Production.INFO: ==28747== Lock acquired, processing the job... [2025-03-20 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:13:03] Production.INFO: ==28749== Lock acquired, processing the job... [2025-03-20 19:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:13:03] Production.INFO: ==28751== Lock acquired, processing the job... [2025-03-20 19:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:13:03] Production.INFO: count ==12 [2025-03-20 19:13:03] Production.INFO: ==28753== Lock acquired, processing the job... [2025-03-20 19:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:13:03] Production.INFO: count ==23 [2025-03-20 19:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724897') start [2025-03-20 19:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:13:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:13:03] Production.INFO: Account Balance Start. [2025-03-20 19:13:03] Production.INFO: CreateAllLog Start [2025-03-20 19:13:03] Production.INFO: 117 [2025-03-20 19:13:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724897') end [2025-03-20 19:13:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:13:03] Production.INFO: 1 [2025-03-20 19:13:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:13:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:03] Production.INFO: ==28755== Releasing lock... [2025-03-20 19:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:13:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:13:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:13:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:04] Production.INFO: ==28747== Releasing lock... [2025-03-20 19:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:13:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:13:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:04] Production.ERROR: done [2025-03-20 19:13:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:13:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:04] Production.ERROR: done [2025-03-20 19:13:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:13:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:13:04] Production.INFO: Total Charge 0 [2025-03-20 19:13:04] Production.INFO: CreateAllLog End [2025-03-20 19:13:04] Production.INFO: Account Balance End. [2025-03-20 19:13:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:13:04] Production.INFO: ==28751== Releasing lock... [2025-03-20 19:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:13:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:13:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:13:05 [end_date_ymd] => 2025-03-20 19:13:05 [RateCDR] => 1 ) [2025-03-20 19:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:13:05' and `end` < '2025-03-20 19:13:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:13:13] Production.ERROR: CronJobId end10 [2025-03-20 19:13:13] Production.INFO: ==28749== Releasing lock... [2025-03-20 19:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:13:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:13:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:13:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:13:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:13:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:13:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:13:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:13:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:13:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:13:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:13:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:13:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:13:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:13:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:13:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:13:14] Production.INFO: call_cost start [2025-03-20 19:13:14] Production.INFO: call_cost end [2025-03-20 19:13:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:13:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:13:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:13:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:13:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:13:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:13:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:13:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:13:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:13:15] Production.INFO: ==28745== Releasing lock... [2025-03-20 19:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:13:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:13:18] Production.INFO: count ==3595 [2025-03-20 19:13:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:13:05 - End Time 2025-03-20 19:13:05 [2025-03-20 19:13:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724900', 'tblTempUsageDetail_20' ) start [2025-03-20 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724900', 'tblTempUsageDetail_20' ) end [2025-03-20 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724900', 'tblTempVendorCDR_20' ) start [2025-03-20 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724900', 'tblTempVendorCDR_20' ) end [2025-03-20 19:13:19] Production.INFO: ProcessCDR(1,14724900,1,1,2) [2025-03-20 19:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724900', 'tblTempUsageDetail_20' ) start [2025-03-20 19:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724900', 'tblTempUsageDetail_20' ) end [2025-03-20 19:13:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:13:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:13:22] Production.INFO: ==28753== Releasing lock... [2025-03-20 19:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:13:22] Production.INFO: 56.25 MB #Memory Used# [2025-03-20 23:14:02] Production.INFO: ==28816== Lock acquired, processing the job... [2025-03-20 23:14:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:14:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:14:02] Production.INFO: neon service started [2025-03-20 23:14:02] Production.INFO: neon service started [2025-03-20 23:14:02] Production.INFO: ==28816== Releasing lock... [2025-03-20 23:14:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:14:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:14:02] Production.INFO: ==28820== Lock acquired, processing the job... [2025-03-20 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:14:02] Production.INFO: ==28820== Releasing lock... [2025-03-20 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:14:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:14:02] Production.INFO: ==28818== Lock acquired, processing the job... [2025-03-20 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:14:03] Production.INFO: ==28818== Releasing lock... [2025-03-20 19:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:14:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:14:03] Production.INFO: ==28825== Lock acquired, processing the job... [2025-03-20 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:14:03] Production.INFO: ==28823== Lock acquired, processing the job... [2025-03-20 19:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:14:03] Production.INFO: ==28827== Lock acquired, processing the job... [2025-03-20 19:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:14:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:14:04] Production.INFO: ==28829== Lock acquired, processing the job... [2025-03-20 19:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:14:04] Production.INFO: ==28831== Lock acquired, processing the job... [2025-03-20 19:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:14:04] Production.INFO: ==28833== Lock acquired, processing the job... [2025-03-20 19:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:14:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:14:04] Production.INFO: ==28825== Releasing lock... [2025-03-20 19:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:14:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:14:04] Production.INFO: Account Balance Start. [2025-03-20 19:14:04] Production.INFO: CreateAllLog Start [2025-03-20 19:14:04] Production.INFO: 117 [2025-03-20 19:14:04] Production.INFO: Date 2025-03-08 [2025-03-20 19: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-03-20 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:14:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:14:04] Production.INFO: count ==23 [2025-03-20 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724903') start [2025-03-20 19:14:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724903') end [2025-03-20 19:14:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:14:04] Production.INFO: 1 [2025-03-20 19:14:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:14:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:04] Production.INFO: ==28833== Releasing lock... [2025-03-20 19:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:14:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:14:04] Production.ERROR: done [2025-03-20 19:14:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:14:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:14:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:14:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:14:05] Production.ERROR: done [2025-03-20 19:14:05] Production.INFO: Total Charge 0 [2025-03-20 19:14:05] Production.INFO: CreateAllLog End [2025-03-20 19:14:05] Production.INFO: Account Balance End. [2025-03-20 19:14:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:14:05] Production.INFO: ==28829== Releasing lock... [2025-03-20 19:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:14:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:14:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:14:06 [end_date_ymd] => 2025-03-20 19:14:06 [RateCDR] => 1 ) [2025-03-20 19: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-03-20 16:14:06' and `end` < '2025-03-20 19: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-03-20 19:14:13] Production.ERROR: CronJobId end10 [2025-03-20 19:14:13] Production.INFO: ==28827== Releasing lock... [2025-03-20 19:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:14:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:14:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:14:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:14:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:14:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:14:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:14:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:14:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:14:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:14:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:14:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:14:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:14:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:14:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:14:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:14:15] Production.INFO: call_cost start [2025-03-20 19:14:15] Production.INFO: call_cost end [2025-03-20 19:14:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:14:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:14:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:14:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:14:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:14:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:14:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:14:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:14:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:14:16] Production.INFO: ==28823== Releasing lock... [2025-03-20 19:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:14:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:14:18] Production.INFO: count ==3574 [2025-03-20 19:14:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:14:06 - End Time 2025-03-20 19:14:06 [2025-03-20 19:14:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724905', 'tblTempUsageDetail_20' ) start [2025-03-20 19:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724905', 'tblTempUsageDetail_20' ) end [2025-03-20 19:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724905', 'tblTempVendorCDR_20' ) start [2025-03-20 19:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724905', 'tblTempVendorCDR_20' ) end [2025-03-20 19:14:20] Production.INFO: ProcessCDR(1,14724905,1,1,2) [2025-03-20 19:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:14:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:14:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:14:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724905', 'tblTempUsageDetail_20' ) start [2025-03-20 19:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724905', 'tblTempUsageDetail_20' ) end [2025-03-20 19:14:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:14:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:14:25] Production.INFO: ==28831== Releasing lock... [2025-03-20 19:14:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:14:25] Production.INFO: 55.5 MB #Memory Used# [2025-03-20 23:15:01] Production.INFO: ==29025== Lock acquired, processing the job... [2025-03-20 23:15:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:15:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:15:01] Production.INFO: neon service started [2025-03-20 23:15:01] Production.INFO: neon service started [2025-03-20 23:15:01] Production.INFO: ==29025== Releasing lock... [2025-03-20 23:15:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:15:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:15:01] Production.INFO: ==29027== Lock acquired, processing the job... [2025-03-20 19:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:15:02] Production.INFO: ==29029== Lock acquired, processing the job... [2025-03-20 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:15:02] Production.INFO: ==29029== Releasing lock... [2025-03-20 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:15:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:15:02] Production.INFO: ==29027== Releasing lock... [2025-03-20 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:15:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:15:03] Production.INFO: ==29032== Lock acquired, processing the job... [2025-03-20 19:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:15:03] Production.INFO: ==29040== Lock acquired, processing the job... [2025-03-20 19:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:15:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:15:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:15:03] Production.INFO: ==29042== Lock acquired, processing the job... [2025-03-20 19:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:15:03] Production.INFO: ==29036== Lock acquired, processing the job... [2025-03-20 19:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:15:03] Production.INFO: ==29038== Lock acquired, processing the job... [2025-03-20 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:15:03] Production.INFO: ==29034== Lock acquired, processing the job... [2025-03-20 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:15:03] Production.INFO: Account Balance Start. [2025-03-20 19:15:03] Production.INFO: CreateAllLog Start [2025-03-20 19:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:15:03] Production.INFO: 117 [2025-03-20 19:15:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:03] Production.INFO: count ==12 [2025-03-20 19:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:15:03] Production.INFO: count ==23 [2025-03-20 19:15:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724907') start [2025-03-20 19:15:03] Production.ERROR: done [2025-03-20 19:15:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724907') end [2025-03-20 19:15:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:15:03] Production.INFO: 1 [2025-03-20 19:15:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:15:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:15:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:03] Production.INFO: ==29042== Releasing lock... [2025-03-20 19:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:15:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:15:04] Production.INFO: ==29034== Releasing lock... [2025-03-20 19:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:15:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:15:04] Production.ERROR: done [2025-03-20 19:15:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:15:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:15:04] Production.INFO: Total Charge 0 [2025-03-20 19:15:04] Production.INFO: CreateAllLog End [2025-03-20 19:15:04] Production.INFO: Account Balance End. [2025-03-20 19:15:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:15:04] Production.INFO: ==29038== Releasing lock... [2025-03-20 19:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:15:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:15:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:15:04 [end_date_ymd] => 2025-03-20 19:15:04 [RateCDR] => 1 ) [2025-03-20 19:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:15:04' and `end` < '2025-03-20 19:15:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:15:13] Production.ERROR: CronJobId end10 [2025-03-20 19:15:13] Production.INFO: ==29036== Releasing lock... [2025-03-20 19:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:15:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:15:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:15:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:15:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:15:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:15:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:15:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:15:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:15:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:15:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:15:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:15:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:15:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:15:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:15:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:15:14] Production.INFO: call_cost start [2025-03-20 19:15:14] Production.INFO: call_cost end [2025-03-20 19:15:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:15:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:15:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:15:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:15:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:15:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:15:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:15:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:15:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:15:15] Production.INFO: ==29032== Releasing lock... [2025-03-20 19:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:15:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:15:17] Production.INFO: count ==3556 [2025-03-20 19:15:18] Production.ERROR: pbx CDR StartTime 2025-03-20 16:15:04 - End Time 2025-03-20 19:15:04 [2025-03-20 19:15:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724910', 'tblTempUsageDetail_20' ) start [2025-03-20 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724910', 'tblTempUsageDetail_20' ) end [2025-03-20 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724910', 'tblTempVendorCDR_20' ) start [2025-03-20 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724910', 'tblTempVendorCDR_20' ) end [2025-03-20 19:15:18] Production.INFO: ProcessCDR(1,14724910,1,1,2) [2025-03-20 19:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724910', 'tblTempUsageDetail_20' ) start [2025-03-20 19:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724910', 'tblTempUsageDetail_20' ) end [2025-03-20 19:15:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:15:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:15:22] Production.INFO: ==29040== Releasing lock... [2025-03-20 19:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:15:22] Production.INFO: 56 MB #Memory Used# [2025-03-20 23:16:02] Production.INFO: ==29110== Lock acquired, processing the job... [2025-03-20 23:16:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:16:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:16:02] Production.INFO: neon service started [2025-03-20 23:16:02] Production.INFO: neon service started [2025-03-20 23:16:02] Production.INFO: ==29110== Releasing lock... [2025-03-20 23:16:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:16:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:16:02] Production.INFO: ==29112== Lock acquired, processing the job... [2025-03-20 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:16:02] Production.INFO: ==29114== Lock acquired, processing the job... [2025-03-20 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:16:02] Production.INFO: ==29112== Releasing lock... [2025-03-20 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:16:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:16:02] Production.INFO: ==29114== Releasing lock... [2025-03-20 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:16:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:16:03] Production.INFO: ==29124== Lock acquired, processing the job... [2025-03-20 19:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:16:03] Production.INFO: ==29122== Lock acquired, processing the job... [2025-03-20 19:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:16:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:16:03] Production.INFO: ==29116== Lock acquired, processing the job... [2025-03-20 19:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:16:03] Production.INFO: ==29118== Lock acquired, processing the job... [2025-03-20 19:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:16:03] Production.INFO: Account Balance Start. [2025-03-20 19:16:03] Production.INFO: CreateAllLog Start [2025-03-20 19:16:03] Production.INFO: 117 [2025-03-20 19:16:03] Production.INFO: ==29120== Lock acquired, processing the job... [2025-03-20 19:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:16:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: ==29126== Lock acquired, processing the job... [2025-03-20 19:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:16:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:16:04] Production.ERROR: done [2025-03-20 19:16:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:16:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:16:04] Production.ERROR: done [2025-03-20 19:16:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:16:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:16:04] Production.INFO: count ==12 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:16:04] Production.INFO: count ==23 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: ==29118== Releasing lock... [2025-03-20 19:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:16:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724914') start [2025-03-20 19:16:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724914') end [2025-03-20 19:16:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:16:04] Production.INFO: 1 [2025-03-20 19:16:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:16:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: ==29126== Releasing lock... [2025-03-20 19:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:16:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:16:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:16:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:16:04] Production.INFO: Total Charge 0 [2025-03-20 19:16:04] Production.INFO: CreateAllLog End [2025-03-20 19:16:04] Production.INFO: Account Balance End. [2025-03-20 19:16:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:16:04] Production.INFO: ==29122== Releasing lock... [2025-03-20 19:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:16:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:16:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:16:05 [end_date_ymd] => 2025-03-20 19:16:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:16:05' and `end` < '2025-03-20 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-03-20 19:16:15] Production.ERROR: CronJobId end10 [2025-03-20 19:16:15] Production.INFO: ==29120== Releasing lock... [2025-03-20 19:16:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:16:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:16:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:16:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:16:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:16:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:16:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:16:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:16:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:16:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:16:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:16:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:16:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:16:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:16:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:16:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:16:16] Production.INFO: call_cost start [2025-03-20 19:16:16] Production.INFO: call_cost end [2025-03-20 19:16:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:16:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:16:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:16:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:16:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:16:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:16:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:16:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:16:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:16:17] Production.INFO: ==29116== Releasing lock... [2025-03-20 19:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:16:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:16:18] Production.INFO: count ==3532 [2025-03-20 19:16:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:16:05 - End Time 2025-03-20 19:16:05 [2025-03-20 19:16:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724915', 'tblTempUsageDetail_20' ) start [2025-03-20 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724915', 'tblTempUsageDetail_20' ) end [2025-03-20 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724915', 'tblTempVendorCDR_20' ) start [2025-03-20 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724915', 'tblTempVendorCDR_20' ) end [2025-03-20 19:16:19] Production.INFO: ProcessCDR(1,14724915,1,1,2) [2025-03-20 19:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724915', 'tblTempUsageDetail_20' ) start [2025-03-20 19:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724915', 'tblTempUsageDetail_20' ) end [2025-03-20 19:16:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:16:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:16:23] Production.INFO: ==29124== Releasing lock... [2025-03-20 19:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:16:23] Production.INFO: 55.25 MB #Memory Used# [2025-03-20 23:17:01] Production.INFO: ==29192== Lock acquired, processing the job... [2025-03-20 23:17:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:17:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:17:01] Production.INFO: neon service started [2025-03-20 23:17:01] Production.INFO: neon service started [2025-03-20 23:17:01] Production.INFO: ==29192== Releasing lock... [2025-03-20 23:17:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:17:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:17:02] Production.INFO: ==29194== Lock acquired, processing the job... [2025-03-20 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:17:02] Production.INFO: ==29196== Lock acquired, processing the job... [2025-03-20 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:17:02] Production.INFO: ==29196== Releasing lock... [2025-03-20 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:17:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:17:02] Production.INFO: ==29194== Releasing lock... [2025-03-20 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:17:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:17:03] Production.INFO: ==29205== Lock acquired, processing the job... [2025-03-20 19:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:17:03] Production.INFO: Account Balance Start. [2025-03-20 19:17:03] Production.INFO: CreateAllLog Start [2025-03-20 19:17:03] Production.INFO: 117 [2025-03-20 19:17:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:03] Production.INFO: ==29199== Lock acquired, processing the job... [2025-03-20 19:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:17:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:03] Production.INFO: ==29209== Lock acquired, processing the job... [2025-03-20 19:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:17:03] Production.INFO: ==29201== Lock acquired, processing the job... [2025-03-20 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:17:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:17:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:03] Production.INFO: ==29203== Lock acquired, processing the job... [2025-03-20 19:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:17:03] Production.INFO: Date 2025-03-13 [2025-03-20 19:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:17:03] Production.INFO: Date 2025-03-14 [2025-03-20 19:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:03] Production.INFO: count ==12 [2025-03-20 19:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:17:03] Production.INFO: Date 2025-03-15 [2025-03-20 19:17:03] Production.INFO: count ==23 [2025-03-20 19:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724918') start [2025-03-20 19:17:03] Production.INFO: ==29207== Lock acquired, processing the job... [2025-03-20 19:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:17:03] Production.INFO: Date 2025-03-16 [2025-03-20 19:17:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724918') end [2025-03-20 19:17:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:17:04] Production.INFO: 1 [2025-03-20 19:17:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:17:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:17:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:17:04] Production.INFO: ==29209== Releasing lock... [2025-03-20 19:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:17:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:17:04] Production.INFO: Total Charge 0 [2025-03-20 19:17:04] Production.INFO: CreateAllLog End [2025-03-20 19:17:04] Production.INFO: ==29201== Releasing lock... [2025-03-20 19:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:17:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:17:04] Production.ERROR: done [2025-03-20 19:17:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:17:04] Production.INFO: Account Balance End. [2025-03-20 19:17:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:17:04] Production.INFO: ==29205== Releasing lock... [2025-03-20 19:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:17:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:17:04] Production.ERROR: done [2025-03-20 19:17:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:17:05 [end_date_ymd] => 2025-03-20 19:17:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:17:05' and `end` < '2025-03-20 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-03-20 19:17:14] Production.ERROR: CronJobId end10 [2025-03-20 19:17:14] Production.INFO: ==29203== Releasing lock... [2025-03-20 19:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:17:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:17:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:17:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:17:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:17:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:17:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:17:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:17:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:17:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:17:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:17:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:17:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:17:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:17:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:17:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:17:15] Production.INFO: call_cost start [2025-03-20 19:17:15] Production.INFO: call_cost end [2025-03-20 19:17:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:17:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:17:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:17:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:17:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:17:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:17:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:17:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:17:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:17:16] Production.INFO: ==29199== Releasing lock... [2025-03-20 19:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:17:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:17:18] Production.INFO: count ==3508 [2025-03-20 19:17:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:17:05 - End Time 2025-03-20 19:17:05 [2025-03-20 19:17:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724920', 'tblTempUsageDetail_20' ) start [2025-03-20 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724920', 'tblTempUsageDetail_20' ) end [2025-03-20 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724920', 'tblTempVendorCDR_20' ) start [2025-03-20 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724920', 'tblTempVendorCDR_20' ) end [2025-03-20 19:17:19] Production.INFO: ProcessCDR(1,14724920,1,1,2) [2025-03-20 19:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724920', 'tblTempUsageDetail_20' ) start [2025-03-20 19:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724920', 'tblTempUsageDetail_20' ) end [2025-03-20 19:17:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:17:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:17:23] Production.INFO: ==29207== Releasing lock... [2025-03-20 19:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:17:23] Production.INFO: 54.75 MB #Memory Used# [2025-03-20 23:18:02] Production.INFO: ==29271== Lock acquired, processing the job... [2025-03-20 23:18:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:18:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:18:02] Production.INFO: neon service started [2025-03-20 23:18:02] Production.INFO: neon service started [2025-03-20 23:18:02] Production.INFO: ==29271== Releasing lock... [2025-03-20 23:18:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:18:02] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 19:18:02] Production.INFO: ==29274== Lock acquired, processing the job... [2025-03-20 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:18:02] Production.INFO: ==29276== Lock acquired, processing the job... [2025-03-20 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:18:02] Production.INFO: ==29276== Releasing lock... [2025-03-20 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:18:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:18:03] Production.INFO: ==29274== Releasing lock... [2025-03-20 19:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:18:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:18:04] Production.INFO: ==29278== Lock acquired, processing the job... [2025-03-20 19:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:18:04] Production.INFO: ==29286== Lock acquired, processing the job... [2025-03-20 19:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:18:04] Production.INFO: ==29288== Lock acquired, processing the job... [2025-03-20 19:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:18:04] Production.INFO: ==29280== Lock acquired, processing the job... [2025-03-20 19:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:18:04] Production.INFO: ==29282== Lock acquired, processing the job... [2025-03-20 19:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:18:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:18:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:18:04] Production.INFO: ==29284== Lock acquired, processing the job... [2025-03-20 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:18:04] Production.INFO: count ==12 [2025-03-20 19:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:18:04] Production.INFO: count ==23 [2025-03-20 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724922') start [2025-03-20 19:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:18:04] Production.INFO: Account Balance Start. [2025-03-20 19:18:04] Production.INFO: CreateAllLog Start [2025-03-20 19:18:04] Production.INFO: 117 [2025-03-20 19:18:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724922') end [2025-03-20 19:18:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:18:04] Production.INFO: 1 [2025-03-20 19:18:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:18:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:04] Production.INFO: ==29288== Releasing lock... [2025-03-20 19:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:18:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:18:04] Production.INFO: ==29280== Releasing lock... [2025-03-20 19:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:18:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:18:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:04] Production.ERROR: done [2025-03-20 19:18:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:18:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:04] Production.ERROR: done [2025-03-20 19:18:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:18:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:18:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:18:05] Production.INFO: Total Charge 0 [2025-03-20 19:18:05] Production.INFO: CreateAllLog End [2025-03-20 19:18:05] Production.INFO: Account Balance End. [2025-03-20 19:18:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:18:05] Production.INFO: ==29284== Releasing lock... [2025-03-20 19:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:18:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:18:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:18:06 [end_date_ymd] => 2025-03-20 19:18:06 [RateCDR] => 1 ) [2025-03-20 19: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-03-20 16:18:06' and `end` < '2025-03-20 19: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-03-20 19:18:13] Production.ERROR: CronJobId end10 [2025-03-20 19:18:13] Production.INFO: ==29282== Releasing lock... [2025-03-20 19:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:18:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:18:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:18:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:18:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:18:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:18:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:18:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:18:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:18:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:18:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:18:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:18:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:18:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:18:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:18:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:18:15] Production.INFO: call_cost start [2025-03-20 19:18:15] Production.INFO: call_cost end [2025-03-20 19:18:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:18:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:18:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:18:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:18:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:18:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:18:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:18:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:18:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:18:16] Production.INFO: ==29278== Releasing lock... [2025-03-20 19:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:18:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:18:18] Production.INFO: count ==3489 [2025-03-20 19:18:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:18:06 - End Time 2025-03-20 19:18:06 [2025-03-20 19:18:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724925', 'tblTempUsageDetail_20' ) start [2025-03-20 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724925', 'tblTempUsageDetail_20' ) end [2025-03-20 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724925', 'tblTempVendorCDR_20' ) start [2025-03-20 19:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724925', 'tblTempVendorCDR_20' ) end [2025-03-20 19:18:20] Production.INFO: ProcessCDR(1,14724925,1,1,2) [2025-03-20 19:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724925', 'tblTempUsageDetail_20' ) start [2025-03-20 19:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724925', 'tblTempUsageDetail_20' ) end [2025-03-20 19:18:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:18:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:18:25] Production.INFO: ==29286== Releasing lock... [2025-03-20 19:18:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:18:25] Production.INFO: 54 MB #Memory Used# [2025-03-20 23:19:01] Production.INFO: ==29358== Lock acquired, processing the job... [2025-03-20 23:19:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:19:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:19:01] Production.INFO: neon service started [2025-03-20 23:19:01] Production.INFO: neon service started [2025-03-20 23:19:01] Production.INFO: ==29358== Releasing lock... [2025-03-20 23:19:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:19:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:19:01] Production.INFO: ==29360== Lock acquired, processing the job... [2025-03-20 19:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:19:02] Production.INFO: ==29362== Lock acquired, processing the job... [2025-03-20 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:19:02] Production.INFO: ==29360== Releasing lock... [2025-03-20 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:19:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:19:02] Production.INFO: ==29362== Releasing lock... [2025-03-20 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:19:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:19:03] Production.INFO: ==29366== Lock acquired, processing the job... [2025-03-20 19:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:19:03] Production.INFO: ==29364== Lock acquired, processing the job... [2025-03-20 19:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:19:03] Production.INFO: ==29375== Lock acquired, processing the job... [2025-03-20 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:19:03] Production.INFO: ==29368== Lock acquired, processing the job... [2025-03-20 19:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:19:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:19:03] Production.INFO: ==29366== Releasing lock... [2025-03-20 19:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:19:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:19:03] Production.INFO: ==29370== Lock acquired, processing the job... [2025-03-20 19:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 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-03-20 19:19:03] Production.INFO: ==29372== Lock acquired, processing the job... [2025-03-20 19:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:19:03] Production.INFO: count ==12 [2025-03-20 19:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 19:19:03] Production.INFO: count ==23 [2025-03-20 19:19:03] Production.INFO: Account Balance Start. [2025-03-20 19:19:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:19:03] Production.INFO: CreateAllLog Start [2025-03-20 19:19:03] Production.INFO: 117 [2025-03-20 19:19:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724928') start [2025-03-20 19:19:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724928') end [2025-03-20 19:19:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:19:03] Production.INFO: 1 [2025-03-20 19:19:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:19:03] Production.INFO: Date 2025-03-13 [2025-03-20 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:03] Production.INFO: Date 2025-03-14 [2025-03-20 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:03] Production.INFO: ==29375== Releasing lock... [2025-03-20 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:19:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:19:03] Production.INFO: Date 2025-03-15 [2025-03-20 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:03] Production.INFO: Date 2025-03-16 [2025-03-20 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:03] Production.INFO: Date 2025-03-17 [2025-03-20 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:03] Production.ERROR: done [2025-03-20 19:19:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:19:03] Production.INFO: Date 2025-03-18 [2025-03-20 19:19:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:19:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:19:04] Production.INFO: Total Charge 0 [2025-03-20 19:19:04] Production.INFO: CreateAllLog End [2025-03-20 19:19:04] Production.ERROR: done [2025-03-20 19:19:04] Production.INFO: Account Balance End. [2025-03-20 19:19:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:19:04] Production.INFO: ==29370== Releasing lock... [2025-03-20 19:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:19:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:19:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:19:05 [end_date_ymd] => 2025-03-20 19:19:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:19:05' and `end` < '2025-03-20 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-03-20 19:19:13] Production.ERROR: CronJobId end10 [2025-03-20 19:19:13] Production.INFO: ==29368== Releasing lock... [2025-03-20 19:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:19:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:19:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:19:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:19:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:19:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:19:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:19:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:19:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:19:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:19:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:19:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:19:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:19:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:19:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:19:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:19:15] Production.INFO: call_cost start [2025-03-20 19:19:15] Production.INFO: call_cost end [2025-03-20 19:19:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:19:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:19:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:19:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:19:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:19:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:19:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:19:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:19:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:19:16] Production.INFO: ==29364== Releasing lock... [2025-03-20 19:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:19:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:19:18] Production.INFO: count ==3479 [2025-03-20 19:19:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:19:05 - End Time 2025-03-20 19:19:05 [2025-03-20 19:19:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724930', 'tblTempUsageDetail_20' ) start [2025-03-20 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724930', 'tblTempUsageDetail_20' ) end [2025-03-20 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724930', 'tblTempVendorCDR_20' ) start [2025-03-20 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724930', 'tblTempVendorCDR_20' ) end [2025-03-20 19:19:19] Production.INFO: ProcessCDR(1,14724930,1,1,2) [2025-03-20 19:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724930', 'tblTempUsageDetail_20' ) start [2025-03-20 19:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724930', 'tblTempUsageDetail_20' ) end [2025-03-20 19:19:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:19:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:19:22] Production.INFO: ==29372== Releasing lock... [2025-03-20 19:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:19:22] Production.INFO: 54.25 MB #Memory Used# [2025-03-20 23:20:02] Production.INFO: ==29435== Lock acquired, processing the job... [2025-03-20 23:20:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:20:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:20:02] Production.INFO: neon service started [2025-03-20 23:20:02] Production.INFO: neon service started [2025-03-20 23:20:02] Production.INFO: ==29435== Releasing lock... [2025-03-20 23:20:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:20:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:20:02] Production.INFO: ==29440== Lock acquired, processing the job... [2025-03-20 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:20:02] Production.INFO: ==29442== Lock acquired, processing the job... [2025-03-20 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:20:02] Production.INFO: ==29442== Releasing lock... [2025-03-20 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:20:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:20:03] Production.INFO: ==29440== Releasing lock... [2025-03-20 19:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:20:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:20:03] Production.INFO: ==29444== Lock acquired, processing the job... [2025-03-20 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 19:20:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 19:20:04] Production.INFO: ==29450== Lock acquired, processing the job... [2025-03-20 19:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:20:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 19:20:04] Production.INFO: ==29444== Releasing lock... [2025-03-20 19:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 19:20:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 19:20:04] Production.INFO: ==29452== Lock acquired, processing the job... [2025-03-20 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:20:04] Production.INFO: ==29446== Lock acquired, processing the job... [2025-03-20 19:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:20:04] Production.INFO: Account Balance Start. [2025-03-20 19:20:04] Production.INFO: CreateAllLog Start [2025-03-20 19:20:04] Production.INFO: 117 [2025-03-20 19:20:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:20:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:04] Production.INFO: ==29448== Lock acquired, processing the job... [2025-03-20 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:20:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:20:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:20:04] Production.INFO: ==29454== Lock acquired, processing the job... [2025-03-20 19:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:04] Production.INFO: ==29456== Lock acquired, processing the job... [2025-03-20 19:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 19:20:04] Production.INFO: ==29458== Lock acquired, processing the job... [2025-03-20 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:20:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:20:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:20:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:20:04] Production.INFO: ==29448== Releasing lock... [2025-03-20 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:20:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:20:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:20:04] Production.INFO: count ==23 [2025-03-20 19:20:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724934') start [2025-03-20 19:20:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:04] Production.ERROR: done [2025-03-20 19:20:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:20:05] Production.ERROR: done [2025-03-20 19:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14724934') end [2025-03-20 19:20:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:20:05] Production.INFO: 1 [2025-03-20 19:20:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:20:05] Production.INFO: Date 2025-03-18 [2025-03-20 19:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 19:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724935', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 19:20:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:05] Production.INFO: ==29458== Releasing lock... [2025-03-20 19:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:20:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:20:05] Production.ERROR: done [2025-03-20 19:20:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:20:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:20:05] Production.INFO: Total Charge 0 [2025-03-20 19:20:05] Production.INFO: CreateAllLog End [2025-03-20 19:20:05] Production.INFO: Account Balance End. [2025-03-20 19:20:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:20:05] Production.INFO: ==29452== Releasing lock... [2025-03-20 19:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:20:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:20:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:20:06 [end_date_ymd] => 2025-03-20 19:20:06 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:20:06' and `end` < '2025-03-20 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-03-20 19:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724935', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 19:20:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 19:20:09] Production.INFO: ProcessCDR(1,14724935,1,1,2) [2025-03-20 19:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724935,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724935,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:20:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:20:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:20:09] Production.INFO: ==29456== Releasing lock... [2025-03-20 19:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 19:20:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 19:20:16] Production.ERROR: CronJobId end10 [2025-03-20 19:20:16] Production.INFO: ==29450== Releasing lock... [2025-03-20 19:20:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:20:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:20:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:20:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:20:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:20:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:20:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:20:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:20:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:20:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:20:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:20:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:20:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:20:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:20:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:20:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:20:17] Production.INFO: call_cost start [2025-03-20 19:20:17] Production.INFO: call_cost end [2025-03-20 19:20:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:20:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:20:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:20:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:20:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:20:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:20:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:20:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:20:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:20:18] Production.INFO: ==29446== Releasing lock... [2025-03-20 19:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:20:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:20:19] Production.INFO: count ==3459 [2025-03-20 19:20:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:20:06 - End Time 2025-03-20 19:20:06 [2025-03-20 19:20:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724936', 'tblTempUsageDetail_20' ) start [2025-03-20 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724936', 'tblTempUsageDetail_20' ) end [2025-03-20 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724936', 'tblTempVendorCDR_20' ) start [2025-03-20 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724936', 'tblTempVendorCDR_20' ) end [2025-03-20 19:20:20] Production.INFO: ProcessCDR(1,14724936,1,1,2) [2025-03-20 19:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724936', 'tblTempUsageDetail_20' ) start [2025-03-20 19:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724936', 'tblTempUsageDetail_20' ) end [2025-03-20 19:20:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:20:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:20:24] Production.INFO: ==29454== Releasing lock... [2025-03-20 19:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:20:24] Production.INFO: 53.75 MB #Memory Used# [2025-03-20 23:21:01] Production.INFO: ==29527== Lock acquired, processing the job... [2025-03-20 23:21:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:21:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:21:01] Production.INFO: neon service started [2025-03-20 23:21:01] Production.INFO: neon service started [2025-03-20 23:21:01] Production.INFO: ==29527== Releasing lock... [2025-03-20 23:21:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:21:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:21:01] Production.INFO: ==29531== Lock acquired, processing the job... [2025-03-20 23:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:21:01] Production.INFO: ==29531== Releasing lock... [2025-03-20 23:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:21:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:21:02] Production.INFO: ==29529== Lock acquired, processing the job... [2025-03-20 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:21:02] Production.INFO: ==29529== Releasing lock... [2025-03-20 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:21:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:21:03] Production.INFO: ==29537== Lock acquired, processing the job... [2025-03-20 19:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:21:03] Production.INFO: ==29540== Lock acquired, processing the job... [2025-03-20 19:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:21:03] Production.INFO: Account Balance Start. [2025-03-20 19:21:03] Production.INFO: CreateAllLog Start [2025-03-20 19:21:03] Production.INFO: 117 [2025-03-20 19:21:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:03] Production.INFO: ==29533== Lock acquired, processing the job... [2025-03-20 19:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:21:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:03] Production.INFO: ==29535== Lock acquired, processing the job... [2025-03-20 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:21:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:03] Production.INFO: Date 2025-03-13 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:21:03] Production.INFO: Date 2025-03-14 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:03] Production.INFO: ==29542== Lock acquired, processing the job... [2025-03-20 19:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:21:03] Production.INFO: ==29544== Lock acquired, processing the job... [2025-03-20 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:21:03] Production.INFO: Date 2025-03-15 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:03] Production.INFO: Date 2025-03-16 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:21:03] Production.INFO: Date 2025-03-17 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:03] Production.INFO: Date 2025-03-18 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:21:03] Production.INFO: count ==12 [2025-03-20 19:21:03] Production.INFO: Date 2025-03-19 [2025-03-20 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-03-20 19:21:03] Production.INFO: count ==23 [2025-03-20 19:21:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724940') start [2025-03-20 19:21:03] Production.INFO: ==29535== Releasing lock... [2025-03-20 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:21:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:21:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:21:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724940') end [2025-03-20 19:21:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:21:04] Production.INFO: 1 [2025-03-20 19:21:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:21:04] Production.INFO: ==29544== Releasing lock... [2025-03-20 19:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:21:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:21:04] Production.ERROR: done [2025-03-20 19:21:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:21:04] Production.INFO: Total Charge 0 [2025-03-20 19:21:04] Production.INFO: CreateAllLog End [2025-03-20 19:21:04] Production.ERROR: done [2025-03-20 19:21:04] Production.INFO: Account Balance End. [2025-03-20 19:21:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:21:04] Production.INFO: ==29540== Releasing lock... [2025-03-20 19:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:21:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:21:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:21:05 [end_date_ymd] => 2025-03-20 19:21:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:21:05' and `end` < '2025-03-20 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-03-20 19:21:13] Production.ERROR: CronJobId end10 [2025-03-20 19:21:13] Production.INFO: ==29537== Releasing lock... [2025-03-20 19:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:21:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:21:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:21:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:21:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:21:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:21:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:21:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:21:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:21:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:21:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:21:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:21:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:21:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:21:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:21:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:21:14] Production.INFO: call_cost start [2025-03-20 19:21:14] Production.INFO: call_cost end [2025-03-20 19:21:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:21:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:21:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:21:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:21:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:21:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:21:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:21:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:21:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:21:15] Production.INFO: ==29533== Releasing lock... [2025-03-20 19:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:21:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:21:18] Production.INFO: count ==3356 [2025-03-20 19:21:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:21:05 - End Time 2025-03-20 19:21:05 [2025-03-20 19:21:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724941', 'tblTempUsageDetail_20' ) start [2025-03-20 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724941', 'tblTempUsageDetail_20' ) end [2025-03-20 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724941', 'tblTempVendorCDR_20' ) start [2025-03-20 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724941', 'tblTempVendorCDR_20' ) end [2025-03-20 19:21:19] Production.INFO: ProcessCDR(1,14724941,1,1,2) [2025-03-20 19:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724941', 'tblTempUsageDetail_20' ) start [2025-03-20 19:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724941', 'tblTempUsageDetail_20' ) end [2025-03-20 19:21:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:21:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:21:22] Production.INFO: ==29542== Releasing lock... [2025-03-20 19:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:21:22] Production.INFO: 53 MB #Memory Used# [2025-03-20 23:22:02] Production.INFO: ==29625== Lock acquired, processing the job... [2025-03-20 23:22:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:22:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:22:02] Production.INFO: neon service started [2025-03-20 23:22:02] Production.INFO: neon service started [2025-03-20 23:22:02] Production.INFO: ==29625== Releasing lock... [2025-03-20 23:22:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:22:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:22:02] Production.INFO: ==29627== Lock acquired, processing the job... [2025-03-20 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:22:02] Production.INFO: ==29629== Lock acquired, processing the job... [2025-03-20 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:22:02] Production.INFO: ==29629== Releasing lock... [2025-03-20 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:22:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:22:03] Production.INFO: ==29627== Releasing lock... [2025-03-20 19:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:22:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:22:04] Production.INFO: ==29642== Lock acquired, processing the job... [2025-03-20 19:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:22:04] Production.INFO: ==29644== Lock acquired, processing the job... [2025-03-20 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:22:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:22:04] Production.INFO: ==29634== Lock acquired, processing the job... [2025-03-20 19:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:22:04] Production.INFO: ==29636== Lock acquired, processing the job... [2025-03-20 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:22:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 19:22:04] Production.INFO: ==29638== Lock acquired, processing the job... [2025-03-20 19:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:22:04] Production.INFO: ==29640== Lock acquired, processing the job... [2025-03-20 19:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:22:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:22:04] Production.INFO: count ==23 [2025-03-20 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724942') start [2025-03-20 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724942') end [2025-03-20 19:22:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:22:04] Production.INFO: 1 [2025-03-20 19:22:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:22:04] Production.INFO: Account Balance Start. [2025-03-20 19:22:04] Production.INFO: CreateAllLog Start [2025-03-20 19:22:04] Production.INFO: 117 [2025-03-20 19:22:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:22:04] Production.INFO: ==29644== Releasing lock... [2025-03-20 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:22:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:22:04] Production.ERROR: done [2025-03-20 19:22:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:22:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:22:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:22:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:05] Production.INFO: Date 2025-03-11 [2025-03-20 19:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:05] Production.ERROR: done [2025-03-20 19:22:05] Production.INFO: Date 2025-03-12 [2025-03-20 19:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:05] Production.INFO: ==29636== Releasing lock... [2025-03-20 19:22:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:22:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:22:05] Production.INFO: Date 2025-03-13 [2025-03-20 19:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:05] Production.INFO: Date 2025-03-14 [2025-03-20 19:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:05] Production.INFO: Date 2025-03-15 [2025-03-20 19:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:05] Production.INFO: Date 2025-03-16 [2025-03-20 19:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:05] Production.INFO: Date 2025-03-17 [2025-03-20 19:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:05] Production.INFO: Date 2025-03-18 [2025-03-20 19:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:22:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:22:05] Production.INFO: Total Charge 0 [2025-03-20 19:22:05] Production.INFO: CreateAllLog End [2025-03-20 19:22:05] Production.INFO: Account Balance End. [2025-03-20 19:22:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:22:05] Production.INFO: ==29640== Releasing lock... [2025-03-20 19:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:22:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:22:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:22:06 [end_date_ymd] => 2025-03-20 19:22:06 [RateCDR] => 1 ) [2025-03-20 19:22:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:22:06' and `end` < '2025-03-20 19:22:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:22:14] Production.ERROR: CronJobId end10 [2025-03-20 19:22:14] Production.INFO: ==29638== Releasing lock... [2025-03-20 19:22:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:22:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:22:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:22:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:22:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:22:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:22:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:22:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:22:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:22:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:22:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:22:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:22:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:22:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:22:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:22:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:22:15] Production.INFO: call_cost start [2025-03-20 19:22:15] Production.INFO: call_cost end [2025-03-20 19:22:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:22:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:22:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:22:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:22:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:22:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:22:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:22:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:22:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:22:16] Production.INFO: ==29634== Releasing lock... [2025-03-20 19:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:22:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:22:19] Production.INFO: count ==3339 [2025-03-20 19:22:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:22:06 - End Time 2025-03-20 19:22:06 [2025-03-20 19:22:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724946', 'tblTempUsageDetail_20' ) start [2025-03-20 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724946', 'tblTempUsageDetail_20' ) end [2025-03-20 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724946', 'tblTempVendorCDR_20' ) start [2025-03-20 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724946', 'tblTempVendorCDR_20' ) end [2025-03-20 19:22:20] Production.INFO: ProcessCDR(1,14724946,1,1,2) [2025-03-20 19:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:22:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724946', 'tblTempUsageDetail_20' ) start [2025-03-20 19:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724946', 'tblTempUsageDetail_20' ) end [2025-03-20 19:22:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:22:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:22:25] Production.INFO: ==29642== Releasing lock... [2025-03-20 19:22:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:22:25] Production.INFO: 53.25 MB #Memory Used# [2025-03-20 23:23:01] Production.INFO: ==29708== Lock acquired, processing the job... [2025-03-20 23:23:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:23:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:23:01] Production.INFO: neon service started [2025-03-20 23:23:01] Production.INFO: neon service started [2025-03-20 23:23:01] Production.INFO: ==29708== Releasing lock... [2025-03-20 23:23:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:23:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:23:01] Production.INFO: ==29712== Lock acquired, processing the job... [2025-03-20 23:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:23:01] Production.INFO: ==29712== Releasing lock... [2025-03-20 23:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:23:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:23:02] Production.INFO: ==29710== Lock acquired, processing the job... [2025-03-20 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:23:02] Production.INFO: ==29710== Releasing lock... [2025-03-20 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:23:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:23:03] Production.INFO: ==29715== Lock acquired, processing the job... [2025-03-20 19:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:23:03] Production.INFO: ==29717== Lock acquired, processing the job... [2025-03-20 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:23:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:23:03] Production.INFO: ==29723== Lock acquired, processing the job... [2025-03-20 19:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:23:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:23:03] Production.INFO: ==29721== Lock acquired, processing the job... [2025-03-20 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:23:03] Production.INFO: ==29719== Lock acquired, processing the job... [2025-03-20 19:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:23:03] Production.INFO: ==29717== Releasing lock... [2025-03-20 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:23:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:23:03] Production.INFO: ==29725== Lock acquired, processing the job... [2025-03-20 19:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:23:03] Production.INFO: Account Balance Start. [2025-03-20 19:23:03] Production.INFO: CreateAllLog Start [2025-03-20 19:23:03] Production.INFO: 117 [2025-03-20 19:23:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:23:03] Production.ERROR: done [2025-03-20 19:23:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:23:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:23:03] Production.INFO: count ==12 [2025-03-20 19:23:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:23:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:23:03] Production.INFO: count ==23 [2025-03-20 19:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724950') start [2025-03-20 19:23:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:23:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:23:04] Production.ERROR: done [2025-03-20 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724950') end [2025-03-20 19:23:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:23:04] Production.INFO: 1 [2025-03-20 19:23:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:23:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:23:04] Production.INFO: ==29725== Releasing lock... [2025-03-20 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:23:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:23:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:23:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:23:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:23:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:23:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:23:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:23:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:23:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:23:04] Production.INFO: Total Charge 0 [2025-03-20 19:23:04] Production.INFO: CreateAllLog End [2025-03-20 19:23:04] Production.INFO: Account Balance End. [2025-03-20 19:23:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:23:04] Production.INFO: ==29721== Releasing lock... [2025-03-20 19:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:23:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:23:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:23:05 [end_date_ymd] => 2025-03-20 19:23:05 [RateCDR] => 1 ) [2025-03-20 19:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:23:05' and `end` < '2025-03-20 19:23:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:23:12] Production.ERROR: CronJobId end10 [2025-03-20 19:23:12] Production.INFO: ==29719== Releasing lock... [2025-03-20 19:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:23:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:23:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:23:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:23:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:23:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:23:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:23:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:23:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:23:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:23:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:23:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:23:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:23:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:23:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:23:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:23:15] Production.INFO: call_cost start [2025-03-20 19:23:15] Production.INFO: call_cost end [2025-03-20 19:23:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:23:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:23:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:23:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:23:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:23:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:23:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:23:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:23:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:23:16] Production.INFO: ==29715== Releasing lock... [2025-03-20 19:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:23:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:23:17] Production.INFO: count ==3315 [2025-03-20 19:23:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:23:05 - End Time 2025-03-20 19:23:05 [2025-03-20 19:23:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724951', 'tblTempUsageDetail_20' ) start [2025-03-20 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724951', 'tblTempUsageDetail_20' ) end [2025-03-20 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724951', 'tblTempVendorCDR_20' ) start [2025-03-20 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724951', 'tblTempVendorCDR_20' ) end [2025-03-20 19:23:19] Production.INFO: ProcessCDR(1,14724951,1,1,2) [2025-03-20 19:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724951', 'tblTempUsageDetail_20' ) start [2025-03-20 19:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724951', 'tblTempUsageDetail_20' ) end [2025-03-20 19:23:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:23:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:23:24] Production.INFO: ==29723== Releasing lock... [2025-03-20 19:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:23:24] Production.INFO: 52.75 MB #Memory Used# [2025-03-20 23:24:01] Production.INFO: ==29791== Lock acquired, processing the job... [2025-03-20 23:24:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:24:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:24:02] Production.INFO: neon service started [2025-03-20 23:24:02] Production.INFO: neon service started [2025-03-20 23:24:02] Production.INFO: ==29791== Releasing lock... [2025-03-20 23:24:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:24:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:24:02] Production.INFO: ==29793== Lock acquired, processing the job... [2025-03-20 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:24:02] Production.INFO: ==29795== Lock acquired, processing the job... [2025-03-20 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:24:02] Production.INFO: ==29795== Releasing lock... [2025-03-20 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:24:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:24:03] Production.INFO: ==29793== Releasing lock... [2025-03-20 19:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:24:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:24:03] Production.INFO: ==29802== Lock acquired, processing the job... [2025-03-20 19:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:24:04] Production.INFO: ==29808== Lock acquired, processing the job... [2025-03-20 19:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:24:04] Production.INFO: ==29798== Lock acquired, processing the job... [2025-03-20 19:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 19:24:04] Production.INFO: count ==12 [2025-03-20 19:24:04] Production.INFO: ==29800== Lock acquired, processing the job... [2025-03-20 19:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:24:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 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-03-20 19:24:04] Production.INFO: count ==23 [2025-03-20 19:24:04] Production.INFO: ==29804== Lock acquired, processing the job... [2025-03-20 19:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724952') start [2025-03-20 19:24:04] Production.INFO: ==29806== Lock acquired, processing the job... [2025-03-20 19:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:24:04] Production.INFO: Account Balance Start. [2025-03-20 19:24:04] Production.INFO: CreateAllLog Start [2025-03-20 19:24:04] Production.INFO: 117 [2025-03-20 19:24:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724952') end [2025-03-20 19:24:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:24:04] Production.INFO: 1 [2025-03-20 19:24:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:24:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.INFO: ==29808== Releasing lock... [2025-03-20 19:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:24:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:24:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.ERROR: done [2025-03-20 19:24:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:24:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.INFO: ==29800== Releasing lock... [2025-03-20 19:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:24:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:24:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.ERROR: done [2025-03-20 19:24:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:24:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:24:04] Production.INFO: Total Charge 0 [2025-03-20 19:24:05] Production.INFO: CreateAllLog End [2025-03-20 19:24:05] Production.INFO: Account Balance End. [2025-03-20 19:24:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:24:05] Production.INFO: ==29804== Releasing lock... [2025-03-20 19:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:24:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:24:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:24:05 [end_date_ymd] => 2025-03-20 19:24:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:24:05' and `end` < '2025-03-20 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-03-20 19:24:14] Production.ERROR: CronJobId end10 [2025-03-20 19:24:14] Production.INFO: ==29802== Releasing lock... [2025-03-20 19:24:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:24:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:24:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:24:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:24:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:24:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:24:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:24:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:24:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:24:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:24:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:24:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:24:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:24:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:24:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:24:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:24:15] Production.INFO: call_cost start [2025-03-20 19:24:15] Production.INFO: call_cost end [2025-03-20 19:24:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:24:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:24:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:24:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:24:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:24:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:24:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:24:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:24:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:24:16] Production.INFO: ==29798== Releasing lock... [2025-03-20 19:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:24:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:24:18] Production.INFO: count ==3302 [2025-03-20 19:24:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:24:05 - End Time 2025-03-20 19:24:05 [2025-03-20 19:24:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724956', 'tblTempUsageDetail_20' ) start [2025-03-20 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724956', 'tblTempUsageDetail_20' ) end [2025-03-20 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724956', 'tblTempVendorCDR_20' ) start [2025-03-20 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724956', 'tblTempVendorCDR_20' ) end [2025-03-20 19:24:19] Production.INFO: ProcessCDR(1,14724956,1,1,2) [2025-03-20 19:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:24:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:24:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724956', 'tblTempUsageDetail_20' ) start [2025-03-20 19:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724956', 'tblTempUsageDetail_20' ) end [2025-03-20 19:24:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:24:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:24:24] Production.INFO: ==29806== Releasing lock... [2025-03-20 19:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:24:24] Production.INFO: 52.75 MB #Memory Used# [2025-03-20 23:25:01] Production.INFO: ==29872== Lock acquired, processing the job... [2025-03-20 23:25:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:25:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:25:01] Production.INFO: neon service started [2025-03-20 23:25:01] Production.INFO: neon service started [2025-03-20 23:25:01] Production.INFO: ==29872== Releasing lock... [2025-03-20 23:25:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:25:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:25:01] Production.INFO: ==29876== Lock acquired, processing the job... [2025-03-20 23:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:25:01] Production.INFO: ==29876== Releasing lock... [2025-03-20 23:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:25:01] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:25:02] Production.INFO: ==29874== Lock acquired, processing the job... [2025-03-20 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:25:02] Production.INFO: ==29874== Releasing lock... [2025-03-20 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:25:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:25:03] Production.INFO: ==29883== Lock acquired, processing the job... [2025-03-20 19:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:25:03] Production.INFO: ==29889== Lock acquired, processing the job... [2025-03-20 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 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-03-20 19:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:25:03] Production.INFO: ==29879== Lock acquired, processing the job... [2025-03-20 19:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:25:03] Production.INFO: count ==12 [2025-03-20 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-03-20 19:25:03] Production.INFO: count ==23 [2025-03-20 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724957') start [2025-03-20 19:25:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:25:03] Production.INFO: ==29881== Lock acquired, processing the job... [2025-03-20 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:25:03] Production.INFO: ==29887== Lock acquired, processing the job... [2025-03-20 19:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:25:03] Production.INFO: ==29885== Lock acquired, processing the job... [2025-03-20 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724957') end [2025-03-20 19:25:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:25:03] Production.INFO: 1 [2025-03-20 19:25:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:25:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:25:03] Production.INFO: ==29889== Releasing lock... [2025-03-20 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:25:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:25:03] Production.INFO: Account Balance Start. [2025-03-20 19:25:03] Production.INFO: CreateAllLog Start [2025-03-20 19:25:03] Production.INFO: 117 [2025-03-20 19:25:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:03] Production.ERROR: done [2025-03-20 19:25:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:25:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:03] Production.INFO: ==29881== Releasing lock... [2025-03-20 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:25:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:25:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:25:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:04] Production.ERROR: done [2025-03-20 19:25:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:25:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:25:04] Production.INFO: Total Charge 0 [2025-03-20 19:25:04] Production.INFO: CreateAllLog End [2025-03-20 19:25:04] Production.INFO: Account Balance End. [2025-03-20 19:25:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:25:04] Production.INFO: ==29885== Releasing lock... [2025-03-20 19:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:25:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:25:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:25:05 [end_date_ymd] => 2025-03-20 19:25:05 [RateCDR] => 1 ) [2025-03-20 19:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:25:05' and `end` < '2025-03-20 19:25:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:25:13] Production.ERROR: CronJobId end10 [2025-03-20 19:25:13] Production.INFO: ==29883== Releasing lock... [2025-03-20 19:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:25:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:25:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:25:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:25:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:25:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:25:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:25:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:25:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:25:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:25:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:25:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:25:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:25:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:25:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:25:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:25:14] Production.INFO: call_cost start [2025-03-20 19:25:14] Production.INFO: call_cost end [2025-03-20 19:25:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:25:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:25:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:25:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:25:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:25:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:25:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:25:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:25:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:25:15] Production.INFO: ==29879== Releasing lock... [2025-03-20 19:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:25:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:25:18] Production.INFO: count ==3289 [2025-03-20 19:25:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:25:05 - End Time 2025-03-20 19:25:05 [2025-03-20 19:25:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724961', 'tblTempUsageDetail_20' ) start [2025-03-20 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724961', 'tblTempUsageDetail_20' ) end [2025-03-20 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724961', 'tblTempVendorCDR_20' ) start [2025-03-20 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724961', 'tblTempVendorCDR_20' ) end [2025-03-20 19:25:19] Production.INFO: ProcessCDR(1,14724961,1,1,2) [2025-03-20 19:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724961', 'tblTempUsageDetail_20' ) start [2025-03-20 19:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724961', 'tblTempUsageDetail_20' ) end [2025-03-20 19:25:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:25:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:25:24] Production.INFO: ==29887== Releasing lock... [2025-03-20 19:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:25:24] Production.INFO: 52.5 MB #Memory Used# [2025-03-20 23:26:01] Production.INFO: ==29957== Lock acquired, processing the job... [2025-03-20 23:26:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:26:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:26:01] Production.INFO: neon service started [2025-03-20 23:26:01] Production.INFO: neon service started [2025-03-20 23:26:01] Production.INFO: ==29957== Releasing lock... [2025-03-20 23:26:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:26:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:26:02] Production.INFO: ==29961== Lock acquired, processing the job... [2025-03-20 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:26:02] Production.INFO: ==29961== Releasing lock... [2025-03-20 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:26:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:26:02] Production.INFO: ==29959== Lock acquired, processing the job... [2025-03-20 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:26:02] Production.INFO: ==29959== Releasing lock... [2025-03-20 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:26:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:26:03] Production.INFO: ==29963== Lock acquired, processing the job... [2025-03-20 19:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:26:03] Production.INFO: ==29967== Lock acquired, processing the job... [2025-03-20 19:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:26:03] Production.INFO: ==29969== Lock acquired, processing the job... [2025-03-20 19:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:26:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:26:03] Production.INFO: Account Balance Start. [2025-03-20 19:26:03] Production.INFO: CreateAllLog Start [2025-03-20 19:26:03] Production.INFO: 117 [2025-03-20 19:26:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:26:03] Production.INFO: ==29965== Lock acquired, processing the job... [2025-03-20 19:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: ==29972== Lock acquired, processing the job... [2025-03-20 19:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:26:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:26:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: ==29974== Lock acquired, processing the job... [2025-03-20 19:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:26:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: ==29965== Releasing lock... [2025-03-20 19:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:26:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:26:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:26:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: count ==12 [2025-03-20 19:26:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:26:04] Production.INFO: count ==23 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724965') start [2025-03-20 19:26:04] Production.ERROR: done [2025-03-20 19:26:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:26:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:26:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:26:04] Production.INFO: Total Charge 0 [2025-03-20 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724965') end [2025-03-20 19:26:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:26:04] Production.INFO: 1 [2025-03-20 19:26:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:26:04] Production.INFO: CreateAllLog End [2025-03-20 19:26:04] Production.INFO: ==29974== Releasing lock... [2025-03-20 19:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:26:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:26:04] Production.ERROR: done [2025-03-20 19:26:05] Production.INFO: Account Balance End. [2025-03-20 19:26:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:26:05] Production.INFO: ==29969== Releasing lock... [2025-03-20 19:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:26:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:26:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:26:05 [end_date_ymd] => 2025-03-20 19:26:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:26:05' and `end` < '2025-03-20 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-03-20 19:26:14] Production.ERROR: CronJobId end10 [2025-03-20 19:26:14] Production.INFO: ==29967== Releasing lock... [2025-03-20 19:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:26:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:26:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:26:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:26:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:26:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:26:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:26:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:26:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:26:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:26:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:26:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:26:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:26:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:26:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:26:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:26:16] Production.INFO: call_cost start [2025-03-20 19:26:16] Production.INFO: call_cost end [2025-03-20 19:26:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:26:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:26:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:26:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:26:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:26:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:26:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:26:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:26:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:26:17] Production.INFO: ==29963== Releasing lock... [2025-03-20 19:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:26:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:26:18] Production.INFO: count ==3283 [2025-03-20 19:26:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:26:05 - End Time 2025-03-20 19:26:05 [2025-03-20 19:26:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724966', 'tblTempUsageDetail_20' ) start [2025-03-20 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724966', 'tblTempUsageDetail_20' ) end [2025-03-20 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724966', 'tblTempVendorCDR_20' ) start [2025-03-20 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724966', 'tblTempVendorCDR_20' ) end [2025-03-20 19:26:19] Production.INFO: ProcessCDR(1,14724966,1,1,2) [2025-03-20 19:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724966', 'tblTempUsageDetail_20' ) start [2025-03-20 19:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724966', 'tblTempUsageDetail_20' ) end [2025-03-20 19:26:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:26:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:26:23] Production.INFO: ==29972== Releasing lock... [2025-03-20 19:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:26:23] Production.INFO: 52.5 MB #Memory Used# [2025-03-20 23:27:02] Production.INFO: ==30045== Lock acquired, processing the job... [2025-03-20 23:27:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:27:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:27:02] Production.INFO: neon service started [2025-03-20 23:27:02] Production.INFO: neon service started [2025-03-20 23:27:02] Production.INFO: ==30045== Releasing lock... [2025-03-20 23:27:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:27:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:27:02] Production.INFO: ==30047== Lock acquired, processing the job... [2025-03-20 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:27:03] Production.INFO: ==30049== Lock acquired, processing the job... [2025-03-20 23:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:27:03] Production.INFO: ==30049== Releasing lock... [2025-03-20 23:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:27:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:27:03] Production.INFO: ==30047== Releasing lock... [2025-03-20 19:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:27:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:27:04] Production.INFO: ==30058== Lock acquired, processing the job... [2025-03-20 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:27:04] Production.INFO: Account Balance Start. [2025-03-20 19:27:04] Production.INFO: CreateAllLog Start [2025-03-20 19:27:04] Production.INFO: 117 [2025-03-20 19:27:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.INFO: ==30062== Lock acquired, processing the job... [2025-03-20 19:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:27:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:27:04] Production.INFO: ==30052== Lock acquired, processing the job... [2025-03-20 19:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:27:04] Production.INFO: ==30054== Lock acquired, processing the job... [2025-03-20 19:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:27:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.INFO: ==30056== Lock acquired, processing the job... [2025-03-20 19:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:27:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.INFO: ==30064== Lock acquired, processing the job... [2025-03-20 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:27:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:27:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:27:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:27:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:27:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:27:04] Production.INFO: count ==23 [2025-03-20 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724968') start [2025-03-20 19:27:04] Production.ERROR: done [2025-03-20 19:27:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:27:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:27:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724968') end [2025-03-20 19:27:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:27:04] Production.INFO: 1 [2025-03-20 19:27:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:27:05] Production.INFO: Total Charge 0 [2025-03-20 19:27:05] Production.INFO: CreateAllLog End [2025-03-20 19:27:05] Production.INFO: ==30064== Releasing lock... [2025-03-20 19:27:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:27:05] Production.INFO: ==30054== Releasing lock... [2025-03-20 19:27:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:27:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:27:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:27:05] Production.ERROR: done [2025-03-20 19:27:05] Production.INFO: Account Balance End. [2025-03-20 19:27:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:27:05] Production.INFO: ==30058== Releasing lock... [2025-03-20 19:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:27:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:27:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:27:06 [end_date_ymd] => 2025-03-20 19:27:06 [RateCDR] => 1 ) [2025-03-20 19: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-03-20 16:27:06' and `end` < '2025-03-20 19: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-03-20 19:27:14] Production.ERROR: CronJobId end10 [2025-03-20 19:27:14] Production.INFO: ==30056== Releasing lock... [2025-03-20 19:27:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:27:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:27:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:27:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:27:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:27:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:27:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:27:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:27:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:27:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:27:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:27:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:27:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:27:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:27:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:27:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:27:15] Production.INFO: call_cost start [2025-03-20 19:27:15] Production.INFO: call_cost end [2025-03-20 19:27:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:27:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:27:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:27:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:27:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:27:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:27:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:27:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:27:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:27:16] Production.INFO: ==30052== Releasing lock... [2025-03-20 19:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:27:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:27:18] Production.INFO: count ==3278 [2025-03-20 19:27:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:27:06 - End Time 2025-03-20 19:27:06 [2025-03-20 19:27:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724971', 'tblTempUsageDetail_20' ) start [2025-03-20 19:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724971', 'tblTempUsageDetail_20' ) end [2025-03-20 19:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724971', 'tblTempVendorCDR_20' ) start [2025-03-20 19:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724971', 'tblTempVendorCDR_20' ) end [2025-03-20 19:27:20] Production.INFO: ProcessCDR(1,14724971,1,1,2) [2025-03-20 19:27:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:27:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:27:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:27:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:27:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724971', 'tblTempUsageDetail_20' ) start [2025-03-20 19:27:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724971', 'tblTempUsageDetail_20' ) end [2025-03-20 19:27:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:27:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:27:25] Production.INFO: ==30062== Releasing lock... [2025-03-20 19:27:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:27:25] Production.INFO: 52.5 MB #Memory Used# [2025-03-20 23:28:01] Production.INFO: ==30139== Lock acquired, processing the job... [2025-03-20 23:28:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:28:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:28:01] Production.INFO: neon service started [2025-03-20 23:28:01] Production.INFO: neon service started [2025-03-20 23:28:01] Production.INFO: ==30139== Releasing lock... [2025-03-20 23:28:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:28:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:28:02] Production.INFO: ==30144== Lock acquired, processing the job... [2025-03-20 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:28:02] Production.INFO: ==30144== Releasing lock... [2025-03-20 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:28:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:28:02] Production.INFO: ==30142== Lock acquired, processing the job... [2025-03-20 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:28:02] Production.INFO: ==30142== Releasing lock... [2025-03-20 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:28:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:28:03] Production.INFO: ==30146== Lock acquired, processing the job... [2025-03-20 19:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:28:03] Production.INFO: ==30152== Lock acquired, processing the job... [2025-03-20 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:28:03] Production.INFO: Account Balance Start. [2025-03-20 19:28:03] Production.INFO: CreateAllLog Start [2025-03-20 19:28:03] Production.INFO: 117 [2025-03-20 19:28:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:28:03] Production.INFO: ==30148== Lock acquired, processing the job... [2025-03-20 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:28:04] Production.INFO: ==30156== Lock acquired, processing the job... [2025-03-20 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:28:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.INFO: ==30150== Lock acquired, processing the job... [2025-03-20 19:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:28:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:28:04] Production.INFO: ==30154== Lock acquired, processing the job... [2025-03-20 19:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:28:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:28:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:28:04] Production.INFO: count ==23 [2025-03-20 19:28:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724974') start [2025-03-20 19:28:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724974') end [2025-03-20 19:28:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:28:04] Production.INFO: 1 [2025-03-20 19:28:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:28:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.INFO: ==30156== Releasing lock... [2025-03-20 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:28:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:28:04] Production.INFO: ==30148== Releasing lock... [2025-03-20 19:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:28:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:28:04] Production.ERROR: done [2025-03-20 19:28:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:28:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:28:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:28:04] Production.INFO: Total Charge 0 [2025-03-20 19:28:04] Production.INFO: CreateAllLog End [2025-03-20 19:28:04] Production.ERROR: done [2025-03-20 19:28:05] Production.INFO: Account Balance End. [2025-03-20 19:28:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:28:05] Production.INFO: ==30152== Releasing lock... [2025-03-20 19:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:28:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:28:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:28:06 [end_date_ymd] => 2025-03-20 19:28:06 [RateCDR] => 1 ) [2025-03-20 19: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-03-20 16:28:06' and `end` < '2025-03-20 19: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-03-20 19:28:15] Production.ERROR: CronJobId end10 [2025-03-20 19:28:15] Production.INFO: ==30150== Releasing lock... [2025-03-20 19:28:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:28:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:28:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:28:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:28:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:28:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:28:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:28:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:28:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:28:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:28:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:28:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:28:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:28:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:28:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:28:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:28:15] Production.INFO: call_cost start [2025-03-20 19:28:15] Production.INFO: call_cost end [2025-03-20 19:28:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:28:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:28:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:28:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:28:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:28:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:28:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:28:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:28:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:28:17] Production.INFO: ==30146== Releasing lock... [2025-03-20 19:28:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:28:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:28:18] Production.INFO: count ==3276 [2025-03-20 19:28:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:28:06 - End Time 2025-03-20 19:28:06 [2025-03-20 19:28:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724976', 'tblTempUsageDetail_20' ) start [2025-03-20 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724976', 'tblTempUsageDetail_20' ) end [2025-03-20 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724976', 'tblTempVendorCDR_20' ) start [2025-03-20 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724976', 'tblTempVendorCDR_20' ) end [2025-03-20 19:28:19] Production.INFO: ProcessCDR(1,14724976,1,1,2) [2025-03-20 19:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:28:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:28:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:28:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:28:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724976', 'tblTempUsageDetail_20' ) start [2025-03-20 19:28:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724976', 'tblTempUsageDetail_20' ) end [2025-03-20 19:28:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:28:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:28:25] Production.INFO: ==30154== Releasing lock... [2025-03-20 19:28:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:28:25] Production.INFO: 52.5 MB #Memory Used# [2025-03-20 23:29:02] Production.INFO: ==30216== Lock acquired, processing the job... [2025-03-20 23:29:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:29:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:29:02] Production.INFO: neon service started [2025-03-20 23:29:02] Production.INFO: neon service started [2025-03-20 23:29:02] Production.INFO: ==30216== Releasing lock... [2025-03-20 23:29:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:29:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:29:02] Production.INFO: ==30221== Lock acquired, processing the job... [2025-03-20 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:29:02] Production.INFO: ==30221== Releasing lock... [2025-03-20 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:29:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:29:03] Production.INFO: ==30219== Lock acquired, processing the job... [2025-03-20 19:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:29:03] Production.INFO: ==30219== Releasing lock... [2025-03-20 19:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:29:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:29:04] Production.INFO: ==30227== Lock acquired, processing the job... [2025-03-20 19:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:29:04] Production.INFO: ==30233== Lock acquired, processing the job... [2025-03-20 19:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:29:04] Production.INFO: ==30223== Lock acquired, processing the job... [2025-03-20 19:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:29:04] Production.INFO: ==30225== Lock acquired, processing the job... [2025-03-20 19:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:29:04] Production.INFO: count ==12 [2025-03-20 19:29:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:29:04] Production.INFO: ==30229== Lock acquired, processing the job... [2025-03-20 19:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:29:04] Production.INFO: count ==23 [2025-03-20 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724977') start [2025-03-20 19:29:04] Production.INFO: ==30231== Lock acquired, processing the job... [2025-03-20 19:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724977') end [2025-03-20 19:29:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:29:04] Production.INFO: 1 [2025-03-20 19:29:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:29:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:29:04] Production.INFO: Account Balance Start. [2025-03-20 19:29:04] Production.INFO: CreateAllLog Start [2025-03-20 19:29:04] Production.INFO: 117 [2025-03-20 19:29:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:04] Production.INFO: ==30233== Releasing lock... [2025-03-20 19:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:29:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:29:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:29:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:05] Production.INFO: Date 2025-03-11 [2025-03-20 19:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:05] Production.INFO: Date 2025-03-12 [2025-03-20 19:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:05] Production.INFO: ==30225== Releasing lock... [2025-03-20 19:29:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:29:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:29:05] Production.INFO: Date 2025-03-13 [2025-03-20 19:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:05] Production.ERROR: done [2025-03-20 19:29:05] Production.INFO: Date 2025-03-14 [2025-03-20 19:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:29:05] Production.INFO: Date 2025-03-15 [2025-03-20 19:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:05] Production.INFO: Date 2025-03-16 [2025-03-20 19:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:05] Production.INFO: Date 2025-03-17 [2025-03-20 19:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:05] Production.INFO: Date 2025-03-18 [2025-03-20 19:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:05] Production.ERROR: done [2025-03-20 19:29:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:29:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:29:05] Production.INFO: Total Charge 0 [2025-03-20 19:29:05] Production.INFO: CreateAllLog End [2025-03-20 19:29:05] Production.INFO: Account Balance End. [2025-03-20 19:29:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:29:05] Production.INFO: ==30229== Releasing lock... [2025-03-20 19:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:29:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:29:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:29:06 [end_date_ymd] => 2025-03-20 19:29:06 [RateCDR] => 1 ) [2025-03-20 19:29:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:29:06' and `end` < '2025-03-20 19:29:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:29:14] Production.ERROR: CronJobId end10 [2025-03-20 19:29:14] Production.INFO: ==30227== Releasing lock... [2025-03-20 19:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:29:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:29:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:29:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:29:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:29:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:29:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:29:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:29:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:29:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:29:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:29:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:29:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:29:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:29:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:29:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:29:15] Production.INFO: call_cost start [2025-03-20 19:29:15] Production.INFO: call_cost end [2025-03-20 19:29:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:29:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:29:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:29:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:29:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:29:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:29:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:29:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:29:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:29:16] Production.INFO: ==30223== Releasing lock... [2025-03-20 19:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:29:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:29:19] Production.INFO: count ==3272 [2025-03-20 19:29:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:29:06 - End Time 2025-03-20 19:29:06 [2025-03-20 19:29:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724981', 'tblTempUsageDetail_20' ) start [2025-03-20 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724981', 'tblTempUsageDetail_20' ) end [2025-03-20 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724981', 'tblTempVendorCDR_20' ) start [2025-03-20 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724981', 'tblTempVendorCDR_20' ) end [2025-03-20 19:29:20] Production.INFO: ProcessCDR(1,14724981,1,1,2) [2025-03-20 19:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:29:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724981', 'tblTempUsageDetail_20' ) start [2025-03-20 19:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724981', 'tblTempUsageDetail_20' ) end [2025-03-20 19:29:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:29:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:29:25] Production.INFO: ==30231== Releasing lock... [2025-03-20 19:29:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:29:25] Production.INFO: 52.75 MB #Memory Used# [2025-03-20 23:30:01] Production.INFO: ==30296== Lock acquired, processing the job... [2025-03-20 23:30:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:30:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:30:01] Production.INFO: neon service started [2025-03-20 23:30:01] Production.INFO: neon service started [2025-03-20 23:30:01] Production.INFO: ==30296== Releasing lock... [2025-03-20 23:30:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:30:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:30:02] Production.INFO: ==30300== Lock acquired, processing the job... [2025-03-20 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:30:02] Production.INFO: ==30300== Releasing lock... [2025-03-20 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:30:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:30:02] Production.INFO: ==30298== Lock acquired, processing the job... [2025-03-20 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:30:02] Production.INFO: ==30298== Releasing lock... [2025-03-20 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:30:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:30:03] Production.INFO: ==30303== Lock acquired, processing the job... [2025-03-20 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 19:30:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 19:30:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 19:30:03] Production.INFO: ==30303== Releasing lock... [2025-03-20 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 19:30:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 19:30:03] Production.INFO: ==30307== Lock acquired, processing the job... [2025-03-20 19:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:30:03] Production.INFO: ==30309== Lock acquired, processing the job... [2025-03-20 19:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:30:03] Production.INFO: ==30311== Lock acquired, processing the job... [2025-03-20 19:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:30:04] Production.INFO: ==30305== Lock acquired, processing the job... [2025-03-20 19:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:30:04] Production.INFO: Account Balance Start. [2025-03-20 19:30:04] Production.INFO: CreateAllLog Start [2025-03-20 19:30:04] Production.INFO: 117 [2025-03-20 19:30:04] Production.INFO: ==30313== Lock acquired, processing the job... [2025-03-20 19:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:30:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:30:04] Production.INFO: ==30315== Lock acquired, processing the job... [2025-03-20 19:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 19:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:30:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:30:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:30:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:04] Production.INFO: ==30307== Releasing lock... [2025-03-20 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:30:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:30:04] Production.INFO: ==30317== Lock acquired, processing the job... [2025-03-20 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:30:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:30:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:30:04] Production.INFO: count ==23 [2025-03-20 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724985') start [2025-03-20 19:30:04] Production.ERROR: done [2025-03-20 19:30:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:30:04] Production.ERROR: done [2025-03-20 19:30:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724985') end [2025-03-20 19:30:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:30:04] Production.INFO: 1 [2025-03-20 19:30:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 19:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724986', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 19:30:04] Production.INFO: ==30317== Releasing lock... [2025-03-20 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:30:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:30:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:30:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:04] Production.ERROR: done [2025-03-20 19:30:05] Production.INFO: Date 2025-03-17 [2025-03-20 19:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:05] Production.INFO: Date 2025-03-18 [2025-03-20 19:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:30:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:30:05] Production.INFO: Total Charge 0 [2025-03-20 19:30:05] Production.INFO: CreateAllLog End [2025-03-20 19:30:05] Production.INFO: Account Balance End. [2025-03-20 19:30:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:30:05] Production.INFO: ==30311== Releasing lock... [2025-03-20 19:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:30:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:30:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:30:06 [end_date_ymd] => 2025-03-20 19:30:06 [RateCDR] => 1 ) [2025-03-20 19:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:30:06' and `end` < '2025-03-20 19:30:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14724986', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 19:30:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 19:30:09] Production.INFO: ProcessCDR(1,14724986,1,1,2) [2025-03-20 19:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14724986,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14724986,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:30:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:30:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:30:09] Production.INFO: ==30315== Releasing lock... [2025-03-20 19:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 19:30:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 19:30:17] Production.ERROR: CronJobId end10 [2025-03-20 19:30:17] Production.INFO: ==30309== Releasing lock... [2025-03-20 19:30:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:30:17] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:30:17] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:30:17] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:30:17] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:30:17] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:30:17] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:30:17] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:30:17] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:30:17] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:30:17] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:30:17] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:30:17] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:30:17] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:30:17] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:30:17] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:30:18] Production.INFO: call_cost start [2025-03-20 19:30:18] Production.INFO: call_cost end [2025-03-20 19:30:19] Production.INFO: count ==3249 [2025-03-20 19:30:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:30:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:30:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:30:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:30:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:30:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:30:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:30:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:30:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:30:19] Production.INFO: ==30305== Releasing lock... [2025-03-20 19:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:30:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:30:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:30:06 - End Time 2025-03-20 19:30:06 [2025-03-20 19:30:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724987', 'tblTempUsageDetail_20' ) start [2025-03-20 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724987', 'tblTempUsageDetail_20' ) end [2025-03-20 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724987', 'tblTempVendorCDR_20' ) start [2025-03-20 19:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724987', 'tblTempVendorCDR_20' ) end [2025-03-20 19:30:20] Production.INFO: ProcessCDR(1,14724987,1,1,2) [2025-03-20 19:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:30:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724987', 'tblTempUsageDetail_20' ) start [2025-03-20 19:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724987', 'tblTempUsageDetail_20' ) end [2025-03-20 19:30:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:30:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:30:25] Production.INFO: ==30313== Releasing lock... [2025-03-20 19:30:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:30:25] Production.INFO: 52.75 MB #Memory Used# [2025-03-20 23:31:02] Production.INFO: ==30426== Lock acquired, processing the job... [2025-03-20 23:31:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:31:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:31:02] Production.INFO: neon service started [2025-03-20 23:31:02] Production.INFO: neon service started [2025-03-20 23:31:02] Production.INFO: ==30426== Releasing lock... [2025-03-20 23:31:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:31:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:31:02] Production.INFO: ==30428== Lock acquired, processing the job... [2025-03-20 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:31:02] Production.INFO: ==30430== Lock acquired, processing the job... [2025-03-20 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:31:03] Production.INFO: ==30430== Releasing lock... [2025-03-20 23:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:31:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:31:03] Production.INFO: ==30428== Releasing lock... [2025-03-20 19:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:31:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:31:03] Production.INFO: ==30433== Lock acquired, processing the job... [2025-03-20 19:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:31:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:31:04] Production.INFO: ==30439== Lock acquired, processing the job... [2025-03-20 19:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:31:04] Production.INFO: ==30443== Lock acquired, processing the job... [2025-03-20 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:31:04] Production.INFO: ==30435== Lock acquired, processing the job... [2025-03-20 19:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:31:04] Production.INFO: ==30437== Lock acquired, processing the job... [2025-03-20 19:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:31:04] Production.INFO: Account Balance Start. [2025-03-20 19:31:04] Production.INFO: CreateAllLog Start [2025-03-20 19:31:04] Production.INFO: 117 [2025-03-20 19:31:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:31:04] Production.INFO: count ==12 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:31:04] Production.INFO: count ==23 [2025-03-20 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724990') start [2025-03-20 19:31:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:31:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.INFO: ==30441== Lock acquired, processing the job... [2025-03-20 19:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:31:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724990') end [2025-03-20 19:31:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:31:04] Production.INFO: 1 [2025-03-20 19:31:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:31:04] Production.INFO: ==30443== Releasing lock... [2025-03-20 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:31:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:31:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:31:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.INFO: ==30435== Releasing lock... [2025-03-20 19:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:31:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:31:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:31:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:31:04] Production.INFO: Total Charge 0 [2025-03-20 19:31:04] Production.INFO: CreateAllLog End [2025-03-20 19:31:04] Production.ERROR: done [2025-03-20 19:31:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:31:05] Production.ERROR: done [2025-03-20 19:31:05] Production.INFO: Account Balance End. [2025-03-20 19:31:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:31:05] Production.INFO: ==30439== Releasing lock... [2025-03-20 19:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:31:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:31:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:31:06 [end_date_ymd] => 2025-03-20 19:31:06 [RateCDR] => 1 ) [2025-03-20 19:31:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:31:06' and `end` < '2025-03-20 19:31:06' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:31:13] Production.ERROR: CronJobId end10 [2025-03-20 19:31:13] Production.INFO: ==30437== Releasing lock... [2025-03-20 19:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:31:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:31:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:31:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:31:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:31:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:31:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:31:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:31:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:31:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:31:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:31:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:31:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:31:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:31:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:31:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:31:15] Production.INFO: call_cost start [2025-03-20 19:31:15] Production.INFO: call_cost end [2025-03-20 19:31:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:31:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:31:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:31:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:31:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:31:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:31:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:31:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:31:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:31:16] Production.INFO: ==30433== Releasing lock... [2025-03-20 19:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:31:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:31:19] Production.INFO: count ==3212 [2025-03-20 19:31:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:31:06 - End Time 2025-03-20 19:31:06 [2025-03-20 19:31:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724992', 'tblTempUsageDetail_20' ) start [2025-03-20 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724992', 'tblTempUsageDetail_20' ) end [2025-03-20 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724992', 'tblTempVendorCDR_20' ) start [2025-03-20 19:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724992', 'tblTempVendorCDR_20' ) end [2025-03-20 19:31:20] Production.INFO: ProcessCDR(1,14724992,1,1,2) [2025-03-20 19:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:31:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:31:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724992', 'tblTempUsageDetail_20' ) start [2025-03-20 19:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724992', 'tblTempUsageDetail_20' ) end [2025-03-20 19:31:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:31:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:31:25] Production.INFO: ==30441== Releasing lock... [2025-03-20 19:31:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:31:25] Production.INFO: 53 MB #Memory Used# [2025-03-20 23:32:01] Production.INFO: ==30508== Lock acquired, processing the job... [2025-03-20 23:32:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:32:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:32:01] Production.INFO: neon service started [2025-03-20 23:32:01] Production.INFO: neon service started [2025-03-20 23:32:01] Production.INFO: ==30508== Releasing lock... [2025-03-20 23:32:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:32:01] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 19:32:02] Production.INFO: ==30510== Lock acquired, processing the job... [2025-03-20 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:32:02] Production.INFO: ==30510== Releasing lock... [2025-03-20 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:32:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:32:02] Production.INFO: ==30512== Lock acquired, processing the job... [2025-03-20 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:32:02] Production.INFO: ==30512== Releasing lock... [2025-03-20 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:32:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:32:03] Production.INFO: ==30518== Lock acquired, processing the job... [2025-03-20 19:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:32:03] Production.INFO: ==30525== Lock acquired, processing the job... [2025-03-20 19:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 19:32:03] Production.INFO: ==30516== Lock acquired, processing the job... [2025-03-20 19:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:32:03] Production.INFO: count ==12 [2025-03-20 19:32:03] Production.INFO: ==30514== Lock acquired, processing the job... [2025-03-20 19:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19: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-03-20 19:32:03] Production.INFO: count ==23 [2025-03-20 19:32:03] Production.INFO: ==30520== Lock acquired, processing the job... [2025-03-20 19:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:32:03] Production.INFO: ==30522== Lock acquired, processing the job... [2025-03-20 19:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724993') start [2025-03-20 19:32:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:32:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:32:03] Production.INFO: Account Balance Start. [2025-03-20 19:32:03] Production.INFO: CreateAllLog Start [2025-03-20 19:32:03] Production.INFO: 117 [2025-03-20 19:32:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14724993') end [2025-03-20 19:32:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:32:03] Production.INFO: 1 [2025-03-20 19:32:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:32:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:04] Production.INFO: ==30525== Releasing lock... [2025-03-20 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:32:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:32:04] Production.INFO: ==30516== Releasing lock... [2025-03-20 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:32:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:32:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:04] Production.ERROR: done [2025-03-20 19:32:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:32:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:32:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:32:04] Production.INFO: Total Charge 0 [2025-03-20 19:32:04] Production.INFO: CreateAllLog End [2025-03-20 19:32:04] Production.ERROR: done [2025-03-20 19:32:04] Production.INFO: Account Balance End. [2025-03-20 19:32:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:32:04] Production.INFO: ==30520== Releasing lock... [2025-03-20 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:32:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:32:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:32:05 [end_date_ymd] => 2025-03-20 19:32:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:32:05' and `end` < '2025-03-20 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-03-20 19:32:14] Production.ERROR: CronJobId end10 [2025-03-20 19:32:14] Production.INFO: ==30518== Releasing lock... [2025-03-20 19:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:32:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:32:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:32:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:32:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:32:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:32:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:32:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:32:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:32:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:32:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:32:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:32:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:32:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:32:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:32:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:32:15] Production.INFO: call_cost start [2025-03-20 19:32:15] Production.INFO: call_cost end [2025-03-20 19:32:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:32:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:32:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:32:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:32:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:32:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:32:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:32:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:32:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:32:16] Production.INFO: ==30514== Releasing lock... [2025-03-20 19:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:32:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:32:18] Production.INFO: count ==3194 [2025-03-20 19:32:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:32:05 - End Time 2025-03-20 19:32:05 [2025-03-20 19:32:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724997', 'tblTempUsageDetail_20' ) start [2025-03-20 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14724997', 'tblTempUsageDetail_20' ) end [2025-03-20 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724997', 'tblTempVendorCDR_20' ) start [2025-03-20 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14724997', 'tblTempVendorCDR_20' ) end [2025-03-20 19:32:19] Production.INFO: ProcessCDR(1,14724997,1,1,2) [2025-03-20 19:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14724997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14724997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14724997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14724997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724997', 'tblTempUsageDetail_20' ) start [2025-03-20 19:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14724997', 'tblTempUsageDetail_20' ) end [2025-03-20 19:32:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:32:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:32:23] Production.INFO: ==30522== Releasing lock... [2025-03-20 19:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:32:23] Production.INFO: 52 MB #Memory Used# [2025-03-20 23:33:02] Production.INFO: ==30589== Lock acquired, processing the job... [2025-03-20 23:33:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:33:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:33:02] Production.INFO: neon service started [2025-03-20 23:33:02] Production.INFO: neon service started [2025-03-20 23:33:02] Production.INFO: ==30589== Releasing lock... [2025-03-20 23:33:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:33:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:33:02] Production.INFO: ==30591== Lock acquired, processing the job... [2025-03-20 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:33:02] Production.INFO: ==30591== Releasing lock... [2025-03-20 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:33:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:33:02] Production.INFO: ==30593== Lock acquired, processing the job... [2025-03-20 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:33:03] Production.INFO: ==30593== Releasing lock... [2025-03-20 23:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:33:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:33:03] Production.INFO: ==30603== Lock acquired, processing the job... [2025-03-20 19:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:33:03] Production.INFO: ==30595== Lock acquired, processing the job... [2025-03-20 19:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:33:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:33:03] Production.INFO: ==30597== Lock acquired, processing the job... [2025-03-20 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:33:03] Production.INFO: ==30605== Lock acquired, processing the job... [2025-03-20 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:33:03] Production.INFO: ==30599== Lock acquired, processing the job... [2025-03-20 19:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:33:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:33:04] Production.INFO: ==30601== Lock acquired, processing the job... [2025-03-20 19:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:33:04] Production.INFO: Account Balance Start. [2025-03-20 19:33:04] Production.INFO: CreateAllLog Start [2025-03-20 19:33:04] Production.INFO: count ==12 [2025-03-20 19:33:04] Production.INFO: 117 [2025-03-20 19:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:33:04] Production.INFO: count ==23 [2025-03-20 19:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724999') start [2025-03-20 19:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:33:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:33:04] Production.ERROR: done [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:33:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14724999') end [2025-03-20 19:33:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:33:04] Production.INFO: 1 [2025-03-20 19:33:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:33:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.ERROR: done [2025-03-20 19:33:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.INFO: ==30597== Releasing lock... [2025-03-20 19:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:33:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:33:04] Production.INFO: ==30605== Releasing lock... [2025-03-20 19:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:33:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:33:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:33:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:33:04] Production.INFO: Total Charge 0 [2025-03-20 19:33:04] Production.INFO: CreateAllLog End [2025-03-20 19:33:04] Production.INFO: Account Balance End. [2025-03-20 19:33:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:33:04] Production.INFO: ==30601== Releasing lock... [2025-03-20 19:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:33:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:33:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:33:05 [end_date_ymd] => 2025-03-20 19:33:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:33:05' and `end` < '2025-03-20 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-03-20 19:33:15] Production.ERROR: CronJobId end10 [2025-03-20 19:33:15] Production.INFO: ==30599== Releasing lock... [2025-03-20 19:33:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:33:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:33:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:33:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:33:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:33:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:33:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:33:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:33:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:33:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:33:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:33:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:33:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:33:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:33:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:33:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:33:15] Production.INFO: call_cost start [2025-03-20 19:33:15] Production.INFO: call_cost end [2025-03-20 19:33:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:33:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:33:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:33:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:33:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:33:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:33:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:33:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:33:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:33:16] Production.INFO: ==30595== Releasing lock... [2025-03-20 19:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:33:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:33:18] Production.INFO: count ==3191 [2025-03-20 19:33:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:33:05 - End Time 2025-03-20 19:33:05 [2025-03-20 19:33:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725002', 'tblTempUsageDetail_20' ) start [2025-03-20 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725002', 'tblTempUsageDetail_20' ) end [2025-03-20 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725002', 'tblTempVendorCDR_20' ) start [2025-03-20 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725002', 'tblTempVendorCDR_20' ) end [2025-03-20 19:33:19] Production.INFO: ProcessCDR(1,14725002,1,1,2) [2025-03-20 19:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725002', 'tblTempUsageDetail_20' ) start [2025-03-20 19:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725002', 'tblTempUsageDetail_20' ) end [2025-03-20 19:33:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:33:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:33:23] Production.INFO: ==30603== Releasing lock... [2025-03-20 19:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:33:23] Production.INFO: 51.75 MB #Memory Used# [2025-03-20 23:34:01] Production.INFO: ==30676== Lock acquired, processing the job... [2025-03-20 23:34:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:34:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:34:01] Production.INFO: neon service started [2025-03-20 23:34:01] Production.INFO: neon service started [2025-03-20 23:34:01] Production.INFO: ==30676== Releasing lock... [2025-03-20 23:34:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:34:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:34:02] Production.INFO: ==30678== Lock acquired, processing the job... [2025-03-20 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:34:02] Production.INFO: ==30680== Lock acquired, processing the job... [2025-03-20 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:34:02] Production.INFO: ==30678== Releasing lock... [2025-03-20 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:34:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:34:02] Production.INFO: ==30680== Releasing lock... [2025-03-20 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:34:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:34:03] Production.INFO: ==30683== Lock acquired, processing the job... [2025-03-20 19:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:34:03] Production.INFO: ==30688== Lock acquired, processing the job... [2025-03-20 19:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:34:03] Production.INFO: ==30685== Lock acquired, processing the job... [2025-03-20 19:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:34:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:34:03] Production.INFO: ==30693== Lock acquired, processing the job... [2025-03-20 19:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:34:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:34:03] Production.INFO: ==30691== Lock acquired, processing the job... [2025-03-20 19:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:34:03] Production.INFO: ==30695== Lock acquired, processing the job... [2025-03-20 19:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:34:03] Production.INFO: Account Balance Start. [2025-03-20 19:34:03] Production.INFO: CreateAllLog Start [2025-03-20 19:34:03] Production.INFO: 117 [2025-03-20 19:34:03] Production.INFO: ==30685== Releasing lock... [2025-03-20 19:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:34:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:34:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:34:03] Production.INFO: count ==12 [2025-03-20 19: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-03-20 19:34:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:34:03] Production.INFO: count ==23 [2025-03-20 19:34:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725006') start [2025-03-20 19:34:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725006') end [2025-03-20 19:34:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:34:04] Production.INFO: 1 [2025-03-20 19:34:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:34:04] Production.ERROR: done [2025-03-20 19:34:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:34:04] Production.INFO: ==30695== Releasing lock... [2025-03-20 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:34:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:34:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:04] Production.ERROR: done [2025-03-20 19:34:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:34:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:34:04] Production.INFO: Total Charge 0 [2025-03-20 19:34:04] Production.INFO: CreateAllLog End [2025-03-20 19:34:04] Production.INFO: Account Balance End. [2025-03-20 19:34:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:34:04] Production.INFO: ==30691== Releasing lock... [2025-03-20 19:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:34:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:34:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:34:05 [end_date_ymd] => 2025-03-20 19:34:05 [RateCDR] => 1 ) [2025-03-20 19:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:34:05' and `end` < '2025-03-20 19:34:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:34:12] Production.ERROR: CronJobId end10 [2025-03-20 19:34:12] Production.INFO: ==30688== Releasing lock... [2025-03-20 19:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:34:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:34:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:34:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:34:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:34:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:34:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:34:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:34:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:34:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:34:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:34:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:34:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:34:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:34:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:34:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:34:15] Production.INFO: call_cost start [2025-03-20 19:34:15] Production.INFO: call_cost end [2025-03-20 19:34:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:34:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:34:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:34:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:34:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:34:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:34:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:34:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:34:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:34:16] Production.INFO: ==30683== Releasing lock... [2025-03-20 19:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:34:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:34:18] Production.INFO: count ==3174 [2025-03-20 19:34:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:34:05 - End Time 2025-03-20 19:34:05 [2025-03-20 19:34:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725007', 'tblTempUsageDetail_20' ) start [2025-03-20 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725007', 'tblTempUsageDetail_20' ) end [2025-03-20 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725007', 'tblTempVendorCDR_20' ) start [2025-03-20 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725007', 'tblTempVendorCDR_20' ) end [2025-03-20 19:34:19] Production.INFO: ProcessCDR(1,14725007,1,1,2) [2025-03-20 19:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725007', 'tblTempUsageDetail_20' ) start [2025-03-20 19:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725007', 'tblTempUsageDetail_20' ) end [2025-03-20 19:34:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:34:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:34:24] Production.INFO: ==30693== Releasing lock... [2025-03-20 19:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:34:24] Production.INFO: 52 MB #Memory Used# [2025-03-20 23:35:02] Production.INFO: ==30767== Lock acquired, processing the job... [2025-03-20 23:35:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:35:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:35:02] Production.INFO: neon service started [2025-03-20 23:35:02] Production.INFO: neon service started [2025-03-20 23:35:02] Production.INFO: ==30767== Releasing lock... [2025-03-20 23:35:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:35:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:35:02] Production.INFO: ==30769== Lock acquired, processing the job... [2025-03-20 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:35:02] Production.INFO: ==30771== Lock acquired, processing the job... [2025-03-20 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:35:02] Production.INFO: ==30769== Releasing lock... [2025-03-20 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:35:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:35:03] Production.INFO: ==30771== Releasing lock... [2025-03-20 23:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:35:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:35:03] Production.INFO: ==30773== Lock acquired, processing the job... [2025-03-20 19:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:35:03] Production.INFO: ==30781== Lock acquired, processing the job... [2025-03-20 19:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:35:03] Production.INFO: ==30783== Lock acquired, processing the job... [2025-03-20 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:35:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:35:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:35:04] Production.INFO: ==30775== Lock acquired, processing the job... [2025-03-20 19:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:35:04] Production.INFO: count ==12 [2025-03-20 19:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:35:04] Production.INFO: ==30777== Lock acquired, processing the job... [2025-03-20 19:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:35:04] Production.INFO: count ==23 [2025-03-20 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725009') start [2025-03-20 19:35:04] Production.INFO: ==30779== Lock acquired, processing the job... [2025-03-20 19:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725009') end [2025-03-20 19:35:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:35:04] Production.INFO: 1 [2025-03-20 19:35:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:35:04] Production.INFO: Account Balance Start. [2025-03-20 19:35:04] Production.INFO: CreateAllLog Start [2025-03-20 19:35:04] Production.INFO: 117 [2025-03-20 19:35:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:35:04] Production.INFO: ==30783== Releasing lock... [2025-03-20 19:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:35:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.ERROR: done [2025-03-20 19:35:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:35:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.ERROR: done [2025-03-20 19:35:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.INFO: ==30775== Releasing lock... [2025-03-20 19:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:35:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:35:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:35:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:35:04] Production.INFO: Total Charge 0 [2025-03-20 19:35:05] Production.INFO: CreateAllLog End [2025-03-20 19:35:05] Production.INFO: Account Balance End. [2025-03-20 19:35:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:35:05] Production.INFO: ==30779== Releasing lock... [2025-03-20 19:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:35:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:35:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:35:05 [end_date_ymd] => 2025-03-20 19:35:05 [RateCDR] => 1 ) [2025-03-20 19:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:35:05' and `end` < '2025-03-20 19:35:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:35:14] Production.ERROR: CronJobId end10 [2025-03-20 19:35:15] Production.INFO: ==30777== Releasing lock... [2025-03-20 19:35:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:35:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:35:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:35:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:35:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:35:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:35:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:35:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:35:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:35:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:35:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:35:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:35:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:35:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:35:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:35:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:35:15] Production.INFO: call_cost start [2025-03-20 19:35:15] Production.INFO: call_cost end [2025-03-20 19:35:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:35:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:35:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:35:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:35:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:35:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:35:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:35:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:35:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:35:16] Production.INFO: ==30773== Releasing lock... [2025-03-20 19:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:35:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:35:18] Production.INFO: count ==3164 [2025-03-20 19:35:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:35:05 - End Time 2025-03-20 19:35:05 [2025-03-20 19:35:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725012', 'tblTempUsageDetail_20' ) start [2025-03-20 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725012', 'tblTempUsageDetail_20' ) end [2025-03-20 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725012', 'tblTempVendorCDR_20' ) start [2025-03-20 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725012', 'tblTempVendorCDR_20' ) end [2025-03-20 19:35:19] Production.INFO: ProcessCDR(1,14725012,1,1,2) [2025-03-20 19:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:35:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725012', 'tblTempUsageDetail_20' ) start [2025-03-20 19:35:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725012', 'tblTempUsageDetail_20' ) end [2025-03-20 19:35:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:35:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:35:24] Production.INFO: ==30781== Releasing lock... [2025-03-20 19:35:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:35:24] Production.INFO: 51.5 MB #Memory Used# [2025-03-20 23:36:01] Production.INFO: ==30856== Lock acquired, processing the job... [2025-03-20 23:36:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:36:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:36:01] Production.INFO: neon service started [2025-03-20 23:36:01] Production.INFO: neon service started [2025-03-20 23:36:01] Production.INFO: ==30856== Releasing lock... [2025-03-20 23:36:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:36:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:36:02] Production.INFO: ==30858== Lock acquired, processing the job... [2025-03-20 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:36:02] Production.INFO: ==30860== Lock acquired, processing the job... [2025-03-20 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:36:02] Production.INFO: ==30860== Releasing lock... [2025-03-20 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:36:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:36:02] Production.INFO: ==30858== Releasing lock... [2025-03-20 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:36:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:36:03] Production.INFO: ==30863== Lock acquired, processing the job... [2025-03-20 19:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:36:03] Production.INFO: ==30865== Lock acquired, processing the job... [2025-03-20 19:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:36:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:36:03] Production.INFO: ==30871== Lock acquired, processing the job... [2025-03-20 19:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:36:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:36:03] Production.INFO: ==30867== Lock acquired, processing the job... [2025-03-20 19:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:36:03] Production.INFO: ==30869== Lock acquired, processing the job... [2025-03-20 19:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:36:04] Production.INFO: ==30873== Lock acquired, processing the job... [2025-03-20 19:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:36:04] Production.INFO: ==30865== Releasing lock... [2025-03-20 19:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:36:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:36:04] Production.INFO: Account Balance Start. [2025-03-20 19:36:04] Production.INFO: CreateAllLog Start [2025-03-20 19:36:04] Production.INFO: 117 [2025-03-20 19:36:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:36:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:36:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:36:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:36:04] Production.INFO: count ==23 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725016') start [2025-03-20 19:36:04] Production.ERROR: done [2025-03-20 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725016') end [2025-03-20 19:36:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:36:04] Production.INFO: 1 [2025-03-20 19:36:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:36:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:36:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:04] Production.INFO: ==30873== Releasing lock... [2025-03-20 19:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:36:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:36:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:04] Production.ERROR: done [2025-03-20 19:36:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:36:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:36:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:36:05] Production.INFO: Total Charge 0 [2025-03-20 19:36:05] Production.INFO: CreateAllLog End [2025-03-20 19:36:05] Production.INFO: Account Balance End. [2025-03-20 19:36:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:36:05] Production.INFO: ==30869== Releasing lock... [2025-03-20 19:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:36:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:36:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:36:05 [end_date_ymd] => 2025-03-20 19:36:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:36:05' and `end` < '2025-03-20 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-03-20 19:36:12] Production.ERROR: CronJobId end10 [2025-03-20 19:36:12] Production.INFO: ==30867== Releasing lock... [2025-03-20 19:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:36:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:36:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:36:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:36:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:36:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:36:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:36:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:36:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:36:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:36:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:36:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:36:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:36:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:36:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:36:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:36:15] Production.INFO: call_cost start [2025-03-20 19:36:15] Production.INFO: call_cost end [2025-03-20 19:36:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:36:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:36:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:36:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:36:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:36:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:36:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:36:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:36:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:36:16] Production.INFO: ==30863== Releasing lock... [2025-03-20 19:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:36:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:36:18] Production.INFO: count ==3152 [2025-03-20 19:36:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:36:05 - End Time 2025-03-20 19:36:05 [2025-03-20 19:36:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725017', 'tblTempUsageDetail_20' ) start [2025-03-20 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725017', 'tblTempUsageDetail_20' ) end [2025-03-20 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725017', 'tblTempVendorCDR_20' ) start [2025-03-20 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725017', 'tblTempVendorCDR_20' ) end [2025-03-20 19:36:19] Production.INFO: ProcessCDR(1,14725017,1,1,2) [2025-03-20 19:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725017', 'tblTempUsageDetail_20' ) start [2025-03-20 19:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725017', 'tblTempUsageDetail_20' ) end [2025-03-20 19:36:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:36:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:36:24] Production.INFO: ==30871== Releasing lock... [2025-03-20 19:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:36:24] Production.INFO: 52 MB #Memory Used# [2025-03-20 23:37:02] Production.INFO: ==30947== Lock acquired, processing the job... [2025-03-20 23:37:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:37:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:37:02] Production.INFO: neon service started [2025-03-20 23:37:02] Production.INFO: neon service started [2025-03-20 23:37:02] Production.INFO: ==30947== Releasing lock... [2025-03-20 23:37:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:37:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:37:02] Production.INFO: ==30951== Lock acquired, processing the job... [2025-03-20 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:37:02] Production.INFO: ==30951== Releasing lock... [2025-03-20 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:37:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:37:02] Production.INFO: ==30949== Lock acquired, processing the job... [2025-03-20 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:37:02] Production.INFO: ==30949== Releasing lock... [2025-03-20 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:37:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:37:03] Production.INFO: ==30960== Lock acquired, processing the job... [2025-03-20 19:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:37:03] Production.INFO: Account Balance Start. [2025-03-20 19:37:03] Production.INFO: CreateAllLog Start [2025-03-20 19:37:03] Production.INFO: 117 [2025-03-20 19:37:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:37:03] Production.INFO: ==30964== Lock acquired, processing the job... [2025-03-20 19:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:37:03] Production.INFO: ==30954== Lock acquired, processing the job... [2025-03-20 19:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:37:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:37:04] Production.INFO: ==30956== Lock acquired, processing the job... [2025-03-20 19:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:37:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:37:04] Production.INFO: count ==12 [2025-03-20 19:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:37:04] Production.INFO: count ==23 [2025-03-20 19:37:04] Production.INFO: ==30958== Lock acquired, processing the job... [2025-03-20 19:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725019') start [2025-03-20 19:37:04] Production.INFO: ==30962== Lock acquired, processing the job... [2025-03-20 19:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:37:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:37:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725019') end [2025-03-20 19:37:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:37:04] Production.INFO: 1 [2025-03-20 19:37:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:37:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:37:04] Production.INFO: ==30964== Releasing lock... [2025-03-20 19:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:37:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:37:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.INFO: ==30956== Releasing lock... [2025-03-20 19:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:37:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:37:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:37:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:37:04] Production.INFO: Total Charge 0 [2025-03-20 19:37:04] Production.INFO: CreateAllLog End [2025-03-20 19:37:04] Production.ERROR: done [2025-03-20 19:37:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:37:04] Production.ERROR: done [2025-03-20 19:37:04] Production.INFO: Account Balance End. [2025-03-20 19:37:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:37:05] Production.INFO: ==30960== Releasing lock... [2025-03-20 19:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:37:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:37:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:37:05 [end_date_ymd] => 2025-03-20 19:37:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:37:05' and `end` < '2025-03-20 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-03-20 19:37:13] Production.ERROR: CronJobId end10 [2025-03-20 19:37:13] Production.INFO: ==30958== Releasing lock... [2025-03-20 19:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:37:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:37:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:37:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:37:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:37:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:37:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:37:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:37:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:37:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:37:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:37:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:37:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:37:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:37:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:37:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:37:16] Production.INFO: call_cost start [2025-03-20 19:37:16] Production.INFO: call_cost end [2025-03-20 19:37:17] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:37:17] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:37:17] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:37:17] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:37:17] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:37:17] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:37:17] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:37:17] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:37:17] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:37:17] Production.INFO: ==30954== Releasing lock... [2025-03-20 19:37:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:37:17] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:37:18] Production.INFO: count ==3132 [2025-03-20 19:37:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:37:05 - End Time 2025-03-20 19:37:05 [2025-03-20 19:37:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725022', 'tblTempUsageDetail_20' ) start [2025-03-20 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725022', 'tblTempUsageDetail_20' ) end [2025-03-20 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725022', 'tblTempVendorCDR_20' ) start [2025-03-20 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725022', 'tblTempVendorCDR_20' ) end [2025-03-20 19:37:19] Production.INFO: ProcessCDR(1,14725022,1,1,2) [2025-03-20 19:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:37:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:37:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725022', 'tblTempUsageDetail_20' ) start [2025-03-20 19:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725022', 'tblTempUsageDetail_20' ) end [2025-03-20 19:37:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:37:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:37:24] Production.INFO: ==30962== Releasing lock... [2025-03-20 19:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:37:24] Production.INFO: 51.25 MB #Memory Used# [2025-03-20 23:38:01] Production.INFO: ==31036== Lock acquired, processing the job... [2025-03-20 23:38:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:38:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:38:01] Production.INFO: neon service started [2025-03-20 23:38:01] Production.INFO: neon service started [2025-03-20 23:38:01] Production.INFO: ==31036== Releasing lock... [2025-03-20 23:38:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:38:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:38:01] Production.INFO: ==31038== Lock acquired, processing the job... [2025-03-20 19:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:38:02] Production.INFO: ==31038== Releasing lock... [2025-03-20 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:38:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:38:02] Production.INFO: ==31040== Lock acquired, processing the job... [2025-03-20 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:38:02] Production.INFO: ==31040== Releasing lock... [2025-03-20 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:38:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:38:03] Production.INFO: ==31053== Lock acquired, processing the job... [2025-03-20 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:38:03] Production.INFO: count ==12 [2025-03-20 19:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:38:03] Production.INFO: count ==23 [2025-03-20 19:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725023') start [2025-03-20 19:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725023') end [2025-03-20 19:38:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:38:03] Production.INFO: 1 [2025-03-20 19:38:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:38:03] Production.INFO: ==31053== Releasing lock... [2025-03-20 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:38:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:38:03] Production.INFO: ==31051== Lock acquired, processing the job... [2025-03-20 19:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:38:03] Production.INFO: ==31042== Lock acquired, processing the job... [2025-03-20 19:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:38:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:38:03] Production.INFO: ==31044== Lock acquired, processing the job... [2025-03-20 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:38:03] Production.INFO: ==31046== Lock acquired, processing the job... [2025-03-20 19:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:38:03] Production.INFO: ==31048== Lock acquired, processing the job... [2025-03-20 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:38:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:38:03] Production.INFO: Account Balance Start. [2025-03-20 19:38:03] Production.INFO: CreateAllLog Start [2025-03-20 19:38:03] Production.INFO: 117 [2025-03-20 19:38:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:38:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:03] Production.ERROR: done [2025-03-20 19:38:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:38:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.ERROR: done [2025-03-20 19:38:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.INFO: ==31044== Releasing lock... [2025-03-20 19:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:38:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:38:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:38:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:38:04] Production.INFO: Total Charge 0 [2025-03-20 19:38:04] Production.INFO: CreateAllLog End [2025-03-20 19:38:04] Production.INFO: Account Balance End. [2025-03-20 19:38:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:38:04] Production.INFO: ==31048== Releasing lock... [2025-03-20 19:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:38:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:38:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:38:05 [end_date_ymd] => 2025-03-20 19:38:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:38:05' and `end` < '2025-03-20 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-03-20 19:38:12] Production.ERROR: CronJobId end10 [2025-03-20 19:38:12] Production.INFO: ==31046== Releasing lock... [2025-03-20 19:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:38:12] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:38:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:38:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:38:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:38:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:38:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:38:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:38:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:38:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:38:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:38:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:38:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:38:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:38:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:38:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:38:15] Production.INFO: call_cost start [2025-03-20 19:38:15] Production.INFO: call_cost end [2025-03-20 19:38:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:38:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:38:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:38:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:38:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:38:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:38:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:38:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:38:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:38:16] Production.INFO: ==31042== Releasing lock... [2025-03-20 19:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:38:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:38:17] Production.INFO: count ==3122 [2025-03-20 19:38:18] Production.ERROR: pbx CDR StartTime 2025-03-20 16:38:05 - End Time 2025-03-20 19:38:05 [2025-03-20 19:38:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725027', 'tblTempUsageDetail_20' ) start [2025-03-20 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725027', 'tblTempUsageDetail_20' ) end [2025-03-20 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725027', 'tblTempVendorCDR_20' ) start [2025-03-20 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725027', 'tblTempVendorCDR_20' ) end [2025-03-20 19:38:19] Production.INFO: ProcessCDR(1,14725027,1,1,2) [2025-03-20 19:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725027', 'tblTempUsageDetail_20' ) start [2025-03-20 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725027', 'tblTempUsageDetail_20' ) end [2025-03-20 19:38:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:38:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:38:23] Production.INFO: ==31051== Releasing lock... [2025-03-20 19:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:38:23] Production.INFO: 51.25 MB #Memory Used# [2025-03-20 23:39:02] Production.INFO: ==31122== Lock acquired, processing the job... [2025-03-20 23:39:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:39:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:39:02] Production.INFO: neon service started [2025-03-20 23:39:02] Production.INFO: neon service started [2025-03-20 23:39:02] Production.INFO: ==31122== Releasing lock... [2025-03-20 23:39:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:39:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:39:02] Production.INFO: ==31124== Lock acquired, processing the job... [2025-03-20 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:39:02] Production.INFO: ==31124== Releasing lock... [2025-03-20 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:39:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:39:02] Production.INFO: ==31126== Lock acquired, processing the job... [2025-03-20 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:39:02] Production.INFO: ==31126== Releasing lock... [2025-03-20 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:39:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:39:03] Production.INFO: ==31135== Lock acquired, processing the job... [2025-03-20 19:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:39:03] Production.INFO: ==31133== Lock acquired, processing the job... [2025-03-20 19:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:39:03] Production.INFO: ==31131== Lock acquired, processing the job... [2025-03-20 19:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:39:03] Production.INFO: ==31129== Lock acquired, processing the job... [2025-03-20 19:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:39:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:39:03] Production.INFO: Account Balance Start. [2025-03-20 19:39:03] Production.INFO: CreateAllLog Start [2025-03-20 19:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:39:03] Production.INFO: 117 [2025-03-20 19:39:03] Production.INFO: ==31137== Lock acquired, processing the job... [2025-03-20 19:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:39:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:39:03] Production.INFO: ==31139== Lock acquired, processing the job... [2025-03-20 19:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:39:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:39:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:39:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:04] Production.INFO: count ==12 [2025-03-20 19:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:39:04] Production.INFO: ==31131== Releasing lock... [2025-03-20 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:39:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:39:04] Production.INFO: count ==23 [2025-03-20 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725031') start [2025-03-20 19:39:04] Production.ERROR: done [2025-03-20 19:39:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:39:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725031') end [2025-03-20 19:39:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:39:04] Production.INFO: 1 [2025-03-20 19:39:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:39:04] Production.ERROR: done [2025-03-20 19:39:04] Production.INFO: ==31139== Releasing lock... [2025-03-20 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:39:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:39:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:39:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:39:04] Production.INFO: Total Charge 0 [2025-03-20 19:39:04] Production.INFO: CreateAllLog End [2025-03-20 19:39:04] Production.INFO: Account Balance End. [2025-03-20 19:39:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:39:04] Production.INFO: ==31135== Releasing lock... [2025-03-20 19:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:39:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:39:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:39:05 [end_date_ymd] => 2025-03-20 19:39:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:39:05' and `end` < '2025-03-20 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-03-20 19:39:13] Production.ERROR: CronJobId end10 [2025-03-20 19:39:13] Production.INFO: ==31133== Releasing lock... [2025-03-20 19:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:39:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:39:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:39:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:39:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:39:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:39:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:39:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:39:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:39:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:39:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:39:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:39:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:39:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:39:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:39:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:39:15] Production.INFO: call_cost start [2025-03-20 19:39:15] Production.INFO: call_cost end [2025-03-20 19:39:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:39:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:39:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:39:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:39:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:39:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:39:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:39:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:39:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:39:16] Production.INFO: ==31129== Releasing lock... [2025-03-20 19:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:39:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:39:18] Production.INFO: count ==3119 [2025-03-20 19:39:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:39:05 - End Time 2025-03-20 19:39:05 [2025-03-20 19:39:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725032', 'tblTempUsageDetail_20' ) start [2025-03-20 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725032', 'tblTempUsageDetail_20' ) end [2025-03-20 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725032', 'tblTempVendorCDR_20' ) start [2025-03-20 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725032', 'tblTempVendorCDR_20' ) end [2025-03-20 19:39:19] Production.INFO: ProcessCDR(1,14725032,1,1,2) [2025-03-20 19:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725032', 'tblTempUsageDetail_20' ) start [2025-03-20 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725032', 'tblTempUsageDetail_20' ) end [2025-03-20 19:39:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:39:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:39:22] Production.INFO: ==31137== Releasing lock... [2025-03-20 19:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:39:22] Production.INFO: 51.5 MB #Memory Used# [2025-03-20 23:40:01] Production.INFO: ==31222== Lock acquired, processing the job... [2025-03-20 23:40:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:40:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:40:01] Production.INFO: neon service started [2025-03-20 23:40:01] Production.INFO: neon service started [2025-03-20 23:40:01] Production.INFO: ==31222== Releasing lock... [2025-03-20 23:40:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:40:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:40:01] Production.INFO: ==31224== Lock acquired, processing the job... [2025-03-20 19:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:40:02] Production.INFO: ==31226== Lock acquired, processing the job... [2025-03-20 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:40:02] Production.INFO: ==31224== Releasing lock... [2025-03-20 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:40:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:40:02] Production.INFO: ==31226== Releasing lock... [2025-03-20 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:40:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:40:03] Production.INFO: ==31228== Lock acquired, processing the job... [2025-03-20 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 19:40:03] Production.INFO: ==31230== Lock acquired, processing the job... [2025-03-20 19:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:40:03] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 19:40:03] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 19:40:03] Production.INFO: ==31228== Releasing lock... [2025-03-20 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 19:40:03] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 19:40:03] Production.INFO: ==31232== Lock acquired, processing the job... [2025-03-20 19:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:40:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:40:03] Production.INFO: ==31237== Lock acquired, processing the job... [2025-03-20 19:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:40:03] Production.INFO: ==31234== Lock acquired, processing the job... [2025-03-20 19:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:40:03] Production.INFO: Account Balance Start. [2025-03-20 19:40:03] Production.INFO: CreateAllLog Start [2025-03-20 19:40:03] Production.INFO: 117 [2025-03-20 19:40:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:40:03] Production.INFO: ==31239== Lock acquired, processing the job... [2025-03-20 19:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:40:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:40:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:40:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:40:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:03] Production.INFO: ==31241== Lock acquired, processing the job... [2025-03-20 19:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 19:40:03] Production.INFO: ==31243== Lock acquired, processing the job... [2025-03-20 19:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:40:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:40:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:40:04] Production.INFO: ==31232== Releasing lock... [2025-03-20 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:40:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:40:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:40:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:40:04] Production.INFO: count ==23 [2025-03-20 19:40:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725036') start [2025-03-20 19:40:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:04] Production.ERROR: done [2025-03-20 19:40:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725036') end [2025-03-20 19:40:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:40:04] Production.INFO: 1 [2025-03-20 19:40:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:40:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:40:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:40:04] Production.INFO: Total Charge 0 [2025-03-20 19:40:04] Production.INFO: CreateAllLog End [2025-03-20 19:40:04] Production.INFO: ==31243== Releasing lock... [2025-03-20 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:40:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:40:04] Production.ERROR: done [2025-03-20 19:40:04] Production.ERROR: done [2025-03-20 19:40:04] Production.INFO: Account Balance End. [2025-03-20 19:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 19:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14725038', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 19:40:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:40:04] Production.INFO: ==31237== Releasing lock... [2025-03-20 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:40:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:40:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:40:05 [end_date_ymd] => 2025-03-20 19:40:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:40:05' and `end` < '2025-03-20 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-03-20 19:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14725038', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 19:40:09] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 19:40:09] Production.INFO: ProcessCDR(1,14725038,1,1,2) [2025-03-20 19:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14725038,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14725038,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:40:09] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:40:09] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:40:09] Production.INFO: ==31241== Releasing lock... [2025-03-20 19:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 19:40:09] Production.INFO: 26 MB #Memory Used# [2025-03-20 19:40:15] Production.ERROR: CronJobId end10 [2025-03-20 19:40:15] Production.INFO: ==31234== Releasing lock... [2025-03-20 19:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:40:15] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:40:16] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:40:16] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:40:16] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:40:16] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:40:16] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:40:16] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:40:16] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:40:16] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:40:16] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:40:16] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:40:16] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:40:16] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:40:16] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:40:16] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:40:17] Production.INFO: call_cost start [2025-03-20 19:40:17] Production.INFO: call_cost end [2025-03-20 19:40:18] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:40:18] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:40:18] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:40:18] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:40:18] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:40:18] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:40:18] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:40:18] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:40:18] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:40:18] Production.INFO: ==31230== Releasing lock... [2025-03-20 19:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:40:18] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:40:18] Production.INFO: count ==3105 [2025-03-20 19:40:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:40:05 - End Time 2025-03-20 19:40:05 [2025-03-20 19:40:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725037', 'tblTempUsageDetail_20' ) start [2025-03-20 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725037', 'tblTempUsageDetail_20' ) end [2025-03-20 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725037', 'tblTempVendorCDR_20' ) start [2025-03-20 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725037', 'tblTempVendorCDR_20' ) end [2025-03-20 19:40:19] Production.INFO: ProcessCDR(1,14725037,1,1,2) [2025-03-20 19:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725037', 'tblTempUsageDetail_20' ) start [2025-03-20 19:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725037', 'tblTempUsageDetail_20' ) end [2025-03-20 19:40:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:40:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:40:22] Production.INFO: ==31239== Releasing lock... [2025-03-20 19:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:40:22] Production.INFO: 51.25 MB #Memory Used# [2025-03-20 23:41:02] Production.INFO: ==31329== Lock acquired, processing the job... [2025-03-20 23:41:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:41:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:41:02] Production.INFO: neon service started [2025-03-20 23:41:02] Production.INFO: neon service started [2025-03-20 23:41:02] Production.INFO: ==31329== Releasing lock... [2025-03-20 23:41:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:41:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:41:02] Production.INFO: ==31331== Lock acquired, processing the job... [2025-03-20 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:41:02] Production.INFO: ==31333== Lock acquired, processing the job... [2025-03-20 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:41:02] Production.INFO: ==31333== Releasing lock... [2025-03-20 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:41:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:41:02] Production.INFO: ==31331== Releasing lock... [2025-03-20 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:41:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:41:03] Production.INFO: ==31342== Lock acquired, processing the job... [2025-03-20 19:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:41:03] Production.INFO: ==31344== Lock acquired, processing the job... [2025-03-20 19:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:41:03] Production.INFO: Account Balance Start. [2025-03-20 19:41:03] Production.INFO: CreateAllLog Start [2025-03-20 19:41:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:41:03] Production.INFO: 117 [2025-03-20 19:41:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:41:03] Production.INFO: ==31346== Lock acquired, processing the job... [2025-03-20 19:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:03] Production.INFO: ==31336== Lock acquired, processing the job... [2025-03-20 19:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:41:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:03] Production.INFO: ==31338== Lock acquired, processing the job... [2025-03-20 19:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:41:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:41:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:03] Production.INFO: ==31340== Lock acquired, processing the job... [2025-03-20 19:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:41:03] Production.INFO: count ==12 [2025-03-20 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-03-20 19:41:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:41:03] Production.INFO: count ==23 [2025-03-20 19:41:03] Production.INFO: Date 2025-03-13 [2025-03-20 19:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725040') start [2025-03-20 19:41:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:41:04] Production.ERROR: done [2025-03-20 19:41:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:41:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725040') end [2025-03-20 19:41:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:41:04] Production.INFO: 1 [2025-03-20 19:41:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:41:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:04] Production.INFO: ==31346== Releasing lock... [2025-03-20 19:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:41:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:41:04] Production.INFO: ==31338== Releasing lock... [2025-03-20 19:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:41:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:41:04] Production.ERROR: done [2025-03-20 19:41:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:41:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:41:04] Production.INFO: Total Charge 0 [2025-03-20 19:41:04] Production.INFO: CreateAllLog End [2025-03-20 19:41:04] Production.INFO: Account Balance End. [2025-03-20 19:41:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:41:04] Production.INFO: ==31342== Releasing lock... [2025-03-20 19:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:41:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:41:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:41:05 [end_date_ymd] => 2025-03-20 19:41:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:41:05' and `end` < '2025-03-20 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-03-20 19:41:13] Production.ERROR: CronJobId end10 [2025-03-20 19:41:13] Production.INFO: ==31340== Releasing lock... [2025-03-20 19:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:41:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:41:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:41:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:41:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:41:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:41:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:41:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:41:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:41:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:41:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:41:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:41:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:41:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:41:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:41:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:41:14] Production.INFO: call_cost start [2025-03-20 19:41:14] Production.INFO: call_cost end [2025-03-20 19:41:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:41:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:41:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:41:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:41:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:41:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:41:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:41:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:41:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:41:15] Production.INFO: ==31336== Releasing lock... [2025-03-20 19:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:41:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:41:17] Production.INFO: count ==3031 [2025-03-20 19:41:18] Production.ERROR: pbx CDR StartTime 2025-03-20 16:41:05 - End Time 2025-03-20 19:41:05 [2025-03-20 19:41:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725043', 'tblTempUsageDetail_20' ) start [2025-03-20 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725043', 'tblTempUsageDetail_20' ) end [2025-03-20 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725043', 'tblTempVendorCDR_20' ) start [2025-03-20 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725043', 'tblTempVendorCDR_20' ) end [2025-03-20 19:41:18] Production.INFO: ProcessCDR(1,14725043,1,1,2) [2025-03-20 19:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725043', 'tblTempUsageDetail_20' ) start [2025-03-20 19:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725043', 'tblTempUsageDetail_20' ) end [2025-03-20 19:41:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:41:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:41:23] Production.INFO: ==31344== Releasing lock... [2025-03-20 19:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:41:23] Production.INFO: 50.75 MB #Memory Used# [2025-03-20 23:42:01] Production.INFO: ==31433== Lock acquired, processing the job... [2025-03-20 23:42:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:42:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:42:01] Production.INFO: neon service started [2025-03-20 23:42:01] Production.INFO: neon service started [2025-03-20 23:42:01] Production.INFO: ==31433== Releasing lock... [2025-03-20 23:42:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:42:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:42:01] Production.INFO: ==31435== Lock acquired, processing the job... [2025-03-20 19:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:42:02] Production.INFO: ==31435== Releasing lock... [2025-03-20 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:42:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:42:02] Production.INFO: ==31437== Lock acquired, processing the job... [2025-03-20 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:42:02] Production.INFO: ==31437== Releasing lock... [2025-03-20 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:42:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:42:03] Production.INFO: ==31439== Lock acquired, processing the job... [2025-03-20 19:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:42:03] Production.INFO: ==31443== Lock acquired, processing the job... [2025-03-20 19:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:42:03] Production.INFO: ==31448== Lock acquired, processing the job... [2025-03-20 19:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:42:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:42:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:42:03] Production.INFO: ==31441== Lock acquired, processing the job... [2025-03-20 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:42:03] Production.INFO: ==31450== Lock acquired, processing the job... [2025-03-20 19:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:42:03] Production.INFO: ==31446== Lock acquired, processing the job... [2025-03-20 19:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:42:03] Production.INFO: count ==12 [2025-03-20 19:42:03] Production.ERROR: done [2025-03-20 19:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:42:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:42:03] Production.INFO: Account Balance Start. [2025-03-20 19:42:03] Production.INFO: CreateAllLog Start [2025-03-20 19:42:03] Production.INFO: count ==23 [2025-03-20 19:42:03] Production.INFO: 117 [2025-03-20 19:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725045') start [2025-03-20 19:42:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725045') end [2025-03-20 19:42:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:42:03] Production.INFO: 1 [2025-03-20 19:42:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:42:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:42:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:04] Production.INFO: ==31450== Releasing lock... [2025-03-20 19:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:42:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:42:04] Production.ERROR: done [2025-03-20 19:42:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:04] Production.INFO: ==31441== Releasing lock... [2025-03-20 19:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:42:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:42:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:42:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:42:04] Production.INFO: Total Charge 0 [2025-03-20 19:42:04] Production.INFO: CreateAllLog End [2025-03-20 19:42:04] Production.INFO: Account Balance End. [2025-03-20 19:42:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:42:04] Production.INFO: ==31446== Releasing lock... [2025-03-20 19:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:42:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:42:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:42:05 [end_date_ymd] => 2025-03-20 19:42:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:42:05' and `end` < '2025-03-20 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-03-20 19:42:14] Production.ERROR: CronJobId end10 [2025-03-20 19:42:14] Production.INFO: ==31443== Releasing lock... [2025-03-20 19:42:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:42:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:42:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:42:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:42:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:42:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:42:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:42:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:42:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:42:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:42:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:42:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:42:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:42:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:42:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:42:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:42:15] Production.INFO: call_cost start [2025-03-20 19:42:15] Production.INFO: call_cost end [2025-03-20 19:42:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:42:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:42:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:42:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:42:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:42:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:42:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:42:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:42:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:42:16] Production.INFO: ==31439== Releasing lock... [2025-03-20 19:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:42:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:42:17] Production.INFO: count ==3015 [2025-03-20 19:42:18] Production.ERROR: pbx CDR StartTime 2025-03-20 16:42:05 - End Time 2025-03-20 19:42:05 [2025-03-20 19:42:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725048', 'tblTempUsageDetail_20' ) start [2025-03-20 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725048', 'tblTempUsageDetail_20' ) end [2025-03-20 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725048', 'tblTempVendorCDR_20' ) start [2025-03-20 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725048', 'tblTempVendorCDR_20' ) end [2025-03-20 19:42:19] Production.INFO: ProcessCDR(1,14725048,1,1,2) [2025-03-20 19:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725048', 'tblTempUsageDetail_20' ) start [2025-03-20 19:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725048', 'tblTempUsageDetail_20' ) end [2025-03-20 19:42:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:42:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:42:22] Production.INFO: ==31448== Releasing lock... [2025-03-20 19:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:42:22] Production.INFO: 50.5 MB #Memory Used# [2025-03-20 23:43:01] Production.INFO: ==31537== Lock acquired, processing the job... [2025-03-20 23:43:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:43:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:43:01] Production.INFO: neon service started [2025-03-20 23:43:01] Production.INFO: neon service started [2025-03-20 23:43:01] Production.INFO: ==31537== Releasing lock... [2025-03-20 23:43:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:43:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:43:02] Production.INFO: ==31539== Lock acquired, processing the job... [2025-03-20 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:43:02] Production.INFO: ==31539== Releasing lock... [2025-03-20 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:43:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:43:02] Production.INFO: ==31541== Lock acquired, processing the job... [2025-03-20 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:43:02] Production.INFO: ==31541== Releasing lock... [2025-03-20 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:43:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:43:03] Production.INFO: ==31547== Lock acquired, processing the job... [2025-03-20 19:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:43:03] Production.INFO: ==31553== Lock acquired, processing the job... [2025-03-20 19:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 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-03-20 19:43:03] Production.INFO: ==31543== Lock acquired, processing the job... [2025-03-20 19:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:43:03] Production.INFO: count ==12 [2025-03-20 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-03-20 19:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:43:03] Production.INFO: count ==23 [2025-03-20 19:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:43:03] Production.INFO: ==31545== Lock acquired, processing the job... [2025-03-20 19:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725049') start [2025-03-20 19:43:03] Production.INFO: ==31549== Lock acquired, processing the job... [2025-03-20 19:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:43:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:43:04] Production.INFO: ==31551== Lock acquired, processing the job... [2025-03-20 19:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725049') end [2025-03-20 19:43:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:43:04] Production.INFO: 1 [2025-03-20 19:43:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:43:04] Production.INFO: ==31553== Releasing lock... [2025-03-20 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:43:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:43:04] Production.INFO: Account Balance Start. [2025-03-20 19:43:04] Production.INFO: CreateAllLog Start [2025-03-20 19:43:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:43:04] Production.INFO: 117 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: ==31545== Releasing lock... [2025-03-20 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:43:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:43:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:43:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:43:04] Production.ERROR: done [2025-03-20 19:43:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:43:04] Production.INFO: Total Charge 0 [2025-03-20 19:43:04] Production.INFO: CreateAllLog End [2025-03-20 19:43:04] Production.ERROR: done [2025-03-20 19:43:04] Production.INFO: Account Balance End. [2025-03-20 19:43:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:43:04] Production.INFO: ==31549== Releasing lock... [2025-03-20 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:43:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:43:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:43:05 [end_date_ymd] => 2025-03-20 19:43:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:43:05' and `end` < '2025-03-20 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-03-20 19:43:13] Production.ERROR: CronJobId end10 [2025-03-20 19:43:13] Production.INFO: ==31547== Releasing lock... [2025-03-20 19:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:43:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:43:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:43:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:43:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:43:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:43:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:43:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:43:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:43:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:43:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:43:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:43:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:43:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:43:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:43:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:43:15] Production.INFO: call_cost start [2025-03-20 19:43:15] Production.INFO: call_cost end [2025-03-20 19:43:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:43:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:43:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:43:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:43:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:43:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:43:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:43:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:43:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:43:16] Production.INFO: ==31543== Releasing lock... [2025-03-20 19:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:43:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:43:18] Production.INFO: count ==3014 [2025-03-20 19:43:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:43:05 - End Time 2025-03-20 19:43:05 [2025-03-20 19:43:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725053', 'tblTempUsageDetail_20' ) start [2025-03-20 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725053', 'tblTempUsageDetail_20' ) end [2025-03-20 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725053', 'tblTempVendorCDR_20' ) start [2025-03-20 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725053', 'tblTempVendorCDR_20' ) end [2025-03-20 19:43:19] Production.INFO: ProcessCDR(1,14725053,1,1,2) [2025-03-20 19:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725053', 'tblTempUsageDetail_20' ) start [2025-03-20 19:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725053', 'tblTempUsageDetail_20' ) end [2025-03-20 19:43:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:43:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:43:23] Production.INFO: ==31551== Releasing lock... [2025-03-20 19:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:43:23] Production.INFO: 50.5 MB #Memory Used# [2025-03-20 23:44:02] Production.INFO: ==31643== Lock acquired, processing the job... [2025-03-20 23:44:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:44:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:44:02] Production.INFO: neon service started [2025-03-20 23:44:02] Production.INFO: neon service started [2025-03-20 23:44:02] Production.INFO: ==31643== Releasing lock... [2025-03-20 23:44:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:44:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:44:02] Production.INFO: ==31647== Lock acquired, processing the job... [2025-03-20 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:44:02] Production.INFO: ==31647== Releasing lock... [2025-03-20 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:44:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:44:03] Production.INFO: ==31645== Lock acquired, processing the job... [2025-03-20 19:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:44:03] Production.INFO: ==31645== Releasing lock... [2025-03-20 19:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:44:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:44:04] Production.INFO: ==31653== Lock acquired, processing the job... [2025-03-20 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:44:04] Production.INFO: ==31651== Lock acquired, processing the job... [2025-03-20 19:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:44:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:44:04] Production.INFO: ==31655== Lock acquired, processing the job... [2025-03-20 19:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:44:04] Production.INFO: ==31653== Releasing lock... [2025-03-20 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:44:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:44:04] Production.INFO: ==31660== Lock acquired, processing the job... [2025-03-20 19:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:44:04] Production.INFO: ==31658== Lock acquired, processing the job... [2025-03-20 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:44:04] Production.INFO: ==31662== Lock acquired, processing the job... [2025-03-20 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:44:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:44:04] Production.INFO: Account Balance Start. [2025-03-20 19:44:04] Production.INFO: CreateAllLog Start [2025-03-20 19:44:04] Production.INFO: 117 [2025-03-20 19:44:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:44:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:04] Production.INFO: count ==12 [2025-03-20 19:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:44:04] Production.INFO: count ==23 [2025-03-20 19:44:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725057') start [2025-03-20 19:44:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:44:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14725057') end [2025-03-20 19:44:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:44:05] Production.INFO: 1 [2025-03-20 19:44:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:44:05] Production.INFO: Date 2025-03-14 [2025-03-20 19:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:05] Production.INFO: Date 2025-03-15 [2025-03-20 19:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:05] Production.INFO: ==31662== Releasing lock... [2025-03-20 19:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:44:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:44:05] Production.ERROR: done [2025-03-20 19:44:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:44:05] Production.INFO: Date 2025-03-16 [2025-03-20 19:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:05] Production.INFO: Date 2025-03-17 [2025-03-20 19:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:05] Production.INFO: Date 2025-03-18 [2025-03-20 19:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:05] Production.ERROR: done [2025-03-20 19:44:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:44:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:44:05] Production.INFO: Total Charge 0 [2025-03-20 19:44:05] Production.INFO: CreateAllLog End [2025-03-20 19:44:05] Production.INFO: Account Balance End. [2025-03-20 19:44:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:44:05] Production.INFO: ==31658== Releasing lock... [2025-03-20 19:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:44:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:44:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:44:06 [end_date_ymd] => 2025-03-20 19:44:06 [RateCDR] => 1 ) [2025-03-20 19: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-03-20 16:44:06' and `end` < '2025-03-20 19: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-03-20 19:44:14] Production.ERROR: CronJobId end10 [2025-03-20 19:44:14] Production.INFO: ==31655== Releasing lock... [2025-03-20 19:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:44:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:44:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:44:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:44:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:44:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:44:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:44:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:44:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:44:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:44:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:44:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:44:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:44:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:44:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:44:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:44:15] Production.INFO: call_cost start [2025-03-20 19:44:15] Production.INFO: call_cost end [2025-03-20 19:44:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:44:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:44:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:44:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:44:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:44:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:44:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:44:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:44:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:44:16] Production.INFO: ==31651== Releasing lock... [2025-03-20 19:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:44:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:44:19] Production.INFO: count ==2991 [2025-03-20 19:44:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:44:06 - End Time 2025-03-20 19:44:06 [2025-03-20 19:44:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725058', 'tblTempUsageDetail_20' ) start [2025-03-20 19:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725058', 'tblTempUsageDetail_20' ) end [2025-03-20 19:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725058', 'tblTempVendorCDR_20' ) start [2025-03-20 19:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725058', 'tblTempVendorCDR_20' ) end [2025-03-20 19:44:20] Production.INFO: ProcessCDR(1,14725058,1,1,2) [2025-03-20 19:44:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:44:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:44:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:44:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725058', 'tblTempUsageDetail_20' ) start [2025-03-20 19:44:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725058', 'tblTempUsageDetail_20' ) end [2025-03-20 19:44:25] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:44:25] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:44:25] Production.INFO: ==31660== Releasing lock... [2025-03-20 19:44:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:44:25] Production.INFO: 50.25 MB #Memory Used# [2025-03-20 23:45:01] Production.INFO: ==31732== Lock acquired, processing the job... [2025-03-20 23:45:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:45:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:45:01] Production.INFO: neon service started [2025-03-20 23:45:01] Production.INFO: neon service started [2025-03-20 23:45:01] Production.INFO: ==31732== Releasing lock... [2025-03-20 23:45:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:45:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:45:02] Production.INFO: ==31735== Lock acquired, processing the job... [2025-03-20 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:45:02] Production.INFO: ==31735== Releasing lock... [2025-03-20 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:45:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:45:02] Production.INFO: ==31738== Lock acquired, processing the job... [2025-03-20 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:45:02] Production.INFO: ==31738== Releasing lock... [2025-03-20 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:45:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:45:03] Production.INFO: ==31741== Lock acquired, processing the job... [2025-03-20 19:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:45:03] Production.INFO: ==31743== Lock acquired, processing the job... [2025-03-20 19:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:45:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:45:03] Production.INFO: ==31745== Lock acquired, processing the job... [2025-03-20 19:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:45:03] Production.INFO: ==31747== Lock acquired, processing the job... [2025-03-20 19:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:45:03] Production.INFO: ==31749== Lock acquired, processing the job... [2025-03-20 19:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:45:03] Production.INFO: ==31751== Lock acquired, processing the job... [2025-03-20 19:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:45:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:45:03] Production.INFO: Account Balance Start. [2025-03-20 19:45:03] Production.INFO: CreateAllLog Start [2025-03-20 19:45:03] Production.INFO: 117 [2025-03-20 19:45:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:45:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:45:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:03] Production.INFO: count ==12 [2025-03-20 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-03-20 19:45:04] Production.INFO: count ==23 [2025-03-20 19:45:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725062') start [2025-03-20 19:45:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:04] Production.INFO: ==31743== Releasing lock... [2025-03-20 19:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:45:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:45:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725062') end [2025-03-20 19:45:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:45:04] Production.INFO: 1 [2025-03-20 19:45:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:45:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:04] Production.INFO: ==31751== Releasing lock... [2025-03-20 19:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:45:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:45:04] Production.ERROR: done [2025-03-20 19:45:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:45:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:45:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:45:04] Production.INFO: Total Charge 0 [2025-03-20 19:45:04] Production.INFO: CreateAllLog End [2025-03-20 19:45:04] Production.ERROR: done [2025-03-20 19:45:04] Production.INFO: Account Balance End. [2025-03-20 19:45:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:45:04] Production.INFO: ==31747== Releasing lock... [2025-03-20 19:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:45:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:45:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:45:05 [end_date_ymd] => 2025-03-20 19:45:05 [RateCDR] => 1 ) [2025-03-20 19:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:45:05' and `end` < '2025-03-20 19:45:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:45:14] Production.ERROR: CronJobId end10 [2025-03-20 19:45:14] Production.INFO: ==31745== Releasing lock... [2025-03-20 19:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:45:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:45:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:45:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:45:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:45:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:45:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:45:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:45:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:45:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:45:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:45:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:45:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:45:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:45:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:45:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:45:15] Production.INFO: call_cost start [2025-03-20 19:45:15] Production.INFO: call_cost end [2025-03-20 19:45:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:45:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:45:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:45:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:45:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:45:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:45:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:45:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:45:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:45:16] Production.INFO: ==31741== Releasing lock... [2025-03-20 19:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:45:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:45:18] Production.INFO: count ==2980 [2025-03-20 19:45:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:45:05 - End Time 2025-03-20 19:45:05 [2025-03-20 19:45:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725063', 'tblTempUsageDetail_20' ) start [2025-03-20 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725063', 'tblTempUsageDetail_20' ) end [2025-03-20 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725063', 'tblTempVendorCDR_20' ) start [2025-03-20 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725063', 'tblTempVendorCDR_20' ) end [2025-03-20 19:45:19] Production.INFO: ProcessCDR(1,14725063,1,1,2) [2025-03-20 19:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725063', 'tblTempUsageDetail_20' ) start [2025-03-20 19:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725063', 'tblTempUsageDetail_20' ) end [2025-03-20 19:45:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:45:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:45:22] Production.INFO: ==31749== Releasing lock... [2025-03-20 19:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:45:22] Production.INFO: 51.25 MB #Memory Used# [2025-03-20 23:46:02] Production.INFO: ==31867== Lock acquired, processing the job... [2025-03-20 23:46:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:46:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:46:02] Production.INFO: neon service started [2025-03-20 23:46:02] Production.INFO: neon service started [2025-03-20 23:46:02] Production.INFO: ==31867== Releasing lock... [2025-03-20 23:46:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:46:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:46:02] Production.INFO: ==31871== Lock acquired, processing the job... [2025-03-20 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:46:02] Production.INFO: ==31871== Releasing lock... [2025-03-20 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:46:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:46:02] Production.INFO: ==31869== Lock acquired, processing the job... [2025-03-20 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:46:03] Production.INFO: ==31869== Releasing lock... [2025-03-20 19:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:46:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:46:04] Production.INFO: ==31878== Lock acquired, processing the job... [2025-03-20 19:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:46:04] Production.INFO: ==31884== Lock acquired, processing the job... [2025-03-20 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:46:04] Production.INFO: ==31874== Lock acquired, processing the job... [2025-03-20 19:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:46:04] Production.INFO: ==31876== Lock acquired, processing the job... [2025-03-20 19:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:46:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:46:04] Production.INFO: ==31880== Lock acquired, processing the job... [2025-03-20 19:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:46:04] Production.INFO: ==31882== Lock acquired, processing the job... [2025-03-20 19:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:46:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:46:04] Production.INFO: Account Balance Start. [2025-03-20 19:46:04] Production.INFO: CreateAllLog Start [2025-03-20 19:46:04] Production.INFO: 117 [2025-03-20 19:46:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:46:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:04] Production.INFO: count ==12 [2025-03-20 19:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:46:04] Production.INFO: count ==23 [2025-03-20 19:46:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725064') start [2025-03-20 19:46:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:04] Production.INFO: ==31876== Releasing lock... [2025-03-20 19:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:46:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:46:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725064') end [2025-03-20 19:46:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:46:04] Production.INFO: 1 [2025-03-20 19:46:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:46:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:04] Production.INFO: ==31884== Releasing lock... [2025-03-20 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:46:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:46:04] Production.ERROR: done [2025-03-20 19:46:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:46:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:46:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:05] Production.INFO: Date 2025-03-16 [2025-03-20 19:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:05] Production.ERROR: done [2025-03-20 19:46:05] Production.INFO: Date 2025-03-17 [2025-03-20 19:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:05] Production.INFO: Date 2025-03-18 [2025-03-20 19:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:46:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:46:05] Production.INFO: Total Charge 0 [2025-03-20 19:46:05] Production.INFO: CreateAllLog End [2025-03-20 19:46:05] Production.INFO: Account Balance End. [2025-03-20 19:46:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:46:05] Production.INFO: ==31880== Releasing lock... [2025-03-20 19:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:46:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:46:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:46:06 [end_date_ymd] => 2025-03-20 19:46:06 [RateCDR] => 1 ) [2025-03-20 19: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-03-20 16:46:06' and `end` < '2025-03-20 19: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-03-20 19:46:14] Production.ERROR: CronJobId end10 [2025-03-20 19:46:14] Production.INFO: ==31878== Releasing lock... [2025-03-20 19:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:46:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:46:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:46:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:46:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:46:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:46:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:46:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:46:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:46:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:46:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:46:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:46:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:46:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:46:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:46:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:46:15] Production.INFO: call_cost start [2025-03-20 19:46:15] Production.INFO: call_cost end [2025-03-20 19:46:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:46:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:46:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:46:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:46:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:46:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:46:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:46:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:46:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:46:16] Production.INFO: ==31874== Releasing lock... [2025-03-20 19:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:46:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:46:18] Production.INFO: count ==2984 [2025-03-20 19:46:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:46:06 - End Time 2025-03-20 19:46:06 [2025-03-20 19:46:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725068', 'tblTempUsageDetail_20' ) start [2025-03-20 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725068', 'tblTempUsageDetail_20' ) end [2025-03-20 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725068', 'tblTempVendorCDR_20' ) start [2025-03-20 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725068', 'tblTempVendorCDR_20' ) end [2025-03-20 19:46:19] Production.INFO: ProcessCDR(1,14725068,1,1,2) [2025-03-20 19:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725068', 'tblTempUsageDetail_20' ) start [2025-03-20 19:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725068', 'tblTempUsageDetail_20' ) end [2025-03-20 19:46:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:46:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:46:24] Production.INFO: ==31882== Releasing lock... [2025-03-20 19:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:46:24] Production.INFO: 50.25 MB #Memory Used# [2025-03-20 23:47:01] Production.INFO: ==31974== Lock acquired, processing the job... [2025-03-20 23:47:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:47:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:47:01] Production.INFO: neon service started [2025-03-20 23:47:01] Production.INFO: neon service started [2025-03-20 23:47:01] Production.INFO: ==31974== Releasing lock... [2025-03-20 23:47:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:47:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:47:02] Production.INFO: ==31976== Lock acquired, processing the job... [2025-03-20 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:47:02] Production.INFO: ==31976== Releasing lock... [2025-03-20 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:47:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:47:02] Production.INFO: ==31978== Lock acquired, processing the job... [2025-03-20 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:47:02] Production.INFO: ==31978== Releasing lock... [2025-03-20 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:47:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:47:03] Production.INFO: ==31987== Lock acquired, processing the job... [2025-03-20 19:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:47:03] Production.INFO: Account Balance Start. [2025-03-20 19:47:03] Production.INFO: CreateAllLog Start [2025-03-20 19:47:03] Production.INFO: 117 [2025-03-20 19:47:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.INFO: Date 2025-03-13 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.INFO: Date 2025-03-14 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.INFO: Date 2025-03-15 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.INFO: ==31980== Lock acquired, processing the job... [2025-03-20 19:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:47:03] Production.INFO: ==31982== Lock acquired, processing the job... [2025-03-20 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:47:03] Production.INFO: Date 2025-03-16 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.INFO: ==31985== Lock acquired, processing the job... [2025-03-20 19:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:47:03] Production.INFO: Date 2025-03-17 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:47:03] Production.INFO: Date 2025-03-18 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:47:03] Production.INFO: ==31989== Lock acquired, processing the job... [2025-03-20 19:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:47:03] Production.INFO: Date 2025-03-19 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:47:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:47:03] Production.INFO: ==31991== Lock acquired, processing the job... [2025-03-20 19:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:47:03] Production.INFO: Date 2025-03-20 [2025-03-20 19:47:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:47:04] Production.INFO: ==31982== Releasing lock... [2025-03-20 19:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:47:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:47:04] Production.INFO: Total Charge 0 [2025-03-20 19:47:04] Production.ERROR: done [2025-03-20 19:47:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:47:04] Production.INFO: count ==12 [2025-03-20 19:47:04] Production.INFO: CreateAllLog End [2025-03-20 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-03-20 19:47:04] Production.INFO: count ==23 [2025-03-20 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725072') start [2025-03-20 19:47:04] Production.ERROR: done [2025-03-20 19:47:04] Production.INFO: Account Balance End. [2025-03-20 19:47:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:47:04] Production.INFO: ==31987== Releasing lock... [2025-03-20 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725072') end [2025-03-20 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:47:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:47:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:47:04] Production.INFO: 1 [2025-03-20 19:47:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:47:04] Production.INFO: ==31991== Releasing lock... [2025-03-20 19:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:47:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:47:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:47:05 [end_date_ymd] => 2025-03-20 19:47:05 [RateCDR] => 1 ) [2025-03-20 19:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:47:05' and `end` < '2025-03-20 19:47:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:47:14] Production.ERROR: CronJobId end10 [2025-03-20 19:47:14] Production.INFO: ==31985== Releasing lock... [2025-03-20 19:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:47:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:47:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:47:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:47:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:47:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:47:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:47:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:47:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:47:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:47:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:47:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:47:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:47:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:47:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:47:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:47:16] Production.INFO: call_cost start [2025-03-20 19:47:16] Production.INFO: call_cost end [2025-03-20 19:47:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:47:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:47:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:47:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:47:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:47:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:47:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:47:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:47:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:47:16] Production.INFO: ==31980== Releasing lock... [2025-03-20 19:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:47:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:47:18] Production.INFO: count ==2960 [2025-03-20 19:47:18] Production.ERROR: pbx CDR StartTime 2025-03-20 16:47:05 - End Time 2025-03-20 19:47:05 [2025-03-20 19:47:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725073', 'tblTempUsageDetail_20' ) start [2025-03-20 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725073', 'tblTempUsageDetail_20' ) end [2025-03-20 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725073', 'tblTempVendorCDR_20' ) start [2025-03-20 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725073', 'tblTempVendorCDR_20' ) end [2025-03-20 19:47:19] Production.INFO: ProcessCDR(1,14725073,1,1,2) [2025-03-20 19:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725073', 'tblTempUsageDetail_20' ) start [2025-03-20 19:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725073', 'tblTempUsageDetail_20' ) end [2025-03-20 19:47:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:47:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:47:22] Production.INFO: ==31989== Releasing lock... [2025-03-20 19:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:47:22] Production.INFO: 49.75 MB #Memory Used# [2025-03-20 23:48:02] Production.INFO: ==32076== Lock acquired, processing the job... [2025-03-20 23:48:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:48:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:48:02] Production.INFO: neon service started [2025-03-20 23:48:02] Production.INFO: neon service started [2025-03-20 23:48:02] Production.INFO: ==32076== Releasing lock... [2025-03-20 23:48:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:48:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:48:02] Production.INFO: ==32078== Lock acquired, processing the job... [2025-03-20 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:48:02] Production.INFO: ==32078== Releasing lock... [2025-03-20 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:48:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:48:03] Production.INFO: ==32080== Lock acquired, processing the job... [2025-03-20 23:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:48:03] Production.INFO: ==32080== Releasing lock... [2025-03-20 23:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:48:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:48:03] Production.INFO: ==32083== Lock acquired, processing the job... [2025-03-20 19:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:48:03] Production.INFO: ==32085== Lock acquired, processing the job... [2025-03-20 19:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:48:03] Production.INFO: ==32087== Lock acquired, processing the job... [2025-03-20 19:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:48:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:48:03] Production.INFO: ==32091== Lock acquired, processing the job... [2025-03-20 19:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:48:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:48:04] Production.INFO: ==32089== Lock acquired, processing the job... [2025-03-20 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:48:04] Production.INFO: ==32093== Lock acquired, processing the job... [2025-03-20 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:48:04] Production.INFO: ==32085== Releasing lock... [2025-03-20 19:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:48:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:48:04] Production.INFO: Account Balance Start. [2025-03-20 19:48:04] Production.INFO: CreateAllLog Start [2025-03-20 19:48:04] Production.INFO: 117 [2025-03-20 19:48:04] Production.INFO: count ==12 [2025-03-20 19:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:48:04] Production.INFO: count ==23 [2025-03-20 19:48:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725076') start [2025-03-20 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:04] Production.ERROR: done [2025-03-20 19:48:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725076') end [2025-03-20 19:48:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:48:04] Production.INFO: 1 [2025-03-20 19:48:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:48:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:04] Production.INFO: ==32093== Releasing lock... [2025-03-20 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:48:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:48:04] Production.ERROR: done [2025-03-20 19:48:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:48:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:05] Production.INFO: Date 2025-03-18 [2025-03-20 19:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:48:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:48:05] Production.INFO: Total Charge 0 [2025-03-20 19:48:05] Production.INFO: CreateAllLog End [2025-03-20 19:48:05] Production.INFO: Account Balance End. [2025-03-20 19:48:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:48:05] Production.INFO: ==32089== Releasing lock... [2025-03-20 19:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:48:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:48:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:48:05 [end_date_ymd] => 2025-03-20 19:48:05 [RateCDR] => 1 ) [2025-03-20 19:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:48:05' and `end` < '2025-03-20 19:48:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:48:14] Production.ERROR: CronJobId end10 [2025-03-20 19:48:14] Production.INFO: ==32087== Releasing lock... [2025-03-20 19:48:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:48:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:48:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:48:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:48:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:48:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:48:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:48:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:48:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:48:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:48:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:48:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:48:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:48:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:48:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:48:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:48:16] Production.INFO: call_cost start [2025-03-20 19:48:16] Production.INFO: call_cost end [2025-03-20 19:48:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:48:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:48:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:48:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:48:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:48:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:48:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:48:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:48:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:48:16] Production.INFO: ==32083== Releasing lock... [2025-03-20 19:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:48:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:48:18] Production.INFO: count ==2932 [2025-03-20 19:48:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:48:05 - End Time 2025-03-20 19:48:05 [2025-03-20 19:48:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725078', 'tblTempUsageDetail_20' ) start [2025-03-20 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725078', 'tblTempUsageDetail_20' ) end [2025-03-20 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725078', 'tblTempVendorCDR_20' ) start [2025-03-20 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725078', 'tblTempVendorCDR_20' ) end [2025-03-20 19:48:19] Production.INFO: ProcessCDR(1,14725078,1,1,2) [2025-03-20 19:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725078', 'tblTempUsageDetail_20' ) start [2025-03-20 19:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725078', 'tblTempUsageDetail_20' ) end [2025-03-20 19:48:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:48:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:48:24] Production.INFO: ==32091== Releasing lock... [2025-03-20 19:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:48:24] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 23:49:01] Production.INFO: ==32179== Lock acquired, processing the job... [2025-03-20 23:49:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:49:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:49:01] Production.INFO: neon service started [2025-03-20 23:49:01] Production.INFO: neon service started [2025-03-20 23:49:01] Production.INFO: ==32179== Releasing lock... [2025-03-20 23:49:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:49:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:49:02] Production.INFO: ==32181== Lock acquired, processing the job... [2025-03-20 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:49:02] Production.INFO: ==32181== Releasing lock... [2025-03-20 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:49:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:49:02] Production.INFO: ==32183== Lock acquired, processing the job... [2025-03-20 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:49:02] Production.INFO: ==32183== Releasing lock... [2025-03-20 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:49:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:49:03] Production.INFO: ==32193== Lock acquired, processing the job... [2025-03-20 19:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:49:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:49:03] Production.INFO: ==32185== Lock acquired, processing the job... [2025-03-20 19:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:49:03] Production.INFO: ==32195== Lock acquired, processing the job... [2025-03-20 19:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:49:03] Production.INFO: ==32187== Lock acquired, processing the job... [2025-03-20 19:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:49:03] Production.INFO: ==32191== Lock acquired, processing the job... [2025-03-20 19:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:49:03] Production.INFO: ==32189== Lock acquired, processing the job... [2025-03-20 19:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:49:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:49:03] Production.INFO: count ==12 [2025-03-20 19:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:49:03] Production.INFO: count ==23 [2025-03-20 19:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725080') start [2025-03-20 19:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:49:03] Production.ERROR: done [2025-03-20 19:49:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:49:03] Production.INFO: Account Balance Start. [2025-03-20 19:49:03] Production.INFO: CreateAllLog Start [2025-03-20 19:49:03] Production.INFO: 117 [2025-03-20 19:49:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725080') end [2025-03-20 19:49:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:49:03] Production.INFO: 1 [2025-03-20 19:49:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:49:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:03] Production.INFO: ==32195== Releasing lock... [2025-03-20 19:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:49:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:49:03] Production.ERROR: done [2025-03-20 19:49:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:03] Production.INFO: ==32187== Releasing lock... [2025-03-20 19:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:49:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:49:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:49:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:49:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:49:04] Production.INFO: Total Charge 0 [2025-03-20 19:49:04] Production.INFO: CreateAllLog End [2025-03-20 19:49:04] Production.INFO: Account Balance End. [2025-03-20 19:49:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:49:04] Production.INFO: ==32191== Releasing lock... [2025-03-20 19:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:49:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:49:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:49:05 [end_date_ymd] => 2025-03-20 19:49:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:49:05' and `end` < '2025-03-20 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-03-20 19:49:14] Production.ERROR: CronJobId end10 [2025-03-20 19:49:14] Production.INFO: ==32189== Releasing lock... [2025-03-20 19:49:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:49:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:49:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:49:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:49:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:49:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:49:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:49:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:49:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:49:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:49:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:49:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:49:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:49:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:49:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:49:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:49:14] Production.INFO: call_cost start [2025-03-20 19:49:14] Production.INFO: call_cost end [2025-03-20 19:49:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:49:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:49:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:49:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:49:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:49:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:49:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:49:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:49:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:49:15] Production.INFO: ==32185== Releasing lock... [2025-03-20 19:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:49:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:49:17] Production.INFO: count ==2931 [2025-03-20 19:49:18] Production.ERROR: pbx CDR StartTime 2025-03-20 16:49:05 - End Time 2025-03-20 19:49:05 [2025-03-20 19:49:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725083', 'tblTempUsageDetail_20' ) start [2025-03-20 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725083', 'tblTempUsageDetail_20' ) end [2025-03-20 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725083', 'tblTempVendorCDR_20' ) start [2025-03-20 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725083', 'tblTempVendorCDR_20' ) end [2025-03-20 19:49:18] Production.INFO: ProcessCDR(1,14725083,1,1,2) [2025-03-20 19:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725083', 'tblTempUsageDetail_20' ) start [2025-03-20 19:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725083', 'tblTempUsageDetail_20' ) end [2025-03-20 19:49:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:49:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:49:22] Production.INFO: ==32193== Releasing lock... [2025-03-20 19:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:49:22] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 23:50:02] Production.INFO: ==32280== Lock acquired, processing the job... [2025-03-20 23:50:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:50:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:50:02] Production.INFO: neon service started [2025-03-20 23:50:02] Production.INFO: neon service started [2025-03-20 23:50:02] Production.INFO: ==32280== Releasing lock... [2025-03-20 23:50:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:50:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:50:02] Production.INFO: ==32282== Lock acquired, processing the job... [2025-03-20 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:50:02] Production.INFO: ==32284== Lock acquired, processing the job... [2025-03-20 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:50:02] Production.INFO: ==32284== Releasing lock... [2025-03-20 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:50:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:50:03] Production.INFO: ==32282== Releasing lock... [2025-03-20 19:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:50:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:50:04] Production.INFO: ==32287== Lock acquired, processing the job... [2025-03-20 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts# [2025-03-20 19:50:04] Production.ERROR: ========================== active cronjob start ============================= [2025-03-20 19:50:04] Production.ERROR: ========================== active cronjob end ============================= [2025-03-20 19:50:04] Production.INFO: ==32287== Releasing lock... [2025-03-20 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops# [2025-03-20 19:50:04] Production.INFO: 25.5 MB #Memory Used# [2025-03-20 19:50:04] Production.INFO: ==32289== Lock acquired, processing the job... [2025-03-20 19:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:50:04] Production.INFO: ==32291== Lock acquired, processing the job... [2025-03-20 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:50:04] Production.INFO: ==32293== Lock acquired, processing the job... [2025-03-20 19:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:50:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:50:04] Production.INFO: ==32295== Lock acquired, processing the job... [2025-03-20 19:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:50:04] Production.INFO: ==32299== Lock acquired, processing the job... [2025-03-20 19:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts# [2025-03-20 19:50:04] Production.INFO: ==32297== Lock acquired, processing the job... [2025-03-20 19:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:50:04] Production.INFO: Account Balance Start. [2025-03-20 19:50:04] Production.INFO: CreateAllLog Start [2025-03-20 19:50:04] Production.INFO: 117 [2025-03-20 19:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:50:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:04] Production.INFO: ==32301== Lock acquired, processing the job... [2025-03-20 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:50:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:50:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:50:05] Production.INFO: ==32291== Releasing lock... [2025-03-20 19:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:50:05] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:50:05] Production.INFO: Date 2025-03-11 [2025-03-20 19:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:05] Production.ERROR: done [2025-03-20 19:50:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:50:05] Production.INFO: count ==12 [2025-03-20 19:50:05] Production.INFO: Date 2025-03-12 [2025-03-20 19:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:50:05] Production.INFO: count ==23 [2025-03-20 19:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start ============================= [2025-03-20 19:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14725088', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) start [2025-03-20 19:50:05] Production.INFO: Date 2025-03-13 [2025-03-20 19:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14725087') start [2025-03-20 19:50:05] Production.INFO: Date 2025-03-14 [2025-03-20 19:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:05] Production.ERROR: done [2025-03-20 19:50:05] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14725087') end [2025-03-20 19:50:05] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:50:05] Production.INFO: 1 [2025-03-20 19:50:05] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:50:05] Production.INFO: Date 2025-03-15 [2025-03-20 19:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:05] Production.INFO: Date 2025-03-16 [2025-03-20 19:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:05] Production.INFO: Date 2025-03-17 [2025-03-20 19:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:05] Production.INFO: ==32301== Releasing lock... [2025-03-20 19:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:50:05] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:50:05] Production.INFO: Date 2025-03-18 [2025-03-20 19:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:05] Production.ERROR: done [2025-03-20 19:50:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:50:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:50:05] Production.INFO: Total Charge 0 [2025-03-20 19:50:05] Production.INFO: CreateAllLog End [2025-03-20 19:50:05] Production.INFO: Account Balance End. [2025-03-20 19:50:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:50:05] Production.INFO: ==32295== Releasing lock... [2025-03-20 19:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:50:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:50:07] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:50:07 [end_date_ymd] => 2025-03-20 19:50:07 [RateCDR] => 1 ) [2025-03-20 19:50:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:50:07' and `end` < '2025-03-20 19:50:07' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14725088', 'tblTempUsageDetail_20reseller','2025-03-20','2025-03-20','1' ) end [2025-03-20 19:50:10] Production.ERROR: ========================== Temp table Data Insert end ============================= [2025-03-20 19:50:10] Production.INFO: ProcessCDR(1,14725088,1,1,2) [2025-03-20 19:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14725088,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14725088,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:50:10] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:50:10] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:50:10] Production.INFO: ==32299== Releasing lock... [2025-03-20 19:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops# [2025-03-20 19:50:10] Production.INFO: 26 MB #Memory Used# [2025-03-20 19:50:16] Production.ERROR: CronJobId end10 [2025-03-20 19:50:16] Production.INFO: ==32293== Releasing lock... [2025-03-20 19:50:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:50:16] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:50:18] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:50:18] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:50:18] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:50:18] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:50:18] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:50:18] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:50:18] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:50:18] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:50:18] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:50:18] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:50:18] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:50:18] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:50:18] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:50:18] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:50:18] Production.INFO: call_cost start [2025-03-20 19:50:18] Production.INFO: call_cost end [2025-03-20 19:50:19] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:50:19] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:50:19] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:50:19] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:50:19] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:50:19] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:50:19] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:50:19] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:50:19] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:50:19] Production.INFO: ==32289== Releasing lock... [2025-03-20 19:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:50:19] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:50:20] Production.INFO: count ==2924 [2025-03-20 19:50:20] Production.ERROR: pbx CDR StartTime 2025-03-20 16:50:07 - End Time 2025-03-20 19:50:07 [2025-03-20 19:50:20] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725089', 'tblTempUsageDetail_20' ) start [2025-03-20 19:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725089', 'tblTempUsageDetail_20' ) end [2025-03-20 19:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725089', 'tblTempVendorCDR_20' ) start [2025-03-20 19:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725089', 'tblTempVendorCDR_20' ) end [2025-03-20 19:50:21] Production.INFO: ProcessCDR(1,14725089,1,1,2) [2025-03-20 19:50:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725089', 'tblTempUsageDetail_20' ) start [2025-03-20 19:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725089', 'tblTempUsageDetail_20' ) end [2025-03-20 19:50:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:50:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:50:24] Production.INFO: ==32297== Releasing lock... [2025-03-20 19:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:50:24] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 23:51:01] Production.INFO: ==32389== Lock acquired, processing the job... [2025-03-20 23:51:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:51:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:51:01] Production.INFO: neon service started [2025-03-20 23:51:01] Production.INFO: neon service started [2025-03-20 23:51:01] Production.INFO: ==32389== Releasing lock... [2025-03-20 23:51:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:51:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:51:02] Production.INFO: ==32391== Lock acquired, processing the job... [2025-03-20 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:51:02] Production.INFO: ==32393== Lock acquired, processing the job... [2025-03-20 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:51:02] Production.INFO: ==32393== Releasing lock... [2025-03-20 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:51:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:51:02] Production.INFO: ==32391== Releasing lock... [2025-03-20 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:51:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:51:03] Production.INFO: ==32398== Lock acquired, processing the job... [2025-03-20 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:51:03] Production.INFO: ==32406== Lock acquired, processing the job... [2025-03-20 19:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:51:03] Production.INFO: ==32396== Lock acquired, processing the job... [2025-03-20 19:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 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-03-20 19:51:03] Production.INFO: ==32400== Lock acquired, processing the job... [2025-03-20 19:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:51:03] Production.INFO: count ==12 [2025-03-20 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-03-20 19:51:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:51:03] Production.INFO: count ==23 [2025-03-20 19:51:03] Production.INFO: ==32402== Lock acquired, processing the job... [2025-03-20 19:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725091') start [2025-03-20 19:51:03] Production.INFO: ==32398== Releasing lock... [2025-03-20 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:51:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:51:03] Production.INFO: ==32404== Lock acquired, processing the job... [2025-03-20 19:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:51:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:51:03] Production.INFO: Account Balance Start. [2025-03-20 19:51:03] Production.INFO: CreateAllLog Start [2025-03-20 19:51:03] Production.INFO: 117 [2025-03-20 19:51:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725091') end [2025-03-20 19:51:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:51:03] Production.INFO: 1 [2025-03-20 19:51:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:51:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:04] Production.INFO: ==32406== Releasing lock... [2025-03-20 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:51:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:51:04] Production.ERROR: done [2025-03-20 19:51:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:51:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:04] Production.ERROR: done [2025-03-20 19:51:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:51:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:51:04] Production.INFO: Total Charge 0 [2025-03-20 19:51:04] Production.INFO: CreateAllLog End [2025-03-20 19:51:05] Production.INFO: Account Balance End. [2025-03-20 19:51:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:51:05] Production.INFO: ==32402== Releasing lock... [2025-03-20 19:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:51:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:51:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:51:05 [end_date_ymd] => 2025-03-20 19:51:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:51:05' and `end` < '2025-03-20 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-03-20 19:51:13] Production.ERROR: CronJobId end10 [2025-03-20 19:51:13] Production.INFO: ==32400== Releasing lock... [2025-03-20 19:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:51:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:51:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:51:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:51:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:51:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:51:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:51:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:51:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:51:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:51:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:51:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:51:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:51:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:51:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:51:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:51:15] Production.INFO: call_cost start [2025-03-20 19:51:15] Production.INFO: call_cost end [2025-03-20 19:51:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:51:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:51:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:51:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:51:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:51:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:51:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:51:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:51:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:51:16] Production.INFO: ==32396== Releasing lock... [2025-03-20 19:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:51:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:51:18] Production.INFO: count ==2883 [2025-03-20 19:51:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:51:05 - End Time 2025-03-20 19:51:05 [2025-03-20 19:51:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725094', 'tblTempUsageDetail_20' ) start [2025-03-20 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725094', 'tblTempUsageDetail_20' ) end [2025-03-20 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725094', 'tblTempVendorCDR_20' ) start [2025-03-20 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725094', 'tblTempVendorCDR_20' ) end [2025-03-20 19:51:19] Production.INFO: ProcessCDR(1,14725094,1,1,2) [2025-03-20 19:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725094', 'tblTempUsageDetail_20' ) start [2025-03-20 19:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725094', 'tblTempUsageDetail_20' ) end [2025-03-20 19:51:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:51:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:51:22] Production.INFO: ==32404== Releasing lock... [2025-03-20 19:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:51:22] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 23:52:01] Production.INFO: ==32483== Lock acquired, processing the job... [2025-03-20 23:52:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:52:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:52:01] Production.INFO: neon service started [2025-03-20 23:52:02] Production.INFO: neon service started [2025-03-20 23:52:02] Production.INFO: ==32483== Releasing lock... [2025-03-20 23:52:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:52:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:52:02] Production.INFO: ==32485== Lock acquired, processing the job... [2025-03-20 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:52:02] Production.INFO: ==32485== Releasing lock... [2025-03-20 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:52:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:52:02] Production.INFO: ==32487== Lock acquired, processing the job... [2025-03-20 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:52:03] Production.INFO: ==32487== Releasing lock... [2025-03-20 23:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:52:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:52:03] Production.INFO: ==32501== Lock acquired, processing the job... [2025-03-20 19:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:52:03] Production.INFO: ==32499== Lock acquired, processing the job... [2025-03-20 19:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:52:03] Production.INFO: ==32491== Lock acquired, processing the job... [2025-03-20 19:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:52:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:52:03] Production.INFO: ==32493== Lock acquired, processing the job... [2025-03-20 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:52:03] Production.INFO: ==32495== Lock acquired, processing the job... [2025-03-20 19:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:52:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:52:03] Production.INFO: ==32497== Lock acquired, processing the job... [2025-03-20 19:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:52:03] Production.INFO: count ==12 [2025-03-20 19:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:52:03] Production.INFO: count ==23 [2025-03-20 19:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725095') start [2025-03-20 19:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:52:03] Production.INFO: Account Balance Start. [2025-03-20 19:52:03] Production.INFO: CreateAllLog Start [2025-03-20 19:52:03] Production.INFO: 117 [2025-03-20 19:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:52:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725095') end [2025-03-20 19:52:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:52:04] Production.INFO: 1 [2025-03-20 19:52:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.INFO: ==32501== Releasing lock... [2025-03-20 19:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:52:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:52:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.ERROR: done [2025-03-20 19:52:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:52:04] Production.INFO: ==32493== Releasing lock... [2025-03-20 19:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:52:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:52:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.ERROR: done [2025-03-20 19:52:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:52:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:52:04] Production.INFO: Total Charge 0 [2025-03-20 19:52:05] Production.INFO: CreateAllLog End [2025-03-20 19:52:05] Production.INFO: Account Balance End. [2025-03-20 19:52:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:52:05] Production.INFO: ==32497== Releasing lock... [2025-03-20 19:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:52:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:52:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:52:05 [end_date_ymd] => 2025-03-20 19:52:05 [RateCDR] => 1 ) [2025-03-20 19:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:52:05' and `end` < '2025-03-20 19:52:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:52:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array) #2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #11 [internal function]: App\Console\Commands\NeonAlerts->fire() #12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #21 {main} Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,11))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 Stack trace: #0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure)) #1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure)) #2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array) #3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array) #4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array) #5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array) #6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array) #7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder() #8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts() #9 [internal function]: App\Console\Commands\NeonAlerts->fire() #10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array) #11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array) #12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #19 {main} [2025-03-20 19:52:13] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:52:13] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:52:13] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:52:13] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:52:13] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:52:13] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:52:13] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:52:13] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:52:13] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:52:13] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:52:13] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:52:13] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:52:13] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:52:13] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:52:13] Production.INFO: call_cost start [2025-03-20 19:52:13] Production.INFO: call_cost end [2025-03-20 19:52:13] Production.ERROR: CronJobId end10 [2025-03-20 19:52:13] Production.INFO: ==32495== Releasing lock... [2025-03-20 19:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:52:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:52:14] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:52:14] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:52:14] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:52:14] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:52:14] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:52:14] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:52:14] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:52:14] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:52:14] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:52:14] Production.INFO: ==32491== Releasing lock... [2025-03-20 19:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:52:14] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:52:18] Production.INFO: count ==2879 [2025-03-20 19:52:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:52:05 - End Time 2025-03-20 19:52:05 [2025-03-20 19:52:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725099', 'tblTempUsageDetail_20' ) start [2025-03-20 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725099', 'tblTempUsageDetail_20' ) end [2025-03-20 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725099', 'tblTempVendorCDR_20' ) start [2025-03-20 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725099', 'tblTempVendorCDR_20' ) end [2025-03-20 19:52:19] Production.INFO: ProcessCDR(1,14725099,1,1,2) [2025-03-20 19:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725099', 'tblTempUsageDetail_20' ) start [2025-03-20 19:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725099', 'tblTempUsageDetail_20' ) end [2025-03-20 19:52:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:52:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:52:24] Production.INFO: ==32499== Releasing lock... [2025-03-20 19:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:52:24] Production.INFO: 49.5 MB #Memory Used# [2025-03-20 23:53:01] Production.INFO: ==32589== Lock acquired, processing the job... [2025-03-20 23:53:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:53:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:53:01] Production.INFO: neon service started [2025-03-20 23:53:01] Production.INFO: neon service started [2025-03-20 23:53:01] Production.INFO: ==32589== Releasing lock... [2025-03-20 23:53:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:53:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:53:01] Production.INFO: ==32591== Lock acquired, processing the job... [2025-03-20 19:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:53:02] Production.INFO: ==32591== Releasing lock... [2025-03-20 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:53:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:53:02] Production.INFO: ==32593== Lock acquired, processing the job... [2025-03-20 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:53:02] Production.INFO: ==32593== Releasing lock... [2025-03-20 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:53:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:53:03] Production.INFO: ==32596== Lock acquired, processing the job... [2025-03-20 19:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:53:03] Production.INFO: ==32600== Lock acquired, processing the job... [2025-03-20 19:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:53:03] Production.INFO: ==32606== Lock acquired, processing the job... [2025-03-20 19:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:53:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:53:03] Production.INFO: ==32598== Lock acquired, processing the job... [2025-03-20 19:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 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-03-20 19:53:03] Production.INFO: count ==12 [2025-03-20 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-03-20 19:53:03] Production.INFO: ==32602== Lock acquired, processing the job... [2025-03-20 19:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:53:03] Production.INFO: ==32604== Lock acquired, processing the job... [2025-03-20 19:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:53:03] Production.INFO: count ==23 [2025-03-20 19:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725102') start [2025-03-20 19:53:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:53:03] Production.INFO: Account Balance Start. [2025-03-20 19:53:03] Production.INFO: CreateAllLog Start [2025-03-20 19:53:03] Production.INFO: 117 [2025-03-20 19:53:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725102') end [2025-03-20 19:53:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:53:03] Production.INFO: 1 [2025-03-20 19:53:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:53:03] Production.INFO: ==32598== Releasing lock... [2025-03-20 19:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:53:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:53:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:03] Production.INFO: Date 2025-03-13 [2025-03-20 19:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:03] Production.INFO: ==32606== Releasing lock... [2025-03-20 19:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:53:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:53:03] Production.INFO: Date 2025-03-14 [2025-03-20 19:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:03] Production.INFO: Date 2025-03-15 [2025-03-20 19:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:03] Production.INFO: Date 2025-03-16 [2025-03-20 19:53:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:03] Production.ERROR: done [2025-03-20 19:53:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:53:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:53:04] Production.ERROR: done [2025-03-20 19:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:53:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:53:04] Production.INFO: Total Charge 0 [2025-03-20 19:53:04] Production.INFO: CreateAllLog End [2025-03-20 19:53:04] Production.INFO: Account Balance End. [2025-03-20 19:53:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:53:04] Production.INFO: ==32602== Releasing lock... [2025-03-20 19:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:53:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:53:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:53:05 [end_date_ymd] => 2025-03-20 19:53:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:53:05' and `end` < '2025-03-20 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-03-20 19:53:13] Production.ERROR: CronJobId end10 [2025-03-20 19:53:13] Production.INFO: ==32600== Releasing lock... [2025-03-20 19:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:53:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:53:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:53:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:53:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:53:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:53:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:53:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:53:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:53:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:53:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:53:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:53:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:53:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:53:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:53:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:53:15] Production.INFO: call_cost start [2025-03-20 19:53:15] Production.INFO: call_cost end [2025-03-20 19:53:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:53:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:53:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:53:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:53:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:53:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:53:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:53:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:53:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:53:16] Production.INFO: ==32596== Releasing lock... [2025-03-20 19:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:53:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:53:17] Production.INFO: count ==2867 [2025-03-20 19:53:18] Production.ERROR: pbx CDR StartTime 2025-03-20 16:53:05 - End Time 2025-03-20 19:53:05 [2025-03-20 19:53:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725104', 'tblTempUsageDetail_20' ) start [2025-03-20 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725104', 'tblTempUsageDetail_20' ) end [2025-03-20 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725104', 'tblTempVendorCDR_20' ) start [2025-03-20 19:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725104', 'tblTempVendorCDR_20' ) end [2025-03-20 19:53:18] Production.INFO: ProcessCDR(1,14725104,1,1,2) [2025-03-20 19:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725104', 'tblTempUsageDetail_20' ) start [2025-03-20 19:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725104', 'tblTempUsageDetail_20' ) end [2025-03-20 19:53:23] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:53:23] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:53:23] Production.INFO: ==32604== Releasing lock... [2025-03-20 19:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:53:23] Production.INFO: 49.25 MB #Memory Used# [2025-03-20 23:54:01] Production.INFO: ==32692== Lock acquired, processing the job... [2025-03-20 23:54:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:54:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:54:01] Production.INFO: neon service started [2025-03-20 23:54:01] Production.INFO: neon service started [2025-03-20 23:54:01] Production.INFO: ==32692== Releasing lock... [2025-03-20 23:54:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:54:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:54:02] Production.INFO: ==32694== Lock acquired, processing the job... [2025-03-20 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:54:02] Production.INFO: ==32694== Releasing lock... [2025-03-20 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:54:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:54:02] Production.INFO: ==32696== Lock acquired, processing the job... [2025-03-20 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:54:02] Production.INFO: ==32696== Releasing lock... [2025-03-20 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:54:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:54:03] Production.INFO: ==32705== Lock acquired, processing the job... [2025-03-20 19:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:54:03] Production.INFO: ==32711== Lock acquired, processing the job... [2025-03-20 19:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:54:03] Production.INFO: ==32701== Lock acquired, processing the job... [2025-03-20 19:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:54:03] Production.INFO: count ==12 [2025-03-20 19:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:54:03] Production.INFO: count ==23 [2025-03-20 19:54:03] Production.INFO: ==32703== Lock acquired, processing the job... [2025-03-20 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725105') start [2025-03-20 19:54:03] Production.INFO: ==32707== Lock acquired, processing the job... [2025-03-20 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:54:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725105') end [2025-03-20 19:54:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:54:03] Production.INFO: 1 [2025-03-20 19:54:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:54:03] Production.INFO: ==32709== Lock acquired, processing the job... [2025-03-20 19:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:54:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:54:04] Production.INFO: Account Balance Start. [2025-03-20 19:54:04] Production.INFO: ==32711== Releasing lock... [2025-03-20 19:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:54:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:54:04] Production.INFO: CreateAllLog Start [2025-03-20 19:54:04] Production.INFO: 117 [2025-03-20 19:54:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.INFO: ==32703== Releasing lock... [2025-03-20 19:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:54:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:54:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.ERROR: done [2025-03-20 19:54:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:54:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.ERROR: done [2025-03-20 19:54:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:54:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:54:04] Production.INFO: Total Charge 0 [2025-03-20 19:54:04] Production.INFO: CreateAllLog End [2025-03-20 19:54:04] Production.INFO: Account Balance End. [2025-03-20 19:54:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:54:04] Production.INFO: ==32707== Releasing lock... [2025-03-20 19:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:54:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:54:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:54:05 [end_date_ymd] => 2025-03-20 19:54:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:54:05' and `end` < '2025-03-20 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-03-20 19:54:13] Production.ERROR: CronJobId end10 [2025-03-20 19:54:13] Production.INFO: ==32705== Releasing lock... [2025-03-20 19:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:54:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:54:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:54:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:54:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:54:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:54:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:54:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:54:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:54:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:54:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:54:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:54:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:54:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:54:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:54:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:54:14] Production.INFO: call_cost start [2025-03-20 19:54:14] Production.INFO: call_cost end [2025-03-20 19:54:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:54:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:54:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:54:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:54:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:54:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:54:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:54:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:54:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:54:15] Production.INFO: ==32701== Releasing lock... [2025-03-20 19:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:54:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:54:18] Production.INFO: count ==2862 [2025-03-20 19:54:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:54:05 - End Time 2025-03-20 19:54:05 [2025-03-20 19:54:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725109', 'tblTempUsageDetail_20' ) start [2025-03-20 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725109', 'tblTempUsageDetail_20' ) end [2025-03-20 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725109', 'tblTempVendorCDR_20' ) start [2025-03-20 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725109', 'tblTempVendorCDR_20' ) end [2025-03-20 19:54:19] Production.INFO: ProcessCDR(1,14725109,1,1,2) [2025-03-20 19:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725109', 'tblTempUsageDetail_20' ) start [2025-03-20 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725109', 'tblTempUsageDetail_20' ) end [2025-03-20 19:54:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:54:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:54:22] Production.INFO: ==32709== Releasing lock... [2025-03-20 19:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:54:22] Production.INFO: 49.25 MB #Memory Used# [2025-03-20 23:55:02] Production.INFO: ==353== Lock acquired, processing the job... [2025-03-20 23:55:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:55:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:55:02] Production.INFO: neon service started [2025-03-20 23:55:02] Production.INFO: neon service started [2025-03-20 23:55:02] Production.INFO: ==353== Releasing lock... [2025-03-20 23:55:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:55:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:55:02] Production.INFO: ==357== Lock acquired, processing the job... [2025-03-20 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:55:02] Production.INFO: ==357== Releasing lock... [2025-03-20 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:55:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:55:02] Production.INFO: ==355== Lock acquired, processing the job... [2025-03-20 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:55:03] Production.INFO: ==355== Releasing lock... [2025-03-20 19:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:55:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:55:03] Production.INFO: ==359== Lock acquired, processing the job... [2025-03-20 19:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:55:04] Production.INFO: ==363== Lock acquired, processing the job... [2025-03-20 19:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:55:04] Production.INFO: ==361== Lock acquired, processing the job... [2025-03-20 19:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:55:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:55:04] Production.INFO: ==366== Lock acquired, processing the job... [2025-03-20 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:55:04] Production.INFO: ==368== Lock acquired, processing the job... [2025-03-20 19:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:55:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:55:04] Production.INFO: ==361== Releasing lock... [2025-03-20 19:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:55:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:55:04] Production.INFO: ==370== Lock acquired, processing the job... [2025-03-20 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:55:04] Production.INFO: Account Balance Start. [2025-03-20 19:55:04] Production.INFO: CreateAllLog Start [2025-03-20 19:55:04] Production.INFO: 117 [2025-03-20 19:55:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 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-03-20 19:55:04] Production.INFO: count ==12 [2025-03-20 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-03-20 19:55:04] Production.INFO: count ==23 [2025-03-20 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725113') start [2025-03-20 19:55:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:04] Production.ERROR: done [2025-03-20 19:55:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:55:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725113') end [2025-03-20 19:55:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:55:04] Production.INFO: 1 [2025-03-20 19:55:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:55:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:55:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:04] Production.INFO: ==370== Releasing lock... [2025-03-20 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:55:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:55:04] Production.ERROR: done [2025-03-20 19:55:05] Production.INFO: Date 2025-03-12 [2025-03-20 19:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:05] Production.INFO: Date 2025-03-13 [2025-03-20 19:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:05] Production.INFO: Date 2025-03-14 [2025-03-20 19:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:05] Production.INFO: Date 2025-03-15 [2025-03-20 19:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:05] Production.INFO: Date 2025-03-16 [2025-03-20 19:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:05] Production.INFO: Date 2025-03-17 [2025-03-20 19:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:05] Production.INFO: Date 2025-03-18 [2025-03-20 19:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:55:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:55:05] Production.INFO: Total Charge 0 [2025-03-20 19:55:05] Production.INFO: CreateAllLog End [2025-03-20 19:55:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:55:05 [end_date_ymd] => 2025-03-20 19:55:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:55:05' and `end` < '2025-03-20 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-03-20 19:55:05] Production.INFO: Account Balance End. [2025-03-20 19:55:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:55:05] Production.INFO: ==366== Releasing lock... [2025-03-20 19:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:55:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:55:14] Production.ERROR: CronJobId end10 [2025-03-20 19:55:14] Production.INFO: ==363== Releasing lock... [2025-03-20 19:55:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:55:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:55:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:55:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:55:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:55:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:55:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:55:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:55:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:55:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:55:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:55:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:55:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:55:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:55:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:55:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:55:15] Production.INFO: call_cost start [2025-03-20 19:55:15] Production.INFO: call_cost end [2025-03-20 19:55:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:55:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:55:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:55:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:55:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:55:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:55:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:55:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:55:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:55:16] Production.INFO: ==359== Releasing lock... [2025-03-20 19:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:55:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:55:18] Production.INFO: count ==2837 [2025-03-20 19:55:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:55:05 - End Time 2025-03-20 19:55:05 [2025-03-20 19:55:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725114', 'tblTempUsageDetail_20' ) start [2025-03-20 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725114', 'tblTempUsageDetail_20' ) end [2025-03-20 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725114', 'tblTempVendorCDR_20' ) start [2025-03-20 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725114', 'tblTempVendorCDR_20' ) end [2025-03-20 19:55:19] Production.INFO: ProcessCDR(1,14725114,1,1,2) [2025-03-20 19:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725114', 'tblTempUsageDetail_20' ) start [2025-03-20 19:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725114', 'tblTempUsageDetail_20' ) end [2025-03-20 19:55:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:55:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:55:22] Production.INFO: ==368== Releasing lock... [2025-03-20 19:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:55:22] Production.INFO: 49.25 MB #Memory Used# [2025-03-20 23:56:01] Production.INFO: ==450== Lock acquired, processing the job... [2025-03-20 23:56:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:56:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:56:01] Production.INFO: neon service started [2025-03-20 23:56:01] Production.INFO: neon service started [2025-03-20 23:56:01] Production.INFO: ==450== Releasing lock... [2025-03-20 23:56:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:56:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:56:02] Production.INFO: ==452== Lock acquired, processing the job... [2025-03-20 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 19:56:02] Production.INFO: ==452== Releasing lock... [2025-03-20 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:56:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:56:02] Production.INFO: ==454== Lock acquired, processing the job... [2025-03-20 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:56:02] Production.INFO: ==454== Releasing lock... [2025-03-20 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:56:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:56:03] Production.INFO: ==456== Lock acquired, processing the job... [2025-03-20 19:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:56:03] Production.INFO: ==458== Lock acquired, processing the job... [2025-03-20 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:56:03] Production.INFO: ==461== Lock acquired, processing the job... [2025-03-20 19:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:56:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:56:03] Production.INFO: ==467== Lock acquired, processing the job... [2025-03-20 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:56:03] Production.INFO: ==463== Lock acquired, processing the job... [2025-03-20 19:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:56:03] Production.INFO: ==465== Lock acquired, processing the job... [2025-03-20 19:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:56:03] Production.INFO: ==458== Releasing lock... [2025-03-20 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:56:03] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 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-03-20 19:56:03] Production.INFO: count ==12 [2025-03-20 19:56:03] Production.INFO: Account Balance Start. [2025-03-20 19:56:03] Production.INFO: CreateAllLog Start [2025-03-20 19:56:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:56:03] Production.INFO: 117 [2025-03-20 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-03-20 19:56:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:03] Production.INFO: count ==23 [2025-03-20 19:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725117') start [2025-03-20 19:56:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725117') end [2025-03-20 19:56:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:56:03] Production.INFO: 1 [2025-03-20 19:56:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:56:03] Production.INFO: Date 2025-03-11 [2025-03-20 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:03] Production.INFO: ==467== Releasing lock... [2025-03-20 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:56:03] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:56:03] Production.INFO: Date 2025-03-12 [2025-03-20 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:03] Production.INFO: Date 2025-03-13 [2025-03-20 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:03] Production.INFO: Date 2025-03-14 [2025-03-20 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:03] Production.INFO: Date 2025-03-15 [2025-03-20 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:03] Production.INFO: Date 2025-03-16 [2025-03-20 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:03] Production.INFO: Date 2025-03-17 [2025-03-20 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:03] Production.INFO: Date 2025-03-18 [2025-03-20 19:56:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:04] Production.ERROR: done [2025-03-20 19:56:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:56:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:56:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:56:04] Production.INFO: Total Charge 0 [2025-03-20 19:56:04] Production.ERROR: done [2025-03-20 19:56:04] Production.INFO: CreateAllLog End [2025-03-20 19:56:04] Production.INFO: Account Balance End. [2025-03-20 19:56:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:56:04] Production.INFO: ==463== Releasing lock... [2025-03-20 19:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:56:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:56:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:56:05 [end_date_ymd] => 2025-03-20 19:56:05 [RateCDR] => 1 ) [2025-03-20 19:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:56:05' and `end` < '2025-03-20 19:56:05' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:56:13] Production.ERROR: CronJobId end10 [2025-03-20 19:56:13] Production.INFO: ==461== Releasing lock... [2025-03-20 19:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:56:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:56:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:56:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:56:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:56:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:56:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:56:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:56:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:56:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:56:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:56:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:56:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:56:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:56:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:56:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:56:14] Production.INFO: call_cost start [2025-03-20 19:56:14] Production.INFO: call_cost end [2025-03-20 19:56:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:56:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:56:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:56:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:56:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:56:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:56:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:56:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:56:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:56:15] Production.INFO: ==456== Releasing lock... [2025-03-20 19:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:56:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:56:17] Production.INFO: count ==2827 [2025-03-20 19:56:18] Production.ERROR: pbx CDR StartTime 2025-03-20 16:56:05 - End Time 2025-03-20 19:56:05 [2025-03-20 19:56:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725119', 'tblTempUsageDetail_20' ) start [2025-03-20 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725119', 'tblTempUsageDetail_20' ) end [2025-03-20 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725119', 'tblTempVendorCDR_20' ) start [2025-03-20 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725119', 'tblTempVendorCDR_20' ) end [2025-03-20 19:56:18] Production.INFO: ProcessCDR(1,14725119,1,1,2) [2025-03-20 19:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725119', 'tblTempUsageDetail_20' ) start [2025-03-20 19:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725119', 'tblTempUsageDetail_20' ) end [2025-03-20 19:56:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:56:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:56:21] Production.INFO: ==465== Releasing lock... [2025-03-20 19:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:56:21] Production.INFO: 49.25 MB #Memory Used# [2025-03-20 23:57:02] Production.INFO: ==569== Lock acquired, processing the job... [2025-03-20 23:57:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:57:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:57:02] Production.INFO: neon service started [2025-03-20 23:57:02] Production.INFO: neon service started [2025-03-20 23:57:02] Production.INFO: ==569== Releasing lock... [2025-03-20 23:57:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:57:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 23:57:02] Production.INFO: ==573== Lock acquired, processing the job... [2025-03-20 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:57:02] Production.INFO: ==571== Lock acquired, processing the job... [2025-03-20 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:57:03] Production.INFO: ==573== Releasing lock... [2025-03-20 23:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:57:03] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:57:03] Production.INFO: ==571== Releasing lock... [2025-03-20 19:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:57:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:57:04] Production.INFO: ==583== Lock acquired, processing the job... [2025-03-20 19:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:57:04] Production.INFO: Account Balance Start. [2025-03-20 19:57:04] Production.INFO: CreateAllLog Start [2025-03-20 19:57:04] Production.INFO: 117 [2025-03-20 19:57:04] Production.INFO: ==585== Lock acquired, processing the job... [2025-03-20 19:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:57:04] Production.INFO: ==576== Lock acquired, processing the job... [2025-03-20 19:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:57:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:57:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:57:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:04] Production.INFO: ==579== Lock acquired, processing the job... [2025-03-20 19:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:57:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:04] Production.INFO: ==581== Lock acquired, processing the job... [2025-03-20 19:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:57:04] Production.INFO: ==587== Lock acquired, processing the job... [2025-03-20 19:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:57:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:57:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:57:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:04] Production.INFO: count ==12 [2025-03-20 19:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:57:04] Production.INFO: count ==23 [2025-03-20 19:57:04] Production.ERROR: done [2025-03-20 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725122') start [2025-03-20 19:57:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725122') end [2025-03-20 19:57:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:57:04] Production.INFO: 1 [2025-03-20 19:57:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:57:04] Production.ERROR: done [2025-03-20 19:57:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:04] Production.INFO: ==579== Releasing lock... [2025-03-20 19:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:57:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:57:04] Production.INFO: ==587== Releasing lock... [2025-03-20 19:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:57:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:57:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:57:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:57:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:57:05] Production.INFO: Total Charge 0 [2025-03-20 19:57:05] Production.INFO: CreateAllLog End [2025-03-20 19:57:05] Production.INFO: Account Balance End. [2025-03-20 19:57:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:57:05] Production.INFO: ==583== Releasing lock... [2025-03-20 19:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:57:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:57:05] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:57:05 [end_date_ymd] => 2025-03-20 19:57:05 [RateCDR] => 1 ) [2025-03-20 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-03-20 16:57:05' and `end` < '2025-03-20 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-03-20 19:57:14] Production.ERROR: CronJobId end10 [2025-03-20 19:57:14] Production.INFO: ==581== Releasing lock... [2025-03-20 19:57:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:57:14] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:57:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:57:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:57:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:57:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:57:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:57:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:57:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:57:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:57:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:57:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:57:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:57:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:57:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:57:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:57:15] Production.INFO: call_cost start [2025-03-20 19:57:15] Production.INFO: call_cost end [2025-03-20 19:57:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:57:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:57:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:57:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:57:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:57:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:57:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:57:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:57:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:57:16] Production.INFO: ==576== Releasing lock... [2025-03-20 19:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:57:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:57:18] Production.INFO: count ==2805 [2025-03-20 19:57:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:57:05 - End Time 2025-03-20 19:57:05 [2025-03-20 19:57:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725124', 'tblTempUsageDetail_20' ) start [2025-03-20 19:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725124', 'tblTempUsageDetail_20' ) end [2025-03-20 19:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725124', 'tblTempVendorCDR_20' ) start [2025-03-20 19:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725124', 'tblTempVendorCDR_20' ) end [2025-03-20 19:57:19] Production.INFO: ProcessCDR(1,14725124,1,1,2) [2025-03-20 19:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725124', 'tblTempUsageDetail_20' ) start [2025-03-20 19:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725124', 'tblTempUsageDetail_20' ) end [2025-03-20 19:57:22] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:57:22] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:57:22] Production.INFO: ==585== Releasing lock... [2025-03-20 19:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:57:22] Production.INFO: 49 MB #Memory Used# [2025-03-20 23:58:01] Production.INFO: ==700== Lock acquired, processing the job... [2025-03-20 23:58:01] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:58:01] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:58:01] Production.INFO: neon service started [2025-03-20 23:58:01] Production.INFO: neon service started [2025-03-20 23:58:01] Production.INFO: ==700== Releasing lock... [2025-03-20 23:58:01] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:58:01] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:58:02] Production.INFO: ==706== Lock acquired, processing the job... [2025-03-20 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:58:02] Production.INFO: ==709== Lock acquired, processing the job... [2025-03-20 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 19:58:02] Production.INFO: ==706== Releasing lock... [2025-03-20 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:58:02] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 23:58:02] Production.INFO: ==709== Releasing lock... [2025-03-20 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:58:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:58:03] Production.INFO: ==720== Lock acquired, processing the job... [2025-03-20 19:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:58:03] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:58:03] Production.INFO: ==712== Lock acquired, processing the job... [2025-03-20 19:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:58:03] Production.INFO: ==714== Lock acquired, processing the job... [2025-03-20 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:58:03] Production.INFO: ==722== Lock acquired, processing the job... [2025-03-20 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:58:03] Production.ERROR: done [2025-03-20 19:58:03] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:58:03] Production.INFO: ==716== Lock acquired, processing the job... [2025-03-20 19:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:58:03] Production.INFO: ==718== Lock acquired, processing the job... [2025-03-20 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:58:03] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:58:03] Production.ERROR: done [2025-03-20 19:58:03] Production.INFO: count ==12 [2025-03-20 19:58:03] Production.INFO: Account Balance Start. [2025-03-20 19:58:03] Production.INFO: CreateAllLog Start [2025-03-20 19:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:58:03] Production.INFO: count ==23 [2025-03-20 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725126') start [2025-03-20 19:58:03] Production.INFO: 117 [2025-03-20 19:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:58:03] Production.INFO: Date 2025-03-08 [2025-03-20 19:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:58:03] Production.INFO: Date 2025-03-09 [2025-03-20 19:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14725126') end [2025-03-20 19:58:03] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:58:03] Production.INFO: 1 [2025-03-20 19:58:03] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:58:03] Production.INFO: Date 2025-03-10 [2025-03-20 19:58:03] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:04] Production.INFO: ==714== Releasing lock... [2025-03-20 19:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:58:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:58:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:04] Production.INFO: ==722== Releasing lock... [2025-03-20 19:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:58:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:58:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:04] Production.INFO: Date 2025-03-19 [2025-03-20 19:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:04] Production.INFO: Date 2025-03-20 [2025-03-20 19:58:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:58:04] Production.INFO: Total Charge 0 [2025-03-20 19:58:04] Production.INFO: CreateAllLog End [2025-03-20 19:58:04] Production.INFO: Account Balance End. [2025-03-20 19:58:04] Production.ERROR: CronJobId end 12 [2025-03-20 19:58:04] Production.INFO: ==718== Releasing lock... [2025-03-20 19:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:58:04] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:58:04] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:58:04 [end_date_ymd] => 2025-03-20 19:58:04 [RateCDR] => 1 ) [2025-03-20 19:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode, c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type, disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description, pin.pc_description as pincode_name from asteriskcdrdb.cdr c left outer join asterisk.cc_callcosts cc on c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/ left outer join asterisk.pr_providers p on cc_pr_id = pr_id left outer join asterisk.te_tenants te ON te.te_code = c.accountcode left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode where `end` >= '2025-03-20 16:58:04' and `end` < '2025-03-20 19:58:04' AND ( userfield like '%outbound%' or userfield like '%inbound%' or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/ ) AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/ AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' and prevuniqueid='' group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'') [2025-03-20 19:58:13] Production.ERROR: CronJobId end10 [2025-03-20 19:58:13] Production.INFO: ==716== Releasing lock... [2025-03-20 19:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:58:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:58:14] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:58:14] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:58:14] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:58:14] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:58:14] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:58:14] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:58:14] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:58:14] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:58:14] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:58:14] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:58:14] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:58:14] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:58:14] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:58:14] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:58:14] Production.INFO: call_cost start [2025-03-20 19:58:14] Production.INFO: call_cost end [2025-03-20 19:58:15] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:58:15] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:58:15] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:58:15] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:58:15] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:58:15] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:58:15] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:58:15] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:58:15] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:58:15] Production.INFO: ==712== Releasing lock... [2025-03-20 19:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:58:15] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:58:17] Production.INFO: count ==2803 [2025-03-20 19:58:18] Production.ERROR: pbx CDR StartTime 2025-03-20 16:58:04 - End Time 2025-03-20 19:58:04 [2025-03-20 19:58:18] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725129', 'tblTempUsageDetail_20' ) start [2025-03-20 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725129', 'tblTempUsageDetail_20' ) end [2025-03-20 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725129', 'tblTempVendorCDR_20' ) start [2025-03-20 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725129', 'tblTempVendorCDR_20' ) end [2025-03-20 19:58:18] Production.INFO: ProcessCDR(1,14725129,1,1,2) [2025-03-20 19:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725129', 'tblTempUsageDetail_20' ) start [2025-03-20 19:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725129', 'tblTempUsageDetail_20' ) end [2025-03-20 19:58:21] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:58:21] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:58:21] Production.INFO: ==720== Releasing lock... [2025-03-20 19:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:58:21] Production.INFO: 49 MB #Memory Used# [2025-03-20 23:59:02] Production.INFO: ==809== Lock acquired, processing the job... [2025-03-20 23:59:02] Production.INFO: neonservice-command-neonservice #Starts# [2025-03-20 23:59:02] Production.INFO: neonservice########### Service Starts ########### [2025-03-20 23:59:02] Production.INFO: neon service started [2025-03-20 23:59:02] Production.INFO: neon service started [2025-03-20 23:59:02] Production.INFO: ==809== Releasing lock... [2025-03-20 23:59:02] Production.INFO: neonservice-command-neonservice #Stops# [2025-03-20 23:59:02] Production.INFO: 24.5 MB #Memory Used# [2025-03-20 19:59:02] Production.INFO: ==811== Lock acquired, processing the job... [2025-03-20 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts# [2025-03-20 23:59:02] Production.INFO: ==813== Lock acquired, processing the job... [2025-03-20 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts# [2025-03-20 23:59:02] Production.INFO: ==813== Releasing lock... [2025-03-20 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops# [2025-03-20 23:59:02] Production.INFO: 25 MB #Memory Used# [2025-03-20 19:59:03] Production.INFO: ==811== Releasing lock... [2025-03-20 19:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops# [2025-03-20 19:59:03] Production.INFO: 25.25 MB #Memory Used# [2025-03-20 19:59:03] Production.INFO: ==820== Lock acquired, processing the job... [2025-03-20 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts# [2025-03-20 19:59:04] Production.INFO: ==828== Lock acquired, processing the job... [2025-03-20 19:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts# [2025-03-20 19:59:04] Production.INFO: ==818== Lock acquired, processing the job... [2025-03-20 19:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts# [2025-03-20 19:59:04] Production.INFO: ==822== Lock acquired, processing the job... [2025-03-20 19:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts# [2025-03-20 19:59:04] Production.INFO: ==824== Lock acquired, processing the job... [2025-03-20 19:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts# [2025-03-20 19:59:04] Production.INFO: ============== LowBalanceReminder START=========== [2025-03-20 19:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250320Live done [2025-03-20 19:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250320Live done [2025-03-20 19:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250320Live) [2025-03-20 19:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code from ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:59:04] Production.INFO: ==826== Lock acquired, processing the job... [2025-03-20 19:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts# [2025-03-20 19:59:04] Production.INFO: count ==12 [2025-03-20 19:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-03-20','2025-03-20','120250320Live') [2025-03-20 19:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code from di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id where t.te_code='OnSwitchIt' [2025-03-20 19:59:04] Production.INFO: count ==23 [2025-03-20 19:59:04] Production.INFO: ==820== Releasing lock... [2025-03-20 19:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops# [2025-03-20 19:59:04] Production.INFO: 26.75 MB #Memory Used# [2025-03-20 19:59:04] Production.ERROR: tblTempUsageDetail_20 [2025-03-20 19:59:04] Production.INFO: Account Balance Start. [2025-03-20 19:59:04] Production.INFO: CreateAllLog Start [2025-03-20 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725131') start [2025-03-20 19:59:04] Production.INFO: 117 [2025-03-20 19:59:04] Production.INFO: Date 2025-03-08 [2025-03-20 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14725131') end [2025-03-20 19:59:04] Production.INFO: array ( 0 => array ( 'Message' => '0 Records Imported ', ), ) [2025-03-20 19:59:04] Production.INFO: 1 [2025-03-20 19:59:04] Production.ERROR: ========================== import pbx extension end ============================= [2025-03-20 19:59:04] Production.INFO: Date 2025-03-09 [2025-03-20 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:04] Production.INFO: Date 2025-03-10 [2025-03-20 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:04] Production.INFO: ==828== Releasing lock... [2025-03-20 19:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops# [2025-03-20 19:59:04] Production.INFO: 26.5 MB #Memory Used# [2025-03-20 19:59:04] Production.INFO: Date 2025-03-11 [2025-03-20 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:04] Production.INFO: Date 2025-03-12 [2025-03-20 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:04] Production.INFO: Date 2025-03-13 [2025-03-20 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:04] Production.INFO: Date 2025-03-14 [2025-03-20 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:04] Production.INFO: Date 2025-03-15 [2025-03-20 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:04] Production.INFO: Date 2025-03-16 [2025-03-20 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:04] Production.ERROR: done [2025-03-20 19:59:04] Production.INFO: Date 2025-03-17 [2025-03-20 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:04] Production.ERROR: tblTempVendorCDR_20 [2025-03-20 19:59:04] Production.INFO: Date 2025-03-18 [2025-03-20 19:59:04] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:05] Production.ERROR: done [2025-03-20 19:59:05] Production.INFO: Date 2025-03-19 [2025-03-20 19:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:05] Production.INFO: Date 2025-03-20 [2025-03-20 19:59:05] Production.INFO: Reseller ==> 0 [2025-03-20 19:59:05] Production.INFO: Total Charge 0 [2025-03-20 19:59:05] Production.INFO: CreateAllLog End [2025-03-20 19:59:05] Production.INFO: Account Balance End. [2025-03-20 19:59:05] Production.ERROR: CronJobId end 12 [2025-03-20 19:59:05] Production.INFO: ==824== Releasing lock... [2025-03-20 19:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops# [2025-03-20 19:59:05] Production.INFO: 27.75 MB #Memory Used# [2025-03-20 19:59:06] Production.ERROR: Array ( [start_date_ymd] => 2025-03-20 16:59:06 [end_date_ymd] => 2025-03-20 19:59:06 [RateCDR] => 1 ) [2025-03-20 19: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-03-20 16:59:06' and `end` < '2025-03-20 19: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-03-20 19:59:13] Production.ERROR: CronJobId end10 [2025-03-20 19:59:13] Production.INFO: ==822== Releasing lock... [2025-03-20 19:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops# [2025-03-20 19:59:13] Production.INFO: 26.25 MB #Memory Used# [2025-03-20 19:59:15] Production.INFO: ============== LowBalanceReminder END =========== [2025-03-20 19:59:15] Production.INFO: ============== Balance Warning START=========== [2025-03-20 19:59:15] Production.INFO: ============== Balance Warning END=========== [2025-03-20 19:59:15] Production.INFO: ============== InvoicePaymentReminder START=========== [2025-03-20 19:59:15] Production.INFO: ============== InvoicePaymentReminder END =========== [2025-03-20 19:59:15] Production.INFO: ============== AccountPaymentReminder START=========== [2025-03-20 19:59:15] Production.INFO: ============== AccountPaymentReminder END=========== [2025-03-20 19:59:15] Production.INFO: ============== ACD/ASR alert START=========== [2025-03-20 19:59:15] Production.INFO: ============== ACD/ASR alert END=========== [2025-03-20 19:59:15] Production.INFO: ============== Negative Margin alert START=========== [2025-03-20 19:59:15] Production.INFO: ============== Negative Margin alert END=========== [2025-03-20 19:59:15] Production.INFO: ============== Vendor Balance alert START=========== [2025-03-20 19:59:15] Production.INFO: ============== Vendor Balance alert END=========== [2025-03-20 19:59:15] Production.INFO: ============== CDR Post Process START=========== [2025-03-20 19:59:15] Production.INFO: call_cost start [2025-03-20 19:59:15] Production.INFO: call_cost end [2025-03-20 19:59:16] Production.INFO: ============== CDR Post Process END=========== [2025-03-20 19:59:16] Production.INFO: ============== Report Schedule START=========== [2025-03-20 19:59:16] Production.INFO: ============== Report Schedule END=========== [2025-03-20 19:59:16] Production.INFO: ============== Account Balance Email Reminder START=========== [2025-03-20 19:59:16] Production.INFO: ============== Account Balance Email Reminder END=========== [2025-03-20 19:59:16] Production.INFO: ============== LowStockReminder alert START=========== [2025-03-20 19:59:16] Production.INFO: ============== LowStockReminder alert END=========== [2025-03-20 19:59:16] Production.INFO: ============== Deal alert START=========== [2025-03-20 19:59:16] Production.INFO: ============== Deal alert END=========== [2025-03-20 19:59:16] Production.INFO: ==818== Releasing lock... [2025-03-20 19:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops# [2025-03-20 19:59:16] Production.INFO: 28.25 MB #Memory Used# [2025-03-20 19:59:18] Production.INFO: count ==2801 [2025-03-20 19:59:19] Production.ERROR: pbx CDR StartTime 2025-03-20 16:59:06 - End Time 2025-03-20 19:59:06 [2025-03-20 19:59:19] Production.ERROR: ========================== pbx transaction end ============================= [2025-03-20 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725134', 'tblTempUsageDetail_20' ) start [2025-03-20 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14725134', 'tblTempUsageDetail_20' ) end [2025-03-20 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725134', 'tblTempVendorCDR_20' ) start [2025-03-20 19:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14725134', 'tblTempVendorCDR_20' ) end [2025-03-20 19:59:19] Production.INFO: ProcessCDR(1,14725134,1,1,2) [2025-03-20 19:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14725134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:59:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14725134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0') [2025-03-20 19:59:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14725134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14725134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0') [2025-03-20 19:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725134', 'tblTempUsageDetail_20' ) start [2025-03-20 19:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14725134', 'tblTempUsageDetail_20' ) end [2025-03-20 19:59:24] Production.ERROR: pbx prc_insertCDR start [2025-03-20 19:59:24] Production.ERROR: pbx prc_insertCDR end [2025-03-20 19:59:24] Production.INFO: ==826== Releasing lock... [2025-03-20 19:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops# [2025-03-20 19:59:24] Production.INFO: 49 MB #Memory Used#